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#16874: 24.3.50; Regression in active window detection Date: Tue, 25 Feb 2014 19:47:58 +0200 Message-ID: <83ppmbytgx.fsf@gnu.org> References: <87eh2rftna.fsf@gmail.com> <8361o317zy.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1393350551 28558 80.91.229.3 (25 Feb 2014 17:49:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Feb 2014 17:49:11 +0000 (UTC) Cc: 16874@debbugs.gnu.org To: Damien Cassou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 25 18:49:19 2014 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 1WIM85-0004y1-Ty for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Feb 2014 18:49:18 +0100 Original-Received: from localhost ([::1]:36343 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIM85-00046o-Dk for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Feb 2014 12:49:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIM7v-00045P-UD for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2014 12:49:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIM7q-0005O0-43 for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2014 12:49:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIM7q-0005Nv-09 for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2014 12:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WIM7p-0006l2-Pp for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2014 12:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Feb 2014 17:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16874-submit@debbugs.gnu.org id=B16874.139335049525912 (code B ref 16874); Tue, 25 Feb 2014 17:49:01 +0000 Original-Received: (at 16874) by debbugs.gnu.org; 25 Feb 2014 17:48:15 +0000 Original-Received: from localhost ([127.0.0.1]:39695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIM74-0006js-Pf for submit@debbugs.gnu.org; Tue, 25 Feb 2014 12:48:15 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:42309) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIM72-0006jZ-3B for 16874@debbugs.gnu.org; Tue, 25 Feb 2014 12:48:12 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N1K00700C4Y4Y00@mtaout29.012.net.il> for 16874@debbugs.gnu.org; Tue, 25 Feb 2014 19:50:55 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1K00NA0C8URC80@mtaout29.012.net.il>; Tue, 25 Feb 2014 19:50:54 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:86196 Archived-At: > From: Damien Cassou > Date: Tue, 25 Feb 2014 17:28:57 +0100 > Cc: 16874@debbugs.gnu.org > > On Tue, Feb 25, 2014 at 5:18 PM, Eli Zaretskii wrote: > > It's a deliberate change in Emacs that breaks functions which assume > > that the window whose mode line is being redrawn is selected at that > > time. > > is there anything we can do about that? What kind of thing did you have in mind? FWIW, I think code that relies on implementation details of the display engine runs a high risk of becoming broken. I'd rather have application programmers request features that will allow them to do what they want using some documented public interfaces, instead of looking high and low for how to trick Emacs into revealing some of its internals. So perhaps you could explain what feature/API/hook would you want to be added to Emacs so that powerline, whatever it is, could do its job reliably? Who knows, it might even be that such a feature already exists, or is easy to implement. Thanks.