From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: night-mode? Date: Sun, 22 Nov 2020 19:09:45 +0300 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; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38528"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) 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 18:10:41 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 1kgssp-0009sf-Kt for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 18:10:39 +0100 Original-Received: from localhost ([::1]:37570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgsso-0001W9-M8 for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 12:10:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgsl7-0002dW-29 for emacs-devel@gnu.org; Sun, 22 Nov 2020 12:02:41 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:59511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgsl1-000275-7O; Sun, 22 Nov 2020 12:02:40 -0500 Original-Received: from localhost ([::ffff:41.202.241.56]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C0013.000000005FBA99A9.000037D3; Sun, 22 Nov 2020 17:02:33 +0000 Content-Disposition: inline In-Reply-To: <83mtz9xvzw.fsf@gnu.org> Received-SPF: pass client-ip=95.85.24.50; envelope-from=bugs@gnu.support; helo=static.rcdrun.com 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, 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:259626 Archived-At: * Eli Zaretskii [2020-11-22 18:17]: > > 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. Dark backgrounds are useful rather when it is dark around the user such as for those behind thick curtains or in garages without good lightning installations. This also includes wooden cabins that are dark inside but have solar powerered batteries to run computers. >From that context maybe `night-mode' wants to call itself `dark-mode' as it is useful in the darkness where brightness hurt eyes. > 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. There are those who have bright lights during the night and do not sleep due to long sessions of thinking and programming but who do not turn off the lights, and in that case those light backgrounds are quite pleasing. In other words day is not necessarily lighted and night is not necessarily dark.