From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Aaron Ecay <aaronecay@gmail.com>, 17237-done@debbugs.gnu.org
Subject: bug#17237: 24.3.50; Hang with X11 + emacsclient
Date: Thu, 17 Apr 2014 11:12:06 +0200 [thread overview]
Message-ID: <534F9AE6.5030604@swipnet.se> (raw)
In-Reply-To: <87ha60y9lo.fsf@gmail.com>
Hello.
2014-04-11 02:48, Aaron Ecay skrev:
>
> I observe strange hangs when using org-protocol via emacsclient, under
> X11. Recipe to reproduce:
>
> 1. emacs -Q (recent trunk version; I’ve been seeing the bug for several
> weeks if not longer)
> 2. M-x server-start
> 3. touch ~/test
>
> If I invoke the following command from a shell on the same X11 virtual
> desktop as emacs, it works fine:
>
> emacsclient ~/test
>
> However, if I invoke the same command from a terminal on another
> desktop, the CPU usage spikes of both emacs (to ~50%) and the X server
> process (to ~85%), as visible in top. emacsclient prints "Waiting for
> Emacs..." to the terminal, and does not exit.
XMonad does not make the Emacs frame visible, so Emacs gets stuck in an
endless loop. Many other wm:s change the desktop to the desktop where Emacs
is, but XMonad does not.
Possible we could force that with some EWMH-hints, but the XMonad
documentation suggests that a user may configure XMonad to ignore those anyway.
Se the best we can do is to prevent the endless loop. I have checked in a fix
in the emacs-24 branch.
Jan D.
next prev parent reply other threads:[~2014-04-17 9:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-11 0:48 bug#17237: 24.3.50; Hang with X11 + emacsclient Aaron Ecay
2014-04-17 9:12 ` Jan Djärv [this message]
2014-04-17 17:18 ` Aaron Ecay
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=534F9AE6.5030604@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=17237-done@debbugs.gnu.org \
--cc=aaronecay@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).