On 10/26/09 3:09 PM, "Graham Percival" <gra...@percival-music.ca> wrote:

> On Mon, Oct 26, 2009 at 12:11:55PM -0600, Carl Sorensen wrote:
>> 
>> On 10/23/09 5:52 PM, "Ian Hulin" <i...@hulin.org.uk> wrote:
>> 
>>> music-functions-init.ly adds three new functions
>>> * \bookOutputSuffix - to set the output suffix for the \book block
>>> * \bookOutputName - to set output filename for the current \book block
>>> * \bookOuptutNameRevert - to restore the the output filename to the value
>>> prior to that of the last \bookOuputName call.
>> 
>> I think these functions should be named
>> 
>> \setBookOutputSuffix
>> \setBookOutputName
>> \revertBookOutputName
> 
> Nooooo!  Having \set vs. \setBlahBlah is a nightmare for newbies.
> Sorry, my brain is fried at the moment, so I have no alternative
> suggestions.

You're right, of course.

The problem is that Ian wants to really have a revert option (and we can't
use revert either, because of confusion with \revert).

How about

\useBookOuptutSuffix
\useBookOutputName
\usePreviousBookOutputName

or 

\bookOutputSuffix
\bookOutputName
\bookOutputNameUsePrevious  (I hate the english of this, but it sorts where
it belongs and it captures the intent).

Carl



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to