diff options
| author | Richard M. Stallman | 2006-11-12 19:56:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-11-12 19:56:51 +0000 |
| commit | 5769ad4e85677f14f15b24c677bdeed040fa8f77 (patch) | |
| tree | d81e93c2796837aac639b30b935ddd23ca610406 | |
| parent | ee6bb6939fe507dc98986bfc23794da6110f61ef (diff) | |
| download | emacs-5769ad4e85677f14f15b24c677bdeed040fa8f77.tar.gz emacs-5769ad4e85677f14f15b24c677bdeed040fa8f77.zip | |
(case table): Do nothing special for i and I.
| -rw-r--r-- | lisp/international/characters.el | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/lisp/international/characters.el b/lisp/international/characters.el index 0b7c223c258..3522b57d5d9 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el | |||
| @@ -912,12 +912,6 @@ | |||
| 912 | 912 | ||
| 913 | (let ((tbl (standard-case-table)) c) | 913 | (let ((tbl (standard-case-table)) c) |
| 914 | 914 | ||
| 915 | ;; In some languages, U+0049 LATIN CAPITAL LETTER I and U+0131 LATIN | ||
| 916 | ;; SMALL LETTER DOTLESS I make a case pair, and so do U+0130 LATIN | ||
| 917 | ;; CAPITAL LETTER I WITH DOT ABOVE and U+0069 LATIN SMALL LETTER I. | ||
| 918 | ;; Thus we have to check language-environment to handle casing | ||
| 919 | ;; correctly. Currently only I<->i is available. | ||
| 920 | |||
| 921 | ;; Latin Extended-A, Latin Extended-B | 915 | ;; Latin Extended-A, Latin Extended-B |
| 922 | (setq c #x0100) | 916 | (setq c #x0100) |
| 923 | (while (<= c #x0233) | 917 | (while (<= c #x0233) |
| @@ -933,8 +927,20 @@ | |||
| 933 | (set-case-syntax-pair | 927 | (set-case-syntax-pair |
| 934 | (decode-char 'ucs (1- c)) (decode-char 'ucs c) tbl)) | 928 | (decode-char 'ucs (1- c)) (decode-char 'ucs c) tbl)) |
| 935 | (setq c (1+ c))) | 929 | (setq c (1+ c))) |
| 936 | (set-downcase-syntax ?$,1 P(B ?i tbl) | 930 | |
| 937 | (set-upcase-syntax ?I ?$,1 Q(B tbl) | 931 | |
| 932 | ;; In some languages, such as Turkish, U+0049 LATIN CAPITAL LETTER I | ||
| 933 | ;; and U+0131 LATIN SMALL LETTER DOTLESS I make a case pair, and so | ||
| 934 | ;; do U+0130 LATIN CAPITAL LETTER I WITH DOT ABOVE and U+0069 LATIN | ||
| 935 | ;; SMALL LETTER I. | ||
| 936 | |||
| 937 | ;; We used to set up half of those correspondence unconditionally, | ||
| 938 | ;; but that makes searches slow. So now we don't set up either half | ||
| 939 | ;; of these correspondences by default. | ||
| 940 | |||
| 941 | ;; (set-downcase-syntax ?$,1 P(B ?i tbl) | ||
| 942 | ;; (set-upcase-syntax ?I ?$,1 Q(B tbl) | ||
| 943 | |||
| 938 | (set-case-syntax-pair ?$,1 R(B ?$,1 S(B tbl) | 944 | (set-case-syntax-pair ?$,1 R(B ?$,1 S(B tbl) |
| 939 | (set-case-syntax-pair ?$,1 T(B ?$,1 U(B tbl) | 945 | (set-case-syntax-pair ?$,1 T(B ?$,1 U(B tbl) |
| 940 | (set-case-syntax-pair ?$,1 V(B ?$,1 W(B tbl) | 946 | (set-case-syntax-pair ?$,1 V(B ?$,1 W(B tbl) |