From: "Badari Kakumani" <badarisj@gmail.com>
Subject: Re: binding C-uC-SPC to a new key
Date: 21 Dec 2006 15:41:06 -0800 [thread overview]
Message-ID: <1166744466.295319.105830@n67g2000cwd.googlegroups.com> (raw)
In-Reply-To: <mailman.2193.1166719607.2155.help-gnu-emacs@gnu.org>
Drew Adams wrote:
> > > > i would appreciate pointers to invoke the the set-mark-command
> > > > with a prefix (so that it traverses back to where previous mark was).
> > >
> > > Is not C-x C-x what you want? Or do you just want that the cursor to
> > > skip temporarily to the previous mark?
> >
> > no. what i wanted is to cycle thru all of the marks in my mark-ring.
>
> C-u C-SPC does what you are asking, IIUC.
i know it does what i want -- BUT i wanted to bind it to some different
key (since typing C-u C-SPC is inconvenient)... i could probably solve
it using macros. but i am exploring how to solve it thru some elisp
code.
all i need is a lisp function that invokes set-mark-command with a
prefix argument.
once i have this elisp function, i can bind it to a key i want.
i see the exact lisp function i wanted -- goto-previous-mark -- written
by you
in the URL you pointed below. thanks very much.
i shall keep checking the emacswiki for such goodies i guess...
thanks,
-badari
>
> See also my post on Dec 16 to the thread "Re: vim's jumplist equivalent in
> emacs?" for other ways to do this. Here is some doc on that:
> http://www.emacswiki.org/cgi-bin/wiki/MarkCommands#IciclesGoToMarker.
next prev parent reply other threads:[~2006-12-21 23:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-15 21:31 binding C-uC-SPC to a new key Badari Kakumani
2006-12-18 22:11 ` Dieter Wilhelm
[not found] ` <mailman.2086.1166480959.2155.help-gnu-emacs@gnu.org>
2006-12-21 16:16 ` Badari Kakumani
2006-12-21 16:46 ` Drew Adams
[not found] ` <mailman.2193.1166719607.2155.help-gnu-emacs@gnu.org>
2006-12-21 23:41 ` Badari Kakumani [this message]
2006-12-22 1:53 ` Dieter Wilhelm
[not found] ` <mailman.2208.1166752483.2155.help-gnu-emacs@gnu.org>
2006-12-22 13:47 ` rgb
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=1166744466.295319.105830@n67g2000cwd.googlegroups.com \
--to=badarisj@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).