From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71019 Path: news.gmane.org!not-for-mail From: Knut Anders Hatlen Newsgroups: gmane.emacs.gnus.general Subject: Re: Releasing the new nnimap on y'all soon Date: Sat, 18 Sep 2010 22:44:36 +0200 Message-ID: References: <878w30tiui.fsf@uwo.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284842695 28236 80.91.229.12 (18 Sep 2010 20:44:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 20:44:55 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19392@lists.math.uh.edu Sat Sep 18 22:44:54 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ox4HF-0002VO-7P for ding-account@gmane.org; Sat, 18 Sep 2010 22:44:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Ox4HC-00039y-Rc; Sat, 18 Sep 2010 15:44:50 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Ox4HB-00039f-Ea for ding@lists.math.uh.edu; Sat, 18 Sep 2010 15:44:49 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Ox4H7-00043x-9l for ding@lists.math.uh.edu; Sat, 18 Sep 2010 15:44:49 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ox4H6-0006y7-00 for ; Sat, 18 Sep 2010 22:44:44 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ox4H6-0002Sp-AU for ding@gnus.org; Sat, 18 Sep 2010 22:44:44 +0200 Original-Received: from gw2.mysql.com ([213.136.52.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Sep 2010 22:44:44 +0200 Original-Received: from kahatlen by gw2.mysql.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Sep 2010 22:44:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: gw2.mysql.com User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (usg-unix-v) Cancel-Lock: sha1:rDSG+okqdo10h3WNKRxzqhMkFb8= X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71019 Archived-At: Knut Anders Hatlen writes: > Lars Magne Ingebrigtsen writes: > >> Knut Anders Hatlen writes: >> >>> Not sure why the BAD response is returned. It as if an empty line had >>> been appended to the CAPABILITY command, but when I edebugged it, the >>> command looked fine ("64 CAPABILITY\r\n"). >> >> Could it have been sending more commands? Look in the "*imap log*" >> buffer. > > No, it only shows the one CAPABILITY command. Both OK and BAD pop up in > the *nnimap...* buffer once the process-send-string has been called on > the above string. I pointed nnimap-shell-program to a script that prints "* PREAUTH\r\n" and writes all its input to a file. It turned out that the "\r\n" that nnimap sends has been transformed to "\n\n" when it arrives the shell script. Looking at how the old nnimap did it, I found that imap-shell-open changed imap-client-eol from "\r\n" to "\n", presumably because of the same problem. -- Knut Anders