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


Message #46 received at 50141 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: larsi <at> gnus.org, 50141 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#50141: Current part of emacs red, other parts blue
Date: Sat, 21 Aug 2021 17:02:46 +0200
> But the request here is not to do this for a particular window, the
> request is to do this for _any_ window when it is selected.

We'd have to add a minor mode that puts its function on
`window-selection-change-functions'.  That function would simply move
the background from the old selected window to the new selected window
like

(set-window-face-remapping-alist
 (old-selected-window) '((default (:background nil) default)))
(set-window-face-remapping-alist
 nil '((default (:background background-of-selected-window) default)))

What else would we want?

martin





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

Previous Next


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