GNU bug report logs - #6922
23.1; Setting read-only property in an overlay has no effect

Previous Next

Package: emacs;

Reported by: "MT" <mt_void <at> warpmail.net>

Date: Thu, 26 Aug 2010 14:51:02 UTC

Severity: normal

Found in version 23.1

Full log


View this message in rfc822 format

From: Marcin Borkowski <mbork <at> mbork.pl>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, johnw <at> gnu.org, mt_void <at> warpmail.net, rms <at> gnu.org, 6922 <at> debbugs.gnu.org
Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect
Date: Fri, 22 Jan 2016 13:58:08 +0100
On 2016-01-22, at 11:59, Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>> What do others think?
>
> I think read-only overlays sound kinda nonsensical, too.

Not necessarily.  This is not the same, of course, but compare Dired to
Wdired: the same text is sometimes read-only and sometimes not, and it
does make a lot of sense.

Another possible use-case: a feature like narrowing, but not making some
text invisible, but read-only instead.  (This might actually be useful,
e.g. in Org-mode.)

Of course, you could do this with text properties and not overlays, but
what I'm saying is that the assumption "it [is] strange to make certain
text read-only temporarily.  If it isn't supposed to change, it should
never change, right?" is false in general, even in current stock Emacs.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University




This bug report was last modified 9 years and 118 days ago.

Previous Next


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