unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: Artur Malabarba <bruce.connor.am@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Apparent regression on the undo command
Date: Wed, 18 Nov 2015 12:24:17 +0000	[thread overview]
Message-ID: <87bnarsdfy.fsf@russet.org.uk> (raw)
In-Reply-To: <CAAdUY-+B790iq3u-zZfya9ogTK913XWXf+z+-azkaD3fRCgdJA@mail.gmail.com> (Artur Malabarba's message of "Wed, 18 Nov 2015 11:50:48 +0000")

Artur Malabarba <bruce.connor.am@gmail.com> writes:

> I've been noticing this for days now. Whenever I invoke `undo' (C-/),
> the last change is correctly undone but then sometimes the cursor gets
> moved apparently random places in the buffer.
>
> It took me a couple of days to realise it was moving point to the
> position of my "penultimate" change (the change before the one I just
> undid).
>
> Is this intentional? I don't see anything about on the NEWS.
> If so, is there a way to disable it?

Almost certainly my fault, and caused by commit 44dfa86b7.

Anything that you can do to make it repeatable would be excellent. If
you cannot make it repeatable, it would be good to know that also.

Also, can you try:

(setq undo-auto--current-boundary-timer t)

and see if that stops it.

Phil



  reply	other threads:[~2015-11-18 12:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18 11:50 Apparent regression on the undo command Artur Malabarba
2015-11-18 12:24 ` Phillip Lord [this message]
2015-11-18 13:16   ` Artur Malabarba
2015-11-19  9:47     ` Phillip Lord
2015-11-19 12:11       ` Artur Malabarba
2015-11-19 13:12         ` Phillip Lord
2015-11-20  1:24           ` Karl Fogel
2015-11-20  7:51             ` Phillip Lord
2015-11-20 10:06               ` Artur Malabarba
2015-11-21 10:02                 ` Phillip Lord
2015-11-21 11:18                   ` Artur Malabarba
2015-11-22  0:55                     ` David Reitter
2015-11-23 17:27                       ` Phillip Lord
2015-11-18 22:50 ` Markus Triska

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnarsdfy.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=bruce.connor.am@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).