aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS6
-rw-r--r--lisp/gnus/nnimap.el5
2 files changed, 10 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index a9c009e9d21..72a6b385a82 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -590,6 +590,12 @@ Of course it will still find it if you have it in ~/.ecompleterc
590 590
591** Gnus 591** Gnus
592 592
593---
594*** Gnus now maps imaps to 993 only on old MS-Windows versions.
595The nnimap backend used to do this unconditionally to work around
596problems on old versions of MS-Windows. This is now done only for
597Windows XP and older.
598
593+++ 599+++
594*** The nnimap backend now has support for IMAP namespaces. 600*** The nnimap backend now has support for IMAP namespaces.
595This feature can be enabled by setting the new 'nnimap-use-namespaces' 601This feature can be enabled by setting the new 'nnimap-use-namespaces'
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 75b5af8aabd..9646bb51d08 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -413,8 +413,11 @@ textual parts.")
413 nil 413 nil
414 stream))) 414 stream)))
415 415
416;; This is only needed for Windows XP or earlier
416(defun nnimap-map-port (port) 417(defun nnimap-map-port (port)
417 (if (equal port "imaps") 418 (if (and (eq system-type 'windows-nt)
419 (<= (car (x-server-version)) 5)
420 (equal port "imaps"))
418 "993" 421 "993"
419 port)) 422 port))
420 423