From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Undocumented change in binding of buffer-local variables? Date: Thu, 11 Jul 2002 20:38:44 -0500 (CDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200207120138.UAA00495@eel.dms.auburn.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1026437855 19269 127.0.0.1 (12 Jul 2002 01:37:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 12 Jul 2002 01:37:35 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17SpNG-00050g-00 for ; Fri, 12 Jul 2002 03:37:34 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17SpWv-0002Cz-00 for ; Fri, 12 Jul 2002 03:47:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17SpNu-0003zJ-00; Thu, 11 Jul 2002 21:38:14 -0400 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17SpNX-0003xY-00 for ; Thu, 11 Jul 2002 21:37:51 -0400 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) by manatee.dms.auburn.edu (8.9.1a/8.9.1) with ESMTP id UAA04741 for ; Thu, 11 Jul 2002 20:37:50 -0500 (CDT) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id UAA00495; Thu, 11 Jul 2002 20:38:44 -0500 (CDT) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5680 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5680 There used to be (in Emacs20.7 and earlier) a problem with binding a buffer-local variable with let and then exiting the let form with a different current buffer. >From experimentation, it would seem that this problem is now totally solved. Is this correct? If so, would it not be worth mentioning this in the GNU Emacs NEWS? (Maybe I overlooked something, but conducting a search for "let" failed to find anything related.) I found a bug in ielm which I can easily fix and for which I will send a report and patch soon. However, the best solution depends on whether or not it is now safe to exit a let-form, binding buffer-local variables, with a changed current buffer. Sincerely, Luc.