Max Nikulin <maniku...@gmail.com> writes: > I am afraid, requirement that loading should not cause side effects is > too strict and it will make usage inconvenient. Examples: > - ol-info calls `org-link-set-parameters'. > - org-protocol installs an advice for `server-visit-files'. (It should > not be necessary, but currently Emacs does not provide a better option.) > > However I agree that it is undesired when attempt to call interactive > help causes side effects. I would say that in such cases loading of > packages should be sandboxed and should not propagate to global scope.
For reference, another module that causes global side effects when calling interactive help is org-ctags.el. It advises `visit-tags-table` and `xref-find-definitions` and adds a hook to `org-mode-hook`. Matt