From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Daniel_Mart=C3=ADn?= Newsgroups: gmane.emacs.devel Subject: Re: Dark mode by default Date: Sun, 13 Sep 2020 12:02:24 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28144"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 13 12:03:13 2020 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 1kHOqm-0007Es-Lh for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 12:03:12 +0200 Original-Received: from localhost ([::1]:41142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHOql-00005P-Ol for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 06:03:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHOqF-000886-TI for emacs-devel@gnu.org; Sun, 13 Sep 2020 06:02:39 -0400 Original-Received: from sonic306-19.consmr.mail.ir2.yahoo.com ([77.238.176.205]:34951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHOqD-0001w9-CO for emacs-devel@gnu.org; Sun, 13 Sep 2020 06:02:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1599991351; bh=GFugGd1BVls3+OE2n0x4zbCgO5CbwIr+DU33Zqdd/Z8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject; b=IttI34CEwtLbRrRFp/lpyU/2dFjo936lfax/GSdvXke4buaCPYvsD6KhLUAfUZOP2Zm4tZJE682li+QnWf4EnOUhrerh2YYvUCySCtr8wyZ+uUM8tgcUeL2AAgjHo+GP9qXlRYeUialv6AM0+w57Y7zlq+cFjtJ2izJDIOB11pBTf8DWpPPhnPJBIHvPutSRwwGXIn1Gq83iCmFdRIdflIGW96ZH+PbkhwX9Abb/P9Fji/b3IQS5Q8qO230BVa1RgOqUFSa2huyG2STsADEjho7UEF+T7BR8px0ZqMj5XHBv7e+8IWVxv2UtEayN7xlWysrqAasfGj0O/yn76/MKvw== X-YMail-OSG: f2.ruHEVM1lGWee_XqWN6XD9gjsgrcTmULWQZBrlZTr4.i1DqSUtU7FLqOXpJA5 9VONoE4ncZdp19SNODolgu3PDLeNmbgyY3EvzHBcQ2k8Xn8YT4qXLEOYkwqKl7GVPWuMepVAomxF PczbOM8ZBeWmPWdyLyX5MdQCczW6CjEJ9AgnrHS3Zgk2fCTdg7OiycAFHUErJRQ.FYJ3CtK7PCAs faYBqNavDq9kqXduZuKs5z4QwjxoklUWFjfbH6.BoDRG5YTGXr8K8PFUEt89f73jgrNkx49FbkcF SFI0pmqGFiaZOVSZJrR2dlJhOONiQLzfpi.7qeY9SVUbAq8DH9Phz6tAXNGTvn9V9OVW0xBLvGVn 6D9QW8eDgsl0_J_CXe24dlo73VFLooXebIKsK0uzYjTiYOSt.6_Pbewf0Dx_eg_6re.WIrBEKd4d y0vxmpu0gBroyhAgJxqE7Pf8kbuWAIaGJP6K_b.yKv.jrJwMEP1.EZqbEyKrfzNWj5kcw1tNPos. te80LdmEBdg6m4_USReumJw6BJwJUkQzy89O4tbe3bmqacOW1A_04ke7pDoQJRIH0Ewuqhr0pxSh 8v6N0Xs9RINBrvOo2n0tcRaOOAFCWpR.dwoimBKR4c6bsczJuJcqGLqXIBEp.a7TRY_qP9qA9d2w sbq4qIAuZ0h25CJ6F5YzcHCr9J61mW0U_Uo956C7e5H5wrrQIBvIKaVTy.eMvObgQMNzfyOMpGs_ he_gBS9GKGVeeoD0EjdSS6dvB7j.6ICb52.SvL5t__kfoS8o5sTNRX8.fEr6V_otAwNHi5HTQNXw 2LLuLEyFyzMra.QbHnXnz5yiuzjHqM5X1L80eItWO8 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ir2.yahoo.com with HTTP; Sun, 13 Sep 2020 10:02:31 +0000 Original-Received: by smtp417.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 9e5249564fde370a650cb83b4ba52aba; Sun, 13 Sep 2020 10:02:27 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Sat, 12 Sep 2020 18:01:59 -0400") X-Mailer: WebService/1.1.16565 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Received-SPF: pass client-ip=77.238.176.205; envelope-from=mardani29@yahoo.es; helo=sonic306-19.consmr.mail.ir2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/13 06:02:32 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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:255451 Archived-At: Stefan Monnier writes: > The recent proposal to use dark mode by default brings up a technical > question: I thought Emacs's default foreground and background colors > were not hardcoded by Emacs but were taken from the user's "general" > config (i.e. the desktop environment). In the case of macOS, Emacs does not use the system settings. Dark mode only darkens the menu bar and tool bar, but the buffer is still black text over white background. Some faces, like "region" *do* respect the macOS color setting, though. Most recent macOS applications usually offer three options for the default color theme, just in case someone wants to override the system setting for a particular application: - Light - Dark - Auto (just use the system setting)