From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thibault Marin Subject: Re: Use headings in sitemap Date: Mon, 31 Oct 2016 07:57:01 -0500 Message-ID: <87h97sk76q.fsf@dell-desktop.WORKGROUP> References: <87fuojl53s.fsf@dell-desktop.WORKGROUP> <87y41uq1yo.fsf@nicolasgoaziou.fr> <87bmyqq6az.fsf@gmx.us> <878tttq368.fsf@nicolasgoaziou.fr> <87d1ihhh49.fsf@nicolasgoaziou.fr> <87fund5gsw.fsf@dell-desktop.WORKGROUP> <871syxgd0n.fsf@nicolasgoaziou.fr> Reply-To: thibault.marin@gmx.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1C9G-0003HH-EC for emacs-orgmode@gnu.org; Mon, 31 Oct 2016 08:57:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1C9D-0007hC-5I for emacs-orgmode@gnu.org; Mon, 31 Oct 2016 08:57:10 -0400 Received: from mout.gmx.net ([212.227.17.20]:54708) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1C9C-0007h2-SL for emacs-orgmode@gnu.org; Mon, 31 Oct 2016 08:57:07 -0400 In-reply-to: <871syxgd0n.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Rasmus Pank Roulund > I'm not sure to understand. Why resulting in an empty file list is > a problem? Is there an error in the new "ox-publish.el"? Sorry for the confusion, I don't think anything is wrong with the new ox-publish.el, but the selection of excluded files by regexp seems to have changed (I personally have no problem with this change, I just thought I'd mention it). My directory structure has a "website/org/" component so the loose regexp "website.org" used for exclusion matched any file path (it appears that full paths are used to determine which files should be excluded), so, for instance, "/path/to/website/org/index.org" was excluded, which I do not want. The same loose regexp did not exclude "index.org" in the previous version of the sitemap functions. Maybe the exclude regexp was applied to file names relative to root ("index.org" in my example)? With a more restrictive regexp "website\\.org", everything behaves as expected. I hope it is clearer. Thanks.