[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use correct vector/list syntax for keybindings?
From: |
Andreas Schwab |
Subject: |
Re: use correct vector/list syntax for keybindings? |
Date: |
Tue, 05 Nov 2019 14:25:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
On Nov 05 2019, Robert Pluim wrote:
> In "(emacs) Init Rebinding", it says
>
> If a vector element is a character, write it
> as a Lisp character constant: ‘?’ followed by the character as it would
> appear in a string.
>
> There are a fair few bindings in the emacs source that forget the '?'
> and do eg
>
> [(control c)]
>
> Is it worth going through and changing those?
This is not the syntax the text above is talking about. It is a vector
of Lucid-style event type lists, where the characters can be written as
symbols (see event-convert-list). It is supported for XEmacs
compatibility.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."