unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#67267: 29.1.90; Buffer's modified flag remains after undoing
@ 2023-11-19  2:10 Óscar Fuentes
  2023-11-19  6:12 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Óscar Fuentes @ 2023-11-19  2:10 UTC (permalink / raw)
  To: 67267


$ 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#67267: 29.1.90; Buffer's modified flag remains after undoing
  2023-11-19  2:10 bug#67267: 29.1.90; Buffer's modified flag remains after undoing Óscar Fuentes
@ 2023-11-19  6:12 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2023-11-19  6:12 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: 67267

unarchive 66244
forcemerge 67267 66244
thanks

> From: Óscar Fuentes <ofv@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).





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-19  6:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-19  2:10 bug#67267: 29.1.90; Buffer's modified flag remains after undoing Óscar Fuentes
2023-11-19  6:12 ` Eli Zaretskii

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).