unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9417: digit-argument doesn't work with `key-translation-map'
@ 2011-09-01 10:26 Le Wang
  2011-09-02  2:37 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Le Wang @ 2011-09-01 10:26 UTC (permalink / raw)
  To: 9417

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-07 18:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-01 10:26 bug#9417: digit-argument doesn't work with `key-translation-map' Le Wang
2011-09-02  2:37 ` 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

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).