File: todo-mode.el.html
This package provides facilities for making and maintaining prioritized lists of things to do. These todo lists are identified with named categories, so you can group together thematically related todo items. Each category is stored in a file, providing a further level of organization. You can create as many todo files, and in each as many categories, as you want.
With Todo mode you can navigate among the items of a category, and between categories in the same and in different todo files. You can add and edit todo items, reprioritize them, move them to another category, or delete them. You can also mark items as done and store them within their category or in separate archive files. You can include todo items in the Emacs Fancy Diary display and treat them as appointments. You can add new todo files, and rename or delete them. You can add new categories to a file, rename or delete them, move a category to another file and merge the items of two categories. You can also reorder the sequence of categories in a todo file for the purpose of navigation. You can display sortable summary tables of the categories in a file and the types of items they contain. And you can filter items by various criteria from multiple categories in one or more todo files to create prioritizable cross-category overviews of your todo items.
To get started, type M-x todo-show. For full details of the user
interface, commands and options, consult the Todo mode user manual,
which is one of the Info manuals included in the standard Emacs
installation.
Defined variables (107)
todo--date-pattern-groups | Alist for grouping date components in ‘todo-date-pattern’. |
todo--fifiles-history | List of short file names used by todo-find-filtered-items-file. |
todo--item-headers-hidden | Non-nil if item date-time headers in current buffer are hidden. |
todo-add-item-if-new-category | Non-nil to prompt for an item after adding a new category. |
todo-always-add-time-string | Whether to add the time to an item’s date header by default. |
todo-archive-mode-abbrev-table | Abbrev table for ‘todo-archive-mode’. |
todo-archive-mode-hook | Hook run after entering ‘todo-archive-mode’. |
todo-archive-mode-map | Todo Archive mode keymap. |
todo-archive-mode-syntax-table | Syntax table for ‘todo-archive-mode’. |
todo-archives | List of truenames of user’s todo archives. |
todo-categories | Alist of categories in the current todo file. |
todo-categories-align | Alignment of category names in Todo Categories mode. |
todo-categories-archived-label | Archived button label in Todo Categories mode. |
todo-categories-buffer | Name of buffer in Todo Categories mode. |
todo-categories-category-label | Category button label in Todo Categories mode. |
todo-categories-category-number | Variable for numbering categories in Todo Categories mode. |
todo-categories-diary-label | Diary button label in Todo Categories mode. |
todo-categories-done-label | Done button label in Todo Categories mode. |
todo-categories-mode-abbrev-table | Abbrev table for ‘todo-categories-mode’. |
todo-categories-mode-hook | Hook run after entering ‘todo-categories-mode’. |
todo-categories-mode-map | Todo Categories mode keymap. |
todo-categories-mode-syntax-table | Syntax table for ‘todo-categories-mode’. |
todo-categories-number-separator | String between number and category in Todo Categories mode. |
todo-categories-todo-label | Todo button label in Todo Categories mode. |
todo-categories-totals-label | String to label total item counts in Todo Categories mode. |
todo-categories-with-marks | Alist of categories and number of marked items they contain. |
todo-category-beg | String marking beginning of category (inserted with its name). |
todo-category-completions-files | List of files for building ‘todo-read-category’ completions. |
todo-category-done | String marking beginning of category’s done items. |
todo-category-number | Variable holding the number of the current todo category. |
todo-comment-string | String inserted before optional comment appended to done item. |
todo-completion-ignore-case | Non-nil means case is ignored by ‘todo-read-*’ functions. |
todo-current-todo-file | Variable holding the name of the currently active todo file. |
todo-date-from-calendar | Helper variable for setting item date from the Emacs Calendar. |
todo-date-pattern | Regular expression matching a todo item date header. |
todo-date-string-start | Regular expression matching part of item header before the date. |
todo-default-priority | Default priority of new and moved items. |
todo-default-todo-file | Todo file visited by first session invocation of ‘todo-show’. |
todo-descending-counts | List of keys for category counts sorted in descending order. |
todo-diary-items-buffer | Buffer type string for ‘todo-filter-items’. |
todo-diary-nonmarking | Non-nil to insert new todo diary items as nonmarking by default. |
todo-directory | Directory where user’s todo files are saved. |
todo-done-separator | String used to visually separate done from not done items. |
todo-done-separator-string | String determining the value of variable ‘todo-done-separator’. |
todo-done-string | Identifying string appended to the front of done todo items. |
todo-done-string-start | Regular expression matching start of done item. |
todo-edit-buffer | Name of current buffer in Todo Edit mode. |
todo-edit-mode-abbrev-table | Abbrev table for ‘todo-edit-mode’. |
todo-edit-mode-hook | Hook run after entering ‘todo-edit-mode’. |
todo-edit-mode-map | Todo Edit mode keymap. |
todo-edit-mode-syntax-table | Syntax table for ‘todo-edit-mode’. |
todo-file-buffers | List of file names of live Todo mode buffers. |
todo-files | List of truenames of user’s todo files. |
todo-files-function | Function returning the value of the variable ‘todo-files’. |
todo-filter-done-items | Non-nil to include done items when processing regexp filters. |
todo-filter-files | List of default files for multifile item filtering. |
todo-filtered-items-buffer | Initial name of buffer in Todo Filter Items mode. |
todo-filtered-items-mode-abbrev-table | Abbrev table for ‘todo-filtered-items-mode’. |
todo-filtered-items-mode-hook | Hook run after entering ‘todo-filtered-items-mode’. |
todo-filtered-items-mode-map | Todo Filtered Items mode keymap. |
todo-filtered-items-mode-syntax-table | Syntax table for ‘todo-filtered-items-mode’. |
todo-font-lock-keywords | Font-locking for Todo modes. |
todo-global-current-todo-file | Variable holding name of current todo file. |
todo-highlight-item | Non-nil means highlight items at point. |
todo-include-in-diary | Non-nil to allow new todo items to be included in the diary. |
todo-indent-to-here | Number of spaces to indent continuation lines of items. |
todo-initial-category | Default category name offered on initializing a new todo file. |
todo-initial-file | Default file name offered on adding first todo file. |
todo-insert-item--parameters | List of all item insertion parameters. |
todo-item-mark | String used to mark items. |
todo-item-start | String identifying start of a todo item. |
todo-key-bindings-t | List of key bindings for Todo mode only. |
todo-key-bindings-t+a | List of key bindings for Todo and Todo Archive modes. |
todo-key-bindings-t+a+f | List of key bindings for Todo, Archive, and Filtered Items modes. |
todo-key-bindings-t+f | List of key bindings for Todo and Todo Filtered Items modes. |
todo-legacy-date-time-regexp | Regexp matching legacy todo-mode.el item date-time strings. |
todo-menu | Todo Menu. |
todo-mode-abbrev-table | Abbrev table for ‘todo-mode’. |
todo-mode-hook | Hook run after entering ‘todo-mode’. |
todo-mode-line-function | Function that returns a mode line control for Todo mode buffers. |
todo-mode-map | Todo mode keymap. |
todo-mode-syntax-table | Syntax table for ‘todo-mode’. |
todo-month-abbrev-array | Array of abbreviated month names, in order. |
todo-month-name-array | Array of month names, in order. |
todo-multiple-filter-files | List of files selected from ‘todo-multiple-filter-files’ widget. |
todo-multiple-filter-files-widget | Variable holding widget created by ‘todo-multiple-filter-files’. |
todo-nondiary-end | String inserted after item date matching ‘todo-nondiary-start’. |
todo-nondiary-marker | List of strings surrounding item date to block diary inclusion. |
todo-nondiary-start | String inserted before item date to block diary inclusion. |
todo-number-prefix | Non-nil to prefix items with consecutively increasing integers. |
todo-prefix | String prefixed to todo items for visual distinction. |
todo-print-buffer | Name of buffer with printable version of Todo mode buffer. |
todo-print-buffer-function | Function called by ‘todo-print-buffer’ to print Todo mode buffers. |
todo-regexp-items-buffer | Buffer type string for ‘todo-filter-items’. |
todo-show-current-file | Non-nil to make ‘todo-show’ visit the current todo file. |
todo-show-done-only | If non-nil display only done items in current category. |
todo-show-first | What action to take on first use of ‘todo-show’ on a file. |
todo-show-with-done | Non-nil to display done items in all categories. |
todo-skip-archived-categories | Non-nil to handle categories with only archived items specially. |
todo-top-priorities | Default number of top priorities shown by ‘todo-filter-top-priorities’. |
todo-top-priorities-buffer | Buffer type string for ‘todo-filter-items’. |
todo-top-priorities-overrides | List of rules specifying number of top priority items to show. |
todo-undo-item-omit-comment | Whether to omit done item comment on undoing the item. |
todo-use-only-highlighted-region | Non-nil to enable inserting only highlighted region as new item. |
todo-visited | List of todo files visited in this session by ‘todo-show’. |
todo-wrap-lines | Non-nil to activate Visual Line mode and use wrap prefix. |
todo-y-with-space | Non-nil means allow SPC to affirm a "y or n" question. |
Defined functions (171)
Defined faces (16)
todo-archived-only | Face for archived-only category names in table of categories. |
todo-button | Face for buttons in table of categories. |
todo-category-string | Face for category-file header in Todo Filtered Items mode. |
todo-comment | Face for comments appended to done todo items. |
todo-date | Face for the date string of a todo item. |
todo-diary-expired | Face for expired dates of diary items. |
todo-done | Face for done todo item header string. |
todo-done-sep | Face for separator string between done and not done todo items. |
todo-key-prompt | Face for making keys in item insertion prompt stand out. |
todo-mark | Face for marks on marked items. |
todo-nondiary | Face for non-diary markers around todo item date/time header. |
todo-prefix-string | Face for todo item prefix or numerical priority string. |
todo-search | Face for matches found by ‘todo-search’. |
todo-sorted-column | Face for sorted column in table of categories. |
todo-time | Face for the time string of a todo item. |
todo-top-priority | Face for top priority todo item numerical priority string. The item’s priority number string has this face if the number is less than or equal the category’s top priority setting. |