From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: How to make Emacs popular again: Use monospaced fonts less Date: Sun, 11 Oct 2020 09:28:22 +0300 Message-ID: <1F8F3522-1E6C-40A3-B61A-B9B84FC0AD18@gnu.org> References: <87o8ls1vvq.fsf@posteo.net> <20200926145302.sjrwjrguf5ialc25@Ergus> <3201a9fe-de19-d553-0be1-d379f182fd47@yandex.ru> <84273aa2-24a9-7584-18b9-03a5ac783d62@yandex.ru> <835z7vjrg3.fsf@gnu.org> <83tuvegkmo.fsf@gnu.org> <83v9ftf6n9.fsf@gnu.org> <835z7qfp6h.fsf@gnu.org> <87ft6lgw5y.fsf_-_@gnus.org> 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="4502"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android To: emacs-devel@gnu.org,Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 11 08:30:09 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 1kRUrx-00015Z-Ia for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Oct 2020 08:30:09 +0200 Original-Received: from localhost ([::1]:47316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRUrw-0003br-Fx for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Oct 2020 02:30:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRUql-00038g-86 for emacs-devel@gnu.org; Sun, 11 Oct 2020 02:28:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47980) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRUqk-0005q4-Sq; Sun, 11 Oct 2020 02:28:54 -0400 Original-Received: from [2a02:14f:1ff:3699::a188:9874] (port=55716) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1kRUqI-0002Qd-Ck; Sun, 11 Oct 2020 02:28:54 -0400 In-Reply-To: <87ft6lgw5y.fsf_-_@gnus.org> 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:257344 Archived-At: On October 11, 2020 8:37:45 AM GMT+03:00, Lars Ingebrigtsen wrote: > One of the reasons Emacs looks kinda old-fashioned is that we use > monospaced fonts all over the place=2E Now, when programming and stuff, > a > monospaced font is preferred, but in other contexts, it looks pretty > old-fashioned=2E >=20 > So here's my most controversial suggestion ever: >=20 > diff --git a/lisp/faces=2Eel b/lisp/faces=2Eel > index 5b7e0a5aee=2E=2Ee6f65a5901 100644 > --- a/lisp/faces=2Eel > +++ b/lisp/faces=2Eel > @@ -2553,6 +2553,7 @@ mode-line-faces > (defface mode-line > '((((class color) (min-colors 88)) > :box (:line-width -1 :style released-button) > + :inherit variable-pitch > :background "grey75" :foreground "black") > (t > :inverse-video t)) >=20 > In addition to looking nicer, it means we can fit more data into the > mode line=2E >=20 > Other obvious candidates for variable-pitching are basically any mode > that displays data in tabular form=2E And, of course, the manuals, but > that'll happen by itself once we move from =2Einfo to =2Ehtml=2E We cannot just switch to variable-pitch font and leave the rest unchanged= =2E Using a variable-pitch font will cause an annoying horizontal movement= of the mode-line stuff when some parts change=2E For example, moving in t= he buffer will change the column and line numbers, and everything to the ri= ght of that will as result shift slightly in the horizontal direction=2E So to use variable pitch fonts here (and in any other tabjlar display), we= 'd need to use 'align-to' display properties to keep the other parts from m= oving=2E