From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Defaults for elisp-mode files Date: Thu, 04 Oct 2012 15:01:06 +0900 Message-ID: <874nmalqsd.fsf@uwakimon.sk.tsukuba.ac.jp> References: <877gr7kory.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1349402083 26922 80.91.229.3 (5 Oct 2012 01:54:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2012 01:54:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 05 03:54:46 2012 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 1TJx59-0005tv-Ej for ged-emacs-devel@m.gmane.org; Fri, 05 Oct 2012 03:52:03 +0200 Original-Received: from localhost ([::1]:44136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJeUs-0005S9-AK for ged-emacs-devel@m.gmane.org; Thu, 04 Oct 2012 02:01:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJeUl-0005Rp-PA for emacs-devel@gnu.org; Thu, 04 Oct 2012 02:01:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJeUk-0005Hi-Lu for emacs-devel@gnu.org; Thu, 04 Oct 2012 02:01:15 -0400 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:36698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJeUk-0005HD-C8 for emacs-devel@gnu.org; Thu, 04 Oct 2012 02:01:14 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id AFB7E97088D; Thu, 4 Oct 2012 15:01:06 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 7647D1A3591; Thu, 4 Oct 2012 15:01:06 +0900 (JST) In-Reply-To: X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta32) "habanero" b0d40183ac79 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.158.97.224 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:154073 Archived-At: Stefan Monnier writes: > No, I mean to set auto-coding-list so that .el files get read as utf-8. I was afraid you meant that, but one can always hope. ;-) > I don't think so: if the file doesn't have a `coding:' cookie but has > significant non-ASCII chars in it, we usually sooner or later get bug > reports about it (because someone loaded the file in an locale where > the encoding ended up not recognized correctly). Funny, that's another bug that just doesn't show up on XEmacs channels that I know of. The reason is simple: ISO-2022-JP is unambiguous and very reliably detectable.[1] Very occasionally somebody will ask for help with a 3rd party file. I explain about coding cookies and C-u C-x C-f ... C-x C-m f iso-2022-jp and never hear from them about that again. Of course, all of the above would be true of UTF-8. > > While you *can* set `auto-coding-alist', I think it will cause a lot > > of pain. > > We'll see ;-) You were warned. ;-) Footnotes: [1] At least in my experience.