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, jidanni@jidanni.org
Subject: bug#50141: Current part of emacs red, other parts blue
Date: Sat, 21 Aug 2021 15:28:25 +0200	[thread overview]
Message-ID: <87ilzz2ah2.fsf@gnus.org> (raw)
In-Reply-To: <838s0vym9i.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Aug 2021 16:12:41 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> buffer-list-update-hook sounds like that infrastructure.

But it's only run if NORECORD is nil...  But I guess that only happens
when we're not really displaying the window, but only selecting it to
select back to something else before the user notices?  So using it
should perhaps work...

Eli Zaretskii <eliz@gnu.org> writes:

> 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.

Yeah, I suspect we can't use faces here, but might have to add some new
window-specific background colour setting?  Which might be generally
useful, anyway.

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





  parent reply	other threads:[~2021-08-21 13:28 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 [this message]
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=87ilzz2ah2.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).