lilypond-user
[Top][All Lists]
Advanced

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

Re: "In procedure list-tail in expression (list-tail input-file (- # 2))


From: Urs Liska
Subject: Re: "In procedure list-tail in expression (list-tail input-file (- # 2)): value out of range"
Date: Tue, 21 Mar 2017 18:41:38 +0100
User-agent: K-9 Mail for Android


Am 21. März 2017 18:28:07 MEZ schrieb Jeffery Shivers <address@hidden>:
>On Tue, Mar 21, 2017 at 1:18 PM, Urs Liska <address@hidden> wrote:
>>>The problem was subtracting 2 from (length  input-file) for `ctx`:
>>>      (input-file (string-split (car (ly:input-file-line-char-column
>>>(*location*))) #\/ ))
>>>      (ctx (list-tail input-file (- (length input-file) 2)))
>>>
>>>This corrects that:
>>>      (ctx (list-tail input-file (- (length input-file) 1)))
>>>
>>>Sorry for the noise everyone. Don't know why I didn't look there
>>>before posting. Should have eaten my Wheaties first.
>>
>> Ehm, doesn't that break things in other situations? I assume the "2"
>is there fir a reason ...
>
>So far, no. `cd`ing all around the system (up, down, to the side), it
>does just fine. I don't know what other situations you'd have in mind
>though.

What about point-and-click with the annotations?

Could you please share the output of the function I gave?



reply via email to

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