From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OICzNAZ+cmIahQEAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 15:22:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0ESdNAZ+cmKsMQEAauVa8A (envelope-from ) for ; Wed, 04 May 2022 15:22:14 +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 9A06B2054A for ; Wed, 4 May 2022 15:19:51 +0200 (CEST) Received: from localhost ([::1]:47400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmEv0-0003PY-C9 for larch@yhetil.org; Wed, 04 May 2022 09:19:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmEsq-0001k7-2o for emacs-orgmode@gnu.org; Wed, 04 May 2022 09:17:36 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:38694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmEsn-0002zn-Ma for emacs-orgmode@gnu.org; Wed, 04 May 2022 09:17:35 -0400 Received: by mail-wr1-x429.google.com with SMTP id k2so1985094wrd.5 for ; Wed, 04 May 2022 06:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=jaV3qtfyN7J+BjneGDpF+okgdGfdXaeOJQ0S3sJS19k=; b=YfbT0dML7fH49gBj4wJn9sVz4LMzMckRQ1zddFZzdP76sNUO5DRW20wX2vN60/1HIo fEzvlDyqnkWrmn87X+u7iQ9bl9ttLcs/MlB9gd3Z1WfmIzX5iAEAmqS+y4UoNj1O/vCZ Wv17hqFcUr5lbtvnmOozUydIshtCVfNf+QnLCY2TC/Uj76uPj41zJZWtZkGRpdNAX1eR BI76LTgv+A49/4C+54/PgR9unU1487cuIBcb8/KO+PsCuBRRARat4RSiD4AozSsKE/5Z Oqk+7ZIP5Ay/wXM3vf9AgqNwi5nGft9myEGzqUBOhkG2fFIgqQK07mrb29+iKDktTPbz lcSQ== 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 :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=jaV3qtfyN7J+BjneGDpF+okgdGfdXaeOJQ0S3sJS19k=; b=d6m3YG2IMdzP/3qjE/35bYvXAz3PjwUGR/77EA6lEnMGwF/K5uWuVkbeTsFwkN+rSU dBgPyCO2hjnnOAbAaNy3aj6W+MOs6CRpez470ZkmcVWdzj+Ce+G/eUB/Ca/xmDjVOZX2 qBiOvn4QeusRX3pyAx4DMa2RpzZkkLfte3D9X4K8CF5d4n+8NWAPdeVMdBLc1n+5DC8y PsZSEuie2gVN5nlQMd3lWFzqtdwRX5SOZA5SIufUTIZXnH3lH9LNNaBniFHqeYg/GORu vVpT8/Oc49cuLrT9aAWul7gYy+BJXTQT6Z5zNNcPpAVObDUmaewEOuDaewztBcKDF2CI ssBQ== X-Gm-Message-State: AOAM531z8ZLxfXXmcOxAdf39Vh2ao7dn2r1YobJafZOgembeJ5o+5kFU KrZJe4b5Yt4jMveE//QoQKIyPHX9nFI= X-Google-Smtp-Source: ABdhPJz+cf1bTtyCQSF0if8bmmmfYCyFdJ8+1zEmmSlgpnBmsdfz7jXHPKdw5VCp7/XElorVghFAog== X-Received: by 2002:a5d:4b0d:0:b0:20a:f3d9:336e with SMTP id v13-20020a5d4b0d000000b0020af3d9336emr17237499wrq.467.1651670250852; Wed, 04 May 2022 06:17:30 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:7623:b433:37be:1f20]) by smtp.gmail.com with ESMTPSA id u9-20020a5d4349000000b0020c5253d8f3sm167906wrr.63.2022.05.04.06.17.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 06:17:30 -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> Gmane-Reply-To-List: yes Date: Wed, 04 May 2022 15:17:29 +0200 In-Reply-To: <87wnf1inwk.fsf@localhost> (Ihor Radchenko's message of "Wed, 04 May 2022 18:37:47 +0800") Message-ID: <8735hp8mja.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::429; envelope-from=rpluim@gmail.com; helo=mail-wr1-x429.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=1651670391; 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=jaV3qtfyN7J+BjneGDpF+okgdGfdXaeOJQ0S3sJS19k=; b=unPEtC3C/j8qUo8VTVXjctC9RfLsJYBma4B9PCxu+tToC42cTUkL6HpzifbNeXpKIKHUVQ R+O8+KHbnqqJUIw457WX6HWLfI4eL64kCVdI5tb6JLtzPr9LDZOMdASDBMiUvggQUxa16J YzLZOg/TnlbT/HY8ac0X+DZoE7hWAP8gyv6uLKpseuikL2WK+v3sM5EBitv2WCa8ILgS1l axNMF5hIXvtJXwnYpRJu8JDl0YaJZSd7tT1cxiZoqMVABVtAsGeQtKHnjYtEY+eB/zpiAj VxWN28QJb8r0wUF1fra/J4VxG5mJWx82d41cusaiUgnNVAlH1M6JuyVIGOuBVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651670391; a=rsa-sha256; cv=none; b=aeJTFvjMxR8KBJDyyy5HvmJHoBMSzWLudG8jrNUyzXCaD+c+wUeYZlEGG0wvP5OCd15DcG //M3HXfdVvruLdNNP6CXsmXsfAYVyjaF/2mrmqYV5sB3pAullckmAwbMlbqGh8xVCeB7rp qKZMfwhOM7o3aXttWJ119kxHLPqFLB7ZNXu35ifYaXFx5hc37ViAoOwhxFMgDffNghrpFR wuULbgh3yfQD8NUK1aNmvrjg1vgvlV8Yo86NoQdvvR9FA/QhCChakIMGLOYkDa0VQuM3o/ fcmsu+/EAQi/hN8bAG4108GsLITSSsRlHMa4LmGGlUvwhQCIfyI2D4vH2EyZrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YfbT0dML; 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: -5.28 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YfbT0dML; 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: 9A06B2054A X-Spam-Score: -5.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: LslfHsYDEEkZ >>>>> On Wed, 04 May 2022 18:37:47 +0800, Ihor Radchenko said: Ihor> Max Fujimoto writes: >> Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cair= o version 1.17.6) >>=20 >> The variable org-startup-folded does not work expected in >> .dir-locals.el.The option "#+startup: fold" works as expected. Ihor> This is because Emacs loads directory-local variables _after_ Org= mode Ihor> is loaded. That is, you set org-startup-folded after startup is Ihor> complete. Ihor> I recommend reporting this to Emacs bug tracker. I don=CA=BCt think this is a bug: directory-local variables are supposed to behave the same as file-local variables, and setting org-startup-folded in a local variable section also doesn=CA=BCt get applied. Robert --=20