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

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

use of jisx0208 in cvs-status


From: Dave Love
Subject: use of jisx0208 in cvs-status
Date: Tue, 20 Apr 2004 15:50:16 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

I found cvs-status.el contains this:

(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.

The fontset entry is

japanese-jisx0208       -*-jisx0208.1990-*
     [-Misc-Fixed-Medium-R-Normal--14-130-75-75-C-140-JISX0208.1983-0]

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




reply via email to

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