unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Rudolf Schlatte <rudi@constantly.at>
Cc: 53458@debbugs.gnu.org
Subject: bug#53458: [Request, Linux] Follow system dark mode user preference
Date: Sun, 23 Jan 2022 21:14:50 +0800	[thread overview]
Message-ID: <87k0eqr3ud.fsf@yahoo.com> (raw)
In-Reply-To: <m18rv6k94b.fsf@constantly.at> (Rudolf Schlatte's message of "Sun, 23 Jan 2022 12:02:44 +0100")

Rudolf Schlatte <rudi@constantly.at> writes:

> The OS changes the title bar color etc., but such a change would let
> Emacs adapt frame contents, for example by changing the active theme.

For Emacs to change the GTK stylesheet when the system tells it to over
the XDG portal API doesn't mean it will necessarily be possible for Lisp
programs to obtain the name of the stylesheet being utilized, but I
think something like what Carbon Emacs has would be a good idea.

I'm not convinced that implementing the former is a good idea, since
changing the decoration style should be (and will probably be in the
future) handled by either GTK+ or the window manager, while these
standards come and go, but I am not opposed to the latter.

Patches welcome, thanks.





      reply	other threads:[~2022-01-23 13:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-22 22:14 bug#53458: [Request, Linux] Follow system dark mode user preference Maximiliano Sandoval via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-23  2:04 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-23 11:02   ` Rudolf Schlatte
2022-01-23 13:14     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]

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=87k0eqr3ud.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=53458@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=rudi@constantly.at \
    /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).