From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs 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 Message-ID: <874lua8vz1.fsf@jidanni.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500336442 3249 195.159.176.226 (18 Jul 2017 00:07:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Jul 2017 00:07:22 +0000 (UTC) To: 27745@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 18 02:07:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXG2m-0000W6-AO for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jul 2017 02:07:16 +0200 Original-Received: from localhost ([::1]:53103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXG2r-0006EY-GJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Jul 2017 20:07:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXG1e-0005PT-2V for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 20:06:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXG1a-0004Ts-Pi for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 20:06:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42419) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXG1a-0004Tm-Lj for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 20:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dXG1a-0003BO-Co for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 20:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2017 00:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27745 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150033630812165 (code B ref -1); Tue, 18 Jul 2017 00:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Jul 2017 00:05:08 +0000 Original-Received: from localhost ([127.0.0.1]:45095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXG0i-0003A9-4U for submit@debbugs.gnu.org; Mon, 17 Jul 2017 20:05:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXG0g-00039b-0S for submit@debbugs.gnu.org; Mon, 17 Jul 2017 20:05:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXG0a-0003so-7T for submit@debbugs.gnu.org; Mon, 17 Jul 2017 20:05:01 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36490) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dXG0a-0003si-50 for submit@debbugs.gnu.org; Mon, 17 Jul 2017 20:05:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXG0Y-0004ZJ-MC for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 20:04:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXG0V-0003pp-Ed for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 20:04:58 -0400 Original-Received: from homie.mail.dreamhost.com ([208.97.132.208]:35120 helo=homiemail-a7.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dXG0V-0003pB-6V for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 20:04:55 -0400 Original-Received: from homiemail-a7.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a7.g.dreamhost.com (Postfix) with ESMTP id A597025C06A for ; Mon, 17 Jul 2017 17:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=q51bLE4fD4VIWHd3sdVLLIB0hX4=; b=CAyZkrxW33juLeOY uaPfTME2EAQ677JnZdBZi7/Yir/+mEkeEGyvu0znSfFHKbZHgY2uwVqKlZ9ZJCj4 v7PrnXJBRLgcTO6ovpxWleqBr/9Rr3W9t9a+EtujIoTDz1YtWPV+nbahClQLWO5Y qviZJKnZP3Vsz3XgmWY4iMkKNOc= Original-Received: from jidanni.org (114-26-46-88.dynamic-ip.hinet.net [114.26.46.88]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a7.g.dreamhost.com (Postfix) with ESMTPSA id 66E1B25C062 for ; Mon, 17 Jul 2017 17:04:51 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134692 Archived-At: 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.)