unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Change in `revert-buffer' behavior [28.0.50]
@ 2021-07-27 15:09 Kaushal Modi
  2021-07-27 15:25 ` bug#35166: " Lars Ingebrigtsen
  2021-07-27 15:28 ` Óscar Fuentes
  0 siblings, 2 replies; 5+ messages in thread
From: Kaushal Modi @ 2021-07-27 15:09 UTC (permalink / raw)
  To: Emacs developers, Lars Ingebrigtsen

[-- 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 --]

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

end of thread, other threads:[~2021-07-27 15:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 15:09 Change in `revert-buffer' behavior [28.0.50] Kaushal Modi
2021-07-27 15:25 ` bug#35166: " Lars Ingebrigtsen
2021-07-27 15:39   ` Kaushal Modi
2021-07-27 15:28 ` Óscar Fuentes
2021-07-27 15:43   ` Kaushal Modi

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