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 10:50:08 -0700 Message-ID: <1F20E8C3A654469AAC7AD33CBE056921@us.oracle.com> References: <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 1335030638 18838 80.91.229.3 (21 Apr 2012 17:50:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Apr 2012 17:50:38 +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 19:50:38 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 1SLeSD-0006rP-QT for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Apr 2012 19:50:37 +0200 Original-Received: from localhost ([::1]:43266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLeSD-0007Zm-77 for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Apr 2012 13:50:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLeSA-0007ZW-Ja for bug-gnu-emacs@gnu.org; Sat, 21 Apr 2012 13:50:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLeS8-00070g-II for bug-gnu-emacs@gnu.org; Sat, 21 Apr 2012 13:50:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLeS8-00070c-F1 for bug-gnu-emacs@gnu.org; Sat, 21 Apr 2012 13:50:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SLeSd-0006LK-Cs for bug-gnu-emacs@gnu.org; Sat, 21 Apr 2012 13:51:03 -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 17:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11299 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11299-submit@debbugs.gnu.org id=B11299.133503065824354 (code B ref 11299); Sat, 21 Apr 2012 17:51:03 +0000 Original-Received: (at 11299) by debbugs.gnu.org; 21 Apr 2012 17:50:58 +0000 Original-Received: from localhost ([127.0.0.1]:45949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLeSX-0006Kj-BX for submit@debbugs.gnu.org; Sat, 21 Apr 2012 13:50:58 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:27426) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLeSV-0006KW-4s for 11299@debbugs.gnu.org; Sat, 21 Apr 2012 13:50:55 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q3LHoF4n017774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <11299@debbugs.gnu.org>; Sat, 21 Apr 2012 17:50:16 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q3LHoFcC001818 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <11299@debbugs.gnu.org>; Sat, 21 Apr 2012 17:50:15 GMT Original-Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q3LHoFYT003698 for <11299@debbugs.gnu.org>; Sat, 21 Apr 2012 12:50:15 -0500 Original-Received: from dradamslap1 (/10.159.63.181) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 21 Apr 2012 10:50:14 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <1D21F2C43938448A96752150DE4F732D@us.oracle.com> Thread-Index: Ac0f2hxapncjwXsFTZOSpEFHCmAj6AACUYgw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090207.4F92F358.00B0,ss=1,re=0.000,fgs=0 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:59370 Archived-At: E.g., something like this: (defun customize-mode (mode) "Customize options related to a major or minor mode. By default the current major is used. With a prefix argument or if the current major mode has no known group, you are prompted for the MODE to customize." (interactive (list (let ((completion-regexp-list '("-mode\\'")) (group (custom-group-of-mode major-mode))) (if (and group (not current-prefix-arg)) major-mode (intern (completing-read "Mode: " obarray 'custom-group-of-mode t nil nil (and group (symbol-name major-mode)))))))) (customize-group (custom-group-of-mode mode)))