Mercurial > emacs
annotate leim/quail/thai.el @ 108125:13415f222ad9
Use $CRT_DIR in more places.
* configure.in (--with-crt-dir): Doc fix (now valid for all platforms).
(CRT_DIR): On (powerpc64|sparc64)-*-linux-gnu*, default to /usr/lib64.
On hpux10-20, default to /lib.
* src/m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around,
since the defaults (set by the system file) are fine in most cases.
[GNU_LINUX, __OpenBSD__, __NetBSD__, __APPLE__]: Remove sections.
* src/m/ibms390x.h (START_FILES, LIB_STANDARD):
* src/m/macppc.h (START_FILES, LIB_STANDARD) [GNU_LINUX]:
* src/m/sparc.h (START_FILES, LIB_STANDARD) [__linux__]:
Remove definitions, since they are set correctly in s/gnu-linux.h.
* src/s/freebsd.h (START_FILES, LIB_STANDARD):
* src/s/gnu-linux.h (START_FILES, LIB_STANDARD):
* src/s/hpux10-20.h (START_FILES):
* src/s/netbsd.h (START_FILES, LIB_STANDARD, START_FILES_1, END_FILES_1):
Use $CRT_DIR in place of fixed /usr/lib, /lib directories.
* src/Makefile.in: Comment.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Mon, 26 Apr 2010 20:14:14 -0700 |
parents | 1d1d5d9bd884 |
children | 376148b31b5e |
rev | line source |
---|---|
88610 | 1 ;;; thai.el --- Quail package for inputting Thai characters -*-coding: iso-2022-7bit;-*- |
18673 | 2 |
74605
6ee41fdd69ff
Update AIST copyright years.
Kenichi Handa <handa@m17n.org>
parents:
67657
diff
changeset
|
3 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
106815 | 4 ;; 2005, 2006, 2007, 2008, 2009, 2010 |
60704
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
5 ;; National Institute of Advanced Industrial Science and Technology (AIST) |
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
6 ;; Registration Number H14PRO021 |
18673 | 7 |
8 ;; Keywords: multilingual, input method, Thai | |
9 | |
10 ;; This file is part of GNU Emacs. | |
11 | |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
12 ;; GNU Emacs is free software: you can redistribute it and/or modify |
18673 | 13 ;; it under the terms of the GNU General Public License as published by |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
14 ;; the Free Software Foundation, either version 3 of the License, or |
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
15 ;; (at your option) any later version. |
18673 | 16 |
17 ;; GNU Emacs is distributed in the hope that it will be useful, | |
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 ;; GNU General Public License for more details. | |
21 | |
22 ;; You should have received a copy of the GNU General Public License | |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
23 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
18673 | 24 |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
31431
diff
changeset
|
25 ;;; Commentary: |
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
31431
diff
changeset
|
26 |
18673 | 27 ;;; Code: |
28 | |
29 (require 'quail) | |
30 | |
60704
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
31 (defmacro thai-generate-quail-map (translation-table) |
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
32 (let (map) |
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
33 (dotimes (i (length translation-table)) |
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
34 (let ((trans (aref translation-table i))) |
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
35 (when (not (eq trans 0)) |
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
36 (if (> (length trans) 1) |
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
37 (setq trans (vector trans)) |
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
38 (setq trans (aref trans 0))) |
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
39 (setq map (cons (list (char-to-string i) trans) map))))) |
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
40 `(quail-define-rules ,@map))) |
18673 | 41 |
42 ;; Thai Kesmanee keyboard support. | |
43 | |
44 (quail-define-package | |
45 "thai-kesmanee" "Thai" ",T!!(B>" t | |
46 "Thai Kesmanee input method with TIS620 keyboard layout | |
47 | |
48 The difference from the ordinal Thai keyboard: | |
49 ',T_(B' and ',To(B' are assigned to '\\' and '|' respectively, | |
50 ',T#(B' and ',T%(B' are assigned to '`' and '~' respectively, | |
51 Don't know where to assign characters ',Tz(B' and ',T{(B'." | |
60704
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
52 nil t t t t nil nil nil nil nil t) |
18673 | 53 |
89287 | 54 (thai-generate-quail-map |
55 [ | |
56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; control codes | |
57 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; control codes | |
60605
600e9d5b46cc
(thai-generate-quail-map): Fix the kesmanee layout.
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
58 ;; This data is quite old. |
90127
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
59 ;; 0 "#" "." ",Tr(B" ",Ts(B" ",Tt(B" ",TQi(B" ",T'(B" ; SPC .. ' |
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
60 ;; ",Tv(B" ",Tw(B" ",Tu(B" ",Ty(B" ",TA(B" ",T"(B" ",Tc(B" ",T=(B" ; ( .. / |
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
61 ;; ",T((B" ",TE(B" "/" "_" ",T@(B" ",T6(B" ",TX(B" ",TV(B" ; 0 .. 7 |
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
62 ;; ",T$(B" ",T5(B" ",T+(B" ",TG(B" ",T2(B" ",T*(B" ",TL(B" ",TF(B" ; 8 .. ? |
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
63 ;; ",Tq(B" ",TD(B" ",TZ(B" ",T)(B" ",T/(B" ",T.(B" ",Tb(B" ",T,(B" ; @ .. G |
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
64 ;; ",Tg(B" ",T3(B" ",Tk(B" ",TI(B" ",TH(B" ",Tn(B" ",Tl(B" ",TO(B" ; H .. O |
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
65 ;; ",T-(B" ",Tp(B" ",T1(B" ",T&(B" ",T8(B" ",Tj(B" ",TN(B" "\"" ; P .. W |
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
66 ;; ")" ",Tm(B" "(" ",T:(B" ",T_(B" ",TE(B" ",TY(B" ",Tx(B" ; X .. _ |
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
67 ;; ",T#(B" ",T?(B" ",TT(B" ",Ta(B" ",T!(B" ",TS(B" ",T4(B" ",T`(B" ; ` .. g |
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
68 ;; ",Ti(B" ",TC(B" ",Th(B" ",TR(B" ",TJ(B" ",T7(B" ",TW(B" ",T9(B" ; h .. o |
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
69 ;; ",TB(B" ",Tf(B" ",T>(B" ",TK(B" ",TP(B" ",TU(B" ",TM(B" ",Td(B" ; p .. w |
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
70 ;; ",T;(B" ",TQ(B" ",T<(B" ",T0(B" ",To(B" "," ",T%(B" 0 ; x .. DEL |
60605
600e9d5b46cc
(thai-generate-quail-map): Fix the kesmanee layout.
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
71 ;; This is the correct data nowadays. |
90127
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
72 0 "+" "." ",Tr(B" ",Ts(B" ",Tt(B" ",T_(B" ",T'(B" ; SPC .. ' |
89287 | 73 ",Tv(B" ",Tw(B" ",Tu(B" ",Ty(B" ",TA(B" ",T"(B" ",Tc(B" ",T=(B" ; ( .. / |
90127
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
74 ",T((B" ",Te(B" "/" "-" ",T@(B" ",T6(B" ",TX(B" ",TV(B" ; 0 .. 7 |
89287 | 75 ",T$(B" ",T5(B" ",T+(B" ",TG(B" ",T2(B" ",T*(B" ",TL(B" ",TF(B" ; 8 .. ? |
76 ",Tq(B" ",TD(B" ",TZ(B" ",T)(B" ",T/(B" ",T.(B" ",Tb(B" ",T,(B" ; @ .. G | |
90127
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
77 ",Tg(B" ",T3(B" ",Tk(B" ",TI(B" ",TH(B" "?" ",Tl(B" ",TO(B" ; H .. O |
89287 | 78 ",T-(B" ",Tp(B" ",T1(B" ",T&(B" ",T8(B" ",Tj(B" ",TN(B" "\"" ; P .. W |
90127
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
79 "\)" ",Tm(B" "\(" ",T:(B" ",T#(B" ",TE(B" ",TY(B" ",Tx(B" ; X .. _ |
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
80 "_" ",T?(B" ",TT(B" ",Ta(B" ",T!(B" ",TS(B" ",T4(B" ",T`(B" ; ` .. g |
89287 | 81 ",Ti(B" ",TC(B" ",Th(B" ",TR(B" ",TJ(B" ",T7(B" ",TW(B" ",T9(B" ; h .. o |
82 ",TB(B" ",Tf(B" ",T>(B" ",TK(B" ",TP(B" ",TU(B" ",TM(B" ",Td(B" ; p .. w | |
90127
30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Miles Bader <miles@gnu.org>
diff
changeset
|
83 ",T;(B" ",TQ(B" ",T<(B" ",T0(B" ",T%(B" "," "%" 0 ; x .. DEL |
89287 | 84 ]) |
18673 | 85 |
86 | |
87 ;; Thai Pattachote keyboard support. | |
88 | |
89 (quail-define-package | |
90 "thai-pattachote" "Thai" ",T!;(B>" t | |
91 "Thai Pattachote input method with TIS620 keyboard layout" | |
60704
7c239dedaeea
(quail-thai-update-translation): Delete it.
Kenichi Handa <handa@m17n.org>
parents:
60606
diff
changeset
|
92 nil t t t t nil nil nil nil nil t) |
18673 | 93 |
89287 | 94 (thai-generate-quail-map |
95 [ | |
96 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; control codes | |
97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; control codes | |
89483 | 98 0 "+" ",T1(B" "/" "," "?" "_" ",T"(B" ; SPC .. ' |
89287 | 99 "(" ")" "." "%" ",TP(B" ",Tq(B" ",T((B" ",T>(B" ; ( .. / |
100 ",Tp(B" "=" ",Tr(B" ",Ts(B" ",Tt(B" ",Tu(B" ",TY(B" ",Tw(B" ; 0 .. 7 | |
101 ",Tx(B" ",Ty(B" ",T&(B" ",Td(B" ",T?(B" ",Tv(B" ",T2(B" ",TL(B" ; 8 .. ? | |
102 "\"" ",Tk(B" ",TQ(B" ",T0(B" ",TS(B" ",Tf(B" ",T3(B" ",Tl(B" ; @ .. G | |
103 ",TW(B" ",T+(B" ",T<(B" ",T*(B" ",Tb(B" ",TN(B" ",TH(B" ",T6(B" ; H .. O | |
104 ",T2(B" ",Tj(B" ",T-(B" ",T8(B" ",TI(B" ",T=(B" ",T@(B" ",TD(B" ; P .. W | |
105 ",T.(B" ",TV(B" ",T.(B" ",Tc(B" ",TZ(B" ",T2(B" ",TX(B" "-" ; X .. _ | |
106 ",T#(B" ",Ti(B" ",TT(B" ",TE(B" ",T'(B" ",TB(B" ",T!(B" ",TQ(B" ; ` .. g | |
107 ",TU(B" ",TA(B" ",TR(B" ",T9(B" ",T`(B" ",TJ(B" ",T$(B" ",TG(B" ; h .. o | |
108 ",Ta(B" ",Tg(B" ",TM(B" ",T7(B" ",TC(B" ",T4(B" ",TK(B" ",T5(B" ; p .. w | |
109 ",T;(B" ",Th(B" ",T:(B" ",TO(B" ",Tm(B" ",TF(B" ",T%(B" 0 ; x .. DEL | |
110 ]) | |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
31431
diff
changeset
|
111 |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
112 ;; arch-tag: fed6c468-0616-44b0-88bf-47347bf64825 |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
31431
diff
changeset
|
113 ;;; thai.el ends here |