[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-r
From: |
Eli Zaretskii |
Subject: |
bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t |
Date: |
Thu, 01 Feb 2024 16:58:36 +0200 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Stefan Kangas <stefankangas@gmail.com>, bjorn.bidar@thaodan.de,
> 68648@debbugs.gnu.org
> Date: Thu, 01 Feb 2024 09:17:13 -0500
>
> > Stefan & Stefan, any comments or opinions on this issue? I' debating
> > whether to do anything (and if so, what) about this, or close this bug
> > as wontfix.
>
> [ This a bug of my own making, when I decided to replace
> `toggle-read-only` with`read-only-mode`. ]
>
> I'd be in favor of replacing the `(setq buffer-read-only t)` with
> `(read-only-mode 1)`, but it will require other changes: since calling
> `read-only-mode` will handle `view-read-only`, it might make for a nice
> simplification, but since the code is fairly complex over there, it
> might also make things worse.
I agree that it would be nice to clean this up, but since it isn't
easy (which I, of course, noticed as well), I'm not sure it is worth
our while, given that the problem is really minor. Thus my doubts and
my question.
- bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t, Eli Zaretskii, 2024/02/01
- bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t, Stefan Monnier, 2024/02/01
- bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t,
Eli Zaretskii <=
- bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t, Björn Bidar, 2024/02/01
- bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t, Eli Zaretskii, 2024/02/03
- bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t, Stefan Monnier, 2024/02/03
- bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t, Stefan Kangas, 2024/02/03
- bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t, Eli Zaretskii, 2024/02/10