emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smtpmail and ~/.authinfo


From: Lars Magne Ingebrigtsen
Subject: Re: smtpmail and ~/.authinfo
Date: Sun, 21 Aug 2011 22:17:44 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> I was quoting your ChangeLog entry:
>
>   2011-06-27  Lars Magne Ingebrigtsen  <address@hidden>
>
>         * 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]