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: Sun, 08 Sep 2002 02:53:37 GMT Organization: Road Runner - NYC Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3D7ABCC1.7000109@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 1031454370 9386 127.0.0.1 (8 Sep 2002 03:06:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 8 Sep 2002 03:06:10 +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 17nsOn-0002RG-00 for ; Sun, 08 Sep 2002 05:06:09 +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 17nsOl-0003u8-00; Sat, 07 Sep 2002 23:06:07 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!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: 38 Original-NNTP-Posting-Host: 24.168.133.158 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: twister.nyc.rr.com 1031453617 24.168.133.158 (Sat, 07 Sep 2002 22:53:37 EDT) Original-NNTP-Posting-Date: Sat, 07 Sep 2002 22:53:37 EDT Original-Xref: nntp.stanford.edu gnu.emacs.help:104580 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:1137 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1137 Kai- Thanks for sticking with me on this one. It appears my previous post did not make it. EMacro is designed to make Emacs/XEmacs easy to set up and use out of the box. I don't like the system default setting of font-lock-maximum-decoration = nil on older Emacsen. (Actual value is for argument's sake, there are other variables I wish to set). Further, I do not wish to force EMacro's defaults, which override the system defaults, upon users. Beginning users should be able to do M-x customize, or the menu equivalent (to override EMacro's override). What can I do about it? I can: 1) Give users instructions to customize these variables, with every installation. This defeats the purpose of EMacro, which is to save work. 2) Put setq()s in a preferences.el file. This expects that users will ignore the nice Options menu, and always be aware to edit this file, instead 3) Create an emacro customization group, and duplicate settings. As you said, duplication is bad. 4) Ship emacs.el and xemacs.el files, with the custom-set-variables() commands already set. I've avoided sending my saved customizations, but this seems the smoothest solution.