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: [External] : Easy way to make Emacs look more "modern" Date: Sun, 10 Apr 2022 08:38:17 +0200 Message-ID: References: <178b9fb6-0f1d-3f61-9397-1c376255db62@grinta.net> <87bkx93bjs.fsf@gmail.com> 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="24909"; 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: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 10 08:40:06 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 1ndREz-0006LN-Df for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Apr 2022 08:40:05 +0200 Original-Received: from localhost ([::1]:51214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndREy-0005x4-2c for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Apr 2022 02:40:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndRDK-00059q-CA for emacs-devel@gnu.org; Sun, 10 Apr 2022 02:38:22 -0400 Original-Received: from grinta.net ([109.74.203.128]:35170) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndRDI-0000Aj-H9 for emacs-devel@gnu.org; Sun, 10 Apr 2022 02:38:22 -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 616ECE04FB for ; Sun, 10 Apr 2022 06:38:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=grinta.net; s=2020; t=1649572698; bh=biyPpWUJQWCJGcPkIFrg4IQqpL3gx+t0OjhLkX3ywM4=; h=Date:Subject:To:References:From:In-Reply-To:From; b=lxPigBfepsqMQIFsHwGfPNi7LcQtJhGaQ59X5MBjdgGoeMpWyttw0/nmkOY4Iw2y1 WBeLO+2FedAGcqDqfi5jHpzJPHW5QzkXNvA+pAVBC59YMmTZS3o40oHfUd1qC4428y WVEG5pdEjf13LrYEGPeAz6mRUHvuIt5ircfvrx1/2RNL67GMLNSDf3wmmWIjGOza0e wOnZ9Nv9D1p5VVDQaWpWKH+ayjlz4YnSHE2U/GNmjAyZAOfQ0q2LZ5Y9S+P+hxYJoo gRr6gvYFzCo9StysSf6GvRu8f23x4NtoL81XNxCTwI8rbQ5O1rWvqwKBGR/vflt6RC ZgQ+EcywV0I5A== Content-Language: en-US In-Reply-To: <87bkx93bjs.fsf@gmail.com> 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:288101 Archived-At: On 10/04/2022 04:41, Visuwesh wrote: > [ஞாயிறு ஏப்ரல் 10, 2022] Drew Adams wrote: > >>>> There's less contrast in the backgrounds of >>>> active and inactive than what we've had - > so it's harder to see >>> which is active. >>> >>> How do you define contrast? I am proposing to change only the box >>> color: >>> the active box color to a lighter shade and the inactive one to a >>> lighter shade. I think the contrast overall is unchanged. But I admit >>> that I haven't mathematically computer it. >> >> I just pulled up Emacs 27.2 twice (`emacs -Q') >> and applied your code in one of those instances. >> >> Opened two buffers in two frames, in each instance, >> to compare. >> >> It's easier without your changes to tell which >> window is selected (active mode-line). Nothing >> mathematical. Try it, and I think you'll see what >> I mean. >> > > +1. The contrast is really poor. This is why I like the Emacs default: > the difference in the background colour combined with the different box > style makes it easy to find the active window. Moreover, the padding > around the mode-line is excessive and with the scroll-bar turned on, it > looks funny. Thank you for giving it a spin. I appreciate the comments. Is this with the minimal change I propose, or with the extended one that also changes the background colors? I should also add that I have different preferred color themes and tweaks for different monitors and different work environments. I used for a while the flattened mode-line only in one combination of these. It seems fine here, but I may come to your same conclusion in other setups. I think restoring the contrast is very easy tweaking the distance between the background colors. Maybe the merit of removing the 3D box and increasing the padding (box line width technically) should be evaluated separately from the exact choice of colors. Cheers, Dan