[Top][All Lists]

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

Re: [Lilypond-auto] Issue 3884 in lilypond: Patch: Add on-page-greater-t

From: lilypond
Subject: Re: [Lilypond-auto] Issue 3884 in lilypond: Patch: Add on-page-greater-than, -less-than (on-the-fly)
Date: Sat, 22 Mar 2014 17:35:34 +0000

Comment #2 on issue 3884 by address@hidden: Patch: Add on-page-greater-than, -less-than (on-the-fly)

Not wanting to rain on your parade, but our \on-the-fly conditions are becoming ridiculous (and/or have been so for a long time already).

I think I'd rather have something like
\on-the-fly #(fly: (> page:page-number 5)) ...
or some similar syntax: a macro that just replaces the respective identifiers with the expression fetching them.

If we take a list at the currently existing conditions, it's pretty obvious that this is a rather open set. So it might make sense just putting in some reasonably simple syntax calling Scheme, and stop extending the set with ever more special-cased not-quite-versatile variants.

A rather clean and easily implementable way would be to use something like
\on-the-fly #(fly-let ((n page:page-number)) (> n 7))
but I think we should aim for something that is as easy to write as possible.

The second has the advantage that it's straightforward to implement. Any other nice proposals?

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

reply via email to

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