emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org tasks from gnus
@ 2012-04-22 13:30 Kyle Sexton
  2012-04-22 14:31 ` Richard Riley
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Kyle Sexton @ 2012-04-22 13:30 UTC (permalink / raw)
  To: emacs-orgmode

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.

-- 
Kyle Sexton

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Org tasks from gnus
  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-23 12:31 ` Rasmus
  2 siblings, 0 replies; 8+ messages in thread
From: Richard Riley @ 2012-04-22 14:31 UTC (permalink / raw)
  To: emacs-orgmode

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.

Simpy put a link to the gnus message in the clipboard and paste it
in. Its well documented.

http://orgmode.org/manual/Handling-links.html

Depnds on this workflow and from where you want to get the link etc.

Capture templates can auto insert links to.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Org tasks from gnus
  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
  2 siblings, 1 reply; 8+ messages in thread
From: Rémi Vanicat @ 2012-04-23  7:13 UTC (permalink / raw)
  To: emacs-orgmode

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.

I've the following recipe in my org-capture-template:

     ("m" "mailnote" entry (file+headline "~/org/notes.org" "Notes")
          "** From: %:from Subject: %:subject\n   %a" :kill-buffer t)

So when I do `C-c r m` it create a note with a link to the relevant gnus
message. Look at http://orgmode.org/manual/Template-expansion.html for
other %:something.
-- 
Rémi Vanicat

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Org tasks from gnus
  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-23 12:31 ` Rasmus
  2012-04-23 14:45   ` Jérémie Courrèges-Anglas
  2 siblings, 1 reply; 8+ messages in thread
From: Rasmus @ 2012-04-23 12:31 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Org tasks from gnus
  2012-04-23 12:31 ` Rasmus
@ 2012-04-23 14:45   ` Jérémie Courrèges-Anglas
  2012-04-23 14:57     ` Rasmus
  0 siblings, 1 reply; 8+ messages in thread
From: Jérémie Courrèges-Anglas @ 2012-04-23 14:45 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

Rasmus <rasmus@gmx.us> writes:
[...]
> As others said, use org-complete.  Most of my TODOs link to a mail. 
[...]
I think you meant org-capture, as described by your example setup. :)
Org-capture works indeed fine for me.

-- 
Jérémie Courrèges-Anglas
GPG fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Org tasks from gnus
  2012-04-23 14:45   ` Jérémie Courrèges-Anglas
@ 2012-04-23 14:57     ` Rasmus
  2012-04-24  1:52       ` Mike McLean
  0 siblings, 1 reply; 8+ messages in thread
From: Rasmus @ 2012-04-23 14:57 UTC (permalink / raw)
  To: emacs-orgmode

jca+org@wxcvbn.org (Jérémie Courrèges-Anglas) writes:

> Rasmus <rasmus@gmx.us> writes:
> [...]
>> As others said, use org-complete.  Most of my TODOs link to a mail.
> [...]
> I think you meant org-capture, as described by your example setup. :)
> Org-capture works indeed fine for me.

Sure, that's what I meant :)

-- 
In theory, practice and theory are the same. In practice they are not

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Org tasks from gnus
  2012-04-23 14:57     ` Rasmus
@ 2012-04-24  1:52       ` Mike McLean
  0 siblings, 0 replies; 8+ messages in thread
From: Mike McLean @ 2012-04-24  1:52 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode


On Apr 23, 2012, at 10:57 AM, Rasmus wrote:

> jca+org@wxcvbn.org (Jérémie Courrèges-Anglas) writes:
> 
>> Rasmus <rasmus@gmx.us> writes:
>> [...]
>>> As others said, use org-complete.  Most of my TODOs link to a mail.
>> [...]
>> I think you meant org-capture, as described by your example setup. :)
>> Org-capture works indeed fine for me.
> 
> Sure, that's what I meant :)

And here I was looking for an Org Mode feature (org-complete) that would have new to me :)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Org tasks from gnus
  2012-04-23  7:13 ` Rémi Vanicat
@ 2012-04-26 12:05   ` Eric Fraga
  0 siblings, 0 replies; 8+ messages in thread
From: Eric Fraga @ 2012-04-26 12:05 UTC (permalink / raw)
  To: Rémi Vanicat; +Cc: emacs-orgmode

Rémi Vanicat <vanicat@debian.org> writes:

> 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.
>
> I've the following recipe in my org-capture-template:
>
>      ("m" "mailnote" entry (file+headline "~/org/notes.org" "Notes")
>           "** From: %:from Subject: %:subject\n   %a" :kill-buffer t)
>
> So when I do `C-c r m` it create a note with a link to the relevant gnus
> message. Look at http://orgmode.org/manual/Template-expansion.html for
> other %:something.

Thanks for this.  Very useful.  I didn't know about the %:from
etc. keywords.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1
: using Org-mode version 7.8.06 (release_7.8.09.392.ge0222)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-26 12:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-04-23 14:45   ` Jérémie Courrèges-Anglas
2012-04-23 14:57     ` Rasmus
2012-04-24  1:52       ` Mike McLean

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).