Mercurial > emacs
annotate leim/quail/cyril-jis.el @ 42602:633233bf2bbf
2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
new macro that replaces viper-emacs-p and viper-xemacs-p in many
cases. Used to reduce the number of warnings.
* viper-cmd.el: use viper-cond-compile-for-xemacs-or-emacs.
(viper-standard-value): moved here from viper.el.
(viper-set-unread-command-events): moved to viper-util.el
(viper-check-minibuffer-overlay): make sure
viper-minibuffer-overlay is moved to cover the entire input field.
* viper-util.el: use viper-cond-compile-for-xemacs-or-emacs.
(viper-read-key-sequence, viper-set-unread-command-events,
viper-char-symbol-sequence-p, viper-char-array-p): moved here.
* viper-ex.el: use viper-cond-compile-for-xemacs-or-emacs.
* viper-keym.el: use viper-cond-compile-for-xemacs-or-emacs.
* viper-mous.el: use viper-cond-compile-for-xemacs-or-emacs.
* viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p,
viper-event-vector-p): moved to viper-util.el
* viper.el (viper-standard-value): moved to viper-cmd.el.
Use viper-cond-compile-for-xemacs-or-emacs.
* ediff-help.el: use ediff-cond-compile-for-xemacs-or-emacs.
* ediff-hook.el: use ediff-cond-compile-for-xemacs-or-emacs.
* ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): new
macro designed to be used in many places where ediff-emacs-p or
ediff-xemacs-p was previously used. Reduces the number of
warnings.
Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieue
of ediff-xemacs-p.
(ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer,
ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p,
ediff-whitespace-diff-region-p, ediff-get-region-contents):
moved to ediff-util.el.
(ediff-event-key): moved here.
* ediff-merge.el: got rid of unreferenced variables.
* ediff-mult.el: use ediff-cond-compile-for-xemacs-or-emacs.
* ediff-util.el: use ediff-cond-compile-for-xemacs-or-emacs.
(ediff-cleanup-mess): improved the way windows are set up after
quitting ediff.
(ediff-janitor): use ediff-dispose-of-variant-according-to-user.
(ediff-dispose-of-variant-according-to-user): new function
designed to be smarter and also understands indirect buffers.
(ediff-highlight-diff-in-one-buffer,
ediff-unhighlight-diff-in-one-buffer,
ediff-unhighlight-diffs-totally-in-one-buffer,
ediff-highlight-diff, ediff-highlight-diff,
ediff-unhighlight-diff, ediff-unhighlight-diffs-totally,
ediff-empty-diff-region-p, ediff-whitespace-diff-region-p,
ediff-get-region-contents, ediff-make-current-diff-overlay):
moved here.
(ediff-format-bindings-of): new function by Hannu Koivisto
<azure@iki.fi>.
(ediff-setup): make sure the merge buffer is always widened and
modifiable.
(ediff-write-merge-buffer-and-maybe-kill): refuse to write the
result of a merge into a file visited by another buffer.
(ediff-arrange-autosave-in-merge-jobs): check if the merge file
is visited by another buffer and ask to save/delete that buffer.
(ediff-verify-file-merge-buffer): new function to do the above.
* ediff-vers.el: load ediff-init.el at compile time.
* ediff-wind.el: use ediff-cond-compile-for-xemacs-or-emacs.
* ediff.el (ediff-windows, ediff-regions-wordwise,
ediff-regions-linewise): use indirect buffers to improve
robustness and make it possible to compare regions of the same
buffer (even overlapping regions).
(ediff-clone-buffer-for-region-comparison,
ediff-clone-buffer-for-window-comparison): new functions.
(ediff-files-internal): refuse to compare identical files.
(ediff-regions-internal): get rid of the warning about comparing
regions of the same buffer.
* ediff-diff.el (ediff-convert-fine-diffs-to-overlays): moved here.
Plus the following fixes courtesy of Dave Love:
Doc fixes.
(ediff-word-1): Use word class and move - to the
front per regexp documentation.
(ediff-wordify): Bind forward-word-function outside loop.
(ediff-copy-to-buffer): Use insert-buffer-substring rather than
consing buffer contents.
(ediff-goto-word): Move syntax table setting outside loop.
author | Michael Kifer <kifer@cs.stonybrook.edu> |
---|---|
date | Tue, 08 Jan 2002 04:36:01 +0000 |
parents | ec841dc83e17 |
children | 23a1cea22d13 |
rev | line source |
---|---|
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19722
diff
changeset
|
1 ;;; cyril-jis.el --- Quail package for inputting JISX0208 Cyrillic letters |
19152 | 2 |
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN. | |
4 ;; Licensed to the Free Software Foundation. | |
5 | |
6 ;; Keywords: multilingual, input method, Cyrillic | |
7 | |
8 ;; This file is part of GNU Emacs. | |
9 | |
10 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
11 ;; it under the terms of the GNU General Public License as published by | |
12 ;; the Free Software Foundation; either version 2, or (at your option) | |
13 ;; any later version. | |
14 | |
15 ;; GNU Emacs is distributed in the hope that it will be useful, | |
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 ;; GNU General Public License for more details. | |
19 | |
20 ;; You should have received a copy of the GNU General Public License | |
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
23 ;; Boston, MA 02111-1307, USA. | |
24 | |
25 ;;; Commentary: | |
26 | |
27 ;; This Quail package is for inputting Cyrillic letters of Japanese | |
28 ;; character set JISX0208, not for inputting Cyrillic letters of | |
29 ;; ISO-8859-5. For the latter, use packages in quail/cyrillic.el. | |
30 | |
31 ;;; Code: | |
32 | |
33 (quail-define-package | |
34 "cyrillic-jis-russian" "Cyrillic" "$B'('+(B" nil | |
35 "$B'+'8'5','&'/(B keyboard layout same as JCUKEN (JIS X0208.1983 encoding)" | |
19722
dd39cae4cf0f
For each package, pass t for the SIMPLE
Kenichi Handa <handa@m17n.org>
parents:
19152
diff
changeset
|
36 nil t t t t nil nil nil nil nil t) |
19152 | 37 |
38 ;; 1! 2@ 3# 4" 5: 6, 7. 8* 9( 0) -_ =+ ,L!(B | |
39 ;; ,L9(B ,LF(B ,LC(B ,L:(B ,L5(B ,L=(B ,L3(B ,LH(B ,LI(B ,L7(B ,LE(B ,Lj(B | |
40 ;; ,LD(B ,LK(B ,L2(B ,L0(B ,L?(B ,L@(B ,L>(B ,L;(B ,L4(B ,L6(B ,LM(B | |
41 ;; ,LO(B ,LG(B ,LA(B ,L<(B ,L8(B ,LB(B ,LL(B ,L1(B ,LN(B /? | |
42 | |
43 (quail-define-rules | |
44 ("1" ?$B#1(B) | |
45 ("2" ?$B#2(B) | |
46 ("3" ?$B#3(B) | |
47 ("4" ?$B#4(B) | |
48 ("5" ?$B#5(B) | |
49 ("6" ?$B#6(B) | |
50 ("7" ?$B#7(B) | |
51 ("8" ?$B#8(B) | |
52 ("9" ?$B#9(B) | |
53 ("0" ?$B#0(B) | |
54 ("-" ?$B!](B) | |
55 ("=" ?$B!a(B) | |
56 ("`" ?$B'W(B) | |
57 ("q" ?$B'[(B) | |
58 ("w" ?$B'h(B) | |
59 ("e" ?$B'e(B) | |
60 ("r" ?$B'\(B) | |
61 ("t" ?$B'V(B) | |
62 ("y" ?$B'_(B) | |
63 ("u" ?$B'T(B) | |
64 ("i" ?$B'j(B) | |
65 ("o" ?$B'k(B) | |
66 ("p" ?$B'Y(B) | |
67 ("[" ?$B'g(B) | |
68 ("]" ?$B'l(B) | |
69 ("a" ?$B'f(B) | |
70 ("s" ?$B'm(B) | |
71 ("d" ?$B'S(B) | |
72 ("f" ?$B'Q(B) | |
73 ("g" ?$B'a(B) | |
74 ("h" ?$B'b(B) | |
75 ("j" ?$B'`(B) | |
76 ("k" ?$B'](B) | |
77 ("l" ?$B'U(B) | |
78 (";" ?$B'X(B) | |
79 ("'" ?$B'o(B) | |
80 ("\\" ?$B!@(B) | |
81 ("z" ?$B'q(B) | |
82 ("x" ?$B'i(B) | |
83 ("c" ?$B'c(B) | |
84 ("v" ?$B'^(B) | |
85 ("b" ?$B'Z(B) | |
86 ("n" ?$B'd(B) | |
87 ("m" ?$B'n(B) | |
88 ("," ?$B'R(B) | |
89 ("." ?$B'p(B) | |
90 ("/" ?$B!?(B) | |
91 | |
92 ("!" ?$B!*(B) | |
93 ("@" ?$B!w(B) | |
94 ("#" ?$B!t(B) | |
95 ("$" ?$B!I(B) | |
96 ("%" ?$B!'(B) | |
97 ("^" ?$B!$(B) | |
98 ("&" ?$B!%(B) | |
99 ("*" ?$B!v(B) | |
100 ("(" ?$B!J(B) | |
101 (")" ?$B!K(B) | |
102 ("_" ?$B!2(B) | |
103 ("+" ?$B!\(B) | |
104 ("~" ?$B''(B) | |
105 ("Q" ?$B'+(B) | |
106 ("W" ?$B'8(B) | |
107 ("E" ?$B'5(B) | |
108 ("R" ?$B',(B) | |
109 ("T" ?$B'&(B) | |
110 ("Y" ?$B'/(B) | |
111 ("U" ?$B'$(B) | |
112 ("I" ?$B':(B) | |
113 ("O" ?$B';(B) | |
114 ("P" ?$B')(B) | |
115 ("{" ?$B'7(B) | |
116 ("}" ?$B'<(B) | |
117 ("A" ?$B'6(B) | |
118 ("S" ?$B'=(B) | |
119 ("D" ?$B'#(B) | |
120 ("F" ?$B'!(B) | |
121 ("G" ?$B'1(B) | |
122 ("H" ?$B'2(B) | |
123 ("J" ?$B'0(B) | |
124 ("K" ?$B'-(B) | |
125 ("L" ?$B'%(B) | |
126 (":" ?$B'((B) | |
127 ("\"" ?$B'?(B) | |
128 ("|" ?$B!C(B) | |
129 ("Z" ?$B'A(B) | |
130 ("X" ?$B'9(B) | |
131 ("C" ?$B'3(B) | |
132 ("V" ?$B'.(B) | |
133 ("B" ?$B'*(B) | |
134 ("N" ?$B'4(B) | |
135 ("M" ?$B'>(B) | |
136 ("<" ?$B'"(B) | |
137 (">" ?$B'@(B) | |
138 ("?" ?$B!)(B)) | |
139 | |
140 ;; Local Variables: | |
40711 | 141 ;; coding: iso-2022-7bit |
19152 | 142 ;; End: |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19722
diff
changeset
|
143 |
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19722
diff
changeset
|
144 ;;; cyril-jis.el ends here |