help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undoing...


From: Tassilo Horn
Subject: Re: undoing...
Date: Tue, 10 Apr 2007 21:00:30 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux)

Alberto Simões <albie@alfarrabio.di.uminho.pt> writes:

Hi Alberto,

> To undo anything in emacs, I type C-x u. If I want to undo a lot of
> things, I type C-x u C-x u C-x u C-x u. Probably I can use the count
> modifier, but that is just useful when you know how many steps you
> want to undo. Isn't there any easier way?

,----[ C-h k C-x u ]
| C-x u runs the command advertised-undo
|   which is an alias for `undo' in `simple.el'.
| It is bound to C-x u.
| (advertised-undo &optional ARG)
| 
| Undo some previous changes.
| Repeat this command to undo more changes.
| A numeric argument serves as a repeat count.
| 
| In Transient Mark mode when the mark is active, only undo changes
| within the current region.  Similarly, when not in Transient Mark
| mode, just C-u as an argument limits undo to changes within the
| current region.
`----

,----[ C-h k C-_ ]
| C-_ runs the command undo
|   which is an interactive compiled Lisp function in `simple.el'.
| It is bound to C-_, <undo>, C-/, <menu-bar> <edit> <undo>.
| (undo &optional ARG)
| 
| Undo some previous changes.
| Repeat this command to undo more changes.
| A numeric argument serves as a repeat count.
| 
| In Transient Mark mode when the mark is active, only undo changes
| within the current region.  Similarly, when not in Transient Mark
| mode, just C-u as an argument limits undo to changes within the
| current region.
`----

You see, you can use C-_ as well, wich is moch more convenient to type.

Bye,
Tassilo
-- 
People sometimes  ask me if it  is a sin in  the Church of  Emacs to use
vi. Using a free  version of vi is not a sin; it  is a penance. So happy
hacking. (Richard M. Stallman)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]