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 kCcECFticmJsDAAAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 13:24:11 +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 oNAYCFticmJhtgAA9RJhRA (envelope-from ) for ; Wed, 04 May 2022 13:24:11 +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 BD3CCE2E1 for ; Wed, 4 May 2022 13:24:10 +0200 (CEST) Received: from localhost ([::1]:55408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmD73-0004oP-Kr for larch@yhetil.org; Wed, 04 May 2022 07:24:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmCNX-0000ni-1C for emacs-orgmode@gnu.org; Wed, 04 May 2022 06:37:07 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:45991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmCNV-0000FE-E7 for emacs-orgmode@gnu.org; Wed, 04 May 2022 06:37:06 -0400 Received: by mail-pf1-x42b.google.com with SMTP id h1so794944pfv.12 for ; Wed, 04 May 2022 03:37:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=K51uFaYsBrRUqyufV13bhnRcVfhDMkc6zNcJgIK4aI4=; b=Hy5Juidh6rIq8KDUPboewyiLUt4gCKVUbwbvOJU06eZ0chNrc+RR4MdGS7F9uuT8O8 aoZvpTmw205q6YxK+ogFGZuN10bWAeFA74wnGJW7uIRIBk8hcXjmIhJBozPN1eRSEQY/ 7rbzF/B7UJ3/f7awwzZgCjsZ4WKV8nriCzK6JoyX/NygrBvNwYVNNCyKDODQI6LxrJec B0+Zn8Yof1U0+1AYVKfOQHN5I0bTeyaoOGAcOR47y6NihNpCgbTpbSkHVgSi+x+6atzQ SSAab9ySxKCdrwXGqj/a2MK3rNWMU/dal4nUETgKIV1HRrgi3aWrAOHyoZjeunP3+ES0 IBoA== 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:in-reply-to:references:date :message-id:mime-version; bh=K51uFaYsBrRUqyufV13bhnRcVfhDMkc6zNcJgIK4aI4=; b=qDdxWnRRs4Se1Nq8Gdn21cJBXGBQa+QCMtoQ+Wi4tEVLh+Pk84D78lycC7U19bzna6 p4O09ADfDEZ/OdBvO1JUC48TArRATdOkRtaFnlpMlAVFQW/Yr9gYn0hqr8xtvyW7r23o yD3u9iFYhzmbU9MuvM6132lwJ6TzRrthWPV4TOXY7GfvgDuon7pOdyhm0GorD4LYAren QWifhSKhAoPcq94b7/+Nh5vMDS0KSzBXsh49w4qFwDTDPrxqgLNRYbpO+jZ8OL03feG0 02r2wuijcDs9D4knOX9yhq6Z79qieiS/bG2d3u3eZeJSELb5GEWHriwiVJz9kphb38Iv SKrw== X-Gm-Message-State: AOAM530kjgknGWRREx91b/U0hh9TNY0riXOp0kSIll4PDyckY+nKog+q GKec4aRDLaZtUbSD9ir/e1wUz8edvH4krIV6Bak= X-Google-Smtp-Source: ABdhPJzYsUK1NzK7mWgKYZQLNJOrLTZlqn4zim7+l2WBWH+knPTKQYnR1NXl4DCN1opQeSCcBDMOLw== X-Received: by 2002:a63:8143:0:b0:3ab:6bb5:8642 with SMTP id t64-20020a638143000000b003ab6bb58642mr16825389pgd.591.1651660622972; Wed, 04 May 2022 03:37:02 -0700 (PDT) Received: from localhost ([37.120.210.2]) by smtp.gmail.com with ESMTPSA id h25-20020aa786d9000000b0050dc7628131sm8138028pfo.11.2022.05.04.03.36.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 03:37:00 -0700 (PDT) From: Ihor Radchenko To: Max Fujimoto Cc: "emacs-orgmode@gnu.org" Subject: Re: org-startup-folded does not work with directory local variables In-Reply-To: <1984742079.3751611.1651538242680@mail.yahoo.com> References: <1984742079.3751611.1651538242680.ref@mail.yahoo.com> <1984742079.3751611.1651538242680@mail.yahoo.com> Date: Wed, 04 May 2022 18:37:47 +0800 Message-ID: <87wnf1inwk.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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=1651663450; 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=K51uFaYsBrRUqyufV13bhnRcVfhDMkc6zNcJgIK4aI4=; b=HMWbQjGXQ9cMsg1kvVZqV3X0XHT3ampQQwj92t5pkJ9+3HjmtIdsdfivD9c8/Ev0zjwj5C CqjaRu2drXJ7qMKB6KAOCXheeLDG9/L+OStTvLWG6Qa+g8CUZ+QkOvLEL57bvgtNPQVcfL NzMthOq1CGvLTyfvRIm62l8Hnc2UTxDFcxEzMNoDDExMBC467BoRsk0ShND6NtkEInSdrK bUZRAu/SAR2L5F+HwnGKQ4hcMBUNwKnUinWHBFgjKPfy5Y3jJ0RZh5XjURMVCFdBbnGioW +Q0pta1K5nnGZZD2cqALuo2kVSE7iPn3tzbVwcfKHWmyxAzYOdpbO7zyLGhU2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651663450; a=rsa-sha256; cv=none; b=ZBaOSP95JbOPs3CyN/Z1qn2OOd3o04HW6+SZ0CKkgkynXEwRjPPz0Q9orBMYdq/jUGLNX/ /CwLTCkyZEwbujl5+KiRWIFQKpSJItwFNTsHRAlTSOWYeHoqegKJeHb/qbs4x8J8D+jzZc zizsJrw1RPwYEVumbUlxDAIz2h9rp2yKxr5ntaa6tpeKYON5fyqoIzuRzRE7O4qYNDu4kn Tr1jNIr6O5nhM9m8CDJnz2tguqzuoB0rekxaGINStXJpFKFEeAdnw9FwM0H//1pyFmqo9J +ivjWR906pFhemyR/YH9ybfWqHKP+Skfq9QCd8eaqtXcRTS6D33kBx0FvCruJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Hy5Juidh; 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: -1.98 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Hy5Juidh; 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: BD3CCE2E1 X-Spam-Score: -1.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: tFJHu5ElxjZj Max Fujimoto writes: > Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) > > The variable org-startup-folded does not work expected in .dir-locals.el.The option "#+startup: fold" works as expected. This is because Emacs loads directory-local variables _after_ Org mode is loaded. That is, you set org-startup-folded after startup is complete. I recommend reporting this to Emacs bug tracker. Best, Ihor