From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: irek Newsgroups: gmane.emacs.help Subject: Re: Proportional font in the modeline Date: Mon, 14 Mar 2022 12:55:33 +0100 Message-ID: <87wngwg34a.fsf@gumen.pl> References: <87k0cwvoj4.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14484"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 14 12:56:45 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1nTjJc-0003Yc-Nv for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 14 Mar 2022 12:56:44 +0100 Original-Received: from localhost ([::1]:50528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTjJb-0001XD-7Z for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 14 Mar 2022 07:56:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTjIe-0001VZ-H7 for help-gnu-emacs@gnu.org; Mon, 14 Mar 2022 07:55:44 -0400 Original-Received: from mxcwn02.webd.pl ([194.181.228.14]:41476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTjIb-0000CD-PD for help-gnu-emacs@gnu.org; Mon, 14 Mar 2022 07:55:43 -0400 Original-Received: from wn02.int.webd ([192.168.101.102] helo=wn02.webd.pl) by mta01.webd.pl with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1nTjIX-0004n0-3u; Mon, 14 Mar 2022 12:55:37 +0100 Original-Received: from [192.168.101.231] (port=49499 helo=mta01.int.webd) by wn02.webd.pl with esmtp (Exim 4.93) (envelope-from ) id 1nTjIW-000L6j-Uc; Mon, 14 Mar 2022 12:55:36 +0100 X-Quarantine-ID: X-Virus-Scanned: amavisd-new at mxwn02.webd.pl Original-Received: from wn02.webd.pl ([192.168.101.102]) by mta01.int.webd (mxwn02.webd.pl [192.168.101.200]) (amavisd-new, port 10024) with ESMTP id ywf0v_55F3Qq; Mon, 14 Mar 2022 12:55:34 +0100 (CET) Original-Received: from public-gprs211335.centertel.pl ([46.134.164.200]:19408 helo=andrzej) by wn02.webd.pl with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1nTjIU-000L5R-D8; Mon, 14 Mar 2022 12:55:34 +0100 In-Reply-To: <87k0cwvoj4.fsf@mbork.pl> (message from Marcin Borkowski on Mon, 14 Mar 2022 11:03:59 +0100) Received-SPF: pass client-ip=194.181.228.14; envelope-from=mail@gumen.pl; helo=mxcwn02.webd.pl 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, SPF_HELO_NONE=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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136533 Archived-At: Marcin Borkowski writes: > I remember reading somewhere about a recent experiment with proportional > fonts in the modeline. I compiled a new Emacs (from master) a few days > ago, but the font is still fixed-width. How do i enable variable-width > fonts in the modeline? I believe that only tab-bar mode uses variable-pitch by default right now. In fact mode-line face was inheriting from variable-pitch as well. You can find that in commit 84bf9549860aae22931951d52b194b1fcfca1556 but later it was removed in commit 3f843b25dc96867043feebb1d928bde4a7a777a3 Quoting from commit 3f843b25dc96867043feebb1d928bde4a7a777a3: > (mode-line): Don't inherit from vaiable-pitch. So right now you have to force variable-pitch in mode line face by modifying mode-line face. I hope this clears all the confusion.