From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: org-capture in message-mode buffer Date: Wed, 04 May 2011 22:36:06 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHdBi-0004NR-V1 for emacs-orgmode@gnu.org; Wed, 04 May 2011 10:36:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHdBe-0002iW-Qf for emacs-orgmode@gnu.org; Wed, 04 May 2011 10:36:26 -0400 Received: from lo.gmane.org ([80.91.229.12]:42912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHdBe-0002iB-GD for emacs-orgmode@gnu.org; Wed, 04 May 2011 10:36:22 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QHdBc-00007W-KL for emacs-orgmode@gnu.org; Wed, 04 May 2011 16:36:20 +0200 Received: from th041154.ip.tsinghua.edu.cn ([59.66.41.154]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 May 2011 16:36:20 +0200 Received: from sdl.web by th041154.ip.tsinghua.edu.cn with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 May 2011 16:36:20 +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 On 2011-05-04 21:14 +0800, Ulf Stegemann wrote: > The idea behind `org-store-link' (which is triggered by `org-capture') > in message mode is to store a link to a /sent/ message even though the > message has not been sent by the time you call `org-store-link'. This > currently works only with Gnus and only if there's a Gcc header present > in the message you are working on. `org-gnus-store-link' needs the Gcc > header to determine where the message would go once it has been sent (in > order to create a link to it). The error you've encountered means that > there hasn't been a Gcc header in your message when you've called > `org-capture'. I think org-gnus-store-link is too aggressive. I also dislike the fact that it inserts the Message-Id header. Also, the stored link may be useless unless it is referenced in the template chosen by the user. Leo