From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68766: 29.2; Windows dark/light mode changes does not reflect on Emacs Title bar/Scrollbar Date: Sat, 03 Feb 2024 11:57:00 +0200 Message-ID: <8634u950r7.fsf@gnu.org> References: <874jeuoaqh.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20193"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68766@debbugs.gnu.org To: "Rahul M. Juliato" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 03 10:57:59 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rWCmc-00054K-Vj for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Feb 2024 10:57:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWCmV-00056P-T5; Sat, 03 Feb 2024 04:57:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWCmV-00056H-0u for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2024 04:57:51 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rWCmU-0002rV-P9 for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2024 04:57:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rWCmf-0002xz-W9 for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2024 04:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Feb 2024 09:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68766 X-GNU-PR-Package: emacs Original-Received: via spool by 68766-submit@debbugs.gnu.org id=B68766.170695424311358 (code B ref 68766); Sat, 03 Feb 2024 09:58:01 +0000 Original-Received: (at 68766) by debbugs.gnu.org; 3 Feb 2024 09:57:23 +0000 Original-Received: from localhost ([127.0.0.1]:45892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWCm3-0002x8-4j for submit@debbugs.gnu.org; Sat, 03 Feb 2024 04:57:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWCm1-0002ww-UF for 68766@debbugs.gnu.org; Sat, 03 Feb 2024 04:57:22 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWCll-0002ix-C6; Sat, 03 Feb 2024 04:57:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=HqFq9tcZqRQ8czjy4VP42oe5q3DFhN0GeE8kJXOd0hE=; b=E8cQRoGBamAI R/QOh5CrzgU/m9HHnibZEwXcVhb9OKH1Ix+I3rpbGBvkapNvFyW2nr8WuF5s7ilpEY9qWfud93C3Q o2mInE4Br8PZy+czIzsSmthS/5J+XTvB6byZQlWuUpNNXx0eru1n44rjSe01j/FD6jfO5Ds+gnA/N c+BWp/cM0nFzI4x4mFV/eXzzxhlDRdr5zbD95FsjJvZrW+le8MnEI89oxbyR7EPpW4LzUIKOYYR+y VY1HAPv/n/OqXQhGGJRypXhbbGq9CkNVdbxFwfwBkddTNurAHi/jA/l4gqXNdCACu0mGtj9wGkd5w oe73gGCpKni7LsiH0+k9ew==; In-Reply-To: <874jeuoaqh.fsf@gmail.com> (rahuljuliato@gmail.com) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:279369 Archived-At: > From: "Rahul M. Juliato" > Cc: 68766@debbugs.gnu.org > Date: Tue, 30 Jan 2024 16:57:26 -0300 > > Hello there again! > > > Regarding the side discussion Stefan and Eli were commenting on (and if I am > polluting this thread, please tell me where we can take this conversation). > > > I'd be more than happy if `auto-dark-mode` or some version > of it gets added to Emacs or some other more "official" package archive than > MELPA. I am also happy to help on any other matter I can contribute. > > > Just to be clear of what the package does: > > - User sets a variable with "dark-mode" theme name; > > - The same for "light-mode" > > - Starts the minor mode either manually or on boot (auto-dark-mode) > > - Emacs changes between these themes whenever system changes its dark/light > mode internal state > > - Also works with Doom Emacs and Spacemacs > > > Systems supported by the detection mechanism: > > - macos: using `emacs-plus` (faster detection method) or any other emacs build > falling back to osascript (a little slower detection method) > > - gnu/linux: trough dbus with Gnome or gnome modules installed booting another > WM, such as Sway or i3 > > - android: using `Termux` > > - windows: through powershell or winreg Regarding the Windows solution: aren't there better alternatives than using Powershell or Registry? I'd prefer doing this programmatically in C using some suitable APIs, if possible.