From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24549: 25.1; Customizing group `text' Date: Tue, 27 Sep 2016 17:27:20 +0300 Message-ID: <837f9xct9z.fsf@gnu.org> References: <8aaf30c2-ceb2-4803-9e2e-cd10ad8a3802@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1474986749 31390 195.159.176.226 (27 Sep 2016 14:32:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Sep 2016 14:32:29 +0000 (UTC) Cc: 24549@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 27 16:32:22 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1botQQ-00054S-S7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Sep 2016 16:32:02 +0200 Original-Received: from localhost ([::1]:51439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1botQP-0005pI-Au for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Sep 2016 10:32:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1botMd-0001qV-3B for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2016 10:28:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1botMY-0003Xi-0C for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2016 10:28:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1botMX-0003Xc-Sm for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2016 10:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1botMX-0004FE-LO for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2016 10:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Sep 2016 14:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24549 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24549-submit@debbugs.gnu.org id=B24549.147498646016281 (code B ref 24549); Tue, 27 Sep 2016 14:28:01 +0000 Original-Received: (at 24549) by debbugs.gnu.org; 27 Sep 2016 14:27:40 +0000 Original-Received: from localhost ([127.0.0.1]:37282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1botM9-0004ER-3u for submit@debbugs.gnu.org; Tue, 27 Sep 2016 10:27:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1botM4-0004E4-SY for 24549@debbugs.gnu.org; Tue, 27 Sep 2016 10:27:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1botLu-0003E6-QM for 24549@debbugs.gnu.org; Tue, 27 Sep 2016 10:27:27 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1botLu-0003Dq-O7; Tue, 27 Sep 2016 10:27:22 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1845 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1botLs-0000MJ-AG; Tue, 27 Sep 2016 10:27:20 -0400 In-reply-to: <8aaf30c2-ceb2-4803-9e2e-cd10ad8a3802@default> (message from Drew Adams on Mon, 26 Sep 2016 13:46:26 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123719 Archived-At: > Date: Mon, 26 Sep 2016 13:46:26 -0700 (PDT) > From: Drew Adams > > 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.