unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org
Subject: Bookmarks: (invalid-read-syntax "#")
Date: Wed, 12 Sep 2012 21:03:11 +0200	[thread overview]
Message-ID: <80fw6n2he8.fsf@somewhere.org> (raw)

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(#<buffer bookmarks.txt>)
  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


             reply	other threads:[~2012-09-12 19:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-12 19:03 Sebastien Vauban [this message]
2012-09-13 14:43 ` Bookmarks: (invalid-read-syntax "#") Drew Adams
2012-09-24 16:36   ` Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=80fw6n2he8.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=help-gnu-emacs-mXXj517/zsQ@public.gmane.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).