emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Fixing slowness of following Gnus links to IMAP articles


From: Tassilo Horn
Subject: [Orgmode] Re: Fixing slowness of following Gnus links to IMAP articles
Date: Wed, 28 Jul 2010 08:50:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Nick Dokos <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]