all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>,
	Lars Ingebrigtsen <larsi@gnus.org>
Subject: Change in `revert-buffer' behavior [28.0.50]
Date: Tue, 27 Jul 2021 11:09:59 -0400	[thread overview]
Message-ID: <CAFyQvY1M4r8PC3ixWDBZD4xzSS35myud20+vqVmXUaGHMSqzXA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1101 bytes --]

Hello,

I use the `revert-buffer' function frequently and after a recent rebuild of
emacs from master after about a month, I noticed a big difference in its
behavior.

When I change the read-onlyness of a file from the disk, M-x revert-buffer
doesn't reflect that change any more. This is really important as I am
working in a centralized VCS where the files have to be "checked out" i.e.
make writable before I can modify them.

Now when the commands in the terminal check in and check out the file, the
read-only/writable status doesn't update when I revert-buffer in Emacs.

*Earlier M-x revert-buffer always showed the correct read-only state. Now,
I need to kill the buffer and reopen to see the correct status.*

I believe it is kind of related to this commit:
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=fcae435f598471a2911641412125c5ac4f73559f

Here's my Emacs devel version:

Emacs version: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+
Version 3.22.30, cairo version 1.15.12)
 of 2021-07-26, built using commit 1ff02c53b5f21dfcaff1794f3eb2f42fb6160dae.



--
Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1600 bytes --]

             reply	other threads:[~2021-07-27 15:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-27 15:09 Kaushal Modi [this message]
2021-07-27 15:25 ` bug#35166: Change in `revert-buffer' behavior [28.0.50] Lars Ingebrigtsen
2021-07-27 15:39   ` Kaushal Modi
2021-07-27 15:28 ` Óscar Fuentes
2021-07-27 15:43   ` Kaushal Modi

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

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

  git send-email \
    --in-reply-to=CAFyQvY1M4r8PC3ixWDBZD4xzSS35myud20+vqVmXUaGHMSqzXA@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.