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 kBhdBFO2cmI8ZwAAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 19:22:27 +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 oPqmBFO2cmKhjgAA9RJhRA (envelope-from ) for ; Wed, 04 May 2022 19:22:27 +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 BA52915F86 for ; Wed, 4 May 2022 17:06:38 +0200 (CEST) Received: from localhost ([::1]:37668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmGaL-0006tq-Ow for larch@yhetil.org; Wed, 04 May 2022 11:06:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmGYj-0006rb-DJ for emacs-orgmode@gnu.org; Wed, 04 May 2022 11:04:57 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:35690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmGYh-00084n-OU for emacs-orgmode@gnu.org; Wed, 04 May 2022 11:04:57 -0400 Received: by mail-wm1-x330.google.com with SMTP id c190-20020a1c35c7000000b0038e37907b5bso3416542wma.0 for ; Wed, 04 May 2022 08:04:42 -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=j4TNTSotEoduunZzeQ1DDXn03oKYBvTOV+Nu5pIuycs=; b=p9MO8kdcWSfJdjkHSoitYUf9jEq3sZaujrBqNgQAwnD1fiPhGQX6g232RYMsoUWAGw E8RsW+NMONMR9gK8bypHyu1KoOtZPzYLK4D8wHKSWq4RIP2UUkXC5AxMwDC+CrmXcNe2 vnbsI5E/HFMQ64pDLwafpBlAwH+k70Hk0zTyErv1FlNcjlq+RgdemIvsQ3INCX/YQSkD py/f9or9NRhJ+qrPzOej7nzuXduvOAeRzKMKLnF93Aw2L7zGq+9ZnOM1QmOhfbhJ87ok gIyFqEre/xRW93Go4ql8cZ/A+3gEBwyOacUz9Ia4w3hB4x+13IWg/DI7zGxi/XhogcYn cwaw== 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=j4TNTSotEoduunZzeQ1DDXn03oKYBvTOV+Nu5pIuycs=; b=RlXRnrbd9qD1GY9kXrPg3wft/QUKzg5SNBoZQQjDQo7jRsxzFcshOIlnQiyRqwccDC D8cSPBKJG3sUlcoOOin/Ev587IA6NHOmbVjkqQDzkywXBXncwfQL5KhIPpyaLpfA51E/ NT8rnZO8xxsDrsX3eKyzds0PVZ+XJhQMLSo30zOPe3ysRmDNt1Ccto3IvVdAjE5MFK3O fiE7tWI8eS+HXWzSfZmzHCeD32ZumNg8Y1QbF0B41o28gns19BpTkRMJ06zIpo2TvseS RAirNimr2oCUzJPYc5/xURi0Mbmk3jbPDlV161BXudZcMb9sLdHJ4AXwlaqcIZqTbErf QYMw== X-Gm-Message-State: AOAM532tkgmYIyPkAy8EoVsmeZygykeoDxKVemQUg+/NWdjNyUAyaD/3 E9H2QIhgfartclGxcvL095zzFFfynfHK2Q== X-Google-Smtp-Source: ABdhPJwpfky4MVwynJP2sJbRBiDeMk6b26L+mGku+zGYtqsz8jdL7Abn5auXk9k6w0MTrYA1Ml3NJQ== X-Received: by 2002:a1c:c912:0:b0:37b:e074:dfcb with SMTP id f18-20020a1cc912000000b0037be074dfcbmr7824966wmb.161.1651676681388; Wed, 04 May 2022 08:04:41 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:7623:b433:37be:1f20]) by smtp.gmail.com with ESMTPSA id q10-20020a1cf30a000000b003942a244ee9sm3907560wmq.46.2022.05.04.08.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 08:04:40 -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> <87tua5758y.fsf@gmail.com> <877d71icdb.fsf@localhost> Date: Wed, 04 May 2022 17:04:40 +0200 In-Reply-To: <877d71icdb.fsf@localhost> (Ihor Radchenko's message of "Wed, 04 May 2022 22:46:56 +0800") Message-ID: <878rrh7307.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::330; envelope-from=rpluim@gmail.com; helo=mail-wm1-x330.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=1651676798; 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=j4TNTSotEoduunZzeQ1DDXn03oKYBvTOV+Nu5pIuycs=; b=HPpfZtunVo1dSs74Xxd3IIzL1UXFXthXPPTlleili2RD2qe7N0I0xn5L8MPV2jsusI3YbH iE8n4jgNI9zo1dymufBTE5a5YB0IkqN3bIBQumUczz9qKtPKQ9EGF5CGYwDzn5TadZS58p UPkymkqehwzgz+bwWS/NWDx+X9T8GRiOb7ZXNVi5SVkFGx54x2rzF7Yt4M4/jxKnuM3Bja wjf6XrmyUyy1Zi5zmdM4VwoPt8p0yQe6eagwSVRtfZ7+p8lDxaWEGJrJO81DYWXbaf+qm1 DuuDqetcRNc8gVHR6+WZyfVHD3XgWk8UeDLs1CB8H7dTv4TGputWOr391z7fOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651676798; a=rsa-sha256; cv=none; b=kQGHFeRvA9NiKIMIOXbaWwJiAtc4T93zriSuCkrjRv0O8MGhf5rB8rsrFVcISDWbFwtVq2 mr1gz/RjpAQlx8BHrtakS2ECwbxxGrrOH0WCon+TkM9sUbahpXl8wwAlO3fyDvSKWnsgDl Z49wmEgmaVMoVVZyUEtmrVjtFqHYVKZknSa6HEfP69VKADfhdFVgbXwgnv6KptnsyOX/mL ljafr1zyGkyufRAm7qC9KRggt88/jASOdg+2XuY5K++NU8yqqQinJpdBkspmbbh+3VNXgk lU6TBrmZwBeN6dR9+9JXJ3I+SmicEmP81qlriZHmNtFNuzyG5tfCxC9s5LJ5QQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p9MO8kdc; 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.48 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p9MO8kdc; 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: BA52915F86 X-Spam-Score: -5.48 X-Migadu-Scanner: scn0.migadu.com X-TUID: yONeCxng2lfj >>>>> On Wed, 04 May 2022 22:46:56 +0800, Ihor Radchenko said: Ihor> Robert Pluim writes: 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. >>=20 >> We=CA=BCre in agreement there. My point is that it=CA=BCs not a bug = (although I >> guess you could ask for a feature to apply local/directory variables >> before applying the mode Ihor> It's not exactly a bug, but feature request to Emacs is exactly w= hat I Ihor> was implying. Right. My predictatron says it=CA=BCs unlikely to be greeted enthusiastically. >> , but in this case there=CA=BCs an easy >> workaround). Ihor> I am not sure which workaround you are referring to. Ihor> Setting org-startup-folded globally? On per-file basis? the forme= r is Ihor> global and will apply to broader scope than a directory-local var= iable. Ihor> The latter only works in a single file (and works instead of file= -local Ihor> variable). I was talking about #+STARTUP: (I=CA=BCm assuming #+SETUPFILE: also works, but I haven't tried it). Robert --=20