From: Keith Sutton <kesutt@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: Recursive publish with :base-extension any fails [9.1.1 (9.1.1-1-g80cbf9-elpaplus @ /Users/xxxx/.emacs.d/elpa/org-plus-contrib-20170918/)]
Date: Sat, 23 Sep 2017 15:16:24 -0700 [thread overview]
Message-ID: <CAHM-v8rTvADYywyXUyy6dXzbi8ijeEmHQHLYn6VSn3V+98pXxg@mail.gmail.com> (raw)
When org-publish-project-alist has both :base-extension any and
:recursive t set, the publish fails with "(wrong-type-argument stringp
nil)" in a call to string-match in directory-files-recursively.
It looks like org-publish-get-base-files should set match to "" rather
than nil when :base-extension is any. In my minimal testing this works
fine for me, but I'll leave it to the experts to figure out if that
would negatively affect other things.
Org mode version 9.1.1 (9.1.1-1-g80cbf9-elpaplus @
/Users/xxxx/.emacs.d/elpa/org-plus-contrib-20170918/)
(I have two projects: one to publish the org files to HTML, and one
for everything else that doesn't meet some exclusion criteria. There
may or may not be a better way to do this, but the combination of
:base-extension any, :recursive t, and an :exclude regexp was the
first thing to come to mind.)
--
Keith Sutton
next reply other threads:[~2017-09-23 22:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-23 22:16 Keith Sutton [this message]
2017-09-24 8:59 ` Bug: Recursive publish with :base-extension any fails [9.1.1 (9.1.1-1-g80cbf9-elpaplus @ /Users/xxxx/.emacs.d/elpa/org-plus-contrib-20170918/)] Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHM-v8rTvADYywyXUyy6dXzbi8ijeEmHQHLYn6VSn3V+98pXxg@mail.gmail.com \
--to=kesutt@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.