GNU bug report logs - #63865
29.0.90; call-process while owning the X selection hangs other processes

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Sat, 3 Jun 2023 01:56:01 UTC

Severity: normal

Found in version 29.0.90

Full log


Message #65 received at 63865 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: luangruo <at> yahoo.com, schwab <at> linux-m68k.org, 63865 <at> debbugs.gnu.org
Subject: Re: bug#63865: 29.0.90; call-process while owning the X selection
 hangs other processes
Date: Sat, 03 Jun 2023 20:07:00 +0300
> From: Spencer Baugh <sbaugh <at> janestreet.com>
> Cc: luangruo <at> yahoo.com,  Eli Zaretskii <eliz <at> gnu.org>,  63865 <at> debbugs.gnu.org
> Date: Sat, 03 Jun 2023 13:03:14 -0400
> 
> Andreas Schwab <schwab <at> linux-m68k.org> writes:
> > On Jun 03 2023, Spencer Baugh wrote:
> >> Forget other packages: Emacs itself uses call-process in tons of places
> >> where it will run for prolonged periods of time!
> >
> > This has nothing to do with call-process.  Emacs can be busy for many
> > reasons.
> 
> Other things which make Emacs busy still let Emacs respond to X
> selection requests.

Which "other things"?

Andreas is right: anything that the Lisp thread does prevents it from
responding to X selection requests, because while a Lisp program runs,
Emacs checks the input queue only occasionally, as part of maybe_quit
processing.  So when the main thread is busy by doing anything, all
bets are off.




This bug report was last modified 1 year and 357 days ago.

Previous Next


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