;ELC
|
;;; Compiled
|
;;; in Emacs version 26.1
|
;;; 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!\207" [require org avl-tree cl-lib] 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 (#$ . 495))
|
#@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 (#$ . 784))
|
#@32 Build variable syntax regexps.
|
(defalias 'org-element--set-regexps #[0 "\306\307\310\307\311\307\312\313\307\314\307\315\307\316\317\307\320\307\321\307\322\307\323\307\324 !\307\n\325\267\202+ \326\202, \327\202, \330\2051 \331\332\333\333\334\260\266\202\335\260\336\337\340\341 !\342\343\344\345\346 8\"P\347\350Q\351\352\353\354\333Q\355\356\357\257\n\262\307#\2110\207" [org-outline-regexp org-clock-string org-plain-list-ordered-item-terminator org-list-allow-alphabetical org-element-paragraph-separate org-emphasis-regexp-components "^\\(?:" "\\|" "\\[fn:[-_[:word:]]+\\]" "%%(" "[ ]*\\(?:" "$" "|" "\\+\\(?:-+\\+\\)+[ ]*$" "#\\(?: \\|$\\|\\+\\(?:" "BEGIN_\\S-+" "\\S-+\\(?:\\[.*\\]\\)?:[ ]*\\)\\)" ":\\(?: \\|$\\|[-_[:word:]]+:[ ]*$\\)" "-\\{5,\\}[ ]*$" "\\\\begin{\\([A-Za-z0-9*]+\\)}" regexp-quote #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (41 35 46 39)) ")" "\\." "[.)]" "\\|[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\\)_" org-element--object-regexp] 35 (#$ . 1122)])
|
(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 (#$ . 2538) 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) (#$ . 2710))
|
#@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) (#$ . 3141))
|
#@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) (#$ . 3402))
|
#@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) (#$ . 3734))
|
#@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)) (#$ . 3935))
|
#@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") (#$ . 4136))
|
#@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")) (#$ . 4479))
|
#@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") (#$ . 4884))
|
#@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") (#$ . 5376))
|
#@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) (#$ . 5690))
|
#@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") (#$ . 5973))
|
#@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 \"!\"\306\312\260\"\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) (#$ . 6428))
|
#@494 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.
|
|
For example, in a `radio-target' object, one can only find
|
entities, latex-fragments, subscript, superscript and text
|
markup.
|
|
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\"\301\303\"\304B\305B\306B\307B\310B\311B\312\301\305\n\"B\313\314\nB\315\316\fB\317 B\320B\321\322\323B\324B\257\207" [org-element-all-objects remq table-cell line-break bold footnote-reference headline inlinetask italic item keyword (link bold code entity export-snippet inline-babel-call inline-src-block italic latex-fragment macro statistics-cookie strike-through subscript superscript underline verbatim) paragraph (radio-target bold code entity italic latex-fragment strike-through subscript superscript underline superscript) strike-through subscript superscript (table-cell bold code entity export-snippet footnote-reference italic latex-fragment link macro radio-target strike-through subscript superscript target timestamp underline verbatim) (table-row table-cell) underline verse-block] 20) (#$ . 7092))
|
#@64 Alist between element types and locations of secondary values.
|
(defconst org-element-secondary-value-alist '((headline :title) (inlinetask :title) (item :tag)) (#$ . 8492))
|
#@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\" |