unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* keyboard-translate working for Control but not for Alt
@ 2009-08-04 14:39 Elena
  2009-08-04 17:18 ` harven
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Elena @ 2009-08-04 14:39 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

since I use a Dvorak keyboard, I'd like to swap C-x and C-t, as it is
suggested here:

http://www.emacswiki.org/emacs/DvorakKeyboard#toc4

The proposed code performs its task:

http://www.emacswiki.org/emacs/DvorakKeyboard#toc4

(keyboard-translate ?\C-x ?\C-t)
(keyboard-translate ?\C-t ?\C-x)

Out of curiosity, I tried to swap M-x and M-t as well:

(keyboard-translate ?\M-x ?\M-t)
(keyboard-translate ?\M-t ?\M-x)

but evaluating each expression fail with (numbers are not the same):

Debugger entered--Lisp error: (wrong-type-argument characterp
134217848)
  keyboard-translate(134217848 134217844)
  eval((keyboard-translate 134217848 134217844))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)

Software:
- Windows XP SP3
- GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-
MJASON

Any help?

Thanks.




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

end of thread, other threads:[~2009-08-07  4:06 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04 14:39 keyboard-translate working for Control but not for Alt Elena
2009-08-04 17:18 ` harven
2009-08-04 17:20   ` harven
2009-08-04 18:15 ` Xah Lee
2009-08-04 18:37   ` Xah Lee
2009-08-04 18:36 ` Johan Bockgård
2009-08-05  8:07 ` Xah Lee
2009-08-05 22:37   ` Xah Lee
2009-08-06  0:40     ` Xah Lee
2009-08-06  2:29       ` Xah Lee
2009-08-06 16:34       ` B. T. Raven
2009-08-06 21:04         ` Elena
2009-08-06 21:08           ` Elena
2009-08-07  4:02             ` B. T. Raven
2009-08-07  4:06           ` B. T. Raven
     [not found] ` <mailman.3870.1249411036.2239.help-gnu-emacs@gnu.org>
2009-08-06  7:54   ` Elena
2009-08-06 11:01     ` Bernardo
     [not found]     ` <mailman.4020.1249556773.2239.help-gnu-emacs@gnu.org>
2009-08-06 12:22       ` Elena

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