lilypond-devel
[Top][All Lists]
Advanced

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

Re: Substitute for s1*0


From: Ian Hulin
Subject: Re: Substitute for s1*0
Date: Mon, 07 May 2012 11:04:50 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

Hi all,
Point of information:
On 07/05/12 10:29, Graham Percival wrote:
> On Mon, May 07, 2012 at 11:00:39AM +0200, David Kastrup wrote:
>> James <address@hidden> writes:
>> 
> <snip>
> 
> A number of people think that <> is the ideal tool for a 
> non-duration post-event.  James and I disagree; we think that a 
> different tool (such as a new \null or \nullevent) would be easier 
> to read.
> 
Except \null has already been used as \markup command. I know you can
distinguish by context, but your argument here is about readability.
You would really need a colour syntax-highlighting facility like in
Frescobaldi to make the distinction clear.
There aren't any really nice alternatives, though we could legalize 0
as a duration for s only in the parser (yuk, adds another exception
case and just 1* out of the existing documented) or do some
hornswoggling in the documentation and , introduce a \placeholder
command which hardly anyone will use with the docstring

"This produces an event in the music stream that does not affect
note-spacing in the visual output from LilyPond, nor does it affect
the default note-duration in the parser. It is commonly abbreviated to
the empty chord symbol @code{<>}.  It is commonly used to attach
markups and similar items where there may not always be a real note to
which to attach the item"
> 
>>> I absolutely take Graham's point that having a not uncommon
>>> sytax expression like '<< a4.(\->\<[^<>\markup {hello} \\ ...'
>>> is ugly
>> 
>> Reality check.  <> is not new.  And it is not what makes the
>> above look bad.
> 
> Seriously?  wow, we have radically different standards of 
> readability.
> 
> 
>> Uh, <> (or < >) is precisely that: a chord.  Which is the reason
>> that it works.  Are you arguing that we should abolish chord
>> syntax?
> 
> No, we're not suggesting that we abolish chord syntax.  But we 
> *are* suggesting that a different method of indicating a 
> non-duration post-event would be preferrable, and if we have such a
> method, we shouldn't encourage the use of <> for that task.
> 
> 
>>> Why would we suddenly become familiar with <> over s1*0?
>> 
>> Because we already _are_.  We are not talking about a proposed
>> change in functionality.  We are talking about a proposed change
>> in documentation. I gave an example where s1*0 causes _totally_
>> unexpected results.
> 
> Please stop the straw-men.  Nobody thinks that s1*0 is the best 
> method of indicating a non-duration post-event.
> 
>> Are you really holding a grudge because of the one-time comment
>> from Janek
> 
> Please stop the ad-hominen attacks.  James and I are not holding 
> any grudges.
> 
>>> Also isn't this a really a GLISS topic?
>> 
1+
We're discussing preferred syntax.
>> Reality check.  <> has already worked for eternities.  It would
>> be GLISS to _disallow_ it.  I can see no reason for that.
> 
> We're not proposing that we _disallow_ it.  We're proposing that 
> there might be a better way, and if we can agree on a better way, 
> it would be good not to encourage the <> method.
> 
>> Should we also disallow using { } and << >> instead of
>> \sequential and \simultaneous (which have been available since
>> LilyPond 1.1 but do not see much use)?
> 
> Now you're just being ridiculous.
> 
... and you were trying to ride David's straw horse! :-)
> - Graham
Cheers,
Ian




reply via email to

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