🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #88016

read-only text property cannot be removed

#88016
From: Steve Tinney
Date: Sun, 14 Aug 1994 06:38
20 lines
1562 bytes
In GNU Emacs 19.25.1 of Mon Jun  6 1994 on eryops (i486-unknown-linux)
I believe it makes sense to be able to toggle the read-only property
of odd characters (for example, superscript numbers used to mark the
location of footnotes in a package I am developing).  I believe I have
tried all possible alternatives to switch off this property, but to no
avail.  It may be me, but ...

Do `emacs -q', and `insert-file' the following into the scratch buffer,
then evaluate each of the forms.  All but the first should complain 
about an Attempt to modify read-only text.  True enough, but suboptimal,
in my view.

========
a
(put-text-property 1 2 'read-only t)
(set-text-properties 1 2 '(read-only nil))
(set-text-properties 1 2 nil)
(remove-text-properties 1 2 '(read-only nil))
(put-text-property 1 2 'read-only nil)
========
Technical Details
Message-ID: <199408132124.AA03960@eryops.home.org>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!eff!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!eryops.home.ORG!s

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,ea74eece821b6481,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-13 23:48:49 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!eff!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!eryops.home.ORG!s
From: s@eryops.home.ORG (Steve Tinney)
Newsgroups: gnu.emacs.bug
Subject: read-only text property cannot be removed
Date: 14 Aug 1994 02:38:23 -0400
Organization: GNUs Not Usenet
Lines: 21
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <199408132124.AA03960@eryops.home.org>
Reply-To: sjt@enlil.museum.upenn.edu