Carsten Dominik <[EMAIL PROTECTED]> writes: > On Oct 29, 2008, at 12:27 PM, Pete Phillips wrote: > >>>>>>> "Sebastian" == Sebastian Rose <[EMAIL PROTECTED]> writes: >> >> Sebastian> Carsten Dominik <[EMAIL PROTECTED]> 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 _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode