From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: mode-line-format - local variableness Date: Mon, 06 Apr 2009 08:24:42 +0900 Message-ID: <87ab6ud6px.fsf@catnip.gol.com> References: <004901c9b63c$77c768e0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1238973916 30800 80.91.229.12 (5 Apr 2009 23:25:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Apr 2009 23:25:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 06 01:26:35 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LqbjV-0004Y1-1b for ged-emacs-devel@m.gmane.org; Mon, 06 Apr 2009 01:26:33 +0200 Original-Received: from localhost ([127.0.0.1]:43128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lqbi6-0000fE-QD for ged-emacs-devel@m.gmane.org; Sun, 05 Apr 2009 19:25:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lqbi0-0000bj-Ls for emacs-devel@gnu.org; Sun, 05 Apr 2009 19:25:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lqbhv-0000Sm-9P for emacs-devel@gnu.org; Sun, 05 Apr 2009 19:24:59 -0400 Original-Received: from [199.232.76.173] (port=34506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lqbhv-0000SV-5w for emacs-devel@gnu.org; Sun, 05 Apr 2009 19:24:55 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:48891 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lqbhu-00035h-RP for emacs-devel@gnu.org; Sun, 05 Apr 2009 19:24:55 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Lqbht-0007v4-Km for emacs-devel@gnu.org; Sun, 05 Apr 2009 23:24:53 +0000 Original-Received: from 218.231.175.8.eo.eaccess.ne.jp ([218.231.175.8]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Apr 2009 23:24:53 +0000 Original-Received: from miles by 218.231.175.8.eo.eaccess.ne.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Apr 2009 23:24:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 218.231.175.8.eo.eaccess.ne.jp System-Type: x86_64-unknown-linux-gnu Cancel-Lock: sha1:YS5Raj8XVImGDzKpD1rAnsPIfjs= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110075 Archived-At: bojohan+news@dd.chalmers.se (Johan Bockgård) writes: >> What am I missing? `mode-line-format' is a buffer-local variable. > > No, it isn't. > > (local-variable-p 'mode-line-format) => nil > (local-variable-if-set-p 'mode-line-format) => t My impression is that let-binding of variables isn't generally so well-defined in association with "magic" emacs features like buffer-localness... -Miles -- Politeness, n. The most acceptable hypocrisy.