emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [error] export fails with "marker points into wrong buffer"; babel p


From: Eric S Fraga
Subject: [O] [error] export fails with "marker points into wrong buffer"; babel problem?
Date: Mon, 16 Sep 2013 14:07:42 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Hello,

I am going crazy!  The attached example (a single beamer slide from a
700+ set of slides) fails on export to Beamer or even LaTeX (and
possibly any other target) with error "marker points into wrong
buffer".  The problem is caused by the evaluation of a call_ babel line.

Org is up to date with the latest emacs snapshot.  Here is the backtrace:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "Marker points into wrong buffer" #<marker 
at 772 in slide.org<2>>)
  goto-char(#<marker at 772 in slide.org<2>>)
  (progn (goto-char org-babel-current-src-block-location))
  (if org-babel-current-src-block-location (progn (goto-char 
org-babel-current-src-block-location)))
  (save-excursion (if org-babel-current-src-block-location (progn (goto-char 
org-babel-current-src-block-location))) (org-babel-read ref))
  (let ((out (save-excursion (if org-babel-current-src-block-location (progn 
(goto-char org-babel-current-src-block-location))) (org-babel-read ref)))) (if 
(equal out ref) (if (string-match "^\".*\"$" ref) (read ref) 
(org-babel-ref-resolve ref)) out))
  (cons (intern var) (let ((out (save-excursion (if 
org-babel-current-src-block-location (progn (goto-char 
org-babel-current-src-block-location))) (org-babel-read ref)))) (if (equal out 
ref) (if (string-match "^\".*\"$" ref) (read ref) (org-babel-ref-resolve ref)) 
out)))
  (let ((var (match-string 1 assignment)) (ref (match-string 2 assignment))) 
(cons (intern var) (let ((out (save-excursion (if 
org-babel-current-src-block-location (progn ...)) (org-babel-read ref)))) (if 
(equal out ref) (if (string-match "^\".*\"$" ref) (read ref) 
(org-babel-ref-resolve ref)) out))))
  (progn (let ((var (match-string 1 assignment)) (ref (match-string 2 
assignment))) (cons (intern var) (let ((out (save-excursion (if 
org-babel-current-src-block-location ...) (org-babel-read ref)))) (if (equal 
out ref) (if (string-match "^\".*\"$" ref) (read ref) (org-babel-ref-resolve 
ref)) out)))))
  (if (string-match org-babel-ref-split-regexp assignment) (progn (let ((var 
(match-string 1 assignment)) (ref (match-string 2 assignment))) (cons (intern 
var) (let ((out (save-excursion ... ...))) (if (equal out ref) (if 
(string-match "^\".*\"$" ref) (read ref) (org-babel-ref-resolve ref)) out))))))
  org-babel-ref-parse("results=benzene-chlorobenzene-relative-volatility(T=25)")
--8<---------------cut here---------------end--------------->8---

For some reason, emacs is trying to go to a buffer named "slide.org<2>"
when no such buffer exists.  The buffer is "slide.org"...

I will try to back up in org commits as the original file from where the
single slide came from worked last week.

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.1.2-git

Attachment: slide.org
Description: Text Data


reply via email to

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