unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Visual Feedback in Undo/Redo
@ 2008-12-15 11:10 Nordlöw
  2008-12-15 12:51 ` Stefan Kamphausen
  2008-12-17 12:44 ` Xah Lee
  0 siblings, 2 replies; 5+ messages in thread
From: Nordlöw @ 2008-12-15 11:10 UTC (permalink / raw)
  To: help-gnu-emacs

I often get a feeling of being a bit lost when navigation large undo/
redo histories. I have two suggestions on how to reduce this
"lostness":

1. Provide a rational number X/N at the end of undo/redo minibuffer
message where X is the current position in the undo/redo history and N
is the size of the whole history. This directly applies to the
behaviour of redo.el but I don't know how to apply this concept Emacs
vanilla undo-behaviours as all undos are add to the undo history. I
believe a tree-based history structure would be more intutitive but of
course more complicated to visualize. I have tried to implement the X/
N feedback in redo.el but the complexity of this file is above my
current capacity as an elisp programmer.

2. Highlight undo/redo-history entries in the buffer like is done in
isearch-mode.
  - Next upcoming kill is highlighted in a stronger colored red face
or perhaps even better overstriked in red.
  - The rest of the pending kills are highlighted like the next kill
but in a more red-fainter color.
  - Already performed inserts could be highlighted in some opposite
attribute say in green color but without the overstrike attribute.

Comments on that?

/Nordlöw


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-18 21:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-15 11:10 Visual Feedback in Undo/Redo Nordlöw
2008-12-15 12:51 ` Stefan Kamphausen
2008-12-17 12:44 ` Xah Lee
2008-12-17 19:26   ` Samuel Wales
     [not found]   ` <mailman.2972.1229542872.26697.help-gnu-emacs@gnu.org>
2008-12-18 21:37     ` Xah Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).