%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/org/ |
Current File : //usr/local/share/emacs/27.2/lisp/org/org-list.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!\210\300\303!\210\304\305\306\307\310\311\312\313&\210\314\315\316\317\320DD\321\312\305\312\322\323\324& \210\314\325\316\317\326DD\327\312\305\323\330&\210\314\331\316\317\332DD\333\312\305\323\334\335\336& \210\314\337\316\317\340DD\341\312\305\342\343\323\344\335\345&\210\314\346\316\317\347DD\350\312\305\323\351&\210\314\352\316\317\353DD\354\312\305\342\343\323\355& \210\314\356\316\317\357DD\360\312\305\342\343\323\344& \207" [require cl-lib org-macs org-compat custom-declare-group org-plain-lists nil "Options concerning plain lists in Org mode." :tag "Org Plain lists" :group org-structure custom-declare-variable org-cycle-include-plain-lists funcall function #[0 "\300\207" [t] 1] "When t, make TAB cycle visibility on plain list items.\nCycling plain lists works only when the cursor is on a plain list\nitem. When the cursor is on an outline heading, plain lists are\ntreated as text. This is the most stable way of handling this,\nwhich is why it is the default.\n\nWhen this is the symbol `integrate', then integrate plain list\nitems when cycling, as if they were children of outline headings.\n\nThis setting can lead to strange effects when switching visibility\nto `children', because the first \"child\" in a subtree decides\nwhat children should be listed. If that first \"child\" is a\nplain list item with an implied large level number, all true\nchildren and grand children of the outline heading will be\nexposed in a children' view." org-cycle :type (choice (const :tag "Never" nil) (const :tag "With cursor in plain list (recommended)" t) (const :tag "As children of outline headings" integrate)) org-list-demote-modify-bullet #[0 "\300\207" [nil] 1] "Default bullet type installed when demoting an item.\nThis is an association list, for each bullet type, this alist will point\nto the bullet that should be used when this item is demoted.\nFor example,\n\n (setq org-list-demote-modify-bullet\n \\='((\"+\" . \"-\") (\"-\" . \"+\") (\"*\" . \"+\")))\n\nwill make\n\n + Movies\n + Silence of the Lambs\n + My Cousin Vinny\n + Books\n + The Hunt for Red October\n + The Road to Omaha\n\ninto\n\n + Movies\n - Silence of the Lambs\n - My Cousin Vinny\n + Books\n - The Hunt for Red October\n - The Road to Omaha" (repeat (cons (choice :tag "If the current bullet is " (const "-") (const "+") (const "*") (const "1.") (const "1)")) (choice :tag "demotion will change it to" (const "-") (const "+") (const "*") (const "1.") (const "1)")))) org-plain-list-ordered-item-terminator #[0 "\300\207" [t] 1] "The character that makes a line with leading number an ordered list item.\nValid values are ?. and ?\\). To get both terminators, use t.\n\nThis variable needs to be set before org.el is loaded. If you\nneed to make a change while Emacs is running, use the customize\ninterface or run the following code after updating it:\n\n `\\[org-element-update-syntax]'" (choice (const :tag "dot like in \"2.\"" 46) (const :tag "paren like in \"2)\"" 41) (const :tag "both" t)) :set #[514 "L\210\300\301!\205\f \302 \207" [featurep org-element org-element-update-syntax] 4 "\n\n(fn VAR VAL)"] org-list-allow-alphabetical #[0 "\300\207" [nil] 1] "Non-nil means single character alphabetical bullets are allowed.\n\nBoth uppercase and lowercase are handled. Lists with more than\n26 items will fallback to standard numbering. Alphabetical\ncounters like \"[@c]\" will be recognized.\n\nThis variable needs to be set before org.el is loaded. If you\nneed to make a change while Emacs is running, use the customize\ninterface or run the following code after updating it:\n\n `\\[org-element-update-syntax]'" :version "24.1" boolean #[514 "L\210\300\301!\205\f \302 \207" [featurep org-element org-element-update-syntax] 4 "\n\n(fn VAR VAL)"] org-list-two-spaces-after-bullet-regexp #[0 "\300\207" [nil] 1] "A regular expression matching bullets that should have 2 spaces after them.\nWhen nil, no bullet will have two spaces after them. When\na string, it will be used as a regular expression. When the\nbullet type of a list is changed, the new bullet type will be\nmatched against this regexp. If it matches, there will be two\nspaces instead of one after the bullet in each item of the list." (choice (const :tag "never" nil) (regexp)) org-list-automatic-rules #[0 "\300\207" [((checkbox . t) (indent . t))] 1] "Non-nil means apply set of rules when acting on lists.\n\\<org-mode-map>\nBy default, automatic actions are taken when using\n `\\[org-meta-return]',\n `\\[org-metaright]',\n `\\[org-metaleft]',\n `\\[org-shiftmetaright]',\n `\\[org-shiftmetaleft]',\n `\\[org-ctrl-c-minus]',\n `\\[org-toggle-checkbox]',\n `\\[org-insert-todo-heading]'.\n\nYou can disable individually these rules by setting them to nil.\nValid rules are:\n\ncheckbox when non-nil, checkbox statistics is updated each time\n you either insert a new checkbox or toggle a checkbox.\nindent when non-nil, indenting or outdenting list top-item\n with its subtree will move the whole list and\n outdenting a list whose bullet is * to column 0 will\n change that bullet to \"-\"." (alist :tag "Sets of rules" :key-type (choice (const :tag "Checkbox" checkbox) (const :tag "Indent" indent)) :value-type (boolean :tag "Activate" :value t)) org-list-use-circular-motion #[0 "\300\207" [nil] 1] "Non-nil means commands implying motion in lists should be cyclic.\n\\<org-mode-map>\nIn that case, the item following the last item is the first one,\nand the item preceding the first item is the last one.\n\nThis affects the behavior of\n `\\[org-move-item-up]',\n `\\[org-move-item-down]',\n `\\[org-next-item]',\n `\\[org-previous-item]'."] 12) #@246 Hook that is run whenever Org thinks checkbox statistics should be updated. This hook runs even if checkbox rule in `org-list-automatic-rules' does not apply, so it can be used to implement alternative ways of collecting statistics information. (defvar org-checkbox-statistics-hook nil (#$ . 6184)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\315\316\310\317& \207" [custom-declare-variable org-checkbox-hierarchical-statistics funcall function #[0 "\300\207" [t] 1] "Non-nil means checkbox statistics counts only the state of direct children.\nWhen nil, all boxes below the cookie are counted.\nThis can be set to nil on a per-node basis using a COOKIE_DATA property\nwith the word \"recursive\" in the value." :group org-plain-lists :type boolean org-list-indent-offset #[0 "\300\207" [0] 1] "Additional indentation for sub-items in a list.\nBy setting this to a small number, usually 1 or 2, one can more\nclearly distinguish sub-items in a list." :version "24.1" integer] 10) #@75 Names of blocks where lists are not allowed. Names must be in lower case. (defvar org-list-forbidden-blocks '("example" "verse" "src" "export") (#$ . 7221)) #@41 Regex matching the end of a plain list. (defconst org-list-end-re "^[ ]*\n[ ]*\n" (#$ . 7384)) #@130 Matches a list item and puts everything into groups: group 1: bullet group 2: counter group 3: checkbox group 4: description tag (defconst org-list-full-item-re "^[ ]*\\(\\(?:[-+*]\\|\\(?:[0-9]+\\|[A-Za-z]\\)[.)]\\)\\(?:[ ]+\\|$\\)\\)\\(?:\\[@\\(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\][ ]*\\)?\\(?:\\(\\[[ X-]\\]\\)\\(?:[ ]+\\|$\\)\\)?\\(?:\\(.*\\)[ ]+::\\(?:[ ]+\\|$\\)\\)?" (#$ . 7488)) #@56 Return the correct regular expression for plain lists. (defalias 'org-item-re #[0 "\302=\203\n \303\202 \304U\203 \305\202 \306U\203 \307\202 \303 \203' \310\202( \311\312\313\314\260\207" [org-plain-list-ordered-item-terminator org-list-allow-alphabetical t "[.)]" 41 ")" 46 "\\." "\\|[A-Za-z]" "" "\\([ ]*\\([-+]\\|\\(\\([0-9]+" "\\)" "\\)\\)\\|[ ]+\\*\\)\\([ ]+\\|$\\)"] 7 (#$ . 7888)]) #@53 Regexp matching the beginning of a plain list item. (defalias 'org-item-beginning-re #[0 "\300\301 P\207" ["^" org-item-re] 2 (#$ . 8298)]) (put 'org-item-beginning-re 'byte-optimizer 'byte-compile-inline-expand) #@64 Is point at a list item with REGEXP after bullet? (fn REGEXP) (defalias 'org-list-at-regexp-after-bullet-p #[257 "\301 \205% \212\302\225b\210\303\203 \304\202 \305\306Q\307!\203 \302\225b\210\210\307!)\207" [org-list-allow-alphabetical org-at-item-p 0 "\\(?:\\[@\\(?:start:\\)?" "\\([0-9]+\\|[A-Za-z]\\)" "[0-9]+" "\\][ ]*\\)" looking-at] 4 (#$ . 8517)]) #@48 Is point in a context where lists are allowed? (defalias 'org-list-in-valid-context-p #[0 "\301!?\207" [org-list-forbidden-blocks org-in-block-p] 2 (#$ . 8887)]) #@69 Return item beginning position when in a plain list, nil otherwise. (defalias 'org-in-item-p #[0 "\212\303 \210\304\305 \211@\306\307!\205 \310 \311 \312\313!\204$ \203( \312!\203( \314\202* \315 \3168\317=\2036 \320\202\312!\203@ `\202\321\322\320\323\324 T#\211\262\203V T\262\202C \325 \"\211\262\203u `@Y\203u `AW\203u \211@b\210\322y\210\266\3262\315 \312!\203\221 \211W\203\221 \327\326`\"\210\202`X\203\237 \327\326\320\"\210\202\312 !\203\255 \327\326\320\"\210\202\312\330!\203\274 \331\332\304#\204\312\333!\203\321 \331\n\304#\203\321 \303 \210\202\203\344 \312!\203\344 \334 \210\322y\210\202\312\313!\203\360 \322y\210\202\211\321U\203\376 \327\326\320\"\210\202\211W\203 \211\262\322y\210\202\322y\210\210\202{ )\266\205)\207" [case-fold-search org-list-end-re org-drawer-regexp beginning-of-line t org-list-context featurep org-inlinetask org-inlinetask-outline-regexp org-item-re looking-at "^[ ]*$" 10000 current-indentation 2 invalid nil 0 -1 string-match "[ \n]" org-in-regexp exit throw "^[ ]*#\\+end_" re-search-backward "^[ ]*#\\+begin_" "^[ ]*:END:" org-inlinetask-goto-beginning] 12 (#$ . 9056)]) #@52 Is point in a line starting a hand-formatted item? (defalias 'org-at-item-p #[0 "\212\300 \210\301\302 !\205 \303 )\207" [beginning-of-line looking-at org-item-re org-list-in-valid-context-p] 2 (#$ . 10238)]) #@46 Is point at the bullet of a plain list item? (defalias 'org-at-item-bullet-p #[0 "\300 \205 \301f\302\235?\205 `\303\225W\207" [org-at-item-p nil (32 9) 0] 2 (#$ . 10454)]) #@61 Is point at a line starting a plain list item with a timer? (defalias 'org-at-item-timer-p #[0 "\300\301!\207" [org-list-at-regexp-after-bullet-p "\\([0-9]+:[0-9]+:[0-9]+\\)[ ]+::[ ]+"] 2 (#$ . 10635)]) #@38 Is point at a description list item? (defalias 'org-at-item-description-p #[0 "\300\301!\207" [org-list-at-regexp-after-bullet-p "\\(\\S-.+\\)[ ]+::\\([ ]+\\|$\\)"] 2 (#$ . 10846)]) #@64 Is point at a line starting a plain-list item with a checklet? (defalias 'org-at-item-checkbox-p #[0 "\300\301!\207" [org-list-at-regexp-after-bullet-p "\\(\\[[- X]\\]\\)[ ]+"] 2 (#$ . 11036)]) #@63 Is point at a line starting a plain-list item with a counter? (defalias 'org-at-item-counter-p #[0 "\301 \205 \302!\205 \303\304!\207" [org-list-full-item-re org-at-item-p looking-at match-string 2] 2 (#$ . 11237)]) #@286 Determine context, and its boundaries, around point. Context will be a cell like (MIN MAX CONTEXT) where MIN and MAX are boundaries and CONTEXT is a symbol among `drawer', `block', `invalid', `inlinetask' and nil. Contexts `block' and `invalid' refer to `org-list-forbidden-blocks'. (defalias 'org-list-context #[0 "\306 \307\310\311\312\313!\314\"\315$\216\212\316\317 \211\320 P\321 \210\316`\322\211\211\212\3231. \324\316!0\2023 \210\322\2027 \2057 `)\206<