GNU bug report logs - #24573
25.1; Setting bookmark in buffer *Help* makes bookmarks non-loadable

Previous Next

Package: emacs;

Reported by: Dmitri Paduchikh <dpaduchikh <at> gmail.com>

Date: Fri, 30 Sep 2016 14:14:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 25.1

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dmitri Paduchikh <dpaduchikh <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; Setting bookmark in buffer *Help* makes bookmarks non-loadable
Date: Fri, 30 Sep 2016 19:13:28 +0500
Hello,

I start emacs -q, open the *Help* buffer, set a bookmark there, and save
bookmarks to file. After this I get the following error message while
trying to load bookmarks back.

Saving bookmarks to file ~/.emacs.d/bookmarks...done
Loading bookmarks from ~/.emacs.d/bookmarks...
bookmark-alist-from-buffer: Invalid read syntax: "#"

And indeed, the file contains text #<buffer *GNU Emacs*>. Replacing this
by nil manually fixes the problem.

;;;; Emacs Bookmark Format Version 1 ;;;;
;;; This format is meant to be slightly human-readable;
;;; nevertheless, you probably don't want to edit it.
;;; -*- End Of Bookmark File Format Version Stamp -*-
(("car"
 (position . 49)
 (help-fn .
	  #[514 "\301.!\205.\211.\302.!)\207"
		[describe-function-orig-buffer buffer-live-p describe-function]
		4 "\n\n(fn FUNCTION BUFFER)"])
 (help-args car #<buffer *GNU Emacs*>)
 (position . 49)
 (handler . help-bookmark-jump))
)


In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9)
 of 2016-09-18 built on juergen

Regards,
Dmitri Paduchikh




This bug report was last modified 6 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.