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

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Sun, 23 Jun 2013 01:59:01 UTC

Severity: wishlist

Tags: wontfix

Merged with 34331

Found in versions 24.3.50, 27.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; Undoing yank-pop
Date: Sun, 23 Jun 2013 03:39:21 +0200
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)





This bug report was last modified 3 years and 173 days ago.

Previous Next


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