all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex <agrambot@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: mvoteiza@udel.edu, emacs-devel@gnu.org, yuri.v.khan@gmail.com
Subject: Re: master d014a5e: Use fixed-pitch font for display-line-numbers
Date: Fri, 14 Jul 2017 18:09:43 -0600	[thread overview]
Message-ID: <87d192k1bs.fsf@lylat> (raw)
In-Reply-To: <834lufh5gc.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 14 Jul 2017 09:56:35 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Alex <agrambot@gmail.com>
>> Cc: Yuri Khan <yuri.v.khan@gmail.com>,  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?



  reply	other threads:[~2017-07-15  0:09 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170711151708.4322.33014@vcs0.savannah.gnu.org>
     [not found] ` <20170711151709.2AE9822E0A@vcs0.savannah.gnu.org>
2017-07-12  0:09   ` master d014a5e: Use fixed-pitch font for display-line-numbers Mark Oteiza
2017-07-12  2:39     ` Eli Zaretskii
2017-07-12  3:18       ` Mark Oteiza
2017-07-12 14:25         ` Eli Zaretskii
2017-07-13 20:18           ` Nicolas Petton
2017-07-14  6:30             ` Eli Zaretskii
2017-07-14  7:43               ` James Cloos
2017-07-14 11:16               ` Nicolas Petton
2017-07-14 12:38                 ` Eli Zaretskii
2017-07-12  8:06     ` Yuri Khan
2017-07-12 14:36       ` Eli Zaretskii
2017-07-13  6:13         ` Yuri Khan
2017-07-13 15:57           ` Eli Zaretskii
2017-07-13 18:07             ` Yuri Khan
2017-07-13 19:02               ` Eli Zaretskii
2017-07-13 19:17                 ` Yuri Khan
2017-07-13 19:49                   ` Eli Zaretskii
2017-07-13 20:15                 ` Alex
2017-07-14  6:47                   ` Alex
2017-07-14  7:12                     ` Eli Zaretskii
2017-07-14  6:56                   ` Eli Zaretskii
2017-07-15  0:09                     ` Alex [this message]
2017-07-15  7:08                       ` Eli Zaretskii
2017-07-14  3:00                 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d192k1bs.fsf@lylat \
    --to=agrambot@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mvoteiza@udel.edu \
    --cc=yuri.v.khan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.