GNU bug report logs - #71815
31.0.50; Links to minor mode variables bring to minor mode (the function)

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thievol <at> posteo.net>

Date: Fri, 28 Jun 2024 06:15:01 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 30.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 71815-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Thierry Volpiatto <thievol <at> posteo.net>, 71815-done <at> debbugs.gnu.org
Subject: Re: 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
Version: 30.1

Thierry Volpiatto <thievol <at> 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.




This bug report was last modified 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.