diff options
| author | Dave Love | 2002-10-05 18:51:37 +0000 |
|---|---|---|
| committer | Dave Love | 2002-10-05 18:51:37 +0000 |
| commit | 4fb82d62512b239e410be52f68c74e49790cb61e (patch) | |
| tree | c6105292b98e7cc3d56baaafdb85581e8d769f6b | |
| parent | af1b7625c33db14eea5b9d8b37b0d03871d00425 (diff) | |
| download | emacs-4fb82d62512b239e410be52f68c74e49790cb61e.tar.gz emacs-4fb82d62512b239e410be52f68c74e49790cb61e.zip | |
Add Latin-1.
| -rw-r--r-- | lisp/international/characters.el | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lisp/international/characters.el b/lisp/international/characters.el index 0e8d82bea4b..72aebd3c6d0 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el | |||
| @@ -450,6 +450,38 @@ | |||
| 450 | ;; Thus we have to check language-environment to handle casing | 450 | ;; Thus we have to check language-environment to handle casing |
| 451 | ;; correctly. Currently only I<->i is available. | 451 | ;; correctly. Currently only I<->i is available. |
| 452 | 452 | ||
| 453 | ;; Latin-1 | ||
| 454 | |||
| 455 | ;; Fixme: Some of the non-word syntaxes here perhaps should be | ||
| 456 | ;; reviewed. (Note that the following all implicitly have word | ||
| 457 | ;; syntax: ¢£¤¥¨ª¯²³´¶¸¹º.) There should be a well-defined way of | ||
| 458 | ;; relating Unicode categories to Emacs syntax codes. | ||
| 459 | (set-case-syntax ? " " tbl) ; dubious | ||
| 460 | (set-case-syntax ?¡ "." tbl) | ||
| 461 | (set-case-syntax ?¦ "_" tbl) | ||
| 462 | (set-case-syntax ?§ "." tbl) | ||
| 463 | (set-case-syntax ?© "_" tbl) | ||
| 464 | (set-case-syntax-delims 171 187 tbl) ; « » | ||
| 465 | (set-case-syntax ?¬ "_" tbl) | ||
| 466 | (set-case-syntax ? "_" tbl) | ||
| 467 | (set-case-syntax ?® "_" tbl) | ||
| 468 | (set-case-syntax ?° "_" tbl) | ||
| 469 | (set-case-syntax ?± "_" tbl) | ||
| 470 | (set-case-syntax ?µ "_" tbl) | ||
| 471 | (set-case-syntax ?· "_" tbl) | ||
| 472 | (set-case-syntax ?¼ "_" tbl) | ||
| 473 | (set-case-syntax ?½ "_" tbl) | ||
| 474 | (set-case-syntax ?¾ "_" tbl) | ||
| 475 | (set-case-syntax ?¿ "." tbl) | ||
| 476 | (let ((c 192)) | ||
| 477 | (while (<= c 222) | ||
| 478 | (set-case-syntax-pair c (+ c 32) tbl) | ||
| 479 | (setq c (1+ c)))) | ||
| 480 | (set-case-syntax ?× "_" tbl) | ||
| 481 | (set-case-syntax ?ß "w" tbl) | ||
| 482 | (set-case-syntax ?÷ "_" tbl) | ||
| 483 | ;; See below for ÿ. | ||
| 484 | |||
| 453 | ;; Latin Extended-A, Latin Extended-B | 485 | ;; Latin Extended-A, Latin Extended-B |
| 454 | (setq c #x0100) | 486 | (setq c #x0100) |
| 455 | (while (<= c #x0233) | 487 | (while (<= c #x0233) |
| @@ -680,6 +712,8 @@ | |||
| 680 | (set-case-syntax-pair c (+ c #x10) tbl) | 712 | (set-case-syntax-pair c (+ c #x10) tbl) |
| 681 | (setq c (1+ c))) | 713 | (setq c (1+ c))) |
| 682 | 714 | ||
| 715 | ;; Fixme: The following blocks might be better as symbol rather than | ||
| 716 | ;; punctuation. | ||
| 683 | ;; Arrows | 717 | ;; Arrows |
| 684 | (setq c #x2190) | 718 | (setq c #x2190) |
| 685 | (while (<= c #x21FF) | 719 | (while (<= c #x21FF) |