From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill White Subject: Re: keeping track of sent emails in org? Date: Mon, 27 Oct 2008 17:43:23 -0500 Message-ID: <87hc6xfylw.fsf@wolfram.com> References: <871vy3tg9x.fsf@wolfram.com> <4905CE30.7040904@gmx.de> <4905D7AD.2090700@gmx.de> <878ws97vrr.fsf@gmail.com> <87skqhivq8.fsf@wolfram.com> <87bpx5iu8i.fsf@wolfram.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kuao3-00021E-Vl for emacs-orgmode@gnu.org; Mon, 27 Oct 2008 18:43:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kuao3-00020o-AB for Emacs-orgmode@gnu.org; Mon, 27 Oct 2008 18:43:27 -0400 Received: from [199.232.76.173] (port=39099 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kuao3-00020h-8A for Emacs-orgmode@gnu.org; Mon, 27 Oct 2008 18:43:27 -0400 Received: from webmail.wolfram.com ([140.177.205.37]:35726) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kuao2-0005FF-OP for Emacs-orgmode@gnu.org; Mon, 27 Oct 2008 18:43:27 -0400 In-Reply-To: (Carsten Dominik's message of "Mon, 27 Oct 2008 22:59:18 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Emacs-orgmode@gnu.org On Mon Oct 27 2008 at 16:59, Carsten Dominik wrote: > On Oct 27, 2008, at 10:49 PM, Bill White wrote: > >> On Mon Oct 27 2008 at 16:35, Carsten Dominik >> wrote: >> >>> On Oct 27, 2008, at 10:17 PM, Bill White wrote: >>> >>>> On Mon Oct 27 2008 at 13:11, "Eric Schulte" >>>> wrote: >>>> >>>>> Sebastian Rose writes: >>>>> >>>>>> Hi Bill, >>>>>> >>>>>> to add links to autgoing mails automatically, adding a link to >>>>>> such a >>>>>> mail once should be enough, to add the right funciton to your >>>>>> 'mail-send-hook' (?? don't no which hook really...) since it's >>>>>> just a >>>>>> question of the link format. >>>>>> >>>>> >>>>> It seems like this could get complicated as it depends on how/where >>>>> you store your sent messages. Also, it looks like org-mode links >>>>> rely >>>>> on the gnus group, and article id to link back to an article, so >>>>> somehow you would need a hook which runs after the sent article has >>>>> been saved into a group and given an ID. >>>> >>>> Ah ha! Something was bugging me about org's links to gnus messages. >>> >>> Can Gnus in general find messages by message-id? Then it would be >>> nice if we could do that. I believe the mhe interface does use >>> message-id already, maybe others too. >> >> I know this link, generated by remember, works from planner: >> >> [[gnus://nnml:wri.d-wpt/<49062748.8030208@wolfram.com>][E-Mail from >> Soandso]] >> >> And this, generated from Sacha's code, also works from planner: >> >> [[gnus://nnml:archive.2008-10/<87skqhivq8.fsf@wolfram.com>][Eric >> Schulte: Re: %5BOrgmode%5D keeping track of sent emails in org?]] >> >> (I store this month's outgoing mail in ~/Mail/archive/2008-10) >> >> >> I don't know how planner's gnus:// link works, though. > > This looks to me that the link needs to know in which group the > message is located, so such links will probably get broken when you > move the message. So when you create the link in a group, then move > it to a different group or folder, does the link then still work? I don't know - I never do that. Just a minute [fiddles with files...] So I went to the archive group in gnus, moved the message to nnml:temp via 'B m', then clicked the planner link to that message. The code called by the link eventually calls (gnus-summary-goto-article article-id nil t) where article-id is, in my case, the message-id. Somehow, gnus found that message and displayed it *in the archive group* (with an article ID number of -1) even though it isn't in that group anymore and I don't have gnus-registry enabled. There lurk gnus mysteries. Dunno whether that helps :-/ Cheers - bw -- Bill White . billw@wolfram.com . http://members.wolfram.com/billw "No ma'am, we're musicians."