GNU bug report logs - #7261
emacsclient ignores keyboard-translate in .emacs

Previous Next

Package: emacs;

Reported by: phillip.wood <at> talktalk.net

Date: Thu, 21 Oct 2010 14:30:04 UTC

Severity: normal

Tags: notabug

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: phillip.wood <at> talktalk.net
To: bug-gnu-emacs <at> gnu.org
Subject: emacsclient ignores keyboard-translate in .emacs
Date: Thu, 21 Oct 2010 09:58:18 -0400
[Message part 1 (text/plain, inline)]
 

 I am using emacs 23.2.1 in X under Arch Linux with the following .emacs

;; ; Make “C-t” act like “C-x”,
;; ; so it's easier to type on Dvorak layout
 (keyboard-translate ?\C-t ?\C-x)
 (keyboard-translate ?\C-x ?\C-t)

If I start emacs normally then the keys are translated. If I start emacsclient with 

GDK_NATIVE_WINDOWS=1 emacsclient --alternate-editor="" -c 

Then the keys are not translated on startup, but I can translate them by opening my .emacs file and running eval-region

If I add other commands to .emacs they are executed correctly but I still don't get any key translation. This bug is present in builds with both lucid and gtk. It seems really weird that key translation breaks when other commands in .emacs are ok.



[Message part 2 (text/html, inline)]

This bug report was last modified 13 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.