%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/calendar/ |
Current File : //usr/local/share/emacs/27.2/lisp/calendar/todo-mode.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&\207" [require diary-lib cl-lib custom-declare-variable todo-directory funcall function #[0 "\300\301!\207" [locate-user-emacs-file "todo/"] 2] "Directory where user's todo files are saved." :type directory :group todo] 8) #@294 Default value of `todo-files-function'. This returns the case-insensitive alphabetically sorted list of file truenames in `todo-directory' with the extension ".todo". With non-nil ARCHIVES return the list of archive file truenames (those with the extension ".toda"). (fn &optional ARCHIVES) (defalias 'todo-files #[256 "\301!\205 \302\303\304\305\203 \306\202 \307\305$\"\310\311\"\207" [todo-directory file-exists-p mapcar file-truename directory-files t "\\.toda\\'" "\\.todo\\'" sort #[514 "\226\226\231\207" [] 6 "\n\n(fn S1 S2)"]] 8 (#$ . 714)]) (byte-code "\300\301\302\303\304DD\305\306\303\307\310&\207" [custom-declare-variable todo-files-function funcall function #[0 "\300\207" [todo-files] 1] "Function returning the value of the variable `todo-files'.\nThis function should take an optional argument that, if non-nil,\nmakes it return the value of the variable `todo-archives'." :type :group todo] 8) #@41 List of truenames of user's todo files. (defvar todo-files (funcall todo-files-function) (#$ . 1648)) #@44 List of truenames of user's todo archives. (defvar todo-archives (funcall todo-files-function t) (#$ . 1756)) #@139 List of todo files visited in this session by `todo-show'. Used to determine initial display according to the value of `todo-show-first'. (defvar todo-visited nil (#$ . 1873)) #@47 List of file names of live Todo mode buffers. (defvar todo-file-buffers nil (#$ . 2055)) #@223 Variable holding name of current todo file. Used by functions called from outside of Todo mode to visit the current todo file rather than the default todo file (i.e. when users option `todo-show-current-file' is non-nil). (defvar todo-global-current-todo-file nil (#$ . 2151)) #@62 Variable holding the name of the currently active todo file. (defvar todo-current-todo-file nil (#$ . 2434)) #@284 Alist of categories in the current todo file. The elements are cons cells whose car is a category name and whose cdr is a vector of the category's item counts. These are, in order, the numbers of todo items, of todo items included in the Diary, of done items and of archived items. (defvar todo-categories nil (#$ . 2550)) #@105 Variable holding the number of the current todo category. Todo categories are numbered starting from 1. (defvar todo-category-number 1 (#$ . 2881)) #@62 Alist of categories and number of marked items they contain. (defvar todo-categories-with-marks nil (#$ . 3035)) #@64 String marking beginning of category (inserted with its name). (defconst todo-category-beg "--==-- " (#$ . 3154)) #@52 String marking beginning of category's done items. (defconst todo-category-done "==--== DONE " (#$ . 3274)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313\314\315&\207" [custom-declare-variable todo-done-separator-string funcall function #[0 "\300\207" [#1="="] 1 #1#] "String determining the value of variable `todo-done-separator'.\nIf the string consists of a single character,\n`todo-done-separator' will be the string made by repeating this\ncharacter for the width of the window, and the length is\nautomatically recalculated when the window width changes. If the\nstring consists of more (or less) than one character, it will be\nthe value of `todo-done-separator'." :type string :initialize custom-initialize-default :set todo-reset-done-separator-string :group todo-display] 12) #@64 Return string used as value of variable `todo-done-separator'. (defalias 'todo-done-separator #[0 "\301G\302U\203 \303\304 \305!\"\202 \306\307#\207" [todo-done-separator-string propertize 1 make-string window-width string-to-char face todo-done-sep] 6 (#$ . 4086)]) #@213 String used to visually separate done from not done items. Displayed as an overlay instead of `todo-category-done' when done items are shown. Its value is determined by user option `todo-done-separator-string'. (defvar todo-done-separator (todo-done-separator) (#$ . 4366)) #@141 If non-nil display only done items in current category. Set by the command `todo-toggle-view-done-only' and used by `todo-category-select'. (defvar todo-show-done-only nil (#$ . 4648)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313\314\315&\207" [custom-declare-variable todo-nondiary-marker funcall function #[0 "\300\207" [("[" "]")] 1] "List of strings surrounding item date to block diary inclusion.\nThe first string is inserted before the item date and must be a\nnon-empty string that does not match a diary date in order to\nhave its intended effect. The second string is inserted after\nthe diary date." :type (list string string) :group todo-edit :initialize custom-initialize-default :set todo-reset-nondiary-marker] 12) #@60 String inserted before item date to block diary inclusion. (defconst todo-nondiary-start (car todo-nondiary-marker) (#$ . 5404)) #@65 String inserted after item date matching `todo-nondiary-start'. (defconst todo-nondiary-end (byte-code "A@\207" [todo-nondiary-marker] 1) (#$ . 5539)) #@92 Array of month names, in order. The final element is "*", indicating an unspecified month. (defconst todo-month-name-array (byte-code "\301\302\303!\"\207" [calendar-month-name-array vconcat vector "*"] 4) (#$ . 5697)) #@104 Array of abbreviated month names, in order. The final element is "*", indicating an unspecified month. (defconst todo-month-abbrev-array (byte-code "\301\302\303!\"\207" [calendar-month-abbrev-array vconcat vector "*"] 4) (#$ . 5924)) #@54 Regular expression matching a todo item date header. (defconst todo-date-pattern (byte-code "\306\307\310#\311\312\307\313\314\306\n\"\"\315\316\317\320\321\322#-\323\260\207" [calendar-day-name-array dayname todo-month-name-array todo-month-abbrev-array monthname month diary-name-pattern nil t "\\(?4:\\(?5:" "\\)\\|" format "\\(?6:%s\\)" "\\(?7:[0-9]+\\|\\*\\)" "\\(?8:[0-9]+\\|\\*\\)" "-?\\(?9:[0-9]+\\|\\*\\)" mapconcat eval "" "\\)" day year calendar-date-display-form] 9) (#$ . 6166)) #@66 Regular expression matching part of item header before the date. (defconst todo-date-string-start (byte-code "\302\303!\304\303 !\305\260\207" [todo-nondiary-start diary-nonmarking-symbol "^\\(" regexp-quote "\\|" "\\)?"] 5) (#$ . 6677)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313\314\315&\207" [custom-declare-variable todo-done-string funcall function #[0 "\300\207" [#1="DONE "] 1 #1#] "Identifying string appended to the front of done todo items." :type string :initialize custom-initialize-default :set todo-reset-done-string :group todo-edit] 12) #@49 Regular expression matching start of done item. (defconst todo-done-string-start (byte-code "\301\302!P\207" [todo-done-string "^\\[" regexp-quote] 3) (#$ . 7259)) #@42 String identifying start of a todo item. (defconst todo-item-start (concat "\\(" todo-date-string-start "\\|" todo-done-string-start "\\)" todo-date-pattern) (#$ . 7430)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313\314\315&\210\300\316\302\303\317DD\320\306\321\310\311\312\313\314\315&\207" [custom-declare-variable todo-prefix funcall function #[0 "\300\207" [#1=""] 1 #1#] "String prefixed to todo items for visual distinction." :type (string :validate (lambda (widget) (when (string= (widget-value widget) todo-item-mark) (widget-put widget :error (format-message "Invalid value: must be distinct from `todo-item-mark'")) widget))) :initialize custom-initialize-default :set todo-reset-prefix :group todo-display todo-number-prefix #[0 "\300\207" [t] 1] "Non-nil to prefix items with consecutively increasing integers.\nThese reflect the priorities of the items in each category." boolean] 12) #@202 Return a mode line control for todo or archive file buffers. Argument CAT is the name of the current todo category. This function is the value of the user variable `todo-mode-line-function'. (fn CAT) (defalias 'todo-mode-line-control #[257 "\302!\303\304 $\207" [todo-current-todo-file todo-category-number todo-short-file-name format "%s category %d: %s"] 7 (#$ . 8356)]) (byte-code "\300\301\302\303\304DD\305\306\303\307\310&\210\300\311\302\303\312DD\313\306\314\315\316\317\320\307\310&\210\300\321\302\303\322DD\323\306\314\307\310&\210\300\324\302\303\325DD\326\306\327\307\310&\207" [custom-declare-variable todo-mode-line-function funcall function #[0 "\300\207" [todo-mode-line-control] 1] "Function that returns a mode line control for Todo mode buffers.\nThe function expects one argument holding the name of the current\ntodo category. The resulting control becomes the local value of\n`mode-line-buffer-identification' in each Todo mode buffer." :type :group todo-display todo-highlight-item #[0 "\300\207" [nil] 1] "Non-nil means highlight items at point." boolean :initialize custom-initialize-default :set todo-reset-highlight-item todo-wrap-lines #[0 "\300\207" [t] 1] "Non-nil to activate Visual Line mode and use wrap prefix." todo-indent-to-here #[0 "\300\207" [3] 1] "Number of spaces to indent continuation lines of items.\nThis must be a positive number to ensure such items are fully\nshown in the Fancy Diary display." (integer :validate (lambda (widget) (unless (> (widget-value widget) 0) (widget-put widget :error "Invalid value: must be a positive integer") widget)))] 12) #@45 Indent from point to `todo-indent-to-here'. (defalias 'todo-indent #[0 "\301\211\"\207" [todo-indent-to-here indent-to] 3 (#$ . 9974)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\312\313\314\315\310\316%\210\312\317\320\321\310\316%\210\312\322\323\324\310\316%\210\312\325\326\327\310\316%\210\312\330\331\332\310\316%\210\312\333\334\335\310\316%\210\312\336\337\340\310\316%\210\312\341\342\343\310\316%\210\312\344\345\346\310\316%\210\312\347\350\351\310\316%\210\312\352\353\354\310\316%\210\312\355\356\357\310\316%\210\312\360\361\362\310\316%\210\312\363\364\365\310\316%\210\312\366\367\370\310\316%\210\312\371\372\373\310\316%\207" [custom-declare-variable todo-show-with-done funcall function #[0 "\300\207" [nil] 1] "Non-nil to display done items in all categories." :type boolean :group todo-display custom-declare-face todo-key-prompt ((t (:weight bold))) "Face for making keys in item insertion prompt stand out." todo-faces todo-mark ((((class color) (min-colors 88) (background light)) (:weight bold :foreground "Red1")) (((class color) (min-colors 88) (background dark)) (:weight bold :foreground "Pink")) (((class color) (min-colors 16) (background light)) (:weight bold :foreground "Red1")) (((class color) (min-colors 16) (background dark)) (:weight bold :foreground "Pink")) (((class color) (min-colors 8)) (:foreground "red")) (t (:weight bold :inverse-video t))) "Face for marks on marked items." todo-prefix-string ((((class grayscale) (background light)) (:foreground "LightGray" :weight bold :underline t)) (((class grayscale) (background dark)) (:foreground "Gray50" :weight bold :underline t)) (((class color) (min-colors 88) (background light)) (:foreground "dark cyan")) (((class color) (min-colors 88) (background dark)) (:foreground "Aquamarine")) (((class color) (min-colors 16) (background light)) (:foreground "CadetBlue")) (((class color) (min-colors 16) (background dark)) (:foreground "Aquamarine")) (((class color) (min-colors 8)) (:foreground "magenta")) (t (:weight bold :underline t))) "Face for todo item prefix or numerical priority string." todo-top-priority ((default :weight bold) (((class grayscale) (background light)) :foreground "DimGray" :slant italic) (((class grayscale) (background dark)) :foreground "LightGray" :slant italic) (((class color) (min-colors 88) (background light)) :foreground "Firebrick") (((class color) (min-colors 88) (background dark)) :foreground "chocolate1") (((class color) (min-colors 16) (background light)) :foreground "red") (((class color) (min-colors 16) (background dark)) :foreground "red1") (((class color) (min-colors 8) (background light)) :foreground "red") (((class color) (min-colors 8) (background dark)) :foreground "yellow") (t :slant italic)) "Face for top priority todo item numerical priority string.\nThe item's priority number string has this face if the number is\nless than or equal the category's top priority setting." todo-nondiary ((((class grayscale) (background light)) :foreground "Gray90" :weight bold) (((class grayscale) (background dark)) :foreground "DimGray" :weight bold) (((class color) (min-colors 88) (background light)) :foreground "ForestGreen") (((class color) (min-colors 88) (background dark)) :foreground "PaleGreen") (((class color) (min-colors 16) (background light)) :foreground "ForestGreen") (((class color) (min-colors 16) (background dark)) :foreground "PaleGreen") (((class color) (min-colors 8)) :foreground "green") (t :weight bold :underline t)) "Face for non-diary markers around todo item date/time header." todo-date ((t :inherit diary)) "Face for the date string of a todo item." todo-time ((t :inherit diary-time)) "Face for the time string of a todo item." todo-diary-expired ((default :weight bold) (((class color) (min-colors 88) (background light)) :foreground "Blue1") (((class color) (min-colors 88) (background dark)) :foreground "LightSkyBlue") (((class color) (min-colors 16) (background light)) :foreground "Blue") (((class color) (min-colors 16) (background dark)) :foreground "LightSkyBlue") (((class color) (min-colors 8)) :foreground "blue") (t :inverse-video t)) "Face for expired dates of diary items." todo-done-sep ((((class grayscale) (background light)) :foreground "LightGray" :weight bold) (((class grayscale) (background dark)) :foreground "DimGray" :weight bold) (((class color) (min-colors 88) (background light)) :foreground "dark slate blue") (((class color) (min-colors 88) (background dark)) :foreground "LightSteelBlue") (((class color) (min-colors 16) (background light)) :foreground "Orchid") (((class color) (min-colors 16) (background dark)) :foreground "LightSteelBlue") (((class color) (min-colors 8)) :foreground "blue" :weight bold) (t :weight bold)) "Face for separator string between done and not done todo items." todo-done ((((class grayscale) (background light)) :foreground "LightGray" :weight bold) (((class grayscale) (background dark)) :foreground "DimGray" :weight bold) (((class color) (min-colors 88) (background light)) :foreground "Purple") (((class color) (min-colors 88) (background dark)) :foreground "Cyan1") (((class color) (min-colors 16) (background light)) :foreground "Purple") (((class color) (min-colors 16) (background dark)) :foreground "Cyan") (((class color) (min-colors 8)) :foreground "cyan" :weight bold) (t :weight bold)) "Face for done todo item header string." todo-comment ((((class grayscale) (background light)) :foreground "DimGray" :weight bold :slant italic) (((class grayscale) (background dark)) :foreground "LightGray" :weight bold :slant italic) (((class color) (min-colors 88) (background light)) :foreground "Firebrick") (((class color) (min-colors 88) (background dark)) :foreground "chocolate1") (((class color) (min-colors 16) (background light)) :foreground "red") (((class color) (min-colors 16) (background dark)) :foreground "red1") (((class color) (min-colors 8) (background light)) :foreground "red") (((class color) (min-colors 8) (background dark)) :foreground "yellow") (t :weight bold :slant italic)) "Face for comments appended to done todo items." todo-search ((((class color) (min-colors 88) (background light)) (:background "yellow1")) (((class color) (min-colors 88) (background dark)) (:background "RoyalBlue3")) (((class color) (min-colors 8) (background light)) (:foreground "black" :background "yellow")) (((class color) (min-colors 8) (background dark)) (:foreground "white" :background "blue")) (((type tty) (class mono)) (:inverse-video t)) (t (:background "gray"))) "Face for matches found by `todo-search'." todo-button ((((type tty)) (:foreground "black" :background "yellow3")) (((class grayscale color) (background light)) (:background "gray85")) (((class grayscale color) (background dark)) (:background "dim gray")) (t (:slant italic))) "Face for buttons in table of categories." todo-sorted-column ((((type tty)) (:inverse-video t)) (((class color) (background light)) (:background "grey85")) (((class color) (background dark)) (:background "grey85" :foreground "grey10")) (t (:background "gray"))) "Face for sorted column in table of categories." todo-archived-only ((((class color) (background light)) (:foreground "grey50")) (((class color) (background dark)) (:foreground "grey70")) (t (:foreground "gray"))) "Face for archived-only category names in table of categories." todo-category-string ((((class grayscale) (background light)) :foreground "Gray90" :weight bold) (((class grayscale) (background dark)) :foreground "DimGray" :weight bold) (((class color) (min-colors 88) (background light)) :foreground "ForestGreen") (((class color) (min-colors 88) (background dark)) :foreground "PaleGreen") (((class color) (min-colors 16) (background light)) :foreground "ForestGreen") (((class color) (min-colors 16) (background dark)) :foreground "PaleGreen") (((class color) (min-colors 8)) :foreground "green") (t :weight bold :underline t)) "Face for category-file header in Todo Filtered Items mode."] 8) #@111 Return the short form of todo file FILE's name. This lacks the extension and directory components. (fn FILE) (defalias 'todo-short-file-name #[257 "\211;\205\n \300\301!!\207" [file-name-sans-extension file-name-nondirectory] 4 (#$ . 17971)]) (defalias 'todo--files-type-list #[0 "\301\302 \"\207" [todo-files-function mapcar #[257 "\300\301!D\207" [const todo-short-file-name] 4 "\n\n(fn F)"]] 3]) (byte-code "\301\302\303\304\305DD\306\307\205 \310\311 B\312\313&\210\301\314\303\304\315DD\316\307\317\320\321\322\323\312\313&\210\301\324\303\304\325DD\326\307\327\312\313&\210\301\330\303\304\331DD\332\307\317\312\333&\210\301\334\303\304\335DD\336\307\337\312\313&\210\301\340\303\304\341DD\342\307\337\312\313&\210\301\343\303\304\344DD\345\307\346\311 B\312\313&\210\301\347\303\304\350DD\351\307\317\312\313&\207" [todo-files custom-declare-variable todo-default-todo-file funcall function #[0 "\301 @!\207" [todo-files-function todo-short-file-name] 2] "Todo file visited by first session invocation of `todo-show'." :type radio todo--files-type-list :group todo todo-show-current-file #[0 "\300\207" [t] 1] "Non-nil to make `todo-show' visit the current todo file.\nOtherwise, `todo-show' always visits `todo-default-todo-file'." boolean :initialize custom-initialize-default :set todo-set-show-current-file todo-show-first #[0 "\300\207" [first] 1] "What action to take on first use of `todo-show' on a file." (choice (const :tag "Show first category" first) (const :tag "Show table of categories" table) (const :tag "Show top priorities" top) (const :tag "Show diary items" diary) (const :tag "Show regexp items" regexp)) todo-add-item-if-new-category #[0 "\300\207" [t] 1] "Non-nil to prompt for an item after adding a new category." todo-edit todo-initial-file #[0 "\300\207" [#1="Todo"] 1 #1#] "Default file name offered on adding first todo file." string todo-initial-category #[0 "\300\207" [#2="Todo"] 1 #2#] "Default category name offered on initializing a new todo file." todo-category-completions-files #[0 "\300\207" [nil] 1] "List of files for building `todo-read-category' completions." set todo-completion-ignore-case #[0 "\300\207" [nil] 1] "Non-nil means case is ignored by `todo-read-*' functions."] 12) #@1836 Visit a todo file and display one of its categories. When invoked in Todo mode, Todo Archive mode or Todo Filtered Items mode, or when invoked anywhere else with a prefix argument, prompt for which todo file to visit. When invoked outside of a Todo mode buffer without a prefix argument, visit `todo-default-todo-file'. Subsequent invocations from outside of Todo mode revisit this file or, with option `todo-show-current-file' non-nil (the default), whichever todo file was last visited. If you call this command before you have created any todo file in the current format, and you have a todo file in old format, it will ask you whether to convert that file and show it. Otherwise, calling this command before any todo file exists prompts for a file name and an initial category (defaulting to `todo-initial-file' and `todo-initial-category'), creates both of these, visits the file and displays the category, and if option `todo-add-item-if-new-category' is non-nil (the default), prompts for the first item. The first invocation of this command on an existing todo file interacts with the option `todo-show-first': if its value is `first' (the default), show the first category in the file; if its value is `table', show the table of categories in the file; if its value is one of `top', `diary' or `regexp', show the corresponding saved top priorities, diary items, or regexp items file, if any. Subsequent invocations always show the file's current (i.e., last displayed) category. In Todo mode just the category's unfinished todo items are shown by default. The done items are hidden, but typing `\[todo-toggle-view-done-items]' displays them below the todo items. With non-nil user option `todo-show-with-done' both todo and done items are always shown on visiting a category. (fn &optional SOLICIT-FILE INTERACTIVE) (defalias 'todo-show #[512 "\203\n \306\307!!\210\3102\361\2047 \311\301!\203 \202 \312\313\314\"\315!\2036 \316\317!\2036 \320 \2036 \321\310\322\"\210\210\3232\360\322\n\204K \203^ \324>\203^ \f \203X \325\326\322\327#\202\212 \330\331!\202\212 \332=\203t \204t \333 \262\334 !\335P\202\212 \206\212 @\203\202 A\206\212 \307!\206\212 \336 \322\211C\204\242 \337!\211\327\240\210\340\300\341\342\343 B#\210B\235\204\n\344\267\202\345 \210\202\337!\307\n\"\n\346=\203\345 \347C\327\350\327$\211\203\344 \211G\351V\203\344 \352\337\"\307\353\354\"\346\"\262\210\210\315!\203\355\356 \357\360\"q\"\210\361\362!\204\362 \210\202\363\364\n\365\267\202\366\202\367\202\370\202\322#\210\371\266)B\235\204+\n\371=\203\330\306!\2046\321\323\322\"\210\355\372 \203A\373 \202C\356 \357\360\"q\"\210\374\375 !\376\232\203_\361\332!\204h\332 \210\202h\361\377!\204h\377 \210\201G D\"\203y\201E !E\201H \201I U\203\310\201J \203\223\201K \201L !\210\322C\201M \201I \201N \201O \201P #\201Q \"\201R $\216\201S \201T \"EF\262\211\327\240\210)\210\212\201U \210)\203\330\201V \210B\235\203\346B\202\355BB\211B\266\20500\207" [todo-default-todo-file todo-file-do todo-show-first major-mode todo-files-function todo-current-todo-file todo-check-file todo-absolute-file-name shown boundp locate-user-emacs-file "todo-do" ".todo-do" file-exists-p y-or-n-p "Do you want to convert a copy of your old todo file to the new format? " todo-convert-legacy-files throw nil end (todo-mode todo-archive-mode todo-filtered-items-mode) todo-read-file-name "Choose a todo file to visit: " t user-error "There are no todo files" todo-archive-mode todo-current-category file-name-sans-extension ".todo" todo-add-file todo-short-file-name put custom-type radio todo--files-type-list #s(hash-table size 4 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (table 177 top 183 diary 183 regexp 183)) todo-show-categories-table regexp directory-files "\\.todr\\'" 1 mapcar completing-read "Choose a regexp items file: " set-window-buffer selected-window find-file-noselect nowarn derived-mode-p todo-filtered-items-mode message "There is no %s file for %s" #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (top 265 diary 269 regexp 273)) "top priorities" "diary items" "regexp items" first minibufferp minibuffer-selected-window file-name-extension buffer-file-name "toda" todo-mode todo-show-current-file todo-global-current-todo-file todo-visited todo-directory todo-categories todo-category-number todo-add-item-if-new-category assoc buffer-size 0 buffer-modified-p error "Buffer is empty but modified, please report a bug" make-byte-code "\302\242\203 \306\307!\207\310\300!\210\311\300\"\301\242\203$ \312\211\313\304\314\315\316 B#\210\317 \210\320 \207" vconcat vector [todo-files todo-default-todo-file todo-current-todo-file save-buffer 0 delete-file delete nil put custom-type radio todo--files-type-list kill-buffer keyboard-quit] 6 todo-add-category "" todo-category-select todo-insert-item--basic] 16 (#$ . 20226) "P\np"]) #@29 Save the current todo file. (defalias 'todo-save #[0 "\301=\203\f \302 \210\303 \207\304 \207" [major-mode todo-filtered-items-mode todo-check-filtered-items-file todo-save-filtered-items-buffer save-buffer] 2 (#$ . 25222) nil]) #@143 Exit the current Todo-related buffer. Depending on the specific mode, this either kills the buffer or buries it and restores state as needed. (defalias 'todo-quit #[0 "p\306\267\202d \307\n\310=\203 \f\235\203 \f\210\202 \fB\311 \210\312!\202e \312 \210\313=?\205e \311 \202e \314 \210 \315!\316Q\317!\203K \311 \210\202O \320\321!\210\210\322!\205e \312!\202e \314 \210\323 \202e \307\207" [major-mode todo-descending-counts todo-show-first todo-current-todo-file todo-visited todo-directory #s(hash-table size 4 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (todo-categories-mode 7 todo-filtered-items-mode 39 todo-archive-mode 54 todo-mode 92)) nil table todo-show kill-buffer todo-mode todo-save todo-short-file-name ".todo" todo-check-file message "There is no todo file for this archive" buffer-live-p quit-window] 4 (#$ . 25459) nil]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable todo-skip-archived-categories funcall function #[0 "\300\207" [nil] 1] "Non-nil to handle categories with only archived items specially.\n\nSequential category navigation using \\[todo-forward-category]\nor \\[todo-backward-category] skips categories that contain only\narchived items. Other commands still recognize these categories.\nIn Todo Categories mode (\\[todo-show-categories-table]) these\ncategories shown in `todo-archived-only' face and pressing the\ncategory button visits the category in the archive instead of the\ntodo file." :type boolean :group todo-display] 8) #@287 Visit the numerically next category in this todo file. If the current category is the highest numbered, visit the first category. With non-nil argument BACK, visit the numerically previous category (the highest numbered one, if the current category is the first). (fn &optional BACK) (defalias 'todo-forward-category #[256 "\303\211! \203( \304\305!\306U\203( \304\307!\306U\203( \304\310!\306U\204( \211!\202 \311 \210\n\2032 \312 \210eb\207" [todo-category-number todo-skip-archived-categories transient-mark-mode #[257 "\302\203\n \303\202 \304Z G\"T\207" [todo-category-number todo-categories mod 2 0] 4 "\n\n(fn BACK)"] todo-get-count todo 0 done archived todo-category-select deactivate-mark] 4 (#$ . 27009) nil]) #@135 Visit the numerically previous category in this todo file. If the current category is the highest numbered, visit the first category. (defalias 'todo-backward-category #[0 "\300\301!\207" [todo-forward-category t] 2 (#$ . 27746) nil]) #@987 Prompt for a category in a todo file and jump to it. With non-nil FILE (interactively a prefix argument), prompt for a specific todo file and choose (with TAB completion) a category in it to jump to; otherwise, choose and jump to any category in either the current todo file or a file in `todo-category-completions-files'. Also accept a non-existing category name and ask whether to add a new category by that name; on confirmation, add it and jump to that category, and if option `todo-add-item-if-new-category' is non-nil (the default), then prompt for the first item. In noninteractive calls non-nil WHERE specifies either the goal category or its file. If its value is `archive', the choice of categories is restricted to the current archive file or the archive you were prompted to choose; this is used by `todo-jump-to-archive-category'. If its value is the name of a category, jump directly to that category; this is used in Todo Categories mode. (fn &optional FILE WHERE) (defalias 'todo-jump-to-category #[512 " \204 \306 \207\211\307=\211?\205 \211\2052 \2052 \310\311\"\312U\2052 \310\313\"\312U\2052 \310\314\"\312U?\205C \211\203B \315\n!\316P\202C \nG?\205U \317\320\205R \307 #\f\205] GV\206c @\204l A\262r\321\322\"q\210\203z \323 \210\324\325 \326!q\"\210 \203\213 \327 \210\204\223 \n\330!\210\331 \210eb\210\332\333!\203\253 \203\253 \334 \210\205\261 \335 )\207" [todo-files-function todo-skip-archived-categories todo-current-todo-file todo-categories todo-add-item-if-new-category transient-mark-mode todo-show archive todo-get-count todo 0 done archived file-name-sans-extension ".toda" todo-read-category "Jump to category: " find-file-noselect nowarn todo-archive-mode set-window-buffer selected-window find-buffer-visiting deactivate-mark todo-category-number todo-category-select boundp hl-line-mode hl-line-highlight todo-insert-item--basic todo-global-current-todo-file] 14 (#$ . 27988) "P"]) #@715 Move point down to the beginning of the next item. With positive numerical prefix COUNT, move point COUNT items downward. If the category's done items are hidden, this command also moves point to the empty line below the last todo item from any higher item in the category, i.e., when invoked with or without a prefix argument. If the category's done items are visible, this command called with a prefix argument only moves point to a lower item, e.g., with point on the last todo item and called with prefix 1, it moves point to the first done item; but if called with point on the last todo item without a prefix argument, it moves point to the empty line above the done items separator. (fn &optional COUNT) (defalias 'todo-next-item #[256 "\203 \211\301W\203 \302\303!\207\203 \304!\207\304 \207" [current-prefix-arg 1 user-error "The prefix argument must be a positive number" todo-forward-item] 3 (#$ . 29957) "p"]) #@509 Move point up to start of item with next higher priority. With positive numerical prefix COUNT, move point COUNT items upward. If the category's done items are visible, this command called with a prefix argument only moves point to a higher item, e.g., with point on the first done item and called with prefix 1, it moves to the last todo item; but if called with point on the first done item without a prefix argument, it moves point to the empty line above the done items separator. (fn &optional COUNT) (defalias 'todo-previous-item #[256 "\301 \302V\205 \203 \211\302W\203 \303\304!\207\203 \305!\207\305 \207" [current-prefix-arg line-number-at-pos 1 user-error "The prefix argument must be a positive number" todo-backward-item] 3 (#$ . 30895) "p"]) #@47 Hide item numbering if shown, show if hidden. (defalias 'todo-toggle-prefix-numbers #[0 "\212\214eb\210\304\305!\306\307\310#\211\311\312\"\313\232?\314=\203\"