[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pretty printing
- To: "S. Sridhar" <sridhar%wsu.csnet@CSNET-RELAY.ARPA>
- Subject: Re: pretty printing
- From: "Ferd Brundick (VLD/LTTB)" <fsbrn@BRL-VOC.ARPA>
- Date: Thu, 24 Jan 85 12:59:46 GMT
- Cc: Franz-Friends@Berkeley
- Original-date: Thu, 24 Jan 85 7:59:46 EST
Haah,
Franz's (read) function trashes all comments on input. [Which means
you can document your data files.] You have to pretty-print the
original code before Franz gets it. I don't know of any stand-alone
programs to do this (surely someone has written one). I use
Berkeley's "vi" editor because it has a lisp mode; all input is
automatically pretty-printed if you say
:set ai lisp
(ai stands for autoindent)
Another way is to execute the vi "=" command while in lisp mode. All
of this is documented in the vi manual. Hope this helps.
dsw, fferd
Fred S. Brundick
USABRL, APG, MD.
<fsbrn@brl-voc>