%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/org/ |
Current File : //usr/local/share/emacs/27.2/lisp/org/ob-table.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!\207" [require ob-core org-macs] 2) #@158 Replace newline character with ellipses. If STRING ends in a newline character, then remove the newline character and replace it with ellipses. (fn STRING) (defalias 'org-babel-table-truncate-at-newline #[257 "\211;\203 \300\301\"\203 \302\303\211\224#\304\305\"\205 \306P\207\207" [string-match "[\n ]\\(.\\)?" substring 0 match-string 1 "..."] 5 (#$ . 479)]) #@1124 Return the results of calling SOURCE-BLOCK with VARIABLES. Each element of VARIABLES should be a list of two elements: the first element is the name of the variable and second element is a string of its value. So this `org-sbe' construct (org-sbe "source-block" (n $2) (m 3)) is the equivalent of the following source code block: #+begin_src emacs-lisp :var results=source-block(n=val_at_col_2, m=3) :results silent results #+end_src NOTE: The quotation marks around the function name, 'source-block', are optional. NOTE: By default, string variable names are interpreted as references to source-code blocks, to force interpretation of a cell's value as a string, prefix the identifier a "$" (e.g., "$$2" instead of "$2" or "$@2$2" instead of "@2$2"). NOTE: It is also possible to pass header arguments to the code block. In this case a table cell should hold the string value of the header argument which can then be passed before all variables as shown in the example below. | 1 | 2 | :file nothing.png | nothing.png | #+TBLFM: @1$4=\='(org-sbe test-sbe $3 (x $1) (y $2)) (fn SOURCE-BLOCK &rest VARIABLES) (defalias 'org-sbe '(macro . #[385 "\211@;\203 \211@\202\f \300@;\203 A\202 \301C\302\303\304\305\306\307!\310\"\311\312%\";\2045 \313!\262\203m G\314V\203m \315\316\317\320 \321 \322\323\324\325\326\fD\327BBB\330BBBBBBBBD!\331\301\332\333E\334#\262\202n \300\211;\203w \211\202{ \335\336\"\301\337\203\205 \340\202\206 \341\300\337\342\300##\266\202\262\266\202\207" ["" nil mapcar make-byte-code 257 "\211@\301\302\303\304\305\306\307\310\300!\311\"\312\313%A\"\"B\207" vconcat vector [delq nil mapcar make-byte-code 257 "\211\302=\203\f \303\300\304\240\210\207\300\242\203 \305\306\"\202= \211;\203<