comment-tasks.el
Show tasks in comments in code.
To use this package, put this on your directory where is added to load path, and add these lines to your init.el or .emacs file:
(require 'comment-tasks)
Enable comment-tasks-minor-mode
. It searches comments on current buffer,
and if a comment have a keyword defined in comment-tasks-keyword-list,
the comment is displayed on comment-tasks buffer.
A comment on comment-tasks buffer, simply called 'task'.
On comment-tasks buffer, comment-tasks-major-mode is enabled. You can use these commands on that mode.
Key | Description |
---|---|
RET | Jump to the point of the task where cursor focuses |
C-j | Display the point of the task where cursor focuses |
j | Move cursor to next line |
k | Move cursor to previous line |
q | Quit the window |
The keyword list. If the comment contains word that matches one in this list, it's displayed on buffer.
If this value is non-nil, comment-tasks buffer is updated on after-save-hook.
Size (height or width) for the comment-tasks buffer.
Position of the comment-tasks buffer. Either 'right, 'left, 'above or 'below. This value is passed directly to `split-window'.
If this value is non-nil, the cursor is moved to the comment-tasks buffer automatically when `comment-tasks-minor-mode' is activated.
;; customize
(setq comment-tasks-keyword-list '("TODO" "WAITING"))
(setq comment-tasks-auto-update t)
(setq comment-tasks-list-size 0.4)
(setq comment-tasks-list-position 'right)
(setq comment-tasks-focus-after-activation nil)