emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: David Maus
Subject: Re: [Orgmode] Re: Fixing slowness of following Gnus links to IMAP articles
Date: Thu, 29 Jul 2010 09:33:35 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Tassilo Horn wrote:
>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.

Finally I got a novcache:

,----[ gnus.el ]
| ;;; Experimental Gnus setup
|
| (setq gnus-select-method '(nntp "news.gmane.org"))
| (setq gnus-secondary-select-methods
|       '((nnimap "localhost"
|               (nnimap-address "localhost")
|               (nnimap-server-port 993)
|               (nnimap-stream ssl))))
|
| (setq nnimap-nov-is-evil nil)
| (setq gnus-cache-enter-articles '(ticked dormant unread read))
|
| (setq org-gnus-nnimap-query-article-no-from-file t)
`----

Now the strange thing is that the novcache file in ~/News/overview is
100% identical to .overview in ~/News/agent

,----
| address@hidden ~/News % md5sum 
overview/nnimap/localhost/INBOX/1280089306/novcache 
agent/nnimap/localhost/INBOX/.overview
| b4a78e25a064f0c260f76080a00991cd  
overview/nnimap/localhost/INBOX/1280089306/novcache
| b4a78e25a064f0c260f76080a00991cd  agent/nnimap/localhost/INBOX/.overview
| address@hidden ~/News %
`----

Anyway: `nnimap-retrieve-headers-from-file' does not work as expected.
First, it requires the group parameter without backend and server
prefix (e.g. "INBOX" instead of "nnimap+localhost:INBOX".

Second it would return a cons (min-UID . max-UID).  That wouldn't help
us, would it?

Third and amazingly my novcache seems to be corrupt right after
creation: `nnimap-retrieve-headers-from-file' does not get the maximum
UID but reads "INBOX" (?!) -- A string that looks kind of a header
information for nov -- and not "18753" what is the highest UID in the
mailbox.

Last line of the cache:
(it's a local copy of wanderlust general newsgroup accessed via IMAP)

,----
| 18753 Re: checking imap folder unplugged      Yoichi NAKAYAMA 
<address@hidden>        Sun, 13 Oct 2002 10:19:13 +0900 <address@hidden>        
<address@hidden>        4424    13      Xref: t41.ictsoc.de INBOX:18753 
Newsgroups: gmane.mail.wanderlust.general.japanese
`----

Best,
 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

Attachment: pgpYccm7Ojk9t.pgp
Description: PGP signature


reply via email to

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