]> git.eshelyaron.com Git - emacs.git/commit
Make nnimap support IMAP namespaces
authorNikolaus Rath <Nikolaus@rath.org>
Mon, 23 Jul 2018 09:21:46 +0000 (10:21 +0100)
committerEli Zaretskii <eliz@gnu.org>
Sat, 11 Aug 2018 07:46:02 +0000 (10:46 +0300)
commit31263d67d591cf2c074fad4f17b968b87c88b5e2
tree27805e891b106956a6a4b0b592817557ad9efe1a
parent3f8324e0de182945a809f63766cf9611aa45610c
Make nnimap support IMAP namespaces

* lisp/gnus/nnimap.el (nnimap-use-namespaces): Introduce new
server variable.
(nnimap-group-to-imap, nnimap-get-groups): Transform IMAP group
names to Gnus group name by stripping / prefixing personal
namespace prefix.
(nnimap-open-connection-1): Ask server for namespaces and store
them.

* lisp/gnus/nnimap.el (nnimap-request-group-scan)
(nnimap-request-create-group, nnimap-request-delete-group)
(nnimap-request-rename-group, nnimap-request-move-article)
(nnimap-process-expiry-targets)
(nnimap-request-update-group-status)
(nnimap-request-accept-article, nnimap-request-list)
(nnimap-retrieve-group-data-early, nnimap-change-group)
(nnimap-split-incoming-mail): Use nnimap-group-to-imap.
(nnimap-group-to-imap): New function to map Gnus group names to
IMAP folder names.  (Bug#21057)
doc/misc/gnus.texi
etc/NEWS
lisp/gnus/nnimap.el