From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: A very strange thing about Emacs working with flyspell! Date: Wed, 29 Nov 2006 11:34:54 +0900 Message-ID: References: <20061118025413.GB25925@localdomain> <20061118032327.GA27684@localdomain> <20061120030401.GB5498@localdomain> <20061120040501.GA7539@localdomain> <20061120053240.GB12383@localdomain> <20061120092050.GA20644@localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1164767659 27627 80.91.229.2 (29 Nov 2006 02:34:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Nov 2006 02:34:19 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 29 03:34:17 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GpFH0-00032u-9q for ged-emacs-devel@m.gmane.org; Wed, 29 Nov 2006 03:34:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpFGz-0002Ii-ET for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 21:34:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GpFGn-0002GF-Mm for emacs-devel@gnu.org; Tue, 28 Nov 2006 21:33:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GpFGl-0002CF-Ri for emacs-devel@gnu.org; Tue, 28 Nov 2006 21:33:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpFGl-0002Bu-Nq for emacs-devel@gnu.org; Tue, 28 Nov 2006 21:33:55 -0500 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GpFGk-00068M-VU for emacs-devel@gnu.org; Tue, 28 Nov 2006 21:33:55 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id kAT2Xq6A016846; Wed, 29 Nov 2006 11:33:52 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id kAT2Xp8B009618; Wed, 29 Nov 2006 11:33:51 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id kAT2XpT4011029; Wed, 29 Nov 2006 11:33:51 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.63) (envelope-from ) id 1GpFHi-00043U-DU; Wed, 29 Nov 2006 11:34:54 +0900 Original-To: Hongsheng In-reply-to: <20061120092050.GA20644@localdomain> (message from Hongsheng on Mon, 20 Nov 2006 17:20:50 +0800) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.91 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63006 Archived-At: I wrote: >> Ummm, then, please apply the attached patch to src/xfns and >> rebuild emacs as this: Oops, I forgot to attach the patch, sorry. Here it is. --- Kenichi Handa handa@m17n.org *** xfns.c 29 Nov 2006 11:31:06 +0900 1.590.2.52 --- xfns.c 29 Nov 2006 11:34:03 +0900 *************** *** 2125,2130 **** --- 2125,2137 ---- xfs = XCreateFontSet (FRAME_X_DISPLAY (f), fontsetname, &missing_list, &missing_count, &def_string); + #ifdef DEBUG_XIC_FONTSET + if (xfs) + printf ("Fontset created: %s\n", fontsetname); + else + printf ("Fontset fail: %s\n", fontsetname); + #endif + if (missing_list) XFreeStringList (missing_list); if (! xfs) *************** *** 2143,2148 **** --- 2150,2161 ---- xfs = XCreateFontSet (FRAME_X_DISPLAY (f), p0, &missing_list, &missing_count, &def_string); + #ifdef DEBUG_XIC_FONTSET + if (xfs) + printf ("Fontset created: %s\n", p0); + else + printf ("Fontset fail: %s\n", p0); + #endif if (missing_list) XFreeStringList (missing_list); if (xfs) *************** *** 2158,2163 **** --- 2171,2182 ---- xfs = XCreateFontSet (FRAME_X_DISPLAY (f), fontsetname, &missing_list, &missing_count, &def_string); + #ifdef DEBUG_XIC_FONTSET + if (xfs) + printf ("Fontset created: %s\n", fontsetname); + else + printf ("Fontset fail: %s\n", fontsetname); + #endif if (missing_list) XFreeStringList (missing_list); xfree (fontsetname);