From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3811: 23.0.96; custom-group-members Date: Wed, 15 Jul 2009 08:11:20 -0700 Message-ID: <4A690214EF0047F4B36EE72F6A3161F8@us.oracle.com> References: <5CA3346CC20B4ED3957C67730027CF19@us.oracle.com> Reply-To: Drew Adams , 3811@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1247674029 19033 80.91.229.12 (15 Jul 2009 16:07:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jul 2009 16:07:09 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 3811@emacsbugs.donarmstrong.com To: "'Stefan Monnier'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 15 18:07:01 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MR70Q-00044k-1G for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Jul 2009 18:06:54 +0200 Original-Received: from localhost ([127.0.0.1]:44808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MR70P-0008QC-FG for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Jul 2009 12:06:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MR6Y5-0001W2-7b for bug-gnu-emacs@gnu.org; Wed, 15 Jul 2009 11:37:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MR6Y0-0001La-0n for bug-gnu-emacs@gnu.org; Wed, 15 Jul 2009 11:37:36 -0400 Original-Received: from [199.232.76.173] (port=42346 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MR6Xz-0001L2-Pa for bug-gnu-emacs@gnu.org; Wed, 15 Jul 2009 11:37:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33070) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MR6Xz-0002Na-8F for bug-gnu-emacs@gnu.org; Wed, 15 Jul 2009 11:37:31 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6FFbSrg009490; Wed, 15 Jul 2009 08:37:29 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6FFK6nF006503; Wed, 15 Jul 2009 08:20:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 15 Jul 2009 15:20:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3811 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3811-submit@emacsbugs.donarmstrong.com id=B3811.12476706935430 (code B ref 3811); Wed, 15 Jul 2009 15:20:06 +0000 Original-Received: (at 3811) by emacsbugs.donarmstrong.com; 15 Jul 2009 15:11:33 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from acsinet12.oracle.com (acsinet12.oracle.com [141.146.126.234]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6FFBTba005423 for <3811@emacsbugs.donarmstrong.com>; Wed, 15 Jul 2009 08:11:30 -0700 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6FFB9NL014692 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 15 Jul 2009 15:11:10 GMT Original-Received: from abhmt001.oracle.com (abhmt001.oracle.com [141.146.116.10]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6FFDJkQ009849; Wed, 15 Jul 2009 15:13:19 GMT Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 15 Jul 2009 08:11:20 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcoFWxQMA+i1rTyKQfaXxW/YumwD7gAAi68w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt001.oracle.com [141.146.116.10] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4A5DF199.0271:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 15 Jul 2009 11:37:36 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29437 gmane.emacs.pretest.bugs:24799 Archived-At: You're right; I was wrong. I think I must have tested it only on groups that have only groups as members - group `editing', for example. Guess I didn't realize I was doing that. It might be useful to have another function (or perhaps another optional arg to this function), which would act recursively to give you all members, indirect or direct, that belong to the group - IOW, anything that belongs to the group or to one of its subgroups (recursively). In any case, what I said about the doc string remains true. There should be some description of the alternative: "What should you expect if GROUPS-ONLY is nil, other than groups? What else might be included in the list?" Other than that, this can be closed. > From: Stefan Monnier Sent: Wednesday, July 15, 2009 7:46 AM > > emacs -Q > > Dunno if this is just a doc bug or a code bug. > > `custom-group-members' seems to give the same result - > > a list of groups, whether its second arg GROUPS-ONLY is nil > > or t. I don't see any difference. > > Can't reproduce it here: > > emacs -Q > M-x load-library RET cus-edit RET > M-: (custom-group-members 'custom-faces nil) RET > > gives me a list of the members of that group, one of which is itself > a group but the rest isn't: > > ((custom-magic-faces custom-group) > (custom-button custom-face) > (custom-button-mouse custom-face) > (custom-button-unraised custom-face) > (custom-button-pressed custom-face) > (custom-button-pressed-unraised custom-face) > (custom-documentation custom-face) > (custom-state custom-face) > (custom-link custom-face) > (custom-comment custom-face) > (custom-comment-tag custom-face) > (custom-variable-tag custom-face) > (custom-variable-button custom-face) > (custom-visibility custom-face) > (custom-face-tag custom-face) > (custom-group-tag-faces custom-variable) > (custom-group-tag-1 custom-face) > (custom-group-tag custom-face))