Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] nnimap: use nnimap-request-list-method in nnimap-find-newgroups
@ 2010-08-31 18:19 Julien Danjou
  2010-08-31 18:35 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Danjou @ 2010-08-31 18:19 UTC (permalink / raw)
  To: ding; +Cc: Julien Danjou

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 <julien@danjou.info>
---
 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] nnimap: use nnimap-request-list-method in nnimap-find-newgroups
  2010-08-31 18:19 [PATCH] nnimap: use nnimap-request-list-method in nnimap-find-newgroups Julien Danjou
@ 2010-08-31 18:35 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-08-31 18:35 UTC (permalink / raw)
  To: ding

Julien Danjou <julien@danjou.info> writes:

> Not using this variable here has no sence, because using LSUB method
> is useless if you never subscribed anything on the IMAP side.

Makes sense.  I've now applied this.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-31 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-31 18:19 [PATCH] nnimap: use nnimap-request-list-method in nnimap-find-newgroups Julien Danjou
2010-08-31 18:35 ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).