| Server IP : 217.160.0.212 / Your IP : 216.73.216.140 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/org/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\312\301&\210\313\314\315\316\317DD\320\312\321\312\305\322\323\324\325&\210\313\326\315\316\327DD\330\312\305\324\331&\210\313\332\315\316\333DD\334\324\331\335\336&\210\313\337\315\316\340DD\341\312\305\324\342&\210\313\343\315\316\344DD\345\312\305\324\346&\210\313\347\315\316\350DD\351\312\305\324\352&\210\313\353\315\316\354DD\355\312\305\324\352&\210\313\356\315\316\357DD\360\312\305\324\361&\210\313\362\315\316\363DD\364\312\305\324\352\335\365& \207" [require org org-refile ol custom-declare-group org-id nil "Options concerning global entry identifiers in Org mode." :tag "Org ID" :group custom-declare-variable org-id-link-to-org-use-id funcall function #[0 "\300\207" [nil] 1 #1=""] "Non-nil means storing a link to an Org file will use entry IDs.\n\\<org-mode-map>\nThe variable can have the following values:\n\nt Create an ID if needed to make a link to the current entry.\n\ncreate-if-interactive\n If `org-store-link' is called directly (interactively, as a user\n command), do create an ID to support the link. But when doing the\n job for capture, only use the ID if it already exists. The\n purpose of this setting is to avoid proliferation of unwanted\n IDs, just because you happen to be in an Org file when you\n call `org-capture' that automatically and preemptively creates a\n link. If you do want to get an ID link in a capture template to\n an entry not having an ID, create it first by explicitly creating\n a link to it, using `\\[org-store-link]' first.\n\ncreate-if-interactive-and-no-custom-id\n Like create-if-interactive, but do not create an ID if there is\n a CUSTOM_ID property defined in the entry.\n\nuse-existing\n Use existing ID, do not create one.\n\nnil Never use an ID to make a link, instead link using a text search for\n the headline text." org-link-store :version "24.3" :type (choice (const :tag "Create ID to make link" t) (const :tag "Create if storing link interactively" create-if-interactive) (const :tag "Create if storing link interactively and no CUSTOM_ID is present" create-if-interactive-and-no-custom-id) (const :tag "Only use existing" use-existing) (const :tag "Do not use ID to create link" nil)) org-id-uuid-program #[0 "\300\207" ["uuidgen"] 1 #1#] "The uuidgen program." string org-id-ts-format #[0 "\300\207" ["%Y%m%dT%H%M%S.%6N"] 1 #1#] "Timestamp format for IDs generated using `ts' `org-id-method'.\nThe format should be suitable to pass as an argument to `format-time-string'.\n\nDefaults to ISO8601 timestamps without separators and without\ntimezone, local time and precision down to 1e-6 seconds." :package-version (Org . "9.5") org-id-method #[0 "\300\207" [uuid] 1 #1#] "The method that should be used to create new IDs.\n\nAn ID will consist of the optional prefix specified in `org-id-prefix',\nand a unique part created by the method this variable specifies.\n\nAllowed values are:\n\norg Org's own internal method, using an encoding of the current time to\n microsecond accuracy, and optionally the current domain of the\n computer. See the variable `org-id-include-domain'.\n\nuuid Create random (version 4) UUIDs. If the program defined in\n `org-id-uuid-program' is available it is used to create the ID.\n Otherwise an internal functions is used.\n\nts Create ID's based on timestamps as specified in `org-id-ts-format'." (choice (const :tag "Org's internal method" org) (const :tag "external: uuidgen" uuid) (const :tag "Timestamp with format `org-id-ts-format'" ts)) org-id-prefix #[0 "\300\207" [nil] 1 #1#] "The prefix for IDs.\n\nThis may be a string, or it can be nil to indicate that no prefix is required.\nWhen a string, the string should have no space characters as IDs are expected\nto have no space characters in them." (choice (const :tag "No prefix") (string :tag "Prefix")) org-id-include-domain #[0 "\300\207" [nil] 1 #1#] "Non-nil means add the domain name to new IDs.\nThis ensures global uniqueness of IDs, and is also suggested by\nthe relevant RFCs. This is relevant only if `org-id-method' is\n`org' or `ts'. When uuidgen is used, the domain will never be added.\n\nThe default is to not use this because we have no really good way to get\nthe true domain, and Org entries will normally not be shared with enough\npeople to make this necessary." boolean org-id-track-globally #[0 "\300\207" [t] 1 #1#] "Non-nil means track IDs through files, so that links work globally.\nThis work by maintaining a hash table for IDs and writing this table\nto disk when exiting Emacs. Because of this, it works best if you use\na single Emacs process, not many.\n\nWhen nil, IDs are not tracked. Links to IDs will still work within\na buffer, but not if the entry is located in another file.\nIDs can still be used if the entry with the id is in the same file as\nthe link." org-id-locations-file #[0 "\301\302P!\207" [user-emacs-directory convert-standard-filename ".org-id-locations"] 3 #1#] "The file for remembering in which file an ID was defined.\nThis variable is only relevant when `org-id-track-globally' is set." file org-id-locations-file-relative #[0 "\300\207" [nil] 1 #1#] "Determine if `org-id-locations' should be stored as relative links.\nNon-nil means that links to locations are stored as links\nrelative to the location of where `org-id-locations-file' is\nstored.\n\nNil means to store absolute paths to files.\n\nThis customization is useful when folders are shared across\nsystems but mounted at different roots. Relative path to\n`org-id-locations-file' still has to be maintained across\nsystems." (Org . "9.3")] 12)
#@40 List of files with IDs in those files.
(defvar org-id-locations nil (#$ . 5852))
#@33 List of files that contain IDs.
(defvar org-id-files nil (#$ . 5939))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\310\315&\207" [custom-declare-variable org-id-extra-files funcall function #[0 "\300\207" [org-agenda-text-search-extra-files] 1 #1=""] "Files to be searched for IDs, besides the agenda files.\nWhen Org reparses files to remake the list of files and IDs it is tracking,\nit will normally scan the agenda files, the archives related to agenda files,\nany files that are listed as ID containing in the current register, and\nany Org file currently visited by Emacs.\nYou can list additional files here.\nThis variable is only relevant when `org-id-track-globally' is set." :group org-id :type (choice (symbol :tag "Variable") (repeat :tag "List of files" (file))) org-id-search-archives #[0 "\300\207" [t] 1 #1#] "Non-nil means search also the archive files of agenda files for entries.\nThis is a possibility to reduce overhead, but it means that entries moved\nto the archives can no longer be found by ID.\nThis variable is only relevant when `org-id-track-globally' is set." boolean] 8)
#@183 Create an ID for the current entry and return it.
If the entry already has an ID, just return it.
With optional argument FORCE, force the creation of a new ID.
(fn &optional FORCE)
(defalias 'org-id-get-create #[256 "\211\203\n \300`\301\302#\210\303`\304\"\207" [org-entry-put "ID" nil org-id-get create] 5 (#$ . 7101) "P"])
#@80 Copy the ID of the entry at point to the kill ring.
Create an ID if necessary.
(defalias 'org-id-copy #[0 "\300\301\302\303\"!\207" [org-kill-new org-id-get nil create] 4 (#$ . 7434) nil])
#@175 Tell `org-id-get' to use this as the file name when creating an ID.
This is useful when working with contents in a temporary buffer
that will be copied back to the original.
(defvar org-id-overriding-file-name nil (#$ . 7630))
#@363 Get the ID property of the entry at point-or-marker POM.
If POM is nil, refer to the entry at point.
If the entry does not have an ID, the function returns nil.
However, when CREATE is non-nil, create an ID if none is present already.
PREFIX will be passed through to `org-id-new'.
In any case, the ID of the entry is returned.
(fn &optional POM CREATE PREFIX)
(defalias 'org-id-get #[768 "\212\301!\203\f \302!q\210\212\214~\210\206 `b\210\303\304\305\"\211\203/ \211;\203/ \306\307\"\203/ \211\202K \205K \310!\262\311\305#\210\312\206H \313\314 !\"\210\211\262+\207" [org-id-overriding-file-name markerp marker-buffer org-entry-get nil "ID" string-match "\\S-" org-id-new org-entry-put org-id-add-location buffer-file-name buffer-base-buffer] 8 (#$ . 7864)])
#@307 Use `outline-path-completion' to retrieve the ID of an entry.
TARGETS may be a setting for `org-refile-targets' to define
eligible headlines. When omitted, all headlines in the current
file are eligible. This function returns the ID of the entry.
If necessary, the ID is created.
(fn &optional TARGETS)
(defalias 'org-id-get-with-outline-path-completion #[256 "\211\206 \303\211@@\203 \304\202 \305\306\307\310!\211\205* \311 \3128\206$ \313\314A@!\223\315\316\"\306\211\223\210+\207" [org-refile-targets org-refile-use-outline-path org-refile-target-verify-function ((nil :maxlevel . 10)) file t nil org-refile-get-location "Entry" make-marker 3 1 get-file-buffer org-id-get create] 8 (#$ . 8647)])
#@206 Use an outline-cycling interface to retrieve the ID of an entry.
This only finds entries in the current buffer, using `org-goto-location'.
It returns the ID of the entry. If necessary, the ID is created.
(defalias 'org-id-get-with-outline-drilling #[0 "\300 \211\205\f \301 @\302\223\303\304\"\302\211\223\210\207" [org-goto-location make-marker nil org-id-get create] 6 (#$ . 9367)])
#@110 Switch to the buffer containing the entry with id ID.
Move the cursor to that entry in that buffer.
(fn ID)
(defalias 'org-id-goto #[257 "\300\301\"\211\204
\302\303\"\210\304\305!!\210\211b\210\211\306\211\223\210\307 \207" [org-id-find marker error "Cannot find entry with ID \"%s\"" pop-to-buffer-same-window marker-buffer nil org-show-context] 5 (#$ . 9763) "sID: "])
#@244 Return the location of the entry with the id ID.
The return value is a cons cell (file-name . position), or nil
if there is no entry with that ID.
With optional argument MARKERP, return the position as a new marker.
(fn ID &optional MARKERP)
(defalias 'org-id-find #[513 "9\203
\301!\262\202 \247\203 \302!\262\303!\304\211\203* \305#\262\211\204D \306\304\307\"\210\303!\262\203D \305#\262)\207" [org-agenda-new-buffers symbol-name number-to-string org-id-find-id-file nil org-id-find-id-in-file org-id-update-id-locations t] 9 (#$ . 10147)])
#@425 Create a new globally unique ID.
An ID consists of two parts separated by a colon:
- a prefix
- a unique part that will be created according to `org-id-method'.
PREFIX can specify the prefix, the default is given by the variable
`org-id-prefix'. However, if PREFIX is the symbol `none', don't use any
prefix even if `org-id-prefix' specifies one.
So a typical ID could look like "Org:4nd91V40HI".
(fn &optional PREFIX)
(defalias 'org-id-new #[256 "\211\305=\203\n \306\202 \211\206 \307P\310\307\232\203 \306\262 \311\267\202w \312\n!\310\313\203. \314\202/ \315\306\313\316\306##\266\202\262\317!\204{ \320 \262\202{ \321\322 !\205X \323\324!\210\325\326 PP\266\203\202{ \327\f!\205o \323\324!\210\325\326 PP\266\203\202{ \330\331!\210P\207" [org-id-prefix org-id-method org-id-uuid-program org-id-include-domain org-id-ts-format none "" ":" nil #s(hash-table size 4 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (uuidgen 33 uuid 33 org 72 ts 96)) shell-command-to-string replace-regexp-in-string "\\`\\([ ]*\n\\)+" "\\`[ \n
]+" "[ \n
]+\\'" org-uuidgen-p org-id-uuid org-reverse-string org-id-time-to-b36 require message "@" message-make-fqdn format-time-string error "Invalid `org-id-method'"] 12 (#$ . 10725)])
#@45 Return string with random (version 4) UUID.
(defalias 'org-id-uuid #[0 "\301\302\303\304 \305\306\307\"\262\310 \311 \312 \313 &!\302\314\315\316O\316\317O\320\321O\302\322\323\324\325\326\327\f\321\330O\321\"\"\"\"\330\331O\331\332O&\207" [user-mail-address md5 format "%s%s%s%s%s%s%s" random nil time-convert list user-uid emacs-pid user-full-name recent-keys "%s-%s-4%s-%s%s-%s" 0 8 12 13 16 "%x" logior 128 logand 191 string-to-number 18 20 32] 16 (#$ . 11992)])
#@90 Convert INTEGER between 0 and 61 into a single character 0..9, A..Z, a..z.
(fn INTEGER)
(defalias 'org-id-int-to-b36-one-digit #[257 "\211\300W\203\n \301\\\207\211\302W\203 \303\\\304\\\207\305\306!\207" [10 48 36 97 -10 error "Larger that 35"] 3 (#$ . 12478)])
#@124 Convert character 0..9, A..Z, a..z into a number 0..61.
The input I may be a character, or a single-letter string.
(fn I)
(defalias 'org-id-b36-to-int-one-digit #[257 "\211;\203\n \300!\262\211\301Y\203 \211\302X\203 \211\301Z\207\211\303Y\203, \211\304X\203, \211\303Z\305\\\207\306\307!\207" [string-to-char 48 57 97 122 10 error "Invalid b36 letter"] 3 (#$ . 12752)])
#@169 Convert an INTEGER to a base-36 number represented as a string.
The returned string is padded with leading zeros to LENGTH if necessary.
(fn INTEGER &optional LENGTH)
(defalias 'org-id-int-to-b36 #[513 "\300\211\301V\203 \302\303\304\305\"!!P\262\211\305\245\262\202 \306\206\"