all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Howard <christopher@librehacker.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: Philip Kaludercic <philipk@posteo.net>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: [External] : Re: Bookmarks in registers
Date: Thu, 8 Jun 2023 07:41:26 -0800	[thread overview]
Message-ID: <ZIH2pu_s4WlxiFSp@theoden> (raw)
In-Reply-To: <SJ0PR10MB54882D6399C63E4A6030A9EAF350A@SJ0PR10MB5488.namprd10.prod.outlook.com>

On Thu, Jun 08, 2023 at 02:13:23PM +0000, Drew Adams wrote:
>   "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.

Thank you. I think, looking bookmark+ over, I would still rather use the solution I've already coded, which seems slightly more convenient. With bookmark+, you would not need to confirm a bookmark name, but you would still need later to figure out what was the correct bookmark name to jump to, as opposed to just remembering "I always put that last bookmark I need in register 1". It does look like bookmark+ has a temporary bookmark functionality, but you either have to consciousless enable it / disable it for individual bookmarks, or go into a special mode. That being said, if I hadn't already coded the register functions that work great for me, I think I would explore bookmark+ a little more.

I certainly don't mean to create a ton of work for other people — my thought was just that if it was pretty easy for me to figure out how to store a bookmark in a register, then maybe an emacs dev with all the knowledge of patch-making and proper naming and such could add the functionality easily. Due to my life time-constraints, I don't think I'd be able to dive more deeply into for another four or five months at least. One part that I also was unsure about was creating the proper CL method so that `list-registers' properly displays the register value when a bookmark is stored in it — maybe that is something that would be trivial to somebody else.

-- 
Christopher Howard



  reply	other threads:[~2023-06-08 15:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-07 21:28 Bookmarks in registers Christopher Howard
2023-06-08  6:44 ` Philip Kaludercic
2023-06-08 14:13   ` [External] : " Drew Adams
2023-06-08 15:41     ` Christopher Howard [this message]
2023-12-18  5:57       ` Karl Fogel

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

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

  git send-email \
    --in-reply-to=ZIH2pu_s4WlxiFSp@theoden \
    --to=christopher@librehacker.com \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=philipk@posteo.net \
    /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.
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.