From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.help Subject: Re: Setting (site) defaults for customization options? Date: Thu, 19 May 2005 09:48:56 +0100 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1116497173 30395 80.91.229.2 (19 May 2005 10:06:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 May 2005 10:06:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 19 12:06:10 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYhsy-0007yR-Td for geh-help-gnu-emacs@m.gmane.org; Thu, 19 May 2005 12:04:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYhuB-0005QS-SE for geh-help-gnu-emacs@m.gmane.org; Thu, 19 May 2005 06:05:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DYgkI-00039B-N6 for help-gnu-emacs@gnu.org; Thu, 19 May 2005 04:51:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DYgk6-00038S-UU for Help-gnu-emacs@gnu.org; Thu, 19 May 2005 04:51:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYgk2-00037e-QG for Help-gnu-emacs@gnu.org; Thu, 19 May 2005 04:50:55 -0400 Original-Received: from [64.233.184.205] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DYgqJ-0001hT-Ri for Help-gnu-emacs@gnu.org; Thu, 19 May 2005 04:57:23 -0400 Original-Received: by wproxy.gmail.com with SMTP id 36so663778wra for ; Thu, 19 May 2005 01:48:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=kDhnChoChebO4J1OasB49rvEUT3Sj5Obk18FwPMPzb3OL2V9cRSO4Itt/ekT6k7Orh2WLeivQidhgbVJT2uS9NzbSaGVA5WWgSak6pMEe1xXuJGiNaK7bSborATcWSlB5tMvUzLuV6D7Zxkq+8RfKqUb3FOhUymuRvUnOuuybIs= Original-Received: by 10.54.46.37 with SMTP id t37mr270950wrt; Thu, 19 May 2005 01:48:53 -0700 (PDT) Original-Received: from ?129.215.110.120? ([129.215.110.120]) by mx.gmail.com with ESMTP id d6sm281112wra.2005.05.19.01.48.53; Thu, 19 May 2005 01:48:53 -0700 (PDT) Original-To: Help-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.730) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26824 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26824 I wrote: > how do I set different defaults in a site init file for things like > blink-cursor-mode? > I want the end-user to be able to change the setting and use "Save > Options" to save them to .emacs. The solution is similar to what I've tried earlier, and it is not documented as far as I could see - I only found out when going through some source files. This sets the standard value (put 'blink-cursor-mode 'standard-value (list blink-cursor-mode)) You'll need to set the current value, too, of course. Good source of information: http://ecb.sourceforge.net/docs/Site-wide-customizing.html