Hello,
I'd like to set org-todo-keywords and org-todo-keyword-faces through
directory-local variables, to get rid of duplicate #+SEQ_TODO lines in
my Org files[1].
Right now I see two obstacles for this to work:
(1) org-set-regexps-and-options, which sets up a bunch of TODO-related
machinery
Hello,
I would like to re-submit this idea, now that I am reasonably sure that
my implementation will not impact users who do not use the feature.
(I understand that Org 9.4 is on the way. I am not asking for this
feature to be included right now; I would like to get some feedback
first, then mo
Hi Kévin,
Kévin Le Gouguec writes:
> I would like to re-submit this idea, now that I am reasonably sure that
> my implementation will not impact users who do not use the feature.
FWIW it looks fine to me, thanks for hacking this together.
We are in feature freeze for 9.4 so let's wait until yo
[sending to Org ML in-reply to the relevant thread]
Kévin Le Gouguec writes:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57003
28.1.90; Can local variables be loaded before loading major mode?
> … reminded me of a patch I submitted to the Org ML… some time ago 😣
> (sorry for not following up)
Ihor Radchenko writes:
> [sending to Org ML in-reply to the relevant thread]
[Thanks!]
> Kévin Le Gouguec writes:
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57003
> 28.1.90; Can local variables be loaded before loading major mode?
>
>> … reminded me of a patch I submitted to the Org ML…
Kévin Le Gouguec writes:
>> Maybe the hook approach can work better. But I'd prefer to discuss all
>> the possible caveats first.
>
> My reasoning for keeping the current initialization code untouched and
> _re_computing stuff in hack-local-variables-hook hinged on…
I would avoid re-computing st
Kévin Le Gouguec writes:
> Can anyone confirm that this would (in principle) be the way forward, or
> tell me if I am missing something[3]?
I went ahead and cooked up a proof-of-concept patch, which
(1) adds safe-local-variable properties to org-todo-keywords and
org-todo-keyword-faces,
(2
Hello,
Kévin Le Gouguec writes:
> I'd like to set org-todo-keywords and org-todo-keyword-faces through
> directory-local variables, to get rid of duplicate #+SEQ_TODO lines in
> my Org files[1].
>
> Right now I see two obstacles for this to work:
>
> (1) org-set-regexps-and-options, which sets u
Hello,
Kévin Le Gouguec writes:
> Kévin Le Gouguec writes:
>
>> Can anyone confirm that this would (in principle) be the way forward, or
>> tell me if I am missing something[3]?
>
> I went ahead and cooked up a proof-of-concept patch, which
>
> (1) adds safe-local-variable properties to org-tod
Nicolas Goaziou writes:
> This looks hackish.
Any bit in particular? AFAICT hack-local-variables-hook is the expected
way to perform plumbing that might be affected by file/directory-local
variables. It is used by e.g. shell-script-mode, cc-mode, markdown-mode
and AUCTeX, to name a few. The d
10 matches
Mail list logo