From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78584 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: agent articles get \201 inserted Date: Mon, 25 Apr 2011 09:04:43 +0200 Organization: Probably a good idea Message-ID: <87zkne3j78.fsf@dod.no> References: <87hbbda17t.fsf@dod.no> <87y64pi9e3.fsf@dod.no> <87aafe51uu.fsf@dod.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1303715183 6571 80.91.229.12 (25 Apr 2011 07:06:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Apr 2011 07:06:23 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26887@lists.math.uh.edu Mon Apr 25 09:06:20 2011 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 1QEFsB-0007kN-NT for ding-account@gmane.org; Mon, 25 Apr 2011 09:06:20 +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 1QEFr5-0005gR-Tg; Mon, 25 Apr 2011 02:05:11 -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 1QEFr4-0005gI-5z for ding@lists.math.uh.edu; Mon, 25 Apr 2011 02:05:10 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QEFqx-00055p-8F for ding@lists.math.uh.edu; Mon, 25 Apr 2011 02:05:07 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QEFqt-0006RY-IQ for ding@gnus.org; Mon, 25 Apr 2011 09:04:59 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QEFqs-00077G-Hq for ding@gnus.org; Mon, 25 Apr 2011 09:04:58 +0200 Original-Received: from cm-84.208.226.30.getinternet.no ([84.208.226.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Apr 2011 09:04:58 +0200 Original-Received: from sb by cm-84.208.226.30.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Apr 2011 09:04:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 72 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.208.226.30.getinternet.no Mail-Copies-To: never User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:FQ9xZlab4vHxMGZYHGrFJ26bAVc= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78584 Archived-At: >>>>> Steinar Bang : >>>>> Lars Magne Ingebrigtsen : >> Steinar Bang writes: >>> Actually... this seems to be an emacs22 issue. Happens with emacs22 on >>> Ubuntu 10.10 and on CentOS5, but not in emacs23 on debian testing. > [snip!] >> This bug sounds familiar to me, but I don't remember what the underlying >> issue was in Emacs 22 any more. Anybody remember? I decided to bisect the issue. Between each good or bad, I did (cd ~/git/gnus; make clean; make; cd lisp; make tags) and started a fresh emacs on the results. It turns out that the issue has been there for a while (and also that the bisect result isn't very useful... see below...:-) ). The reason I haven't noticed it, is that I get it on some articles. And one of the offending articles have: Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8 Could it be CTE 8BIT that is the culprit? There was something about that in the most recent thread (the 2008 thread from this group). Articles that display correctly, are Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable and (curiously): Content-transfer-encoding: 8BIT Content-type: text/html; charset=utf-8 (I'm not sure what I use to render HTML. But should it matter, if the problem is getting 8BIT stuff from nnimap?) Anyway... the "offending" commit is this one: sb@aa1steinar:~/git/gnus$ git bisect good df6ac45b952171e7e709c1b0bf23cc7346429f81 is the first bad commit commit df6ac45b952171e7e709c1b0bf23cc7346429f81 Author: Lars Magne Ingebrigtsen Date: Fri Sep 17 18:18:39 2010 +0200 Reimplement nnimap, and do tweaks to the rest of the code to support that. * gnus-int.el (gnus-finish-retrieve-group-infos) (gnus-retrieve-group-data-early): New functions. * gnus-range.el (gnus-range-nconcat): New function. * gnus-start.el (gnus-get-unread-articles): Support early retrieval of data. (gnus-read-active-for-groups): Support finishing the early retrieval of data. * gnus-sum.el (gnus-summary-move-article): Pass the move-to group name if the move is internal, so that nnimap can do fast internal moves. * gnus.el (gnus-article-special-mark-lists): Add uid/active tuples, for nnimap usage. * nnimap.el: Rewritten. * nnmail.el (nnmail-inhibit-default-split-group): New internal variable to allow the mail splitting to not return a default group. This is useful for nnimap, which will leave unmatched mail in the inbox. * utf7.el (utf7-encode): Autoload. :040000 040000 09a1ec556b1e7bd509b0d7ccaa718be697b6c6cd b9ca8dee8837ae5b13e9c23fece66471ebb0b5c3 M lisp