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: 43396@debbugs.gnu.org, Teemu Likonen <tlikonen@iki.fi>
Subject: bug#43396: 27.1; Customized "cursor" face has no effect in daemon mode
Date: Wed, 30 Jun 2021 14:14:58 +0200	[thread overview]
Message-ID: <87fswz8s71.fsf@gnus.org> (raw)
In-Reply-To: <83k0mcoo86.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 29 Jun 2021 15:21:45 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> Yes, we have a design bug here (and in some other places):
> customizations that need GUI features don't work well when invoked at
> startup time in daemon sessions.  If someone knows how to fix
> custom-set-faces so that the face is re-evaluated when the first GUI
> frame is created, patches and/or ideas are welcome. 

Yeah, it's a tricky problem...  unless we just add some brute-forcing of
this when the first graphical frame is created.

That is, we just go through all the faces that have been created already
(with `custom-set-faces') when the user eventually creates a frame, and
then re-evaluate everything.

But...  it seems like there's so many possible negative repercussions to
doing that (if the user has changed the faces further outside the custom
machinery) that it sounds like a kinda chaotic thing to do.

Uhm...  perhaps we could have a `custom-reset-faces' function that
people can put in a server/client hook to achieve this if they want to?

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





  parent reply	other threads:[~2021-06-30 12:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-14 13:23 bug#43396: 27.1; Customized "cursor" face has no effect in daemon mode Teemu Likonen
2020-09-14 15:33 ` Eli Zaretskii
2020-09-14 15:58   ` Teemu Likonen
2021-06-12 12:22   ` Lars Ingebrigtsen
2021-06-12 12:47     ` Eli Zaretskii
2021-06-13  7:56       ` Eli Zaretskii
2021-06-28 10:09         ` Teemu Likonen
2021-06-28 11:54           ` Eli Zaretskii
2021-06-28 12:51             ` Teemu Likonen
2021-06-28 14:53               ` Eli Zaretskii
2021-06-28 17:07                 ` Teemu Likonen
2021-06-28 17:24                   ` Eli Zaretskii
2021-06-28 18:47                     ` Teemu Likonen
2021-06-29 12:21                       ` Eli Zaretskii
2021-06-29 13:38                         ` Teemu Likonen
2021-06-30 12:14                         ` Lars Ingebrigtsen [this message]
2021-06-30 12:29                           ` Eli Zaretskii

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=87fswz8s71.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=43396@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=tlikonen@iki.fi \
    /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).