Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26372 - (emacs) app-emacs/redo (New package)
Summary: (emacs) app-emacs/redo (New package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-10 21:12 UTC by Jeremy Maitin-Shepard
Modified: 2003-09-10 01:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild, files (redo.tar.gz,793 bytes, application/x-gzip)
2003-08-10 21:13 UTC, Jeremy Maitin-Shepard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Maitin-Shepard 2003-08-10 21:12:39 UTC
Hello.  Attached is an ebuild for `redo.el,' an emacs package that defines an
alternative redo/undo system.  This file was originally designed for XEmacs, but
it works for GNU emacs also.

Copied from package file:

;; Emacs' normal undo system allows you to undo an arbitrary
;; number of buffer changes.  These undos are recorded as ordinary
;; buffer changes themselves.  So when you break the chain of
;; undos by issuing some other command, you can then undo all
;; the undos.  The chain of recorded buffer modifications
;; therefore grows without bound, truncated only at garbage
;; collection time.
;;
;; The redo/undo system is different in two ways:
;;   1. The undo/redo command chain is only broken by a buffer
;;      modification.  You can move around the buffer or switch
;;      buffers and still come back and do more undos or redos.
;;   2. The `redo' command rescinds the most recent undo without
;;      recording the change as a _new_ buffer change.  It
;;      completely reverses the effect of the undo, which
;;      includes making the chain of buffer modification records
;;      shorter by one, to counteract the effect of the undo
;;      command making the record list longer by one.
Comment 1 Jeremy Maitin-Shepard 2003-08-10 21:13:17 UTC
Created attachment 15877 [details]
Ebuild, files
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2003-09-10 01:04:55 UTC
added to cvs. thanks for the contribution!

Matt