emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in 26.1 related to X clipboard and `yank'?


From: Joseph Mingrone
Subject: Re: Bug in 26.1 related to X clipboard and `yank'?
Date: Thu, 26 Jul 2018 21:38:46 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (berkeley-unix)

Brett Gilio <address@hidden> writes:

> Joseph Mingrone writes:

>> Hello,

>> Here is a recipe that almost but not always reproduces the potential
>> bug.

>> ;; Start a server and open a client frame
>> 1. emacs -Q  --daemon
>> 2. emacsclient -nc
>> ;; Open a second Emacs (not client/daemon)
>> 3. emacs -Q
>> 4. From some application other than Emacs, copy text to the X clipboard.
>> 5. Yank the text from the clipboard somewhere in the client frame (this 
>> works).
>> 6. Add some text somewhere in the second Emacs frame and run 
>> `kill-ring-save' to put it on the X clipboard.
>> 7. ** Ruining `yank' in the client frame does not yank the text on the X 
>> clipboard. **

>> I do not recall this being a problem in previous versions, but I cannot
>> say for certain.  Is this bug-report worthy?

>> Joseph

> Hi Joseph,

> Are you getting any errors or messages after you yank the text with the
> second client open?

Hi Brett,

I should have mentioned that no errors are reported, but in 7. the text from 4. 
(and not 6.) is again yanked into the buffer.  I can also replace 7. with:

7a. Go to a terminal and run 'xclip -selection clipboard -o' to confirm that 
the text from 6. is on the clipboard.
7b. Run `clipboard-yank' and the text from 4. is again yanked into the buffer.

Joseph

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]