emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] org-mouse is activated without explicit require


From: Max Nikulin
Subject: Re: [BUG] org-mouse is activated without explicit require
Date: Tue, 13 Dec 2022 21:32:54 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 13/12/2022 16:52, Ihor Radchenko wrote:
Max Nikulin writes:

We have `org-modules' that can handle calling `org-link-set-parameters'.
...> We can simply process 'ol-* in `org-modules' specially.

I do not consider it is a good idea. Third party packages may call `org-link-set-parameters' as well. That is why I would prefer a more general approach of package activation.

The original issue reported in this thread is actually strange - we have
no single autoload cookie in org-mouse.el. May it be something to do
with the new Emacs autoload generation?

I do not think it is something new. Even in Emacs-26 `generate-file-autoloads' adds

(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "org-mouse" '("org-")))

to org-loaddefs.el. The function is called for all sources by `org-make-org-loaddefs' (defined in mk/org-fixup.el).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]