From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: [BUG] in org-element-link-parser (lilypond file does not export to latex) Date: Sat, 01 Mar 2014 02:17:41 +0100 Message-ID: <87zjlad8ei.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJYXz-0004Ey-M4 for emacs-orgmode@gnu.org; Fri, 28 Feb 2014 20:17:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJYXt-0001vb-MZ for emacs-orgmode@gnu.org; Fri, 28 Feb 2014 20:16:59 -0500 Received: from plane.gmane.org ([80.91.229.3]:40195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJYXt-0001vT-Ft for emacs-orgmode@gnu.org; Fri, 28 Feb 2014 20:16:53 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WJYXq-0002jV-NO for emacs-orgmode@gnu.org; Sat, 01 Mar 2014 02:16:50 +0100 Received: from e178055108.adsl.alicedsl.de ([85.178.55.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Mar 2014 02:16:50 +0100 Received: from tjolitz by e178055108.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Mar 2014 02:16:50 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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