GNU bug report logs -
#16874
24.3.50; Regression in active window detection
Previous Next
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
Message #20 received at 16874 <at> debbugs.gnu.org (full text, mbox):
[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.