all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bookmarks: (invalid-read-syntax "#")
@ 2012-09-12 19:03 Sebastien Vauban
  2012-09-13 14:43 ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastien Vauban @ 2012-09-12 19:03 UTC (permalink / raw)
  To: help-gnu-emacs-mXXj517/zsQ

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-24 16:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-12 19:03 Bookmarks: (invalid-read-syntax "#") Sebastien Vauban
2012-09-13 14:43 ` Drew Adams
2012-09-24 16:36   ` Drew Adams

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.