From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63504 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Double Newlines Date: Thu, 27 Jul 2006 08:48:08 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1153958026 25800 80.91.229.2 (26 Jul 2006 23:53:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Jul 2006 23:53:46 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m12031@lists.math.uh.edu Thu Jul 27 01:53:44 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G5tCB-0007aG-Gi for ding-account@gmane.org; Thu, 27 Jul 2006 01:53:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1G5tBt-0006Yd-00; Wed, 26 Jul 2006 18:53:25 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1G5t7B-0006YV-00 for ding@lists.math.uh.edu; Wed, 26 Jul 2006 18:48:33 -0500 Original-Received: from quimby.gnus.org ([80.91.227.211]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1G5t76-0004nB-4B for ding@lists.math.uh.edu; Wed, 26 Jul 2006 18:48:33 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1G5t70-0006DS-00 for ; Thu, 27 Jul 2006 01:48:23 +0200 Original-Received: from [205.234.185.198] (port=59853 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1G5t8L-0004QP-M4; Wed, 26 Jul 2006 18:49:45 -0500 Original-To: David Abrahams X-Hashcash: 1:20:060726:dave@boost-consulting.com::+S31lZOz4WQzyj/e:0000000000000000000000000000000000006BzT X-Hashcash: 1:20:060726:ding@gnus.org::AzOhV80+281lgUCd:00006A1M X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:ZvfryICbBqpOH8Cq3MTJKtSAnpc= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63504 Archived-At: >>>>> In David Abrahams wrote: > Rebuilding emacs made that behavior go away (thank you!)... Great. >> What does the following >> Lisp form return? (To do that, copy it to the *scratch* buffer >> and type `C-j' at the end of the last line.) [1] >> >> (let ((file (make-temp-file "testing")) >> (coding-system-for-write 'iso-8859-1) >> (coding-system-for-read 'binary)) >> (with-temp-file file >> (insert "foo\n")) >> (prog1 >> (with-temp-buffer >> (insert-file-contents file) >> (buffer-string)) >> (delete-file file))) >> >> If you see >> >> "foo^M >> " >> , your Emacs 22 has a bug. Since Kenichi Handa fixed the bug[2] >> recently[3], updating your Emacs 22 might fix the problem[4]. > ...but curiously, _that_ behavior remains! Yes, it does. Hideyuki SHIRAI who uses Windows told me yesterday that Kenichi Handa fixed only the following problem: (encode-coding-string "foo\n" 'iso-8859-1) "foo^M " Fixing this is enough to solve your problem, I think. OTOH, that the result of the above "testing" code contains ^M seems to be a spec of the most recent Emacs 22 which runs on Windows. I don't know whether it is good or bad, though. I posted a report about the possibility that it is harmful to Gnus[1]. [1] or http://article.gmane.org/gmane.emacs.gnus.general/63502