emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: eval: Invalid read syntax: "#"Error during redisplay:


From: Nick Dokos
Subject: Re: [Orgmode] Re: eval: Invalid read syntax: "#"Error during redisplay: (void-function -mode)
Date: Sat, 11 Dec 2010 13:51:14 -0500

Bernt Hansen <address@hidden> wrote:

> "Thomas S. Dye" <address@hidden> writes:
> 
> > So, Seb and I have two things that others can't reproduce: the error
> > in the OP, and the version string for the latest Org-mode.
> >
> >>>
> >>> I'm using Org-mode version 7.3 (release_7.4.2.g32f816.dirty)
> >>>
> >>
> >>
> >> FWIW, I cannot reproduce it:
> >>
> >> GNU Emacs 23.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of
> >> 2010-10-27 on gamaville.dokosmarshall.org
> >> Org-mode version 7.4 (release_7.4.5.gb0844.dirty)
> 
> The version string problem is reproducible.  At commit 32f816 (2 commits
> after the release_7.4 tag) the version number is 7.3 even though it is
> after the release_7.4 tag.
> 
> In b0844 (5 commits after the release_7.4 tag) this problem has been
> fixed which is why Nick doesn't see it.
> 

I was really talking about the latex-export/eval problem that Tom is
seeing, not the version string problem.

Speaking of the eval problem, I notice in the backtrace[fn:1] that Tom
posted that org-babel-exp-src-blocks is called with
"#+end_src\n#+begin_src emacs-lisp :var lst=a-list :results list" as
argument:

org-babel-exp-src-blocks(#("#+end_src\n#+begin_src emacs-lisp :var lst=a-list 
:results list" ...)

But when I latex-export the same blocks through my setup (I edebug
org-babel-exp-src-blocks and when it stops, I evaluate the variable
``body''), org-babel-exp-src-blocks is called twice with the *body* of
each of the blocks as argument:

o the first time I get: #("\"code block results\"" 0 20 (fontified nil 
font-lock-fontified t))

o the second time I get: #("(reverse lst)" 0 13 (fontified nil 
font-lock-fontified t))


So it looks as if the parsing somehow gets out of sync in Tom's case,
but I don't understand why or how. In my case, the latex export goes
through with no problems.

Nick

Footnotes:
[fn:1] A backtrace of Tolstoian proportions...



reply via email to

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