1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-31 20:02:42 +00:00

Add latin-jisx0201 characters. Fix

translation-table-for-input for lao, thai, tibetan.
This commit is contained in:
Dave Love 2002-12-08 18:59:46 +00:00
parent 73fffc8cd3
commit ad7c69e787
2 changed files with 19 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2002-12-08 Dave Love <fx@gnu.org>
* international/ucs-tables.el: Add latin-jisx0201 characters. Fix
translation-table-for-input for lao, thai, tibetan.
2002-12-08 Andreas Schwab <schwab@suse.de>
* files.el (insert-directory): Insert free space only when
@ -284,8 +289,9 @@
2002-12-02 Fran,Ag(Bois Pinard <pinard@iro.umontreal.ca>
* (makefile-font-lock-keywords): Highlight more make keywords:
defined, endef, override, export, unexport and vpath.
* progmodes/make-mode.el (makefile-font-lock-keywords): Highlight
more make keywords: defined, endef, override, export, unexport
and vpath.
2002-12-02 Dave Love <fx@gnu.org>

View File

@ -2416,12 +2416,19 @@ Interactively, prompts for a hex string giving the code."
(?(1x(B . ?$,1Dx(B)
(?(1y(B . ?$,1Dy(B)
(?(1|(B . ?$,1D|(B)
(?(1}(B . ?$,1D}(B))))
(?(1}(B . ?$,1D}(B))
(other
;; latin-jisx0201 is mostly decoded to ascii, with these
;; exceptions, so we don't bother with tables for the whole
;; thing.
(?(J\(B . ?,A%(B)
(?(J~(B . ?$,1s>(B))))
(let ((table (make-char-table 'safe-chars))
safe-charsets)
(dolist (cs '(vietnamese-viscii lao chinese-sisheng ipa
katakana-jisx0201 thai-tis620 tibetan-iso-8bit
indian-is13194 ethiopic))
indian-is13194 ethiopic other))
;; These tables could be used as translation-table-for-encode by
;; the relevant coding systems.
(let ((encode-translator
@ -2447,7 +2454,8 @@ Interactively, prompts for a hex string giving the code."
'translation-table-for-input
encode-translator))
((memq cs '(lao thai-tis620 tibetan-iso-8bit))
(coding-system-put cs 'translation-table-for-input cs)))))
(coding-system-put cs 'translation-table-for-input
encode-translator)))))
(dolist (c safe-charsets)
(aset table (make-char c) t))))