phoe / asd-generator

Automatic generator for ASDF's .asd files
GNU General Public License v3.0
18 stars 3 forks source link

Print :DEPENDS-ON vertically #4

Closed phoe closed 8 years ago

phoe commented 8 years ago

Hey @guicho271828 - could you perhaps help me with pretty-printing the :DEPENDS-ON in a vertical manner?

Right now, it's being printed as a single line:

 :depends-on (#:hu.dwim.defclass-star #:ironclad #:cl-colors #:jpl-queues #:alexandria #:bordeaux-threads #:usocket #:flexi-streams)

And I'd prefer it to be printed as:

:depends-on (#:hu.dwim.defclass-star
             #:ironclad
             #:cl-colors
             #:jpl-queues
             #:alexandria
             #:bordeaux-threads
             #:usocket
             #:flexi-streams)

Regards ~phoe

guicho271828 commented 8 years ago

wrap it in pprint-logical-block and use (pprint :mandatory) instead of (terpri) or alike.

phoe commented 8 years ago

Thanks. I copied the :COMPONENTS part and it works now.