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#58747: 28.2; local-function-key-map is not used when used with input-decode-map and modifier Date: Thu, 27 Oct 2022 19:10:42 +0300 Message-ID: <83pmedl01p.fsf@gnu.org> References: <877d0qbgr8.fsf@linj.tech> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30810"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58747@debbugs.gnu.org To: Lin Jian , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 27 18:13:05 2022 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 1oo5V9-0007ow-L6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 18:13:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo5UB-0004ne-SX; Thu, 27 Oct 2022 12:12: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 1oo5UA-0004ct-Iv for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 12:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oo5UA-0005S1-AL for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 12:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oo5UA-0007hr-50 for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 12:12: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: Thu, 27 Oct 2022 16:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58747 X-GNU-PR-Package: emacs Original-Received: via spool by 58747-submit@debbugs.gnu.org id=B58747.166688709629588 (code B ref 58747); Thu, 27 Oct 2022 16:12:02 +0000 Original-Received: (at 58747) by debbugs.gnu.org; 27 Oct 2022 16:11:36 +0000 Original-Received: from localhost ([127.0.0.1]:59073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo5Tk-0007h9-Fy for submit@debbugs.gnu.org; Thu, 27 Oct 2022 12:11:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo5Ti-0007gw-Qf for 58747@debbugs.gnu.org; Thu, 27 Oct 2022 12:11:35 -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 1oo5TZ-0005K5-Nd; Thu, 27 Oct 2022 12:11:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=sZ2p4gfECKMPFPqva9ogWdrvWCsC3BFDigf+CPyjh2c=; b=ppl5VuzHRrvv jB1E4dejovayMm1LiQO3ScYCxyL1SL+64CDN/pNm90spLLra51mEvpGXLXOCpPaW+XqgFgUSGotSA hkQw38YQZBu/bpQdyDIFiDReaRfvzLBxvBxGW9K+AdbpWG/334Wg3DkTh2wBntAzxSflBzEJwVXT1 XtYGwvEmqiKbCcdWP7i4+0uRr4+Pv73kOmmXcfa8iaFZE2y6gzr+dAKGmMwSN/k80jJhQ1V4IcaQy rFrdSBDRQ35je69p7GJluhXOzUQtrQlc/LTOLuNRgzFwxFpnu7Pa8bH2JX2W25j97dPSUl0dBEAHC tUuFtbVCW0h4OHqJyjA+ag==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo5Sx-0006CG-Vl; Thu, 27 Oct 2022 12:11:01 -0400 In-Reply-To: <877d0qbgr8.fsf@linj.tech> (bug-gnu-emacs@gnu.org) 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246319 Archived-At: > Date: Mon, 24 Oct 2022 01:06:49 +0800 > From: Lin Jian via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > Steps to reproduce this bug: > 1. emacs -q > 2. (define-key input-decode-map [?w] [a-not-used-symbol-xxx-0]) > 3. (define-key local-function-key-map [a-not-used-symbol-xxx-0] [a-not-used-symbol-xxx-1]) > 4. (define-key key-translation-map [a-not-used-symbol-xxx-1] [a-not-used-symbol-xxx-2]) > 5. (define-key key-translation-map [a-not-used-symbol-xxx-0] [a-not-used-symbol-xxx-3]) > 6. C-h k w > 7. check the *Messages* buffer, you will see > > (translated from w) is undefined > > This is good. > 8. C-h k C-x w > 9. check the *Messages* buffer, you will see > > C-x (translated from C-x w) is undefined > > I think this is a bug, which means local-function-key-map is not > used. The expected result should be > > C-x (translated from C-x w) is undefined Stefan, any comments?