From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Dark mode on Windows Date: Mon, 25 Oct 2021 09:17:50 +0800 Message-ID: <87mtmx3nsx.fsf@yahoo.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13128"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "emacs-devel@gnu.org" To: Vince Salvino Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 25 03:19:05 2021 Return-path: Envelope-to: ged-emacs-devel@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 1meodk-0003Fp-V3 for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Oct 2021 03:19:05 +0200 Original-Received: from localhost ([::1]:56744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meodj-0002Lb-JA for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Oct 2021 21:19:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meocl-0001eg-Ol for emacs-devel@gnu.org; Sun, 24 Oct 2021 21:18:03 -0400 Original-Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]:36929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meocj-0004SV-Tj for emacs-devel@gnu.org; Sun, 24 Oct 2021 21:18:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635124680; bh=gU7sXvTEQ1VleB5kIDTb936/UpJyxJqF2kNRK9HQZP0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Xpu8aq7s3N6Gh0y1NN8+WnMuhUExvRS2NVlOeGPV4ExLTtl10KAm3JzaABwcbsO1XtJackNKFqRcaXl86C7wrNLc4ThLOzb0DQHhTQWk3LgjsF7WzPYq7baDPyj6xBtbKD9zVNDV3HqeJmt72cIgfFuNgiDNtnqncycmyzD6zfGrctu0ANfwZ5kb6UbNvisLYVsZrV/G4twcOnXG55WHRsoEf/+IHlY2DgwWelBFIFpVcgf0iwDQ4Gv8f1vzkY9ZDCh6Gq+RkpzJ96FeRSLSZ1cFxiazC43LlT8P1a4st4JiRdTFtOmikWYNb9HEyq99HO7uOgp8CkvgOf6lB9ovzw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635124680; bh=wWZ67COVOEYd1Twb0AAiqe/56NCfYZ60vD8MWfgiP8a=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=N6C5ZV5aIjaugtMMSsaqnQR0RJDXXXLhIgRkSg/MLppPRBGFfcpWDHaZ5vZwEE6eXr6Pn1Fvomdjit/r5SKkqskVeHPEgCbBkszq5kzI1ugDxPsNtzSaE59xhd0G4TeK5eyZicxfm8SHBGXKZ3cXhWUfjKbBHpTrPKEahD2ylQDrmbg0y1piN4TZBmFT3sP1gQ1fP4joHxQufr7jX06qseXHFmpKSEMMagAsJ1OrB6RZfy2qG0fIss3pLSBsBBIyjuEGmUq7e9wnM4ExCZYVMrHTc3mAAjLOxkKP3ZuznNwHlZ5zx2o+FtcUvIC/uihM6JqVQ/mQhkVjugmKw1OxTg== X-YMail-OSG: VzT0FY0VM1moWqnHTQJvecWTBgvJfzf6sC42quu4wqkzHRaLxJYTZPXYmUwj_Be pvdj7kgeCk0f2JHXs5EBzUY71dwRGcAvW4wdZExd3uU958dbiRAI5MhxUeHIba16CCKaBeO.RXzB gZXsf1.r42.gs2ylQIUVg8aZN_NdeOLdJWjM6HNqXjDwJit6yXuJW_NKv7a1m.ejlsQkWGSj54fv hmOyZNgSIbW3Qx3Om6tUWkPZ9CRlAsUPFMAwykdWOk9PXrqpe3toX9eKflipQfpkxd934L2Pk1vV 31zCkSr3ehKKoiF1nTAshV9CBqHoT1okCvtxfM2vHGV1UJIV7iC5lKVzrQcTHqDT16zFGGDJdRfD zZ81AFk57HjSgJcXMQ3s_FOGX8lk6l9AonHx5WNNSa7UZa0HLoWlrscFD3.zaEVAvBPGtSsBH8eS 1FEHp8VU3SRzaoY_Wwrzsw5BAg6sFK51IUXFJkqeas_6HNiE2KWsj0M_dMMFfWc7A_N0G42AYojk cfnXrxM0stPn4DPM1lyKwg14IONh7xPuWi_vV4T2If2HXooUo3w6tJ_8_2zOXqB_IKNZwIVuKEZ7 6jubGlPJO43UhNuzRUm8UZlC6zJoDfQ4xvm4VFnsm9vXXBtIrtW4HLtSlncShiQZr_gegBYSPGTI V7JyPt.901mJGUuSVmFjmuvOOyrW8cEMe6YmAAaCFD7Qy_M9pzW1vYhJofzJd0svgsR4EE_OV9vf BF66UE_ZwH_ntRYJNeaeLQ2MrELwvPCukB8yKvd5kIJ7l7YQsKPKTlot_SlX1YGdueNpYevz5mOR RZ8lluoYcdp6UWzQ8Slpzdu6xAOkbFdQ_LDSOFP4Oe X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Mon, 25 Oct 2021 01:18:00 +0000 Original-Received: by kubenode503.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 93a730bfaa51ea447dc5c3147c0d6c73; Mon, 25 Oct 2021 01:17:54 +0000 (UTC) In-Reply-To: (Vince Salvino's message of "Sun, 24 Oct 2021 22:27:05 +0000") X-Mailer: WebService/1.1.19198 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.33; envelope-from=luangruo@yahoo.com; helo=sonic313-10.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:277691 Archived-At: Vince Salvino writes: > Windows 10 has a system-wide =E2=80=9Cdark mode=E2=80=9D, which if suppor= ted by an > app, can tell the app to use dark title bars, scrollbars, etc. > >=20=20 > > In a fit of rage after staring at the blinding white titlebar on my > Emacs frame, I researched the issue and implemented =E2=80=9Cdark mode=E2= =80=9D in > Emacs for Windows (the rage had been building for years). > >=20=20 > > Here is a work in progress, which seemingly works quite well, but > needs a bit more work. Would anyone be able to help, or possibly help > get such a feature merged in? Is this feature available on free operating systems? The X11+GTK port, which runs on free operating systems, needs this feature. P.S. this is also a problem with the NS port. The ability to use a dark stylesheet for window decorations is only available on macOS, and not GNUstep.