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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mucs!m1!bevan
  2. From: bevan@cs.man.ac.uk (Stephen J Bevan)
  3. Newsgroups: comp.editors
  4. Subject: Re: Anyone use SAM?
  5. Message-ID: <BEVAN.92Nov20155337@beluga.cs.man.ac.uk>
  6. Date: 20 Nov 92 15:53:37 GMT
  7. References: <BEVAN.92Nov18104650@beluga.cs.man.ac.uk> <722179001.3244@minster.york.ac.uk>
  8. Sender: news@cs.man.ac.uk
  9. Organization: Department of Computer Science, University of Manchester
  10. Lines: 20
  11. In-reply-to: pete@minster.york.ac.uk's message of 19 Nov 92 13:16:41 GMT
  12.  
  13. In article <722179001.3244@minster.york.ac.uk> pete@minster.york.ac.uk writes:
  14.    Hmmm. Having indentation _built in_ to your editor is something I'm always
  15.    a bit wary of -- for example, I've yet to find a C mode in an editor which I
  16.    think works sensibly; and when it comes to C++....
  17.  
  18. True, but that's why I mainly write in Scheme :-)  
  19. You might not like the syntax, but it is relatively easy to make the
  20. editor "do the right thing" wrt indentation.
  21.  
  22.    The alternatives are either to write some humongous GNUemacs-type
  23.    functions to do it, or write a small, neat external tool which
  24.    handles the job and is re-usable anywhere. I prefer the latter, but
  25.    respect those who can tolerate the former.
  26.  
  27. The actual code to do the indentation is not large, though I'll grant
  28. you that GNU Emacs is rather large for an editor, but then I don't
  29. think of it as an editor.  As to being re-usable, I do use the code
  30. to indent Scheme, I just invoke Emacs from a script.
  31.  
  32. bevan
  33.