bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9751: 23.3; Alternative Keyboard Feature/Bug


From: Stefan Monnier
Subject: bug#9751: 23.3; Alternative Keyboard Feature/Bug
Date: Fri, 21 Oct 2011 13:37:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]