From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CBGVJI28cmKKPQEAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 19:49:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yBO5JI28cmLsYgAAauVa8A (envelope-from ) for ; Wed, 04 May 2022 19:49:01 +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 AD69CBA57 for ; Wed, 4 May 2022 15:46:42 +0200 (CEST) Received: from localhost ([::1]:37436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmFKz-0000P1-7g for larch@yhetil.org; Wed, 04 May 2022 09:46:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmFJu-0000Oj-FH for emacs-orgmode@gnu.org; Wed, 04 May 2022 09:45:35 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:37749) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmFJr-0002RT-Fy for emacs-orgmode@gnu.org; Wed, 04 May 2022 09:45:33 -0400 Received: by mail-pl1-x631.google.com with SMTP id k1so1454667pll.4 for ; Wed, 04 May 2022 06:45:30 -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:content-transfer-encoding; bh=+7vOCfk0572PLK+GTE0R7fx8No7+sZjFYVEgowkDZ2U=; b=hPb8Loug1FyOafutFKhtyqA2PM8gC4qMAUbPyws5XVqaA06gfKeJbT+CgCH5HGSTjq DG5aRInzTiWaUwwTM52GnLWt+kevK/dLAL7Bc/pT9LXWwYOL8I/whao/d8r19SJm823a hlLjqIT8Yvgb54r6QBNNnBMgywjwmXSf9l3As1Njed4MJpEzyEP68anvzFNrz8REC2L6 H11fsEwKeQQByoz21B1OoOJoUQn56HN0h3+tB379sFbjyY3X3TypeNOibfPNglr8YCl8 NbvrM5NNkT9gYgDhf0mkdtSLS9tgHnEK8nNMHDWlkewUGNtNGoEtmXPsxrpfkrGg4xvY 0buQ== 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:content-transfer-encoding; bh=+7vOCfk0572PLK+GTE0R7fx8No7+sZjFYVEgowkDZ2U=; b=mdRBTH/ykazNwpaAN34WMwLFcgT4irzpul523g9WhnuRkTj8rjrknoounMNMFE5Vyv hSPcdxfLSmaV4pPjC9xWcwDEaxMRfN3QvOcSBuOMFMBVox9BZJ9rmJFhNeBMsg4NNOKS 0CmqRlX+AAlZHJlJfDaDzjD4jCw4BM8+4HQMuRvMw6c981JZrRaAwL+8GfS3TaFgpyEx uA498a9WjPXsQsThD434z5jiKzKpfYfMU8Nlu7hbn+iB09tcjFD+9UWWkcv9apsUHWoq vIhx7yRN/R44QKzUsfO4m0ZjF4o5S3htVyEoOiipJDGF8Y4W+iCMUVP1hiw9EaO1G2+T InKw== X-Gm-Message-State: AOAM533UOtf/tX4+gDD+uneSvVTEP7eNLr3L8En0fv3QnO8DrF8pkw3t 5bYmweoFI02PQ8NyhZIly38= X-Google-Smtp-Source: ABdhPJykQhU6J5Czypq2Hyav2nr+QBOOMsrBLNCGIY42oX9oP8Ks0fhPKUoc0QGkaEikFzK6rGIjWw== X-Received: by 2002:a17:902:7c81:b0:156:30ef:7dec with SMTP id y1-20020a1709027c8100b0015630ef7decmr21672986pll.74.1651671929655; Wed, 04 May 2022 06:45:29 -0700 (PDT) Received: from localhost ([37.120.210.2]) by smtp.gmail.com with ESMTPSA id d16-20020a170902b71000b0015e8d4eb228sm8402110pls.114.2022.05.04.06.45.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 06:45:28 -0700 (PDT) From: Ihor Radchenko To: Robert Pluim Cc: Max Fujimoto , "emacs-orgmode@gnu.org" Subject: Re: org-startup-folded does not work with directory local variables In-Reply-To: <8735hp8mja.fsf@gmail.com> References: <1984742079.3751611.1651538242680.ref@mail.yahoo.com> <1984742079.3751611.1651538242680@mail.yahoo.com> <87wnf1inwk.fsf@localhost> <8735hp8mja.fsf@gmail.com> Date: Wed, 04 May 2022 21:46:14 +0800 Message-ID: <87ee19if6h.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=yantar92@gmail.com; helo=mail-pl1-x631.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=1651672002; 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=+7vOCfk0572PLK+GTE0R7fx8No7+sZjFYVEgowkDZ2U=; b=QYV2d2cRw+mFKM6w9KqzjAtjVvTQRTtRTE06OC5Hsf5basiRZ/0stuTxI7+vzkg2HTXI+E amSk/E2V8qYumGn/hQjXvrNPhR3bTt/Gbe5Cymf8YSEsK2vXHiZ4CEMuG6Ju8gZ1fN+X89 OyECPFusT8tLn23dSeVYmUgifLFQomRXWTBV7N3bjXZGHj3zzrtWHMNC3rTPUvKGcx6Fgl nI1eFgsXmx12ZzJ7sP5fgAUm3I8ScCs3aVYED2M/NSxKnBfR9nZlDn1KfwMpPRMQsodvAN 828D+3vsWUlqsyxR/7GA2YaCTsQ/rOrJhjUwjaIfTZAiks3KZ8JjpnPvpPOLkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651672002; a=rsa-sha256; cv=none; b=VIDZgYHttZTDnEI2aPibpooJgGa7HmtZOcES4UzRFTIbWTdacneb9uNf2r9iXZklxxsVlk HJQRXJG7ZQP4xH1rk4lnT/Iu5NqcQGaT9/yHaq9bM3YhYFy12LMRbf8fHgUjdKCuSqSjIN Doy+8mXUsDHih07Vk9h8ykC8JYIoLoB4GaTuQ12whWnfCqeoilyGsR8PCnH25xoZ4L6g/i uA149QrqP9mzF3OWqoyDWHUF1otq0/G3Ps9BJMPDofsuZP1fZi1cKtfiZWOUb26+Df9mz0 /JNYd5MF4nbizwh41gjNJaxmxXeCGdNmEdAsj5gndlWXf4Hm7f+Xn2VCFuDByQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hPb8Loug; 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.48 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hPb8Loug; 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: AD69CBA57 X-Spam-Score: -3.48 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9GBsL2VdqgMn Robert Pluim writes: > 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. This is no different. org-startup-folded controls loading of Org mode. However, Emacs applies directory-local variables and file-local variables _after_ loading Org mode. Org cannot do much about it without hacking Emacs defaults. Best, Ihor