emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r101257: Use nnimap-request-list-meth


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101257: Use nnimap-request-list-method instead of lsub directly; by Julien Danjou <address@hidden>.
Date: Wed, 01 Sep 2010 00:06:27 +0000
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101257
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Wed 2010-09-01 00:06:27 +0000
message:
  Use nnimap-request-list-method instead of lsub directly; by Julien Danjou 
<address@hidden>.
  
  Not using this variable here has no sence, because using LSUB method
  is useless if you never subscribed anything on the IMAP side.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/nnimap.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2010-09-01 00:02:13 +0000
+++ b/lisp/gnus/ChangeLog       2010-09-01 00:06:27 +0000
@@ -1,3 +1,8 @@
+2010-08-31  Julien Danjou  <address@hidden>  (tiny change)
+
+       * nnimap.el (nnimap-request-newgroups): Use nnimap-request-list-method
+       instead of lsub directly.
+
 2010-08-31  Lars Magne Ingebrigtsen  <address@hidden>
 
        * nnwarchive.el: Removed.

=== modified file 'lisp/gnus/nnimap.el'
--- a/lisp/gnus/nnimap.el       2010-03-23 07:37:09 +0000
+++ b/lisp/gnus/nnimap.el       2010-09-01 00:06:27 +0000
@@ -1499,8 +1499,8 @@
       (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))


reply via email to

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