[gnus git] branch master updated: m0-13-27-g19c794d =1= nnimap.el: Handle plain value for nnimap-stream

Eric Abrahamsen <[email protected]> Thu, 09 Jul 2015 04:14:33 +0200
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  19c794d9d547fb3b3a22f28e5e4b963ff98f2f98 (commit)
      from  6f138d3073523867b2a32a51d1c1c9ce572f8bc8 (commit)


- Log -----------------------------------------------------------------
commit 19c794d9d547fb3b3a22f28e5e4b963ff98f2f98
Author: Nikolaus Rath <[email protected]>
Date:   Tue Jul 7 20:52:45 2015 -0700

    nnimap.el: Handle plain value for nnimap-stream
    
    * lisp/nnimap.el (nnimap-open-connection-1): Always query capabilities,
      so that a 'plain value for the `nnimap-stream' server variable is
      handled correctly.
    * texi/gnus.texi: Document the 'plain option.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 86ed0f4..652c52b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
+2015-07-09  Nikolaus Rath  <[email protected]>
+
+        * lisp/nnimap.el (nnimap-open-connection-1): Always query capabilities,
+	so that a 'plain value for the `nnimap-stream' server variable is
+	handled correctly.
+        * texi/gnus.texi: Document the 'plain option.
+
 2015-07-08  Eric Abrahamsen  <[email protected]>
 
 	Remove unused let variables
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 40610e1..8eb6268 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -423,6 +423,7 @@ textual parts.")
 	       :return-list t
 	       :shell-command nnimap-shell-program
 	       :capability-command "1 CAPABILITY\r\n"
+               :always-query-capabilities t
 	       :end-of-command "\r\n"
 	       :success " OK "
 	       :starttls-function
diff --git a/texi/gnus.texi b/texi/gnus.texi
index b190184..97673ea 100644
--- a/texi/gnus.texi
+++ b/texi/gnus.texi
@@ -14252,6 +14252,10 @@ If you need to tunnel via other systems to connect to the server, you
 can use this option, and customize @code{nnimap-shell-program} to be
 what you need.
 
+@item plain
+Non-encrypted and unsafe straight socket connection.
+@acronym{STARTTLS} will not be used even if it is available.
+
 @end table
 
 @item nnimap-authenticator

-----------------------------------------------------------------------
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 |    7 +++++++
 lisp/nnimap.el |    1 +
 texi/gnus.texi |    4 ++++
 3 files changed, 12 insertions(+)

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