From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: How to make Emacs popular again: Use monospaced fonts less Date: Sun, 11 Oct 2020 15:41:13 -0400 Message-ID: References: <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> <87lfgciy9f.fsf@igel.home> <87h7r0io7t.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32859"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 11 21:42:34 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 1kRhEo-0008SL-KT for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Oct 2020 21:42:34 +0200 Original-Received: from localhost ([::1]:47126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRhEn-0006ia-MY for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Oct 2020 15:42:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRhDc-0005KK-HQ for emacs-devel@gnu.org; Sun, 11 Oct 2020 15:41:24 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:33622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRhDa-0007t0-5W for emacs-devel@gnu.org; Sun, 11 Oct 2020 15:41:19 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 72B7D80E1C; Sun, 11 Oct 2020 15:41:16 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D978E80853; Sun, 11 Oct 2020 15:41:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1602445274; bh=FPNrWMhJg9mTU2aLXumQM2C6Cx3FqdGLNhg1G7tThEw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=PtotICDTZ1Nhk5edSiXPPocbeeOA2sL+5bDHzMv5skixk1l6kpt/T+CxUbIMZBxG4 Pg1aCTYQInrON/jLQCHXFgHCiPpuyRRUsT2naBEcABafKD0/xsk7PaSHJcWagma4EC F/K7ybpxRaIczQ+zmObOQ/RkFT8wy2pubjwxZG+M9tvpAYJ+HAOITkRpAblnCiUXh1 mdgTI2ZIdYYkhOE7kPG2VuE0tHK+cscBI/M0/gpPl/E7u3B2Z0nAgT7wze1YqcSXxj 9G2qt2rG1wDif8trOQ1bqr5d3MBTG1XRXpGlVM1HLEuErTp4TCA1F1E7Zu81q6MsU7 RpKr6rdO/mP7g== Original-Received: from alfajor (unknown [157.52.9.240]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 652671203A6; Sun, 11 Oct 2020 15:41:14 -0400 (EDT) In-Reply-To: <87h7r0io7t.fsf@igel.home> (Andreas Schwab's message of "Sun, 11 Oct 2020 20:58:46 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/11 14:29:17 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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:257402 Archived-At: >>> Make sure that the header-line face does *not* inherit the >>> variable-pitch face. >> My header-line face uses the same variable pitch face as my mode line, >> so I'm not sure why you say the above. > Try hexl-mode. I use `nhexl-mode` ;-) It should be pretty easy to fix `hexl-mode` to do something like what `nhexl-mode` does (based on my experience with the various other packages I fixed over the years). But at least in `nhexl-mode` I still get a slightly incorrect result in the "right hand side ASCII area" because the digits of my variable-pitch font take up a bit more horizontal space than the chars of my monospaced font, so the "0123456789abcdef" string in the header-line ends up wider (by ~2 chars) than the 16 monospaced chars below. Luckily, it's the last field of the line, so it's not too bothersome, but admittedly it's unsatisfactory. I actually played with another approach which was to impose the same font in `nhexl-mode`s header-line as in the buffer's text, but after playing with it I decided that I preferred the variable pitch font, despite its downsides. Stefan