unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 50141@debbugs.gnu.org, "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Subject: bug#50141: Current part of emacs red, other parts blue
Date: Sun, 22 Aug 2021 11:34:03 +0300	[thread overview]
Message-ID: <87h7fijd8g.fsf@mail.linkov.net> (raw)
In-Reply-To: <87lf4v3qwu.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 21 Aug 2021 14:48:01 +0200")

> However, Dan's request has come up a number of times (e.g., bug#12056,
> which I'm merging this with), so I'm wondering whether we should add
> something like this...  or at least add some infrastructure that would
> allow it.
>
> The obvious thing would be to run something from `select-window', but I
> don't see any obvious hook that we could be using there.  Am I missing
> something?  I was thinking about adding a minor mode for changing
> background colours in windows...
>
> On the other hand, if we want to add this, perhaps it'd make more sense
> to just add a new variable to change the background colour of
> non-selected backgrounds directly.

There was a similar request recently in bug#49844 to highlight
the active non-selected minibuffer only.  The latest patch uses
window-selection-change-functions and adds a window-local overlay
with a special face.

Adding a new variable would be nice to generalize such feature.
When it will contain a face name, then the minibuffer could set
it buffer-locally, so it will affect only the minibuffer for bug#49844.





  parent reply	other threads:[~2021-08-22  8:34 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
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 [this message]
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=87h7fijd8g.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=50141@debbugs.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).