[Top][All Lists]

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

Re: Representing key sequences

From: Lars Ingebrigtsen
Subject: Re: Representing key sequences
Date: Wed, 13 Oct 2021 16:12:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> There are two "standard" alternatives:
> (C) string (passed to `kbd`).
> (D) vectors of lists (using the XEmacs syntax).
> I'd be in favor of promoting both (C) and (D) while phasing out both (A)
> and (B).

I'm in favour of promoting (C) and (D) (and perhaps making
`define-keymap' not do (A), as Stefan K. proposed), but phasing out (A)
would be difficult.  (Unless you mean "not promoting (A)" as "phasing
out (A)".)

I don't think (B) is used much...  OK, it's used more than I thought --
209 times in the Emacs tree.  Things like:

(define-key global-map [?\s-~] 'ns-prev-frame)

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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