Mercurial > hg > xemacs-beta
annotate tests/gtk/gtk-extra-test.el @ 4489:b75b075a9041
Support displaying invalid UTF-8 in language-environment-specific ways.
2008-08-05 Aidan Kehoe <kehoea@parhasard.net>
* specifier.el (current-display-table): Initialise this here, not
in x-init.el, since we want it even on non-X builds to use the
support for displaying Unicode error sequences according to the
current locale.
* mule/mule-cmds.el (set-language-info):
Document error-sequence-coding-system, used to describe how to
display characters that are not valid Unicode on disk.
* mule/mule-cmds.el (finish-set-language-environment):
Implement error-sequence-coding-system.
* unicode.el (unicode-error-sequence-warning-face):
New face, to make it possible to distinguish invalid Unicode
sequences from the characters given by the valid Unicode
sequences.
* mule/cyrillic.el ("Russian"):
("Ukrainian"):
("Bulgarian"):
("Belarusian"):
("Cyrillic-ALT"): Add support for error-sequence-coding-system for
all these languages.
* mule/latin.el:
Add support for error-sequence-coding-system for the
Latin-alphabet language environments.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 05 Aug 2008 09:06:41 +0200 |
parents | 0784d089fdc9 |
children | db7068430402 |
rev | line source |
---|---|
462 | 1 (require 'gtk-extra) |
2 | |
3 (gtk-define-test | |
4 "Color Combo" extra color-combo nil | |
5 (let ((combo (gtk-color-combo-new))) | |
6 (gtk-box-pack-start window combo nil nil 0))) | |
7 | |
8 (gtk-define-test | |
9 "Directory Tree" extra dirtree nil | |
10 (let ((dir (gtk-dir-tree-new))) | |
11 (gtk-box-pack-start window dir nil nil 0) | |
12 (gtk-dir-tree-open-dir dir "/"))) | |
13 | |
14 (gtk-define-test | |
15 "File List" extra filelist nil | |
16 (let ((scrolled (gtk-scrolled-window-new nil nil)) | |
17 (list (gtk-file-list-new 32 2 "/"))) | |
18 (gtk-scrolled-window-add-with-viewport scrolled list) | |
19 (put scrolled 'height 200) | |
20 (gtk-box-pack-start window scrolled t t 0))) | |
21 | |
22 (gtk-define-test | |
23 "Font Combo" extra fontcombo nil | |
24 (let ((fc (gtk-font-combo-new))) | |
25 (gtk-box-pack-start window fc t t 0))) | |
26 |