%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/org/ |
Current File : //usr/local/share/emacs/27.2/lisp/org/org-element.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\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\210\300\312!\207" [require avl-tree cl-lib ol org org-compat org-entities org-footnote org-list org-macs org-table] 2) #@228 Regexp to separate paragraphs in an Org buffer. In the case of lines starting with "#" and ":", this regexp is not sufficient to know if point is at a paragraph ending. See `org-element-paragraph-parser' for more information. (defvar org-element-paragraph-separate nil (#$ . 654)) #@282 Regexp possibly matching the beginning of an object. This regexp allows false positives. Dedicated parser (e.g., `org-export-bold-parser') will take care of further filtering. Radio links are not matched by this regexp, as they are treated specially in `org-element--object-lex'. (defvar org-element--object-regexp nil (#$ . 943)) #@32 Build variable syntax regexps. (defalias 'org-element--set-regexps #[0 "\305\306\267\202 \307\202 \310\202 \311 \205 \312\313\314\315\260\266\202\316Q\317\320\321\322 !\323\324\325\326\3278\"P\330\331Q\332\333\334\335\314Q\336\337\340\257\n\262\341#\211\207" [org-plain-list-ordered-item-terminator org-list-allow-alphabetical org-element-paragraph-separate org-emphasis-regexp-components org-element--object-regexp "^\\(?:\\*+ \\|\\[fn:[-_[:word:]]+\\]\\|%%(\\|[ ]*\\(?:$\\||\\|\\+\\(?:-+\\+\\)+[ ]*$\\|#\\(?: \\|$\\|\\+\\(?:BEGIN_\\S-+\\|\\S-+\\(?:\\[.*\\]\\)?:[ ]*\\)\\)\\|:\\(?: \\|$\\|[-_[:word:]]+:[ ]*$\\)\\|-\\{5,\\}[ ]*$\\|\\\\begin{\\([A-Za-z0-9*]+\\)}\\|CLOCK:\\|" #s(hash-table size 2 test eql rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (41 7 46 11)) ")" "\\." "[.)]" "\\|[A-Za-z]" "\\(?:[-+*]\\|\\(?:[0-9]+" "\\)" "\\)\\(?:[ ]\\|$\\)" "\\)\\)" mapconcat identity regexp-opt org-link-types "\\(?:[_^][-{(*+.,[:alnum:]]\\)" "[*~=+_/]" format "[^%s]" 2 "\\<" ":" "\\[\\(?:fn:\\|\\[\\|[0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\|[0-9]*\\(?:%\\|/[0-9]*\\)\\]\\)" "@@" "{{{" "<\\(?:%%\\|<\\|[0-9]\\|" "\\$" "\\\\\\(?:[a-zA-Z[(]\\|\\\\[ ]*$\\|_ +\\)" "\\(?:call\\|src\\)_" "\\|"] 13 (#$ . 1281)]) (org-element--set-regexps) #@26 Update parser internals. (defalias 'org-element-update-syntax #[0 "\300 \210\301\302!\207" [org-element--set-regexps org-element-cache-reset all] 2 (#$ . 2549) nil]) #@33 Complete list of element types. (defconst org-element-all-elements '(babel-call center-block clock comment comment-block diary-sexp drawer dynamic-block example-block export-block fixed-width footnote-definition headline horizontal-rule inlinetask item keyword latex-environment node-property paragraph plain-list planning property-drawer quote-block section special-block src-block table table-row verse-block) (#$ . 2721)) #@55 List of recursive element types aka Greater Elements. (defconst org-element-greater-elements '(center-block drawer dynamic-block footnote-definition headline inlinetask item plain-list property-drawer quote-block section special-block table) (#$ . 3152)) #@32 Complete list of object types. (defconst org-element-all-objects '(bold code entity export-snippet footnote-reference inline-babel-call inline-src-block italic line-break latex-fragment link macro radio-target statistics-cookie strike-through subscript superscript table-cell target timestamp underline verbatim) (#$ . 3413)) #@33 List of recursive object types. (defconst org-element-recursive-objects '(bold footnote-reference italic link subscript radio-target strike-through superscript table-cell underline) (#$ . 3745)) #@68 List of object or element types that can directly contain objects. (defconst org-element-object-containers (append org-element-recursive-objects '(paragraph table-row verse-block)) (#$ . 3946)) #@163 List of affiliated keywords as strings. By default, all keywords setting attributes (e.g., "ATTR_LATEX") are affiliated keywords and need not to be in this list. (defconst org-element-affiliated-keywords '("CAPTION" "DATA" "HEADER" "HEADERS" "LABEL" "NAME" "PLOT" "RESNAME" "RESULT" "RESULTS" "SOURCE" "SRCNAME" "TBLNAME") (#$ . 4147)) #@169 Alist of usual translations for keywords. The key is the old name and the value the new one. The property holding their value will be named after the translated name. (defconst org-element-keyword-translation-alist '(("DATA" . "NAME") ("LABEL" . "NAME") ("RESNAME" . "NAME") ("SOURCE" . "NAME") ("SRCNAME" . "NAME") ("TBLNAME" . "NAME") ("RESULT" . "RESULTS") ("HEADERS" . "HEADER")) (#$ . 4490)) #@411 List of affiliated keywords that can occur more than once in an element. Their value will be consed into a list of strings, which will be returned as the value of the property. This list is checked after translations have been applied. See `org-element-keyword-translation-alist'. By default, all keywords setting attributes (e.g., "ATTR_LATEX") allow multiple occurrences and need not to be in this list. (defconst org-element-multiple-keywords '("CAPTION" "HEADER") (#$ . 4895)) #@244 List of affiliated keywords whose value can be parsed. Their value will be stored as a secondary string: a list of strings and objects. This list is checked after translations have been applied. See `org-element-keyword-translation-alist'. (defconst org-element-parsed-keywords '("CAPTION") (#$ . 5387)) #@118 Alist of parsed keywords and associated properties. This is generated from `org-element-parsed-keywords', which see. (defconst org-element--parsed-properties-alist (mapcar #[257 "\211\300\301\227P!B\207" [intern ":"] 5 "\n\n(fn K)"] org-element-parsed-keywords) (#$ . 5701)) #@377 List of affiliated keywords which can have a secondary value. In Org syntax, they can be written with optional square brackets before the colons. For example, RESULTS keyword can be associated to a hash value with the following: #+RESULTS[hash-string]: some-source This list is checked after translations have been applied. See `org-element-keyword-translation-alist'. (defconst org-element-dual-keywords '("CAPTION" "RESULTS") (#$ . 5984)) #@244 Regexp matching any affiliated keyword. Keyword name is put in match group 1. Moreover, if keyword belongs to `org-element-dual-keywords', put the dual value in match group 2. Don't modify it, set `org-element-affiliated-keywords' instead. (defconst org-element--affiliated-re (byte-code "\302\303\302\304\305!\"\306\302\307\305\310\311 \"!\"\312R\"\207" [org-element-dual-keywords org-element-affiliated-keywords format "[ ]*#\\+\\(?:%s\\):[ ]*" "\\(?1:%s\\)\\(?:\\[\\(.*\\)\\]\\)?" regexp-opt "\\|" "\\(?1:%s\\)" cl-remove-if #[257 "\211\235\207" [org-element-dual-keywords] 3 "\n\n(fn K)"] "\\|\\(?1:ATTR_[-_A-Za-z0-9]+\\)"] 10) (#$ . 6439)) #@367 Alist of objects restrictions. key is an element or object type containing objects and value is a list of types that can be contained within an element or object of such type. This alist also applies to secondary string. For example, an `headline' type element doesn't directly contain objects, but still has an entry since one of its properties (`:title') does. (defconst org-element-object-restrictions (byte-code "\301\302\303\"\302\304\"\305B\306B\307B\310B\311B\312B\313\302\306\n\"B\314\315\316\317\320\321BBBBBB\322\nB\323\fB\324\fB\325 B\326B\303\315\306\314\320\323\327\330BBBBBBBB\331\332B\333B\257\207" [org-element-all-objects (bold code entity italic latex-fragment strike-through subscript superscript underline verbatim) remq table-cell line-break bold footnote-reference headline inlinetask italic item keyword link export-snippet inline-babel-call inline-src-block macro statistics-cookie paragraph radio-target strike-through subscript superscript target timestamp (table-row table-cell) underline verse-block] 25) (#$ . 7098)) #@64 Alist between element types and locations of secondary values. (defconst org-element-secondary-value-alist '((headline :title) (inlinetask :title) (item :tag)) (#$ . 8179)) #@90 Table used internally to pair only round brackets. Other brackets are treated as spaces. (defconst org-element--pair-round-table (byte-code "\300 \301\302\303#\210\301\304\305#\210\306\211\203\"