From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 24549@debbugs.gnu.org
Subject: bug#24549: 25.1; Customizing group `text'
Date: Tue, 27 Sep 2016 17:27:20 +0300 [thread overview]
Message-ID: <837f9xct9z.fsf@gnu.org> (raw)
In-Reply-To: <8aaf30c2-ceb2-4803-9e2e-cd10ad8a3802@default> (message from Drew Adams on Mon, 26 Sep 2016 13:46:26 -0700 (PDT))
> Date: Mon, 26 Sep 2016 13:46:26 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
>
> 1. M-x customize-group RET emacs RET
>
> That shows a group named "Text".
>
> 2. M-x customize-group RET text RET
>
> says "[No match]"
>
> There is apparently no such group - at least none reachable using
> completion.
The group's _symbol_ is 'wp', "Text" is only its label (a.k.a. :tag):
(defgroup wp nil
"Support for editing text files."
:tag "Text"
:group 'emacs)
The ELisp manual says:
‘:tag LABEL’
Use LABEL, a string, instead of the item’s name, to label the item
in customization menus and buffers. *Don’t use a tag which is
^^^^^^^^^^^^^^^^^^^^^^^^^
substantially different from the item’s real name; that would cause
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
confusion.*
^^^^^^^^^^^
(a.k.a. "do as I say, not as I do").
Unfortunately, this is a very old problem, and the 'wp' thingy is by
now probably spread too much, including outside of Emacs, for us to
even consider renaming the symbol itself.
So I think one band-aid solution could be:
. mention the group's symbol in its doc string, so that it could be
seen in the Custom buffer;
. extend customize-read-group so it also accepts group tags, not
just their symbols.
Any better ideas?
Patches welcome, TIA.
next prev parent reply other threads:[~2016-09-27 14:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-26 20:46 bug#24549: 25.1; Customizing group `text' Drew Adams
2016-09-26 20:54 ` Drew Adams
2016-09-27 14:27 ` Eli Zaretskii [this message]
2016-09-27 14:49 ` Drew Adams
2016-09-27 15:05 ` Eli Zaretskii
[not found] <<8aaf30c2-ceb2-4803-9e2e-cd10ad8a3802@default>
[not found] ` <<837f9xct9z.fsf@gnu.org>
[not found] ` <<9eab3611-2ed6-422b-93bc-4270ef1b6082@default>
[not found] ` <<83twd1bcx6.fsf@gnu.org>
2016-09-27 16:58 ` Drew Adams
2016-10-08 13:40 ` Eli Zaretskii
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=837f9xct9z.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=24549@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/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.