unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* undoing...
@ 2007-04-09 13:40 Alberto Simões
  2007-04-09 13:57 ` undoing ssSslang
  0 siblings, 1 reply; 3+ messages in thread
From: Alberto Simões @ 2007-04-09 13:40 UTC (permalink / raw)
  To: emacs

Hi

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?

Cheers
Alberto

-- 
Alberto Simões - Departamento de Informática - Universidade do Minho
                  Campus de Gualtar - 4710-057 Braga - Portugal

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

* Re: undoing...
  2007-04-09 13:40 undoing Alberto Simões
@ 2007-04-09 13:57 ` ssSslang
  0 siblings, 0 replies; 3+ messages in thread
From: ssSslang @ 2007-04-09 13:57 UTC (permalink / raw)
  To: Alberto Simões; +Cc: emacs

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

> Hi
>
> 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?

just try C-/ or bind this function to some other key.

-- 
ssSslang

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

* Re: undoing...
       [not found] <mailman.1866.1176126287.7795.help-gnu-emacs@gnu.org>
@ 2007-04-10 19:00 ` Tassilo Horn
  0 siblings, 0 replies; 3+ messages in thread
From: Tassilo Horn @ 2007-04-10 19:00 UTC (permalink / raw)
  To: help-gnu-emacs

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)

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

end of thread, other threads:[~2007-04-10 19:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-09 13:40 undoing Alberto Simões
2007-04-09 13:57 ` undoing ssSslang
     [not found] <mailman.1866.1176126287.7795.help-gnu-emacs@gnu.org>
2007-04-10 19:00 ` undoing Tassilo Horn

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).