Hi List, 

when trying to export this example lilypond file

https://raw.github.com/mjago/ob-lilypond/master/examples/basic-mode/pdf-example/pdf-example.org

to LaTeX (C-c C-e l L) I hit the following error:

,----------------------------------------------
| Wrong type argument: integer-or-marker-p, nil
`----------------------------------------------

It turns out that org-element tries to parse a link but 

,----------------------------------
| (defun org-element-link-parser ()
|   "Parse link at point.
`----------------------------------

but none of the 4 Link types is matched and finally in this expression

,-------------------------------------------------------------------------
| ;; In any case, deduce end point after trailing white space from
| ;; LINK-END variable.
| (setq post-blank (progn (goto-char link-end) (skip-chars-forward " \t"))
`-------------------------------------------------------------------------

link-end is nil but goto-char requires an integer-or-marker-p. 

Not sure if there is wrong syntax in the file or if the parser is
confused by (correct) lilypond syntax. 

PS
Org-mode version 8.2.5g (release_8.2.5g-564-ge45d13)

-- 
cheers,
Thorsten


Reply via email to