From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SAZVG/yC52YuQAAAe85BDQ:P1 (envelope-from ) for ; Mon, 16 Sep 2024 00:59:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SAZVG/yC52YuQAAAe85BDQ (envelope-from ) for ; Mon, 16 Sep 2024 02:59:40 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=linj.tech header.s=mail header.b=q1i39K9R; 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"; dmarc=pass (policy=reject) header.from=linj.tech ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726448380; 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=iYmXSR2K3+T/Bxm/Ic2eGe4thBjHoCtsSLdei9xHK8g=; b=fudcc4ImF87I/VvPtCKLVZV+M+AJ1m0HMVsh/Mi58YdH9N1HGz8eBkAmQNBtyHhu2J3w8Z JnlZLVqhMEembYVhAIrRW9urihFxMEzS6DER9QMr0eh/wFsCrxO+8w5FCrIO4mko4+ouWn 9KD3fCgZmgrR/wW+gHbkbhwl7tGPW1EuDuPjvXhNE3pM0wuE5euqD2GKLx/CxQSfLLjM9I YjR2lPOpVcaLhifHfNWq58woT1pvcGclbL1Uaj5UMC450GxDCfVAwHB3oBRKqOfKlUlxk2 pNvQcYt1ZsaVp6NBs3bWuOD6AE0XhBDPfTMHdVrDst+9X6Caf5R2vIcutMPiNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726448380; a=rsa-sha256; cv=none; b=uXez2ckyULV15qK2ccIjXY4ZyJCHk1yU3kEGbVJIawDyK1g3D9+Nc52W27FmIAjMcsAJ+p 1Fe11HT/9lieSbrndlGhCJRp5Nb8DB28fWinomSWNfi6fxaXFvKjeo3PJ6z6NIOOjdjaiM qxlwsb9W7Nx1SNesF845Man6//G6oGnYYa4oaY1JaF2r4EWmKkPj9EeEHqJSyW1Q2VPbwk N6XS51jUSCntGwv83ocF+eU7B99Ab1Otnl7FNnTky2EFtWVFG2sHEVEKLHGaG6WTI6bcUh 8C1QUAQqKGNyE1UDoFzu2DJPPVBIQa+AsBrXOdkfaolRdP0UQtFSvoJDPUsQSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=linj.tech header.s=mail header.b=q1i39K9R; 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"; dmarc=pass (policy=reject) header.from=linj.tech 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 015FE7D86C for ; Mon, 16 Sep 2024 02:59:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sq04d-0004LS-C2; Sun, 15 Sep 2024 20:58:39 -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 1sq04a-0004L2-FR for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 20:58:36 -0400 Received: from mail.linj.tech ([5.255.109.209]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sq04Y-0008Uw-LG for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 20:58:36 -0400 From: Lin Jian DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linj.tech; s=mail; t=1726448306; bh=iYmXSR2K3+T/Bxm/Ic2eGe4thBjHoCtsSLdei9xHK8g=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=q1i39K9RkEPw+mt5W+lXYSLxLnMKct85eGNYCbI3rI0/hZgUPZ+9AyExXnA9rwRk2 zVrjDybw3/1ktWHHhS1nat9Z5KcBFPpQ3KL4shlWHOivny/dqwVdXgRO2awmFC97SY YhVLLdZDCPlG7exlJ8q52ZJ8EMhROlAPoEANFNy5aX2WtK//0w02Jn88V+tgygDFWL zVxjiEsG64KWbd5YrEuABYapClzRMjhticMnkCUwfNotGxVkrba+QMRhvUqzHhyDtc q3+qRItnZBijIb2TzOpgQSTvhpkEEc3Ze+4MbyaSIPY2IX1yP0YRMfQH4DcsEoNJwE hj1UuTO3/3QYA== To: Ihor Radchenko Cc: emacs-orgmode@gnu.org, Morgan Willcock Subject: Re: [BUG] What about excluding .dir-locals.el from GNU ELPA tarball? In-Reply-To: <87bk0p72bi.fsf@localhost> (Ihor Radchenko's message of "Sun, 15 Sep 2024 08:23:29 +0000") References: <87zfocwjwx.fsf@linj.tech> <87bk0p72bi.fsf@localhost> Date: Mon, 16 Sep 2024 08:58:11 +0800 Message-ID: <874j6gwh24.fsf@linj.tech> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=5.255.109.209; envelope-from=me@linj.tech; helo=mail.linj.tech X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.70 X-Migadu-Queue-Id: 015FE7D86C X-Spam-Score: -6.70 X-TUID: FWjIuEjJ8nX3 Ihor Radchenko writes: > 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. I thought including .dir-locals.el may be a mistake because there are only 4 packages (auctex, el-get, helm and org) among all packages in GNU(-devel) ELPA and MELPA generating native compilation error about .dir-locals.el in NixOS. Now I know that including .dir-locals.el in org is not a mistake. Instead, it is intended. I will change our code in NixOS to not compile .dir-locals.el. The no-byte-compile cookie Morgan mentions is very interesting. There may be more packages including a .dir-locals.el file in their release tarballs but not generating error in NixOS because their .dir-locals.el has this cookie set. add-dir-local-variable adds this cookie only since Emacs 29[1] so older .dir-locals.el does not have this cookie. I think adding it to .dir-locals.el of org is a good idea. [1]: 6539eb05889c783d782f114d9c072208d3080561