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: Sun, 25 Sep 2011 20:08:30 +0300 Message-ID: <83oby8o8hd.fsf@gnu.org> References: <83ippsqsz8.fsf@gnu.org> <83hb5ay1rs.fsf@gnu.org> <87litc7qen.fsf@lifelogs.com> <87pqio69lr.fsf@lifelogs.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1316970524 30869 80.91.229.12 (25 Sep 2011 17:08:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Sep 2011 17:08:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 25 19:08:37 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 1R7sBw-0003Qe-SH for ged-emacs-devel@m.gmane.org; Sun, 25 Sep 2011 19:08:36 +0200 Original-Received: from localhost ([::1]:46277 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7sBw-0002r5-BE for ged-emacs-devel@m.gmane.org; Sun, 25 Sep 2011 13:08:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7sBt-0002qo-Vo for emacs-devel@gnu.org; Sun, 25 Sep 2011 13:08:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7sBt-0004M1-0X for emacs-devel@gnu.org; Sun, 25 Sep 2011 13:08:33 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:55436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7sBs-0004Lv-PC for emacs-devel@gnu.org; Sun, 25 Sep 2011 13:08:32 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LS300I008QVWX00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sun, 25 Sep 2011 20:08:31 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.8.215]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LS300IKW8Y6PKA0@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sun, 25 Sep 2011 20:08:31 +0300 (IDT) In-reply-to: <87pqio69lr.fsf@lifelogs.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 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:144280 Archived-At: > From: Ted Zlatanov > Date: Sun, 25 Sep 2011 08:21:36 -0500 >=20 > I don't think the SMTP interaction should not be the critical facto= r > here. The SMTP library should deal with invalid (for SMTP) charact= ers > on its side; many other libraries and protocols use `auth-source-se= arch' > that can handle non-ASCII characters. In other words, let's not li= mit > the capabilities of `auth-source-search' just because one of the us= ers > can't handle non-ASCII. >=20 > I think authinfo/netrc files should be portable and support Unicode= in a > way that enables other (older or new!) software to use them too. I= MHO > enforcing UTF-8 encoding is the best way to achieve that. Fine with me, but then Someone=E2=84=A2 should simultaneously modify = smtpmail (and perhaps also other users of authinfo) to DTRT when communicating with the SMTP server, whatever "TRT" may mean in this case. Do one, but not the other, and we will have a bug waiting to happen on our