From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Undocumented change in binding of buffer-local variables? Date: 12 Jul 2002 16:58:09 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5xele9uh6m.fsf@kfs2.cua.dk> References: <200207120138.UAA00495@eel.dms.auburn.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1026482256 29018 127.0.0.1 (12 Jul 2002 13:57:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 12 Jul 2002 13:57:36 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17T0vQ-0007Xv-00 for ; Fri, 12 Jul 2002 15:57:36 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17T15K-0001sx-00 for ; Fri, 12 Jul 2002 16:07:50 +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 17T0w4-0005hc-00; Fri, 12 Jul 2002 09:58:16 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.35 #1 (Debian)) id 17T0vO-0005d4-00 for ; Fri, 12 Jul 2002 09:57:34 -0400 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id F2B437C017; Fri, 12 Jul 2002 13:57:32 +0000 (GMT) Original-To: Luc Teirlinck In-Reply-To: <200207120138.UAA00495@eel.dms.auburn.edu> Original-Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:5706 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5706 Luc Teirlinck writes: > 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. > Please read the updated information in the elisp manual section "Introduction to Buffer-Local Variables". The Warning and the example related to buffer-local variables have been updated. -- Kim F. Storm http://www.cua.dk