Org-attach risks

2024-03-14 Thread Kepa
Hi Each time I change the DIR property for attachments, I have to answer correctly two questions: if I want to move every file to the new path, and if I want to delete the old folder. Is it possible to not receive these questions? For me, it's a big risk I don't want to take every time. Best r

Re: Org-attach risks

2024-03-14 Thread Ihor Radchenko
Kepa writes: > Each time I change the DIR property for attachments, I have to answer > correctly two questions: if I want to move every file to the new path, and if > I want to delete the old folder. > > Is it possible to not receive these questions? > For me, it's a big risk I don't want to ta

Re: Org-attach risks

2024-03-17 Thread Kepa
Kepa writes: >/Each time I change the DIR property for attachments, I have to answer / >/correctly two questions: if I want to move every file to the new path, and if / >/I want to delete the old folder./ > >/Is it possible to not receive these questions?/ >/For me, it's a big risk I don't wan

Re: Org-attach risks

2024-03-20 Thread Ihor Radchenko
Kepa writes: > It would be enough to have the option to not having those prompt. > > If I could set it to don't offer to copy files, and the option to don't > offer to delete old folder, it would be enough. Would you be interested to submit a patch? See https://orgmode.org/worg/org-contribute.h

[FR] Add customization for default answers to `org-attach-set/unset-directory' prompt (was: Org-attach risks)

2024-03-21 Thread Ihor Radchenko
[ Adding Org mailing list back to CC. Please use "Reply all" to keep the discussion public ] Kepa writes: > I don't know enough to upload a patch, I barely know what is a patch... No problem. Then, I will turn this discussion into a feature request. It may be eventually implemented by other i

[FR] Add customization for default answers to `org-attach-set/unset-directory' prompt (was: Org-attach risks)

2024-03-30 Thread Kepa
Hi Ihor In addition to the sequence of prompts when changing the attachment directory: 1. Copy over attachments from old attachment directory to new one? 2. Delete old attachment directory? we can introduce a custom variable `org-attach-move-attachments' with the following values: 1. 'ask (d