;ELC ;;; Compiled ;;; in Emacs version 26.3 ;;; 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 ob-core org-macs cl-lib] 2) #@77 Update the in-buffer results of code blocks executed to resolve references. (defvar org-babel-update-intermediate nil (#$ . 498)) #@384 Parse a variable ASSIGNMENT in a header argument. If the right hand side of the assignment has a literal value return that value, otherwise interpret it as a reference to an external resource and find its value using `org-babel-ref-resolve'. Return a list with two elements: the name of the variable, and an Emacs Lisp representation of the value of the variable. (fn ASSIGNMENT) (defalias 'org-babel-ref-parse #[257 "\301\302\"\205{\303\304\"\305\306\203\307\202\310\311\306\312\311##\266\202\313\225\305O\305\306\203/\307\2020\310\311\306\312\311##\266\202\314!\212\203Q\315!\203N\316!\202Ob\210\317!)\211\232\203u\320\321\"\203o\322\321\"\203o\323!\202v\324!\202v\211\262B\266\202\207" [org-babel-current-src-block-location string-match "\\(.+?\\)=" match-string 1 nil replace-regexp-in-string "\\`\\([ ]*\n\\)+" "\\`[ \n ]+" "" "[ \n ]+\\'" 0 intern markerp marker-position org-babel-read string-prefix-p "\"" string-suffix-p read org-babel-ref-resolve] 11 (#$ . 635)]) #@11 (fn ID) (defalias 'org-babel-ref-goto-headline-id #[257 "\300\301\"\211\205\n\211b\262\206<\302!\211\205\303\304#\205:\211\205:\305\306\"\210\307\310!!\210\211b\210\211\311\211\223\210\312 \210\313\266\202\207" [org-find-property "CUSTOM_ID" org-id-find-id-file org-id-find-id-in-file marker message "file:%S" pop-to-buffer-same-window marker-buffer nil org-show-context t] 6 (#$ . 1657)]) (defalias 'org-babel-ref-headline-body #[0 "\214\300 \210\212eb\210\301 \210`)d{)\207" [org-narrow-to-subtree org-end-of-meta-data] 2]) #@59 Resolve the reference REF and return its value. (fn REF) (defalias 'org-babel-ref-resolve #[257 "\304 \305\306\307\310\311!\312\"\313$\216r\206pq\210\212\314\315\211\211\211\211\211\211\316\317 \"\203M \306\211\224O\320\321\"\320\322\"U\262\203M\323\324 \"\262 \306\211\224O\262\n\316\325 \"\203\225\323\324 \"\262\323\326 \"\262\323\327 \"\262G\306V\203\225G\306V\203\201\330\331\332!\"\262G\306V\203\222\333\334!\"\262\262\n\316\335 \"\203\262\323\324 \"\262\323\313 \"\262\336!\210\262\n\212\214~\210eb\210\333\337\"\340 !\3412Z\342\315\314#\2031\343 \204\306\344 \345\346\" \232\203-\345\347\"b\210\350!\211\351=\203\376\352\341\353\315\354!#\"\210\202,\211\355=\203\352\341\353\315\211\n?\205#\"\210\202,\356!\211\203'\211\352\341\"\266\202+\357\360!\210\210\210\210\202\306\361\f!\203>\352\341\362 \"\210\363\f! \236A\211\203S\352\341\353\315#\"\210\210\357\364 \"0\2119\203f\365\366\"\202w\203v\211<\203v\367\"\202w\211\266\203+\266\210+\207" [org-babel-exp-reference-buffer case-fold-search org-babel-update-intermediate org-babel-library-of-babel current-window-configuration make-byte-code 0 "\301\300!\207" vconcat vector [set-window-configuration] 2 t nil string-match "\\[\\([^\\[]+\\)\\]$" cl-count 40 41 match-string 1 "^\\(.+?\\)\\(\\[\\(.*\\)\\]\\|\\(\\)\\)(\\(.*\\))$" 3 5 mapcar #[257 "\300B\207" [:var] 3 "\n\n(fn REF)"] org-babel-ref-split-args append org-babel-parse-header-arguments "^\\(.+\\):\\(.+\\)$" find-file ((:results . "silent")) org-babel-named-data-regexp-for-name :found re-search-forward org-in-commented-heading-p org-element-at-point org-element-property :name :post-affiliated org-element-type babel-call throw org-babel-execute-src-block org-babel-lob-get-info src-block org-babel-read-element error "Reference not found" org-babel-ref-goto-headline-id org-babel-ref-headline-body intern "Reference `%s' not found in this buffer" format "%S" org-babel-ref-index-list] 20 (#$ . 2205)]) #@567 Return the subset of LIS indexed by INDEX. Indices are 0 based and negative indices count from the end of LIS, so 0 references the first element of LIS and -1 references the last. If INDEX is separated by ","s then each "portion" is assumed to index into the next deepest nesting or dimension. A valid "portion" can consist of either an integer index, two integers separated by a ":" in which case the entire range is returned, or an empty string or "*" both of which are interpreted to mean the entire range and as such are equivalent to "0:-1". (fn INDEX LIS) (defalias 'org-babel-ref-index-list #[514 "G\300V\203\231\301\302\"\203\231\303G\304\305\"\300\225\306O\307\310\211\311\312\313\314\315\316 !\317\"\320\321%G\300U\204<\301 \"\203\212\311\312\313\322\315\316!\323\"\324\325%\326\327\nG\300V\203x\304\330\f\"\203x\f\331\304\330\"!\"  \331\304\324\"!\"D\202\205\f\300\"  \332\"D\"\"\202\226\331 !\"\n8C\"!\207\207" [0 string-match "^\\([^,]*\\),?" "\\(\\([-[:digit:]]+\\):\\([-[:digit:]]+\\)\\|\\*\\)" match-string 1 nil #[514 "\211\300W\203\n\\\207\207" [0] 4 "\n\n(fn LGTH NUM)"] #[257 "\211<\203\211G\300U\203\211@\207\207" [1] 3 "\n\n(fn LS)"] mapcar make-byte-code 257 "\211<\203\n\301\300\"\207\207" vconcat vector [org-babel-ref-index-list] 4 "\n\n(fn SUB-LIS)" "\211\3008\207" [] 3 "\n\n(fn N)" apply org-number-sequence 2 string-to-number -1] 22 (#$ . 4235)]) #@85 Split ARG-STRING into top-level arguments of balanced parenthesis. (fn ARG-STRING) (defalias 'org-babel-ref-split-args #[257 "\300\301\302\303\"\"\207" [mapcar org-trim org-babel-balanced-split 44] 6 (#$ . 5673)]) (provide 'ob-ref)