From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#58506: Use ".dir-locals.eld" and ".dir-locals-2.eld" when they exist Date: Sat, 15 Oct 2022 11:42:23 +0200 Message-ID: <87ilkl5sow.fsf@gnus.org> References: <87sfjsgkl4.fsf@posteo.net> <865ygn4pno.fsf@mail.linkov.net> <87y1tiabq5.fsf@gnus.org> <87czauzhch.fsf@gmail.com> <87k052h1zt.fsf@posteo.net> <87ilkl78cd.fsf@gnus.org> <874jw577gn.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40505"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58506@debbugs.gnu.org, Robert Pluim , Juri Linkov , Stefan Kangas , Stefan Monnier To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 15 11:43:17 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ojdhN-000AN8-14 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Oct 2022 11:43:17 +0200 Original-Received: from localhost ([::1]:37120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojdhM-0006CQ-1c for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Oct 2022 05:43:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojdh9-0006CG-Qt for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 05:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40416) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojdh9-0001fy-JW for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 05:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojdh8-00083J-EJ for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 05:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Oct 2022 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58506 X-GNU-PR-Package: emacs Original-Received: via spool by 58506-submit@debbugs.gnu.org id=B58506.166582695630915 (code B ref 58506); Sat, 15 Oct 2022 09:43:02 +0000 Original-Received: (at 58506) by debbugs.gnu.org; 15 Oct 2022 09:42:36 +0000 Original-Received: from localhost ([127.0.0.1]:39494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojdgi-00082Z-Cj for submit@debbugs.gnu.org; Sat, 15 Oct 2022 05:42:36 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:55916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojdgg-00082M-K0 for 58506@debbugs.gnu.org; Sat, 15 Oct 2022 05:42:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+2d5jUTGGO7lAIpCiTJ9Z+LRzXHz6TpSj86dGL2yGpQ=; b=u2GtMleDXN41bpEAAoFoqkTdH6 uhNuqU2stc2qy3BDsM7gziggr9/g50bn59Ga5eXaQEq/EN1J3kGq0Vo6DR0JgVeefNpQJ4vzz4ERC UnHVDGGLsOTAch9liiJ7XqeoUWPhYYrOfHkFX6w7LFfnQBKJwb9/2Nu0+LEXwv2UVz/A=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ojdgV-0006ki-Qo; Sat, 15 Oct 2022 11:42:25 +0200 In-Reply-To: <874jw577gn.fsf@posteo.net> (Philip Kaludercic's message of "Sat, 15 Oct 2022 09:38:00 +0000") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXGfIbRPEBTVrX/ //8XHU2tAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YKDwkFMEplpa4AAAF1SURBVCjPNdC9bqQwEAfw v6MQnbZiJbvZJ7jbp8CnuKEyKw8FXaRsEZ6CFDTpLoqbVJuC1TJPeTM4cYHmx3xh4LpUjRRID2JM bshdQWMj9Usq8Lbz1Vrq4O59ZVra6gB7b0M7kyMKgHuM4WF9kUSWaVbmcf4XaEETjLWuzWklhxh8 APXXxDOBUq1jxw/+IlSp9pRwWHg5oYrUUARW5h2MbHIJ/jczQ49N7nE8CpoKv2qENGyQ7hqO/n4K DJGJ8sC1wDeyDX8UIcnA09zsSgYwpxl3P5DL0E/G6DV1tPZWlDRRIFWtxKvUR0EvMX+hdg32/lCw PwP7NCpeQccJljRmWS5wSeOLQTxe4E6KySCzYJD4Jpc+CyrtvwhIX/E3ZvmKu61FIIOmXUGHN/4+ U0U4anBTuILri36/zdDEQu/MXm45bBj4ZqRH9y3nXld3G/IzcYbpMdxGybRMnnqQ1C/yC/J+A/GV Pg8T8KAY+Cn3HAu2w5n6/2Byy0hq/tYqAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTEwLTE1VDA5 OjA1OjQ4KzAwOjAwbE0DUAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0xMC0xNVQwOTowNTo0OCsw MDowMB0Qu+wAAAAASUVORK5CYII= X-Now-Playing: Bill Callahan & Bonnie Prince Billy's _Blind Date Party (1)_: "I Love You" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245529 Archived-At: Philip Kaludercic writes: > My only objection to "something like" this is that it appears to be Lisp > code, and people could get surprised when they try to add something that > isn't (eg. a regular `add-to-list' call that had a quote -- beginners > often get tripped up on these minor syntactic points). Then I guess `add-to-list' wouldn't be a good "directive" here. >> And we'd make the parser backwards/forwards compatible -- i.e., elements >> that are unknown to the Emacs version running would just be ignored. > > Ideally there would be a warning or some way you could find out that > variables aren't loaded, e.g. if you have a typo in > `blink-parenthesis-mode' vs. `blink-parentheses-mode'. Well, that would make things less backwards/forwards compatible -- people would be getting warnings when flipping between different Emacs versions.