all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Stack of bookmarks
@ 2009-06-17  8:25 stephan.zimmer
  2009-06-17  9:32 ` Anselm Helbig
  2009-06-17 11:08 ` Stefan Kamphausen
  0 siblings, 2 replies; 6+ messages in thread
From: stephan.zimmer @ 2009-06-17  8:25 UTC (permalink / raw)
  To: help-gnu-emacs

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. I know that this can be achieved with
bookmarks. What I would like to have is a generalization of this:
instead of only returning once, I would like to do this recursively,
i.e., to maintain a stack of bookmarks. So somehow like

L1: push-current-location-to-bookmarks
L2: push-current-location-to-bookmarks
L3: push-current-location-to-bookmarks
pop-current-location-from-bookmarks ;; arrive again at L3
pop-current-location-from-bookmarks ;; arrive again at L2
pop-current-location-from-bookmarks ;; arrive again at L1

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?

Stephan


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

end of thread, other threads:[~2009-06-18 14:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17  8:25 Stack of bookmarks stephan.zimmer
2009-06-17  9:32 ` Anselm Helbig
2009-06-17 11:08 ` Stefan Kamphausen
2009-06-18 11:27   ` stephan.zimmer
2009-06-18 13:14     ` Stefan Kamphausen
2009-06-18 14:15     ` Drew Adams

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.