all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Mark Oteiza <mvoteiza@udel.edu>, Emacs developers <emacs-devel@gnu.org>
Subject: Re: master d014a5e: Use fixed-pitch font for display-line-numbers
Date: Fri, 14 Jul 2017 01:07:21 +0700	[thread overview]
Message-ID: <CAP_d_8Uu_WU+0q6zgD1YnhADrC16FwO_xfn4JGdHpBBSC5jwGQ@mail.gmail.com> (raw)
In-Reply-To: <83wp7cgwie.fsf@gnu.org>

On Thu, Jul 13, 2017 at 10:57 PM, Eli Zaretskii <eliz@gnu.org> wrote:

>> Maybe, but the name ‘fixed-pitch-serif’ suggests a particular
>> presentation (a serif font), while ‘fixed-pitch’ does not.
>
> AFAIU, fixed-pitch just means Sans Serif, so it is also a particular
> presentation in that sense.

The name ‘fixed-pitch’ literally means only the fixedness of pitch and
says nothing about presence or absence of serifs.

>> Based on face names alone, I would expect that it is more likely for
>> ‘fixed-pitch’ to be the same family as ‘default’ than for
>> ‘fixed-pitch-serif’.
>
> What is that expectation based on?

Names, and names alone. Neither ‘fixed-pitch’ nor ‘default’ say
anything about serifs, therefore, in the default case when ‘default’
wants to be monospaced, they should be identical. That is what the
principle of least astonishment dictates.


I have also just read Bug#19889 which was the motivation for
‘fixed-pitch-serif’: A face that is monospace but intentionally
different from the default. (Brrr.) Arguably, if that was the intent,
then it is poorly named. Should have been ‘fixed-pitch-alternative’ or
‘fixed-pitch-2’. Anyway, with that history, it should not be used for
line numbers, which should strive to use the same typeface as default
if at all possible.

It would be acceptable, from the theoretical point, to use the UI font
(the same that is used for menus) for line numbers. But that is most
likely proportional. Having three different typefaces for the buffer
text, line numbers, and menu bar, is just offensive.

> And fixed-pitch definitely doesn't yield the
> same font as the default face on my system.

I would suggest that is a bug.



  reply	other threads:[~2017-07-13 18:07 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 [this message]
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
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=CAP_d_8Uu_WU+0q6zgD1YnhADrC16FwO_xfn4JGdHpBBSC5jwGQ@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mvoteiza@udel.edu \
    /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.