commit | author | age
|
76bbd0
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file contains utf-8 non-ASCII characters, |
|
7 |
;;; and so cannot be loaded into Emacs 22 or earlier. |
|
8 |
(and (boundp 'emacs-version) |
|
9 |
(< (aref emacs-version (1- (length emacs-version))) ?A) |
|
10 |
(string-lessp emacs-version "23") |
|
11 |
(error "`%s' was compiled for Emacs 23 or later" #$)) |
|
12 |
|
|
13 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
14 |
|
|
15 |
|
|
16 |
(byte-code "\300\301!\210\300\302!\207" [require cl-lib org] 2) |
|
17 |
#@225 Hook for functions attaching to `C-c C-c', if the table is sent. |
|
18 |
This can be used to add additional functionality after the table is sent |
|
19 |
to the receiver position, otherwise, if table is not sent, the functions |
|
20 |
are not run. |
|
21 |
(defvar orgtbl-after-send-table-hook nil (#$ . 473)) |
|
22 |
(defvar org-table-TBLFM-begin-regexp "^[ ]*|.*\n[ ]*#\\+TBLFM: ") |
|
23 |
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\310\315&\210\316\317\320\321\322\323\306\307&\210\300\324\302\303\325DD\326\306\317\310\327&\210\300\330\302\303\331DD\332\306\317\310\333&\210\300\334\302\303\335DD\336\306\317\310\337&\210\316\340\320\341\322\342\306\307&\210\300\343\302\303\344DD\345\306\340\310\311&\210\300\346\302\303\347DD\350\306\340\310\311&\210\300\351\302\303\352DD\353\306\307\354\355\310\311& \210\300\356\302\303\357DD\360\306\340\354\355\310\361& \210\362\356\363\364#\210\300\365\302\303\366DD\367\306\340\310\311&\210\316\370\320\371\322\372\306\307&\210\300\373\302\303\374DD\375\306\370\310\376&\210\300\377\302\303\201@ DD\201A \306\370\354\201B \201C \201D \310\201E &\210\300\201F \302\303\201G DD\201H \306\370\310\201I &\210\300\201J \302\303\201K DD\201L \306\370\354\355\310\201M & \210\300\201N \302\303\201O DD\201P \306\370\354\201B \201C \201Q \310\311\201R \201S &
\210\300\201T \302\303\201U DD\201V \306\317\354\355\310\327& \210\300\201W \302\303\201X DD\201Y \306\370\310\311&\210\300\201Z \302\303\201[ DD\201\\ \306\370\310\311&\210\300\201] \302\303\201^ DD\201_ \306\370\310\201` &\210\300\201a \302\303\201b DD\201c \306\370\310\311&\210\300\201d \302\303\201e DD\201f \306\370\310\201g &\210\300\201h \302\303\201i DD\201j \306\370\354\201B \201C \201k \310\201l &\210\316\201m \320\201n \322\201o \306\307&\210\300\201p \302\303\201q DD\201r \306\201m \310\327&\210\300\201s \302\303\201t DD\201u \306\201m \310\201v \354\201B \201C \201w &\207" [custom-declare-variable orgtbl-optimized funcall function #[0 "\300\207" [t] 1] "Non-nil means use the optimized table editor version for `orgtbl-mode'.\n\nIn the optimized version, the table editor takes over all simple keys that\nnormally just insert a character. In tables, the characters are inserted\nin a way to minimize disturbing the table structure (i.e. in overwrite mode\nfor empty fields). Outside tables, the correct binding of the keys is\nrestored.\n\nChanging this variable requires a restart of Emacs to become\neffective." :group org-table :type boolean orgtbl-radio-table-templates #[0 "\300\207" [((latex-mode "% BEGIN RECEIVE ORGTBL %n\n% END RECEIVE ORGTBL %n\n\\begin{comment}\n#+ORGTBL: SEND %n orgtbl-to-latex :splice nil :skip 0\n| | |\n\\end{comment}\n") (texinfo-mode "@c BEGIN RECEIVE ORGTBL %n\n@c END RECEIVE ORGTBL %n\n@ignore\n#+ORGTBL: SEND %n orgtbl-to-html :splice nil :skip 0\n| | |\n@end ignore\n") (html-mode "<!-- BEGIN RECEIVE ORGTBL %n -->\n<!-- END RECEIVE ORGTBL %n -->\n<!--\n#+ORGTBL: SEND %n orgtbl-to-html :splice nil :skip 0\n| | |\n-->\n") (org-mode "#+ BEGIN RECEIVE ORGTBL %n\n#+ END RECEIVE ORGTBL %n\n\n#+ORGTBL: SEND %n orgtbl-to-orgtbl :splice nil :skip 0\n| | |\n"))] 1] "Templates for radio tables in different major modes.\nEach template must define lines that will be treated as a comment and that\nmust contain the \"BEGIN RECEIVE ORGTBL %n\" and \"END RECEIVE ORGTBL\"\nlines where \"%n\" will be replaced with the name of the table during\ninsertion of the template. The transformed table will later be inserted\nbetween these lines.\n\nThe template should also contain a minimal table in a multiline comment.\nIf multiline comments are not possible in the buffer language,\nyou can pack it into a string that will not be used when the code\nis compiled or executed. Above the table will you need a line with\nthe fixed string \"#+ORGTBL: SEND\", followed by instruction on how to\nconvert the table into a data structure useful in the\nlanguage of the buffer. Check the manual for the section on\n\"Translator functions\", and more generally check out\nthe Info node `(org)Tables in arbitrary syntax'.\n\nAll occurrences of %n in a template will be replaced with the name of the\ntable, obtained by prompting the user." (repeat (list (symbol :tag "Major mode") (string :tag "Format"))) custom-declare-group org-table-settings nil "Settings for tables in Org mode." :tag "Org Table Settings" org-table-default-size #[0 "\300\207" [#1="5x2"] 1 #1#] "The default size for newly created tables, Columns x Rows." string org-table-number-regexp #[0 "\300\207" [#2="^\\([<>]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%:]*\\|[<>]?[-+]?0[xX][0-9a-fA-F.]+\\|[<>]?[-+]?[0-9]+#[0-9a-zA-Z.]+\\|nan\\|[-+u]?inf\\)$"] 1 #2#] "Regular expression for recognizing numbers in table columns.\nIf a table column contains mostly numbers, it will be aligned to the\nright. If not, it will be aligned to the left.\n\nThe default value of this option is a regular expression which allows\nanything which looks remotely like a number as used in scientific\ncontext. For example, all of the following will be considered a\nnumber:\n 12 12.2 2.4e-08 2x10^12 4.034+-0.02 2.7(10) >3.5\n\nOther options offered by the customize interface are more restrictive." (choice (const :tag "Positive Integers" "^[0-9]+$") (const :tag "Integers" "^[-+]?[0-9]+$") (const :tag "Floating Point Numbers" "^[-+]?\\([0-9]*\\.[0-9]+\\|[0-9]+\\.[0-9]*\\)$") (const :tag "Floating Point Number or Integer" "^[-+]?\\([0-9]*\\.[0-9]+\\|[0-9]+\\.?[0-9]*\\)$") (const :tag "Exponential, Floating point, Integer" "^[-+]?[0-9.]+\\([eEdD][-+0-9]+\\)?$") (const :tag "Very General Number-Like, including hex and Calc radix" "^\\([<>]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%]*\\|[<>]?[-+]?0[xX][0-9a-fA-F.]+\\|[<>]?[-+]?[0-9]+#[0-9a-zA-Z.]+\\|nan\\|[-+u]?inf\\)$") (const :tag "Very General Number-Like, including hex and Calc radix, allows comma as decimal mark" "^\\([<>]?[-+^.,0-9]*[0-9][-+^.0-9eEdDx()%]*\\|[<>]?[-+]?0[xX][0-9a-fA-F.]+\\|[<>]?[-+]?[0-9]+#[0-9a-zA-Z.]+\\|nan\\|[-+u]?inf\\)$") (string :tag "Regexp:")) org-table-number-fraction #[0 "\300\207" [0.5] 1] "Fraction of numbers in a column required to make the column align right.\nIn a column all non-white fields are considered. If at least\nthis fraction of fields is matched by `org-table-number-regexp',\nalignment to the right border applies." number org-table-editing "Behavior of tables during editing in Org mode." "Org Table Editing" org-table-automatic-realign #[0 "\300\207" [t] 1] "Non-nil means automatically re-align table when pressing TAB or RETURN.\nWhen nil, aligning is only done with `\\[org-table-align]', or after column\nremoval/insertion." org-table-auto-blank-field #[0 "\300\207" [t] 1] "Non-nil means automatically blank table field when starting to type into it.\nThis only happens when typing immediately after a field motion\ncommand (TAB, S-TAB or RET)." org-table-exit-follow-field-mode-when-leaving-table #[0 "\300\207" [t] 1] "Non-nil means automatically exit the follow mode.\nWhen nil, the follow mode will stay on and be active in any table\nthe cursor enters. Since the table follow filed mode messes with the\nwindow configuration, it is not recommended to set this variable to nil,\nexcept maybe locally in a special file that has mostly tables with long\nfields." :version "24.1" org-table-fix-formulas-confirm #[0 "\300\207" [nil] 1] "Whether the user should confirm when Org fixes formulas." (choice (const :tag "with yes-or-no" yes-or-no-p) (const :tag "with y-or-n" y-or-n-p) (const :tag "no confirmation" nil)) put safe-local-variable #[257 "\211\300\235\207" [(yes-or-no-p y-or-n-p)] 3 "\n\n(fn X)"] org-table-tab-jumps-over-hlines #[0 "\300\207" [t] 1] "Non-nil means tab in the last column of a table with jump over a hline.\nIf a horizontal separator line is following the current line,\n`org-table-next-field' can either create a new row before that line, or jump\nover the line. When this option is nil, a new line will be created before\nthis line." org-table-calculation "Options concerning tables in Org mode." "Org Table Calculation" org-table-use-standard-references #[0 "\300\207" [from] 1] "Non-nil means using table references like B3 instead of @3$2.\nPossible values are:\nnil never use them\nfrom accept as input, do not present for editing\nt accept as input and present for editing" (choice (const :tag "Never, don't even check user input for them" nil) (const :tag "Always, both as user input, and when editing" t) (const :tag "Convert user input, don't offer during editing" from)) org-table-copy-increment #[0 "\300\207" [t] 1] "Non-nil means increment when copying current field with `\\[org-table-copy-down]'." "26.1" :package-version (Org . "8.3") (choice (const :tag "Use the difference between the current and the above fields" t) (integer :tag "Use a number" 1) (const :tag "Don't increment the value when copying a field" nil)) org-calc-default-modes #[0 "\300\207" [(calc-internal-prec 12 calc-float-format (float 8) calc-angle-mode deg calc-prefer-frac nil calc-symbolic-mode nil calc-date-format (YYYY "-" MM "-" DD " " Www (" " hh ":" mm)) calc-display-working-message t)] 1] "List with Calc mode settings for use in `calc-eval' for table formulas.\nThe list must contain alternating symbols (Calc modes variables and values).\nDon't remove any of the default settings, just change the values. Org mode\nrelies on the variables to be present in the list." plist org-table-duration-custom-format #[0 "\300\207" [hours] 1] "Format for the output of calc computations like $1+$2;t.\nThe default value is `hours', and will output the results as a\nnumber of hours. Other allowed values are `seconds', `minutes' and\n`days', and the output will be a fraction of seconds, minutes or\ndays. `hh:mm' selects to use hours and minutes, ignoring seconds.\nThe `U' flag in a table formula will select this specific format for\na single formula." (choice (symbol :tag "Seconds" 'seconds) (symbol :tag "Minutes" 'minutes) (symbol :tag "Hours " 'hours) (symbol :tag "Days " 'days) (symbol :tag "HH:MM " 'hh:mm)) org-table-duration-hour-zero-padding #[0 "\300\207" [t] 1] "Non-nil means hours in table duration computations should be zero-padded.\nSo this is about 08:32:34 versus 8:33:34." (Org . "9.1") :safe booleanp org-table-formula-field-format #[0 "\300\207" [#3="%s"] 1 #3#] "Format for fields which contain the result of a formula.\nFor example, using \"~%s~\" will display the result within tilde\ncharacters. Beware that modifying the display can prevent the\nfield from being used in another formula." org-table-formula-evaluate-inline #[0 "\300\207" [t] 1] "Non-nil means TAB and RET evaluate a formula in current table field.\nIf the current field starts with an equal sign, it is assumed to be a formula\nwhich should be evaluated as described in the manual and in the documentation\nstring of the command `org-table-eval-formula'. This feature requires the\nEmacs calc package.\nWhen this variable is nil, formula calculation is only available through\nthe command `\\[org-table-eval-formula]'." org-table-formula-use-constants #[0 "\300\207" [t] 1] "Non-nil means interpret constants in formulas in tables.\nA constant looks like `$c' or `$Grav' and will be replaced before evaluation\nby the value given in `org-table-formula-constants', or by a value obtained\nfrom the `constants.el' package." org-table-formula-constants #[0 "\300\207" [nil] 1] "Alist with constant names and values, for use in table formulas.\nThe car of each element is a name of a constant, without the `$' before it.\nThe cdr is the value as a string. For example, if you'd like to use the\nspeed of light in a formula, you would configure\n\n (setq org-table-formula-constants \\='((\"c\" . \"299792458.\")))\n\nand then use it in an equation like `$1*$c'.\n\nConstants can also be defined on a per-file basis using a line like\n\n#+CONSTANTS: c=299792458. pi=3.14 eps=2.4e-6" (repeat (cons (string :tag "name") (string :tag "value"))) org-table-allow-automatic-line-recalculation #[0 "\300\207" [t] 1] "Non-nil means lines marked with |#| or |*| will be recomputed automatically.\n\\<org-mode-map>Automatically means when `TAB' or `RET' or `\\[org-ctrl-c-ctrl-c]' are pressed in the line." org-table-relative-ref-may-cross-hline #[0 "\300\207" [t] 1] "Non-nil means relative formula references may cross hlines.\nHere are the allowed values:\n\nnil Relative references may not cross hlines. They will reference the\n field next to the hline instead. Coming from below, the reference\n will be to the field below the hline. Coming from above, it will be\n to the field above.\nt Relative references may cross hlines.\nerror An attempt to cross a hline will throw an error.\n\nIt is probably good to never set this variable to nil, for the sake of\nportability of tables." (choice (const :tag "Allow to cross" t) (const :tag "Stick to hline" nil) (const :tag "Error on attempt to cross" error)) org-table-formula-create-columns #[0 "\300\207" [nil] 1] "Non-nil means evaluation of formula can add new columns.\nWhen non-nil, evaluating an out-of-bounds field can insert as\nmany columns as needed. When set to `warn', issue a warning when\ndoing so. When set to `prompt', ask user before creating a new\ncolumn. Otherwise, throw an error." (Org . "8.3") (choice (const :tag "Out-of-bounds field generates an error (default)" nil) (const :tag "Out-of-bounds field silently adds columns as needed" t) (const :tag "Out-of-bounds field adds columns, but issues a warning" warn) (const :tag "Prompt user when setting an out-of-bounds field" prompt)) org-table-import-export "Options concerning table import and export in Org mode." "Org Table Import Export" org-table-export-default-format #[0 "\300\207" [#4="orgtbl-to-tsv"] 1 #4#] "Default export parameters for `org-table-export'.\nThese can be overridden for a specific table by setting the\nTABLE_EXPORT_FORMAT property. See the manual section on orgtbl\nradio tables for the different export transformations and\navailable parameters." org-table-convert-region-max-lines #[0 "\300\207" [999] 1] "Max lines that `org-table-convert-region' will attempt to process.\n\nThe function can be slow on larger regions; this safety feature\nprevents it from hanging emacs." integer (Org . "8.3")] 14) |
|
24 |
#@60 Regexp matching a line marked for automatic recalculation. |
|
25 |
(defconst org-table-auto-recalculate-regexp "^[ ]*| *# *\\(|\\|$\\)" (#$ . 14831)) |
|
26 |
#@50 Regexp matching a line marked for recalculation. |
|
27 |
(defconst org-table-recalculate-regexp "^[ ]*| *[#*] *\\(|\\|$\\)" (#$ . 14980)) |
|
28 |
#@48 Regexp matching a line marked for calculation. |
|
29 |
(defconst org-table-calculate-mark-regexp "^[ ]*| *[!$^_#*] *\\(|\\|$\\)" (#$ . 15117)) |
|
30 |
#@48 Regexp matching any line outside an Org table. |
|
31 |
(defconst org-table-border-regexp "^[ ]*[^| ]" (#$ . 15259)) |
|
32 |
(defvar org-table-last-highlighted-reference nil) |
|
33 |
(defvar org-table-formula-history nil) |
|
34 |
#@108 Alist with column names, derived from the `!' line. |
|
35 |
This variable is initialized with `org-table-analyze'. |
|
36 |
(defvar org-table-column-names nil (#$ . 15465)) |
|
37 |
#@110 Regular expression matching the current column names. |
|
38 |
This variable is initialized with `org-table-analyze'. |
|
39 |
(defvar org-table-column-name-regexp nil (#$ . 15628)) |
|
40 |
#@111 Alist with parameter names, derived from the `$' line. |
|
41 |
This variable is initialized with `org-table-analyze'. |
|
42 |
(defvar org-table-local-parameters nil (#$ . 15799)) |
|
43 |
#@311 Alist with locations of named fields. |
|
44 |
Associations follow the pattern (NAME LINE COLUMN) where |
|
45 |
NAME is the name of the field as a string, |
|
46 |
LINE is the number of lines from the beginning of the table, |
|
47 |
COLUMN is the column of the field, as an integer. |
|
48 |
This variable is initialized with `org-table-analyze'. |
|
49 |
(defvar org-table-named-field-locations nil (#$ . 15969)) |
|
50 |
#@90 Table row types in current table. |
|
51 |
This variable is initialized with `org-table-analyze'. |
|
52 |
(defvar org-table-current-line-types nil (#$ . 16343)) |
|
53 |
#@99 Current table begin position, as a marker. |
|
54 |
This variable is initialized with `org-table-analyze'. |
|
55 |
(defvar org-table-current-begin-pos nil (#$ . 16493)) |
|
56 |
#@92 Number of columns in current table. |
|
57 |
This variable is initialized with `org-table-analyze'. |
|
58 |
(defvar org-table-current-ncol nil (#$ . 16651)) |
|
59 |
#@170 Vector of data line line numbers in the current table. |
|
60 |
Line numbers are counted from the beginning of the table. This |
|
61 |
variable is initialized with `org-table-analyze'. |
|
62 |
(defvar org-table-dlines nil (#$ . 16798)) |
|
63 |
#@166 Vector of hline line numbers in the current table. |
|
64 |
Line numbers are counted from the beginning of the table. This |
|
65 |
variable is initialized with `org-table-analyze'. |
|
66 |
(defvar org-table-hlines nil (#$ . 17017)) |
|
67 |
#@53 Regular expression for matching ranges in formulas. |
|
68 |
(defconst org-table-range-regexp "@\\([-+]?I*[-+]?[0-9]*\\)?\\(\\$[-+]?[0-9]+\\)?\\(\\.\\.@?\\([-+]?I*[-+]?[0-9]*\\)?\\(\\$[-+]?[0-9]+\\)?\\)?" (#$ . 17231)) |
|
69 |
#@38 Match a range for reference display. |
|
70 |
(defconst org-table-range-regexp2 "\\(@[-0-9I$&]+\\|[a-zA-Z]\\{1,2\\}\\([0-9]+\\|&\\)\\|\\$[a-zA-Z0-9]+\\)\\.\\.\\(@?[-0-9I$&]+\\|[a-zA-Z]\\{1,2\\}\\([0-9]+\\|&\\)\\|\\$[a-zA-Z0-9]+\\)" (#$ . 17447)) |
|
71 |
#@66 Match a reference that needs translation, for reference display. |
|
72 |
(defconst org-table-translate-regexp "\\(@[-0-9I$]+\\|[a-zA-Z]\\{1,2\\}\\([0-9]+\\|&\\)\\)" (#$ . 17690)) |
|
73 |
#@116 Save current field; execute BODY; restore field. |
|
74 |
Field is restored even in case of abnormal exit. |
|
75 |
|
|
76 |
(fn &rest BODY) |
|
77 |
(defalias 'org-table-save-field '(macro . #[128 "\300\301!\300\302!\303\304B\305BD\306\307B\310D\311D\312\313BB\257E\207" [make-symbol "--line" "--column" let ((copy-marker (line-beginning-position))) ((org-table-current-column)) unwind-protect progn goto-char org-table-goto-column set-marker (nil)] 12 (#$ . 17868)])) |
|
78 |
(put 'org-table-save-field 'edebug-form-spec '(body)) |
|
79 |
#@135 Use the table.el package to insert a new table. |
|
80 |
If there is already a table at point, convert between Org tables |
|
81 |
and table.el tables. |
|
82 |
(defalias 'org-table-create-with-table\.el #[0 "\300\301!\210\302 \203 \303\304!\205& |