From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Defaults for elisp-mode files Date: Wed, 03 Oct 2012 14:06:03 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349287594 20965 80.91.229.3 (3 Oct 2012 18:06:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Oct 2012 18:06:34 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 03 20:06:40 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 1TJTKr-0003W3-Hf for ged-emacs-devel@m.gmane.org; Wed, 03 Oct 2012 20:06:17 +0200 Original-Received: from localhost ([::1]:59962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJTKl-0007D0-Ux for ged-emacs-devel@m.gmane.org; Wed, 03 Oct 2012 14:06:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJTKg-0007CT-9r for emacs-devel@gnu.org; Wed, 03 Oct 2012 14:06:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJTKe-0005ca-VN for emacs-devel@gnu.org; Wed, 03 Oct 2012 14:06:05 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:17722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJTKe-0005cU-RM for emacs-devel@gnu.org; Wed, 03 Oct 2012 14:06:04 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvwEAG6Zu09FxLQG/2dsb2JhbABEtBGBCIJyciYYDYhFmFKhN40mgx4DozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="200578913" Original-Received: from 69-196-180-6.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Oct 2012 14:06:03 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 1AC2B594E8; Wed, 3 Oct 2012 14:06:03 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:154024 Archived-At: 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