emacs-devel
[Top][All Lists]
Advanced

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

Re: kill-new may replace the wrong item


From: Juri Linkov
Subject: Re: kill-new may replace the wrong item
Date: Wed, 02 Jun 2010 22:53:17 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

> When this happens duplicate entries will end up in the kill ring. The
> old CAR now get pushed down the kill-ring, and the NEW CAR, that was
> originally from the clipboard but get replaced with the 'STRING' arg.

Do you think `kill-do-not-save-duplicates' should take into account
clipboard strings too and don't allow duplicates from clipboard?
Maybe.  But should the same logic apply to the menu items of yank-menu?
Should `menu-bar-update-yank-menu' use the value of `(car kill-ring)'
that was *before* pushing clipboard into kill-ring, but the value of
`replace' that is *after* pushing clipboard into kill-ring and
comparing it with the new value of `(car kill-ring)'?

-- 
Juri Linkov
http://www.jurta.org/emacs/



reply via email to

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