emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Org tasks from gnus
Date: Mon, 23 Apr 2012 13:31:59 +0100	[thread overview]
Message-ID: <878vhmvdc0.fsf@pank.eu> (raw)
In-Reply-To: m2ty0bevvz.fsf@mocker.org

Kyle Sexton <ks@mocker.org> 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

  parent reply	other threads:[~2012-04-23 12:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-22 13:30 Org tasks from gnus Kyle Sexton
2012-04-22 14:31 ` Richard Riley
2012-04-23  7:13 ` Rémi Vanicat
2012-04-26 12:05   ` Eric Fraga
2012-04-23 12:31 ` Rasmus [this message]
2012-04-23 14:45   ` Jérémie Courrèges-Anglas
2012-04-23 14:57     ` Rasmus
2012-04-24  1:52       ` Mike McLean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878vhmvdc0.fsf@pank.eu \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).