From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Instead of `risky-local-variable' Date: Tue, 31 Jan 2006 21:46:52 -0500 Message-ID: <87d5i7x0bn.fsf@stupidchicken.com> References: <200602010027.k110RHJ14939@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 1138762056 27655 80.91.229.2 (1 Feb 2006 02:47:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2006 02:47:36 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 01 03:47:32 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F481i-0002Ex-Hk for ged-emacs-devel@m.gmane.org; Wed, 01 Feb 2006 03:47:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F484j-0004SG-B6 for ged-emacs-devel@m.gmane.org; Tue, 31 Jan 2006 21:50:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F484U-0004Rr-OE for emacs-devel@gnu.org; Tue, 31 Jan 2006 21:50:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F484R-0004Rc-DL for emacs-devel@gnu.org; Tue, 31 Jan 2006 21:50:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F484R-0004RS-0y for emacs-devel@gnu.org; Tue, 31 Jan 2006 21:50:11 -0500 Original-Received: from [18.95.6.38] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F482u-0006Oo-UO; Tue, 31 Jan 2006 21:48:37 -0500 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id BC41A1E4244; Tue, 31 Jan 2006 21:46:52 -0500 (EST) Original-To: rms@gnu.org, emacs-devel@gnu.org In-Reply-To: <200602010027.k110RHJ14939@raven.dms.auburn.edu> (Luc Teirlinck's message of "Tue, 31 Jan 2006 18:27:17 -0600 (CST)") 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 Xref: news.gmane.org gmane.emacs.devel:49860 Archived-At: > I'm considering a more reliable replacement for the > `risky-local-variable' mechanism. My idea is that only defcustom'ed > variables could be specified in a local variables list, and that the > :type together with the specified value would determine whether a > variable is safe. This won't work for defcustoms that haven't been loaded yet.