From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: call-process should not block process filters from running Date: Tue, 04 Jul 2023 12:12:44 +0800 Message-ID: <87pm58qpqb.fsf@yahoo.com> References: <83cz1fvjef.fsf@gnu.org> <83h6qnpieb.fsf@gnu.org> <837criq321.fsf@gnu.org> <87r0pprhfd.fsf@catern.com> <87o7kts4ba.fsf@yahoo.com> <87lefwrif5.fsf@catern.com> <834jmkn7zt.fsf@gnu.org> <878rbwrb86.fsf@catern.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33394"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: sbaugh@catern.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 04 06:13:18 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qGXPi-0008Xt-Gw for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Jul 2023 06:13:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGXPN-0000Fd-4u; Tue, 04 Jul 2023 00:12:57 -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 1qGXPL-0000F5-BC for emacs-devel@gnu.org; Tue, 04 Jul 2023 00:12:55 -0400 Original-Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qGXPJ-0002Nl-Ct for emacs-devel@gnu.org; Tue, 04 Jul 2023 00:12:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688443971; bh=ilMcfHn0MYzD5sCgOS7KHxvHc2vw6vXQxA+B7yU+1Qw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=pb975MEKjaKXOZXQ559aC5SQ0Qb8I8M012cuWD8IVXWHgsFUh41Ceg+yIpVmUvLf7kjBePGam8iOCW3muzB3y3KMPlMtiHqdlT8p4LqgIXc+faNWSfgXE/ntkISRSffujY6bJCKntEWeCXuzV8wDokR9H+JaTnsDQvt2etjf2fArChV3GZl6uZfSCPJEoP00Oww+vfnRVuF5KC9Dipkykqj1MaMTaf+gfV5P7DCw5LAz3WYNLlS8zNQ0ujrMQyKY9XjClMpEOyGfAXtMc9X96lT6/5b93MByhZZ7f4i99eRGMNM2grCj+oX0rMxsRVwiXiq54aunq6O9/qiq9FH7Ew== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688443971; bh=dnyVxZK9Ef5zeHuQd/75Lx7J4QI788ZmHhm14TxzEOv=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=W2GkaA73pcOwON4m9bYjWUYXnqZ99GIYQvXBLKX5RsQBGqD+xyNQymztC7UnlHQy9HBiuA3o++Po/HhvoJ4ug3hvSSxdzBzPNR81NbsFplgEsRzQABFKTcc/QoIjPfcoo0NgPy33KqnbGJPTnKQRp9pnIx0wOXrKYlKaGGtoSKghFl9lYEiT0OKOXCqVfv+8Udx8oW/HNA21Jl8Li3u7PS/nNjQs+0x5r60C3e8CmYZQdlz0G9EvIxviZOTq7uATMXQY1GOdF71/fNfmNd0MD8muQaCf5Z89Yp4NJqg2N+N3bWgOvhelex3xngrQEeHGt0FvateQNKFC9VjsVS2WBA== X-YMail-OSG: 7ufUfawVM1m4BwbV44xPNVdfhwTgIEC8sSZXQBuPbVwywcz3rkKMNe9tIlbvCmq vOAwIRGX9i_rj1wW6l4AZDUAWO1xPxyU62etV8mcAqYNPaxTeyU4hK01vdpVlyIZMc8tBj.zESM_ sqzvRaCuABh.l_D7xQpAsHq0bEw1C47FVz.NtBETXA703hXw26PBonikifwVBpA_pX1AFNHI1zA6 k7RyMEeecgueBKCYVOMRg6APgPd45xPaggwFudXyljV1Hz.XyLoZduM6poPLNkfrfsdnwM2fjYAP E3np7pJVvkJEwyNgizU_3P80SRpyhRBu2qmphbNBlf3CaQ.4GvZwvOrsba6tZF3xnjVj95AksNAy J0wGWIEUvkmNxZjxIFAzVAron6tVQnyHyWxUQSleribAOpEAetRMqx3Zzqe.jKjCh2GhnbpiX7dD 5xXr96PRdKBNOQV3s9oKgKCT0oBmBfeZ613Dd_Q50fuh1.PfI3U3VrYLqPzzNWRnfb8B4lXppfBX RQZrghwu0ARYT4erynWsdRN6lcCWYy1iharnvfkSKP0e4H.xvHj3bwyo2cIQTT1pe9CFC3GecplC yfg8fvlC1IKQiuSH3ms_VnavRT3hRGYaP0uyUDjgg2IfCvNckAhvBsfYENsq5vVJfvdK4GcEh8Ke BKSHBrH1yXdns0Bl0vb4uVnM6ApyOmmskdh19wCqAQgIA4OThZoh9ddib3_AkOIrTII7MD865r4M GAiawR6tomLoIsWKzLno369ietLE781xwqe34ohWYT6m2jEkVsDtPD7hCL4fOw8T_N.H2M8akCO8 3wYPUwLcj8ScKcaeS4Np0kJEKLBjF3CjJWEHfPh3je X-Sonic-MF: X-Sonic-ID: e153b688-722e-4af0-877d-fdf2f87d3566 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Tue, 4 Jul 2023 04:12:51 +0000 Original-Received: by hermes--production-sg3-67fd64777-bps25 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 58f42775f6b681e9a27a28b5235d131f; Tue, 04 Jul 2023 04:12:48 +0000 (UTC) In-Reply-To: <878rbwrb86.fsf@catern.com> (sbaugh@catern.com's message of "Mon, 03 Jul 2023 16:28:25 -0400") X-Mailer: WebService/1.1.21612 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.33; envelope-from=luangruo@yahoo.com; helo=sonic313-10.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307401 Archived-At: sbaugh@catern.com writes: > already covered by "arbitrary Lisp will run during call-process"? Which is the problem. > It's not pasting into Emacs, it's pasting into other X clients. I > indeed don't care about pasting into Emacs while a subprocess runs. But > I like to be able to use other X clients, including by pasting, while a > subprocess runs. The solution is to stop the subprocess before inserting the contents of the selection into another client. > I've received lots of user complaints about the inability to paste in > other X clients while Emacs is sitting in call-process. Fixing that is > one of my key motivations for this change. It's not a bug. It doesn't have to be fixed. If your particular use case is okay with running Lisp while waiting for a process to complete, then it should use accept-process-output, not call-process. In the meantime, allowing timers and selection converters to run inside call-process sounds like it will introduce many new bugs...