bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17026: 24.4+1-5 x-get-selection: Timed out waiting for reply from se


From: Jan D.
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

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 via email to

[Prev in Thread] Current Thread [Next in Thread]