Hello again, this is a reworked version of the last patch I sent for the function org-publish-org-index. It addresses a weekness of the former patch: * foodir/ + bardir/ - somefile * g instead of * g * foodir/bardir/ + somefile Note that foodir/ is empty. Indentation should now correct in all cases. The sitemap now lists the files in alphabetical order. M-x org-version RET Org-mode version 6.04c Sorry, could not pull the current version (git repo not reachable). Diff was created using git-diff org-publish.el