emacs-devel
[Top][All Lists]
Advanced

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

Can we run Lisp function in encode_terminal_code of term.c?


From: Kenichi Handa
Subject: Can we run Lisp function in encode_terminal_code of term.c?
Date: Fri, 26 Nov 2004 21:15:14 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Reiner Steib <address@hidden> writes:
> gb2312 characters are not displayed correctly in an UTF-8 enabled
> xterm when started with `emacs -nw'.

This is because encode_terminal_code (that is called from
write_glyphs) doesn't run pre-write-conversion of utf-8.  I
don't remember why I didn't do that.  There's a possibility
that running Lisp here is not safe.  As write_glyphs is
called from various places in dispnew.c, I can't tell easily
whether it is safe or not.  Does anybody know?

---
Ken'ichi HANDA
address@hidden




reply via email to

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