CCE

Gnus Task Tracking

Generally links from my news reader are probably not going to use the "review this" capture but it will instead go through my browser-centric Email and News and Information Pipelines. I'll probably just use the "review" one for email newsletters which don't provide web links. The respond one will be important and fill in to My Org-mode Agendas.

emacs-lisp:tangle ~/nix/lisp/gnus-org-integration.el
(with-eval-after-load 'org-capture
  (add-to-list 'org-capture-templates
               '("g" "Gnus Captures"))
  (add-to-list 'org-capture-templates
               '("gr" "respond to this" plain (file+headline "~/org/emails.org" "Respond")
                 (file "~/org/cce/captures/gnus-respond")))
  (add-to-list 'org-capture-templates
               '("gR" "review this" plain (file+headline "~/org/emails.org" "Review")
                 (file "~/org/cce/captures/gnus-review")))
  (add-to-list 'org-capture-templates
               '("gf" "filter this" plain (file+headline "~/org/emails.org" "Filter")
                 (file "~/org/cce/captures/gnus-filter")))

  (add-to-list 'org-capture-templates-contexts '("g" ((in-mode . "gnus-article-mode")
                                                      (in-mode . "gnus-summary-mode")))))

(provide 'cce/gnus-org-integration)
org:tangle ~/nix/files/captures/gnus-respond:comments no
 ** NEXT Respond to %:fromname : %a
%?
org:tangle ~/nix/files/captures/gnus-review:comments no
 ** NEXT Review %:fromname : %a

%?
org:tangle ~/nix/files/captures/gnus-filter:comments no
 ** NEXT filter %:fromname : %a


From: %:fromaddress
To: %:toaddress

%?