lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 4472 in lilypond: \mark will accept arbitrary


From: lilypond
Subject: Re: [Lilypond-auto] Issue 4472 in lilypond: \mark will accept arbitrary types for its argument and ignore them
Date: Wed, 01 Jul 2015 20:44:40 +0000

Updates:
        Summary: \mark will accept arbitrary types for its argument and ignore 
them
        Status: Started
        Owner: address@hidden
        Labels: -Type-Defect Type-Maintainability

Comment #1 on issue 4472 by address@hidden: \mark will accept arbitrary types for its argument and ignore them
https://code.google.com/p/lilypond/issues/detail?id=4472

Bad analysis. \mark takes an argument of arbitrary type. Your first mark command consequently takes s4, and the Mark_engraver silently replaces a non-number mark with the normal numbering. I think we won't probably do wrong much by giving \mark a predicate of type number-or-markup instead. That way, your input will be rendered invalid instead of gobbling s4 silently.

I don't know what the idea was before mark became a music function. Its original incantation in the parser (2.12 or something) behaved pretty much the same I think. When converting to music function, I retained this, but since the mark engraver throws stuff away anyway, that is not helpful.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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