Mercurial > emacs
annotate leim/quail/viqr.el @ 109635:fc7a8c411aa3
Add declarations to header files.
* src/keyboard.h (xmalloc_widget_value, digest_single_submenu): Remove
declarations, menu.h has them.
(QCbutton, QCtoggle, QCradio, QClabel, extra_keyboard_modifiers)
(Vinput_method_function, Qinput_method_function)
(Qevent_symbol_element_mask, last_event_timestamp):
* src/dispextern.h (Voverflow_newline_into_fringe):
* src/font.h (QCantialias, Qp, syms_of_ftfont, syms_of_xfns)
(syms_of_ftxfont, syms_of_xftfont, syms_of_bdffont)
(syms_of_w32font, syms_of_nsfont):
* src/fontset.h (find_font_encoding, Qlatin):
* src/frame.h (Qtooltip, Qrun_hook_with_args, Vmenu_bar_mode)
(Vtool_bar_mode, set_frame_menubar):
* src/ftfont.h (ftfont_font_format, ftfont_get_fc_charset):
* src/xterm.h (Qx_gtk_map_stock):
* src/keymap.h (meta_prefix_char): Add declarations.
* src/lisp.h: Remove HAVE_SHM code, unused.
(QCmap, QCrehash_size, QCrehash_threshold, QCsize, QCtest)
(QCweakness, Qabove_handle, Qbackquote, Qbar, Qbelow_handle)
(Qborder, Qbottom, Qbox, Qcircular_list, Qcomma, Qcomma_at)
(Qcomma_dot, Qcursor, Qdefault, Qdown, Qend_scroll, Qeq, Qeql)
(Qequal, Qfile_exists_p, Qfont_param, Qfringe, Qfunction)
(Qfunction_documentation, Qhandle, Qhbar, Qheader_line, Qhollow)
(Qidentity, Qleft_margin, Qmenu, Qmenu_bar_update_hook)
(Qmode_line_inactive, Qmouse, Qoverriding_local_map)
(Qoverriding_terminal_local_map, Qratio, Qregion, Qright_margin)
(Qscroll_bar, Qtool_bar, Qtop, Qup, Qvertical_border, Qwhen)
(Qwindow_scroll_functions, Vafter_load_alist)
(Vauto_save_list_file_name, Vface_alternative_font_family_alist)
(Vface_alternative_font_registry_alist, Vface_font_rescale_alist)
(Vface_ignored_fonts, Vinhibit_redisplay, Vminibuffer_list)
(Vprint_length, Vprint_level, Vscalable_fonts_allowed)
(Vshell_file_name, Vsystem_name, Vwindow_scroll_functions)
(Vwindow_system_version, Vx_no_window_manager, initial_argc)
(initial_argv, last_nonmenu_event, load_in_progress)
(noninteractive_need_newline, scroll_margin): Add declarations.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 05 Aug 2010 16:15:24 -0700 |
parents | 1d1d5d9bd884 |
children | 376148b31b5e |
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, |
106815 | 4 ;; 2006, 2007, 2008, 2009, 2010 |
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 | |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79727
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:
79727
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:
79727
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:
79727
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:
19939
diff
changeset
|
25 ;;; Commentary: |
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19939
diff
changeset
|
26 |
18673 | 27 ;;; Code: |
28 | |
29 (require 'quail) | |
30 (require 'viet-util) | |
31 | |
32 ;; `viet-viqr-alist' is an alist of Vietnamese characters vs | |
33 ;; corresponding VIQR strings. We create Quail map which maps VIQR | |
34 ;; strings to corresponding Vietnamese characters. | |
35 | |
36 (defmacro viet-quail-define-rules () | |
37 (cons 'quail-define-rules | |
38 (let ((l viet-viqr-alist) | |
39 rules) | |
40 (while l | |
41 (setq rules (cons (list (cdr (car l)) (car (car l))) rules)) | |
42 (setq l (cdr l))) | |
43 rules))) | |
44 | |
45 (quail-define-package | |
46 "vietnamese-viqr" "Vietnamese" "VQ" t | |
47 "Vietnamese input method with VIQR mnemonic system | |
48 | |
49 effect | postfix | examples | |
50 ------------+---------+---------- | |
51 breve | ( | a( -> ,1e(B | |
52 circumflex | ^ | a^ -> ,1b(B | |
53 horn | + | o+ -> ,1=(B | |
54 ------------+---------+---------- | |
55 acute | ' | a' -> ,1a(B | |
56 grave | ` | a` -> ,1`(B | |
57 hook above | ? | a? -> ,1d(B | |
58 tilde | ~ | a~ -> ,1c(B | |
59 dot below | . | a. -> ,1U(B | |
60 ------------+---------+---------- | |
61 d bar | dd | dd -> ,1p(B | |
62 ------------+---------+---------- | |
19939
bd8f326c0aad
(vietnamese-viqr): Doc fix.
Richard M. Stallman <rms@gnu.org>
parents:
19722
diff
changeset
|
63 no compose | \\ | a\\. -> a. |
18673 | 64 ------------+---------+---------- |
65 combination| (~ | a(~ -> ,1G(B | |
19722
dd39cae4cf0f
For each package, pass t for the SIMPLE
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
66 " nil t t nil nil t nil nil nil nil t) |
18673 | 67 |
68 | |
69 (viet-quail-define-rules) | |
70 | |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79727
diff
changeset
|
71 ;; 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
|
72 ;;; viqr.el ends here |