Mercurial > emacs
annotate leim/quail/viqr.el @ 80452:6d01fa145e93
[!HAVE_CARBON]: Include Quickdraw.h instead of QuickDraw.h.
(XtPointer): Move typedef from macmenu.c.
(enum button_type): Move enum from macmenu.c.
(widget_value): Move typedef from macmenu.c.
(M_APPLE, I_ABOUT, EXTRA_STACK_ALLOC, ARGV_STRING_LIST_ID)
(DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN)
(DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH, DIALOG_MAX_INNER_WIDTH)
(DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE)
(DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH)
(DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE)
(DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN)
(DIALOG_ICON_TOP_MARGIN): Move defines from macmenu.c.
(Selection): Move typedef from macselect.c.
(RAM_TOO_LARGE_ALERT_ID, ABOUT_ALERT_ID) [MAC_OS8]: Move defines from
macterm.c.
(mac_set_window_title, mac_set_window_modified, mac_is_window_visible)
(mac_is_window_collapsed, mac_bring_window_to_front)
(mac_send_window_behind, mac_hide_window, mac_show_window)
(mac_collapse_window, mac_front_non_floating_window)
(mac_active_non_floating_window, mac_activate_window)
(mac_move_window_structure, mac_move_window, mac_size_window)
(mac_get_global_mouse, mac_is_window_toolbar_visible): New defines.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sun, 06 Apr 2008 01:58:05 +0000 |
parents | 3ca83a726835 |
children | 606f2d163a64 4f1fd208c354 |
rev | line source |
---|---|
40710 | 1 ;;; viqr.el --- Quail packages for inputting Vietnamese with VIQR system -*-coding: iso-2022-7bit;-*- |
18673 | 2 |
75253
f5f322eb227f
Update copyright for years from Emacs 21 to present.
Glenn Morris <rgm@gnu.org>
parents:
74605
diff
changeset
|
3 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
79727 | 4 ;; 2006, 2007, 2008 |
67657 | 5 ;; National Institute of Advanced Industrial Science and Technology (AIST) |
6 ;; Registration Number H14PRO021 | |
18673 | 7 |
8 ;; Keywords: multilingual, input method, latin | |
9 | |
10 ;; This file is part of GNU Emacs. | |
11 | |
12 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
13 ;; it under the terms of the GNU General Public License as published by | |
78308
126deea128b3
Restore comma mistakenly removed in last change.
Glenn Morris <rgm@gnu.org>
parents:
78303
diff
changeset
|
14 ;; the Free Software Foundation; either version 3, or (at your option) |
18673 | 15 ;; any later version. |
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 | |
23 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
64083 | 24 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
25 ;; Boston, MA 02110-1301, USA. | |
18673 | 26 |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19939
diff
changeset
|
27 ;;; Commentary: |
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19939
diff
changeset
|
28 |
18673 | 29 ;;; Code: |
30 | |
31 (require 'quail) | |
32 (require 'viet-util) | |
33 | |
34 ;; `viet-viqr-alist' is an alist of Vietnamese characters vs | |
35 ;; corresponding VIQR strings. We create Quail map which maps VIQR | |
36 ;; strings to corresponding Vietnamese characters. | |
37 | |
38 (defmacro viet-quail-define-rules () | |
39 (cons 'quail-define-rules | |
40 (let ((l viet-viqr-alist) | |
41 rules) | |
42 (while l | |
43 (setq rules (cons (list (cdr (car l)) (car (car l))) rules)) | |
44 (setq l (cdr l))) | |
45 rules))) | |
46 | |
47 (quail-define-package | |
48 "vietnamese-viqr" "Vietnamese" "VQ" t | |
49 "Vietnamese input method with VIQR mnemonic system | |
50 | |
51 effect | postfix | examples | |
52 ------------+---------+---------- | |
53 breve | ( | a( -> ,1e(B | |
54 circumflex | ^ | a^ -> ,1b(B | |
55 horn | + | o+ -> ,1=(B | |
56 ------------+---------+---------- | |
57 acute | ' | a' -> ,1a(B | |
58 grave | ` | a` -> ,1`(B | |
59 hook above | ? | a? -> ,1d(B | |
60 tilde | ~ | a~ -> ,1c(B | |
61 dot below | . | a. -> ,1U(B | |
62 ------------+---------+---------- | |
63 d bar | dd | dd -> ,1p(B | |
64 ------------+---------+---------- | |
19939
bd8f326c0aad
(vietnamese-viqr): Doc fix.
Richard M. Stallman <rms@gnu.org>
parents:
19722
diff
changeset
|
65 no compose | \\ | a\\. -> a. |
18673 | 66 ------------+---------+---------- |
67 combination| (~ | a(~ -> ,1G(B | |
19722
dd39cae4cf0f
For each package, pass t for the SIMPLE
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
68 " nil t t nil nil t nil nil nil nil t) |
18673 | 69 |
70 | |
71 (viet-quail-define-rules) | |
72 | |
52401 | 73 ;;; arch-tag: d2c29221-5a2e-46b2-898b-0e56bc4eb858 |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19939
diff
changeset
|
74 ;;; viqr.el ends here |