On 13/12/2022 15:54, Alain.Cochard wrote:
At the end of section 2.3 (Motion) of the manual:
See also the variable ‘org-goto-interface’.
But this variable does not seem to exist.
Alain, could you, please, clarify, what you was trying to do when you
came to conclusion that `org-goto-interface' did not exist?
Interactive C-h v (`describe-variable') autoloads org-goto if TAB is
pressed when "org-goto-" is typed into the prompt, so
`org-goto-interface' becomes available for completion. However e.g.
"org-go" is not enough for completion. A kind of pitfall is that
non-interactive call
M-: (describe-variable "org-goto-interface") RET
does not autoloads org-goto as well.
M-x customize-variable RET is not so clever (at least in Emacs-26) and
it does not try autoloads.
If org-goto has not loaded yet and cursor is over `org-goto-interface'
mention in the Info node "(org) Motion" then C-h v (`describe-variable')
does not prefill the prompt. It is easier to jump to the help for this
variable when org-goto is loaded.
My point is that maybe it is better to adjust Emacs behavior, not Org
manual.
P.S. Sometimes I do not mind to have hyperlinks from HTML manuals to
docstrings exported to HTML as well, but it is another story.