From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71479: 30.0.50; describe-key description incorrect when using input methods Date: Sat, 15 Jun 2024 13:41:14 +0300 Message-ID: <86bk42v67p.fsf@gnu.org> References: <875xughhlb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15630"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71479@debbugs.gnu.org To: Robert Pluim , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 15 12:42:25 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 1sIQrY-0003uQ-JM for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jun 2024 12:42:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sIQrD-0006Ia-JI; Sat, 15 Jun 2024 06:42: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 1sIQrB-0006IN-RL for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 06:42:02 -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 1sIQrB-0005KE-Is for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 06:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sIQrB-0004l2-W5 for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 06:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jun 2024 10:42:01 +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.171844808718204 (code B ref 71479); Sat, 15 Jun 2024 10:42:01 +0000 Original-Received: (at 71479) by debbugs.gnu.org; 15 Jun 2024 10:41:27 +0000 Original-Received: from localhost ([127.0.0.1]:33852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIQqd-0004jW-Eg for submit@debbugs.gnu.org; Sat, 15 Jun 2024 06:41:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIQqa-0004j8-CV for 71479@debbugs.gnu.org; Sat, 15 Jun 2024 06:41:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sIQqT-0005Ix-Vr; Sat, 15 Jun 2024 06:41:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=SZySUBjfWBp24ZsEm9mGHFyjHJNZXW1390sCXEA4Syo=; b=RNu6jdB1kIg7pcXaDwbS lmWgVpvHQ1jOXVVrk2JZvZHfI9wSM02hHfu44U3QiIE0Ip2gQwnmccG+r1f+Jdupg83Svzi0LPb9l IJEQJ5NFLd9FMCElgAT77GwO0fMIWchbYRASBoAo/YnR5CY72sjvCz/dKLVLYATOYvPRZdY+5yR7n w19uOu/VL5TXKrUAvy7Yjwcljj5IqtpLVSHJNwhBT63/pJJA5KF7ea7fS7GHeQ1XXRPBS+QykCshn DBaDzx/9KZe69LRHgJACQv0/uqfI7AIo1/YZu1jKy5FOW5ypUkYusQGZGjjuec3ZQhjUCaYf/4CXt 1UIpf/oP33nLxw==; In-Reply-To: <875xughhlb.fsf@gmail.com> (message from Robert Pluim on Mon, 10 Jun 2024 18:45:36 +0200) 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:287277 Archived-At: > From: Robert Pluim > 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?