XEmacsNull Blog

Bi-Day XEmacs Tip Blog

Sunday, October 02, 2005

Tip: Multiple Undo

Question: I just typed something, erased my whole buffer, or ran out tons of wrong commands. How do I restore my text?

Answer 1: First, if you don't need to save changes and simply want to release the original file. You can just exit XEmacs and don't save changes.

If you decide to "just exit" XEmacs? Please be aware, usually XEmacs will auto-save your file, after so many minutes. (This is an option you can configure, of course. However, changing the custom.el file is a later topic.)

Answer 2: Or simply invoke Undo. Ctrl-x, u, and repeat to your preference.

Exit: Ctrl-x, Ctrl-c, (to not save!), n, (leave with modified buffers?) yes, enter.
Undo: Ctrl-x, u
Multiple Undo: Repeat the above line.

Platform: Linux
Level: Amateur
GlR

0 Comments:

Post a Comment

<< Home