%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/share/emacs/27.2/lisp/org/
Upload File :
Create Path :
Current File : //usr/local/share/emacs/27.2/lisp/org/org-attach.elc

;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.

;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\312\313\302&\210\314\315\316\317\320DD\321\313\306\322\323\324\325&	\210\314\326\316\317\327DD\330\313\306\322\331\332\333\324\334&\210\314\335\316\317\336DD\337\313\306\322\340&\210\314\341\316\317\342DD\343\313\306\332\344\322\345&	\210\314\346\316\317\347DD\350\313\306\322\351&\210\314\352\316\317\353DD\354\313\306\322\331&\210\314\355\316\317\356DD\357\313\306\322\360&\210\314\361\316\317\362DD\363\313\306\364\365\322\366&	\210\314\367\316\317\370DD\371\313\306\364\372\332\373\322\374&\207" [require cl-lib org ol org-id custom-declare-group org-attach nil "Options concerning attachments in Org mode." :tag "Org Attach" :group custom-declare-variable org-attach-id-dir funcall function #[0 "\300\207" [#1="data/"] 1 #1#] "The directory where attachments are stored.\nIf this is a relative path, it will be interpreted relative to the directory\nwhere the Org file lives." :type directory :safe stringp org-attach-dir-relative #[0 "\300\207" [nil] 1] "Non-nil means directories in DIR property are added as relative links.\nDefaults to absolute location." boolean :package-version (Org . "9.3") booleanp org-attach-auto-tag #[0 "\300\207" [#2="ATTACH"] 1 #2#] "Tag that will be triggered automatically when an entry has an attachment." (choice (const :tag "None" nil) (string :tag "Tag")) org-attach-preferred-new-method #[0 "\300\207" [id] 1] "Preferred way to attach to nodes without existing ID and DIR property.\nThis choice is used when adding attachments to nodes without ID\nand DIR properties.\n\nAllowed values are:\n\nid         Create and use an ID parameter\ndir        Create and use a DIR parameter\nask        Ask the user for input of which method to choose\nnil        Prefer to not create a new parameter\n\n           nil means that ID or DIR has to be created explicitly\n           before attaching files." (org . "9.3") (choice (const :tag "ID parameter" id) (const :tag "DIR parameter" dir) (const :tag "Ask user" ask) (const :tag "Don't create" nil)) org-attach-method #[0 "\300\207" [cp] 1] "The preferred method to attach a file.\nAllowed values are:\n\nmv    rename the file to move it into the attachment directory\ncp    copy the file\nln    create a hard link.  Note that this is not supported\n      on all systems, and then the result is not defined.\nlns   create a symbol link.  Note that this is not supported\n      on all systems, and then the result is not defined." (choice (const :tag "Copy" cp) (const :tag "Move/Rename" mv) (const :tag "Hard Link" ln) (const :tag "Symbol Link" lns)) org-attach-expert #[0 "\300\207" [nil] 1] "Non-nil means do not show the splash buffer with the attach dispatcher." org-attach-use-inheritance #[0 "\300\207" [selective] 1] "Attachment inheritance for the outline.\n\nEnabling inheritance for org-attach implies two things.  First,\nthat attachment links will look through all parent headings until\nit finds the linked attachment.  Second, that running org-attach\ninside a node without attachments will make org-attach operate on\nthe first parent heading it finds with an attachment.\n\nSelective means to respect the inheritance setting in\n`org-use-property-inheritance'." (choice (const :tag "Don't use inheritance" nil) (const :tag "Inherit parent node attachments" t) (const :tag "Respect org-use-property-inheritance" selective)) org-attach-store-link-p #[0 "\300\207" [nil] 1] "Non-nil means store a link to a file when attaching it." :version "24.1" (choice (const :tag "Don't store link" nil) (const :tag "Link to origin location" t) (const :tag "Attachment link to the attach-dir location" attached) (const :tag "File link to the attach-dir location" file)) org-attach-archive-delete #[0 "\300\207" [nil] 1] "Non-nil means attachments are deleted upon archiving a subtree.\nWhen set to `query', ask the user instead." "26.1" (Org . "8.3") (choice (const :tag "Never delete attachments" nil) (const :tag "Always delete attachments" t) (const :tag "Query the user" query))] 12)
#@168 Translate an UUID ID into a folder-path.
Default format for how Org translates ID properties to a path for
attachments.  Useful if ID is generated with UUID.

(fn ID)
(defalias 'org-attach-id-uuid-folder-format #[257 "\300\301\302\303\304#\302\304\"#\207" [format "%s/%s" substring 0 2] 7 (#$ . 4474)])
#@205 Translate an ID based on a timestamp to a folder-path.
Useful way of translation if ID is generated based on ISO8601
timestamp.  Splits the attachment folder hierarchy into
year-month, the rest.

(fn ID)
(defalias 'org-attach-id-ts-folder-format #[257 "\300\301\302\303\304#\302\304\"#\207" [format "%s/%s" substring 0 6] 7 (#$ . 4786)])
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313&	\207" [custom-declare-variable org-attach-id-to-path-function-list funcall function #[0 "\300\207" [(org-attach-id-uuid-folder-format org-attach-id-ts-folder-format)] 1] "List of functions parsing an ID string into a folder-path.\nThe first function in this list defines the preferred function\nwhich will be used when creating new attachment folders.  All\nfunctions of this list will be tried when looking for existing\nattachment folders based on ID." :group org-attach :package-version (Org . "9.3") :type (repeat (function :tag "Function with ID as input"))] 10)
#@83 Hook to be called when files have been added or removed to the attachment folder.
(defvar org-attach-after-change-hook nil (#$ . 5764))
#@146 Hook that is invoked by `org-attach-open'.

