emacs-pretest-bug
[Top][All Lists]
Advanced

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

bookmark-alist doc string is incorrect


From: Drew Adams
Subject: bookmark-alist doc string is incorrect
Date: Sat, 29 Apr 2006 13:27:16 -0700

emacs -Q

I already have some bookmarks, created in an earlier version of Emacs
- I don't know if that affects this question or not. I doubt it, since
the doc string for Emacs 20 is identical (i.e. also incorrect in the
same way, wrt my bookmark-alist).

C-h v bookmark-alist

Mine looks like this:

(("Linux ~"
  ((filename . "/whatever.com:/home/whomever/")
   (front-context-string . ".Xdefaults\n  drw")
   (rear-context-string . "99 Nov 18 23:54 ")
   (position . 220)))
 ("Linux: Emacs lisp/"
  ((filename . "/whatever.com:/usr/share/emacs/21.3/lisp/")
   (front-context-string . "COPYING\n  -rw-r-")
   (rear-context-string . "92 Mar 18  2003 ")
   (position . 233)))
 ("Windows - Emacs 22 Lisp"
  ((filename . "c:/Emacs-22-2006-03-20/lisp")
   (front-context-string . ".arch-inventory\n")
   (rear-context-string . "22 Jun 11  2004 ")
   (position . 222)))
...)

The doc string for bookmark-alist says this:

 each BOOKMARK is of the form
 (NAME
  (filename . FILE)
  (front-context-string . FRONT-STR)
  (rear-context-string  . REAR-STR)
  (position . POS)
  (info-node . POS)
  (annotation . ANNOTATION))

That seems incorrect, given my alist, above. It should say this, I
suspect (note additional parens):

 (NAME
  ((filename . FILE)
   (front-context-string . FRONT-STR)
   (rear-context-string  . REAR-STR)
   (position . POS)
   (info-node . POS)
   (annotation . ANNOTATION)))


In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
 of 2006-03-20 on W2ONE
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Id:/g/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Dired by name

Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<help-menu> <report-emacs-bug>

Recent messages:
(C:\Emacs-22-2006-03-20\bin\emacs.exe -q --no-site-file --debug-init
C:\drews-lisp-20)
Loading encoded-kb...done
For information about the GNU Project and its goals, type C-h C-p.
Loading dired...
Loading regexp-opt...done
Loading dired...done
Loading emacsbug...done





reply via email to

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