From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master d014a5e: Use fixed-pitch font for display-line-numbers Date: Sat, 15 Jul 2017 10:08:09 +0300 Message-ID: <83bmomfa92.fsf@gnu.org> References: <20170711151708.4322.33014@vcs0.savannah.gnu.org> <20170711151709.2AE9822E0A@vcs0.savannah.gnu.org> <8760eyv7mc.fsf@holos> <83h8yhiuy3.fsf@gnu.org> <83wp7cgwie.fsf@gnu.org> <83k23cgny7.fsf@gnu.org> <87shi08562.fsf@lylat> <834lufh5gc.fsf@gnu.org> <87d192k1bs.fsf@lylat> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1500102502 865 195.159.176.226 (15 Jul 2017 07:08:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Jul 2017 07:08:22 +0000 (UTC) Cc: mvoteiza@udel.edu, emacs-devel@gnu.org, yuri.v.khan@gmail.com To: Alex Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 15 09:08:18 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWHBS-00086d-8z for ged-emacs-devel@m.gmane.org; Sat, 15 Jul 2017 09:08:10 +0200 Original-Received: from localhost ([::1]:41005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWHBX-0001Cz-Rd for ged-emacs-devel@m.gmane.org; Sat, 15 Jul 2017 03:08:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWHBR-0001Ct-Dp for emacs-devel@gnu.org; Sat, 15 Jul 2017 03:08:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWHBN-0004Gu-C7 for emacs-devel@gnu.org; Sat, 15 Jul 2017 03:08:09 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWHBN-0004Gf-8F; Sat, 15 Jul 2017 03:08:05 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1322 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dWHBM-0004cu-Fj; Sat, 15 Jul 2017 03:08:04 -0400 In-reply-to: <87d192k1bs.fsf@lylat> (message from Alex on Fri, 14 Jul 2017 18:09:43 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216673 Archived-At: > From: Alex > Cc: yuri.v.khan@gmail.com, mvoteiza@udel.edu, emacs-devel@gnu.org > Date: Fri, 14 Jul 2017 18:09:43 -0600 > > What about just removing Consolas from the "Monospace Serif" list, > since it's the only sans-serif font in that list? That would make > things a bit more consistent. It would mean that Windows would > default to courier though, so maybe it's not worth it. Yes, Courier looks ugly on Windows. Moreover, the entire Monospace Serif family was invented to fix a problem with displaying tex-verbatim and Info-quoted faces (see bug#19889), which are quite important to us. Fixing that minor annoyance wasn't simple, and it was done just a year ago, so I wouldn't rush to make changes in this quite fragile setup. (Note that the faces using this family must be different from default, where they are used for tex-verbatim and Info-quoted. Also note that Consolas is also for macOS.) It's probably a good idea to add a comment there saying that Consolas is sans-serif, though. > > I have now reverted the change which prompted this sub-thread; I hope > > that will make everyone (except James, perhaps ;-) happier, and we can > > put this issue to rest. > > Thanks, that's good to hear. However, it is a bit disappointing that > there's no easy way to specify a face that uses the default face if it's > monospaced, and otherwise falls back to a font that is. Maybe there is, it's just that I couldn't think of one. Maybe the problem that led me to try to use something other than default is not a grave one, and doesn't require an out-of-the-box solution; we should wait and see. > Alternatively, what about using fixed-pitch-serif for line-number on > Windows, and fixed-pitch on other platforms? Only if necessary, as platform-specific defaults should be avoided as much as possible. (There's also the NS case, where I'm not sure what happens.)