[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Deprecate \fermataMarkup for full-bar rests. (issue4672059)
From: |
Reinhold Kainhofer |
Subject: |
Re: Deprecate \fermataMarkup for full-bar rests. (issue4672059) |
Date: |
Sun, 7 Aug 2011 21:48:53 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.38-10-generic; KDE/4.7.0; i686; ; ) |
Am Sunday, 7. August 2011, 21:41:42 schrieb Neil Puttock:
> On 7 August 2011 20:21, <address@hidden> 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, address@hidden, 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