Article View: comp.editors
Article #2605Re: Anyone use SAM?
From: Stephen J Bevan
Date: Fri, 20 Nov 1992 15:53
Date: Fri, 20 Nov 1992 15:53
20 lines
1590 bytes
1590 bytes
In article <722179001.3244@minster.york.ac.uk> pete@minster.york.ac.uk writes: Hmmm. Having indentation _built in_ to your editor is something I'm always a bit wary of -- for example, I've yet to find a C mode in an editor which I think works sensibly; and when it comes to C++.... True, but that's why I mainly write in Scheme :-) You might not like the syntax, but it is relatively easy to make the editor "do the right thing" wrt indentation. The alternatives are either to write some humongous GNUemacs-type functions to do it, or write a small, neat external tool which handles the job and is re-usable anywhere. I prefer the latter, but respect those who can tolerate the former. The actual code to do the indentation is not large, though I'll grant you that GNU Emacs is rather large for an editor, but then I don't think of it as an editor. As to being re-usable, I do use the code to indent Scheme, I just invoke Emacs from a script. bevan
Technical Details
Message-ID:
<BEVAN.92Nov20155337@beluga.cs.man.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mucs!m1!bevanReferences:
<BEVAN.92Nov18104650@beluga.cs.man.ac.uk> <722179001.3244@minster.york.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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 From: bevan@cs.man.ac.uk (Stephen J Bevan) Newsgroups: comp.editors Subject: Re: Anyone use SAM? Message-ID: <BEVAN.92Nov20155337@beluga.cs.man.ac.uk> Date: 20 Nov 92 15:53:37 GMT References: <BEVAN.92Nov18104650@beluga.cs.man.ac.uk> <722179001.3244@minster.york.ac.uk> Sender: news@cs.man.ac.uk Organization: Department of Computer Science, University of Manchester Lines: 20 In-reply-to: pete@minster.york.ac.uk's message of 19 Nov 92 13:16:41 GMT