David,
This use of \default for skipping optional arguments even in end
position may appear a bit contrived.
However, \key \default and \mark \default existed (hardwired in the
parser) even before music functions ever heard of optional arguments, so
I consider it an accomplishment to have
David,
On Fri, Jul 20, 2012 at 12:38 AM, David Kastrup d...@gnu.org wrote:
David Nalesnik david.nales...@gmail.com writes:
David,
Why does this have to be a list? Why not just make it two
separate
arguments?
If, for whatever reason, you really really really have
David Nalesnik david.nales...@gmail.com writes:
An optional argument can be skipped only if there is some place in
the argument list where it can go. So in final position, optional
arguments are indistinguishable from mandatory arguments (actually
not quite, since they make
David Nalesnik david.nales...@gmail.com writes:
scheme? always returns #t. At the current point of time, the only
argument predicates specially coded into the parser are ly:pitch?
and ly:duration? so they don't mix with scheme?
syntactically. This will at some point of time
2012/7/18 Janek Warchoł janek.lilyp...@gmail.com:
(however, it would be even more awesome if it was one general
function
for all purposes ;) )
Considering this some more, I think it's best at the moment to restrict
the function to spanners. The expanded function encompassing spanners
On Thu, Jul 19, 2012 at 2:17 AM, David Nalesnik
david.nales...@gmail.com wrote:
I took a look at this--I couldn't resist!!--and actually it wasn't too hard
to incorporate Harm's (very cool) snippet into \alterBroken. I've attached
a file which shows how his example would be expressed with that
Hi Janek,
The only thing that
worries me is the indentation - there are some tabs used and
Frescobaldi displays them wrong (i suppose you meant 1 tab to be equal
to 4 spaces, not 8).
Oops! Usually I remember to convert tabs to spaces (and trim whitespace
from the ends of lines), but
not
David Nalesnik david.nales...@gmail.com writes:
Oops! Usually I remember to convert tabs to spaces (and trim
whitespace from the ends of lines), but
not here.
The examples are nice and pretty much self-explanatory.
If fact, the only thing i don't like is that backticks are
David,
Why does this have to be a list? Why not just make it two separate
arguments?
If, for whatever reason, you really really really have this information
in a two-element list called whatever, you can still write
\once \alterBroken Staff.BarLine #'color #@whatever
It certainly makes
David Nalesnik david.nales...@gmail.com writes:
David,
Why does this have to be a list? Why not just make it two
separate
arguments?
If, for whatever reason, you really really really have this
information
in a two-element list called whatever, you can still
Hi Janek,
On Wed, Jul 18, 2012 at 12:22 AM, Janek Warchoł janek.lilyp...@gmail.comwrote:
On Wed, Jul 18, 2012 at 12:43 AM, david.nales...@gmail.com wrote:
The function will override unbroken spanners, but it will ignore
non-spanners with a warning.
What about things like clef change at a
On Wed, Jul 18, 2012 at 1:56 PM, David Nalesnik
david.nales...@gmail.com wrote:
Perhaps this is a candidate for a different function,
and possibly the name \alterBroken should be changed to something more
precise? (I thought \alterBrokenSpanner or \overrideBrokenSpanner would be
an awful lot
2012/7/18 Janek Warchoł janek.lilyp...@gmail.com:
On Wed, Jul 18, 2012 at 1:56 PM, David Nalesnik
david.nales...@gmail.com wrote:
Perhaps this is a candidate for a different function,
and possibly the name \alterBroken should be changed to something more
precise? (I thought
On Wed, Jul 18, 2012 at 8:18 PM, Thomas Morley
thomasmorle...@googlemail.com wrote:
2012/7/18 Janek Warchoł janek.lilyp...@gmail.com:
I haven't seen it before - looks awesome :)
(however, it would be even more awesome if it was one general function
for all purposes ;) )
I wrote this snippet
2012/7/18 Janek Warchoł janek.lilyp...@gmail.com:
On Wed, Jul 18, 2012 at 8:18 PM, Thomas Morley
thomasmorle...@googlemail.com wrote:
2012/7/18 Janek Warchoł janek.lilyp...@gmail.com:
I haven't seen it before - looks awesome :)
(however, it would be even more awesome if it was one general
Thomas Morley thomasmorle...@googlemail.com writes:
2012/7/18 Janek Warchoł janek.lilyp...@gmail.com:
On Wed, Jul 18, 2012 at 8:18 PM, Thomas Morley
thomasmorle...@googlemail.com wrote:
2012/7/18 Janek Warchoł janek.lilyp...@gmail.com:
I haven't seen it before - looks awesome :)
(however,
On Wed, Jul 18, 2012 at 3:18 PM, David Kastrup d...@gnu.org wrote:
Thomas Morley thomasmorle...@googlemail.com writes:
2012/7/18 Janek Warchoł janek.lilyp...@gmail.com:
On Wed, Jul 18, 2012 at 8:18 PM, Thomas Morley
thomasmorle...@googlemail.com wrote:
2012/7/18 Janek Warchoł
Reviewers: ,
Description:
Add function for overriding broken spanners to LilyPond.
The music function \alterBroken is intended to facilitate overrides
applied independently to the pieces of broken spanners--one of the
perennial difficulties faced by users of LilyPond (addressed in
Extending
On Wed, Jul 18, 2012 at 12:43 AM, david.nales...@gmail.com wrote:
The function will override unbroken spanners, but it will ignore
non-spanners with a warning.
What about things like clef change at a line break - is it possible to
override them using this approach? It would be nice if i
19 matches
Mail list logo