Subject: bug#3646: closed (Re: "bookmark format upgrade is incorrect")

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 02 Oct 2012 23:11:03 +0000

Your bug report

#3646: 23.0.95; bookmark format upgrade is incorrect

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
3646: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3646
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: "bookmark format upgrade is incorrect"
From: Karl Fogel <[email-masked]>
To: [email-masked]
Date: Tue, 02 Oct 2012 18:10:20 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Closing, now that tagged as WONTFIX.

Subject: 23.0.95; bookmark format upgrade is incorrect
From: "Drew Adams" <[email-masked]>
To: <[email-masked]>
Date: Sun, 21 Jun 2009 17:26:15 -0700

(defun bookmark-upgrade-version-0-alist (old-list)
  "Upgrade a version 0 alist OLD-LIST to the current version."
  (mapcar
   (lambda (bookmark)
     (let* ((name...))
       (list
        name
        `((filename             .    ,filename)
          (front-context-string .    ,(or front-str ""))
          (rear-context-string  .    ,(or rear-str  ""))
          (position             .    ,position)
          (annotation           .    ,ann)))))
   old-list))
 
The bookmark entry format being output by that code is this:
 
(NAME ((filename . FILE)
       (front-context-string . FRONT-STR)
       (rear-context-string  . REAR-STR)
       (position . POS)
       (annotation . ANNOTATION)))
 
And that is what is called the "old deprecated" format in the doc
string of `bookmark-alist'.  Upgrade should upgrade to the latest
format, not an old, deprecated one.
 
Further, "the old deprecated one" should be replaced by a precise
reference to the last Emacs version that _produced_ such a deprecated
format.  Things are currently doubly confusing because we "upgrade"
from the bookmark version 0 format to an "old deprecated" format - and
there is yet a third format: the current format.

In GNU Emacs 23.0.95.1 (i386-mingw-nt5.1.2600)
 of 2009-06-19 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'