From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruce Ingalls Newsgroups: gmane.emacs.help Subject: override defcustom Date: Fri, 30 Aug 2002 14:46:30 GMT Organization: Road Runner - NYC Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3D6F86E6.6080003@fit-zones.DELETE-THE-SPAM-BLOCK.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1030719286 2887 127.0.0.1 (30 Aug 2002 14:54:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 30 Aug 2002 14:54:46 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17knAa-0000kS-00 for ; Fri, 30 Aug 2002 16:54:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17knBx-00022O-00; Fri, 30 Aug 2002 10:56:09 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) Gecko/20020605 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 24.168.133.158 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: twister.nyc.rr.com 1030718790 24.168.133.158 (Fri, 30 Aug 2002 10:46:30 EDT) Original-NNTP-Posting-Date: Fri, 30 Aug 2002 10:46:30 EDT Original-Xref: nntp.stanford.edu gnu.emacs.help:104319 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:891 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:891 I'd like to override the system defcustom defaults, in a way that users can override my override. Example: {ignoring that modern X/Emacs now properly default font-lock-maximum-decoration = t} I can set font-lock-maximum-decoration to t by (custom-set-default font-lock-maximum-decoration t) "Toggle max colors for all modes." :group 'emacro :type 'boolean) This works, except that now users who don't want max decoration, must now set it to nil in 2 places: the emacro and the original font-lock groups. I tried some alternatives, such as customize-set-variable() and custom-set-default() but they don't byte-compile or eval properly. Is it possible to customizably set these variables? Thanks ahead, Bruce