Server IP : 111.118.215.189 / Your IP : 18.117.158.174 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/org/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:03 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/org/org-table.el ;;; in Emacs version 24.3.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'org) #@225 Hook for functions attaching to `C-c C-c', if the table is sent. This can be used to add additional functionality after the table is sent to the receiver position, otherwise, if table is not sent, the functions are not run. (defvar orgtbl-after-send-table-hook nil (#$ . 572)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\305\306\313&\210\314\315\316\317\320\321\304\305&\210\300\322\323\324\304\315\306\325&\210\300\326\327\330\304\315\306\331&\210\300\332\333\334\304\315\306\335&\210\314\336\316\337\320\340\304\305&\210\300\341\342\343\304\336\306\307&\210\300\344\342\345\304\336\306\307&\210\300\346\342\347\304\305\350\351\306\307& \210\300\352\316\353\304\336\350\351\306\354& \210\355\352\356\357#\210\300\360\342\361\304\336\306\307&\210\314\362\316\363\320\364\304\305&\210\300\365\366\367\304\362\306\370&\210\300\371\342\372\304\362\306\307&\210\300\373\374\375\304\362\306\376&\210\300\377\201@ \201A \304\362\350\351\306\201B & \210\300\201C \201D \201E \304\315\350\351\306\325& \210\300\201F \342\201G \304\362\306\307&\210\300\201H \342\201I \304\362\306\307&\210\300\201J \316\201K \304\362\306\201L &\210\300\201M \342\201N \304\362\306\307&\210\300\201O \342\201P \304\305\306\307&\210\300\201Q \342\201R \304\362\306\201S &\210\314\201T \316\201U \320\201V \304\305&\210\300\201W \201X \201Y \304\201T \306\325&\207" [custom-declare-variable orgtbl-optimized (eq org-enable-table-editor 'optimized) "Non-nil means use the optimized table editor version for `orgtbl-mode'.\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\nThe default for this option is t if the optimized version is also used in\nOrg-mode. See the variable `org-enable-table-editor' for details. Changing\nthis variable requires a restart of Emacs to become effective." :group org-table :type boolean orgtbl-radio-table-templates '((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")) "Templates for radio tables in different major modes.\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 "5x2" "The default size for newly created tables, Columns x Rows." string org-table-number-regexp "^\\([<>]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%:]*\\|\\(0[xX]\\)[0-9a-fA-F]+\\|nan\\)$" "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" "^\\([<>]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%]*\\|\\(0[xX]\\)[0-9a-fA-F]+\\|nan\\)$") (const :tag "Very General Number-Like, including hex, allows comma as decimal mark" "^\\([<>]?[-+^.,0-9]*[0-9][-+^.0-9eEdDx()%]*\\|\\(0[xX]\\)[0-9a-fA-F]+\\|nan\\)$") (string :tag "Regexp:")) org-table-number-fraction 0.5 "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 t "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 "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).\nOnly relevant when `org-enable-table-editor' is equal to `optimized'." org-table-exit-follow-field-mode-when-leaving-table "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 "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 #[(x) "\301\235\207" [x (yes-or-no-p y-or-n-p)] 2] org-table-tab-jumps-over-hlines "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 'from "Should org-mode work with 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 "Non-nil means increment when copying current field with \\[org-table-copy-down]." org-calc-default-modes '(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) "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 'hours "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." (choice (symbol :tag "Seconds" 'seconds) (symbol :tag "Minutes" 'minutes) (symbol :tag "Hours " 'hours) (symbol :tag "Days " 'days)) org-table-formula-field-format "%s" "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 "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 "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 "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 "Non-nil means lines marked with |#| or |*| will be recomputed automatically.\nAutomatically means when TAB or RET or C-c C-c are pressed in the line." org-table-error-on-row-ref-crossing-hline "OBSOLETE VARIABLE, please see `org-table-relative-ref-may-cross-hline'." org-table-relative-ref-may-cross-hline "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-import-export "Options concerning table import and export in Org-mode." "Org Table Import Export" org-table-export-default-format "orgtbl-to-tsv" "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."] 10) #@58 Detects a table line marked for automatic recalculation. (defconst org-table-auto-recalculate-regexp "^[ ]*| *# *\\(|\\|$\\)" (#$ . 11642)) #@58 Detects a table line marked for automatic recalculation. (defconst org-table-recalculate-regexp "^[ ]*| *[#*] *\\(|\\|$\\)" (#$ . 11789)) #@58 Detects a table line marked for automatic recalculation. (defconst org-table-calculate-mark-regexp "^[ ]*| *[!$^_#*] *\\(|\\|$\\)" (#$ . 11934)) #@87 Searching from within a table (any type) this finds the first line outside the table. (defconst org-table-border-regexp "^[ ]*[^| ]" (#$ . 12086)) (defvar org-table-last-highlighted-reference nil) (defvar org-table-formula-history nil) #@53 Alist with column names, derived from the `!' line. (defvar org-table-column-names nil (#$ . 12330)) #@55 Regular expression matching the current column names. (defvar org-table-column-name-regexp nil (#$ . 12437)) #@56 Alist with parameter names, derived from the `$' line. (defvar org-table-local-parameters nil (#$ . 12552)) #@39 Alist with locations of named fields. (defvar org-table-named-field-locations nil (#$ . 12666)) #@62 Table row types, non-nil only for the duration of a command. (defvar org-table-current-line-types nil (#$ . 12768)) #@63 Table begin line, non-nil only for the duration of a command. (defvar org-table-current-begin-line nil (#$ . 12890)) #@67 Table begin position, non-nil only for the duration of a command. (defvar org-table-current-begin-pos nil (#$ . 13013)) #@73 Number of columns in table, non-nil only for the duration of a command. (defvar org-table-current-ncol nil (#$ . 13139)) #@56 Vector of data line line numbers in the current table. (defvar org-table-dlines nil (#$ . 13266)) #@52 Vector of hline line numbers in the current table. (defvar org-table-hlines nil (#$ . 13370)) #@53 Regular expression for matching ranges in formulas. (defconst org-table-range-regexp "@\\([-+]?I*[-+]?[0-9]*\\)?\\(\\$[-+]?[0-9]+\\)?\\(\\.\\.@?\\([-+]?I*[-+]?[0-9]*\\)?\\(\\$[-+]?[0-9]+\\)?\\)?" (#$ . 13470)) #@38 Match a range for reference display. (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]+\\)" (#$ . 13686)) #@44 Is this a table line colgroup information? (defalias 'org-table-colgroup-line-p #[(line) "\302 \303\216\304\305 \"\205! \304\306 \"\205! \307\310\311\312\313\314\315 \"\316\"\"\"?*\207" [save-match-data-internal line match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) string-match "[<>]\\|&[lg]t;" "\\`[ ]*|[ ]*/[ ]*\\(|[ <>0-9|lgt&;]+\\)\\'" delq nil mapcar #[(s) "\301\235?\207" [s ("" "<" ">" "<>" "<" ">" "<>")] 2] org-split-string match-string 1 "[ ]*|[ ]*"] 8 (#$ . 13929)]) #@57 Is this a table line with only alignment/width cookies? (defalias 'org-table-cookie-line-p #[(line) "\302 \303\216\304\305 \"\205( \304\306 \"\204 \304\307 \"\205( \310\311\312\313\314\315\316 \"\317\"\"\"?*\207" [save-match-data-internal line match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) string-match "[<>]\\|&[lg]t;" "\\`[ ]*|[ ]*/[ ]*\\(|[ <>0-9|lrcgt&;]+\\)\\'" "\\(\\`[ <>lrc0-9|gt&;]+\\'\\)" delq nil mapcar #[(s) "\301\232\206 \302\303\"\206 \302\304\"?\207" [s "" string-match "\\`<\\([lrc]?[0-9]+\\|[lrc]\\)>\\'" "\\`<\\([lrc]?[0-9]+\\|[lrc]\\)>\\'"] 3] org-split-string match-string 1 "[ ]*|[ ]*"] 8 (#$ . 14482)]) #@66 Match a reference that needs translation, for reference display. (defconst org-table-translate-regexp "\\(@[-0-9I$]+\\|[a-zA-Z]\\{1,2\\}\\([0-9]+\\|&\\)\\)" (#$ . 15185)) #@140 Use the table.el package to insert a new table. If there is already a table at point, convert between Org-mode tables and table.el tables. (defalias 'org-table-create-with-table\.el #[nil "\300\301!\210\302 \203 \303\304!\205&