lilypond-devel
[Top][All Lists]
Advanced

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

Context aliases


From: Erik Sandberg
Subject: Context aliases
Date: Mon, 6 Nov 2006 00:47:40 +0100
User-agent: KMail/1.9.5

hi,

In my quest for softcoding context-defs, I will need to revisit the \alias 
system. This is not on the top of my todo, but I'd like to hear any protests 
early.

I suggest that the \alias mechanism is scrapped altogether, and replaced with 
something else:
- junk Bottom alias, instead make is_bottom_context accessible from scheme.
- other aliases are replaced with appropriate boolean context properties, with 
more intuitive names (e.g. property 'isLyricMelody replaces current \alias 
Voice).

I think this will be an improvement, because we remove the concept of aliases, 
which confuses users (at least it confuses me a bit); in addition we don't 
need to do anything extra to softcode aliases.

All this is post-2.10 of course.

-- 
Erik





reply via email to

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