GNU bug report logs - #22469
org-mode export fail

Previous Next

Packages: org-mode, emacs;

Reported by: phillip.lord <at> russet.org.uk (Phillip Lord)

Date: Tue, 26 Jan 2016 14:16:01 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 22469 <at> debbugs.gnu.org (full text, mbox):

From: phillip.lord <at> russet.org.uk (Phillip Lord)
To: Kyle Meyer <kyle <at> kyleam.com>
Cc: 22469 <at> debbugs.gnu.org
Subject: Re: bug#22469: org-mode export fail
Date: Tue, 26 Jan 2016 15:47:49 +0000

Kyle Meyer <kyle <at> kyleam.com> writes:

> Hi Phil
>
> phillip.lord <at> russet.org.uk (Phillip Lord) writes:
>
>> I am seeing this error from org-mode when trying to export to HTML. The
>> main org file has an include line like so:
>
> [...]
>
>> 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])
>
> This should be fixed on the Org side as of 44c8cd7 (2015-08-10):
>
>     org-map-entries: Fix org-agenda-prepare-buffers call
>     
>     * lisp/org.el (org-map-entries): Check that buffer-file-name is non-nil
>       before passing to org-agenda-prepare-buffers.
>     
>     Like 11e8749, this surfaced as an error when 05efa7a ("Backport commit
>     3a5f751 from Emacs master branch", 2015-08-08) replaced a
>     '(while (setq VAR (pop LIST)) BODY)' with '(dolist (VAR LIST) BODY)',
>     resulting in the body being executed when '(nil)' was passed to
>     org-agenda-prepare-buffers.

Okay. What's the best way to get this fix onto the release branch?

Phil




This bug report was last modified 7 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.