From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.bugs Subject: Lisp manual text on buffer-local values Date: Fri, 30 May 2003 14:31:21 +0100 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054302397 11150 80.91.224.249 (30 May 2003 13:46:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 30 May 2003 13:46:37 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 30 15:46:35 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 19Lk88-0002We-00 for ; Fri, 30 May 2003 15:41:12 +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 19Lk9z-0003W4-Q2 for gnu-bug-gnu-emacs@m.gmane.org; Fri, 30 May 2003 09:43:07 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Lk9b-0003Ou-7p for bug-gnu-emacs@gnu.org; Fri, 30 May 2003 09:42:43 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Lk6i-0002jT-HL for bug-gnu-emacs@gnu.org; Fri, 30 May 2003 09:39:46 -0400 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Ljyd-00070g-Ff for bug-gnu-emacs@gnu.org; Fri, 30 May 2003 09:31:23 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.36 #1 (Debian)) id 19Ljyb-00043a-00 for ; Fri, 30 May 2003 14:31:21 +0100 Original-To: bug-gnu-emacs@gnu.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) 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:5201 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5201 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.