emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FR] Add customization for default answers to `org-attach-set/unset-dire


From: Kepa
Subject: [FR] Add customization for default answers to `org-attach-set/unset-directory' prompt (was: Org-attach risks)
Date: Sat, 30 Mar 2024 13:09:02 +0100

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 (default) - display the prompts
2. 'move - move the attachments form old to new directory (same as yes,
   yes answer)
3. 'copy - copy the attachments, keeping the old directory (yes, no answer)
4. 'keep or nil - keep the attachments in the old directory (no, no answer)
It would solve it. Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]