From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: smtpmail and ~/.authinfo Date: Mon, 22 Aug 2011 08:35:49 +0300 Message-ID: <83ei0exb2i.fsf@gnu.org> References: <83ippsqsz8.fsf@gnu.org> <83hb5ay1rs.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1313991394 13359 80.91.229.12 (22 Aug 2011 05:36:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Aug 2011 05:36:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 22 07:36:28 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QvNBP-0001Sr-In for ged-emacs-devel@m.gmane.org; Mon, 22 Aug 2011 07:36:23 +0200 Original-Received: from localhost ([::1]:46784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvNBO-0003nY-EF for ged-emacs-devel@m.gmane.org; Mon, 22 Aug 2011 01:36:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvNBJ-0003nK-GZ for emacs-devel@gnu.org; Mon, 22 Aug 2011 01:36:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvNBF-0003Jw-01 for emacs-devel@gnu.org; Mon, 22 Aug 2011 01:36:17 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:52290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvNBE-0003Jk-OH for emacs-devel@gnu.org; Mon, 22 Aug 2011 01:36:12 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LQB00M00E2ONQ00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 22 Aug 2011 08:35:51 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.124.175.65]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQB007X9E7MROA5@a-mtaout22.012.net.il>; Mon, 22 Aug 2011 08:35:47 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143488 Archived-At: > From: Lars Magne Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Sun, 21 Aug 2011 22:17:44 +0200 > > Eli Zaretskii writes: > > > I was quoting your ChangeLog entry: > > > > 2011-06-27 Lars Magne Ingebrigtsen > > > > * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-* > > to binary to possibly avoid line encoding issues on Windows (among > > other things). > > > > Btw, to _avoid_ line encoding issues on Windows, one should NOT bind > > coding-system-for-read to `binary', because that binding brings the > > CR-LF EOLs right into Emacs buffers. > > Yes, and that's what we want, since SMTP uses CRLF as the line ending. > And now I remember what the problem was -- under Windows it would > infloop looking for CRLF, and never getting it, since Emacs helpfully > auto-translated CRLF to newline under Windows. ??? The same auto-translation happens on Unix as well. Are you saying this problem happened only on Windows?