GNU bug report logs - #46935
28.0.50; Annoying interactions with X clipboard

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Thu, 4 Mar 2021 23:29:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, 46935 <at> debbugs.gnu.org
Subject: bug#46935: 28.0.50; Annoying interactions with X clipboard
Date: Mon, 20 Jun 2022 20:59:15 +0800
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> The current trunk is back to hanging forever in this scenario.  Test
> case:
>
> $ emacs -Q
>
> Then select some text with the mouse and then `C-z' in the shell to stop
> the Emacs.
>
> Then start a new "emacs -Q" and use mouse-2 to paste.  Emacs will now
> hang forever (until you hit C-g).  So it seems like things have possibly
> regressed a bit, since it used to heed x-selection-timeout?
>
> Perhaps Po has some insights here; added to the CCs.

Thanks, should be fixed now.  The problem was wait_reading_process_input
skipping the call to select upon detect_input_pending even when just
waiting for a cell, without anyone reading keyboard input from the
keyboard buffer.

This bug has existed for a long time.  I wonder why it was only just
reported.




This bug report was last modified 2 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.