unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: larsi@gnus.org, 50141@debbugs.gnu.org, jidanni@jidanni.org
Subject: bug#50141: Current part of emacs red, other parts blue
Date: Sat, 21 Aug 2021 17:02:46 +0200	[thread overview]
Message-ID: <ce791322-d611-1518-5b56-fa6b7949c971@gmx.at> (raw)
In-Reply-To: <834kbizyko.fsf@gnu.org>

 > 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






  reply	other threads:[~2021-08-21 15:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-21  6:05 bug#50141: Current part of emacs red, other parts blue 積丹尼 Dan Jacobson
2021-08-21  6:49 ` Eli Zaretskii
2021-08-21 12:48   ` Lars Ingebrigtsen
2021-08-21 13:12     ` Eli Zaretskii
2021-08-21 13:23       ` Eli Zaretskii
2021-08-21 13:55         ` martin rudalics
2021-08-21 14:01           ` Eli Zaretskii
2021-08-21 15:02             ` martin rudalics [this message]
2021-08-21 14:14           ` Lars Ingebrigtsen
2021-08-21 13:28       ` Lars Ingebrigtsen
2021-08-21 13:36         ` Eli Zaretskii
2021-08-21 13:51           ` Lars Ingebrigtsen
2021-08-21 14:01             ` Gregory Heytings
2021-08-21 14:12               ` Lars Ingebrigtsen
2021-08-21 15:03                 ` martin rudalics
2021-08-21 15:08                   ` Lars Ingebrigtsen
2021-08-21 15:23                     ` martin rudalics
2021-08-21 15:35                       ` Eli Zaretskii
2021-08-21 17:53                         ` Gregory Heytings
2021-08-22  8:34     ` Juri Linkov
2021-08-22 21:47       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ce791322-d611-1518-5b56-fa6b7949c971@gmx.at \
    --to=rudalics@gmx.at \
    --cc=50141@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).