From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Re: Two binding features Date: Thu, 08 May 2008 18:28:20 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1210285820 23144 80.91.229.12 (8 May 2008 22:30:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 May 2008 22:30:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 09 00:30:55 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JuEdC-0005Z5-6D for ged-emacs-devel@m.gmane.org; Fri, 09 May 2008 00:30:30 +0200 Original-Received: from localhost ([127.0.0.1]:52541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JuEcT-0006so-VW for ged-emacs-devel@m.gmane.org; Thu, 08 May 2008 18:29:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JuEbq-0006du-Bt for emacs-devel@gnu.org; Thu, 08 May 2008 18:29:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JuEbo-0006dP-U6 for emacs-devel@gnu.org; Thu, 08 May 2008 18:29:06 -0400 Original-Received: from [199.232.76.173] (port=56866 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JuEbo-0006dK-Me for emacs-devel@gnu.org; Thu, 08 May 2008 18:29:04 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:37626) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JuEbo-00030S-GE for emacs-devel@gnu.org; Thu, 08 May 2008 18:29:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JuEb6-0007fA-2a; Thu, 08 May 2008 18:28:20 -0400 In-reply-to: (bojohan+news@dd.chalmers.se) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:96831 Archived-At: progv in CL is implemented using unwind-protect. That does the job, but maybe it would be better to implement it as a primitive, making real bindings. The current implementation has one advantage: it uses just one specpdl slot for any number of variables. But I suspect that the unwind-protect implementation will give wrong results in some cases, for instance when buffer-local bindings are in use for the same variables.