From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniele Nicolodi Newsgroups: gmane.emacs.devel Subject: Re: Easy way to make Emacs look more "modern" Date: Sat, 9 Apr 2022 23:34:40 +0200 Message-ID: References: <492f0b5a-798e-e9d0-9921-1d9b0ad49c12@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9640"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 To: Dmitry Gutov , Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 09 23:36:07 2022 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 1ndIkY-0002KT-Nt for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Apr 2022 23:36:06 +0200 Original-Received: from localhost ([::1]:48994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndIkX-0004EY-P9 for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Apr 2022 17:36:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndIjF-0003RL-0O for emacs-devel@gnu.org; Sat, 09 Apr 2022 17:34:45 -0400 Original-Received: from grinta.net ([109.74.203.128]:35164) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndIjC-00031m-OX for emacs-devel@gnu.org; Sat, 09 Apr 2022 17:34:44 -0400 Original-Received: from [192.168.1.220] (p4fe7177f.dip0.t-ipconnect.de [79.231.23.127]) (Authenticated sender: daniele) by grinta.net (Postfix) with ESMTPSA id 479F2E07DC; Sat, 9 Apr 2022 21:34:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=grinta.net; s=2020; t=1649540081; bh=tGk05NfezaiZzr4eKq/ikiGnui+IYd/JsSwJuzSqpjI=; h=Date:Subject:To:References:From:In-Reply-To:From; b=exU8hU7K2lP+BcOEZmgb0VEW/9pjRe0BRhGYF2Fnutub3HLt958+Fxr37FlIwebf/ SABwh6236h7Yk7f4ZbIMtRYOHL5uJ7Oi/CFkywpTtHQI6oG9f3hG598QW4TvIC8tax ZsXi+iRm6pVhJsmbBhlYE+Q67GkYRGQ+eoVYmuJJ838RmXBJ0jS3TQLjk1gwSMvvT2 CM0PhJMxTsxVSxPqYGcbn1btb64OY2Rwem3dJya1hlS/S2TfEfn5TWX/LfUhTVVUQH XbHDmjMyLkSn/j63b+WFCQvIQMaadgJ1sVuhH1LC4kMqcXJ04Va78YTv2eJLHxXRM3 Wvr1PAf0XHwog== Content-Language: en-US In-Reply-To: <492f0b5a-798e-e9d0-9921-1d9b0ad49c12@yandex.ru> Received-SPF: pass client-ip=109.74.203.128; envelope-from=daniele@grinta.net; helo=grinta.net 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, NICE_REPLY_A=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:288061 Archived-At: On 09/04/2022 23:25, Dmitry Gutov wrote: > Hi! > > On 10.04.2022 00:13, Daniele Nicolodi wrote: >> (set-face-attribute 'mode-line nil >>                     :height 110 >>                     :background "grey88" >>                     :box '(:line-width 4 :color "grey88" :style nil)) >> (set-face-attribute 'mode-line-inactive nil >>                     :height 110 >>                     :background "grey95" >>                     :box '(:line-width 4 :color "grey95" :style nil)) > > That actually does look better. Or more "modern", at least. > > Another thing I would suggest -- is use lighter background for the > currently selected window (compared to the unselected). That is, I'd > swap the faces in the two statements above. > > Emacs currently defaults to the light-background theme and uses a darker > background in the mode-line of the current window. That makes is lower > contrast than the non-selected ones. It feels counter-productive and > seems to go against the contemporary practice in this area. I actually like the way it looks by default. This is why I classified the change of color as a very subjective preference. Note that the inactive windows get a lower contrast modeline via a thinner font (if you use a font that support thin weights, many do not) and a lighter foreground. Changing the box style minimally invasive but IMHO improves the look significantly. Of course others may disagree and this is why Emacs is maximally customizable :-) Cheers, Dan