From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Le Wang Newsgroups: gmane.emacs.bugs Subject: bug#9469: buffer-local variables seem to remember previous values Date: Mon, 12 Sep 2011 12:39:13 +0800 Message-ID: References: <70AD30BE45C847BE828A3E8A71280A8E@us.oracle.com> <95CFAF98BEBE4DFAB885B85F02126C57@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1315802398 16811 80.91.229.12 (12 Sep 2011 04:39:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2011 04:39:58 +0000 (UTC) Cc: Andreas Schwab , 9469@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 12 06:39:54 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R2yJF-0003ux-IJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 06:39:53 +0200 Original-Received: from localhost ([::1]:51341 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2yJF-0007p8-2E for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 00:39:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2yJA-0007os-1f for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 00:39:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2yJ5-0000DD-W2 for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 00:39:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2yJ5-0000D9-TF for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 00:39:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R2yNG-0002Mq-Px; Mon, 12 Sep 2011 00:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Le Wang Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Sep 2011 04:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9469 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 9469-submit@debbugs.gnu.org id=B9469.13158026189059 (code B ref 9469); Mon, 12 Sep 2011 04:44:02 +0000 Original-Received: (at 9469) by debbugs.gnu.org; 12 Sep 2011 04:43:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2yMr-0002M3-MK for submit@debbugs.gnu.org; Mon, 12 Sep 2011 00:43:38 -0400 Original-Received: from mail-qw0-f47.google.com ([209.85.216.47]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2yMo-0002Lb-Ei for 9469@debbugs.gnu.org; Mon, 12 Sep 2011 00:43:35 -0400 Original-Received: by qwh5 with SMTP id 5so2734742qwh.20 for <9469@debbugs.gnu.org>; Sun, 11 Sep 2011 21:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=LXI91tpgNKZSf9jMs/qDiwureyCqRqydD/5VSzxlp78=; b=BRItUWSkrzDJGpktw7bNRjFJywk3R/BEPzh5E+OgmNKj57yxGAfCbZfBmdh9WcSAcM 2e1/3XjdQUx6paSASxGSJoiuO615FMZciGKNFzfMBleXH6H76WHZBo9x9sFEo7/CcXdZ Igr88/ERl3QFFKGK3MmLWQevybiPGfm6ggUlo= Original-Received: by 10.224.9.211 with SMTP id m19mr1559407qam.77.1315802353679; Sun, 11 Sep 2011 21:39:13 -0700 (PDT) Original-Received: by 10.224.61.1 with HTTP; Sun, 11 Sep 2011 21:39:13 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 12 Sep 2011 00:44:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51032 Archived-At: On Mon, Sep 12, 2011 at 3:54 AM, Lars Magne Ingebrigtsen w= rote: > > Ok. =A0So I'm closing this report. First of all, it's entirely possible that in order to preserve my self perception that "I am smart", my ego won't let me admit that I just wasn't smart enough parse the manual properly. However, I still think it's not spelled out clearly enough. It needs an example to clearly show the trap. "The special form quote returns its single argument, as written, without evaluating it. This provides a way to include constant symbols and lists" Isn't the first sentence misleading? It does not *always* return a single argument as written. It does the first time, and memoizes subsequently. Where is the mention of that? The second sentence clarifies that quote should be used for "constant symbols and lists". Again, pedantically speaking, the information is there. It's just not clear enough to prevent other people falling into this trap in the future. I'm happy to leave this bug closed, or work with someone specifically responsible for the Emacs Lisp Manual to come up with a clear small example. > > -- > (domestic pets only, the antidote for overdose, milk.) > =A0bloggy blog http://lars.ingebrigtsen.no/ > --=20 Le