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: [Emacs-diffs] master db828f6: Don't rely on defaults in decoding UTF-8 encoded Lisp files Date: Sat, 26 Sep 2015 18:15:22 +0300 Message-ID: <83zj09fbzp.fsf@gnu.org> References: <20150921165211.20434.28114@vcs.savannah.gnu.org> <83fv27mt7r.fsf@gnu.org> <83wpvfix7i.fsf@gnu.org> <83fv23hr0z.fsf@gnu.org> <5605CB6B.4000102@cs.ucla.edu> <83twqhhf0g.fsf@gnu.org> <5606AC48.7090801@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1443280546 2301 80.91.229.3 (26 Sep 2015 15:15:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Sep 2015 15:15:46 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 26 17:15:37 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZfrCI-000892-3M for ged-emacs-devel@m.gmane.org; Sat, 26 Sep 2015 17:15:34 +0200 Original-Received: from localhost ([::1]:54127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfrCH-0005xf-N8 for ged-emacs-devel@m.gmane.org; Sat, 26 Sep 2015 11:15:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfrCB-0005wt-FZ for emacs-devel@gnu.org; Sat, 26 Sep 2015 11:15:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfrC8-0006R2-2y for emacs-devel@gnu.org; Sat, 26 Sep 2015 11:15:27 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:57005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfrC7-0006QZ-Qw for emacs-devel@gnu.org; Sat, 26 Sep 2015 11:15:24 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NVA00D00GXH7X00@mtaout24.012.net.il> for emacs-devel@gnu.org; Sat, 26 Sep 2015 18:08:08 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVA00FQXI1K4510@mtaout24.012.net.il>; Sat, 26 Sep 2015 18:08:08 +0300 (IDT) In-reply-to: <5606AC48.7090801@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.180 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:190361 Archived-At: > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > From: Paul Eggert > Date: Sat, 26 Sep 2015 07:31:36 -0700 > > Eli Zaretskii wrote: > > You are assuming that those "remaining developers" use Emacs only for > > working on Emacs, is that right? > > No, I am assuming that the typical default nowadays, for text that is not > otherwise labeled, is to use UTF-8. This is a reasonable assumption. It's not > always correct, but exceptions can be handled. So you are, in effect, saying that it is incorrect to derive the default encodings from the locale's codeset? I'm not sure about that, but if so, the issue is much broader than just what was discussed here, it touches a lot of other defaults as well, and a lot of code that supports those defaults. > I see that you have added more coding: cookies. Oh well. I do take your point > that we need a better solution than what we have. I don't enjoy adding those cookies, but I enjoy even less seeing those "8" indications in the mode line when I know there's not a chance in the world the file was encoded in ISO-8859-8.