Re: gnus queries all mail folders on startup

2006-12-15 Thread Chris Moore
> From: Michael Welsh Duggan  cs.cmu.edu>
> Newsgroups: gmane.emacs.devel
> Date: 2006-12-14 07:15:03 GMT (18 hours and 20 minutes ago)
> 
>> From: Chris Moore  gmail.com>
>> To: emacs-pretest-bug  gnu.org
>> Date: Thu, 07 Dec 2006 16:18:08 +0100
>>
>> I'm using nnimap in gnus to read my email.
>>
>> Each time I start gnus, it polls every one of my hundreds of mail
>> folders, which takes quite a long time.
>>
>> I've set gnus-activate-level to 5, and unsubscribed from the folders I
>> don't want it to scan.  I've checked, and those folders now have a
>> rank of 6, and so they shouldn't be scanned by default.
> 
> Since nobody seems to have followed up on this...
> 
> Chris, what is the value of `gnus-read-active-file'?  According to the
> documentation, it should be `some' by default.  If it is t, try
> setting it to some to see if that solves the problem.
> 
> (Gnus node: "The Active File")

Hi Michael.  I'm amazed I saw your message.  I reported this bug on
emacs-pretest-bugs and don't read emacs-devel.  I just happened to
notice my name while looking through the archives for a Windows Emacs
pretest binary.

Please, anyone, when replying to messages forwarded from a different
list, either reply to the original list or the original author.
Otherwise your reply could well go unseen by the person you're
attempting to address.


To answer your question:

  gnus-read-active-file is a variable defined in `gnus-start.el'.
  Its value is some

Chris.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


gnus queries all mail folders on startup

2006-12-07 Thread Chris Moore
I'm using nnimap in gnus to read my email.

Each time I start gnus, it polls every one of my hundreds of mail
folders, which takes quite a long time.

I've set gnus-activate-level to 5, and unsubscribed from the folders I
don't want it to scan.  I've checked, and those folders now have a
rank of 6, and so they shouldn't be scanned by default.

If I interrupt the lengthy startup process, I see a backtrace like
this:

  accept-process-output(# 0 100)
  imap-wait-for-tag(919 nil)
  imap-send-command-wait("EXAMINE \"sites.s\"")
  imap-mailbox-select-1("sites.s" examine)
  imap-mailbox-select("sites.s" examine)
  nnimap-find-minmax-uid("sites.s" examine)
  nnimap-retrieve-groups(("sites.linkedin" "deleted" "sites.worth1000" 
"sites.google.blogger" ...) "localhost")
  gnus-retrieve-groups(("sites.linkedin" "deleted" "sites.worth1000" 
"sites.google.blogger"  ...) (nnimap "localhost"))
  gnus-read-active-file-2(("sites.linkedin" "deleted" "sites.worth1000" 
"sites.google.blogger" ...) (nnimap "localhost"))
  gnus-read-active-file-1((nnimap "localhost") nil)
  gnus-read-active-file(nil nil)
  gnus-setup-news(nil nil nil)
  byte-code(...)
  gnus-1(nil nil nil)
  gnus(nil)
  call-interactively(gnus)

And I can see here that the rank of "sites.worth1000" is 6, whereas
gnus-activate-level is 5:

  ELISP> (gnus-info-rank (assoc "sites.worth1000" gnus-newsrc-alist))
  6
  ELISP> gnus-activate-level
  5

Info node "(gnus) Group Levels" tells me:

 Gnus will normally just activate (i. e., query the server about)
  groups on level `gnus-activate-level' or less.  If you don't want to
  activate unsubscribed groups, for instance, you might set this variable
  to 5.  The default is 6.





In GNU Emacs 22.0.91.24 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2006-12-06 on chrislap
X server distributor `RealVNC Ltd', version 11.0.3370
configured using `configure '--with-gtk' '--prefix' '/usr/local/emacs22' 
'--with-xpm' '--with-jpeg' '--with-png' '--with-gif''


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug