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: Leo
Subject: Re: kill-new may replace the wrong item
Date: Fri, 4 Jun 2010 00:31:36 +0100

On 3 June 2010 20:17, Juri Linkov <address@hidden> wrote:
>> All I am trying to point out is there's something incorrect there.
>
> The whole implementation of `kill-do-not-save-duplicates' is incorrect.
> It should do nothing instead of setting `replace' to t and replacing the
> same string with itself (that may override the value pushed from
> `interprogram-paste' to `kill-ring').
>
> I believe this patch will provide the consistent interaction between
> `kill-do-not-save-duplicates' and `save-interprogram-paste-before-kill'.
> Before pushing a string to kill-ring it compares the head of kill-ring with
> the string from interprogram-paste and later with the input argument `string':
[patch]

Thanks for fixing this.

Leo



reply via email to

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