From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: emacs@storiepvtride.it Newsgroups: gmane.emacs.bugs Subject: bug#41910: 26.3; xclip (wl-copy/Wayland) doesn't copy from Emacs Client Date: Mon, 29 Jun 2020 19:32:14 +0200 Message-ID: <7efac41e-78e5-ca62-37bd-ff1fc20d8847@storiepvtride.it> References: <1f242539-c351-c170-f268-8f35586591cc@storiepvtride.it> <83a71122j8.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="ciao.gmane.io:159.69.161.202"; logging-data="116157"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 To: 41910@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 29 21:41:14 2020 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 1jpzeU-000U8D-E9 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Jun 2020 21:41:14 +0200 Original-Received: from localhost ([::1]:45936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpzeT-0001Hv-Fu for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Jun 2020 15:41:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpzeI-0001Ft-Lo for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2020 15:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpzeI-0004NP-9z for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2020 15:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jpzeI-0006cI-5N for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2020 15:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: emacs@storiepvtride.it Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jun 2020 19:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41910 X-GNU-PR-Package: emacs Original-Received: via spool by 41910-submit@debbugs.gnu.org id=B41910.159345964125383 (code B ref 41910); Mon, 29 Jun 2020 19:41:02 +0000 Original-Received: (at 41910) by debbugs.gnu.org; 29 Jun 2020 19:40:41 +0000 Original-Received: from localhost ([127.0.0.1]:49524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpzdw-0006bI-AR for submit@debbugs.gnu.org; Mon, 29 Jun 2020 15:40:41 -0400 Original-Received: from mail.serni.org ([94.130.182.25]:40486 helo=mail.storiepvtride.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpxdg-0003En-RD for 41910@debbugs.gnu.org; Mon, 29 Jun 2020 13:32:18 -0400 Original-Received: from [192.168.178.64] (ip5b40f6b4.dynamic.kabel-deutschland.de [91.64.246.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.storiepvtride.it (Postfix) with ESMTPSA id 2CB489EE7F for <41910@debbugs.gnu.org>; Mon, 29 Jun 2020 19:32:15 +0200 (CEST) In-Reply-To: <83a71122j8.fsf@gnu.org> X-Mailman-Approved-At: Mon, 29 Jun 2020 15:40:38 -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" Xref: news.gmane.io gmane.emacs.bugs:182541 Archived-At: Am 17.06.20 um 16:24 schrieb Eli Zaretskii: >> From: emacs@storiepvtride.it >> Date: Wed, 17 Jun 2020 10:31:55 +0200 >> >> I'm using xclip 1.10 under Wayland and I use `wl-clipboard` [0] to copy >> and paste. >> >> When I connect a client to the Emacs daemon, I cannot copy text from a >> buffer to outside Emacs (be it a GTK application or another shell). To >> copy and paste text from a buffer: >> >> - I start selecting text with `C-space` then arrow keys to extend the >> selection >> >> - I copy the selection with `C-w` >> >> - I paste the selection outside Emacs with whatever works (shift+ctrl+v, >> >> - shift+ins, ctrl+v, ecc.) >> >> If I start `emacs` directly the above workflow works just fine. > > Please tell how you invoke emacsclient in those cases. > > Also, if you disable xclip and don't use wl-clipboard, does the > problem go away? > > Thanks. > Hello, thanks for the reply. > Please tell how you invoke emacsclient in those cases. I use this alias: alias em='emacsclient -t' > Also, if you disable xclip and don't use wl-clipboard, does the > problem go away? If I start emacs in Fundamental mode (emacs -q) which I believe should disable any package, I observe: - I cannot copy from Emacs and paste into a GTK application - I can copy from a GTK application and paste into Emacs - Yank and Kill-ring-save work inside Emacs Hope it helps, sorry if my wording is not correct, feel free to ask more details. Regards,