GNU bug report logs - #16874
24.3.50; Regression in active window detection

Previous Next

Package: emacs;

Reported by: Damien Cassou <damien.cassou <at> gmail.com>

Date: Tue, 25 Feb 2014 09:08:02 UTC

Severity: normal

Tags: notabug

Found in version 24.3.50

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Donald Curtis <d <at> milkbox.net>
To: rudalics <at> gmx.at
Cc: 16874 <at> debbugs.gnu.org, damien.cassou <at> gmail.com
Subject: bug#16874: 24.3.50; Regression in active window detection
Date: Thu, 6 Mar 2014 22:31:37 -0800
[Message part 1 (text/plain, inline)]
apologies for taking my sweet time in responding.

so what I am trying to do is set the modeline to be a bit different
depending on which window is currently selected. as it stands, there is a
`mode-line` face and a `mode-line-inactive face`. somehow emacs changes the
default face for each mode-line depending on whether it is for the "active"
window or not. I want to be able to customize other parts of the mode-line
depending on whether it is selected or not.

for example, you cannot make the `mode-line-buffer-id` face different
depending on whether its being displayed in the active window or not.

so the code I had written was able to detect whether the mode-line was
being displayed in the active window or not.

now that things have changed, my code falls on its face. the currently
suggested method is to wrap advice around the "select-window" function and
add a few hooks.
[Message part 2 (text/html, inline)]

This bug report was last modified 11 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.