[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [bug] [new-exporter] #+includes in non-exported regions do not work
From: |
Eric S Fraga |
Subject: |
[O] [bug] [new-exporter] #+includes in non-exported regions do not work |
Date: |
Sun, 28 Oct 2012 10:42:26 +0000 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (gnu/linux) |
Hello,
with an up to date org, I cannot get the attached minimal example to
export using the new exporter. I have try exporting to latex-pdf, in
case that matters. The (line-length truncated) error trace is:
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
file-readable-p(nil)
(not (file-readable-p file))
(cond ((not (file-readable-p file)) (error "Cannot include file %s" file))
(let* ((value (match-string 1)) (ind (org-get-indentation)) (file (and (st
(progn (beginning-of-line) (let* ((value (match-string 1)) (ind (org-get-i
(if (eq (org-element-type (save-match-data (org-element-at-point))) (quote
(when (eq (org-element-type (save-match-data (org-element-at-point))) (quo
(while (re-search-forward "^[ ]*#\\+INCLUDE: \\(.*\\)" nil t) (whe
(let ((case-fold-search t)) (goto-char (point-min)) (while (re-search-forw
org-export-expand-include-keyword()
[...]
--8<---------------cut here---------------end--------------->8---
Note that the uml.org file referred to by the #+include exists. Also
note that the old exporter works.
I am not entirely sure what the semantics for included files in the new
exporter are. For instance, is an include statement /within/ a
non-exported headline meant to be processed?
Regardless, the fact that it fails to export is a bug, I guess.
Thanks,
eric
--
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.1.1 and Org release_7.9.2-516-g796fca
examplebug.org
Description: Text Data
- [O] [bug] [new-exporter] #+includes in non-exported regions do not work,
Eric S Fraga <=