emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ross Patterson <me@rpatterson.net>
To: emacs-orgmode@gnu.org
Subject: Re: keeping track of sent emails in org?
Date: Wed, 29 Oct 2008 10:41:33 -0700	[thread overview]
Message-ID: <874p2vuwmq.fsf@transitory.lefae.org> (raw)
In-Reply-To: 730F0A7D-DC99-4522-AAC1-58C6ACF33931@uva.nl

Carsten Dominik <dominik@science.uva.nl> writes:

> On Oct 29, 2008, at 12:27 PM, Pete Phillips wrote:
>
>>>>>>> "Sebastian" == Sebastian Rose <sebastian_rose@gmx.de> writes:
>>
>>    Sebastian> Carsten Dominik <dominik@science.uva.nl> 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

  parent reply	other threads:[~2008-10-29 17:45 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-26 17:31 keeping track of sent emails in org? Bill White
2008-10-27 14:20 ` Sebastian Rose
2008-10-27 15:01   ` Sebastian Rose
2008-10-27 18:11     ` Eric Schulte
2008-10-27 21:17       ` Bill White
2008-10-27 21:31         ` Chris McMahan
2008-10-27 21:35         ` Carsten Dominik
2008-10-27 21:45           ` Richard Riley
2008-10-27 21:49           ` Bill White
2008-10-27 21:59             ` Carsten Dominik
2008-10-27 22:43               ` Bill White
2008-10-27 23:12           ` Michael Ekstrand
2008-10-28  1:35             ` Michael Ekstrand
2008-11-03 11:18               ` Carsten Dominik
2008-11-03 13:37                 ` Michael Ekstrand
2008-10-29  8:56         ` Carsten Dominik
2008-10-29 12:21           ` Sebastian Rose
2008-10-29 11:27             ` Pete Phillips
2008-10-29 12:37               ` Carsten Dominik
2008-10-29 13:07                 ` Georg C. F. Greve
2008-10-29 15:06                   ` Christopher Suckling
2008-10-29 17:41                 ` Ross Patterson [this message]
2008-10-29 14:08           ` Mykola Nikishov
2008-10-29 15:17           ` Bernt Hansen
2008-10-29 15:44             ` Carsten Dominik
2008-10-29 15:47               ` Bernt Hansen
2008-10-29 16:08               ` Bernt Hansen
2008-10-29 17:39                 ` Ross Patterson
2008-10-29 18:03                   ` Bernt Hansen
2008-10-29 18:08                     ` Ross Patterson
2008-10-27 21:06     ` Bill White
2008-10-28 17:58 ` Carsten Dominik
2008-10-28 18:46   ` Ross Patterson
2008-10-28 19:14     ` Carsten Dominik
2008-10-28 19:19       ` Ross Patterson
2008-10-29  8:17     ` Carsten Dominik
2008-10-28 20:14   ` Bill White
  -- strict thread matches above, loose matches on Subject: below --
2008-10-28 20:37 Sullivan, Gregory (US SSA)
2008-10-29  9:38 ` Pete Phillips

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874p2vuwmq.fsf@transitory.lefae.org \
    --to=me@rpatterson.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).