all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: undoing...
Date: Tue, 10 Apr 2007 21:00:30 +0200	[thread overview]
Message-ID: <87tzvo5a29.fsf@baldur.tsdh.de> (raw)
In-Reply-To: mailman.1866.1176126287.7795.help-gnu-emacs@gnu.org

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	other threads:[~2007-04-10 19:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1866.1176126287.7795.help-gnu-emacs@gnu.org>
2007-04-10 19:00 ` Tassilo Horn [this message]
2007-04-09 13:40 undoing Alberto Simões
2007-04-09 13:57 ` undoing ssSslang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tzvo5a29.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.