emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21057: [PATCH] nnimap.el: add support for IMAP namespaces


From: Nikolaus Rath
Subject: bug#21057: [PATCH] nnimap.el: add support for IMAP namespaces
Date: Sun, 12 Jul 2015 18:52:40 -0700
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)

Package: gnus
Tags: patch

Hello,

The attached patch adds basic support for IMAP namespaces to nnimap. If
the new server variable nnimap-use-namespaces is t, Gnus will attempt to
determine the user's personal namespace (e.g. "INBOX."). When reading
the list of mail folders, this prefix will be stripped. If there are
folders outside the users personal namespace, they will be prefixed with
the breakout character (#).

This is useful for servers where all personal mailboxes appear is
subfolders of the user's INBOX. For example, before the patch one would
have:

nnimap+fm:INBOX
nnimap+fm:INBOX.Sent Items
nnimap+fm:INBOX.Drafts
nnimap+fm:INBOX.Archive
nnimap+fm:Shared.Bob.INBOX

and afterwards:

nnimap+fm:INBOX
nnimap+fm:Sent Items
nnimap+fm:Drafts
nnimap+fm:Archive
nnimap+fm:#Shared.Bob.INBOX


I have only tested this on my personal account, so feedback is
appreciated. 

Thanks for considering,
-Nikolaus


-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

Attachment: 0001-nnimap.el-factor-out-nnimap-group-to-imap.patch
Description: Text Data

Attachment: 0002-nnimap.el-Add-support-for-IMAP-namespaces.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]