Mailing List Archive

emacs, xorg, altgr, leim
I am a new Gentoo user and I'm not used to bugzilla. So I beg your pardon if
I'm writing the wrong (already known) subject to the wrong addressee ;-)

I've just emerged Emacs 21.3-r3 (gentoo 2.4.26-gentoo-r6, portage 2.0.51-r2),
but:
a) leim was not installed
b) I got a beep when I pressed AltGr.

As to leim, I untarred emacs-21.53 and leim 21.53 into it, then tarred emacs
again with leim included, modified the md5 checksum in digest-emacs-21.3-r4
and emerged emacs again. Now leim gets installed, but I'm sure that an ebuild
expert would have done much better ;-)

As to AltGr, it is a known xorg bug. See for example:
http://lists.gnu.org/archive/html/bug-gnu-emacs/2004-10/msg00151.html
http://freedesktop.org/bugzilla/show_bug.cgi?id=1625

I applied the patch suggested by lists.gnu.org:

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

Now AltGr doesn't beep anymore ;-)

HTH

Sergio

--
gentoo-user@gentoo.org mailing list