unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Kamphausen <skampi@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Stack of bookmarks
Date: Wed, 17 Jun 2009 13:08:11 +0200	[thread overview]
Message-ID: <87vdmv6rtw.fsf@usenet.my.skamphausen.de> (raw)
In-Reply-To: acdd1da7-e289-4aef-ab61-0f105e0bb768@r37g2000yqd.googlegroups.com

Hi Stephan,

"stephan.zimmer" <stephan.zimmer@googlemail.com> writes:

> Quite often while I'm browsing through source code I would like to
> remember the current position to return to it later after having
> looked for something else.
[...]
> At the end this would be somehow similar to the "pop-tag-mark"
> command, with the difference, that I can remember and go back to
> arbitrary locations in the code. Has someone an idea?

I once needed exactly that and wrote some stack-handling of markers (not
bookmarks) only to find that I didn't want a stack but a ring.  The
result was mtorus:
http://www.skamphausen.de/cgi-bin/ska/mtorus

(it was later re-written by Sebastian Freundt resulting in a much more
complex and probably more powerful implementation, but I don't really
know about the state of that version, I still use my old version.  See 
http://www.emacswiki.org/cgi-bin/wiki?MTorus
)


Cheers,
Stefan
-- 
Stefan Kamphausen --- http://www.skamphausen.de
a blessed +42 regexp of confusion (weapon in hand)
You hit. The format string crumbles and turns to dust.


  parent reply	other threads:[~2009-06-17 11:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17  8:25 Stack of bookmarks stephan.zimmer
2009-06-17  9:32 ` Anselm Helbig
2009-06-17 11:08 ` Stefan Kamphausen [this message]
2009-06-18 11:27   ` stephan.zimmer
2009-06-18 13:14     ` Stefan Kamphausen
2009-06-18 14:15     ` Drew Adams

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=87vdmv6rtw.fsf@usenet.my.skamphausen.de \
    --to=skampi@gmx.net \
    --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.
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).