From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.bugs Subject: Re: Lisp manual text on buffer-local values Date: 31 May 2003 02:17:16 +0200 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <5x8ysom0kz.fsf@kfs2.cua.dk> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054333333 25069 80.91.224.249 (30 May 2003 22:22:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 30 May 2003 22:22:13 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 31 00:22:10 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19LsFL-0006TT-00 for ; Sat, 31 May 2003 00:21:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19LsGg-0004aQ-Af for gnu-bug-gnu-emacs@m.gmane.org; Fri, 30 May 2003 18:22:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19LsG9-0003xO-EW for bug-gnu-emacs@gnu.org; Fri, 30 May 2003 18:22:01 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19LsFr-0003MV-QI for bug-gnu-emacs@gnu.org; Fri, 30 May 2003 18:21:44 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19LsDJ-0002Qm-N8 for bug-gnu-emacs@gnu.org; Fri, 30 May 2003 18:19:05 -0400 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id A982B7C012; Sat, 31 May 2003 00:19:00 +0200 (CEST) Original-To: Dave Love In-Reply-To: Original-Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5207 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5207 Dave Love writes: > Node `Intro to Buffer-Local' contains this text with an example > following. I _think_ it's obsolete in Emacs 21 following changes to > the binding mechanism. At least the example now behaves differently. > > *Warning:* When a variable has buffer-local values in one or more > buffers, you can get Emacs very confused by binding the variable with > `let', changing to a different current buffer in which a different > binding is in effect, and then exiting the `let'. This can scramble > the values of the buffer-local and default bindings. This has been reworded in CVS emacs, and the examples fixed too. -- Kim F. Storm http://www.cua.dk