From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#46935: 28.0.50; Annoying interactions with X clipboard Date: Fri, 05 Mar 2021 00:28:41 +0100 Message-ID: <87blbyzefq.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20093"; mail-complaints-to="usenet@ciao.gmane.io" To: 46935@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 05 00:29:11 2021 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 1lHxP4-00055C-Aj for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Mar 2021 00:29:10 +0100 Original-Received: from localhost ([::1]:50462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHxP2-0002kO-R1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Mar 2021 18:29:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHxOw-0002k3-Ii for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 18:29:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49047) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHxOw-0006D9-BP for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 18:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lHxOw-000301-8A for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 18:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Mar 2021 23:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46935 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161490053211508 (code B ref -1); Thu, 04 Mar 2021 23:29:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Mar 2021 23:28:52 +0000 Original-Received: from localhost ([127.0.0.1]:60593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHxOm-0002zY-CI for submit@debbugs.gnu.org; Thu, 04 Mar 2021 18:28:52 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:52056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHxOi-0002zP-U4 for submit@debbugs.gnu.org; Thu, 04 Mar 2021 18:28:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHxOi-0002io-Ls for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 18:28:48 -0500 Original-Received: from mout.web.de ([212.227.15.4]:33009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHxOf-00064v-OI for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 18:28:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1614900522; bh=aVjW74ViqtWFQfF9+IjqFhpQOMGEr0phMVY3NgJrCzQ=; h=X-UI-Sender-Class:From:To:Subject:Date; b=sEPE38wfdpCyav3DR+GvTXtB+WDjVWdmGz1OlQsjumiezZQadTZBT6jrM3Z6wY/vh JmuYfUf7pU8gIkHYlcrVqgaI3fK0bmX/MOK/pFnO1V+tXxVxIHOuRvZSJ25Js1Pl9/ AUXpLZ6Kw6NjeoVvPdh0rYV57/RwHDPMpxnYsD2Y= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([94.218.220.60]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MSGXj-1lBWPy45d5-00TRDI for ; Fri, 05 Mar 2021 00:28:42 +0100 X-Provags-ID: V03:K1:L3Se36GVA+lLgml35goirShd6Cn5JyTItV+VwVtwsPDLseFDw4H y/ONrcfVlb6kpMQwUw2viIavjBPhMwJvFzF6sKsG6Z1GQd/UpHb891txNcgJv28ZhUL/UQR hFgP8lg3E0CAh8EiRYC0iMHD466nh8/29+i4FiOO0viv1JbxAF1ci3mB50weq2OTsE2Mlmw p+BUr7ZIbUJLS1jjl/uug== X-UI-Out-Filterresults: notjunk:1;V03:K0:pCz1P9qdZi0=:QECR6l+xnGtkej5+D+94Qf 2FXG3xAWW9t5AWJYO4hW/ABie+R2nQW097F2FKOE0Yeq6U7z/r9ke+sbZJjndw4fA8BnoEEO4 HerJVVW0lSsXKFRW35w37mfm8hMZEucsda5GjEla+tsQ0Ia3Es9H8H5yzmvCpVNldeb62yKsT /XmZ1dx2lbNYrH1iD68Z5FsOcoxWOG79SdvkQO2HHOOrTm+g7uOKnmSljZXzarIHIxTippr0u 8bcksBNBME93k8Z0/mZTfAUlO2i2kdu7CpdVWY7fcIAN4XsBhrLrKILRCDQK++hw7IsaquFSV VxkgEOcPGqW9TEmx0Dta6uxgj6G0daI8CxeDroOp9q6J2bK8GS2H+L/nBee5sGMLn22ti3Ilf 2HdJitxVWaJF0IhFPbjTrIhK/IesvV36ote7JowfCzsBgjWKe0ssfcgcxKrH/GOhLufdDT4GX 5Xv4CiOl6Jm/yoR24h7B2X91G+XVQDaebkpIRCXgeOpV5SUEOluN3VsQGkqaS2Zu3VhvzFzvt PjXVp9JAF5U6XcRgadX/CqQejyi5Rb7euIdzRzweiG8SIbpKXZU2NKmutTp3hoedFQehfOJn/ PhXreFH25zL82Qp3MmbFG3lANfqPcMafluo5lsEXlYtv0Z1HEV//c5q096aMZvyOoYSotRLkg GWHNAkwIY9ATTsILArWDlp6Ep3Lv6nK/k5sB+WZnazCSGgLz3HASPMuEgurTGrVihUqi00CS1 8w6j1Wdr0jbDvOFYqhPbSw/eaPoKX39LFbGBV6Q/LsraYg58jCVOsXepg7iwmzVH3jBTKOnO Received-SPF: pass client-ip=212.227.15.4; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:201487 Archived-At: Hello, I'm using Emacs under the X window system (Debian with Openbox window manager). I'm experiencing the following issues with my setup: (1) When some other program is very busy or frozen - that can be a browser executing javascript code, or a program that has crashed or is frozen, or (this recipe works only sometimes) another Emacs that I have sent a SIGSTOP, then, when I try to copy or kill text in any buffer, Emacs also freezes. Seems to infloop. C-g always helps, but any other trial results in freeze again. In this situation it is impossible to work with Emacs in a useful way. I have to close or kill the other program, or wait until it is not that busy any more, to be able to continue working in Emacs. (2) There are so called "clipboard manager" for X, "parcellite" for example. Whenever I tried to use such a program, it has a side effect on Emacs: Emacs seems to recive some sort of interrupt event or whatever - this is my interpretation - the visible effect is that some things stop working, are interrupted, most of the time, this is Helm: instead of getting a window with completions, I get an empty window. Repeated retrying always works sooner or later. I think, but I am not totally sure, that I also saw the issue in other situations. Could likely be that it is `while-no-input' that gets interrupted. The effect is annoying enough that it is not possible to work with Emacs for a longer time and a started parcellite. AFAIR this happened with other (all) clipboard managers I had tried in the past. Please tell me if you need information about my config. Some related setting might be select-enable-primary -> t select-enable-clipboard -> t save-interprogram-paste-before-kill -> t What would be the shortest way to find the cause? I also wonder if only I am seeing this, or whether others only hesitate to report the problem (would be nice if they could raise their hands now...) TIA, Michael. In GNU Emacs 28.0.50 (build 9, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-03-04 built on drachen Repository revision: fa74c6c89d67226b31d10bdef66e88cc484b20ea Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Debian GNU/Linux bullseye/sid Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_ALL: de_DE.utf8 value of $LC_COLLATE: C value of $LC_TIME: C value of $LANG: de_DE.utf8 locale-coding-system: utf-8-unix Major mode: ELisp/l