chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #489: pretty-print-width not honored by pretty-print


From: Chicken Trac
Subject: [Chicken-janitors] #489: pretty-print-width not honored by pretty-print in some cases.
Date: Fri, 04 Feb 2011 12:18:06 -0000

#489: pretty-print-width not honored by pretty-print in some cases.
----------------------------+-----------------------------------------------
 Reporter:  alanpost        |       Owner:       
     Type:  defect          |      Status:  new  
 Priority:  minor           |   Milestone:  4.7.0
Component:  core libraries  |     Version:  4.6.x
 Keywords:                  |  
----------------------------+-----------------------------------------------
 I'm printing out some fairly large symbolic expressions.  They are
 printing well past column 79, even in cases where I can see formatting
 that could be done to bring them under 79 columns.  Here is a recent
 example:

 {{{
 (text (paragraphs
         (paragraph
           (sentence
             (term (sumti (LA-clause
                            (cmavo (LA "la"))
                            (CMENE-clause cmene "frank"))))
             (selbri (BRIVLA-clause (gismu "cusku")))
             (term (sumti (LU-clause
                            (cmavo (LU "lu"))
                            (text (paragraphs
                                    (paragraph
                                      (sentence
                                        (term (sumti (KOhA-clause (cmavo
 (KOhA "mi")))))
                                        (selbri (BRIVLA-clause (gismu
 "prami")))
                                        (term (sumti (KOhA-clause
                                                       (cmavo (KOhA "do"))
                                                       (TO-clause
                                                         (cmavo (TO
 "to'i"))
                                                         (UI-clause (cmavo
 (UI "sa'a")))
                                                         (text (paragraphs
                                                                 (paragraph
 (sentence
                                                                     (term
 (sumti (KOhA-clause (cmavo (KOhA "do")))))
 (selbri (GOhA-clause (cmavo (GOhA "du"))))
                                                                     (term
 (sumti (LA-clause
 (cmavo (LA "la"))
 (CMENE-clause cmene "djein"))))))))
                                                         (TOI-clause (cmavo
 (TOI "toi")))))))))))
                            (LIhU-clause (cmavo (LIhU "li'u"))))))))))
 }}}

 I would expect some of the earlier constructs, like the first (text
 ...) element, or the (term ...) elements under (sentence ...) to be
 folded like (paragraphs (paragraph (sentence ...))) is.

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/489>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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