%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/org/ |
Current File : //usr/local/share/emacs/27.2/lisp/org/org-inlinetask.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\302\303\304\305\306\307\310\311&\210\312\313\314\315\316DD\317\310\303\320\321&\210\312\322\314\315\323DD\324\306\307\310\311\320\325& \210\312\326\314\315\327DD\330\310\303\331\332\320\333& \207" [require org custom-declare-group org-inlinetask nil "Options concerning inline tasks in Org mode." :tag "Org Inline Tasks" :group org-structure custom-declare-variable org-inlinetask-min-level funcall function #[0 "\300\207" [15] 1] "Minimum level a headline must have before it is treated as an inline task.\nDon't set it to something higher than `29' or clocking will break since this\nis the hardcoded maximum number of stars `org-clock-sum' will work with.\n\nIt is strongly recommended that you set `org-cycle-max-level' not at all,\nor to a number smaller than this one. In fact, when `org-cycle-max-level' is\nnot set, it will be assumed to be one less than the value of smaller than\nthe value of this variable." :type (choice (const :tag "Off" nil) (integer)) org-inlinetask-show-first-star #[0 "\300\207" [nil] 1] "Non-nil means display the first star of an inline task as additional marker.\nWhen nil, the first star is not shown." boolean org-inlinetask-default-state #[0 "\300\207" [nil] 1] "Non-nil means make inline tasks have a TODO keyword initially.\nThis should be the state `org-inlinetask-insert-task' should use by\ndefault, or nil if no state should be assigned." :version "24.1" (choice (const :tag "No state" nil) (string :tag "Specific state"))] 10) #@172 Insert an inline task. If prefix arg NO-STATE is set, ignore `org-inlinetask-default-state'. If there is a region wrap it inside the inline task. (fn &optional NO-STATE) (defalias 'org-inlinetask-insert-task #[256 "\303 \203 \304 \203 n\204 \305\306!\210n\204 \307 \210\203$ \310 _S\202% \311\312\"\313P\314 \2035 \315 \2026 `\314 \203@ \316 \202A `\211b\210\317\320\261\210b\210n\204T \317c\210\204] \n\204a \321\202d \n\313PU\203n \321\202o \317\261\210\211U?\205{ \322\207" [org-odd-levels-only org-inlinetask-min-level org-inlinetask-default-state org-inlinetask-in-task-p org-inlinetask-at-task-p error "Cannot nest inline tasks" newline 2 make-string 42 " " org-region-active-p region-beginning region-end "\n" "END\n" "" 0] 9 (#$ . 1912) "P"]) (define-key org-mode-map "t" 'org-inlinetask-insert-task) #@114 Return string matching an inline task heading. The number of levels is controlled by `org-inlinetask-min-level'. (defalias 'org-inlinetask-outline-regexp #[0 "\203 \302_S\202\f \303\304\"\207" [org-odd-levels-only org-inlinetask-min-level 2 format "^\\(\\*\\{%d,\\}\\)[ ]+"] 4 (#$ . 2748)]) #@63 Return a non-nil value if point is on inline task's END part. (defalias 'org-inlinetask-end-p #[0 "\301\302\303 \304P!)\207" [case-fold-search t org-match-line org-inlinetask-outline-regexp "END[ ]*$"] 3 (#$ . 3051)]) #@60 Return non-nil if point is at beginning of an inline task. (defalias 'org-inlinetask-at-task-p #[0 "\300\301 \302P!\205\f \303 ?\207" [org-match-line org-inlinetask-outline-regexp "\\(.*\\)" org-inlinetask-end-p] 3 (#$ . 3277)]) #@48 Return true if point is inside an inline task. (defalias 'org-inlinetask-in-task-p #[0 "\212\302 \210\303\304 \305P\303\306!)\262\206 \307\310\311\303#\205 \312 *\207" [case-fold-search inhibit-changing-match-data beginning-of-line t org-inlinetask-outline-regexp "\\(?:.*\\)" looking-at re-search-forward "^\\*+[ ]+" nil org-inlinetask-end-p] 4 (#$ . 3512)]) #@50 Go to the beginning of the inline task at point. (defalias 'org-inlinetask-goto-beginning #[0 "\301\210\302\303 \304\301\302#\210\305 \205 \304\301\302#)\207" [case-fold-search nil t org-inlinetask-outline-regexp re-search-backward org-inlinetask-end-p] 6 (#$ . 3885)]) #@62 Go to the end of the inline task at point. Return point. (defalias 'org-inlinetask-goto-end #[0 "\302 \303\304\305\306\307!\310\"\311$\216\312 \210\313\314 \315 \203! \316y\210\202a \211\313\317!)\262\203X \316y\210\315 \203; \316y\210\202a \211\313\317!)\262\204a \320 \203a \321\316\313#\210\316y\210\202a \321\316\313#\210\316y\210)\266)\210`\207" [case-fold-search inhibit-changing-match-data match-data make-byte-code 0 "\301\300\302\"\207" vconcat vector [set-match-data evaporate] 3 beginning-of-line t org-inlinetask-outline-regexp org-inlinetask-end-p nil looking-at org-inlinetask-in-task-p re-search-forward] 7 (#$ . 4167)]) #@91 Get the level of the inline task around. This assumes the point is inside an inline task. (defalias 'org-inlinetask-get-task-level #[0 "\212\300\210\301\302 \300\303#\210\304\225\304\224Z)\207" [nil re-search-backward org-inlinetask-outline-regexp t 1] 4 (#$ . 4825)]) #@143 Promote the inline task at point. If the task has an end part, promote it. Also, prevents level from going below `org-inlinetask-min-level'. (defalias 'org-inlinetask-promote #[0 "\302 \204 \303\304!\207\212\305 \306\307\"\211Z\310\311\"\260\312W\203&