From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gerd.moellmann@t-online.de (Gerd Moellmann) Newsgroups: gmane.emacs.devel Subject: Re: question about frame local variable Date: 30 Oct 2003 20:33:06 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <86oevy1pxp.fsf@gerd.free-bsd.org> References: <200310250049.JAA12659@etlken.m17n.org> <200310280803.RAA05883@etlken.m17n.org> <200310300135.KAA09225@etlken.m17n.org> <86k76njcj4.fsf@gerd.free-bsd.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067543095 8513 80.91.224.253 (30 Oct 2003 19:44:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2003 19:44:55 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, Kenichi Handa Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Oct 30 20:44:52 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFIiy-0004cn-00 for ; Thu, 30 Oct 2003 20:44:52 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFIiy-0006z5-00 for ; Thu, 30 Oct 2003 20:44:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFIiU-00071p-De for emacs-devel@quimby.gnus.org; Thu, 30 Oct 2003 14:44:22 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AFIiK-00070R-QC for emacs-devel@gnu.org; Thu, 30 Oct 2003 14:44:12 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AFIhn-0006wa-VW for emacs-devel@gnu.org; Thu, 30 Oct 2003 14:44:11 -0500 Original-Received: from [194.25.134.82] (helo=mailout05.sul.t-online.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFIg8-0005tp-Jy; Thu, 30 Oct 2003 14:41:56 -0500 Original-Received: from fwd05.aul.t-online.de by mailout05.sul.t-online.com with smtp id 1AFIb2-0002lX-08; Thu, 30 Oct 2003 20:36:40 +0100 Original-Received: from gerd.free-bsd.org (bLaTcOZeoew26CfsOKFho0BlcOw1W5YqKhjs6jLK9ylJvSqe1cUw8R@[217.230.99.92]) by fwd05.sul.t-online.com with esmtp id 1AFIaP-1sti3E0; Thu, 30 Oct 2003 20:36:01 +0100 Original-Received: from gerd.free-bsd.org (localhost [127.0.0.1]) by gerd.free-bsd.org (8.12.9p2/8.12.9) with ESMTP id h9UJXFKH000247; Thu, 30 Oct 2003 20:33:16 +0100 (CET) (envelope-from gerd.moellmann@t-online.de) Original-Received: (from gerd@localhost) by gerd.free-bsd.org (8.12.9p2/8.12.9/Submit) id h9UJX6i5000244; Thu, 30 Oct 2003 20:33:06 +0100 (CET) (envelope-from gerd.moellmann@t-online.de) X-Authentication-Warning: gerd.free-bsd.org: gerd set sender to gerd.moellmann@t-online.de using -f Original-To: Stefan Monnier In-Reply-To: Original-Lines: 12 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Seen: false X-ID: bLaTcOZeoew26CfsOKFho0BlcOw1W5YqKhjs6jLK9ylJvSqe1cUw8R X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17621 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17621 Stefan Monnier writes: > > (BTW, calling select-frame in redisplay would almost certainly not be > > the right thing to do, which probably gets obvious when taking a look > > at what that function does.) > > How about calling a select_frame_internal_for_variables_only ? To swap frame-local bindings into C variables, I suppose? That would be the alternative to searching in frame parameters, yes. I guess it's even better than assq, because it's more general, although it might do a little bit more work than strictly necessary.