GNU logs - #14693, boring messages

Message sent to bug-gnu-emacs@HIDDEN:

X-Loop: help-debbugs@HIDDEN
Subject: bug#14693: 24.3.50; Undoing yank-pop
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 23 Jun 2013 01:59:01 +0000
Resent-Message-ID: <handler.14693.B.137195273120385 <at>>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 14693
X-GNU-PR-Package: emacs
To: 14693 <at>
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Reply-To: michael_heerdegen@HIDDEN
Received: via spool by submit <at> id=B.137195273120385
          (code B ref -1); Sun, 23 Jun 2013 01:59:01 +0000
Received: (at submit) by; 23 Jun 2013 01:58:51 +0000
Received: from localhost ([]:35502
	by with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1UqZZr-0005Ii-0Q
	for submit <at>; Sat, 22 Jun 2013 21:58:51 -0400
Received: from ([]:41013)
 by with esmtp (Exim 4.80)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1UqZZo-0005IO-5c
 for submit <at>; Sat, 22 Jun 2013 21:58:48 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1UqZZh-0008KY-Gb
 for submit <at>; Sat, 22 Jun 2013 21:58:42 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 USER_IN_WHITELIST autolearn=disabled version=3.3.2
Received: from ([2001:4830:134:3::11]:37843)
 by with esmtp (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1UqZZh-0008KP-Dj
 for submit <at>; Sat, 22 Jun 2013 21:58:41 -0400
Received: from ([2001:4830:134:3::10]:42714)
 by with esmtp (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1UqZZg-0003LK-2v
 for bug-gnu-emacs@HIDDEN; Sat, 22 Jun 2013 21:58:41 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1UqZZe-0008Jl-Lt
 for bug-gnu-emacs@HIDDEN; Sat, 22 Jun 2013 21:58:40 -0400
Received: from ([]:54905)
 by with esmtp (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1UqZH5-0000KM-RK
 for bug-gnu-emacs@HIDDEN; Sat, 22 Jun 2013 21:39:28 -0400
Received: from drachen.dragon ([]) by (mrweb102) with
 ESMTPSA (Nemesis) id 0Ma2U7-1UZjsI2QCF-00LpFp for
 <bug-gnu-emacs@HIDDEN>; Sun, 23 Jun 2013 03:39:25 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Date: Sun, 23 Jun 2013 03:39:21 +0200
Message-ID: <87obaxvc52.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:UAlvH7Ywnf/moJkZTo0ZBhKQPqLPZZy1m3lA0FaCql4SHcyWDBe
X-detected-operating-system: by GNU/Linux 3.x [generic]
X-detected-operating-system: by Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: -5.0 (-----)


also see the recent short thread with same subject in emacs-dev.

The problem: Users often do

  C-y M-y M-y ...

If you got lost, didn't find what you had searched, or want to start
anew, undo behaves not very practical.  Hitting C-_ successively undoes
every single M-y step - which is IMHO not very useful, because you
already skipped all these yanks.  And you don't know when to stop: there
is no indication when you cross the border and undo changes before the
initial yank.  Yes, there is redo, but you have to pay attention and
read the screen content all the time, which is inconvenient.

I see two possibilities:

(1) Let undo revert until the initial yank in one step.  This is what I
prefer, however, there are people who like the current behavior.  We
could let the user decide and make it customizable.

(2) A minimal but still quite satisfying change: currently, `yank-pop'
with a zero prefix arg is a no-op (at least when I tried it).  We could
make it undo until the initial yank.  The code change would be around
one line, and it would make some sense (0 -> nullify whatever had been



In GNU Emacs (x86_64-pc-linux-gnu, GTK+ Version 3.8.2)
 of 2013-06-18 on dex, modified by Debian
 (emacs-snapshot package, version 2:20130618-1)
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
System Description:	Debian GNU/Linux testing (jessie)

Message sent:

Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: michael_heerdegen@HIDDEN
Subject: bug#14693: Acknowledgement (24.3.50; Undoing yank-pop)
Message-ID: <handler.14693.B.137195273120385.ack <at>>
References: <87obaxvc52.fsf@HIDDEN>
X-Gnu-PR-Message: ack 14693
X-Gnu-PR-Package: emacs
Reply-To: 14693 <at>
Date: Sun, 23 Jun 2013 01:59:02 +0000

Thank you for filing a new bug report with

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):

If you wish to submit further information on this problem, please
send it to 14693 <at>

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

Message received at control <at>

Received: (at control) by; 5 Feb 2019 14:55:37 +0000
From debbugs-submit-bounces <at> Tue Feb 05 09:55:36 2019
Received: from localhost ([]:33365
	by with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1gr28O-00064z-KP
	for submit <at>; Tue, 05 Feb 2019 09:55:36 -0500
Received: from ([]:51562)
 by with esmtp (Exim 4.84_2)
 (envelope-from <nljlistbox2@HIDDEN>) id 1gr28L-00064I-Gh
 for control <at>; Tue, 05 Feb 2019 09:55:33 -0500
Received: by with SMTP id w18so9029151ite.1
 for <control <at>>; Tue, 05 Feb 2019 06:55:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025;
X-Gm-Message-State: AHQUAubpsSl/J+TdvTyIfsW5cgjhu5Y17088s+01redI1xd/t8tnEdvo
X-Google-Smtp-Source: AHgI3IYAZZQmzKbbgI15BKom0PkvR2W6UzdklHx4Q8gKYgNHU3VZg6EkKCjQA4oxyWTY/C3OCIAf/w==
X-Received: by 2002:a02:13c6:: with SMTP id 189mr2802025jaz.117.1549378527429; 
 Tue, 05 Feb 2019 06:55:27 -0800 (PST)
Received: from moondust.localdomain.nodomain.none
 ( [])
 by with ESMTPSA id x128sm1860424itb.8.2019.
 for <control <at>>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 05 Feb 2019 06:55:26 -0800 (PST)
From: "N. Jackson" <nljlistbox2@HIDDEN>
To: control <at>
Subject: Re: bug#34331: 27.0.50; Undo too granular after C-y M-y M-y ...
Date: Tue, 05 Feb 2019 09:55:26 -0500
Message-ID: <8736p2jndt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 1.6 (+)
X-Spam-Report: Spam detection software, running on the system "",
 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
 the administrator of that system for details.
 Content preview:  forcemerge 14693 34331 quit 
 Content analysis details:   (1.6 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (nljlistbox2[at]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (nljlistbox2[at]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at,
 no trust [ listed in]
 1.3 GAPPY_SUBJECT          Subject: contains G.a.p.p.y-T.e.x.t
 0.0 FAKE_REPLY_C           No description available.
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: 0.6 (/)

forcemerge 14693 34331

Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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