From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.help Subject: Disabling customization items Date: Fri, 15 Aug 2003 20:47:39 GMT Organization: Newt Software Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87zniasl5h.fsf@olgas.newt.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1060981289 21412 80.91.224.253 (15 Aug 2003 21:01:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Aug 2003 21:01:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 15 23:01:27 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nlhP-00064T-00 for ; Fri, 15 Aug 2003 23:01:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19nlga-0003bM-K4 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Aug 2003 17:00:36 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!in.100proofnews.com!in.100proofnews.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr29.news.prodigy.com.POSTED!ad3e664c!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:6KCoyJrgbFhNyyVe+/q47YSUF6o= Original-Lines: 20 Original-NNTP-Posting-Host: 206.127.228.194 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssvr29.news.prodigy.com 1060980459 ST000 206.127.228.194 (Fri, 15 Aug 2003 16:47:39 EDT) Original-NNTP-Posting-Date: Fri, 15 Aug 2003 16:47:39 EDT X-UserInfo1: T[OGRU[D]BUYB_H]]RKB_UDAZZ\DPCPDLXUNNHDK@YUDUWYAKVUOPCW[ML\JXUCKVFDYZKBMSFX^OMSAFNTINTDDMVW[X\THOPXZRVOCJTUTPC\_JSBVX\KAOTBAJBVMZTYAKMNLDI_MFDSSOLXINH__FS^\WQGHGI^C@E[A_CF\AQLDQ\BTMPLDFNVUQ_VM Original-Xref: shelby.stanford.edu gnu.emacs.help:115928 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11846 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11846 How does one disable items in the customization interface? Let's say I have the option foo with three features "a", "b", or "c". (defcustom foo "a" nil :type '(choice (const "a") (const "b") (const "c"))) Let's say feature "b" is not available on a system. I'd like to indicate that that item is supported by my code, but not by the system. Thus, choice "b" should be disabled. Thus customization interface in 21.2 doesn't appear to support this. Has anyone figured out how to do this? -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane.