[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Character display and compose region.
From: |
lawrence mitchell |
Subject: |
Character display and compose region. |
Date: |
Thu, 17 Apr 2003 22:26:07 +0100 |
User-agent: |
Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 |
When using compose-region to "prettify" lambda's in lisp code to
look like actual lambdas, I run into an odd display buglet.
Basically, the incorrect character is displayed, despite the
fact that the fontset I use has an actual lambda character.
instead of (make-char 'greek-iso8859-7 107), I see
(make-char 'greek-iso8859-7 59).
Minimal test case:
emacs -q --no-site-file
(font-lock-add-keywords
'lisp-interaction-mode
`(("\\<lambda\\>"
(0 (progn (compose-region (match-beginning 0)
(match-end 0)
,(make-char 'greek-iso8859-7 107))
nil)))))
(font-lock-mode 1)
(insert "\n(lambda () nil)"
"\n"(make-char 'greek-iso8859-7 107)
"\n"(make-char 'greek-iso8859-7 59))
The results I see can be seen in a screenshot at:
<URL: http://www.vegetable.demon.co.uk/wence/lambda.png>
I can also mail this should people need it.
In GNU Emacs 21.3.50.1 (i386-mingw-nt5.0.2195)
of 2003-03-17 on YAM
configured using `configure --with-gcc (3.2)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: eng
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
--
lawrence mitchell <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Character display and compose region.,
lawrence mitchell <=