Display annotation count in minibuffer
This commit is contained in:
parent
1f6ad040a5
commit
7aea4db13d
1 changed files with 2 additions and 1 deletions
|
@ -97,9 +97,10 @@
|
||||||
(defun taskwarrior--display-task-details-in-echo-area ()
|
(defun taskwarrior--display-task-details-in-echo-area ()
|
||||||
(let* ((id (taskwarrior-id-at-point))
|
(let* ((id (taskwarrior-id-at-point))
|
||||||
(task (taskwarrior-export-task id))
|
(task (taskwarrior-export-task id))
|
||||||
|
(annotation-count (length (alist-get 'annotations task)))
|
||||||
(due (taskwarrior--parse-timestamp (alist-get 'due task))))
|
(due (taskwarrior--parse-timestamp (alist-get 'due task))))
|
||||||
(when due
|
(when due
|
||||||
(message "Due: %s" due))))
|
(message "Due: %s | %i Annotations" due annotation-count))))
|
||||||
|
|
||||||
(defun taskwarrior-previous-task ()
|
(defun taskwarrior-previous-task ()
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|
Loading…
Reference in a new issue