* [error] export fails with "marker points into wrong buffer"; babel problem?
@ 2013-09-16 13:07 Eric S Fraga
2013-09-16 13:41 ` Eric S Fraga
0 siblings, 1 reply; 2+ messages in thread
From: Eric S Fraga @ 2013-09-16 13:07 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 2784 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: slide.org --]
[-- Type: text/x-org, Size: 1317 bytes --]
#+OPTIONS: H:2 toc:nil num:nil
#+EXPORT_EXCLUDE_TAGS: noexport
#+startup: beamer
#+PROPERTY: cache yes
#+latex_header: \usepackage[british]{babel}
* Introduction
** Example: Benzene and Chlorobenzene mixture
- Benzene is lighter of the two components.
- Antoine coefficients (\scannedtable{4}) are:
#+tblname: benzene-chlorobenzene-antoine-coefficients
| Species | A | B | C |
|---------------+---------+----------+---------|
| benzene | 6.89272 | 1203.531 | 219.888 |
| chlorobenzene | 7.10690 | 1500.0 | 224 |
#+name: benzene-chlorobenzene-relative-volatility
#+begin_src octave :exports none :results output :var T=25 :var coeff=benzene-chlorobenzene-antoine-coefficients[2:-1,1:-1]
format bank
b=1; # row indices
c=2;
A=1; # column indices
B=2;
C=3;
for i=1:2, p(i) = 10^(coeff(i,A) - coeff(i,B)/(T+coeff(i,C))); endfor
alpha = p(b)/p(c);
printf("%.2f", alpha);
#+end_src
- Picking a reasonable temperature, say $T=25\,^\circ C$, and using eq. \ref{eq:distillation-alpha}, gives a relative volatility of call_benzene-chlorobenzene-relative-volatility(T=25).
- Now generate values of $y$ for values of $x \in [0,1]$ using eq. \ref{eq:distillation-vapour-composition}.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [error] export fails with "marker points into wrong buffer"; babel problem?
2013-09-16 13:07 [error] export fails with "marker points into wrong buffer"; babel problem? Eric S Fraga
@ 2013-09-16 13:41 ` Eric S Fraga
0 siblings, 0 replies; 2+ messages in thread
From: Eric S Fraga @ 2013-09-16 13:41 UTC (permalink / raw)
To: emacs-orgmode
A quick followup: the problem is not with org but with emacs. The
default emacs 24.3 in Ubuntu 13.04 is fine; the latest two emacs
snapshots are not. This has been verified with emacs -Q in all cases.
Very strange...
Sorry for the noise but be aware if you track Emacs developments.
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.1.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-16 14:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-16 13:07 [error] export fails with "marker points into wrong buffer"; babel problem? Eric S Fraga
2013-09-16 13:41 ` Eric S Fraga
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.