%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/org/ |
Current File : //usr/local/share/emacs/27.2/lisp/org/org-num.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\303\304\305\306\307DD\310\311\312\313\314\315\316\317\320&\210\303\321\305\306\322DD\323\311\312\313\324\315\306\317\325&\210\303\326\305\306\327DD\330\311\312\313\331\315\332\317\333&\210\303\334\305\306\335DD\336\311\312\313\337\315\340\317\341&\210\303\342\305\306\343DD\344\311\312\313\345\315\340\317\341&\210\303\346\305\306\347DD\350\311\312\313\351\315\352\317\353&\210\303\354\305\306\355DD\356\311\312\313\357\315\340\317\341&\207" [require cl-lib org-macs custom-declare-variable org-num-face funcall function #[0 "\300\207" [nil] 1] "Face to use for numbering.\nWhen nil, use the same face as the headline. This value is\nignored if `org-num-format-function' specifies a face for its\noutput." :group org-appearance :package-version (Org . "9.3") :type (choice (const :tag "Like the headline" nil) (face :tag "Use face")) :safe #[257 "\211?\206 \300!\207" [facep] 3 "\n\n(fn VAL)"] org-num-format-function #[0 "\300\207" [org-num-default-format] 1] "Function used to display numbering.\nIt is called with one argument, a list of numbers, and should\nreturn a string, or nil. When nil, no numbering is displayed.\nAny `face' text property on the returned string overrides\n`org-num-face'." (Org . "9.3") nil org-num-max-level #[0 "\300\207" [nil] 1] "Level below which headlines are not numbered.\nWhen set to nil, all headlines are numbered." (Org . "9.3") (choice (const :tag "Number everything" nil) (integer :tag "Stop numbering at level")) #[257 "\211?\206 \300!\207" [wholenump] 3 "\n\n(fn VAL)"] org-num-skip-commented #[0 "\300\207" [nil] 1] "Non-nil means commented sub-trees are not numbered." (Org . "9.3") boolean booleanp org-num-skip-footnotes #[0 "\300\207" [nil] 1] "Non-nil means footnotes sections are not numbered." (Org . "9.3") org-num-skip-tags #[0 "\300\207" [nil] 1] "List of tags preventing the numbering of sub-trees.\n\nFor example, add \"ARCHIVE\" to this list to avoid numbering\narchived sub-trees.\n\nTag in this list prevent numbering the whole sub-tree,\nirrespective to `org-use-tag-inheritance', or other means to\ncontrol tag inheritance." (Org . "9.3") (repeat (string :tag "Tag")) #[257 "\211<\205 \300\301\"\207" [cl-every stringp] 4 "\n\n(fn VAL)"] org-num-skip-unnumbered #[0 "\300\207" [nil] 1] "Non-nil means numbering obeys to UNNUMBERED property." (Org . "9.3")] 12) #@58 Regexp matching a COMMENT keyword at headline beginning. (defconst org-num--comment-re (format "\\`%s\\(?: \\|$\\)" org-comment-string) (#$ . 2785)) #@55 Ordered list of overlays used for numbering outlines. (defvar org-num--overlays nil (#$ . 2940)) (make-variable-buffer-local 'org-num--overlays) #@165 Level below which headlines from current tree are not numbered. When nil, all headlines are numbered. It is used to handle inheritance of no-numbering attributes. (defvar org-num--skip-level nil (#$ . 3092)) (make-variable-buffer-local 'org-num--skip-level) #@129 Current headline numbering. A numbering is a list of integers, in reverse order. So numbering for headline "1.2.3" is (3 2 1). (defvar org-num--numbering nil (#$ . 3358)) (make-variable-buffer-local 'org-num--numbering) #@58 Buffer position signaling a headline without an overlay. (defvar org-num--missing-overlay nil (#$ . 3585)) (make-variable-buffer-local 'org-num--missing-overlay) #@60 Non-nil means an overlay became invalid since last update. (defvar org-num--invalid-flag nil (#$ . 3753)) (make-variable-buffer-local 'org-num--invalid-flag) #@45 Return regexp matching a numbered headline. (defalias 'org-num--headline-regexp #[0 "\204 \305\306 \211\307\nP+\207\310\311\f\203 \312_S\202 \"\207" [org-num-max-level org-called-with-limited-levels org-outline-regexp outline-regexp org-odd-levels-only t org-get-limited-outline-regexp "^" format "^\\*\\{1,%d\\} " 2] 5 (#$ . 3917)]) (put 'org-num--headline-regexp 'byte-optimizer 'byte-compile-inline-expand) #@54 Non-nil if overlay O is a numbering overlay. (fn O) (defalias 'org-num--overlay-p #[257 "\300\301\"\207" [overlay-get org-num] 4 (#$ . 4342)]) (put 'org-num--overlay-p 'byte-optimizer 'byte-compile-inline-expand) #@61 Non-nil if overlay O is still active in the buffer. (fn O) (defalias 'org-num--valid-overlay-p #[257 "\300\301\"\302=?\207" [overlay-get org-num invalid] 4 (#$ . 4563)]) (put 'org-num--valid-overlay-p 'byte-optimizer 'byte-compile-inline-expand) #@80 Mark overlay O as invalid. Update `org-num--invalid-flag' accordingly. (fn O) (defalias 'org-num--invalidate-overlay #[257 "\301\302\303#\210\304\211\207" [org-num--invalid-flag overlay-put org-num invalid t] 5 (#$ . 4817)]) (put 'org-num--invalidate-overlay 'byte-optimizer 'byte-compile-inline-expand) #@50 Remove all numbering overlays in current buffer. (defalias 'org-num--clear #[0 "\301\302\"\210\303\211\207" [org-num--overlays mapc delete-overlay nil] 3 (#$ . 5130)]) #@268 Return overlay for numbering headline at point. NUMBERING is the numbering to use, as a list of integers, or nil if nothing should be displayed. LEVEL is the level of the headline. SKIP is its skip value. Assume point is at a headline. (fn NUMBERING LEVEL SKIP) (defalias 'org-num--make-overlay #[771 "\304C\212\305 \210\306\307w\210\310\311 `T\")\312\313\314#\210\312\315#\210\312\316#\210\312\317\206>