GNU bug report logs - #50141
Current part of emacs red, other parts blue

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 21 Aug 2021 06:06:01 UTC

Severity: wishlist

Merged with 12056

Found in version 24.1.50

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>, larsi <at> gnus.org
Cc: 50141 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: bug#50141: Current part of emacs red, other parts blue
Date: Sat, 21 Aug 2021 15:55:57 +0200
>> buffer-list-update-hook sounds like that infrastructure.

`window-selection-change-functions' please.

> But I think the real problem is how to define a window-specific
> default face.  It's not easy, and I'm not sure it will work.
> Something using the :filtered thingy, I guess?  But I'm not sure it
> will work for the default face.
>
> Basically, faces were never designed to be window-specific.  Even
> making them buffer-specific (via face-remapping-alist) is somewhat
> tricky.

Here I can write

(set-window-face-remapping-alist nil '((default (:background "yellow") default)))

It was pretty trivial to implement but lifting it from the rest of my
changes might be non-trivial.  If people are very, very interested, I
can give it a try.

martin




This bug report was last modified 3 years and 296 days ago.

Previous Next


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