emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill White <billw@wolfram.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: keeping track of sent emails in org?
Date: Mon, 27 Oct 2008 17:43:23 -0500	[thread overview]
Message-ID: <87hc6xfylw.fsf@wolfram.com> (raw)
In-Reply-To: <D9082A4C-DF6C-4BAD-AC78-AD2788BB24BC@gmail.com> (Carsten Dominik's message of "Mon, 27 Oct 2008 22:59:18 +0100")

On Mon Oct 27 2008 at 16:59, Carsten Dominik <carsten.dominik@gmail.com> wrote:

> On Oct 27, 2008, at 10:49 PM, Bill White wrote:
>
>> On Mon Oct 27 2008 at 16:35, Carsten Dominik
>> <dominik@science.uva.nl> wrote:
>>
>>> On Oct 27, 2008, at 10:17 PM, Bill White wrote:
>>>
>>>> On Mon Oct 27 2008 at 13:11, "Eric Schulte" <schulte.eric@gmail.com>
>>>> wrote:
>>>>
>>>>> Sebastian Rose <sebastian_rose@gmx.de> 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."

  reply	other threads:[~2008-10-27 22:43 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 [this message]
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
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=87hc6xfylw.fsf@wolfram.com \
    --to=billw@wolfram.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=carsten.dominik@gmail.com \
    /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).