[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pretty printing



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>