From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71479: 30.0.50; describe-key description incorrect when using input methods Date: Sat, 15 Jun 2024 10:34:26 -0400 Message-ID: References: <875xughhlb.fsf@gmail.com> <86bk42v67p.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33129"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Robert Pluim , 71479@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 15 16:35:26 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sIUV3-0008Oh-Nj for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jun 2024 16:35:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sIUUh-0008EL-Lu; Sat, 15 Jun 2024 10:35:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sIUUf-0008Ds-Ma for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 10:35:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sIUUf-0001Ws-E7 for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 10:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sIUUg-0001wE-5F for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 10:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jun 2024 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71479 X-GNU-PR-Package: emacs Original-Received: via spool by 71479-submit@debbugs.gnu.org id=B71479.17184620787379 (code B ref 71479); Sat, 15 Jun 2024 14:35:02 +0000 Original-Received: (at 71479) by debbugs.gnu.org; 15 Jun 2024 14:34:38 +0000 Original-Received: from localhost ([127.0.0.1]:51032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIUUI-0001uw-0s for submit@debbugs.gnu.org; Sat, 15 Jun 2024 10:34:38 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:31150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIUUG-0001uY-H1 for 71479@debbugs.gnu.org; Sat, 15 Jun 2024 10:34:36 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id B8FB8807F5; Sat, 15 Jun 2024 10:34:28 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1718462067; bh=7/Jii+dGm4w1fzhRNjmsADvka709zJvbN/uE7ggMZQM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=nBkTUwKt7c+QmcPd+WRDzpnb5xIIgREUANVLtbfGxdxiroxqRhcrNSbu8I8KSzSLc QYrvYePmpnbLPadPWQHimYZqWoJAT4q/3YSpM76l2TcnHxagfCmYrxM/r17/+ZX8Ki ps4mf+6uwEW0Vy0dMQMaE6QqHuVfNznzHA+XJgPa4tlpbqqxL8i6PLyR3mgp7ExdfF HvyGBi4ynIiPbVqKzmMudYV0D8BYLT/wLCORcyV2vl15Ac2HORMLf+n9wFaVSV9vpI 8+9d2l2LIw+ZWrZHDh5si1jyCg0rQnsqhj276nwsPz8cDKKNDwla5X2DfSj3EvbrSV S6xfCikj1CvIQ== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9356D8060F; Sat, 15 Jun 2024 10:34:27 -0400 (EDT) Original-Received: from pastel (unknown [24.140.236.196]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 668A012067A; Sat, 15 Jun 2024 10:34:27 -0400 (EDT) In-Reply-To: <86bk42v67p.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 15 Jun 2024 13:41:14 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287296 Archived-At: >> C-h k z h >> =3D> >> =D0=B6 (translated from h =D0=B6) 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 =D0=B6 because that is simply not the "raw" input. Stefan