Article View: gnu.emacs.help
Article #188925Re: Elisp challenges: narrowing without hiding, display unlike buffer
From: Barry Margolin
Date: Mon, 03 Jun 1991 22:44
Date: Mon, 03 Jun 1991 22:44
23 lines
1665 bytes
1665 bytes
In article <9106031813.AA00868@emu> mernst@THEORY.LCS.MIT.EDU (Michael Ernst) writes:
>The most challenging part of such a project seems to be the front end.
>There are two problems which have me puzzled; I'm especially eager to see
>the first solved.
This reminds me of RDMS Mode, which Jay Pattin wrote in the early 80's for
Multics Emacs (RDMS (Relational Data Management System) was a Multics
relational database implemented at MIT).
>1) How can I restrict changes to a certain rectangle or region of the window?
Redefine the low-level functions that move the point so that they set or
unset buffer-read-only depending on whether point is in a modifiable area.
The only problem with this is that it still wouldn't prevent all
modifications to unmodifiable areas. For instance, if point is in a
modifiable area, c-w will work, without checking that everything in the
region is modifiable.
--
Barry Margolin, Thinking Machines Corp.
barmar@think.com
{uunet,harvard}!think!barmar
Technical Details
Message-ID:
<1991Jun3.224407.5027@Think.COM>Path:
arc1-ca.pugleaf.net!gmdzi!unido!math.fu-berlin.de!ira.uka.de!sol.ctr.columbia.edu!samsung!think.com!barmarReferences:
<9106031813.AA00868@emu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,3e38738b0012435 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-06-03 23:14:38 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!math.fu-berlin.de!ira.uka.de!sol.ctr.columbia.edu!samsung!think.com!barmar From: barmar@think.com (Barry Margolin) Newsgroups: gnu.emacs.help Subject: Re: Elisp challenges: narrowing without hiding, display unlike buffer Message-ID: <1991Jun3.224407.5027@Think.COM> Date: 3 Jun 91 22:44:07 GMT References: <9106031813.AA00868@emu> Sender: news@Think.COM Reply-To: barmar@think.com Organization: Thinking Machines Corporation, Cambridge MA, USA Lines: 23