Hello, When I set org-attach-archive-delete to query, Org is supposed to ask me for confirmation when archiving entries with attachments. However, I am always asked for confirmation, regardless if the item has attachments in the first place. This is to me clearly undesirable behavior.
Looking at the source code for org-attach, at line 573, that's indeed what code tells us. https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-attach.el My uninformed suggestion is to call org-attach-delete-all without the force parameter, using the confirmation code already in org-attach-delete-all. Unfortunately, I'm not skilled enough in Elisp or knowledgeable in Org source code to provide a reasonable patch. Thanks!