emacs-devel
[Top][All Lists]
Advanced

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

Representing key sequences (was: master 859190f 2/3: Convert some keymap


From: Stefan Monnier
Subject: Representing key sequences (was: master 859190f 2/3: Convert some keymaps to defvar-keymap)
Date: Wed, 13 Oct 2021 08:36:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Currently, we have 2 "builtin/native" representation of key sequences:

(A) strings (where every char represents an event)
(B) vectors of events

I believe they are both unpopular, but (A) really sucks (it only
handles a small subset of possible key-sequences).

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).


        Stefan




reply via email to

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