emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org tasks from gnus


From: Rasmus
Subject: Re: [O] Org tasks from gnus
Date: Mon, 23 Apr 2012 13:31:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Kyle Sexton <address@hidden> writes:

> Does anyone know a way to automatically create/link org-tasks from Gnus
> messages?  My current workflow is to just start a new capture and type
> in or paste some of the relevant info, but if org could link to the
> message that would be ideal.

As others said, use org-complete.  Most of my TODOs link to a mail. 

Here's something to get you started (from my org-config.org).  Then just
call C-c c from a Gnus mail.  Add what needs to be added and C-c C-c.
It's in your agenda (assuming ~/documents/todo.org in in your Org agenda
list)

#+begin_src org
* Capture
  Capture is used to capture things... It is the new thing

#+begin_src emacs-lisp
(setq org-default-notes-file (concat org-directory "~/documents/noter.org"))
(define-key global-map "\C-cc" 'org-capture)
#+end_src

It needs templates
#+begin_src emacs-lisp
  (setq org-capture-templates
        '(("t" "Todo" entry (file+headline "~/documents/todo.org" "Tasks")
           "* TODO %?\n  %i\n  %a")
          ("w" "Word" entry
           (file+headline "~/documents/words.org" "Sweet Words")
           "* %:subject %?
  %i%a")
;;         ("j" "Journal" entry (file+datetree 
"~/documents/unidocs/journal.org")
;;           "* %?\nEntered on %U\n  %i\n  %a")
         ))

#+end_src

–Ramsus

-- 
This is the kind of tedious nonsense up with which I will not put




reply via email to

[Prev in Thread] Current Thread [Next in Thread]