From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#9469: buffer-local variables seem to remember previous values Date: Mon, 12 Sep 2011 10:35:23 +0200 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=us-ascii X-Trace: dough.gmane.org 1315816553 13015 80.91.229.12 (12 Sep 2011 08:35:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2011 08:35:53 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , 9469@debbugs.gnu.org To: Le Wang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 12 10:35: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 1R31zW-0006CG-Hf for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 10:35:46 +0200 Original-Received: from localhost ([::1]:49709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R31zW-0008Vd-4d for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 04:35:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R31zT-0008VY-Tz for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 04:35:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R31zT-0005XB-1w for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 04:35:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R31zS-0005X5-TO for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 04:35:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R323e-0003I2-OY; Mon, 12 Sep 2011 04:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab 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:40: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.131581678812622 (code B ref 9469); Mon, 12 Sep 2011 08:40:02 +0000 Original-Received: (at 9469) by debbugs.gnu.org; 12 Sep 2011 08:39:48 +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 1R323Q-0003HX-EC for submit@debbugs.gnu.org; Mon, 12 Sep 2011 04:39:48 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R323N-0003HP-VP for 9469@debbugs.gnu.org; Mon, 12 Sep 2011 04:39:47 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id F38961C08CFD; Mon, 12 Sep 2011 10:35:24 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id E6D601C00268; Mon, 12 Sep 2011 10:35:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id XzCDmezEf3fz; Mon, 12 Sep 2011 10:35:24 +0200 (CEST) Original-Received: from hase.home (ppp-88-217-102-104.dynamic.mnet-online.de [88.217.102.104]) by mail.mnet-online.de (Postfix) with ESMTP; Mon, 12 Sep 2011 10:35:23 +0200 (CEST) X-Yow: Send your questions to ``ASK ZIPPY'', Box 40474, San Francisco, CA 94140, USA In-Reply-To: (Le Wang's message of "Mon, 12 Sep 2011 16:23:15 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 12 Sep 2011 04:40: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:51048 Archived-At: Le Wang writes: > 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. This has nothing at all to do with quoting. Don't use destructive functions if you don't know what you are doing. If you store through a pointer in C you also have to take care of side effects. There is nothing new here. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."