From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75203 Path: news.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.gnus.general Subject: Re: carriage-returns and nnimap Date: Fri, 17 Dec 2010 09:18:17 -0500 Message-ID: <8762ush49i.fsf@andy.bu.edu> References: <87hbech7yi.fsf@andy.bu.edu> <87r5dg4hkl.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1292595527 2498 80.91.229.12 (17 Dec 2010 14:18:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2010 14:18:47 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23558@lists.math.uh.edu Fri Dec 17 15:18:39 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 1PTb8p-0001sg-7H for ding-account@gmane.org; Fri, 17 Dec 2010 15:18:39 +0100 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 1PTb8m-00041c-Qx; Fri, 17 Dec 2010 08:18:36 -0600 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 1PTb8l-00041P-JF for ding@lists.math.uh.edu; Fri, 17 Dec 2010 08:18:35 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PTb8k-00067L-GX for ding@lists.math.uh.edu; Fri, 17 Dec 2010 08:18:35 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PTb8j-0003ci-PS for ding@gnus.org; Fri, 17 Dec 2010 15:18:33 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PTb8f-0001mx-P3 for ding@gnus.org; Fri, 17 Dec 2010 15:18:29 +0100 Original-Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Dec 2010 15:18:29 +0100 Original-Received: from cohen by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Dec 2010 15:18:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: rain.gmane.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:SpLR/D4X8xgLV5HLQWpEP5+UC2k= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75203 Archived-At: >>>>> "Ted" == Ted Zlatanov writes: Ted> On Fri, 17 Dec 2010 07:58:29 -0500 Andrew Cohen wrote: [...] AC> I didn't want to just push this in case I've missed AC> something. The whole carriage-return thing in nnimap confuses AC> me. Ted> I hadn't noticed, thanks for catching that. Ted> I think your fix is correct, but if necessary I can always Ted> adjust gnus-registry.el alone to trim those extra CRs. I'm becoming more confident that the header parsing routine should remove them. I wonder why we have two nearly (but not quite) identical parsing routines. One is inside 'gnus-get-newsgroup-headers, while the other is 'nnheader-parse-naked-head. The latter one includes the CR removal, so I suspect the former should as well. I'll push this shortly unless I hear something. Best, Andy