From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 gEXeAefEc2JGZwAAbAwnHQ (envelope-from ) for ; Thu, 05 May 2022 14:36:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0C1HAefEc2ISawEAG6o9tA (envelope-from ) for ; Thu, 05 May 2022 14:36:55 +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 9C761E590 for ; Thu, 5 May 2022 14:36:53 +0200 (CEST) Received: from localhost ([::1]:59994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmaix-0002Ab-U3 for larch@yhetil.org; Thu, 05 May 2022 08:36:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmOSc-0000jy-Kv for emacs-orgmode@gnu.org; Wed, 04 May 2022 19:31:10 -0400 Received: from sonic314-24.consmr.mail.ne1.yahoo.com ([66.163.189.150]:34296) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmOSa-0007mi-Hk for emacs-orgmode@gnu.org; Wed, 04 May 2022 19:31:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s2048; t=1651707065; bh=kwWMGBIWTTfKupxodrxruDDEfpNXqPFeqhD7/h3J1Ts=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=EeN5FFtOh4dNN1ktFpNChI6cJFf1ayqlQYsUokLbN+NlHMZD9XjUoW/kflmgqWoWsZMkBxqHn8+LRz4+guIsiKfBYcDUbAQC250ymmhrkn/2ZhTnO30ShAU4B53GwnIMNdgc4CbyHrS3ruxJuSZA20gxhWpARr44nMLQjwpMlueTA4uBYIlq/WHxAKjA37z4h4nROTBnvIYDUjsL26RxCbjxuIO5zx6w841AZAt7B4L9y6DzC2T19Ue/QPFNBSzA/nz4DSeLB1RTuAdBUslR8BZxnKpPI3TS9TydSQTVI0W8zzjN2xGtYw+v+VLiTZSVzvM8VYU7qvc11IXd20JChA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651707065; bh=APSLN5Uo6LCd2oRJKsA6AB0pHPIYJTjTeoKqupT8xjN=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=d98KMiyj+l0GXqh5lpkFYrc/NGvNCcp6WG3/bB+I+i5x/fC1hhoqKb8C0e8hoD6SJOwFEeh04EFsfeuOjnMQCSZ2GYZXEGtT8ILsd/ZjJHEEJeJrMky6+MBsGEu3Lvfp37BbOBK9/vwkhoHAVo3Z4IDZdIkKa/DHLI7Ud2oBhRHAVone77EfYfKomhH3/egN8Ax6vvoPCj/AcZ5yUBeRdGEVJE4GabCqMt5V9iR1PayVOz4itUbC3tncWDjazqetYA+SWz39sCJRTxTPjf0BzqmJEFLtVuOB6VcU6UU+0iPBsveIcVZK0zF37r7JuPQDPeRTvl/8MR9uHwjlQxRK6g== X-YMail-OSG: pxVztg8VM1kET6ECzzhs9kIZEgfTkHrDqapylnPGV8_pLjGYmyg6zfmvys4Ggs9 YXlh1B9aa8WI0nfI5wns1mtsnnbsQcVQ_1WMwhhpdm.Vi1CFHbytd4PyNrOxK4.wkWZhdGKx9Kj5 bRkkmAAwEyRrtVZngMhUz6u..kTp.wGwIIcoJmBPXkC.SUgrkw9G5y4VM4xkbD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ne1.yahoo.com with HTTP; Wed, 4 May 2022 23:31:05 +0000 Date: Wed, 4 May 2022 23:31:03 +0000 (UTC) From: Max Fujimoto To: Ihor Radchenko , Robert Pluim Cc: "emacs-orgmode@gnu.org" Message-ID: <64406680.4593977.1651707063162@mail.yahoo.com> In-Reply-To: <878rrh7307.fsf@gmail.com> 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> <878rrh7307.fsf@gmail.com> Subject: Re: org-startup-folded does not work with directory local variables MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4593976_1694006232.1651707063161" X-Mailer: WebService/1.1.20118 YMailNorrin Received-SPF: none client-ip=66.163.189.150; envelope-from=max.fujimoto@rogers.com; helo=sonic314-24.consmr.mail.ne1.yahoo.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 05 May 2022 08:33:43 -0400 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=1651754214; 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=kwWMGBIWTTfKupxodrxruDDEfpNXqPFeqhD7/h3J1Ts=; b=OElUapZnRVgrrGBxjZkK65ybuLqYAUC7gbaDHl1QpwlgxBvO8a7eAS8Txca9LORr8qZk2J ISOGAChtLiDblu0QP9o+X90idUsvK6Jj+x6OqYrU+hgfI4E0YmTFfWPbehrgxkFALQfNML 0KTeu4I03YpU1S5p4OAfcosF9y2F4DupQpXp865UimkjZtqOSxusUFBYkyYleh3Y24RLdV F3MKtzZzwmNDdOFhF2BOoLRd4dSw06DuZUWV+ha9s9/iAEw+0/2OhYwt7iqPAMRmqfYt0m 8ENFj4LffBWfJxxkq2WOt9UaqEG5OLKqJV7O67ZMP8CG5DWYZBVm029QACApgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651754214; a=rsa-sha256; cv=none; b=qfKRvkO7LC01BiXKx6slbk7JeTPy29AYnk0TcXCxwIipy4upryQNGmrc9X3LQGUb7+bG01 6lvRIxBOguq6A3M0UGoQTi2/WR7wtjxfb994vLURauf+gUO9vKeZvwsyhiKTL2YSKJs8q1 IJ96iSxch3U7h9KOkVEO/TKVY2pDTp2IoQhAAxHwOmfbARvfjpMUm9q4bPQuiBgwCDVkoR 7cEYE428XW5vtFyvR9MCv0FAxc+7g+x7GPTxC3extNFA4LPRpO014i6MiQ73FSUMhQZJwQ nfD3gdrVNkQ/ANR8gAxNrsnEwlU79ZlFhNVpvaluZvz8LKSLOPFErCkoTD02xA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=rogers.com header.s=s2048 header.b=EeN5FFtO; dmarc=none; 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: -6.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=rogers.com header.s=s2048 header.b=EeN5FFtO; dmarc=none; 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: 9C761E590 X-Spam-Score: -6.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: wJ6VAWDU9FWi ------=_Part_4593976_1694006232.1651707063161 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks for the info,=20 I will look into reporting the issue with the emacs bug-tracker and for now= use the per file "STARTUP:" option. thanks again On Wednesday, May 4, 2022, 11:04:42 a.m. EDT, Robert Pluim wrote: =20 =20 >>>>> On Wed, 04 May 2022 22:46:56 +0800, Ihor Radchenko said: =C2=A0 =C2=A0 Ihor> Robert Pluim writes: =C2=A0 =C2=A0 Ihor> This is no different. org-startup-folded controls loadi= ng of Org mode. =C2=A0 =C2=A0 Ihor> However, Emacs applies directory-local variables and fi= le-local =C2=A0 =C2=A0 Ihor> variables _after_ loading Org mode. Org cannot do much = about it without =C2=A0 =C2=A0 Ihor> hacking Emacs defaults. =C2=A0 =C2=A0 >>=20 =C2=A0 =C2=A0 >> We=CA=BCre in agreement there. My point is that it=CA=BCs = not a bug (although I =C2=A0 =C2=A0 >> guess you could ask for a feature to apply local/directory= variables =C2=A0 =C2=A0 >> before applying the mode =C2=A0 =C2=A0 Ihor> It's not exactly a bug, but feature request to Emacs is= exactly what I =C2=A0 =C2=A0 Ihor> was implying. Right. My predictatron says it=CA=BCs unlikely to be greeted enthusiastically. =C2=A0 =C2=A0 >> , but in this case there=CA=BCs an easy =C2=A0 =C2=A0 >> workaround). =C2=A0 =C2=A0 Ihor> I am not sure which workaround you are referring to. =C2=A0 =C2=A0 Ihor> Setting org-startup-folded globally? On per-file basis?= the former is =C2=A0 =C2=A0 Ihor> global and will apply to broader scope than a directory= -local variable. =C2=A0 =C2=A0 Ihor> The latter only works in a single file (and works inste= ad of file-local =C2=A0 =C2=A0 Ihor> variable). I was talking about #+STARTUP: (I=CA=BCm assuming #+SETUPFILE: also works, but I haven't tried it). Robert --=20 =20 ------=_Part_4593976_1694006232.1651707063161 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for the info,

I will look into reporting the issue with the emacs bug-tra= cker and for now use the per file "STARTUP:" option.

than= ks again

=20
=20
On Wednesday, May 4, 2022, 11:04:42 a.m. EDT, Robert Pl= uim <rpluim@gmail.com> wrote:


>>>>> On Wed, 04 May 2= 022 22:46:56 +0800, Ihor Radchenko <yantar92@gmail.com> said:

    Ihor> Ro= bert Pluim <
rpluim@gmail.com> writes:
    Ihor> This is no different. org-startup-folded contro= ls loading of Org mode.
    Ihor> However, E= macs applies directory-local variables and file-local
&nb= sp;   Ihor> variables _after_ loading Org mode. Org cannot do much = about it without
    Ihor> hacking Emacs def= aults.
    >>
  &= nbsp; >> We=CA=BCre in agreement there. My point is that it=CA=BCs no= t a bug (although I
    >> guess you coul= d ask for a feature to apply local/directory variables
&n= bsp;   >> before applying the mode

    Ihor> It's not exactly a bug, but feature reques= t to Emacs is exactly what I
    Ihor> was i= mplying.

Right. My predictatron says i= t=CA=BCs unlikely to be greeted
enthusiastically.

    >> , but in this case the= re=CA=BCs an easy
    >> workaround).

    Ihor> I am not sure whic= h workaround you are referring to.
    Ihor>= Setting org-startup-folded globally? On per-file basis? the former is
    Ihor> global and will apply to broader scope= than a directory-local variable.
    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: a= lso works,
but I haven't tried it).


Robert
--
------=_Part_4593976_1694006232.1651707063161--