unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 27745@debbugs.gnu.org, "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
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	[thread overview]
Message-ID: <871ryivqos.fsf@tcd.ie> (raw)
In-Reply-To: <87ef2j5toz.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sun, 21 Jul 2019 16:49:16 +0200")

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	other threads:[~2019-07-22  0:49 UTC|newest]

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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=871ryivqos.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=27745@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=larsi@gnus.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).