Nicolas Sceaux <[EMAIL PROTECTED]> writes: > Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > >> Nicolas Sceaux wrote: >> >>> Actually, it was my mistake to call the macro def-music-function: it >>> should have been called define-music-function. >> >> then why don't we change it? > > OK then. > > def-markup-command should also be define-markup-command. > I'm cooking a patch.
Should I apply the name changes? Index: ChangeLog =================================================================== RCS file: /cvsroot/lilypond/lilypond/ChangeLog,v retrieving revision 1.4689 diff -u -r1.4689 ChangeLog --- ChangeLog 25 Feb 2006 00:20:51 -0000 1.4689 +++ ChangeLog 25 Feb 2006 12:13:13 -0000 @@ -1,3 +1,23 @@ +2006-02-25 Nicolas Sceaux <[EMAIL PROTECTED]> + + * scm/markup.scm (define-markup-command): change + def-markup-command to define-markup-command + + * scm/music-functions.scm (define-music-function): change + def-music-function to define-music-function. + + * python/convertrules.py (conv): rules for def-music-function + and def-markup-commands + + * Documentation/user/programming-interface.itely, + input/no-notation/display-lily-tests.ly, + input/regression/lily-in-scheme.ly, + input/regression/markup-user.ly, + input/regression/music-function.ly, input/regression/tie-chord.ly, + scm/fret-diagrams.scm, ly/music-functions-init.ly, + ly/gregorian-init.ly: use new macro names (define-music-function, + define-markup-command). + 2006-02-25 Han-Wen Nienhuys <[EMAIL PROTECTED]> * scripts/lilypond-book.py (main): write Makefile dependencies file. Index: python/convertrules.py =================================================================== RCS file: /cvsroot/lilypond/lilypond/python/convertrules.py,v retrieving revision 1.42 diff -u -r1.42 convertrules.py --- python/convertrules.py 21 Feb 2006 17:55:44 -0000 1.42 +++ python/convertrules.py 25 Feb 2006 12:13:20 -0000 @@ -2747,3 +2747,18 @@ conversions.append (((2, 7, 32), conv, """debug-beam-quanting -> debug-beam-scoring""")) + + +def conv (str): + str = re.sub ('def-music-function', 'define-music-function', str) + return str + +conversion.append (((2, 7, 36), conv, + """def-music-function -> define-music-function""")) + +def conv (str): + str = re.sub ('def-markup-command', 'define-markup-command', str) + return str + +conversion.append (((2, 7, 36), conv, + """def-markup-command -> define-markup-command""")) [trivial patches elided] _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel