Article View: comp.editors
Article #2470Re: Anyone use SAM?
From: pete
Date: Tue, 17 Nov 1992 12:44
Date: Tue, 17 Nov 1992 12:44
29 lines
1724 bytes
1724 bytes
Stephen J Bevan (bevan@cs.man.ac.uk) wrote:
[I (pete@minster) wrote, about Sam:]
: (4) It does what I want it to do, without the need for me to write
: a pile of silly macros or Lisp functions.
:
: I agree with the first three. The fourth point is one of the problems
: I have with it: in a couple of cases it doesn't do what I want, and
: there is no simple way to extend it. 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. Maybe I've been spoilt by
: previous editors or maybe it is part of Pike's philosophy that the
: editor should not help with indentation ... etc.
:
: bevan
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...
So yes, as I see it that sort of mechanism is taken care of by external
means, keeping the editor as small and neat as possible.
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'
Technical Details
Message-ID:
<722004268.18766@minster.york.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!yorkohm!minster!peteReferences:
<BEVAN.92Nov13115635@beluga.cs.man.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!yorkohm!minster!pete From: pete@minster.york.ac.uk Newsgroups: comp.editors Subject: Re: Anyone use SAM? Message-ID: <722004268.18766@minster.york.ac.uk> Date: 17 Nov 92 12:44:29 GMT References: <BEVAN.92Nov13115635@beluga.cs.man.ac.uk> Organization: Department of Computer Science, University of York, England Lines: 29