GNU bug report logs - #67267
29.1.90; Buffer's modified flag remains after undoing

Previous Next

Package: emacs;

Reported by: Óscar Fuentes <ofv <at> wanadoo.es>

Date: Sun, 19 Nov 2023 02:11:01 UTC

Severity: normal

Merged with 66244

Found in version 29.1.90

To reply to this bug, email your comments to 67267 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#67267; Package emacs. (Sun, 19 Nov 2023 02:11:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Óscar Fuentes <ofv <at> wanadoo.es>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 19 Nov 2023 02:11:02 GMT) Full text and rfc822 format available.

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

From: Óscar Fuentes <ofv <at> wanadoo.es>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.1.90; Buffer's modified flag remains after undoing
Date: Sun, 19 Nov 2023 03:10:21 +0100
$ emacs -Q xdisp.c

Highlight a region with C-SPC <cursor down>

M-x comment-region

M-x undo

The change is undone, but the buffer is still marked as modified.

In GNU Emacs 29.1.90 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.18.0) of 2023-11-18 built on sky
Repository revision: da946ca6924b5ba1a1c785284406cf894aef12b5
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 11.0.12101009
System Description: Debian GNU/Linux trixie/sid

Configured using:
 'configure --with-native-compilation --without-toolkit-scroll-bars
 --with-x-toolkit=lucid --with-modules --without-imagemagick'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG
RSVG SECCOMP SOUND THREADS TIFF TREE_SITTER WEBP X11 XAW3D XDBE XIM
XINPUT2 XPM LUCID ZLIB

Important settings:
  value of $LANG: C
  locale-coding-system: nil




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67267; Package emacs. (Sun, 19 Nov 2023 06:13:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 67267 <at> debbugs.gnu.org
Subject: Re: bug#67267: 29.1.90; Buffer's modified flag remains after undoing
Date: Sun, 19 Nov 2023 08:12:21 +0200
unarchive 66244
forcemerge 67267 66244
thanks

> From: Óscar Fuentes <ofv <at> wanadoo.es>
> Date: Sun, 19 Nov 2023 03:10:21 +0100
> 
> 
> $ emacs -Q xdisp.c
> 
> Highlight a region with C-SPC <cursor down>
> 
> M-x comment-region
> 
> M-x undo
> 
> The change is undone, but the buffer is still marked as modified.

This is a known bug, which is already fixed on the master branch (and
will remain unfixed on emacs-29).




Forcibly Merged 66244 67267. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 19 Nov 2023 06:13:02 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 211 days ago.

Previous Next


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