From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hongsheng Newsgroups: gmane.emacs.devel Subject: Re: A very strange thing about Emacs working with flyspell! Date: Mon, 4 Dec 2006 12:34:28 +0800 Message-ID: <20061204043428.GA7565@localdomain> References: <20061118032327.GA27684@localdomain> <20061120030401.GB5498@localdomain> <20061120040501.GA7539@localdomain> <20061120053240.GB12383@localdomain> <20061120092050.GA20644@localdomain> Reply-To: Hongsheng NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1165206699 25514 80.91.229.10 (4 Dec 2006 04:31:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Dec 2006 04:31:39 +0000 (UTC) Cc: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 04 05:31:36 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gr5UN-00057o-Lq for ged-emacs-devel@m.gmane.org; Mon, 04 Dec 2006 05:31:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gr5UN-00075z-Bj for ged-emacs-devel@m.gmane.org; Sun, 03 Dec 2006 23:31:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gr5UB-00072q-2t for emacs-devel@gnu.org; Sun, 03 Dec 2006 23:31:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gr5U6-0006sC-CC for Emacs-devel@gnu.org; Sun, 03 Dec 2006 23:31:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gr5U6-0006s0-8W for Emacs-devel@gnu.org; Sun, 03 Dec 2006 23:31:18 -0500 Original-Received: from [64.233.166.183] (helo=py-out-1112.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gr5U5-0000FV-RJ for Emacs-devel@gnu.org; Sun, 03 Dec 2006 23:31:18 -0500 Original-Received: by py-out-1112.google.com with SMTP id u77so2231012pyb for ; Sun, 03 Dec 2006 20:31:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent:from; b=IH5LmBrnmMtI6oTl5QdU9b6As6UKTG8LO7UwSQpeMdwW59FwaB/fErTpQJiRGTr52vyTwk0HBe6iZymYgbSgPkrZeznDTJsmG3Y7PtdtwlyZOflaseWYBhLGoZOEMtOZ+6lFA1YIuruLX+384LSTidGBW0Ip31uCu6MXTuiJxS4= Original-Received: by 10.35.125.16 with SMTP id c16mr14418228pyn.1165206676598; Sun, 03 Dec 2006 20:31:16 -0800 (PST) Original-Received: from localhost ( [159.226.135.215]) by mx.google.com with ESMTP id f79sm20789449pyh.2006.12.03.20.31.13; Sun, 03 Dec 2006 20:31:15 -0800 (PST) Original-To: Kenichi Handa Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 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:63257 Archived-At: On Wed, Nov 29, 2006 at 11:34:54AM +0900, Kenichi Handa wrote: > 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); Now, I redownload all the emacs source-code from its cvs repository and the patch above has been used. I can run emacs and display CJK-EXTB correctly by: % emacs --enable-font-backend But the Ctrl+SPC can't activate the SCIM yet, the minibuffer will say Mark set and Mark activated. -- Hongyi Zhao 赵红生(弘毅) -- 题目:《山中寄招叶秀才》 作者:林逋(967-1028) 夜鹤晓猿时复闻,寥寥长似耿离群。 月中未要恨丹桂,岭上且来看白云。 棋子不妨临水着,诗题兼好共僧分。 新忧他日荣名后,难得幽栖事静君。