From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#13568: 24.3.50; wishlist: add a `group-p' predicate Date: Fri, 29 Apr 2016 11:11:34 -0700 (PDT) Message-ID: References: <0138B6575E46439E9E33E54D07D2C103@us.oracle.com> <87bn4t4ccd.fsf@gnus.org> <87shy41kqx.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1461953566 7616 80.91.229.3 (29 Apr 2016 18:12:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 18:12:46 +0000 (UTC) Cc: 13568@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 29 20:12:32 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awCu0-0002oS-Em for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 20:12:32 +0200 Original-Received: from localhost ([::1]:55770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awCtt-0008WU-8o for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 14:12:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awCtk-0008KI-Iv for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 14:12:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awCta-0006hU-1E for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 14:12:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awCtZ-0006gf-Tx for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 14:12:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awCtW-00026y-JS for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 14:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Apr 2016 18:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13568 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13568-submit@debbugs.gnu.org id=B13568.14619535088093 (code B ref 13568); Fri, 29 Apr 2016 18:12:02 +0000 Original-Received: (at 13568) by debbugs.gnu.org; 29 Apr 2016 18:11:48 +0000 Original-Received: from localhost ([127.0.0.1]:55722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awCtI-00026T-HP for submit@debbugs.gnu.org; Fri, 29 Apr 2016 14:11:48 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:48473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awCtH-00026H-Av for 13568@debbugs.gnu.org; Fri, 29 Apr 2016 14:11:47 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3TIBfsG003314 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 29 Apr 2016 18:11:41 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u3TIBf46014438 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 29 Apr 2016 18:11:41 GMT Original-Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u3TIBccc031765; Fri, 29 Apr 2016 18:11:40 GMT In-Reply-To: <87shy41kqx.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] 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:117231 Archived-At: > >> > Subject line says it all: Please add a predicate `group-p' that > >> > returns non-nil if its symbol arg is a loaded customize group > >> > (i.e. defined by a defgroup that has been evaluated). > >> > >> What the use case for such a function? > > > > Uh, to test whether a given symbol corresponds to "a loaded > > customize group (i.e. defined by a defgroup that has been > > evaluated)." >=20 > And what's the use case for that? Why do you want to know whether a > symbol has been used as a customization group? Why wouldn't I? A custom group is a thing. If you have code that uses that thing (and that is what the thing is for) then it is reasonable to be able to test for that thingness.