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 09:32:20 +0300 Message-ID: <83si61herv.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1443249163 6515 80.91.229.3 (26 Sep 2015 06:32:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Sep 2015 06:32:43 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: eggert@cs.ucla.edu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 26 08:32:30 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 1Zfj1z-0002gC-Ji for ged-emacs-devel@m.gmane.org; Sat, 26 Sep 2015 08:32:23 +0200 Original-Received: from localhost ([::1]:52125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zfj1z-0005td-0F for ged-emacs-devel@m.gmane.org; Sat, 26 Sep 2015 02:32:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zfj1v-0005sp-Bd for emacs-devel@gnu.org; Sat, 26 Sep 2015 02:32:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zfj1s-0004sw-6E for emacs-devel@gnu.org; Sat, 26 Sep 2015 02:32:19 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:44538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zfj1r-0004sd-UB for emacs-devel@gnu.org; Sat, 26 Sep 2015 02:32:16 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NV900B00TI3EZ00@mtaout25.012.net.il> for emacs-devel@gnu.org; Sat, 26 Sep 2015 09:29:22 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NV90056XU0YHC80@mtaout25.012.net.il>; Sat, 26 Sep 2015 09:29:22 +0300 (IDT) In-reply-to: <83twqhhf0g.fsf@gnu.org> 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.181 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:190355 Archived-At: > Date: Sat, 26 Sep 2015 09:27:11 +0300 > From: Eli Zaretskii > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > > From: Paul Eggert > > Cc: emacs-devel@gnu.org > > Date: Fri, 25 Sep 2015 15:32:11 -0700 > > > > Here's a better idea. Developers that use a UTF-8 locale are OK > > already. Let's suggest to the remaining developers that they put > > something like the following into their .emacs: > > > > (add-hook 'auto-coding-functions (lambda (size) 'utf-8)) > > > > This will let Emacs default to UTF-8 for files that don't already have a > > coding cookie. > > You are assuming that those "remaining developers" use Emacs only for > working on Emacs, is that right? And I fail to see how's that less prone to errors, anyway: it still requires something to be added manually to some file. The only solution which will make the current situation better is one that will work in "emacs -Q".