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: Mon, 28 Sep 2015 18:58:16 +0300 Message-ID: <83wpvacz8n.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> <83zj09fbzp.fsf@gnu.org> <5606C140.6090309@cs.ucla.edu> <878u7trwlb.fsf@fencepost.gnu.org> <5606E995.2000102@cs.ucla.edu> <83si61ezxd.fsf@gnu.org> <2FCA0DAD-831B-4B0A-B948-9F31DE52B6F0@gmail.com> <87twqgrgtv.fsf@fencepost.gnu.org> <56077423.6030800@cs.ucla.edu> <87pp14qvkf.fsf@fencepost.gnu.org> <5608A8E0.8080201@cs.ucla.edu> <83pp13dogv.fsf@gnu.org> <560957F0.8040504@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1443487128 7128 80.91.229.3 (29 Sep 2015 00:38:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Sep 2015 00:38:48 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 29 02:38:40 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 1ZgiwJ-0000RB-9w for ged-emacs-devel@m.gmane.org; Tue, 29 Sep 2015 02:38:39 +0200 Original-Received: from localhost ([::1]:43029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgiwI-00006a-JQ for ged-emacs-devel@m.gmane.org; Mon, 28 Sep 2015 20:38:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zgaoc-0007kr-5i for emacs-devel@gnu.org; Mon, 28 Sep 2015 11:58:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgaoY-00008M-Vr for emacs-devel@gnu.org; Mon, 28 Sep 2015 11:58:10 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:44947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgaoY-00008H-OL; Mon, 28 Sep 2015 11:58:06 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NVE002009IETN00@a-mtaout22.012.net.il>; Mon, 28 Sep 2015 18:58:05 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVE002TI9OSKB70@a-mtaout22.012.net.il>; Mon, 28 Sep 2015 18:58:05 +0300 (IDT) In-reply-to: <560957F0.8040504@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:190447 Archived-At: > Cc: rms@gnu.org, emacs-devel@gnu.org > From: Paul Eggert > Date: Mon, 28 Sep 2015 08:08:32 -0700 > > On 09/27/2015 11:53 PM, Eli Zaretskii wrote: > > The best solution we have now is to have a coding cookie in each such > > file, and the question is how can that be avoided. > > > > IOW, the solution should IMO be independent of user's preferences. > > Here's an idea: improve the handling of .dir-locals.el so that it could > contain something like this: > > ((nil . ((coding . 'utf-8) > (tab-width . 8) > (fill-column . 70))) > (c-mode . ((c-file-style . "GNU")))) That's better than having to specify encoding in individual files, so I think this would be progress. Thanks.