From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robin Tarsiger Newsgroups: gmane.emacs.devel Subject: Re: Rename .dir-locals.el to .dir-locals.eld Date: Thu, 20 Jan 2022 20:07:58 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18097"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 21 03:10:41 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAjNv-0004TX-Ib for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jan 2022 03:10:40 +0100 Original-Received: from localhost ([::1]:41774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAjNu-0006Qi-4k for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Jan 2022 21:10:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAjLR-0004vN-0u for emacs-devel@gnu.org; Thu, 20 Jan 2022 21:08:05 -0500 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:50325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAjLO-0003NN-MO for emacs-devel@gnu.org; Thu, 20 Jan 2022 21:08:04 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 3F12D3200B25; Thu, 20 Jan 2022 21:08:01 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 20 Jan 2022 21:08:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dasyatidae.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; bh=ZJBwxO0RBnBsKH Oou0eu35Jl3Z0PMlY1++AFfmxz1GM=; b=TMbMx1wBUsFnCSm5HbNgSq53Z3+OMi KZNds4qh6+JXmD9ThV+LjHDpHpvv7wJCyvQGMef06Er2sYSpyTMeguSuYYnO8ZY3 bC5t5KppfLCGZI/uGW9MEI0G7Cc43QJgYT7XLqNXAMEfG8wk7HwEPejPlVqADNnQ YmH0kCD+33BGNeSUFhz0/0cnXPzR12+1CApCfvfIpXROuZ5o0j14L7lP33AfnT/x +0N3cXCwvLR/8P3JczQ2u7xw0KDZzMAC7gugMu8Z87Org1844fVYTIoo62ZNuLE2 I/ik7iI0ex24/utxYTNxrgCxCV7y8DpoXuMjTXjlobwQwdUnsnnWhXfA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=ZJBwxO0RBnBsKHOou0eu35Jl3Z0PMlY1++AFfmxz1 GM=; b=kU55a+u0zQkBOc59kYIJZABcHWN9FDi74z5EVvlwmtSo5ptyVIyVa8PVO 0CJdahOtUoIN4vfiCQu63J/wdzQxLTnp1DfI7vdhWsyYmNDLdzOZSiYKLYhXASHc LOk6fyB8FON87tXjbOIMFa/A5qP8TSTCt6l2Rc3k3FOL0k0senY/O7T+HjMoIJkj vew/cBzmZhdbByZOWR1AT2bbxTDcjR40S6j/qkhUs3ZQ+oLbE0KqTA8L/Ms1WQTu 8PaYbImIDhMhCZCEvAekRFViN9SxOixOFMVf79gma7RvWMz8WE/hKTiIOcItjuoM V49adqY2arjT4w5LXFJkQf8btOMww== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudelgdegvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeftohgsihhn ucfvrghrshhighgvrhcuoehrthhtsegurghshigrthhiuggrvgdrtghomheqnecuggftrf grthhtvghrnhepgeefgeejteetfefhudehvdehveehhedujeeguefgueelueduvdekveel geeugedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprhhtthesuggrshihrghtihgurggvrdgtohhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 20 Jan 2022 21:08:00 -0500 (EST) Content-Language: en-US-large In-Reply-To: Received-SPF: pass client-ip=64.147.123.19; envelope-from=rtt@dasyatidae.com; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:285076 Archived-At: Stefan Monnier wrote: > I think we should restrict the `.el` extension for files which contain > actual ELisp code rather than files that just contain text in ELisp's > sexp format. > > WDYT? I think it's a bit late to do that for .dir-locals.el given how many of them are who-knows-where, but it'd be good to assign them lisp-data-mode in auto-mode-alist (don't forget the -2 version) and establish a loose policy of .eld for "read but not evaluated" files for the future. More specifically to the first part, our only practical option is adding more names, and the practical utility of the new ones stays questionable for a long time. High churn and complexity for not much cleanliness. It's already a special-looking file name, too. -RTT