bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1406 in lilypond: renaming StreamEvent


From: lilypond
Subject: Issue 1406 in lilypond: renaming StreamEvent
Date: Mon, 15 Nov 2010 12:36:15 +0000

Status: Accepted
Owner: ----
CC: markpolesky,  pnorcks
Labels: Type-Other Priority-Low

New issue 1406 by v.villenave: renaming StreamEvent
http://code.google.com/p/lilypond/issues/detail?id=1406

This issue has been discussed before:
http://lists.gnu.org/archive/html/lilypond-devel/2007-07/msg00000.html
http://lists.gnu.org/archive/html/lilypond-devel/2009-07/msg00448.html

When looking at the following page, you'll notice that StreamEvent is the only item that's CamelCased and not hyphenated like a lisp-identifier:
http://lilypond.org/doc/latest/Documentation/internals/music-classes

The obvious fix would be to rename StreamEvent into stream-event in define-event-classes.scm (i.e. hardcoding the hyphenated name, unlike other music events that are automatically converted).

However (from what I understand), StreamEvent is not limited to music event types. Therefore, one could argue that it would be more consistent to drop the "Event" thing instead, and replace it with "StreamToken" or "StreamElement" or StreamWhathaveyou.





reply via email to

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