From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Win Treese Newsgroups: gmane.emacs.bugs Subject: bug#24573: 25.1; Setting bookmark in buffer *Help* makes bookmarks non-loadable Date: Sat, 28 Oct 2017 14:53:59 -0400 Message-ID: References: <878tu9wk53.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1509217044 5520 195.159.176.226 (28 Oct 2017 18:57:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Oct 2017 18:57:24 +0000 (UTC) Cc: Win Treese To: 24573@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 28 20:57:20 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8WIB-0008Kh-85 for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Oct 2017 20:57:11 +0200 Original-Received: from localhost ([::1]:33721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8WIH-00024w-2s for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Oct 2017 14:57:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8WI6-00023X-IJ for bug-gnu-emacs@gnu.org; Sat, 28 Oct 2017 14:57:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8WI3-00041h-GY for bug-gnu-emacs@gnu.org; Sat, 28 Oct 2017 14:57:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e8WI3-00041J-BL for bug-gnu-emacs@gnu.org; Sat, 28 Oct 2017 14:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e8WI3-0003x3-4l for bug-gnu-emacs@gnu.org; Sat, 28 Oct 2017 14:57:03 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <878tu9wk53.fsf@gmail.com> Resent-From: Win Treese Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Oct 2017 18:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24573 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24573-submit@debbugs.gnu.org id=B24573.150921699315133 (code B ref 24573); Sat, 28 Oct 2017 18:57:03 +0000 Original-Received: (at 24573) by debbugs.gnu.org; 28 Oct 2017 18:56:33 +0000 Original-Received: from localhost ([127.0.0.1]:39478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8WHZ-0003vw-JB for submit@debbugs.gnu.org; Sat, 28 Oct 2017 14:56:33 -0400 Original-Received: from new2-smtp.messagingengine.com ([66.111.4.224]:55951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8WF8-0003s8-98 for 24573@debbugs.gnu.org; Sat, 28 Oct 2017 14:54:02 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id 37D5AA60; Sat, 28 Oct 2017 14:54:00 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Sat, 28 Oct 2017 14:54:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=LuWLbrkLMOJYjJDk6RGGqVBHNkZ3r Hb+q7WGipWiOEE=; b=SaX+xyfWWKjFB48MYm5ROGYOWz3iEiG6iLKMZdcV//QOw 1e0N0C67DqA7cGkF2/ohyYxx0Yt5PZTLvpjimNRp6AMHQpAAqnrUs39F1NK8zDcg 3FBufQLhhnqqHSQa9d5uePzOJvIMi0PQ68Mh2aomNpJQJdpUSAgdlDsAjf3SEHRi MafMiDP1MC+WHb+ho0FW63DCu3nlC2SeBf831vG9sSbm240xTWxayvfr6DXpv7AC AAGV/cFTik50so8YfQwSvboS4WE4uA0upL5IwoymtopX5hcGJBB8n7K4/Kc/+lZO flv2M2MsuCAbRKP/EO3MDm+PPR4P9aO59IGFpac/g== X-ME-Sender: Original-Received: from cirocco.treese.org (pool-108-7-197-30.bstnma.fios.verizon.net [108.7.197.30]) by mail.messagingengine.com (Postfix) with ESMTPA id B266A7FAE8; Sat, 28 Oct 2017 14:53:59 -0400 (EDT) X-Mao-Original-Outgoing-Id: 530909639.125119-e53ea48f2465c9939cfcc781503332d5 X-Mailer: Apple Mail (2.3273) X-Mailman-Approved-At: Sat, 28 Oct 2017 14:56:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139124 Archived-At: 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