From: Eli Zaretskii <eliz@gnu.org>
To: Lin Jian <me@linj.tech>, Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 58747@debbugs.gnu.org
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 [thread overview]
Message-ID: <83pmedl01p.fsf@gnu.org> (raw)
In-Reply-To: <877d0qbgr8.fsf@linj.tech> (bug-gnu-emacs@gnu.org)
> 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" <bug-gnu-emacs@gnu.org>
>
>
> 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
>
> <a-not-used-symbol-xxx-2> (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 <a-not-used-symbol-xxx-3> (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 <a-not-used-symbol-xxx-2> (translated from C-x w) is undefined
Stefan, any comments?
next prev parent reply other threads:[~2022-10-27 16:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-23 17:06 bug#58747: 28.2; local-function-key-map is not used when used with input-decode-map and modifier Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-27 16:10 ` Eli Zaretskii [this message]
2022-10-27 16:42 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83pmedl01p.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=58747@debbugs.gnu.org \
--cc=me@linj.tech \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).