[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lilypond-auto] Issue 2874 in lilypond: Patch: Provide an \undo func
From: |
lilypond |
Subject: |
Re: [Lilypond-auto] Issue 2874 in lilypond: Patch: Provide an \undo function for turning overrides and sets into reverts and unsets |
Date: |
Fri, 12 Oct 2012 13:42:39 +0000 |
Updates:
Status: Fixed
Labels: -Patch-push Fixed_2_17_5
Comment #9 on issue 2874 by address@hidden: Patch: Provide an \undo function
for turning overrides and sets into reverts and unsets
http://code.google.com/p/lilypond/issues/detail?id=2874
Pushed to staging as
commit 71eebe83138ead38e2e6383f6a9f145985e30b08
Author: David Kastrup <address@hidden>
Date: Wed Oct 3 13:38:24 2012 +0200
Issue 2874: Provide an \undo function for turning overrides and sets
into re
\undo\hideNotes is equivalent to \unHideNotes, \undo\easyHeadsOn to
\easyHeadsOff. While this can't undo reverts, it is useful for a lot
of overriding commands defined in ly/property-init.ly, and is also
useful in combination with \hide/\omit.
After rethinking Janek's comments, it might make sense to let it warn
specifically about any property-modifying commands it can't undo so that
the user is not kept in the dark when the command will not fully succeed in
its core area of operation, while at the same time ignoring non-property
specific music contents silently. But that is something I have to think
about and experiment some more. Separate issue, and other commands would
warrant similar consideration.