From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: How to make Emacs popular again: Use monospaced fonts less Date: Tue, 13 Oct 2020 23:00:51 +0300 Organization: LINKOV.NET Message-ID: <87lfgahtcw.fsf@mail.linkov.net> 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: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31565"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 13 22:20:55 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 1kSQn1-00086m-7R for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Oct 2020 22:20:55 +0200 Original-Received: from localhost ([::1]:34940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSQn0-0000Oh-8b for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Oct 2020 16:20:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSQlh-0007ec-TZ for emacs-devel@gnu.org; Tue, 13 Oct 2020 16:19:33 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:60927) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSQlc-0006t6-N5 for emacs-devel@gnu.org; Tue, 13 Oct 2020 16:19:33 -0400 X-Originating-IP: 91.129.102.160 Original-Received: from mail.gandi.net (m91-129-102-160.cust.tele2.ee [91.129.102.160]) (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 913ED1BF20B; Tue, 13 Oct 2020 20:19:24 +0000 (UTC) In-Reply-To: <87ft6lgw5y.fsf_-_@gnus.org> (Lars Ingebrigtsen's message of "Sun, 11 Oct 2020 07:37:45 +0200") Received-SPF: pass client-ip=217.70.183.201; envelope-from=juri@linkov.net; helo=relay8-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/13 16:19:23 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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:257577 Archived-At: > So here's my most controversial suggestion ever: > > diff --git a/lisp/faces.el b/lisp/faces.el > index 5b7e0a5aee..e6f65a5901 100644 > --- a/lisp/faces.el > +++ b/lisp/faces.el > @@ -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)) > > In addition to looking nicer, it means we can fit more data into the > mode line. I tried this, and the mode-line looks much nicer indeed, but this improvement is unusable because the mode-line jumps left and right when the buffer is saved, the cursor is moved, etc. Is it possible to leave monospaced fonts on parts of the mode-line that change often (mode-line-modified, mode-line-position), and put variable-pitch only on parts of the mode-line that don't change often (mode-line-buffer-identification, mode-line-modes…)