help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bookmarks: (invalid-read-syntax "#")


From: Sebastien Vauban
Subject: Bookmarks: (invalid-read-syntax "#")
Date: Wed, 12 Sep 2012 21:03:11 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (windows-nt)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]