[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] digraphs.rc issue
From: |
Thomas Dickey |
Subject: |
Re: [vile] digraphs.rc issue |
Date: |
Thu, 8 Dec 2016 05:30:04 -0500 (EST) |
----- Original Message -----
| From: "Brendan O'Dea" <address@hidden>
| To: "Marc Simpson" <address@hidden>
| Cc: "Vile List" <address@hidden>
| Sent: Thursday, December 8, 2016 5:13:31 AM
| Subject: Re: [vile] digraphs.rc issue
|
| 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?
it's been a while - I'll research that this evening (have to go now...)
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net