From: Matt Lundin <mdl@imapmail.org>
To: Greg Troxel <gdt@ir.bbn.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mode gnus integration across two machines when using nnimap
Date: Wed, 01 Dec 2010 21:58:14 -0500 [thread overview]
Message-ID: <878w08dgop.fsf@fastmail.fm> (raw)
In-Reply-To: <rmid3plvsz2.fsf@fnord.ir.bbn.com> (Greg Troxel's message of "Wed, 01 Dec 2010 20:55:29 -0500")
Greg Troxel <gdt@ir.bbn.com> writes:
> Basically, when reading an email (in gnus, in wl, in other emacs MUAs
> possibly), type "C-c l" (org-store-link) which will /store/ a link to
> that email ("store" is the wrong word, in my view; it should arguably be
> "make" or "create" or "define" or ... but that's neither here nor
> there). You can then put that link in an org file with "C-c C-l RET"
> (org-store-link, accepting the default which should be the last link you
> stored).
>
> Perhaps my capture setup isn't fancy enough, but I think it would be
> nice if the default for capture when invoked from gnus were to grab the
> gnus link and insert it in the body of the new org headline.
That's what the "%a" is for in the capture template.
,----[ from C-h v org-capture-templates ]
| %a annotation, normally the link created with `org-store-link'
`----
However, the default setup (i.e., when org-capture-templates is nil)
also grabs the link:
,----[ org-capture.el (1110-1101) ]
| ;; Use an arbitrary default template
| '("t" "Task" entry (file+headline "" "Tasks") "* TODO %?\n %u\n %a")))
`----
Here's what happened when I used the default template on your email:
--8<---------------cut here---------------start------------->8---
** TODO
[2010-12-01 Wed]
[[gnus:gmane.emacs.orgmode#rmid3plvsz2.fsf@fnord.ir.bbn.com][Greg Troxel: Re: Re: org-mode gnus integration across two machines when using nnimap]]
--8<---------------cut here---------------end--------------->8---
But perhaps I misunderstand what you mean by the body of the default
gnus headline. Here's a simple template for capturing a link in a
headline:
--8<---------------cut here---------------start------------->8---
("l" "link" entry
(file "~/org/inbox.org")
"* %a\n %U\n %?\n %i")
--8<---------------cut here---------------end--------------->8---
Do you have org-gnus in activated in org-modules (the default)?
Best,
Matt
next prev parent reply other threads:[~2010-12-02 2:58 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-26 16:26 moving in the agenda view is slow Rainer Stengele
2010-11-26 16:46 ` Carsten Dominik
2010-11-26 18:20 ` org-mode gnus integration across two machines when using nnimap Tommy Kelly
2010-11-26 18:35 ` Dan Christensen
2010-11-26 18:53 ` Tommy Kelly
2010-11-26 19:40 ` Dan Christensen
2010-12-14 23:07 ` Ted Zlatanov
2010-12-01 18:41 ` e20100633
2010-12-01 22:55 ` [Orgmode] " Eric S Fraga
2010-12-01 23:44 ` e20100633
2010-12-02 1:32 ` Bernt Hansen
2010-12-02 7:24 ` e20100633
2010-12-02 1:55 ` Greg Troxel
2010-12-02 2:58 ` Matt Lundin [this message]
2010-11-26 20:15 ` moving in the agenda view is slow Martin Stemplinger
2010-11-26 21:28 ` Markus Heller
2010-11-27 11:31 ` Rainer Stengele
2010-11-26 23:04 ` Eric S Fraga
2010-11-26 23:08 ` Carsten Dominik
2010-11-27 2:53 ` Nick Dokos
2010-11-27 7:09 ` Manuel Hermenegildo
2010-11-27 11:22 ` Rainer Stengele
2010-11-27 11:21 ` Rainer Stengele
2010-11-27 17:00 ` Nick Dokos
2010-11-27 18:25 ` Rainer Stengele
2010-11-27 19:23 ` Nick Dokos
2010-11-27 21:11 ` Rainer Stengele
2010-11-28 0:30 ` Nick Dokos
2010-11-28 18:38 ` Rainer Stengele
2010-11-28 20:01 ` Nick Dokos
2010-11-28 20:17 ` Eric S Fraga
2010-11-28 22:11 ` Nick Dokos
2010-11-30 12:28 ` Eric S Fraga
2010-11-28 21:41 ` Rainer Stengele
2010-12-15 11:47 ` Eric S Fraga
2010-11-28 17:37 ` Eric S Fraga
2010-11-28 19:29 ` Nick Dokos
2010-11-28 19:40 ` Rainer Stengele
2010-11-28 21:32 ` Nick Dokos
2010-11-28 22:12 ` Eric S Fraga
2010-11-28 22:31 ` Nick Dokos
2010-11-29 8:53 ` Rainer Stengele
2010-11-29 10:51 ` Rainer Stengele
2010-11-29 15:56 ` Nick Dokos
2010-11-29 16:15 ` Sébastien Vauban
2010-11-30 12:30 ` Eric S Fraga
2010-12-01 14:18 ` Carsten Dominik
2010-12-01 15:11 ` moving in the agenda view is slow: solved! Rainer Stengele
2010-12-01 15:19 ` Carsten Dominik
2010-12-01 17:30 ` Eric S Fraga
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=878w08dgop.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=gdt@ir.bbn.com \
/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).