I'm proposing to add functionality to allow the user to select a Zotero item (probably much like how it is currently done by org-zotxt-insert-reference-link), then select one of the attachment files from that item, and drop an Org-style link to that file into the buffer.
Some concerns or open questions:
org-zotxt-insert-reference-link and the functions that it calls out to seem to allow for returning multiple Zotero items. It feels to me like it only makes sense in this context to consider one item and then one attachment from that item. I'd prefer to reuse functionality, but it seems a bit weird to take that to the natural conclusion of iteratively selecting multiple attachments from multiple items.
- Should this make use of Org-mode's attachment system, or at least provide a way to choose to do so? And if so, allow for a way to force a method different from
org-attach-method? And what if that method is 'move', potentially causing problems with Zotero?
- Since there are a few ways that
org-attach-attach can store the link to the new attachment (including not doing so at all?), does it make sense to insert the link immediately, or should the user need to do it explicitly using C-c C-l?
Thoughts, @egh ?
I'm proposing to add functionality to allow the user to select a Zotero item (probably much like how it is currently done by
org-zotxt-insert-reference-link), then select one of the attachment files from that item, and drop an Org-style link to that file into the buffer.Some concerns or open questions:
org-zotxt-insert-reference-linkand the functions that it calls out to seem to allow for returning multiple Zotero items. It feels to me like it only makes sense in this context to consider one item and then one attachment from that item. I'd prefer to reuse functionality, but it seems a bit weird to take that to the natural conclusion of iteratively selecting multiple attachments from multiple items.org-attach-method? And what if that method is 'move', potentially causing problems with Zotero?org-attach-attachcan store the link to the new attachment (including not doing so at all?), does it make sense to insert the link immediately, or should the user need to do it explicitly usingC-c C-l?Thoughts, @egh ?