From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75217 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 11:25:16 -0500 Message-ID: <87lj3ofjtf.fsf@andy.bu.edu> References: <87hbech7yi.fsf@andy.bu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1292603143 10860 80.91.229.12 (17 Dec 2010 16:25:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2010 16:25:43 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23572@lists.math.uh.edu Fri Dec 17 17:25:36 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 1PTd7f-0004OH-Sv for ding-account@gmane.org; Fri, 17 Dec 2010 17:25:36 +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 1PTd7e-00059a-Ij; Fri, 17 Dec 2010 10:25:34 -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 1PTd7d-00059M-Ck for ding@lists.math.uh.edu; Fri, 17 Dec 2010 10:25:33 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PTd7Z-0006fP-6h for ding@lists.math.uh.edu; Fri, 17 Dec 2010 10:25:33 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PTd7Y-00061o-ER for ding@gnus.org; Fri, 17 Dec 2010 17:25:28 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PTd7Y-0004KR-74 for ding@gnus.org; Fri, 17 Dec 2010 17:25:28 +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 17:25:28 +0100 Original-Received: from cohen by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Dec 2010 17:25:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 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:wp1KZkjeiPDsp/P38wW48J7A4B4= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75217 Archived-At: >>>>> "Lars" == Lars Magne Ingebrigtsen writes: Lars> Andrew Cohen writes: >> Tracing this a bit I found that 'gnus-get-newsgroup-headers >> translates \r into spaces, so I suspect that this is where the >> extra spaces are coming from. I added a call to >> 'nnheader-remove-cr-followed-by-lf in 'gnus-get-newsgroup-headers >> just before the \r->space translation and it seems to fix the >> problem. Lars> There should be no \r\n in the buffers when Gnus gets them. Lars> The backend should do \r\n decoding if the transport it uses Lars> uses \r\n... OK, so this should be a change in 'nnimap-retrieve-headers? Maybe added to 'nnimap-transform-headers?