[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 29.0.60; keymap-local-set and keymap-global-set became less strict
From: |
Eli Zaretskii |
Subject: |
Re: 29.0.60; keymap-local-set and keymap-global-set became less strict |
Date: |
Tue, 31 Jan 2023 17:06:21 +0200 |
> From: Robert Pluim <rpluim@gmail.com>
> Cc: Daniel Mendler <mail@daniel-mendler.de>, emacs-devel@gnu.org, Stefan
> Monnier <monnier@iro.umontreal.ca>, Eli Zaretskii <eliz@gnu.org>
> Date: Tue, 31 Jan 2023 10:05:15 +0100
>
> Lars> So keymap-local-set and keymap-global-set should be fixed to be
> strict
> Lars> again, otherwise there's not much point to the entire `keymap-*'
> Lars> exercise.
>
> OK. How about this then (why are the `cursor-in-echo-area' shenanigans
> necessary? I wonder if thatʼs a bug, since without them we either get
> the cursor not showing in the minibuffer for
> `read-key-sequence-vector', or we get an extra space displayed by
> `read-command')
Why does it have to be so complicated, though? If the problem is not
to call key-description in non-interactive invocations, can't we call
key-description inside the interactive form? Or use some other trick
to invoke key-description only in interactive calls?