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: Mon, 20 Nov 2006 11:22:16 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, zhaohs <address@hidden> writes:

> > No, no, the workaround I installed is against the problem of
> > activating SCIM input method.  So, please run Emacs as this
> > 
> > % emacs --enable-font-backend -fn "Dejavu Sans Mono-14"
> > 
> > and check if C-SPC activates SCIM.

> I run emacs as the following:

> =======================================================
> % emacs --enable-font-backend -fn "Dejavu Sans Mono-14"
> =======================================================

> Though the emacs won't crash, but I can't activete the SCIM still, when
> I stroke C-SPC first, the emacs's minibuffer say: Mark set; the second time,
> it will say: Mark activated.

Hmmm, then please start Emacs as this:

% cd EMACS_BUILD_DIR/src
% gdb emacs
(gdb) br xfns.c:2120
(gdb) run --enable-font-backend -fn "Dejavu Sans Mono-14"

Emacs will stop at the break point as below.

Breakpoint 3, xic_create_xfontset (f=0x89ecb10, 
    base_fontname=0x88186a8 "-etl-*-medium-r-normal-*-24-*-*-*-*-*-iso8859-1")
    at xfns.c:2120
2120      if (!xfs)
(gdb) 

The value of base_fontname will be different in your case.

Please type "n" (for next) and RET to execute the code one
line by line, and check each value of the second argument to
XCreateFontSet.  Does it return non-NULL value to `xfs' at
some point?  Don't you see any warning message from X
library?

If XCreateFontSet alwasy return NULL, the next thing is to
invoke "run" command with no argument and check the second
argument to XCreateFontSet at the successful call as this.

(gdb) set args
(gdb) run

---
Kenichi Handa
address@hidden




reply via email to

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