From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: night-mode? Date: Sun, 22 Nov 2020 17:38:46 +0100 Message-ID: References: <87zh3awu11.fsf@mail.linkov.net> <87tuth6c30.fsf@mail.linkov.net> <83mtz9xvzw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27721"; 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, monnier@iro.umontreal.ca, Juri Linkov To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 22 17:39:45 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 1kgsOs-00072C-OJ for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 17:39:42 +0100 Original-Received: from localhost ([::1]:41004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgsOr-0005QG-R6 for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 11:39:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgsO7-0004lC-2r for emacs-devel@gnu.org; Sun, 22 Nov 2020 11:38:55 -0500 Original-Received: from mail-am6eur05olkn2026.outbound.protection.outlook.com ([40.92.91.26]:47265 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgsO3-0000rr-Kk; Sun, 22 Nov 2020 11:38:54 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aiyXTm2jkxnsfVbFTXgsnh2CdEjVnOxRm3CCi3sr4F5kXAUXEi5CQTOrjcga8RpZu0fL8Mr6KYMjLb/0gKYtq7uy4LwA0/dG/OG/QjLisWiDEG81gbRkpUIwTS6b18mARdUHuEvenfPtkg8v9dBV4QVI9lU1O8adfWl47x1o9TKByitN6kl2LdGHpxB6M6SgJ9VfciBce1oTw6xvvS30PAmUU9FKb6IcEP5bN71cwPxmuYd67O5m2hCwEfJRQRcnUyvGkAEQpIwXgeepKy57VepSlMX9VbMfG61Lc+BDte+OMDq1Riw7RQnHDUmh8aPMatkYcBK4zm8LGEAoqHKr1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KZ2P7Ao3R5+SLr2wpzhmc7dsLGL8glBarla5KRI1/FA=; b=NIvuxhgqI0mN2ZfT0Optct+AirCd+qm3OesBYxk/WjvYyHvaTW0mQhG8DebugpEd6aie0dN/sSKEWtxdd3w9UJMRJZ6Cezro1XWsTqQIczKmNJ4ZYkNWipbw3yFjixg5Izw3oeptm8CD+DiFwLn5iZc2ynFnSjCsfhjS5ZHRAvdzJXD6pQhARF1Q7zIQ+tFINJRQgVcLVV4NRavYHFqcAt3SubUuzNlbHk4jqZ2QDWnp0Bkfgkt32m+uU/geNVy3Jejh0mpbgGKHEksG1jPASFuFM6DWphEwxQLfaJOjT9uHkJwx/9FWDE52Db3DaIskq6kwJWqC6QOL1r3XehnjGA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KZ2P7Ao3R5+SLr2wpzhmc7dsLGL8glBarla5KRI1/FA=; b=B4uhEZm/fDl7Z8uPqUnFAEPBXWXX6mCVmZD9Z3wxK76dk7mvaatmwjSiQYQycenkrTFrG9/fEaPYTyxKJxXQljAukDHjo1bTaXoHv8nxfm4huKkDLlhOtOV/yb5nquOd5aok2F9lI1mDZ0ut09lplxxLlmQAcOyms/zZszAuJcJn5S6YLnvEZ7XLJNMQUQVSja0DVGEVF8bj1f6iN+QohTt1QSo5oDUPho2/Rr+/Ng/ZW+GnIUHUKPCYCSzYN2/YNdUBoePKb0hnwI2j7lpfLnDo640Jl1OA5hGy5ZxOrZR3IBW3acxVxsuQMBsBzQwXPMZ/Kcnus9xnHVDbkaT1pw== Original-Received: from DB8EUR05FT020.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::43) by DB8EUR05HT090.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::427) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20; Sun, 22 Nov 2020 16:38:47 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:fc0f::42) by DB8EUR05FT020.mail.protection.outlook.com (2a01:111:e400:fc0f::136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20 via Frontend Transport; Sun, 22 Nov 2020 16:38:47 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:6F7E8D7AE8B9C7BC6138972CCC312D19258ACCF1298100EF62D91D3CF1D243EC; UpperCasedChecksum:439BD7DECBDA6FA7784B712DFDFA2E4C42CBEB8C64781065B4932E36A102DF45; SizeAsReceived:7556; Count:46 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993]) by AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993%7]) with mapi id 15.20.3589.029; Sun, 22 Nov 2020 16:38:47 +0000 In-Reply-To: <83mtz9xvzw.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Nov 2020 17:16:19 +0200") X-TMN: [mDhO5f7pBDUufFmNeNenOvd0xS1iOeBo] X-ClientProxiedBy: AM5PR0602CA0010.eurprd06.prod.outlook.com (2603:10a6:203:a3::20) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87o8jpjqi1.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM5PR0602CA0010.eurprd06.prod.outlook.com (2603:10a6:203:a3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20 via Frontend Transport; Sun, 22 Nov 2020 16:38:47 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: b1ab014e-3188-4646-ca65-08d88f051590 X-MS-TrafficTypeDiagnostic: DB8EUR05HT090: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +KyXQ5t+q4I2BKxmPDGO380wClIhsqzSZPT/p6GQtHeu7iPq+LLBSGYlR5WDtkoKVlTLlkBlQgk+twcvW8hTAFwic9P11Aj3kvln2XOeEvd5DpVmmS2elFzrIM9zpYQeZgeoEA8cAK51zR/vq3yWHlucdhCNomBisR4/ee3tZNlxJWvj7bACv5dCbscTRjiTqQKF+0Vx44xkUBJz8oQGIA== X-MS-Exchange-AntiSpam-MessageData: HwsW02sv89N+dRza2nJh8jb1Iik27bAtLchO74F5aV8hJVIJv2WUY+BZ/Q6fm2VAQLAsuucCVob0F4A7m5A08SRTPT3Ga8dmkgG12vk0yiahZlCLVxsmoMvdx23rRYlJpMzaNIpTSc6o49Kn2gWzmA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: b1ab014e-3188-4646-ca65-08d88f051590 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2020 16:38:47.7023 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB8EUR05FT020.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR05HT090 Received-SPF: pass client-ip=40.92.91.26; envelope-from=arthur.miller@live.com; helo=EUR05-AM6-obe.outbound.protection.outlook.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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:259624 Archived-At: Eli Zaretskii writes: >> From: Juri Linkov >> Date: Sun, 22 Nov 2020 10:40:19 +0200 >> Cc: emacs-devel@gnu.org >> >> diff --git a/lisp/startup.el b/lisp/startup.el >> index 9f67dfde12..71d640701b 100644 >> --- a/lisp/startup.el >> +++ b/lisp/startup.el >> @@ -834,6 +834,7 @@ tty-handle-args >> argval))) >> default-frame-alist)) >> ((member argi '("-r" "-rv" "-reverse")) >> + (setq night-mode t) >> (push '(reverse . t) >> default-frame-alist)) >> ((equal argi "-color") > > I don't see why we should consider -rv be the sign of "night". Many > people use dark backgrounds for reasons that have nothing to do with > the time of day, and -rv is not such a sign, either. > > I think we should ask users who'd want to have a special theme for the > night and that routinely use the dark-background colors what would > they like to see by night. It isn't enough just to invert the colors, > IMO. Indeed; it probably is not. Some themes are not designed to be inverted. Solarized is; but not all are. I think day/night theme should probably be treated as two different themes as they are. The fact that one is produced from the other is just an implementation detail .... By the way, I wonder how many users actually change their themes past first few days of amazement? Personally I would be annoyed if everything just changed beneagh my cursor; it would be like pulling the floor under my feet; but who am I to tell? I jump out of airplanes so I like being without floor sometimes :D.