[Top][All Lists]

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

Re: Round-tripping key definitions

From: Lars Ingebrigtsen
Subject: Re: Round-tripping key definitions
Date: Tue, 16 Nov 2021 08:41:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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

> Sadly, I think this will introduce a fair bit of trouble because code
> which currently does
>     (define-key map "\t" ...)
> expects this binding to apply to both `tab` and tty's TAB key.

Well, we could make `keymap-set' do just that (for these three keys), I
guess?  But I guess that takes us back to square one in the
distinguishing-intention game.

> I remember wanting such a repeatedly applied keymap a few times in the
> past, and similarly getting enough info for a function to be able to
> decide whether to do would be useful in other cases as well.

I'm not sure what that would look like...

(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]