all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
To: Mariusz Gronczewski <xani666@gmail.com>
Cc: 17026@debbugs.gnu.org
Subject: bug#17026: 24.4+1-5 x-get-selection: Timed out waiting for reply from selection owner
Date: Sun, 22 Mar 2015 14:39:42 +0100	[thread overview]
Message-ID: <898478EC-04AC-4453-BA56-B07A6FA534AB@swipnet.se> (raw)
In-Reply-To: <CAJ9Ak2rQQTN3DdexGrQH+mzwUbKDx8p5H04WrAusA=78At=HWQ@mail.gmail.com>

Hi.

> 20 mar 2015 kl. 14:06 skrev Mariusz Gronczewski <xani666@gmail.com>:
> 
> Seems like easiest way to reproduce it is to run any command that touches primary selection, for example:
> 
> (shell-command "xclip -o -selection XA_PRIMARY”)

This is not the same.  This hangs because of a deadlock.  Shell runs synchronous, and hangs until the command output has been read.  But when emacs does that, it can’t respond to the request from xclip.
It also only hangs if Emacs owns the primary selection, not if another process does.

> 
> freezes whole emacs until Ctrl+G but with XA_CLIPBOARD it works as intended

It is because there is a clipboard handler running, i.e. Emacs does not answer to xclip in this case.

	Jan D.






      reply	other threads:[~2015-03-22 13:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-17 14:49 bug#17026: 24.3.50; x-get-selection: Timed out waiting for reply from selection owner Tom Tromey
2015-03-20 13:06 ` bug#17026: 24.4+1-5 " Mariusz Gronczewski
2015-03-22 13:39   ` Jan D. [this message]

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=898478EC-04AC-4453-BA56-B07A6FA534AB@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=17026@debbugs.gnu.org \
    --cc=xani666@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 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.