unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: van.ly@sdf.org
Cc: 64844-done@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <83pm49lvoe.fsf@gnu.org> (raw)
In-Reply-To: <83cz0goxeo.fsf@gnu.org> (message from Eli Zaretskii on Tue, 25 Jul 2023 17:53:19 +0300)

> Cc: 64844@debbugs.gnu.org
> Date: Tue, 25 Jul 2023 17:53:19 +0300
> From: Eli Zaretskii <eliz@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@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.





  reply	other threads:[~2023-07-30  7:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-25  6:47 bug#64844: 29.1; M-x normal-mode is a better suggestion than M-x revert-buffer on new unsaved buffer Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-25 14:53 ` Eli Zaretskii
2023-07-30  7:12   ` Eli Zaretskii [this message]
2023-08-02 13:12     ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-02 14:23       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83pm49lvoe.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64844-done@debbugs.gnu.org \
    --cc=van.ly@sdf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).