[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Store link in message mode
From: |
Tassilo Horn |
Subject: |
[Orgmode] Re: Store link in message mode |
Date: |
Wed, 17 Nov 2010 15:29:11 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Łukasz Stelmach <address@hidden> writes:
Hi Łukasz,
>>> If you think --despite of those issues-- it's worth adding the
>>> creation of gnus links while in message mode I could provide a
>>> patch.
>>
>> I'm curious how you are able to determine where a message will be
>> filed after sending it off. I mean, you neither have the Message-Id
>> at that point (unless that's added to
>> `message-generate-headers-first'), nor do you know the correct group,
>> at least if there are more than one in the Gcc header.
>
> There is a facility in Gnus called <info:(gnus)The Gnus Registry>
> which I havn't investigated yet but it looks promising. From what I've
> browsed the info it looks like it registers all the message ids and
> remembers the folders. So it would be enough to remember the MID and
> then make Gnus find it.
But I think a user needs to enable that explicitly, so one cannot rely
on this feature being available... And the user has to setup
`gnus-refer-article-method' properly...
,----[ (info "(gnus)Registry Article Refer Method") ]
| The `nnregistry' refer method does exactly that. It has the
| advantage that an article may be found regardless of the group it's
| in--provided its `Message-ID' is known to the registry. It can be
| enabled by augmenting the start-up file with something along these
| lines:
|
| ;; Keep enough entries to have a good hit rate when referring to an
| ;; article using the registry. Use long group names so that Gnus
| ;; knows where the article is.
| (setq gnus-registry-max-entries 2500
| gnus-registry-use-long-group-names t)
|
| (gnus-registry-initialize)
|
| (setq gnus-refer-article-method
| '(current
| (nnregistry)
| (nnweb "gmane" (nnweb-type gmane))))
`----
Bye,
Tassilo