all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Win Treese <treese@acm.org>
To: 24573@debbugs.gnu.org
Cc: Win Treese <treese@acm.org>
Subject: bug#24573: 25.1; Setting bookmark in buffer *Help* makes bookmarks non-loadable
Date: Sat, 28 Oct 2017 14:53:59 -0400	[thread overview]
Message-ID: <F8FD83A3-4794-4E2D-A614-153075C91905@acm.org> (raw)
In-Reply-To: <878tu9wk53.fsf@gmail.com>

I ran into the same problem.

To reproduce:

1. C-h f find-file

2. In the *Help* buffer:

    C-x r m  ; create a bookmark to the help for find-file

3. Exit Emacs (which should save the bookmark)

4. In a fresh Emacs,
   C-x r b    ; to visit any bookmark

This results in an error:

   bookmark-alist-from-buffer: Invalid read syntax: "#"

Note that the bookmark works fine until Emacs attempts to restore
the bookmarks saved to a file. In normal use, it only shows up after
Emacs is restarted.

Finding the problem:

The problem appears to be in the definition for describe-function i
help-fns.el. help-setup-xref is called with a lambda instead of a
function symbol (as it was before this code was changed).
When the bookmark is saved, the syntax for the lambda is not
parsable by read to restore it.

I don't understand the code well enough to propose an appropriate change.

I am using Aquamacs, but the code noted is the same in the master git
branch now. Version information;

Aquamacs 3.4 development
Emacs version 25.2.1

Regards,

Win Treese
treese@acm.org







  reply	other threads:[~2017-10-28 18:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-30 14:13 bug#24573: 25.1; Setting bookmark in buffer *Help* makes bookmarks non-loadable Dmitri Paduchikh
2017-10-28 18:53 ` Win Treese [this message]
2017-10-28 19:48   ` Noam Postavsky
2019-07-02 16:22 ` Stefan Kangas
2019-07-06 18:42   ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F8FD83A3-4794-4E2D-A614-153075C91905@acm.org \
    --to=treese@acm.org \
    --cc=24573@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.