GNU bug report logs -
#11682
23.3; meta key stops working if X modifier map becomes (temporarily) empty
Previous Next
Reported by: Hans Meine <hans.meine <at> mevis.fraunhofer.de>
Date: Tue, 12 Jun 2012 16:24:01 UTC
Severity: normal
Tags: moreinfo
Found in version 23.3
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 11682 <at> debbugs.gnu.org (full text, mbox):
Simon Tatham <anakin <at> pobox.com> writes:
> Hi,
>
> I found this bug report a few months ago when I was looking to see if
> anyone had had the same problem as me. I too found that if VMware
> Player had input focus when emacs started up, then emacs would never
> recognise the Alt key.
>
> Debugging with xtruss suggested that the reason for this was that
> emacs queried the modifier map at startup, found it empty, and
> thereafter listened for MappingNotify in order to know when to reload
> the mod map but for some reason it never received any MappingNotify
> events. (But it did receive the similar XkbMapNotify when vmware lost
> or gained focus.)
>
> That was on Ubuntu 10.04. The machine where I was seeing the problem
> has recently been upgraded to 12.04, and now the problem has stopped
> happening - on the same version of emacs. Debugging with xtruss shows
> that now emacs _is_ receiving MappingNotify, suggesting that the X
> server has changed its behaviour.
>
> I suspect, in fact, that the following X.Org commit is the fix:
>
> http://cgit.freedesktop.org/xorg/xserver/commit/?id=3231962db826f5efd431596a309c96e907a191d1
>
> which appeared in xorg-server 1.11, which would indeed be consistent
> with me having this problem in Ubuntu 10.04 but not 12.04 (which use
> xorg-server versions 1.7.6 and 1.11.4 respectively).
>
> So if anyone else still has this problem, it might be worth letting
> them know to check the version of their X server.
>
> Hope this is helpful!
Thanks, that is helpful. It seems like this is not a bug in Emacs then?
Hans, can you confirm if using a newer version of xorg-server fixes the
problem?
If I don't hear back from you within a couple of weeks, Ill just assume
that this has been fixed and close this bug.
Best regards,
Stefan Kangas
This bug report was last modified 5 years and 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.