GNU bug report logs - #26287
26.0.50; Using atomic-change-group right after an undo does not work

Previous Next

Package: emacs;

Reported by: Andreas Politz <politza <at> hochschule-trier.de>

Date: Tue, 28 Mar 2017 20:13:01 UTC

Severity: normal

Merged with 26061, 34405

Found in versions 26.0.50, 26.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Politz <politza <at> hochschule-trier.de>
To: 26287 <at> debbugs.gnu.org
Subject: bug#26287: 26.0.50; Using atomic-change-group right after an undo does not work
Date: Tue, 28 Mar 2017 22:11:54 +0200
I seems that atomic-change-group has problems in case its used while in
the middle of an undo sequence.
 
Have this function defined:

(defun undo-bug ()
  (interactive)
  (catch 'done
    (atomic-change-group
      (insert "a b c")
      (throw 'done nil))))

$ emacs -Q

C-x b xxx RET
xxx
C-/
M-x undo-bug RET

Debugger entered--Lisp error: (error "Undoing to some unrelated state")
  signal(error ("Undoing to some unrelated state"))
  error("Undoing to some unrelated state")
  cancel-change-group(((#<buffer xxx> nil)))
  ...




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

Previous Next


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