lilypond-devel
[Top][All Lists]
Advanced

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

Re: penalty -> permission patch


From: Han-Wen Nienhuys
Subject: Re: penalty -> permission patch
Date: Fri, 05 May 2006 16:34:13 +0200
User-agent: Thunderbird 1.5 (X11/20060313)

Joe Neeman wrote:
On Fri, 5 May 2006 18:43, Han-Wen Nienhuys wrote:
Joe Neeman wrote:
First of all, instead of penalty, breakable and page-penalty, we now
have: break-penalty, break-permission
page-break-penalty, page-break-permission
page-turn-penalty, page-turn-permission
sounds good.

where XXX-permission can be 'allow, 'force or 'forbid.
can you drop the 'allow ? I think it's the proper default, so undefined
( SCM_EOL or rather, !scm_is_symbol() ) just means allow.

I see your point about only needing 2 symbols, but shouldn't the default be forbid? Because break-permission replaces breakable, so forbid corresponds to the previous default of #f if unset.

Hmm, yes; I guess you're right.


--

Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

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