From: Eli Zaretskii <eliz@gnu.org>
To: Thibault Polge <thibault@thb.lt>
Cc: 59248@debbugs.gnu.org
Subject: bug#59248: 29.0.50; apropos lists keywords as if they were variables
Date: Sun, 13 Nov 2022 20:09:43 +0200 [thread overview]
Message-ID: <835yfilo9k.fsf@gnu.org> (raw)
In-Reply-To: <87sfimpzdi.fsf@thb.lt> (message from Thibault Polge on Sun, 13 Nov 2022 17:56:09 +0100)
> From: Thibault Polge <thibault@thb.lt>
> Date: Sun, 13 Nov 2022 17:56:09 +0100
>
> On a very recent (about yesterday) Emacs from HEAD, apropos lists
> interned keywords as undocumented variables. Eg, the following
> invocation:
>
> M-x apropos RET distant-foreground RET
>
> displays the following output:
>
> > Type RET on a type label to view its full documentation.
> >
> > :distant-foreground
> > Variable: (not documented)
> > Value: :distant-foreground
>
> This is technically correct --- keywords are variable-ish
"M-x apropos" is not just about variables. It's about any symbol that
matches a regexp.
> but quite useless. At best, keywords just add noise to `apropos`
> output. At worst, they may be misleading, since an user may assume
> they can somehow control something by setq'ing a keyword.
How can Emacs know that the user didn't actually _want_ to look up a
keyword? It is not impossible.
next prev parent reply other threads:[~2022-11-13 18:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-13 16:56 bug#59248: 29.0.50; apropos lists keywords as if they were variables Thibault Polge
2022-11-13 18:09 ` Eli Zaretskii [this message]
2022-11-13 18:30 ` Thibault Polge
2022-11-13 18:34 ` Eli Zaretskii
2022-11-14 5:21 ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=835yfilo9k.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=59248@debbugs.gnu.org \
--cc=thibault@thb.lt \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).