GNU bug report logs - #64844
29.1; M-x normal-mode is a better suggestion than M-x revert-buffer on new unsaved buffer

Previous Next

Package: emacs;

Reported by: Van Ly <van.ly <at> sdf.org>

Date: Tue, 25 Jul 2023 06:49:02 UTC

Severity: normal

Found in version 29.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 64844-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: van.ly <at> sdf.org
Cc: 64844-done <at> debbugs.gnu.org
Subject: Re: bug#64844: 29.1;
 M-x normal-mode is a better suggestion than M-x revert-buffer on new
 unsaved buffer
Date: Sun, 30 Jul 2023 10:12:33 +0300
> Cc: 64844 <at> debbugs.gnu.org
> Date: Tue, 25 Jul 2023 17:53:19 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > Date: Tue, 25 Jul 2023 06:47:56 GMT
> > From:  Van Ly via "Bug reports for GNU Emacs,
> >  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> > 
> > A new buffer to a new file path before first save with adjustment to
> > mode kind and comment start prefix convention triggers the suggestion to
> > 
> >  M-x revert-buffer
> > 
> > for change to take effect, which turns out to be incorrect for a
> > buffer never before saved to file.
> > 
> >  M-x normal-mode
> > 
> > does the job correctly.
> 
> Thanks, should be fixed now on the master branch.

No further comments, so I assume the problem is indeed solved, and I'm
closing this bug.




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

Previous Next


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