From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OGsnA0iPcmIUEgAAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 16:35:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eKkNA0iPcmL4WQAA9RJhRA (envelope-from ) for ; Wed, 04 May 2022 16:35:52 +0200 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 DD0C214062 for ; Wed, 4 May 2022 16:17:07 +0200 (CEST) Received: from localhost ([::1]:45890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmFoQ-0002WW-Dz for larch@yhetil.org; Wed, 04 May 2022 10:17:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmFnd-0002Uj-S2 for emacs-orgmode@gnu.org; Wed, 04 May 2022 10:16:17 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:33334) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmFnc-0003Kd-By for emacs-orgmode@gnu.org; Wed, 04 May 2022 10:16:17 -0400 Received: by mail-wr1-x435.google.com with SMTP id x18so2263219wrc.0 for ; Wed, 04 May 2022 07:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=fiAeAjaaig7y4NEfU/nkmT4cgBoMnXWkBf5777Yh/CE=; b=ZGuuFJlcTvSajXl+tqGQaIPyL+qk4bSEf1R2G3xhyKVlLNsUKmXY/BY45s326lLRcS tf5E/t+JNX1qtG3ZxNeJ1e7GDbADRregUjJ0gYgmTBM08wk3hXX81+0q+Opql+vp/yJc Q8BeU/8xNM5IJdbqAVFPMLPyTycgF6u2HFN+ZE+uAPxSpfCdrofP7Cs/7ck2cko4F6Qn T8qVwFKYlbRzS2ASpjCYJH3iLqejJo8ZFTh5i4mKEwSZZ1UQ0f/FeWQQVaz2RNgRuvk/ QtRN2GWmBNxLi0cKp9qHiw9Ac58xWeR8ohsmA+tvf4k2vy+3jG+rzlSpDQY4rMrJNebX jDqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=fiAeAjaaig7y4NEfU/nkmT4cgBoMnXWkBf5777Yh/CE=; b=vsIHU3aEVqp5Md0X0vy3462d75hf60gxLSPWjN3If9tIu23RzqpKHHvs2TtfF14twQ KjSwgfpWv0TNzwE2gLRUQ71VwJB96u3c4LFhy6XgsHs6Zc3raRro85QrBK0LkKEwsJ6l Mz/bgW3SrBD7wcaIalaNARWa737o3aoNqIHPIsbH7i+y8GLeJiKGtX+gPFQPloif5/vU wQc3gP05pWoS9O3JSidXQYJNxJg5b/3SQuRB3aw4ZFJrb9x8/FSRnkcH8OeodqVP0Gd0 o5hVo+1YHdRyRF9CnrW9UDSJHSu1VUy9O7hk3e6l92FIQ7uejoxPBXIW8dsgzOqbIO8J xB4A== X-Gm-Message-State: AOAM533oluQj2Nk5pkjagDjEHE4BuaObr+Rncb3gvB2ZIyrVknhIotxh 87WuezcvjdoRIwZT6gkV1w+e++SuEAI= X-Google-Smtp-Source: ABdhPJz9SV0ayGwNCyCfl0jNnlHg/C3+hOdH/o9xaTCrw0XYAM43n9p428dhUFyzfJpKE23ukdqzbw== X-Received: by 2002:a5d:474f:0:b0:20a:cb5c:bbd7 with SMTP id o15-20020a5d474f000000b0020acb5cbbd7mr16236064wrs.21.1651673774619; Wed, 04 May 2022 07:16:14 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:7623:b433:37be:1f20]) by smtp.gmail.com with ESMTPSA id p20-20020a7bcc94000000b003942a244f38sm3940089wma.17.2022.05.04.07.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 07:16:14 -0700 (PDT) From: Robert Pluim To: Ihor Radchenko Cc: Max Fujimoto , "emacs-orgmode@gnu.org" Subject: Re: org-startup-folded does not work with directory local variables References: <1984742079.3751611.1651538242680.ref@mail.yahoo.com> <1984742079.3751611.1651538242680@mail.yahoo.com> <87wnf1inwk.fsf@localhost> <8735hp8mja.fsf@gmail.com> <87ee19if6h.fsf@localhost> Date: Wed, 04 May 2022 16:16:13 +0200 In-Reply-To: <87ee19if6h.fsf@localhost> (Ihor Radchenko's message of "Wed, 04 May 2022 21:46:14 +0800") Message-ID: <87tua5758y.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=rpluim@gmail.com; helo=mail-wr1-x435.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651673827; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=fiAeAjaaig7y4NEfU/nkmT4cgBoMnXWkBf5777Yh/CE=; b=q9JMcaQ5FNRsd3tcRH0pS26IeNnf3EYir4PUbIOUXc6awA3lf86pjgbC39XXm7aCiOkbBA B9Eb7Gh2hy9j6UTCEbOZkVUNMdsTjnMOgzCjf/Ev/GmxHv0geth8jgR0gR05r1rfzA/CtP IjE+dBz13cOYFTx2FgVSIXeUw8tDabZyq1T02tsAqq/y7SegkuBoOKc1rmefcUngieIO1/ 0jVmURbcaza9pGw2Xp8ohcV4pzCUnhdaFynHF8jjjU1ySxE41lIvTWKlOdiGeRSVrnHZsf ZvMXHX6WNkpYSxDCPnxIpCep7fzsU4fO6GUu2WKDVUXQYPq0vAHtfln191CWrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651673827; a=rsa-sha256; cv=none; b=H8W4iqn9mJEMTz7E+xcaEieWCo/Q4uqx3JWb0WrVJW2yDl5W+kDqdBgL/QFM2o705zJhV3 9hb1nVdbf14EYnbHp+nKDvJCkoPy3CuV82D6CnZKjbeILkehqBOve3pQUy3vPyAM/N517r vTlc50+9TeXK6VGNil0BEzEO3wpWNeK6O5yafMSO/zXUj1e7wsCOl6mEI65r92Pj7E5iBP uuh+/nUZxwJI5KejtLHc5wboR9sb3tH4GCa9aEdygP1uTHTGd/Y8RTDygHBLx778gy+WgR YLqB1uUXqnfFCjuzB/uC2jMHOnFvP6fcWK9UUW9smVImnOZNCJ/rDckY1ibF3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZGuuFJlc; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.98 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZGuuFJlc; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: DD0C214062 X-Spam-Score: -3.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: PF7APALdZNEB >>>>> On Wed, 04 May 2022 21:46:14 +0800, Ihor Radchenko said: Ihor> Robert Pluim writes: Ihor> I recommend reporting this to Emacs bug tracker. >>=20 >> I don=CA=BCt think this is a bug: directory-local variables are supp= osed to >> behave the same as file-local variables, and setting >> org-startup-folded in a local variable section also doesn=CA=BCt get >> applied. Ihor> This is no different. org-startup-folded controls loading of Org = mode. Ihor> However, Emacs applies directory-local variables and file-local Ihor> variables _after_ loading Org mode. Org cannot do much about it w= ithout Ihor> hacking Emacs defaults. We=CA=BCre in agreement there. My point is that it=CA=BCs not a bug (althou= gh I guess you could ask for a feature to apply local/directory variables before applying the mode, but in this case there=CA=BCs an easy workaround). Robert --=20