emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kepa <gnu.cognition199@slmails.com>
To: Ihor Radchenko <yantar92@posteo.net>,emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <171180054871.9.16611536070764328440.297508022@slmails.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 619 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 916 bytes --]

             reply	other threads:[~2024-03-30 12:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-30 12:09 Kepa [this message]
     [not found] <PR3P193MB094240F9BF9D15BCBFC9BAB3D82E2@PR3P193MB0942.EURP193.PROD.OUTLOOK.COM>
2024-03-20 12:20 ` Org-attach risks Ihor Radchenko
     [not found]   ` <171096963729.7.13315176883660452357.290626130@slmails.com>
2024-03-21 13:25     ` [FR] Add customization for default answers to `org-attach-set/unset-directory' prompt (was: Org-attach risks) Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=171180054871.9.16611536070764328440.297508022@slmails.com \
    --to=gnu.cognition199@slmails.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).