From: Stefan Kangas <stefankangas@gmail.com>
To: Thierry Volpiatto <thievol@posteo.net>, 71815-done@debbugs.gnu.org
Subject: bug#71815: 31.0.50; Links to minor mode variables bring to minor mode (the function)
Date: Fri, 28 Jun 2024 10:19:02 +0000 [thread overview]
Message-ID: <CADwFkm=k8S660wWwiUjSm1uVFYLeRXouE+b14Nk0eWRq7E7ruA@mail.gmail.com> (raw)
In-Reply-To: <871q4hvber.fsf@posteo.net>
Version: 30.1
Thierry Volpiatto <thievol@posteo.net> writes:
> When a minor-mode docstring doesn't specify what ARG does, a generic
> mode is added to this docstring, this additional docstring is specified
> in `easy-mmode--arg-docstring` and contains this sentence:
>
> --8<---------------cut here---------------start------------->8---
> To check whether the minor mode is enabled in the current buffer,
> evaluate `%s'.
> --8<---------------cut here---------------end--------------->8---
>
> When hitting RET on this link to the mode variable from the docstring,
> the link brings back to this same docstring i.e. the function.
>
> For example try C-h f bug-reference-mode and hit RET on the link to
> `bug-reference-mode', it bring back to this same docstring.
>
> A possible fix is specifying the word "variable" before the link in
> `easy-mmode--arg-docstring`:
>
> @@ -94 +94 @@
> -evaluate `%s'.
> +evaluate the variable `%s'.
Thanks, fixed on emacs-30.
prev parent reply other threads:[~2024-06-28 10:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-28 6:17 bug#71815: 31.0.50; Links to minor mode variables bring to minor mode (the function) Thierry Volpiatto
2024-06-28 10:19 ` Stefan Kangas [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkm=k8S660wWwiUjSm1uVFYLeRXouE+b14Nk0eWRq7E7ruA@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=71815-done@debbugs.gnu.org \
--cc=thievol@posteo.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.