From: Le Wang <l26wang@gmail.com>
To: 9417@debbugs.gnu.org
Subject: bug#9417: digit-argument doesn't work with `key-translation-map'
Date: Thu, 1 Sep 2011 18:26:34 +0800 [thread overview]
Message-ID: <CAM=K+iozZhrSLjjLy9GoKO9=84ZEpEMybgzQXJROXKqpk=6Rbw@mail.gmail.com> (raw)
repro:
1. emacs -Q
2. eval-region:
(define-key key-translation-map [(control x)] [(control j)])
(define-key key-translation-map [(control j)] [(control x)])
3. C-1 C-j C-f
expectation: call `find-file'
actual: call binding of C-j `eval-print-last-sexp'
Emacs version: CVS Head built today on Windows 7.
In Emacs 23, the behavior is slightly different. C-1 C-j calls
`eval-print-last-sexp' withing the final C-f key chord.
--
Le
next reply other threads:[~2011-09-01 10:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-01 10:26 Le Wang [this message]
2011-09-02 2:37 ` bug#9417: digit-argument doesn't work with `key-translation-map' Stefan Monnier
2011-09-02 2:52 ` Le Wang
2011-09-03 13:28 ` Le Wang
2011-10-13 2:11 ` bug#9417: mmpedros
2021-09-07 18:02 ` bug#9417: digit-argument doesn't work with `key-translation-map' Lars Ingebrigtsen
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='CAM=K+iozZhrSLjjLy9GoKO9=84ZEpEMybgzQXJROXKqpk=6Rbw@mail.gmail.com' \
--to=l26wang@gmail.com \
--cc=9417@debbugs.gnu.org \
/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).