From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: Defaults for elisp-mode files Date: Thu, 04 Oct 2012 21:10:14 +0200 Message-ID: <506DDF16.10800@online.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349401866 24265 80.91.229.3 (5 Oct 2012 01:51:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2012 01:51:06 +0000 (UTC) Cc: Juanma Barranquero , Stefan Monnier , Drew Adams To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 05 03:51:07 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 1TJx3w-0006Y7-Cf for ged-emacs-devel@m.gmane.org; Fri, 05 Oct 2012 03:50:48 +0200 Original-Received: from localhost ([::1]:43773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJqoe-0007q4-Ug for ged-emacs-devel@m.gmane.org; Thu, 04 Oct 2012 15:10:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJqoZ-0007oL-G0 for emacs-devel@gnu.org; Thu, 04 Oct 2012 15:10:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJqoV-0001SB-4E for emacs-devel@gnu.org; Thu, 04 Oct 2012 15:10:31 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:49870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJqoU-0001Q5-R1 for emacs-devel@gnu.org; Thu, 04 Oct 2012 15:10:27 -0400 Original-Received: from [192.168.178.27] (brln-4d0c3cb3.pool.mediaWays.net [77.12.60.179]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0Lpljf-1TwSg437It-00ffr5; Thu, 04 Oct 2012 21:10:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120825 Thunderbird/15.0 In-Reply-To: X-Provags-ID: V02:K0:/6gUU/5fXApLOfii3RX26gz7jNHXr6zwPvrAbOKCDJl 5PLOyU376dFu55LXruiKSg9mNLhDPgZ2LySpfStVX3psxG4ZSV ZYxSvLihaDObvoJp9JXPunZmWEAKo6K8C5Mwt913FDwEsp2nkC vFDRxf23LL7+SFsZm0ZP7sm8k4FyyKp9Ds5LSH7oVCUnlb4gHX FsHpjTVmMMISei4Ruc/yO6KzPQ28HbSdwu8wQzrVn1LYOXEg05 y6H27wUyrW2gWqert3AFT+fzKnWlcAqp6+IGgHUdhl5kE0WrJ2 NlvxrvlvlPbusmsO8iKIXMJCedp5yhL7CbtjD9zzHuFAioqsTF Tot11jZ9MuxMKDHlE024= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.10 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:154038 Archived-At: Am 03.10.2012 20:06, schrieb Stefan Monnier: > I'm seeing more and more Elisp files with "-*- lexical-binding: t; > coding: utf-8 -*-" showing up, and I expect them to become the norm in > the longer term. > > So I think in the longer term these annotations should be made > unnecessary because they're ugly. > For the `utf-8', I guess we can simply set auto-coding-alist and we > could do that right now without much risk for serious breakage (IOW > I suggest we do that for the next release after 24.3). > > But for the lexical-binding setting, it seems less obvious how to handle > such a switch (other than start warning any file which doesn't set it > explicitly to t or nil, and after a while change the default, and after > yet another while remove the warning, the whole process taking probably > more than 10 years). Any suggestion would be welcome. > > > Stefan > > It's not nice, but obvious. Being in favour of the present state here. Using .dir-locals or other non-related locations would rather obfuscate than being useful. Best, Andreas