From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#58505: 29.0.50; Time out waiting for reply from selection owner Date: Sun, 16 Oct 2022 16:01:37 +0300 Message-ID: References: <86tu47rjqx.fsf@protected.rcdrun.com> <87czauappa.fsf@yahoo.com> <83tu469az8.fsf@gnu.org> <83h7057cyy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5672"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02) Cc: luangruo@yahoo.com, 58505@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 16 19:45:41 2022 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 1ok7hl-0001JZ-GI for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Oct 2022 19:45:41 +0200 Original-Received: from localhost ([::1]:54796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok7hk-0006b2-00 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Oct 2022 13:45:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok7h8-0006af-L6 for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2022 13:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ok7h8-00055f-CJ for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2022 13:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ok7h8-00057s-3u for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2022 13:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Oct 2022 17:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58505 X-GNU-PR-Package: emacs Original-Received: via spool by 58505-submit@debbugs.gnu.org id=B58505.166594225119625 (code B ref 58505); Sun, 16 Oct 2022 17:45:02 +0000 Original-Received: (at 58505) by debbugs.gnu.org; 16 Oct 2022 17:44:11 +0000 Original-Received: from localhost ([127.0.0.1]:46094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok7gI-00056S-Pu for submit@debbugs.gnu.org; Sun, 16 Oct 2022 13:44:11 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:37627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok7gG-00056D-JO for 58505@debbugs.gnu.org; Sun, 16 Oct 2022 13:44:09 -0400 Original-Received: from localhost ([::ffff:102.87.19.13]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000055D66.00000000634C42E2.000014AE; Sun, 16 Oct 2022 10:44:02 -0700 Content-Disposition: inline In-Reply-To: <83h7057cyy.fsf@gnu.org> 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" Xref: news.gmane.io gmane.emacs.bugs:245671 Archived-At: * Eli Zaretskii [2022-10-15 10:39]: > > Date: Sat, 15 Oct 2022 07:11:01 +0300 > > From: Jean Louis > > Cc: Po Lu , 58505@debbugs.gnu.org > > > > * Eli Zaretskii [2022-10-14 09:27]: > > > The solution, of course, is to never run more than a single Emacs > > > session on the same machine. > > > > That is isolated solution for users who do not use Emacs Lisp for > > heavy or continues processing of data. > > I disagree with this assertion. You can organize your heavy > computation such that it never runs when you need an interactive > session, or run such computation in a sub-process (that could also be > Emacs, just one running in batch mode), or any number of other > solutions. You just need to realize that having just one interactive > Emacs session at a time is much more important than the other > considerations, and change your priorities accordingly. That is exactly what I do, I span one Emacs session as separate instance. What I do not understand is how that separate instance may disturb the new instance to yank or use selections. I do not know if it wants to use selections, but similar wording was written in messages. I hope you understand it better. Other X programs do not have the problem in copying or pasting while Emacs is processing information in the database. > > Would process that runs in console or as batch also cause this > > problem? > > I don't think so, no. > > > Is there a way in a single instance to disable something, so that > > selection whatever is disabled during processing, so that other > > instance is not disturbed? > > You can disable interprogram-paste-function, but why would you want > to? The bug report is the reason why I would want it. When Emacs is processing heavy data, I do not write nothing in that instance, I cannot access the instance, it is blocked due to processing. That is fine. But then I want to use other instance, and that other instance, the interactive one, gets disturbed because during the processing of the first instance something is happening and second instance, supposed to be free, is not free for work. Thus I guess if I disable interprogram-paste-function in the processing instance, new instance should not have problems. I have tested it now. It does not work. I have disabled both variables, interprogram-paste and cut function, and I have spanned new Emacs instance. I get this error again: gui-get-selection: (error "Timed out waiting for reply from selection owner") Timed out waiting for reply from selection owner I wish to disable it in the instance processing with Emacs Lisp, not in the one which I need for interactive usage. What else is possible to do to make it work? My Emacs is supposed to run 24 hours processing advertising information. Processing instance screenshot: https://gnu.support/images/2022/10/2022-10-16/2022-10-16-15:35:07.png That frame I do not touch as Emacs is not responsive, it just does Emacs Lisp. Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/