🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98654

Re: Suggestion for extending undo

#98654
From: Jamie Zawinski
Date: Mon, 22 Apr 1991 19:15
16 lines
1524 bytes
In article <9104202153.AA08066@icule.UUCP> pinard%icule.UUCP@LARRY.MCRCIM.MCGILL.EDU (Francois Pinard) wrote:
>
> It could be useful if it were possible to have several undo lists for
> a single buffer, kept independantly for some specified regions.  This
> could be used, say, to have modifications undo-able on a per function
> basis, in a C program.

In Zmacs, if the region is set, undo limits its actions to those fully
contained within the region.  If an action spread across the boundary of the
region, it failed.  This was a staggering win; I often find that I have made a
change to some code, and then edited a comment or docstring or something, and
realize that the code change I just made was silly.  With the current setup, I
have to either undo all of the text I have typed, or undo the code change from
memory.

	-- Jamie
Technical Details
Message-ID: <JWZ.91Apr22151503@thalidomide.lucid.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!swrinde!ucsd!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,80108a760ebb7ad3,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-04-22 21:49:19 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!swrinde!ucsd!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage
From: jwz@LUCID.COM (Jamie Zawinski)
Newsgroups: gnu.emacs.bug
Subject: Re: Suggestion for extending undo
Message-ID: <JWZ.91Apr22151503@thalidomide.lucid.com>
Date: 22 Apr 91 19:15:03 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: Lucid, Inc., Menlo Park, CA
Lines: 16
Approved: bug-gnu-emacs@prep.ai.mit.edu