lilypond-devel
[Top][All Lists]
Advanced

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

Re: Issue 3935: Use (pretty-print) for some IR props. (issue 95710044)


From: markpolesky
Subject: Re: Issue 3935: Use (pretty-print) for some IR props. (issue 95710044)
Date: Fri, 30 May 2014 09:41:50 +0000

On 2014/05/30 09:11:57, Mark Polesky wrote:

https://codereview.appspot.com/95710044/diff/20001/scm/documentation-lib.scm#newcode144
scm/documentation-lib.scm:144: (string-regexp-substitute "\n " "\n  "
str)))
On 2014/05/30 08:38:23, dak wrote:
> pretty-print has a key #:per-line-prefix.  Would that be easier to
use?

Yes, thank you.

I spoke too soon.  I don't think #:per-line-prefix will work with my
code structure here.  The regex substitution is there for items
prepended with a single-quote, which might not end up using
pretty-print.  Plus then we'd have to remove the first space anyway (or
replace it with the quote).  Unless you have some clever way of making
it work, I think I'll leave it as is.

https://codereview.appspot.com/95710044/



reply via email to

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