all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: 27745@debbugs.gnu.org
Subject: bug#27745: Warn: you have already yanked the same thing 2 (3, 4...) times in a row
Date: Tue, 18 Jul 2017 07:49:54 +0800	[thread overview]
Message-ID: <874lua8vz1.fsf@jidanni.org> (raw)

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





             reply	other threads:[~2017-07-17 23:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-17 23:49 積丹尼 Dan Jacobson [this message]
2019-07-21 14:49 ` bug#27745: Warn: you have already yanked the same thing 2 (3, 4...) times in a row Lars Ingebrigtsen
2019-07-22  0:49   ` Basil L. Contovounesios

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874lua8vz1.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=27745@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.