home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!pagesat!netsys!agate!doc.ic.ac.uk!uknet!yorkohm!minster!pete
- From: pete@minster.york.ac.uk
- Newsgroups: comp.editors
- Subject: Re: Anyone use SAM?
- Message-ID: <722179001.3244@minster.york.ac.uk>
- Date: 19 Nov 92 13:16:41 GMT
- References: <BEVAN.92Nov18104650@beluga.cs.man.ac.uk>
- Organization: Department of Computer Science, University of York, England
- Lines: 27
-
- Stephen J Bevan (bevan@cs.man.ac.uk) wrote:
- : In article <722004268.18766@minster.york.ac.uk> pete@minster.york.ac.uk writes:
- : : A prime example is knowing
- : : something about the indentation of languages. I write a fair amount
- : : of Scheme and I find it tough going in sam.
- :
- : But the redirection mechanism inside sam allows you to pipe
- : arbitrary blocks of text through Unix pipelines -- write a scheme
- : indentation tool, select your block of Lisp and then use the ``|''
- : command in the command window to pipe it through the formatter...
- :
- : This is obviously _a_ solution, it is just not the one I'm used to.
- : I'm still used to the editor indenting on the fly. As I wrote, maybe
- : I've been spoilt and just need to adjust the sam way of thinking.
-
- 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++.... 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.
-
- Pete
- --
- *Peter Fenelon -- Research Associate -- Software Safety Assessment Procedures*
- Dept. of Computer Science, University of York, York, Y01 5DD (+44/0)904 433388
- EMAIL: pete@minster.york.ac.uk `There's no room for enigmas in built up areas'
-