From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Fixing slowness of following Gnus links to IMAP articles Date: Wed, 28 Jul 2010 08:50:20 +0200 Message-ID: <87bp9s14nn.fsf@thinkpad.tsdh.de> References: <87r5jrcx9g.fsf@mundaneum.com> <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> <87aapdzalm.fsf_-_@thinkpad.tsdh.de> <874ofkoekr.wl%dmaus@ictsoc.de> <11714.1280265482@alphaville.usa.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=53289 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oe0TJ-00016s-L8 for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 02:50:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oe0TI-0002c7-Ct for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 02:50:33 -0400 Received: from lo.gmane.org ([80.91.229.12]:42145) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe0TI-0002bU-35 for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 02:50:32 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Oe0TD-0004gA-JK for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 08:50:27 +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 ; Wed, 28 Jul 2010 08:50:27 +0200 Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jul 2010 08:50:27 +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 Nick Dokos writes: Hi Nick, > [Warning: I know very little about gnus, perhaps just enough > to be dangerous and you probably already know all this, but just > in case... The bit that caught my attention is the slowness of > the uid search command on some versions of Courier, which seems... > related.] Yeah, just a minute ago when replying to David I also stumbled across that paragraph. So maybe we are trying to replace one extremely long running command which only occurs when following links (or searching for Message-Ids) with a constant slowness in normal operation. But let's try it out. > Perhaps this bit from the Gnus docs might help? > > ,---- > | `nnimap-nov-is-evil' > | Never generate or use a local NOV database. Defaults to the value > | of `gnus-agent'. > | > | Using a NOV database usually makes header fetching much faster, > | but it uses the `UID SEARCH UID' command, which is very slow on > | some servers (notably some versions of Courier). Since the Gnus > | Agent caches the information in the NOV database without using the > | slow command, this variable defaults to true if the Agent is in > | use, and false otherwise. > `---- > > Seems to have something to do with the agent? In my case, both > > gnus-agent > and > gnus-agent-cache > > are t, but I have no idea how to set up nnimap, so I can't check any > of this. It should be as easy as: (add-to-list 'gnus-secondary-select-methods '(nnimap "MyAccount" (nnimap-address "my-imap.server.com"))) and putting your user/password for my-imap.server.com into your ~/.authinfo. You might want to put a (nnimap-stream tls) into the method spec above if the server supports TLS (or ssl for SSL). > One-of-these-days-I'll-really-understand-gnus-but-not-soon-ly yours, Nobody understands Gnus. ;-) Bye, Tassilo