home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / editors / 2815 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.8 KB

  1. Path: sparky!uunet!olivea!pagesat!netsys!agate!doc.ic.ac.uk!uknet!yorkohm!minster!pete
  2. From: pete@minster.york.ac.uk
  3. Newsgroups: comp.editors
  4. Subject: Re: Anyone use SAM?
  5. Message-ID: <722179001.3244@minster.york.ac.uk>
  6. Date: 19 Nov 92 13:16:41 GMT
  7. References: <BEVAN.92Nov18104650@beluga.cs.man.ac.uk>
  8. Organization: Department of Computer Science, University of York, England
  9. Lines: 27
  10.  
  11. Stephen J Bevan (bevan@cs.man.ac.uk) wrote:
  12. : In article <722004268.18766@minster.york.ac.uk> pete@minster.york.ac.uk writes:
  13. :    : A prime example is knowing
  14. :    : something about the indentation of languages.  I write a fair amount
  15. :    : of Scheme and I find it tough going in sam.
  16. :    
  17. :    But the redirection mechanism inside sam allows you to pipe
  18. :    arbitrary blocks of text through Unix pipelines -- write a scheme
  19. :    indentation tool, select your block of Lisp and then use the ``|''
  20. :    command in the command window to pipe it through the formatter...
  21. : This is obviously _a_ solution, it is just not the one I'm used to.
  22. : I'm still used to the editor indenting on the fly.   As I wrote, maybe
  23. : I've been spoilt and just need to adjust the sam way of thinking.
  24.  
  25. Hmmm. Having indentation _built in_ to your editor is something I'm always
  26. a bit wary of -- for example, I've yet to find a C mode in an editor which I
  27. think works sensibly; and when it comes to C++.... The alternatives are
  28. either to write some humongous GNUemacs-type functions to do it, or write a
  29. small, neat external tool which handles the job and is re-usable anywhere. I
  30. prefer the latter, but respect those who can tolerate the former.
  31.  
  32. Pete
  33. --
  34. *Peter Fenelon -- Research Associate -- Software Safety Assessment Procedures*
  35. Dept. of Computer Science, University of York, York, Y01 5DD (+44/0)904 433388
  36. EMAIL: pete@minster.york.ac.uk `There's no room for enigmas in built up areas'
  37.