| Server IP : 217.160.0.212 / Your IP : 216.73.217.5 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/obsolete/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. (byte-code "\300\301!\210\302\303\304\305\306\307\310\311\312\313& \210\314\315\316\317\320DD\321\322\323%\210\314\324\316\317\325DD\326\310\327\322\330&\210\314\331\316\317\332DD\333\310\327\322\330&\210\314\334\316\317\335DD\336\322\337%\210\314\340\316\317\341DD\342\322\337%\210\314\343\316\317\344DD\345\322\346%\207" [require time-stamp custom-declare-group todo nil "Maintain a list of todo items." :link (emacs-commentary-link "todo-mode") :version "21.1" :group calendar custom-declare-variable todo-prefix funcall function #[0 "\300\207" ["*/*"] 1 #1=""] "TODO mode prefix for entries.\n\nThis is useful in conjunction with `calendar' and `diary' if you use\n\n#include \"~/.emacs.d/todo-do\"\n\nin your diary file to include your todo list file as part of your\ndiary. With the default value \"*/*\" the diary displays each entry\nevery day and it may also be marked on every day of the calendar.\nUsing \"&%%(equal (calendar-current-date) date)\" instead will only\nshow and mark todo entries for today, but may slow down processing of\nthe diary file somewhat." :type string todo-file-do #[0 "\300\301\302\"\207" [locate-user-emacs-file "todo-do" ".todo-do"] 3 #1#] "TODO mode list file." "24.4" file todo-file-done #[0 "\300\301\302\"\207" [locate-user-emacs-file "todo-done" ".todo-done"] 3 #1#] "TODO mode archive file." todo-mode-hook #[0 "\300\207" [nil] 1 #1#] "TODO mode hooks." hook todo-edit-mode-hook #[0 "\300\207" [nil] 1 #1#] "TODO Edit mode hooks." todo-insert-threshold #[0 "\300\207" [0] 1 #1#] "TODO mode insertion accuracy.\n\nIf you have 8 items in your TODO list, then you may get asked 4\nquestions by the binary insertion algorithm. However, you may not\nreally have a need for such accurate priorities amongst your TODO\nitems. If you now think about the binary insertion halving the size\nof the window each time, then the threshold is the window size at\nwhich it will stop. If you set the threshold to zero, the upper and\nlower bound will coincide at the end of the loop and you will insert\nyour item just before that point. If you set the threshold to,\ne.g. 8, it will stop as soon as the window size drops below that\namount and will insert the item in the approximate center of that\nwindow." integer] 10) #@24 TODO Edit buffer name. (defvar todo-edit-buffer " *TODO Edit*" (#$ . 2342)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\310\315%\210\300\316\302\303\317DD\320\310\321%\210\300\322\302\303\323DD\324\310\321%\210\300\325\302\303\326DD\327\310\330%\210\300\331\302\303\332DD\333\310\330%\210\300\334\302\303\335DD\336\310\311%\210\300\337\302\303\340DD\341\310\315%\210\300\342\302\303\343DD\344\310\311%\207" [custom-declare-variable todo-file-top funcall function #[0 "\300\301\302\"\207" [locate-user-emacs-file "todo-top" ".todo-top"] 3 #1=""] "TODO mode top priorities file.\n\nNot in TODO format, but diary compatible.\nAutomatically generated when `todo-save-top-priorities' is non-nil." :version "24.4" :type string todo-print-function #[0 "\300\207" [ps-print-buffer-with-faces] 1 #1#] "Function to print the current buffer." symbol todo-show-priorities #[0 "\300\207" [1] 1 #1#] "Default number of priorities to show by \\[todo-top-priorities].\n0 means show all entries." integer todo-print-priorities #[0 "\300\207" [0] 1 #1#] "Default number of priorities to print by \\[todo-print].\n0 means print all entries." todo-remove-separator #[0 "\300\207" [t] 1 #1#] "Non-nil to remove category separators in\\[todo-top-priorities] and \\[todo-print]." boolean todo-save-top-priorities-too #[0 "\300\207" [t] 1 #1#] "Non-nil makes `todo-save' automatically save top-priorities in `todo-file-top'." todo-time-string-format #[0 "\300\207" ["%:y-%02m-%02d %02H:%02M"] 1 #1#] "TODO mode time string format for done entries.\nFor details see the variable `time-stamp-format'." todo-entry-prefix-function #[0 "\300\207" [todo-entry-timestamp-initials] 1 #1#] "Function producing text to insert at start of todo entry." todo-initials #[0 "\300\301!\206 \302 \207" [getenv "INITIALS" user-login-name] 2 #1#] "Initials of todo item author."] 8) #@66 Prepend timestamp and your initials to the head of a TODO entry. (defalias 'todo-entry-timestamp-initials #[0 "\303 \304\n\305R)\207" [todo-time-string-format time-stamp-format todo-initials time-stamp-string " " ": "] 4 (#$ . 4232)]) #@18 TODO categories. (defvar todo-categories nil (#$ . 4475)) #@78 Old variable for holding the TODO categories. Use `todo-categories' instead. (defvar todo-cats nil (#$ . 4539)) #@28 Previous line asked about. (defvar todo-previous-line 0 (#$ . 4657)) #@22 Previous answer got. (defvar todo-previous-answer 0 (#$ . 4732)) #@19 TODO mode keymap. (defvar todo-mode-map (byte-code "\300 \301\302\"\210\303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\303\314\315#\210\303\316\311#\210\303\317\320#\210\303\321\322#\210\303\323\324#\210\303\325\326#\210\303\327\330#\210\303\331\332#\210\303\333\334#\210\303\335\336#\210\303\337\340#\210\303\341\342#\210\303\343\344#\210\303\345\346#\210\303\347\350#\210\207" [make-keymap suppress-keymap t define-key "+" todo-forward-category "-" todo-backward-category "d" todo-file-item "e" todo-edit-item "E" todo-edit-multiline "f" "i" todo-insert-item "I" todo-insert-item-here "j" todo-jump-to-category "k" todo-delete-item "l" todo-lower-item "n" todo-forward-item "p" todo-backward-item "P" todo-print "q" todo-quit "r" todo-raise-item "s" todo-save "S" todo-save-top-priorities "t" todo-top-priorities] 5) (#$ . 4803)) #@23 TODO category number. (defvar todo-category-number 0 (#$ . 5682)) (defvar todo-tmp-buffer-name " *todo tmp*") #@21 Category separator. (defvar todo-category-sep (make-string 75 45) (#$ . 5798)) #@62 Category start separator to be prepended onto category name. (defvar todo-category-beg " --- " (#$ . 5883)) #@29 Separator after a category. (defvar todo-category-end "--- End" (#$ . 5997)) #@23 Header of todo files. (defvar todo-header "-*- mode: todo; " (#$ . 6080)) #@56 Make TODO mode display the current category correctly. (defalias 'todo-category-select #[0 " 8\306\307\310\"P~\210eb\210\311\312\313\fQ!\314Q!\210\315 T\311\312 P!\210\211\316 }\210eb\207" [todo-category-number todo-categories mode-line-buffer-identification todo-prefix todo-category-beg todo-category-end "Category: " format "%18s" search-forward-regexp "^" regexp-quote "$" line-end-position line-beginning-position] 7 (#$ . 6160)]) (defalias 'todo-cat-slct 'todo-category-select) #@43 Go forward to TODO list of next category. (defalias 'todo-forward-category #[0 "\302T G\"\303 \207" [todo-category-number todo-categories mod todo-category-select] 3 (#$ . 6655) nil]) (defalias 'todo-cmd-forw 'todo-forward-category) #@44 Go back to TODO list of previous category. (defalias 'todo-backward-category #[0 "\302S G\"\303 \207" [todo-category-number todo-categories mod todo-category-select] 3 (#$ . 6896) nil]) (defalias 'todo-cmd-back 'todo-backward-category) #@37 Select previous entry of TODO list. (defalias 'todo-backward-item #[0 "\301\302\303!P\304\305#\210\306\307!\207" [todo-prefix search-backward-regexp "^" regexp-quote nil t message ""] 4 (#$ . 7140) nil]) (defalias 'todo-cmd-prev 'todo-backward-item) #@64 Select COUNT-th next entry of TODO list. (fn &optional COUNT) (defalias 'todo-forward-item #[256 "\211<\203 \211@\262\301\210\302\303\304!P\301\305$\210\306 \210\307\310!\207" [todo-prefix nil search-forward-regexp "^" regexp-quote goto-end beginning-of-line message ""] 6 (#$ . 7397) "P"]) (defalias 'todo-cmd-next 'todo-forward-item) #@21 Save the TODO list. (defalias 'todo-save #[0 "\212\214\301 \210*\205\f \302 \207" [todo-save-top-priorities-too save-buffer todo-save-top-priorities] 1 (#$ . 7745) nil]) (defalias 'todo-cmd-save 'todo-save) #@30 Done with TODO list for now. (defalias 'todo-quit #[0 "~\210\300 \210\301\302!\210\303 \207" [todo-save message "" bury-buffer] 2 (#$ . 7959) nil]) (defalias 'todo-cmd-done 'todo-quit) #@31 Edit current TODO list entry. (defalias 'todo-edit-item #[0 "edW\203$ \300 \301!\203 \302 \207\303\304\"\305 \210\211\306\261\210\307 \210\310\311!\207\312\313!\207" [todo-item-string todo-string-multiline-p todo-edit-multiline read-from-minibuffer "Edit: " todo-remove-item "\n" todo-backward-item message "" error "No TODO list entry to edit"] 4 (#$ . 8150) nil]) (defalias 'todo-cmd-edit 'todo-edit-item) #@58 Set up a buffer for editing a multiline TODO list entry. (defalias 'todo-edit-multiline #[0 "\302!\303\304\305 !\"!\210\306\307!\210\310 \210\311 \312 }\207" [todo-edit-buffer todo-file-do generate-new-buffer-name switch-to-buffer make-indirect-buffer file-name-nondirectory message "To exit, simply kill this buffer and return to list." todo-edit-mode todo-item-start todo-item-end] 5 (#$ . 8568) nil]) #@60 Add new category CAT to the TODO list. (fn &optional CAT) (defalias 'todo-add-category #[256 "\306\307\"\310\311!\312U\204 \204 \n\204 \313\314\"\210\204# \315\310!\262rq\210\316\230\2034 \317\211\262\202L \320\321\"\203B \322\211\262\202L \235\203X \323\211\262\203X \315!\211\262\204'