From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: smtpmail and ~/.authinfo Date: Mon, 26 Sep 2011 17:27:33 -0400 Message-ID: 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> <87ty7z2oy2.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317072467 12735 80.91.229.12 (26 Sep 2011 21:27:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2011 21:27:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 26 23:27:43 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 1R8IiB-0004mq-94 for ged-emacs-devel@m.gmane.org; Mon, 26 Sep 2011 23:27:39 +0200 Original-Received: from localhost ([::1]:42630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8IiA-0005iE-P6 for ged-emacs-devel@m.gmane.org; Mon, 26 Sep 2011 17:27:38 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Ii8-0005hM-Fz for emacs-devel@gnu.org; Mon, 26 Sep 2011 17:27:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8Ii6-0005mZ-Ty for emacs-devel@gnu.org; Mon, 26 Sep 2011 17:27:36 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:45398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Ii6-0005mU-LH for emacs-devel@gnu.org; Mon, 26 Sep 2011 17:27:34 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p8QLRVfv024215; Mon, 26 Sep 2011 17:27:31 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 24684B41D0; Mon, 26 Sep 2011 17:27:33 -0400 (EDT) In-Reply-To: <87ty7z2oy2.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 26 Sep 2011 12:28:21 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3992=0 X-NAI-Spam-Version: 2.2.0.9286 : core <3992> : streams <685425> : uri <969282> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:144358 Archived-At: >>> You mean, force Emacs to encode .authinfo in UTF-8 when creating it? >>> I guess that's the job for file-coding-system-alist. SM> Or adding a -*- coding: utf-8 -*- cookie to the file. > That's not standard, so a netrc/authinfo file created by someone else > would not have it and we're back to guessing. Better to guess on read, > enforce UTF-8 on write IMO. For the "read, modify, write", if the guess is wrong, the write will not magically be fixed by using utf-8. What do the files that we generated until now contain? utf-8? something else? Stefan