[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Bookmarks in registers
From: |
Drew Adams |
Subject: |
RE: [External] : Re: Bookmarks in registers |
Date: |
Thu, 8 Jun 2023 14:13:23 +0000 |
> How is this different from `point-to-register' and `jump-to-register'?
OP answered that this way:
"the problem with these is that if the buffer in-question changes, then
running register-to-point will not take you where you want to go. E.g., if you
run point-to-register inside an *info* buffer, and then move the buffer to some
other info page, then this will not take you back to the original info page."
_______
On the other hand, the OP motivation also says:
"you can just use a regular bookmark instead, but then you must name the
bookmark, and then the bookmark clutters up your list of bookmarks. What I want
is to be able to store an anonymous bookmark in a register, which is handy if
you only need a bookmark for a little while."
FWIW, Bookmark+ autonamed bookmarks take care of not needing to provide
bookmark names etc. And bookmarks can be temporary.
https://www.emacswiki.org/emacs/BookmarkPlus#AutonamedBookmarks