GNU bug report logs - #71479
30.0.50; describe-key description incorrect when using input methods

Previous Next

Package: emacs;

Reported by: Robert Pluim <rpluim <at> gmail.com>

Date: Mon, 10 Jun 2024 17:02:01 UTC

Severity: normal

Tags: confirmed

Found in version 30.0.50

Full log


Message #15 received at 71479 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 71479 <at> debbugs.gnu.org
Subject: Re: bug#71479: 30.0.50;
 describe-key description incorrect when using input methods
Date: Sat, 15 Jun 2024 13:41:14 +0300
> From: Robert Pluim <rpluim <at> gmail.com>
> Date: Mon, 10 Jun 2024 18:45:36 +0200
> 
> 
> emacs -Q
> C-u C-\ cyrillic-translit
> C-h k z h
> 
> =>
>     ж (translated from h ж) runs the command
>     self-insert-command (found in global-map), which is an interactive
>     primitive-function in ‘C source code’.
> 
> This should say '*translated from z h)'. The underlying reason is that
> quail.el messes around with `last-command-event', which confuses
> describe-key.
> 
> I doubt this issue is confined to this particular input method.

Right, it looks like the problem is in this-single-command-raw-keys,
and more deeply in what we store in the raw_keybuf vector.

Stefan, any suggestions for how we could fix this?




This bug report was last modified 109 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.