From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70202 Path: news.gmane.org!not-for-mail From: Julien Danjou Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] nnimap: use nnimap-request-list-method in nnimap-find-newgroups Date: Tue, 31 Aug 2010 20:19:25 +0200 Message-ID: <1283278765-14430-1-git-send-email-julien@danjou.info> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1283278814 22494 80.91.229.12 (31 Aug 2010 18:20:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2010 18:20:14 +0000 (UTC) Cc: Julien Danjou To: ding@gnus.org Original-X-From: ding-owner+M18588@lists.math.uh.edu Tue Aug 31 20:20:12 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OqVRM-00067n-Bf for ding-account@gmane.org; Tue, 31 Aug 2010 20:20:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OqVRK-0001b9-Hd; Tue, 31 Aug 2010 13:20:10 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OqVRJ-0001aV-3N for ding@lists.math.uh.edu; Tue, 31 Aug 2010 13:20:09 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OqVRD-0002JA-VH for ding@lists.math.uh.edu; Tue, 31 Aug 2010 13:20:08 -0500 Original-Received: from prometheus.naquadah.org ([212.85.154.174] helo=mx1.naquadah.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OqVRD-0001Tr-00 for ; Tue, 31 Aug 2010 20:20:03 +0200 Original-Received: by mx1.naquadah.org (Postfix, from userid 8) id 49E3E5C115; Tue, 31 Aug 2010 20:19:32 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on prometheus.naquadah.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 Original-Received: from keller.adm.naquadah.org (unknown [IPv6:2a01:e35:2e39:e900:222:faff:fe9d:ce44]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.naquadah.org (Postfix) with ESMTPSA id 590B55C111; Tue, 31 Aug 2010 20:19:30 +0200 (CEST) Original-Received: from jd by keller.adm.naquadah.org with local (Exim 4.72) (envelope-from ) id 1OqVQf-0003lE-Aj; Tue, 31 Aug 2010 20:19:29 +0200 X-Mailer: git-send-email 1.7.1 X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70202 Archived-At: Not using this variable here has no sence, because using LSUB method is useless if you never subscribed anything on the IMAP side. Signed-off-by: Julien Danjou --- lisp/nnimap.el | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/nnimap.el b/lisp/nnimap.el index c76169c..b2b1ba6 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -1499,8 +1499,8 @@ function is generally only called when Gnus is shutting down." (nnimap-before-find-minmax-bugworkaround) (dolist (pattern (nnimap-pattern-to-list-arguments nnimap-list-pattern)) - (dolist (mbx (imap-mailbox-lsub (cdr pattern) (car pattern) nil - nnimap-server-buffer)) + (dolist (mbx (funcall nnimap-request-list-method (cdr pattern) (car pattern) nil + nnimap-server-buffer)) (or (catch 'found (dolist (mailbox (imap-mailbox-get 'list-flags mbx nnimap-server-buffer)) -- 1.7.1