From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#58486: [PATCH] Prevent .dir-locals.el from being byte-compiled Date: Thu, 13 Oct 2022 14:32:31 +0000 Message-ID: <878rlj3ibk.fsf@posteo.net> References: <87sfjsgkl4.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="26690"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58486@debbugs.gnu.org, Stefan Monnier To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 13 16:34:14 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 1oizHq-0006gk-K2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 16:34:14 +0200 Original-Received: from localhost ([::1]:55356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oizHo-0004ZM-Ug for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 10:34:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oizGg-000315-N6 for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 10:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oizGg-0002su-CJ for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 10:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oizGg-00016P-7X for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 10:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Oct 2022 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58486 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58486-submit@debbugs.gnu.org id=B58486.16656715644205 (code B ref 58486); Thu, 13 Oct 2022 14:33:02 +0000 Original-Received: (at 58486) by debbugs.gnu.org; 13 Oct 2022 14:32:44 +0000 Original-Received: from localhost ([127.0.0.1]:34486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oizGO-00015l-0c for submit@debbugs.gnu.org; Thu, 13 Oct 2022 10:32:44 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:54529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oizGL-00015R-Dc for 58486@debbugs.gnu.org; Thu, 13 Oct 2022 10:32:41 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 497C2240105 for <58486@debbugs.gnu.org>; Thu, 13 Oct 2022 16:32:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665671555; bh=MO0Mcs6IAqpiSvQyyKii9g/LZnQAs5NNcV/vRKwVR2o=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=OAOH7D7LDTtvrOjujw/yxMf0rOzqc5DlZQ1zIsf3DaIPGPyv5jFAoKfyFqRHZy/dM aVRZy6a6IQygruT3rqwpzIvdZGNUBidtCaZlTPwppcsVHVHfbfSmzn+6Mt51d+L123 fKm0moYgxpXcmOXoG815+EPlXXbm+Bth26sqTiLchogjBOrdhYbmsg3iyQqJ1Z6CyT V3JPdBdJK1MrIdwIvHH2Oa/sBW8WRd2tKI2OoZWHpZvykm2vEYzNp3x+aHRx7xSNBF M7+i0jjJHNsxgL9nAsY8MKFXZ1fLEbrcPtCCU0SNnmjQIxZ/Y0MSqZiKoS6rSG9kHg eaR2N5WFggWQA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MpBnD04C2z9rxH; Thu, 13 Oct 2022 16:32:31 +0200 (CEST) In-Reply-To: (Stefan Kangas's message of "Thu, 13 Oct 2022 16:20:03 +0200") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB 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:245316 Archived-At: Stefan Kangas writes: > Philip Kaludercic writes: > >> When selecting a number of .el files in Dired and byte-compiling them >> I'll usually also select a .dir-locals.el file that won't compile. >> Would annotating them as non-byte-compilable files be sensible? > > Makes sense to me, FWIW. Though Stefan M might point out that these > files should actually be called ".dir-locals.eld". Which, BTW, we > should probably add support for. And "*.eld" files should never be > compiled, I think? AFAIR this was not done to avoid newer versions of Emacs creating .dir-locals.eld files that older versions of Emacs won't notice. > (Don't forget to add the cookie to our .dir-locals.el as well.) Good point, will do.