From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3646: 23.0.95; bookmark format upgrade is incorrect Date: Sun, 21 Jun 2009 17:26:15 -0700 Message-ID: <2A172ED84C2848FC9426043F282B4E08@us.oracle.com> Reply-To: Drew Adams , 3646@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1245631082 28187 80.91.229.12 (22 Jun 2009 00:38:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Jun 2009 00:38:02 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 22 02:37:59 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MIXXp-0005n9-0O for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jun 2009 02:37:57 +0200 Original-Received: from localhost ([127.0.0.1]:58255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIXXo-0005uB-Dt for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Jun 2009 20:37:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MIXXN-0005jV-Hy for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2009 20:37:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIXXK-0005gF-2D for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2009 20:37:29 -0400 Original-Received: from [199.232.76.173] (port=34003 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIXXJ-0005g0-IA for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2009 20:37:25 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43143) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MIXXJ-00065k-3J for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2009 20:37:25 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5M0bMOg023005; Sun, 21 Jun 2009 17:37:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5M0U4LG021506; Sun, 21 Jun 2009 17:30:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 22 Jun 2009 00:30:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3646 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124563039021345 (code B ref -1); Mon, 22 Jun 2009 00:30:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 22 Jun 2009 00:26:30 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5M0QMj5021340 for ; Sun, 21 Jun 2009 17:26:24 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:42136) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MIXMc-0002Yl-5p for emacs-pretest-bug@gnu.org; Sun, 21 Jun 2009 20:26:22 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MIXMa-0004T6-R3 for emacs-pretest-bug@gnu.org; Sun, 21 Jun 2009 20:26:22 -0400 Original-Received: from rcsinet12.oracle.com ([148.87.113.124]:41760 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MIXMa-0004T2-Gl for emacs-pretest-bug@gnu.org; Sun, 21 Jun 2009 20:26:20 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5M0Q0ZI013554 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 22 Jun 2009 00:26:02 GMT Original-Received: from abhmt005.oracle.com (abhmt005.oracle.com [141.146.116.14]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5M0QMqm026460 for ; Mon, 22 Jun 2009 00:26:22 GMT Original-Received: from dradamslap1 (/24.5.177.54) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 21 Jun 2009 17:26:15 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acny0A3XPnkAWdi1QDWHgeREzNN/GA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt005.oracle.com [141.146.116.14] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4A3ECFA8.0042:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 21 Jun 2009 20:37:29 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28888 gmane.emacs.pretest.bugs:24670 Archived-At: (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)'