GNU bug report logs - #55376
Inconsistent behavior in apropos-user-options

Previous Next

Package: emacs;

Reported by: Liang-Jie Lee <s930054123yaoyao <at> gmail.com>

Date: Wed, 11 May 2022 20:02:01 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Liang-Jie Lee <s930054123yaoyao <at> gmail.com>
To: 55376 <at> debbugs.gnu.org
Subject: bug#55376: Inconsistent behavior in apropos-user-options
Date: Thu, 12 May 2022 02:38:40 +0800
[Message part 1 (text/plain, inline)]
According to the manual, apropos-user-option can search not only user
options but variables when adding C-u prefix.
> With C-u prefix, or if ‘apropos-do-all’ is non-nil, also show variables,
not just user options.

From the documentation, I think using C-u should have the same effect as
setting apropos-do-all to t. But my experiment got 2 different results.

1. set apropos-do-all to t
(let ((apropos-do-all t))
  (call-interactively #'apropos-user-option))

Insert "emacs", and I got the result shown in figure 1. In the Apropos
buffer, each variable has a hyperlink to the corresponding *help* buffer.

2. C-u M-x apropos-user-option, and insert "emacs"
The result is shown in figure 2. As you can see, those entries have no
hyperlinks to the documentation.

I think the behavior is not consistent compared to other apropos commands.
For example, no matter using method 1 or 2 to invoke apropos-commands (C-h
a), we would get 2 same buffers both with hyperlinks to click off.

Regards,
Liang-Jie Lee
[Message part 2 (text/html, inline)]
[1.png (image/png, attachment)]
[2.png (image/png, attachment)]

This bug report was last modified 3 years and 7 days ago.

Previous Next


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