From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Risky local variable mechanism Date: Wed, 08 Feb 2006 01:49:57 -0500 Message-ID: <87ek2ee46p.fsf-monnier+emacs@gnu.org> References: <87mzhbly89.fsf-monnier+emacs@gnu.org> <87r76fkth6.fsf@stupidchicken.com> <200602080149.k181nhQ21836@raven.dms.auburn.edu> <87mzh2ft7f.fsf-monnier+emacs@gnu.org> <87r76eihbg.fsf@stupidchicken.com> <87hd7afnkv.fsf-monnier+emacs@gnu.org> <87hd7aqv4u.fsf@stupidchicken.com> <200602080606.k1866DZ24955@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 1139381435 2122 80.91.229.2 (8 Feb 2006 06:50:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2006 06:50:35 +0000 (UTC) Cc: cyd@stupidchicken.com, storm@cua.dk, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 08 07:50:30 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 1F6j9n-0006CE-9t for ged-emacs-devel@m.gmane.org; Wed, 08 Feb 2006 07:50:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F6j9m-0000hg-RK for ged-emacs-devel@m.gmane.org; Wed, 08 Feb 2006 01:50:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F6j9Z-0000fc-3P for emacs-devel@gnu.org; Wed, 08 Feb 2006 01:50:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F6j9X-0000f3-L8 for emacs-devel@gnu.org; Wed, 08 Feb 2006 01:50:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F6j9X-0000f0-FL for emacs-devel@gnu.org; Wed, 08 Feb 2006 01:50:11 -0500 Original-Received: from [209.226.175.4] (helo=tomts16-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F6jCk-00052c-3V; Wed, 08 Feb 2006 01:53:30 -0500 Original-Received: from alfajor ([67.71.117.239]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060208065007.PQRG9608.tomts16-srv.bellnexxia.net@alfajor>; Wed, 8 Feb 2006 01:50:07 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 27BF9D7568; Wed, 8 Feb 2006 01:49:57 -0500 (EST) Original-To: Luc Teirlinck In-Reply-To: <200602080606.k1866DZ24955@raven.dms.auburn.edu> (Luc Teirlinck's message of "Wed, 8 Feb 2006 00:06:13 -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:50199 Archived-At: > I believe that you misunderstood Stefan's proposal. I believe that > Stefan proposed to allow to use something like: > (put 'myvar 'safe-value-list '(nil t)) > So there would be no list of variable-value pairs to maintain, only > lists of values for individual variables. Actually, I haven't really thought of a particular implementation. I'm just thinking of it as "a map from variables to lists of values". Whether the map is a single alist or a set of sykmbol properties, or a hash table, or whatever else doesn't matter that much to me. Stefan