emacs-devel
[Top][All Lists]
Advanced

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

Re: blank-mode.el


From: Juri Linkov
Subject: Re: blank-mode.el
Date: Wed, 14 Nov 2007 01:54:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> Here is a blank-mode version which it does not embed
> face id for characters code above #x0FFFF.
>
> Also the default end of line display char is ?\u21B5.

I think it is bad not to use face id for characters code above #x0FFFF,
because when they are displayed with the same faces as surrounding text,
they look as part of the buffer's text, and so this package defeats its
own purpose to visualize blanks clearly with a special background color.

And still this change doesn't help to avoid rectangle boxes that are
displayed for ?\u21B5 with small fonts.  There is a function
`char-displayable-p' that could help, but it returns non-nil even
when ?\u21B5 is displayed as an empty rectangle box, e.g.:

(char-displayable-p ?\u21B5)

returns when ?\u21B5 is displayed as an empty rectangle box:
"-Misc-Fixed-Medium-R-SemiCondensed--12-110-75-75-C-60-ISO10646-1"

returns when ?\u21B5 is displayed normally as an arrow:
"-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1"

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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