bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43844: 27.1; Mouse-3 avoid "Buffer is read-only" *patch*


From: Corwin Brust
Subject: bug#43844: 27.1; Mouse-3 avoid "Buffer is read-only" *patch*
Date: Thu, 28 Jan 2021 14:20:15 -0600

Hi Lars,  

Apologies for not having followed-up on this and thank you for lending it your attention.

On Tue, Jan 26, 2021 at 11:37 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:
Noam Postavsky <npostavs@gmail.com> writes:

> I think you just need to set the kill-read-only-ok option.
>
>     kill-read-only-ok is a variable defined in ‘simple.el’.
>     Its value is nil
>
>     Documentation:
>     Non-nil means don’t signal an error for killing read-only text.

So I think this works as designed, and I'm closing this bug report.

I disagree this behavior makes sense.   

Should it be the users responsibility to set this variable (in some hook? which?) for any buffers that default to read-only?

Again, thanks!
 

--
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no


--
Corwin
corwin@bru.st

reply via email to

[Prev in Thread] Current Thread [Next in Thread]