From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86070 Path: news.gmane.org!not-for-mail From: Nikolaus Rath Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: bug#21043: [PATCH] nnimap.el: make capability parsing more robust. Date: Mon, 13 Jul 2015 17:36:41 -0700 Message-ID: <874ml7h8x2.fsf@vostro.rath.org> References: <87615olt7b.fsf@vostro.rath.org> <87egkcipqf.fsf@ericabrahamsen.net> <87pp3vdgsc.fsf@thinkpad.rath.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1436834235 32409 80.91.229.3 (14 Jul 2015 00:37:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jul 2015 00:37:15 +0000 (UTC) Cc: Eric Abrahamsen , 21043@debbugs.gnu.org, ding@gnus.org, emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 14 02:37:12 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZEoDe-00008V-Ry for ged-emacs-devel@m.gmane.org; Tue, 14 Jul 2015 02:37:11 +0200 Original-Received: from localhost ([::1]:57255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEoDd-0008OY-TQ for ged-emacs-devel@m.gmane.org; Mon, 13 Jul 2015 20:37:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEoDP-0008OB-1u for emacs-devel@gnu.org; Mon, 13 Jul 2015 20:36:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEoDI-0001n8-6u for emacs-devel@gnu.org; Mon, 13 Jul 2015 20:36:55 -0400 Original-Received: from ebox.rath.org ([2600:3c01::f03c:91ff:fe69:db07]:45672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEoDI-0001mn-1M for emacs-devel@gnu.org; Mon, 13 Jul 2015 20:36:48 -0400 Original-Received: from vostro ([192.168.12.4] helo=vostro.rath.org) by ebox.rath.org with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1ZEoDD-0007aw-7V; Tue, 14 Jul 2015 00:36:43 +0000 Original-Received: by vostro.rath.org (Postfix, from userid 1000) id 933D8EC6198; Mon, 13 Jul 2015 17:36:42 -0700 (PDT) Mail-Copies-To: never Mail-Followup-To: Lars Magne Ingebrigtsen , Eric Abrahamsen , 21043@debbugs.gnu.org, ding@gnus.org, emacs-devel@gnu.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 13 Jul 2015 21:24:05 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fe69:db07 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187863 gmane.emacs.gnus.general:86070 Archived-At: On Jul 13 2015, Lars Magne Ingebrigtsen wrote: > Nikolaus Rath writes: > >> Subject: [PATCH] nnimap.el: make capability parsing more robust. > > [...] > >> - (dolist (response (cddr login-result)) >> + (dolist (response (cddr (nnimap-command "CAPABILITY"))) > > And we've already issued the CAPABILITY command in the > `open-protocol-stream' call, so if the results of that isn't in > `login-results', there's a bug in `open-protocol-stream'. No. The results of the CAPABILITY command before login may be different than after login. Best, -Nikolaus --=20 GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB