annotate man/mule/canna-jp.texi @ 221:6c0ae1f9357f r20-4b9

Import from CVS: tag r20-4b9
author cvs
date Mon, 13 Aug 2007 10:10:02 +0200
parents 131b0175ea99
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1 \def\lang{jp}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
2 %\kanjifiletype=20
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
3 \overfullrule=0pt
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
4 \input texinfo @c -*-texinfo-*-
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
5 @comment %**start of header
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
6 @c canna.texinfo release 1.2 91-Sep-6
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
7 @setfilename canna
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
8 @settitle 『かんな/emacs』の手引
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
9 @iftex
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
10 @finalout
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
11 @end iftex
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
12 @comment %**@setchapternewpage odd
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
13 @c @smallbook
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
14 @comment %**end of header
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
15
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
16 @titlepage
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
17 @sp 3
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
18 @center @titlefont{『かんな/emacs』の手引}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
19 @sp 4
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
20 @center 第7版
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
21 @sp 1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
22 @center 1993年11月12日
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
23 @sp 5
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
24 @center 大熊 友嘉里
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
25 @sp 1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
26 @center 今   昭
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27 @sp 1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28 @center NEC 日本電気株式会社
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29 @page
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31 @vskip 0pt plus 1filll
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
32
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
33 一太郎は、(株)ジャストシステムの商標です。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
35 Canna on Nemacs or Mule is distributed in the forms of patches
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
36 to Nemacs or Mule under the terms of the GNU EMACS GENERAL
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
37 PUBLIC LICENSE which is distributed along with GNU Emacs
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
38 by the Free Software Foundation.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
39
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40 Canna on Nemacs or Mule is distributed in the hope that it will
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41 be useful, but WITHOUT ANY WARRANTY; without even the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
42 implied warranty of MERCHANTABILITY or FITNESS FOR A
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
43 PARTICULAR PURPOSE. See the GNU EMACS GENERAL PUBLIC
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
44 LICENSE for more details.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
45
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
46 You should have received a copy of the GNU EMACS GENERAL
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
47 PUBLIC LICENSE along with Nemacs or Mule; see the file COPYING.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
48 If not, write to the Free Software Foundation, 675 Mass
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
49 Ave, Cambridge, MA 02139, USA.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
50
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
51 !Id: canna.texinfo,v 1.12 1993/11/15 04:32:10 kon Exp !
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
52 @end titlepage
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
53 @synindex vr fn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
54 @parindent=0.0pt
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
55
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
56 @c ========================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
57 @node Top, 概説, (dir), (dir)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
58
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
59 @ifinfo
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
60 『かんな/emacs』へようこそ。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
61
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
62 この info ファイルはスペースキーと@kbd{n}だけで全て通して読むことができ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
63 るようになっています。スペースキーを押し、ページスクロールした時に、もう
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
64 それ以上スクロールできず、ベルがなる様な場合には@kbd{n}を押して下さい。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
65 次のセクションに進むことができます。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
66
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
67 もちろんtexinfoの機能を使って目的の部分だけをツリー上のメニューからたどっ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
68 て読むこともできます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
69
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
70 是非スペースキーと@kbd{n}を使って一度全体を通して読んでみて下さい。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
71 @end ifinfo
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
72
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
73 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
74 * Intro: 概説. 『かんな/emacs』とは?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
75 * Init: 初期設定. 『かんな/emacs』で日本語入力するための準備
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
76 * Input: 漢字入力. 日本語入力のしかた
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
77 * Customize: カスタマイズ カスタマイズ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
78 * Others: その他. その他特殊なことについて
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
79 * Changes: 変更点. 変更点
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
80
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
81 * Index: 索引. 索引
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
82 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
83
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
84 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
85 @node 概説, 特徴, Top, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
86 @chapter 『かんな/emacs』とは?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
87 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
88 @c @dm @multiply@jintercharskip by 30@multiply@jasciikanjiskip by 30
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
89 @cindex かんな[かんな]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
90 @cindex Nemacs
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
91 @cindex Mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
92 @cindex cannaserver
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
93 @cindex いろは[いろは]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
94 @cindex Canna
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
95 @cindex クライアント[くらいあんと]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
96
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
97 『かんな/emacs』とは日本語入力システム『かんな』を組み込んだNemacsまたは
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
98 Muleのことであり、日本語を入力するための機能を追加したNemacsまたはMuleで
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
99 す。かな漢字変換はかな漢字変換サーバであるcannaserverと接続して行います。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
100 この意味では「『かんな/emacs』はcannaserverのクライアントである」と言え
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
101 ます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
102
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
103 『かんな』と言う名前は「かな漢字変換」の「かな」(仮名)の古い読
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
104 み方である『かんな』によっています。『かんな』を英語で表記する場
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
105 合はCannaとつづります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
106
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
107 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
108 * Features: 特徴. 『かんな/emacs』の特徴
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
109 * Config: 物件. 『かんな/emacs』を構成する物件
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
110 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
111
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
112 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
113 @node 特徴, 物件, 概説, 概説
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
114 @section 『かんな/emacs』の特徴
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
115 @cindex たまご[たまご]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
116 @cindex サーバクライアント方式[さーばくらいあんとほうしき]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
117 @cindex 再変換機能[さいへんかんきのう]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
118 @cindex カスタマイズ機能[かすたまいずきのう]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
119 @cindex ユーザインタフェース[ゆーざいんたふぇーす]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
120 @cindex TTY上のフロントエンド[TTYじょうのふろんとえんど]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
121 @cindex Xウィンドウ上のフロントエンド[Xうぃんどうじょうのふろんとえんど]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
122 @cindex カスタマイズファイル[かすたまいずふぁいる]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
123
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
124 『かんな/emacs』は次のような特徴を持っています。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
125
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
126 @enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
127 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
128 『たまご』のようなユーザインタフェース
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
129
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
130 『たまご』のようなユーザインタフェースがいいなら『たまご』を使えば良いと
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
131 思われるでしょう。『かんな』のユーザインタフェースは『たまご』のものと良
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
132 く似ているのですが、『かんな』が『たまご』と比べて大きく異なる点は、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
133 「『かんな』はemacs以外の環境でも使える」という事です。『かんな』はほと
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
134 んど同じユーザインタフェースをTTY上のフロントエンド(canuum)、Xウィンドウ上
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
135 のフロントエンド(kinput2)、等の形で提供しています。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
136
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
137 すなわち、UNIXのほとんどすべての環境で『かんな』のユーザインタフェースが
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
138 使えるのです。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
139
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
140 『かんな/emacs』は『かんな』ユーザインタフェースを提供するプログラムの1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
141 つとして準備されています。『かんな』を用いて日本語入力を行うプログラムは
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
142 共通のカスタマイズファイルによってカスタマイズが行えるのはもとより、ほぼ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
143 共通のかな漢字変換操作を提供します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
144
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
145 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
146 逐次自動変換方式
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
147
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
148 Nemacs または Mule で逐次自動変換をサポートしたのはおそらく『かんな』が
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
149 初めてでしょう。将来的には一太郎に見られるフル再変換処理を Nemacs または
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
150 Mule との組み合わせでやりたいところです。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
151
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
152 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
153 カスタマイズ機能
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
154
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
155 機能のキーに対する割り当てや、ローマ字かな変換規則などがカスタマイズで
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
156 きます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
157
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
158 また、このとき用いるカスタマイズファイルは『かんな』の他のアプリケーショ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
159 ンで日本語入力を伴うものと共有されます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
160
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
161 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
162 サーバクライアント方式。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
163
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
164 どのマシンで使うときも常に同一マシン上の同一の辞書を使えます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
165
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
166 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
167 日本語入力のための付加機能
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
168
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
169 入力した文字の字種変換によりローマ字やカタカナに変換する機能、入力した英
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
170 単語のCASE(大文字、小文字)を変更する機能、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
171 記号入力機能、部首入力機能、1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
172 6進コード入力機能、かな漢字変換中に特定の文節の読みを修正し変換し直す機
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
173 能、接続するサーバを変更する機能、単語登録削除機能、辞書マウントアンマウ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
174 ント機能等をユーザインタフェースの一端として提供します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
175
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
176 @cindex 字種変換[じしゅへんかん]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
177 @cindex CASE変換[CASEへんかん]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
178 @cindex 記号入力[きごうにゅうりょく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
179 @cindex 部首入力[ぶしゅにゅうりょく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
180 @cindex 16進コード入力[16しんこーどにゅうりょく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
181 @cindex 単語登録[たんごとうろく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
182 @cindex 単語削除[たんごさくじょ]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
183 @cindex 辞書マウント[じしょまうんと]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
184 @cindex 辞書アンマウント[じしょあんまうんと]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
185 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
186 再変換機能
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
187
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
188 間違って確定キーを押してしまっても一歩前になら戻れます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
189 @end enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
190
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
191 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
192 @node 物件, 初期設定, 特徴, 概説
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
193 @section 『かんな/emacs』を構成する物件
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
194
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
195 『かんな/emacs』を構成する物件は次の通りです。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
196
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
197 @enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
198 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
199 emacs (『かんな/emacs』本体)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
200
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
201 『かんな』ライブラリを組み込んだemacsです。いくつかの『かんな』ライブラ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
202 リ関数がemacs-lispから呼び出せるようにしてあります。『かんな/emacs』は日
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
203 本語入力システム『かんな』がインストールされている環境で動作します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
204
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
205 ベースとなっているemacsのバージョンは18.55(Nemacs)または18.59(Mule)で、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
206 nemacsのバージョンは3.3.2、Muleのバージョンは1.0になっています。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
207
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
208 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
209 /usr/local/@{emacs,mule@}/etc/DOC-18.5[59].××
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
210
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
211 上記emacsに対応するドキュメントファイルです。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
212
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
213 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
214 /usr/local/@{emacs,mule@}/lisp/canna.@{el,elc@}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
215
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
216 emacsのキー入力を横取りして日本語入力にしてしまうプログラムです。lispで
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
217 書かれたソース(@file{canna.el})とコンパイルされたオブジェクト
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
218 (@file{canna.elc})があります。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
219 @end enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
220 @cindex canna.el
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
221 @cindex canna.elc
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
222
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
223 上記4つのファイルをemacsの18.55または18.59、nemacsの3.3.2またはmuleの
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
224 1.0が走っている環境に持ってくれば『かんな/emacs』が使えることになりま
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
225 す。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
226
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
227 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
228 @node 初期設定, 漢字入力, 物件, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
229 @chapter 『かんな/emacs』で日本語入力するための準備
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
230
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
231 『かんな/emacs』で日本語を入力するためには、@file{.emacs}ファイルにある
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
232 程度の記述を加えなければなりません。基本的には次の記述を加えることになり
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
233 ます。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
234
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
235 @cindex .emacs
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
236 @cindex canna-initialize
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
237 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
238 (if (and (boundp 'CANNA) CANNA) ; 『かんな/emacs』であることを確認して
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
239 ;; 『かんな/emacs』 の場合だけ以下を実行します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
240 (progn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
241 (require 'canna)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
242 (canna) ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
243 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
244
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
245 上記の設定をすると、『かんな/emacs』を利用するためのlispプログラムをロー
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
246 ドし、『かんな』の初期化を行います。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
247
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
248 これ以外にも@file{.emacs}に記述しておくと便利な機能がありますが、それら
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
249 については追って説明いたします。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
250
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
251 『かんな/emacs』がインストールされている状態で、@file{.emacs}に上記の記
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
252 述が存在すれば、『かんな/emacs』で日本語が入力できるようになります。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
253
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
254 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
255 @node 漢字入力, Change mode, 初期設定, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
256 @chapter 日本語入力のしかた
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
257
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
258 ここでは『かんな』での日本語入力のしかたについて簡単に説明をします。詳し
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
259 くは『かんな』マニュアルをご参照ください。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
260
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
261 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
262 * Change mode: Change mode. 日本語モードへの切り替え
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
263 * Romaji : Romaji . ローマ字かな変換入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
264 * Henkan to kanji : 変換. 漢字への変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
265 * Kouho selection : 選択. 候補選択(次候補、前候補)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
266 * Kouho ichiran : 一覧. 候補一覧表示
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
267 * Bunsetsu : 文節. 文節
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
268 * Bubun kakutei :Bubun kakutei. 部分確定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
269 * Jishu : 字種. 字種変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
270 * Sign : 記号. 記号入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
271 * Hex : 16進. 16 進コード入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
272 * Bushu : 部首. 部首入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
273 * Touroku : 単語登録. 単語登録
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
274 * Other functions :: その他の機能
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
275 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
276
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
277 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
278 @node Change mode, Romaji, 漢字入力, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
279 @section 日本語モードへの切り替え
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
280
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
281 キーを入力するとアルファベットが入力されるアルファベットモードから、キー
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
282 を入力するとローマ字かな変換が行われ日本語入力ができる日本語入力モードへ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
283 切り替えるためには、@kbd{C-o}か@key{XFER}を押します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
284
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
285 読みを入力してない状態でもう一度@kbd{C-o}か@key{XFER}を入力することでア
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
286 ルファベットモードへ戻ります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
287
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
288 @file{.canna}ファイルで、@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
289
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
290 @cindex C-c
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
291 @cindex XFER
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
292 @cindex .canna
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
293 @cindex japanese-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
294 @cindex global-unbind-key-function
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
295 @cindex global-set-key
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
296 @cindex エスケープシーケンス[えすけーぷしーけんす]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
297 @cindex ファンクションキー[ふぁんくしょんきー]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
298 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
299 (global-unbind-key-function 'japanese-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
300 (global-set-key "\C-e" 'japanese-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
301 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
302
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
303 のように指定するとemacsでも自動的に@kbd{C-e}がモード切り替えのキーになり
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
304 ます。ただし、@key{XFER}は相変わらずモード切り替えキーとして有効です。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
305
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
306 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
307 (global-unbind-key-function 'japanese-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
308 (global-set-key "\Nfer" 'japanese-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
309 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
310
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
311 のようにしても、『かんな/emacs』では@key{XFER}がモード切り替えキーとして
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
312 機能するままであり、しかも@key{NFER}がモード切り替えキーになることはあり
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
313 ません。@kbd{C-e}を指定したときと@key{NFER}を指定したときの違いは、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
314 @kbd{C-e}が1バイトキーなのに対し、@key{NFER}がエスケープシーケンスで構
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
315 成されることです。エスケープシーケンスで構成されるキーに対する機能の割り
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
316 当ては「ファンクションキーへの機能の割り当て」の項を参照して下さい。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
317
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
318 このように、若干の例外はあるのですが、日本語の入力のしかたは『かんな』を
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
319 使った他のアプリケーションなどの場合と同じです。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
320
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
321
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
322 ※注
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
323
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
324 『かんな/emacs』では、他のアプリケーションでの日本語入力と違い、ある制限
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
325 があります。それは、エスケープシーケンスを発生するキーに対して簡単には機
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
326 能を割り当てられないことです。→「ファンクションキーへの機能の割り当て」
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
327
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
328 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
329 @node Romaji, 変換, Change mode, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
330 @section ローマ字かな変換入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
331
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
332 @kbd{C-o}あるいは@key{XFER}を入力し日本語入力モードになるとローマ字かな
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
333 変換が行われます。ローマ字はヘボン式、訓令式のどちらでも受け付けます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
334 『ん』、や『ぁ』『っ』のような拗音については次のように入力します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
335
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
336 @cindex 撥音[はつおん]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
337 @cindex 拗音[ようおん]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
338 @cindex 長音[ちょうおん]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
339
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
340 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
341 ん(撥音) n あるいは mn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
342 んい(ん+母音) nni (または、mni または n'i)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
343 拗音 x を先行させる
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
344 長音 - (ハイフン)を入力する
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
345 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
346
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
347 例えば次のようになります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
348
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
349 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
350 へんかん henkan
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
351 あんない annnai / amnnai / an'nai
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
352 たんい tanni / tamni / tan'i
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
353 てぃー texi- / thi-
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
354 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
355
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
356 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
357 @node 変換, 選択, Romaji, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
358 @section 漢字への変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
359
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
360 読みを入力した後で@key{space}を入力することによりかな漢字変換が行われ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
361 候補が表示されます。変換した漢字を確定するには@key{return}を押します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
362
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
363 @cindex かな漢字変換[かなかんじへんかん]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
364 @cindex SPACE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
365 @cindex RETURN
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
366 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
367 きょうは
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
368 SPACE 今日は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
369 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
370
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
371
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
372 候補が表示されている状態で@key{BS}を入力することにより読みの状態に戻す
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
373 ことができます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
374
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
375 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
376 今日は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
377 BS きょうは
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
378 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
379
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
380
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
381 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
382 @node 選択, 一覧, 変換, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
383 @section 候補選択(次候補、前候補)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
384
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
385 かな漢字変換により表示された候補が希望する語でなかった場合には、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
386 @key{↓}(または@kbd{C-n})を入力することによって次候補を表示する
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
387 ことができます。希望の漢字が出てくるまで何度でも@key{↓}を入力できます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
388
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
389 @cindex 候補[こうほ]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
390 @cindex 候補選択[こうほせんたく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
391 @cindex 次候補[じこうほ]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
392 @cindex 前候補[まえこうほ]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
393 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
394 今日は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
395 ↓ 京は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
396 ↓ 興は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
397 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
398
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
399 @key{↓}を叩きすぎて希望する語が行きすぎてしまた時には@key{↑}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
400 (または@kbd{C-p})を入力します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
401
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
402 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
403 今日は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
404 ↓ 京は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
405 ↓ 興は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
406 ↑ 京は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
407 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
408
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
409 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
410 @node 一覧, 文節, 選択, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
411 @section 候補一覧表示
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
412
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
413 @cindex 候補一覧表示[こうほいちらんひょうじ]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
414 @cindex XFER
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
415 @cindex C-w
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
416 同音異義語がたくさんある場合は、候補の一覧を表示させることもできます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
417 漢字に変換した状態で、@key{space}(または@key{XFER}、@kbd{C-w})を入力する
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
418 と候補一覧が表示されます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
419
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
420 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
421 今日は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
422 SPACE 1今日は 2京は 3興は 4強は 5凶は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
423 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
424
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
425 候補一覧を出した状態では、@key{space}あるいは@key{→}にて次候補(右候補)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
426 を選択します。@key{←}は前候補(左候補)を選択します。@key{↓}・@key{↑}は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
427 それぞれ前候補列・次候補列の表示を行います。また、各候補に振られている一
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
428 桁の数字を入力することにより、その候補までカーソルを移動することができま
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
429 す。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
430
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
431 カーソルが希望する候補の所まできたところで@key{return}を打つことでその候
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
432 補を選択できます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
433
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
434 どの候補も選択せずに候補一覧モードを抜ける時には@key{BS}または@kbd{C-g}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
435 を入力します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
436
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
437 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
438 @node 文節, Bubun kakutei, 一覧, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
439 @section 文節
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
440
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
441 比較的長い読みを入力し@key{space}を押すと、表示されている候補が複数の文
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
442 節に区切られていることがあります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
443
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
444 @cindex 文節[ぶんせつ]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
445 @cindex カレント文節[カレント文節]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
446 @cindex C-f
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
447 @cindex C-b
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
448 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
449 |きょうははやくかえりたい|
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
450 SPACE |今日は| 早く 帰りたい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
451 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
452
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
453 次候補・前候補選択や、候補一覧表示などは文字が反転表示されている文節(カ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
454 レント文節)に対してのみ行われます。別の文節をカレント文節にするためには、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
455 @kbd{C-f}または@key{→}や、@kbd{C-b}または@key{←}を用いてカレント文節
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
456 を移動します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
457
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
458 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
459 |今日は| 早く 帰りたい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
460 → 今日は |早く| 帰りたい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
461 → 今日は 早く |帰りたい|
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
462 ← 今日は |早く| 帰りたい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
463 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
464
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
465 また、カレント文節の長さが適当でない時があります。このような場合には
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
466 @kbd{C-i}・@kbd{C-o}を用いて文節の長さを調整して下さい。@kbd{C-i}・
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
467 @kbd{C-o}はそれぞれ、文節縮め・文節伸ばしを意味します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
468
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
469 @cindex 文節縮め[ぶんせつちぢめ]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
470 @cindex 文節伸ばし[ぶんせつのばし]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
471 @cindex C-i
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
472 @cindex C-o
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
473 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
474 |ここではきものを|
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
475 SPACE |ここでは| 着物を
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
476 C-i |ここで| 履き物を
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
477 C-o |ここでは| 着物を
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
478 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
479
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
480 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
481 @node Bubun kakutei, 字種, 文節, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
482 @section 部分確定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
483
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
484 @kbd{C-k}を入力することにより、カーソルのあった文節より左側の部分を確定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
485 させることができます。カーソル部分より後の文節は読みに戻されます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
486
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
487 @cindex 部分確定[ぶぶんかくてい]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
488 @cindex C-k
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
489 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
490 |ながさきはきょうもあめです|
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
491 SPACE |長崎は| 今日も 雨です
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
492 → 長崎は |今日も| 雨です
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
493 C-k 長崎は|きょうもあめです|
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
494 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
495
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
496 この部分確定機能は、読みを間違えて入力してしまった場合、正しい部分を確定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
497 させるという場合に便利です。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
498
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
499 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
500 @node 字種, 記号, Bubun kakutei, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
501 @section 字種変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
502
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
503 読みを入力している状態や単候補表示状態では、読みの文字列を全角カタカナ・
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
504 半角カタカナ・全角アルファベット・半角アルファベットなどの文字列に変換す
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
505 ることが可能です。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
506 字種変換には@kbd{C-n}または@key{↓}と、@kbd{C-p}または@key{↑}を用います。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
507 @kbd{C-n}または@key{↓}を入力することで『ひらがな〜全角カタカナ〜半角カ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
508 タカナ〜全角アルファベット〜半角アルファベット』と字種変換が行われ、もう
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
509 一度@kbd{C-n}または@key{↓}を入力すると元の読みの状態に戻ります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
510 @kbd{C-p}または@key{↑}を入力すると逆周りの字種変換が行われます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
511
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
512 @cindex 字種変換[じしゅへんかん]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
513 @cindex C-p
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
514 @cindex C-n
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
515 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
516 ふぉとぐらふ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
517 ↓ フォトグラフ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
518 ↓ フォトグラフ(半角)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
519 ↓ fotogurafu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
520 ↓ fotogurafu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
521 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
522
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
523 ※注 Nemacs では半角カタカナはスキップされます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
524
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
525 また、字種変換している状態で@kbd{C-i}や、@kbd{C-o}を入力すると字種変換の
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
526 対象となる領域が伸縮します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
527
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
528
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
529 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
530 ふぉとぐらふを
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
531 ↓ フォトグラフヲ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
532 C-i フォトグラフを
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
533 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
534
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
535 入力している読みに、かなに変換されないアルファベットが入っている場合は、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
536 カタカナに変換されず、『ひらがな〜全角アルファベット〜半角アルファベット
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
537 〜ひらがな』の順で字種変換が行われます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
538
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
539 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
540 こmぷてr
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
541 ↓ computer
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
542 ↓ computer
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
543 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
544
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
545 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
546 @node 記号, 16進, 字種, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
547 @section 記号入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
548
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
549 @key{INS}を入力することにより記号一覧表示を得ることができます。読みで
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
550 「きごう」と入力して漢字変換することによっても、一般的な記号が候補として
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
551 出てきます。選択の方法は数字による選択ができないことを除いて候補一覧表示
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
552 の時と同じです。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
553
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
554 @cindex 記号入力[きごうにゅうりょく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
555 @cindex canna-kigo-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
556 @cindex INS
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
557 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
558 INS [2121] 、 。 , . ・ : ; ? !
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
559 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
560
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
561 記号を選択しないで記号一覧表示を消すためには@kbd{C-g}を入力して下さい。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
562 @key{ins}キーの変わりに@kbd{M-x canna-kigo-mode}によっても同じことが行え
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
563 ます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
564
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
565 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
566 @node 16進, 部首, 記号, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
567 @section 16 進コード入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
568
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
569 16 進コード入力の方法には 2 つありますが、ここでは 16 進コードを読みとし
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
570 て入力する方法について説明します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
571
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
572 4 桁の 16 進数を読みとして入力した後に@kbd{C-y}を押すと 4 桁の 16 進数に
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
573 対応する文字が表示されます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
574
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
575 @cindex 16進コード入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
576 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
577 2276 2276
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
578 C-y ♪
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
579 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
580
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
581 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
582 @node 部首, 単語登録, 16進, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
583 @section 部首入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
584
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
585 読めない漢字でも部首さえわかればなんとかできるのが部首入力です。ある部首
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
586 を持つ漢字の一覧を表示させることができます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
587 部首入力の方法には 2 つの方法がありますが、ここでは部首名を読みとして入
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
588 力し、その入力に対応した部首一覧を表示させる方法について説明します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
589 部首名を読みとして入力した後に@kbd{C-w}を押すと部首一覧が表示されます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
590 目的の漢字を選択する手順は候補一覧の場合と同じです。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
591
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
592 @cindex 部首入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
593 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
594 kigamae きがまえ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
595 C-w 1气 2氛 3氤 4氣
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
596 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
597
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
598 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
599 @node 単語登録, Help key, 部首, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
600 @section 単語登録
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
601
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
602 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
603 * Help key: Help key. HELPキーでの単語登録
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
604 * Touroku region:: M-x canna-touroku-region を用いる場合
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
605 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
606
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
607 @cindex 単語登録[たんごとうろく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
608 @cindex ユーザ辞書[ゆーざじしょ]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
609 日本語入力機能には、変換をより早く的確に行えるようにするために、単語登録
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
610 機能があります。単語登録は、読みが入力されていない状態の時に行う方法と、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
611 リージョンを設定し、@kbd{M-x canna-touroku-region}で登録する方法がありま
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
612 す。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
613
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
614 単語登録はユーザ辞書が指定されているときのみ有効です。ユーザ辞書の指定方
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
615 法については、後述のカスタマイズの項を参照して下さい。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
616
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
617 マウントしているユーザ辞書がなくマウントに失敗したユーザ辞書(userdic)が
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
618 ある場合、単語登録を行うときにその辞書を作成するか否かを聞いてきます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
619 「y」と答えると辞書を作成した後に以下の単語登録を行います。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
620
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
621 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
622 @node Help key, Touroku region, 単語登録, 単語登録
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
623 @subsection HELP キーでの単語登録
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
624
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
625 @cindex HELP
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
626 @cindex 品詞分け[ひんしわけ]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
627 ユーティリティキー@key{help}を押し、「4単語登録」を選択し、次に「1単語
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
628 登録」を選択します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
629
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
630 (このとき、カスタマイズファイルにユーザ辞書を指定しないと単語登録はでき
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
631 ません。)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
632
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
633 登録する単語を入力します。動詞、形容詞、形容動詞は、終止形で入力し、他は
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
634 すべて語幹で入力します。@key{return}を押すと、読みの入力要求がされます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
635 次に読みを入力します。@key{return}を押すと、品詞の候補が表示されます。こ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
636 こで、登録する単語の品詞を入力します。選択した品詞によってはさらに細かい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
637 品詞分けをするかどうかが表示されることもありますので、正しいかどうかを考
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
638 えて答えて下さい。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
639
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
640 「第1開発部」を「いちかい」で登録する例は次のようになります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
641
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
642 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
643 HELP [拡張]|1記号入力| 2コード入力 3部首入力 4単語登録 5環境設定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
644 4 [拡張]1記号入力 2コード入力 3部首入力 |4単語登録| 5環境設定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
645 RETURN [拡張]|1単語登録| 2単語削除 3辞書マウント/アンマウント
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
646 RETURN [登録]単語?[]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
647 第1開発部 [登録]単語?[第1開発部]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
648 RETURN [登録]単語?[第1開発部] 読み?[]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
649 いちかい [登録]単語?[第1開発部] 読み?[いちかい]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
650 RETURN [品詞]|1人名| 2地名 3団体・会社 4名詞 5サ変名詞 6単漢字
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
651 4 [品詞]さらに細かい品詞分けのために質問をしてもよいですか?(y/n)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
652 y [品詞]「第1開発部な」は正しいですか。(y/n)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
653 n [辞書]|1user| 2d1jinmei
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
654 RETURN [あ] 『第1開発部』を登録しました
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
655 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
656
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
657 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
658 @node Touroku region, Other functions, Help key, 単語登録
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
659 @subsection M-x canna-touroku-region を用いる場合
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
660
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
661 @key{help}キーの代わりに@kbd{M-x canna-extend-mode}でも同じことが行えま
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
662
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
663 @cindex canna-touroku-region
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
664 @cindex canna-extend-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
665
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
666 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
667 @node Other functions, カスタマイズ, Touroku region, 漢字入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
668 @section その他
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
669
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
670 その他の機能としては以下のものがあります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
671
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
672 @enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
673 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
674 逐次自動変換による入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
675 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
676 確定入力モードによる入力(ひらがな、カタカナ(全角/半角)、英数(全角/半角))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
677 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
678 記号入力モード(記号全般、ロシア文字、ギリシャ文字、罫線)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
679 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
680 コード入力モード
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
681 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
682 部首入力モード
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
683 @end enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
684
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
685 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
686 @node カスタマイズ, ファイル, Other functions, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
687 @chapter カスタマイズ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
688
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
689 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
690 * Intial File: ファイル. カスタマイズのための初期設定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
691 * Learning:学習. 個人別学習ファイルの作成
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
692 * Dictionary: 辞書. ユーザ辞書の利用
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
693 * Romaji table: ローマ字. ローマ字かな変換のカスタマイズ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
694 * Key def: キー割り当て. 機能のキーへの割り当て
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
695 * Konnna: こんな. こんな風にカスタマイズしてみたい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
696 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
697
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
698 かな漢字変換に関して変換に利用する辞書を始めとしてキー操作やローマ字かな
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
699 変換テーブルにいたるまでカスタマイズすることができます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
700
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
701 ここでは、カスタマイズをいかに行うかについて説明します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
702
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
703 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
704 @node ファイル, 学習, カスタマイズ, カスタマイズ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
705 @section カスタマイズのための初期設定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
706
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
707 カスタマイズを行うにはまず@file{$(CANNALIBDIR)/sample/default.canna}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
708 を自分のホームディレクトリに持ってきて@file{.canna}という名前でセーブ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
709 します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
710
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
711 @cindex カスタマイズ[かすたまいず]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
712 @cindex .canna
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
713 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
714 % cp $(CANNALIBDIR)/sample/default.canna .canna
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
715 % chmod u+w .canna
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
716 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
717
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
718 すでに@file{.canna}を持っている人は上記の操作は不要です。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
719
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
720 ※注
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
721
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
722 $(CANNALIBDIR) は『かんな』の種々のファイルが置かれているディレクト
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
723 リです。『かんな』をインストールした際のコンフィギュレーショ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
724 ンによって、その位置は異なります。例えば、/usr/lib/canna であったり、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
725 /usr/local/canna/lib であったりします。そのマシンでの正確な位置について
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
726 はマシンのシステム管理者にお問い合わせください。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
727
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
728 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
729 @node 学習, 辞書, ファイル, カスタマイズ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
730 @section 個人別学習ファイルの作成
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
731
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
732 基本辞書@code{iroha}は各ユーザに共有されており、各ユーザの使用状況によっ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
733 て候補順が並べかえられます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
734
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
735 他の人の利用により候補順が変わるのがいやな場合、次のようにして個人別学習
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
736 ファイルを作ります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
737
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
738 @cindex 学習ファイル[がくしゅうふぁいる]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
739 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
740 % mkdic -fq iroha
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
741 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
742
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
743 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
744 @node 辞書, ローマ字, 学習, カスタマイズ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
745 @section ユーザ辞書の利用
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
746
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
747 新規に単語を登録するためにはユーザ辞書を設定しなくてはなりません。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
748
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
749 ユーザ辞書は mkdic コマンドで作成できます。kuma というユーザ辞書を作成する
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
750 ときは次のようにします。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
751
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
752 @cindex ユーザ辞書[ゆーざじしょ]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
753 @cindex mkdic
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
754 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
755 % mkdic kuma
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
756 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
757
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
758 次に、カスタマイズファイル@file{.canna}に以下の行を加えます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
759
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
760 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
761 (use-dictionary :user "kuma")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
762 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
763
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
764 最初は中身が空のファイルを指定しておき、順次辞書登録により単語を追加して
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
765 いくのがよいでしょう。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
766
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
767 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
768 @node ローマ字, キー割り当て, 辞書, カスタマイズ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
769 @section ローマ字かな変換のカスタマイズ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
770
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
771 ローマ字かな変換に関して、例えば「こんにちは」と入力するのに「konnichiha」
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
772 と入力するのになれている場合と「konnnichiha」と入力する(「n」の回数が違
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
773 います)のになれている場合があります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
774
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
775 このようにローマ字かな変換だけをとってみても好みはいろいろあります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
776
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
777 ローマ字変換に関してはカスタマイズファイルにより、好みのテーブルを指定す
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
778 ることができます。また、標準的に用意しているテーブルに好みのものがない場
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
779 合は、自分でローマ字かな変換テーブルを作成することもできます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
780
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
781 ここでは、標準的に提供されているローマ字かな変換テーブルについて説明しま
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
782 す。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
783
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
784 標準的に提供されるローマ字かな変換テーブルとしては以下のものがあります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
785
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
786 これらのテーブルは $(CANNALIBDIR)/dic の下にファイルの形で存在します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
787
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
788 @cindex default.kp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
789 @cindex just.kp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
790 @cindex newjis.kp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
791 @cindex kaisoku.kp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
792 @cindex romkana-table
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
793 @cindex tut.kp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
794 @table @var
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
795 @item default.kp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
796 デフォルトのローマ字かな変換テーブル
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
797 @item just.kp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
798 一太郎と同一のローマ字かな変換規則を持つテーブル
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
799 @item kana.kp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
800 アルファベットキーボードで疑似的にかな入力を行うためのテーブル。このテー
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
801 ブルを用いることにより、日本語モードとアルファベットモードの切り替えだけ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
802 で、かな入力とアルファベット入力の切り替えも行えます
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
803 @item newjis.kp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
804 アルファベットキーボードで疑似的に新JISキーボードのカナ配列をシミュレー
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
805 トするためのテーブル
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
806 @item kaisoku.kp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
807 快速ローマ字配列をシミュレートするためのテーブル
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
808 @item tut.kp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
809 TUT入力用のテーブル
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
810 @end table
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
811
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
812 デフォルトではdefault.kpが選ばれますが、その他のローマ字かな変換テーブル
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
813 を利用する場合はカスタマイズファイルにて次のような行を加えます。kana.kp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
814 を利用する場合は、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
815
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
816 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
817 (setq romkana-table "kana.kp")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
818 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
819
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
820 指定した名前はファイル名とみなされサーチされます。サーチは次の順番で行わ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
821 れます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
822
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
823 @enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
824
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
825 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
826 カレントディレクトリ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
827
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
828 指定されたファイルをカレントディレクトリでサーチします。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
829
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
830 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
831 ホームディレクトリ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
832
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
833 指定されたファイルをホームディレクトリでサーチします。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
834
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
835 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
836 辞書ディレクトリ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
837
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
838 指定されたファイルを $(CANNALIBDIR)/dic でサーチします。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
839 @end enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
840
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
841 いずれのディレクトリにもローマ字かな変換テーブルが存在しない場合はローマ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
842 字かな変換入力が行えませんのでご注意下さい。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
843
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
844 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
845 @node キー割り当て, こんな, ローマ字, カスタマイズ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
846 @section 機能のキーへの割り当て
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
847
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
848 デフォルトではどのキーにも割り当てられていない機能(16進コード入力、部
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
849 首変換など)が存在します。これらの機能を特定のキーに割り当てたり既に割
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
850 り当てられている機能についても別のキーに割り当てたりすることができます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
851
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
852 以下に例を示します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
853
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
854 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
855 (global-set-key "\F2" 'hex-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
856 (global-set-key "\F3" 'bushu-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
857
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
858 (set-key 'yomi-mode "\F2" 'convert-as-hex)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
859 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
860
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
861 上記を@file{.canna}に追加すると、@key{F2},@key{F3}キーがそれぞれ、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
862
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
863 @table @key
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
864 @item F2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
865 16 進入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
866 @item F3
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
867 部首選択入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
868 @end table
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
869
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
870 として機能するようになります。ただし、Emacs から利用する場合には上記だ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
871 けでは不足であり、さらにいくつかの記述を @file{.emacs}に入れる必要があります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
872 本件につきましては「5.2 ファンクションキーへの機能の割り当て」をご覧いただく
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
873 ようお願いします。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
874
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
875 @c 具体例として、上記のようなカスタマイズを @file{.canna}で行った場合の記述を示
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
876 @c します。@file{.emacs}などで以下の記述を追加してください。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
877 @c
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
878 @c @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
879 @c (global-set-key "\e[12~" 'canna-hex-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
880 @c (global-set-key "\e[13~" 'canna-bushu-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
881 @c @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
882
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
883 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
884 @node こんな, 空白文字, キー割り当て, カスタマイズ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
885 @section こんな風にカスタマイズしてみたい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
886
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
887 以下では、次のようにカスタマイズしてみたいときにどのようにカスタマイズファ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
888 イルに記述すれば良いかの例を示します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
889
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
890 @enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
891
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
892 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
893 変換は@key{xfer}ですることにし、スペースは全角空白文字の入力として使いた
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
894 い。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
895
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
896 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
897 候補を数字で選んだら候補一覧を抜けたい。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
898
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
899 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
900 候補を選択したら次の文節に移動したい。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
901
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
902 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
903 一太郎のような操作性で入力したい。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
904
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
905 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
906 「 と [ を両方使いたい。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
907
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
908 @end enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
909
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
910 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
911 * Self insert: 空白文字. 変換はXFERですることにし、スペースは全角空白文字の入力として使いたい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
912 * Select direct:: 候補を数字で選んだら候補一覧を抜けたい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
913 * Stay after validate:: 候補を選択したら次の文節に移動したい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
914 * Just canna: 一太郎. 一太郎のような操作性で入力したい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
915 * Brackets: カッコ. 「 と [ を両方使いたい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
916 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
917
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
918 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
919 @node 空白文字, Select direct, こんな, こんな
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
920 @subsection 変換はXFERですることにし、スペースは全角空白文字の入力として使いたい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
921
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
922 このようにするにはまず、スペースキーに対して通常の入力機能(self-insert)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
923 を割り当てます。self-insert の self とはキー自身を指します。すなわち、ス
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
924 ペースキーに対してself-insertを割り当てると空白を挿入すると言う機能がス
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
925 ペースキーに割り当てられます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
926
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
927 スペースキーに self-insert 機能を割り当てるには以下のようにします。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
928
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
929 @cindex self-insert
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
930 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
931 (global-set-key "\Space", 'self-insert)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
932 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
933
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
934 "\Space"はスペースキーを示します。"\Space"の代わりに" "のように記述して
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
935 も同じ意味になります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
936
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
937 このように設定するとスペースキーが変換操作に使えなくなり、代わりに全
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
938 角空白が挿入されます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
939
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
940 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
941 @node Select direct, Stay after validate, 空白文字, こんな
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
942 @subsection 候補を数字で選んだら候補一覧を抜けたい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
943
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
944 『かんな』では候補一覧を表示している状態で候補に振られている数字を押し
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
945 た場合、カーソルがその候補に移動するだけで実際の選択は行われません。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
946
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
947 実際に選択を行うには確定キー(デフォルトではリターンキー)を押さなければな
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
948 りません。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
949
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
950 これが面倒で数字を選んだ時点でその候補を選択して、候補一覧表示を終わって
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
951 しまいたい場合は次のようにカスタマイズファイルに記述します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
952
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
953 @cindex select-direct
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
954 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
955 (setq select-direct t)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
956 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
957
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
958 これにより、数字を選択しただけで、候補が選択され候補一覧が終了します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
959
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
960 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
961 @node Stay after validate, 一太郎, Select direct, こんな
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
962 @subsection 候補を選択したら次の文節に移動したい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
963
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
964 長い文章を入れて変換キーを押し、前の文章から候補選択をするようなやり方を
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
965 している人も多くいるでしょう。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
966
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
967 そのような人の場合、候補一覧で選択した時にカレント文節が同じ部分にとどまっ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
968 てしまうといちいち文節移動をしなければならなくなるので不便を感じてはいな
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
969 いでしょうか。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
970
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
971 「一覧を選択したのだからその文節での仕事は終わっているはずだ。一覧選択を
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
972 終わったら次の文節に移動して欲しい。」というふうにお思いのかたも多いでしょ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
973 う。そのような場合は、次のようにカスタマイズします。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
974
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
975 @cindex stay-after-validate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
976 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
977 (setq stay-after-validate nil)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
978 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
979
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
980 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
981 @node 一太郎, カッコ, Stay after validate, こんな
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
982 @subsection 一太郎のような操作法で入力したい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
983
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
984 「一太郎に慣れているので一太郎とできるだけ同じ操作で日本語入力がしたい」
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
985 と言うかたもいらっしゃるでしょう。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
986
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
987 一太郎とだいたい同じキー操作を提供するカスタマイズファイルが
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
988 @file{$(CANNALIBDIR)/sample/just.canna}として提供されていますので、以下
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
989 のコマンドによりそのファイルをカスタマイズファイルとして使うようにして下
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
990 さい。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
991
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
992 @cindex just.canna
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
993 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
994 % cd
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
995 % cp $(CANNALIBDIR)/sample/just.canna .canna
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
996 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
997
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
998 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
999 @node カッコ, その他, 一太郎, こんな
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1000 @subsection 「 と [ を両方使いたい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1001
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1002 ワープロによっては「.」(ピリオド)を打った時に「。」が入力されるか「.」が
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1003 入力されるかを選択できたり、「[」(角かっこ)を入力した時に「「」(かぎかっ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1004 こ)が入力されるか「[」(全角のかっこ)が入力されるかが選択できるものがあ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1005 ります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1006
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1007 『かんな』でもローマ字かな変換テーブルを書き換えれば「.」や「[」に対応す
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1008 る記号を変更することができますが、ローマ字かな変換テーブルの書き換えは若
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1009 干面倒な作業でもあります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1010
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1011 このような場合以下のカスタマイズを行うことによってそれぞれの記号を両方定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1012 義しておき、必要に応じて簡単に切り替えることが可能になります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1013
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1014 @cindex defsymbol
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1015 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1016 (defsymbol ?. "。" ".")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1017 (defsymbol ?[ "「" "[")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1018 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1019
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1020 このようにしておくと「.」を入力した時に変換キーを押すことによって「。」
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1021 か「.」を選択することができるようになります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1022
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1023
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1024 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1025 @node その他, Empty status, カッコ, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1026 @chapter その他特殊なことについて
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1027
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1028 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1029 * Empty status: Empty status. 未入力状態について
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1030 * Function Keys: Func key. ファンクションキーへの機能の割り当て
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1031 * Undo: アンドゥ. アンドゥ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1032 * Region: 再変換. リージョンの再変換.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1033 * Style: スタイル. 未確定文字列のスタイル
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1034 * Specifying server:: かな漢字変換サーバの指定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1035 * Specifying customization:: カスタマイズファイルの指定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1036 * Boiled-egg like:: boiled-egg みたいな使いかた
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1037 * Functions:: 『かんな/emacs』で使える機能
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1038 * Summary: まとめ. まとめ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1039 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1040
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1041 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1042 @node Empty status, Func key, その他, その他
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1043 @section 未入力状態について
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1044
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1045 ここでは、アルファベット入力状態や、日本語入力状態でも入力中の文字列が
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1046 存在しない状態を「未入力状態」と呼びます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1047
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1048 『かんな/emacs』における未入力状態のとりあつかいは、通常の『かんな』ア
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1049 プリケーションプログラムにおける未入力状態と若干異なります。これは『か
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1050 んな/emacs』におけるキーの取り扱いとして以下の方針を採用しているためで
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1051 す。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1052
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1053 『かんな/emacs』では『かんな』起動時にカスタマイズファイルにおける日本
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1054 語入力モードとアルファベット入力モードの切り替えのカスタマイズを読み込
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1055 んで、Emacs におけるモード切り替え機能をそのキーに設定します。そのキー
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1056 には@code{canna-toggle-japanese-mode}と言う関数が set されます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1057 @code{canna-toggle-japanese-mode}は、Emacs におけるキーバインディング
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1058 を大幅に変更します。@code{canna-toggle-japanese-mode}は空白文字を含む
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1059 グラフィカルキャラクタに対応するキーを Emacs のデフォルトである
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1060 @code{self-insert}と、日本語入力モードにおける
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1061 @code{canna-self-insert}との間で切り替えます。ここで、注意しなければ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1062 ならないのは、コントロールキャラクタに関しては常に Emacs のバインディ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1063 ングのままであることです。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1064
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1065 したがって、『かんな/emacs』における未入力時のバインディングは
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1066 @file{.canna}からは変更できません。『かんな/emacs』における未入力時の
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1067 バインディングのカスタマイズに関しては@file{.emacs}で行う必要があり
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1068 ます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1069
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1070 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1071 @node Func key, アンドゥ, Empty status, その他
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1072 @section ファンクションキーへの機能の割り当て
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1073
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1074 「『かんな/emacs』で日本語入力するための準備」で説明した設定が
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1075 @file{.emacs}で行われていれば、@key{F1}〜@key{F3}などのキーに以下の機能
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1076 が設定されます。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1077
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1078 @table @key
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1079 @item F1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1080 記号入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1081 @item F2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1082 16進コード入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1083 @item F3
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1084 部首入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1085 @item HELP
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1086 ユーティリティ機能呼び出し
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1087 @item INS
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1088 記号入力
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1089 @end table
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1090 @cindex F1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1091 @cindex F2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1092 @cindex F3
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1093 @cindex 記号入力[きごうにゅうりょく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1094 @cindex 16進コード入力[16しんこーどにゅうりょく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1095 @cindex 部首入力[ぶしゅにゅうりょく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1096 @cindex ユーティリティ機能[ゆーてぃりてぃきのう]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1097 @cindex .canna
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1098 @cindex INS
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1099
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1100 この割り当ては@file{.canna}での記述と無関係に行われます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1101
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1102 @file{.canna}にてファンクションキーに、ある機能を割り当てても『かんな
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1103 /emacs』では無視されてしまいます。というのは、emacsでのファンクションキー
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1104 の使い方がちょっと変わっているためです。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1105
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1106 それではファンクションキーにこれらのモードへの移行のための機能を割り当て
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1107 るにはどのようにするのでしょうか?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1108
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1109 emacsではファンクションキーを押すと例えば@kbd{ESC [ 1 1 ~}のようなキーを発
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1110 生します(@key{F1}キーの場合)。デフォルトでは@kbd{ESC [ (}すなわち、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1111 @kbd{M-[})が@code{backward-paragraph}にバインドされていますので、前の段
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1112 落に移動して、``11~''が挿入されてしまうことになります。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1113
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1114 「『かんな/emacs』で日本語入力するための準備」で示した処理を行っている場
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1115 合には@kbd{M-[}と@code{backward-paragraph}のバインドを壊して、@kbd{ESC
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1116 [ 1 1 ~}のような長いキーシーケンスに対して機能を割り当てることができるよう
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1117 にしてあります。すなわち、@kbd{ESC [ 1 1 ~}に対して次のような処理で
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1118 @code{canna-kigou-mode}を割り当てています。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1119
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1120 @cindex backward-paragraph
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1121 @cindex canna-kigou-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1122 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1123 (global-set-key "\e[11~" 'canna-kigou-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1124 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1125
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1126 『かんな/emacs』ではこの方法で@key{F1}、@key{F2}、@key{F3}などにキーを割
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1127 り当てていたのです。@key{F1}〜@key{F3}などのキーに対してこの設定を行いた
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1128 くない場合には、emacsで『かんな』を起動する前に
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1129 @var{canna-do-keybind-for-functionkeys}という名前の変数に@code{nil}を代
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1130 入しておいて下さい。例えば、@file{.emacs}の記述は次のようになることにな
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1131 ります。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1132
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1133 @cindex canna-do-keybind-for-functionkeys
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1134 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1135 (if (and (boundp 'CANNA) CANNA) ; 『かんな/emacs』であることを確認して
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1136 ;; 『かんな/emacs』 の場合だけ以下を実行します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1137 (progn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1138 (require 'canna)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1139 (setq canna-do-keybind-for-functionkeys nil)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1140 (canna) ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1141 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1142
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1143 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1144 @node アンドゥ, 基本操作, Func key, その他
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1145 @section アンドゥ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1146 @cindex アンドゥ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1147
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1148 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1149 * Basic operations: 基本操作. 基本操作
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1150 * Key binding: キー操作. キーへのバインディング
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1151 * Undo and canna-undo:: undo と canna-undo
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1152 * Undo buffer: バッファ. アンドゥバッファに入れる・入れない
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1153 * Undo plus alpha: プラスα. アンドゥ+α
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1154 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1155
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1156 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1157 @node 基本操作, キー操作, アンドゥ, アンドゥ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1158 @subsection 基本操作
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1159
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1160 『かんな/emacs』ではアンドゥ機能をサポートしています。直前に確定した部分
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1161 をもう一度読みに戻すことができます。もう一度読みに戻すには次のようにしま
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1162 す。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1163
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1164 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1165 M-x canna-undo
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1166 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1167 @cindex canna-undo
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1168
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1169 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1170 @node キー操作, Undo and canna-undo, 基本操作, アンドゥ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1171 @subsection キーへのバインディング
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1172
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1173 実はこの@code{canna-undo}、普通の@code{undo}を含んでいます。すなわち、直
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1174 前に確定した日本語の入力がない場合には普通の@code{undo}が行われます。し
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1175 たがって、今まで@code{undo}がバインドされていたキーに@code{canna-undo}を
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1176 バインドすると便利に使えます。例えば@code{undo}を@kbd{C-_}に割り当ててい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1177 た人は @file{.emacs}ファイルにて次のように記述すると@code{undo}の代わり
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1178 に@code{canna-undo}を割り当てることができます。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1179
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1180 @cindex undo
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1181 @cindex C-_
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1182 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1183 (global-set-key "\C-_" 'canna-undo)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1184 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1185
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1186 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1187 @node Undo and canna-undo, バッファ, キー操作, アンドゥ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1188 @subsection undo と canna-undo
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1189 @cindex C-k
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1190 @cindex C-g
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1191
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1192 さて、``直前に確定した日本語''とはどのくらい前までの入力のことを指すので
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1193 しょうか?@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1194
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1195 @code{canna-undo}は@kbd{C-o}などによって日本語入力モードを抜けてしまった
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1196 時にアンドゥの情報を捨ててしまいます。したがって、日本語を入力して確定し
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1197 た場合、日本語入力モードを抜けさえしなければ``直前に確定した日本語''とみ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1198 なされるわけです。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1199
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1200 @code{undo}のキーに@code{canna-undo}を割り当てると便利なようで不便なこと
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1201 があります。例えば、日本語入力モードを抜けないで、@kbd{C-k}などの操作で
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1202 行消去を行うことがありますが、このときウッカリ@kbd{C-_}などを打ってしま
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1203 うもんであれば、行の復活の代わりにさっき確定した文字が読みに戻ってしまい
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1204 ます。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1205
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1206 本来であれば、@kbd{C-_}を打つまえに@kbd{C-o}を打つなどして日本語入力モー
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1207 ドから抜ければ良かったのですが、ここは一発元に戻す方法があります。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1208
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1209 本当は本来のアンドゥが行いたかった場合に@code{canna-undo}が作動してしまっ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1210 た場合には@kbd{C-g C-_ C-_}と打って下さい。最初の@kbd{C-g}で読みを放棄し
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1211 ます。実は読みを放棄した場合にも@code{canna-undo}のための情報が失われるの
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1212 です。この状態ではさっき入力した日本語までなくなってしまいますが、その次
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1213 の@kbd{C-_}でそれが復活し、次の@kbd{C-_}が本来の目的であったアンドゥとして
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1214 機能します。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1215
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1216 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1217 @node バッファ, プラスα, Undo and canna-undo, アンドゥ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1218 @subsection アンドゥバッファに入れる・入れない
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1219
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1220 アンドゥを@kbd{C-_}などに割り当てて使っていると結構便利だったりするので
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1221 すが、マルやテンを分けて入力した場合はあまりアンドゥが効果がない場合があ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1222 ります。例えば、次のように入力する場合です。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1223
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1224 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1225 このようににゅうりょくするばあいです<space>。<return>
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1226 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1227
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1228 このように入力して、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1229
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1230 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1231 子のように入力する場合です。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1232 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1233
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1234 のように変換されてしまってから@kbd{C-_}と打っても、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1235
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1236 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1237 子のように入力する場合です|。|
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1238 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1239 @cindex canna-save-undo-text-predicate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1240
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1241 となるだけで、寂しい思いをしてしまいます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1242
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1243 「マルとかテンを分けて打つ癖がある僕も悪いけれどもマルやテンだったらアン
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1244 ドゥバッファに入れなくてもいいんじゃないの?」と思うかたもいるでしょう。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1245 ご安心下さい。そういう場合にもちゃんと対応できるのです。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1246
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1247 そのからくりは、@code{canna-save-undo-text-predicate}という変数です。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1248
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1249 @code{canna-undo}は入力が確定した時にその確定した入力をアンドゥバッファ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1250 にとって置くかどうかを@code{canna-save-undo-text-predicate}にお伺いして
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1251 判断します。@code{canna-save-undo-text-predicate}にはその判断を行うため
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1252 の関数を代入しておきます。@code{canna-save-undo-text-predicate}という変
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1253 数に値が束縛されていなかったり、値が@code{nil}だった場合には無条件にバッ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1254 ファにセーブしておきます。@code{canna-save-undo-text-predicate}は読みと
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1255 読みを入力した時のローマ字テキストの2つの文字列を@code{car}と@code{cdr}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1256 に持つ2進木に対して適用されます。例えば、確定した文字列を表す読みが2バ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1257 イトより長い文字列でなければセーブしないということを指定するには次のよう
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1258 に記述することになります。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1259
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1260 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1261 (setq canna-save-undo-text-predicate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1262 '(lambda (s)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1263 (> (length (car s)) 2) ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1264 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1265
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1266 これで、さっきの例で@kbd{C-_}を打つと、マルは飛ばされて次のようになりま
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1267 す。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1268
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1269 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1270 |このようににゅうりょくするばあいです|。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1271 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1272
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1273 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1274 @node プラスα, 再変換, バッファ, アンドゥ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1275 @subsection アンドゥ+α
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1276
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1277 「再変換機能というからには、読みに戻るのでは駄目で確定する直前に戻るのが
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1278 本当じゃないの?」という気がしないでもありません。確定する直前に戻るのは
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1279 ひじょ〜〜に大変ですが、それらしくはなんとかすることができます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1280
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1281 それは、アンドゥしたテキストを変換した状態にすることです。アンドゥの後に
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1282 何かを行いたい場合は、@var{canna-undo-hook}という変数に関数を代入します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1283 アンドゥの後に変換を行いたい場合には次のようにします。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1284
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1285 @cindex canna-undo-hook
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1286 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1287 (setq canna-undo-hook
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1288 '(lambda () (message "再変換します....")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1289 (canna-do-function canna-func-henkan)) )
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1290 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1291 @cindex canna-func-henkan
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1292 @cindex canna-do-function
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1293
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1294 このようにしておくことにより、@code{canna-undo}では「読みに戻します」と
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1295 いうメッセージが出ていたものが「再変換します」というメッセージになり、先
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1296 に確定した文字列が再変換されます。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1297
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1298 @var{canna-func-henkan}は「変換」を表す機能の番号です。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1299 @code{canna-do-function}では『かんな』の色々な機能を直接実行することがで
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1300 きます。どのような機能が存在するかは「付録」を参照して下
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1301 さい。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1302
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1303 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1304 @node 再変換, スタイル, プラスα, その他
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1305 @section リージョンの再変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1306 @cindex canna-henkan-region
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1307 @cindex C-@@
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1308 @cindex canna-use-space-key-as-henkan-region
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1309
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1310 Emacs上の任意のテキストを再変換する機能を付加しました。リージョンを引い
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1311 て@kbd{M-x canna-henkan-region}としても良いのですが、かな漢字変換用のマー
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1312 クを設定して、ポイント(カーソル)位置を移動し、スペースバーを打つとマーク
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1313 とポイントの間がかな漢字変換されます。スペースバーはマークの直後は再変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1314 用のキーとして使われますが、日本語モードを抜けたり文字を挿入したりした後
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1315 には通常の空白を入れるキーに戻ります。かな漢字変換用のマークを打つにはキー
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1316 ボードより@kbd{C-@@}を入れることにより行えます。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1317
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1318 スペースバーはいつでも空白の挿入として使いたいと言う場合には
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1319 @code{(canna)}を実行するまえに
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1320 @code{canna-use-space-key-as-henkan-region}に@code{nil}を代入しておいて
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1321 ください。このことにより@kbd{C-@@}へのかな漢字変換用マークを行うバ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1322 インドも行われなくなります。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1323
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1324 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1325 @node スタイル, Specifying server, 再変換, その他
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1326 @section 未確定文字列のスタイル
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1327
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1328 未確定文字列に関する『かんな』のデフォルトのスタイルはアンダーラインを引
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1329 くというものです。これに対して『かんな/emacs』では2本の縦棒で囲むという
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1330 スタイルをとっていますが、やはりアンダーラインの方が良いと言うリクエスト
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1331 にお答えすることができます。それには、@code{canna-set-fence-mode-format}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1332 という関数を使います。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1333 例えば次のようになります。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1334
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1335 @cindex アンダーライン[あんだーらいん]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1336 @cindex canna-set-fence-mode-format
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1337 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1338 (canna-set-fence-mode-format nil nil t)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1339 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1340
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1341 @code{canna-set-fence-mode-format}の各引数では次のことを指定します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1342 @refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1343
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1344 第1引数は入力中の文字列の両脇を縦棒(@kbd{|})で囲むかどうかを指定します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1345 @refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1346
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1347 第2引数は変換を行っている時に文節と文節の間を空白で区切るかどうかを指定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1348 します。@code{nil}を指定すると文節と文節の間にすき間を入れません。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1349 @refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1350
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1351 第3引数はアンダーラインや反転を使うかどうかを指定します。アンダーライン
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1352 や反転を使う場合には@file{attribute.el}が必要です。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1353
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1354 ちなみに筆者は@code{nil t nil}で使っていますが、最初のうちは
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1355 @file{attribute.el}があるなら@code{nil nil t}、ないなら@code{t t nil}で
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1356 使うのが良いでしょう。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1357
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1358 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1359 @node Specifying server, Specifying customization, スタイル, その他
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1360 @section かな漢字変換サーバの指定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1361
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1362 『かんな』では通常かな漢字変換サーバは環境変数の@var{CANNAHOST}で指定し
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1363 ますが、『かんな/emacs』ではそれに加えて@var{canna-server}という変数にサー
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1364 バ名を代入しておくことで指定することができます。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1365
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1366 『かんな/emacs』での設定の方が環境変数による設定より優先します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1367
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1368 @cindex CANNAHOST
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1369 @cindex canna-server
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1370 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1371 (setq canna-server "wink")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1372 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1373
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1374 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1375 @node Specifying customization, Boiled-egg like, Specifying server, その他
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1376 @section カスタマイズファイルの指定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1377
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1378 『かんな』では通常カスタマイズファイルは環境変数の@var{CANNAFILE}で指定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1379 しますが、『かんな/emacs』ではそれに加えて@var{canna-file}という変数にファ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1380 イル名を代入しておくことで指定することができます。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1381
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1382 『かんな/emacs』での設定の方が環境変数による設定より優先します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1383
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1384 @cindex CANNAFILE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1385 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1386 (setq canna-file (expand-file-name "~/.canna-emacs"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1387 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1388
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1389 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1390 @node Boiled-egg like, Functions, Specifying customization, その他
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1391 @section boiled-egg みたいな使いかた
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1392 @cindex boiled-egg
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1393
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1394 『かんな』を使って boiled-egg みたいな使いかたをすることができます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1395 boiled-egg みたいな使いかたをするには@var{rK-trans-key}と言う変数に
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1396 boiled-egg 的使いかたをする時の起動キーを定義します。例えば以下のように
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1397 なります。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1398 @cindex rK-trans-key
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1399
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1400 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1401 (setq rK-trans-key "\C-t")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1402 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1403
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1404 何も指定をしないと@key{C-j}がデフォルトとして用いられます。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1405
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1406 さて、boiled-egg 的な使いかたをする場合には、boiled-egg 的な使いかたをし
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1407 たいバッファにて、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1408
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1409 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1410 M-x canna-boil
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1411 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1412 @cindex canna-boil
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1413
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1414 を実行します。そうすると、@var{rK-trans-key}で指定したキーが起動キーとし
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1415 て定義され、以下のような操作で、日本語入力が行えます。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1416
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1417 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1418 boiled-egg mitainitukaemasu<C-j>
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1419 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1420
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1421 上記の入力の結果は以下のようになります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1422
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1423 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1424 boiled-egg |みたいに 使えます|
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1425 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1426
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1427 これは『かんな』で変換キーを押した時と同じような状態です。あとは『かんな』
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1428 の通常の変換操作で入力できます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1429
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1430 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1431 @node Functions, まとめ, Boiled-egg like, その他
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1432 @section 『かんな/emacs』で使える関数
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1433
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1434 『かんな/emacs』で利用できる関数としては次のものがあります。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1435
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1436 @table @code
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1437 @item canna-bushu-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1438 @cindex canna-bushu-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1439 @cindex 部首変換[ぶしゅへんかん]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1440 部首変換モード
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1441 @item canna-henkan-region
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1442 @cindex canna-henkan-region
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1443 指定されたリージョンの文字を漢字に変換します
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1444 @item canna-hex-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1445 @cindex canna-hex-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1446 @cindex 16進コード入力[16しんこーどにゅうりょく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1447 16進コード入力モード
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1448 @item canna-kigou-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1449 @cindex canna-kigou-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1450 @cindex 記号入力[きごうにゅうりょく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1451 記号入力モード
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1452 @item canna-extend-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1453 @cindex canna-extend-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1454 @cindex ユーティリティモード[ゆーてぃりてぃもーど]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1455 ユーティリティモード
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1456 @item canna-reset
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1457 @cindex canna-reset
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1458 @cindex 再起動[さいきどう]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1459 日本語入力システムの再起動
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1460 @item canna-toggle-japanese-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1461 @cindex canna-toggle-japanese-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1462 アルファベットモードと日本語モードの切り替え
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1463 @item canna-touroku
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1464 @cindex canna-touroku
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1465 @cindex 単語登録[たんごとうろく]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1466 単語登録
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1467 @item canna-touroku-region
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1468 @cindex canna-touroku-region
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1469 リージョンで指定された単語を登録
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1470 @item canna-undo
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1471 @cindex canna-undo
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1472 直前に確定した日本語入力を読みに戻す
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1473 @item canna-version
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1474 @cindex canna-version
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1475 @cindex バージョン[ばーじょん]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1476 『かんな/emacs』のバージョンの表示
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1477 @item canna-do-function
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1478 @cindex canna-do-function
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1479 『かんな』の機能を実行します。該当する機能が@code{canna-do-function}呼び
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1480 だし時の状態で無効である場合はその機能は実行されません。どのような機能が
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1481 あるかは付録を参照して下さい。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1482 @item canna-set-fence-mode-format
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1483 @cindex canna-set-fence-mode-format
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1484 『かんな』で入力を行っている部分の見え方を指定します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1485 @item canna-rk-trans
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1486 @cindex canna-rk-trans
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1487 左にあるローマ字列をローマ字かな変換し、『かんな』の読み入力状態に移行
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1488 します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1489 @item canna-rk-trans-region
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1490 @cindex canna-rk-trans-region
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1491 リージョンで指定された部分にあるローマ字をローマ字かな変換し、『かんな』
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1492 の読み入力状態に移行します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1493 @item canna-boil
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1494 @cindex canna-boil
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1495 boiled-egg 的な使いかたをする準備をします。この関数はこの関数を実行した
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1496 バッファだけに効力を持ちます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1497 @end table
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1498
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1499 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1500 @node まとめ, 変更点, Functions, その他
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1501 @section まとめ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1502
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1503 ここで説明した機能を使って@file{.emacs}の記述を行うとおおよそ次のように
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1504 なります。@file{.emacs}の修正をするときの参考にして下さい。@refill
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1505
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1506 @cindex .emacs
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1507 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1508 (if (and (boundp 'CANNA) CANNA) ; 『かんな/emacs』であることを確認して
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1509 ;;『かんな/emacs』の場合だけ以下を実行します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1510 (progn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1511 (require 'canna) ;ライブラリのロード(ロードされてないなら)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1512 (setq canna-do-keybind-for-functionkeys t)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1513 (setq canna-server "wink") ;かな漢字変換サーバの指定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1514 (setq canna-file (expand-file-name "~/.canna-emacs"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1515
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1516 (canna) ;『かんな』の初期化
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1517
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1518 (canna-set-fence-mode-format nil t nil) ; 入力中の見え方
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1519 (global-set-key "\e[209z" 'canna-japanese-mode) ;NFER
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1520 (global-set-key "\C-_" 'canna-undo) ;アンドゥの設定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1521 (setq canna-save-undo-text-predicate ;アンドゥバッファへ入れる条件
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1522 '(lambda (s) (> (length (car s)) 2)) )
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1523 (setq canna-undo-hook ;アンドゥ+α
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1524 '(lambda () (message "再変換します....")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1525 (canna-do-function canna-func-henkan)) )
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1526 ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1527 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1528
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1529 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1530 @node 変更点, v22to23, まとめ, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1531 @chapter 変更点
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1532
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1533 『かんな/emacs』に関しては今まで特別にバージョンをつけてはいませんでした
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1534 が、『かんな』Version 1.2 対応のものを 1.2、Version 2.2 対応のものを 2.2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1535 とさせていただきます。今回提供するバージョンも『かんな』Version 2.2 をベー
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1536 スにしていますが、以前の『かんな/emacs』から機能変更がありますので、
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1537 Version 2.3 とさせていただきます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1538
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1539 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1540 * v22to23:: Version 2.2 から 2.3 への変更点
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1541 * v12to22:: Version 1.2 から 2.2 への変更点
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1542 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1543
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1544 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1545 @node v22to23, v12to22, 変更点, 変更点
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1546 @section Version 2.2 から 2.3 への変更点
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1547
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1548 以下に『かんな/emacs』Version 2.2 から 2.3 への変更点を示します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1549
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1550 @enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1551
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1552 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1553 最初のモード表示の変更
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1554
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1555 最初のモード表示を「かんな」にしました。(今まではハイフン6つでした)。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1556
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1557 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1558 ミニバッファ利用時のモード表示
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1559
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1560 ミニバッファで入力を行っている場合もモード表示をするようにしました。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1561
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1562 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1563 ミニバッファ入力中のバグの修正
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1564
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1565 ミニバッファで入力を行っている時に、候補一覧などを表示させると、今までミ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1566 ニバッファにあった文字列を消してしまうと言うバグがありました。これを直し
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1567 ました。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1568
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1569 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1570 boiled-egg 対応
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1571
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1572 boiled-egg のような入力もできるようにしました。また、mlh もオプション
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1573 (mlh 側の若干の対応)で対応可としました。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1574
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1575 @end enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1576
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1577 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1578 @node v12to22, 付録, v22to23, 変更点
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1579 @section Version 1.2 から 2.2 への変更点
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1580
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1581 以下に『かんな』Version 1.2 で提供されていた『かんな/emacs』から Version
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1582 2.2 ベースの『かんな/emacs』への変更点を示します。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1583
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1584 @enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1585
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1586 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1587 名前の変更
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1588
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1589 各関数、変数などの名前として@code{iroha}とあったものが@code{canna}になり
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1590 ました。また、lisp ファイル名が@file{iroha.el}から@file{canna.el}になり
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1591 ました。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1592
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1593 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1594 各種定数の定義
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1595
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1596 『かんな』における各種定数が以前はlispファイル(@file{iroha.el})で定義
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1597 されていましたが、これを Emacs のソースファイル(@file{canna.c})で定義する
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1598 ようにしました。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1599
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1600 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1601 Emacs とのインタフェースの変更
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1602
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1603 lisp ファイル(@file{canna.el})と Emacs (@file{canna.c})との間のインタ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1604 フェースを変更し、consセルの消費を削減しました。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1605
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1606 @end enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1607
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1608
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1609 @c ============================================================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1610 @node 付録, 索引, v12to22, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1611 @unnumbered 付録
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1612
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1613 以下の変数の値を@code{canna-do-func}に与えると該当する機能が実行されます。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1614
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1615 @table @var
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1616 @item canna-func-self-insert
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1617 @cindex canna-func-self-insert
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1618 入力された文字をそのまま入力とする
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1619 @item canna-func-functional-insert
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1620 @cindex canna-func-functional-insert
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1621 入力された文字を適当にローマ字かな変換などで修飾し入力とする
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1622 @item canna-func-quoted-insert
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1623 @cindex canna-func-quoted-insert
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1624 次の一文字をそのまま入力とする
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1625 @item canna-func-japanese-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1626 @cindex canna-func-japanese-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1627 日本語入力モードに移行する
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1628 @item canna-func-alpha-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1629 @cindex canna-func-alpha-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1630 アルファベット入力モードに移行する
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1631 @item canna-func-henkan-nyuryoku-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1632 @cindex canna-func-henkan-nyuryoku-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1633 全角ひらがな変換入力モードに移行する
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1634 @item canna-func-forward
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1635 @cindex canna-func-forward
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1636 右へ移動
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1637 @item canna-func-backward
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1638 @cindex canna-func-backward
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1639 左へ移動
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1640 @item canna-func-next
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1641 @cindex canna-func-next
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1642 下または次へ移動
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1643 @item canna-func-previous
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1644 @cindex canna-func-previous
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1645 上または前へ移動
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1646 @item canna-func-beginning-of-line
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1647 @cindex canna-func-beginning-of-line
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1648 左端へ移動
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1649 @item canna-func-end-of-line
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1650 @cindex canna-func-end-of-line
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1651 右端へ移動
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1652 @item canna-func-delete-next
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1653 @cindex canna-func-delete-next
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1654 次の一文字の削除
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1655 @item canna-func-delete_previous
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1656 @cindex canna-func-delete_previous
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1657 左の一文字の削除
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1658 @item canna-func-kill-to-end-of-line
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1659 @cindex canna-func-kill-to-end-of-line
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1660 カーソルから行末まで削除
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1661 @item canna-func-henkan
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1662 @cindex canna-func-henkan
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1663 変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1664 @item canna-func-kakutei
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1665 @cindex canna-func-kakutei
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1666 確定
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1667 @item canna-func-extend
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1668 @cindex canna-func-extend
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1669 伸ばし
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1670 @item canna-func-shrink
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1671 @cindex canna-func-shrink
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1672 縮め
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1673 @item canna-func-quit
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1674 @cindex canna-func-quit
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1675 中止
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1676 @item canna-func-convert-as-hex
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1677 @cindex canna-func-convert-as-hex
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1678 読みを16進コードとみなして変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1679 @item canna-func-convert-as-bushu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1680 @cindex canna-func-convert-as-bushu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1681 読みを部首名とみなして部首一覧表示
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1682 @item canna-func-kouho-ichiran
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1683 @cindex canna-func-kouho-ichiran
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1684 候補一覧表示
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1685 @item canna-func-bubun-muhenkan
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1686 @cindex canna-func-bubun-muhenkan
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1687 無変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1688 @item canna-func-zenkaku
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1689 @cindex canna-func-zenkaku
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1690 全角に変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1691 @item canna-func-hankaku
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1692 @cindex canna-func-hankaku
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1693 半角に変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1694 @item canna-func-to-upper
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1695 @cindex canna-func-to-upper
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1696 大文字に変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1697 @item canna-func-capitalize
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1698 @cindex canna-func-capitalize
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1699 先頭文字を大文字に変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1700 @item canna-func-to-lower
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1701 @cindex canna-func-to-lower
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1702 小文字に変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1703 @item canna-func-hiragana
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1704 @cindex canna-func-hiragana
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1705 ひらがなに変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1706 @item canna-func-katakana
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1707 @cindex canna-func-katakana
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1708 カタカナに変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1709 @item canna-func-romaji
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1710 @cindex canna-func-romaji
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1711 ローマ字に変換
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1712 @item canna-func-extend-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1713 @cindex canna-func-extend-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1714 ユーティリティモードのメニューの表示
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1715 @item canna-func-touroku
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1716 @cindex canna-func-touroku
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1717 単語登録モードへの移行
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1718 @item canna-func-hex-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1719 @cindex canna-func-hex-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1720 16進コード入力モードへの移行
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1721 @item canna-func-bushu-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1722 @cindex canna-func-bushu-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1723 部首入力モードへの移行
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1724 @item canna-func-kigo-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1725 @cindex canna-func-kigo-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1726 記号入力モードへの移行
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1727 @end table
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1728
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1729 以下の機能は『かんな/emacs』の『かんな』の部分が Version 2.1 以上のとき
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1730 のみ有効です。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1731
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1732 @table @var
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1733 @item canna-func-adjust-bunsetsu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1734 @cindex canna-func-adjust-bunsetsu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1735 一太郎の文節伸ばし縮めモードのような文節伸ばし縮めモードへの移行
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1736 @item canna-func-base-hiragana
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1737 @cindex canna-func-base-hiragana
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1738 入力文字のベースをひらがなに変更
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1739 @item canna-func-base-katakana
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1740 @cindex canna-func-base-katakana
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1741 入力文字のベースをカタカナに変更
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1742 @item canna-func-base-eisu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1743 @cindex canna-func-base-eisu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1744 入力文字のベースを英数に変更
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1745 @item canna-func-base-zenkaku
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1746 @cindex canna-func-base-zenkaku
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1747 入力文字のベースを全角に変更
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1748 @item canna-func-base-hankaku
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1749 @cindex canna-func-base-hankaku
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1750 入力文字のベースを半角に変更
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1751 @item canna-func-base-kana
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1752 @cindex canna-func-base-kana
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1753 入力文字のベースをカナ(ひらがなかカタカナ)に変更
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1754 @item canna-func-base-kakutei
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1755 @cindex canna-func-base-kakutei
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1756 入力ベースを確定入力モードに変更
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1757 @item canna-func-base-henkan
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1758 @cindex canna-func-base-henkan
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1759 入力ベースを変換入力モードに変更
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1760 @item canna-func-base-hiragana-katakana-toggle
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1761 @cindex canna-func-base-hiragana-katakana-toggle
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1762 入力ベースをひらがなとカタカナの間でトグル
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1763 @item canna-func-base-zenkaku-hankaku-toggle
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1764 @cindex canna-func-base-zenkaku-hankaku-toggle
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1765 入力ベースを全角と半角の間でトグル
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1766 @item canna-func-base-kana-eisu-toggle
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1767 @cindex canna-func-base-kana-eisu-toggle
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1768 入力ベースをカナと英数の間でトグル
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1769 @item canna-func-base-kakutei-henkan-toggle
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1770 @cindex canna-func-base-kakutei-henkan-toggle
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1771 入力ベースを確定入力と変換入力の間でトグル
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1772 @item canna-func-base-rotate-forward
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1773 @cindex canna-func-base-rotate-forward
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1774 入力ベースの順次切り替え
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1775 @item canna-func-base-rotate-backward
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1776 @cindex canna-func-base-rotate-backward
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1777 入力ベースの順次切り替え(逆回転)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1778 @end table
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1779
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1780 以下の機能は『かんな/emacs』の『かんな』の部分が Version 2.2 以上のとき
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1781 のみ有効です。
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1782
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1783 @table @var
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1784 @item canna-func-mark
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1785 @cindex canna-func-mark
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1786 マーク
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1787 @item canna-func-temporal-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1788 @cindex canna-func-temporal-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1789 現在の入力モードを一時保管
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1790 @end table
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1791
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1792 @node 索引, , 付録, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1793 @unnumbered 索引
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1794
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1795 @printindex cp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1796
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1797 @contents
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1798 @bye