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

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

bug#27745: Warn: you have already yanked the same thing 2 (3, 4...) time


From: Basil L. Contovounesios
Subject: bug#27745: Warn: you have already yanked the same thing 2 (3, 4...) times in a row
Date: Mon, 22 Jul 2019 01:49:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> 積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
>
>> $ seq 99 > a
>> $ emacs a
>>  C-x h [mark-whole-buffer]
>>  C-w [kill-region]
>>  C-y [yank]
>>  C-y [yank]
>>  C-y [yank]
>>  C-y [yank]
>>  C-y [yank]
>>  C-y [yank]
>>  C-y [yank]
>>
>> So maybe print:
>>   Warning: you have already yanked the same thing 2 (3,4...) times in a row.
>> if he yanks the exact same thing more than once.
>
> Yanking the same thing several times is a perfectly normal thing to do,
> so I think it would be a disservice for Emacs to warn about this.

I agree.  See also the user option kill-do-not-save-duplicates.

-- 
Basil





reply via email to

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