From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44495 Path: main.gmane.org!not-for-mail From: iny+news@iki.fi (Ilpo =?iso-8859-1?q?Nyyss=F6nen?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Faster nnimap: nnimap-retrieve-groups-asynchronous Date: Tue, 30 Apr 2002 11:30:30 +0300 Organization: ypy - it's just a name Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1020155534 17462 127.0.0.1 (30 Apr 2002 08:32:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 30 Apr 2002 08:32:14 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 172T3V-0004XX-00 for ; Tue, 30 Apr 2002 10:32:13 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 172T2G-0004uC-00; Tue, 30 Apr 2002 03:30:56 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 30 Apr 2002 03:31:07 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id DAA00383 for ; Tue, 30 Apr 2002 03:30:51 -0500 (CDT) Original-Received: (qmail 11714 invoked by alias); 30 Apr 2002 08:30:32 -0000 Original-Received: (qmail 11707 invoked from network); 30 Apr 2002 08:30:31 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 30 Apr 2002 08:30:31 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 172T66-0006vw-00 for ; Tue, 30 Apr 2002 10:34:54 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 42 Original-NNTP-Posting-Host: ypy.tky.hut.fi Original-X-Trace: quimby.gnus.org 1020155694 25917 130.233.17.152 (30 Apr 2002 08:34:54 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 30 Apr 2002 08:34:54 GMT X-Face: 0ZX7mLJt~voq-;MII3]u'Rxa?zR6Ip^'#0H!?>+AQU;dp"LLUMnUA[JR<+@UO||2ewYj}qV CrI|lF,v+z;!y^s?=P`|$2d7J%X|2#XACg31e,G1bf7bF@w|#qL5'?\Jzrutw08eo+jBY[v&7jolI= 1%=trC6v@!bElm1.H*'&.,r#r4:gD+,};0sPwHi`JI-_AdkA9pcW+Fp6()!qH/-GO5uyHy2t/TzH.i yE\H5wJ1_pMki:0U_Vm]G]k*A}=?o,SOoFw=@Ft User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (bok choi, i686-pc-linux) Cancel-Lock: sha1:VAqyg2xT0fWvLTcRMhDndG2S1zM= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44495 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44495 Simon Josefsson writes: > On Tue, 30 Apr 2002, Ilpo Nyyssönen wrote: > >> Fresh Oort Gnus from CVS gives me this with my Courier IMAP: >> >> Signaling: (wrong-type-argument number-char-or-marker-p nil) >> nnimap-retrieve-groups(("inbox.Trash" "inbox.news" "inbox.sent" "inbox") "ypy") > > Try evaluating (load "nnimap.el") to get a better backtrace. I'll try that patch little later. Signaling: (wrong-type-argument number-char-or-marker-p nil) <(nil nil) (if (< (car ...) (imap-mailbox-get ... group nnimap-server-buffer)) (push (list group) slowgroups) (insert (cdr ...))) (if (imap-ok-p (imap-wait-for-tag tag nnimap-server-buffer)) (if (< ... ...) (push ... slowgroups) (insert ...))) (when (imap-ok-p (imap-wait-for-tag tag nnimap-server-buffer)) (if (< ... ...) (push ... slowgroups) (insert ...))) (let ((group ...) (tag ...) new old) (when (imap-ok-p ...) (if ... ... ...))) (while --dolist-temp--20204 (setq asyncgroup (car --dolist-temp--20204)) (let (... ... new old) (when ... ...)) (setq --dolist-temp--20204 (cdr --dolist-temp--20204))) (let ((--dolist-temp--20204 asyncgroups) asyncgroup) (while --dolist-temp--20204 (setq asyncgroup ...) (let ... ...) (setq --dolist-temp--20204 ...)) nil) (catch (quote --cl-block-nil--) (let (... asyncgroup) (while --dolist-temp--20204 ... ... ...) nil)) (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil))) (block nil (let (... asyncgroup) (while --dolist-temp--20204 ... ... ...) nil)) (dolist (asyncgroup asyncgroups) (let (... ... new old) (when ... ...))) (if (null nnimap-retrieve-groups-asynchronous) (setq slowgroups groups) (dolist (group groups) (gnus-message 7 "nnimap: Checking mailbox %s" group) (add-to-list ... ...)) (dolist (asyncgroup asyncgroups) (let ... ...))) (let (asyncgroups slowgroups) (if (null nnimap-retrieve-groups-asynchronous) (setq slowgroups groups) (dolist ... ... ...) (dolist ... ...)) (dolist (group slowgroups) (if nnimap-retrieve-groups-asynchronous ...) (gnus-message 7 "nnimap: Rechecking mailbox %s" group) (imap-mailbox-put ... nil group nnimap-server-buffer) (or ... ...))) (save-current-buffer (set-buffer nntp-server-buffer) (erase-buffer) (nnimap-before-find-minmax-bugworkaround) (let (asyncgroups slowgroups) (if ... ... ... ...) (dolist ... ... ... ... ...))) (with-current-buffer nntp-server-buffer (erase-buffer) (nnimap-before-find-minmax-bugworkaround) (let (asyncgroups slowgroups) (if ... ... ... ...) (dolist ... ... ... ... ...))) (progn (gnus-message 5 "nnimap: Checking mailboxes...") (with-current-buffer nntp-server-buffer (erase-buffer) (nnimap-before-find-minmax-bugworkaround) (let ... ... ...)) (gnus-message 5 "nnimap: Checking mailboxes...done") (quote active)) (if (nnimap-possibly-change-server server) (progn (gnus-message 5 "nnimap: Checking mailboxes...") (with-current-buffer nntp-server-buffer ... ... ...) (gnus-message 5 "nnimap: Checking mailboxes...done") (quote active))) (when (nnimap-possibly-change-server server) (gnus-message 5 "nnimap: Checking mailboxes...") (with-current-buffer nntp-server-buffer (erase-buffer) (nnimap-before-find-minmax-bugworkaround) (let ... ... ...)) (gnus-message 5 "nnimap: Checking mailboxes...done") (quote active)) nnimap-retrieve-groups(("inbox.Trash" "inbox.news" "inbox.sent" "inbox") "ypy") gnus-retrieve-groups(("inbox.Trash" "inbox.news" "inbox.sent" "inbox") (nnimap "ypy" (nnimap-address "localhost") (nnimap-stream ssl) (nnimap-authenticator login) (nnimap-list-pattern ("inbox.*" "shared.*")))) gnus-read-active-file-2(("inbox.Trash" "inbox.news" "inbox.sent" "inbox") (nnimap "ypy" (nnimap-address "localhost") (nnimap-stream ssl) (nnimap-authenticator login) (nnimap-list-pattern ("inbox.*" "shared.*")))) gnus-read-active-file-1((nnimap "ypy" (nnimap-address "localhost") (nnimap-stream ssl) (nnimap-authenticator login) (nnimap-list-pattern ("inbox.*" "shared.*"))) nil) gnus-read-active-file() gnus-group-get-new-news(nil) call-interactively(gnus-group-get-new-news) -- Ilpo Nyyssönen # biny # /* :-) */