[Top][All Lists]

[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


according to C-u C-x =, but char-displayable-p returns nil.

The fontset entry is

japanese-jisx0208       -*-jisx0208.1990-*

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]