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: setting default value Date: Wed, 11 May 2005 08:44:23 +0100 Message-ID: <11edd93ca691573b1271cff09b9a7053@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1115797802 18090 80.91.229.2 (11 May 2005 07:50:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 May 2005 07:50:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 11 09:49:59 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVly3-0007pj-Eb for geh-help-gnu-emacs@m.gmane.org; Wed, 11 May 2005 09:49:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVm6k-00089N-D3 for geh-help-gnu-emacs@m.gmane.org; Wed, 11 May 2005 03:58:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DVm06-00069e-RZ for help-gnu-emacs@gnu.org; Wed, 11 May 2005 03:51:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DVm03-000669-1x for Help-gnu-emacs@gnu.org; Wed, 11 May 2005 03:51:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVlzy-0005wV-Dh for Help-gnu-emacs@gnu.org; Wed, 11 May 2005 03:51:18 -0400 Original-Received: from [64.233.184.200] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DVlzi-0002K1-CF for Help-gnu-emacs@gnu.org; Wed, 11 May 2005 03:51:02 -0400 Original-Received: by wproxy.gmail.com with SMTP id 36so62896wra for ; Wed, 11 May 2005 00:44:27 -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=UH+P7g3ZWFbxRZD+u38tvOsfyfgQV3DyRSnSINQEmiSDPttC3kPQ3/cr1Z0bgd1GMh86ia+ppXAO8ejnEKsC01KNVYJ7H038oGNX1I5e3XLDaEWrfGrgSsCk280P4XwdJOzpVr4jezESaHw/Y5uVVcdSMCyhm5Px2ofJVAqV9LY= Original-Received: by 10.54.129.1 with SMTP id b1mr123527wrd; Wed, 11 May 2005 00:44:27 -0700 (PDT) Original-Received: from ?10.0.0.58? ([82.20.45.254]) by mx.gmail.com with ESMTP id 33sm428720wra.2005.05.11.00.44.26; Wed, 11 May 2005 00:44:26 -0700 (PDT) Original-To: Help-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.622) 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:26505 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26505 In a site init file, I'm trying to set different default values for stuff like 'blink-cursor-mode'. (setq-default blink-cursor-mode t) (blink-cursor-mode blink-cursor-mode) However, if I then select a different setting (i.e. blink-cursor mode nil) and save the customizations (Options/Save Options), this setting is not saved. No I think this is because menu-bar-options-save doesn't notice that the standard value for blink-cursor-mode is supposed to be different, so it doesn't bother saving the current value. Therefore, I tried to do this in my site init file: (put 'blink-cursor-mode 'standard-value t) However, it has absolutely no effect. That's because the customized-value property of blink-cursor-mode simply isn't set correctly when blink-cursor-mode changes. Theoretically, customize-mark-as-set should take care of that, checking the standard-value property. That's why I tried to set it. Why does this not work??? Thanks for your help!