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 #18 received at 71479 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Robert Pluim <rpluim <at> gmail.com>, 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 10:34:26 -0400
>> C-h k z h
>> =>
>>     ж (translated from h ж) runs the command

Eww.

>> This should say '*translated from z h)'. The underlying reason is that
>> quail.el messes around with `last-command-event', which confuses
>> describe-key.
> 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.

I don't have a deep enough understanding of all the elements in play to
have a good idea how to fix it.  All I can say is that IMO `raw_keybuf`
should never see ж because that is simply not the "raw" input.


        Stefan





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.