unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Mathias Dahl <brakjoller@gmail.com>
Subject: Re: Undo'ing cursor movement keys
Date: Fri, 08 Sep 2006 09:48:25 +0200	[thread overview]
Message-ID: <u64fyg5o6.fsf@gmail.com> (raw)
In-Reply-To: mailman.6595.1157654209.9609.help-gnu-emacs@gnu.org

"Drew Adams" <drew.adams@oracle.com> writes:

> I don't have an answer for your request. But you might find it
> helpful to use a prefix arg (`C-u') with `C-SPC'. That will jump to
> the mark position and pop the mark ring. In effect, repeating it
> lets you go back to previous mark positions. See `C-h f
> set-mark-command'.

I vote for this too, even if it at first does not sound as if it will
solve your problem.  The reason what Drew suggests work quite well is
that many command in Emacs set the mark before and after certain
operations, which means that you probably have more marks on the
mark-ring that you would suspect.  For example, when doing an isearch,
the mark is set where the searched started.  This means that you can
easily jump back to that position.  Commands like end- and
beginning-of-buffer does the same.

I suggest you try this out, it might be enough for your needs.

       reply	other threads:[~2006-09-08  7:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6595.1157654209.9609.help-gnu-emacs@gnu.org>
2006-09-08  7:48 ` Mathias Dahl [this message]
2006-09-07 17:17 Undo'ing cursor movement keys Bob
2006-09-07 18:36 ` Drew Adams
2006-09-07 21:07 ` Colin S. Miller
2006-09-08 14:25 ` Eric Eide
2006-09-08 19:41   ` Dave Benjamin
2006-09-09 12:33   ` David Hansen
2006-09-09 20:45     ` Kaloian Doganov

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=u64fyg5o6.fsf@gmail.com \
    --to=brakjoller@gmail.com \
    /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.
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).