From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: An unwonted warning I constantly get about fontsets when I start Emacs Date: Sat, 27 May 2017 17:09:25 +0300 Message-ID: <83r2zagzmy.fsf@gnu.org> References: <83efvaiqku.fsf@gnu.org> <83y3tih13o.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1495894199 11670 195.159.176.226 (27 May 2017 14:09:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 May 2017 14:09:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 27 16:09:51 2017 Return-path: Envelope-to: geh-help-gnu-emacs@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 1dEcPe-0002oK-4W for geh-help-gnu-emacs@m.gmane.org; Sat, 27 May 2017 16:09:50 +0200 Original-Received: from localhost ([::1]:40951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEcPj-000220-LL for geh-help-gnu-emacs@m.gmane.org; Sat, 27 May 2017 10:09:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEcPI-00021d-OS for help-gnu-emacs@gnu.org; Sat, 27 May 2017 10:09:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEcPF-0007or-EU for help-gnu-emacs@gnu.org; Sat, 27 May 2017 10:09:28 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEcPF-0007on-Ax for help-gnu-emacs@gnu.org; Sat, 27 May 2017 10:09:25 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2947 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dEcPE-0000Gu-MW for help-gnu-emacs@gnu.org; Sat, 27 May 2017 10:09:25 -0400 In-reply-to: (message from =?utf-8?B?R8O2a3R1xJ8=?= Kayaalp on Sat, 27 May 2017 16:44:18 +0300) 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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113195 Archived-At: > From: Göktuğ Kayaalp > Cc: help-gnu-emacs@gnu.org > Date: Sat, 27 May 2017 16:44:18 +0300 > > >> >> Error (initialization): Creation of the default fontsets failed: > >> >> (error Invalid script or charset name: old-italic) > >> >> > >> >> [...] > >> > Please show your fontset-related customizations. > >> > >> I don't have any such customisations in Emacs. Just setting the font > >> for some faces here and there: > > > > Strange, I don't see old-italic mentioned anywhere. > > > > Are you sure you don't have some stale Lisp files lying around and > > shadowing the ones which come with the distribution? > > None of my lisp files contain the word `fontset'. I've looked quite a > bit, but haven't found anything related. I just learnt what it is, > actually. > > > Also, do you see this problem with "emacs -Q"? > > Yes. The message comes up in the *Warnings* buffer with or without -Q. > No problems with any functionality so far tho, just the warning. This becomes more and more stuff for a bug report, not for discussion here. The old-italic script is defined in charscript.el, so check that file for problems (damaged, truncated, outdated). It is then used in fontset.el, and the error you see comes from there, see the function create-default-fontset. Maybe by looking into these two files, or by searching your system for outdated versions which shadow these, you will find the culprit. My next suggestion is to make sure the tree where you build Emacs is clean, and doesn't contain any stale files from the previous versions you've built.