Re: [GSoC] Proposal: Modular LilyPond Parser (C++)
David Kastrup <[email protected]> Mon, 16 Mar 2026 21:54:27 +0100
| Newsgroups | gmane.comp.gnu.lilypond.devel |
|---|---|
| Organization | Organization?!? |
| Message-ID | <[email protected]> |
David Kastrup <[email protected]> writes: > "C. Stroppel" <[email protected]> writes: > >> Thanks for the clarification. I originally assumed that commands like >> \clef would be overridable because they are defined in Scheme. After >> trying it out, I realized that this assumption was wron - the >> registration seems zo happen only once during startup, and later >> definitions are ignored. So from the musician's perspective, \clef is >> not dynamic or user-modifiable. > > I have no idea what you have tried to do, but you are utterly wrong > about that. One guess would be that you tried to redefine \clef by > writing > > \clef = ... > > which is wrong. You need to write > > clef = ... > > Please try this out and reevaluate your view if appropriate. Stupid example: clef = \time \etc { \clef 3/4 \repeat unfold 12 c'4 } -- David Kastrup