From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Capturing outgoing gnus e-mail Date: Sat, 14 Jun 2014 18:06:44 +0800 Message-ID: <87r42rkdor.fsf@ericabrahamsen.net> References: <8761k3rivi.fsf@kanis.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wvko1-0007Ty-B7 for emacs-orgmode@gnu.org; Sat, 14 Jun 2014 06:03:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wvknw-0006l7-8l for emacs-orgmode@gnu.org; Sat, 14 Jun 2014 06:03:25 -0400 Received: from plane.gmane.org ([80.91.229.3]:57589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wvknw-0006kR-2d for emacs-orgmode@gnu.org; Sat, 14 Jun 2014 06:03:20 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wvkno-0005iK-El for emacs-orgmode@gnu.org; Sat, 14 Jun 2014 12:03:12 +0200 Received: from 114.248.8.189 ([114.248.8.189]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Jun 2014 12:03:12 +0200 Received: from eric by 114.248.8.189 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Jun 2014 12:03:12 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: ding@gnus.org Ivan Kanis writes: > Hi, > > I would like to capture outgoing e-mail in my org file. > > I use the gcc mechanism in gnus with a nnml backend. > > I think I have read on the org mailing list that someone has implemented > that feature. I did a search but could not find the article. > > I tried implementing it myself. I had a look at the function > gnus-inews-do-gcc. It has the group and the article number. However org > link expect the Message-ID header. How do I get it? > > Thanks, > > Ivan Hi Ivan, That's something that Gnorb[1] can do. Make a capture template that you want to use for outgoing mail TODOs, and identify it: (setq gnorb-gnus-new-todo-capture-key "O") Then, while you're composing the email, call `gnorb-gnus-outgoing-do-todo' in the message buffer, which I have bound to "C-c t". You can also call it *after* sending the message, if you forgot, and it will initiate the same process from the last sent message. It works best when you're using Gcc, as that means Org is able to make a real link to the sent message. Gnorb will try to fake it, if you're not. If you set (setq gnorb-gnus-hint-relevant-article t), Gnorb will even notify you when you get a reply to your sent message. It's early days for Gnorb, but this part of it works well for me. I'd love a little more road-testing, if you're interested! I'm going to stick it in ELPA in a month or so, but for now: [1]: https://github.com/girzel/gnorb Hope it helps! E