Bastien writes: > Hi Eric, > > sorry for the late reply -- I don't use attachments that much > but I see how this could be useful once correctly advertized and > documented. > > Eric Abrahamsen writes: > >> Would something along these lines be considered for inclusion? > > Yes, sure, for after 9.4 -- please go ahead with a proper patch. How does this look? It occurred to me that having a global `org-export-directory' option would be a good thing -- it makes sense to me that a user might want all their exported files put in one place -- but in the interest of one-thing-at-a-time I didn't do that. This additional property doesn't actually have anything to do with org-attach. I'd originally thought that, with this option, I could write an export filter that would check for: :EXPORT_DIRECTORY: and replace it to point at whatever the attach dir was/should be for that heading. If that's something that many users would like to have, we could look at adding it in org-attach.el. But in the meantime, the attached patch makes it possible to do it yourself. Thanks, Eric