[gnus git] branch master updated: m0-11-124-gb2c3cb7 =2= Add changelog entry to last fix ; Check for literal+ capability in IMAP

Lars <[email protected]> Tue, 27 Jan 2015 07:02:48 +0100
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  b2c3cb743302b2435b8c179948a4e5251a1da380 (commit)
       via  987ca3fadf9af986110df9fe0cf003f56362dd03 (commit)
      from  046825b09ff6e23ec7dfacd451d10985615b9793 (commit)


- Log -----------------------------------------------------------------
commit b2c3cb743302b2435b8c179948a4e5251a1da380
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Tue Jan 27 17:02:39 2015 +1100

    Add changelog entry to last fix

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 12c0d11..58c883e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-27  Lars Ingebrigtsen  <[email protected]>
+
+	* nnir.el (nnir-imap-expr-to-imap): Check for literal+ capability in
+	IMAP.
+
 2015-01-27  Eric Abrahamsen  <[email protected]>
 
 	* nnir.el (nnir-run-imap): Enable non-ASCII IMAP searches.

commit 987ca3fadf9af986110df9fe0cf003f56362dd03
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Tue Jan 27 17:02:13 2015 +1100

    Check for literal+ capability in IMAP

diff --git a/lisp/nnir.el b/lisp/nnir.el
index dcb69aa..6d111e8 100644
--- a/lisp/nnir.el
+++ b/lisp/nnir.el
@@ -1069,6 +1069,7 @@ In future the following will be added to the language:
 (defun nnir-imap-expr-to-imap (criteria expr)
   "Convert EXPR into an IMAP search expression on CRITERIA"
   ;; What sort of expression is this, eh?
+  (let ((literal+ (nnimap-capability "LITERAL+")))
     (cond
      ;; Simple string term
      ((stringp expr)
@@ -1091,7 +1092,7 @@ In future the following will be added to the language:
      ((and (not (null expr)) (listp expr))
       (format "(%s)" (nnir-imap-query-to-imap criteria expr)))
      ;; Complex value, give up for now.
-   (t (error "Unhandled input: %S" expr))))
+     (t (error "Unhandled input: %S" expr)))))
 
 
 (defun nnir-imap-parse-query (string)

-----------------------------------------------------------------------
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 |    5 +++++
 lisp/nnir.el   |   47 ++++++++++++++++++++++++-----------------------
 2 files changed, 29 insertions(+), 23 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