60 lines
2.2 KiB
Org Mode
60 lines
2.2 KiB
Org Mode
:PROPERTIES:
|
|
:ID: cce/gnus_task_tracking
|
|
:END:
|
|
#+TITLE: Gnus Task Tracking
|
|
#+filetags: :CCE:
|
|
|
|
#+PROPERTY: header-args :mkdirp yes :results none
|
|
#+PROPERTY: header-args:emacs-lisp :tangle gnus-org-integration.el
|
|
#+PROPERTY: header-args:yaml :tangle roles/endpoint/tasks/gnus-org-integration.yml
|
|
|
|
#+ARCOLOGY_KEY: cce/gnus-org-integration
|
|
#+ARCOLOGY_ALLOW_CRAWL: t
|
|
|
|
#+ARROYO_EMACS_MODULE: gnus-org-integration
|
|
#+ARROYO_MODULE_WANTS: cce/gnus.org
|
|
#+ARROYO_MODULE_WANTS: cce/capturing_tasks.org
|
|
|
|
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 [[id:26c9e4fd-4501-4b8b-95ce-a2a5230d7c1e][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 [[id:cce/my_org_mode_agendas][My Org-mode Agendas]].
|
|
|
|
#+begin_src emacs-lisp
|
|
(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)
|
|
#+end_src
|
|
|
|
#+begin_src org :tangle captures/gnus-respond :comments no
|
|
,** NEXT Respond to %:fromname : %a
|
|
%?
|
|
#+end_src
|
|
|
|
#+begin_src org :tangle captures/gnus-review :comments no
|
|
,** NEXT Review %:fromname : %a
|
|
|
|
%?
|
|
#+end_src
|
|
|
|
#+begin_src org :tangle captures/gnus-filter :comments no
|
|
,** NEXT filter %:fromname : %a
|
|
|
|
|
|
From: %:fromaddress
|
|
To: %:toaddress
|
|
|
|
%?
|
|
#+end_src
|