From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel Subject: Re: Default custom group Date: Wed, 18 May 2005 15:18:50 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116426256 22475 80.91.229.2 (18 May 2005 14:24:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 May 2005 14:24:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 18 16:24:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYPQU-0002UU-Uf for ged-emacs-devel@m.gmane.org; Wed, 18 May 2005 16:21:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYPSw-0002MO-SO for ged-emacs-devel@m.gmane.org; Wed, 18 May 2005 10:24:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DYHw8-0001Pv-PB for emacs-devel@gnu.org; Wed, 18 May 2005 02:21:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DYHw6-0001P8-8J for emacs-devel@gnu.org; Wed, 18 May 2005 02:21:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYHw1-0001Ku-Hl for emacs-devel@gnu.org; Wed, 18 May 2005 02:21:38 -0400 Original-Received: from [66.225.201.13] (helo=washington.hostforweb.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DYI1O-0000Hx-Id; Wed, 18 May 2005 02:27:10 -0400 Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.50) id 1DYHtQ-0006eN-7k; Wed, 18 May 2005 01:18:56 -0500 Original-To: rms@gnu.org X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:PD1s9bMwfqsjG70DheTW5nRuXRk= X-Hashcash: 1:20:050518:rms@gnu.org::MH8ic84oDmzUFPWR:0000006LSx X-Hashcash: 1:20:050518:emacs-devel@gnu.org::iHlhkCuhm/OR4gXG:0000000000000000000000000000000000000000002oLd X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:37258 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37258 >>>>> In Richard Stallman wrote: > I got many warnings when compiling Gnus. For instance: > smime.el:123:1:Warning: defgroup for `smime' fails to specify containing group > I think that is a real bug. This group should surely be put in > a logical place in the hierarchy. I'm sorry for insufficient information. It was caused by the following form which didn't specify the parent group. (defgroup smime nil "S/MIME configuration.") > I think there might be customization groups which don't belong > to any parent groups except `emacs'. > There should not be any such groups, except the first-level groups > defined in cus-edit.el specifically for that purpose. Yesterday, I changed my mind and added the ``:group 'something'' argument to every defgroup, defface and defcustom forms in which it hasn't been specified in Gnus (the changes will be propagated into the Emacs trunk after a while). At that time, I felt like to add some first-level groups (e.g., cryptograph, security, etc.) is necessary. However, I'm not positive to propose adding of them since Gnus v5.11 supports not only Emacs CVS but also Emacs 20 and 21. By the way, I noticed the new bytecomp doesn't warn to the defcustom form in which the parent group is not specified. For example: (let ((file (expand-file-name (concat (make-temp-name "testing") ".el") temporary-file-directory))) (with-temp-file file (insert "\ \(defgroup foo nil \"doc\") \(defcustom bar nil \"doc\") ")) (byte-compile-file file) (delete-file file) (delete-file (concat file "c")))