From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.devel Subject: Re: master d014a5e: Use fixed-pitch font for display-line-numbers Date: Fri, 14 Jul 2017 18:09:43 -0600 Message-ID: <87d192k1bs.fsf@lylat> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500077406 12240 195.159.176.226 (15 Jul 2017 00:10:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Jul 2017 00:10:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: mvoteiza@udel.edu, emacs-devel@gnu.org, yuri.v.khan@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 15 02:10:00 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 1dWAeg-0002bm-Sj for ged-emacs-devel@m.gmane.org; Sat, 15 Jul 2017 02:09:55 +0200 Original-Received: from localhost ([::1]:40249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWAel-0003ke-WC for ged-emacs-devel@m.gmane.org; Fri, 14 Jul 2017 20:10:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWAef-0003kY-Q0 for emacs-devel@gnu.org; Fri, 14 Jul 2017 20:09:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWAec-00088u-I1 for emacs-devel@gnu.org; Fri, 14 Jul 2017 20:09:53 -0400 Original-Received: from mail-it0-x243.google.com ([2607:f8b0:4001:c0b::243]:36300) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWAec-00088m-DP; Fri, 14 Jul 2017 20:09:50 -0400 Original-Received: by mail-it0-x243.google.com with SMTP id k3so13820772ita.3; Fri, 14 Jul 2017 17:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=BMW6N5wFNIME35FrVNbSBKihSNOQqfr7IZwW98bXH78=; b=U/xX24DPNeq9PQfA8IV6t6JXizw8NytTG4CWmVUH0EGjCgWx89Kz9Bb72q06UBa40p XkuPVpCoqaNMvSO+wqS2bvwUPvsAvA/MPJf6JoRe9y2DJswN9RmGXqFsAE+hH0VZNeK2 vB9d7y2SI6cRQXToqtvsD0L1zfg2blBT2QSlym/SUzp/3GDdOlznfid6ob+w0EXTDZpr yIY7tuIvEy6ToH4jIq4khrknJrLFO4pguYVCQNrBiCDGYCeRhbgz10gRlXbFw5KbZX8A HJ1dbwIH9BRWoRc1lNxb4vx72PfPTPTkJkizfPpdvK5Cu+VEvsyoJOWXqTZomkLA5Ki4 32dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=BMW6N5wFNIME35FrVNbSBKihSNOQqfr7IZwW98bXH78=; b=Qy5b8mzCQl/0s29cNJrRyoiwgNHLm5ZVXe1scBVxMR4rTzPk6pVKXKxWlhfPFVcMmV n8KrM4sPgPghejC4wF/MKBK+RT9+hS4/5Igy3nUy2zGX9+RBYaJSITHZoLp1h4L5Qrum mmcokzUTSPlil0SvVzA/pgaZ2iWMQ2spDo1Tk9T3rx8NpG63pEeRtQ/79Lem2/6vYGJ5 QqphLfQwozBZOzja60m6glzbTwzhvNIA4hVMLdjuhnTo7nG7PkeP5LjZS4gG/EbS0Tdq eZrWhGamHFNASih+YveFU0xQZ7sWlXXYR2thcLs1iPDxHhg71dqUejSuqRWVLjw2Ig75 E3sg== X-Gm-Message-State: AIVw110Q6FL83WPsshLDcsrgiVbDc4cw6D2XaoNupg6bMO7Siodpfv0v j3e/qdMDQu7Csy9t X-Received: by 10.36.95.65 with SMTP id r62mr5814421itb.40.1500077389258; Fri, 14 Jul 2017 17:09:49 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id 81sm2191291itm.30.2017.07.14.17.09.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Jul 2017 17:09:48 -0700 (PDT) In-Reply-To: <834lufh5gc.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 14 Jul 2017 09:56:35 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::243 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:216664 Archived-At: Eli Zaretskii writes: >> From: Alex >> Cc: Yuri Khan , mvoteiza@udel.edu, emacs-devel@gnu.org >> Date: Thu, 13 Jul 2017 14:15:17 -0600 >> >> Where does the code tell a different story? If you mean >> `face-font-family-alternatives', then I believe it is faulty (see >> below). > > Faulty or not, it tells its story better than the name does. I agree, though I believe that the end result is counterintuitive (particularly in Windows). Perhaps there's no helping it. > Being serif or sans-serif is not the most important attribute of a > font that Emacs can use as its default. A much more important > attribute is how many Unicode blocks and characters within those > blocks a font supports. On my Windows XP, Courier New supports twice > as many blocks and characters as Consolas; on Windows 8.1 Consolas is > much better, but still lags in coverage behind Courier New. > > So using Consolas just because other applications do that is not > necessarily TRT for Emacs; we must consider other factors of > importance to us. That makes sense. I didn't realize Consolas lagged in that department. >> I believe the following should happen: >> >> * the defaults for the default face and fixed-pitch should align on >> all systems possible >> >> * fixed-pitch should default to what fixed-pitch serif does now >> (Consolas seems suitable) >> >> * fixed-pitch-serif should default to what the default face does >> currently >> >> If this is done, then changing the line-number face to plain "Monospace" >> should work fine even for Windows. > > Sorry, I disagree with making these changes, certainly not for the > benefit of a minor feature such as display-line-numbers. We have been > using Courier New by default since about forever; changing that now is > bound to send ripples all over the place, since many other face- and > font-related settings are based on that. That's unfortunate. 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. > 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. Alternatively, what about using fixed-pitch-serif for line-number on Windows, and fixed-pitch on other platforms?