[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Layout of a (piano) hand indicator
From: |
David Kastrup |
Subject: |
Re: Layout of a (piano) hand indicator |
Date: |
Wed, 25 Nov 2015 16:11:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Robin Bannister <address@hidden> writes:
> David Kastrup wrote:
>
>> See issue 4671: probably as of version 2.19.33, convert-ly should be
>> able to do this by itself. Another possibility is to not use
>> ly:music-function-extract at all but rather write
>>
>> #{ \whateveritwas ... #}
>>
>> here. That should be fairly convertible.
>>
>
> OK. I had to pay a two dollar streamlining fee though.
>
>
> thumbBracket = #(define-music-function (spec) (string?)
> (let ((settings thumbBracketSettings)) ;% as Defaults, or user defined
> #{ \thumbBracketEx $spec $settings #}))
2.18.2 requires (define-music-function (parser location spec) ...
The first version to allow (define-music-function (spec) ... is 2.19.22
and the first version to allow (thumbBracketEx spec settings) is 2.19.22
as well. So if you drop the "parser location" arguments, there is no
point in not calling thumbBracketEx directly.
Of course, the `let' is spurious. You can just use thumbBracketSettings
directly instead of settings. Probably as of 2.14 or something. So
either way there are some more possible streamlinings even when writing
for 2.18.
--
David Kastrup
- Re: Layout of a (piano) hand indicator, (continued)
- Re: Layout of a (piano) hand indicator, Simon Albrecht, 2015/11/24
- Re: Layout of a (piano) hand indicator, Urs Liska, 2015/11/24
- Re: Layout of a (piano) hand indicator, Jacques Menu, 2015/11/25
- Re: Layout of a (piano) hand indicator, Urs Liska, 2015/11/25
- Re: Layout of a (piano) hand indicator, Thomas Morley, 2015/11/25
- Re: Layout of a (piano) hand indicator, David Kastrup, 2015/11/25
- Re: Layout of a (piano) hand indicator, David Kastrup, 2015/11/25
- Re: Layout of a (piano) hand indicator, Robin Bannister, 2015/11/25
- Re: Layout of a (piano) hand indicator, David Kastrup, 2015/11/25
- Re: Layout of a (piano) hand indicator, Robin Bannister, 2015/11/25
- Re: Layout of a (piano) hand indicator,
David Kastrup <=
- Re: Layout of a (piano) hand indicator, Robin Bannister, 2015/11/25
- Re: Layout of a (piano) hand indicator, Thomas Morley, 2015/11/25
- Re: Layout of a (piano) hand indicator, Simon Albrecht, 2015/11/30
- RE: Layout of a (piano) hand indicator, Mark Stephen Mrotek, 2015/11/30