From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nikolaus Rath Newsgroups: gmane.emacs.bugs Subject: bug#21057: [PATCH] nnimap.el: add support for IMAP namespaces Date: Mon, 23 Jul 2018 08:22:26 +0100 Message-ID: <8736wazaa5.fsf@thinkpad.rath.org> References: <87efrlfa20.fsf@thinkpad.rath.org> <87a829f9pc.fsf@thinkpad.rath.org> <1504800077.365137.1098530944.678C4105@webmail.messagingengine.com> <87k212zetg.fsf@mouse.gnus.org> <877ewxoi32.fsf@vostro.rath.org> <87r2rfj2r7.fsf@mouse.gnus.org> <1527766712.3634038.1391649040.3CF55CA8@webmail.messagingengine.com> <87in56h4o7.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1532330476 26975 195.159.176.226 (23 Jul 2018 07:21:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2018 07:21:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Eric Abrahamsen , Andreas Schwab , 21057@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 23 09:21:12 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhV9b-0006sn-Q9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jul 2018 09:21:11 +0200 Original-Received: from localhost ([::1]:33129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhVBh-0004CQ-1K for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jul 2018 03:23:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhVBU-0004CC-E9 for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2018 03:23:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhVBQ-00057p-Oz for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2018 03:23:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48014) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhVBQ-00057b-GV for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2018 03:23:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fhVBO-0007ge-2Z; Mon, 23 Jul 2018 03:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nikolaus Rath Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Mon, 23 Jul 2018 07:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21057 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: patch Original-Received: via spool by 21057-submit@debbugs.gnu.org id=B21057.153233055829517 (code B ref 21057); Mon, 23 Jul 2018 07:23:01 +0000 Original-Received: (at 21057) by debbugs.gnu.org; 23 Jul 2018 07:22:38 +0000 Original-Received: from localhost ([127.0.0.1]:53031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhVAw-0007fv-Cy for submit@debbugs.gnu.org; Mon, 23 Jul 2018 03:22:37 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:53085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhVAq-0007fi-RH for 21057@debbugs.gnu.org; Mon, 23 Jul 2018 03:22:32 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4D0D021AEC; Mon, 23 Jul 2018 03:22:28 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 23 Jul 2018 03:22:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=olhlRP MFcYGF14OgBvaNLCLESuqBIXh0ZG2nwTfoeL4=; b=Yijujn2Toyh+T6WU/96jR0 CnuAyrh038LRqARHunGwy9hn7Gz63J7Fcul0le4mbKTLc/UbyJanm1/b9UI65xsi jEOL4kXE5L2VhhlO4UzuEH4sBYzxNaSudVU9hlwGxKG22ke7RhYkw36gAwV4z2R7 5mdit+zpSDoLoY7TB3hsZK3VqZYRy235R9RDgjkLrKGJ55yX3s57l7gTmHewbgmI hcNI8ZWmFtV+qfqyzlqEuYpp3UADhex+lIC/HP2a/ify0iq+dGo8d/yvFCF4k5R1 P4j8j5QAB3/7Rns5Tx+g7c4KyN9RJZZOeXhIQ0mgk9rXE9/ZPVtom2QUfK6W5Gfw == X-ME-Proxy: X-ME-Sender: Original-Received: from ebox.rath.org (ebox.rath.org [185.3.94.194]) by mail.messagingengine.com (Postfix) with ESMTPA id 7EBF01025D; Mon, 23 Jul 2018 03:22:27 -0400 (EDT) Original-Received: from thinkpad.rath.org (thinkpad [192.168.12.2]) by ebox.rath.org (Postfix) with ESMTPS id 551CB36; Mon, 23 Jul 2018 07:22:26 +0000 (UTC) Original-Received: by thinkpad.rath.org (Postfix, from userid 1000) id 3E26CBFCD1; Mon, 23 Jul 2018 08:22:26 +0100 (BST) In-Reply-To: (Lars Ingebrigtsen's message of "Mon, 23 Jul 2018 09:03:19 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148845 Archived-At: On Jul 23 2018, Lars Ingebrigtsen wrote: > Eric Abrahamsen writes: > >> This raises an error for me when Gnus starts. >> >> `nnimap-retrieve-group-data-early' calls `nnimap-group-to-imap', which >> does: >> >> (substring nnimap-namespace 0 -1) >> >> `nnimap-namespace' is nil, so an error is raised. > > I've now reverted the patch. It seems like if you're not using > namespaces, it'll bug out in several places that assumes that namespaces > are in use. I think the problem is just the default value for nnimap-namespace provided to defvoo, it should be the empty string rather than nil. Am I missing something? Best, -Nikolaus --=20 GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB