Variable: org-attach-preferred-new-method

org-attach-preferred-new-method is a customizable variable defined in org-attach.el.gz.

Value

id

Documentation

Preferred way to attach to nodes without existing ID and DIR property.

This choice is used when adding attachments to nodes without ID and DIR properties.

Allowed values are:

id Create and use an ID parameter
dir Create and use a DIR parameter
ask Ask the user for input of which method to choose
nil Prefer to not create a new parameter

           nil means that ID or DIR has to be created explicitly
           before attaching files.

This variable was added, or its default value changed, in org version
9.3.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-attach.el.gz
(defcustom org-attach-preferred-new-method 'id
  "Preferred way to attach to nodes without existing ID and DIR property.
This choice is used when adding attachments to nodes without ID
and DIR properties.

Allowed values are:

id         Create and use an ID parameter
dir        Create and use a DIR parameter
ask        Ask the user for input of which method to choose
nil        Prefer to not create a new parameter

           nil means that ID or DIR has to be created explicitly
           before attaching files."
  :group 'org-attach
  :package-version '(org . "9.3")
  :type '(choice
	  (const :tag "ID parameter" id)
	  (const :tag "DIR parameter" dir)
	  (const :tag "Ask user" ask)
	  (const :tag "Don't create" nil)))