[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New language feature breaks lilypond-words
From: |
Patrick McCarty |
Subject: |
Re: New language feature breaks lilypond-words |
Date: |
Sat, 18 Dec 2010 23:27:28 -0800 |
On Mon, Dec 13, 2010 at 12:05 AM, Patrick McCarty <address@hidden> wrote:
> On 2010-12-12, Jay Anderson wrote:
>>
>> Here's another lilypond vim annoyance. Take these lines as examples:
>>
>> \version "2.13.42"
>> \once \override Staff.DynamicText #'self-alignment-X = #LEFT
>>
>> If you place the cursor over the "2" in the first line or over the "S"
>> in Staff in the second line and type 'dw' (delete word) it will treat
>> the dots as word characters and result in these lines:
>>
>> \version ""
>> \once \override #'self-alignment-X = #LEFT
>>
>> I would expect it to stop at the dots. I haven't looked too much at
>> the syntax file yet to see how this might be easily fixed.
>
> Interesting!
>
> The problem is that LilyPond's Vim syntax file includes the system's
> Scheme syntax file, which overrides the `iskeyword' property to
> something not-that-desirable for LilyPond files.
>
> I *thought* that by including the Scheme syntax file, the overrides
> and such would only apply to the @embeddedScheme group, but I guess
> some of them leak through and apply to the entire LilyPond syntax
> file. Seems odd, but there's probably something missing.
Not sure how to implement a proper fix at the moment, so I've opened a
tracker issue:
https://code.google.com/p/lilypond/issues/detail?id=1457
Thanks,
Patrick