emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Ross Patterson
Subject: [Orgmode] Re: keeping track of sent emails in org?
Date: Wed, 29 Oct 2008 10:41:33 -0700
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

Carsten Dominik <address@hidden> writes:

> 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.

Maybe this would be best integrated with clocking time?  IOW, the link
will be added as a note to the headline the you are currently clocked
into.  Maybe it could even be integrated with an option to clock out and
back into the same task adding the link to the clock out note.

Just call me pie-in-the-sky-guy.  :)

Ross





reply via email to

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