From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: 'Strange' changes in status line Date: Thu, 28 Aug 2008 21:54:24 +0300 Message-ID: References: <48B4974D.1060809@alice.it> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1219949773 24553 80.91.229.12 (28 Aug 2008 18:56:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2008 18:56:13 +0000 (UTC) Cc: emacs-devel@gnu.org, angelo.graziosi@alice.it To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 28 20:57:05 2008 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 1KYmeo-0003fP-OT for ged-emacs-devel@m.gmane.org; Thu, 28 Aug 2008 20:55:47 +0200 Original-Received: from localhost ([127.0.0.1]:45428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYmdp-0004ne-U6 for ged-emacs-devel@m.gmane.org; Thu, 28 Aug 2008 14:54:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYmdl-0004n2-Lw for emacs-devel@gnu.org; Thu, 28 Aug 2008 14:54:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYmdk-0004mM-EX for emacs-devel@gnu.org; Thu, 28 Aug 2008 14:54:41 -0400 Original-Received: from [199.232.76.173] (port=48005 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYmdk-0004mB-6e for emacs-devel@gnu.org; Thu, 28 Aug 2008 14:54:40 -0400 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:33765) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYmdZ-000601-VW; Thu, 28 Aug 2008 14:54:31 -0400 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K6B0058AR7LL641@i_mtaout5.012.net.il>; Thu, 28 Aug 2008 21:54:58 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 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:103083 Archived-At: > From: Glenn Morris > Date: Thu, 28 Aug 2008 02:00:51 -0400 > Cc: Eli Zaretskii , emacs-devel@gnu.org > > Angelo Graziosi wrote: > > > In the status line, now I see 'Emacs' near the buffer name > > > > --:----Emacs foo.f90 59% .... > > > > Just a curiosity, Why this change and which usefulness? > > I believe it's an unintended consequence of this: > > 2008-08-25 Eli Zaretskii > > * bindings.el (mode-line-frame-control): New function, caters to > `pc' ``window system''. > (mode-line-frame-identification): Use it instead of > accessing window-system directly. > > > In X: > > emacs -Q > > C-h v mode-line-frame-identification > Its value is ("-%F ") > > M-: (mode-line-frame-control) > -> " " > > ie, the variable is being set at the wrong time. I don't see this problem on MS-Windows: the frame name is not displayed in the mode line, and the value of mode-line-frame-identification is " ", as I'd expect. I won't have access to a system with X for a couple of days. If you still see this with the current CVS, please put a breakpoint in decode_mode_spec and tell me when and from where it is called ``at the wrong time''. Thanks.