[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] digraphs.rc issue
From: |
Brendan O'Dea |
Subject: |
Re: [vile] digraphs.rc issue |
Date: |
Thu, 8 Dec 2016 21:13:31 +1100 |
On 8 December 2016 at 17:55, Marc Simpson <address@hidden> wrote:
> Enter (on newlines): ^Ka' ^Ka` ^Ke" ^Ke` (where ^K is control-k) after
> sourcing digraphs.rc.
>
> Output in my buffer,
>
> ^Ka'
> à
> ^Ke"
> è
>
> i.e., ' and " aren't rendering the appropriate digraphs (á, é). As far
> as I can tell, this affects all mappings involving quote characters.
I'm not seeing the incorrect characters, but for anything involving '
or " I'm just getting the ^K sequence inserted unchanged. This is
with version 9.8l and 9.8r.
Looking in digraphs.rc, I see that the quote characters are escaped in
the map! statements:
map! ^Ka` ^V224
map! ^Ka\' ^V225
map! ^Ka\" ^V228
So the first works fine, and produces à as expected. The other two
require the backslash to be entered as part of the sequence to work.
i.e. the four character sequence ^Ka\' produces á. Omitting the
backslash gives the input unchanged: ^Ka'.
Editing diagraphs.rc to remove the backslashes appears to load fine,
and then the digraph works as expected. Did the rc parser change Tom?