GNU bug report logs - #35191
27.0.50; undo of comment-region signals error (when comment-combine-change-calls=t)

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Date: Mon, 8 Apr 2019 12:59:01 UTC

Severity: normal

Tags: confirmed

Found in version 27.0.50

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 35191 <at> debbugs.gnu.org
Subject: bug#35191: 27.0.50; Error signaled by undo--wrap-and-run-primitive-undo
Date: Tue, 09 Apr 2019 20:41:52 -0400
retitle 35191 27.0.50; undo of comment-region signals error (when comment-combine-change-calls=t)
tags 35191 + confirmed
quit

Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:

> Save the file below and then open it as follows:

It's enough to use a single line

    foo ;; bar

in emacs-lisp-mode.  And the problem only happens with
comment-combine-change-calls set to t (the default).

>     % emacs -Q ..../zones.el
>     C-M-f C-M-b                   ;; Move before first form
>     C-M-SPC M-;                   ;; Comment out first form
>     C-x u                         ;; Undo last change
>
> When I do that, I see an error message in the echo area that says:
>
>     Changes to be undone by function different than announced




This bug report was last modified 4 years and 133 days ago.

Previous Next


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