emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A very strange thing about Emacs working with flyspell!


From: Hongsheng
Subject: Re: A very strange thing about Emacs working with flyspell!
Date: Mon, 4 Dec 2006 12:34:28 +0800
User-agent: Mutt/1.5.12-2006-07-14

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
> address@hidden
> 
> 
> *** 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)
夜鹤晓猿时复闻,寥寥长似耿离群。
月中未要恨丹桂,岭上且来看白云。
棋子不妨临水着,诗题兼好共僧分。
新忧他日荣名后,难得幽栖事静君。




reply via email to

[Prev in Thread] Current Thread [Next in Thread]