all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Org-attach risks
@ 2024-03-17 20:22 Kepa
  2024-03-20 12:20 ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Kepa @ 2024-03-17 20:22 UTC (permalink / raw)
  To: Ihor Radchenko, emacs-orgmode

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

> Kepa<gnu.cognition199@slmails.com>  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 take every time./
>
> May you elaborate on what other behavior you would prefer to see?
>
> -- 
> Ihor Radchenko // yantar92,
Hi Ihor.

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.

Best regards,

Kepa



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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [FR] Add customization for default answers to `org-attach-set/unset-directory' prompt (was: Org-attach risks)
@ 2024-03-30 12:09 Kepa
  0 siblings, 0 replies; 5+ messages in thread
From: Kepa @ 2024-03-30 12:09 UTC (permalink / raw)
  To: Ihor Radchenko, emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-30 12:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-17 20:22 Org-attach risks Kepa
2024-03-20 12:20 ` 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
2024-03-25  9:01       ` [FR] Add whitespace option for :noweb-prefix Chen Mingzheng
  -- strict thread matches above, loose matches on Subject: below --
2024-03-30 12:09 [FR] Add customization for default answers to `org-attach-set/unset-directory' prompt (was: Org-attach risks) Kepa

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.