unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 50141@debbugs.gnu.org, "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Subject: bug#50141: Current part of emacs red, other parts blue
Date: Sat, 21 Aug 2021 14:48:01 +0200	[thread overview]
Message-ID: <87lf4v3qwu.fsf@gnus.org> (raw)
In-Reply-To: <83pmu7z3zg.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Aug 2021 09:49:55 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> Emacs's way to mark the current window is by changing the way the mode
> line is displayed.

There's also `cursor-in-non-selected-windows', which is another
kinda-sorta subtle indicator.

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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-08-21 12:48 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 [this message]
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
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=87lf4v3qwu.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=50141@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=jidanni@jidanni.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).