emacs-devel
[Top][All Lists]
Advanced

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

Re: smtpmail and ~/.authinfo


From: Eli Zaretskii
Subject: Re: smtpmail and ~/.authinfo
Date: Sun, 21 Aug 2011 22:59:03 +0300

> From: Lars Magne Ingebrigtsen <address@hidden>
> Cc: address@hidden
> Date: Sun, 21 Aug 2011 21:25:55 +0200
> 
> Eli Zaretskii <address@hidden> writes:
> 
> > You should know: you put it there ;-)
> >
> > The log message for revision 104742, where these bindings were
> > introduced, doesn't say much.  Can you tell why did you need them (for
> > Windows, no less)?
> 
> I don't see any Windows special-casing there?

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.

> Anyway, they're for the `open-network-stream' call.  I've now wrapped
> them closer around that call, which should probably fix the problem.

Only partially.  Since you say netrc files can have non-ASCII
characters, we should bind coding-system-for-read to raw-text when
calling auth-source-search.  I will take care of that.

Thanks.



reply via email to

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