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 16:23:15 +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 X-Trace: dough.gmane.org 1315815831 7585 80.91.229.12 (12 Sep 2011 08:23:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2011 08:23:51 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , 9469@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 12 10:23:47 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 1R31nv-00029G-4Z for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 10:23:47 +0200 Original-Received: from localhost ([::1]:44626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R31nu-0006pg-Cg for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 04:23:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R31nr-0006pQ-Ii for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 04:23:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R31nq-00037i-MP for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 04:23:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R31nq-00037e-Je for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 04:23:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R31s2-0002FF-Ep; Mon, 12 Sep 2011 04:28: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 08:28: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.13158160588600 (code B ref 9469); Mon, 12 Sep 2011 08:28:02 +0000 Original-Received: (at 9469) by debbugs.gnu.org; 12 Sep 2011 08:27: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 1R31rd-0002Ee-T8 for submit@debbugs.gnu.org; Mon, 12 Sep 2011 04:27:38 -0400 Original-Received: from mail-qy0-f179.google.com ([209.85.216.179]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R31rc-0002EX-AY for 9469@debbugs.gnu.org; Mon, 12 Sep 2011 04:27:36 -0400 Original-Received: by qyk33 with SMTP id 33so768305qyk.3 for <9469@debbugs.gnu.org>; Mon, 12 Sep 2011 01:23:15 -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; bh=gpJzjgxyE/4OHqOnERXaddc2eafiZ8e5AAZO3JS7mcY=; b=X0dFoOc0Mlpfdzxb6jJBLTToiXusee/ZWIWKsMcENzAOOTl96vl3avdcnAgKaFKAko 1WB/3ChA+qPfNrvnTzu/vuUhzbj1a90NIjeBHRRUAll8NA3tgACeODQvIVFUCm25wunr Z/ztQvVIB9yur7SSgn9xLqeDA1EoF83pIGc88= Original-Received: by 10.224.194.202 with SMTP id dz10mr1800937qab.327.1315815795537; Mon, 12 Sep 2011 01:23:15 -0700 (PDT) Original-Received: by 10.224.61.1 with HTTP; Mon, 12 Sep 2011 01:23:15 -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 04:28: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:51047 Archived-At: On Mon, Sep 12, 2011 at 3:57 PM, Andreas Schwab wrote: > Since the argument does not change, how is that wrong? Yes, I understand from a functional programming perspective, it's perfectly fine. You're right. but you're still being pedantic. Maybe setcdr the way I did was not very lisp-y. I willingly concede I'm a lisp novice, and I'm used to thinking in a more procedural way. My point is that the manual would be more helpful to someone in my position if it had an example saying don't modify quoted objects, and why. Anyway, if it's the opinion of the maintainers that the manual is fine as it is, it's fine with me. Thanks you for looking into this issue, and working on Emacs! -- Le