help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: multiple kill and paste from X clipboard


From: Manuel Giraud
Subject: Re: multiple kill and paste from X clipboard
Date: Fri, 12 Jan 2024 22:32:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

orzodk <orzodk@fastmail.com> writes:

> Manuel Giraud via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org> writes:
>
>> Hi,
>>
>> I'd like to be able to paste a serie of strings from Emacs to an
>> external X program (e.g. a form with multiple entry in a web browser).
>>
>> I could put all the strings in the Emacs' kill-ring but then a paste in
>> the other program will just retrieve the last killed string.  Or maybe,
>> Emacs could be informed that the last kill was paste externally and then
>> proceed to kill the next item?
>>
>> How could I do that?
>
> This is a limitation of X not Emacs. Each time you kill a value Emacs
> will put it into X's clipboard overwriting the previous value. A
> clipboard manager will help with this by keeping the history around. I
> personally use clipmenu but there are several tools to choose from. I
> also bind C-M-v in the window manager to the command to display the
> manager's history.

Thanks.  I've never used a clipboard manager so maybe I should now.  I
wish I could have a simpler Emacs only solution for this.  I thought
that maybe Emacs could be aware when the content is get from the primary
selection or the clipboard.
-- 
Manuel Giraud



reply via email to

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