From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michel Damiens Subject: Bug: exclude symlinked directory from publishing [9.1.6 (9.1.6-57-gec8590-elpa @ /home/michel/.emacs.d/elpa/org-20180219/)] Date: Tue, 6 Mar 2018 09:21:36 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000057f7ce0566ba2314" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1et7rN-0000nu-Co for emacs-orgmode@gnu.org; Tue, 06 Mar 2018 03:22:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1et7rM-0005aN-70 for emacs-orgmode@gnu.org; Tue, 06 Mar 2018 03:22:09 -0500 Received: from mail-pl0-x22e.google.com ([2607:f8b0:400e:c01::22e]:33702) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1et7rM-0005Yx-0S for emacs-orgmode@gnu.org; Tue, 06 Mar 2018 03:22:08 -0500 Received: by mail-pl0-x22e.google.com with SMTP id c11-v6so11461416plo.0 for ; Tue, 06 Mar 2018 00:22:07 -0800 (PST) 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: emacs-orgmode@gnu.org --00000000000057f7ce0566ba2314 Content-Type: text/plain; charset="UTF-8" Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ Hello, When publishing (with org-publish) I'd like to exclude a subdirectory : in fact it is a symlink (named lib) to a directory outside of the tree to be published For example with this tree : /media/DATA/ lib --> other directory other pdf files in org-publish-project-alist I tried :exclude "lib$" or :exclude ".*lib/.*" org-publish-attachment correctly treats "other pdf files" but also publish all pdf files contained in "other directory" Thanks for your help --00000000000057f7ce0566ba2314 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Remember to cover the basics, that is, what you expect= ed to happen and
what in fact did happen.=C2=A0 You don't know how t= o make a good report?=C2=A0 See

=C2=A0 =C2=A0 =C2=A0https://orgmode.org/manual/Fe= edback.html#Feedback

Your bug report will be posted to the Org m= ailing list.
-----------------------------------------------------------= -------------

Hello,

When publishing (with org-publish) I'= ;d like to exclude a subdirectory :
in fact it is a symlink (named lib) = to a directory outside of the tree to be
published

For example wi= th this tree :
/media/DATA/
=C2=A0=C2=A0=C2=A0 lib --> other direc= tory
=C2=A0 =C2=A0 other pdf files

in org-publish-project-alist I= tried
:exclude "lib$"
or :exclude ".*lib/.*"
=
org-publish-attachment correctly treats "other pdf files"
= but also publish all pdf files contained in "other directory"
=
Thanks for your help

--00000000000057f7ce0566ba2314--