help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: pretty printing lisp forms


From: Kevin Rodgers
Subject: Re: pretty printing lisp forms
Date: Thu, 05 Feb 2004 12:59:18 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Joe Corneli wrote:

I found the function cl-prettyprint, but it doesn't seem to be
as actively inserting new lines and tabs as I'd like.  Contrast

;; cl-prettyprint

(((classes AI (PL assignment-one read-papers) KRR)
  (projects logic FEM HDM (hacking-emacs todl-mode tex-mode) Inform)
  (appointments thursday-at-5:45 friday-at-7)))

;; my version

(((classes AI
           (PL assignment-one
               read-papers)
           KRR)
  (projects logic
            FEM
            HDM
            (hacking-emacs todl-mode
                           tex-mode)
            Inform)
  (appointments thursday-at-5:45
                friday-at-7)))

Are there any more flexible routines out there for pretty printing?

pp seems to do what you want.


--
Kevin Rodgers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]