From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Store link in message mode Date: Wed, 17 Nov 2010 15:29:11 +0100 Message-ID: <87d3q4f2h4.fsf@member.fsf.org> References: <874obivco0.fsf@member.fsf.org> <87bp5ps8rq.fsf@kotik.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=37001 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIj0r-0001mK-7T for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 09:29:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIj0p-0002K9-EE for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 09:29:29 -0500 Received: from lo.gmane.org ([80.91.229.12]:42378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIj0p-0002K1-4I for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 09:29:27 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PIj0m-0005xe-U5 for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 15:29:24 +0100 Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2010 15:29:24 +0100 Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2010 15:29:24 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Łukasz Stelmach 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 > 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