help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [External] : Bookmark+: automated annotating?


From: Christopher Howard
Subject: Re: [External] : Bookmark+: automated annotating?
Date: Wed, 23 Oct 2024 07:27:09 -0800

Drew Adams <drew.adams@oracle.com> writes:

> 1. A bookmark annotation is, a priori, free-form text -
> anything you like.  Function `bookmark-set-annotation'
> adds an annotation to a given bookmark, or updates its
> existing annotation.  Function `bookmark-get-annotation'
> is the corresponding getter.  They use `bookmark-prop-set'
> and `bookmark-prop-get'.  The value of bookmark
> property/attribute `annotation' is just a string.
> They're all you really need to know, to add/update
> bookmark annotations.

Thank you, I think bookmark-set-annotation and bookmark-get-annotation are what 
I am looking for.

Something I was wondering about is if it was possible to display the 
annotations in the bookmark list itself, to the right of the bookmark name. Or 
if that was a feature that had been considered. Of course, only the first line 
of the annotation would fit there. But I think that would be still be useful, 
in the use case where the Bookmark name was simply the file name, and the 
annotation represented some kind of description.

The next best thing, it appears, is to use bookmark-bmenu-show-all-annotations, 
which gives you the bookmark names and annotations all in one buffer you can 
scroll through quickly; unfortunately, however, in the *Bookmark Annotations* 
buffer it is not possible to conveniently navigate through the bookmark names 
(with a TAB or whatever) or to jump to one with RET.

-- 
Christopher Howard



reply via email to

[Prev in Thread] Current Thread [Next in Thread]