1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 08:11:05 -08:00
emacs/lisp/language
Eli Zaretskii a06a2950e1 Allow user control on char-width of "ambiguous" characters
* src/character.c (syms_of_character) <ambiguous-width-chars>: New
char-table.

* lisp/international/characters.el (ambiguous-width-chars): Fill
the table.
(update-cjk-ambiguous-char-widths): New function.
(cjk-ambiguous-chars-are-wide): New defcustom, uses
'update-cjk-ambiguous-char-widths' as its :set function.
(use-cjk-char-width-table): Obey 'cjk-ambiguous-chars-are-wide' by
adding another child char-table for ambiguous-width characters,
where the width is set according to the option.

* lisp/language/chinese.el ("Chinese-GB", "Chinese-BIG5")
("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"):
* lisp/language/japanese.el ("Japanese"):
* lisp/language/korean.el ("Korean"): Add new language-info slot
'cjk-locale-symbol'.

Bug#64420
2023-08-05 17:55:56 +03:00
..
burmese.el
cham.el
china-util.el
chinese.el Allow user control on char-width of "ambiguous" characters 2023-08-05 17:55:56 +03:00
cyril-util.el
cyrillic.el ; Re-add recently removed comment in cyrillic.el. 2023-07-08 22:27:20 +01:00
czech.el
english.el
ethio-util.el
ethiopic.el
european.el
georgian.el
greek.el
hanja-util.el
hebrew.el
ind-util.el
indian.el
indonesian.el
japan-util.el
japanese.el Allow user control on char-width of "ambiguous" characters 2023-08-05 17:55:56 +03:00
khmer.el
korea-util.el
korean.el Allow user control on char-width of "ambiguous" characters 2023-08-05 17:55:56 +03:00
lao-util.el Improve some big regexps 2023-07-05 19:32:18 +02:00
lao.el
misc-lang.el Followup to addition of TUTORIAL.fa 2023-04-25 12:26:20 +03:00
philippine.el
romanian.el
sinhala.el
slovak.el
tai-viet.el
thai-util.el
thai-word.el
thai.el
tibet-util.el
tibetan.el ; fix last change 2023-07-05 19:42:05 +02:00
tv-util.el
utf-8-lang.el
viet-util.el
vietnamese.el Drop duplicate vietnamese-tcvn coding system 2023-07-31 17:58:34 +02:00