Thibault Marin <thibault.ma...@gmx.com> writes: > 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.
I think this is a genuine bug. Exclude regexp should be matched against relative file names, not absolute ones. I fixed it in wip-sitemap. You may want to rebase the branch if you want to experiment with the fix. Thank you for the explanation. Regards,