From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63865: 29.0.90; call-process while owning the X selection hangs other processes Date: Sat, 03 Jun 2023 20:07:00 +0300 Message-ID: <83ttvo79vv.fsf@gnu.org> References: <83edmt9j8i.fsf@gnu.org> <87bkhxnhpk.fsf@yahoo.com> <87wn0kn3zu.fsf@yahoo.com> <83mt1g9044.fsf@gnu.org> <87leh0wm8h.fsf@igel.home> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16527"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, schwab@linux-m68k.org, 63865@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 03 19:07:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q5Uin-000454-5e for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jun 2023 19:07:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5UiX-0004tW-Db; Sat, 03 Jun 2023 13:07:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5UiV-0004t6-2o for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 13:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5UiU-0003vJ-LK for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 13:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5UiU-000861-GV for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 13:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Jun 2023 17:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63865 X-GNU-PR-Package: emacs Original-Received: via spool by 63865-submit@debbugs.gnu.org id=B63865.168581197931063 (code B ref 63865); Sat, 03 Jun 2023 17:07:02 +0000 Original-Received: (at 63865) by debbugs.gnu.org; 3 Jun 2023 17:06:19 +0000 Original-Received: from localhost ([127.0.0.1]:44234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5Uhn-00084x-Ee for submit@debbugs.gnu.org; Sat, 03 Jun 2023 13:06:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5Uhk-00084i-Ur for 63865@debbugs.gnu.org; Sat, 03 Jun 2023 13:06:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5Uhe-0003cE-01; Sat, 03 Jun 2023 13:06:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=FEKF5SifCMZJWsInVXHP+0wKOSPfhVcVnktxYjfGGLc=; b=MAoYJTTkiKHN YhMFoVTTi14Rx6RvUWQf0SSC6Tf/Qr2mU6tnGzH509p3AxYdKi73681II6diVbpkJK5zsxE0Xp3/G GmNifIWotFcgftIIFH5oGLtf+Maa2avrSDII7F8V73rhDj0vcy9sl8DgjiKVUK+bRgB0GSsyKEVYo KK1NF9e2ocWwIM+mN+dshJ+SowlsFrPWFntB2QMuj2xv+ciHYjZDL9p+5WStPBkKUrRTwSjK/I3AW HGKhrfefaB38cnC2OEojbTU8Gysq3HZT2ANQ0ISlY7kbdlmJAweuat97RsquDIJJSILvREksiG8JS DblzFi+/B/iUclZMLjzLTA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5Uhd-0004Nd-GN; Sat, 03 Jun 2023 13:06:09 -0400 In-Reply-To: (message from Spencer Baugh on Sat, 03 Jun 2023 13:03:14 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262876 Archived-At: > From: Spencer Baugh > Cc: luangruo@yahoo.com, Eli Zaretskii , 63865@debbugs.gnu.org > Date: Sat, 03 Jun 2023 13:03:14 -0400 > > Andreas Schwab 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.