unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23365: 25.0.93; org-mode fails on export with include
@ 2016-04-24 21:41 Phillip Lord
  2016-04-26 15:54 ` Kaushal Modi
  2016-04-28 21:14 ` Phillip Lord
  0 siblings, 2 replies; 6+ messages in thread
From: Phillip Lord @ 2016-04-24 21:41 UTC (permalink / raw)
  To: 23365


Emacs fails in org-mode when exporting; testing from current head.

The error is reproducible with emacs -q. Create the following two files.

==== main.org

* Section A

#+include: "a.org"

====

==== a.org

** Section of A

Here is some text

====

Now run C-cC-e h h

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-exists-p(nil)
  org-check-agenda-file(nil)
  org-agenda-prepare-buffers((nil))
  org-map-entries(#[nil "\300\301 !\207" [org-reduced-level org-current-level] 2])
  org-export--prepare-file-contents("/home/phillord/scratch/temp-org/a.org" nil 0 2)
  org-export-expand-include-keyword()
  org-export-as(html nil nil nil (:output-file "./main.html"))
  org-export-to-file(html "./main.html" nil nil nil nil nil)
  org-html-export-to-html(nil nil nil nil)
  org-export-dispatch(nil)
  funcall-interactively(org-export-dispatch nil)
  call-interactively(org-export-dispatch nil nil)
  command-execute(org-export-dispatch)

The error comes from org-map-entries and is not specific to HTML output;
it happens with LaTeX also.








^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-04-30 14:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-24 21:41 bug#23365: 25.0.93; org-mode fails on export with include Phillip Lord
2016-04-26 15:54 ` Kaushal Modi
2016-04-28 21:14 ` Phillip Lord
2016-04-28 21:33   ` bug#23365: [O] " Kaushal Modi
     [not found]   ` <CAFyQvY2y5HxsdK7+Ln_rD6nYoTT5y-OS6TY1YPw8ksXc-kA9Yw@mail.gmail.com>
2016-04-29  6:51     ` Rasmus
     [not found]     ` <87y47wlxfx.fsf@gmx.us>
2016-04-30 14:11       ` Phillip Lord

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).