emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: Re: Store link in message mode
Date: Wed, 17 Nov 2010 15:29:11 +0100	[thread overview]
Message-ID: <87d3q4f2h4.fsf@member.fsf.org> (raw)
In-Reply-To: 87bp5ps8rq.fsf@kotik.lan

Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> 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

  reply	other threads:[~2010-11-17 14:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15 12:43 Store link in message mode Ulf Stegemann
2010-11-15 15:17 ` Tassilo Horn
2010-11-15 16:00   ` Ulf Stegemann
2010-11-16 13:22   ` Łukasz Stelmach
2010-11-17 14:29     ` Tassilo Horn [this message]
2010-11-20 19:05       ` Łukasz Stelmach
2011-02-08 16:00 ` Bastien
2011-02-09 14:41   ` Ulf Stegemann
2011-02-09 16:01   ` Bastien

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=87d3q4f2h4.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --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).