diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2021-11-26 19:12:00 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2021-11-26 19:12:00 +0100 |
| commit | d4ad38ecccd29245d4dca60275db64f27e7a5996 (patch) | |
| tree | c1c9eb926df1a05dad6485410a785e2c7143e3d3 /local | |
| parent | b3f0258e041fe03b527576d5433d726d5c9d9be4 (diff) | |
add commands and shortcuts to change the state of an entry
add bibli-paris/set-to-{todo,next,booked,done} and the corresponding shortcuts
prefixed by SPC mt
Diffstat (limited to 'local')
| -rw-r--r-- | local/bibli-paris/bibli-paris.el | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/local/bibli-paris/bibli-paris.el b/local/bibli-paris/bibli-paris.el index 55483b5..5232b44 100644 --- a/local/bibli-paris/bibli-paris.el +++ b/local/bibli-paris/bibli-paris.el @@ -458,6 +458,28 @@ STATE (string)." (bibli-paris/change-entry 'outline-get-next-sibling)) +;; change the state of an entry + +(defun bibli-paris/set-to-todo () + "Switch the entry at point to the TODO state." + (interactive) + (org-todo "TODO")) + +(defun bibli-paris/set-to-next () + "Switch the entry at point to the NEXT state." + (interactive) + (org-todo "NEXT")) + +(defun bibli-paris/set-to-booked () + "Switch the entry at point to the BOOKED state." + (interactive) + (org-todo "BOOKED")) + +(defun bibli-paris/set-to-done () + "Switch the entry at point to the DONE state." + (interactive) + (org-todo "DONE")) + ;; minor mode ;;;###autoload |
