From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.devel Subject: Re: [External] : Easy way to make Emacs look more "modern" Date: Sun, 10 Apr 2022 13:34:39 +0530 Message-ID: <877d7x2wko.fsf@gmail.com> References: <178b9fb6-0f1d-3f61-9397-1c376255db62@grinta.net> <87bkx93bjs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8120"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Daniele Nicolodi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 10 10:14:58 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 1ndSin-0001xS-Ph for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Apr 2022 10:14:57 +0200 Original-Received: from localhost ([::1]:54766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndSim-0006tZ-DZ for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Apr 2022 04:14:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndSZI-0004Qm-3G for emacs-devel@gnu.org; Sun, 10 Apr 2022 04:05:09 -0400 Original-Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:34706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndSZF-0003PM-Ub for emacs-devel@gnu.org; Sun, 10 Apr 2022 04:05:07 -0400 Original-Received: by mail-pl1-x642.google.com with SMTP id n8so11451328plh.1 for ; Sun, 10 Apr 2022 01:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=P63hLzKwwj47fhsPQOPzmLUoqAn8EJ/IgC/xMTiPWrE=; b=AqQcafy2kYa+kUEYEzKyrd4y3b6DLu98kA8XV1vEHqOZIKx7TgNKgBBZHNPKWLxium z7Vpc1M3axi6/Vxc9jJrzIOXHCWYRr/4UnKyIU7H6DH2oUncqZgHFlh9/6CMdSOcDzmR uRW0sg+a9VbXEyjHaczJBg983gXmgYbuCM0gG38I2TC8+IH8mo67uMYaH3uIxGyR0XiF 3IK7ifMehisNqP8LQZiuuDyFy8MCoOuHNGK13ju69K95Fy3BxE7isrK7Lmtd+21y4iBN SEc6ZoQlGUd7b4Q4ZmDHTNrCMcIL7emkGicaNliTjg0nane11MCv83UHHIjQlyzCbRRV KbjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :date:in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=P63hLzKwwj47fhsPQOPzmLUoqAn8EJ/IgC/xMTiPWrE=; b=gKuJKbEGRoNkB3ZQa0wJhmfu17xo39zdTOTIW7I+BKii6VDQy6YyNu2d57RA4E+Q0z ie6yolejiuOA8vVO7zlorHqY+x2MArkg1J5g7+i86G12DzFomQtC/sxcquJ/erOlFQa6 TVk94wXvR7MDFX8BsoMU5rmWORWpG1Vt6+hs6E4jgMZ9NWN4lXEIyEOd7QQtsn5spr9u jNNlr+llkWBE8wvE8uk/iwx7Bm3bvunScrRG4dof3H+X6bWMHqs1Kcp83dpuytS08RBZ HxTn8hWKjuJRnB5QnIz4imVJpcUTLyS6+o31InAc2HjSU8l33utyqobfndz4l2FzhxLO 2qww== X-Gm-Message-State: AOAM531OLQ8bCMj20oipgQ415y3FTmFITkC3mHNwJV/6fzd2naI+E3dX +liWQIUBRw/6UGkXoLBNXn1jTvBaYQs= X-Google-Smtp-Source: ABdhPJyZAypk6iyb7FQkRvWfru6rO5p36bom67IiM9LHvxUuxKETIjdg+xSJuSP/uXuA1pDaZ20CcA== X-Received: by 2002:a17:90b:1bc6:b0:1c7:f32:3aa0 with SMTP id oa6-20020a17090b1bc600b001c70f323aa0mr31062048pjb.168.1649577904418; Sun, 10 Apr 2022 01:05:04 -0700 (PDT) Original-Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id k10-20020a056a00168a00b004f7e2a550ccsm30769541pfc.78.2022.04.10.01.05.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 01:05:03 -0700 (PDT) Mail-Followup-To: Daniele Nicolodi , emacs-devel@gnu.org In-Reply-To: (Daniele Nicolodi's message of "Sun, 10 Apr 2022 08:38:17 +0200") Received-SPF: pass client-ip=2607:f8b0:4864:20::642; envelope-from=visuweshm@gmail.com; helo=mail-pl1-x642.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 10 Apr 2022 04:12:59 -0400 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:288115 Archived-At: [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=8F=E0=AE=AA= =E0=AF=8D=E0=AE=B0=E0=AE=B2=E0=AF=8D 10, 2022] Daniele Nicolodi wrote: > On 10/04/2022 04:41, Visuwesh wrote: >> [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=8F=E0=AE= =AA=E0=AF=8D=E0=AE=B0=E0=AE=B2=E0=AF=8D 10, 2022] Drew Adams wrote: >>=20 >>> [...] >>> 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? > Latter. > 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. > I would personally add no padding. The mode-line already takes enough space, adding padding to it only worsens the problem (and as I said, the scroll-bar looks odd with a large mode-line); I personally set the font height to be a bit smaller than the default face's. I also believe that 3d box adds to the accessibility part but if the maintainers decide to remove it, I will add it back to my theme. > Cheers, > Dan