From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@jurta.org>
Cc: lekktu@gmail.com, 9751@debbugs.gnu.org,
Nikos Pitsianis <nikos@cs.duke.edu>
Subject: bug#9751: 23.3; Alternative Keyboard Feature/Bug
Date: Fri, 21 Oct 2011 13:37:06 -0400 [thread overview]
Message-ID: <jwvaa8ufdts.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87fwimeety.fsf@mail.jurta.org> (Juri Linkov's message of "Fri, 21 Oct 2011 17:01:33 +0300")
> I can't find a way to translate keys on a per-mode basis
> in modes where single keys are bound to non-self-inserting commands.
Well, if you really have to, you can do it with something like:
(define-key function-key-map [β]
(lambda (_prompt) (if (derived-mode-p 'dired-mode) [?a] [?b])))
but I wonder in which circumstance you'd want to do that.
Stefan
next prev parent reply other threads:[~2011-10-21 17:37 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-14 7:05 bug#9751: 23.3; Alternative Keyboard Feature/Bug Nikos Pitsianis
2011-10-14 11:48 ` Juanma Barranquero
2011-10-14 17:06 ` Nikos Pitsianis
2011-10-14 17:21 ` Eli Zaretskii
2011-10-14 17:47 ` Nikos Pitsianis
2011-10-14 18:49 ` Stefan Monnier
2011-10-20 0:12 ` Juri Linkov
2011-10-20 2:10 ` Stefan Monnier
2011-10-20 6:29 ` Juri Linkov
2011-10-20 13:19 ` Stefan Monnier
2011-10-21 14:01 ` Juri Linkov
2011-10-21 17:37 ` Stefan Monnier [this message]
2011-10-22 15:36 ` Juri Linkov
2011-10-23 20:08 ` Stefan Monnier
2011-10-23 20:24 ` Andreas Schwab
2011-10-24 3:05 ` Stefan Monnier
2011-10-24 5:17 ` Juri Linkov
2011-10-24 13:01 ` Stefan Monnier
2011-10-24 15:35 ` Juri Linkov
2011-10-24 16:05 ` Stefan Monnier
2011-10-24 16:20 ` Juri Linkov
2011-10-24 20:18 ` Stefan Monnier
2011-10-25 4:33 ` Juri Linkov
2011-10-25 12:21 ` Stefan Monnier
2011-10-25 12:54 ` Stefan Monnier
2011-10-25 15:45 ` Juri Linkov
2012-01-12 0:35 ` Juri Linkov
2012-01-12 2:48 ` Stefan Monnier
2012-01-12 10:33 ` Juri Linkov
2011-10-14 19:19 ` Juanma Barranquero
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=jwvaa8ufdts.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=9751@debbugs.gnu.org \
--cc=juri@jurta.org \
--cc=lekktu@gmail.com \
--cc=nikos@cs.duke.edu \
/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).