emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tyler Grinn <tylergrinn@gmail.com>
To: Max Nikulin <manikulin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: contrib - ol-todo
Date: Thu, 22 Sep 2022 18:28:27 -0400	[thread overview]
Message-ID: <87k05vdoxg.fsf@gmail.com> (raw)
In-Reply-To: <199a8e75-d5e8-ac6f-0627-011c5c597d09@gmail.com> (Max Nikulin's message of "Thu, 22 Sep 2022 21:25:31 +0700")

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!


      reply	other threads:[~2022-09-22 22:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-16 23:47 contrib - ol-todo Tyler Grinn
2022-09-20  8:20 ` Ihor Radchenko
2022-09-22 12:46   ` Tyler Grinn
2022-09-22 14:25     ` Max Nikulin
2022-09-22 22:28       ` Tyler Grinn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k05vdoxg.fsf@gmail.com \
    --to=tylergrinn@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=manikulin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).