From: Akib Azmain Turja via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@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: Mon, 14 Nov 2022 11:21:56 +0600 [thread overview]
Message-ID: <87r0y6w1or.fsf@disroot.org> (raw)
In-Reply-To: <87sfimpzdi.fsf@thb.lt> (Thibault Polge's message of "Sun, 13 Nov 2022 17:56:09 +0100")
[-- Attachment #1: Type: text/plain, Size: 1372 bytes --]
Thibault Polge <thibault@thb.lt> writes:
> On a very recent (about yesterday) Emacs from HEAD, apropos lists
> interned keywords as undocumented variables. Eg, the following
> invocation:
This happens to me with a Emacs build from more than two months old
commit.
>
> 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 --- 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.
>
> Regards,
> Thibault
>
>
>
These symbol (nil, t, keywords) are self-evaluating. Their value is the
symbol itself. For example, do the following:
M-x apropos RET ^nil$ RET
M-x apropos RET ^t$ RET
However they are constants, the values can't be changed.
I suggest to remove the "Variable" and "Value" and add something like
"Self-evaluating: yes" and "Constant: yes".
--
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
prev parent reply other threads:[~2022-11-14 5:21 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
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 [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=87r0y6w1or.fsf@disroot.org \
--to=bug-gnu-emacs@gnu.org \
--cc=59248@debbugs.gnu.org \
--cc=akib@disroot.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 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.