From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: display table for eight-bit-graphic
Date: Wed, 29 Jan 2003 20:03:07 +0900 (JST) [thread overview]
Message-ID: <200301291103.UAA17535@etlken.m17n.org> (raw)
In-Reply-To: <E18dfi5-0003Mg-00@fencepost.gnu.org> (message from Richard Stallman on Tue, 28 Jan 2003 19:04:09 -0500)
In article <E18dfi5-0003Mg-00@fencepost.gnu.org>, Richard Stallman <rms@gnu.org> writes:
>> This way, people who don't like MULE and use Emacs in unibyte
>> mode with European character sets get the same behavior as before.
> I don't think so. See this comment again:
> ;; If default-enable-multibyte-characters is nil,
> ;; we are using single-byte characters,
> ;; so the display table and terminal coding system are irrelevant.
> Where is that comment?
It's in the function set-locale-environment (in mule-cmds.el).
> (when default-enable-multibyte-characters
> (set-display-table-and-terminal-coding-system language-name))
> It seesm that the intention is to use the display table for
> multibyte buffers.
> It is definitely intended to use the display table for multibyte
> buffers--but I think that's not actually the issue you are talking
> about.
I'm talking that using the display table in multibyte
session is not good.
> Anyway, I don't think this actually contradicts anything I said.
> The display table is used for unibyte buffers, too. If we
> want unibyte buffers to display the international graphics,
> we have to set up the display table for codes 128-255.
We don't have to use the display table even for unibyte
buffers. Even for a unibyte buffer,
get_next_display_element in xdisp.c doesn't generate a octal
form "\XXX" for a code in the range 128-255 if the code can
be converted to a multibyte character by
unibyte_char_to_multibyte.
So, such a code is given to x_produce_glyph as is. Then, in
x_produce_glyph, if unibyte-display-via-language-environment
is nil, that code is used as is (thus is displayed by the
default font), otherwise, that code is converted to a
multibyte char (thus is displayed by a font selected from
the current fontset).
In short, both in multibyte and unibyte sesseion, there's no
need of setting the display table now.
---
Ken'ichi HANDA
handa@m17n.org
next prev parent reply other threads:[~2003-01-29 11:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <rzqbs263bxm.fsf@albion.dl.ac.uk>
2003-01-25 1:16 ` display table for eight-bit-graphic Kenichi Handa
2003-01-25 10:17 ` Kai Großjohann
2003-01-25 22:24 ` Ehud Karni
2003-01-26 14:27 ` Kai Großjohann
2003-01-26 15:37 ` Richard Stallman
2003-01-27 2:20 ` Kenichi Handa
2003-01-29 0:04 ` Richard Stallman
2003-01-29 11:03 ` Kenichi Handa [this message]
2003-03-03 18:59 ` Richard Stallman
2003-03-03 20:41 ` Eli Zaretskii
2003-03-18 7:26 ` Kenichi Handa
2003-03-19 8:48 ` Richard Stallman
2003-03-19 10:58 ` Kenichi Handa
2003-03-21 19:07 ` Richard Stallman
2003-02-03 14:28 ` Dave Love
2003-02-03 14:29 ` Dave Love
2003-02-03 14:32 ` Dave Love
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200301291103.UAA17535@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).