Subject: bug#27745: Warn: you have already yanked the same thing 2 (3, 4...) times in a row

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 21 Jul 2019 16:49:16 +0200

積丹尼 Dan Jacobson <[email-masked]> 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.  Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no