From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13225: 24.3.50; Non-selected window has not mode-line-inactive face Date: Fri, 21 Dec 2012 11:35:18 +0200 Message-ID: <83ehijn3xl.fsf@gnu.org> References: <50D176DF.4080102@gmx.at> <83zk1anhzd.fsf@gnu.org> <50D2E16B.70804@gmx.at> <83623wofhj.fsf@gnu.org> <50D349E6.3080200@gmx.at> <83y5gsmxq3.fsf@gnu.org> <50D428CA.5070806@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1356082622 2103 80.91.229.3 (21 Dec 2012 09:37:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2012 09:37:02 +0000 (UTC) Cc: 13225@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 21 10:37:17 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tlz2a-0000Ox-F6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2012 10:37:16 +0100 Original-Received: from localhost ([::1]:42649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tlz2M-0007lJ-Pz for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2012 04:37:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tlz2C-0007l4-45 for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2012 04:37:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tlz2A-0004dD-8p for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2012 04:36:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tlz2A-0004d8-52 for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2012 04:36:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tlz2M-0006fJ-5U for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2012 04:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Dec 2012 09:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13225 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13225-submit@debbugs.gnu.org id=B13225.135608256325551 (code B ref 13225); Fri, 21 Dec 2012 09:37:02 +0000 Original-Received: (at 13225) by debbugs.gnu.org; 21 Dec 2012 09:36:03 +0000 Original-Received: from localhost ([127.0.0.1]:53504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tlz1P-0006e4-5M for submit@debbugs.gnu.org; Fri, 21 Dec 2012 04:36:03 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:64313) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tlz1M-0006dU-4l for 13225@debbugs.gnu.org; Fri, 21 Dec 2012 04:36:01 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MFD00D00JZ0B800@a-mtaout22.012.net.il> for 13225@debbugs.gnu.org; Fri, 21 Dec 2012 11:35:33 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MFD00DBSJZ82880@a-mtaout22.012.net.il>; Fri, 21 Dec 2012 11:35:32 +0200 (IST) In-reply-to: <50D428CA.5070806@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:68840 Archived-At: > Date: Fri, 21 Dec 2012 10:15:54 +0100 > From: martin rudalics > CC: monnier@iro.umontreal.ca, 13225@debbugs.gnu.org > > > There's this note in the comments to > > x_highlight_frame member: > > > > /* The frame which currently has the visual highlight, and should get > > keyboard input (other sorts of input have the frame encoded in the > > event). It points to the X focus frame's selected window's > > frame. It differs from x_focus_frame when we're using a global > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > minibuffer. */ > > ^^^^^^^^^^ > > > > How is (or should be) the mode line displayed when input goes to a > > "global minibuffer"? > > My question was probably silly: We highlight the cursor as active when > the associated frame is currently visually highlighted by the window > manager. And we highlight the mode line when the associated window is > the selected window, regardless of whether its frame is currently > visually highlighted by the window manager. Is that interpretation > correct? I think so. But I also think that the currently highlighted frame is mostly identical to the selected frame, except when minbuffer-only frames are in use. And recall that the problems with mismatches between the selected window and the selected frame, which started all this quest for having them in sync, and introduced assertions whose violations are being reported ever since, happen precisely in configurations where the minbuffer is a separate frame. > Then indeed we should not de-highlight a mode line when its frame is > not highlighted because we would lose some useful feedback. Maybe, but that could be a surprise to users, who are used to different behavior.