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

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.



  reply	other threads:[~2022-09-22 15:04 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 [this message]
2022-09-22 22:28       ` Tyler Grinn

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=199a8e75-d5e8-ac6f-0627-011c5c597d09@gmail.com \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).