[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AltGr in command key sequence not working
From: |
Sebastian Schubert |
Subject: |
Re: AltGr in command key sequence not working |
Date: |
Tue, 15 Mar 2005 13:56:29 +0100 |
User-agent: |
KNode/0.8.2 |
Ulrich Hobelmann wrote:
>> I use a self-compiled Emacs 21.4.1 on a Suse 9.2 system under X. I have
>> to push e.g. AltGr-8 to get [ (German keyboard). Just entering that works
>> fine but I can't use any command sequence including a symbol I can only
>> get with AltGr. C-h k AltGr gives me "<key-3> is undefined".
>
> Get a decent keyboard layout, like US -- or better -- Dvorak. The German
> one IS a bug. ;)
Ok, but that's rather a workaround then a solution. I somehow like WYSIWYG
keyboards. Emacs is so old, there should be a way to solve that problem.
Or isn't it a problem of emacs? I found that on
http://lists.gnu.org/archive/html/bug-gnu-emacs/2004-10/msg00150.html
If Emacs (nearly all version from last years) is compiled with xorg-x11
and it is used with European keyboard with AltGr key, pressing AltGr
beeps and breaks i-searches.
Bug is not in Emacs, but in X:
http://freedesktop.org/bugzilla/show_bug.cgi?id=1625
But Emacs can include simple work-around:
--- src/xterm.h 2004-07-03 16:06:51.000000000 +0200
+++ src/xterm.h 2004-10-13 21:33:35.281822816 +0200
@@ -21,8 +21,8 @@
#include <X11/Xlib.h>
#include <X11/cursorfont.h>
-#include <X11/Xutil.h>
#include <X11/keysym.h>
+#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/Xresource.h>
What does it mean? Somehow change src/xterm.h, I guess.
Thanks
Sebastian