all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Simon Tatham <anakin@pobox.com>
Cc: Hans Meine <hans.meine@mevis.fraunhofer.de>, 11682@debbugs.gnu.org
Subject: bug#11682: I believe this is an X server bug
Date: Fri, 01 Nov 2019 19:29:09 +0100	[thread overview]
Message-ID: <87ftj7ih6y.fsf@skangas.se> (raw)
In-Reply-To: <E1XAJlI-0007lt-AB@atreus.tartarus.org> (Simon Tatham's message of "Thu, 24 Jul 2014 15:12:48 +0100")

Simon Tatham <anakin@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





  reply	other threads:[~2019-11-01 18:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12 16:18 bug#11682: 23.3; meta key stops working if X modifier map becomes (temporarily) empty Hans Meine
2012-11-07  9:00 ` bug#11682: Problem remains Hans Meine
2012-11-07 14:38 ` bug#11682: Correction about previous Emacs versions Hans Meine
2014-07-24 14:12 ` bug#11682: I believe this is an X server bug Simon Tatham
2019-11-01 18:29   ` Stefan Kangas [this message]
2019-11-25 14:23     ` Meine, Hans
2019-11-25 15:25       ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ftj7ih6y.fsf@skangas.se \
    --to=stefan@marxist.se \
    --cc=11682@debbugs.gnu.org \
    --cc=anakin@pobox.com \
    --cc=hans.meine@mevis.fraunhofer.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.