From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sK+lMUSZ5mbvagEAe85BDQ:P1 (envelope-from ) for ; Sun, 15 Sep 2024 08:22:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sK+lMUSZ5mbvagEAe85BDQ (envelope-from ) for ; Sun, 15 Sep 2024 10:22:28 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OIvoyj6p; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726388548; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0vtYGnw/CKeFup/9v/U7427TrGDP5q2yCZgcaiK1GJw=; b=Qc5xPkVZ/pM3Z3pheGcx41NxvD2BeGoiF7F/QEx7MClMd6D7HUIdDK8WdgmnI+AYgcGIOf EGD8DA/95qDZauQhS5av9GULbzsCGqP5VAFFVAhn1xJ8Eft8w4JKUxXiijexIfwYgrlAR0 3K8Nlc00JdIkmCwHCgocgI10hIkMF5Fw7VPCSxJAqsW/hP4605X2UgghD4/60LXxaqii/n zYDPU2zayxUVfNZ+CprrS+pxE0awa9zQGcAoDvyN7hqFLZLJINzUYSQf2up8vjbQvIjvrs 9EvHhxS2yM13oB0uClhYsTVsK8vLHtx2n8luZP7c7YYE0xeS5wduzQvsI66Kkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726388548; a=rsa-sha256; cv=none; b=HrAFD5jSnkFJyZc7VOfinq5+N9Pw/h3+HQls8Chl5kWVCmZM49MRtdVRbgWtkMDFOR5i7F yAXweOUIbigzHh+aZyFSfOWruqlecaMNn2kmfnPwzQTWPbn5kXmHTrGFEpaVjDiOlp/xNz T6Bxi7IXbstt1uGSpfXD/7nLqZwa4HZNjmfN0rwucKz5LRTm31J95BGUwU4oLcURpNPjik q1VOt6OGRALSoE/9fyPEZvxxefSnN6ekgx2+ozjhzVyaL2tU6EHPRjETC5vLGoUIurYSb1 oMvuBQL2V0zzBXPzwKs52gEx2wI9Ta1gYtI1gqF56VdUEHDjOC7UliAqYDk4zQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OIvoyj6p; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B7ADA727C6 for ; Sun, 15 Sep 2024 10:22:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spkWC-0000HX-1j; Sun, 15 Sep 2024 04:22:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spkW9-0000HJ-O5 for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 04:22:01 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spkW7-0000xh-P9 for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 04:22:01 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2CD41240101 for ; Sun, 15 Sep 2024 10:21:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726388516; bh=LuHD4ONrHC/tY6tj6UpurRwnrAWYLFiccLHyOFhvg7s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=OIvoyj6pQN32AKZb9cc49ysMUMEM10EvhohmNBaC4wh2CBZMgrF0eEfwLWR1ePCIR Yf9xKTtQhVTVi/CbCnZjg9Q/pRNzJXSIX8Z4NA35UPHj8VnOVNLgFBHudlxEL3P2sp fpdfGan7Z3lwoxn67smfoO+RvbmmVLnNb7VbjeGzlidPk0HqV4Wmjjip0jZkMyo0Sj EmV8UYFRfdfJc04vUExiMnmEW22/BgvECh/SqDNu0TcEsiIl6gVIfTquzGYw5zdPYX bjTaKoRM3NuetwVDimpdChbqPkUcF7h0mapKYs4liD01zQeCxB3SfNNbJsU1EkA68L GCb66EfPCRKmg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X61H72CWbz9rxG; Sun, 15 Sep 2024 10:21:55 +0200 (CEST) From: Ihor Radchenko To: Lin Jian Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] What about excluding .dir-locals.el from GNU ELPA tarball? In-Reply-To: <87zfocwjwx.fsf@linj.tech> References: <87zfocwjwx.fsf@linj.tech> Date: Sun, 15 Sep 2024 08:23:29 +0000 Message-ID: <87bk0p72bi.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.31 X-Spam-Score: -4.31 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: B7ADA727C6 X-TUID: svQpNRnS0+d3 Lin Jian writes: > Currently, the .dir-locals.el file is included in the GNU ELPA > tarball[1], which causes this compilation error[2] when doing AOT native > compilation for Emacs lisp packages in NixOS. I do not see why anything is wrong on Org side. .dir-locals.el is a perfectly valid file that may be created by users as well. The fact that they are native-compiled is probably a bug in NixOS or a missing feature in Emacs's native compilation (maybe it should skip compiling dir locals automatically). > We can workaround this by skipping native compilation for > .dir-locals.el. However, I do not think .dir-locals.el has to be > included in the GNU ELPA tarball. In addition, MELPA ignores[3] that > file by default. > > Could you exclude .dir-locals.el from GNU ELPA tarball? FYI, > :ignored-files[4] of GNU ELPA specification can be used to do this. Having dir locals file in the tarball can be useful for the users who wish to edit Org mode's source code. We set a number of editing defaults there that are employed across Org codebase. These defaults make our life easier when users create patches by directly modifying Org mode code they got via ELPA. Not a bug. Canceled. I suggest you to report a bug or feature request to Emacs upstream about native compiling .dir-locals.el. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at