[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: contrib - ol-todo
From: |
Tyler Grinn |
Subject: |
Re: contrib - ol-todo |
Date: |
Thu, 22 Sep 2022 18:28:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Max Nikulin <manikulin@gmail.com> writes:
> On 22/09/2022 19:46, Tyler Grinn wrote:
>> Ihor Radchenko writes:
>>
>>> Why don't just modify :activate-func in the ordinary file links?
>> I like this idea, in fact so much I got rid of the todo style
>> link. But
>> one thing that's still problematic is that I'd like org-todo-link-mode
>> to be a local mode but for some reason make-local-variable isn't working
>> how I expect for org-link-parameters:
>
> Just a guess. Perhaps buffer-local variable is a shallow copy that
> contains references to property list instances shared by all buffers.
>
> An idea: check if the minor mode is enabled inside :activate-func that
> is set globally.
That makes it much simpler, thanks for the tip!