* Bug: exclude symlinked directory from publishing [9.1.6 (9.1.6-57-gec8590-elpa @ /home/michel/.emacs.d/elpa/org-20180219/)]
@ 2018-03-06 8:21 Michel Damiens
2018-03-11 22:09 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Michel Damiens @ 2018-03-06 8:21 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 809 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1046 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug: exclude symlinked directory from publishing [9.1.6 (9.1.6-57-gec8590-elpa @ /home/michel/.emacs.d/elpa/org-20180219/)]
2018-03-06 8:21 Bug: exclude symlinked directory from publishing [9.1.6 (9.1.6-57-gec8590-elpa @ /home/michel/.emacs.d/elpa/org-20180219/)] Michel Damiens
@ 2018-03-11 22:09 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2018-03-11 22:09 UTC (permalink / raw)
To: Michel Damiens; +Cc: emacs-orgmode
Hello,
Michel Damiens <michel.damiens@gmail.com> writes:
> 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$"
This cannot work, as the regexp is matched against a file name, not
a directory.
> or :exclude ".*lib/.*"
This one works.
I cannot reproduce your issue.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-11 22:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-06 8:21 Bug: exclude symlinked directory from publishing [9.1.6 (9.1.6-57-gec8590-elpa @ /home/michel/.emacs.d/elpa/org-20180219/)] Michel Damiens
2018-03-11 22:09 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).