diff options
| author | Dave Love | 2002-12-08 18:59:46 +0000 |
|---|---|---|
| committer | Dave Love | 2002-12-08 18:59:46 +0000 |
| commit | ad7c69e78798a4531742e7ed98770fbe5ffb45fc (patch) | |
| tree | 296f0c42077587bf23a85e36af44febaa793f20c | |
| parent | 73fffc8cd305235a93b50e6344803307ab840d7d (diff) | |
| download | emacs-ad7c69e78798a4531742e7ed98770fbe5ffb45fc.tar.gz emacs-ad7c69e78798a4531742e7ed98770fbe5ffb45fc.zip | |
Add latin-jisx0201 characters. Fix
translation-table-for-input for lao, thai, tibetan.
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/international/ucs-tables.el | 14 |
2 files changed, 19 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index de1e4efaf0d..ed2a7af64a6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-12-08 Dave Love <fx@gnu.org> | ||
| 2 | |||
| 3 | * international/ucs-tables.el: Add latin-jisx0201 characters. Fix | ||
| 4 | translation-table-for-input for lao, thai, tibetan. | ||
| 5 | |||
| 1 | 2002-12-08 Andreas Schwab <schwab@suse.de> | 6 | 2002-12-08 Andreas Schwab <schwab@suse.de> |
| 2 | 7 | ||
| 3 | * files.el (insert-directory): Insert free space only when | 8 | * files.el (insert-directory): Insert free space only when |
| @@ -284,8 +289,9 @@ | |||
| 284 | 289 | ||
| 285 | 2002-12-02 Fran,Ag(Bois Pinard <pinard@iro.umontreal.ca> | 290 | 2002-12-02 Fran,Ag(Bois Pinard <pinard@iro.umontreal.ca> |
| 286 | 291 | ||
| 287 | * (makefile-font-lock-keywords): Highlight more make keywords: | 292 | * progmodes/make-mode.el (makefile-font-lock-keywords): Highlight |
| 288 | defined, endef, override, export, unexport and vpath. | 293 | more make keywords: defined, endef, override, export, unexport |
| 294 | and vpath. | ||
| 289 | 295 | ||
| 290 | 2002-12-02 Dave Love <fx@gnu.org> | 296 | 2002-12-02 Dave Love <fx@gnu.org> |
| 291 | 297 | ||
diff --git a/lisp/international/ucs-tables.el b/lisp/international/ucs-tables.el index 6380e7addbf..d7eae5ed459 100644 --- a/lisp/international/ucs-tables.el +++ b/lisp/international/ucs-tables.el | |||
| @@ -2416,12 +2416,19 @@ Interactively, prompts for a hex string giving the code." | |||
| 2416 | (?(1x(B . ?$,1Dx(B) | 2416 | (?(1x(B . ?$,1Dx(B) |
| 2417 | (?(1y(B . ?$,1Dy(B) | 2417 | (?(1y(B . ?$,1Dy(B) |
| 2418 | (?(1|(B . ?$,1D|(B) | 2418 | (?(1|(B . ?$,1D|(B) |
| 2419 | (?(1}(B . ?$,1D}(B)))) | 2419 | (?(1}(B . ?$,1D}(B)) |
| 2420 | |||
| 2421 | (other | ||
| 2422 | ;; latin-jisx0201 is mostly decoded to ascii, with these | ||
| 2423 | ;; exceptions, so we don't bother with tables for the whole | ||
| 2424 | ;; thing. | ||
| 2425 | (?(J\(B . ?,A%(B) | ||
| 2426 | (?(J~(B . ?$,1s>(B)))) | ||
| 2420 | (let ((table (make-char-table 'safe-chars)) | 2427 | (let ((table (make-char-table 'safe-chars)) |
| 2421 | safe-charsets) | 2428 | safe-charsets) |
| 2422 | (dolist (cs '(vietnamese-viscii lao chinese-sisheng ipa | 2429 | (dolist (cs '(vietnamese-viscii lao chinese-sisheng ipa |
| 2423 | katakana-jisx0201 thai-tis620 tibetan-iso-8bit | 2430 | katakana-jisx0201 thai-tis620 tibetan-iso-8bit |
| 2424 | indian-is13194 ethiopic)) | 2431 | indian-is13194 ethiopic other)) |
| 2425 | ;; These tables could be used as translation-table-for-encode by | 2432 | ;; These tables could be used as translation-table-for-encode by |
| 2426 | ;; the relevant coding systems. | 2433 | ;; the relevant coding systems. |
| 2427 | (let ((encode-translator | 2434 | (let ((encode-translator |
| @@ -2447,7 +2454,8 @@ Interactively, prompts for a hex string giving the code." | |||
| 2447 | 'translation-table-for-input | 2454 | 'translation-table-for-input |
| 2448 | encode-translator)) | 2455 | encode-translator)) |
| 2449 | ((memq cs '(lao thai-tis620 tibetan-iso-8bit)) | 2456 | ((memq cs '(lao thai-tis620 tibetan-iso-8bit)) |
| 2450 | (coding-system-put cs 'translation-table-for-input cs))))) | 2457 | (coding-system-put cs 'translation-table-for-input |
| 2458 | encode-translator))))) | ||
| 2451 | (dolist (c safe-charsets) | 2459 | (dolist (c safe-charsets) |
| 2452 | (aset table (make-char c) t)))) | 2460 | (aset table (make-char c) t)))) |
| 2453 | 2461 | ||