all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Subject: Can we run Lisp function in encode_terminal_code of term.c?
Date: Fri, 26 Nov 2004 21:15:14 +0900 (JST)	[thread overview]
Message-ID: <200411261215.VAA22895@etlken.m17n.org> (raw)
In-Reply-To: <v97joddgi4.fsf@marauder.physik.uni-ulm.de> (message from Reiner Steib on Mon, 22 Nov 2004 16:56:35 +0100)

In article <v97joddgi4.fsf@marauder.physik.uni-ulm.de>, Reiner Steib <reinersteib+gmane@imap.cc> 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
handa@m17n.org

       reply	other threads:[~2004-11-26 12:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <v97joddgi4.fsf@marauder.physik.uni-ulm.de>
2004-11-26 12:15 ` Kenichi Handa [this message]
2004-11-29  6:12   ` Can we run Lisp function in encode_terminal_code of term.c? Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200411261215.VAA22895@etlken.m17n.org \
    --to=handa@m17n.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.