unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Pit--Claudel" <clement.pit@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24510@debbugs.gnu.org
Subject: bug#24510: 25.1; Info: searching for ` does not find what looks like `
Date: Sat, 24 Sep 2016 13:24:50 -0400	[thread overview]
Message-ID: <b9b24c2c-27eb-171d-3765-8a9f32670cb7@gmail.com> (raw)
In-Reply-To: <83twd5b4yr.fsf@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 3758 bytes --]

On 2016-09-24 13:08, Eli Zaretskii wrote:
>> Cc: 24510@debbugs.gnu.org From: Clément Pit--Claudel
>> <clement.pit@gmail.com> Date: Sat, 24 Sep 2016 12:30:07 -0400
>> 
>> I'm not sure it makes sense to equate "better" and "worse" with
>> more or less coverage.   Is Consolas worse than Courier New in
>> terms of number of characters supported?  Certainly.  But then why
>> is Emacs not defaulting to MingLiu or NSimSun?  They are both
>> monospace, both available in recent releases of Microsoft Windows,
>> and they both cover multiple East-Asian scripts, (Courier New
>> doesn't).  On my system, MingLiu supports 28955 glyphs; over 23
>> times as many as Courier New.
> 
> Not just the number of characters matters: the number of Unicode 
> blocks also matters, maybe even more.  Each block is some script, so 
> supporting less blocks means less scripts supported by the default 
> font.  Emacs will have then look for a different font, which makes 
> less pleasant display, creates text alignment problems, etc.

Thanks for the explanation. But MingLiu supports 34 blocks, while Courier New supports 23.  In particular, MingLiu has support for traditional Chinese and Japanese Hiragana and Katakana, which Courier New lacks.

>> Do we have evidence that users of Emacs on Windows write
>> significant amounts of code in Arabic, to the point that we would
>> want to use Courier New as the default, instead of as a fallback?
>> If so, do we have evidence that more code is written in Emacs in
>> Arabic than in Chinese and Japanese?  And finally, do we have
>> evidence that users of scripts that Consolas does not support
>> prefer having Courier New as the default, rather than Consolas with
>> a fallback to Courier New, or MingLiu?
> 
> I'm not sure I understand where these questions go.  We don't have 
> evidence either way, so the issues you raise cannot help us make the 
> decision.

The question was whether we had evidence in one way, and you answered it; thanks!
I don't know about either way, though: we do have evidence that many other editors don't do the same thing as we do.

> I personally consider Consolas worse than Courier New, because 
> Consolas's coverage is clearly biased towards European scripts.

True.  But Courier is biased too.  In fact, virtually all programming fonts are biased in that way, maybe as an unfortunate artifact of most programming languages themselves being biased towards ASCII.  In selecting the default Emacs font, we're trying to ensure that users have an agreeable experience: if most of what they look at in a monospace font is covered by ASCII, then it's not clear to me that it makes sense to select a monospace font based on coverage only.

>> I'm not too familiar with editors on Windows.  Do many of them
>> default to Courier New?  AFAICT Netbeans apparently does, but Atom
>> doesn't (it uses Consolas), Visual Studio doesn't (it uses
>> Consolas), Sublime Text doesn't (it uses Consolas), Eclipse doesn't
>> (it changed from Courier New to Consolas in 2011), and Notepad++
>> doesn't (it changed from Courier New to Source Code Pro in 2015).
>> What makes things that are acceptable for so many other editors
>> non-starters for us?
> 
> One reason is that Emacs has a wider range of different
> applications, where being able to support as many languages and
> scripts as possible is more important than in Studio or even Vim.
> E.g., at least some of the editors you mention are never used as
> email/news clients or Web browsers, where the ability to support as
> many scripts as possible is important.

Do many of these applications require a monospace font?  Eww now defaults to a proportional face, doesn't it?

Clément.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-09-24 17:24 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<6905ca6f-0573-4a2b-b346-d5df47862e09@default>
     [not found] ` <<83intneq2g.fsf@gnu.org>
     [not found]   ` <<7f9c8f95-a04d-4e94-9c17-8a348bf89215@default>
     [not found]     ` <<83d1jvds1t.fsf@gnu.org>
2016-09-23 16:02       ` bug#24510: 25.1; Info: searching for ` does not find what looks like ` Drew Adams
2016-09-23 17:48         ` Eli Zaretskii
2016-09-23 20:07           ` Clément Pit--Claudel
2016-09-24  7:28             ` Eli Zaretskii
2016-09-24 16:30               ` Clément Pit--Claudel
2016-09-24 17:08                 ` Eli Zaretskii
2016-09-24 17:24                   ` Clément Pit--Claudel [this message]
2016-09-24 17:57                     ` Eli Zaretskii
2016-09-24 18:14                       ` Clément Pit--Claudel
2016-09-24 18:34                         ` Eli Zaretskii
2016-09-24 18:40                           ` Clément Pit--Claudel
2016-09-24 19:16                             ` Eli Zaretskii
2016-09-24 18:14                 ` Drew Adams
     [not found] <<<6905ca6f-0573-4a2b-b346-d5df47862e09@default>
     [not found] ` <<<83intneq2g.fsf@gnu.org>
     [not found]   ` <<<7f9c8f95-a04d-4e94-9c17-8a348bf89215@default>
     [not found]     ` <<<83d1jvds1t.fsf@gnu.org>
     [not found]       ` <<c5f5356e-222a-48b0-9b80-dd242f982cec@default>
     [not found]         ` <<83mviycxse.fsf@gnu.org>
2016-09-23 21:47           ` Drew Adams
2016-09-24  7:31             ` Eli Zaretskii
2016-09-25  8:07               ` Byung-Hee HWANG (황병희,  黃炳熙)
2016-09-22 17:04 Drew Adams
2016-09-22 18:40 ` Eli Zaretskii
2016-09-22 19:58   ` Drew Adams
2016-09-22 20:41     ` Clément Pit--Claudel
2016-09-22 21:16       ` Drew Adams
2016-09-23  6:54     ` Eli Zaretskii
2016-09-22 20:02 ` Clément Pit--Claudel
2016-09-22 22:10 ` Noam Postavsky
2016-09-22 22:27   ` Drew Adams
2022-04-28 10:48 ` Lars Ingebrigtsen
2022-04-28 16:12   ` Drew Adams
2022-04-28 17:38   ` Juri Linkov
2022-04-28 18:15     ` Lars Ingebrigtsen
2022-04-28 19:00       ` Drew Adams
2022-04-29  6:51       ` Juri Linkov
2022-04-29 10:08         ` Lars Ingebrigtsen
2022-04-29 15:06           ` Drew Adams
2022-04-29 17:17           ` Juri Linkov
2022-04-30 11:45             ` Lars Ingebrigtsen
2022-05-01 17:11               ` Juri Linkov
2022-05-01 18:58                 ` Lars Ingebrigtsen
2022-05-02 16:12                   ` Juri Linkov
2022-05-03 10:33                     ` Lars Ingebrigtsen
2022-05-03 14:58                       ` Drew Adams
2022-05-03 17:29                       ` Juri Linkov
2022-05-03 18:05                         ` Lars Ingebrigtsen
2022-05-03 19:26                           ` Drew Adams
2022-05-05 16:20                           ` Juri Linkov
2022-05-05 16:44                             ` Drew Adams
2022-05-06 23:20                               ` Richard Stallman
2022-05-06 11:30                             ` Lars Ingebrigtsen
2022-05-06 14:40                               ` Drew Adams
2022-05-06 15:32                               ` Juri Linkov
2022-05-06 17:57                                 ` Lars Ingebrigtsen
2022-05-03 19:23                         ` Drew Adams
2022-04-29 15:01         ` Drew Adams
2022-04-28 18:58     ` Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=b9b24c2c-27eb-171d-3765-8a9f32670cb7@gmail.com \
    --to=clement.pit@gmail.com \
    --cc=24510@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).