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, 26 Sep 2011 20:23:55 +0300 Message-ID: <831uv3gqtw.fsf@gnu.org> References: <83ippsqsz8.fsf@gnu.org> <83hb5ay1rs.fsf@gnu.org> <87litc7qen.fsf@lifelogs.com> <87pqio69lr.fsf@lifelogs.com> <83oby8o8hd.fsf@gnu.org> <87ty7z4b97.fsf@lifelogs.com> <838vpbgtuo.fsf@gnu.org> <87d3en454x.fsf@lifelogs.com> <834nzzgr7b.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1317057847 29489 80.91.229.12 (26 Sep 2011 17:24:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2011 17:24:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 26 19:24:04 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 1R8EuR-0008Qw-Gc for ged-emacs-devel@m.gmane.org; Mon, 26 Sep 2011 19:24:03 +0200 Original-Received: from localhost ([::1]:47143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8EuQ-0007TR-Ju for ged-emacs-devel@m.gmane.org; Mon, 26 Sep 2011 13:24:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8EuO-0007TF-62 for emacs-devel@gnu.org; Mon, 26 Sep 2011 13:24:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8EuN-0002hY-7X for emacs-devel@gnu.org; Mon, 26 Sep 2011 13:24:00 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:56701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8EuN-0002hR-13 for emacs-devel@gnu.org; Mon, 26 Sep 2011 13:23:59 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LS500C004A7V700@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Mon, 26 Sep 2011 20:23:54 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.8.215]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LS5008YH4BUDJB1@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Mon, 26 Sep 2011 20:23:54 +0300 (IDT) In-reply-to: <834nzzgr7b.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 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:144328 Archived-At: > Date: Mon, 26 Sep 2011 20:15:52 +0300 > From: Eli Zaretskii > > > From: Ted Zlatanov > > Date: Mon, 26 Sep 2011 11:53:18 -0500 > > > > >> Could you help me (or point me to the right examples) to: > > >> > > >> - always create/write a file in UTF-8 on every platform > > > > EZ> You mean, force Emacs to encode .authinfo in UTF-8 when creating it? > > EZ> I guess that's the job for file-coding-system-alist. > > > > So I would just override that when writing the netrc/authinfo file. It may be worthwhile to add this permanently to the alist we maintain in Emacs. > > I can't imagine any value in letting the user override the UTF-8 > > encoding, can you? > > No, I cannot. That said, users can always override if they want with "C-x RET c".