[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] keeping track of sent emails in org?

From: Carsten Dominik
Subject: Re: [Orgmode] keeping track of sent emails in org?
Date: Wed, 29 Oct 2008 13:37:25 +0100

On Oct 29, 2008, at 12:27 PM, Pete Phillips wrote:

"Sebastian" == Sebastian Rose <address@hidden> writes:

   Sebastian> Carsten Dominik <address@hidden> writes:
In the git version, message ids are now used for links to gnus
articles.  Could some of you please verify this change?

   Sebastian> How to?  I did a `C-c l' in an outgoing message and a
   Sebastian> `C-c C-l' in an Org-file.  The link created was:

   Sebastian> [[file:emacs/gnus/News/drafts/drafts/2::asdf][Test for
   Sebastian> outgoing mail link]]

   Sebastian> Is this, what's expected? Or do I have to set something
   Sebastian> up first?

As far as I am aware, message ID's are generated by the MTA, not the
MUA. Therefore I doubt that you can link to a message that hasn't been
through the MTA. Certainly in mh-e, when I'm editing a draft, there is
no Message-ID in the header, so I doubt if what Sebastien is trying to
do above will work (unless gnus generates the ID during composition of
the email ?)

Sacha calls the link creating code in message-sent-hook, and I believe at this moment in time, the message-id is present. So `C-c l' before sending will not help. But a function in the hook cold get there.

Here is an idea for storing links to sent messages in the outline- tree: Write a function that remembers the current location in the outline tree (by creating a marker), calls up a message buffer, and installs a special hook function that will create a link to the sent message and insert it back at the position in the outline tree where the email command was called. This could be made to work even from an agenda view.

- Carsten

reply via email to

[Prev in Thread] Current Thread [Next in Thread]