From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Marshall, Simon" Newsgroups: gmane.emacs.bugs Subject: [21.2]: M-x customize-group offers non-groups for customisation Date: Thu, 11 Apr 2002 14:35:23 +0100 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: main.gmane.org 1018532230 5809 127.0.0.1 (11 Apr 2002 13:37:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 11 Apr 2002 13:37:10 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16velB-0001Va-00 for ; Thu, 11 Apr 2002 15:37:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16vekH-0004lk-00; Thu, 11 Apr 2002 09:36:13 -0400 Original-Received: from mail17.messagelabs.com ([62.231.131.67]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16vejZ-0004iP-00 for ; Thu, 11 Apr 2002 09:35:29 -0400 X-VirusChecked: Checked Original-Received: (qmail 27681 invoked from network); 11 Apr 2002 13:35:27 -0000 Original-Received: from gull.midas-kapiti.com (HELO pigeon.misys.com) (193.115.208.67) by server-14.tower-17.messagelabs.com with SMTP; 11 Apr 2002 13:35:27 -0000 Original-Received: FROM gull.misys.com BY pigeon.misys.com ; Thu Apr 11 14:35:26 2002 +0100 Original-Received: by GULL with Internet Mail Service (5.5.2653.19) id <2X1JAC3S>; Thu, 11 Apr 2002 14:35:26 +0100 Original-To: 'Emacs Bug' X-Mailer: Internet Mail Service (5.5.2653.19) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:562 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:562 If you do M-x customize-group RET then you can enter, e.g., auto-compression-mode and a customisation buffer is offered up. Problem is, auto-compression-mode isn't a group and so the customisation buffer is empty/confusing. The cause is in this in customize-group: (completing-read "Customize group: (default emacs) " obarray (lambda (symbol) (or (get symbol 'custom-loads) (get symbol 'custom-group))) t) where auto-compression-mode has a non-nil custom-loads property (its custom-group property is nil). How hard is it to make custom only offer genuine groups? Presumably too hard. Perhaps something meaningful can be done after customize-group does the custom-load-symbol, e.g., say, "oh, it's not a group, but here's a customisation buffer containing the list of groups to which it belongs" or "oh, it's not a group, it's an X and here's the appropriate customisation buffer to customise it". Simon.