GNU bug report logs -
#4195
23.1; bookmark-alist and bookmark doc about structure
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:
#4195: 23.1; bookmark-alist and bookmark doc about structure
It has been closed by Karl Fogel <kfogel <at> red-bean.com>.
Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Karl Fogel <kfogel <at> red-bean.com> by
replying to this email.
--
4195: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4195
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
fixed
--
Thanks for the patch, Drew. I committed it with very few tweaks:
$ cvs ci -F ../msg bookmark.el ChangeLog
/sources/emacs/emacs/lisp/bookmark.el,v <-- bookmark.el
new revision: 1.138; previous revision: 1.137
/sources/emacs/emacs/lisp/ChangeLog,v <-- ChangeLog
new revision: 1.16507; previous revision: 1.16506
Mailing notification to emacs-diffs <at> gnu.org... sent.
$
[Message part 3 (message/rfc822, inline)]
emacs -Q
I think there is a doc bug regarding the descriptions of the structure
of `bookmark-alist'.
From the doc string of `bookmark-alist':
PARAM-ALIST is typically of the form:
((filename . FILE)
(front-context-string . FRONT-STR)
(rear-context-string . REAR-STR)
(position . POS)
(annotation . ANNOTATION)))
There is no description of any of these fields. No description of
FILE, FRONT-STR, REAR-STR, POS, or ANNOTATION. Also, the following
entry is missing, and is (increasingly) important for users of this
variable: (handler . HANDLER).
There is some explanation of these fields in the library commentary,
but I believe that it is incorrect as regards FRONT-STR and REAR-STR,
which are called STRING-IN-FRONT and STRING-BEHIND in the commentary:
;; STRING-IN-FRONT is a string of `bookmark-search-size' chars of
;; context in front of the point at which the bookmark is set.
;; STRING-BEHIND is the same thing, but after the point.
I think this description is backwards. The code shows that
STRING-IN-FRONT is in fact a string of text that immediatly *follows*
POS, and STRING-BEHIND is in fact a string that immediately *precedes*
POS.
In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
This bug report was last modified 15 years and 264 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.