all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 58872@debbugs.gnu.org
Subject: bug#58872: nnimap-use-namespaces doesn't work with empty prefix
Date: Fri, 11 Nov 2022 14:47:47 +0200	[thread overview]
Message-ID: <87r0y9d5e4.fsf@thaodan.de> (raw)
In-Reply-To: <87pmeav5il.fsf@thaodan.de>


I notice that the option only works if the inbox namespace has a prefix.
If the prefix to the inbox is empty `nnimap-namespace` stays empty even
if nnimap-use-namespaces is set to true and the server returns a
namespace.

Dovecot returns this when asking for namespaces without a prefix set:
~/:telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN] Dovecot ready.
a login user password
a OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE] Logged in
namespace 
b namespace            
* NAMESPACE (("INBOX." ".")) NIL NIL
b OK Namespace completed (0.001 + 0.000 secs).

If the namespace has a prefix e.g. INBOX., nnimap-namespace is set to
INBOX.


Br,

Björn





      reply	other threads:[~2022-11-11 12:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-29 18:39 bug#58872: 29.0.50; nnimap-use-namespaces does not work Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-11 12:47 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0y9d5e4.fsf@thaodan.de \
    --to=bug-gnu-emacs@gnu.org \
    --cc=58872@debbugs.gnu.org \
    --cc=bjorn.bidar@thaodan.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.