From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Configuring fontsets with `unicode-fonts` [Was: Re: Should minibuffer prompt be made intangible by default?] Date: Sat, 02 Apr 2016 13:32:33 +0300 Message-ID: <83egaos3lq.fsf@gnu.org> References: <56FD5468.1070609@gmail.com> <56FD9EDE.2010207@gmail.com> <878u0y9kdo.fsf@gmail.com> <83k2khu6u0.fsf@gnu.org> <87r3eos7zq.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1459593199 31505 80.91.229.3 (2 Apr 2016 10:33:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Apr 2016 10:33:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alexis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 02 12:33:14 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1amIrh-0006Mg-RF for ged-emacs-devel@m.gmane.org; Sat, 02 Apr 2016 12:33:14 +0200 Original-Received: from localhost ([::1]:48861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amIrg-0006K2-LG for ged-emacs-devel@m.gmane.org; Sat, 02 Apr 2016 06:33:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amIrd-0006Ii-14 for emacs-devel@gnu.org; Sat, 02 Apr 2016 06:33:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amIrZ-0006hJ-QL for emacs-devel@gnu.org; Sat, 02 Apr 2016 06:33:08 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amIrZ-0006hF-Mr; Sat, 02 Apr 2016 06:33:05 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4661 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1amIrY-0004P7-Rl; Sat, 02 Apr 2016 06:33:05 -0400 In-reply-to: <87r3eos7zq.fsf@gmail.com> (message from Alexis on Sat, 02 Apr 2016 19:57:45 +1100) 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.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:202588 Archived-At: > From: Alexis > Cc: emacs-devel@gnu.org > Date: Sat, 02 Apr 2016 19:57:45 +1100 > > Eli Zaretskii writes: > > > Installing fonts doesn't necessarily resolve the fontset > > configuration problems, especially since no package can know > > what other fonts are available on the end-user system. > > Sorry, i'm not sure you understand what the `unicode-fonts` > package does? I've read the code, but that doesn't necessarily mean I didn't miss anything, of course. However, I did read README.md as well, and upon re-reading now the text you posted, I find nothing in it that would contradict what I said. > It doesn't provide fonts itself, but configures fontsets to use > fonts on a users' system for maximum Unicode coverage. I know; I've read the code before that original reply. Maybe we are talking about 2 different issues. My understanding of the original stackexchange question was that the problems there were related to the fact that fontset setup caused some characters to be displayed with fonts other than what the user saw before changing his setup. It should be clear that the fonts used before changing the setup depend on what is installed on the user's system, something that no package can take into consideration. Thus this part of what I wrote: > > Installing fonts doesn't necessarily resolve the fontset > > configuration problems, especially since no package can know > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > what other fonts are available on the end-user system. > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ IOW, the problem here that I referred to is this: . User complains that some characters cannot be displayed . User is advised to install a fontset setup and additional fonts to fix that . The fontset setup causes some characters previously displayed with font A to be now displayed with font B, and the user doesn't like that My point is that, once you get to the 3rd item, no external package can be the correct answer; instead, you need to teach the user to configure his/her fontset according to his/her preferences. In particular, the fontset setup should be based not only on Unicode blocks, but also on the capabilities of the fonts present in the original system configuration, and the user's preferences for using particular font(s) for displaying particular ranges of characters.