Created mostly to be compatible with org-attach-git after removing
git-functionality from this file.
(defvar org-attach-open-hook nil (#$ . 5907))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313&	\207" [custom-declare-variable org-attach-commands funcall function #[0 "\300\207" [(((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."))] 1] "The list of commands for the attachment dispatcher.\nEach entry in this list is a list of three elements:\n- A list of keys (characters) to select the command (the fist\n  character in the list is shown in the attachment dispatcher's\n  splash buffer and minibuffer prompt).\n- A command that is called interactively when one of these keys\n  is pressed.\n- A docstring for this command in the attachment dispatcher's\n  splash buffer." :group org-attach :package-version (Org . "9.3") :type (repeat (list (repeat :tag "Keys" character) (function :tag "Command") (string :tag "Docstring")))] 10)
#@116 The dispatcher for attachment commands.
Shows a list of commands and prompts for another key to execute a command.
(defalias 'org-attach #[0 "\305\306\307\"\306C\306\310=\203\"\311`\312\"\206\311`\313\"\262\211\204\"\314\315!\210\211\212\316!\203/\317!q\210\212\214~\210\211\2068`b\210\320\321!\210\212\322 \323\324\325\326\327!\330\"\331$\216	\204}\332\333!\210\334 \210\306\335\336\206b\337\205k\340!?\205p\341\342\343\344\345\346\f\347#\"\260c\210\350\351\333!!\210\343\352\353\354\f\"\260\"\355!\210\356 \240\203\247\242\357>\203\247\360\242\321\"\210\202\220\210\361\333!\203\262\362\333!\210)\210)\363\323\364\365\326\327!\366\"\367\370%\f\"\371\321\"\203\322\372!\202\327\314\373\242\"\262+\262\207" [major-mode org-attach-expert cursor-type header-line-format org-attach-commands org-attach-dir nil no-fs-check org-agenda-mode get-text-property org-hd-marker org-marker error "No item in current line" markerp marker-buffer org-back-to-heading-or-point-min t current-window-configuration make-byte-code 0 "\301\300!\207" vconcat vector [set-window-configuration] 2 org-switch-to-buffer-other-window "*Org Attach*" erase-buffer "Use C-v, M-v, C-n or C-p to navigate." "Attachment folder:\n" "Can't find an existing attachment-folder" file-directory-p "\n(Not yet created)" "\n\n" format "Select an Attachment Command:\n\n%s" mapconcat #[257 "\211:\203[\211@\211:\203V\211@A\211:\203M\211A\211:\203C\211@A\211\2049\300\301\302\303\304\305\211\306&#\266\202\202>\307\310\"\266\202\202H\307\310\"\262\202Q\307\310\"\266\202\202Z\307\310\"\207\307\310\"\207" [format "%c       %s" replace-regexp-in-string "\n\\([	 ]*\\)" "        " nil 1 user-error "Invalid `org-attach-commands' item: %S"] 19 "\n\n(fn ENTRY)"] "\n" org-fit-window-to-buffer get-buffer-window "Select command: [%s]" mapcar caar message read-char-exclusive (14 16 22 134217846) org-scroll get-buffer kill-buffer cl-some 257 "\300\242@>\205\211A@\207" [] 3 "\n\n(fn ENTRY)" commandp call-interactively "No such attachment command: %c"] 15 (#$ . 8410) nil])
#@773 Return the directory associated with the current outline node.
First check for DIR property, then ID property.
`org-attach-use-inheritance' determines whether inherited
properties also will be considered.

If an ID property is found the default mechanism using that ID
will be invoked to access the directory for the current entry.
Note that this method returns the directory as declared by ID or
DIR even if the directory doesn't exist in the filesystem.

If CREATE-IF-NOT-EXIST-P is non-nil, `org-attach-dir-get-create'
is run.  If NO-FS-CHECK is non-nil, the function returns the path
to the attachment even if it has not yet been initialized in the
filesystem.

If no attachment directory can be derived, return nil.

(fn &optional CREATE-IF-NOT-EXISTS-P NO-FS-CHECK)
(defalias 'org-attach-dir #[512 "\301\211\203
\302 \262\202F\303\301\304#\211\262\203\305!\210\202F\303\301\306#\211\262\2031\305!\210\202F\303\301\307#\211\262\203F\305\301!\210\310\311\"\262\203N\202Y\205Y\312!\205Y\207" [org-attach-use-inheritance nil org-attach-dir-get-create org-entry-get "DIR" org-attach-check-absolute-path "ATTACH_DIR" "ID" org-attach-dir-from-id try-all file-directory-p] 8 (#$ . 10512)])
#@261 Return existing or new directory associated with the current outline node.
`org-attach-preferred-new-method' decides how to attach new
directory if neither ID nor DIR property exist.

If the attachment by some reason cannot be created an error will be raised.
(defalias 'org-attach-dir-get-create #[0 "\301\302\303\"\211\204L\302\304=\203\305\306!\210\307 \262\310=\204#\211\311=\203.\312\313\302\314\"!\262\202K\315=\204:\211\316=\203A\317 \262\202K\302=\203K\320\321!\210\210\211\204T\320\322!\210\323!\204_\324\314\"\210\211\207" [org-attach-preferred-new-method org-attach-dir nil no-fs-check ask message "Create new ID [1] property or DIR [2] property for attachments?" read-char-exclusive id 49 org-attach-dir-from-id org-id-get t dir 50 org-attach-set-directory error "No existing directory. DIR or ID property has to be explicitly created" "No attachment directory is associated with the current node" file-directory-p make-directory] 6 (#$ . 11736) nil])
#@320 Returns a folder path based on `org-attach-id-dir' and ID.
If TRY-ALL is non-nil, try all id-to-path functions in
`org-attach-id-to-path-function-list' and return the first path
that exist in the filesystem, or the first one if none exist.
Otherwise only use the first function in that list.

(fn ID &optional TRY-ALL)
(defalias 'org-attach-dir-from-id #[513 "\302@!\302	!\"\203=\211A\211\203-\303!\204-\302@!\302	!\"\262\211A\262\202\303!\2037\2028\266\202\202>\211\207" [org-attach-id-to-path-function-list org-attach-id-dir expand-file-name file-directory-p] 9 (#$ . 12728)])
#@328 Check if we have enough information to root the attachment directory.
When DIR is given, check also if it is already absolute.  Otherwise,
assume that it will be relative, and check if `org-attach-id-dir' is
absolute, or if at least the current buffer has a file name.
Throw an error if we cannot root the directory.

(fn DIR)
(defalias 'org-attach-check-absolute-path #[257 "\211\203\n\301!\206\301!\206\302\303 !\206\304\305!\207" [org-attach-id-dir file-name-absolute-p buffer-file-name buffer-base-buffer error "Need absolute `org-attach-id-dir' to attach in buffers without filename"] 3 (#$ . 13335)])
#@222 Set the DIR node property and ask to move files there.
The property defines the directory that is used for attachments
of the entry.  Creates relative links if `org-attach-dir-relative'
is non-nil.

Return the directory.
(defalias 'org-attach-set-directory #[0 "\303 \304\305\306\307\310\"\"\311\206	!\312\"\313\307\310\n\203\202 #\210\266\203\230\204J\203J\314\315!\203=\316\317\211\211%\210\314\320P!\203J\321\317\"\210\207" [default-directory buffer-file-name org-attach-dir-relative org-attach-dir read-directory-name "Attachment directory: " org-entry-get nil "DIR" file-name-directory file-relative-name org-entry-put yes-or-no-p "Copy over attachments from old directory? " copy-directory t "Delete " delete-directory] 8 (#$ . 13958) nil])
#@348 Removes DIR node property.
If attachment folder is changed due to removal of DIR-property
ask to move attachments to new location and ask to delete old
attachment-folder.

Change of attachment-folder due to unset might be if an ID
property is set on the node, or if a separate inherited
DIR-property exists (that is different from the unset one).
(defalias 'org-attach-unset-directory #[0 "\300 \301\302\303\"\210\301\302\304\"\210\300 \230\206??\2058\211\203,\305\306!\203,\307\310\302\310%\210\305\311P!\2058\312\310\"\207" [org-attach-dir org-entry-delete nil "DIR" "ATTACH_DIR" yes-or-no-p "Copy over attachments from old directory? " copy-directory t "Delete " delete-directory] 8 (#$ . 14734) nil])
#@65 Turn the autotag on or (if OFF is set) off.

(fn &optional OFF)
(defalias 'org-attach-tag #[256 "\205\212\301\302!\210\303\203\304\202\305\")\207" [org-attach-auto-tag org-back-to-heading t org-toggle-tag off on] 4 (#$ . 15458)])
#@23 Turn the autotag off.
(defalias 'org-attach-untag #[0 "\300\301!\207" [org-attach-tag off] 2 (#$ . 15703)])
#@12 

(fn URL)
(defalias 'org-attach-url #[257 "\301\302!)\207" [org-attach-method url org-attach-attach] 3 (#$ . 15817) "MURL of the file to attach: \n"])
#@182 Attach BUFFER-NAME's contents to current outline node.
BUFFER-NAME is a string.  Signals a `file-already-exists' error
if it would overwrite an existing filename.

(fn BUFFER-NAME)
(defalias 'org-attach-buffer #[257 "\300\301!\302\"\303!\203\304\305\306D\"\210\307\310\"\210\311 \210\211\312\313!\314\315\316\317\320!\321\"\322$\216r\211q\210\323!)rq\210\324\325\211\325\315%\210*\266\202\207" [org-attach-dir get-create expand-file-name file-exists-p signal file-already-exists "File exists" run-hook-with-args org-attach-after-change-hook org-attach-tag generate-new-buffer " *temp file*" make-byte-code 0 "\301\300!\205	\302\300!\207" vconcat vector [buffer-name kill-buffer] 2 insert-buffer-substring write-region nil] 12 (#$ . 15978) "bBuffer whose contents should be attached: "])
#@262 Move/copy/link FILE into the attachment directory of the current outline node.
If VISIT-DIR is non-nil, visit the directory with dired.
METHOD may be `cp', `mv', `ln', `lns' or `url' default taken from
`org-attach-method'.

(fn FILE &optional VISIT-DIR METHOD)
(defalias 'org-attach-attach #[769 "\211\206\262\303!\304\305!\306\"\307\267\202A\310\"\210\202A\311\"\210\202A\312\"\210\202A\313\"\210\202A\314\"\210\315\316\"\210\317 \210	\320\267\202w\321\303!P\303!D\nB\202w\322P\303!D\nB\202w\322P\303!D\nB\203\201\323!\202\205\324\325\"\266\202\207" [org-attach-method org-attach-store-link-p org-stored-links file-name-nondirectory org-attach-dir get-create expand-file-name #s(hash-table size 5 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (mv 23 cp 32 ln 41 lns 50 url 59)) rename-file copy-file add-name-to-file make-symbolic-link url-copy-file run-hook-with-args org-attach-after-change-hook org-attach-tag #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (attached 79 t 94 file 109)) "attachment:" "file:" dired message "File %S is now an attachment"] 9 (#$ . 16784) (byte-code "\302\303\304\305!\210\306 \206\f\"	\307E\207" [default-directory current-prefix-arg read-file-name "File to keep as an attachment: " require dired-aux dired-dwim-target-directory nil] 4)])
#@30 Attach a file by copying it.
(defalias 'org-attach-attach-cp #[0 "\301\302\303!)\207" [org-attach-method cp call-interactively org-attach-attach] 2 (#$ . 18170) nil])
#@40 Attach a file by moving (renaming) it.
(defalias 'org-attach-attach-mv #[0 "\301\302\303!)\207" [org-attach-method mv call-interactively org-attach-attach] 2 (#$ . 18344) nil])
#@181 Attach a file by creating a hard link to it.
Beware that this does not work on systems that do not support hard links.
On some systems, this apparently does copy the file instead.
(defalias 'org-attach-attach-ln #[0 "\301\302\303!)\207" [org-attach-method ln call-interactively org-attach-attach] 2 (#$ . 18529) nil])
#@190 Attach a file by creating a symbolic link to it.

Beware that this does not work on systems that do not support symbolic links.
On some systems, this apparently does copy the file instead.
(defalias 'org-attach-attach-lns #[0 "\301\302\303!)\207" [org-attach-method lns call-interactively org-attach-attach] 2 (#$ . 18855) nil])
#@117 Create a new attachment FILE for the current outline node.
The attachment is created as an Emacs buffer.

(fn FILE)
(defalias 'org-attach-new #[257 "\300\301!\302 \210\303\304\"!\210\305\306\"\207" [org-attach-dir get-create org-attach-tag find-file expand-file-name message "New attachment %s"] 6 (#$ . 19192) "sCreate attachment named: "])
#@50 Delete a single attachment.

(fn &optional FILE)
(defalias 'org-attach-delete-one #[256 "\300 \301!\206\302\303\304\305\"\"\306\"\262\307!\204!\310\311\"\210\312!\210\313\314\"\207" [org-attach-dir org-attach-file-list completing-read "Delete attachment: " mapcar #[257 "\300!C\207" [file-name-nondirectory] 3 "\n\n(fn F)"] expand-file-name file-exists-p error "No such attachment: %s" delete-file run-hook-with-args org-attach-after-change-hook] 8 (#$ . 19543) nil])
#@285 Delete all attachments from the current outline node.
This actually deletes the entire attachment directory.
A safer way is to open the directory in dired and delete from there.

With prefix argument FORCE, directory will be recursively deleted
with no prompts.

(fn &optional FORCE)
(defalias 'org-attach-delete-all #[256 "\300 \211\205'\204\301\302!\205'\303\206\301\304!\305#\210\306\307!\210\310\311\"\210\312 \207" [org-attach-dir yes-or-no-p "Really remove all attachments of this entry? " delete-directory "Recursive?" t message "Attachment directory removed" run-hook-with-args org-attach-after-change-hook org-attach-untag] 6 (#$ . 20032) "P"])
#@117 Synchronize the current outline node with its attachments.
This can be used after files have been added externally.
(defalias 'org-attach-sync #[0 "\300 \211\203\301\302\"\210\303!\304?!\266\211?\205\304\305!\207" [org-attach-dir run-hook-with-args org-attach-after-change-hook org-attach-file-list org-attach-tag t] 4 (#$ . 20703) nil])
#@97 Return a list of files in the attachment directory.
This ignores files ending in "~".

(fn DIR)
(defalias 'org-attach-file-list #[257 "\300\301\302\303\304\301\305#\"\"\207" [delq nil mapcar #[257 "\300\301\"?\205	\211\207" [string-match "^\\.\\.?\\'"] 4 "\n\n(fn X)"] directory-files "[^~]\\'"] 9 (#$ . 21055)])
#@236 Show the attachment directory of the current outline node.
This will attempt to use an external program to show the
directory.  Will create an attachment and folder if it doesn't
exist yet.  Respects `org-attach-preferred-new-method'.
(defalias 'org-attach-reveal #[0 "\300\301 !\207" [org-open-file org-attach-dir-get-create] 2 (#$ . 21378) nil])
#@175 Show the attachment directory of the current outline node in dired.
Will create an attachment and folder if it doesn't exist yet.
Respects `org-attach-preferred-new-method'.
(defalias 'org-attach-reveal-in-emacs #[0 "\300\301 !\207" [dired org-attach-dir-get-create] 2 (#$ . 21733) nil])
#@325 Open an attachment of the current outline node.
If there are more than one attachment, you will be prompted for the file name.
This command will open the file using the settings in `org-file-apps'
and in the system-specific variants of this variable.
If IN-EMACS is non-nil, force opening in Emacs.

(fn &optional IN-EMACS)
(defalias 'org-attach-open #[256 "\300 \211\203=\301!\302:\203&@A\211\204\211\262\202!!\266\202\202)\211!\266\202\303\"\304\305\"\210\306\"\266\202\202@\307\310!\207" [org-attach-dir org-attach-file-list #[257 "\300\301\302\303\"\304\305$\207" [completing-read "Open attachment: " mapcar list nil t] 6 "\n\n(fn FILES)"] expand-file-name run-hook-with-args org-attach-open-hook org-open-file error "No attachment directory exist"] 8 (#$ . 22028) "P"])
#@65 Open attachment, force opening in Emacs.
See `org-attach-open'.
(defalias 'org-attach-open-in-emacs #[0 "\300\301!\207" [org-attach-open in-emacs] 2 (#$ . 22831) nil])
#@137 Return the full path to the current entry's attachment file FILE.
Basically, this adds the path to the attachment directory.

(fn FILE)
(defalias 'org-attach-expand #[257 "\300\301 \"\207" [expand-file-name org-attach-dir] 4 (#$ . 23006)])
#@102 Expand links in current buffer.
It is meant to be added to `org-export-before-parsing-hook'.

(fn _)
(defalias 'org-attach-expand-links #[257 "\212\300\301\302\303#\205R\304 \305!\306=\203N\307\310\"\311\230\203N\307\312\"\205-\313\307\312\"\307\314\"\"\307\315\"\316\317\320!P\"\307\321\"b\210\322\302x\210\307\323\"`|\210\211c\266\210\202)\207" [re-search-forward "attachment:" nil t org-element-context org-element-type link org-element-property :type "attachment" :contents-begin buffer-substring-no-properties :contents-end :path org-link-make-string "file:" org-attach-expand :end " 	" :begin] 8 (#$ . 23254)])
#@81 Open FILE attachment.
See `org-open-file' for details about ARG.

(fn FILE ARG)
(defalias 'org-attach-follow #[514 "\300\301!\"\207" [org-link-open-as-file org-attach-expand] 5 (#$ . 23894)])
(org-link-set-parameters "attachment" :follow 'org-attach-follow :complete 'org-attach-complete-link)
#@71 Advise the user with the available files in the attachment directory.
(defalias 'org-attach-complete-link #[0 "\300 \211\203L\301!\302\303\"\304!\304\305!!\306\307\310!\311Q\"\203*\312\313\314\"P\202G\306\307\310!\311Q\301!\"\203D\312\313\314\301!\"P\202G\312P\266\204\202O\315\316!\207" [org-attach-dir expand-file-name read-file-name "File: " file-name-as-directory abbreviate-file-name string-match "^" regexp-quote "\\(.+\\)" "attachment:" match-string 1 error "No attachment directory exist"] 10 (#$ . 24196)])
#@160 Maybe delete subtree attachments when archiving.
This function is called by `org-archive-hook'.  The option
`org-attach-archive-delete' controls its behavior.
(defalias 'org-attach-archive-delete-maybe #[0 "\205\n\301\302=?!\207" [org-attach-archive-delete org-attach-delete-all query] 3 (#$ . 24737)])
#@239 Attach FILES marked or current file in dired to subtree in other window.
Takes the method given in `org-attach-method' for the attach action.
Precondition: Point must be in a dired buffer.
Idea taken from `gnus-dired-attach'.

(fn FILES)
(defalias 'org-attach-dired-to-subtree #[257 "\302=\204\n\303\304!\210\305 \306\307!\211\204\303\310!\210\311!\210\211\203-\211@\312!\210A\266\202\202\210\311!\210	\313=\205:\314 \207" [major-mode org-attach-method dired-mode user-error "This command must be triggered in a dired buffer" selected-window get-window-with-predicate #[257 "r\301!q\210)\302=\207" [major-mode window-buffer org-mode] 3 "\n\n(fn WINDOW)"] "Can't attach to subtree.  No window displaying an Org buffer" select-window org-attach-attach mv revert-buffer] 7 (#$ . 25050) (byte-code "\300 C\207" [dired-get-marked-files] 1)])
(byte-code "\300\301\302\"\210\300\303\304\"\210\305\306!\207" [add-hook org-archive-hook org-attach-archive-delete-maybe org-export-before-parsing-hook org-attach-expand-links provide org-attach] 3)

Zerion Mini Shell 1.0