From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: 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: Sun, 24 Sep 2017 10:59:46 +0200 Message-ID: <87lgl48oal.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dw2lV-00047e-V1 for emacs-orgmode@gnu.org; Sun, 24 Sep 2017 04:59:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dw2lS-00044r-32 for emacs-orgmode@gnu.org; Sun, 24 Sep 2017 04:59:53 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:46872) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dw2lR-00044Z-T5 for emacs-orgmode@gnu.org; Sun, 24 Sep 2017 04:59:50 -0400 In-Reply-To: (Keith Sutton's message of "Sat, 23 Sep 2017 15:16:24 -0700") 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" To: Keith Sutton Cc: emacs-orgmode@gnu.org Hello, Keith Sutton writes: > 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. Fixed. Thank you. Regards, -- Nicolas Goaziou