Variable: org-attach-commands
org-attach-commands is a customizable variable defined in
org-attach.el.gz.
Value
Large value
(((97 1) org-attach-attach
"Select a file and attach it to the task, using `org-attach-method'.")
((99 3) org-attach-attach-cp "Attach a file using copy method.")
((109 13) org-attach-attach-mv "Attach a file using move method.")
((108 12) org-attach-attach-ln "Attach a file using link method.")
((121 25) org-attach-attach-lns
"Attach a file using symbolic-link method.")
((117 21) org-attach-url "Attach a file from URL (downloading it).")
((98) org-attach-buffer
"Select a buffer and attach its contents to the task.")
((110 14) org-attach-new
"Create a new attachment, as an Emacs buffer.")
((122 26) org-attach-sync
"Synchronize the current node with its attachment\n directory, in case you added attachments yourself.\n")
((111 15) org-attach-open "Open current node's attachments.")
((79) org-attach-open-in-emacs
"Like \"o\", but force opening in Emacs.")
((102 6) org-attach-reveal
"Open current node's attachment directory. Create if missing.")
((70) org-attach-reveal-in-emacs
"Like \"f\", but force using Dired in Emacs.\n")
((100 4) org-attach-delete-one
"Delete one attachment, you will be prompted for a file name.")
((68) org-attach-delete-all
"Delete all of a node's attachments. A safer way is\n to open the directory in dired and delete from there.\n")
((115 19) org-attach-set-directory
"Set a specific attachment directory for this entry. Sets DIR property.")
((83 19) org-attach-unset-directory
"Unset the attachment directory for this entry. Removes DIR property.")
((113) (lambda nil (interactive) (message "Abort")) "Abort."))
Documentation
The list of commands for the attachment dispatcher.
Each entry in this list is a list of three elements:
- A list of keys (characters) to select the command (the fist
character in the list is shown in the attachment dispatcher's
splash buffer and minibuffer prompt).
- A command that is called interactively when one of these keys
is pressed.
- A docstring for this command in the attachment dispatcher's
splash buffer.
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-commands
'(((?a ?\C-a) org-attach-attach
"Select a file and attach it to the task, using `org-attach-method'.")
((?c ?\C-c) org-attach-attach-cp
"Attach a file using copy method.")
((?m ?\C-m) org-attach-attach-mv
"Attach a file using move method.")
((?l ?\C-l) org-attach-attach-ln
"Attach a file using link method.")
((?y ?\C-y) org-attach-attach-lns
"Attach a file using symbolic-link method.")
((?u ?\C-u) org-attach-url
"Attach a file from URL (downloading it).")
((?b) org-attach-buffer
"Select a buffer and attach its contents to the task.")
((?n ?\C-n) org-attach-new
"Create a new attachment, as an Emacs buffer.")
((?z ?\C-z) org-attach-sync
"Synchronize the current node with its attachment\n directory, in case \
you added attachments yourself.\n")
((?o ?\C-o) org-attach-open
"Open current node's attachments.")
((?O) org-attach-open-in-emacs
"Like \"o\", but force opening in Emacs.")
((?f ?\C-f) org-attach-reveal
"Open current node's attachment directory. Create if missing.")
((?F) org-attach-reveal-in-emacs
"Like \"f\", but force using Dired in Emacs.\n")
((?d ?\C-d) org-attach-delete-one
"Delete one attachment, you will be prompted for a file name.")
((?D) org-attach-delete-all
"Delete all of a node's attachments. A safer way is\n to open the \
directory in dired and delete from there.\n")
((?s ?\C-s) org-attach-set-directory
"Set a specific attachment directory for this entry. Sets DIR property.")
((?S ?\C-S) org-attach-unset-directory
"Unset the attachment directory for this entry. Removes DIR property.")
((?q) (lambda () (interactive) (message "Abort")) "Abort."))
"The list of commands for the attachment dispatcher.
Each entry in this list is a list of three elements:
- A list of keys (characters) to select the command (the fist
character in the list is shown in the attachment dispatcher's
splash buffer and minibuffer prompt).
- A command that is called interactively when one of these keys
is pressed.
- A docstring for this command in the attachment dispatcher's
splash buffer."
:group 'org-attach
:package-version '(Org . "9.3")
:type '(repeat (list (repeat :tag "Keys" character)
(function :tag "Command")
(string :tag "Docstring"))))