emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: use of jisx0208 in cvs-status


From: Stefan Monnier
Subject: Re: use of jisx0208 in cvs-status
Date: 20 Apr 2004 12:08:21 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> (defvar cvs-tree-use-jisx0208
>   (and (char-displayable-p (make-char 'japanese-jisx0208 40 44)) t)
>   "*Non-nil if we should use the graphical glyphs from `japanese-jisx0208'.
> Otherwise, default to ASCII chars like +, - and |.")
> The first comment is that char-displayable-p gets the wrong result.
> With the XFree86 4.2 fonts I have, (make-char 'japanese-jisx0208 40 44)
> is displayed (using
> -Misc-Fixed-Medium-R-Normal--14-130-75-75-C-140-JISX0208.1983-0)
> according to C-u C-x =, but char-displayable-p returns nil.

Do you still see it?
I thought Handa fixed a bug in this area recently.  I had encountered this
bug as well but haven't checked recently.

> The second comment: wouldn't it be better to use the (single-width)
> Unicode box-drawing characters?

Probably.  The only reason the code uses jisx0208 is because the original
contributor of the code used those chars and I just don't know better.
Patches welcome.


        Stefan




reply via email to

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