[gnus git] branch master updated: m0-5-49-gd5907c1 =1= nnimap: use nnimap-request-articles-find-limit in nnimap-request-articles-find-limit

Julien Danjou <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  d5907c1b1080a53a1ac1a2d1adbd4afa0bd4b8b6 (commit)
      from  2a7f00482e95c81a430b5817e6489a4bea8620b0 (commit)


- Log -----------------------------------------------------------------
commit d5907c1b1080a53a1ac1a2d1adbd4afa0bd4b8b6
Author: Julien Danjou <[email protected]>
Date:   Mon Jun 25 13:21:59 2012 +0200

    nnimap: use nnimap-request-articles-find-limit in nnimap-request-articles-find-limit
    
    Signed-off-by: Julien Danjou <[email protected]>

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fde5c95..0518351 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
+2012-06-25  Julien Danjou  <[email protected]>
+
+	* nnimap.el (nnimap-request-articles-find-limit): Rename from
+	`nnimap-request-move-articles-find-limit' since we do not use it only
+	for move operations.
+	(nnimap-request-accept-article): Use
+	`nnimap-request-articles-find-limit' to limit search by message-id.
+
 2012-06-22  Paul Eggert  <[email protected]>
 
 	Support higher-resolution time stamps (Bug#9000).
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 0669563..d3bb685 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -127,7 +127,7 @@ textual parts.")
   "IMAP for Gnus."
   :group 'gnus)
 
-(defcustom nnimap-request-move-articles-find-limit nil
+(defcustom nnimap-request-articles-find-limit nil
   "Limit the number of articles to look for after moving an article."
   :type 'integer
   :version "24.2"
@@ -878,7 +878,7 @@ textual parts.")
 		      (or (nnimap-find-uid-response "COPYUID" (cadr result))
 			  (nnimap-find-article-by-message-id
 			   internal-move-group server message-id
-                           nnimap-request-move-articles-find-limit)))))
+                           nnimap-request-articles-find-limit)))))
 	  ;; Move the article to a different method.
 	  (let ((result (eval accept-form)))
 	    (when result
@@ -1112,7 +1112,8 @@ If LIMIT, first try to limit the search to the N last articles."
 	      (cons group
 		    (or (nnimap-find-uid-response "APPENDUID" (car result))
 			(nnimap-find-article-by-message-id
-			 group server message-id))))))))))
+			 group server message-id
+                         nnimap-request-articles-find-limit))))))))))
 
 (defun nnimap-process-quirk (greeting-match type data)
   (when (and (nnimap-greeting nnimap-object)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    8 ++++++++
 lisp/nnimap.el |    7 ++++---
 2 files changed, 12 insertions(+), 3 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.