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 12:12:12 +0300 Message-ID: <83zg5g9afn.fsf@gnu.org> References: <83edmt9j8i.fsf@gnu.org> <87bkhxnhpk.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16948"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@janestreet.com, 63865@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 03 11:12:20 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 1q5NJ4-0004Bn-Ro for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jun 2023 11:12:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5NIp-0000TL-Qh; Sat, 03 Jun 2023 05:12:03 -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 1q5NIo-0000Sw-L9 for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 05:12:02 -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 1q5NIo-0001Cp-DF for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 05:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5NIn-000780-Tw for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 05:12:01 -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 09:12:01 +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.168578349327360 (code B ref 63865); Sat, 03 Jun 2023 09:12:01 +0000 Original-Received: (at 63865) by debbugs.gnu.org; 3 Jun 2023 09:11:33 +0000 Original-Received: from localhost ([127.0.0.1]:41548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5NIL-00077D-3z for submit@debbugs.gnu.org; Sat, 03 Jun 2023 05:11:33 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5NIF-00076x-Uj for 63865@debbugs.gnu.org; Sat, 03 Jun 2023 05:11:31 -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 1q5NIA-000153-Cr; Sat, 03 Jun 2023 05:11:22 -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=s8oQZwIA56XdmF8YIYvR9KqjxShUOXOZ5S44ZuHw3L8=; b=noSE/U9jwkha 9lKwUzIrdJFVgMwqx1FqWBufRQOvJGCK2iReqWTDKZXnarB0NG7ZZ5Fu5Z77tfXZYJblvwTSfxmTR Y7aW65jQMUxKSrTg0NoY9pW2To/kvoYkWo012lXvQr8xrAjXHmjwhFJ4D0cLzUjg6q7sj1mhzog39 jw7uRMNq5EWuIA6qi2Z317KHzZBYz9WTorbJZZekin4EdjMcfH7wE+yPcCE9DwTgxCLOSKjaK8f8A DIo76uJE7iY/i/hOuNyU5Kjbb+qiYILMcEzL5FZiDI7f9u4q1KBWWx7wJ4t5QIMMoWTJ+PsA5elgP QPvMnK7itwdDgpDCFaxzwg==; 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 1q5NI9-0006gh-Th; Sat, 03 Jun 2023 05:11:22 -0400 In-Reply-To: <87bkhxnhpk.fsf@yahoo.com> (message from Po Lu on Sat, 03 Jun 2023 15:11:19 +0800) 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:262811 Archived-At: > From: Po Lu > Cc: Spencer Baugh , 63865@debbugs.gnu.org > Date: Sat, 03 Jun 2023 15:11:19 +0800 > > Eli Zaretskii writes: > > >> From: Spencer Baugh > >> Date: Fri, 02 Jun 2023 21:55:09 -0400 > >> > >> > >> 1. Under X11, with the GTK or Lucid toolkits: > >> emacs -Q > >> 2. Become owner of the clipboard selection by killing some text; the > >> starting comments in the scratch buffer are a good candidate. > >> 3. Immediately afterwards (i.e. without copy and pasting text in another > >> window), run: > >> (call-process "sleep" nil nil nil "inf") > >> 4. Now other applications will hang when they attempt to paste text. > >> Google Chrome and Slack are two examples. (GTK-based applications > >> seem to be fine. So much for proprietary software...) > > > > Thanks. > > > > Does this happen also with the latest pretest, v29.0.91? > > I can't reproduce this, but the closest thing to Google Chrome on the > computer I am currently using is Firefox 10.0.7. It is strange that you cannot reproduce this. I thought that when another application requests a selection or clipboard text, the owner (Emacs in this case) gets called, and since Emacs is sleeping, we won't respond. Are there some other factors involved in this interaction that I'm missing?