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#3375: 23.0.94; Document incompatible change to format of bookmarks Date: Mon, 25 May 2009 12:50:40 -0700 Message-ID: Reply-To: Drew Adams , 3375@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 1243289006 14818 80.91.229.12 (25 May 2009 22:03:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 May 2009 22:03:26 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 26 00:03:19 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 1M8iGM-0001uS-O4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 May 2009 00:03:19 +0200 Original-Received: from localhost ([127.0.0.1]:51425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8iGM-0003RU-Az for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 May 2009 18:03:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M8iFa-0003AF-Tm for bug-gnu-emacs@gnu.org; Mon, 25 May 2009 18:02:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M8iFW-000386-2F for bug-gnu-emacs@gnu.org; Mon, 25 May 2009 18:02:30 -0400 Original-Received: from [199.232.76.173] (port=33594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8iFV-00037x-TL for bug-gnu-emacs@gnu.org; Mon, 25 May 2009 18:02:25 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:32842) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M8iFU-0001ra-Et for bug-gnu-emacs@gnu.org; Mon, 25 May 2009 18:02: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 n4PLnBmI015386; Mon, 25 May 2009 14:49:14 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4PLU6Ur011996; Mon, 25 May 2009 14:30:06 -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, 25 May 2009 21:30:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3375 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124328687611690 (code B ref -1); Mon, 25 May 2009 21:30:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 25 May 2009 21:27:56 +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 n4PLRqYm011683 for ; Mon, 25 May 2009 14:27:53 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:55827 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1M8gBn-0005CF-Kf for emacs-pretest-bug@gnu.org; Mon, 25 May 2009 15:50:27 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1M8gBm-0005Qp-7s for emacs-pretest-bug@gnu.org; Mon, 25 May 2009 15:50:27 -0400 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:29408) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M8gBl-0005Qh-NQ for emacs-pretest-bug@gnu.org; Mon, 25 May 2009 15:50:25 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n4PJo5sK003330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 25 May 2009 19:50:07 GMT Original-Received: from abhmt002.oracle.com (abhmt002.oracle.com [141.146.116.11]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n4PJoNCA019649 for ; Mon, 25 May 2009 19:50:23 GMT Original-Received: from dradamslap1 (/98.210.250.59) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 25 May 2009 12:50:19 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcndchTRbD6A3nCXTLS7uwpt/lKLRQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt002.oracle.com [141.146.116.11] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.4A1AF67C.00B2: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, 3) Resent-Date: Mon, 25 May 2009 18:02:30 -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:28151 gmane.emacs.pretest.bugs:24498 Archived-At: Emacs 23 apparently introduces an incompatible change to the format of bookmarks. A bookmark that formerly would have had this form: ("Directories" ((front-context-string . "\n22.8 File Direc") (rear-context-string . ": > Directories\n") (position . 133657) (filename . "c:/Emacs-23-0-3/info/emacs") (info-node . "Directories") (handler . Info-bookmark-jump))) Now can have this form: ("Directories" (front-context-string . "\n22.8 File Direc") (rear-context-string . ": > Directories\n") (position . 133657) (filename . "c:/Emacs-23-0-3/info/emacs") (info-node . "Directories") (handler . Info-bookmark-jump)) The is handled in the changed definition of `bookmark-get-bookmark-record', which accommodates both forms. However, if you try to do, say, `C-x r l' in Emacs 22 and you have created a bookmark of the latter form (using Emacs 23), then `C-x r l' raises an error. That's normal - Emacs 22 can't know about the incompatible change that Emacs 23 introduces. I don't know why this change was necessary. (Why?) But let's assume that it was in fact necessary. The bug is that it is totally undocumented. Please _at least_ document this in NEWS. The _only_ thing mentioned in NEWS about bookmarks is this: "*** bookmark provides `bookmark-make-record-function' so special major modes like Info can teach bookmark.el how to save and restore the relevant data." In GNU Emacs 23.0.94.1 (i386-mingw-nt5.1.2600) of 2009-05-24 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)'