unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: emacs@storiepvtride.it
To: 41910@debbugs.gnu.org
Subject: bug#41910: 26.3; xclip (wl-copy/Wayland) doesn't copy from Emacs Client
Date: Mon, 29 Jun 2020 19:32:14 +0200	[thread overview]
Message-ID: <7efac41e-78e5-ca62-37bd-ff1fc20d8847@storiepvtride.it> (raw)
In-Reply-To: <83a71122j8.fsf@gnu.org>

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,





  reply	other threads:[~2020-06-29 17:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-17  8:31 bug#41910: 26.3; xclip (wl-copy/Wayland) doesn't copy from Emacs Client emacs
2020-06-17 14:24 ` Eli Zaretskii
2020-06-29 17:32   ` emacs [this message]
2021-06-13 11:09     ` Lars Ingebrigtsen
2021-06-24  7:32       ` jman
2021-06-24 14:53         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7efac41e-78e5-ca62-37bd-ff1fc20d8847@storiepvtride.it \
    --to=emacs@storiepvtride.it \
    --cc=41910@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).