From unknown Sat Sep 06 20:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27745: Warn: you have already yanked the same thing 2 (3, 4...) times in a row 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: To: 27745@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150033630812165 (code B ref -1); Tue, 18 Jul 2017 00:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jul 2017 00:05:08 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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= 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) From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Date: Tue, 18 Jul 2017 07:49:54 +0800 Message-ID: <874lua8vz1.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.5 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.5 (----) 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.) From unknown Sat Sep 06 20:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27745: Warn: you have already yanked the same thing 2 (3, 4...) times in a row Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Jul 2019 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27745 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 27745@debbugs.gnu.org Received: via spool by 27745-submit@debbugs.gnu.org id=B27745.156372056314497 (code B ref 27745); Sun, 21 Jul 2019 14:50:02 +0000 Received: (at 27745) by debbugs.gnu.org; 21 Jul 2019 14:49:23 +0000 Received: from localhost ([127.0.0.1]:59283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpD9P-0003ll-ET for submit@debbugs.gnu.org; Sun, 21 Jul 2019 10:49:23 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpD9N-0003lb-E0 for 27745@debbugs.gnu.org; Sun, 21 Jul 2019 10:49:22 -0400 Received: from [80.169.244.84] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hpD9I-0004lg-PH; Sun, 21 Jul 2019 16:49:19 +0200 From: Lars Ingebrigtsen References: <874lua8vz1.fsf@jidanni.org> Date: Sun, 21 Jul 2019 16:49:16 +0200 In-Reply-To: <874lua8vz1.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Tue, 18 Jul 2017 07:49:54 +0800") Message-ID: <87ef2j5toz.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson 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 r= ow. > 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. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 21 10:49:26 2019 Received: (at control) by debbugs.gnu.org; 21 Jul 2019 14:49:27 +0000 Received: from localhost ([127.0.0.1]:59286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpD9S-0003m3-Mf for submit@debbugs.gnu.org; Sun, 21 Jul 2019 10:49:26 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpD9R-0003lw-Pr for control@debbugs.gnu.org; Sun, 21 Jul 2019 10:49:26 -0400 Received: from [80.169.244.84] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hpD9P-0004lp-4p for control@debbugs.gnu.org; Sun, 21 Jul 2019 16:49:25 +0200 Date: Sun, 21 Jul 2019 16:49:22 +0200 Message-Id: <87d0i35tot.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #27745 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 27745 wontfix close 27745 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 27745 wontfix close 27745 quit From unknown Sat Sep 06 20:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27745: Warn: you have already yanked the same thing 2 (3, 4...) times in a row Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Jul 2019 00:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27745 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: Lars Ingebrigtsen Cc: 27745@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Received: via spool by 27745-submit@debbugs.gnu.org id=B27745.156375658917171 (code B ref 27745); Mon, 22 Jul 2019 00:50:02 +0000 Received: (at 27745) by debbugs.gnu.org; 22 Jul 2019 00:49:49 +0000 Received: from localhost ([127.0.0.1]:59740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpMWT-0004St-9J for submit@debbugs.gnu.org; Sun, 21 Jul 2019 20:49:49 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:39237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpMWR-0004Se-0W for 27745@debbugs.gnu.org; Sun, 21 Jul 2019 20:49:47 -0400 Received: by mail-wm1-f67.google.com with SMTP id u25so23273178wmc.4 for <27745@debbugs.gnu.org>; Sun, 21 Jul 2019 17:49:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=PcqAQkkj7t697PXv5n1D0yJ/fqOAwl0YWgUcYy+CX4Y=; b=lcjhKtShT3aFw8tL2Qxmpsk5h6DexmI0Cis1FXRDFYuOxCRtEWuNP3HoDuUhdy1Ax8 fJxt+ORGNmsV+OjYOgo/mLqpqpBLFJB79DDBCBlne8Dr9eFsIPt5nuJ1SNHXIJ8gdQfK L+RfNahM9anumIdvA36XRZX6DYlongdm7A6qPJ5fIpEv/bHy+akpl/9lVvojxTmfbzd+ bP3WNegBMviYxiM8mDEfOLnRBzp3SmaBwGnzNeFSoZz6Fj/whURddKWhUg41MZshwIsD F6MWKATgc45loDeWIZFSdvB058zoH3p8MYuw/9Yl21lu/GpUI3JnwlMjCSSHKN7GSEDa TGag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=PcqAQkkj7t697PXv5n1D0yJ/fqOAwl0YWgUcYy+CX4Y=; b=fMNvYXXGO7FsdmGU7NVr5VyEQTuVfp+zgcdGwjvYzOvso+ie/Rx3X142GRrwAcCRY5 U10cmZHnGCU0N1Rq2uQGdIacNnqeg/jLscZe7rzCshdyYObX4P3Z4/VNRAugHbbDygYI XzVupHyHTY47vc7NWLwtBrZ8vgR49WMn4bu47ayEV+2Jzsd3z2100MX9HEqktVZQNu39 PJME/O2/etBaugOtBHvFacrzND5YuBieNt8kXpPi7lLPCuvW2I/laUAYe0qw5iUZsHD6 fFXA1CXLBoxBLHVIpINJIwpsWskW+VHfA7CYbm5rsImTTVcjsu49MwAHKnkx3MYerRW+ UGKw== X-Gm-Message-State: APjAAAU9irooHviAXq0pKcLEdAy2ojMkYqT5mgMmqMgsiD8ghcKb2Zbz 5c0MNE+C+/CPeLJUJ4UKb7P0+Q== X-Google-Smtp-Source: APXvYqzRRxGk7VlmCORfSPpEyEmNMaP6VaP1hI5viId+AZNVHpIGxPIo+ww+RZEAD9UnCbJYJLnk2g== X-Received: by 2002:a7b:c95a:: with SMTP id i26mr62851626wml.175.1563756581066; Sun, 21 Jul 2019 17:49:41 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2]) by smtp.gmail.com with ESMTPSA id y10sm32493430wmj.2.2019.07.21.17.49.40 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 21 Jul 2019 17:49:40 -0700 (PDT) From: "Basil L. Contovounesios" References: <874lua8vz1.fsf@jidanni.org> <87ef2j5toz.fsf@mouse.gnus.org> Date: Mon, 22 Jul 2019 01:49:39 +0100 In-Reply-To: <87ef2j5toz.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sun, 21 Jul 2019 16:49:16 +0200") Message-ID: <871ryivqos.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson 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. --=20 Basil