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: Kenichi Handa
Subject: Re: A very strange thing about Emacs working with flyspell!
Date: Wed, 29 Nov 2006 11:34:54 +0900
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)

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);




reply via email to

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