Hi,
I’ve attached a patch with some suggested additions to org-attach. Patch comments below. Please review.
Kind regards
Gustav
___
Patch comments:
* Add new linktype "attached" for attachments
A new linktype "attached" is added in order to reduce link-duplication
when wanting to link to files in attached folders of nodes. This works
for both ID-based attachments and ATTACH_DIR. Inline images will
trigger also for attachments, as well as search-decorations in the
links. The goal is to make the functionality for attached-links
mirror file-links.
* Add further options for ATTACH_DIR
When working with ATTACH_DIR there are now a couple of new options available:
- org-attach-dir-inherit-by-default
- org-attach-dir-create-if-not-exist
- org-attach-dir-relative
Descriptions of them can be found in the commit for each new customization.
* Documentation in org-manual
Org-manual is updated with the new link-type as well as some minor
cleanup in the documentation related to external links and attachments.