diff options
| author | Eli Zaretskii | 2001-12-07 17:54:04 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-12-07 17:54:04 +0000 |
| commit | 227f528e48c25e5cda8e555a1324e0c666ad7cd3 (patch) | |
| tree | fa14291d3c6c8939167387b44733d650394f1ee0 | |
| parent | 278abd30d53cd3b735c8694c1ab0f4a63d2d1a2c (diff) | |
| download | emacs-227f528e48c25e5cda8e555a1324e0c666ad7cd3.tar.gz emacs-227f528e48c25e5cda8e555a1324e0c666ad7cd3.zip | |
Resurrect the Hebrew category
settings for all Hebrew characters removed by the last change.
Add code for setting the Hebrew category of the Unicode Hebrew
characters. Set syntax entries for Hebrew punctuation characters.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/international/characters.el | 14 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bffc198e1ce..d9382cbfd47 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il> | 1 | 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 2 | ||
| 3 | * international/characters.el: Resurrect the Hebrew category | ||
| 4 | settings for all Hebrew characters removed by the last change. | ||
| 5 | Add code for setting the Hebrew category of the Unicode Hebrew | ||
| 6 | characters. Set syntax entries for Hebrew punctuation characters. | ||
| 7 | |||
| 3 | * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew | 8 | * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew |
| 4 | points and directional formatting control characters. | 9 | points and directional formatting control characters. |
| 5 | 10 | ||
diff --git a/lisp/international/characters.el b/lisp/international/characters.el index cf3c9f92041..81d464e7d55 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el | |||
| @@ -468,7 +468,19 @@ | |||
| 468 | 468 | ||
| 469 | ;; Hebrew character set (ISO-8859-8) | 469 | ;; Hebrew character set (ISO-8859-8) |
| 470 | 470 | ||
| 471 | ;; (modify-category-entry (make-char 'hebrew-iso8859-8) ?w) | 471 | (modify-category-entry (make-char 'hebrew-iso8859-8) ?w) |
| 472 | (let ((c #x591)) | ||
| 473 | (while (<= c #x5f4) | ||
| 474 | (modify-category-entry (decode-char 'ucs c) ?w) | ||
| 475 | (setq c (1+ c)))) | ||
| 476 | |||
| 477 | (modify-syntax-entry (make-char 'hebrew-iso8859-8 208) ".") ; PASEQ | ||
| 478 | (modify-syntax-entry (make-char 'hebrew-iso8859-8 211) ".") ; SOF PASUQ | ||
| 479 | (modify-syntax-entry (decode-char 'ucs #x5be) ".") ; MAQAF | ||
| 480 | (modify-syntax-entry (decode-char 'ucs #x5c0) ".") ; PASEQ | ||
| 481 | (modify-syntax-entry (decode-char 'ucs #x5c3) ".") ; SOF PASUQ | ||
| 482 | (modify-syntax-entry (decode-char 'ucs #x5f3) ".") ; GERESH | ||
| 483 | (modify-syntax-entry (decode-char 'ucs #x5f4) ".") ; GERSHAYIM | ||
| 472 | 484 | ||
| 473 | ;; (let ((c 224)) | 485 | ;; (let ((c 224)) |
| 474 | ;; (while (< c 251) | 486 | ;; (while (< c 251) |