From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#1159: frame-local-variable problem Date: Thu, 24 Jun 2010 15:12:58 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277407826 14544 80.91.229.12 (24 Jun 2010 19:30:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Jun 2010 19:30:26 +0000 (UTC) Cc: 1159@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 24 21:30:24 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ORs7w-0003ci-9e for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jun 2010 21:30:20 +0200 Original-Received: from localhost ([127.0.0.1]:39333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ORs7v-0002M5-Ni for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jun 2010 15:30:19 -0400 Original-Received: from [140.186.70.92] (port=60771 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ORs7o-0002LB-3Q for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2010 15:30:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ORs7i-0008VM-W4 for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2010 15:30:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46634) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORs7i-0008VG-TW for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2010 15:30:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ORrs9-0006kk-Kc; Thu, 24 Jun 2010 15:14:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2010 19:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1159 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 1159-submit@debbugs.gnu.org id=B1159.127740678525950 (code B ref 1159); Thu, 24 Jun 2010 19:14:01 +0000 Original-Received: (at 1159) by debbugs.gnu.org; 24 Jun 2010 19:13:05 +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 1ORrrF-0006kV-HY for submit@debbugs.gnu.org; Thu, 24 Jun 2010 15:13:05 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORrrD-0006k9-Ji for 1159@debbugs.gnu.org; Thu, 24 Jun 2010 15:13:04 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1ORrr8-0005lO-OL; Thu, 24 Jun 2010 15:12:58 -0400 X-Spook: sniper Downing Street arrangements nuclear asset COSCO X-Ran: ACcs;u\,8^-Ly7m}|!a:@mzoTov$R0TOP4E0\bwj#/wjLj+Rkl3vyH/?m*_1o-8UF5@Ig- X-Hue: black X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 24 Jun 2010 15:14:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37985 Archived-At: Sorry, but I don't understand why you closed this. I still see the problem I described (in case there is any confusion, I cloned 1159 from 812. 812 is a doc bug that is indeed fixed). Problem: This works as it should: emacs -Q (setq foo 'bar) (make-variable-frame-local 'foo) ; [1] (set-frame-parameter nil 'foo t) foo ; -> t [2] (make-frame) foo ; -> bar in new frame, still t in old frame [3] If you add an extra evaluation of `foo' at point [1] (after making it frame local, but before adding a frame parameter), then at point [2] you get 'bar rather than t. After you make a new frame, it starts working (at [3]).