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#11299: 24.1.50; Make `customize-mode' work for minor modes too, or define `customize-minor-mode' Date: Sat, 21 Apr 2012 09:16:30 -0700 Message-ID: <1D21F2C43938448A96752150DE4F732D@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1335026025 20840 80.91.229.3 (21 Apr 2012 16:33:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Apr 2012 16:33:45 +0000 (UTC) To: 11299@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 21 18:33:42 2012 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 1SLdFh-00032p-Bb for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Apr 2012 18:33:37 +0200 Original-Received: from localhost ([::1]:51297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLdFg-0000Zv-PM for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Apr 2012 12:33:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLdFe-0000ZO-1w for bug-gnu-emacs@gnu.org; Sat, 21 Apr 2012 12:33:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLdFc-0007nL-6y for bug-gnu-emacs@gnu.org; Sat, 21 Apr 2012 12:33:33 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLdFc-0007nH-3i for bug-gnu-emacs@gnu.org; Sat, 21 Apr 2012 12:33:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SLdG6-0004VU-Id for bug-gnu-emacs@gnu.org; Sat, 21 Apr 2012 12:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Apr 2012 16:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11299 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.133502599317257 (code B ref -1); Sat, 21 Apr 2012 16:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Apr 2012 16:33:13 +0000 Original-Received: from localhost ([127.0.0.1]:45886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLdFJ-0004UH-9X for submit@debbugs.gnu.org; Sat, 21 Apr 2012 12:33:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37181) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLdFG-0004U6-Ro for submit@debbugs.gnu.org; Sat, 21 Apr 2012 12:33:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLdEe-0007Zn-0t for submit@debbugs.gnu.org; Sat, 21 Apr 2012 12:32:34 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:42469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLdEd-0007Yi-UX for submit@debbugs.gnu.org; Sat, 21 Apr 2012 12:32:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLczM-0006ju-1d for bug-gnu-emacs@gnu.org; Sat, 21 Apr 2012 12:16:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLczJ-0002qM-Ms for bug-gnu-emacs@gnu.org; Sat, 21 Apr 2012 12:16:43 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:24342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLczJ-0002qF-Go for bug-gnu-emacs@gnu.org; Sat, 21 Apr 2012 12:16:41 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q3LGGb5U006731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 21 Apr 2012 16:16:38 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q3LGGbbe019985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 21 Apr 2012 16:16:37 GMT Original-Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q3LGGakE017151 for ; Sat, 21 Apr 2012 11:16:37 -0500 Original-Received: from dradamslap1 (/10.159.63.181) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 21 Apr 2012 09:16:36 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac0f2hxapncjwXsFTZOSpEFHCmAj6A== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.4F92DD66.0049,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59363 Archived-At: 1. First, a doc quibble and a question about the status of this command. `(elisp) Derived Modes' says, "Only the (still experimental and unadvertised) command `customize-mode' currently uses this." It has said this since at least Emacs 22. If it was an experiment (how so? no explanation anywhere, AFAICT), presumably it is over now? Or at least explain in what way it is experimental. Does it have problems? If so what? It does not help users to characterize something as "experimental" if you do not describe the experiment or the associated questions/problems. And `customize-mode' is of course not at all "unadvertised", since it is documented, including here, in this part of the manual. This kind of writing, characterizing something as experimental or unadvertised does not belong in the manual. And it only becomes more inappropriate with time and neglect. 2. AFAICT, there is nothing in the definition or use of `customize-mode' that necessarily limits it to major modes. The only thing that limits it this way is that `major-mode' is hard-coded in its definition. Even the use of `custom-group-of-mode' in the definition applies equally to minor modes, IIUC. Likewise, the use of `completion-regexp-list' with "-mode\\'" applies to minor modes as well. So please release it from its limitation to major modes. Minor modes can have defcustoms and deffaces and defgroups too. It is OK for the default to be the current major mode, but the use of a prefix arg (completion for a mode name) should at least allow for minor modes as well as major modes. In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600) of 2012-04-19 on MARVIN Bzr revision: 107968 monnier@iro.umontreal.ca-20120419220225-gijdcbfxuiqy5dhb Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'