Article View: gnu.emacs.bug
Article #98559Edit narrowing
From: macrakis
Date: Tue, 28 May 1991 20:23
Date: Tue, 28 May 1991 20:23
19 lines
1410 bytes
1410 bytes
GNU Emacs 18.55.121 on NeXT 2 I would like to narrow the writable portion of the buffer without narrowing the visible portion. This is useful when you want to edit a `field': not only does it protect you against stupid errors, it also means that commands like C-k are useful on the field (which may be only part of a line). I'm not sure whether it's better to allow _moving_ outside the writable part or not. If you don't allow this, then the package that does the narrowing has to worry about widening even for read-only, and you have to re-enter `field edit' mode when you move back into the field. If you do allow it, then you have to have some mechanism for trapping writes outside the protected area and treating them intelligently (error signalling?). As far as I can tell, you can't do this in current Emacs. -s
Technical Details
Message-ID:
<9105282023.AA06828@.next1.osf.org.>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbageShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,4ed4a2b063ca2a73,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-05-28 13:23:26 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: macrakis@osf.org Newsgroups: gnu.emacs.bug Subject: Edit narrowing Message-ID: <9105282023.AA06828@.next1.osf.org.> Date: 28 May 91 20:23:26 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 19 Approved: bug-gnu-emacs@prep.ai.mit.edu