From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: false "Warning: Missing charsets in String to FontSet conversion" Date: Wed, 05 Jul 2006 03:38:27 +0800 Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1152044214 27886 80.91.229.2 (4 Jul 2006 20:16:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2006 20:16:54 +0000 (UTC) Cc: rfrancoise@debian.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 04 22:16:52 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FxrKD-00059u-V9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Jul 2006 22:16:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxrKD-0003Yb-Dq for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Jul 2006 16:16:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FxrKA-0003Xz-O4 for bug-gnu-emacs@gnu.org; Tue, 04 Jul 2006 16:16:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FxrK9-0003Xj-3C for bug-gnu-emacs@gnu.org; Tue, 04 Jul 2006 16:16:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxrK8-0003Xg-TY for bug-gnu-emacs@gnu.org; Tue, 04 Jul 2006 16:16:44 -0400 Original-Received: from [204.74.68.40] (helo=frodo.hserus.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FxrXt-0008QI-2j for bug-gnu-emacs@gnu.org; Tue, 04 Jul 2006 16:30:57 -0400 Original-Received: from tc218-187-21-31.dialup.dynamic.apol.com.tw ([218.187.21.31]:2202 helo=jidanni1) by frodo.hserus.net with esmtpsa (Cipher TLSv1:AES256-SHA:256) (Exim 4.62 #0) id 1FxrJy-000IlH-8h by authid with plain; Wed, 05 Jul 2006 01:46:42 +0530 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15192 Archived-At: Gentlemen, I write to you today about the message seen in the shell, $ emacs Warning: Missing charsets in String to FontSet conversion Whereupon the new emacs X-window starts up as normal anyway. I am pretty sure this warning should not be told to the user, as it is based on false assumptions: I noticed that I only get this message when starting emacs 22 (21 is OK) from a xterm -class UXTerm -u8 but not from a crxvt-big5 -fm -eten-fixed-medium-r-*--16-*-*-*-c-*-big5-0 -fn ... and indeed, strace shows readv(4, [{"-eten-fixed-medium-r-normal--16-"..., 59}, {"\0", 1}], 2) = 60 open("/usr/lib/X11/XtErrorDB", O_RDONLY) = -1 ENOENT (No such file write(2, "Warning: Missing charsets in Str"..., 58) = 58 But the paradox is: I am starting emacs in a whole new X-window. That the xterm I start it from does not use my favorite font doesn't matter! That I have Emacs*FontSet: -*-big5-0,-adobe-*-iso8859-1 in .Xresources works fine. Emacs is miscalculating something, wrongly thinking that something about the xterm I am starting emacs from will affect the independent new X-window being created.