From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#58486: [PATCH] Prevent .dir-locals.el from being byte-compiled Date: Thu, 13 Oct 2022 16:20:03 +0200 Message-ID: References: <87sfjsgkl4.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3561"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier To: Philip Kaludercic , 58486@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 13 16:21:30 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 1oiz5W-0000gP-Cy for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 16:21:30 +0200 Original-Received: from localhost ([::1]:39500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiz5V-0002Q9-8J for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 10:21:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiz54-0002Nw-P1 for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 10:21:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35380) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiz54-0008Qc-BV for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 10:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiz54-0000kM-6Z for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 10:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Oct 2022 14:21: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.16656708132747 (code B ref 58486); Thu, 13 Oct 2022 14:21:02 +0000 Original-Received: (at 58486) by debbugs.gnu.org; 13 Oct 2022 14:20:13 +0000 Original-Received: from localhost ([127.0.0.1]:34455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiz4G-0000iE-W6 for submit@debbugs.gnu.org; Thu, 13 Oct 2022 10:20:13 -0400 Original-Received: from mail-oa1-f52.google.com ([209.85.160.52]:38876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiz4D-0000hy-LK for 58486@debbugs.gnu.org; Thu, 13 Oct 2022 10:20:12 -0400 Original-Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-1322d768ba7so2454710fac.5 for <58486@debbugs.gnu.org>; Thu, 13 Oct 2022 07:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=4xq6DG5MiaMqkUVMIu85NKHTNjpefTI/CpnQutLyH1g=; b=BqCPyfRETpR6Q3X5G+oeHl7Lz2Pm2CuB6UtovyXD1q3AjO6Us3ZxDnUG8WILXESlVi jFvj11BPvYwG0LzVS5gFdpGgvPzvCQ1/lML1aFtVsV0RIUxsRy9gBV24JxxSo8H5xyLG QWmLTZaShVQ55+A6Bf8LEt82RsQZ+F6OoYf1axEW/dcCh9rY09urIK6C4KXif0uAS6Do 63QNMf9xwAWABRT2adaUVio3woSBJl6AskBHQugwHnED5BTdVTHQ4CA5vpGNrKTUtz+L KsTeUjG66dAXI5Xi0zqyWQNRiDfH8zwpKdvt+QKy3pn3oqcg2IxBZE5bMv/geOge2MNh AtOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4xq6DG5MiaMqkUVMIu85NKHTNjpefTI/CpnQutLyH1g=; b=PP9XrkQw5hCYQsl4L6KG7+HlU5b/vhu3oHaNSm67yIULO4civfXuqh9dhDkqAx1r2e T9lBW5GGGJPH66DBkbALhZaHCgA4IbdAkGQyfxQv39aMcupww5hWpsrYPD8+KY1ZUNNv SBs6xK0igPHGoUtAR66s3pwDJMW/KLuAwIj/s6NybNv8mUs/yc+F8tSE3lZ6vWNeqUma ESyLPZ8+bJ4dJgEjJrh2RRbQGeJsLUgY8uF50tMx4y3Q82ox9MAG7zra4yqBO+ymrM32 mg4caidRPSEmgDMiMwFD7mp43G7lGNlkpRKj+rccm+dM6j7hOZjJFZu7VXpyVAkYGfMn eSKw== X-Gm-Message-State: ACrzQf2IbUDNPE5H/3pmglgX3Izrk1spLwcdLvX60BxRJmm8QY7E6HVc Hdu95v/Xk+UGgn0Xz8rBNXR71vcsUbUKIzVdy5E= X-Google-Smtp-Source: AMsMyM731BfK1iyjUpuAle33T939O/hN5X8aqvI/HbSWJ4kUXoj1SU0W69fupC93QwhVVuztxqs9ddbKB2E/l97uKcE= X-Received: by 2002:a05:6870:9126:b0:132:b724:e96c with SMTP id o38-20020a056870912600b00132b724e96cmr5670989oae.199.1665670804036; Thu, 13 Oct 2022 07:20:04 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 13 Oct 2022 16:20:03 +0200 In-Reply-To: <87sfjsgkl4.fsf@posteo.net> X-Hashcash: 1:20:221013:monnier@iro.umontreal.ca::nvJuGx4PYWWTs8At:88BG 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:245312 Archived-At: 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? (Don't forget to add the cookie to our .dir-locals.el as well.)