From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Behavior of Gnus when called from an hyperlink Date: Mon, 26 Jul 2010 17:12:54 +0200 Message-ID: <877hkiwa2x.fsf@thinkpad.tsdh.de> References: <87r5jrcx9g.fsf@mundaneum.com> <23582.1277735944@gamaville.dokosmarshall.org> <87vd936wiq.fsf@mundaneum.com> <87eifr3t52.fsf@thinkpad.tsdh.de> <87vd8gcu6k.fsf@mundaneum.com> <87oce7j26i.fsf@thinkpad.tsdh.de> <87fwzjfyf8.fsf@mundaneum.com> <878w5bkxx7.fsf@mundaneum.com> <87hbjyzicz.fsf@thinkpad.tsdh.de> <13292.1279382554@gamaville.dokosmarshall.org> <87zkxpanh1.fsf@mundaneum.com> <23154.1279399784@gamaville.dokosmarshall.org> <87zkxpg5cg.fsf@mundaneum.com> <87wrstn4a9.fsf@mundaneum.com> <87fwzf51t1.fsf@thinkpad.tsdh.de> <87d3ujbrwt.wl%dmaus@ictsoc.de> <87wrsrmcnf.fsf@mundaneum.com> <87lj96k6xn.wl%dmaus@ictsoc.de> <87wrsoy5b2.fsf@mundaneum.com> <87sk3b3dfk.fsf@thinkpad.tsdh.de> <87bp9uz8jh.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=33701 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdPMe-0000Ok-FS for emacs-orgmode@gnu.org; Mon, 26 Jul 2010 11:13:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdPMZ-0007lM-8z for emacs-orgmode@gnu.org; Mon, 26 Jul 2010 11:13:12 -0400 Received: from lo.gmane.org ([80.91.229.12]:54635) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdPMY-0007l4-TP for emacs-orgmode@gnu.org; Mon, 26 Jul 2010 11:13:07 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OdPMU-0001ip-10 for emacs-orgmode@gnu.org; Mon, 26 Jul 2010 17:13:02 +0200 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 ; Mon, 26 Jul 2010 17:13:02 +0200 Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Jul 2010 17:13:02 +0200 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 David Maus writes: Hi David, >>I'm not sure, but I think the gnus registry caches message-ids and >>other information. Maybe, that could speed things up a bit. > > After toying arround with Gnus at the weekend: Yes, there is .overview > in ~/News/agent/nnimap/// that contains UIDs and (among > others) the message-id header. However it seems like there is no > function in gnus-cache.el to query the UID ("message number") for a > given message-id. If that is true, I'd go and ask the Gnus devs for the reason. Maybe in most cases querying the server is faster than processing the .overview file... > A hacky solution could be to do the lookup manually in org-gnus.el: If > the backend is nnimap and this cache file exists and a customization > variable `org-gnus-foo' is set, open the file and try to find the UID > for this message-id. Well, as a last resort that could be done, but I'm in favor of delegating the issue to the Gnus devs. The problem will bite you in normal Gnus usage, too. (Ok, at least when searching for/restricting with a given message id. Scoring is also a candidate using message-ids.) Do you want to raise a question at ding@gnus.org, or should I do this evening? Bye, Tassilo