From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Possible defvar bug Date: Wed, 20 Feb 2013 16:36:17 -0500 Message-ID: References: <87d2vxr8h6.fsf@thinkpad.tsdh.de> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1361396184 21851 80.91.229.3 (20 Feb 2013 21:36:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Feb 2013 21:36:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 20 22:36:47 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U8HLK-0002kI-UF for ged-emacs-devel@m.gmane.org; Wed, 20 Feb 2013 22:36:47 +0100 Original-Received: from localhost ([::1]:44827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8HL0-0003nW-MM for ged-emacs-devel@m.gmane.org; Wed, 20 Feb 2013 16:36:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8HKx-0003nG-16 for emacs-devel@gnu.org; Wed, 20 Feb 2013 16:36:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8HKs-0004mF-9j for emacs-devel@gnu.org; Wed, 20 Feb 2013 16:36:22 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8HKs-0004m0-6o for emacs-devel@gnu.org; Wed, 20 Feb 2013 16:36:18 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U8HKr-00053i-B5; Wed, 20 Feb 2013 16:36:17 -0500 In-reply-to: (message from Stefan Monnier on Tue, 19 Feb 2013 19:08:49 -0500) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157221 Archived-At: Another option is to change defvar so that it changes the specpdl entry when the var is let-bound (i.e. so that the default is set when we leave the let, as if it had been set before). That is a good idea. Maybe set-default is the place to do this. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call