Am Sunday, 7. August 2011, 21:41:42 schrieb Neil Puttock: > On 7 August 2011 20:21, <reinhold.kainho...@gmail.com> wrote: > > http://codereview.appspot.com/4672059/diff/1/ly/property-init.ly > > File ly/property-init.ly (right): > > > > http://codereview.appspot.com/4672059/diff/1/ly/property-init.ly#newcode1 > > 89 ly/property-init.ly:189: fermataMarkup = \fermata > > How about a wrapper to mark definitions/functions as deprecated, so they > > print out a warning, but still work? > > That sounds great, though I'd be concerned about the overhead: surely > every lookup via Lily_lexer::lookup_identifier () would need a > deprecation check (probably using an object property).
I wouldn't go that lowlevel. I rather thought about a scheme function that prints a ly:warning and then returns the new definition (or calls the new function). Cheers, Reinhold -- ------------------------------------------------------------------ Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial & Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel