From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: find-file-hook as illustration of Custom problems Date: Thu, 10 Feb 2005 22:42:39 +0100 Message-ID: References: <200502040036.j140atb03430@raven.dms.auburn.edu> <200502060150.j161oqh15336@raven.dms.auburn.edu> <200502080150.j181oMf07339@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1108071987 7793 80.91.229.2 (10 Feb 2005 21:46:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Feb 2005 21:46:27 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 10 22:46:26 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CzM6q-0006r9-US for ged-emacs-devel@m.gmane.org; Thu, 10 Feb 2005 22:44:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CzMLb-0005rW-P4 for ged-emacs-devel@m.gmane.org; Thu, 10 Feb 2005 16:59:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CzMKc-0005Xg-D0 for emacs-devel@gnu.org; Thu, 10 Feb 2005 16:58:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CzMKX-0005V0-0k for emacs-devel@gnu.org; Thu, 10 Feb 2005 16:58:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CzMKW-0005TK-E0 for emacs-devel@gnu.org; Thu, 10 Feb 2005 16:58:32 -0500 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CzM5B-0003GS-Tv; Thu, 10 Feb 2005 16:42:42 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id 74A015EE013; Thu, 10 Feb 2005 22:42:32 +0100 (CET) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Thu, 10 Feb 2005 13:39:48 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33217 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33217 Richard Stallman writes: > > This is the wrong solution. The right solution for variables such as > > minibuffer-prompt-properties is to set up a valid expression for its > > standard value. It may be necessary to store the current default > > value in a new variable > > or use a `valid-expression' property on the variable > > I do not understand that suggestion. > The symbol `valid-expression' does not occur in cus-edit.el. > If you are proposing it as the way to represent some new feature, > I don't know what the new feature would do. Sorry, I misread what you read. The essence of my idea is to use _some_ property on the original variable to "store the current default value", rather than using a "new variable" for that. -- Kim F. Storm http://www.cua.dk