GNU bug report logs - #68648
30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t

Previous Next

Package: emacs;

Reported by: Björn Bidar <bjorn.bidar <at> thaodan.de>

Date: Sun, 21 Jan 2024 20:36:02 UTC

Severity: normal

Found in version 30.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>, Eli Zaretskii <eliz <at> gnu.org>
Cc: bjorn.bidar <at> thaodan.de, 68648 <at> debbugs.gnu.org
Subject: bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t
Date: Sat, 3 Feb 2024 17:09:53 -0500
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> On second thought, would it be okay to just call the mode hook where
>> we set buffer-read-only in after-find-file?
>
> It's probably an acceptable middle ground until someone goes through the
> trouble of sorting out how to make the code call `read-only-mode`.
> Even better if the `run-hooks` is accompanied with a FIXME explaining
> that :-)

Makes sense to me.




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

Previous Next


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