From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.help Subject: Bookmarks: (invalid-read-syntax "#") Date: Wed, 12 Sep 2012 21:03:11 +0200 Organization: Sebastien Vauban Message-ID: <80fw6n2he8.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347476713 15195 80.91.229.3 (12 Sep 2012 19:05:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2012 19:05:13 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Wed Sep 12 21:05:17 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TBsFQ-0000rR-Ox for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Sep 2012 21:05:16 +0200 Original-Received: from localhost ([::1]:48157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBsFM-0003FD-LC for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Sep 2012 15:05:12 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!news.stack.nl!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 63 Injection-Info: mx04.eternal-september.org; posting-host="5da807328d6a3351ee2b595083918cf6"; logging-data="15663"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX1/XNsZcxUahKVgEIC3JpgG0" User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (windows-nt) X-Url: Under construction... X-Archive: encrypt Cancel-Lock: sha1:vJDcOLA5ftY+3qUgQe3N1aREf9s= sha1:CQYxvtGqBR2jHUHEigIzHBv0cTc= Original-Xref: usenet.stanford.edu gnu.emacs.help:194395 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:86737 Archived-At: Hello, Since short (since testing bookmark+, maybe? -- for which I'll definitively will invest more time[1] as it covers everything I need), I have the following error when refiling or capturing in Org: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (invalid-read-syntax "#") read(#) bookmark-alist-from-buffer() bookmark-load("~/.emacs.d/bookmarks.txt" t t) bookmark-maybe-load-default-file() bookmark-set("org-capture-last-stored") (save-restriction (widen) (goto-char pos) (bookmark-set "org-capture-last-stored") (move-marker org-capture-last-stored-marker (point))) (save-excursion (save-restriction (widen) (goto-char pos) (bookmark-set "org-capture-last-stored") (move-marker org-capture-last-stored-marker (point)))) (save-current-buffer (set-buffer (buffer-base-buffer (current-buffer))) ...) (with-current-buffer (buffer-base-buffer (current-buffer)) ...) (let* ((where (org-capture-get :position-for-last-stored (quote local))) ...) org-capture-bookmark-last-stored-position() (progn (org-capture-bookmark-last-stored-position)) (if org-capture-bookmark (progn (org-capture-bookmark-last-stored-position))) (when org-capture-bookmark (org-capture-bookmark-last-stored-position)) (if org-note-abort ...) (let ((beg (point-min)) (end (point-max)) ...) ad-Orig-org-capture-finalize(nil) org-capture-finalize(nil) --8<---------------cut here---------------end--------------->8--- I see where the # could come from: --8<---------------cut here---------------start------------->8--- ;;;; 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 -*- ((#("lit fait mvmt" 0 16 (bmkp-full-record #0)) (filename . "~/Projects/entr.awk") (buffer-name . "entr.awk") (front-context-string . "function lit_fai") (rear-context-string . "nes incorrectes\n") (front-context-region-string) (rear-context-region-string) (visits . 0) (time 20521 6580 48000) (created 20521 6580 48000) (position . 59496) (end-position . 59496)) ... --8<---------------cut here---------------end--------------->8--- ... but I don't dare modifying that file by hand, as I'm not supposed to do it. Do you have an explanation, or work around my problem? Best regards, Seb [1] To have the same line colored as it is (by default) with `bm'. -- Sebastien Vauban