GNU bug report logs - #14693
24.3.50; Undoing yank-pop

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: michael_heerdegen@HIDDEN; merged with #34331; dated Sun, 23 Jun 2013 01:59:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 14693 34331. Request was from "N. Jackson" <nljlistbox2@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Jun 2013 01:58:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 22 21:58:51 2013
Received: from localhost ([127.0.0.1]:35502 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UqZZr-0005Ii-0Q
	for submit <at> debbugs.gnu.org; Sat, 22 Jun 2013 21:58:51 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41013)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1UqZZo-0005IO-5c
 for submit <at> debbugs.gnu.org; Sat, 22 Jun 2013 21:58:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1UqZZh-0008KY-Gb
 for submit <at> debbugs.gnu.org; Sat, 22 Jun 2013 21:58:42 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
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 lists.gnu.org ([2001:4830:134:3::11]:37843)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1UqZZh-0008KP-Dj
 for submit <at> debbugs.gnu.org; Sat, 22 Jun 2013 21:58:41 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42714)
 by lists.gnu.org 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 eggs.gnu.org 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 mout.web.de ([212.227.17.12]:54905)
 by eggs.gnu.org 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 ([90.186.79.33]) by smtp.web.de (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>
To: bug-gnu-emacs@HIDDEN
Subject: 24.3.50; Undoing yank-pop
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
 rYVXh/bEdnjsA3/tq99V0Sr4fVQ4rdDq1tAezU57DFWgTB2NO4fQfTAkpe6jSe8H5lm3uEf
 jTEwNf6IBUV3zkAsPV5DRuBpROVCWVdZ3+dy1EVbn0Ydzs4iEHyNOBGN6HBVRPbzo+MJ4Hj
 z5uSh6u5JcldatdTjw3Xw==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: michael_heerdegen@HIDDEN
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


Hello,

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


Regards,

Michael.



In GNU Emacs 24.3.50.1 (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)





Acknowledgement sent to michael_heerdegen@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#14693; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
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.