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

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 18 Jul 2017 00:06:02 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27745 in the body.
You can then email your comments to 27745 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#27745; Package emacs. (Tue, 18 Jul 2017 00:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 18 Jul 2017 00:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Warn: you have already yanked the same thing 2 (3,
 4...) times in a row
Date: Tue, 18 Jul 2017 07:49:54 +0800
Unless the user pays attention to the L number in the modeline, and the
shrinking scrollbar, there is no other clues that the user's C-y isn't
stuck or slow, and he is actually probably mistakenly yanking twice...
repeating paragraphs, or even doubling the size of a file.

$ 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.

(This problem is similar to
http://debbugs.gnu.org/25433
but that is harder to reproduce, so I'll close it.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27745; Package emacs. (Sun, 21 Jul 2019 14:50:02 GMT) Full text and rfc822 format available.

Message #8 received at 27745 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 27745 <at> debbugs.gnu.org
Subject: Re: bug#27745: Warn: you have already yanked the same thing 2 (3,
 4...) times in a row
Date: Sun, 21 Jul 2019 16:49:16 +0200
積丹尼 Dan Jacobson <jidanni <at> 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.  Closing.

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




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 21 Jul 2019 14:50:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 27745 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 21 Jul 2019 14:50:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27745; Package emacs. (Mon, 22 Jul 2019 00:50:02 GMT) Full text and rfc822 format available.

Message #15 received at 27745 <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 27745 <at> debbugs.gnu.org,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: 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
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> 積丹尼 Dan Jacobson <jidanni <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 19 Aug 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.