Debian Codegraph @

debian/mew.texi.old

raw
1 \input texinfo @c -*-texinfo-*-
2 @c %**start of header
3 @setfilename mew.ja.info
4 @settitle Mew (Messaging in the Emacs World)
5 @c %**end of header
6
7 @clear en
8 @clear ja
9 @set ja
10
11 @ifset ja
12 @c Mew の texinfo
13 @c Copyright (C) 1996-2018 山本和彦
14 @c M-x texinfo-format-buffer で info にしてね。
15 @end ifset
16 @ifset en
17 @c Texinfo for Mew
18 @c Copyright (C) 1996-2018 Kazuhiko Yamamoto
19 @c Try "M-x texinfo-format-buffer" or makeinfo to get the Info.
20 @end ifset
21
22 @set version 6.8
23 @set modified 2018/06/07
24 @set X-Mailer Mew version 6.8 on Emacs 26.1
25
26 @titlepage
27 @sp 10
28 @center
29 @title Mew
30 @ifset ja
31 @author Copyright @copyright{}1996-2018 山本和彦
32 @end ifset
33 @ifset en
34 @author Copyright @copyright{}1996-2018 Kazuhiko Yamamoto
35 @end ifset
36 @end titlepage
37
38 @dircategory Message User Agent
39 @direntry
40 @ifset ja
41 * Mew-J: (mew.ja.info). Messaging in the Emacs World.
42 @end ifset
43 @ifset en
44 * Mew: (mew.info). Messaging in the Emacs World.
45 @end ifset
46 @end direntry
47
48 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
49 @c Top
50 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
51
52 @ifinfo
53
54 @node Top, Overview, (dir), (dir)
55 @ifset ja
56 @top Mew @value{version} マニュアル
57 @end ifset
58 @ifset en
59 @top Mew @value{version} Manual
60 @end ifset
61
62 @flushright
63 @ifset ja
64 山本和彦
65 作成 1996/02/19
66 更新 @value{modified}
67 @end ifset
68 @ifset en
69 Kazu YAMAMOTO
70 Created 1996/02/18
71 Modified @value{modified}
72 @end ifset
73 @end flushright
74
75 @ifset ja
76 このマニュアルでは、Mew バージョン @value{version} について解説します。
77 このマニュアルの他に、Mew に関する有益な情報は Mew の公式ホームページ
78 (http://www.Mew.org/)から得られるかもしれません。
79 @end ifset
80 @ifset en
81 This manual documents Mew version @value{version}. In addition to this
82 manual, you may find useful information about Mew from Mew's official
83 home page (http://www.Mew.org/).
84 @end ifset
85
86 @end ifinfo
87
88 @menu
89 @ifset ja
90 * Overview:: はじめに読んでね
91 * Viewing:: メッセージを表示する
92 * Composing:: メッセージを作成する
93 * Marks:: 愉快なマークたち
94 * Refile:: 楽々整理整頓
95 * Virtual:: 仮想フォルダ
96 * Quit:: 一休み
97 * Customize:: カスタマイズ
98 * Tips:: さらなる一歩
99 * Convention:: メッセージの作法
100 * Implementation:: 実装について
101 * Avail:: 入手方法とメーリングリスト
102 * Copyright:: 著作権について
103 * Variable Index:: 変数索引
104 * Key Index:: キー索引
105 @end ifset
106 @ifset en
107 * Overview:: Read me first
108 * Viewing:: Viewing messages
109 * Composing:: Composing messages
110 * Marks:: Funny marks
111 * Refile:: Happy refiling
112 * Virtual:: Virtual folder
113 * Quit:: Give me a break
114 * Customize:: Customizing Mew
115 * Tips:: Advanced usage
116 * Convention:: E-mail convention
117 * Implementation:: Implementation Issues
118 * Avail:: Availability and mailing-list
119 * Copyright:: Copyright
120 * Variable Index:: Variable Index
121 * Key Index:: Key Index
122 @end ifset
123 @end menu
124
125 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
126 @c Overview
127 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
128
129 @node Overview, characteristic, Top, Top
130 @ifset ja
131 @chapter はじめに読んでね
132 @end ifset
133 @ifset en
134 @chapter Read me first
135 @end ifset
136
137 @ifset ja
138 Mew とは、テキスト・メールやマルチメディア・メール(MIME)、ニュース、セ
139 キュリティ機能(PGP、S/MIME、SSH、SSL)を便利に利用するためのユーザインター
140 フェイスです。最新の検索サービスとも連動します。
141 @end ifset
142 @ifset en
143 Mew is a user interface for text messages, multimedia messages (MIME),
144 news articles and security functionality including PGP, S/MIME, SSH,
145 and SSL. Also, Mew can work with the recent search services.
146 @end ifset
147
148 @ifset ja
149 Mew は 「Messaging in the Emacs World」 の略です。先頭の M は大文字で表
150 記し、「みゅう」と読みます。M で始まるかわいらしい単語を選んだ結果 Mew
151 になりました。決して漫画の題名や某アイドルの歌、あるいは、関西の会社に
152 因んでいるわけではありません。:p
153 @end ifset
154 @ifset en
155 Mew is an acronym for "Messaging in the Emacs World". You should spell
156 it with the first letter capitalized and pronounce it as it is
157 (i.e. the meow of cats). When the author started programming it, he
158 chose a cute word from his English dictionary. Thus, Mew.
159 @end ifset
160
161 @menu
162 @ifset ja
163 * characteristic:: Mew の特長
164 * Emacsen:: Emacs のバージョン
165 * modes:: モード
166 * folder convention:: フォルダの種類
167 * configuration:: 初期設定
168 * password:: パスワード
169 * start:: 起動
170 @end ifset
171 @ifset en
172 * characteristic:: Mew's features
173 * Emacsen:: Supported Emacs versions
174 * modes:: Modes
175 * folder convention:: Folder convention
176 * configuration:: Configuration
177 * password:: Password
178 * start:: Starting
179 @end ifset
180 @end menu
181
182 @c %%%%%%%%%%%%%%%%%
183
184 @node characteristic, Emacsen, Overview, Overview
185 @ifset ja
186 @section Mew の特長
187 @end ifset
188 @ifset en
189 @section Mew's features
190 @end ifset
191
192 @ifset ja
193 Mew バージョン @value{version} の特長を以下に示します。
194 @end ifset
195 @ifset en
196 The features of Mew @value{version} are as follows:
197 @end ifset
198
199 @itemize @minus
200 @ifset ja
201 @item
202 複雑な構造を持つメッセージを簡単に表示できます。メッセージを表示する作
203 業は、@samp{SPC} を押すだけです。
204 @item
205 コピー程度のファイルの操作を知っている人ならだれでも簡単に複雑なメッセー
206 ジを作成できます。
207 @item
208 メッセージの一覧表示が終了するまで待たなくても、メッセージを読み始めら
209 れます。
210 @item
211 Summary モードのメッセージの一覧を保存しているので、フォルダを移動した
212 場合は、更新された部分だけを一覧表示します。
213 @item
214 メッセージの整頓先を賢く推測します。たくさんメッセージを受け取る人は、
215 これがないと生きていけません。
216 @item
217 Draft モードでは、フィールド名、メールアドレス、氏名、ドメイン名、フォ
218 ルダ名を補完できます。
219 @item
220 キーワードなどによって、探したいメッセージを簡単に検索できます。
221 @item
222 PGP や S/MIME で暗号化されたメッセージを自動的に復号化します。また、電
223 子署名を自動的に検証します。
224 @item
225 MIME の構造を解析したり、PGP や S/MIME の署名を検証したりするのには少し
226 時間がかかります。そこで、ユーザがあるメッセージを読んでいる間に、次の
227 メッセージをあらかじめ処理しておくことで高速性を実現しています。解析さ
228 れたメッセージは、しばらくの間保存されます。
229 @item
230 PGP や S/MIME を使って、メッセージを簡単に暗号化したり、署名したりでき
231 ます。
232 @item
233 複数のフォルダを 1 つのフォルダに見せかけられます。
234 @item
235 メッセージのやり取りの流れを可視化するセレクションやスレッドの機能を備
236 えています。特定のキーワードに合致したメッセージでセレクションを作り、
237 さらにそのスレッドを作成できます。
238 @item
239 フォルダ名を入力する場合、フォルダ名の一部をキーとして検索できます。
240 @end ifset
241 @ifset en
242 @item
243 You can easily display a very complicated structured message. What you
244 should do to view messages is just type @samp{SPC}.
245 @item
246 If you know how to do file operations such as copy, you can compose a
247 very complicated message without any difficulty.
248 @item
249 You can start to read messages before they are all fully listed.
250 @item
251 Since Mew preserves lists of messages in Summary mode, when you move
252 messages to a new folder, they will automatically be listed
253 incrementally.
254 @item
255 Mew neatly suggests default folders for refiling. Those who receive
256 many messages cannot live without this feature.
257 @item
258 In Draft mode, you can complete field names, e-mail addresses,
259 receiver's names, domain names, and folder names.
260 @item
261 You can easily search messages with keywords etc.
262 @item
263 Mew automatically decodes messages encrypted with PGP or S/MIME. It
264 also automatically verifies signed messages.
265 @item
266 You can easily encrypt or sign a message with PGP or S/MIME.
267 @item
268 It takes a bit of time to analyze MIME syntax or to verify a PGP or
269 S/MIME signature. While the user is reading a message, Mew processes
270 the next message so that the next message can be displayed
271 faster. Analyzed messages are cached briefly.
272 @item
273 You can view multiple folders simultaneously.
274 @item
275 Selection/Thread, a mechanism to display the flow of messages, is
276 supported. You can make Selection from messages matched to a keyword
277 and make Thread from the Selection.
278 @item
279 When you input a folder name, you can search it with a substring of
280 the name.
281 @end ifset
282 @end itemize
283
284 @c %%%%%%%%%%%%%%%%%
285
286 @node Emacsen, modes, characteristic, Overview
287 @ifset ja
288 @section Emacs のバージョン
289 @end ifset
290 @ifset en
291 @section Supported Emacs versions
292 @end ifset
293
294 @ifset ja
295 Emacs 24.3 以降を使って下さい。これらより前のバージョンや XEmacs は、サ
296 ポートしていません。
297 @end ifset
298 @ifset en
299 Please use Emacs 24.3 or later. Mew doesn't support earlier versions
300 nor XEmacs.
301 @end ifset
302
303 @c %%%%%%%%%%%%%%%%%
304
305 @node modes, folder convention, Emacsen, Overview
306 @ifset ja
307 @section モード
308 @end ifset
309 @ifset en
310 @section Modes
311 @end ifset
312
313 @ifset ja
314 Mew には次の 7 つのモードがあります。
315 @end ifset
316 @ifset en
317 Mew has the following seven modes:
318 @end ifset
319
320 @table @samp
321 @ifset ja
322 @item Summary モード
323 メッセージの一覧を表示し選択するモード。
324 @item Virtual モード
325 単数あるいは複数のフォルダからある条件に合致したメッセージを取り出し、
326 仮想的に 1 つのフォルダにしたモード。Summary モードに似ている。
327 セレクションやスレッドと呼ばれる。
328 @item Message モード
329 メッセージの内容を表示するモード。
330 @item Draft モード
331 メッセージの送信、返答、転送を準備するためのモード。
332 @item Header モード
333 既存のメッセージのヘッダのみを編集し送信するためのモード。
334 @item Edit モード
335 既存のメッセージを編集し、新しいメッセージを作成するためのモード。
336 @item Addrbook モード
337 アドレス帳にエントリを登録するためのモード。
338 @end ifset
339 @ifset en
340 @item Summary mode
341 A mode to list and select messages.
342 @item Virtual mode
343 A mode to list messages selected with a specific condition from one or
344 more folders. This is similar to Summary mode. This mode is
345 categorized to Selection or Thread.
346 @item Message mode
347 A mode to display the content of a message.
348 @item Draft mode
349 A mode to prepare a message to be sent, answered, and forwarded.
350 @item Header mode
351 A mode to edit the header of a message and to send it.
352 @item Edit mode
353 A mode to edit a message to generate another new message.
354 @item Addrbook mode
355 A mode to register an entry to the address book (Addrbook).
356 @end ifset
357 @end table
358
359 @c %%%%%%%%%%%%%%%%%
360
361 @node folder convention, configuration, modes, Overview
362 @ifset ja
363 @section フォルダの種類
364 @end ifset
365 @ifset en
366 @section Folder convention
367 @end ifset
368
369 @ifset ja
370 Mew の用語では、メッセージが届く場所を「メールボックス」と呼びます。メー
371 ルボックスの種類としては、ローカルのメールボックス、POP サーバ、IMAP サー
372 バ、および NNTP サーバがあります。
373 @end ifset
374 @ifset en
375 With Mew's terminology, a place where messages are deliver is called
376 'mailbox'. There are three kinds of mailbox: local, POP server, IMAP
377 server, and NNTP server.
378 @end ifset
379
380 @ifset ja
381 また、Mew 自身がメッセージを格納する箱のことを「フォルダ」と呼びます。
382 フォルダ名は、一文字の記号からなる修飾子と文字列が連結された形式になっ
383 ています。たとえば、「+inbox」というフォルダの修飾子は「+」です。
384 @end ifset
385 @ifset en
386 A box which contains messages used by Mew is called "folder". The name
387 of a folder is in the format that "proto" is followed by a string,
388 where "proto" is one sign letter. For example, the proto of "+inbox"
389 is "+".
390 @end ifset
391
392 @ifset ja
393 Mew のフォルダには、「ローカル・フォルダ」と「リモート・フォルダ」の 2 種
394 類があります。
395 @end ifset
396 @ifset en
397 Mew's folders are categorized to two types: "local folder" and "remote
398 folder".
399 @end ifset
400
401 @ifset ja
402 ローカル・フォルダとは、Mew が動いているコンピュータに「本物」が作られ
403 るフォルダです。そのフォルダに格納されるメッセージも本物です。(ですから、
404 もしそのフォルダのメッセージを消してしまうと復元できません。)
405 @end ifset
406 @ifset en
407 A local folder is a folder which is *original* and is created the
408 computer on which Mew is running. Also, messages stored in the folder
409 are *original*. (So, if you remove them, you cannot revive them.)
410 @end ifset
411
412 @ifset ja
413 ローカル・フォルダの修飾子は "+" です。以下に特殊なローカル・フォルダを
414 挙げます。
415 @end ifset
416 @ifset en
417 The proto of a local folder is "+". We summarize special local folders
418 as follows:
419 @end ifset
420
421 @table @samp
422 @ifset ja
423 @item +inbox
424 ローカルのメールボックスや POP サーバに届いたメッセージを、ローカルに移
425 動させて最初に保存するためのローカル・フォルダ。メッセージを整理する場
426 合は、"+inbox" から他のローカル・フォルダに移動させることになる。
427 @item +draft
428 書きかけのメッセージを保存しておくローカル・フォルダ。
429 @item +queue
430 書き終ってメールの配送に適した書式に変換されたメッセージが溜るローカル・
431 フォルダ。"+queue" のメッセージは、いずれ SMTP によって送信さる。
432 @item +postq
433 書き終ってニュースに投稿するのに適した書式に変換されたメッセージが溜る
434 ローカル・フォルダ。"+postq" のメッセージは、いずれ NNTP によって送信さ
435 れる。
436 @end ifset
437 @ifset en
438 @item +inbox
439 The first local folder to store messages which you fetch from your
440 local mailbox or your POP server. To refile messages, what you do is
441 to move the messages from "+inbox" to other folders.
442 @item +draft
443 A local folder where messages, which you have not completed yet, are
444 stored.
445 @item +queue
446 A local folder where e-mail messages to be sent are stored. The
447 messages in "+queue" will be eventually sent by SMTP.
448 @item +postq
449 A local folder where NetNews message to be sent are stored. The
450 messages in "+postq" will be eventually sent by NNTP.
451 @end ifset
452 @end table
453
454 @ifset ja
455 リモート・フォルダとは、サーバ側にあるフォルダをローカルにコピーしたも
456 のです。本物のメッセージはあくまでサーバ側にあり、ローカルにはメッセー
457 ジのコピーがキャッシュされます。
458 @end ifset
459 @ifset en
460 A remote folder is a COPY whose original is on a server side. A
461 message in a remote folder is a cache which is copied from the server.
462 @end ifset
463
464 @ifset ja
465 利用できるリモート・フォルダの修飾子を以下に示します。
466 @end ifset
467 @ifset en
468 Here are a list of available proto of remote folders:
469 @end ifset
470
471 @table @samp
472 @ifset ja
473 @item %
474 IMAP のフォルダ。例:"%inbox"
475 @item $
476 POP サーバのサーバ側のフォルダ。例:"$inbox" (POP サーバのフォルダは 1
477 つしかないので、"$" で始まるリモート・フォルダは "$inbox" のみ。)
478 @item -
479 ニュースのニュースグループ。例:"-fj.mail.reader.mew"
480 @end ifset
481 @ifset en
482 @item %
483 Folders on an IMAP servers. Example: "%inbox"
484 @item $
485 The folder on a POP server. Example: "$inbox" (Since there is only one
486 folder in a POP server, "$inbox" is the only folder whose name starts
487 with "$".)
488 @item -
489 Newsgroups of NetNews. Example: "-fj.mail.reader.mew"
490 @end ifset
491 @end table
492
493 @ifset ja
494 サーバが異なれば、リモート・フォルダの実体も異なります。複数のサーバは、
495 ケースという機能を使って指定します。詳しくは、@xref{config} を参照して
496 下さい。あるケースに対するリモート・フォルダは、"case:folder" のように、
497 フォルダ名の前にケース名を付けて指定します。ケースが "default" である場
498 合は、"case:" の部分を省略可能です。
499 @end ifset
500 @ifset en
501 If you use several servers, there are multiple sets of remote folders.
502 You can specify several servers by using "case". For more information
503 about the "case", see @ref{config}. To specify a remote folder
504 corresponding to a "case", you should write "case:folder". You can
505 omit "case:" if a case is "default".
506 @end ifset
507
508 @ifset ja
509 ケースと修飾子の組は、あるメッセージが属す世界を構成しています。メッセー
510 ジは、それが属す世界の中を移動できます。受け取ったメッセージは、後で探
511 しやすいように、適切なフォルダに移動させて保存します。この整頓の方法に
512 ついて、@xref{Refile} を参照して下さい。
513 @end ifset
514 @ifset en
515 A combination of "case" and proto organized a world to which a message
516 belongs. A message can move within its world. To make it easy to
517 search received messages afterward, they should be moved to proper
518 folders. To know how to refile received messages, see @ref{Refile}.
519 @end ifset
520
521 @ifset ja
522 なお、POP サーバには "$inbox" というフォルダしかありませんから、"$" の
523 世界でメッセージを移動させることはできません。また、ニュースの記事は自
524 分のものではありませんから、"-" の世界でもメッセージの移動は不可能です。
525 @end ifset
526 @ifset en
527 You cannot move a message in the "$" world because there is only one
528 folder, "$inbox". You cannot move a message in the "-" world either
529 since messages in the "-" world are not yours.
530 @end ifset
531
532 @ifset ja
533 世界を超えてメッセージを移動させたい場合は、コピーします。ただし、コピー
534 先はローカル・フォルダに限定されます。この方法は、@xref{retrieving} で説
535 明されています。
536 @end ifset
537 @ifset en
538 If you want to move a message from one world to another, you should
539 COPY it. Its destination is restricted to a local folder. This method
540 is described in @ref{retrieving}.
541 @end ifset
542
543 @ifset ja
544 フォルダのリストを作成しておくと、フォルダ名に対し補完が利用できて便利
545 です。フォルダのリストを作成する方法は、@xref{status-update} を参照して
546 下さい。
547 @end ifset
548 @ifset en
549 If you make a list of folders, you can use the completion
550 functionality for folders. To know how to make a list of folders,
551 please refer to @ref{status-update}.
552 @end ifset
553
554 @c %%%%%%%%%%%%%%%%%
555
556 @node configuration, password, folder convention, Overview
557 @ifset ja
558 @section 初期設定
559 @end ifset
560 @ifset en
561 @section Configuration
562 @end ifset
563 @vindex read-mail-command
564 @vindex mail-user-agent
565 @vindex mew-name
566 @vindex mew-user
567 @vindex mew-smtp-server
568 @vindex mew-pop-user
569 @vindex mew-mailbox-type
570 @vindex mew-mbox-command
571 @vindex mew-mbox-command-arg
572 @vindex mew-proto
573 @vindex mew-imap-server
574 @vindex mew-nntp-server
575
576 @ifset ja
577 Mew を起動するには、組織の設定ファイルか自分の "~/.emacs" に以下の設定
578 が必要です。
579 @end ifset
580 @ifset en
581 To execute Mew, the followings are necessary either in the site
582 configuration file or in your "~/.emacs".
583 @end ifset
584
585 @lisp
586 (autoload 'mew "mew" nil t)
587 (autoload 'mew-send "mew" nil t)
588
589 ;; Optional setup (Read Mail menu):
590 (setq read-mail-command 'mew)
591
592 ;; Optional setup (e.g. C-xm for sending a message):
593 (autoload 'mew-user-agent-compose "mew" nil t)
594 (if (boundp 'mail-user-agent)
595 (setq mail-user-agent 'mew-user-agent))
596 (if (fboundp 'define-mail-user-agent)
597 (define-mail-user-agent
598 'mew-user-agent
599 'mew-user-agent-compose
600 'mew-draft-send-message
601 'mew-draft-kill
602 'mew-send-hook))
603 @end lisp
604
605 @ifset ja
606 Latin-1 のために、Emacs を --unibyte オプション付で起動しているか、環境
607 変数 EMACS_UNIBYTE と共に起動している場合、以下の設定を "~/.emacs" に入
608 れて下さい。
609 @end ifset
610 @ifset en
611 If you are using Emacs with the --unibyte option or the EMACS_UNIBYTE
612 environment variable for Latin-1, put the following into your
613 @w{"}~/.emacs".
614 @end ifset
615
616 @lisp
617 (set-language-environment "Latin-1")
618 (set-input-method "latin-1-prefix") ;; or "latin-1-postfix"
619 @end lisp
620
621 @ifset ja
622 Latin-1 のために、以下のような設定をしているなら、削って下さい。これは
623 Latin-1 にカスタマイズするための方法としては推奨されていませんし、この
624 設定では Mew は正しく動きません。
625 @end ifset
626 @ifset en
627 If you use the following configuration for Latin-1, please remove it.
628 This is an obsolete handling of Latin-1 that can cause Mew to function
629 incorrectly.
630 @end ifset
631
632 @lisp
633 (standard-display-european 1)
634 @end lisp
635
636 @ifset ja
637 Mew は起動時に、"~/.mew.el" を読み込みます。Mew に関する設定は、このファ
638 イルに入れるとよいでしょう。
639 @end ifset
640 @ifset en
641 When booting, Mew reads the file "~/.mew.el". All Mew configurations
642 should be written in this file.
643 @end ifset
644
645 @ifset ja
646 メールアドレスを指定するために、以下の設定が必要です。
647 @end ifset
648 @ifset en
649 To configure your e-mail address, the followings are necessary.
650 @end ifset
651
652 @lisp
653 ;; (setq mew-name "your name") ;; (user-full-name)
654 ;; (setq mew-user "user name of e-mail address") ;; (user-login-name)
655 (setq mew-mail-domain "domain of e-mail address")
656 @end lisp
657
658 @ifset ja
659 SMTP を使ってメッセージを送信するためには、以下の設定が必要です。
660 @end ifset
661 @ifset en
662 To send e-mail messages by SMTP, the following is necessary.
663 @end ifset
664
665 @lisp
666 (setq mew-smtp-server "your SMTP server") ;; if not localhost
667 @end lisp
668
669 @ifset ja
670 POP を使ってメッセージを受信する場合は、以下の設定が必要です。
671 @end ifset
672 @ifset en
673 If you want to use POP to receive e-mail messages, the followings are
674 necessary.
675 @end ifset
676
677 @lisp
678 ;; (setq mew-pop-user "your POP account") ;; (user-login-name)
679 (setq mew-pop-server "your POP server") ;; if not localhost
680 @end lisp
681
682 @ifset ja
683 メッセージの受信にローカルのメールボックスを利用したい場合は、以下のよ
684 うな設定が必要です。
685 @end ifset
686 @ifset en
687 If you want to use a local mailbox to receive e-mail messages, the
688 followings are necessary.
689 @end ifset
690
691 @lisp
692 ;; To use local mailbox "mbox" or "maildir" instead of POP
693 (setq mew-mailbox-type 'mbox)
694 (setq mew-mbox-command "incm")
695 (setq mew-mbox-command-arg "-u -d /path/to/mbox")
696 ;; If /path/to/mbox is a file, it means "mbox".
697 ;; If /path/to/mbox is a directory, it means "maildir".
698 @end lisp
699
700 @ifset ja
701 IMAP を使ってメッセージを受信する場合は、以下の設定が必要です。
702 @end ifset
703 @ifset en
704 If you want to use IMAP to receive e-mail messages, the followings are
705 necessary.
706 @end ifset
707
708 @lisp
709 (setq mew-proto "%")
710 ;; (setq mew-imap-user "your IMAP account") ;; (user-login-name)
711 (setq mew-imap-server "your IMAP server") ;; if not localhost
712 @end lisp
713
714 @ifset ja
715 ニュースを読み書きする場合は、以下の設定が必要です。
716 @end ifset
717 @ifset en
718 To read and/or write articles of NetNews, the followings are necessary.
719 @end ifset
720
721 @lisp
722 ;; (setq mew-nntp-user "your NNTP account")
723 (setq mew-nntp-server "your NNTP server")
724 @end lisp
725
726 @c %%%%%%%%%%%%%%%%%
727
728 @node password, start, configuration, Overview
729 @ifset ja
730 @section パスワード
731 @end ifset
732 @ifset en
733 @section Password
734 @end ifset
735 @vindex mew-use-cached-passwd
736 @vindex mew-use-master-passwd
737
738 @ifset ja
739 メッセージを送受信したり、PGP や S/MIME を使ったりする場合には、パスワー
740 ドを訊かれることがあります。パスワードを入力する前に以下の条件のどちら
741 かが満たされていることを確認しましょう。
742
743 @itemize @minus
744 @item
745 Emacs が目の前のコンピュータで動いている
746 @item
747 Emacs が遠隔のコンピュータで動いているが、なんらかの暗号手段を使って通信
748 している。
749 @end itemize
750
751 どちらの条件も満たされない場合は、パスワードを入力しないで下さい。入力す
752 ると盗聴される恐れがあります。
753 @end ifset
754 @ifset en
755 When fetching/sending messages or using PGP or S/MIME, you may be
756 required to input your password. Before you type your password, check
757 carefully to see if either the following conditions is satisfied:
758
759 @itemize @minus
760 @item
761 Emacs is running on a local computer
762 @item
763 Emacs is running on a remote computer, but an encryption mechanism is
764 being used for communication.
765 @end itemize
766
767 If neither of these conditions are satisfied, do not input a
768 password. Your password could be accessed without your knowledge.
769 @end ifset
770
771 @ifset ja
772 パスワードを何回も入力するのが面倒な人は、パスワードを保存する機能を利用
773 して下さい。2 つの方法があります。
774 @end ifset
775 @ifset en
776 If you get sick of inputting your password from time to time, please use
777 one of two password-cache mechanisms.
778 @end ifset
779
780 @enumerate
781 @ifset ja
782 @item
783 パスワードをメモリに一時的に蓄える。ファイルには書き出さない。
784 @item
785 パスワードをメモリに Mew が起動している間中蓄える。Mew/Emacs の終了時に、
786 パスワードを暗号化しファイルに書き出す。
787 @end ifset
788 @ifset en
789 @item
790 Storing passwords in memory temporarily. Not writing them to a file.
791 @item
792 Storing passwords in memory while Mew is running. When Mew/Emacs
793 quits, Mew encrypts the passwords and writes them to a file.
794 @end ifset
795 @end enumerate
796
797 @ifset ja
798 1. の機能を利用するには、以下のように設定します。
799 @end ifset
800 @ifset en
801 To use Feature 1., configure as follows:
802 @end ifset
803
804 @lisp
805 (setq mew-use-cached-passwd t)
806 @end lisp
807
808 @ifset ja
809 2. の機能を利用するには、まず GnuPG をインストールします。GnuPG は、バー
810 ジョン 1.x、2.1.23以降に対応しています。バージョン2.1.23以降を使う場合は、
811 "~/.gnupg/gpg.conf" に以下の設定を加えます。
812 @end ifset
813 @ifset en
814 To use Feature 2., install GnuPG first. GnuPG version 1.x and 2.1.23
815 or later are supported for this feature. If you use GnuPG 2.1.23 or
816 later, put the following to "~/.gnupg/gpg.conf":
817 @end ifset
818
819 @example
820 no-auto-key-retrieve
821 auto-key-locate local
822 @end example
823
824 @ifset ja
825 そして、以下のように設定します。
826 @end ifset
827 @ifset en
828 Then, configure as follows:
829 @end ifset
830
831 @lisp
832 (setq mew-use-master-passwd t)
833 @end lisp
834
835 @ifset ja
836 両方の変数が @samp{t} の場合、2. の機能が利用されます。
837 @end ifset
838 @ifset en
839 If both variables are @samp{t}, the feature 2. is used.
840 @end ifset
841
842 @ifset ja
843 1. の機能:あらゆるパスワード(POP、PGP など)が一時的にメモリに保存され
844 ます。パスワードが保存されている間は、パスワードの入力を省略できます。
845 保存されているパスワードは一定時間(通常は 20 分)が過ぎると消去されます。
846 ただし、保存されているパスワードが内部で利用されると、保存期間が延長さ
847 れます(20 分に戻ります)。
848 @end ifset
849 @ifset en
850 Feature 1.: Any passwords including POP and PGP are cached in
851 memory. While a password is cached, you can omit to input the
852 password. The cached password will expire after a certain period (20
853 minutes by default). However, its timer is cleared (reset to 20
854 minutes) if the password is used internally.
855 @end ifset
856
857 @ifset ja
858 2. の機能:Mew の起動時に、マスターパスワードを訊かれます。Mew はそのマ
859 スターパスワードで、暗号化されているパスワードを復号化し、メモリに蓄え
860 ます。たとえば、以前 POP のパスワードを入力していれば、それがメモリに蓄
861 えられていますから、次に POP のパスワードが必要な際、POP のパスワードの
862 入力を省略できます。はじめてマスターパスワードを利用する際は、確認のた
863 めマスターパスワードを 2 回訊きます。また、たとえば POP のパスワードも
864 1 回だけ入力するように促されます。Mew の起動時に、間違ったマスターパスワー
865 ドを入力することもあるでしょう。その場合、1. の機能を有効にしているなら、
866 1. の機能が使われます。有効でなければ、パスワードの保存機能は利用されま
867 せん。
868 @end ifset
869 @ifset en
870 Feature 2: When Mew boots, Mew asks you to input a master password.
871 Mew decrypts encrypted passwords in a file and caches them in memory.
872 For instance, if you have already typed POP password, it is to be
873 stored in memory. Thus, when the POP password is required, you can
874 omit to input it. If you use a master password at the first time,
875 you are asked to input it twice. When Mew boots, you might type
876 a wrong master password. In this case, if you enabled Feature 1.,
877 it is used. Otherwise, no password-cache mechanisms is used.
878 @end ifset
879
880 @ifset ja
881 マスターパスワードを変更するには、Summary モードで @samp{C-cC-m} と入力
882 します。
883 @end ifset
884 @ifset en
885 If you want to change the master password, type @samp{C-cC-m} in
886 Summary mode.
887 @end ifset
888
889 @ifset ja
890 メモリに保存されているパスワードは、暗号化されていません。そこで、1. ま
891 たは 2. の方法を使う場合は、他の人に自分が起動した Emacs を触られないよ
892 うに気をつけて下さい。もし席を空け、Emacs をよく知っている他の人に
893 Emacs を操作された場合、パスワードを盗み取られる可能性があります。
894 @end ifset
895 @ifset en
896 Cached passwords in memory are not encrypted. So, if you use either
897 Feature 1. or Feature 2., you should take care so that nobody can
898 touch your Emacs. If you leave your PC and an Emacs expert happens to
899 check your configuration, your passwords could be stolen.
900 @end ifset
901
902 @c %%%%%%%%%%%%%%%%%
903
904 @node start, Viewing, password, Overview
905 @ifset ja
906 @section 起動
907 @end ifset
908 @ifset en
909 @section Starting
910 @end ifset
911 @vindex mew-auto-get
912 @vindex mew-proto
913 @vindex mew-mailbox-type
914 @vindex mail-user-agent
915 @kindex M-x mew
916 @kindex C-uM-x mew
917 @kindex M-x mew-send
918 @kindex C-xm
919
920 @ifset ja
921 Mew を起動するには、以下の方法があります。
922 @end ifset
923 @ifset en
924 To start Mew, you can choose one of the following:
925 @end ifset
926
927 @table @samp
928 @ifset ja
929 @item M-x mew
930 Mew が起動していなければ、まず Mew を起動する。そして、メッセージを取得
931 するか、あるいは単にデフォルトのフォルダへ移動する。
932
933 まず、「修飾子」は @samp{mew-proto} とケースから決定される。
934 (@xref{config} を参照)
935
936 「修飾子」が @samp{+}(ローカル・フォルダ)なら、@samp{mew-mailbox-type}
937 からメールボックスが決定される。(@xref{retrieving} を参照) その他、すな
938 わちリモート・フォルダなら、メッセージを取得するためのプロトコルが修飾子
939 に応じて決る。
940
941 @samp{mew-auto-get} が @samp{t} なら、到着したメッセージが非同期に取得さ
942 れ、Summary モードへ一覧表示される。
943
944 @samp{mew-auto-get} が @samp{nil} なら、修飾子によって決定したデフォルト
945 のフォルダへ単に移動する。
946 @item C-uM-x mew
947 @samp{mew-auto-get} の値を逆だと考えて、@samp{M-x mew} を実行する。
948 @item C-xm
949 @samp{mail-user-agent} が設定されている場合、Draft モードへ移行する。
950 @end ifset
951 @ifset en
952 @item M-x mew
953 Execute Mew first unless Mew is running. And retrieve arrived
954 messages or just visit to the default folder.
955
956 @samp{proto} is determined by @samp{mew-proto} and the "case" (see
957 @ref{config}).
958
959 If @samp{proto} is @samp{+} (i.e. a local folder), a mailbox is determined
960 according to @samp{mew-mailbox-type} (see @ref{retrieving}).
961 Otherwise (i.e. a remote folder), an appropriate protocol to retrieve
962 messages is chosen according to @samp{proto}.
963
964 If @samp{mew-auto-get} is @samp{t}, arrived messages are asynchronously fetched
965 and listed up in Summary mode.
966
967 @samp{mew-auto-get} is @samp{nil}, just visit to the folder determined by
968 @samp{proto}.
969 @item C-uM-x mew
970 Perform @samp{M-x mew} with @samp{mew-auto-get} reversed.
971 @item M-x mew-send
972 Enter Draft mode for message composing.
973 @item C-xm
974 Enter Draft mode for message composing if @samp{mail-user-agent} is
975 configured.
976 @end ifset
977 @end table
978
979 @ifset ja
980 Emacs で Mew を起動すると可愛い 2 匹の子が猫現れます。
981 @end ifset
982 @ifset en
983 When Mew is executed on Emacs, two cute cats appear on the cover page.
984 @end ifset
985
986 @ifset ja
987 なお、Mew を終了する方法は、@xref{Quit} を参照して下さい。
988 @end ifset
989 @ifset en
990 For the methods of quitting Mew, please refer to @ref{Quit}.
991 @end ifset
992
993 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
994 @c Viewing
995 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
996
997 @node Viewing, singlepart, start, Top
998 @ifset ja
999 @chapter メッセージを表示する
1000 @end ifset
1001 @ifset en
1002 @chapter Viewing messages
1003 @end ifset
1004 @kindex M-x mew
1005
1006 @ifset ja
1007 (Mew が起動中でも、起動中ではなくても) @samp{M-x mew} と入力すると、Mew
1008 はメッセージを以下のように一覧表示します。
1009 @end ifset
1010 @ifset en
1011 If you input @samp{M-x mew} (regardless Mew is running or not), Mew
1012 displays a list of message like this:
1013 @end ifset
1014
1015 @example
1016 @ifset ja
1017 * 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック
1018 M03/14 ももちゃん 能登の写真 |この前撮った写真を添付
1019 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店
1020 @end ifset
1021 @ifset en
1022 * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
1023 M03/14 Momo-chan The pictures of Noto |Attached are the pictu
1024 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd
1025 @end ifset
1026 @end example
1027
1028 @ifset ja
1029 これを Summary モードといいます。ここでは、主に Summary モードでのメッセー
1030 ジの読み方について説明します。
1031 @end ifset
1032 @ifset en
1033 This is called Summary mode. This section mainly explains how to read
1034 messages in Summary mode.
1035 @end ifset
1036
1037 @ifset ja
1038 上記の例のように Summary モードは、マーク、データ型(Mew が付けるマーク)、
1039 日付、差出人、Subject:、本文から構成されています。
1040 @end ifset
1041 @ifset en
1042 As you can see the example above, the format of Summary mode consists of
1043 a mark, data type (a mark by Mew), date, a sender, Subject:, and a body.
1044 @end ifset
1045
1046 @ifset ja
1047 Summary モードを消去する方法については、@xref{Quit} を参照して下さい。
1048 @end ifset
1049 @ifset en
1050 For the method of terminating Summary mode, please see @ref{Quit}.
1051 @end ifset
1052
1053 @menu
1054 @ifset ja
1055 * singlepart:: 読み方の基礎
1056 * multipart:: MIME を表示する
1057 * analysis:: MIME の解析を制御する
1058 * cipher-viewing:: 暗号メールや電子署名を表示する
1059 * retrieving:: メッセージの取得
1060 * moving:: フォルダの移動
1061 * sum-write:: 送信、返答、転送
1062 * features:: 便利な機能
1063 * status-update:: 状態の更新
1064 * invalid:: 規格違反のメッセージ
1065 @end ifset
1066 @ifset en
1067 * singlepart:: Reading Basis
1068 * multipart:: Displaying MIME
1069 * analysis:: Controlling MIME analysis
1070 * cipher-viewing:: Visualizing cipher or signature
1071 * retrieving:: Getting messages
1072 * moving:: Moving to another folder
1073 * sum-write:: Write, answer, and forward
1074 * features:: Useful features
1075 * status-update:: Updating status
1076 * invalid:: Invalid messages
1077 @end ifset
1078 @end menu
1079
1080 @c %%%%%%%%%%%%%%%%%
1081 @node singlepart, multipart, Viewing, Viewing
1082 @ifset ja
1083 @section 読み方の基礎
1084 @end ifset
1085 @ifset en
1086 @section Reading Basis
1087 @end ifset
1088 @kindex SPC (Summary)
1089 @kindex C-uSPC (Summary)
1090 @kindex DEL (Summary)
1091 @kindex RET (Summary)
1092 @kindex M-RET (Summary)
1093 @kindex - (Summary)
1094 @kindex C-n (Summary)
1095 @kindex C-p (Summary)
1096 @kindex n (Summary)
1097 @kindex p (Summary)
1098 @kindex C-un (Summary)
1099 @kindex C-up (Summary)
1100 @kindex j (Summary)
1101 @kindex C-uj (Summary)
1102
1103 @ifset ja
1104 メッセージを上から順に読んでいくのであれば、@samp{SPC} を適宜押すだけで
1105 す。簡単でしょ?
1106 @end ifset
1107 @ifset en
1108 To read messages in the order of their arrival, type @samp{SPC} to
1109 display them. That's it. It's easy, isn't it?
1110 @end ifset
1111
1112 @ifset ja
1113 しかしそれだけではあんまりなので、以下にページを操作する基本的なコマンド
1114 を示します。
1115 @end ifset
1116 @ifset en
1117 Yet this might not be comprehensive, so the basic commands for page
1118 processing are listed as follows:
1119 @end ifset
1120
1121 @table @samp
1122 @ifset ja
1123 @item SPC
1124 メッセージを読み進める。つまり、メッセージを表示し、スクロールさせ、他の
1125 メッセージに移動して表示する。カーソルが移動する方向は、
1126 @xref{summary-mode} を参照のこと。
1127 @item C-uSPC
1128 メッセージを先頭から再表示。
1129 @item DEL
1130 現在のメッセージを下にスクロールさせる。不必要なヘッダフィールドは、ウイ
1131 ンドウの上に隠れている。よって、@samp{DEL} を入力すると、それらが現れる。
1132 @item RET
1133 現在のメッセージを 1 行上にスクロールする。
1134 @item M-RET
1135 @item -
1136 現在のメッセージを 1 行下にスクロールする。
1137 @end ifset
1138 @ifset en
1139 @item SPC
1140 Read through messages. That is, display a message, scroll it, and
1141 move-then-display another message. refer to @ref{summary-mode} to know
1142 which direction the cursor moves.
1143 @item C-uSPC
1144 Redisplay the message from its header.
1145 @item DEL
1146 Back-scroll this message. Unnecessary header fields are hidden over the
1147 window. Type @samp{DEL} to see them when a message is displayed.
1148 @item RET
1149 Make this message scroll up one line.
1150 @item M-RET
1151 @item -
1152 Make this message scroll down one line.
1153 @end ifset
1154 @end table
1155
1156 @table @samp
1157 @ifset ja
1158 @item C-n
1159 下の行へ移動。
1160 @item C-p
1161 上の行へ移動。
1162 @item n
1163 下方向に移動し表示。対象となるのは、パート、@samp{*} マークの付いたメッ
1164 セージ、マークの付いていないメッセージ。
1165 @item C-un
1166 下方向に移動し表示。対象となるのは、@samp{*} マークの付いたメッセージ、
1167 マークの付いていないメッセージ。
1168 @item p
1169 上方向に移動し表示。対象となるのは、パート、@samp{*} マークの付いたメッ
1170 セージ、マークの付いていないメッセージ。
1171 @item C-up
1172 上方向に移動し表示。対象となるのは、@samp{*} マークの付いたメッセージ、
1173 マークの付いていないメッセージ。
1174 @item j
1175 入力された行番号に従ってその行へ移動。
1176 @item C-uj
1177 入力されたメッセージの番号に従ってその行へ移動。
1178 @end ifset
1179 @ifset en
1180 @item C-n
1181 Go to the next line.
1182 @item C-p
1183 Go to the previous line.
1184 @item n
1185 Move down then display. Targets include parts, messages marked with
1186 @samp{*}, and non-marked messages.
1187 @item C-un
1188 Move down then display. Targets include messages marked with @samp{*},
1189 and non-marked messages.
1190 @item p
1191 Move up then display. Targets include parts, messages marked with
1192 @samp{*}, and non-marked messages.
1193 @item C-up
1194 Move up then display. Targets include messages marked with @samp{*}, and
1195 non-marked messages.
1196 @item j
1197 Jump to a line according to the line number which you input.
1198 @item C-uj
1199 Jump to a message according to the message number which you input.
1200 @end ifset
1201 @end table
1202
1203 @c %%%%%%%%%%%%%%%%%
1204 @node multipart, analysis, singlepart, Viewing
1205 @ifset ja
1206 @section MIME を表示する
1207 @end ifset
1208 @ifset en
1209 @section Displaying MIME
1210 @end ifset
1211 @vindex mew-end-of-message-string
1212 @vindex mew-end-of-part-string
1213
1214 @ifset ja
1215 マルチパートを読むのは別に大変なことではありません。今まで通り、
1216 @samp{SPC} を押していけばよいだけです。
1217 @end ifset
1218 @ifset en
1219 It's not difficult to read a multipart message. As usual, just type
1220 @samp{SPC}.
1221 @end ifset
1222
1223 @ifset ja
1224 マルチパートのメッセージは、以下のように日付の左に @samp{M} というマーク
1225 が付いています。
1226 @end ifset
1227 @ifset en
1228 A multipart message is marked with @samp{M} on the left side of date as
1229 follows:
1230 @end ifset
1231
1232 @example
1233 @ifset ja
1234 * 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック
1235 M03/14 ももちゃん 能登の写真 |この前撮った写真を添付
1236 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店
1237 @end ifset
1238 @ifset en
1239 * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
1240 M03/14 Momo-chan The pictures of Noto |Attached are the pictu
1241 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd
1242 @end ifset
1243 @end example
1244
1245 @ifset ja
1246 @samp{M} マークの付いたメッセージで @samp{SPC} を押すと、ヘッダを
1247 Message モードに表示すると共に、以下のように Summary モードでマルチパー
1248 トの構造を簡素に表示します。
1249 @end ifset
1250 @ifset en
1251 When you type @samp{SPC} on the message marked with @samp{M}, its header
1252 is displayed in Message mode. Then its multipart structure is displayed
1253 in Summary mode as follows:
1254 @end ifset
1255
1256 @example
1257 @ifset ja
1258 * 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック
1259 M03/14 ももちゃん 能登の写真 |この前撮った写真を添付
1260 B 2 Image/Jpeg 写真1 noto1.jpg
1261 Q 3 Application/Postscript 能登の地図 map.ps
1262 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店
1263 @end ifset
1264 @ifset en
1265 * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
1266 M03/14 Momo-chan The pictures of Noto |Attached are the pictu
1267 B 2 Image/Jpeg picture 1 noto1.jpg
1268 Q 3 Application/Postscript Note map map.ps
1269 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd
1270 @end ifset
1271 @end example
1272
1273 @ifset ja
1274 もし、パート 1 が Text/ なら、Summary モードにはパート 1 は可視化されず、
1275 そのかわりパート 1 がヘッダと共に Message モードに表示されます。
1276 @end ifset
1277 @ifset en
1278 If the first part is Text/, the first part is not displayed in Summary
1279 mode but the first part is displayed with its header in Message mode.
1280 @end ifset
1281
1282 @ifset ja
1283 マルチパートの各行は
1284
1285 @itemize @minus
1286 @item
1287 マーク (Content-Transfer-Encoding:)
1288 @item
1289 パート番号
1290 @item
1291 データ型 (Content-Type:)
1292 @item
1293 説明 (Content-Description:)
1294 @item
1295 ファイル名 (Content-Disposition:)
1296 @end itemize
1297
1298 から構成されています。Content-Description: はパートに対する Subject: と
1299 考えていいでしょう。この表示は Draft モードの添付領域とほとんど同じです。
1300 @end ifset
1301 @ifset en
1302 Each line of multipart consists of
1303
1304 @itemize @minus
1305 @item
1306 marks (Content-Transfer-Encoding:)
1307 @item
1308 part number
1309 @item
1310 data type (Content-Type:)
1311 @item
1312 description (Content-Description:)
1313 @item
1314 file name (Content-Disposition:).
1315 @end itemize
1316
1317 Content-Description can be considered Subject: for each part. This
1318 format is very similar to that of the attachment region in Draft mode.
1319 @end ifset
1320
1321 @ifset ja
1322 @samp{SPC} や @samp{n} でパート 2 へ進めば、そのパートがデータ型に応じて
1323 表示されます。たとえば、Text/Plain なら Message モードで、PostScript な
1324 ら @w{"}ghostview" で表示されます。
1325 @end ifset
1326 @ifset en
1327 If you type @samp{SPC} or @samp{n}, the cursor moves onto part 2 and the
1328 content is displayed according to its data type. For instance,
1329 Text/Plain is showed in Message mode and PostScript is visualized with
1330 "ghostview".
1331 @end ifset
1332
1333 @ifset ja
1334 @samp{n} や @samp{p} は、パート部分まで含んだ行を移動することに注意して
1335 下さい。パート部分を飛ばして下のメッセージを表示するには @samp{C-un} と
1336 入力して下さい。また、パート部分を飛ばして 1 つ上のメッセージを表示する
1337 には @samp{C-up} と入力して下さい。
1338 @end ifset
1339 @ifset en
1340 Please note that @samp{n} and @samp{p} move lines including multipart.
1341 To display the message below skipping multipart, type @samp{C-un}.
1342 Likewise, to display the message above (not this message), input
1343 @samp{C-up}.
1344 @end ifset
1345
1346 @ifset ja
1347 Mew は、MIME を再帰的に処理します。以下は転送されたマルチパートのメッセー
1348 ジの例です。
1349 @end ifset
1350 @ifset en
1351 Mew processes MIME recursively. The following example is a forwarded
1352 multipart message.
1353 @end ifset
1354
1355 @example
1356 @ifset ja
1357 M03/15 かずくん Fw: 能登の写真 |写真が送られてきたので
1358 2 Message/Rfc822 能登の写真
1359 B 2.2 Image/Jpeg 写真1 noto1.jpg
1360 Q 2.3 Application/Postscript 能登の地図 map.ps
1361 @end ifset
1362 @ifset en
1363 M03/15 Kazu yamamoto Fw: The pictures of Noto |Attached are the pictu
1364 2 Message/Rfc822 The pictures of Noto
1365 B 2.2 Image/Jpeg picture 1 noto1.jpg
1366 Q 2.3 Application/Postscript Note map map.ps
1367 @end ifset
1368 @end example
1369
1370 @ifset ja
1371 (メモ) テキスト以外のデータを、シングルパートとしてメッセージに格納する
1372 のは、書式としては間違いではありませんが、お勧めできません。マルチパート
1373 を作成し、そのパート 1 に説明のテキストを、パート 2 にテキスト以外のデー
1374 タを入れる作法をお勧めします。
1375 @end ifset
1376 @ifset en
1377 Note: We strongly recommend that you not embed any object other than
1378 text as a top level single part to a message directly. Instead, it is
1379 better to make a multipart message whose part 1 is a textual description
1380 of part 2 and part 2 is a non-text object.
1381 @end ifset
1382
1383 @ifset ja
1384 テキスト以外のデータが本文に直接格納されているメッセージに対し、Mew はこ
1385 れをあたかもマルチパートのように表示します。
1386 @end ifset
1387 @ifset en
1388 A message which contains a single part other than text is displayed as
1389 multipart.
1390 @end ifset
1391
1392 @ifset ja
1393 このように MIME の構造は複雑になりうるので、解析するのには時間がかかる場
1394 合があります。しかし、Mew は次に読まれるメッセージを予想し、ユーザが現在
1395 のメッセージを読んでいる間に、次のメッセージをあらかじめ解析しておくこと
1396 で高速性を実現しています。解析されたメッセージは、しばらくの間保存されま
1397 す。
1398 @end ifset
1399 @ifset en
1400 Since the syntax of MIME messages can be complex, it sometime takes a
1401 bit of time to analyze the syntax. However, Mew guesses the message to
1402 be read next and analyzes it beforehand while the user is reading the
1403 current message. Analyzed messages are temporarily cached.
1404 @end ifset
1405
1406 @ifset ja
1407 メッセージの終りの部分がはっきりと分かるように、Mew はメッセージの最後に
1408 "[End of message]" という文字列を表示します。また、パートの終りでは、
1409 "[Message is continued]" という文字列を表示します。これらの文字列はそれ
1410 ぞれ、@samp{mew-end-of-message-string} と @samp{mew-end-of-part-string}
1411 で指定できます。
1412 @end ifset
1413 @ifset en
1414 To make it clear where the message ends, Mew displays the string "[End
1415 of message]" in the end of the message. At the end of each part, Mew
1416 displays the string "[Message is continued]". These strings are
1417 customized by @samp{mew-end-of-message-string} and
1418 @samp{mew-end-of-part-string}, respectively.
1419 @end ifset
1420
1421 @c %%%%%%%%%%%%%%%%%
1422 @node analysis, cipher-viewing, multipart, Viewing
1423 @ifset ja
1424 @section MIME の解析を制御する
1425 @end ifset
1426 @ifset en
1427 @section Controlling MIME analysis
1428 @end ifset
1429 @kindex . (Summary)
1430 @kindex C-u. (Summary)
1431 @kindex , (Summary)
1432 @kindex C-cTAB (Summary)
1433 @kindex : (Summary)
1434 @kindex C-u: (Summary)
1435
1436 @ifset ja
1437 メッセージの解析を制御するために、以下の変数が用意されています。
1438 @end ifset
1439 @ifset en
1440 There are several variables for controlling message analysis.
1441 @end ifset
1442
1443 @vtable @samp
1444 @ifset ja
1445 @item mew-file-max-size
1446 解析するメッセージの大きさの上限。メッセージの大きさがこの値以下なら、解
1447 析し表示する。越えているなら、解析せずに生のまま表示する。初期値は
1448 100000 バイト。
1449 @item mew-header-max-length
1450 解析するメッセージのヘッダ長の上限。ヘッダの行数がこの値以下なら、メッセー
1451 ジを解析して表示する。越えているなら、解析を途中で止めてメッセージを壊れ
1452 た形で表示する。初期値は 100 行。
1453 @item mew-decode-broken
1454 規格違反のメッセージを解析する際に、寛容になるか否か。@samp{t} なら寛容
1455 に、@samp{nil} なら厳密に解析する。寛容に解析する際に規格違反があった場
1456 合は、X-Mew: フィールドに表示する。初期値は @samp{t}。
1457 @item mew-use-text-body
1458 本文のテキストをヘッダと同時に表示するか否か。@samp{t} なら、本文がシン
1459 グルのテキスト、および、本文がマルチパートで最初のパートがテキストの場合、
1460 そのテキストをヘッダと同時に表示する。@samp{nil} の場合は、マルチパート内
1461 のパートのように表示する。初期値は @samp{t}。
1462 @item mew-use-alternative
1463 Multipart/Alternative の取り扱い。Multipart/Alternative であるメッセー
1464 ジには@samp{-} マークが付いている。@samp{t} なら、
1465 @samp{mew-mime-multipart-alternative-list} の優先順位に従って、1 つのパー
1466 トを表示する。@samp{nil} なら、通常のマルチパートとして表示する。初期値
1467 は @samp{t}。
1468 @item mew-use-text/html
1469 Text/Html の取扱い。@samp{nil} の場合は HTML を解析せずに表示。それ以外
1470 なら HTML を解析して表示。初期値は @samp{nil}。
1471 @item mew-use-text/xml
1472 Text/Xml の取扱い。@samp{nil} の場合は XML を解析せずに表示。それ以外
1473 なら XML を解析して表示。初期値は @samp{nil}。
1474 @end ifset
1475 @ifset en
1476 @item mew-file-max-size
1477 The size limit of messages to be analyzed. If the size of a message is
1478 less than or equal to this value, it is analyzed and displayed.
1479 Otherwise, the raw message is displayed without analysis. The default
1480 value is 10000 bytes.
1481 @item mew-header-max-length
1482 The length limit of header to be analyzed. If the length of a header is
1483 less than or equal to this value, it is analyzed and displayed.
1484 Otherwise, the message is displayed as fragmentarily since the analysis
1485 is stopped. The default value is 100 lines.
1486 @item mew-decode-broken
1487 Whether Mew be liberal or conservative to invalid messages. If the value
1488 is @samp{t}, the setting is liberal. If the value is @samp{nil}, the
1489 setting is for conservative. If conservative and invalid portions are
1490 found, they are reported in the X-Mew: field. The default value is
1491 @samp{t}.
1492 @item mew-use-text-body
1493 Whether or not the text part of a body is displayed with its header. If
1494 the value is @samp{t}, both the body which is a single part text and the
1495 first text part in a multipart body are displayed with its header. If
1496 the value is @samp{nil}, they are displayed as a single part in a
1497 multipart. The default value is @samp{t}.
1498 @item mew-use-alternative
1499 How to treat Multipart/Alternative. Messages containing
1500 Multipart/Alternative are marked with @samp{-}. If the value is
1501 @samp{t}, one part is displayed according to the preference defined in
1502 @samp{mew-mime-multipart-alternative-list}. If the value is
1503 @samp{nil}, it is displayed as a multipart. The default value is
1504 @samp{t}.
1505 @item mew-use-text/html
1506 How to treat Text/Html. If @samp{nil}, HTML is displayed as is
1507 (without parsing). Otherwise, HTML is parsed and displayed. The
1508 default value is @samp{nil}.
1509 @item mew-use-text/xml
1510 How to treat Text/Xml. If @samp{nil}, XML is displayed as is
1511 (without parsing). Otherwise, XML is parsed and displayed. The
1512 default value is @samp{t}.
1513 @end ifset
1514 @end vtable
1515
1516 @ifset ja
1517 これらの変数に関する基本的なコマンドは、@samp{.} です。このコマンドは、
1518 以下のように動きます。
1519 @end ifset
1520 @ifset en
1521 The basic command relating to the variables above is @samp{.}. The
1522 command acts as follows:
1523 @end ifset
1524
1525 @ifset ja
1526 1) このコマンドがメッセージ上で実行されると、そのメッセージのキャッシュ
1527 が削除され、メッセージが解析されて再表示されます。
1528 @end ifset
1529 @ifset en
1530 1) If this command executed on a message, the cache of the
1531 message is removed and the message is analyzed then displayed.
1532 @end ifset
1533
1534 @ifset ja
1535 1a) もし現在のメッセージの大きさが @samp{mew-file-max-size} を越えてい
1536 るなら、MIME は解析されず、そのまま表示されています。この場合、このコマ
1537 ンドはこの上限に関わらずに現在のメッセージを解析し、再表示します。
1538 @end ifset
1539 @ifset en
1540 1a) If the size of the current message exceeds
1541 @samp{mew-file-max-size}, MIME analysis is skipped then the beginning
1542 of the raw message is displayed. In this situation, this command
1543 analyzes the current message without the limitation then displays it.
1544 @end ifset
1545
1546 @ifset ja
1547 1b) もし現在のメッセージのヘッダ長が @samp{mew-header-max-length} を越
1548 えているなら、メッセージが壊れたように表示されています。この場合、この
1549 コマンドはこの上限に関わらずに現在のメッセージを解析し、再表示します。
1550 @end ifset
1551 @ifset en
1552 1b) If the length of a header exceeds @samp{mew-header-max-length}, a
1553 broken message is displayed. In this situation, this command
1554 analyzes the current message without the limitation then displays
1555 it.
1556 @end ifset
1557
1558 @ifset ja
1559 1c) もし現在のメッセージが @samp{:} で表示されているなら、マルチパート
1560 の構造は、通常とは違うように表示されています。この場合、このコマンドは
1561 マルチパートの構造を通常と同じように再表示します。
1562 @end ifset
1563 @ifset en
1564 1c) If the current message is displayed by @samp{:}, the multipart
1565 structure is displayed different from the normal display. In this
1566 situation, this command gets the multipart structure back to the
1567 normal display.
1568 @end ifset
1569
1570 @ifset ja
1571 1d) もし @samp{mew-use-text/html} が @samp{nil} なら、HTML は解析されず、その
1572 まま表示されています。この場合、このコマンドは HTML を解析し、再表示し
1573 ます。
1574 @end ifset
1575 @ifset en
1576 1d) If @samp{mew-use-text/html} is @samp{nil}, its HTML body is displayed as
1577 is. In this situation, this command analyzes the HTML body and
1578 displays it.
1579 @end ifset
1580
1581 @ifset ja
1582 2) もしこのコマンドがパート上で実行された場合、そのパートが再表示されま
1583 す。
1584 @end ifset
1585 @ifset en
1586 2) If this command is called on a part, the part is displayed again.
1587 @end ifset
1588
1589 @ifset ja
1590 2a) もし @samp{mew-use-text/html} が @samp{nil} なら、HTML は解析されず、その
1591 まま表示されています。この場合、このコマンドは HTML を解析し、再表示し
1592 ます。
1593 @end ifset
1594 @ifset en
1595 2a) If 'mew-use-text/html' is @samp{nil}, its HTML part is displayed as
1596 is. In this situation, this command analyzes the HTML part and
1597 displays it.
1598 @end ifset
1599
1600 @ifset ja
1601 @samp{.} 以外にも、以下のような便利なコマンドがあります。
1602 @end ifset
1603 @ifset en
1604 In addition to @samp{.}, the following commands are prepared:
1605 @end ifset
1606
1607 @table @samp
1608 @ifset ja
1609 @item .
1610 メッセージを解析し、再表示する。
1611 @item C-u.
1612 @samp{mew-decode-broken} を逆にしてメッセージを解析し直す。
1613 @xref{invalid} を参照のこと。
1614 @item :
1615 @samp{mew-use-alternative} と @samp{mew-use-text-body} を反転させた
1616 @samp{.}.
1617 @item C-u:
1618 @samp{mew-use-alternative} と @samp{mew-use-text-body} を反転させた
1619 @samp{C-u.}.
1620 @item ,
1621 現在のメッセージやパートを生の書式で Message モードに表示する。
1622 @item C-cTAB
1623 メッセージ全体をファイルとして read only で開く。
1624 @item C-uC-cTAB
1625 メッセージ全体をファイルとして開く。
1626 @end ifset
1627 @ifset en
1628 @item .
1629 Analyze the message and re-display it.
1630 @item C-u.
1631 Analyze the message with @samp{mew-decode-broken} reversed (see
1632 @ref{invalid}).
1633 @item :
1634 The same as @samp{.} with @samp{mew-use-alternative} and
1635 @samp{mew-use-text-body} reversed.
1636 @item C-u:
1637 The same as @samp{C-u.} with @samp{mew-use-alternative} and
1638 @samp{mew-use-text-body} reversed.
1639 @item ,
1640 Insert a message or a part into Message mode in raw format.
1641 @item C-cTAB
1642 Open an entire message as a file in read-only mode.
1643 @item C-uC-cTAB
1644 Open an entire message as a file.
1645 @end ifset
1646 @end table
1647
1648 @c %%%%%%%%%%%%%%%%%
1649 @node cipher-viewing, retrieving, analysis, Viewing
1650 @ifset ja
1651 @section 暗号メールや電子署名を表示する
1652 @end ifset
1653 @ifset en
1654 @section Visualizing cipher or signature
1655 @end ifset
1656 @vindex mew-x-pgp-key-list
1657 @vindex mew-prog-pgp
1658 @vindex mew-prog-pgp2
1659 @vindex mew-prog-pgp5
1660 @vindex mew-prog-gpg
1661 @kindex C-cC-f (Summary)
1662 @kindex C-uC-cC-f (Summary)
1663 @kindex C-cC-v (Summary)
1664 @kindex C-cC-z (Summary)
1665
1666 @ifset ja
1667 今までと同様 @samp{SPC} などを利用することで、Mew では暗号化や電子署名
1668 を施されたメッセージを簡単に表示できます。まず、簡単な例から紹介しましょ
1669 う。
1670 @end ifset
1671 @ifset en
1672 Basic commands such as @samp{SPC} visualize messages signed or
1673 encrypted as well. Let's start with a simple example:
1674 @end ifset
1675
1676 @example
1677 @ifset ja
1678 S03/18 神田パソコン館 見積書 |先日承りましたノートPC
1679 E03/21 匿名希望 秘密のメール |
1680 @end ifset
1681 @ifset en
1682 S03/18 Kanda PC shop A written estimate |Here is a written esti
1683 E03/21 Anonymous Secret message |
1684 @end ifset
1685 @end example
1686
1687 @ifset ja
1688 上記のメッセージには、それぞれ @samp{S} マークと @samp{E} マークが付いて
1689 います。これはそれぞれ、本文全体が署名されている、および、暗号化されてい
1690 ることを意味します。
1691 @end ifset
1692 @ifset en
1693 Messages above are marked with @samp{S} and @samp{E}, respectively. This
1694 means that the body of the first message is signed and that of the
1695 second message is encrypted.
1696 @end ifset
1697
1698 @ifset ja
1699 PGP/MIME や S/MIME では、一部のパートに電子署名を施したり、暗号化したり
1700 できます。この場合このようなマークは付きません。@samp{S} マークや
1701 @samp{E} マークが付くのは、本文全体が対象になっている場合です。
1702 @end ifset
1703 @ifset en
1704 PGP/MIME and/or S/MIME also allow to sign and/or encrypt some parts of
1705 a message. In this case, these marks do not appear. The @samp{S} or
1706 @samp{E} mark appears only when the entire body of the message is
1707 signed or encrypted.
1708 @end ifset
1709
1710 @ifset ja
1711 また、単に署名や暗号化といいましたが、これは最終的な処理が署名や暗号化で
1712 あったことを意味しています。やや複雑な話になりますが、もしかすると前者は
1713 本文全体を暗号化した後、署名したのかもしれませんし、後者は一部のパートに
1714 署名し、さらに全体を暗号化している可能性もあります。
1715 @end ifset
1716 @ifset en
1717 The terms "sign" and "encrypt" used above mean the last procedure
1718 applied the body is "sign" and "encryption", respectively. The above
1719 examples may have been produced with more complex processes. For
1720 instance, in the case of the former message, the body may have been
1721 signed after encrypting the body. It is likely that some part of the
1722 latter message was first signed then the body was encrypted.
1723 @end ifset
1724
1725 @ifset ja
1726 本文全体、あるいは、一部のパートが暗号化されている場合、Mew はパスフレー
1727 ズを訊いてきます。パスフレーズを入力する際の注意事項については、
1728 @xref{start} を参照して下さい。入力されたパスフレーズは、あなたの秘密鍵
1729 を復号化するのに使われます。そして、復号化された秘密鍵によって、暗号化さ
1730 れているメッセージを解くわけです。
1731 @end ifset
1732 @ifset en
1733 If some parts or the entire body is encrypted, Mew asks you to input
1734 your pass-phrase to get plain text. Please refer to @ref{start} to know
1735 what you should pay attention when inputting pass-phrase. The pass-phrase
1736 is used to decrypt your secret key. The secret key is then used to
1737 decrypt cipher text.
1738 @end ifset
1739
1740 @ifset ja
1741 暗号メッセージを表示するには、暗号化された数だけパスフレーズを入力する
1742 必要があります。これは Mew が安全を期して、通常パスフレーズを保存しない
1743 からです。もしこれがわずらわしいなら、Mew にパスフレーズを保存させるこ
1744 とも可能です。詳しくは、@xref{password} を参照して下さい。
1745 @end ifset
1746 @ifset en
1747 To visualize a cipher message, you need to input your pass-phrase
1748 every time you encounter cipher text. This is because Mew does not
1749 cache pass-phrases anywhere for security reasons. If you feel this is
1750 inconvenient, you can configure Mew to cache your pass-phrase. Please
1751 refer to @ref{password} for more information.
1752 @end ifset
1753
1754 @ifset ja
1755 パスフレーズを保存しない通常の設定でも、一旦復号化されたメッセージはしば
1756 らく保存されるので、2 回目の表示にはパスフレーズを訊かれないかもしれませ
1757 ん。
1758 @end ifset
1759 @ifset en
1760 Since decrypted messages are cached for a while, you may not be asked
1761 for your pass-phrase at the next time you display the message, even if
1762 you are not using the pass-phrase cache.
1763 @end ifset
1764
1765 @ifset ja
1766 一方、通信相手の署名を検証するためには相手の公開鍵が利用できればよいので、
1767 パスフレーズを訊かれることはありません。
1768 @end ifset
1769 @ifset en
1770 To verify signatures, senders' public keys are used. Hence you are not
1771 asked to type your pass-phrase.
1772 @end ifset
1773
1774 @ifset ja
1775 Mew は自動的に電子署名を検証したり、入力されたパスフレーズを使って暗号メッ
1776 セージを復号化したりして、元のメッセージを表示します。そこで、ユーザが署
1777 名の存在に気づかないかもしれませんし、どの部分が暗号化されていたのか分か
1778 らないかもしれません。
1779 @end ifset
1780 @ifset en
1781 Since Mew automatically verifies signatures and/or decrypts cipher
1782 text with a pass-phrase, it is likely that users do not notice that
1783 the original message has signatures and/or which parts were encrypted.
1784 @end ifset
1785
1786 @ifset ja
1787 そこで、検証の結果やどの部分が暗号化されているかをユーザに通知するために、
1788 Mew は以下のようにヘッダに X-Mew: フィールドを挿入します。
1789 @end ifset
1790 @ifset en
1791 To inform users the results of verification of signatures or which parts
1792 were decrypted, Mew inserts the X-Mew: field in the header as follows:
1793 @end ifset
1794
1795 @example
1796 X-Mew: <body> PGP decrypted.
1797 Good PGP sign "kazu@@example.org" COMPLETE
1798 @end example
1799
1800 @ifset ja
1801 "<>" 内の番号は、どのパートの結果であるかを示しています。"body" は、メッ
1802 セージの本文全体が保護されていることを意味します。この例では、メッセージ
1803 全体が kazu によって署名され、受信者のために暗号化されています。Mew はま
1804 ずこれを復号化し、そして署名を検証しています。署名は正しいので、
1805 kazu@@example.org という ID の付いた秘密鍵で署名されたときから、内容は変更さ
1806 れていないと分かります。この署名の検証に使われた公開鍵の「有効性」は
1807 "complete" です。よって、受信者はこの公開鍵が ID が示すユーザに属してい
1808 ると信頼していることになります。つまり、このメッセージは信頼をおいている
1809 公開鍵によって検証され結果が正しいので、改竄されていないということになり
1810 ます。
1811 @end ifset
1812 @ifset en
1813 The number enclosed by "<>" indicates which part was protected with
1814 PGP. "body" means the body was protected. This example tells us that the
1815 body was singed by kazu then encrypted for the reader. Mew first
1816 decrypted the message and then verified its signature of the decrypted
1817 message. The fact that the signature is valid indicates that no one has
1818 modified the content of the message since it was signed by the secret
1819 key whose ID is kazu@@example.org. The validity of the public key used to
1820 verify the signature is "complete". Thus, the receiver can be sure that
1821 the public key actually belongs to the user indicated by the ID. That
1822 is, this message was verified by a reliable public key AND its results
1823 were correct, so no alternation was found.
1824 @end ifset
1825
1826 @ifset ja
1827 以下の例では、まずマルチパートである本文全体の電子署名が検証され、その後
1828 パート 2 のメッセージ全体が復号化されています。つまり、作成時には、まず
1829 パート 2 が暗号化され、そして本文全体が署名されたことが分かります。
1830 @end ifset
1831 @ifset en
1832 In the following example, the signature of the body (multipart), is first
1833 verified, then part 2 (a message), is decrypted. That is, the composing
1834 process was that part 2 is first encrypted then the entire body is
1835 signed.
1836 @end ifset
1837
1838 @example
1839 X-Mew: <body multi> Good PGP sign "kazu@@example.org" COMPLETE
1840 X-Mew: <2 message> PGP decrypted.
1841 @end example
1842
1843 @ifset ja
1844 するどい人なら、悪い人があらかじめ X-Mew: フィールドを挿入しておき、あなた
1845 をだますかもしれないと思うかもしれません。でも大丈夫です。Mew は、ヘッダに
1846 ある X-Mew: をあらかじめ削り、本物の X-Mew: フィールドを挿入しますから。
1847 @end ifset
1848 @ifset en
1849 Intelligent users may wonder what happens in the case where a devious
1850 person sends a message that contains an invalid X-Mew: field. This is
1851 not a problem. First Mew carefully removes the X-Mew: field, and then
1852 inserts a valid X-Mew: field into the header.
1853 @end ifset
1854
1855 @ifset ja
1856 PGP/MIME について:
1857 @end ifset
1858 @ifset en
1859 About PGP/MIME:
1860 @end ifset
1861
1862 @ifset ja
1863 X-Mew: フィールドは他にもさまざまな結果を伝えてくれます。たとえば、署名
1864 を検証するための公開鍵がないとか、復号化に失敗したなどです。以下の例は、
1865 鍵 ID が 0x1B8BF431 である公開鍵がないことを示しています。
1866 @end ifset
1867 @ifset en
1868 X-Mew: informs the user of various other types of results. For example,
1869 the lack of availability of a public key, decryption failures, etc. The
1870 following example indicates the absence of a public key whose key ID is
1871 0x1B8BF431.
1872 @end ifset
1873
1874 @example
1875 X-Mew: <body multi> No his/her public key. ID = 0x1B8BF431
1876 @end example
1877
1878 @ifset ja
1879 この場合、@samp{C-cC-f} と入力すると、Mew はこの公開鍵の入手を試みます。
1880 その際、公開鍵サーバを選択できます。もし、X-Mew: フィールドがない場合は、
1881 @samp{C-cC-f} は From: を ID と考えます。また、@samp{C-uC-cC-f} は、
1882 X-Mew: フィールドに加えて @samp{mew-x-pgp-key-list} に指定されたフィー
1883 ルドも鍵 ID を切り出す対象とし、公開鍵の入手を試みます。
1884 @end ifset
1885 @ifset en
1886 In this case, if you type @samp{C-cC-f}, Mew tries fetching this
1887 public key. You can interactively select a public key server. If the
1888 X-Mew: field does not exist, @samp{C-c C-f} takes the From: field as
1889 ID. Also, @samp{C-uC-cC-f} extracts key IDs from fields specified in
1890 @samp{mew-x-pgp-key-list} in addition to the X-Mew: field, and then
1891 tries to fetch them.
1892 @end ifset
1893
1894 @ifset ja
1895 Mew では PGPv2、PGPv5、GNUPG に対応しています。これらは Summary モードに
1896 おいて、@samp{C-cC-v} で切替え可能です。これら複数の PGP を使いたい人は
1897 @samp{mew-prog-pgp2}、@samp{mew-prog-pgp5}、@samp{mew-prog-gpg} に対し、
1898 それぞれ PGPv2、PGPv5、GNUPG のコマンド名を設定して下さい。また、Mew の
1899 起動直後に利用する PGP のコマンド名を @samp{mew-prog-pgp} に設定して下さ
1900 い。なおパスフレーズは、それぞれの PGP に対し独立に保存されます。
1901 @end ifset
1902 @ifset en
1903 Mew supports PGPv2, PGPv5, and GNUPG. You can select one of these by
1904 typing @samp{C-cC-v} in Summary mode. If you want to use those PGPs, you
1905 should set the command name of PGPv2, PGPv5, and GNUPG to
1906 @samp{mew-prog-pgp2}, @samp{mew-prog-pgp5}, and @samp{mew-prog-gpg},
1907 respectively. Also, set the default PGP name to
1908 @samp{mew-prog-pgp}. Note that pass-phrases are cached independently for
1909 each PGP.
1910 @end ifset
1911
1912 @ifset ja
1913 なお昔ながらの PGP メッセージは、自動的に処理できません。このような PGP
1914 メッセージに対しては、@samp{C-cC-z} で復号化や署名の検証ができます。
1915 @end ifset
1916 @ifset en
1917 Old fashioned PGP messages cannot be processed automatically. You can
1918 decrypt and/or verify this kind messages with @samp{C-cC-z}.
1919 @end ifset
1920
1921 @c %%%%%%%%%%%%%%%%%
1922 @node retrieving, moving, cipher-viewing, Viewing
1923 @ifset ja
1924 @section メッセージの取得
1925 @end ifset
1926 @ifset en
1927 @section Getting messages
1928 @end ifset
1929 @vindex mew-mailbox-type
1930 @vindex mew-auto-flush-queue
1931 @vindex mew-pop-delete
1932 @vindex mew-imap-delete
1933 @vindex mew-pop-header-only
1934 @vindex mew-imap-header-only
1935 @vindex mew-nntp-header-only
1936 @kindex i (Summary)
1937 @kindex I (Summary)
1938 @kindex s (Summary)
1939 @kindex C-us (Summary)
1940
1941 @ifset ja
1942 メールボックスへ到着したメッセージを +inbox へコピーし一覧表示するには、
1943 @samp{i} を使います。コピー元のメールボックスは @samp{mew-mailbox-type}
1944 によって決ります。(@samp{M-x mew} を実行した際に、@samp{mew-proto} が
1945 @samp{+} の場合も、@samp{mew-mailbox-type} に従ってメッセージがコピーさ
1946 れます。) 以下に取りうる値を示します。
1947 @end ifset
1948 @ifset en
1949 To copy arrived messages to your mailbox to +inbox and list up a list of
1950 the messages, use @samp{i}. The mailbox is determined according to
1951 @samp{mew-mailbox-type}. (When you type @samp{M-x mew} and if
1952 @samp{mew-proto} is @samp{+}, messages are also copied according to
1953 @samp{mew-mailbox-type}.) Here are summary of its values.
1954 @end ifset
1955
1956 @table @samp
1957 @ifset ja
1958 @item 'mbox
1959 ローカルのメールボックス。デフォルトでは "incm" という外部コマンドを使い、
1960 メッセージを取得する。設定方法は、@xref{configuration} を参照のこと。
1961 @item 'pop
1962 POP サーバ。POP を POP らしく使う方法。(初期値)
1963 @item 'imap
1964 IMAP サーバ。IMAP らしくない利用方法なので、推奨されていない。
1965 @end ifset
1966 @ifset en
1967 @item 'mbox
1968 A local mailbox. "incm" is used to copy messages for the local mailbox
1969 by default. To know how to configure it, see @ref{configuration}.
1970 @item 'pop
1971 A POP server. To use POP as it is. (This is a default value.)
1972 @item 'imap
1973 An IMAP server. This is not recommended.
1974 @end ifset
1975 @end table
1976
1977 @ifset ja
1978 ローカル・フォルダでメッセージの一覧を再表示するには、@samp{s} を使いま
1979 す。
1980 @end ifset
1981 @ifset en
1982 To flush a list of messages in a local folder and display them again,
1983 use @samp{s}.
1984 @end ifset
1985
1986 @ifset ja
1987 リモート・フォルダでメッセージを取得、あるいは再取得する場合にも
1988 @samp{s} を使います。IMAP やニュースでは、@samp{i} は利用せず、@samp{s}
1989 を使うのが一般的です。
1990 @end ifset
1991 @ifset en
1992 To retrieve messages or flush-then-retrieve messages again in a remote
1993 folder, type @samp{s}. It is recommended to use @samp{s}, not @samp{i},
1994 for IMAP and NetNews.
1995 @end ifset
1996
1997 @ifset ja
1998 @samp{s} を使うと範囲を訊いてきます。Mew で重要な範囲の意味を以下に示し
1999 ます。
2000 @end ifset
2001 @ifset en
2002 If you use @samp{s}, it asks you a range. Here are a summary of
2003 important ranges for Mew.
2004 @end ifset
2005
2006 @table @samp
2007 @ifset ja
2008 @item update
2009 「Summary モードの最後のメッセージの次」から「フォルダ内の最後のメッセー
2010 ジ」まで。つまり、Summary モードと実際のフォルダ内のメッセージの差分。
2011 @item all
2012 フォルダ内のメッセージすべて。ローカル・フォルダでは、Summary モードの表
2013 示がおかしくなったときに、内容を一新するために用いる。リモート・フォルダ
2014 では、すべてのメッセージの再取得。
2015 @item sync
2016 あるリモート・フォルダに対し、サーバ側では消えたメッセージのキャッシュを
2017 削除する。リモート・フォルダに対してのみ有効。
2018 @end ifset
2019 @ifset en
2020 @item update
2021 From "the last message in the Summary mode + 1" to "the last message in
2022 the corresponding folder". That is, the gap between the Summary mode and
2023 the existing folder
2024 @item all
2025 All messages in the folder. When Summary mode in a local folder becomes
2026 inconsistent, use this range to flush the list. For a remote folder,
2027 this range results in retrieval of all messages again.
2028 @item sync
2029 Deleting cache messages whose originals were removed in the server side.
2030 Valid for remote folders only.
2031 @end ifset
2032 @end table
2033
2034 @ifset ja
2035 +draft、+queue、+postq では、デフォルトの範囲は @samp{all} となっていま
2036 す。それ以外のフォルダでは、デフォルトの範囲が @samp{update} となってい
2037 ます。ですから、+draft、+queue、+postq 以外では、@samp{s} の後に
2038 @samp{RET} を押すだけで、現在のフォルダに対し最新の一覧を得られることに
2039 なります。
2040 @end ifset
2041 @ifset en
2042 The default range both for +draft, +queue, and +postq is @samp{all}. For
2043 other folders, the default is @samp{update}. So, just type @samp{RET}
2044 after @samp{s} to get the up-to-date list of the current folder except
2045 +draft, +queue, and +postq.
2046 @end ifset
2047
2048 @ifset ja
2049 Mew ではあまり重要ではありませんが、以下の範囲も指定できます。
2050 @end ifset
2051 @ifset en
2052 Although they are not especially important in Mew, you can specify the
2053 following ranges:
2054 @end ifset
2055
2056 @table @samp
2057 @ifset ja
2058 @item <num1>-<num2>
2059 <num1> から <num2> まで。ローカル・フォルダに対してのみ有効。
2060 @item <num1>-
2061 <num1> から最後まで。ローカル・フォルダに対してのみ有効。
2062 @item -<num2>
2063 最初から <num2> まで。ローカル・フォルダに対してのみ有効。
2064 @item last:<num>
2065 最後の <num> 個。
2066 @end ifset
2067 @ifset en
2068 @item <num1>-<num2>
2069 From <num1> to <num2>. Valid for local folders only.
2070 @item <num1>-
2071 From <num1> to the last. Valid for local folders only.
2072 @item -<num2>
2073 From the first to <num2>. Valid for local folders only.
2074 @item last:<num>
2075 Last <num> messages.
2076 @end ifset
2077 @end table
2078
2079 @ifset ja
2080 リモート・フォルダで @samp{s} を @samp{C-u} 付きで呼び出すと、「ヘッダの
2081 みのコピー」と「ヘッダと本文の両方のコピー」を反転できます。これらの動作
2082 は、POP、IMAP、NNTP に対し、それぞれ @samp{mew-pop-header-only}、
2083 @samp{mew-imap-header-only}、@samp{mew-nntp-header-only} で定義でき、初
2084 期値はすべて @samp{nil} です。つまり、初期値は「ヘッダと本文の両方のコ
2085 ピー」になっています。
2086 @end ifset
2087 @ifset en
2088 If you execute @samp{s} with @samp{C-u} on a remote folder, you can
2089 toggle "copying a header only" and "copying both a header and a body".
2090 This action can be defined by @samp{mew-pop-header-only},
2091 @samp{mew-imap-header-only}, and @samp{mew-nntp-header-only} for POP,
2092 IMAP, and NNTP, respectively. The default values of these are
2093 @samp{nil}, that is, "copying both a header and a body".
2094 @end ifset
2095
2096 @ifset ja
2097 サイズが大きなメッセージは、全体ではなく一部が取得されているかもしれませ
2098 ん。このようなメッセージには、@samp{T} マークがついています。このメッセー
2099 ジの全体を取得するには、そのメッセージ上で @samp{I} と入力します。
2100 @end ifset
2101 @ifset en
2102 Messages that are of large size may be truncated. This kind of message
2103 is marked with @samp{T}. To retrieve the rest of this kind of message,
2104 type @samp{I} on the message.
2105 @end ifset
2106
2107 @ifset ja
2108 たとえば、$inbox に @samp{T} マークのついたメッセージがあるとしましょう。
2109 このメッセージの上で @samp{I} を押すと、メッセージの全体が取得できます。
2110 @end ifset
2111 @ifset en
2112 Suppose that there is a message marked with @samp{T} in $inbox. If you
2113 type @samp{I} on it, you can retrieve the entire message.
2114 @end ifset
2115
2116 @ifset ja
2117 メッセージの取得に関するコマンドを以下にまとめます。
2118 @end ifset
2119 @ifset en
2120 Here is a summary of the commands concerned with message retrieval:
2121 @end ifset
2122
2123 @table @samp
2124 @ifset ja
2125 @item i
2126 ローカル・フォルダでは、+inbox フォルダに移動し、到着したメッセージを取
2127 得して一覧を表示する。@samp{mew-auto-flush-queue} が @samp{t} なら、
2128 +queue にあるメッセージを送信する。詳しくは、@xref{send} を参照のこと。
2129 リモート・フォルダでは、そのデフォルトのフォルダに移動し、@samp{s} +
2130 @samp{update} を実行する。
2131 @item C-ui
2132 @samp{mew-auto-flush-queue} の値を逆だと思って、@samp{i} を実行する。
2133 @item I
2134 @samp{T} マークの付いている一部だけが取得されたメッセージの全体を取得す
2135 る。
2136
2137 ローカル・フォルダで実行した場合、ケースと @samp{mew-mailbox-type} によ
2138 り取得方法が決る。@samp{mew-pop-delete} または @samp{mew-imap-delete}
2139 の値が @samp{t} なら、メールボックスのメッセージを削除する。
2140
2141 リモート・フォルダで実行した場合、ケースと取得方法はそのフォルダから決る。
2142 サーバ側のメッセージは常に保存される。
2143 @item C-uI
2144 @samp{mew-pop-delete} または @samp{mew-imap-delete} を逆転させて @samp{I}
2145 を実行する。
2146 @item s
2147 フォルダの一覧を取る。
2148 @item C-us
2149 リモート・フォルダにおいて、「ヘッダのみのコピー」と「ヘッダと本文の両方
2150 のコピー」を反転させて、一覧を取る。
2151 @item lc
2152 リモート・フォルダのメッセージをローカル・フォルダへコピーする。
2153 @end ifset
2154 @ifset en
2155 @item i
2156 In a local folder, fetch arrived messages, store them to the +inbox
2157 folder and create a list. If @samp{mew-auto-flush-queue} is @samp{t},
2158 send messages in +queue. Please refer to @ref{send} for more
2159 information. In a remote folder, visit to its inbox folder and execute
2160 @samp{s} + @samp{update}.
2161 @item C-ui
2162 Perform @samp{i} with @samp{mew-auto-flush-queue} reversed.
2163 @item I
2164 Retrieve the rest of a truncated(@samp{T}) message.
2165
2166 If you use this command in a local folder, a method to retrieve the
2167 message is determined by the "case" and @samp{mew-mailbox-type}. If
2168 @samp{mew-pop-delete}/@samp{mew-imap-delete} is @samp{t}, delete the
2169 message from the mailbox.
2170
2171 If you use this command in a remote folder, a "case" and protocol is
2172 determined by the folder. The message in the server side is always
2173 retained.
2174 @item C-uI
2175 Perform @samp{I} with @samp{mew-pop-delete} or @samp{mew-imap-delete}
2176 reversed.
2177 @item s
2178 List up messages in Summary mode or flush them.
2179 @item C-us
2180 On a remote folder, list up messages in Summary mode by toggling
2181 "copying a header only" and "copying both a header and a body".
2182 @item lc
2183 Copy a cached message in a remote folder to a local folder.
2184 @end ifset
2185 @end table
2186
2187 @c %%%%%%%%%%%%%%%%%
2188 @node moving, sum-write, retrieving, Viewing
2189 @ifset ja
2190 @section フォルダの移動
2191 @end ifset
2192 @ifset en
2193 @section Moving to another folder
2194 @end ifset
2195 @kindex g (Summary)
2196
2197 @ifset ja
2198 フォルダの移動には @samp{g} を入力して下さい。以下のようにフォルダ名を訊
2199 かれます。
2200 @end ifset
2201 @ifset en
2202 To go to another folder, type @samp{g}. Mew asks you to input a folder
2203 name as follows:
2204 @end ifset
2205
2206 @example
2207 Folder name (+inbox): +
2208 @end example
2209
2210 @ifset ja
2211 ":" の右側を編集可能領域と呼ぶことにしましょう。この例では、編集可能領域
2212 に修飾子 "+" が表示されています。修飾子に続けて任意の文字列を入力し、
2213 @samp{RET} を押せば、フォルダ名が決定されたことになり、そのフォルダへ移
2214 動します。
2215 @end ifset
2216 @ifset en
2217 Let's call the right side of ":" 'writable area'. In this example, proto
2218 "+" is displayed in the writable area. Typing an appropriate string
2219 following proto and typing @samp{RET} decides a folder name, then Mew
2220 moves to the folder.
2221 @end ifset
2222
2223 @ifset ja
2224 フォルダを移動した際に Summary モードの一覧が古いと判断した場合は、自動
2225 的に差分が追加表示されます。
2226 @end ifset
2227 @ifset en
2228 When you move to a folder and if Mew finds its list of messages old, Mew
2229 automatically displays the differences.
2230 @end ifset
2231
2232 @ifset ja
2233 "()" 内がデフォルトのフォルダです。単に @samp{RET} を押し "+" を入力する
2234 と、デフォルトのフォルダを入力したものとして扱われます。
2235 @end ifset
2236 @ifset en
2237 The string in "()" is a default. If you specifies "+" by simply typing
2238 @samp{RET}, Mew considers that the default folder name is specified.
2239 @end ifset
2240
2241 @ifset ja
2242 補完を利用するには、@samp{TAB} や @samp{SPC} を押して下さい。
2243 @end ifset
2244 @ifset en
2245 To make use of completion, type @samp{TAB} or @samp{SPC}.
2246 @end ifset
2247
2248 @ifset ja
2249 さて、話を @samp{g} を押した直後に戻しましょう。
2250 @end ifset
2251 @ifset en
2252 Now, lets get back to the state just after typing @samp{g}.
2253 @end ifset
2254
2255 @example
2256 Folder name (+inbox): +
2257 @end example
2258
2259 @ifset ja
2260 たとえば、"+" を "%" に変更するには、通常なら "+" を削り、"%" を入力する
2261 必要があります。これでは面倒なので、"+" の後で "%" を入力すると、"+" が
2262 "%" に置き換わるようになっています。このように、修飾子の直後で他の修飾子
2263 を入力すれば、削る作業をせずに置き換え可能です。
2264 @end ifset
2265 @ifset en
2266 If you want to change, for example, "+" to "%", you have to delete "+"
2267 first then type "%" in normal situation. But this is inconvenient. So,
2268 typing "%" just after "+" removes "+" automatically. Like this, typing
2269 another proto just after a proto replaces the previous one without
2270 deletion.
2271 @end ifset
2272
2273 @ifset ja
2274 リモート・フォルダを入力する場合、@xref{config} で説明するケースを指定し
2275 たい場合もあるでしょう。ケースは、フォルダ名の前に ":" で区切って入力し
2276 ます。たとえば、"home" というケースの "%inbox" に移動したいとしましょう。
2277 このとき、"home:%inbox" と入力する必要があります。しかしこれは面倒なので、
2278 任意の場所で @samp{C-cTAB} を押すと利用可能なケースが、フォルダ名の前に
2279 循環的に補完されます。次の例を考えて下さい。
2280 @end ifset
2281 @ifset en
2282 When you type a remote folder, you may want to specify the "case"
2283 (described in @ref{config}). The "case" must be specified before a
2284 folder, separated by ":". Consider moving "%inbox" for a "case"
2285 @w{"}home". In this case, you should type "home:%inbox". Yes, this is
2286 inconvenient. So, typing @samp{C-cTAB} in any position does circular
2287 completion for available "cases". Let's look at the following example.
2288 @end ifset
2289
2290 @example
2291 Folder name (+inbox): %inbox
2292 @end example
2293
2294 @ifset ja
2295 ここで @samp{C-cTAB} を入力すると、以下のようになります。
2296 @end ifset
2297 @ifset en
2298 Typing @samp{C-cTAB} here results in the following:
2299 @end ifset
2300
2301 @example
2302 Folder name (+inbox): home:%inbox
2303 @end example
2304
2305 @ifset ja
2306 フォルダ名の一部を指定して、フォルダを検索したいこともあるでしょう。この
2307 場合には、前方検索の @samp{C-s} か後方検索の @samp{C-r} が利用できます。
2308 以下は、@samp{C-s} を押したときのミニバッファの状態です。
2309 @end ifset
2310 @ifset en
2311 You may want to search a folder by specifying a substring of the folder.
2312 For this purpose, @samp{C-s} and @samp{C-r} are available. The following
2313 is the state of the minibuffer after typing @samp{C-s}.
2314 @end ifset
2315
2316 @example
2317 Folder name (+inbox): ()
2318 @end example
2319
2320 @ifset ja
2321 編集領域に現れた "()" が、検索モードに移行したことを表わしています。ここ
2322 で文字を入力していくと、マッチした候補が "()" の中に表示されます。以下は
2323 "mew" で検索したときの例です。
2324 @end ifset
2325 @ifset en
2326 "()" appeared in the writable area indicates you have switched to search
2327 mode. While you are typing here, a matched candidate is shown in "()".
2328 The following is the case where a search key is "mew".
2329 @end ifset
2330
2331 @example
2332 Folder name (+inbox): (+work/mew-release) mew
2333 @end example
2334
2335 @ifset ja
2336 候補を確定する際には、@samp{RET} を入力して下さい。そうすると検索モード
2337 を抜けて、編集領域にこの候補が表示されます。
2338 @end ifset
2339 @ifset en
2340 To select the matched candidate, type @samp{RET}. Then the search mode
2341 is finished and the matched candidate is displayed in the writable area.
2342 @end ifset
2343
2344 @example
2345 Folder name (+inbox): +work/mew-release
2346 @end example
2347
2348 @ifset ja
2349 さらに @samp{RET} を押せば、このフォルダが入力されたことになります。
2350 @end ifset
2351 @ifset en
2352 Typing @samp{RET} again means that you decide the folder.
2353 @end ifset
2354
2355 @ifset ja
2356 検索対象となるフォルダの一覧は、ケースと修飾子の組で決定されます。
2357 @samp{C-s} や @samp{C-r} で検索モードに移るときに編集領域にある文字列か
2358 ら、ケースと修飾子が切り出され、フォルダの一覧が決定される訳です。
2359 @end ifset
2360 @ifset en
2361 A list of folders to be searched is decided by a combination of "case"
2362 and proto. When you enter the search mode by typing @samp{C-s} or
2363 @samp{C-r}, a pair of "case" and proto is extracted from the writable
2364 area, and a list of folders is selected according to the pair.
2365 @end ifset
2366
2367 @c %%%%%%%%%%%%%%%%%
2368 @node sum-write, features, moving, Viewing
2369 @ifset ja
2370 @section 送信、返答、転送
2371 @end ifset
2372 @ifset en
2373 @section Write, answer, and forward
2374 @end ifset
2375 @kindex w (Summary)
2376 @kindex C-uw (Summary)
2377 @kindex W (Summary)
2378 @kindex a (Summary)
2379 @kindex A (Summary)
2380 @kindex f (Summary)
2381 @kindex F (Summary)
2382 @kindex E (Summary)
2383
2384 @ifset ja
2385 メッセージの送信、返答、転送には、以下のコマンドを使います。
2386 @end ifset
2387 @ifset en
2388 Please use the following commands for writing, replying, and forwarding
2389 messages.
2390 @end ifset
2391
2392 @table @samp
2393 @ifset ja
2394 @item w
2395 メッセージを書く。新しい草稿が Draft モードに用意される。
2396 @xref{Composing} を参照のこと。
2397 @item C-uw
2398 メッセージを書く。新しい草稿が Draft モードに用意される。現在のメッセー
2399 ジの From: にあるアドレスが、草稿の To: へコピーされる。
2400 @item W
2401 あるメッセージのヘッダの一部だけを編集しメッセージを送信するために
2402 Header モードに入る。@xref{resend} を参照のこと。
2403 @item a
2404 現在のメッセージに返答する。Draft モードに草稿が用意され、To: や Cc: が
2405 自動的に決定される。@xref{reply} を参照のこと。
2406 @item C-ua
2407 現在のメッセージに対し送信者宛に返答する。
2408 @item A
2409 現在のメッセージに返答する。Draft モードに草稿が用意され、To: や Cc: が
2410 自動的に決定された後、本文が引用される。@xref{reply} を参照のこと。
2411 @item C-uA
2412 現在のメッセージに対し、引用付きで送信者宛に返答する。
2413 @item f
2414 現在のメッセージを第 3 者に転送する。Draft モードに草稿が用意され、現在の
2415 メッセージが自動的に添付される。@xref{forward} を参照のこと。
2416 @item F
2417 @samp{*} マークの付いたメッセージを第 3 者に転送する。Draft モードに草稿
2418 が用意され、@samp{*} マークの付いたメッセージが自動的に添付される。詳し
2419 くは @xref{target mark} を参照のこと。@xref{forward} を参照のこと。
2420 @end ifset
2421 @ifset en
2422 @item w
2423 Write a message. A new draft is prepared in Draft mode. Please refer to
2424 @ref{Composing}.
2425 @item C-uw
2426 Write a message. A new draft is prepared in Draft mode. The From:
2427 address of the current message is copied to the To: field in the
2428 draft.
2429 @item W
2430 Send a message by modifying a part of the header of another message.
2431 Please refer to @ref{resend}.
2432 @item a
2433 Answer to this message. A new draft is prepared in Draft mode. Mew
2434 automatically inserts the content of the fields To: and Cc:. Please
2435 refer to @ref{reply}.
2436 @item C-ua
2437 Answer to this message only to the sender.
2438 @item A
2439 Answer to this message. A new draft is prepared in Draft mode. Mew
2440 automatically inserts the content of the fields To: and Cc: and cites
2441 the body. Please refer to @ref{reply}.
2442 @item C-uA
2443 Answer to this message only to the sender with citation.
2444 @item f
2445 Forward this message to a third person. A new draft is prepared in Draft
2446 mode and this message is automatically attached. Please refer to
2447 @ref{forward}.
2448 @item F
2449 Forward messages marked with @samp{*} to a third person. A new draft is
2450 prepared in Draft mode and this message is automatically attached. For
2451 more information, refer to @ref{target mark}. Please refer to
2452 @ref{forward}.
2453 @end ifset
2454 @end table
2455
2456 @ifset ja
2457 エラーメッセージが返ってきたら、以下のコマンドで修正し再挑戦しましょう。
2458 @end ifset
2459 @ifset en
2460 If an error message returns, please try again with the following
2461 commands.
2462 @end ifset
2463
2464 @table @samp
2465 @ifset ja
2466 @item E
2467 メッセージの再編集。または、MIME 形式でカプセル化されて戻ってきたメッセー
2468 ジの再編集。
2469
2470 @enumerate
2471 @item
2472 +draft では、メッセージが単に編集される。
2473 @item
2474 +queue と +postq では、メッセージが +draft に移動されて、編集される。
2475 @item
2476 それ以外では、メッセージが +draft にコピーされて、編集される。
2477 @end enumerate
2478
2479 +draft、+queue、+postq では、ケースが復活する。
2480
2481 他のフォルダでは、@samp{mew-case-guess-when-prepared} が @samp{t} なら、
2482 ヘッダのそれぞれのフィールドがケースに従って置き換えられる。詳しくは
2483 @xref{config} を参照のこと。
2484 @item C-uE
2485 @samp{E} と同じ。ただし、+draft、+queue、+postq 以外のフォルダで利用され
2486 た場合は、@samp{mew-case-guess-when-prepared} が @samp{t} でも、オリジナ
2487 ルのヘッダが保存される。
2488 @end ifset
2489 @ifset en
2490 @item E
2491 Edit this message again to retry sending. Or edit this RFC822 part
2492 typically included in a MIME-encapsulated error message.
2493
2494 @enumerate
2495 @item
2496 In +draft, the message is just edited.
2497 @item
2498 In +queue or +postq, the message is moved to +draft and is edited.
2499 @item
2500 Otherwise, the message is copied to +draft and is edited.
2501 @end enumerate
2502
2503 For +draft, +queue, and +postq, the "case" revives.
2504
2505 For the other folders, if @samp{mew-case-guess-when-prepared} is
2506 @samp{t}, each field of the original header is replaced according to a
2507 guessed "case". For more information, see @ref{config}.
2508 @item C-uE
2509 The same as @samp{E}. But, when used for other folders than +draft,
2510 +queue, and +postq, the original header is retained even if
2511 @samp{mew-case-guess-when-prepared} is @samp{t}.
2512 @end ifset
2513 @end table
2514
2515 @c %%%%%%%%%%%%%%%%%
2516 @node features, status-update, sum-write, Viewing
2517 @ifset ja
2518 @section 便利な機能
2519 @end ifset
2520 @ifset en
2521 @section Useful features
2522 @end ifset
2523 @vindex mew-print-function
2524 @vindex mew-use-header-veil
2525 @vindex mew-header-veil-count
2526 @kindex v (Summary)
2527 @kindex zv (Summary)
2528 @kindex _ (Summary)
2529 @kindex M-l (Summary)
2530 @kindex C-cC-s (Summary)
2531 @kindex C-cC-r (Summary)
2532 @kindex y (Summary)
2533 @kindex b (Summary)
2534 @kindex # (Summary)
2535 @kindex | (Summary)
2536 @kindex B (Summary)
2537 @kindex D (Summary)
2538 @kindex C-uD (Summary)
2539 @kindex C-cC-a (Summary)
2540 @kindex C-cC-v (Summary)
2541 @kindex C-cC-z (Summary)
2542 @kindex C (Summary)
2543 @kindex = (Summary)
2544 @kindex ; (Summary)
2545 @kindex Rd (Summary)
2546 @kindex Rr (Summary)
2547
2548 @ifset ja
2549 Mew では、Summary モードに以下のような便利なコマンドが用意されています。
2550 @end ifset
2551 @ifset en
2552 Mew provides you with the following useful commands in Summary mode:
2553 @end ifset
2554
2555 @table @samp
2556 @ifset ja
2557 @item v
2558 「Summary モードのみ」と「Summary & Message モード」の切り替え。
2559 「Summary モードのみ」を選んでいる場合は、@samp{d} は次のメッセージを表
2560 示しないので、連続してすばやく @samp{D} マークを付けられる。
2561 @item zv
2562 @samp{mew-use-header-veil} が @samp{nil} でないとき、To: と Cc: で
2563 @samp{mew-header-veil-count} を越える行は「ベール」で隠されている。この
2564 コマンドは、それらの行の見える/見えないを反転させる。
2565 @samp{mew-use-header-veil} と @samp{mew-header-veil-count} の初期値は、
2566 それぞれ @samp{t} と 4。
2567 @item _
2568 通常の行、折り返された行、長い行の順に行の表示を変える。
2569 @item M-l
2570 現在の行を Summary モードの中央に移動させる。
2571 @item C-cC-s
2572 Message モードで順方向段階的検索。
2573 @item C-cC-r
2574 Message モードで逆方向段階的検索。
2575 @item y
2576 メッセージ、あるいは、パートを入力したファイル名で保存する。
2577 @item b
2578 Message モードの内容そのものを入力したファイル名で保存する。
2579 @item C-uy
2580 保存するテキストの coding-system を指定して、メッセージ、あるいは、パー
2581 トを入力したファイル名で保存する。
2582 @item #
2583 @samp{mew-print-function} を利用して Message モードの内容を印刷する。
2584 @item C-u#
2585 プリンタ名を指定して Message モードの内容を印刷する。
2586 @item |
2587 Message モードの内容をパイプで指定されたコマンドに出力する。
2588 @item C-u|
2589 Message モードの本文(ヘッダを除く)をパイプで指定されたコマンドに出力する。
2590 @item \
2591 このメッセージを引数にして、入力された外部コマンドを起動する。
2592 @item B
2593 格納されているメッセージを取り出す。
2594 @item C-uB
2595 格納されているファイルを取り出す。
2596 @item C-cC-a
2597 現在のメッセージの情報をアドレス帳に登録する(@xref{addrbook})。
2598 @item C-cC-v
2599 PGP のバージョンを切替える(@xref{cipher-viewing})。
2600 @item C-cC-z
2601 昔ながらの自動処理できない PGP メッセージを PGP に復号化、検証させる(@xref{cipher-viewing})。
2602 @item C
2603 ケースを変更する。詳しくは、@xref{config} を参照のこと。
2604 @item =
2605 フォルダ名とメッセージ番号を表示する。キャッシュ・メッセージの場合は、
2606 加えて ID とサイズも表示する。メッセージへのフルパスが、ウインドウマネー
2607 ジャのカットバッファに入る。
2608 @item ;
2609 Received: フィールドを解析し、分りやすく Message モードに表示する。
2610 @item Rd
2611 フォルダを削除する。
2612 @item Rr
2613 フォルダの名前を変える。
2614 @end ifset
2615 @ifset en
2616 @item v
2617 Toggle "Summary mode only" and "Summary & Message mode". If you choose
2618 "Summary mode only", you can quickly put the @samp{D} mark since the
2619 next message is not displayed.
2620 @item _
2621 Toggle normal lines, wrapped lines and long lines.
2622 @item zv
2623 If @samp{mew-use-header-veil} is non-nil, field lines of To: and Cc:
2624 over @samp{mew-header-veil-count} are covered with invisible
2625 veils. This commands toggles visibility of these lines.
2626 @samp{mew-use-header-veil} and @samp{mew-header-veil-count} are
2627 default to @samp{t} and 4, respectively.
2628 @item M-l
2629 Make the current line the center of the Summary mode.
2630 @item C-cC-s
2631 Incremental search forward in Message mode.
2632 @item C-cC-r
2633 Incremental search backward in Message mode.
2634 @item y
2635 Save this message or this part into the file whose name is specified by
2636 you.
2637 @item b
2638 Save the buffer of Message mode as is into the file whose name is
2639 specified by you.
2640 @item C-uy
2641 Save this message or this part into the file whose name is specified by
2642 you, specifying coding-system for text.
2643 @item #
2644 Print the content of Message mode according to @samp{mew-print-function}.
2645 @item C-u#
2646 Print the content of Message mode with a specified printer name.
2647 @item |
2648 Send the content of Message buffer to a command via pipe.
2649 @item C-u|
2650 Send the body of Message buffer (excluding its header) to a command via
2651 pipe.
2652 @item \
2653 Executing an external command specifying this message as an argument.
2654 @item B
2655 De-capsulate embedded messages in MIME format.
2656 @item C-uB
2657 Decompose embedded files in this message.
2658 @item C-cC-a
2659 Register the information on the current message to Addrbook
2660 (@pxref{addrbook}).
2661 @item C-cC-v
2662 Select PGP version (@xref{cipher-viewing}).
2663 @item C-cC-z
2664 Let PGP decrypt and/or verify old fashioned PGP messages
2665 (@pxref{cipher-viewing}).
2666 @item C
2667 Change the value of the "case". For more information, please refer to
2668 @ref{config}.
2669 @item =
2670 Display the folder name of this message and the message number. If this
2671 is a cache message, both the unique id and the size are also shown.
2672 The full path to the message is set to the cut buffer of your
2673 window manager.
2674 @item ;
2675 Parse the Received: fields and display them in Message mode.
2676 @item Rd
2677 Delete this folder.
2678 @item Rr
2679 Rename this folder.
2680 @end ifset
2681 @end table
2682
2683 @c %%%%%%%%%%%%%%%%%
2684 @node status-update, invalid, features, Viewing
2685 @ifset ja
2686 @section 状態の更新
2687 @end ifset
2688 @ifset en
2689 @section Updating status
2690 @end ifset
2691 @vindex mew-use-8bit
2692 @vindex mew-debug
2693 @vindex mew-decode-broken
2694 @vindex mew-warning-field-level
2695 @vindex mew-use-old-pgp
2696 @vindex mew-use-header-veil
2697 @kindex Z (Summary)
2698 @kindex C-uZ (Summary)
2699 @kindex z8 (Summary)
2700 @kindex zc (Summary)
2701 @kindex zd (Summary)
2702 @kindex zo (Summary)
2703 @kindex zp (Summary)
2704 @kindex zv (Summary)
2705 @kindex zw (Summary)
2706
2707 @ifset ja
2708 いくつかの設定の変更には、その変更を反映するために、状態を更新しなければ
2709 ならない場合があります。変更が反映されなかったり、変更のためにエラーが生
2710 じるようになったりした場合は、以下のコマンドを利用して下さい。
2711 @end ifset
2712 @ifset en
2713 In some cases of configuration modifications, you have to update status
2714 to reflect them. When you think configuration modifications don't make
2715 any effects or some errors occur, use one of the following commands:
2716 @end ifset
2717
2718 @table @samp
2719 @ifset ja
2720 @item Z
2721 アドレス帳(@xref{addrbook})などの情報を更新する。
2722 @item C-uZ
2723 現在の世界に対するフォルダのリストの情報を更新する。
2724 @end ifset
2725 @ifset en
2726 @item Z
2727 Update information including Addrbook (@pxref{addrbook}).
2728 @item C-uZ
2729 Update information about folders of the current world.
2730 @end ifset
2731 @end table
2732
2733 @ifset ja
2734 状態を反転させるコマンドを以下にまとめます。
2735 @end ifset
2736 @ifset en
2737 Here is a summary of toggle commands.
2738 @end ifset
2739
2740 @table @samp
2741 @ifset ja
2742 @item z8
2743 8 ビット・モード(@samp{mew-use-8bit})を反転させる。
2744 @item zc
2745 解析したメッセージのキャッシュを消去する。
2746 @item zd
2747 @samp{mew-debug} を反転させる。
2748 @item zo
2749 PGP を省略方法で作成する場合、PGP/MIME なのか古い PGP の書式なのか
2750 (@samp{mew-use-old-pgp})を反転させる。
2751 @item zp
2752 解析、復号化のポリシ(@samp{mew-decode-broken})を反転させる。
2753 @item zv
2754 Message モードでベールを使うか否か(@samp{mew-use-header-veil})を反転さ
2755 せる。
2756 @item zw
2757 警告のレベル(@samp{mew-warning-field-level})が 2 なら 1 へ、1 なら 2 へ
2758 設定する。
2759 @end ifset
2760 @ifset en
2761 @item z8
2762 Toggle 8bit mode (i.e. @samp{mew-use-8bit}).
2763 @item zc
2764 Clean-up caches of analyzed messages.
2765 @item zd
2766 Toggle @samp{mew-debug}.
2767 @item zo
2768 Toggle PGP/MIME or old-fashioned PGP (@samp{mew-use-old-pgp}) when
2769 composing with shortcut methods.
2770 @item zp
2771 Toggle decode policy (i.e. @samp{mew-decode-broken}).
2772 @item zv
2773 Toggle whether or not veil is used in Message
2774 mode(@samp{mew-use-header-veil}).
2775 @item zw
2776 Toggle warning level. If @samp{mew-warning-field-level} is 2, set it to
2777 1. If @samp{mew-warning-field-level} is 1, set it to 2.
2778 @end ifset
2779 @end table
2780
2781 @c %%%%%%%%%%%%%%%%%
2782 @node invalid, Composing, status-update, Viewing
2783 @ifset ja
2784 @section 規格違反のメッセージ
2785 @end ifset
2786 @ifset en
2787 @section Invalid messages
2788 @end ifset
2789 @vindex mew-decode-quoted
2790 @kindex C-u. (Summary)
2791 @kindex C-cC-l (Summary)
2792 @kindex C-uC-cC-l (Summary)
2793
2794 @ifset ja
2795 以下のようなメッセージは、Content-Type: で charset が指定されていないの
2796 で、本来 US-ASCII と認識されてしまいます。
2797 @end ifset
2798 @ifset en
2799 The following message contains Japanese text in its body. The charset
2800 parameter is not specified in the Content-Type: field. So, the body
2801 should be treated as US-ASCII.
2802 @end ifset
2803
2804 @example
2805 @ifset ja
2806 To: piglet
2807 Subject: 規格違反のメッセージ
2808 From: pooh
2809 MIME-Version: 1.0
2810 Content-Type: Text/Plain
2811
2812 日本語の本文
2813 @end ifset
2814 @ifset en
2815 To: piglet
2816 Subject: an invalid message
2817 From: pooh
2818 MIME-Version: 1.0
2819 Content-Type: Text/Plain
2820
2821 Japanese comes here.
2822 @end ifset
2823 @end example
2824
2825 @ifset ja
2826 また以下のようなヘッダも規格違反です。
2827 @end ifset
2828 @ifset en
2829 The following header is invalid as well.
2830 @end ifset
2831
2832 @example
2833 From: "=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=" <kazu@@example.net>
2834 @end example
2835
2836 @ifset ja
2837 上の例では "=?" と "?=" で囲まれた部分はもともと日本語でした。メッセージ
2838 の規格ではヘッダには ASCII のみが格納できると定められています。よって、
2839 ASCII 以外の文字コードをヘッダに格納するには、ある規則に従って ASCII に
2840 符号化する必要があります。しかし、この符号化された文字列を 「"」 で囲む
2841 のは間違いです。「"」で囲まれた文字列は、そのままの形で取り扱われます。
2842 よって、上の例の "=?" と "?=" で囲まれた部分が日本語に復号化されることは
2843 本来ありません。
2844 @end ifset
2845 @ifset en
2846 The string delimited by "=?" and "?=" in the above example was
2847 originally Japanese. Since the spec of mail limits the content of
2848 headers to ASCII characters, if a string whose character set is other
2849 than ASCII, is to be stored in a header, the string must be encoded with
2850 ASCII strings according to the defined rule. But it is certainly invalid
2851 to embed the ASCII strings with @samp{"}. Strings surrounded by @samp{"}
2852 are treated as is. Therefore, the string between "=?" and "?=" in the
2853 example will not be decoded into Japanese.
2854 @end ifset
2855
2856 @ifset ja
2857 規格に無頓着な一部のメーラではこのような間違いを平気で犯します。正しい対
2858 処方法は、このようなメーラの作者に頼んで、規格を正しく実装するように変更
2859 してもらうことです。しかし、このようなメーラはあまりにも多いので、Mew で
2860 はできる限り復号化するよう試みます。そして、以下のような警告をヘッダに出
2861 します。
2862 @end ifset
2863 @ifset en
2864 Several mailers are careless about the spec and regularly violate these
2865 rules. The right way to do is ask the programmers of such mailers to
2866 make the programs conformant to the spec. However, since there are so
2867 many mailers of this kind around the world, Mew tries to decode as many
2868 different formats as possible. In these cases Mew displays warnings such
2869 as:
2870 @end ifset
2871
2872 @example
2873 X-Mew: Charset for body is not specified.
2874 To: has encoded-words in quoted text.
2875 @end example
2876
2877 @ifset ja
2878 もし、規格に厳密に復号化したいのなら、@samp{mew-decode-broken} を @samp{nil} に
2879 設定して下さい。この値は @samp{C-u.} を使うと動的に反転できます
2880 (@xref{singlepart} を参照)。
2881 @end ifset
2882 @ifset en
2883 If you want to decode messages strictly, set @samp{mew-decode-broken} to
2884 @samp{nil}. This value can be toggled dynamically by @samp{C-u.} (see
2885 @ref{singlepart}).
2886 @end ifset
2887
2888 @ifset ja
2889 次のようなメッセージは、charset で指示されている文字コードと実際の文字が異
2890 なるため、文字化けを起こします。
2891 @end ifset
2892 @ifset en
2893 The following message is displayed as a mess since the character set
2894 specified with the charset parameter and the actual character set
2895 of its body are different.
2896 @end ifset
2897
2898 @ifset ja
2899 @example
2900 Content-Type: Text/Plain; charset=ISO-2022-JP
2901
2902 Shift_JIS で書かれた日本語の本文
2903 @end example
2904 @end ifset
2905 @ifset en
2906 @example
2907 Content-Type: Text/Plain; charset=ISO-2022-JP
2908
2909 Japanese text written in Shift_JIS
2910 @end example
2911 @end ifset
2912
2913 @ifset ja
2914 @samp{C-cC-l} を使えば、charset で指定された文字コードを無視し、指定した
2915 言語の推測規則に従って文字コードを推測し、再表示させることができます。ま
2916 た、@samp{C-uC-cC-l} で明示的に文字コードを指定し、再表示させることも可
2917 能です。
2918 @end ifset
2919 @ifset en
2920 By using @samp{C-cC-l}, the text is re-displayed with charset guessed
2921 according to a specified language, ignoring the character set specified
2922 by the charset parameter. If you type @samp{C-uC-cC-l}, you can
2923 re-display the text by specifying a character set explicitly.
2924 @end ifset
2925
2926 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2927 @c Composing
2928 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2929
2930 @node Composing, header, invalid, Top
2931 @ifset ja
2932 @chapter メッセージを作成する
2933 @end ifset
2934 @ifset en
2935 @chapter Composing messages
2936 @end ifset
2937 @vindex mail-user-agent
2938 @kindex M-x mew-send
2939 @kindex C-xm
2940 @kindex w (Summary)
2941 @kindex a (Summary)
2942 @kindex A (Summary)
2943 @kindex f (Summary)
2944 @kindex F (Summary)
2945
2946 @ifset ja
2947 ここではメッセージの作成方法について説明します。
2948 @end ifset
2949 @ifset en
2950 This section explains how to compose a message.
2951 @end ifset
2952
2953 @ifset ja
2954 新しいメッセージを書くために、Draft モードに移行するには、次の手段があり
2955 ます。
2956 @end ifset
2957 @ifset en
2958 Methods to enter Draft mode to write a new message are given below.
2959 @end ifset
2960
2961 @enumerate
2962 @ifset ja
2963 @item
2964 @samp{M-x mew-send} と入力する。
2965 @item
2966 @samp{mail-user-agent} が設定されている場合、@samp{C-xm} と入力する。
2967 @item
2968 Summary モードで @samp{w} を押す。
2969 @end ifset
2970 @ifset en
2971 @item
2972 Type @samp{M-x mew-send}.
2973 @item
2974 Type @samp{C-xm} if @samp{mail-user-agent} is configured.
2975 @item
2976 Press @samp{w} in Summary mode.
2977 @end ifset
2978 @end enumerate
2979
2980 @ifset ja
2981 すると、以下のようなバッファが用意されます。
2982 @end ifset
2983 @ifset en
2984 Then a buffer like the following is prepared.
2985 @end ifset
2986
2987 @example
2988 To:
2989 Subject:
2990 From: Kazu Yamamoto <kazu@@example.org>
2991 X-Mailer: @value{X-Mailer}
2992 ----
2993 @end example
2994
2995 @ifset ja
2996 これを Draft モードといいます。Draft モードにおいて、"----" より上をヘッ
2997 ダ、下を本文と呼びます。
2998 @end ifset
2999 @ifset en
3000 We call this "Draft mode". In Draft mode, we call the region above
3001 @w{"}----" the header, and the region below "----" the body.
3002 @end ifset
3003
3004 @ifset ja
3005 またメッセージへの返答(@samp{a} や @samp{A})や転送(@samp{f} や @samp{F})
3006 でも Summary モードから Draft モードへ移行します。
3007 @end ifset
3008 @ifset en
3009 Also, replying a message (@samp{a} or @samp{A}) and/or forwarding
3010 messages (@samp{f} or @samp{F}) lead you to Draft mode from Summary
3011 mode.
3012 @end ifset
3013
3014 @ifset ja
3015 草稿は、+draft フォルダの下に作成されます。同時に複数の草稿を持つことが
3016 可能です。
3017 @end ifset
3018 @ifset en
3019 Drafts are temporarily stored in the +draft folder. You can write
3020 multiple messages simultaneously.
3021 @end ifset
3022
3023 @ifset ja
3024 一旦用意した草稿を削除する方法については、@xref{Quit} を参照して下さい。
3025 @end ifset
3026 @ifset en
3027 For the method of deleting a prepared draft, please refer to
3028 @ref{Quit}.
3029 @end ifset
3030
3031 @ifset ja
3032 以下、Draft モードの使い方を説明します。
3033 @end ifset
3034 @ifset en
3035 Now let's see how to use Draft mode.
3036 @end ifset
3037
3038 @menu
3039 @ifset ja
3040 * header:: ヘッダの補完
3041 * cheader:: ヘッダの循環的な補完
3042 * addr-comp:: アドレスの補完
3043 * addrbook:: アドレス帳
3044 * auto-alias:: アドレスの自動学習
3045 * addr-comp1:: アドレスの補完(1)
3046 * addr-comp2:: アドレスの補完(2)
3047 * send:: メッセージの送信
3048 * cite:: シグニチャと引用
3049 * mime-comp:: マルチパートの作成
3050 * charset-guess:: 文字コードの決定
3051 * longline:: 長い行の取り扱い
3052 * reply:: メッセージへの返答と宛先の決定
3053 * forward:: メッセージの転送
3054 * resend:: メッセージの再送
3055 * shortcut:: 電子署名/暗号メールを作成する
3056 * mark-b-comp:: マークを使った電子署名/暗号メールの作成
3057 * pgp-key:: PGP の鍵の配布
3058 * anonymous:: 宛先を匿名にしたメッセージの送信
3059 @end ifset
3060 @ifset en
3061 * header:: Completions in a header
3062 * cheader:: Circular completions in a header
3063 * addr-comp:: Address Completion
3064 * addrbook:: Address book
3065 * auto-alias:: Learning addresses
3066 * addr-comp1:: Address Completion(1)
3067 * addr-comp2:: Address Completion(2)
3068 * send:: Sending a message
3069 * cite:: Signature and citation
3070 * mime-comp:: Composing multipart
3071 * charset-guess:: Defining charset
3072 * longline:: Handling long lines
3073 * reply:: Replying to a message and deciding recipients
3074 * forward:: Forwarding messages
3075 * resend:: Re-sending messages
3076 * shortcut:: Creating signature or cipher message
3077 * mark-b-comp:: Mark based composer
3078 * pgp-key:: PGP key distribution
3079 * anonymous:: Sending messages with anonymous receivers
3080 @end ifset
3081 @end menu
3082
3083 @c %%%%%%%%%%%%%%%%%
3084 @node header, cheader, Composing, Composing
3085 @ifset ja
3086 @section ヘッダの補完
3087 @end ifset
3088 @ifset en
3089 @section Completions in a header
3090 @end ifset
3091 @vindex mew-fields
3092 @kindex TAB (Draft)
3093
3094 @ifset ja
3095 ヘッダでは @samp{TAB} に対し、以下のように各フィールド用の補完機能が割り当て
3096 られています。
3097 @end ifset
3098 @ifset en
3099 In the header, completions for each field are assigned to @samp{TAB} as
3100 follows:
3101 @end ifset
3102
3103 @itemize @minus
3104 @ifset ja
3105 @item フィールド名の補完
3106 @item アドレスの補完 (To:、Cc: など) (@xref{addr-comp} を参照)
3107 @item フォルダ名の補完 (Fcc:)
3108 @end ifset
3109 @ifset en
3110 @item Field completion
3111 @item Address completion (To:, Cc:, etc) (see @ref{addr-comp})
3112 @item Folder completion (Fcc:)
3113 @end ifset
3114 @end itemize
3115
3116 @ifset ja
3117 <フィールド名の補完>
3118 @end ifset
3119 @ifset en
3120 <Field completion>
3121 @end ifset
3122
3123 @ifset ja
3124 行頭の単語中で、しかも、上の行の最後が "," で終る継続行でなければ、
3125 @samp{TAB} で @samp{mew-fields} に定義されているフィールド名を補完できま
3126 す。
3127 @end ifset
3128 @ifset en
3129 If the cursor is at the beginning of a line and the previous line does
3130 not end with ",", you can complete field defined in the
3131 @samp{mew-fields} variable with @samp{TAB}.
3132 @end ifset
3133
3134 @example
3135 To: kazu@@example.org
3136 R@samp{TAB}
3137 @end example
3138
3139 @ifset ja
3140 上記の場所で @samp{TAB} を押すと以下のようになります。
3141 @end ifset
3142 @ifset en
3143 At the point above, if you type @samp{TAB}, you get:
3144 @end ifset
3145
3146 @example
3147 To: kazu@@example.org
3148 Reply-To:
3149 @end example
3150
3151 @ifset ja
3152 <フォルダ名の補完>
3153 @end ifset
3154 @ifset en
3155 <Folder completion>
3156 @end ifset
3157
3158 @ifset ja
3159 Fcc: などのようにフォルダを補完すべきところでは、@samp{TAB} でフォルダを
3160 補完できます。以下に例を挙げてみます。
3161 @end ifset
3162 @ifset en
3163 At a point, such as Fcc:, you can complete folder name with
3164 @samp{TAB}. For example:
3165 @end ifset
3166
3167 @example
3168 Fcc: @samp{TAB}
3169 @end example
3170
3171 @ifset ja
3172 "+" が補完されます。
3173 @end ifset
3174 @ifset en
3175 Here, "+" is completed.
3176 @end ifset
3177
3178 @example
3179 Fcc: +@samp{TAB}
3180 @end example
3181
3182 @ifset ja
3183 @samp{TAB} をもう 1 度押すと候補が表示されるので、候補を見ながら適切な文字
3184 を入力します。
3185 @end ifset
3186 @ifset en
3187 One more type of @samp{TAB} shows candidates. Please type in the
3188 appropriate characters then type @samp{TAB}.
3189 @end ifset
3190
3191 @example
3192 Fcc: +b@samp{TAB}
3193 @end example
3194
3195 @ifset ja
3196 候補が一意に定まれば補完されます。
3197 @end ifset
3198 @ifset en
3199 If a single candidate can be determined, you get a completion.
3200 @end ifset
3201
3202 @example
3203 Fcc: +backup
3204 @end example
3205
3206 @c %%%%%%%%%%%%%%%%%
3207 @node cheader, addr-comp, header, Composing
3208 @ifset ja
3209 @section ヘッダの循環的な補完
3210 @end ifset
3211 @ifset en
3212 @section Circular completions in a header
3213 @end ifset
3214 @vindex mew-mail-domain-list
3215 @vindex mew-from-list
3216 @kindex C-cTAB (Draft)
3217
3218 @ifset ja
3219 ヘッダでは、@samp{C-cTAB} に循環的な補完機能が割り当てられています。循環
3220 的な補完機能とは、あるリストのある値がそのリストの次の値に置き換えられる
3221 ことです。リストの最後は、最初につながっていると考えます。ヘッダ中の循環
3222 的な補完機能は、以下のようにフィールドごとに異なります。
3223 @end ifset
3224 @ifset en
3225 In a header, circular completions are assigned to @samp{C-cTAB}.
3226 Circular completion means that a value of a list is replaced by the next
3227 value of the list. The end of the list is considered continuous to the
3228 top of the list. Circular completions in a header are different for each
3229 field as follows:
3230 @end ifset
3231
3232 @itemize @minus
3233 @ifset ja
3234 @item ドメイン名の循環的な補完 (To:、Cc: など)
3235 @item From: の循環的な補完 (From:)
3236 @end ifset
3237 @ifset en
3238 @item Circular completion of domain name (To:, Cc:, etc)
3239 @item Circular completion of From: (From:)
3240 @end ifset
3241 @end itemize
3242
3243 @ifset ja
3244 <ドメイン名の循環的な補完>
3245 @end ifset
3246 @ifset en
3247 <Circular completion of domain name>
3248 @end ifset
3249
3250 @ifset ja
3251 アドレスを書くべきフィールドでは、@samp{C-cTAB} でドメインを補完します。
3252 補完の候補は @samp{mew-mail-domain-list} から選ばれます。
3253 @end ifset
3254 @ifset en
3255 On a field where addresses are written, use @samp{C-cTAB} for domain
3256 completion. Candidates are selected from @samp{mew-mail-domain-list}.
3257 @end ifset
3258
3259 @example
3260 To: kazu@@@samp{C-cTAB}
3261 @end example
3262
3263 @ifset ja
3264 上記の場所のように候補が一意に定まらない場合は、
3265 @samp{mew-mail-domain-list} の最初のドメイン名が挿入されます。
3266 @end ifset
3267 @ifset en
3268 If you try to complete just after "@@" as up above, the first domain of
3269 @samp{mew-mail-domain-list} is inserted.
3270 @end ifset
3271
3272 @example
3273 To: kazu@@example.org@samp{C-cTAB}
3274 @end example
3275
3276 @ifset ja
3277 補完された後、さらに @samp{C-cTAB} を押すと @samp{mew-mail-domain-list}
3278 の次の候補に変換します。
3279 @end ifset
3280 @ifset en
3281 After completion, pressing @samp{C-cTAB} one more times inserts the next
3282 domain of @samp{mew-mail-domain-list}. This completion is looped.
3283 @end ifset
3284
3285 @example
3286 To: kazu@@example.jp
3287 @end example
3288
3289 @ifset ja
3290 また、以下の補完が一意に定まれば、その候補を挿入します。
3291 @end ifset
3292 @ifset en
3293 If a single candidate can be determined, it is inserted.
3294 @end ifset
3295
3296 @example
3297 To: kazu@@w@samp{C-cTAB}
3298 @end example
3299
3300 @ifset ja
3301 上記の例は次のようになります。
3302 @end ifset
3303 @ifset en
3304 The above example gives:
3305 @end ifset
3306
3307 @example
3308 To: kazu@@example.jp
3309 @end example
3310
3311 @ifset ja
3312 <From: の循環的な補完>
3313 @end ifset
3314 @ifset en
3315 <Circular completion of From:>
3316 @end ifset
3317
3318 @ifset ja
3319 草稿には、あらかじめ "mew-name <mew-user@@mew-domain>" という形式で、
3320 From: フィールドが挿入されています。
3321 @end ifset
3322 @ifset en
3323 In Draft mode, the From: field is inserted with the format of
3324 "mew-name <mew-user@@mew-domain>".
3325 @end ifset
3326
3327 @example
3328 @ifset ja
3329 From: Kazu Yamamoto (山本和彦) <kazu@@example.org>
3330 @end ifset
3331 @ifset en
3332 From: Kazu Yamamoto <kazu@@example.org>
3333 @end ifset
3334 @end example
3335
3336 @ifset ja
3337 From: フィールド上では、@samp{C-cTAB} は @samp{mew-from-list} の値を循環
3338 的に補完します。@samp{mew-from-list} は自分で設定してもよいですし、自動
3339 的に設定することも可能です。自動設定に関しては、@xref{config} を参照して
3340 下さい。
3341 @end ifset
3342 @ifset en
3343 On the From: field, @samp{C-cTAB} circularly completes its value from
3344 @samp{mew-from-list}. You can set @samp{mew-from-list} by yourself.
3345 Also, @samp{mew-from-list} can be set automatically. For automatic
3346 setup, please refer to @ref{config}.
3347 @end ifset
3348
3349 @ifset ja
3350 値の場所ならどこでも構いませんが、@samp{C-cTAB} と入力すると、
3351 この値を @samp{mew-from-list} の次の値と置き換えます。たとえば、
3352 @end ifset
3353 @ifset en
3354 Typing @samp{C-cTAB} anywhere on the value replaces the value with the
3355 next value of @samp{mew-from-list}. For example,
3356 @end ifset
3357
3358 @example
3359 @ifset ja
3360 From: Kazu Yamamoto (山本和彦) <kazu@@example.org>@samp{C-cTAB}
3361 @end ifset
3362 @ifset en
3363 From: Kazu Yamamoto <kazu@@example.org>@samp{C-cTAB}
3364 @end ifset
3365 @end example
3366
3367 @ifset ja
3368 は以下のようになります。
3369 @end ifset
3370 @ifset en
3371 becomes as follows:
3372 @end ifset
3373
3374 @example
3375 From: Kazuhiko Yamamoto <kazu@@example.jp>
3376 @end example
3377
3378 @c %%%%%%%%%%%%%%%%%
3379 @node addr-comp, addrbook, cheader, Composing
3380 @ifset ja
3381 @section アドレスの補完
3382 @end ifset
3383 @ifset en
3384 @section Address Completion
3385 @end ifset
3386
3387 @ifset ja
3388 To: や Cc: では、アドレスを補完できます。補完には @samp{TAB} を用います。
3389 @end ifset
3390 @ifset en
3391 You can complete addresses on To: or Cc:. This completion command is
3392 bound to @samp{TAB}.
3393 @end ifset
3394
3395 @example
3396 To: kazu@samp{TAB}
3397 @end example
3398
3399 @ifset ja
3400 上記のように、アドレスの一部で @samp{TAB} を押すと、以下のようにアドレ
3401 スが補完される訳です。
3402 @end ifset
3403 @ifset en
3404 When you type @samp{TAB} after a part of an address as the example
3405 above, the entire address is completed as follows:
3406 @end ifset
3407
3408 @example
3409 To: kazu@@example.org
3410 @end example
3411
3412 @ifset ja
3413 アドレスの補完に利用されるアドレスの種類には、以下の 3 つがあります。
3414 @end ifset
3415 @ifset en
3416 There are three kinds of registered addresses to be used for
3417 the completion.
3418 @end ifset
3419
3420 @enumerate
3421 @ifset ja
3422 @item
3423 アドレス帳の展開規則
3424 @item
3425 アドレス帳の個人情報
3426 @item
3427 送信時に学習されたアドレス
3428 @end ifset
3429 @ifset en
3430 @item
3431 The expansion rule in an address book
3432 @item
3433 The personal information in the address book
3434 @item
3435 Learned addresses when sending
3436 @end ifset
3437 @end enumerate
3438
3439 @ifset ja
3440 アドレスの補完には 2 つの方法が提供されています。
3441 @samp{mew-use-full-alias} によって選択します(初期値は @samp{nil})。
3442 @end ifset
3443 @ifset en
3444 Mew provides two ways to complete addresses. You can select one of
3445 them with @samp{mew-use-full-alias}, which is default to @samp{nil}.
3446 @end ifset
3447
3448 @ifset ja
3449 @samp{mew-use-full-alias} が @samp{nil} の場合、@samp{@@} の前、つまりユー
3450 ザ名(短縮名)が補完の対象となります。@samp{TAB} を押すとユーザ名が補完さ
3451 れ、補完しきったところでさらに @samp{TAB} を押すとアドレスに「展開」さ
3452 れます。これをアドレスの補完(1)と呼びましょう。
3453 @end ifset
3454 @ifset en
3455 If @samp{mew-use-full-alias} is @samp{nil}, the portion before
3456 @samp{@@}, a user name or a short name, is a target of the
3457 completion. When you type @samp{TAB}, the user name is completed. And
3458 if the user name is uniquely completed and you type @samp{TAB} again,
3459 it is expanded to its entire address. Let's call this Address
3460 Completion(1).
3461 @end ifset
3462
3463 @ifset ja
3464 アドレスの補完(1)(@xref{addr-comp1})の利点は、上に書いた 3 種類のアドレス
3465 に対し、補完・展開が矛盾なく実行できることです。後述のように、「強制展
3466 開」も @samp{TAB} で実行できます。欠点は、ユーザ名の部分が一意でなけれ
3467 ばならないので、あるユーザ名が登録されている場合、同じユーザ名を持つ別
3468 のアドレスを学習できないことです。
3469 @end ifset
3470 @ifset en
3471 An advantage of Address Completion(1) (@pxref{addr-comp1}) is that you
3472 can use the completion/expansion against the three kinds of addresses
3473 seamlessly. You can also explicitly expand the user name with
3474 @samp{TAB} as described later. A disadvantage is that user names must
3475 be unique. So, if a user name is already registered, other addresses
3476 with the same user name cannot be learned.
3477 @end ifset
3478
3479 @ifset ja
3480 @samp{mew-use-full-alias} が @samp{t} の場合、学習されたアドレスに関して
3481 は、アドレスの全体が補完の対象になります。これをアドレスの補完(2)と呼び
3482 ましょう。
3483 @end ifset
3484 @ifset en
3485 If @samp{mew-use-full-alias} is @samp{t}, for learned addresses when
3486 sending, completion target is an entire address. Let's call this
3487 Address Completion(2).
3488 @end ifset
3489
3490 @ifset ja
3491 アドレスの補完(2)(@xref{addr-comp2})の利点は、ユーザ名が一致している複
3492 数のアドレスを学習できることです。欠点は、アドレス帳の個人情報に登録さ
3493 れているアドレスの先頭以外は利用できないことです。また、「強制展開」は、
3494 @samp{M-C-e} という (@samp{TAB} とは別の) キーを押さなければいけないこ
3495 とです。
3496 @end ifset
3497 @ifset en
3498 An advantage of Address Completion(2) (@pxref{addr-comp1}) is that Mew
3499 can learn addresses whose user names are the same. One of
3500 disadvantages is that only the first address of personal information
3501 can be used (the other addresses are useless). And for the explicit
3502 expansion, you have to type @samp{M-C-e}, a different key from
3503 @samp{TAB}.
3504 @end ifset
3505
3506 @c %%%%%%%%%%%%%%%%%
3507 @node addrbook, auto-alias, addr-comp, Composing
3508 @ifset ja
3509 @section アドレス帳
3510 @end ifset
3511 @ifset en
3512 @section Address Book
3513 @end ifset
3514 @kindex C-cC-a (Summary)
3515 @kindex C-uC-cC-a (Summary)
3516 @kindex C-cC-c (Addrbook)
3517 @kindex C-cC-q (Addrbook)
3518
3519 @ifset ja
3520 Mew ではアドレス帳("~/Mail/Addrbook")が利用できます。アドレス帳には 2 つ
3521 の書式が用意されています。一方は「展開規則」を指定する書式、他方は「個人
3522 情報」を記述するための書式です。
3523 @end ifset
3524 @ifset en
3525 Mew provides an address book ("~/Mail/Addrbook). The address book has 2
3526 formats. One specifies expansion rules, while the other defines personal
3527 information.
3528 @end ifset
3529
3530 @ifset ja
3531 まず、「展開規則」を記述するための書式を示します。
3532 @end ifset
3533 @ifset en
3534 First, let's look at the format that specifies expansion rules.
3535 @end ifset
3536
3537 @example
3538 <shortname>: <address1>[, <address2>, <address3>,...]
3539 @end example
3540
3541 @ifset ja
3542 このように短縮名と展開すべきアドレスを @samp{:} で区切って書きます。複数
3543 のアドレスに展開する場合は、それらのアドレスを @samp{,} で区切ります。
3544 (これは、To: などでアドレスが @samp{,} で区切られているのと同じです。)
3545 @samp{,} の後ろに空白を入れても構いません。以下に例を示します。
3546 @end ifset
3547 @ifset en
3548 In this way, you should specify a short name and a full address
3549 separated by @samp{:}. If you want to expand the short name to multiple
3550 addresses, you can delimit them with a comma @samp{,}. (This is exactly
3551 same as addresses delimited by @samp{,} in the To: field, for instance.)
3552 A space SPC is allowed after the comma @samp{,}. For example:
3553 @end ifset
3554
3555 @example
3556 pooh: winnie-the-pooh@@example.net
3557 piglet: piglet@@example.org
3558 friends: pooh, piglet
3559 @end example
3560
3561
3562
3563 @ifset ja
3564 次に、「個人情報」を記述するための書式を示します。
3565 @end ifset
3566 @ifset en
3567 Next, the format to define personal information is shown below:
3568 @end ifset
3569
3570 @example
3571 <shortname> <address1>[, <address2>, <address3>,...] <nickname> <fullname>
3572 @end example
3573
3574 @ifset ja
3575 このように 4 つの要素を空白で区切ります。<shortname> が短縮名です。
3576 <nickname> と <fullname> はそれぞれニックネームと正式な氏名であり、日本
3577 語でも構いません。(ニックネームの使い方は @xref{summary-mode} と
3578 @xref{draft-mode} を参照して下さい。)
3579 @end ifset
3580 @ifset en
3581 In this way, four elements are separated by SPC. <shortname> is a short
3582 name. <nickname> and <fullname> are the person's nickname and full name,
3583 respectively. (For proper usage of the nickname, please refer to
3584 @ref{summary-mode} and/or @ref{draft-mode}.)
3585 @end ifset
3586
3587 @ifset ja
3588 2 番目の要素はアドレスです。複数のアドレスをその人が持っている場合は、
3589 @samp{,} で区切って書きます。@samp{,} の後に空白を入れても構いません。つ
3590 まり、この空白は要素の区切りではありません。また、@samp{"} で囲まれた空
3591 白も要素の区切りにはなりません。以下に例を示します。
3592 @end ifset
3593 @ifset en
3594 The second element is the addresses. If the person has multiple
3595 addresses, delimit them using @samp{,}. SPC is allowed after @samp{,},
3596 which means that it does not function as the delimiter. SPC surrounded
3597 by quotes @samp{"} also has no delimiting function here. For example:
3598 @end ifset
3599
3600 @example
3601 kazu kazu@@example.org, kazu@@example.net Kazu-kun "Kazuhiko Yamamoto"
3602 @end example
3603
3604 @ifset ja
3605 「個人情報」の書式では、各要素を省略できます。中間の要素を省略する場合は、
3606 @samp{*} と書いて下さい。以下に、アドレスに対してニックネームのみを定義
3607 する例を示します。
3608 @end ifset
3609 @ifset en
3610 In the personal information format, you can omit any element. When you
3611 want to omit an intermediate element, specify @samp{*}. The following is
3612 an example to define nicknames for addresses.
3613 @end ifset
3614
3615 @example
3616 * kazu@@example.org, kazu@@example.net Kazu-kun
3617 @end example
3618
3619 @ifset ja
3620 ニックネームは Summary モードでのアドレスの置き換えと、Draft モードでの
3621 引用記号の置き換え(@xref{cite})に利用されます。
3622 @end ifset
3623 @ifset en
3624 The nickname is used to replace addresses in Summary mode and to replace
3625 the citation prefix (@pxref{cite}) in Draft mode.
3626 @end ifset
3627
3628 @ifset ja
3629 アドレス帳のコメント文字は @samp{;} と @samp{#} です。@samp{;} は行頭に
3630 ある場合のみコメントとなり、その行が無視されます。@samp{#} は任意の場所
3631 でコメントとなり、そこから行末までが無視されます。また、@samp{\} は継続
3632 行を表わします。
3633 @end ifset
3634 @ifset en
3635 The comment letters are @samp{;} and @samp{#}. @samp{;} is valid only
3636 when it appears at the beginning of lines, resulting in the disregarding
3637 of the entire line. The comment marker @samp{#} is valid everywhere. The
3638 strings between @samp{#} and the end of the line are ignored. Also,
3639 @samp{\} means a continuous line.
3640 @end ifset
3641
3642
3643
3644 @ifset ja
3645 Summary モードには、現在読んでいるメッセージの情報を Addrbook に登録す
3646 る機能があります。展開規則を登録するには @samp{C-cC-a} と押して下さい。
3647 以下に例を示します。
3648 @end ifset
3649 @ifset en
3650 Summary mode includes the feature of directly registering the
3651 information of the current message into Addrbook. To register a
3652 expansion rule, type @samp{C-cC-a}.
3653 @end ifset
3654
3655 @example
3656 #If you want to register this entry, type 'C-c C-c'.
3657 #If you want to NOT register this entry, type 'C-c C-q'.
3658 Shortname: kazu
3659 Addresses: kazu@@example.org
3660 Comments:
3661 @end example
3662
3663 @ifset ja
3664 個人情報を登録するには @samp{C-uC-cC-a} と押して下さい。以下に例を示します。
3665 @end ifset
3666 @ifset en
3667 To register personal information, type @samp{C-uC-cC-a}.
3668 @end ifset
3669
3670 @example
3671 #If you want to register this entry, type C-c C-c.
3672 #If you want to NOT register this entry, type C-c C-q.
3673 Shortname: kazu
3674 Addresses: kazu@@example.org
3675 Nickname:
3676 Name: Kazuhiko Yamamoto
3677 Comments:
3678 @end example
3679
3680 @ifset ja
3681 必要であれば加筆訂正します。実際に登録するには @samp{C-cC-c}、登録を取り
3682 止める場合は @samp{C-cC-q} と入力して下さい。@xref{Quit} も参照して下さい。
3683 @end ifset
3684 @ifset en
3685 Add or modify the information if necessary. To register this
3686 information, type @samp{C-cC-c}. To quit the registration, type
3687 @samp{C-cC-q}. You should also refer to @ref{Quit}.
3688 @end ifset
3689
3690 @ifset ja
3691 なお、Addrbook に複数の言語の文字を使いたい場合は、以下の設定を Addrbook
3692 の先頭に記述して下さい。
3693 @end ifset
3694 @ifset en
3695 If you want to use characters of multiple languages, put the following
3696 onto the beginning of Addrbook.
3697 @end ifset
3698
3699 @example
3700 #-*-coding:ctext;-*-
3701 @end example
3702
3703
3704 @c %%%%%%%%%%%%%%%%%
3705 @node auto-alias, addr-comp1, addrbook, Composing
3706 @ifset ja
3707 @section アドレスの自動学習
3708 @end ifset
3709 @ifset en
3710 @section Learning addresses
3711 @end ifset
3712 @kindex Z (Summary)
3713 @vindex mew-addrbook-override-by-newone
3714 @vindex mew-lisp-max-length
3715
3716 @ifset ja
3717 メッセージを送信した場合、To: と Cc: に書かれているアドレスは、自動的に
3718 学習されます。以下の例を考えて下さい。
3719 @end ifset
3720 @ifset en
3721 When you send a message, addresses on the To: and Cc: field are
3722 automatically registered. Consider the following:
3723 @end ifset
3724
3725 @example
3726 To: kazu@@example.org
3727 @end example
3728
3729 @ifset ja
3730 アドレスの補完(1)(@xref{addr-comp1})の場合:このメッセージを送信すると、
3731 アドレス "kazu@@example.org" に対し、短縮名 "kazu" が自動登録されます。ただ
3732 し、すでに "kazu" という短縮名が自動登録されているなら、
3733 @samp{mew-addrbook-override-by-newone} の値に応じて上書きするかを決定し
3734 ます。@samp{nil} なら古い設定を残し、それ以外なら上書きします。展開の際
3735 は、アドレス帳の方が優先されます。ですから、アドレス帳に無い短縮名のみ
3736 が有効になります。
3737 @end ifset
3738 @ifset en
3739 In the case of Address Completion(1) (@pxref{addr-comp1}): When this
3740 message is sent, a short name "kazu" is automatically registered for
3741 the address "kazu@@example.org". If there is already a short name of
3742 @w{"}kazu", the next action is decided according to
3743 @samp{mew-addrbook-override-by-newone}. If @samp{nil}, the old entry
3744 remains. Otherwise, the new entry overrides the old one. When
3745 expanded, the address book short name has priority over the automatic
3746 short name. Only automatic short names which are not contained in the
3747 address book are valid.
3748 @end ifset
3749
3750 @ifset ja
3751 アドレスの補完(2)(@xref{addr-comp2})の場合:このメッセージを送信すると、
3752 アドレス "kazu@@example.org" が自動登録されます。
3753 @end ifset
3754 @ifset en
3755 In the case of Address Completion(1) (@pxref{addr-comp2}): When this message
3756 is sent, the address "kazu@@example.org" is automatically registered.
3757 @end ifset
3758
3759 @ifset ja
3760 自動登録されるのは通常 2000 個(@samp{mew-lisp-max-length})のアドレスま
3761 でです。それを越えて登録するとアルファベット順で最後の方が消えます。こ
3762 れらの情報は Mew を終了する際に、"~/Mail/.mew-alias" に保存されます。
3763 @end ifset
3764 @ifset en
3765 The limit number of automatic short names is 2000
3766 (@samp{mew-lisp-max-length}). Once the number exceeds 2000, the tail
3767 entries in the alphabetical order are removed. This information is
3768 automatically saved to the file "~/Mail/.mew-alias".
3769 @end ifset
3770
3771 @ifset ja
3772 自動登録ですから、不要な短縮名も登録されます。不要な短縮名を削除するに
3773 は、以下のようにするといいでしょう。まず、@samp{M-a} を実行し、
3774 @w{"}~/Mail/.mew-alias" を開きます。次に、テキストファイルを編集する要
3775 領で、不要な短縮名を削除します。そして、@samp{C-xC-s} で保存して下さい。
3776 保存と同時に、その内容が Mew に反映されます。
3777 @end ifset
3778 @ifset en
3779 The automatic registration would register unnecessary short names. If
3780 you want to remove these entry, take the following steps. First, type
3781 @samp{M-a} to open "~/Mail/.mew-alias". Then edit it as you do against a
3782 text file. Lastly, type @samp{C-xC-s} to save it. When saving it, the
3783 modifications are automatically reflected to Mew.
3784 @end ifset
3785
3786 @ifset ja
3787 アドレスの補完(1)とアドレスの補完(2)では、"~/Mail/.mew-alias" の書式が
3788 異なります。@samp{mew-use-full-alias} の値を変え、方法を切り替えたら、
3789 Summary モードで一回 @samp{Z} を押して下さい。これで、書式が変換されま
3790 す。
3791 @end ifset
3792 @ifset en
3793 The formats of Address Completion (1) and (2) are different. When you
3794 change the value of @samp{mew-use-full-alias} to switch one to the
3795 other, type @samp{Z} once in Summary mode. This converts the format
3796 properly.
3797 @end ifset
3798
3799 @c %%%%%%%%%%%%%%%%%
3800 @node addr-comp1, addr-comp2, auto-alias, Composing
3801 @ifset ja
3802 @section アドレスの補完(1)
3803 @end ifset
3804 @ifset en
3805 @section Address Completion(1)
3806 @end ifset
3807
3808 @ifset ja
3809 アドレスの補完(1)では、アドレス帳の展開規則、アドレス帳の個人情報、
3810 および送信時に学習されたアドレスで登録されたアドレスは、
3811 ユーザ名(短縮名)が一意であることが前提となっています。
3812 @end ifset
3813 @ifset en
3814 As far as Address Completion (2) is concerned, there is an assumption:
3815 user names or short names of expansion rules, personal information and
3816 learned addresses are unique.
3817 @end ifset
3818
3819 @ifset ja
3820 たとえば、以下のように「展開規則」を設定したとします。
3821 @end ifset
3822 @ifset en
3823 For example, consider the following configuration of expansion rules:
3824 @end ifset
3825
3826 @example
3827 pooh: winnie-the-pooh@@example.net
3828 @end example
3829
3830 @ifset ja
3831 Draft モードのヘッダ内で、かつ、アドレスを書くべきフィールド上で、しかも、
3832 1 文字以上の文字列が前にある場所で @samp{TAB} を打つと、アドレスの短縮名
3833 が補完されます。
3834 @end ifset
3835 @ifset en
3836 When you are in a header in Draft mode, working within an address field,
3837 after typing one or more characters, you can complete a short name for
3838 an address by pressing the @samp{TAB} key.
3839 @end ifset
3840
3841 @example
3842 To: piglet@@example.org,
3843 po@samp{TAB}
3844 @end example
3845
3846 @ifset ja
3847 このように @samp{TAB} を押すと、(他に候補が無ければ) "pooh" まで補完され
3848 ます。
3849 @end ifset
3850 @ifset en
3851 If you press the @samp{TAB} key, "pooh" is completed (unless other
3852 candidates exist).
3853 @end ifset
3854
3855 @example
3856 To: piglet@@example.org,
3857 pooh@samp{TAB}
3858 @end example
3859
3860 @ifset ja
3861 もう一度 @samp{TAB} を押すと "winnie-the-pooh@@example.net" に展開され
3862 ます。
3863 @end ifset
3864 @ifset en
3865 One more press of the @samp{TAB} key expands the name to
3866 @w{"}winnie-the-pooh@@example.net".
3867 @end ifset
3868
3869 @example
3870 To: piglet@@example.org,
3871 winnie-the-pooh@@example.net
3872 @end example
3873
3874 @ifset ja
3875 "@@" で終る文字列は強制的に展開します。たとえば、以下のように似たような
3876 短縮名があった場合を考えて下さい。
3877 @end ifset
3878 @ifset en
3879 A string ending with "@@" is explicitly expanded. Please pay attention
3880 to the following case where similar short names are defined.
3881 @end ifset
3882
3883 @example
3884 pooh: winnie-the-pooh@@example.net
3885 pooh-pooh: pooh-pooh@@example.org
3886 @end example
3887
3888 @ifset ja
3889 "pooh-" まで入力すれば、"pooh-pooh" まで補完できることは明らかです。し
3890 かし、"pooh" までだと、"pooh" を「展開」するのか、"pooh-pooh" まで補完
3891 するのか分りません。"pooh" を "winnie-the-pooh@@example.net" に強制的に
3892 展開するには、以下のように @samp{@@} を挿入し、@samp{TAB} を押します。
3893 @end ifset
3894 @ifset en
3895 It is obvious that "pooh-" is completed to "pooh-pooh". But if you
3896 input "pooh", Mew cannot tell whether it should be expanded or
3897 completed to "pooh-pooh". Thus, if you want to explicitly complete
3898 "pooh" to "winnie-the-pooh@@example.net", insert @samp{@@} and type
3899 @samp{TAB}.
3900 @end ifset
3901
3902 @example
3903 To: pooh@@@samp{TAB}
3904 @end example
3905
3906 @ifset ja
3907 強制展開は、@samp{@@} を挿入せず、@samp{M-C-e} を押しても実行できます。
3908 @end ifset
3909 @ifset en
3910 Explicit expansion can be accomplished by @samp{M-C-e} instead of
3911 insertion of @samp{@@}.
3912 @end ifset
3913
3914 @ifset ja
3915 上記の説明は、送信時に学習されたアドレスにもあてはまります。
3916 @end ifset
3917 @ifset en
3918 The explanation above can be applied to learned addresses when
3919 sending.
3920 @end ifset
3921
3922 @ifset ja
3923 「個人情報」の書式では、アドレスが順に置き換えられていきます。以下の例
3924 を考えて下さい。
3925 @end ifset
3926 @ifset en
3927 The format of personal information means that each subsequently
3928 generated address will replace the former one. For example:
3929 @end ifset
3930
3931 @example
3932 kazu kazu@@example.org, kazu@@example.net Kazu-kun "Kazuhiko Yamamoto"
3933 @end example
3934
3935 @ifset ja
3936 kazu がどう変化するのか見てみましょう。
3937 @end ifset
3938 @ifset en
3939 Let's watch how it will be converted:
3940 @end ifset
3941
3942 @example
3943 To: kazu@samp{TAB}
3944 @end example
3945
3946 @ifset ja
3947 "kazu" の後で @samp{TAB} を打つと、"kazu@@example.org" に置き換わります。
3948 @end ifset
3949 @ifset en
3950 Typing @samp{TAB} after "kazu" generates "kazu@@example.org".
3951 @end ifset
3952
3953 @example
3954 To: kazu@@example.org@samp{TAB}
3955 @end example
3956
3957 @ifset ja
3958 次に "kazu@@example.org" の後で @samp{TAB} を打つと、"kazu@@example.net" に
3959 置き換わります。
3960 @end ifset
3961 @ifset en
3962 Typing @samp{TAB} after "kazu@@example.org" brings about
3963 "kazu@@example.net".
3964 @end ifset
3965
3966 @example
3967 To: kazu@@example.net@samp{TAB}
3968 @end example
3969
3970 @ifset ja
3971 さらに "kazu@@example.net" の後で @samp{TAB} を打つと、
3972 "kazu@@example.org" に戻ります。このように @samp{TAB} を押すと、アドレ
3973 スが循環的に置換されます。
3974 @end ifset
3975 @ifset en
3976 Then "kazu@@example.org" will appear again if you type @samp{TAB}
3977 after @w{"}kazu@@example.net". In this way, each address is replaced
3978 one by one.
3979 @end ifset
3980
3981 @ifset ja
3982 アドレスを決定した後は、正式名称が付加できます。
3983 @end ifset
3984 @ifset en
3985 After deciding an address, you can add its full name.
3986 @end ifset
3987
3988 @example
3989 To: kazu@@example.org@samp{M-TAB}
3990 @end example
3991
3992 @ifset ja
3993 このように @samp{M-TAB} を押すと、以下のように正式名称が付加されます。
3994 @end ifset
3995 @ifset en
3996 Like this, typing @samp{M-TAB} replace the address with the following
3997 format.
3998 @end ifset
3999
4000 @example
4001 To: Kazuhiko Yamamoto <kazu@@example.org>
4002 @end example
4003
4004 @c %%%%%%%%%%%%%%%%%
4005 @node addr-comp2, send, addr-comp1, Composing
4006 @ifset ja
4007 @section アドレスの補完(2)
4008 @end ifset
4009 @ifset en
4010 @section Address Completion(2)
4011 @end ifset
4012
4013 @ifset ja
4014 アドレスの補完(2)では、学習されたアドレスに関しては、アドレス全体が補完
4015 の対象になります。アドレス帳の展開規則は、短縮名が補完の対象になり、一
4016 意に定まれば展開されます。アドレス帳の個人情報では、短縮名が補完の対象
4017 になり、一意に定まれば、登録されている先頭のアドレスに展開されます。
4018 @end ifset
4019 @ifset en
4020 As far as Address Completion(2) is concerned, for learned addresses
4021 when sending, the entire addresses are completion targets. For
4022 expansion rules in the address book, short names are completion
4023 targets and unique short names are expanded to corresponding
4024 addresses. For personal information in the address book, short names
4025 are completion targets and unique short names are expanded to their
4026 first addresses.
4027 @end ifset
4028
4029 @ifset ja
4030 Draft モードのヘッダ内で、かつ、アドレスを書くべきフィールド上で、しか
4031 も、1 文字以上の文字列が前にある場所で @samp{TAB} を打つと、短縮名ある
4032 いは学習されたアドレスが補完されます。
4033 @end ifset
4034 @ifset en
4035 When you are in a header in Draft mode, working within an address
4036 field, after typing one or more characters, you can complete a short
4037 name or a learned address by pressing the @samp{TAB} key.
4038 @end ifset
4039
4040 @ifset ja
4041 kazu@@example.org を学習しているとしましょう。
4042 @end ifset
4043 @ifset en
4044 Suppose that kazu@@example.org is already learned.
4045 @end ifset
4046
4047 @example
4048 To: ka@samp{TAB}
4049 @end example
4050
4051 @ifset ja
4052 曖昧でないところまで入力し、@samp{TAB} を押せば、アドレスが補完されます。
4053 @end ifset
4054 @ifset en
4055 When you type some characters and press @samp{TAB}, its address is
4056 completed:
4057 @end ifset
4058
4059 @example
4060 To: kazu@@example.org
4061 @end example
4062
4063 @ifset ja
4064 さらに kazunori@@example.jp を学習したとしましょう。kazu@@example.org へ補
4065 完するには kazu@@ まで、kazunori@@example.jp へ補完するには kazun まで
4066 入力する必要があります。
4067 @end ifset
4068 @ifset en
4069 Also suppose that "kazunori@@example.jp" is learned. To expand a user
4070 name to "kazu@@example.org", you should input "kazu@@". To convert it
4071 to @w{"}kazunori@@example.jp", you need to input "kazun".
4072 @end ifset
4073
4074 @ifset ja
4075 展開規則と個人情報は、@samp{TAB} により、まず短縮名が補完されます。短縮
4076 名が一意に定まれば、@samp{TAB} で展開できます。
4077 @end ifset
4078 @ifset en
4079 For expansion rules and personal information, @samp{TAB} completes
4080 short names first. You can expand a unique short name to corresponding
4081 address with @samp{TAB}.
4082 @end ifset
4083
4084 @ifset ja
4085 たとえば、以下のように「展開規則」を設定したとします。
4086 @end ifset
4087 @ifset en
4088 For example, consider the following configuration of expansion rules:
4089 @end ifset
4090
4091 @example
4092 pooh: winnie-the-pooh@@example.net
4093 @end example
4094
4095 @ifset ja
4096 短縮名 "pooh" を補完してみましょう。
4097 @end ifset
4098 @ifset en
4099 Let's complete "pooh":
4100 @end ifset
4101
4102 @example
4103 To: po@samp{TAB}
4104 @end example
4105
4106 @ifset ja
4107 このように @samp{TAB} を押すと、(他に候補が無ければ) "pooh" まで補完され
4108 ます。
4109 @end ifset
4110 @ifset en
4111 If you press the @samp{TAB} key, "pooh" is completed (unless other
4112 candidates exist).
4113 @end ifset
4114
4115 @example
4116 To: pooh@samp{TAB}
4117 @end example
4118
4119 @ifset ja
4120 もう一度 @samp{TAB} を押すと "winnie-the-pooh@@example.net" に展開され
4121 ます。
4122 @end ifset
4123 @ifset en
4124 One more press of the @samp{TAB} key expands the name to
4125 @w{"}winnie-the-pooh@@example.net".
4126 @end ifset
4127
4128 @example
4129 To: winnie-the-pooh@@example.net
4130 @end example
4131
4132 @ifset ja
4133 問題は、短縮名が一意に定まらない場合の展開です。以下の展開規則を考えて
4134 下さい。
4135 @end ifset
4136 @ifset en
4137 A problem occurs when a short name is not unique. Consider the
4138 following example:
4139 @end ifset
4140
4141 @example
4142 pooh: winnie-the-pooh@@example.net
4143 pooh-pooh: pooh-pooh@@example.org
4144 @end example
4145
4146 @ifset ja
4147 "pooh-" まで入力すれば、"pooh-pooh" まで補完できることは明らかです。し
4148 かし、"pooh" までだと、"pooh" を「展開」するのか、"pooh-pooh" まで補完
4149 するのか分りません。"pooh" を "winnie-the-pooh@@example.net" に強制的に
4150 展開するには、@samp{M-C-e} を利用します。(@samp{TAB} で強制展開する方法
4151 はありません。)
4152 @end ifset
4153 @ifset en
4154 It is obvious that "pooh-" is completed to "pooh-pooh". But if you
4155 input "pooh", Mew cannot tell whether it should be expanded or
4156 completed to "pooh-pooh". Thus, if you want to explicitly complete
4157 @w{"}pooh" to "winnie-the-pooh@@example.net", type
4158 @samp{M-C-e}. (There is no way to accomplish this with @samp{TAB}.)
4159 @end ifset
4160
4161 @example
4162 To: pooh@samp{M-C-e}
4163 @end example
4164
4165 @ifset ja
4166 この例は、以下のように強制展開されます。
4167 @end ifset
4168 @ifset en
4169 This example is explicitly expanded as follows:
4170 @end ifset
4171
4172 @example
4173 To: winnie-the-pooh@@example.net
4174 @end example
4175
4176
4177 @c %%%%%%%%%%%%%%%%%
4178 @node send, cite, addr-comp2, Composing
4179 @ifset ja
4180 @section メッセージの送信
4181 @end ifset
4182 @ifset en
4183 @section Sending a message
4184 @end ifset
4185 @vindex mew-ask-subject
4186 @vindex mew-ask-fcc
4187 @kindex C-cC-m (Draft)
4188 @kindex C-cC-c (Draft)
4189 @kindex i (Summary)
4190 @kindex C-cC-c (Summary)
4191
4192 @ifset ja
4193 メッセージを書き上げ、いよいよ送信するには、以下の 2 つのコマンドのどち
4194 らかを選んで下さい。
4195 @end ifset
4196 @ifset en
4197 When you are ready to send a message after completing composition,
4198 choose one of the following two commands.
4199 @end ifset
4200
4201 @table @samp
4202 @ifset ja
4203 @item C-cC-m
4204 メッセージを作成し +queue または +postq に入れ、送信待ち状態にする。
4205 @item C-cC-c
4206 メッセージを作成し送信する。"Really send this message? (y or n) " と訊か
4207 れる。@samp{y} を押せば、送信される。
4208 @end ifset
4209 @ifset en
4210 @item C-cC-m
4211 Compose a message, put it into +queue or +postq, and leave it for later
4212 sending.
4213 @item C-cC-c
4214 Compose a message and send it. You receive the prompt: "Really send this
4215 message? (y or n) ". Type @samp{y} to send it.
4216 @end ifset
4217 @end table
4218
4219 @ifset ja
4220 メッセージが送信される際にどう加工されるか説明します。以下のようなメッセー
4221 ジを考えて下さい。
4222 @end ifset
4223 @ifset en
4224 Let's look at how a message is modified when sent. Please see the
4225 following example:
4226 @end ifset
4227
4228 @example
4229 @ifset ja
4230 To: pooh
4231 Subject: 明日の日曜日
4232 From: Piglet <piglet@@example.org>
4233 X-Mailer: @value{X-Mailer}
4234 ----
4235 明日の日曜日、遊びませんか?
4236
4237 // ピグレット
4238 @end ifset
4239 @ifset en
4240 To: pooh
4241 Subject: the next Sunday
4242 From: Piglet <piglet@@example.org>
4243 X-Mailer: @value{X-Mailer}
4244 ----
4245 Would you like to play with me next Sunday?
4246
4247 // Piglet
4248 @end ifset
4249 @end example
4250
4251 @ifset ja
4252 たとえば、@samp{C-cC-m} でこのメッセージを +queue あるいは +postq に入れ
4253 ると、メッセージは以下のように加工されています。
4254 @end ifset
4255 @ifset en
4256 This message is modified as follows, for example, if it is put into
4257 +queue or +postq by @samp{C-cC-m}.
4258 @end ifset
4259
4260 @example
4261 @ifset ja
4262 Date: Mon, 13 Mar 2000 19:49:50 +0900 (JST)
4263 Message-Id: <20000313.194950.59499544.piglet@@example.org>
4264 To: winnie-the-pooh@@example.net
4265 Subject: =?iso-2022-jp?B?GyRCTEBGfCRORnxNS0Z8GyhC?=
4266 From: Piglet <piglet@@example.org>
4267 X-Mailer: @value{X-Mailer}
4268 Mime-Version: 1.0
4269 Content-Type: Text/Plain; charset=iso-2022-jp
4270 Content-Transfer-Encoding: 7bit
4271
4272 明日の日曜日、遊びませんか?
4273
4274 // ピグレット
4275 @end ifset
4276 @ifset en
4277 Date: Mon, 13 Mar 2000 19:49:50 +0900 (JST)
4278 Message-Id: <20000313.194950.59499544.piglet@@example.org>
4279 To: winnie-the-pooh@@example.net
4280 Subject: the next Sunday
4281 From: Piglet <piglet@@example.org>
4282 X-Mailer: @value{X-Mailer}
4283 Mime-Version: 1.0
4284 Content-Type: Text/Plain; charset=us-ascii
4285 Content-Transfer-Encoding: 7bit
4286
4287 Would you like to play with me in the next Sunday?
4288
4289 // Piglet
4290 @end ifset
4291 @end example
4292
4293 @ifset ja
4294 Date: や Message-Id: が付加されたのはお分かりになるでしょう。Subject: に
4295 あった日本語は、配送に安全となるよう ASCII コードに変換されています。ま
4296 た、本文のデータ型や文字コードが推測され、正しく付加されていることは特筆
4297 すべきでしょう。
4298 @end ifset
4299 @ifset en
4300 As you can see, Data: and Message-Id: are added. You should note that
4301 both its data type and its character set are guessed correctly and
4302 added.
4303 @end ifset
4304
4305 @ifset ja
4306 @samp{C-cC-m} や @samp{C-cC-c} でメッセージを作成するとき、ヘッダに不備
4307 があった場合に注意を促してくれる機能があります。
4308 @end ifset
4309 @ifset en
4310 When composing a message using @samp{C-cC-m} and @samp{C-cC-c}, you can
4311 make use of a feature that identifies errors in a header.
4312 @end ifset
4313
4314 @ifset ja
4315 @samp{mew-ask-subject} を @samp{t} にしておけば、Subject: が空のときに値
4316 を尋ねてくれます。空のままにしたい場合は単純に @samp{RET} を押して下さい。
4317 この変数の初期値は @samp{nil} です。
4318 @end ifset
4319 @ifset en
4320 Suppose you set @samp{mew-ask-subject} to @samp{t}. If Subject: is
4321 empty, Mew asks you its value. If you want to leave it empty, just type
4322 @samp{RET}. The default value of this variable is @samp{nil}.
4323 @end ifset
4324
4325 @ifset ja
4326 @samp{mew-ask-fcc} を @samp{t} にしておけば、Fcc: に存在しないフォルダが
4327 指定してある場合、そのフォルダを作成するか尋ねてくれます。作るなら
4328 @samp{y}、作らないなら @samp{n} を押して下さい。@samp{n} を押すと、送信
4329 が中止され、カーソルは草稿に戻ります。この変数の初期値は @samp{nil} です。
4330 @end ifset
4331 @ifset en
4332 Suppose you set @samp{mew-ask-fcc} to @samp{t}. If there is a folder
4333 that doesn't exist, Mew asks you whether or not you want to create it.
4334 If you want to create it, type @samp{y}. Otherwise, type @samp{n}. If
4335 you type @samp{n}, sending is aborted and the cursor returns to the
4336 draft. The default value of this variable is @samp{nil}.
4337 @end ifset
4338
4339 @ifset ja
4340 Mew は、サーバがユーザ認証を要求すると、送信のためのパスワードをユーザ
4341 に訊きます。長い間、メールの送信にはパスワードが必要ありませんでした。
4342 これが、メールアドレスを詐称できる原因の一つとなっています。これからは、
4343 メールの送信の際は、受信のときと同じように、パスワードが必要な時代にな
4344 ります。
4345 @end ifset
4346 @ifset en
4347 Mew asks you to input your password for sending if the server requires
4348 user authentication. Historically speaking, passwords are not
4349 necessary to send e-mail messages. This is one reason why e-mail
4350 addresses can be faked. In the near future, passwords are always
4351 required for sending messages as are for receiving messages.
4352 @end ifset
4353
4354 @ifset ja
4355 +queue に溜っているメッセージを送信するには、以下の 2 つの方法があります。
4356 どちらも Summary モードのコマンドであることに注意しましょう。
4357 @end ifset
4358 @ifset en
4359 There are two ways to send messages waiting in +queue. Please note that
4360 both of these are commands in Summary mode.
4361 @end ifset
4362
4363 @table @samp
4364 @ifset ja
4365 @item i
4366 @samp{mew-auto-flush-queue} が @samp{t} の場合は、メッセージを受信した後
4367 に、+queue にあるメッセージを送信する。ダイアルアップ環境において、接続
4368 料金を節約する意味でも、送信のための認証という意味でも、これはよい方法。
4369 @samp{mew-auto-flush-queue} の初期値は @samp{t}。
4370 @item C-cC-c
4371 +queue にあるメッセージを送信する。+queue に行って、できあがったメッセー
4372 ジを見た後に、このコマンドを使うと便利。@samp{mew-ask-flush-queue} が
4373 @samp{t} なら、"Flush queue? (y or n) " と訊かれる。
4374 @samp{mew-ask-flush-queue} の初期値は @samp{nil}。
4375 @end ifset
4376 @ifset en
4377 @item i
4378 If @samp{mew-auto-flush-queue} is @samp{t}, the messages being held in
4379 +queue will be sent after the incoming messages have been received.
4380 This method is appropriate for dial-up environments, since one can save
4381 on connection fees and repeated authentication for sending.
4382 @samp{mew-auto-flush-queue} is default to @samp{t}.
4383 @item C-cC-c
4384 Send messages in +queue. Method is appropriate if you like to preview
4385 composed messages first in +queue and then send them. If
4386 @samp{mew-ask-flush-queue} is @samp{t}, you are asked, Flush queue? (y
4387 or n) ". @samp{mew-ask-flush-queue} is default to @samp{nil}.
4388 @end ifset
4389 @end table
4390
4391 @c %%%%%%%%%%%%%%%%%
4392 @node cite, mime-comp, send, Composing
4393 @ifset ja
4394 @section シグニチャと引用
4395 @end ifset
4396 @ifset en
4397 @section Signature and citation
4398 @end ifset
4399 @vindex mew-signature-file
4400 @vindex mew-signature-as-lastpart
4401 @vindex mew-signature-insert-last
4402 @kindex C-cTAB (Draft)
4403 @kindex C-cC-y (Draft)
4404 @kindex C-cC-t (Draft)
4405 @kindex C-cC-l (Draft)
4406
4407 @ifset ja
4408 ここでは、本文のテキストを便利に処理するコマンドについて述べます。
4409 @end ifset
4410 @ifset en
4411 Next is the explanation of the commands for processing the text in the
4412 body of the message.
4413 @end ifset
4414
4415 @ifset ja
4416 まずシグニチャについてです。カーソルのある場所に "~/.signature" を挿入す
4417 るコマンドは @samp{C-cTAB} です。シグニチャファイルは、
4418 @samp{mew-signature-file} で設定できます。
4419 @samp{mew-signature-as-lastpart} や @samp{mew-signature-insert-last} を
4420 設定することで、@samp{C-cTAB} の動作をカスタマイズできます。
4421 @end ifset
4422 @ifset en
4423 The first one is signature. To insert your signature file
4424 ("~/.signature") on the cursor point, type @samp{C-cTAB}. You can define
4425 your own signature file to @samp{mew-signature-file}. Setting
4426 @samp{mew-signature-as-lastpart} and @samp{mew-signature-insert-last},
4427 you can customize the action of @samp{C-cTAB}.
4428 @end ifset
4429
4430 @table @samp
4431 @ifset ja
4432 @item C-cTAB
4433 カーソルの位置に "~/.signature" を挿入する。
4434 @end ifset
4435 @ifset en
4436 @item C-cTAB
4437 Insert "~/.signature" on the cursor point.
4438 @end ifset
4439 @end table
4440
4441 @ifset ja
4442 次に引用についてです。Summary モードの @samp{a} や @samp{A} を使ってメッ
4443 セージに返答するための草稿を用意すると、Emacs が 3 分割されます。上が現在
4444 の Summary モード、中が Message モード、下が Draft モードです。
4445 @end ifset
4446 @ifset en
4447 The next one is citation. If you use @samp{a} or @samp{A} in Summary
4448 mode, a draft for reply is opened up and Emacs is split into three
4449 windows. The top is Summary mode, the middle is Message mode, and the
4450 bottom is Draft mode.
4451 @end ifset
4452
4453 @ifset ja
4454 Message モードのテキストを引用するコマンドを以下に示します。
4455 @end ifset
4456 @ifset en
4457 Here are the commands for citing text from Message mode to Draft mode.
4458 @end ifset
4459
4460 @table @samp
4461 @ifset ja
4462 @item C-cC-y
4463 Message モードからメッセージの一部をコピーし、引用ラベルと引用記号付で貼
4464 り付ける。
4465 @enumerate
4466 @item
4467 おおまかにいえば、Message モードの本文がコピーされる。たとえば、
4468 Text/Plain が表示されていると、Message モード全体がコピーされる。
4469 Message/Rfc822 が表示されている場合は、ヘッダを除いた本文がコピーされる。
4470 @item
4471 @samp{C-uC-cC-y} では、ヘッダがあればヘッダをコピーする。
4472 @item
4473 Emacs のマークがあると、そのマークとカーソルの間が対象となる。
4474 @end enumerate
4475 @item C-cC-t
4476 Message モードからメッセージの一部をコピーし、引用ラベルと引用記号なしで
4477 貼り付ける。
4478 @end ifset
4479 @ifset en
4480 @item C-cC-y
4481 Copy and paste a part of a message from Message mode WITH citation
4482 prefix and label.
4483 @enumerate
4484 @item
4485 Roughly speaking, it copies the body in Message mode. For example, if
4486 Text/Plain is displayed, the entire Message mode is copied. If
4487 Message/Rfc822 is displayed, the body without the header is copied.
4488 @item
4489 If you type @samp{C-uC-cC-y}, the header is also copied if exists.
4490 @item
4491 If an Emacs mark exists, the target is the region between the mark and
4492 the cursor.
4493 @end enumerate
4494 @item C-cC-t
4495 Copy and paste a part of the message from Message mode WITHOUT citation
4496 prefix and label.
4497 @end ifset
4498 @end table
4499
4500 @ifset ja
4501 引用ラベルと引用記号の初期値は、以下のようになります。
4502 @end ifset
4503 @ifset en
4504 The default label and prefix is as follows:
4505 @end ifset
4506
4507 @example
4508 @ifset ja
4509 From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp>
4510 Subject: Wine
4511 Date: Wed, 23 Jul 1997 11:40:50 +0900
4512
4513 > おはようからおやすみまでニートでおなじみの角川です。
4514 >
4515 > さて、とろけるワイン作戦ですが、定石通り '90 のボルドーの
4516 > カベルネ・ソービニョンを狙いたいと思います。
4517 @end ifset
4518 @ifset en
4519 From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp>
4520 Subject: Wine
4521 Date: Wed, 23 Jul 1997 11:40:50 +0900
4522
4523 > Hi, it's Sumikawa, the guy who's neat from good morning
4524 > to good night.
4525 >
4526 > Talking about the wonderful wine party, I would propose
4527 > Cabernet Sauvignon, Bordeaux, '90.
4528 @end ifset
4529 @end example
4530
4531 @ifset ja
4532 Draft モードでは Message モードに表示されているものならなんでも引用でき
4533 ます。つまり、複数のメッセージを簡単に引用できるのです。引用したいメッセー
4534 ジを表示させて、本文を引用する手順を、引用したいメッセージの回数だけ繰り
4535 返して下さい。そのための 3 分割です。
4536 @end ifset
4537 @ifset en
4538 In Draft mode, you can cite any text displayed in Message mode. So, you
4539 can cite text from multiple messages easily. Select a message in Summary
4540 mode and display it in Message mode, then cite it in Draft mode. Please
4541 repeat this procedure as you like. Triple windows are opened for this
4542 purpose.
4543 @end ifset
4544
4545
4546 @ifset ja
4547 本文やヘッダの色付けがおかしくなった場合、@samp{C-cC-l} を実行することで、
4548 色付けをやり直すことができます。
4549 @end ifset
4550 @ifset en
4551 When highlighting gets wrong, type @samp{C-cC-l} to re-highlight both
4552 the header and the body
4553 @end ifset
4554
4555 @c %%%%%%%%%%%%%%%%%
4556 @node mime-comp, charset-guess, cite, Composing
4557 @ifset ja
4558 @section マルチパートの作成
4559 @end ifset
4560 @ifset en
4561 @section Composing multipart
4562 @end ifset
4563 @kindex C-cC-a (Draft)
4564 @kindex C-p (Attach)
4565 @kindex C-n (Attach)
4566 @kindex C-f (Attach)
4567 @kindex C-b (Attach)
4568 @kindex c (Attach)
4569 @kindex i (Attach)
4570 @kindex d (Attach)
4571 @kindex m (Attach)
4572 @kindex f (Attach)
4573 @kindex F (Attach)
4574 @kindex y (Attach)
4575 @kindex e (Attach)
4576 @kindex a (Attach)
4577 @kindex p (Attach)
4578 @kindex D (Attach)
4579 @kindex T (Attach)
4580 @kindex t (Attach)
4581 @kindex C (Attach)
4582 @kindex P (Attach)
4583
4584 @ifset ja
4585 さて、ここでマルチパートの作り方を披露しましょう。
4586 @end ifset
4587 @ifset en
4588 Now let's see how to create multipart messages.
4589 @end ifset
4590
4591 @ifset ja
4592 たとえば、+draft/1 でメッセージを書いているときに、@samp{C-cC-a} と入力
4593 すると、草稿の一番下に
4594 @end ifset
4595 @ifset en
4596 When you are writing a message in +draft/1 and type @samp{C-cC-a}, the
4597 following lines are inserted at the bottom of the draft.
4598 @end ifset
4599
4600 @example
4601 ----------------------------- attachments -----------------------------
4602 Multipart/Mixed 1/
4603 1 Text/Plain(guess) CoverPage*
4604 2 .
4605 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
4606 @end example
4607
4608 @ifset ja
4609 という行が挿入されます。"1/" はマルチパートを構築するための一時的なディ
4610 レクトリで、実体は "~/Mail/attach/1" です。パート 1 の CoverPage は本
4611 文を意味します。ここで Draft モードは次のようになっているでしょう。
4612 @end ifset
4613 @ifset en
4614 "1/" is a temporary directory to create multipart and provides a
4615 location for "~/Mail/attach/1". The part 1, "CoverPage", refers to the
4616 body. Now the entire draft looks like:
4617 @end ifset
4618
4619 @example
4620 @ifset ja
4621 To: mew-dist
4622 Subject: ここがヘッダ
4623 From: Kazu Yamamoto <kazu@@example.org>
4624 X-Mailer: @value{X-Mailer}
4625 ----
4626 本文だよ。
4627
4628 ----------------------------- attachments -----------------------------
4629 Multipart/Mixed 1/
4630 1 Text/Plain(guess) CoverPage*
4631 2 .
4632 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
4633 @end ifset
4634 @ifset en
4635 To: mew-dist
4636 Subject: This is header
4637 X-Mailer: @value{X-Mailer}
4638 ----
4639 This is the body.
4640
4641 ----------------------------- attachments -----------------------------
4642 Multipart/Mixed 1/
4643 1 Text/Plain(guess) CoverPage*
4644 2 .
4645 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
4646 @end ifset
4647 @end example
4648
4649 @ifset ja
4650 3 つの領域を以下のように呼ぶことにします。
4651 @end ifset
4652 @ifset en
4653 Here we designate three regions as follows:
4654 @end ifset
4655
4656 @itemize @bullet
4657 @ifset ja
4658 @item
4659 "----" より上を 「ヘッダ」
4660 @item
4661 "----" から "attachments" までを「本文」
4662 @item
4663 "attachments" より下を「添付領域」
4664 @end ifset
4665 @ifset en
4666 @item
4667 the region above "----" @samp{header}
4668 @item
4669 the region from "----" to "attachments" @samp{body}
4670 @item
4671 the region below "attachments" @samp{attachments}
4672 @end ifset
4673 @end itemize
4674
4675 @ifset ja
4676 Draft モードでは、リージョンによってキー割当が違います。
4677 @end ifset
4678 @ifset en
4679 In Draft mode, the key bindings differ according to the region.
4680 @end ifset
4681
4682 @ifset ja
4683 たとえば、@samp{TAB} は以下のようになります。
4684 @end ifset
4685 @ifset en
4686 To @samp{TAB}, for instance, the following functions are assigned:
4687 @end ifset
4688
4689 @table @asis
4690 @ifset ja
4691 @item ヘッダ
4692 さまざまな補完。
4693 @item 本文
4694 TAB の挿入。
4695 @item 添付領域
4696 なにもしない。
4697 @end ifset
4698 @ifset en
4699 @item header
4700 Completions.
4701 @item body
4702 Insert TAB.
4703 @item attachments
4704 Do nothing.
4705 @end ifset
4706 @end table
4707
4708 @ifset ja
4709 @samp{c} だと以下のようになります。
4710 @end ifset
4711 @ifset en
4712 To @samp{c}, functions are assigned as follows:
4713 @end ifset
4714
4715 @table @asis
4716 @ifset ja
4717 @item ヘッダ
4718 c を挿入。
4719 @item 本文
4720 c を挿入。
4721 @item 添付領域
4722 ファイルのコピー。
4723 @end ifset
4724 @ifset en
4725 @item header
4726 Insert c.
4727 @item body
4728 Insert c.
4729 @item attachments
4730 Copy a file.
4731 @end ifset
4732 @end table
4733
4734 @ifset ja
4735 以下、添付領域でのキー割当です。
4736 @end ifset
4737 @ifset en
4738 The following is a summary of commands in the attachments region.
4739 @end ifset
4740
4741 @table @samp
4742 @ifset ja
4743 @item C-p
4744 現在のディレクトリの前のファイルへ移動。
4745 @item C-n
4746 現在のディレクトリの後のファイルへ移動。
4747 @item C-f
4748 1 番目のサブディレクトリに移動。
4749 @item C-b
4750 親ディレクトリに移動。
4751 @item c
4752 ファイルのコピー。"." 上で有効。ネットワーク経由でも可。リモートのファイ
4753 ルをコピーする場合は、"/[user@@]hostname:/filepath" の形式でファイルを指
4754 定。
4755 @item l
4756 ファイルへシンボッリクリンクを張る。"." 上で有効。添付ファイルを
4757 @samp{f} を使って読み込んで編集する場合は、実体を編集してしまわないよう
4758 に、@samp{l} ではなく @samp{c} でコピーすべき。
4759 @item d
4760 ファイルとディレクトリの消去。
4761 @item m
4762 サブディレクトリ(つまりマルチパート)の作成。"." 上で有効。
4763 @item f
4764 ファイルをバッファに読み込む。
4765 @item F
4766 新規ファイルをバッファに読み込む。"." 上で有効。
4767 @item y
4768 Message モードに表示されているメッセージにリンクを張る。"." 上で有効。
4769 @item e
4770 external-body の入力。"." 上で有効。
4771 @item a
4772 音をサンプリングしオーディオファイルとして挿入。"." 上で有効。
4773 @item p
4774 入力されたユーザの PGP 公開鍵を取り出す。"." 上で有効。
4775 @item D
4776 ちょっとした説明(Content-Description:)の入力。
4777 @item T
4778 データ型(Content-Type:)の変更。
4779 @item t
4780 データ型に関し、テキストとバイナリを反転させる。
4781 @item I
4782 Text/* 型の入力 coding-system を指定する。
4783 @item C
4784 Text/* 型の出力 coding-system を指定する。
4785 @item P
4786 受信側でこのパートを保存する際のファイル名(Content-Disposition:)の変更。
4787 ファイル名の入力の際に、単に @samp{RET} を押すと値が消える。そして、送信
4788 側のファイル名が @samp{*} と共に表示される。
4789 @end ifset
4790 @ifset en
4791 @item C-p
4792 Go to the previous file in the current directory.
4793 @item C-n
4794 Go to the next file in the current directory.
4795 @item C-f
4796 Go to the first subdirectory.
4797 @item C-b
4798 Go to the parent directory.
4799 @item c
4800 Copy a file (possibly via networks) on ".". To copy a remote file, use
4801 the "/[user@@]hostname:/filepath" syntax.
4802 @item l
4803 Link a file with a symbolic link on ".". If you want to edit the
4804 attached file, you should @samp{c} instead of @samp{l} so that you do not
4805 edit the original file.
4806 @item d
4807 Delete this file or this directory.
4808 @item m
4809 Create a subdirectory (i.e. multipart) on ".".
4810 @item f
4811 Open this file into a buffer.
4812 @item F
4813 Open a new file into a buffer on ".".
4814 @item y
4815 Link the message which is displayed in Message mode on ".".
4816 @item e
4817 Input external-body on ".".
4818 @item a
4819 Sampling voice and insert as audio file on ".".
4820 @item p
4821 Extract the PGP key for the specified user on ".".
4822 @item D
4823 Input a description (Content-Description:).
4824 @item T
4825 Change the data type (Content-Type:).
4826 @item t
4827 Toggle text and binary for the data type.
4828 @item I
4829 Specify input coding-system for a Text/* object.
4830 @item C
4831 Specify output coding-system for a Text/* object.
4832 @item P
4833 Specify a file name (Content-Disposition:) to save this part in the
4834 receiver side. If you type just @samp{RET} without any string, its value
4835 is cleared. Then the file name in the sender side is displayed with
4836 @samp{*}.
4837 @end ifset
4838 @end table
4839
4840 @ifset ja
4841 添付領域では、ファイルの拡張子によってデータを取り扱います。現在サポート
4842 している拡張子は以下の通りです。
4843 @end ifset
4844 @ifset en
4845 In attachments, data types are guessed by suffix. The currently
4846 supported suffixes are as follows:
4847 @end ifset
4848
4849 @example
4850 .txt Text/Plain
4851 .html Text/Html
4852 .xml Text/Xml
4853 .rtf Text/Enriched
4854 .css Text/Css
4855 .sgml Text/Sgml
4856 [0-9]+ Message/Rfc822
4857 .ps Application/Postscript
4858 .pdf Application/Pdf
4859 .doc Application/Msword
4860 .xls Application/Vnd.Ms-Execl
4861 .ppt Application/Vnd.Ms-Powerpoint
4862 .vsd Application/Vnd.Visio
4863 .dat Application/Ms-Tnef
4864 .tar|.tar.|.gz|.Z|.taz|.tgz|.bz2?|.lzh|.zip|.bin|.pgp|.gpg|.exe|.dll
4865 Application/Octet-Stream
4866 .gif Image/Gif
4867 .tiff Image/Tiff
4868 .jpe?g Image/Jpeg
4869 .png Image/Png
4870 .xwd Image/X-Xwd
4871 .xbm Image/X-Xbm
4872 .xpm Image/X-Xpm
4873 .bmp Image/X-Bmp
4874 .pcx Image/X-Pcx
4875 .tga Image/X-Tga
4876 .au Audio/Basic
4877 .wav Audio/X-Wav
4878 .aif?f Auido/X-Aiff
4879 .midi? Auido/X-Midi
4880 .mpga|.mp[23] Audio/X-Mpeg
4881 .mpe?g Video/Mpeg
4882 .mov Video/Quicktime
4883 .avi Video/X-Msvideo
4884 @end example
4885
4886 @ifset ja
4887 コピーするときのファイル名は、適切なデータ型を推測できるよう拡張子に気
4888 を付ければなんでもよいです。もし、該当する拡張子がない場合、
4889 @samp{mew-content-type} で指定されるデータ型が選ばれます。初期値は、
4890 Text/Plain(テキスト)です。
4891 @end ifset
4892 @ifset en
4893 Please choose an appropriate suffix for the file name so that Mew can
4894 guess its data type. If there is no matched suffix, the data type
4895 specified by @samp{mew-content-type} is chosen. Its default value is
4896 Text/Plain.
4897 @end ifset
4898
4899
4900 @ifset ja
4901 @samp{c} でファイルをコピーすると、たとえば次のようになります。
4902 @end ifset
4903 @ifset en
4904 For instance, if you copy files with @samp{c}, the part becomes as
4905 follows:
4906 @end ifset
4907
4908 @ifset ja
4909 @example
4910 ----------------------------- attachments -----------------------------
4911 Multipart/Mixed 1/
4912 1 Text/Plain(guess) CoverPage*
4913 B 2 Image/Gif MagicPoint のロゴ mgp.gif
4914 Q 3 Application/Postscript 資料 ohp.ps
4915 4 .
4916 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
4917 @end example
4918 @end ifset
4919 @ifset en
4920 @example
4921 ----------------------------- attachments -----------------------------
4922 Multipart/Mixed 1/
4923 1 Text/Plain(guess) CoverPage*
4924 B 2 Image/Gif MagicPoint logo mgp.gif
4925 Q 3 Application/Postscript Presentation Material ohp.ps
4926 4 .
4927 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
4928 @end example
4929 @end ifset
4930
4931 @ifset ja
4932 各行は、
4933
4934 @itemize @minus
4935 @item
4936 マーク (Content-Transfer-Encoding:)
4937 @item
4938 パート番号
4939 @item
4940 データ型 (Content-Type:)
4941 @item
4942 説明 (Content-Description:)
4943 @item
4944 ファイル名 (Content-Disposition:)
4945 @end itemize
4946
4947 から構成されています。
4948 @end ifset
4949 @ifset en
4950 Each line of a multipart message consists of
4951
4952 @itemize @minus
4953 @item
4954 marks (Content-Transfer-Encoding:)
4955 @item
4956 part number
4957 @item
4958 data type (Content-Type:)
4959 @item
4960 description (Content-Description:)
4961 @item
4962 file name (Content-Disposition:).
4963 @end itemize
4964 @end ifset
4965
4966 @ifset ja
4967 データ型(Content-Type:)は @samp{T} によって変えられます。データ型がテキ
4968 スト(Text/Plain)かバイナリ(Application/Octet-Stream)の場合は、@samp{t}
4969 によって一方を他方へ反転できます。
4970 @end ifset
4971 @ifset en
4972 You can change data types (Content-Type:) by pressing @samp{T} at any
4973 time. If the data type is either text (Text/Plain) or binary
4974 (Application/Octet-Stream), you can toggle between them using @samp{t}.
4975 @end ifset
4976
4977 @ifset ja
4978 マーク(Content-Transfer-Encoding:)を変更する方法は、@xref{mark-b-comp}
4979 を参照して下さい。説明(Content-Description:)は @samp{D} で入力できます。
4980 この説明のカラムは、@xref{mark-b-comp} で説明する暗号化の際に上書きされ
4981 ます。
4982 @end ifset
4983 @ifset en
4984 Please refer to @ref{mark-b-comp} for explanation on changing the mark
4985 (Content-Transfer-Encoding:). You can also insert descriptions
4986 (Content-Description:) by @samp{D}. This description column is
4987 overwritten when encrypted as described in @ref{mark-b-comp}.
4988 @end ifset
4989
4990 @ifset ja
4991 第 5 カラムに表示されるのは、実際にはコピーしたファイル名か
4992 Content-Disposition:、つまり、受信者がそのパートを保存する際のファイル
4993 名です。Content-Disposition: の値があれば、それが表示されます。なけれ
4994 ば、コピーしたファイル名に @samp{*} を付加して表示します。ファイルをコ
4995 ピーした際の Content-Disposition: の値は、コピーしたファイル名が指定さ
4996 れています。ただし、Message/* と Multipart/* には Content-Disposition:
4997 は設定されません。Message/* の Content-Disposition: を指定するには、
4998 @samp{P} を利用して下さい。
4999 @end ifset
5000 @ifset en
5001 Strictly speaking, the fifth column is the copied file name or the
5002 value of Content-Disposition:, namely the file name to which the
5003 receiver saves the part. If Content-Disposition: exists, Mew displays
5004 it. Otherwise, Mew displays the copied file name with @samp{*}
5005 appended. When you copy a file, the file name is specified as
5006 Content-Disposition:. But this is not true for both Message/* and
5007 Multipart/*. To specify Content-Disposition: for Message/*, use
5008 @samp{P}.
5009 @end ifset
5010
5011 @ifset ja
5012 ファイルはシングルパートに、ディレクトリはマルチパートに対応します。で
5013 すから、ファイル構造を作っていく感覚で複雑なマルチパートを作成できます。
5014 簡単でしょ?
5015 @end ifset
5016 @ifset en
5017 Files are treated as singlepart while directories are treated as being
5018 multipart. Therefore you can create very complex multipart MIME messages
5019 in the same way as you would create a file system. Very easy, isn't it?
5020 @end ifset
5021
5022 @ifset ja
5023 ディレクトリに対するデータ型の初期値は、一般的なマルチパート
5024 (Multipart/Mixed)です。これも @samp{T} によって変更できます。
5025 @end ifset
5026 @ifset en
5027 The default data type for directories is Multipart/Mixed. Of course, you
5028 can change it by pressing @samp{T}.
5029 @end ifset
5030
5031 @ifset ja
5032 お好みのマルチパートが作成できたら、前節で述べたように @samp{C-cC-m} か
5033 @samp{C-cC-c} を利用してメッセージを送信して下さい。
5034 @end ifset
5035 @ifset en
5036 Once you are ready to send a multipart message, type @samp{C-cC-m} or
5037 @samp{C-c C-c} to send it as described the previous subsection.
5038 @end ifset
5039
5040 @ifset ja
5041 パートの実体が外部にある external-body を作成するコマンド @samp{e} につい
5042 て説明しましょう。access-type に ftp か anon-ftp を入力するときは、
5043 ange-ftp のおかげでリモートのファイル名が補完できます。access-type が
5044 local-file の場合は、もちろんファイル名を補完できます。
5045 @end ifset
5046 @ifset en
5047 Next is the explanation of the creation of a Message/External-body by
5048 pressing @samp{e}. If the access-type is "ftp" or "anon-ftp", you can
5049 take advantage of remote filename completion due to the existence of the
5050 native Emacs mode of ange-ftp. Of course file completion is available
5051 for the access-type of "local-file".
5052 @end ifset
5053
5054 @ifset ja
5055 もし、マルチパートの作成途中でやっぱりシングルパートに戻したくなったら、
5056 一番上のマルチパート部分で @samp{d} を押して下さい。
5057 @end ifset
5058 @ifset en
5059 If you want to abort creating multipart and to get back to singlepart,
5060 type @samp{d} in the top level of the multipart message.
5061 @end ifset
5062
5063 @c %%%%%%%%%%%%%%%%%
5064 @node charset-guess, longline, mime-comp, Composing
5065 @ifset ja
5066 @section 文字コードの決定
5067 @end ifset
5068 @ifset en
5069 @section Defining charset
5070 @end ifset
5071 @kindex I (Attach)
5072 @kindex C (Attach)
5073 @kindex C-x RET l
5074
5075 @ifset ja
5076 Mew はシングルパートとマルチパートの両方に対し、配送時の文字コードを決定
5077 する機能を持っています。
5078 @end ifset
5079 @ifset en
5080 Mew has a mechanism for determining the character set of the transfer
5081 form for both singlepart and multipart.
5082 @end ifset
5083
5084 @ifset ja
5085 <シングルパート>
5086 @end ifset
5087 @ifset en
5088 <Singlepart>
5089 @end ifset
5090
5091 @ifset ja
5092 Draft モードで @samp{C-cC-m} や @samp{C-cC-c} と入力しメッセージを作成す
5093 ると、Mew は本文の内部表現から配送時の文字コードを決定します。バイリンガ
5094 ル Emacs では、7 ビットの文字コードに対し US-ASCII を選び、8 ビットの文字
5095 コードに対し ISO-8859-1 を選択します。国際化 Emacs では、内部表現から
5096 Mew が定めた規則に従って、配送時の文字コードを決定します。
5097 @end ifset
5098 @ifset en
5099 When you type @samp{C-cC-m} or @samp{C-cC-c} to compose a message in
5100 Draft mode, Mew decides the character set of the transfer based on the
5101 internal representation of its body. On Bilingual Emacs, US-ASCII is
5102 chosen for 7bit character sets while ISO-8859-1 is selected for 8bit
5103 character sets. On Internationalized Emacs, the character set of the
5104 transfer form is chosen based on rules defined by Mew.
5105 @end ifset
5106
5107 @ifset ja
5108 <マルチパート>
5109 @end ifset
5110 @ifset en
5111 <Multipart>
5112 @end ifset
5113
5114 @ifset ja
5115 マルチパートの一部として添付するデータは、ファイルですからディスク上に存
5116 在します。そこで、メッセージの作成の際に、配送時の文字コードを決定するた
5117 めには、まず Emacs のバッファに取り込み、内部表現に直す必要があります。
5118 内部表現に直した後は、シングルパートと同様の方法で、配送時の文字コードを
5119 決定します。
5120 @end ifset
5121 @ifset en
5122 Since the data to be attached as a part of multipart is a file, it is
5123 stored on disk. Therefore, in order to determine its character set for
5124 the transfer form, it is necessary to load the file into an Emacs buffer
5125 converting it into internal representation. After that, Mew determines
5126 the character set of the transfer form for the file by the same method
5127 as singlepart.
5128 @end ifset
5129
5130 @ifset ja
5131 バイリンガル Emacs では、Mew はファイルをそのままの形式で読み込みます。
5132 ですから、7 ビットのファイルには US-ASCII が、8 ビットのファイルには
5133 ISO-8859-1 が選ばれます。
5134 @end ifset
5135 @ifset en
5136 On Bilingual Emacs, Mew reads a file as is. So if the file is 7bit,
5137 US-ASCII is chosen. Otherwise ISO-8859-1 is selected.
5138 @end ifset
5139
5140 @ifset ja
5141 国際化 Emacs では、Mew は環境(つまり auto conversion)に従って、文字コー
5142 ドを推測しながらファイルを読み込みます。国際化 Emacs でこの環境を決定す
5143 るコマンドは、@samp{C-x RET l} です。
5144 @end ifset
5145 @ifset en
5146 On Internationalized Emacs, Mew reads a file according to the local
5147 convention (i.e. auto conversion). The command to set a local convention
5148 is @samp{C-x RET l}.
5149 @end ifset
5150
5151 @ifset ja
5152 たとえば、日本語の環境では、国際化 Emacs は ISO-2022-JP、EUC-JP、そして、
5153 Shift_JIS を見事に推測し、日本語用の内部表現に変換してバッファに格納しま
5154 す。Mew はこの内部表現から、配送時の文字コードとして ISO-2022-JP を選択
5155 します。つまり、ファイルの文字コードが EUC-JP や Shift-JIS であっても、
5156 配送用の ISO-2022-JP に自動的に変換されます。そこでユーザは、添付するファ
5157 イルの文字コードを気にすることなしに、ファイルを添付可能です。
5158 @end ifset
5159 @ifset en
5160 For example, in Japan, ISO-2022-JP, EUC-JP, and Shift_JIS is readily
5161 guessed and stored in buffer as internal representations for
5162 Japanese. Mew chooses ISO-2022-JP as the character set of the transfer
5163 form from the internal representation. That is, even if the character
5164 set of the file is EUC-JP or Shift_JIS, it is automatically converted
5165 into ISO-2022-JP, which is the transfer form for Japanese. This means
5166 that you can attach a file without needing to pay attention to its
5167 character set.
5168 @end ifset
5169
5170 @ifset ja
5171 もし、ディスク上のファイルの coding-system を明示的に指定したいなら
5172 @samp{I} を使って下さい。これを入力文字コードと呼ぶことにします。また、
5173 配送時の coding-system を明示的に指示したいなら、@samp{C} を利用して下
5174 さい。
5175 @end ifset
5176 @ifset en
5177 If you want to specify the coding-system of a file to be attached, type
5178 @samp{I}. Let's call the character set "input character set". Also, if
5179 you want to specify the coding-system of the transfer form, use
5180 @samp{C}.
5181 @end ifset
5182
5183 @ifset ja
5184 文字コードの情報は、添付領域において、丸括弧の内側に表示されます。もし、
5185 配送時の文字コードが明示的に指定されていれば、それが表示されます。そうで
5186 なくて、入力文字コードが明示的に指定されていれば、それが "*" と共に表示
5187 されます。そうでなければ、"guess" と表示されます。
5188 @end ifset
5189 @ifset en
5190 Information regarding the character set is displayed in parentheses. If
5191 the character set of the transfer form is specified explicitly, it is
5192 displayed. Otherwise, if the input character set is specified, it is
5193 displayed with "*". Otherwise, "guess" is displayed.
5194 @end ifset
5195
5196 @ifset ja
5197 以下の例の見て下さい。パート 1 は、本文ですからあらかじめバッファ内にあり
5198 ます。"guess" と表示されていますから、配送時の文字コードを Mew が定めた
5199 規則に従って決定します。
5200 @end ifset
5201 @ifset en
5202 Let's look at the following example. Since part 1 is a body, it is
5203 stored in an Emacs buffer. Because "guess" is displayed, it is Mew that
5204 determines the character set of the transfer form according to the rules
5205 that Mew defines.
5206 @end ifset
5207
5208 @ifset ja
5209 パート 2 は、入力文字コードとして iso-8859-1 が指定されていますので、ファ
5210 イルの文字コードを iso-8859-1 であるとして読み込み、内部表現に変換します。
5211 配送時の文字コードは Mew が定めた規則に従って決定します。
5212 @end ifset
5213 @ifset en
5214 Since iso-8859-1 is specified as the input character set, Mew loads the
5215 file considering that its character set is iso-8859-1, and then converts
5216 it into internal representation. The character set of the transfer form
5217 is decided according to rules defined by Mew.
5218 @end ifset
5219
5220 @ifset ja
5221 パート 3 の入力文字コードは、この例だけからだと明示的に指定されているか
5222 分かりません。(しかし、ユーザ自身はは実際に指定したか分かっているはずで
5223 す。) とにかく、ファイルは内部表現に直され、配送時の文字コードに指定され
5224 ている EUC-JP に変換されます。
5225 @end ifset
5226 @ifset en
5227 The input character set in part 3 cannot be identified just from this
5228 example. (But a user certainly knows what it is since he actually
5229 specified it.) In any case, a file will be loaded and be converted into
5230 internal representation, then be converted into EUC-JP which is
5231 specified as the character set of the transfer form.
5232 @end ifset
5233
5234 @example
5235 ----------------------------- attachments -----------------------------
5236 Multipart/Mixed 1/
5237 1 Text/Plain(guess) CoverPage*
5238 2 Text/Plain(*iso-8859-1) text1
5239 B 3 Text/Plain(euc-jp) text2
5240 4 .
5241 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
5242 @end example
5243
5244 @ifset ja
5245 バイリンガル Emacs では @samp{C} と @samp{I} は利用できません。
5246 @end ifset
5247 @ifset en
5248 Note that both @samp{C} and @samp{I} are not available on Bilingual
5249 Emacs.
5250 @end ifset
5251
5252 @c %%%%%%%%%%%%%%%%%
5253 @node longline, reply, charset-guess, Composing
5254 @ifset ja
5255 @section 長い行の取り扱い
5256 @end ifset
5257 @ifset en
5258 @section Handling long lines
5259 @end ifset
5260 @vindex mew-use-format-flowed
5261 @vindex mew-flowed-fold-threshold
5262 @vindex mew-flowed-fold-length
5263 @vindex mew-flowed-auto-wrap
5264 @kindex C-cC-f (Draft)
5265 @kindex C-cC-pC-f (Draft)
5266 @kindex _ (Summary)
5267
5268 @ifset ja
5269 長い間、メッセージに書く文章は、自分自身で各行を(英文字で)70文字程度に
5270 折り返すべきだとされてきました。RFC 3676 で Text/Plain が拡張され、
5271 format パラメータに flowed という値が定義されました。
5272 @end ifset
5273 @ifset en
5274 For a long period, when you are writing a message, you should fold
5275 each line around 70 characters by yourself. RFC 3676 extended
5276 Text/Plain and defined "flowed" as a value of the "format" parameter.
5277 @end ifset
5278
5279 @ifset ja
5280 このおかげで、送り側で長い行を目印を付けて折り返し、受け取り側で長い行
5281 に戻せるようになりました。ユーザの目から見れば、メッセージに長い行を気
5282 軽に書いてもよくなったということです。
5283 @end ifset
5284 @ifset en
5285 Thanks to this, long lines can be automatically folded on a sender
5286 side while they can be unfolded on a receiver side. From the point of
5287 user view, you can write long lines casually.
5288 @end ifset
5289
5290 @ifset ja
5291 Mew で、長い行を flowed で折り返すには 2 つの方法があります。
5292 @end ifset
5293 @ifset en
5294 There are two ways to apply the flowed folding.
5295 @end ifset
5296
5297 @ifset ja
5298 1) 明示的に折り返すには、@samp{C-cC-f}を実行します。
5299 @end ifset
5300 @ifset en
5301 1) To apply the flowed folding explicitly, type @samp{C-cC-f}.
5302 @end ifset
5303
5304 @ifset ja
5305 このコマンドは、草稿に長い行があるかを調べます。
5306 @samp{mew-flowed-fold-threshold} を越える行が見つかったら、flowed で
5307 折り返しを実行します。この変数の値は 78 です。
5308 @end ifset
5309 @ifset en
5310 Then, Mew sees if long lines exist in a draft. If long lines whose
5311 length is over @samp{mew-flowed-fold-threshold} are found, Mew applies
5312 the @w{"}flowed" folding. This variable defaults to 78.
5313 @end ifset
5314
5315 @ifset ja
5316 折り返した行が、何文字以内になるかを制御する変数が
5317 @samp{mew-flowed-fold-length}です。初期値は 70 です。
5318 @end ifset
5319 @ifset en
5320 @samp{mew-flowed-fold-length} controls the max length of folded
5321 lines. Its initial value is 70.
5322 @end ifset
5323
5324 @ifset ja
5325 折り返す方法は、文字コードによって変わります。分かち書きをする文字コー
5326 ドでは、既存の空白文字の後に改行文字を入れて折り返します(delsp=no)。分
5327 かち書きをしない文字コードでは、適切な場所に空白文字と改行文字の両方を
5328 挿入して折り返します(delsp=yes)。
5329 @end ifset
5330 @ifset en
5331 Folding method is decided according to character set. If the language
5332 is separated by SPC, the new line characters are inserted after
5333 existing SPCs(delsp=no). Otherwise, pairs of SPC and the new line character
5334 are inserted in appropriate positions(delsp=yes).
5335 @end ifset
5336
5337 @ifset ja
5338 もう一度 @samp{C-cC-f} を実行すると、折り返された行が元に戻ります。
5339 @end ifset
5340 @ifset en
5341 If you type @samp{C-cC-f} again, the folded lines are unfolded.
5342 @end ifset
5343
5344 @ifset ja
5345 2) @samp{mew-use-format-flowed} が @samp{t} の場合は、@samp{C-cC-c}や
5346 @samp{C-cC-m}でメッセージを作成するときに、この機能が働きます。この変数
5347 の初期値は @samp{nil} です。
5348 @end ifset
5349 @ifset en
5350 2) If @samp{mew-use-format-flowed} is @samp{t}, this functionality is
5351 took into account automatically at composing with @samp{C-cC-c} or
5352 @samp{C-cC-m}. Its default value is @samp{nil}.
5353 @end ifset
5354
5355 @ifset ja
5356 3) @samp{C-cC-pC-f} で、@samp{mew-use-format-flowed} の値を反転できます。
5357 @end ifset
5358 @ifset en
5359 3) You can toggle the value of @samp{mew-use-format-flowed} by
5360 @samp{C-cC-pC-f}.
5361 @end ifset
5362
5363
5364 @ifset ja
5365 なお、メッセージを表示する際は、@samp{mew-use-format-flowed} の値に関係
5366 なく flowed で折り返された行は、元に戻されます。長い行が見にくい場合は、
5367 Summary モードで @samp{_} を利用しましょう。
5368 @end ifset
5369 @ifset en
5370 Note that folded lines with the "flowed" folding are always unfolded
5371 on viewing regardless of the value of @samp{mew-use-format-flowed}.
5372 If you feel it is hard to see long lines, use @samp{_} in Summary
5373 mode.
5374 @end ifset
5375
5376 @ifset ja
5377 @samp{mew-flowed-auto-wrap} が @samp{t} の場合、メッセージを表示すると、
5378 元に戻された行に一回 @samp{_} が実行され、折り返された状態で表示されま
5379 す。@samp{mew-flowed-auto-wrap} のデフォルトの値は @samp{t} です。
5380 @end ifset
5381 @ifset en
5382 If @samp{mew-flowed-auto-wrap} is @samp{t}, at visualizing a message,
5383 @samp{_} is automatically executed so as unfolded lines are folded.
5384 The default value of @samp{mew-flowed-auto-wrap} is @samp{t}.
5385 @end ifset
5386
5387 @c %%%%%%%%%%%%%%%%%
5388 @node reply, forward, longline, Composing
5389 @ifset ja
5390 @section メッセージへの返答と宛先の決定
5391 @end ifset
5392 @ifset en
5393 @section Replying to a message and deciding recipients
5394 @end ifset
5395 @vindex mew-mail-address-list
5396 @vindex mew-reply-all-alist
5397 @vindex mew-reply-sender-alist
5398 @vindex mew-reply-fromme-alist
5399 @kindex a (Summary)
5400 @kindex A (Summary)
5401 @kindex C-ua (Summary)
5402 @kindex C-uA (Summary)
5403
5404 @ifset ja
5405 新規にメッセージを書く場合は、To:、Cc:、および Newsgroups: を自分で書く
5406 ことになります。一方 Summary モードで @samp{a} や @samp{A} を使って、あ
5407 るメッセージに返答しようとすると、To:、Cc:、Newsgroups: は自動的に用意さ
5408 れます。
5409 @end ifset
5410 @ifset en
5411 As distinguished from the case of a new message, where the writer
5412 specifies the addresses of the To:, Cc: or Newsgroups: fields, in a
5413 reply message addresses are automatically generated.
5414 @end ifset
5415
5416 @ifset ja
5417 Summary モードで @samp{a} や @samp{A} を使うと、新しい草稿が Draft mode
5418 に用意されます。To:、Cc:、Newsgroups: の値は、以下の三つの alist に従っ
5419 て用意されます。
5420 @end ifset
5421 @ifset en
5422 When @samp{a} and @samp{A} is used in Summary mode, a new draft is
5423 prepared in Draft mode. Values of To:, Cc:, and Newsgroups: are prepared
5424 according to three alists.
5425 @end ifset
5426
5427 @enumerate
5428 @ifset ja
5429 @item
5430 もし @samp{C-u} 付きで呼び出された場合、送信者/投稿者のみに返答する。こ
5431 の場合、@samp{mew-reply-sender-alist} が利用される。
5432 @item
5433 もし対象が自分自身で送ったメッセージなら、そのヘッダを加工せずに返答した
5434 いのであろう。この場合、@samp{mew-reply-fromme-alist} が利用される。
5435 @item
5436 そうでなければ、すべての人に返答する。この場合、
5437 @samp{mew-reply-all-alist} が利用される。
5438 @end ifset
5439 @ifset en
5440 @item
5441 If called with @samp{C-u}, replying to the sender/poster only. In this
5442 case, @samp{mew-reply-sender-alist} is used.
5443 @item
5444 If this message is sent by ME, you probably intend to reply with the
5445 original header. In this case, @samp{mew-reply-fromme-alist} is used.
5446 @item
5447 Otherwise, replying to all people listed. In this case,
5448 @samp{mew-reply-all-alist} is used.
5449 @end ifset
5450 @end enumerate
5451
5452 @ifset ja
5453 @samp{mew-reply-sender-alist} の初期値は以下の通りです。
5454 @end ifset
5455 @ifset en
5456 The default value of @samp{mew-reply-sender-alist} is as follows:
5457 @end ifset
5458
5459 @lisp
5460 '(("Reply-To:"
5461 ("To:" "Reply-To:" "From:"))
5462 (t
5463 ("To:" "From:")))
5464 @end lisp
5465
5466 @ifset ja
5467 これは、次のように解釈します。
5468 @end ifset
5469 @ifset en
5470 This is read as follows:
5471 @end ifset
5472
5473 @enumerate
5474 @ifset ja
5475 @item
5476 Reply-To: が存在すれば、Reply-To: と From: の値を新しい To: へコピーする。
5477 @item
5478 そうでなければ、From: の値を新しい To: へコピーする。
5479 @end ifset
5480 @ifset en
5481 @item
5482 If Reply-To: exists, copy the values of Reply-To: and From: to new To:.
5483 @item
5484 Otherwise, copy the value of From: to To:.
5485 @end ifset
5486 @end enumerate
5487
5488 @ifset ja
5489 もし、Reply-To: で指定されたアドレスのみに返答したい場合は、
5490 @samp{mew-reply-sender-alist} を以下のように設定するとよいでしょう。
5491 @end ifset
5492 @ifset en
5493 If you would like to reply only to the address on Reply-To: (if any),
5494 set @samp{mew-reply-sender-alist} like this:
5495 @end ifset
5496
5497 @lisp
5498 (setq mew-reply-sender-alist
5499 '(("Reply-To:"
5500 ("To:" "Reply-To:"))
5501 (t
5502 ("To:" "From:"))))
5503 @end lisp
5504
5505 @ifset ja
5506 @samp{mew-reply-fromme-alist} の初期値は以下の通りです。
5507 @end ifset
5508 @ifset en
5509 The default value of @samp{mew-reply-fromme-alist} is as follows:
5510 @end ifset
5511
5512 @lisp
5513 '((t
5514 ("To:" "To:")
5515 ("Cc:" "Cc:")
5516 ("Newsgroups:" "Newsgroups:"))))
5517 @end lisp
5518
5519 @ifset ja
5520 これは、次のように解釈します。
5521 @end ifset
5522 @ifset en
5523 This is read as follows:
5524 @end ifset
5525
5526 @enumerate
5527 @item
5528 @ifset ja
5529 To: の値を新しい To: へ、
5530 Cc: の値を新しい Cc: へ、
5531 Newsgroups: の値を新しい Newsgroups: へコピーする。
5532 @end ifset
5533 @ifset en
5534 Copying the value of To: to new To: and
5535 copying the value of Cc: to new Cc: and
5536 copying the value of Newsgroups: to new Newsgroups:.
5537 @end ifset
5538 @end enumerate
5539
5540 @ifset ja
5541 @samp{mew-reply-all-alist} の初期値は以下の通りです。
5542 @end ifset
5543 @ifset en
5544 The default value of @samp{mew-reply-all-alist} is as follows:
5545 @end ifset
5546
5547 @lisp
5548 '((("Followup-To:" "poster")
5549 ("To:" "From:"))
5550 ("Followup-To:"
5551 ("Newsgroups:" "Followup-To:" "Newsgroups:"))
5552 ("Newsgroups:"
5553 ("Newsgroups:" "Newsgroups:"))
5554 ("Reply-To:"
5555 ("To:" "Reply-To:" "From:")
5556 ("Cc:" "To:" "Cc:" "Apparently-To:"))
5557 (t
5558 ("To:" "From:")
5559 ("Cc:" "To:" "Cc:" "Apparently-To:")))
5560 @end lisp
5561
5562 @ifset ja
5563 これは、次のように解釈します。
5564 @end ifset
5565 @ifset en
5566 This is read as follows:
5567 @end ifset
5568
5569 @enumerate
5570 @ifset ja
5571 @item
5572 Follwup-To: の値が "poster" であれば、From: の値を新しい To: へコピーす
5573 る。
5574 @item
5575 Follwup-To: が存在すれば、Follwup-To: と Newsgroups: の値を新しい
5576 Newsgroups: へコピーする。
5577 @item
5578 Newsgroups: が存在すれば、Newsgroups: の値を新しい Newsgroups: へコピー
5579 する。
5580 @item
5581 Reply-To: が存在すれば、Reply-To: と From: の値を新しい To: へコピーする。
5582 また、To:、Cc:、Apparently-To: の値を新しい Cc: へコピーする。
5583 @item
5584 そうでなければ、From: の値を新しい To: へコピーする。また、To:、Cc:、
5585 Apparently-To: の値を新しい Cc: へコピーする。
5586 @end ifset
5587 @ifset en
5588 @item
5589 If the value of Followup-To: is "poster", copying the value of From: to
5590 new To:.
5591 @item
5592 If Followup-To: exists, copying the values of Followup-To: and
5593 Newsgroups: to new Newsgroups:.
5594 @item
5595 If Newsgroups: exists, copying the value of Newsgroups: to Newsgroups:.
5596 @item
5597 If Reply-To: exists, copying the values of Reply-To: and From: to new
5598 To:. And copying the values of To:, Cc:, and Apparently-To: to new Cc:.
5599 @item
5600 Otherwise, copying the value of From: to new To:. And copying the values
5601 of To:, Cc:, and Apparently-To: to new Cc:.
5602 @end ifset
5603 @end enumerate
5604
5605 @ifset ja
5606 @samp{mew-reply-all-alist} を以下のように設定したいと思う人もいるかもし
5607 れません。
5608 @end ifset
5609 @ifset en
5610 You may want to set @samp{mew-reply-all-alist} like this:
5611 @end ifset
5612
5613 @lisp
5614 (setq mew-reply-all-alist
5615 '((("Followup-To:" "poster")
5616 ("To:" "From:"))
5617 ("Followup-To:"
5618 ("Newsgroups:" "Followup-To:"))
5619 ("Newsgroups:"
5620 ("Newsgroups:" "Newsgroups:"))
5621 ("Reply-To:"
5622 ("To:" "Reply-To:"))
5623 (t
5624 ("To:" "From:")
5625 ("Cc:" "To:" "Cc:" "Apparently-To:"))))
5626 @end lisp
5627
5628 @ifset ja
5629 あるアドレスが複数ある場合は、自動的に 1 つになります。また、匿名の宛先
5630 を表す ":;" で終るアドレスも、自動的に消去されます。
5631 @end ifset
5632 @ifset en
5633 If there are multiple entries for a certain address, they are
5634 unified. Addresses ending with ":;", which indicates anonymous
5635 recipients, are automatically removed.
5636 @end ifset
5637
5638 @ifset ja
5639 自分のアドレスは自動的に消去されます。自分のアドレスは、
5640 @samp{mew-config-alist} などから @samp{mew-mail-address-list} に自動設定
5641 されます。この値が気に入らないなら、以下のように明示的に設定することも可
5642 能です。
5643 @end ifset
5644 @ifset en
5645 Your addresses are automatically removed. Your addresses are
5646 automatically defined to @samp{mew-mail-address-list} according to, for
5647 example, @samp{mew-config-alist}. If you dislike this value, you
5648 can also explicitly set it like this:
5649 @end ifset
5650
5651 @lisp
5652 (setq mew-mail-address-list
5653 '("^pooh@@[a-z]*.example.org$"
5654 "^pooh@@example.net$"
5655 "^winnie@@example.jp$"))
5656 @end lisp
5657
5658 @c %%%%%%%%%%%%%%%%%
5659 @node forward, resend, reply, Composing
5660 @ifset ja
5661 @section メッセージの転送
5662 @end ifset
5663 @ifset en
5664 @section Forwarding messages
5665 @end ifset
5666 @vindex mew-field-delete-for-forwarding
5667 @kindex f (Summary)
5668 @kindex F (Summary)
5669
5670 @ifset ja
5671 メッセージを転送するには、Summary モードで @samp{f} や @samp{F} を利用し
5672 ます。すると、Draft モードに移行し、あらかじめメッセージが添付領域に添付
5673 された草稿が準備されます。
5674 @end ifset
5675 @ifset en
5676 To forward messages, type @samp{f} or @samp{F} in Summary mode. Then
5677 Draft mode appears and the messages are already attached in the
5678 attachments region.
5679 @end ifset
5680
5681 @ifset ja
5682 また Draft モードで添付領域を用意し、メッセージをコピー(@samp{c})したり
5683 メッセージにリンク(@samp{l})を張ったりしても、メッセージを転送できます。
5684 ファイル名が数字([0-9]+)の場合は、自動的にメッセージだと判断されます。ま
5685 た、添付領域で @samp{y} を使うと、Message モードに表示しているメッセージ
5686 にリンクを張るので便利です。
5687 @end ifset
5688 @ifset en
5689 Also, you can prepare the attachments region by yourself, then copy
5690 (@samp{c}) the messages or make links (@samp{l}) to the messages. If
5691 the file names of the messages are numeric ([0-9]+), they are
5692 automatically considered as messages. @samp{y} is very convenient
5693 because it make a link to the message displayed in Message mode.
5694 @end ifset
5695
5696 @ifset ja
5697 通常は添付したメッセージの全体が転送されます。もし、ヘッダの一部を削りた
5698 い場合は、@samp{mew-field-delete-for-forwarding} を定義して下さい。以下
5699 に @w{"}Received:" と "Return-Path:" を転送時に削るための設定例を示します。
5700 @end ifset
5701 @ifset en
5702 By default, the entire message is forwarded. If you want to remove some
5703 parts of its header, define @samp{mew-field-delete-for-forwarding}. The
5704 following is an example to remove "Received:" and "Return-Path:" when
5705 forwarded.
5706 @end ifset
5707
5708 @lisp
5709 (setq mew-field-delete-for-forwarding '("Received:" "Return-Path:"))
5710 @end lisp
5711
5712 @c %%%%%%%%%%%%%%%%%
5713 @node resend, shortcut, forward, Composing
5714 @ifset ja
5715 @section メッセージの再送
5716 @end ifset
5717 @ifset en
5718 @section Re-sending messages
5719 @end ifset
5720 @kindex r (Summary)
5721 @kindex W (Summary)
5722 @kindex C-cC-c (Header)
5723 @kindex C-cC-m (Header)
5724
5725 @ifset ja
5726 メッセージのヘッダの一部のみを変更して、送信したい場合があります。
5727 @end ifset
5728 @ifset en
5729 You may occasionally wish to send messages modifying the header of a
5730 message.
5731 @end ifset
5732
5733 @ifset ja
5734 たとえば、同じ内容のメッセージを、複数の宛先に独立して送りたい場合です。
5735 pooh 宛のメッセージを作成して、+queue に入れ、すぐさまそのメッセージをコ
5736 ピーし、宛先だけを piglet に変更したい場合を想像して下さい。これを、メッ
5737 セージの再利用による送信と呼びましょう。
5738 @end ifset
5739 @ifset en
5740 For instance, you may want to send a message with the same body to
5741 multiple receivers independently. Please imagine the case where you put
5742 a created message destined to Pooh in +queue and then you wish to send
5743 an another message to Piglet by copying it and modifying its header.
5744 Let's call this recycle sending.
5745 @end ifset
5746
5747 @ifset ja
5748 また、メッセージに Resent-To: というフィールドを付けて再送したいこともあ
5749 ります。これは、転送の一種です。こちらはヘッダだけ書き直すので、ヘッダ変
5750 換といいます。前節で説明した転送は、メッセージを新規のメッセージに包み込
5751 んで転送するため、カプセル化と呼ばれています。
5752 @end ifset
5753 @ifset en
5754 Also, you occasionally wish to send a message adding the Resent-To:
5755 field to a target message. This is a kind of forwarding. This is called
5756 header conversion because a message header is modified. The forwarding
5757 described the previous subsection is called encapsulation because a
5758 message is embedded into another new message.
5759 @end ifset
5760
5761 @ifset ja
5762 ヘッダの一部だけを編集し、メッセージを送信したり、キューに入れたりするモー
5763 ドとして、Header モードが用意されています。本文が編集できない Draft モー
5764 ドだと思えばいいでしょう。
5765 @end ifset
5766 @ifset en
5767 Header mode exists for this reason, modifying a part of the header,
5768 sending/queuing the created message. You can think this is a kind of
5769 Draft mode which prohibits modifications of its body.
5770 @end ifset
5771
5772 @ifset ja
5773 Header モードに入るために、Summary モードには以下のコマンドが用意されて
5774 います。
5775 @end ifset
5776 @ifset en
5777 The following commands are provided in Summary mode to enter Header
5778 mode.
5779 @end ifset
5780
5781 @table @samp
5782 @ifset ja
5783 @item W
5784 メッセージの再利用による送信。対象となるメッセージの To:、Cc:、From: な
5785 どを書き換えるために、Header モードに移行する。典型的には、+queue または
5786 +postq に入っているメッセージに対して利用する。
5787 @item r
5788 メッセージの再送。対象となるメッセージのヘッダに、Resent-To:、Resent-Cc:、
5789 Resent-From: などを追加するために、Header モードに移行する。再送によるメッ
5790 セージの転送は、受信者を混乱させることがあるので、よく考えてから利用する
5791 こと。
5792 @end ifset
5793 @ifset en
5794 @item W
5795 Recycle sending. Enter Header mode in order to modify To:, Cc:, From: of
5796 a target message. Typical usage is for messages in +queue or +postq.
5797 @item r
5798 Re-sending. Enter Header mode in order to add Resent-To:, Resent-Cc:,
5799 Resent-From: of a target message. Re-sending may confuse receivers, so
5800 you should think carefully before using it.
5801 @end ifset
5802 @end table
5803
5804 @ifset ja
5805 Header モードでは、Draft モードのように、補完や循環的な補完が利用できま
5806 す。ヘッダの入力が終わったら、以下のどちらかのコマンドを用いて、メッセー
5807 ジを送信して下さい。本文が表示されていないので不安かもしれませんが、ちゃ
5808 んと対象となっているメッセージの本文とヘッダの一部が再利用されます。
5809 @end ifset
5810 @ifset en
5811 In Header mode, you can make use of completion and circular completion
5812 like in Draft mode. When you are finished inputting the header, send the
5813 message using one of the following commands. You may be concerned
5814 because the body of the message is not displayed in your new
5815 message. But you need not worry, since the body and a part of the target
5816 message is certainly used.
5817 @end ifset
5818
5819 @table @samp
5820 @ifset ja
5821 @item C-cC-m
5822 メッセージを作成し +queue または +postq に入れ、送信待ち状態にする。
5823 @item C-cC-c
5824 メッセージを作成し送信する。"Really send this message? (y or n) " と訊か
5825 れる。@samp{y} を押せば送信される。
5826 @end ifset
5827 @ifset en
5828 @item C-cC-m
5829 Compose a message, put it into +queue or +postq, and let it be waiting
5830 to be sent.
5831 @item C-cC-c
5832 Compose a message and send it. You are asked, "Really send this message?
5833 (y or n) ". Type @samp{y} to send it.
5834 @end ifset
5835 @end table
5836
5837 @c %%%%%%%%%%%%%%%%%
5838 @node shortcut, mark-b-comp, resend, Composing
5839 @ifset ja
5840 @section 電子署名/暗号メールを作成する
5841 @end ifset
5842 @ifset en
5843 @section Creating signature or cipher message
5844 @end ifset
5845 @vindex mew-draft-privacy-method
5846 @vindex mew-protect-privacy-always
5847 @vindex mew-protect-privacy-always-type
5848 @vindex mew-protect-privacy-encrypted
5849 @vindex mew-protect-privacy-encrypted-type
5850 @vindex mew-use-old-pgp
5851 @vindex mew-protect-privacy-with-old-pgp-signature
5852 @kindex C-cC-s (Draft)
5853 @kindex C-cC-e (Draft)
5854 @kindex C-cC-b (Draft)
5855 @kindex C-cC-r (Draft)
5856 @kindex C-cC-pC-m (Draft)
5857 @kindex C-cC-pC-a (Draft)
5858 @kindex C-cC-pC-e (Draft)
5859
5860 @ifset ja
5861 ここでは、テキストである本文を PGP や S/MIME で署名したり暗号化したりす
5862 る方法について説明します。紹介するコマンドは以下の通りです。
5863 @end ifset
5864 @ifset en
5865 This section explains the method for signing or encrypting "text only"
5866 messages with PGP or S/MIME. The following commands are explained.
5867 @end ifset
5868
5869 @table @samp
5870 @ifset ja
5871 @item C-cC-s
5872 草稿全体を署名する。パスフレーズを入力すること。
5873 @item C-cC-e
5874 草稿全体を暗号化する。
5875 @item C-cC-b
5876 草稿全体を署名後暗号化する。パスフレーズを入力すること。
5877 @item C-cC-r
5878 草稿全体を暗号化後署名する。パスフレーズを入力すること。
5879 @end ifset
5880 @ifset en
5881 @item C-cC-s
5882 Sign the entire draft. Input your pass-phrase.
5883 @item C-cC-e
5884 Encrypt the entire draft.
5885 @item C-cC-b
5886 Sign, and then encrypt the entire draft. Input your pass-phrase.
5887 @item C-cC-r
5888 Encrypt, and then sign the entire draft. Input your pass-phrase.
5889 @end ifset
5890 @end table
5891
5892 @ifset ja
5893 メッセージを暗号化するには受信者の公開鍵を使用します。逆に署名するには
5894 自分の秘密鍵を使います。よって、署名するためにはパスフレーズを入力する
5895 必要があります。ただし、パスフレーズの保存機能やマスターパスワードを使っ
5896 ており、パスフレーズが保存されている場合は、パスフレーズを入力する必要
5897 はありません(@xref{password})。
5898 @end ifset
5899 @ifset en
5900 To encrypt a message, receivers' public keys are used. On the other
5901 hand, your secret key is used to sign a message, and so you need to
5902 input your pass-phrase when applying the signature. Note that if you
5903 are using the pass-phrase cache or the master password mechanism and
5904 there are pass-phrases presently cached, you do not have to type your
5905 pass-phrase (@pxref{password}).
5906 @end ifset
5907
5908 @ifset ja
5909 これらのコマンドは、通常 PGP/MIME を作成します。S/MIME を作成したい場合
5910 は、以下のように設定して下さい。
5911 @end ifset
5912 @ifset en
5913 These commands create a PGP/MIME message by default. If you want to
5914 use S/MIME, configure as follows:
5915 @end ifset
5916
5917 @lisp
5918 (setq mew-draft-privacy-method 'smime)
5919 @end lisp
5920
5921 @ifset ja
5922 この変数の値は、Draft モードの @samp{C-cC-pC-m} でも変更できます。
5923 @end ifset
5924 @ifset en
5925 You can change this variable with @samp{C-cC-pC-m} in Draft mode.
5926 @end ifset
5927
5928 @ifset ja
5929 上記4つのコマンドは、次節で説明するマークを使った作成方法の省略方法に当
5930 たります。
5931 @end ifset
5932 @ifset en
5933 We can consider that these four commands above are shortcut methods of
5934 mark based composing described in the next section.
5935 @end ifset
5936
5937 @ifset ja
5938 メッセージに署名を施すには、@samp{C-cC-s} と入力します。署名の際には、自
5939 分の秘密鍵を復号化する必要がありますので、パスフレーズがキャッシュされて
5940 いなければ、入力を促されます。署名が施されたメッセージは、+queue または
5941 +postq に格納されます。
5942 @end ifset
5943 @ifset en
5944 To sign a message, type @samp{C-cC-s}. When signing, because your secret
5945 key is needed to be decrypted, you may be asked for your pass-phrase if
5946 it is not cached. Created messages are stored in +queue or +postq.
5947 @end ifset
5948
5949 @ifset ja
5950 自分の秘密鍵は、From: にあるアドレスを元に特定されます。From: がない場
5951 合は、デフォルトの秘密鍵が選択されます。From: にあるアドレスとは違うア
5952 ドレスで秘密鍵を指定したい場合は、@samp{C-uC-cC-s} と入力して下さい。
5953 @end ifset
5954 @ifset en
5955 Your secret key is identified in From: address. If From: does not
5956 exist, your default secret key is selected. When you want to specify a
5957 secret key that is not identified the address of From:, type
5958 @samp{C-uC-cC-s}.
5959
5960 @end ifset
5961
5962 @ifset ja
5963 メッセージを暗号化するには、@samp{C-cC-e} とタイプして下さい。To: や Cc:
5964 からアドレスを切り出して、その受信者が復号化できるよう暗号化します。暗号
5965 化するだけのなので、パスフレーズを訊かれることはありません。作成されたメッ
5966 セージは、+queue に格納されます。
5967 @end ifset
5968 @ifset en
5969 To encrypt a message, type @samp{C-cC-e}. A message is encrypted with
5970 public keys identified with the addresses on To: and Cc:. Since this is
5971 encryption only, you are not asked for your pass-phrase. Created cipher
5972 messages are stored in +queue.
5973 @end ifset
5974
5975 @ifset ja
5976 このメッセージは、受信者の公開鍵に加えて、自分の公開鍵でも暗号化されてい
5977 ます。ですから、作成したメッセージを復号化できます。たとえば、@samp{g}
5978 で +queue に移動し、念のため復号化して確認することが可能です。
5979 @end ifset
5980 @ifset en
5981 This message is encrypted with your public key in addition to those of
5982 the receivers. Therefore you can decrypt created messages. For example,
5983 you can go to +queue by @samp{g} and preview a created message to
5984 reconfirm this.
5985 @end ifset
5986
5987 @ifset ja
5988 署名後暗号化するには、@samp{C-cC-b} と入力します。暗号化後署名するには、
5989 @samp{C-cC-r} とタイプします。どちらの場合も作成されたメッセージは、
5990 +queue に蓄えられます。
5991 @end ifset
5992 @ifset en
5993 To sign a draft and then encrypt it, type @samp{C-cC-b}. To encrypt a
5994 draft and then sign it, type @samp{C-cC-r}. In both cases, created
5995 messages are stored in +queue.
5996 @end ifset
5997
5998 @ifset ja
5999 署名を施したり、暗号化したりしてメッセージを送ろうと思っていても、うっ
6000 かり忘れることがあります。これを防ぐために、メッセージを作成するコマン
6001 ド @samp{C-cC-m} や @samp{C-cC-c} を実行すると、自動的に署名や暗号化を
6002 施す機能があります。
6003 @end ifset
6004 @ifset en
6005 It is very likely that you will forget to sign and/or encrypt a draft
6006 even if you intended to do so. To prevent this, Mew provides an
6007 mechanism to automatically sign or encrypt a message when
6008 @samp{C-cC-m} or @samp{C-cC-c} is typed.
6009 @end ifset
6010
6011 @ifset ja
6012 作成するすべてのメッセージのプライバシを保護したいなら、
6013 @samp{mew-protect-privacy-always} を @samp{t} にして、
6014 @samp{mew-protect-privacy-always-type} に利用したいサービスを設定します。
6015 @end ifset
6016 @ifset en
6017 If you want to protect privacy of all drafts, set
6018 @samp{mew-protect-privacy-always} to @samp{t} and set
6019 @samp{mew-protect-privacy-always-type} to one of services.
6020 @end ifset
6021
6022 @ifset ja
6023 暗号化されたメッセージに対する返答メッセージのプライバシを保護したいなら、
6024 @samp{mew-protect-privacy-encrypted} を @samp{t} にして、
6025 @samp{mew-protect-privacy-encrypted-type} に利用したいサービスを設定しま
6026 す。この設定は、暗号化されたメッセージへの返答する場合、上記のすべてのメー
6027 ルに対する設定よりも優先されます。
6028 @end ifset
6029 @ifset en
6030 If you want to protect the privacy of drafts when replying encrypted
6031 messages, set @samp{mew-protect-privacy-encrypted} to @samp{t} and set
6032 @samp{mew-protect-privacy-encrypted-type} to one of the services.
6033 This configuration is preferred to the configuration for all drafts
6034 described above in the case of replying encrypted messages.
6035 @end ifset
6036
6037 @ifset ja
6038 以下に利用できるサービスを示します。かっこ内はそれぞれのサービスを表すシ
6039 ンボルです。@samp{C-cC-m} や @samp{C-cC-c} と入力する際に利用されるサー
6040 ビスは、モードラインに表示されます。
6041 @end ifset
6042 @ifset en
6043 The following services are available. The strings enclosed in braces are
6044 the symbols for each service. The service applied when typing
6045 @samp{C-cC-m} or @samp{C-cC-c} is displayed in the mode line.
6046 @end ifset
6047
6048 @table @asis
6049 @ifset ja
6050 @item pgp-signature (PS)
6051 PGP で署名
6052 @item pgp-encryption (PE)
6053 PGP で暗号化
6054 @item pgp-signature-encryption (PSPE)
6055 PGP で署名後暗号化
6056 @item pgp-encryption-signature (PEPS)
6057 PGP で暗号化後署名
6058 @item smime-signature (SS)
6059 S/MIME で署名
6060 @item smime-encryption (SE)
6061 S/MIME で暗号化
6062 @item smime-signature-encryption (SSSE)
6063 S/MIME で署名後暗号化
6064 @item smime-encryption-signature (SESS)
6065 S/MIME で暗号化後署名
6066 @end ifset
6067 @ifset en
6068 @item pgp-signature (PS)
6069 Sign with PGP
6070 @item pgp-encryption (PE)
6071 Encrypt with PGP
6072 @item pgp-signature-encryption (PSPE)
6073 Sign then encrypt with PGP
6074 @item pgp-encryption-signature (PEPS)
6075 Encrypt then sign with PGP
6076 @item pgp-signature (SS)
6077 Sign with S/MIME
6078 @item pgp-encryption (sE)
6079 Encrypt with S/MIME
6080 @item pgp-signature-encryption (SSSE)
6081 Sign then encrypt with S/MIME
6082 @item pgp-encryption-signature (SESS)
6083 Encrypt then sign with S/MIME
6084 @end ifset
6085 @end table
6086
6087 @ifset ja
6088 以下の例は、すべてのメッセージに対し署名する設定です。
6089 @end ifset
6090 @ifset en
6091 The following example works for signing all drafts.
6092 @end ifset
6093
6094 @lisp
6095 (setq mew-protect-privacy-always t)
6096 (setq mew-protect-privacy-always-type 'pgp-signature)
6097 @end lisp
6098
6099 @ifset ja
6100 以下の例は、暗号化されたメッセージへの返答メッセージに対し、PGP で暗号
6101 化する設定です。
6102 @end ifset
6103 @ifset en
6104 The following example is for encrypting drafts with PGP when replying
6105 encrypted messages.
6106 @end ifset
6107
6108 @lisp
6109 (setq mew-protect-privacy-encrypted t)
6110 (setq mew-protect-privacy-encrypted-type 'pgp-encryption)
6111 @end lisp
6112
6113 @ifset ja
6114 Draft モードでは、@samp{C-cC-pC-a} で @samp{mew-protect-privacy-always}、
6115 @samp{C-cC-pC-e} で @samp{mew-protect-privacy-encrypted} の値を反転でき
6116 ます。
6117 @end ifset
6118 @ifset en
6119 In Draft mode, @samp{C-cC-pC-a} toggles
6120 @samp{mew-protect-privacy-always} and @samp{C-cC-pC-e} toggles
6121 @samp{mew-protect-privacy-encrypted}.
6122 @end ifset
6123
6124 @ifset ja
6125 Draft モードにおいて現在書いている草稿に対してのみあらかじめサービスを指定
6126 しておき、送信時にサービスを施すことを忘れないようにできます。現在の草稿
6127 に対し @samp{C-cC-m} や @samp{C-cC-c} で施されるサービスを指定するには、
6128 @samp{C-cC-pC-d} に続いて上記のサービスの 1 つを入力して下さい。現在のサー
6129 ビスをキャンセルするには、サービス名の代りに単に @samp{RET} を押して下さ
6130 い。
6131 @end ifset
6132 @ifset en
6133 You can specify privacy services for the current draft in Draft mode
6134 beforehand so that you do not forget to apply the privacy services when
6135 sending. To set privacy services to the current draft evaluated when
6136 typing @samp{C-cC-m} or @samp{C-cC-c}, type @samp{C-cC-pC-d}, and then
6137 input one of privacy services listed above. To cancel the current
6138 privacy service, just type @samp{RET} instead of selecting the privacy
6139 service.
6140 @end ifset
6141
6142 @ifset ja
6143 @samp{C-cC-c} や @samp{C-cC-m} でメッセージを作成する際、署名や暗号化に
6144 失敗したら、草稿に戻ります。このとき指定していたサービスはキャンセルされ
6145 ます。続けて @samp{C-cC-c} や @samp{C-cC-m} でメッセージを作成すると、普
6146 通のメッセージが作成されるので気をつけて下さい。問題を取り除いた後、同じ
6147 サービスを望むなら、明示的に @samp{C-cC-pC-d} でサービスを指定するか、
6148 @samp{C-cC-s}、@samp{C-cC-e} などを用いて下さい。
6149 @end ifset
6150 @ifset en
6151 When you compose a message by @samp{C-cC-c} or @samp{C-cC-m}, and if
6152 signing and/or encryption fails, the cursor gets back to the draft. At
6153 this time, the service that you specified is canceled. If you type
6154 @samp{C-cC-c} or @samp{C-cC-m} in this situation, a plain message is
6155 created, so please be careful. After correcting the cause of the
6156 failure, if you want the same service, type @samp{C-cC-pC-d} to specify
6157 your service explicitly or use @samp{C-cC-s}, @samp{C-cC-e}, etc.
6158 @end ifset
6159
6160
6161 @ifset ja
6162 @samp{mew-use-old-pgp} を @samp{t} に設定すれば(初期値は @samp{nil})、
6163 @samp{C-cC-s} や @samp{C-cC-e} は PGP/MIME の代りに、古い PGP の書式に従っ
6164 てメッセージを生成します。添付領域がある場合は、エラーになります。
6165 @end ifset
6166 @ifset en
6167 If @samp{mew-use-old-pgp} is set to @samp{t} (the default value is
6168 @samp{nil}), @samp{C-cC-s} and @samp{C-cC-e}, etc create old fashioned
6169 PGP message instead of PGP/MIME. If the attachment region exists, an
6170 error occurs.
6171 @end ifset
6172
6173 @ifset ja
6174 上記で説明した @samp{mew-protect-privacy-*} は、PGP/MIME のみに有効であ
6175 り、古い PGP には機能しません。@samp{C-cC-m} や @samp{C-cC-c} で常に
6176 古い PGP の署名を施すには、@samp{mew-protect-privacy-with-old-pgp-signature}
6177 を @samp{t} にして下さい。
6178 @end ifset
6179 @ifset en
6180 @samp{mew-protect-privacy-*} described above are effective only to
6181 PGP/MIME, not to old PGP. If you want to create old PGP signature with
6182 @samp{C-cC-m} or @samp{C-cC-c} always, set
6183 @samp{mew-protect-privacy-with-old-pgp-signature} to @samp{t}.
6184 @end ifset
6185
6186 @ifset ja
6187 PGP/MIME や S/MIME のために Mew は GnuPG 1.x と 2.0 をサポートしていますが、
6188 2.1 はサポートしていません。
6189 @end ifset
6190 @ifset en
6191 For PGP/MIME and S/MIME, Mew supports GnuPG 1.x and 2.0, not 2.1.
6192 @end ifset
6193
6194 @c %%%%%%%%%%%%%%%%%
6195 @node mark-b-comp, pgp-key, shortcut, Composing
6196 @ifset ja
6197 @section マークを使った電子署名/暗号メールの作成
6198 @end ifset
6199 @ifset en
6200 @section Mark based composer
6201 @end ifset
6202 @kindex B (Attach)
6203 @kindex Q (Attach)
6204 @kindex G (Attach)
6205 @kindex S (Attach)
6206 @kindex E (Attach)
6207 @kindex Z (Attach)
6208 @kindex M-s (Attach)
6209 @kindex M-e (Attach)
6210 @kindex U (Attach)
6211
6212 @ifset ja
6213 PGP/MIME、S/MIME、および ZIP をサポートするために、マークを使った作成方
6214 法が提供されています。以前の例を思い出してみましょう。
6215 @end ifset
6216 @ifset en
6217 To support PGP/MIME, S/MIME and ZIP, mark based composing is
6218 provided. Remember the previous example.
6219 @end ifset
6220
6221 @ifset ja
6222 @example
6223 ----------------------------- attachments -----------------------------
6224 Multipart/Mixed 1/
6225 1 Text/Plain(guess) CoverPage*
6226 B 2 Image/Gif MagicPoint のロゴ mgp.gif
6227 Q 3 Application/Postscript 資料 ohp.ps
6228 4 .
6229 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
6230 @end example
6231 @end ifset
6232 @ifset en
6233 @example
6234 ----------------------------- attachments -----------------------------
6235 Multipart/Mixed 1/
6236 1 Text/Plain(guess) CoverPage*
6237 B 2 Image/Gif MagicPoint logo mgp.gif
6238 Q 3 Application/Postscript Presentation Material ohp.ps
6239 4 .
6240 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
6241 @end example
6242 @end ifset
6243
6244 @ifset ja
6245 行頭に @samp{B} や @samp{Q} といったマークがあります。このマークは符号
6246 化を意味しています。Mew では、新しい概念「符号化」を導入しています。符
6247 号化には、Base64、Quoted-Printable、Gzip64 (Gzip + Base64)、署名、暗号
6248 化などがあります。
6249 @end ifset
6250 @ifset en
6251 You can find the @samp{B} mark and the @samp{Q} mark at the beginning of
6252 the line. Mew provides you with a new concept of "encoding". Encoding
6253 includes Base64, Quoted-Printable, Gzip64 (Gzip + Base64), signature,
6254 encryption.
6255 @end ifset
6256
6257 @ifset ja
6258 現在次の 8 つのマークがサポートされています。
6259 @end ifset
6260 @ifset en
6261 At present, 8 marks are prepared.
6262 @end ifset
6263
6264 @table @samp
6265 @ifset ja
6266 @item " "
6267 符号化しない。ただし、8 ビットのテキストは符号化されるかもしれない。
6268 @item B
6269 Base64
6270 @item Q
6271 Quoted-Printable
6272 @item G
6273 Gzip64(gzip 圧縮し Base64 で符号化する。Mew が実験的に採用している。相手
6274 が Mew を使っていない場合は、使用すべきではない。)
6275 @item PS
6276 PGP で電子署名。
6277 @item PE
6278 PGP で暗号化。
6279 @item SS
6280 S/MIME で電子署名。
6281 @item SE
6282 S/MIME で暗号化。
6283 @end ifset
6284 @ifset en
6285 @item " "
6286 No encoding. But 8bit text would be encoded.
6287 @item B
6288 Base64
6289 @item Q
6290 Quoted-Printable
6291 @item G
6292 Gzip64 (compressed with gzip then encoded with Base64. This is
6293 experimental. Do not use this if receivers do not use Mew.)
6294 @item PS
6295 Sign with PGP
6296 @item PE
6297 Encrypt with PGP
6298 @item SS
6299 Sign with S/MIME
6300 @item SE
6301 Encrypt with S/MIME
6302 @end ifset
6303 @end table
6304
6305 @ifset ja
6306 添付領域でのマークに関係する新しいキー割当は以下の通りです。
6307 @end ifset
6308 @ifset en
6309 Additional key binding for marks in attachments is as follows:
6310 @end ifset
6311
6312 @table @samp
6313 @ifset ja
6314 @item B
6315 Base64 で符号化するため @samp{B} マークを付ける。
6316 @item Q
6317 Quoted-Printable で符号化するため @samp{Q} マークを付ける。
6318 @item G
6319 Gzip64 で符号化するため @samp{G} マークを付ける。ただし、Text/Plain と
6320 Application/Postscript でしか実行できない。これ以外の型には圧縮は無意味
6321 である。なぜなら、jpeg などはあらかじめ圧縮されているから。
6322 @item S
6323 PGP で署名するため @samp{PS} マークを付ける。
6324 @item E
6325 PGP で暗号化するため @samp{PE} マークを付ける。受信者のアドレスを入力す
6326 る。
6327 @item M-s
6328 S/MIME で署名するため @samp{SS} マークを付ける。
6329 @item M-e
6330 S/MIME で暗号化するため @samp{SE} マークを付ける。受信者のアドレスを入
6331 力する。
6332 @item Z
6333 ZIP で直ちに暗号化する。暗号化された後は、@samp{B}マークが付く。
6334 @item U
6335 符号化を元に戻す。元々のマークに戻る。
6336 @end ifset
6337 @ifset en
6338 @item B
6339 Put the @samp{B} mark to encode with Base64.
6340 @item Q
6341 Put the @samp{Q} mark to encode with Quoted-Printable.
6342 @item G
6343 Put the @samp{G} mark to encode with Gzip64. This is applicable only to
6344 Text/Plain and Application/Postscript since compression is not effective
6345 with other objects. For example, JPEG is already compressed.
6346 @item S
6347 Put the @samp{PS} mark to sign with PGP.
6348 @item E
6349 Put the @samp{PE} mark to encrypt with PGP. Input decrypters' addresses.
6350 @item M-s
6351 Put the @samp{SS} mark to sign with S/MIME.
6352 @item M-e
6353 Put the @samp{SE} mark to encrypt with S/MIME. Input decrypters'
6354 addresses.
6355 @item Z
6356 Encrypt the part with ZIP immediately. After the encryption, the
6357 @samp{B} mark appears.
6358 @item U
6359 Unmark. The original mark appears.
6360 @end ifset
6361 @end table
6362
6363 @ifset ja
6364 次の例を考えてみましょう。パート 2 は PGP で署名され、"kazu" 用に PGP で
6365 暗号化されます。安心して下さい。説明の部分は上書きされていますが、保存さ
6366 れています。パート 3 は Gzip64 で符号化されます。
6367 @end ifset
6368 @ifset en
6369 Consider the following example: The second part will be signed with PGP
6370 then encrypted with PGP for "kazu". Don't be alarmed. Its description is
6371 overwritten but saved. The third part will be encoded with Gzip64.
6372 @end ifset
6373
6374 @ifset ja
6375 @example
6376 ----------------------------- attachments -----------------------------
6377 Multipart/Mixed 1/
6378 1 Text/Plain(guess) CoverPage*
6379 PSPE 2 Image/Gif kazu@@example.org mgp.gif
6380 G 3 Application/Postscript 資料 ohp.ps
6381 4 .
6382 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
6383 @end example
6384 @end ifset
6385 @ifset en
6386 @example
6387 ----------------------------- attachments -----------------------------
6388 Multipart/Mixed 1/
6389 1 Text/Plain(guess) CoverPage*
6390 PSPE 2 Image/Gif kazu@@example.org mgp.gif
6391 G 3 Application/Postscript Presentation Material ohp.ps
6392 4 .
6393 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
6394 @end example
6395 @end ifset
6396
6397 @ifset ja
6398 マークを付けた後は、@samp{C-cC-m} や @samp{C-cC-c} を使って、メッセージ
6399 を作成して下さい。
6400 @end ifset
6401 @ifset en
6402 After applying marks, type @samp{C-cC-m} or @samp{C-cC-c} to create
6403 messages.
6404 @end ifset
6405
6406 @c %%%%%%%%%%%%%%%%%
6407 @node pgp-key, anonymous, mark-b-comp, Composing
6408 @ifset ja
6409 @section PGP の鍵の配布
6410 @end ifset
6411 @ifset en
6412 @section PGP key distribution
6413 @end ifset
6414 @kindex p (Attach)
6415
6416 @ifset ja
6417 PGP の公開鍵を配布するには、Draft モードの添付領域で @samp{p} を押して下
6418 さい。だれの公開鍵を配布するか尋ねられます。自分の公開鍵であれば、単に
6419 @samp{RET} と入力して下さい。他人の公開鍵であれば、補完を利用しながらそ
6420 の人のアドレスを入力して下さい。PGP の公開鍵は、Application/Pgp-Keys と
6421 いうデータ型で配送されます。
6422 @end ifset
6423 @ifset en
6424 To distribute a PGP public key, please use @samp{p} on attachments in
6425 Draft mode. It asks whose public key you want to distribute. Just type
6426 @samp{RET} if it is yours. If you want to distribute someone else's key,
6427 input his e-mail address with completion. The PGP public key will
6428 distributed as Content-Type: Application/Pgp-Keys.
6429 @end ifset
6430
6431 @ifset ja
6432 Summary モード、あるいは、Virtual モードでメッセージを読んでいる際に、あ
6433 るパートのデータ型が Application/Pgp-Keys であれば、Mew は PGP の公開鍵
6434 リングにそれを登録しようとします。Mew は、「信用度」と「有効性」を全く考
6435 慮しないことに注意して下さい。これらの値を設定するのは、あなた自身です。
6436 設定は Mew が表示する説明に従って下さい。もし、「信用度」と「有効性」
6437 の意味が分からなければ、PGP を使って自分のプライバシを保護しようとする前
6438 に、PGP が提供する「信用の輪」とは何かを学ぶべきです。
6439 @end ifset
6440 @ifset en
6441 If Mew finds that the part is Application/Pgp-keys, it tries to add the
6442 PGP public key onto your PGP public keyring. Remember that Mew is not
6443 responsible for TRUST or VALIDITY. It is YOU who set these
6444 values. Please use the commands described by Mew to set these as
6445 necessary. If you do not know the meaning of TRUST and VALIDITY, you
6446 should learn the web of trust system provided by PGP BEFORE using PGP to
6447 protect your privacy.
6448 @end ifset
6449
6450 @c %%%%%%%%%%%%%%%%%
6451 @node anonymous, Marks, pgp-key, Composing
6452 @ifset ja
6453 @section 宛先を匿名にしたメッセージの送信
6454 @end ifset
6455 @ifset en
6456 @section Sending messages with anonymous receivers
6457 @end ifset
6458
6459 @ifset ja
6460 宛先を匿名にして、複数の受信者にメッセージを送信したいことがあります。
6461 @end ifset
6462 @ifset en
6463 You may occasionally wish to send a message to anonymous receivers.
6464 @end ifset
6465
6466 @ifset ja
6467 たとえば、pooh がパーティーへのお誘いを複数の友達に送ることを考えて下さ
6468 い。パーティーへ参加するという piglet からの返事は、pooh のみに送るべき
6469 です。しかし、To: にたくさんの友達を列挙していると、piglet は誤って多く
6470 の人に返答を送りつけてしまうかもしれません。そもそも、pooh は誰を誘った
6471 のか、当日までふせておきたいこともあるでしょう。
6472 @end ifset
6473 @ifset en
6474 For instance, please imagine that Pooh is trying to invite multiple
6475 friends to a party. Piglet should reply only to Pooh. However, Piglet
6476 might make a mistake of replying to other people if the addresses of all
6477 the invitees are listed in Cc:. Moreover, Pooh does not want to disclose
6478 the names of those who he invited until the day of the party.
6479 @end ifset
6480
6481 @ifset ja
6482 このような要望を実現するために、Mew では匿名の宛先として、":;" を利用し
6483 ます。以下の例を見て下さい。
6484 @end ifset
6485 @ifset en
6486 To handle this, Mew makes use of ":;" for anonymous addresses. Please
6487 look at the following example.
6488 @end ifset
6489
6490 @example
6491 To: party:piglet@@example.org,roo@@example.org;
6492 From: Pooh <winnie-the-pooh@@example.net>
6493 @end example
6494
6495 @ifset ja
6496 "party" という説明文字列の後に ":" があります。そして、いくつかアドレス
6497 が "," で区切られながら列挙され、";" で終端されています。このような形式
6498 でアドレスを書くと、Mew は ":" と ";" のアドレスにメッセージを届けますが、
6499 ヘッダからは削り取ります。この例では、piglet と roo は以下のようなメッセー
6500 ジを受け取ります。
6501 @end ifset
6502 @ifset en
6503 Here, there is a colon (":") after the explanatory comment
6504 @w{"}party". This is followed by some addresses that are delimited by
6505 "," and terminated by ";". If you write addresses in this format, Mew
6506 sends the message to the addresses with them removed form the
6507 header. In this example, Piglet and Roo will receive the following
6508 message.
6509 @end ifset
6510
6511 @example
6512 To: party:;
6513 From: Pooh <winnie-the-pooh@@example.net>
6514 @end example
6515
6516 @ifset ja
6517 受信者はこのヘッダから、送信者は pooh であることは分かりますが、自分以外
6518 の誰に送られたのかは、想像するほかありません。また、"party:;" という文字
6519 列は、アドレスではありませんから、ここに返答することも不可能です。
6520 @end ifset
6521 @ifset en
6522 The receiver knows that the sender is Pooh, but will not know who else
6523 received the message. Also, the string "party:;" is not address, so the
6524 receiver cannot reply to it.
6525 @end ifset
6526
6527 @ifset ja
6528 なお、To: や Cc: にたくさんのアドレスを列挙することは、本質的によいこと
6529 ではありません。特定の人にメッセージを何度も送信する機会があるなら、通常
6530 メーリングリストを作成します。
6531 @end ifset
6532 @ifset en
6533 You should understand that enumerating many addresses on To: or Cc: is
6534 basically not a good practice anyway. If you often have the occasion to
6535 send messages a set group of people, you should create a mailing-list.
6536 @end ifset
6537
6538 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6539 @c Marks
6540 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6541
6542 @node Marks, unread mark, anonymous, Top
6543 @ifset ja
6544 @chapter 愉快なマークたち
6545 @end ifset
6546 @ifset en
6547 @chapter Funny marks
6548 @end ifset
6549 @kindex x (Summary)
6550
6551 @ifset ja
6552 ここでは、Summary モードでユーザが付けたり消したりできるマークについて
6553 説明します。このマークは以下のように、行頭に付きます。(Mew が付けるマー
6554 クは日付の左に付くことに注意。)
6555 @end ifset
6556 @ifset en
6557 Here is a listing of marks that a user can use for insertion or
6558 deletion in Summary mode. This mark is displayed in the beginning of a
6559 line as follows: (Note that the marks that Mew inserts are displayed
6560 left side of date.)
6561 @end ifset
6562
6563 @example
6564 @ifset ja
6565 D 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック
6566 oM03/14 ももちゃん 能登の写真 |この前撮った写真を添付
6567 * 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店
6568 @end ifset
6569 @ifset en
6570 D 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
6571 oM03/14 Momo-chan The pictures of Noto |Attached are the pictu
6572 * 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd
6573 @end ifset
6574 @end example
6575
6576 @ifset ja
6577 現在利用できるマークは以下の 6 つです。
6578 @end ifset
6579 @ifset en
6580 There are six marks at present.
6581 @end ifset
6582
6583 @table @samp
6584 @ifset ja
6585 @item U
6586 未読マーク。
6587 @item D
6588 消去のマーク。
6589 @item X
6590 消去のマーク。
6591 @item o
6592 整頓、つまり、フォルダを移動させるマーク。
6593 @item *
6594 処理の対象とするマーク。
6595 @item $
6596 マークを一時的に待避するためのマーク。
6597 @end ifset
6598 @ifset en
6599 @item U
6600 The unread mark.
6601 @item D
6602 The delete mark.
6603 @item X
6604 The delete mark.
6605 @item o
6606 The refile mark, that is, to move a message to another folder.
6607 @item *
6608 The target mark.
6609 @item $
6610 The mark to save another mark temporarily.
6611 @end ifset
6612 @end table
6613
6614 @ifset ja
6615 マークを付けるだけでは、メッセージがなくなったりすることはありません。
6616 @samp{o}、@samp{D}、@samp{X} といったマークを実際に処理するコマンドは、
6617 @samp{x} です。マークを付けるのは気軽にできますが、@samp{x} を押すとき
6618 は慎重にお願いします。
6619 @end ifset
6620 @ifset en
6621 Just putting a mark on to a message does NOT process anything at all.
6622 It is typing @samp{x} that processes the marks including @samp{o},
6623 @samp{D}, @samp{X}. So, take it easy to put marks but take care to
6624 type @samp{x}.
6625 @end ifset
6626
6627 @ifset ja
6628 以下それぞれについて説明します。また、Mew が表示するマークについてもま
6629 とめます。
6630 @end ifset
6631 @ifset en
6632 The marks above are explained in sequence. The marks which Mew inserts
6633 are summarized here as well.
6634 @end ifset
6635
6636 @menu
6637 @ifset ja
6638 * unread mark:: 未読 @samp{U}
6639 * delete mark:: 消去 @samp{D}、@samp{X}
6640 * refile mark:: 整頓 @samp{o}
6641 * target mark:: 対象 @samp{*}
6642 * escape mark:: 待避 @samp{$}
6643 * unmark:: マークの消去
6644 * mark change:: マークの変換
6645 * sync:: IMAP サーバとのマークの整合性
6646 * off-line:: IMAP のためのマークのオフライン処理
6647 * mew-mark:: Mew が表示するマーク
6648 @end ifset
6649 @ifset en
6650 * unread mark:: Unread @samp{U}
6651 * delete mark:: Delete @samp{D} and @samp{X}
6652 * refile mark:: Refile @samp{o}
6653 * target mark:: Target @samp{*}
6654 * escape mark:: Escape @samp{$}
6655 * unmark:: Deleting marks
6656 * mark change:: Overwriting marks
6657 * sync:: Mark consistency against an IMAP server
6658 * off-line:: Processing marks off-line for IMAP
6659 * mew-mark:: Marks displayed by Mew
6660 @end ifset
6661 @end menu
6662
6663 @c %%%%%%%%%%%%%%%%%
6664 @node unread mark, delete mark, Marks, Marks
6665 @ifset ja
6666 @section 未読 @samp{U}
6667 @end ifset
6668 @ifset en
6669 @section Unread @samp{U}
6670 @end ifset
6671 @kindex zSPC
6672 @kindex M-u
6673 @vindex mew-use-unread-mark
6674 @vindex mew-delete-unread-mark-by-mark
6675
6676 @ifset ja
6677 以下のように設定すると、メッセージを一覧表示する際に、未読マーク
6678 @samp{U} がメッセージに付きます。
6679 @end ifset
6680 @ifset en
6681 With the following configuration, messages are marked with the unread
6682 mark @samp{U} when scanning the messages.
6683 @end ifset
6684
6685 @lisp
6686 (setq mew-use-unread-mark t)
6687 @end lisp
6688
6689 @ifset ja
6690 @samp{SPC}、@samp{n}、および @samp{p} などでメッセージを読むと
6691 @samp{U} マークは消えます。
6692 @end ifset
6693 @ifset en
6694 When you read a message with @samp{SPC}, @samp{n}, or @samp{p} and
6695 etc, the @samp{U} mark disappears.
6696 @end ifset
6697
6698 @ifset ja
6699 この三つのコマンドは、通常 @samp{*} マーク、@samp{U} マーク、およびマー
6700 クの付いていないメッセージを読み進みます。@samp{zSPC} を押すと、これら
6701 は @samp{*} マークと @samp{U} マークの付いたメッセージのみを読み進めま
6702 す。これは、未読のメッセージを読み進める場合に便利です。もう一度
6703 @samp{zSPC} を実行すると、対象とするメッセージが元に戻ります。
6704 @end ifset
6705 @ifset en
6706 These three commands read through messages marked with the @samp{*}
6707 mark, the @samp{U} mark, and non-marked messages. If you type
6708 @samp{zSPC}, they read through messages marked with the @samp{*} mark
6709 and the @samp{U} mark only. This is convenient to read through unread
6710 messages. Typing @samp{zSPC} again gets the target messages back.
6711 @end ifset
6712
6713 @ifset ja
6714 前のメッセージにマークを付けて、現在のメッセージに移動して来ると、
6715 @samp{U} マークは消えます。@samp{SPC}、@samp{n}、および @samp{p} で移動し
6716 て来た場合は、このメッセージを読むことを意図しているはずですが、マーク
6717 を付けることで移動した場合はメッセージを読むことを意図していないかもし
6718 れません。その場合、@samp{U} マークが消えると少し不便です。マークを付け
6719 ることで移動した際に、@samp{U} マークを消したくないのであれば、以下のよ
6720 うに設定するとよいでしょう。
6721 @end ifset
6722 @ifset en
6723 When you move onto the current message by putting a mark on the
6724 previous message, the @samp{U} mark is deleted. It's sure that you
6725 want to read the current message if you move onto it by @samp{SPC},
6726 @samp{n}, and @samp{p}. However, you might not intend to read the
6727 current message when you move onto it by putting a mark. If this is
6728 the case, this spec is inconvenient for you. If you want to retain the
6729 unread mark on the current message when you move onto it by putting a
6730 mark on the previous message, configure as follows:
6731 @end ifset
6732
6733 @lisp
6734 (setq mew-delete-unread-mark-by-mark nil)
6735 @end lisp
6736
6737 @ifset ja
6738 以下に @samp{U} マークに関するコマンドをまとめます。
6739 @end ifset
6740 @ifset en
6741 The followings are summary of commands related to the @samp{U} mark.
6742 @end ifset
6743
6744 @table @samp
6745 @ifset ja
6746 @item zSPC
6747 @samp{SPC}、@samp{n}、および @samp{p} が読み進める対象とするメッセージ
6748 を反転させる。反転とは、「@samp{U} マーク、@samp{*} マーク、およびマー
6749 クなし」と「@samp{U} マークおよび @samp{*} マーク」に対し、一方を他方へ
6750 変えること。
6751 @item M-u
6752 @samp{U} マークを付ける。
6753 @end ifset
6754 @ifset en
6755 @item zSPC
6756 Toggle the target of @samp{SPC}, @samp{n}, and @samp{p}. Toggling means
6757 change one to the other out of ``the @samp{U} mark, the @samp{*} mark,
6758 and non-mark'' and ``the @samp{U} mark and the @samp{*} mark''.
6759 @item M-u
6760 Put the @samp{U} mark to the current message.
6761 @end ifset
6762 @end table
6763
6764
6765 @c %%%%%%%%%%%%%%%%%
6766 @node delete mark, refile mark, unread mark, Marks
6767 @ifset ja
6768 @section 消去 @samp{D}、@samp{X}
6769 @end ifset
6770 @ifset en
6771 @section Delete @samp{D} and @samp{X}
6772 @end ifset
6773 @vindex mew-trash-folder
6774 @vindex mew-trash-folder-list
6775 @vindex mew-imap-trash-folder
6776 @vindex mew-imap-trash-folder-list
6777 @kindex d (Summary)
6778 @kindex M-d (Summary)
6779 @kindex x (Summary)
6780 @kindex mxd (Summary)
6781 @kindex mxM-d (Summary)
6782 @kindex md (Summary)
6783 @kindex mM-d (Summary)
6784 @kindex Md (Summary)
6785 @kindex D (Summary)
6786 @kindex C-uD (Summary)
6787
6788 @ifset ja
6789 メッセージを消去するには、まず Summary モードで @samp{d} を押して、
6790 @samp{D} マークを付けます。マークを付けただけでは何も起こらないので、間
6791 違って @samp{d} を押しても大丈夫です。デフォルトでは、@samp{x} を押すと
6792 @samp{D} マークの付いたメッセージがゴミ箱に移動します。
6793 @end ifset
6794 @ifset en
6795 If you want to delete a message, type @samp{d} in Summary mode to put
6796 the @samp{D} mark on it. Don't be worried about losing the message by
6797 mistake. Since putting the @samp{D} mark has no immediate effect, it
6798 does not result in a serious mistake. By default, typing @samp{x}
6799 moves messages marked with @samp{D} to a trash.
6800 @end ifset
6801
6802 @ifset ja
6803 ローカル・フォルダのためのゴミ箱は +trash です。IMAP のためのゴミ箱は、
6804 %trash です。
6805 @end ifset
6806 @ifset en
6807 For local folders, a trash is +trash. For IMAP, it is %trash.
6808 @end ifset
6809
6810 @ifset ja
6811 ゴミ箱の中のメッセージを実際に消去するには、以下の 2 つの方法があります。
6812 @end ifset
6813 @ifset en
6814 To really delete messages in the trashes, there are two methods:
6815 @end ifset
6816
6817 @enumerate
6818 @ifset ja
6819 @item
6820 Summary モードで @samp{D} を実行する。
6821 @item
6822 ゴミ箱で @samp{D} マークを付けて、@samp{x} を押す。
6823 @end ifset
6824 @ifset en
6825 @item
6826 Type @samp{D} in Summary mode.
6827 @item
6828 Put the @samp{D} mark in the trashes then type @samp{x}.
6829 @end ifset
6830 @end enumerate
6831
6832 @ifset ja
6833 もう少し正確に言うと、ローカル・フォルダでは以下のルールが適用されます。
6834 (@samp{mew-trash-folder} の初期値は +trash。
6835 @samp{mew-trash-folder-list} の初期値は @samp{nil}。)
6836 @end ifset
6837 @ifset en
6838 Exactly speaking, the following rule is applied for local folders.
6839 (@samp{mew-trash-folder} is default to +trash.
6840 @samp{mew-trash-folder-list} is default to @samp{nil}.)
6841 @end ifset
6842
6843 @itemize @minus
6844 @ifset ja
6845 @item @samp{mew-trash-folder} が @samp{nil} なら、@samp{D} マークの付いたメッ
6846 セージは消去される。
6847 @item @samp{mew-trash-folder-list} が定義されていたら、それらのフォルダ
6848 で @samp{D} マークを付けたメッセージは消去される。それ以外のフォルダからは
6849 @samp{mew-trash-folder} へ。
6850 @item @samp{mew-trash-folder-list} が @samp{nil} なら、
6851 @samp{mew-trash-folder} で @samp{D} マークを付けたメッセージは消去される。そ
6852 れ以外のフォルダからは @samp{mew-trash-folder} へ。(これが初期値。)
6853 @end ifset
6854 @ifset en
6855 @item If @samp{mew-trash-folder} is @samp{nil}, messages marked with
6856 @samp{D} are deleted.
6857 @item If @samp{mew-trash-folder-list} is defined, messages marked with
6858 @samp{D} in one of the folders defined in it are deleted. Otherwise,
6859 they are moved to the trash.
6860 @item If @samp{mew-trash-folder-list} is @samp{nl},
6861 messages marked with @samp{D} in @samp{mew-trash-folder} are deleted.
6862 Otherwise, they are moved to the trash. (This is default.)
6863 @end ifset
6864 @end itemize
6865
6866 @ifset ja
6867 IMAP に対しては、@samp{mew-imap-trash-folder} と
6868 @samp{mew-imap-trash-folder-list} に従って、同じ規則が適用されます。
6869 @end ifset
6870 @ifset en
6871 For IMAP, the same rule is applied according to both
6872 @samp{mew-imap-trash-folder} and @samp{mew-imap-trash-folder-list}
6873 @end ifset
6874
6875 @ifset ja
6876 すべての @samp{*} マークを @samp{D} マークに変換できれば、一度にたくさ
6877 んの @samp{D} マークを付けられて便利です。これには、@samp{md} を利用して
6878 下さい。
6879 @end ifset
6880 @ifset en
6881 It is convenient if you can change the @samp{*} mark to the @samp{D}
6882 mark since you can put many the @samp{D} marks at once. To achieve this,
6883 use @samp{md}.
6884 @end ifset
6885
6886 @ifset ja
6887 また、@samp{Md} を使うと、現在のフォルダ内で同じ Message-Id: を持つメッ
6888 セージがある場合、1 つを残して他のメッセージに @samp{D} が付きます。
6889 @end ifset
6890 @ifset en
6891 Also, typing @samp{Md} put the @samp{D} mark to all duplicated
6892 messages excluding one for each.
6893 @end ifset
6894
6895 @ifset ja
6896 @samp{D} マークに似たものに @samp{X} マークがあります。このマークの付け
6897 られたメッセージは、@samp{x} を押した際に必ず消去されます。@samp{X} マー
6898 クは、@samp{M-d} で付けることができます。
6899 @end ifset
6900 @ifset en
6901 There is also another mark, @samp{X}, which is like the mark @samp{D}.
6902 Messages marked with @samp{X} are deleted when @samp{x} is typed. The
6903 @samp{X} mark can be put by @samp{M-d}.
6904 @end ifset
6905
6906 @ifset ja
6907 @samp{mxM-d} で、@samp{X} マークが付いたメッセージだけを処理できます。
6908 すべての @samp{*} マークを @samp{X} マークに変換するコマンドは、
6909 @samp{mM-d} です。
6910 @end ifset
6911 @ifset en
6912 @samp{mxM-d} processes messages marked with @samp{X} only. Typing
6913 @samp{mM-d} converts all @samp{*} marks to @samp{X}.
6914 @end ifset
6915
6916
6917 @ifset ja
6918 以下に、@samp{D} マークと @samp{X} マークに関するコマンドをまとめます。
6919 @end ifset
6920 @ifset en
6921 The following is a summary regarding with the @samp{D} mark and the
6922 @samp{X} mark.
6923 @end ifset
6924
6925 @table @samp
6926 @ifset ja
6927 @item d
6928 @samp{D} マークを付ける。
6929 @item M-d
6930 @samp{X} マークを付ける。
6931 @item md
6932 @samp{*} マークを @samp{D} マークへ変換する。
6933 @item mM-d
6934 @samp{*} マークを @samp{X} マークへ変換する。
6935 @item x
6936 マークの付いたメッセージを処理する。
6937 @item mxd
6938 @samp{D} マークの付いたメッセージのみを処理する。
6939 @item mxM-d
6940 @samp{X} マークの付いたメッセージのみを消去する。
6941 @item D
6942 ゴミ箱の中のメッセージを全部消去する。
6943 @item C-uD
6944 指定されたフォルダのメッセージを全部消去する。
6945 @end ifset
6946 @ifset en
6947 @item d
6948 Put the @samp{D} mark.
6949 @item M-d
6950 Put the @samp{X} mark.
6951 @item md
6952 Convert all @samp{*} marks to @samp{D}.
6953 @item mM-d
6954 Convert all @samp{*} marks to @samp{X}.
6955 @item x
6956 Process marked messages.
6957 @item mxd
6958 Process messages marked with @samp{D} only.
6959 @item mxM-d
6960 Delete messages marked with @samp{X} only.
6961 @item D
6962 Delete all messages in a trash.
6963 @item C-uD
6964 Delete all messages in a specified folder.
6965 @end ifset
6966 @end table
6967
6968 @c %%%%%%%%%%%%%%%%%
6969 @node refile mark, target mark, delete mark, Marks
6970 @ifset ja
6971 @section 整頓 @samp{o}
6972 @end ifset
6973 @ifset en
6974 @section Refile @samp{o}
6975 @end ifset
6976 @kindex o (Summary)
6977
6978 @ifset ja
6979 メッセージを整頓するには @samp{o} を押して、移動先のフォルダを入力し、
6980 @samp{o} マークを付けます。移動先のフォルダは、賢く推測してくれるので、
6981 ほどんどの場合はフォルダ名を入力する代わりに @samp{RET} を押すだけです。
6982 "," で区切って複数のフォルダを入力することもできます。もちろん、
6983 @samp{TAB} で補完できます。詳しくは @xref{Refile} を参照して下さい。
6984 @end ifset
6985 @ifset en
6986 To refile a message, type @samp{o} and input a folder name, then
6987 @samp{o} is put. A folder is guessed neatly, so most time what you
6988 should to is just type @samp{RET}. For more information, refer to
6989 @ref{Refile}.
6990 @end ifset
6991
6992 @ifset ja
6993 @samp{o} マークの付いたメッセージの上で @samp{o} を押すと、移動先を追加
6994 したり変更したりできます。また、実際の移動は @samp{x} と入力されたときに
6995 実行されます。
6996 @end ifset
6997 @ifset en
6998 If you type @samp{o} on a message marked with @samp{o}, the refile
6999 folder is shown. When typing @samp{x}, messages marked with @samp{o} are
7000 actually refiled.
7001 @end ifset
7002
7003 @ifset ja
7004 複数のフォルダを指定し、移動させたときのことを考えましょう。ハードリンク
7005 の機能を持つファイルシステムを使っている場合、そのメッセージは最初のフォ
7006 ルダに移動され、その他のフォルダからはハードリンクが張られます。そうでな
7007 いファイルシステムの場合は、最初のフォルダに移動後、その他のフォルダへ複
7008 製されます。
7009 @end ifset
7010 @ifset en
7011 Consider that you specify multiple folders and refiles actually. If your
7012 file system has hard link, the message is moved to the first folder, and
7013 hard links are created from the other folders. Otherwise, the message is
7014 moved to the first folder, and it is copied to the other folders.
7015 @end ifset
7016
7017 @ifset ja
7018 指定したフォルダが 1 つで、しかもそれが現在のフォルダである場合、整頓し
7019 てもなにも起こりません。指定したフォルダが複数で、現在のフォルダが含まれ
7020 る場合、現在のフォルダ内での番号を保ったまま、その他のフォルダからハード
7021 リンクが張られるか、その他のフォルダへ複製されます。
7022 @end ifset
7023 @ifset en
7024 If the number of specified folders are 1, and it is the current folder,
7025 refiling means do nothing. If the number is more than two and the
7026 current folder is included, refiling means that the message number in
7027 the current folder remains and hard links are created from the other
7028 folders (or it is copied to the other folders).
7029 @end ifset
7030
7031 @ifset ja
7032 @samp{o} に似ていますが、かならず現在のフォルダも候補として提示する
7033 @samp{c} というコマンドも用意されています。
7034 @end ifset
7035 @ifset en
7036 Mew provides @samp{c} which is very similar to @samp{o}. @samp{c} shows
7037 the current folder as a candidate in addition to guessed folders.
7038 @end ifset
7039
7040 @ifset ja
7041 以下に、@samp{o} マークに関するコマンドをまとめます。
7042 @end ifset
7043 @ifset en
7044 A summary about the @samp{o} mark is here.
7045 @end ifset
7046
7047 @table @samp
7048 @ifset ja
7049 @item o
7050 @samp{o} マークを付ける。
7051 @item c
7052 @samp{o} マークを付ける。推測したフォルダに加えて、現在のフォルダも候補
7053 として提示する。
7054 @item x
7055 @samp{o} マークの付いたメッセージを移動させる。
7056 @item mxo
7057 @samp{o} マークの付いたメッセージのみを移動させる。他のマークは処理しない。
7058 @item C-umxo
7059 @samp{o} マークの付いたメッセージの中で、現在のメッセージと同じ移動先を
7060 持つもののみを移動させる。
7061 @end ifset
7062 @ifset en
7063 @item o
7064 Put the @samp{o} mark.
7065 @item c
7066 Put the @samp{o} mark. Showing the current folder as a candidate in
7067 addition to guessed folders.
7068 @item x
7069 Refile messages marked with @samp{o}.
7070 @item mxo
7071 Refile messages marked with @samp{o} only. This command does not process
7072 other marks.
7073 @item C-umxo
7074 Refile messages marked with @samp{o}, whose destination is the same as
7075 that of the current message.
7076 @end ifset
7077 @end table
7078
7079 @c %%%%%%%%%%%%%%%%%
7080 @node target mark, escape mark, refile mark, Marks
7081 @ifset ja
7082 @section 対象 @samp{*}
7083 @end ifset
7084 @ifset en
7085 @section Target @samp{*}
7086 @end ifset
7087 @kindex * (Summary)
7088 @kindex N (Summary)
7089 @kindex P (Summary)
7090 @kindex ma (Summary)
7091 @kindex mr (Summary)
7092 @kindex F (Summary)
7093 @kindex J (Summary)
7094 @kindex mI (Summary)
7095 @kindex C-umI (Summary)
7096 @kindex M-b (Summary)
7097 @kindex M-\ (Summary)
7098 @kindex M-t (Summary)
7099
7100 @ifset ja
7101 後から読み返したいメッセージには、@samp{*} で @samp{*} マークを付けて下
7102 さい。また、選択コマンド @samp{?} を使うと、入力した条件にマッチするメッ
7103 セージに @samp{*} マークが付きます(詳しくは、@xref{search} を参照して下さい)。
7104 @samp{N} や @samp{P} で @samp{*} マークの付いたメッセージに移動し表示で
7105 きます。
7106 @end ifset
7107 @ifset en
7108 Please put the @samp{*} mark onto messages that you want to review
7109 later. @samp{?} also put the @samp{*} mark onto matched messages (for
7110 more information, refer to @ref{search}). Use @samp{N} and @samp{P} to
7111 walk around messages marked with @samp{*}.
7112 @end ifset
7113
7114 @ifset ja
7115 以下に、@samp{*} に関連するコマンドを示します。
7116 @end ifset
7117 @ifset en
7118 Here is a summary for @samp{*} commands.
7119 @end ifset
7120
7121 @table @samp
7122 @ifset ja
7123 @item *
7124 @samp{*} マークを付ける。
7125 @item N
7126 下方向の @samp{*} マークの付いたメッセージへ移動し表示。
7127 @item P
7128 上方向の @samp{*} マークの付いたメッセージへ移動し表示。
7129 @item ma
7130 マークの付いていないメッセージすべてに @samp{*} マークを付ける。
7131 @item mr
7132 入力した正規表現にマッチしたメッセージに @samp{*} マークを付ける。
7133 @end ifset
7134 @ifset en
7135 @item *
7136 Put the @samp{*} mark.
7137 @item N
7138 Jump to the message marked with @samp{*} below and display it.
7139 @item P
7140 Jump to the message marked with @samp{*} above and display it.
7141 @item ma
7142 Put the @samp{*} mark to all unmarked messages.
7143 @item mr
7144 Put the @samp{*} mark to all matching messages with specified regular
7145 expression.
7146 @end ifset
7147 @end table
7148
7149 @ifset ja
7150 @samp{*} マークは、複数のメッセージを処理するためにも利用します。
7151 以下に複数のメッセージを処理するコマンドを示します。
7152 @end ifset
7153 @ifset en
7154 The @samp{*} mark is used to handle multiple messages. The following
7155 is a list of commands which handle multiple messages.
7156 @end ifset
7157
7158 @table @samp
7159 @ifset ja
7160 @item F
7161 @samp{*} マークの付いたメッセージを MIME 形式で転送するための草稿を準備。
7162 @item J
7163 大きなメッセージは Message/Partial として複数に分割されている場合がある。
7164 これらのメッセージには、Mew によって @samp{P} マークが付けられている。こ
7165 こで、ユーザがそれらのメッセージに @samp{*} マークを付け、このコマンド
7166 を実行すれば、元のメッセージが復元される。
7167 @item mI
7168 @samp{*} マークの付いている一部だけが取得されたメッセージ群(@samp{T})を
7169 取得する。
7170 @item C-umI
7171 @samp{mI} を実行する。
7172 @item M-b
7173 @samp{*} マークの付いたメッセージに格納されているメッセージを取り出す。
7174 @item M-\
7175 @samp{*} マークの付いたメッセージを引数として、外部コマンドを起動する。
7176 @item M-t
7177 @samp{*} マークの付いたメッセージを "uudecode" する。
7178 @end ifset
7179 @ifset en
7180 @item F
7181 Prepare a draft to forward multiple messages marked with @samp{*} in MIME
7182 format.
7183 @item J
7184 A large message is occasionally fragmented into multiple messages whose
7185 Content-Type: is Message/Partial. Mew puts the @samp{P} mark to these
7186 messages. Now a user marks these messages with @samp{*} and executing
7187 this commands results in producing the original message.
7188 @item mI
7189 Retrieve the rest of truncated(@samp{T}) messages marked with
7190 @samp{*}.
7191 @item C-umI
7192 Perform @samp{mI}.
7193 @item M-b
7194 De-capsulate messages embedded in the messages marked with @samp{*}.
7195 @item M-\
7196 Executing an external command specifying messages marked with @samp{*}
7197 as arguments.
7198 @item M-t
7199 Apply "uudecode" on messages marked with @samp{*}.
7200 @end ifset
7201 @end table
7202
7203 @ifset ja
7204 @samp{M-t} では、@samp{*} マークの付いたメッセージがきちんと分割順になっ
7205 ている必要があります。順番がくるっているなら、@samp{S} でソートするとよ
7206 いかもしれません。
7207 @end ifset
7208 @ifset en
7209 For @samp{M-t}, messages marked with @samp{*} are supposed to be in
7210 the right order. If out of order, sorting with @samp{S} would help.
7211 @end ifset
7212
7213 @c %%%%%%%%%%%%%%%%%
7214 @node escape mark, unmark, target mark, Marks
7215 @ifset ja
7216 @section 待避 @samp{$}
7217 @end ifset
7218 @ifset en
7219 @section Escape @samp{$}
7220 @end ifset
7221 @kindex m$
7222 @kindex m*
7223
7224 @ifset ja
7225 たとえば @samp{/} などを使いパターンに合致したメッセージに @samp{*} を
7226 付けることを考えて下さい。@samp{*} マークの付いたメッセージがすでにある
7227 なら、これらのメッセージは @samp{/} の結果と混ざってしまいます。そこで、
7228 現在の @samp{*} マークを一時的に保存したくなります。
7229 @end ifset
7230 @ifset en
7231 Suppose that you want to put the @samp{*} marks to messages matched to
7232 a pattern specified to the @samp{/} command. If there are messages
7233 marked with @samp{*} already, these messages are merged to the results
7234 of @samp{/}. Thus, you would want to escape the current messages
7235 marked with @samp{*}.
7236 @end ifset
7237
7238 @ifset ja
7239 この目的のために、待避マーク @samp{$} が提供されています。典型的な
7240 使い方は、以下のようになります。
7241 @end ifset
7242 @ifset en
7243 For this sake, the escape mark @samp{$} is provided. A typical usage
7244 is as follows:
7245 @end ifset
7246
7247 @enumerate
7248 @ifset ja
7249 @item
7250 @samp{m$} で @samp{*} マークを一旦 @samp{$} マークに待避
7251 @item
7252 @samp{/} などで @samp{*} マークを付け、@samp{*} マークのついたメッセージを処理
7253 @item
7254 @samp{U*} で @samp{*} マークを消去
7255 @item
7256 @samp{m*} で @samp{$} マークを @samp{*} マークへ戻す
7257 @end ifset
7258 @ifset en
7259 @item
7260 Change the @samp{*} marks to the @samp{$} marks with @samp{m$}.
7261 @item
7262 Put the @samp{*} marks to messages, for instance, with @samp{/} and
7263 process the messages marked with @samp{*}.
7264 @item
7265 Cancel the @samp{*} marks with @samp{U*}.
7266 @item
7267 Get the old @samp{*} marks back with @samp{m*}.
7268 @end ifset
7269 @end enumerate
7270
7271 @ifset ja
7272 @samp{$} マークに関するコマンドを以下にまとめます。
7273 @end ifset
7274 @ifset en
7275 Here is summary of the commands related to the @samp{$} mark.
7276 @end ifset
7277
7278 @table @samp
7279 @ifset ja
7280 @item m$
7281 @samp{*} マークを @samp{$} マークへ変換。
7282 @item m*
7283 @samp{$} マークを @samp{*} マークへ変換。
7284 @end ifset
7285 @ifset en
7286 @item m$
7287 Change the @samp{*} marks to the @samp{$} marks.
7288 @item m*
7289 Change the @samp{$} marks to the @samp{*} marks.
7290 @end ifset
7291 @end table
7292
7293 @c %%%%%%%%%%%%%%%%%
7294 @node unmark, mark change, escape mark, Marks
7295 @ifset ja
7296 @section マークの消去
7297 @end ifset
7298 @ifset en
7299 @section Deleting marks
7300 @end ifset
7301 @kindex x (Summary)
7302 @kindex u (Summary)
7303 @kindex U (Summary)
7304 @kindex M* (Summary)
7305
7306 @ifset ja
7307 @samp{o} マークや @samp{D} マークが付いたメッセージは、マーク実行コマン
7308 ド @samp{x} を押さない限り処理されません。よって、@samp{x} を押す前に、
7309 マークを取り止めるコマンド @samp{u} でマークを消せば、誤ってメッセージを
7310 消すことはありません。
7311 @end ifset
7312 @ifset en
7313 Refiling and deleting is not processed unless you type @samp{x}. So, if
7314 you press @samp{u} to unmark before you type @samp{x}, messages do not
7315 disappear accidentally.
7316 @end ifset
7317
7318 @ifset ja
7319 以下にマークを消去するコマンドをまとめます。
7320 @end ifset
7321 @ifset en
7322 Here is a summary for unmark commands.
7323 @end ifset
7324
7325 @table @samp
7326 @ifset ja
7327 @item u
7328 現在のメッセージのマークを消す。
7329 @item U
7330 入力したマークが付いているすべてのメッセージのマークを消す。
7331 @end ifset
7332 @ifset en
7333 @item u
7334 Cancel the mark on this message.
7335 @item U
7336 Cancel all marks according to what you input.
7337 @end ifset
7338 @end table
7339
7340 @ifset ja
7341 @samp{$} マークを使って @samp{*} マークを待避し、なんらかの操作をし、元
7342 に戻す方法は、目に見えるので分りやすいです。しかしながら、@samp{$} マー
7343 クが付いているメッセージは、マークが付いているので目的の操作の対象外に
7344 なるかもしれません。
7345 @end ifset
7346 @ifset en
7347 The method with the @samp{$} mark, that is, preserve the @samp{*}
7348 marks and operate something then get them back, is friendly to users
7349 since it is visible. But since messages are marked, they would not be
7350 the targets of the operation.
7351 @end ifset
7352
7353 @ifset ja
7354 このため @samp{U*} で消去した @samp{*} マークを復活させるコマンドがあり
7355 ます。それは、@samp{M*} です。この方法は、復活できるマークは目に見えな
7356 いので分りにくいかもしれません。しかしながら、マークが消えているので、
7357 そのメッセージは確実に目的の操作の対象になります。
7358 @end ifset
7359 @ifset en
7360 To solve this problem, a method to recover @samp{*} marks is provided.
7361 The command is bound to @samp{M*}. This method would not be friendly
7362 to users since the @samp{*} marks to recover are invisible. But
7363 because the marks are canceled, these message are surely the target of
7364 any operations.
7365 @end ifset
7366
7367 @table @samp
7368 @ifset ja
7369 @item M*
7370 一番最後の @samp{U*} で消した @samp{*} マークを復活させる。
7371 @end ifset
7372 @ifset en
7373 @item M*
7374 Recover the @samp{*} marks which are canceled by the last @samp{U*}.
7375 @end ifset
7376 @end table
7377
7378
7379 @c %%%%%%%%%%%%%%%%%
7380 @node mark change, sync, unmark, Marks
7381 @ifset ja
7382 @section マークの変換
7383 @end ifset
7384 @ifset en
7385 @section Overwriting marks
7386 @end ifset
7387 @kindex m$ (Summary)
7388 @kindex m* (Summary)
7389 @kindex ms (Summary)
7390 @kindex mM-u (Summary)
7391 @kindex md (Summary)
7392 @kindex mM-d (Summary)
7393 @kindex mo (Summary)
7394 @kindex mc (Summary)
7395
7396 @ifset ja
7397 マークには強さのレベルがあります。同じレベルのマークは上書きできます。
7398 強いマークは弱いマークを上書きできます。
7399 @end ifset
7400 @ifset en
7401 Marks have levels of strength. You can override a mark by another
7402 same-level mark weak mark. Also stronger marks can override weaker
7403 marks.
7404 @end ifset
7405
7406 @ifset ja
7407 マークを強い順に示します。
7408 @end ifset
7409 @ifset en
7410 The followings shows the marks in the strong order:
7411 @end ifset
7412
7413 @table @asis
7414 @ifset ja
7415 @item @samp{o}、@samp{D}、@samp{X}
7416 新たにマークしたときは、次のメッセージを表示。上書きした場合は、その行に
7417 留まる。
7418 @item @samp{*} と @samp{$}
7419 マークを付けた後は、その行に留まる。
7420 @item @samp{U}
7421 マークを付けた後は、その行に留まる。
7422 @end ifset
7423 @ifset en
7424 @item @samp{o}, @samp{D}, and @samp{X}
7425 After marking a message newly, the next message is shown. After
7426 overriding another mark, the cursor stays on the message.
7427 @item @samp{*} and @samp{$}
7428 After marking a message, the cursor stays on the message.
7429 @item @samp{U}
7430 After marking a message, the cursor stays on the message.
7431 @end ifset
7432 @end table
7433
7434 @ifset ja
7435 強いマークを付けた後にカーソルが動く方向については、@xref{summary-mode}
7436 を参照して下さい。
7437 @end ifset
7438 @ifset en
7439 refer to @ref{summary-mode} to know which direction the cursor moves
7440 after putting a strong mark.
7441 @end ifset
7442
7443 @ifset ja
7444 マークは以下のように交換できます。
7445 @end ifset
7446 @ifset en
7447 You can exchange marks as follows:
7448 @end ifset
7449
7450 @table @samp
7451 @ifset ja
7452 @item m$
7453 @samp{*} -> @samp{$} :: @samp{*} マークを一時的に保存。
7454 @item m*
7455 @samp{$} -> @samp{*} :: @samp{*} マークを元に戻す。
7456 @item ms
7457 @samp{$} <-> @samp{*}
7458 @item mM-u
7459 @samp{*} -> @samp{U} :: 選択コマンド @samp{?} で選んだメッセージを未読
7460 にするときに便利。
7461 @item md
7462 @samp{*} -> @samp{D} :: 選択コマンド @samp{?} で選んだメッセージを消去す
7463 るときに便利。
7464 @item mM-d
7465 @samp{*} -> @samp{X} :: 選択コマンド @samp{?} で選んだメッセージを消去す
7466 るときに便利。
7467 @item mo
7468 @samp{*} -> @samp{o} :: 選択コマンド @samp{?} で選んだメッセージをあるフォ
7469 ルダに移動させる場合に便利。
7470 @item mc
7471 @samp{*} -> @samp{o} :: 選択コマンド @samp{?} で選んだメッセージをあるフォ
7472 ルダにコピーする場合に便利。
7473 @item e
7474 最初に入力したマークを次に入力したマークへ変換する。ただし、@samp{o} マー
7475 クは対象外。
7476 @end ifset
7477 @ifset en
7478 @item m$
7479 @samp{*} -> @samp{$} :: Preserve the @samp{*} marks temporarily.
7480 @item m*
7481 @samp{$} -> @samp{*} :: Get the @samp{*} marks back.
7482 @item ms
7483 @samp{$} <-> @samp{*}
7484 @item mM-u
7485 @samp{*} -> @samp{U} :: It is useful when you put @samp{U} marks to
7486 messages picked by @samp{?}.
7487 @item md
7488 @samp{*} -> @samp{D} :: It is useful when you put @samp{D} marks to
7489 messages picked by @samp{?}.
7490 @item mM-d
7491 @samp{*} -> @samp{X} :: It is useful when you put @samp{X} marks to
7492 messages picked by @samp{?}.
7493 @item mo
7494 @samp{*} -> @samp{o} :: It is useful when you put @samp{o} marks to
7495 messages to be moved picked by @samp{?}.
7496 @samp{*} -> @samp{o} :: It is useful when you put @samp{o} marks to
7497 messages to be copied picked by @samp{?}.
7498 @item e
7499 Exchange the first input mark to the second one. The @samp{o} mark is
7500 not exchangeable.
7501 @end ifset
7502 @end table
7503
7504 @c %%%%%%%%%%%%%%%%%
7505 @node sync, off-line, mark change, Marks
7506 @ifset ja
7507 @section IMAP サーバとのマークの整合性
7508 @end ifset
7509 @ifset en
7510 @section Mark consistency against an IMAP server
7511 @end ifset
7512
7513 @ifset ja
7514 Mew では、以下のマークに対し、IMAP サーバと整合性を確保できます。
7515 @end ifset
7516 @ifset en
7517 Mew can maintain consistency of the following marks against an IMAP
7518 server:
7519 @end ifset
7520
7521 @table @samp
7522 @ifset ja
7523 @item U
7524 メッセージを読んだか否か。IMAP のフラグは \Seen。通常は %inbox のみで有
7525 効。
7526 @item *
7527 注目しているメッセージ。IMAP のフラグは \Flagged。
7528 @end ifset
7529 @ifset en
7530 @item U
7531 Whether a message is read or not. This IMAP flag is \Seen. This is
7532 usually valid in %inbox only.
7533 @item *
7534 Review mark. This IMAP flag is \Flagged.
7535 @end ifset
7536 @end table
7537
7538 @ifset ja
7539 オフラインの操作を許すために、Mew ではユーザが動作を起こすたびに IMAP
7540 サーバとマークの整合性を取ります。定期的に整合性を取ることはしません。
7541 Mew がマークの整合性を取る方法を以下に示します。
7542 @end ifset
7543 @ifset en
7544 To allow off-line operations, Mew synchronizes marks with an IMAP
7545 server everytime when a user makes an action. Mew does not
7546 automatically synchronize marks repeatedly. The followings are how Mew
7547 synchronizes marks.
7548 @end ifset
7549
7550 @enumerate
7551 @ifset ja
7552 @item
7553 @samp{s} + 'update
7554 @itemize @minus
7555 @item 既存のメッセージに対して変更したマークをサーバ側へ反映
7556 @item 新着メッセージに対しては、サーバ側のフラグをマークへ反映
7557 @end itemize
7558
7559 @item
7560 @samp{x}
7561 @itemize @minus
7562 @item 既存のメッセージに対して変更したマークをサーバ側へ反映
7563 @end itemize
7564
7565 @item
7566 @samp{s} + 'sync
7567 @itemize @minus
7568 @item 既存のメッセージに対して変更したマークをサーバ側へ反映
7569 @item 既存のメッセージの @samp{*},@samp{U}, @samp{$}, @samp{ } マークを一旦クリア
7570 @item サーバ側のフラグを既存のメッセージにマークとして反映
7571 @item サーバ側で削除されたメッセージを削除
7572 @end itemize
7573 @end ifset
7574 @ifset en
7575 @item
7576 @samp{s} + 'update
7577 @itemize @minus
7578 @item Reflecting modified marks of the existing messages to the server
7579 @item For newly arrived messages, reflecting flags of the server to
7580 the messages.
7581 @end itemize
7582
7583 @item
7584 @samp{x}
7585 @itemize @minus
7586 @item Reflecting modified marks of the existing messages to the server
7587 @end itemize
7588
7589 @item
7590 @samp{s} + 'sync
7591 @itemize @minus
7592 @item Reflecting modified marks of the existing messages to the server
7593 @item Clearing @samp{*},@samp{U}, @samp{$}, @samp{ } mark on the existing messages.
7594 @item Reflecting flags of the server to the existing messages
7595 @item Removing messages which were deleted in the server
7596 @end itemize
7597 @end ifset
7598 @end enumerate
7599
7600 @c %%%%%%%%%%%%%%%%%
7601 @node off-line, mew-mark, sync, Marks
7602 @ifset ja
7603 @section IMAP のためのマークのオフライン処理
7604 @end ifset
7605 @ifset en
7606 @section Processing marks off-line for IMAP
7607 @end ifset
7608 @kindex lx
7609 @kindex C-cC-c (Summary)
7610 @kindex s (Summary)
7611
7612 @ifset ja
7613 IMAP ユーザは、フォルダ A のメッセージをキャッシュし、出先で @samp{o}
7614 マークや @samp{D} マークを付け、その場でそれらのマークを処理したくなる
7615 ことがあります。この場合、その後ネットワークに接続したときに、それらの
7616 処理が IMAP サーバに反映されて欲しいと思います。
7617 @end ifset
7618 @ifset en
7619 An IMAP user may want to cache messages in folder A and go out. Then he
7620 may want to put the @samp{o} and/or @samp{D} marks, and process the
7621 marks off-line. In this story, these jobs should be done in his IMAP
7622 server after connecting the Internet.
7623 @end ifset
7624
7625 @ifset ja
7626 通常 IMAP では、メッセージをフォルダ A からフォルダ B へ移動させた場合、
7627 フォルダ A にキャッシュされているそのメッセージを削除し、IMAP サーバから
7628 ネットワークを通じ、フォルダ B へそのメッセージをキャッシュし直す必要が
7629 あります。なぜなら、フォルダ A にキャッシュされているメッセージに付随す
7630 る IMAP の情報は、フォルダ A 内でのみ有効だからです。
7631 @end ifset
7632 @ifset en
7633 If a message in folder A is moved to folder B with IMAP, the cached
7634 message in folder A usually must be deleted and a corresponding message
7635 in folder B must be retrieved from his IMAP server again. This is
7636 because information embedded in a cached message in folder A is valid
7637 only in folder A.
7638 @end ifset
7639
7640 @ifset ja
7641 出先でフォルダ A のメッセージをフォルダ B へ整理したとしましょう。仮に、
7642 そのメッセージをフォルダ B で読むためには、ネットワークに接続してその処
7643 理を IMAP サーバに反映し、IMAP サーバから取り直さないといけないとすると
7644 不便です。欲を言えば、出先でフォルダ B へ整理したメッセージは、IMAP サー
7645 バから取り直さなくとも、フォルダ B へ移動すれば読めるようになっていて欲
7646 しいと思います。
7647 @end ifset
7648 @ifset en
7649 Suppose you refile a message in folder A to folder B off-line. It is
7650 very inconvenient for you to retrieve a corresponding message in folder
7651 B from your IMAP server , in order to read it, after refile jobs are
7652 done online. You may want to read the messages refiled to folder B by
7653 just going to the folder B, without retrieval form the IMAP server.
7654 @end ifset
7655
7656 @ifset ja
7657 Mew では、メッセージ処理を後から IMAP サーバへ反映することと、IMAP サー
7658 バからメッセージを再取得しなくても移動先のフォルダでメッセージを読めるこ
7659 との両方を実現しています。ネットワークに接続していない状況で、マークを処
7660 理するには、@samp{lx} を使用して下さい。@samp{lx} を実行すると、以下の処
7661 理がなされます。
7662 @end ifset
7663 @ifset en
7664 Mew implements delayed jobs processing and viewing refiled messages
7665 without retrieval. If you want to process marks off-line, type @samp{lx}.
7666 @samp{lx} carries out the following jobs.
7667 @end ifset
7668
7669 @enumerate
7670 @ifset ja
7671 @item
7672 @samp{o} マークや @samp{D} マークのついたメッセージがフォルダ A からなく
7673 なる。
7674 @item
7675 この処理はメッセージ形式で、%queue に溜る。
7676 @item
7677 @samp{o} マークのついたメッセージは、ローカルでフォルダ B へ移動され、無
7678 効なメッセージとして扱われる。
7679 @end ifset
7680 @ifset en
7681 @item
7682 Deleting messages marked with @samp{o} and/or @samp{D} from folder A.
7683 @item
7684 Queuing these jobs in %queue.
7685 @item
7686 Moving messages marked with @samp{o} to folder B and marking them
7687 invalid.
7688 @end ifset
7689 @end enumerate
7690
7691 @ifset ja
7692 無効なメッセージとは、読むことはできるが、@samp{o} マークや @samp{D} マー
7693 クをつけられないものをいいます。無効なメッセージには、@samp{#} マークが
7694 付いています。@samp{g} を使って、フォルダ B へ行くと、無効なメッセージ
7695 の一覧が自動的に表示されます。
7696 @end ifset
7697 @ifset en
7698 'invalid' means that you can read it but you cannot put the
7699 @samp{o}/@samp{D} mark on it. Invalid messages are marked with
7700 @samp{#}. When you go to folder B by typing @samp{g}, a list of
7701 invalid messages is displayed automatically.
7702 @end ifset
7703
7704 @ifset ja
7705 ネットワークに接続した後に、%queue に溜っている処理を IMAP サーバに反映さ
7706 せるには、%queue で @samp{C-cC-c} と入力して下さい。
7707 @end ifset
7708 @ifset en
7709 If you want to let your IMAP server process jobs in %queue after you get
7710 back online, type @samp{C-cC-c} in %queue.
7711 @end ifset
7712
7713 @ifset ja
7714 IMAP サーバに処理を反映した後に、フォルダ B で @samp{s} を押すと、無効な
7715 メッセージが削除され、有効なメッセージがキャッシュされます。
7716 @end ifset
7717 @ifset en
7718 Typing @samp{s} in folder B after jobs in %queue are done in your IMAP
7719 server results in deletion of invalid messages and caching valid
7720 messages.
7721 @end ifset
7722
7723 @c %%%%%%%%%%%%%%%%%
7724 @node mew-mark, Refile, off-line, Marks
7725 @ifset ja
7726 @section Mew が表示するマーク
7727 @end ifset
7728 @ifset en
7729 @section Marks displayed by Mew
7730 @end ifset
7731
7732 @ifset ja
7733 以下に Mew が表示するマークをまとめます。
7734 @end ifset
7735 @ifset en
7736 Here is a summary of marks displayed by Mew.
7737 @end ifset
7738
7739 @table @samp
7740 @ifset ja
7741 @item M
7742 マルチパートを表すマーク。@xref{multipart} を参照のこと。
7743 @item -
7744 Multipart/Alternative を表すマーク。@xref{analysis} を参照のこと。
7745 @item T
7746 メッセージが切り詰められたことを表すマーク。@xref{retrieving} を参照のこ
7747 と。
7748 @item S
7749 署名を表すマーク。@xref{cipher-viewing} を参照のこと。
7750 @item E
7751 暗号化を表すマーク。@xref{cipher-viewing} を参照のこと。
7752 @item P
7753 分割されていることを示すマーク。@xref{target mark} を参照のこと。
7754 @item #
7755 メッセージが無効であることを示すマーク。@xref{off-line} を参照のこと。
7756 @end ifset
7757 @ifset en
7758 @item M
7759 This message is a multipart. Please refer to @ref{multipart}.
7760 @item -
7761 This message contains a Multipart/Alternative content. Please refer to
7762 @ref{analysis}.
7763 @item T
7764 This message was truncated by Mew. Please refer to @ref{retrieving}.
7765 @item S
7766 This message is signed. Please refer to @ref{cipher-viewing}.
7767 @item E
7768 This is a cipher message. Please refer to @ref{cipher-viewing}.
7769 @item P
7770 This message is fragmented. Please refer to @ref{target mark}.
7771 @item #
7772 This message is invalid. Please refer to @ref{off-line}.
7773 @end ifset
7774 @end table
7775
7776 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7777 @c Refile
7778 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7779
7780 @node Refile, by-folder, mew-mark, Top
7781 @ifset ja
7782 @chapter 楽々整理整頓
7783 @end ifset
7784 @ifset en
7785 @chapter Happy refiling
7786 @end ifset
7787
7788 @ifset ja
7789 1 日に数百のメッセージを受け取るようになると整理整頓が大変になります(え、
7790 そんなに受け取らないですって? 幸せですね :) 。Mew では、@samp{o} でメッ
7791 セージを整頓する際に、整頓先を推測し初期値として表示してくれます。たと
7792 えば、次のようになります。
7793 @end ifset
7794 @ifset en
7795 When you come to receive hundreds of messages in a day (do not you
7796 believe it?), refiling messages becomes a very tough job. Mew neatly
7797 guesses default folders where the message is supposed to be refiled when
7798 you type @samp{o}. You can see an example below.
7799 @end ifset
7800
7801 @example
7802 Folder name (+work/mew-dist): +
7803 @end example
7804
7805 @ifset ja
7806 もし、() の中の初期値が自分の希望通りであれば、@samp{RET} を押すだけで
7807 よいのです。整頓先が決定しているメッセージには、@samp{o} マークが付きま
7808 す。
7809 @end ifset
7810 @ifset en
7811 If the default value in () is proper, just type @samp{RET}. The messages
7812 will be marked with @samp{o} if its refiling folders are decided.
7813 @end ifset
7814
7815 @ifset ja
7816 メッセージを移動できるのは、そのメッセージが属している「世界」の中でのみ
7817 です。前述のように世界はケースと修飾子によって定まります。整頓先のフォル
7818 ダを指定する場合には、ケースを付けず、同じ修飾子を持つフォルダ名を入力す
7819 る必要があります。ケースを付けない理由は、そのメッセージのケースはすでに
7820 定まっているからです。ミニバッファからフォルダ名を入力する際、ケースが
7821 "default" でないにも関わらずケースを明示的に入力しないのは、整頓先を指定
7822 する場合のみです。
7823 @end ifset
7824 @ifset en
7825 You can refile a message to folders of the same world to which the
7826 message belong. As described above, a world is identified by a
7827 combination of "case" and proto. When you input a folder to which the
7828 message is refiled, you must not specify "case" and you must input a
7829 folder whose proto is the same. The reason why you must not specify
7830 @w{"}case" is that the "case" is already known. With other commands, you
7831 have to specify the "case", if necessary, when you input folder name
7832 in minibuffer. This command is only the exception.
7833 @end ifset
7834
7835 @ifset ja
7836 @samp{o} に似たコマンドに @samp{c} があります。両者の違いは、
7837 @xref{refile mark} を参照して下さい。
7838 @end ifset
7839 @ifset en
7840 Mew also provides @samp{c} which is very similar to @samp{o}. To know
7841 the difference, please refer to @ref{refile mark}.
7842 @end ifset
7843
7844 @ifset ja
7845 この整頓先の推測が賢ければ賢い程ユーザは楽になります。Mew では以下のよう
7846 な規則が用意されています。
7847 @end ifset
7848 @ifset en
7849 As you know, the more excellent refiling guess algorithms become, the
7850 less user's job troublesome. Mew provides you with the following rules.
7851 @end ifset
7852
7853 @menu
7854 @ifset ja
7855 * by-folder:: メーリングリスト用のフォルダから推測
7856 * by-alist:: 指定した規則から推測
7857 * by-thread:: 対話関係から推測
7858 * by-from-folder:: 個人用のフォルダから推測
7859 * by-from:: From: から推測
7860 * by-newsgroups:: Newsgroups: から推測
7861 * by-default:: デフォルトの規則
7862 * guess-rule:: 規則の制御
7863 * auto-refile:: 自動で整理整頓
7864 * copy-msg:: 世界を越えたメッセージのコピー
7865 @end ifset
7866 @ifset en
7867 * by-folder:: Guess by mailing-list folders
7868 * by-alist:: Guess by user defined rules
7869 * by-thread:: Guess by thread
7870 * by-from-folder:: Guess by private folders
7871 * by-from:: Guess by From:
7872 * by-newsgroups:: Guess by Newsgroups:
7873 * by-default:: Guess by default rule
7874 * guess-rule:: Controlling rules
7875 * auto-refile:: Auto refile
7876 * copy-msg:: Copying messages across worlds
7877 @end ifset
7878 @end menu
7879
7880 @c %%%%%%%%%%%%%%%%%
7881 @node by-folder, by-alist, Refile, Refile
7882 @ifset ja
7883 @section メーリングリスト用のフォルダから推測
7884 @end ifset
7885 @ifset en
7886 @section Guess by mailing-list folders
7887 @end ifset
7888 @vindex mew-use-fast-refile
7889 @vindex mew-use-node-folder
7890
7891 @ifset ja
7892 あるメーリングリスト宛のメッセージを、そのメーリングリスト名のフォルダに
7893 整理することは多いと思います。Mew ではメーリングリスト宛に届いたメッセー
7894 ジに対して、それ用のフォルダを推測する機能があります。
7895 @end ifset
7896 @ifset en
7897 Many users tend to refile messages destined to a mailing-list to a
7898 folder whose name is the same as the mailing-list. Mew provides a
7899 mechanism to guess a mailing-list folder for messages destined to
7900 mailing-lists.
7901 @end ifset
7902
7903 @ifset ja
7904 たとえば、+misc/pooh-lovers というフォルダがあったとしましょう。次のよう
7905 なメッセージは、このフォルダに整頓すればよい可能性が高いといえます。
7906 @end ifset
7907 @ifset en
7908 Suppose that you have a folder named +misc/pooh-lovers. The following
7909 message is probably to be refiled to this folder.
7910 @end ifset
7911
7912 @example
7913 To: pooh-lovers@@example.org
7914 @end example
7915
7916 @ifset ja
7917 このように、To: や Cc: のアドレスが、フォルダ名の一番右側にマッチするも
7918 のがないか探すわけです。フォルダを階層化していない人が多いようですが、
7919 Mew を使う限り、階層化しない手はありません。
7920 @end ifset
7921 @ifset en
7922 Likewise, Mew searches a matching folder forward with addresses on To:
7923 and Cc:. There are many people who do not use recursive folders. With
7924 Mew, however, you would not be smart if you do not use it.
7925 @end ifset
7926
7927 @ifset ja
7928 さて、鋭い人は次のように個人のアドレスが To: や Cc: にある場合、困るので
7929 はないかと思うでしょう。
7930 @end ifset
7931 @ifset en
7932 Smart users may wonder that they get a trouble in the following
7933 situation where private addresses are on To: or Cc:.
7934 @end ifset
7935
7936 @example
7937 To: piglet@@example.org
7938 Cc: pooh-lovers@@example.org
7939 @end example
7940
7941 @ifset ja
7942 たとえば、pooh は pooh-lovers の一員ですから、このメッセージが届きます。
7943 しかし、piglet と仲がいいので、+from/piglet にマッチしてしまいます。
7944 @end ifset
7945 @ifset en
7946 Since Pooh is a member of pooh-lovers, he receives this message. But he
7947 has a folder for his friend, Piglet. So, +from/piglet may be chosen.
7948 @end ifset
7949
7950 @ifset ja
7951 そこで、Mew では無視するフォルダを設定できるようになっています。デフォル
7952 トでは、+from 以下を無視します。ですから、個人からのメッセージは +from
7953 以下に収めて下さい
7954 @end ifset
7955 @ifset en
7956 To avoid this, Mew allows you to specify which folders are to be
7957 ignored. The default is +from. So, please take a convention to refile
7958 personal messages under +from.
7959 @end ifset
7960
7961 @ifset ja
7962 候補が決定できたら
7963 @end ifset
7964 @ifset en
7965 When Mew guesses a candidate by the folders, it asks you:
7966 @end ifset
7967
7968 @example
7969 Folder name (+misc/pooh-lovers): +
7970 @end example
7971
7972 @ifset ja
7973 と訊いてきます。あっていれば @samp{RET} を、違っていればお望みのフォルダ
7974 を入力して下さい。
7975 @end ifset
7976 @ifset en
7977 Just type @samp{RET} if the default is exactly what you want.
7978 @end ifset
7979
7980 @ifset ja
7981 @samp{o} で新しいフォルダを指定すると、そのフォルダが自動的に作成され、
7982 次からは推測用の候補にも加わります。便利でしょ?
7983 @end ifset
7984 @ifset en
7985 If you specify a new folder with @samp{o}, the folder is created and
7986 added to the folder list to be used for guess. Convenient, isn't it?
7987 @end ifset
7988
7989 @ifset ja
7990 この機能を提供する関数は @samp{mew-refile-guess-by-folder} です。
7991 @end ifset
7992 @ifset en
7993 The function name to provide this feature is
7994 @samp{mew-refile-guess-by-folder}.
7995 @end ifset
7996
7997 @ifset ja
7998 もし、フォルダ名に大文字を使っていないなら、以下の設定により、この関数が
7999 高速になります。
8000 @end ifset
8001 @ifset en
8002 If you don't use capital letters for folder names, configure as follows
8003 to make this function faster:
8004 @end ifset
8005
8006 @lisp
8007 (setq mew-use-fast-refile t)
8008 @end lisp
8009
8010 @ifset ja
8011 デフォルトでは、末端のフォルダと中間のフォルダが候補の対象となっていま
8012 す。もし、中間のフォルダではなく、末端のフォルダだけを選びたい場合は、
8013 以下のように設定して下さい。
8014 @end ifset
8015 @ifset en
8016 By default, candidate includes node folders as well as leaf folders.
8017 If you want to not select node folders but leave folders only,
8018 configure as follows:
8019 @end ifset
8020
8021 @lisp
8022 (setq mew-use-node-folder nil)
8023 @end lisp
8024
8025 @c %%%%%%%%%%%%%%%%%
8026 @node by-alist, by-thread, by-folder, Refile
8027 @ifset ja
8028 @section 指定した規則から推測
8029 @end ifset
8030 @ifset en
8031 @section Guess by user defined rules
8032 @end ifset
8033 @vindex mew-refile-guess-alist
8034
8035 @ifset ja
8036 フォルダ名から推測する機能だけでは、思うようなフォルダを推測してくれな
8037 い場合があります。たとえば、To: が staff@@example.jp であるメッセージと
8038 To: が staff@@example.net であるメッセージに対し、フォルダ名からの推測
8039 では同じフォルダ(たとえば、"+net/staff")が選ばれてしまいます。そこで、
8040 Mew では、変数 @samp{mew-refile-guess-alist} に明示的に規則を設定できま
8041 す。(@samp{mew-refile-guess-alist} は、必ず新しい書式で書いて下さい。詳
8042 しくは @xref{config2} を参照のこと。)
8043 @end ifset
8044 @ifset en
8045 There are some cases where the refile guess mechanism by folders does
8046 not work as you wish. For example, for both a message whose To: is
8047 staff@@example.jp and another message whose To: is staff@@example.net,
8048 the same folder would be selected with guess by folders
8049 (e.g. "+net/staff"). So, Mew allows you to define your own rules
8050 explicitly. (You must use the new format for
8051 @samp{mew-refile-guess-alist}. For more information, see
8052 @end ifset
8053
8054 @ifset ja
8055 1 つ例を挙げてみましょう。
8056 @end ifset
8057 @ifset en
8058 Let's look at an example.
8059 @end ifset
8060
8061 @lisp
8062 (setq mew-refile-guess-alist
8063 '(("To:"
8064 ("staff@@example.jp" "+jp/staff")
8065 ("staff@@example.net" "+net/staff"))))
8066 @end lisp
8067
8068 @ifset ja
8069 これは、メッセージヘッダ中の To: の横の文字列に staff@@example.jp があ
8070 れば +jp/staff へ、staff@@example.net があれば +net/staff へ整頓すると
8071 いう意味です。
8072 @end ifset
8073 @ifset en
8074 This means that if To: contains staff@@example.jp +jp/staff is
8075 selected and if To: has staff@@example.net +net/staff is chosen.
8076 @end ifset
8077
8078 @ifset ja
8079 規則は、以下のように書きます。
8080 @end ifset
8081 @ifset en
8082 The format of this rule is as follow:
8083 @end ifset
8084
8085 @example
8086 rule ::= '<rule>
8087 <rule> ::= ((<key> <alist>) (<key> <alist>) ... [<special>])
8088 @end example
8089
8090 @ifset ja
8091 全体は (<key> <alist>) のリストです。<key> はフィールド名を書きます。
8092 <alist> は以下のようになります。
8093 @end ifset
8094 @ifset en
8095 The whole is a list of (<key> <alist>). A field name is specified for
8096 <key>. The format for <alist> is as follows:
8097 @end ifset
8098
8099 @example
8100 <alist> ::= (<value> <folder>|<rule>) (<value> <folder>|<rule>) ...
8101 @end example
8102
8103 @ifset ja
8104 <value> は <key> で示したフィールドにくる値です。<folder> は <key> にマッ
8105 チした際にどのフォルダに整頓するかを意味しています。<folder> の代りに
8106 <rule> を再帰的に記述することもできます。
8107 @end ifset
8108 @ifset en
8109 <value> is a field value for <key>. <folder> means a folder to be
8110 chosen if matched. You can write <rule> recursively instead of
8111 <folder>.
8112 (@xref{config2}.)
8113 @end ifset
8114
8115 @ifset ja
8116 特殊な <key> として @samp{nil} と @samp{t} があります。@samp{nil} は、何
8117 も推測できなかった場合に返す <folder> を指定するために用います。@samp{t}
8118 は、推測した値に加えて返す <folder> を指示するために使います。
8119 @end ifset
8120 @ifset en
8121 There are two special <key>s: @samp{nil} and @samp{t}. @samp{nil} is
8122 used to specify <folder> to be returned when nothing is guessed. @samp{t}
8123 can specify <folder> to be returned in addition to guessed values.
8124 @end ifset
8125
8126 @example
8127 <special> ::= (t <folder>) | (nil <folder>)
8128 @end example
8129
8130 @ifset ja
8131 正規表現を知っている人は、以下のような複雑な規則を設定できます。
8132 @end ifset
8133 @ifset en
8134 If you know regular expression, a more advanced rule can be defined like
8135 this.
8136 @end ifset
8137
8138 @lisp
8139 (setq mew-refile-guess-alist
8140 '(("Newsgroups:"
8141 ("^nifty\\.\\([^ ]+\\)" "+Nifty/\\1")
8142 (".*" "+rec/news"))
8143 ("To:"
8144 ("\\(inet\\|wide\\)@@wnoc-fuk" "+wide/\\1-wnoc-fuk"))
8145 ("From:"
8146 ("uucp@@" "+adm/uucp")
8147 ("ftpsync@@" "+adm/ftpsync"))
8148 (nil "+unknown")))
8149 @end lisp
8150
8151 @ifset ja
8152 この機能を提供する関数は @samp{mew-refile-guess-by-alist} です。
8153 @end ifset
8154 @ifset en
8155 The function name to provide this feature is
8156 @samp{mew-refile-guess-by-alist}.
8157 @end ifset
8158
8159 @c %%%%%%%%%%%%%%%%%
8160 @node by-thread, by-from-folder, by-alist, Refile
8161 @ifset ja
8162 @section 対話関係から推測
8163 @end ifset
8164 @ifset en
8165 @section Guess by thread
8166 @end ifset
8167 @vindex mew-lisp-max-length
8168
8169 @ifset ja
8170 Mew には、整頓しようとしているメッセージの親のメッセージが以前整頓された
8171 フォルダを選択してくれる機能があります。
8172 @end ifset
8173 @ifset en
8174 Mew provides a mechanism to guess a folder where the parent message of a
8175 current message was refiled before.
8176 @end ifset
8177
8178 @ifset ja
8179 たとえば、pooh、piglet、roo との間で、蜂蜜を取りに行こうという話題が盛り
8180 上がったとしましょう。pooh は、+project/honey というフォルダを作って、最
8181 初のメッセージをそこに整頓したとしましょう。以降、3 人の間のメッセージが
8182 きちんとした返答であるかぎり、+project/honey を推測してくれます。
8183 @end ifset
8184 @ifset en
8185 For example, Pooh, Piglet, and Roo had a chat to go and get honey. So,
8186 Pooh made +project/honey then refiled the message to it. The further
8187 messages, if they are properly replied, they are supposed to be refiled
8188 to +project/honey.
8189 @end ifset
8190
8191 @ifset ja
8192 あるメッセージをどこに保存したかという情報は、
8193 @w{"}~/Mail/.mew-refile-msgid-alist" に保存されています。この情報を過去
8194 何通のメッセージに関して保存するかは、@samp{mew-lisp-max-length} で決定
8195 します。初期値は 2000 通です。3000 通にしたい場合は "~/.mew.el" 中で以
8196 下のように設定して下さい。
8197 @end ifset
8198 @ifset en
8199 Information that which folder was chosen for messages is stored to
8200 @w{"}~/Mail/.mew-refile-msgid-alist". @samp{mew-lisp-max-length}
8201 controls the amount of this information. The default value is 2000
8202 messages. If you want limits it to 3000 messages, put the following to
8203 "~/.mew.el".
8204 @end ifset
8205
8206 @lisp
8207 (setq mew-lisp-max-length 3000)
8208 @end lisp
8209
8210 @ifset ja
8211 この機能を提供する関数は @samp{mew-refile-guess-by-thread} です。
8212 @end ifset
8213 @ifset en
8214 The function name to provide this feature is
8215 @samp{mew-refile-guess-by-message-id}.
8216 @end ifset
8217
8218 @c %%%%%%%%%%%%%%%%%
8219 @node by-from-folder, by-from, by-thread, Refile
8220 @ifset ja
8221 @section 個人用のフォルダから推測
8222 @end ifset
8223 @ifset en
8224 @section Guess by private folders
8225 @end ifset
8226 @vindex mew-refile-guess-from-me-is-special
8227
8228 @ifset ja
8229 @xref{by-folder} で説明したメーリングリスト用のフォルダを推測するに加え
8230 て、個人用のフォルダを推測する機能があります。個人用のフォルダは +from
8231 以下にありますから、+from 以下のフォルダを選択する機能だともいえます。以
8232 下の例を考えてみましょう。
8233 @end ifset
8234 @ifset en
8235 In addition to the mechanism to select a mailing-list folder described
8236 in @ref{by-folder}, Mew provides a mechanism to choose a private
8237 folder. Since private folders locate under +from, we can say that this
8238 mechanism select a folder from the folders under +from. Let's see the
8239 following example:
8240 @end ifset
8241
8242 @example
8243 To: pooh@@example.net
8244 From: piglet@@example.org
8245 @end example
8246
8247 @ifset ja
8248 piglet から pooh にメッセージが来ました。pooh がこの機能を使うと、From:
8249 を手がかりに +from/piglet が選択されます。(+from 以下は階層化されていて
8250 も構いません。また、フォルダ名はユーザ名だけではなくアドレス全体でも OK
8251 です。)
8252 @end ifset
8253 @ifset en
8254 Pooh received a message from Piglet. If Pooh uses this mechanism,
8255 +from/piglet will be chosen according to From:. (Folders under +from can
8256 be recurse. And you can select the entire address for a folder name
8257 instead of the user part.)
8258 @end ifset
8259
8260 @ifset ja
8261 この機能を提供する関数は、@samp{mew-refile-guess-by-from-folder} といいます。
8262 @end ifset
8263 @ifset en
8264 The function to provide this feature is
8265 @samp{mew-refile-guess-by-from-folder}.
8266 @end ifset
8267
8268 @ifset ja
8269 次に、pooh が piglet に返答した場合を考えましょう。pooh は自分自身に Cc:
8270 していたので、自分にメッセージが戻ってきました。
8271 @end ifset
8272 @ifset en
8273 Next, let's consider a care where Pooh replied to Piglet. Since Pooh
8274 Cc:ed the message to himself, the message was also delivered to him.
8275 @end ifset
8276
8277 @example
8278 To: piglet@@example.org
8279 Cc: pooh@@example.net
8280 From: pooh@@example.net
8281 @end example
8282
8283 @ifset ja
8284 pooh の立場になって考えてみて下さい。このメッセージを +from/pooh に整頓
8285 するか、あるいは +from/piglet に整頓するのかは、好みが分かれるところで
8286 しょう。そこで、どちらを選択するのかカスタマイズできるようになっていま
8287 す。
8288 @end ifset
8289 @ifset en
8290 How do you feel if you are Pooh? You may want to refile this to
8291 +from/pooh. Also, you may want to move this to +from/piglet. So, it
8292 can be customized.
8293 @end ifset
8294
8295 @ifset ja
8296 @samp{mew-refile-guess-from-me-is-special} が @samp{t} なら、
8297 @samp{mew-refile-guess-by-from-folder} は、From: が自分のアドレスの場合
8298 に、To: と Cc: にあるアドレスをもとに、+from 以下のフォルダを選択します。
8299 @end ifset
8300 @ifset en
8301 If @samp{mew-refile-guess-from-me-is-special} is @samp{t} and if an
8302 address in From: is yourself, @samp{mew-refile-guess-by-from-folder}
8303 select a folder under +from according to To: and/or Cc:.
8304 @end ifset
8305
8306 @c %%%%%%%%%%%%%%%%%
8307 @node by-from, by-newsgroups, by-from-folder, Refile
8308 @ifset ja
8309 @section From: から推測
8310 @end ifset
8311 @ifset en
8312 @section Guess by From:
8313 @end ifset
8314 @vindex mew-lisp-max-length
8315 @vindex mew-refile-guess-from-me-is-special
8316
8317 @ifset ja
8318 From: に同一のアドレスを持つメッセージが、かつてどこに整頓されたかによっ
8319 て推測する機能があります。
8320 @end ifset
8321 @ifset en
8322 Mew also provides a mechanism to guess a folder by the place where a
8323 message that has the same From: field is refiled.
8324 @end ifset
8325
8326 @ifset ja
8327 たとえば、piglet は piglet@@example.org と p-p-p@@example.org の 2 つのア
8328 ドレスを持っているとしましょう。どちらのアドレスからメッセージが届いても、
8329 pooh はそれらを +from/piglet に整頓したいと思っています。もちろん、以下
8330 のように明示的に規則を書けば実現できます。
8331 @end ifset
8332 @ifset en
8333 Suppose that Piglet has two addresses, piglet@@example.org and
8334 p-p-p@@example.org. Pooh wants to refile messages from Piglet to
8335 +from/piglet no matter what his From: is. This policy can, of course, be
8336 implemented if Pooh specifies rules explicitly as follows:
8337 @end ifset
8338
8339 @lisp
8340 (setq mew-refile-guess-alist
8341 '(("From:"
8342 ("piglet@@example.org" "+from/piglet")
8343 ("p-p-p@@example.org" "+from/piglet"))))
8344 @end lisp
8345
8346 @ifset ja
8347 しかし、いちいち規則を書くのは面倒です。そこで、まず From: が
8348 piglet@@example.org であるメッセージを +from/piglet に整頓します。これ
8349 でフォルダ +from/piglet が作成されます。次に、From: が p-p-p@@example.org で
8350 あるメッセージを +from/piglet に整頓したとします。ここで Mew は、
8351 p-p-p@@example.org が +from/piglet に整頓されたことを学習します。以後 From:
8352 が p-p-p@@example.org であるメッセージを整頓しようとすると、+from/piglet を
8353 選択するようになります。
8354 @end ifset
8355 @ifset en
8356 But such a work may bother you. So, first refile a message whose From:
8357 is piglet@@example.org to +from/piglet. At this time, +from/piglet is
8358 created. Next, refile a message whose From: is p-p-p@@example.org to
8359 +from/piglet. Here Mews learns that p-p-p@@example.org was refiled to
8360 +from/piglet. After this, when messages whose From: is p-p-p@@example.org
8361 are refiled, +from/piglet is chosen.
8362 @end ifset
8363
8364 @ifset ja
8365 その他、機械からくるメッセージは、いつも +adm/misc に入れることにしたい
8366 場合なども、明示的な規則を書かずに済ませられます。
8367 @end ifset
8368 @ifset en
8369 For another example, you can refile messages from machinery to +adm/misc
8370 without defining an explicit rule.
8371 @end ifset
8372
8373 @ifset ja
8374 From: とフォルダの情報は、"~/Mail/.mew-refile-from-alist" に保存されてい
8375 ます。この情報を過去何通のメッセージに関して保存するかは、
8376 @xref{by-thread} と同様に @samp{mew-lisp-max-length} で決定します。
8377 @end ifset
8378 @ifset en
8379 Information for relationship between From: and folder is stored to
8380 @w{"}~/Mail/.mew-refile-from-alist". @samp{mew-lisp-max-length}
8381 controls the amount of this information as the same as
8382 @ref{by-thread}.
8383 @end ifset
8384
8385 @ifset ja
8386 この機能を提供する関数は @samp{mew-refile-guess-by-from} です。
8387 @end ifset
8388 @ifset en
8389 The function name to provide this feature is
8390 @samp{mew-refile-guess-by-from}.
8391 @end ifset
8392
8393 @ifset ja
8394 @samp{mew-refile-guess-from-me-is-special} が @samp{t} の場合、
8395 @samp{mew-refile-guess-by-from} は
8396 @samp{mew-refile-guess-by-from-folder}(@xref{by-from-folder})と同様な動
8397 きをします。
8398 @end ifset
8399 @ifset en
8400 If the value of @samp{mew-refile-guess-from-me-is-special} is @samp{t},
8401 @samp{mew-refile-guess-by-from} acts as
8402 @samp{mew-refile-guess-by-from-folder} (@pxref{by-from-folder}).
8403 @end ifset
8404
8405 @c %%%%%%%%%%%%%%%%%
8406 @node by-newsgroups, by-default, by-from, Refile
8407 @ifset ja
8408 @section Newsgroups: から推測
8409 @end ifset
8410 @ifset en
8411 @section Guess by Newsgroups:
8412 @end ifset
8413
8414 @ifset ja
8415 ニュースをメールとして受信して Mew で読んでいる人のために、Newsgroups:
8416 からフォルダを推測する機能を用意しました。関数名は
8417 @samp{mew-refile-guess-by-newsgroups} です。
8418 @end ifset
8419 @ifset en
8420 For those who read articles of NetNews received by e-mail with Mew, Mew
8421 provides a mechanism to guess a folder by Newsgroups:. The function name
8422 to provide this feature is @samp{mew-refile-guess-by-newsgroups}.
8423 @end ifset
8424
8425 @c %%%%%%%%%%%%%%%%%
8426 @node by-default, guess-rule, by-newsgroups, Refile
8427 @ifset ja
8428 @section デフォルトの規則
8429 @end ifset
8430 @ifset en
8431 @section Guess by default rule
8432 @end ifset
8433 @vindex mew-refile-guess-strip-domainpart
8434
8435 @ifset ja
8436 デフォルトの規則は、From: からユーザ名を切り出して、@samp{+from/user}
8437 を選ぶようになっています。ただし、
8438 @samp{mew-refile-guess-strip-domainpart} が @samp{nil} ならアドレスを切
8439 り出すので、@samp{+from/user@@domain} が選択されます。
8440 @samp{mew-refile-guess-strip-domainpart} の初期値は @samp{t} です。
8441 @end ifset
8442 @ifset en
8443 The default rule is to extract a user name from From: and to choose
8444 @samp{+from/user}. But if @samp{mew-refile-guess-strip-domainpart} is
8445 @samp{nil}, it extracts the entire address. So,
8446 @samp{+from/user@@domain} is chosen. The default value of
8447 @samp{mew-refile-guess-strip-domainpart} is @samp{t}.
8448 @end ifset
8449
8450 @ifset ja
8451 関数名は、@samp{mew-refile-guess-by-default} です。
8452 @end ifset
8453 @ifset en
8454 The function name is @samp{mew-refile-guess-by-default}.
8455 @end ifset
8456
8457 @c %%%%%%%%%%%%%%%%%
8458 @node guess-rule, auto-refile, by-default, Refile
8459 @ifset ja
8460 @section 規則の制御
8461 @end ifset
8462 @ifset en
8463 @section Controlling rules
8464 @end ifset
8465 @vindex mew-refile-guess-control
8466 @vindex mew-refile-ctrl-multi
8467
8468 @ifset ja
8469 Mew では、フォルダ推測の規則を 2 つの変数、@samp{mew-refile-guess-control}
8470 と @samp{mew-refile-ctrl-multi} で制御します。
8471 @samp{mew-refile-guess-control} は、呼び出す関数を順に定義します。候補を
8472 複数にしたい場合は @samp{mew-refile-ctrl-multi} を @samp{t} に、単数にし
8473 たい場合は @samp{nil} に設定します。
8474 @end ifset
8475 @ifset en
8476 Mew controls guess rules by two variables,
8477 @samp{mew-refile-guess-control} and @samp{mew-refile-ctrl-multi}. If you
8478 want multiple candidates, set @samp{mew-refile-ctrl-multi}
8479 @samp{t}. Otherwise, set it @samp{nil}.
8480 @end ifset
8481
8482 @ifset ja
8483 標準では、@samp{mew-refile-guess-control} は以下のように宣言されています
8484 (宣言なので @samp{defvar} が使われています)。
8485 @end ifset
8486 @ifset en
8487 By default, @samp{mew-refile-guess-control} is declared as follows
8488 (since it is a declaration, @samp{defvar} is used):
8489 @end ifset
8490
8491 @lisp
8492 (defvar mew-refile-guess-control
8493 '(mew-refile-guess-by-alist
8494 mew-refile-ctrl-throw
8495 mew-refile-guess-by-newsgroups
8496 mew-refile-guess-by-folder
8497 mew-refile-ctrl-throw
8498 mew-refile-ctrl-auto-boundary
8499 mew-refile-guess-by-thread
8500 mew-refile-ctrl-throw
8501 mew-refile-guess-by-from-folder
8502 mew-refile-ctrl-throw
8503 mew-refile-guess-by-from
8504 mew-refile-ctrl-throw
8505 mew-refile-guess-by-default))
8506 @end lisp
8507
8508 @ifset ja
8509 Mew は @samp{mew-refile-guess-control} に並べられた関数を順番にすべて実
8510 行します。各々の関数が複数の候補を推測することがあります。
8511 @end ifset
8512 @ifset en
8513 Mew executes every function defined in @samp{mew-refile-guess-control}
8514 in order. Each function may guess multiple candidates.
8515 @end ifset
8516
8517 @ifset ja
8518 @samp{mew-refile-guess-control} の動作例として以下を考えてみましょう。
8519 @end ifset
8520 @ifset en
8521 Let's see the following example of @samp{mew-refile-guess-control}
8522 action.
8523 @end ifset
8524
8525 @table @samp
8526 @ifset ja
8527 @item mew-refile-guess-by-alist
8528 が +aaa、+bbb を推測。
8529 @item mew-refile-guess-by-folder
8530 が +ccc、+ddd を推測。
8531 @item mew-refile-guess-by-default
8532 が +eee を推測。
8533 @end ifset
8534 @ifset en
8535 @item mew-refile-guess-by-alist
8536 guessed +aaa and +bbb.
8537 @item mew-refile-guess-by-folder
8538 guessed +ccc and +ddd.
8539 @item mew-refile-guess-by-default
8540 guessed +eee.
8541 @end ifset
8542 @end table
8543
8544 @ifset ja
8545 +aaa 〜 +eee すべてをユーザに提示して欲しい場合は、
8546 @samp{mew-refile-ctrl-multi} を @samp{t} に、+aaa だけを提示して欲しい場
8547 合は、@samp{nil} に設定します。
8548 @end ifset
8549 @ifset en
8550 If you want to provide all candidates, +aaa - +eee, set
8551 @samp{mew-refile-ctrl-multi} @samp{t}. If you want to provide +aaa only,
8552 set it @samp{nil}.
8553 @end ifset
8554
8555 @ifset ja
8556 また、+aaa 〜 +ddd は提示して欲しいけれどもそれ以降はいらない、つまり、
8557 +eee を提示するのは先に実行された関数群が何も推測できなかったときだけに
8558 したい場合は、@samp{mew-refile-ctrl-multi} を @samp{t} にして、
8559 @samp{mew-refile-guess-by-folder} と @samp{mew-refile-guess-by-default}
8560 の間に @samp{mew-refile-ctrl-throw} を入れて下さい。
8561 @end ifset
8562 @ifset en
8563 If you want +aaa - +ddd but do not want left candidates, in other words,
8564 you want +eee only when no candidate is guessed by functions executed
8565 before, set @samp{mew-refile-ctrl-multi} @samp{t} and insert
8566 @samp{mew-refile-ctrl-throw} between @samp{mew-refile-guess-by-folder}
8567 and @samp{mew-refile-guess-by-default}.
8568 @end ifset
8569
8570 @ifset ja
8571 @samp{C-uo} は、この推測の流れを Message バッファに表示します。
8572 @end ifset
8573 @ifset en
8574 @samp{C-uo} displays the flow of guess rules in Message buffer.
8575 @end ifset
8576
8577 @c %%%%%%%%%%%%%%%%%
8578 @node auto-refile, copy-msg, guess-rule, Refile
8579 @ifset ja
8580 @section 自動で整理整頓
8581 @end ifset
8582 @ifset en
8583 @section Auto refile
8584 @end ifset
8585 @vindex mew-refile-auto-refile-skip-any-mark
8586 @kindex M-o (Summary)
8587 @kindex C-uM-o (Summary)
8588
8589 @ifset ja
8590 毎日メッセージをたくさんもらう人は、まだ整頓していないメッセージを
8591 +inbox (あるいは %inbox) フォルダに大量に溜めてしまうことがあります。そ
8592 んなときは、「メッセージ達よ、とにかくこのフォルダからどこかに行ってしま
8593 え」と叫びたくなることがあるでしょう。Mew は、そんなわがままな人を満足させ
8594 るための自動整理整頓関数を提供しています。:) @samp{M-o} がその呪文です。
8595 @end ifset
8596 @ifset en
8597 Those who receives many messages everyday is prone to store thousands of
8598 messages in the +inbox (or %inbox) folder. In such a case, they may want
8599 to speak out like this, "Hey messages, get out of the folder to
8600 somewhere". Mew provides a feature to satisfy such laziness. :)
8601 @samp{M-o} is the spell.
8602 @end ifset
8603
8604 @ifset ja
8605 この関数を実行すると、現在のフォルダ内の特定のメッセージに対して、自動的
8606 に @samp{o} マークを付けてくれます。特定のメッセージとは、
8607 @samp{mew-refile-auto-refile-skip-any-mark} が @samp{nil} なら、@samp{o}
8608 や @samp{D} マークが付いていないメッセージです。
8609 @samp{mew-refile-auto-refile-skip-any-mark} が @samp{t} なら、なにもマー
8610 クが付いてない(既読)メッセージです。
8611 @samp{mew-refile-auto-refile-skip-any-mark} の初期値は @samp{nil} です。
8612 @end ifset
8613 @ifset en
8614 When you execute this function, it marks specific messages with
8615 @samp{o}. The specific messages mean messages which are not marked
8616 with @samp{o} nor @samp{D} if
8617 @samp{mew-refile-auto-refile-skip-any-mark} is @samp{nil}. If
8618 @samp{mew-refile-auto-refile-skip-any-mark} is @samp{t}, they mean
8619 non-marked messages (i.e. read). The default value of
8620 @samp{mew-refile-auto-refile-skip-any-mark} is @samp{nil}.
8621 @end ifset
8622
8623 @ifset ja
8624 @samp{C-uM-o} は、@samp{mew-refile-auto-refile-skip-any-mark} の値とは関
8625 係なく @samp{*} マークの付いたメッセージを対象にします。
8626 @end ifset
8627 @ifset en
8628 @samp{C-uM-o} targets messages marked with @samp{*} regardless the value
8629 of @samp{mew-refile-auto-refile-skip-any-mark}.
8630 @end ifset
8631
8632 @ifset ja
8633 整頓先の決定には、先に説明した推測関数群が働くようになっています。この関
8634 数は、@samp{o} を付けるだけですので、@samp{x} を押さない限り実際にメッセー
8635 ジがどこかに行ってしまうことはありません。
8636 @end ifset
8637 @ifset en
8638 Refile rule is the same described in the previous section. Please note
8639 that what this function does is just mark messages with
8640 @samp{o}. Messages are not refiled until you will press @samp{x}.
8641 @end ifset
8642
8643 @ifset ja
8644 Mew の整頓先推測はあまりにも賢すぎるので、この機能には仇となってしまい
8645 ます。というのは、Mew が推測機能をフルに使って勝手に整頓してしまうと、
8646 大抵のユーザはどこにメッセージが整頓されたか分からなくなってしまうか
8647 らです。:) そのために、Mew が使う推測関数を制限する機能が提供されてい
8648 ます。前に出てきた宣言をもう一度思い出して下さい。
8649 @end ifset
8650 @ifset en
8651 Mew's refile mechanism is so smart that it would be harmful for this
8652 function. That is, most users would not understand where messages have
8653 been refiled if Mew made most use of its guess mechanism. :) For this
8654 reason, break is provided to limit usage of guess functions. Recall the
8655 declaration up above.
8656 @end ifset
8657
8658 @lisp
8659 (defvar mew-refile-guess-control
8660 '(mew-refile-guess-by-alist
8661 mew-refile-ctrl-throw
8662 mew-refile-guess-by-newsgroups
8663 mew-refile-guess-by-folder
8664 mew-refile-ctrl-throw
8665 mew-refile-ctrl-auto-boundary
8666 mew-refile-guess-by-thread
8667 mew-refile-ctrl-throw
8668 mew-refile-guess-by-from-folder
8669 mew-refile-ctrl-throw
8670 mew-refile-guess-by-from
8671 mew-refile-ctrl-throw
8672 mew-refile-guess-by-default))
8673 @end lisp
8674
8675 @ifset ja
8676 @samp{mew-refile-guess-control} の中に
8677 @samp{mew-refile-ctrl-auto-boundary} という関数があります。これがその仕
8678 掛です。自動整理整頓のときに限り、Mew はこの関数より下に記述してある推測
8679 を無視します。@samp{mew-refile-ctrl-auto-boundary} より上に記述している
8680 関数が何も推測できなかった場合は、そのメッセージには @samp{o} が付きませ
8681 ん。破滅が訪れる前に @samp{mew-refile-ctrl-auto-boundary} の御札を貼って
8682 下さい。
8683 @end ifset
8684 @ifset en
8685 You can find the @samp{mew-refile-ctrl-auto-boundary} function in
8686 @samp{mew-refile-guess-control}. Only when auto refile is used, Mew
8687 ignores guess functions below this function. If guess functions above
8688 @samp{mew-refile-ctrl-auto-boundary} didn't guess any folder for a
8689 message, the message is not marked with @samp{o}. Insert
8690 @samp{mew-refile-ctrl-auto-boundary} before you ruin.
8691 @end ifset
8692
8693
8694 @c %%%%%%%%%%%%%%%%%
8695 @node copy-msg, Virtual, auto-refile, Refile
8696 @ifset ja
8697 @section 世界を越えたメッセージのコピー
8698 @end ifset
8699 @ifset en
8700 @section Copying messages across worlds
8701 @end ifset
8702 @kindex lc (Summary)
8703 @kindex mlc (Summary)
8704 @kindex li (Summary)
8705 @kindex mli (Summary)
8706
8707 @ifset ja
8708 これまで説明した整頓とは、同じ世界の中でメッセージを移動させることでし
8709 た。これに対し、ある世界から他の世界へメッセージを移動させたいこともあ
8710 るでしょう。これは、ある世界から他の世界へメッセージへコピーし、その後
8711 元のメッセージを削除することで実現できます。ここでは、ある世界から他の
8712 世界へメッセージへコピーする方法について説明します。
8713 @end ifset
8714 @ifset en
8715 "Refile" described above is moving messages in the same world. By
8716 contrast, you may want to move messages from a world to another
8717 world. You can accomplish this by copying messages from a world to
8718 another and deleting the original messages. Here we describe how to
8719 copy messages to another world.
8720 @end ifset
8721
8722 @ifset ja
8723 あるフォルダのメッセージをローカルフォルダへコピーしたくなることがあり
8724 ます。この場合 @samp{lc} を利用して下さい。@samp{lc} は、リモート・フォ
8725 ルダで実行された場合、キャッシュされたメッセージから、そのリモート・フォ
8726 ルダに特有の情報をヘッダから取り除き、ローカル・フォルダへコピーします。
8727 (@samp{lc} は、ローカルフォルダでも実行できます。この場合、同じ世界内で
8728 のコピーになります。)
8729 @end ifset
8730 @ifset en
8731 You may want to copy a message to a local folder. For this, type
8732 @samp{lc}. If you execute @samp{lc} in a remote folder, Mew removes
8733 information related to the remote folder from the cached message and
8734 copy it to a local folder. (You can use @samp{lc} in a local folder,
8735 too. In this case, a message is moved in the same world.)
8736 @end ifset
8737
8738 @ifset ja
8739 あるフォルダのメッセージを IMAP のフォルダ(サーバ側)へコピーするには、
8740 @samp{li} を利用します。
8741 @end ifset
8742 @ifset en
8743 To opy a message in a folder to an IMAP folder (the server side), type
8744 @samp{li}.
8745 @end ifset
8746
8747 @ifset ja
8748 @samp{*} の付いた複数のメッセージをローカル・フォルダへコピーするには
8749 @samp{mlc} を使います。また、@samp{*} の付いた複数のメッセージを IMAP
8750 フォルダへコピーするには @samp{mli} を利用して下さい。
8751 @end ifset
8752 @ifset en
8753 To copy messages marked with @samp{*} to a local folder, use @samp{mlc}.
8754 To copy messages marked with @samp{*} to an IMAP folder, use @samp{mli}.
8755 @end ifset
8756
8757 @ifset ja
8758 ある世界から他の世界へメッセージへコピーするコマンドを以下にまとめます。
8759 @end ifset
8760 @ifset en
8761 Here is a summary of commands which copy messages from a world to
8762 another.
8763 @end ifset
8764
8765 @table @samp
8766 @ifset ja
8767 @item lc
8768 あるフォルダのメッセージをローカルフォルダへコピーする。
8769 @item mlc
8770 @samp{*} の付いた複数のメッセージをローカル・フォルダへコピーする。
8771 @item li
8772 あるフォルダのメッセージを IMAP のフォルダへコピーする。
8773 @item mli
8774 @samp{*} の付いた複数のメッセージを IMAP フォルダへコピーする。
8775 @end ifset
8776 @ifset en
8777 @item lc
8778 Copy a message to a local folder.
8779 @item mlc
8780 Copy messages marked with @samp{*} to a local folder.
8781 @item li
8782 Copy a message to the server side of IMAP.
8783 @item mli
8784 Copy messages marked with @samp{*} to the server side of IMAP.
8785 @end ifset
8786 @end table
8787
8788 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8789 @c Virtual
8790 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8791
8792 @node Virtual, selection, copy-msg, Top
8793 @ifset ja
8794 @chapter 仮想フォルダ
8795 @end ifset
8796 @ifset en
8797 @chapter Virtual folder
8798 @end ifset
8799
8800 @ifset ja
8801 Virtual モードは、必要なメッセージを表示するための仮想的なフォルダであ
8802 り、「セレクション」と「スレッド」の2種類に分類できます。
8803 @end ifset
8804 @ifset en
8805 Virtual mode is a virtual folder and it consists of "selection" and
8806 @w{"}thread".
8807 @end ifset
8808
8809 @table @samp
8810 @ifset ja
8811 @item セレクション
8812 いろいろなフォルダから必要なメッセージだけを集めた仮想フォルダです。フォ
8813 ルダ名の左側に "*" が付きます。
8814 @item スレッド
8815 フォルダ(Summary)やセレクション(Virtual)を基に、対話関係を行頭揃えによっ
8816 て可視化した仮想フォルダです。フォルダ名の両側に "*" が付きます。
8817 @end ifset
8818 @ifset en
8819 @item Selection
8820 A virtual folder collecting necessary messages from several folders.
8821 Its folder name has "*" on the left side.
8822 @item Thread
8823 A virtual folder to visualize message flow with indentation, created
8824 from a folder or a virtual folder. Its folder name has "*" on the both
8825 sides.
8826 @end ifset
8827 @end table
8828
8829 @ifset ja
8830 Summary モードで利用できるコマンドの多くが、Virtual モードで利用できま
8831 す。
8832 @end ifset
8833 @ifset en
8834 In Virtual mode, you can use most commands that you can find in
8835 Summary mode.
8836 @end ifset
8837
8838 @ifset ja
8839 Virtual モードでメッセージにマークを付けると、対応する Summary モードが
8840 あれば、そちらのメッセージにもマークが付きます。逆に、Summary モードで
8841 あるメッセージにマークを付けても、Virtual モードの対応するメッセージに
8842 はマークは付きません。
8843 @end ifset
8844 @ifset en
8845 If you put a mark on a message in Virtual mode and if corresponding
8846 Summary mode exists, the mark is also put onto the corresponding
8847 message there. But if you put a mark on a message in Summary mode,
8848 the mark is not put any corresponding messages in Virtual mode.
8849 @end ifset
8850
8851 @ifset ja
8852 Virtual モードからマークを処理することはできません。@samp{x} を押しマー
8853 クを処理しようとすると、対応する Summary モードがあれば、そちらに移動
8854 し、もう一度 @samp{x} を押すよう促されます。
8855 @end ifset
8856 @ifset en
8857 You cannot process marks in Virtual mode. Even if you type @samp{x} to
8858 process marks in Virtual mode, the cursor moves to corresponding
8859 Summary mode, if exsists, and you are asked to type @samp{x} again.
8860 @end ifset
8861
8862 @ifset ja
8863 仮想フォルダはまさしく仮想であり、ファイルシステムなどには存在しないこ
8864 とに注意して下さい。Emacs を終了すると、仮想フォルダはなくなります。
8865 Virtual モードを消去する方法については、@xref{Quit} を参照して下さい。
8866 @end ifset
8867 @ifset en
8868 You should take note that Virtual folder is really virtual and it does
8869 not exist in file system. If you exit Mew, it then disappears. To
8870 know how to delete Virtual mode, please refer to @ref{Quit}.
8871 @end ifset
8872
8873 @menu
8874 @ifset ja
8875 * selection:: セレクション
8876 * sorting:: ソート
8877 * dialog:: 対話
8878 * search:: 検索
8879 * condition:: 検索条件の入力方法
8880 * dbsearch:: 検索エンジン
8881 * keyword:: キーワードの強調
8882 * thread:: スレッド
8883 * thread-op:: スレッドの操作
8884 @end ifset
8885 @ifset en
8886 * selection:: Selection
8887 * sorting:: Sorting
8888 * dialog:: Dialog
8889 * search:: Searching
8890 * condition:: How to input search conditions
8891 * dbsearch:: Search Engine
8892 * keyword:: Highlighting a keyword
8893 * thread:: Thread
8894 * thread-op:: Thread operations
8895 @end ifset
8896 @end menu
8897
8898 @c %%%%%%%%%%%%%%%%%
8899 @node selection, sorting, Virtual, Virtual
8900 @ifset ja
8901 @section セレクション
8902 @end ifset
8903 @ifset en
8904 @section Selection
8905 @end ifset
8906
8907 @ifset ja
8908 セレクションは、いろいろなフォルダから必要なメッセージだけを集めた仮想
8909 フォルダです。セレクションの作り方には、以下の 5 つがあります。
8910 @end ifset
8911 @ifset en
8912 Selection is a virtual folder collecting necessary messages from
8913 several folders. There are five ways to create selection:
8914 @end ifset
8915
8916 @table @samp
8917 @ifset ja
8918 @item m/
8919 あるフォルダで、"*" マークが付いているメッセージのみを表示する。
8920 @item S
8921 あるフォルダで、メッセージをソートして表示する。(元のフォルダには、何の影響もない。) @xref{sorting} を参照のこと。
8922 @item V
8923 現在のメッセージと対話関係にあるメッセージを表示する。@xref{dialog} を参照のこと。
8924 @item /
8925 あるフォルダから、検索条件に合致するメッセージを表示する。@xref{search} を参照のこと。
8926 @item k/
8927 すべてのフォルダから、検索条件に合致するメッセージを表示する。@xref{dbsearch} を参照のこと。
8928 @end ifset
8929 @ifset en
8930 @item m/
8931 Listing messages marked with @samp{*} on a folder. see @ref{sorting}.
8932 @item S
8933 Sorting messages on a folder and display them. (No effect to the
8934 original folder.) see @ref{dialog}.
8935 @item V
8936 Listing messages which have relationship with the current message. See
8937 @ref{dialog}.
8938 @item /
8939 Listing messaged matched to a search condition on a folder. see @ref{search}.
8940 @item k/
8941 Listing messaged matched to a search condition from all folders. See
8942 @ref{search}.
8943 @end ifset
8944 @end table
8945
8946
8947 @c %%%%%%%%%%%%%%%%%
8948 @node sorting, dialog, selection, Virtual
8949 @ifset ja
8950 @section ソート
8951 @end ifset
8952 @ifset en
8953 @section Sorting
8954 @end ifset
8955 @vindex mew-sort-key-alist
8956 @vindex mew-sort-default-key
8957 @vindex mew-sort-default-key-alist
8958 @kindex S (Summary)
8959 @kindex M-s (Summary)
8960
8961 @ifset ja
8962 メッセージをソートしセレクションを作成するには @samp{S} を使います。こ
8963 のとき次のようにどのフィールドでソートするか訊いてくるので、ソートした
8964 いフィールド名を入力して下さい。
8965 @end ifset
8966 @ifset en
8967 To make selection by sorting messages, use @samp{S}. Then you will be
8968 asked to input the field name as follows:
8969 @end ifset
8970
8971 @example
8972 Sort by? (default date):
8973 @end example
8974
8975 @ifset ja
8976 指定したフィールドに書かれている文字列は単純に文字列比較でソートするべ
8977 きではありません。たとえば、Subject: はテキストと考えてよいのですが、
8978 Date: は日付、X-Mail-Count: は数字と考えてソートすべきです。このように
8979 文字列をどう取り扱うかをモードといいます。ソートによく指定されるフィー
8980 ルド名に対するモードは @samp{mew-sort-key-alist} で設定されています。
8981 @end ifset
8982 @ifset en
8983 There are some cases where strings stored in the specified field should
8984 not be compared as text. For example, while Subject: can be considered
8985 as text, Date: and X-Mail-Count: should be treated as date and number,
8986 respectively. In this way, we call the distinctions in methods of string
8987 sorting "modes". Default modes for typical field names are configured
8988 in @samp{mew-sort-key-alist}.
8989 @end ifset
8990
8991 @ifset ja
8992 ソートのモードを明示的に指定、変更したい場合には @samp{:} で区切って指定
8993 します。たとえば X-Mail-Count: フィールドの内容を(テキストとしてではなく)
8994 数値とみなしてソートしたい場合には、次のように入力します。
8995 @end ifset
8996 @ifset en
8997 When you want to specify the mode of sorting, the mode is followed by
8998 @samp{:}. For example, to sort with the X-Mail-Count: field as
8999 arithmetic value (not text), input like this:
9000 @end ifset
9001
9002 @example
9003 x-mail-count:num
9004 @end example
9005
9006 @ifset ja
9007 フィールド名やモードは @samp{TAB} で補完できます。
9008 @end ifset
9009 @ifset en
9010 You can complete field names and modes with @samp{TAB}.
9011 @end ifset
9012
9013 @ifset ja
9014 モードには、以下の 4 つがあります。
9015 @end ifset
9016 @ifset en
9017 Mew provides four modes for sorting:
9018 @end ifset
9019
9020 @table @samp
9021 @ifset ja
9022 @item text
9023 先頭の "Re: " や "Fw: " を取り除いた文字列。
9024 @item ml
9025 text と同じであるが、さらにメーリングリスト特有の文字列も取り除く。
9026 @item num
9027 数値。
9028 @item date
9029 日付。
9030 @end ifset
9031 @ifset en
9032 @item text
9033 String with preceding "Re: " and or "Fw: " removed.
9034 @item ml
9035 The same as text but preceding mailing-list-string removed.
9036 @item num
9037 Number.
9038 @item date
9039 Date.
9040 @end ifset
9041 @end table
9042
9043 @ifset ja
9044 "Sort by?" と訊かれる際のフィールド名の初期値は、
9045 @samp{mew-sort-default-key} で設定できます。以下は、初期値である"date"
9046 を @w{"}x-ml-count" に変更する例です。
9047 @end ifset
9048 @ifset en
9049 The default field name, your response to the prompt "Sort by?", can be
9050 specified in @samp{mew-sort-default-key}. The following example changes
9051 the default value from "date" to "x-ml-count".
9052 @end ifset
9053
9054 @lisp
9055 (setq mew-sort-default-key "x-ml-count")
9056 @end lisp
9057
9058 @ifset ja
9059 @samp{mew-sort-default-key-alist} で、フォルダごとにフィールド名の初期
9060 値を設定することもできます。ここで指定しなかったフォルダでは、フィール
9061 ド名の初期値として @samp{mew-sort-default-key} の値が使われます。以下は、
9062 +inbox フォルダでの初期値を "subject" に、+mew-dist フォルダでの初期値
9063 を @w{"}x-mail-count" に変更する例です。
9064 @end ifset
9065 @ifset en
9066 You can also set a default field name for each folder by
9067 @samp{mew-sort-default-key-alist}. For folders not explicitly specified
9068 here, @samp{mew-sort-default-key} is used for their default field name.
9069 The following is an example that specifies "subject" for the +inbox
9070 folder and "x-mail-count" for the +mew-dist folder.
9071 @end ifset
9072
9073 @lisp
9074 (setq mew-sort-default-key-alist
9075 '(("+inbox" "subject")
9076 ("+mew-dist" "x-mail-count")))
9077 @end lisp
9078
9079 @ifset ja
9080 なお、ローカル・フォルダでメッセージを本当にソートするためには
9081 @samp{M-s} を使って下さい。このコマンドは、リモート・フォルダでは利用で
9082 きません。
9083 @end ifset
9084 @ifset en
9085 To really sort messages in a local folder, use @samp{M-s}. This
9086 command is not available in remote folders.
9087 @end ifset
9088
9089 @c %%%%%%%%%%%%%%%%%
9090 @node dialog, search, sorting, Virtual
9091 @ifset ja
9092 @section 対話
9093 @end ifset
9094 @ifset en
9095 @section Dialog
9096 @end ifset
9097 @kindex V (Summary)
9098 @kindex kI (Summary)
9099 @kindex C-ukI (Summary)
9100
9101 @ifset ja
9102 Mew では、あるメッセージに関係するメッセージをさまざまなフォルダから集
9103 めて仮想フォルダに一覧表示できます。これを「対話」と呼びましょう。後ほ
9104 ど説明するスレッド(@xref{thread})とは、以下の点で異なります。
9105 @end ifset
9106 @ifset en
9107 Mew can list messages which have relationship with the current
9108 message. Let's call this "dialog". This is different from thread
9109 described later in the following points:
9110 @end ifset
9111
9112 @itemize @minus
9113 @ifset ja
9114
9115 @item
9116 スレッドは、1つのフォルダ/仮想フォルダに対してのみ作成できる。対話は、
9117 関連するメッセージが複数のフォルダに散らばっていてもよい。
9118
9119 @item
9120 スレッドは、行頭揃えによって木構造を可視化する。対話は、日付順に一覧表
9121 示する。
9122 @end ifset
9123 @ifset en
9124 @item
9125 Thread can be made from one folder or one virtual folder. Messages
9126 relating to dialog can ubiquitously exists in several folders.
9127
9128 @item
9129 Thread visualizes tree structres with indentation. while dialog lists
9130 up messages in order of time.
9131 @end ifset
9132 @end itemize
9133
9134 @ifset ja
9135 対話の機能を使うには、まず @samp{kI} を実行し、データベースを作る必要が
9136 あります。新しく届くメッセージはデータベースに入らないので、@samp{kI}
9137 は定期的に実行して下さい。@samp{kI} は、データベースを差分更新します。
9138 この方式は早いのですが、ゴミが残ることは避けられないので、ときどき
9139 @samp{C-ukI} を実行し、データベースを一から作り直して下さい。
9140 @end ifset
9141 @ifset en
9142 To use the feature of dialog, execute @samp{kI} to create
9143 database. New messages are not automatically registered in to the
9144 database, you should periodically execute @samp{kI}. @samp{kI} updates
9145 the database incrementally by default. This method is fast but
9146 garbages are left. So, sometime you should type @samp{C-ukI} to update
9147 the database fully.
9148 @end ifset
9149
9150 @ifset ja
9151 対話を作成するには、注目しているメッセージの上で @samp{V} を押します。
9152 このコマンドは、自分の子孫と、自分の先祖、そして自分だけを表示します。
9153 自分の兄弟などは表示しません。一族全体を表示したいなら、一旦作った仮想
9154 フォルダの一番上にあるメッセージ、すなわち一族の祖の上で、もう一度
9155 @samp{V} を実行して下さい。
9156 @end ifset
9157 @ifset en
9158 To make dialog, type @samp{V} on the current message. This command
9159 displays him, his ancestors, and his children only. His brothers and
9160 so on are not shown. If you display the entire of the family, type
9161 @samp{V} again on the first message of the dialog, which is the origin
9162 of the family.
9163 @end ifset
9164
9165 @c %%%%%%%%%%%%%%%%%
9166 @node search, condition, dialog, Virtual
9167 @ifset ja
9168 @section 検索
9169 @end ifset
9170 @ifset en
9171 @section Searching
9172 @end ifset
9173 @kindex ? (Summary)
9174 @kindex C-u? (Summary)
9175 @kindex / (Summary)
9176 @kindex C-u/ (Summary)
9177 @kindex k? (Summary)
9178 @kindex k/ (Summary)
9179 @kindex C-uk/ (Summary)
9180
9181 @ifset ja
9182 Mew では、以下のようなメッセージの検索機能を提供しています。
9183 @end ifset
9184 @ifset en
9185 Mew provides the following method to search messages:
9186 @end ifset
9187
9188 @table @samp
9189 @ifset ja
9190 @item ?
9191 現在のフォルダで、条件に合致したメッセージに @samp{*} マークを付ける。
9192 入力された条件によって、@samp{mewl} か @samp{grep} のどちらかが呼ばれる。
9193 @item C-u?
9194 リージョンを指定した @samp{?}。
9195 @item /
9196 現在のフォルダで、条件に合致したメッセージからセレクションを作る。入力
9197 された条件によって、@samp{mewl} か @samp{grep} のどちらかが呼ばれる。
9198 @item C-u/
9199 リージョンを指定した @samp{/}。
9200 @end ifset
9201 @ifset en
9202 @item ?
9203 Put the @samp{*} mark onto messages in this folder, which are matched to a
9204 specified pattern. Either @samp{mewl} or @samp{grep} is called
9205 according to the specified pattern.
9206 @item C-u?
9207 @samp{?} with a region specified.
9208 @item /
9209 Make selection with messages in this folder, which are matched to a
9210 specified pattern. Either @samp{mewl} or @samp{grep} is called
9211 according to the specified pattern.
9212 @item C-u/
9213 @samp{/} with a region specified.
9214 @end ifset
9215 @end table
9216
9217 @ifset ja
9218 また、Spotlight や Windows Desktop Search などの検索エンジンを利用した
9219 検索も可能です。これには、以下のコマンドがあります。
9220 @end ifset
9221 @ifset en
9222 We can also search messages with a search engine, including Spotlight,
9223 Windows Desktop Search, etc. This feature is supported by the
9224 following commands.
9225 @end ifset
9226
9227 @table @samp
9228 @ifset ja
9229 @item k?
9230 現在のフォルダで、条件に合致したメッセージに @samp{*} マークを付ける。
9231 @item k/
9232 全フォルダに対し、条件に合致したメッセージからセレクションを作る。
9233 @item C-uk/
9234 指定されたフォルダに対し、条件に合致したメッセージからセレクションを作
9235 る。フォルダを複数指定するには "," で区切る。ワイルドカードとして、"*"
9236 を利用できる。
9237 @end ifset
9238 @ifset en
9239 @item k?
9240 Put the @samp{*} mark onto messages in this folder, which are matched to a
9241 specified pattern.
9242 @item k/
9243 Make selection with messages in all folders, which are matched to a
9244 specified pattern.
9245 @item C-uk/
9246 Make selection with messages in specified folders, which are matched
9247 to a specified pattern. If you want to specify multiple folders,
9248 separate them with ",". You can also use a wildcar "*".
9249 @end ifset
9250 @end table
9251
9252 @c %%%%%%%%%%%%%%%%%
9253 @node condition, dbsearch, search, Virtual
9254 @ifset ja
9255 @section 検索条件の入力方法
9256 @end ifset
9257 @ifset en
9258 @section How to input search conditions
9259 @end ifset
9260 @vindex mew-pick-pattern-list
9261 @vindex mew-prog-grep
9262 @vindex mew-prog-grep-opts
9263
9264 @ifset ja
9265 @samp{?} や @samp{/} を実行すると、Mew はユーザに対し以下のように検索の
9266 パターンを訊きます。
9267 @end ifset
9268 @ifset en
9269 If you type @samp{?} or @samp{/}, Mew asks you to input search pattern
9270 as follows:
9271 @end ifset
9272
9273 @example
9274 mewl/grep pick pattern:
9275 @end example
9276
9277 @ifset ja
9278 単純に「文字列」を 1 つ入力すると、Mew は @samp{grep} を呼び出します。ま
9279 た、「条件式」を入力すると、@samp{mewl} を呼び出します。
9280 @end ifset
9281 @ifset en
9282 If you specify just a keyword, Mew executes @samp{grep}.
9283 On the contrast if you type an expression, Mew calls @samp{mewl}.
9284 @end ifset
9285
9286 @ifset ja
9287 条件式の書式を以下に示します。(結合力の強い順に並んでいます。)
9288 @end ifset
9289 @ifset en
9290 Here is a list of expression elements. (In the strong order)
9291 @end ifset
9292
9293 @table @samp
9294 @ifset ja
9295 @item field=string
9296 フィールド field に文字列 string が含まれているときマッチ(大文字小文字を
9297 区別しない)。field に "head" を指定した場合は、ヘッダ全体を意味する。
9298 @item field==string
9299 フィールド field に文字列 string が含まれているときマッチ(大文字小文字を
9300 区別する)。field に "head" を指定した場合は、ヘッダ全体を意味する。
9301 @item field!=string
9302 フィールド field に文字列 string が含まれていないときマッチ(大文字小文字
9303 を区別しない)。field に "head" を指定した場合は、ヘッダ全体を意味する。
9304 @item field!==string
9305 フィールド field に文字列 string が含まれていないときマッチ(大文字小文字
9306 を区別する)。field に "head" を指定した場合は、ヘッダ全体を意味する。
9307 @item ( <pattern> )
9308 <pattern> の内容を先に評価。
9309 @item ! <pattern>
9310 <pattern> でないときマッチ。
9311 @item <pattern1> & <pattern2>
9312 <pattern1> かつ <pattern2> のときマッチ。省略可能。
9313 @item <pattern1> | <pattern2>
9314 <pattern1> または <pattern2> のときマッチ。
9315 @end ifset
9316 @ifset en
9317 @item field=string
9318 Match if the "field" field contains the "string" string
9319 (case-insensitive). If you specify "head", it means the entire header.
9320 @item field==string
9321 Match if the "field" field contains the "string" string
9322 (case-sensitive). If you specify "head", it means the entire header.
9323 @item field!=string
9324 Match if the "field" field does not the "string" string
9325 (case-insensitive). If you specify "head", it means the entire header.
9326 @item field!==string
9327 Match if the "field" field does not the "string" string
9328 (case-sensitive). If you specify "head", it means the entire header.
9329 @item ( <pattern> )
9330 Evaluate <pattern> first.
9331 @item ! <pattern>
9332 Match if not <pattern>.
9333 @item <pattern1> & <pattern2>
9334 Match if <pattern1> AND <pattern2>. You can omit this.
9335 @item <pattern1> | <pattern2>
9336 Match if <pattern1> OR <pattern2>.
9337 @end ifset
9338 @end table
9339
9340 @ifset ja
9341 以下に例を示します。
9342 @end ifset
9343 @ifset en
9344 Some examples are shown below.
9345 @end ifset
9346
9347 @ifset ja
9348 (a) From: に kazu が含まれるメッセージ
9349 @end ifset
9350 @ifset en
9351 (a) Messages whose From: contains "kazu".
9352 @end ifset
9353
9354 @example
9355 from=kazu
9356 @end example
9357
9358 @ifset ja
9359 (b) To: が mew、または、Cc: が mew であるメッセージ
9360 @end ifset
9361 @ifset en
9362 (b) Messages whose To: contains "mew" OR Cc: contains "mew".
9363 @end ifset
9364
9365 @example
9366 to=mew | cc=mew
9367 @end example
9368
9369 @ifset ja
9370 (c) To: が mew、または、Cc: が mew で、かつ、from が kazu である
9371 メッセージ
9372 @end ifset
9373 @ifset en
9374 (c) Messages whose To: contains "mew" OR Cc: contains "mew" AND
9375 From: contains "kazu".
9376 @end ifset
9377
9378 @example
9379 (to=mew | cc=mew) & from=kazu
9380 @end example
9381
9382 @ifset ja
9383 @samp{?} や @samp{/} で、パターンに入力の際に単純に @samp{RET} を押すと、
9384 以下のように利用するコマンドまで入力できるようになります。
9385 @end ifset
9386 @ifset en
9387 When you execute @samp{?} or @samp{/} and if you just type @samp{RET}
9388 to a pattern, you can specify a command to be executed.
9389 @end ifset
9390
9391 @example
9392 Cmd opts pattern: grep -l -e
9393 @end example
9394
9395 @ifset ja
9396 @samp{k?} や @samp{k/} で検索エンジンを利用する場合は、上記のパターン(文字
9397 列や条件式)が自動的に検索エンジンの書式に変換されます。
9398 @end ifset
9399 @ifset en
9400 When you use an search engine with @samp{k?} or @samp{k/}, the pattern
9401 (including just a keyword and an expression) will be converted to the
9402 syntax of the search engine.
9403 @end ifset
9404
9405 @ifset ja
9406 たとえば、kazu から来たメールで、「wine」を含み、かつ「bordeaux」を含ま
9407 ないという条件式は以下のように書きます。
9408 @end ifset
9409 @ifset en
9410 For example, you can write an expression, that From: is "kazu" and
9411 body contains "wine" but does not contain "bordeaux", as follows:
9412 @end ifset
9413
9414 @example
9415 from=kazu wine ! bordeaux
9416 @end example
9417
9418 @ifset ja
9419 なお、@samp{mew-pick-pattern-list} にパターンのリストを定義しておくと、
9420 @samp{C-cTAB} で各要素を循環的に補完できます。この場合、リストの先頭が
9421 デフォルトとして表示されます。
9422 @end ifset
9423 @ifset en
9424 If you set @samp{mew-pick-pattern-list} to a list of pattern, you can
9425 enjoy circular completion with @samp{C-cTAB}. In this case, the first
9426 member is displayed as a default value.
9427 @end ifset
9428
9429 @ifset ja
9430 日本語の全文検索をしたい場合は、("grep" の代わりに) "mg" をインストール
9431 し、以下のように設定して下さい。
9432
9433 @lisp
9434 (setq mew-prog-grep "mg")
9435 (setq mew-prog-grep-opts '("-j" "jis" "-l" "-e" "-x" "&mime"))
9436 @end lisp
9437 @end ifset
9438
9439 @c %%%%%%%%%%%%%%%%%
9440 @node dbsearch, keyword, condition, Virtual
9441 @ifset ja
9442 @section 検索エンジン
9443 @end ifset
9444 @ifset en
9445 @section Search Engine
9446 @end ifset
9447 @kindex km
9448 @kindex kM
9449 @kindex kc
9450 @vindex mew-search-method
9451
9452 @ifset ja
9453 検索エンジンを操作するために以下のコマンドが用意されています。
9454 @end ifset
9455 @ifset en
9456 To operate search engines, the following commands are provided:
9457 @end ifset
9458
9459 @table @samp
9460 @ifset ja
9461 @item km
9462 そのフォルダのインデックスを作る。
9463 @item kM
9464 全体のフォルダのインデックスを作る。あるいは、作るために初期化する。
9465 @item kc
9466 検索エンジンを切り替える。
9467 @end ifset
9468 @ifset en
9469 @item km
9470 Make index for the current folder.
9471 @item kM
9472 Make index for all folders.
9473 @item kc
9474 Switch one search engine to another.
9475 @end ifset
9476 @end table
9477
9478 @ifset ja
9479 以下に、それぞれの検索エンジンの説明を示します。
9480 @end ifset
9481 @ifset en
9482 The followings are expiation of each search engines.
9483 @end ifset
9484
9485 @table @samp
9486 @ifset ja
9487 @item Hyper Estraier
9488 定期的に @samp{kM} を実行する必要があります。コマンドラインで、
9489 "mewest" を実行しても構いません。あるフォルダのインデックスを急いで更新
9490 したいなら @samp{km} でもよいでしょう。@samp{k?} と@samp{k/} の両方が利
9491 用できます。@samp{C-uk/}でフォルダを指定すると、サブディレクトリも検索
9492 になります。
9493 @item Spotlight
9494 一度だけ @samp{kM} を実行する必要があります。@samp{km} は必要ありません。
9495 @samp{k?} と @samp{k/} の両方が利用できます。
9496 @item Windows Desktop Search
9497 一度だけ @samp{kM} を実行する必要があります。@samp{km} は必要ありません。
9498 @item Google Desktop
9499 一度だけ @samp{kM} を実行する必要があります。@samp{km} は必要ありません。
9500 @samp{k/} のみが利用できます。
9501 @end ifset
9502 @ifset en
9503 @item Hyper Estraier
9504 Type @samp{kM} periodically. It's OK to execute "mewest" on the
9505 command line instead. If you want to update the index for the current
9506 folder quickly, you can use @samp{km}. Both @samp{k?} and @samp{k/}
9507 are available. When you specify folders with @samp{C-uk/},
9508 sub-folders, if any, are included in the target.
9509 @item Spotlight
9510 Type @samp{kM} just once. @samp{km} is not necessary. Both @samp{k?}
9511 and @samp{k/} are available.
9512 @item Windows Desktop Search
9513 Type @samp{kM} just once. @samp{km} is not necessary.
9514 @item Google Desktop
9515 Type @samp{kM} just once. @samp{km} is not necessary. Only @samp{k/}
9516 is available.
9517 @end ifset
9518 @end table
9519
9520 @ifset ja
9521 検索エンジンの初期値は、最初に見つかった利用できるものに自動的に設定さ
9522 れます。明示的に指定したい場合は、@samp{mew-search-method}
9523 に'est、'spotlight、'wds, 'google のどれかを指定して下さい。以下は、
9524 Hyper Estraier に設定する例です。
9525 @end ifset
9526 @ifset en
9527 The default search engine is automatically set to the one found first.
9528 If you explicitly specify it, set @samp{mew-search-method} to one out
9529 of 'est, 'spotlight, 'wds, and 'google. The following is an example to
9530 choose Hyper Estraier.
9531 @end ifset
9532
9533 @lisp
9534 (setq mew-search-method 'est)
9535 @end lisp
9536
9537 @c %%%%%%%%%%%%%%%%%
9538 @node keyword, thread, dbsearch, Virtual
9539 @ifset ja
9540 @section キーワードの強調
9541 @end ifset
9542 @ifset en
9543 @section Highlighting a keyword
9544 @end ifset
9545 @kindex M-n (Summary)
9546 @kindex C-uM-n (Summary)
9547 @kindex M-p (Summary)
9548 @kindex C-uM-p (Summary)
9549
9550 @ifset ja
9551 検索に使ったキーワードは、バッファに保存されています。メッセージを表示
9552 し、さらにキーワードをハイライトすることができます。この機能を提供する
9553 コマンドは以下の通りです。
9554 @end ifset
9555 @ifset en
9556 The keyword which you specified on search is shorted in a buffer. You
9557 can display messages with the keyword highlighted. The commands to
9558 enable this functionality are as follows:
9559 @end ifset
9560
9561 @table @samp
9562 @ifset ja
9563 @item M-n
9564 下方向のメッセージへ移動しキーワードをハイライトして表示。Summary モー
9565 ドでは @samp{*} マークのついたメッセージが、Virtual モードではすべての
9566 メッセージが対象となる。このコマンドを繰り返し利用すると、キーワードの
9567 付近が次々と表示されていく。キーワードが設定されていないなら、ユーザ
9568 にキーワードを訊く。
9569 @item C-uM-n
9570 キーワードを明示的に設定できること以外は、@samp{M-n} に同じ。
9571 @item M-p
9572 @samp{M-n} を逆方向にしたコマンド。
9573 @item C-uM-p
9574 @samp{C-uM-n} を逆方向にしたコマンド。
9575 @end ifset
9576 @ifset en
9577 @item M-n
9578 Display a message in the forward direction and find a keyword and
9579 highlight it. In Summary mode, the target is messages marked with
9580 @samp{*}. In Virtual mode, it is all messages. If you repeat this
9581 command, text around the keyword is displayed from one to another. If
9582 no key word is set to the variable, this command first asks you a
9583 keyword.
9584 @item C-uM-n
9585 The same as @samp{M-n} except that you can change the stored keyword
9586 explicitly.
9587 @item M-p
9588 A reverse version of @samp{M-n}.
9589 @item C-uM-p
9590 A reverse version of @samp{C-uM-n}.
9591 @end ifset
9592 @end table
9593
9594 @c %%%%%%%%%%%%%%%%%
9595 @node thread, thread-op, keyword, Virtual
9596 @ifset ja
9597 @section スレッド
9598 @end ifset
9599 @ifset en
9600 @section Thread
9601 @end ifset
9602 @vindex mew-use-thread-separator
9603 @vindex mew-thread-separator
9604 @kindex tt (Summary)
9605 @kindex C-utt (Summary)
9606 @kindex mt (Summary)
9607 @kindex tr (Summary)
9608 @kindex tp (Virtual)
9609 @kindex tn (Virtual)
9610 @kindex ^ (Virtual)
9611 @kindex & (Virtual)
9612 @kindex ( (Virtual)
9613 @kindex ) (Virtual)
9614 @kindex t* (Virtual)
9615 @kindex t@ (Virtual)
9616 @kindex td (Virtual)
9617 @kindex tM-d (Virtual)
9618 @kindex to (Virtual)
9619 @kindex tu (Virtual)
9620 @kindex tSPC (Virtual)
9621 @kindex ta (Virtual)
9622 @kindex tg (Virtual)
9623
9624 @ifset ja
9625 メッセージをやりとりしていると、対話の流れは木構造になります。これを行
9626 頭揃えにより可視化したものをスレッドと呼びます。以下にスレッドの例を示
9627 します。
9628 @end ifset
9629 @ifset en
9630 When in the process of exchanging messages, the relationship of the
9631 messages is presented in a tree structure. Visualization of the structure
9632 with indentation is called thread. Here is an example:
9633 @end ifset
9634
9635 @example
9636 @ifset ja
9637 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック
9638 03/13 かずくん ┣Re: 今週末 |雨なので、中にしますか
9639 03/15 Hidenori Ohta ┃┗Re: 今週末 |それでは、12:00 に集合
9640 03/14 おだちゃん ┗Re: 今週末 |いいねぇ。次はあれを落
9641 @end ifset
9642 @ifset en
9643 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
9644 03/13 Kazu-kun +Re: This weekend |Since it'll be rainy,
9645 03/15 Hidenori Ohta | +Re: This weekend |OK. Get together at 12
9646 03/14 Oda-chan +Re: This weekend |Sounds lovely. I'd lik
9647 @end ifset
9648 @end example
9649
9650 @ifset ja
9651 スレッドは仮想フォルダとして実現されています。たとえば、+inbox に対しス
9652 レッドを作ると、*+inbox* というバッファが用意されます。
9653 @end ifset
9654 @ifset en
9655 The thread feature is implemented as virtual folder. For instance, if
9656 you make threads for +inbox, a buffer *+inbox* is prepared.
9657 @end ifset
9658
9659 @ifset ja
9660 スレッドを作るために、以下のコマンドが用意されています。
9661 @end ifset
9662 @ifset en
9663 To make thread, the following commands exist.
9664 @end ifset
9665
9666 @table @samp
9667 @ifset ja
9668 @item tt
9669 Summary モード、あるは、セレクションからスレッドを作る。そして、カーソ
9670 ルを現在のメッセージに移動する。もし、対応するスレッドがすでに存在して
9671 いるなら、スレッドに表示を切り替える。スレッドで使用された際は、元のフォ
9672 ルダへ移り、カーソルを現在のメッセージへ移動する。
9673 @item C-utt
9674 リージョンに対し、スレッドを作る。
9675 @item mt
9676 @samp{*} マークの付いているメッセージに対し、スレッドを作る。
9677 @item tr
9678 正規表現に合致したメッセージに対し、スレッドを作る。
9679 @end ifset
9680 @ifset en
9681 @item tt
9682 Make threads from Summary mode or selection and move the cursor to the
9683 current message. If corresponding threads already exist, switch to the
9684 Virtual mode. When this command is executed on threads, switch to the
9685 original folder and move the cursor to the current message.
9686 @item C-utt
9687 Make threads for messages in the region.
9688 @item mt
9689 Make threads for messages marked with @samp{*}.
9690 @item tr
9691 Make threads for messages matched to a regular expression.
9692 @end ifset
9693 @end table
9694
9695 @c %%%%%%%%%%%%%%%%%
9696 @node thread-op, Quit, thread, Virtual
9697 @ifset ja
9698 @section スレッドの操作
9699 @end ifset
9700 @ifset en
9701 @section Thread operations
9702 @end ifset
9703
9704 @ifset ja
9705 スレッドに特化した移動コマンドを以下に示します。
9706 @end ifset
9707 @ifset en
9708 Here are the commands used for moving to thread presentation.
9709 @end ifset
9710
9711 @table @samp
9712 @ifset ja
9713 @item tp
9714 現在のスレッドの頭に移動する。もし、あるスレッドの頭にカーソルがある場合
9715 は、前のスレッドの頭に移動する。
9716 @item tn
9717 次のスレッドの頭に移動する。
9718 @item ^
9719 親のメッセージに移動する。(スレッドでなくても利用可能)
9720 @item &
9721 長男のメッセージに移動する。(スレッドでなくても利用可能)
9722 @item (
9723 兄のメッセージに移動する。
9724 @item )
9725 弟のメッセージに移動する。
9726 @end ifset
9727 @ifset en
9728 @item tp
9729 Move to the top of the current thread. If the current message is a top
9730 node, move to the top of the next thread.
9731 @item tn
9732 Move to the top of the next thread.
9733 @item ^
9734 Move to the parent message of the current message. (Available in both
9735 Summary and Virtual)
9736 @item &
9737 Move to the child message of the current message. (Available in both
9738 Summary and Virtual)
9739 @item (
9740 Search backward by one sibling message of the current message.
9741 @item )
9742 Search forward by one sibling message of the current message.
9743 @end ifset
9744 @end table
9745
9746
9747 @ifset ja
9748 スレッドにマークを付けるコマンドを以下に示します。
9749 @end ifset
9750 @ifset en
9751 Here are commands to mark messages in a thread.
9752 @end ifset
9753
9754 @table @samp
9755 @ifset ja
9756 @item t*
9757 現在のメッセージを頭とする部分木に属するメッセージすべてに @samp{*} マー
9758 クを付ける。詳しくは @xref{target mark} を参照のこと。
9759 @item t$
9760 現在のメッセージを頭とする部分木に属するメッセージすべてに @samp{$} マー
9761 クを付ける。詳しくは @xref{escape mark} を参照のこと。
9762 @item td
9763 現在のメッセージを頭とする部分木に属するメッセージすべてに @samp{D} マー
9764 クを付ける。詳しくは @xref{delete mark} を参照のこと。
9765 @item tM-d
9766 現在のメッセージを頭とする部分木に属するメッセージすべてに @samp{X} マー
9767 クを付ける。詳しくは @xref{delete mark} を参照のこと。
9768 @item to
9769 現在のメッセージを頭とする部分木に属するメッセージすべてに @samp{o} マー
9770 クを付ける。詳しくは @xref{refile mark} を参照のこと。
9771 @end ifset
9772 @ifset en
9773 @item t*
9774 Put the @samp{*} mark all messages of the current sub-thread. Please
9775 refer to @ref{target mark} for more information.
9776 @item t$
9777 Put the @samp{$} mark all messages of the current sub-thread. Please
9778 refer to @ref{escape mark} for more information.
9779 @item td
9780 Put the @samp{D} mark all messages of the current sub-thread. Please
9781 refer to @ref{delete mark} for more information.
9782 @item tM-d
9783 Put the @samp{X} mark all messages of the current sub-thread. Please
9784 refer to @ref{delete mark} for more information.
9785 @item to
9786 Put the @samp{o} mark all messages of the current sub-thread. Please
9787 refer to @ref{refile mark} for more information.
9788 @end ifset
9789 @end table
9790
9791 @ifset ja
9792 スレッドからマークを消すコマンドは、@samp{tu} です。
9793 @end ifset
9794 @ifset en
9795 A command to unmark all messages of the current sub-thread is @samp{tu}.
9796 @end ifset
9797
9798
9799 @ifset ja
9800 以下に、スレッドを加工するコマンドを示します。
9801 @end ifset
9802 @ifset en
9803 Here are commands to manipulate a thread:
9804 @end ifset
9805
9806 @table @samp
9807 @ifset ja
9808 @item tSPC
9809 子供以下を隠して親だけにする。子供以下が隠れている親メッセージには、
9810 "+" が付く。また、子供以下が隠れている親メッセージでこのコマンドを実行
9811 すると、子供以下が現れる。
9812 @item ta
9813 すべてのスレッドに対し、子供の表示を反転させる。
9814 @item tg
9815 あるスレッドをあるメッセージに接ぎ木する。接ぎ木するスレッドは、
9816 @samp{C-SPC} で指定する。目的のスレッドの一番上のメッセージで、
9817 @samp{C-SPC} を押すと、そのスレッドが選択されたことになる。そして目的の
9818 メッセージへ移動し、@samp{tg} を押すと、スレッドがこのメッセージの子供
9819 として接ぎ木される。
9820 @end ifset
9821 @ifset en
9822 @item tSPC
9823 Hide children and leave the parent only. If its children are hidden,
9824 "+" is displayed on the parent. Also, if this command is executed on a
9825 message whose children are hidden, they appear.
9826 @item ta
9827 Toggle appearance of children for all threads.
9828 @item tg
9829 Graft a thread to a message. To specify which thread is grafted, type
9830 @samp{C-SPC} on the root of the thread. Then move onto your target
9831 message, and typing @samp{tg} grafts the thread to the target message
9832 as children.
9833 @end ifset
9834 @end table
9835
9836
9837 @ifset ja
9838 なお、@samp{mew-use-thread-separator} を @samp{t} にすると、スレッド間
9839 に境界文字列として @samp{mew-thread-separator} (初期値は "--") が挿入さ
9840 れます。
9841 @end ifset
9842 @ifset en
9843 If @samp{mew-use-thread-separator} is @samp{t}, threads are
9844 distinguished by a separator defined by @samp{mew-thread-separator}
9845 (its default value is @w{"}--").
9846 @end ifset
9847
9848 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9849 @c Quit
9850 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9851
9852 @node Quit, Customize, thread-op, Top
9853 @ifset ja
9854 @chapter 一休み
9855 @end ifset
9856 @ifset en
9857 @chapter Give me a break
9858 @end ifset
9859 @kindex q (Summary)
9860 @kindex Q (Summary)
9861 @kindex C-cC-q (Summary)
9862 @kindex C-cC-q (Draft)
9863 @kindex C-cC-q (Header)
9864 @kindex C-cC-q (Addrbook)
9865
9866 @ifset ja
9867 Mew を終了させたり、一時中断させたり、そのモード(正確にはバッファ)を消去
9868 する方法を以下に示します。
9869 @end ifset
9870 @ifset en
9871 Here are how to quit and suspend Mew and how to erase a mode (buffer).
9872 @end ifset
9873
9874 @ifset ja
9875 <Summary モードと Virtual モード>
9876 @end ifset
9877 @ifset en
9878 <Summary mode and Virtual mode>
9879 @end ifset
9880
9881 @table @samp
9882 @ifset ja
9883 @item q
9884 Mew を一時中断し、他のバッファに切り替える。Mew 用のバッファはすべて残っ
9885 ているので、バッファ操作で選べば再開できる。
9886 @item Q
9887 Mew を終了。Mew が使ったすべてのバッファを消去する。
9888 @item C-cC-q
9889 そのモード(正確にはバッファ)を消去する。
9890 @end ifset
9891 @ifset en
9892 @item q
9893 Suspend Mew then switch to another buffer. All buffers of Mew remain, so
9894 you can resume with buffer operations.
9895 @item Q
9896 Quit Mew. All buffers of Mew are erased.
9897 @item C-cC-q
9898 Erase the current mode (buffer).
9899 @end ifset
9900 @end table
9901
9902 @ifset ja
9903 <Draft モードと Header モード>
9904 @end ifset
9905 @ifset en
9906 <Draft mode and Header mode>
9907 @end ifset
9908
9909 @table @samp
9910 @ifset ja
9911 @item C-cC-q
9912 その草稿を消去する。
9913 @end ifset
9914 @ifset en
9915 @item C-cC-q
9916 Erase the draft.
9917 @end ifset
9918 @end table
9919
9920 @ifset ja
9921 <Addrbook モード>
9922 @end ifset
9923 @ifset en
9924 <Addrbook mode>
9925 @end ifset
9926
9927 @table @samp
9928 @ifset ja
9929 @item C-cC-q
9930 そのバッファを消去する。
9931 @end ifset
9932 @ifset en
9933 @item C-cC-q
9934 Erase the buffer.
9935 @end ifset
9936 @end table
9937
9938 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9939 @c Customize
9940 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9941
9942 @node Customize, summary-mode, Quit, Top
9943 @ifset ja
9944 @chapter カスタマイズ
9945 @end ifset
9946 @ifset en
9947 @chapter Customizing Mew
9948 @end ifset
9949
9950 @ifset ja
9951 ここでは、Mew のデフォルトの動作を変更し、自分好みの Mew にする方法を説
9952 明します。主に "~/.mew.el" で設定して下さい。
9953 @end ifset
9954 @ifset en
9955 Here are explained how to change default setting of Mew and make Mew
9956 your favorite. Edit "~/.mew.el" to do it!
9957 @end ifset
9958
9959 @menu
9960 @ifset ja
9961 * summary-mode:: Summary mode
9962 * message-mode:: Message mode
9963 * draft-mode:: Draft mode
9964 * charset:: 文字コード
9965 * highlight:: 色付け
9966 * hooks:: フック
9967 * pop:: POP
9968 * imap:: IMAP
9969 * nntp:: NNTP
9970 * smtp:: SMTP
9971 * config:: 送受信の動作変化
9972 * config2:: 設定の書式
9973 * custom-misc:: その他
9974 @end ifset
9975 @ifset en
9976 * summary-mode:: Summary mode
9977 * message-mode:: Message mode
9978 * draft-mode:: Draft mode
9979 * charset:: Character set
9980 * highlight:: Highlighting
9981 * hooks:: Hooks
9982 * pop:: POP
9983 * imap:: IMAP
9984 * nntp:: NNTP
9985 * smtp:: SMTP
9986 * config:: Changing receiving/sending behavior
9987 * config2:: The format of configuration
9988 * custom-misc:: Miscellaneous
9989 @end ifset
9990 @end menu
9991
9992 @c %%%%%%%%%%%%%%%%%
9993 @node summary-mode, message-mode, Customize, Customize
9994 @ifset ja
9995 @section Summary mode
9996 @end ifset
9997 @ifset en
9998 @section Summary mode
9999 @end ifset
10000 @vindex mew-summary-form
10001 @vindex mew-summary-form-from-me-prefix
10002 @vindex mew-summary-form-extract-rule
10003 @vindex mew-summary-form-mark-delete
10004 @vindex mew-summary-form-mark-spam
10005 @vindex mew-summary-form-mark-review
10006 @vindex mew-use-full-window
10007 @vindex mew-summary-show-direction
10008 @vindex mew-summary-mark-direction
10009
10010 @ifset ja
10011 Summary モードの書式は、@samp{mew-summary-form} で指定できます。以下に
10012 初期値を示します。
10013 @end ifset
10014 @ifset en
10015 You can specify the format of Summary mode by @samp{mew-summary-form}.
10016 The default value is as follows:
10017 @end ifset
10018
10019 @lisp
10020 (setq mew-summary-form '(type (5 date) " " (14 from) " " t (30 subj) "|" (0 body)))
10021 @end lisp
10022
10023 @ifset ja
10024 このように、@samp{mew-summary-form} は、リスト、シンボル、文字列のリストで
10025 す。
10026 @end ifset
10027 @ifset en
10028 Like this, @samp{mew-summary-form} is a list of list, symbol, and string.
10029 @end ifset
10030
10031 @enumerate
10032 @ifset ja
10033 @item
10034 文字列はそのまま出力される
10035 @item
10036 リストは、整数とシンボルから構成される。シンボルは、呼び出す関数を意味す
10037 る。関数名は、"mew-summary-form-" とシンボル名を連結することで作られる。
10038 (例: 'date というシンボルは、@samp{mew-summary-form-date} という関数名
10039 になる) あらかじめ定義されているシンボルには、'type、'time、'date、'year、
10040 'size、'from、'subj、'body がある。詳細は、
10041 @samp{mew-summary-form-<symbol>} という名を持つ関数の説明を参照のこと。
10042 整数は、関数が返す文字列が埋めるフィールドの幅を指定する。正の数は、左詰
10043 めを意味する。負の数は、右詰めを意味する。もし、負の数を指定する場合、対
10044 応する関数は ASCII 文字列を返す必要がある。0 は、行の残りを意味し、左詰
10045 めとなる。
10046 @item
10047 @samp{t} 以外のシンボルは、(1 シンボル) に等しい。
10048 @item
10049 @samp{mew-summary-form} は、利用される際に先頭に (mark) が付け加えられる。
10050 @item
10051 @samp{t} は、スレッドの際に段付けする位置を意味する。
10052 @end ifset
10053 @ifset en
10054 @item
10055 A string is printed as it is.
10056 @item
10057 A list consists of an integer and a symbol. The symbol specifies a
10058 function to be called. The name of the function is produced by
10059 concatenating "mew-summary-form-" and the symbol name.
10060 (e.g. @samp{mew-summary-form-date} for the symbol 'date'). Pre-defined
10061 symbols are 'type, 'time, 'date, 'year, 'size, 'from, 'subj and
10062 'body. For more details, see the explanation of the functions called
10063 @samp{mew-summary-form-<symbol>}. The integer specifies the width of
10064 field which will be filled with a return string of the function. A
10065 positive value means padding SPCs on the right if necessary. A negative
10066 value means padding SPCs on the left if necessary. If a negative value
10067 is specified, the corresponding function must return an ASCII string. 0
10068 means the remaining width of the line and is treated as a positive
10069 value.
10070 @item
10071 A symbol is equivalent to (1 symbol).
10072 @item
10073 '(mark) is appended to @samp{mew-summary-form} when used.
10074 @item
10075 @samp{t} means the position of thread indentation.
10076 @end ifset
10077 @end enumerate
10078
10079 @ifset ja
10080 例を以下に示します。
10081 @end ifset
10082 @ifset en
10083 An example is as follows:
10084 @end ifset
10085
10086 @lisp
10087 (setq mew-summary-form
10088 '(type (5 date) " " (-4 size) " " (14 from) " " t (30 subj) "|" (0 body)))
10089 @end lisp
10090
10091 @ifset ja
10092 @samp{mew-summary-form-from-me-prefix} は、自分から送信されたメッセージの宛
10093 先の先頭に加えられる文字列です。初期値は "To:" です。
10094 @end ifset
10095 @ifset en
10096 @samp{mew-summary-form-from-me-prefix} is the prefix to be prepend to an
10097 destination address if the message is originated by me. The default is
10098 @w{"}To:".
10099 @end ifset
10100
10101 @ifset ja
10102 @samp{mew-summary-form-extract-rule} は、From: フィールドからどの部分を切り
10103 出すか指定するためのリストです。要素は、'name、'comment、'address、
10104 'nickname、あるいは正規表現である必要があります。初期値は '(nickname) で
10105 す。
10106 @end ifset
10107
10108 @ifset en
10109 @samp{mew-summary-form-extract-rule} is a list to specify what part to
10110 extract from the From: field. Each element must be 'name, 'comment,
10111 'address, 'nickname, or appropriate "regex". The default value is
10112 '(nickname).
10113 @end ifset
10114
10115 @ifset ja
10116 次の例を考えて下さい。
10117 @end ifset
10118 @ifset en
10119 Consider the following examples:
10120 @end ifset
10121
10122 @example
10123 A: Kazu Yamamoto <kazu@@example.org>
10124 B: kazu@@example.org (Kazu Yamamoto)
10125 C: Kazuhiko Yamamoto (Kazu) <kazu@@example.org>
10126 @end example
10127
10128 @ifset ja
10129 それぞの要素は、以下のような意味を持ちます。
10130 @end ifset
10131 @ifset en
10132 Each element returns the following value:
10133 @end ifset
10134
10135 @enumerate
10136 @ifset ja
10137 @item
10138 'name:: 名前の部分
10139 @example
10140 A. Kazu Yamamoto
10141 B. (No match)
10142 C. Kazuhiko Yamamoto (Kazu)
10143 @end example
10144 @item
10145 'comment:: コメントの部分
10146 @example
10147 A: (No match)
10148 B: Kazu Yamamoto
10149 C: (Kazu)
10150 @end example
10151 @item
10152 'address:: アドレスの部分
10153 @example
10154 A: kazu@@example.org
10155 B: kazu@@example.org
10156 C: kazu@@example.org
10157 @end example
10158 @item
10159 'nickname:: @samp{mew-addrbook-for-summary} の値に応じたアドレス帳の個人
10160 情報のある要素。@samp{mew-addrbook-for-summary} の初期値は
10161 @samp{'nickname} なので、通常はニックネームに変換される。何が指定できる
10162 かは、@xref{draft-mode} を参照のこと。
10163 @item
10164 (regex):: 最初に合致した文字列
10165 @end ifset
10166 @ifset en
10167 @item
10168 'name:: Name part, if any
10169 @example
10170 A. Kazu Yamamoto
10171 B. (No match)
10172 C. Kazuhiko Yamamoto (Kazu)
10173 @end example
10174 @item
10175 'comment:: Comment part, if any
10176 @example
10177 A: (No match)
10178 B: Kazu Yamamoto
10179 C: (Kazu)
10180 @end example
10181 @item
10182 'address:: Address part
10183 @example
10184 A: kazu@@example.org
10185 B: kazu@@example.org
10186 C: kazu@@example.org
10187 @end example
10188 @item
10189 'nickname:: one element of personal information in Addrbook according to
10190 @samp{mew-addrbook-for-summary}. The default value of
10191 @samp{mew-addrbook-for-summary} is @samp{'nickname}. So, From: is
10192 converted a nickname by default. To know what kind of value can be used,
10193 refer to @ref{draft-mode}.
10194 @item
10195 (regex):: The substring first matched.
10196 @end ifset
10197 @end enumerate
10198
10199 @ifset ja
10200 ある要素が合致しない場合、次の要素が評価されます。どの要素も From: フィー
10201 ルドに合致しない場合か、この値が @samp{nil} の場合、From: フィールド全体
10202 が利用されます。
10203 @end ifset
10204 @ifset en
10205 If a element does not match, the next element is applied. If no element
10206 matches to the From: field, or this value is @samp{nil}, the whole of
10207 the From: field is used.
10208 @end ifset
10209
10210
10211 @ifset ja
10212 @samp{mew-summary-form-mark-delete} が @samp{t} の場合、重複しているメッセー
10213 ジに自動的に @samp{D} マークが付きます。初期値は @samp{nil} です。
10214 @end ifset
10215 @ifset en
10216 If @samp{mew-summary-form-mark-delete} is @samp{t}, the @samp{D} mark
10217 automatically is put onto duplicated messages. The default is
10218 @samp{nil}.
10219 @end ifset
10220
10221
10222 @ifset ja
10223 @samp{mew-summary-form-mark-spam} が @samp{t} の場合、本文の一部に対す
10224 る MD5 チェックサムが一致しているメッセージに自動的に @samp{D} マークが
10225 付きます。初期値は @samp{nil} です。
10226 @end ifset
10227 @ifset en
10228 If @samp{mew-summary-form-mark-spam} is @samp{t}, the @samp{D} mark
10229 automatically is put onto SPAM messages. A message is considered a
10230 SPAM message if the MD5 checksum of its body is duplicated in a
10231 scan. The default is @samp{nil}.
10232 @end ifset
10233
10234 @ifset ja
10235 @samp{mew-summary-form-mark-review} が @samp{t} の場合、自分宛てのメッセー
10236 ジに自動的に @samp{*} マークが付きます。初期値は @samp{nil} です。
10237 @end ifset
10238 @ifset en
10239 If @samp{mew-summary-form-mark-review} is @samp{t}, the @samp{*} mark
10240 automatically is put onto messages destined to me. The default is
10241 @samp{nil}.
10242 @end ifset
10243
10244
10245 @ifset ja
10246 いつも Emacs のフレーム全体で Mew を使いたい人は、以下の設定をして下さい。
10247 @end ifset
10248 @ifset en
10249 If you want to use Mew with full Emacs frame, set like this.
10250 @end ifset
10251
10252 @lisp
10253 (setq mew-use-full-window t)
10254 @end lisp
10255
10256
10257 @ifset ja
10258 Summary モードの @samp{SPC} は、@samp{mew-summary-show-direction} によっ
10259 て、次のメッセージの表示の仕方が変わります。また同様に、強いマークを付け
10260 た後カーソルが動く方向は @samp{mew-summary-mark-direction} により指定で
10261 きます。以下の値を設定できます。
10262 @end ifset
10263 @ifset en
10264 @samp{SPC} in Summary mode decide the next action to view a message
10265 according to @samp{mew-summary-show-direction}. Likewise, you can
10266 specify the cursor direction after putting a strong mark by
10267 @samp{mew-summary-mark-direction}. You can select one from the following
10268 candidates.
10269 @end ifset
10270
10271 @table @samp
10272 @ifset ja
10273 @item up
10274 上のメッセージを表示する。
10275 @item down
10276 下のメッセージを表示する。
10277 @item next
10278 読み進めている方向の次のメッセージを表示する。
10279 @item stop
10280 次は表示しない。
10281 @end ifset
10282 @ifset en
10283 @item up
10284 Display the message above.
10285 @item down
10286 Display the message below.
10287 @item next
10288 Display the next message in the direction.
10289 @item stop
10290 Do not display the next message.
10291 @end ifset
10292 @end table
10293
10294 @ifset ja
10295 両方とも初期値は @samp{next} です。いつもメッセージを下から読む人は、以
10296 下のようにすればよいでしょう。
10297 @end ifset
10298 @ifset en
10299 The default value for both is @samp{next}. If you read messages from the
10300 bottom, set as follows:
10301 @end ifset
10302
10303 @lisp
10304 (setq mew-summary-show-direction 'up)
10305 @end lisp
10306
10307 @c %%%%%%%%%%%%%%%%%
10308 @node message-mode, draft-mode, summary-mode, Customize
10309 @ifset ja
10310 @section Message mode
10311 @end ifset
10312 @ifset en
10313 @section Message mode
10314 @end ifset
10315 @kindex C-cC-e (Summary)
10316 @kindex C-uC-cC-e (Summary)
10317 @kindex zz (Summary)
10318 @vindex mew-prog-text/html-ext
10319 @vindex mew-prog-msword-ext
10320 @vindex mew-prog-msexcel-ext
10321 @vindex mew-prog-mspowerpoint-ext
10322 @vindex mew-prog-msword
10323 @vindex mew-prog-msexcel
10324 @vindex mew-prog-mspowerpoint
10325 @vindex mew-mime-multipart-alternative-list
10326
10327 @ifset ja
10328 Emacs がサポートしてないデータ型のファイルは、Message バッファに直接表
10329 示できません。そのデータをテキストに整形する外部コマンドをインストール
10330 すれば、Message バッファに表示可能になります。
10331 @end ifset
10332 @ifset en
10333 It is impossible to display a file to the Message buffer if its data
10334 type is not supported by Emacs. Install an external program which
10335 converts the data to text and you can display the file to the Message
10336 buffer.
10337 @end ifset
10338
10339 @ifset ja
10340 @w{"}w3m" と "emacs-w3m" をインストールすると、Text/Html を Message バッ
10341 ファに表示できるようになります。(以下で説明する "wvHtml"、"xlhtml"、
10342 "ppthtml" は、単なる "w3m" ではなく、国際化された "w3m-m17n" が必要で
10343 す。) 両者をインストールしたら、"~/.mew.el" に以下の設定を加えて下さい。
10344 @end ifset
10345 @ifset en
10346 Text/Html can be displayed in Message mode, if you add the following to
10347 "~/.mew.el".
10348 @end ifset
10349
10350 @lisp
10351 (setq mew-use-text/html t) ; decode HTML for all folders
10352 @end lisp
10353
10354 @ifset ja
10355 これで、あたかも Text/Plain であるかのように、Text/Html を Message バッ
10356 ファに表示できるようになります。この際も、以下で説明する @samp{C-cC-e}
10357 の操作は有効です。
10358 @end ifset
10359 @ifset en
10360 With this, Text/Html can be displayed in Message mode as if it were
10361 Text/Plain. Even in this situation, @samp{C-cC-e} described below is a
10362 valid operation.
10363
10364 By default, Text/Html is displayed using Emacs's built-in HTML renderer.
10365
10366 Alternatively, you can display Text/Html using the w3m browser.
10367 First, install "w3m" and "emacs-w3m".
10368 (Please note that multilingualized "w3m", not pure
10369 @w{"}w3m", is necessary for "wvHtml", "xlhtml", and "ppthtml"
10370 described below.) When you install both of them, add the following to
10371 "~/.mew.el".
10372 @end ifset
10373
10374 @lisp
10375 (condition-case nil
10376 (require 'mew-w3m)
10377 (file-error nil))
10378 @end lisp
10379
10380 @ifset ja
10381 "wvHtml"、"xlhtml"、"ppthtml" というコマンドをインストールすれば、それ
10382 ぞれ WORD、Excel、PowerPoint ファイルのテキスト部分を、Message バッファ
10383 に表示可能です。これらのコマンドは、HTML を利用するので、上記の
10384 Text/Html の設定を完了させて下さい。これで、たとえば WORD ファイルをあ
10385 たかもテキストのように、Message バッファに表示可能になります。
10386 @end ifset
10387 @ifset en
10388 If you install "wvHtml", "xlhtml", and "ppthtml", you can display text
10389 parts of WORD, Excel, and PowerPoint file in Message,
10390 respectively. Since these commands uses HTML, the configuration of
10391 Text/Html above is required. With this, a WORD file, for example, can
10392 be displayed in Message mode as if it were text.
10393 @end ifset
10394
10395 @ifset ja
10396 外部のプログラムの整形結果を Message バッファに表示する代わりに、外部の
10397 プログラム自身にそのデータを表示させることもできます。これには
10398 @samp{C-cC-e} を使います。
10399 @end ifset
10400 @ifset en
10401 You can display the file with an external application itself instead
10402 of displaying it in the Message buffer. For this, type @samp{C-cC-e}.
10403 @end ifset
10404
10405 @ifset ja
10406 Message バッファに画像を表示することもできます。また @samp{C-cC-e} を使
10407 い、外部のプログラムに表示させることも可能です。
10408 @end ifset
10409 @ifset en
10410 You can visualize an image file into the Message buffer. Also, you can
10411 display it with an external application by typing @samp{C-cC-e}, of
10412 course.
10413 @end ifset
10414
10415 @ifset ja
10416 HTML は @samp{C-cC-e} を使って外部のブラウザに表示できます。Windows や
10417 Mac ではデフォルトのブラウザが利用されます。Unix では、以下のように
10418 "mozilla" が初期値となっています。
10419 @end ifset
10420 @ifset en
10421 You can display an HTML file to a browser with @samp{C-cC-e}. A
10422 default browser is used on Windows and Mac. On Unix, "mozilla" is set
10423 to a default browser as follows:
10424 @end ifset
10425
10426 @lisp
10427 (defvar mew-prog-text/html-ext '("mozilla" ("-remote" "openFile(%s)") t))
10428 @end lisp
10429
10430 @ifset ja
10431 たとえば、これを "firefox" に変更するには以下のようにします。
10432 @end ifset
10433 @ifset en
10434 If you want to set it to "firefox", for example, configure like this:
10435 @end ifset
10436
10437 @lisp
10438 (setq mew-prog-text/html-ext
10439 '("firefox" ("-a" "firefox" "-remote" "openFile(%s)") t))
10440 @end lisp
10441
10442 @ifset ja
10443 Office 関連のファイルも、@samp{C-cC-e} を使えば、それぞれのアプリケーショ
10444 ンで表示可能です。Windows や Mac では、文字通り Office のアプリケーショ
10445 ンが起動されます。Unix では、以下のように "soffice" が初期値となってい
10446 ます。
10447 @end ifset
10448 @ifset en
10449 You can visualize an Office-family file to each application by typing
10450 @samp{C-cC-e}. On Windows and Mac, an Office-family application is
10451 executed. On Unix, "soffice" is set to the default application as
10452 follows:
10453 @end ifset
10454
10455 @lisp
10456 (defvar mew-prog-msword-ext "soffice")
10457 (defvar mew-prog-msexcel-ext "soffice")
10458 (defvar mew-prog-mspowerpoint-ext "soffice")
10459 @end lisp
10460
10461 @ifset ja
10462 これを "xdg-open" に変更するには以下のようにします。
10463 @end ifset
10464 @ifset en
10465 If you want to set it to "xdg-open", for instace, do like this:
10466 @end ifset
10467
10468 @lisp
10469 (setq mew-prog-msword-ext "xdg-open")
10470 (setq mew-prog-msexcel-ext "xdg-open")
10471 (setq mew-prog-mspowerpoint-ext "xdg-open")
10472 @end lisp
10473
10474 @ifset ja
10475 また Office 関連のアプリケーションに対し、@samp{SPC} などでは内容を表示
10476 せず、@samp{C-cC-e} では "wvHtml" などを使って Message バッファに表示す
10477 るには、以下のように設定します。
10478 @end ifset
10479 @ifset en
10480 If you want to not visualize an Office-family file into the Message
10481 buffer, but want to display it with "wvHtml", configure as follows:
10482 @end ifset
10483
10484 @lisp
10485 (setq mew-prog-msword '(nil mew-mime-application/msword))
10486 (setq mew-prog-msexcel '(nil mew-mime-application/msexcel))
10487 (setq mew-prog-mspowerpoint '(nil mew-mime-application/mspowerpoint))
10488 @end lisp
10489
10490 @ifset ja
10491 あらかじめ定められているコマンドではなく、任意の外部コマンドを呼び出し
10492 たい場合は、@samp{C-uC-cC-e} と入力して下さい。
10493 @end ifset
10494 @ifset en
10495 If you want to specify an application instead of the pre-defined
10496 application, type @samp{C-uC-cC-e}.
10497 @end ifset
10498
10499 @ifset ja
10500 最近、Multipart/Alternative の中に Text/Plain と Text/Html の両方が入っ
10501 ており、どちらかを選ぶようになっているメッセージを多く見掛けます。Mew
10502 は、標準では Text/Plain の方を優先して表示します。"emacs-w3m" をインス
10503 トールすれば、Text/Html の方を優先したくなるかもしれません。その場合、
10504 以下の設定を "~/.mew.el" に加えて下さい。(ここで @xref{multipart} を読
10505 み、@samp{:} の使い方も思い出しておきましょう。)
10506 @end ifset
10507 @ifset en
10508 Recently there are many message whose have Multipart/Alternative,
10509 which consists of Text/Plain and Text/Html. By default, Mew selects
10510 Text/Plain. If you prefer to choose
10511 Text/Html, add the following to "~/.mew.el". (Now, it's a
10512 good idea to get back to @ref{multipart} to review how to use
10513 @samp{:}.)
10514 @end ifset
10515
10516 @lisp
10517 (setq mew-mime-multipart-alternative-list
10518 '("Text/Html" "Text/Plain" ".*"))
10519 @end lisp
10520
10521 @ifset ja
10522 ZIP で暗号化された添付ファイルは、@samp{zz} で復号化し表示できます。
10523 @end ifset
10524 @ifset en
10525 You can decrypt a ZIP attach file and display it with @samp{zz}.
10526 @end ifset
10527
10528 @c %%%%%%%%%%%%%%%%%
10529 @node draft-mode, charset, message-mode, Customize
10530 @ifset ja
10531 @section Draft mode
10532 @end ifset
10533 @ifset en
10534 @section Draft mode
10535 @end ifset
10536 @vindex mew-cc
10537 @vindex mew-dcc
10538 @vindex mew-header-alist
10539 @vindex mew-cite-fields
10540 @vindex mew-cite-format
10541 @vindex mew-cite-prefix
10542 @vindex mew-cite-prefix-function
10543 @vindex mew-addrbook-for-cite-label
10544 @vindex mew-addrbook-for-cite-prefix
10545
10546 @ifset ja
10547 自分へ Cc: したい人は @samp{mew-cc} を設定して下さい。返答の際には、対象
10548 のメッセージから、別途 Cc: が用意される場合があります。複数の Cc: がある
10549 場合、送信時に 1 つにまとめられます。
10550 @end ifset
10551 @ifset en
10552 Define @samp{mew-cc} to use Cc:. When replying, another Cc: field may be
10553 prepared from the target message. If there are multiple Cc: fields, they
10554 are combined to one field on sending.
10555 @end ifset
10556
10557 @ifset ja
10558 バックアップのため、自分が送るメッセージを受け取りたいと考え、しかもヘッ
10559 ダに自分のアドレスを残したくないなら、Dcc: を使って下さい。
10560 @samp{mew-dcc} に自分のアドレスを設定しましょう。
10561 @end ifset
10562 @ifset en
10563 If you want to receive your originating messages for backup without
10564 specifying your address, use Dcc:. Set your address to @samp{mew-dcc}.
10565 @end ifset
10566
10567 @ifset ja
10568 いつも入れて欲しいヘッダは、@samp{mew-header-alist} に連想リスト形式で定
10569 義して下さい。以下に例を示します。
10570 @end ifset
10571 @ifset en
10572 Set header fields that you want to insert every time when you write messages
10573 to @samp{mew-header-alist} as an associate list. The following is an
10574 example.
10575 @end ifset
10576
10577 @lisp
10578 (setq mew-header-alist
10579 '(("X-fingerprint:" "6B 63 38 88 67 5E 96 8E CE A4 62 73 3F 11 64 94")
10580 ("X-URL:" "http://www.example.org/~kazu/")))
10581 @end lisp
10582
10583 @ifset ja
10584 引用ラベルは、引用するフィールドを @samp{mew-cite-fields}、ラベルの書式
10585 を @samp{mew-cite-format} に定義します。引用記号は
10586 @samp{mew-cite-prefix} に指定します。初期値は、以下のようになっています。
10587 @end ifset
10588 @ifset en
10589 To customize citation label, define field to cite in
10590 @samp{mew-cite-fields} and format in @samp{mew-cite-format}. Define
10591 citation prefix to @samp{mew-cite-prefix}. The default declaration is as
10592 follows:
10593 @end ifset
10594
10595 @lisp
10596 (defvar mew-cite-fields '("From:" "Subject:" "Date:"))
10597 (defvar mew-cite-format "From: %s\nSubject: %s\nDate: %s\n\n")
10598 (defvar mew-cite-prefix "> ")
10599 @end lisp
10600
10601 @ifset ja
10602 引用ラベルに Message-ID: を加えるには以下のようにします。
10603 @end ifset
10604 @ifset en
10605 To add Message-ID: to citation label, take this way.
10606 @end ifset
10607
10608 @lisp
10609 (setq mew-cite-fields '("From:" "Subject:" "Date:" "Message-ID:"))
10610 (setq mew-cite-format "From: %s\nSubject: %s\nDate: %s\nMessage-ID: %s\n\n")
10611 @end lisp
10612
10613 @ifset ja
10614 引用記号にアドレスのユーザ部分が付くようにするには以下のようにします。
10615 @end ifset
10616 @ifset en
10617 To add a user part of an address to the citation prefix, configure as
10618 follows:
10619 @end ifset
10620
10621 @lisp
10622 (setq mew-cite-prefix-function (function mew-cite-prefix-username))
10623 @end lisp
10624
10625 @ifset ja
10626 これで引用記号は以下のようになります。
10627 @end ifset
10628 @ifset en
10629 With this, the citation prefix becomes like this:
10630 @end ifset
10631
10632 @example
10633 @ifset ja
10634 From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp>
10635 Subject: Wine
10636 Date: Wed, 23 Jul 1997 11:40:50 +0900
10637
10638 sumikawa> おはようからおやすみまでニートでおなじみの角川です。
10639 sumikawa>
10640 sumikawa> さて、とろけるワイン作戦ですが、定石通り '89 のボルドーの
10641 sumikawa> カベルネ・ソービニョンを狙いたいと思います。
10642 @end ifset
10643 @ifset en
10644 From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp>
10645 Subject: Wine
10646 Date: Wed, 23 Jul 1997 11:40:50 +0900
10647
10648 sumikawa> Hi, it's Sumikawa, the guy who's neat from good morning
10649 sumikawa> to good night.
10650 sumikawa>
10651 sumikawa> Talking about the wonderful wine party, I would propose
10652 sumikawa> Cabernet Sauvignon, Bordeaux, '90.
10653 @end ifset
10654 @end example
10655
10656 @ifset ja
10657 引用ラベルの From: の部分と、引用記号は、アドレス帳の個人情報の要素に変
10658 換できます。それぞれ、@samp{mew-addrbook-for-cite-label}、
10659 @samp{mew-addrbook-for-cite-prefix} で指定できます。初期値はそれぞれ
10660 @samp{nil} と @samp{'username} です。以下のような値が設定できます。
10661 @end ifset
10662 @ifset en
10663 Both an address in the citation label and the citation prefix can be
10664 converted to an element of a personal information in Addrbook. They can
10665 be configured by @samp{mew-addrbook-for-cite-label} and
10666 @samp{mew-addrbook-for-cite-prefix}, respectively. The default values are
10667 @samp{nil} and @samp{'username}, respectively. You can set out of the
10668 following values.
10669
10670 @end ifset
10671
10672 @table @asis
10673 @ifset ja
10674 @item 'shortname
10675 短縮名
10676 @item 'address
10677 アドレス
10678 @item 'username
10679 アドレスのユーザ部分
10680 @item 'nickname
10681 ニックネーム
10682 @item 'name
10683 正式な氏名
10684 @end ifset
10685 @ifset en
10686 @item 'shortname
10687 Short name
10688 @item 'address
10689 Address
10690 @item 'username
10691 User part of address
10692 @item 'nickname
10693 Nickname
10694 @item 'name
10695 Full name
10696 @end ifset
10697 @end table
10698
10699 @ifset ja
10700 例として以下のような設定を考えてみましょう。
10701 @end ifset
10702 @ifset en
10703 Let's consider the following example.
10704 @end ifset
10705
10706 @lisp
10707 (setq mew-addrbook-for-cite-label 'nickname)
10708 (setq mew-addrbook-for-cite-prefix 'nickname)
10709 @end lisp
10710
10711 @ifset ja
10712 最初の設定でラベルの中のアドレスがニックネームに変わります。また、次の設
10713 定で引用記号もニックネームに置き換わります。
10714 @end ifset
10715 @ifset en
10716 With the first line, an address in the citation label is replaced with
10717 its nickname. The second line indicates that the cite prefix is replaced
10718 with its nickname.
10719 @end ifset
10720
10721 @example
10722 @ifset ja
10723 From: すみっち
10724 Subject: Wine
10725 Date: Wed, 23 Jul 1997 11:40:50 +0900
10726
10727 すみっち> おはようからおやすみまでニートでおなじみの角川です。
10728 すみっち>
10729 すみっち> さて、とろけるワイン作戦ですが、定石通り '89 のボルドーの
10730 すみっち> カベルネ・ソービニョンを狙いたいと思います。
10731 @end ifset
10732 @ifset en
10733 From: sumitch
10734 Subject: Wine
10735 Date: Wed, 23 Jul 1997 11:40:50 +0900
10736
10737 sumitch> Hi, it's Sumikawa, the guy who's neat from good morning
10738 sumitch> to good night.
10739 sumitch>
10740 sumitch> Talking about the wonderful wine party, I would propose
10741 sumitch> Cabernet Sauvignon, Bordeaux, '90.
10742 @end ifset
10743 @end example
10744
10745 @c %%%%%%%%%%%%%%%%%
10746 @node charset, highlight, draft-mode, Customize
10747 @ifset ja
10748 @section 文字コード
10749 @end ifset
10750 @ifset en
10751 @section Character set
10752 @end ifset
10753 @vindex mew-charset-m17n
10754 @vindex mew-ask-charset
10755 @vindex mew-charset-latin
10756
10757 @ifset ja
10758 @xref{charset-guess} で説明したように、Mew ではメッセージを作成する際に
10759 適切な文字コードを自動的に選択します。
10760 @end ifset
10761 @ifset en
10762 As described in @ref{charset-guess}, Mew automatically chooses an
10763 appropriate charset for the message when composing.
10764 @end ifset
10765
10766 @ifset ja
10767 もし複数の言語の文字が混在しており、国際化された文字コードを選択する必要
10768 がある場合は、@samp{mew-charset-m17n} の値を利用します。初期値は、
10769 "utf-8" (Unicode と理解してよい)です。"iso-2022-jp-2" にしたい人は、以下
10770 のように設定するとよいでしょう。
10771 @end ifset
10772 @ifset en
10773 If characters of multiple languages exist, and if it is necessary to use
10774 an international charset, @samp{mew-charset-m17n} is used. Its default
10775 value is "utf-8" (equivalent to Unicode). If you want to set it to
10776 @w{"}iso-2022-jp-2", configure like this:
10777 @end ifset
10778
10779 @lisp
10780 (setq mew-charset-m17n "iso-2022-jp-2")
10781 @end lisp
10782
10783 @ifset ja
10784 メッセージを作成した際に、推測された文字コードを確認したい場合は、
10785 @samp{mew-ask-charset} を設定して下さい。
10786 @end ifset
10787 @ifset en
10788 If you want to check a chosen charset when composing, configure
10789 @samp{mew-ask-charset}.
10790 @end ifset
10791
10792 @table @samp
10793 @ifset ja
10794 @item nil
10795 どのような文字コードが利用されても確認なし
10796 @item 文字コードのリスト
10797 このリストに存在しない文字コードが利用された場合に確認
10798 @item t
10799 @samp{mew-charset-m17n} が利用された場合に確認
10800 @end ifset
10801 @ifset en
10802 @item nil
10803 Not ask.
10804 @item A list of charset
10805 Ask if the charset is not a member of the list.
10806 @item t
10807 Ask if @samp{mew-charset-m17n} is used.
10808 @end ifset
10809 @end table
10810
10811 @ifset ja
10812 たとえば、US-ASCII と ISO-2022-JP 以外の文字コードが選ばれた場合確認した
10813 いのであれば、以下のように設定して下さい。
10814
10815 @lisp
10816 (setq mew-ask-charset '("us-ascii" "iso-2022-jp"))
10817 @end lisp
10818 @end ifset
10819 @ifset en
10820 For instance, if you want to check when charset other than US-ASCII,
10821 ISO-8859-1, and ISO-8859-15, configure like this:
10822
10823 @lisp
10824 (setq mew-ask-charset '("us-ascii" "iso-8859-1" "iso-8859-15"))
10825 @end lisp
10826
10827 @end ifset
10828
10829 @ifset ja
10830 こう設定しているとき、たとえば "utf-8" が選択されると、以下のように訊か
10831 れます。
10832 @end ifset
10833 @ifset en
10834 For example, when "utf-8" is chosen for a message with this
10835 configuration, you are asked like this:
10836 @end ifset
10837
10838 @example
10839 utf-8 is used. OK? (y or n)
10840 @end example
10841
10842 @ifset ja
10843 @samp{y} を押すと、メッセージが送信されます(あるいは、キューに溜ります)。
10844 @samp{n} を押すと、草稿が元の状態に戻ります。
10845 @end ifset
10846 @ifset en
10847 Typing @samp{y} makes the composed message sent (or queued). If you type
10848 @samp{n}, you will go back to the original draft.
10849 @end ifset
10850
10851 @ifset ja
10852 ヨーロッパでは、Latin 1 (ISO-8859-1) の代りに、ユーロ記号を含む Latin 9
10853 (ISO-8859-15、通称 Latin 0) が使われ始めています。草稿に、Latin 1 の文字
10854 と Latin 9 の文字が混在していると、以下の手順によって、文字コードが決定
10855 されます。
10856 @end ifset
10857 @ifset en
10858 In Europe Latin 9 (ISO-8859-15 or Latin 0), which includes the euro
10859 sign, is getting more and more popular instead of Latin 1
10860 (ISO-8859-1). If characters of both Latin 1 and Lain 9 exist in a
10861 draft, Mew takes the following step to decide a charset.
10862 @end ifset
10863
10864 @enumerate
10865 @ifset ja
10866 @item
10867 @samp{unify-8859-on-decoding-mode} を利用している場合:
10868 @enumerate
10869 @item
10870 ISO-8859-1 に収まるなら "iso-8859-1" を利用
10871 @item
10872 そうでないなら "utf-8" を利用
10873 @end enumerate
10874 @item
10875 @samp{unify-8859-on-decoding-mode} を利用していない場合:
10876 @enumerate
10877 @item
10878 ISO-8859-1 と ISO-8859-15 のどちらにも収まる場合、@w{"}ISO-8859-1"
10879 @item
10880 ISO-8859-1 に収まるなら "iso-8859-1" を利用
10881 @item
10882 ISO-8859-15 に収まるなら "iso-8859-15" を利用
10883 @item
10884 そうでないなら、"utf-8" を利用
10885 @end enumerate
10886 @end ifset
10887 @ifset en
10888 @item
10889 If @samp{unify-8859-on-decoding-mode} is used:
10890 @enumerate
10891 @item
10892 Use "iso-8859-1" if no loss.
10893 @item
10894 Otherwise, use "utf-8".
10895 @end enumerate
10896 @item
10897 If @samp{unify-8859-on-decoding-mode} is not used:
10898 @enumerate
10899 @item
10900 If both ISO-8859-1 and ISO-8859-15 can be used with no loss,
10901 @w{"}ISO-8859-1" is used.
10902 @item
10903 Use "iso-8859-1" if no loss.
10904 @item
10905 Use "iso-8859-15" if no loss.
10906 @item
10907 Otherwise, use "utf-8".
10908 @end enumerate
10909 @end ifset
10910 @end enumerate
10911
10912 @ifset ja
10913 @samp{mew-charset-latin} の初期値は、"iso-8859-15" です。"iso-8859-1" に
10914 したい場合は、以下のように設定します。
10915 @end ifset
10916 @ifset en
10917 The default value of @samp{mew-charset-latin} is "iso-8859-15". If you
10918 want to set it to "iso-8859-1", configure like this:
10919 @end ifset
10920
10921 @lisp
10922 (setq mew-charset-latin "iso-8859-1")
10923 @end lisp
10924
10925 @ifset ja
10926 もし、US-ASCII 以外の文字に対し、必ず UTF-8 を使いたいなら、以下のよう
10927 に設定して下さい。
10928 @end ifset
10929 @ifset en
10930 If you want to always use UTF-8 for any characters other than
10931 US-ASCII, configure as follows:
10932 @end ifset
10933
10934 @lisp
10935 (setq mew-cs-database-for-encoding
10936 `(((ascii) nil "7bit" "7bit")
10937 (nil utf-8 "base64" "B")))
10938 @end lisp
10939
10940 @c %%%%%%%%%%%%%%%%%
10941 @node highlight, hooks, charset, Customize
10942 @ifset ja
10943 @section 色付け
10944 @end ifset
10945 @ifset en
10946 @section Highlighting
10947 @end ifset
10948 @vindex mew-use-highlight-mark
10949 @vindex mew-use-highlight-header
10950 @vindex mew-use-highlight-body
10951 @vindex mew-highlight-body-max-size
10952 @vindex mew-use-highlight-url
10953 @vindex mew-use-cursor-mark
10954 @vindex mew-cursor-mark
10955 @vindex mew-use-highlight-cursor-line
10956 @vindex mew-use-highlight-mouse-line
10957 @vindex mew-use-highlight-x-face
10958 @vindex mew-theme-file
10959
10960 @ifset ja
10961 @samp{mew-use-highlight-mark} が @samp{t} の場合、マークの付いたメッセー
10962 ジに色が付きます。初期値は @samp{t} です。
10963 @end ifset
10964 @ifset en
10965 If @samp{mew-use-highlight-mark} is @samp{t}, marked message are
10966 highlighted. The default is @samp{t}.
10967 @end ifset
10968
10969 @ifset ja
10970 @samp{mew-use-highlight-header} が @samp{t} の場合、メッセージのヘッダに
10971 色が付きます。初期値は @samp{t} です。
10972 @end ifset
10973 @ifset en
10974 If @samp{mew-use-highlight-header} is @samp{t}, the header of a message
10975 is highlighted. The default is @samp{t}.
10976 @end ifset
10977
10978 @ifset ja
10979 @samp{mew-use-highlight-body} が @samp{t} の場合、メッセージの本文に色が
10980 付きます。初期値は @samp{t} です。色を付ける上限は、
10981 @samp{mew-highlight-body-max-size} で指定できます。初期値は 10000 バイト
10982 です。
10983 @end ifset
10984 @ifset en
10985 If @samp{mew-use-highlight-body} is @samp{t}, the body of a message is
10986 highlighted. The default is @samp{t}. The limit to be highlighted can be
10987 set by @samp{mew-highlight-body-max-size}. The default is 10000 bytes.
10988 @end ifset
10989
10990 @ifset ja
10991 @samp{mew-use-highlight-url} が @samp{t} の場合、メッセージ中の URL に仕
10992 掛けが施されて、マウスを持っていくと光るようになります。初期値は
10993 @samp{t} です。
10994 @end ifset
10995 @ifset en
10996 If @samp{mew-use-highlight-url} is @samp{t}, a spell is cast to URL
10997 strings in a message. So, when you move the cursor onto the URL, it is
10998 highlighted. The default is @samp{t}.
10999 @end ifset
11000
11001 @ifset ja
11002 @samp{mew-use-cursor-mark} が @samp{t} の場合、Summary モードにおいて、
11003 現在表示しているメッセージの行頭に、@samp{mew-cursor-mark} で指定された
11004 目印が付きます。初期値は @samp{nil} です。@samp{mew-cursor-mark} の初期
11005 値は ">" です。
11006 @end ifset
11007 @ifset en
11008 If @samp{mew-use-cursor-mark} is @samp{t}, the mark specified
11009 @samp{mew-cursor-mark} is putted to the beginning of the current line.
11010 The default is @samp{nil}. The default of @samp{mew-cursor-mark} is ">".
11011 @end ifset
11012
11013 @ifset ja
11014 @samp{mew-use-highlight-cursor-line} が @samp{t} の場合、Summary モード
11015 でカーソルのある行に下線が引かれます。初期値は @samp{t} です。
11016 @end ifset
11017 @ifset en
11018 If @samp{mew-use-highlight-cursor-line} is @samp{t}, underline is put on
11019 the cursor line in Summary mode. The default is @samp{t}.
11020 @end ifset
11021
11022 @ifset ja
11023 @samp{mew-use-highlight-mouse-line} が @samp{t} の場合、Emacs がマウスの
11024 色付けをサポートしていれば、Summary モードでマウスのある行に色がつきます。
11025 真中のボタンをクリックしながら、マウスだけでメッセージを読む際にはとても
11026 便利です。初期値は @samp{nil} になっています。
11027 @end ifset
11028 @ifset en
11029 If @samp{mew-use-highlight-mouse-line} is @samp{t} on Emacs which
11030 supports mouse highlight, the mouse line is painted in Summary
11031 mode. This is very convenient to read messages clicking the middle
11032 button of the mouse. The default value is @samp{nil}.
11033 @end ifset
11034
11035 @ifset ja
11036 @samp{mew-use-highlight-x-face} が @samp{t} で、ヘッダ中の X-Face: が
11037 Message モードでアイコン化されます。初期値は @samp{t} です。この機能を
11038 利用するには、@w{"}netpbm" と "compface" パッケージをインストールして下
11039 さい。
11040 @end ifset
11041 @ifset en
11042 If @samp{mew-use-highlight-x-face} is @samp{t}, X-Face: in a header is
11043 iconified in Message mode. The default value is @samp{t}. To use this
11044 feature, install the "netpbm" package and the "compface" package.
11045 @end ifset
11046
11047 @ifset ja
11048 色を変更するには、Mew のソースと一緒に配布されている "dot.theme" を
11049 適当な名前でコピーし内容を変更します。ここでは、そのファイル名を
11050 "~/.mew-theme.el" としましょう。まず、この名前を ".mew.el" で
11051 @samp{mew-theme-file} に指定して下さい。
11052 @end ifset
11053 @ifset en
11054 To modify colors, copy "dot.theme" contained Mew's source file to
11055 an appropriate place, say "~/.mew-theme.el". First, set
11056 @samp{mew-theme-file} to this file name in ".mew.el" as follows:
11057 @end ifset
11058
11059 @lisp
11060 (setq mew-theme-file "~/.mew-theme.el")
11061 @end lisp
11062
11063 @ifset ja
11064 次に中身を変更します。たとえば、以下のような設定が見つかります。
11065 @end ifset
11066 @ifset en
11067 Then, change the contents. For instance, you can find the following
11068 configuration.
11069 @end ifset
11070
11071 @lisp
11072 (mew-setface-bold header-subject
11073 :tty "red" :light "Firebrick" :dark "OrangeRed")
11074 @end lisp
11075
11076 @ifset ja
11077 シンボル @samp{header-subject} は、ヘッダの "Subject:" の値を意味してい
11078 ます。:tty は Emacs をカラーの端末で起動した場合、:light と :dark は、
11079 それぞれ Emacs をウインドウで起動したときの背景が白と黒の場合を意味して
11080 います。
11081 @end ifset
11082 @ifset en
11083 The symbol @samp{header-subject} means the value of the "Subject:"
11084 field in a header. :tty is the case where Emacs is executed on a
11085 terminal while :light and :dark indicates the case where the
11086 background of Emacs executed with a window is white and black,
11087 respectively.
11088 @end ifset
11089
11090 @ifset ja
11091 端末では green 、背景が白なら ForestGreen、背景が黒なら LimeGreen と設
11092 定するには、以下のようにします。
11093 @end ifset
11094 @ifset en
11095 If you wish green for a terminal, ForestGreen for the white
11096 background, and LimeGreen for the black background, modify the
11097 configuration as follows:
11098 @end ifset
11099
11100 @lisp
11101 (mew-setface-bold header-subject
11102 :tty "green" :light "ForestGreen" :dark "LimeGreen")
11103 @end lisp
11104
11105 @ifset ja
11106 シンボルに何があるのかは、"dot.mew" を見て下さい。
11107 @end ifset
11108 @ifset en
11109 To know what kind of symbols are prepared, see the "dot.mew".
11110 @end ifset
11111
11112 @ifset ja
11113 上記の方法では、ヘッダのすべてのフィールド名やフィールド値に対してシン
11114 ボルが定義されている訳ではありません。そこで、どんなフィールドの色でも
11115 簡単に変更できるように、@samp{mew-header-color} と
11116 @samp{mew-header-color-bold} という関数が用意されています。後者を使うと
11117 太字に、前者を使うと普通の文字になります。たとえば、以下のように使いま
11118 す。
11119 @end ifset
11120 @ifset en
11121 The method above does not prepare symbols for all field names and
11122 field value. So, @samp{mew-header-color} and
11123 @samp{mew-header-color-bold} exist to change colors easily. If you use
11124 the latter, characters become bold. The former results in normal.
11125 The following is a typical usage:
11126 @end ifset
11127
11128 @lisp
11129 (mew-header-color-bold "Subject:" "LimeGreen" "OrangeRed")
11130 @end lisp
11131
11132 @ifset ja
11133 この設定では、"Subject:" が LimeGreen の太字に、その値が OrangeRed の太
11134 字になります。
11135 @end ifset
11136 @ifset en
11137 With this configuration, "Subject:" becomes bold LimeGreen and its
11138 value turns into bold OrangeRed.
11139 @end ifset
11140
11141 @ifset ja
11142 この方法では、端末や背景の色を考慮した設定はできません。また、フィール
11143 ド値の色を省略すると、フィールド名と同じ色が使用されます。
11144 @end ifset
11145 @ifset en
11146 The second method cannot specify the cases of terminal or background.
11147 If you omit the field value color, the field name color is used for
11148 the field value.
11149 @end ifset
11150
11151 @node hooks, pop, highlight, Customize
11152 @ifset ja
11153 @section フック
11154 @end ifset
11155 @ifset en
11156 @section Hooks
11157 @end ifset
11158
11159 @ifset ja
11160 Mew で用意されているフックをまとめます。
11161 @end ifset
11162 @ifset en
11163 Here is a summary of hooks used in Mew.
11164 @end ifset
11165
11166 @vtable @samp
11167 @ifset ja
11168 @item mew-env-hook
11169 Mew の起動時の環境が設定される前に評価される。
11170 @item mew-init-hook
11171 Mew の起動時に評価される。
11172 @item mew-status-update-hook
11173 状態の更新(@samp{Z})のときに評価される。
11174 @item mew-summary-mode-hook
11175 Summary モードに入るときに評価される。
11176 @item mew-virtual-mode-hook
11177 Virtual モードに入るときに評価される。
11178 @item mew-thread-display-hook
11179 スレッドが表示された後に評価される。
11180 @item mew-header-mode-hook
11181 Header モードに入るときに評価される。
11182 @item mew-draft-mode-hook
11183 Draft モードに入るときに評価される。
11184 @item mew-draft-mode-newdraft-hook
11185 新しい草稿が用意された際に、Draft モードにおいて評価される。
11186 @item mew-draft-mode-reedit-hook
11187 +draft でないフォルダにある古い草稿を再編集した際に、Draft モードにおい
11188 て評価される。
11189 @item mew-draft-mode-reedit-draft-hook
11190 +draft でないフォルダにある草稿を再編集した際に、Draft モードにおいて評
11191 価される。
11192 @item mew-draft-mode-reedit-queue-hook
11193 +queue または +postq フォルダにあるメッセージを再編集した際に、Draft モー
11194 ドにおいて評価される。
11195 @item mew-draft-mode-edit-again-hook
11196 古い形式で戻ってきたメッセージを再編集した際に、Draft モードにおいて評価
11197 される。
11198 @item mew-message-mode-hook
11199 Message モードに入るときに評価される。
11200 @item mew-message-hook
11201 メッセージが Message モードで表示される度に評価される。
11202 @item mew-make-message-hook
11203 Draft モードで MIME メッセージを作る前、つまり @samp{C-cC-m} の際の最初
11204 に評価される。例:(add-hook 'mew-make-message-hook 'ispell-message)
11205 @item mew-send-hook
11206 メッセージを SMTP で送信/キューイングする前に評価される。メッセージの最
11207 終形が作られる前に評価されることに注意。
11208 @item mew-post-hook
11209 メッセージを NNTP で投稿/キューイングする前に評価される。メッセージの最
11210 終形が作られる前に評価されることに注意。
11211 @item mew-real-send-hook
11212 メッセージを SMTP で送信/キューイングする前に評価される。メッセージの最
11213 終形が作られた後に評価されることに注意。
11214 @item mew-real-post-hook
11215 メッセージを NNTP で送信/キューイングする前に評価される。メッセージの最
11216 終形が作られた後に評価されることに注意。
11217 @item mew-smtp-flush-hook
11218 +queue フォルダにメッセージがある場合に、SMTP が起動される前に評価され
11219 る。
11220 @item mew-nntp2-flush-hook
11221 +postq フォルダにメッセージがある場合に、NNTP が起動される前に評価され
11222 る。
11223 @item mew-smtp-sentinel-hook
11224 SMTP が終了する際に評価される。
11225 @item mew-nntp-sentinel-hook
11226 受信用の NNTP が終了する際に評価される。
11227 @item mew-nntp2-sentinel-hook
11228 送信用の NNTP が終了する際に評価される。
11229 @item mew-pop-sentinel-hook
11230 POP が終了する際に評価される。
11231 @item mew-pop-sentinel-non-biff-hook
11232 Biff ではない POP が終了する際に評価される。
11233 @item mew-imap-sentinel-hook
11234 IMAP が終了する際に評価される。
11235 @item mew-imap-sentinel-non-biff-hook
11236 Biff ではない IMAP が終了する際に評価される。
11237 @item mew-scan-sentinel-hook
11238 Summary モードの @samp{s} が終了する際に評価される。
11239 @item mew-summary-ls-no-scan-hook
11240 Summary モードの @samp{s} がフォルダの一覧を取らなかった場合に評価される。
11241 @item mew-summary-exec-hook
11242 Summary モードの @samp{x} の実行が終了する際に評価される。
11243 @item mew-refile-guess-by-from-learn-hook
11244 mew-refile-guess-by-from-learn が実行される際に評価される。
11245 @item mew-sort-hook
11246 Summary モードの @samp{M-s} の実行が終了する際に評価される。
11247 @item mew-pack-hook
11248 Summary モードの @samp{O} の実行が終了する際に評価される。
11249 @item mew-summary-delete-folder-hook
11250 フォルダが削除されるときに評価される。
11251 @item mew-summary-rename-folder-hook
11252 フォルダ名が変更されるときに評価される。
11253 @item mew-summary-toggle-disp-msg-hook
11254 Summary モードの @samp{v} の実行が終了する際に評価される。
11255 @item mew-syntax-format-hook
11256 マルチパートの書式を作成する関数 @samp{mew-syntax-format} が呼ばれた際に
11257 評価される。
11258 @item mew-addrbook-mode-hook
11259 アドレス帳の登録モードに入るときに評価される。
11260 @item mew-cite-hook
11261 Draft モードで引用する際に呼ばれる。通常 supercite を設定するために使う。
11262 @item mew-before-cite-hook
11263 Draft モードでメッセージを引用する直前に呼ばれる。
11264 @item mew-suspend-hook
11265 Mew を一時中断した際に評価される。
11266 @item mew-quit-hook
11267 Mew の終了時に評価される。
11268 @end ifset
11269 @ifset en
11270 @item mew-env-hook
11271 Hook called at initialize time before setting environment.
11272 @item mew-init-hook
11273 Hook called at initialize time.
11274 @item mew-status-update-hook
11275 Hook called at status update(@samp{Z}).
11276 @item mew-summary-mode-hook
11277 Hook called in Summary mode.
11278 @item mew-virtual-mode-hook
11279 Hook called in Virtual mode.
11280 @item mew-thread-display-hook
11281 Hook called after new threads are displayed.
11282 @item mew-header-mode-hook
11283 Hook called in Header mode.
11284 @item mew-draft-mode-hook
11285 Hook called in Draft mode.
11286 @item mew-draft-mode-newdraft-hook
11287 Hook called in Draft mode only when new draft is prepared.
11288 @item mew-draft-mode-reedit-hook
11289 Hook called in Draft mode when a message not in +draft is re-edited.
11290 @item mew-draft-mode-reedit-draft-hook
11291 Hook called in Draft mode when a message in +draft is re-edited.
11292 @item mew-draft-mode-reedit-queue-hook
11293 Hook called in Draft mode when a message in +queue or +postq is
11294 re-edited.
11295 @item mew-draft-mode-edit-again-hook
11296 Hook called in Draft mode when a message returned with the old style is
11297 edited again.
11298 @item mew-message-mode-hook
11299 Hook called in Message mode.
11300 @item mew-message-hook
11301 Hook called whenever message displayed.
11302 @item mew-make-message-hook
11303 Hook called before making a message in Draft mode. A good example is as
11304 follows: (add-hook 'mew-make-message-hook 'ispell-message)
11305 @item mew-send-hook
11306 Hook called before sending/queuing an e-mail message in Draft mode.
11307 Note that this hook is called before composition of the message
11308 @item mew-post-hook
11309 Hook called before posting/queuing a NetNews message in Draft mode.
11310 Note that this hook is called before composition of the message.
11311 @item mew-real-send-hook
11312 Hook called before sending/queuing an e-mail message in Draft mode.
11313 Note that this hook is called after composition of the message.
11314 @item mew-real-post-hook
11315 Hook called before sending/queuing a NetNews message in Draft mode.
11316 Note that this hook is called after composition of the message.
11317 @item mew-smtp-flush-hook
11318 Hook called before SMTP runs if messages exist in +queue.
11319 @item mew-nntp2-flush-hook
11320 Hook called before NNTP runs if messages exist in +postq.
11321 @item mew-smtp-sentinel-hook
11322 Hook called when a SMTP process finished.
11323 @item mew-nntp-sentinel-hook
11324 Hook called when a NNTP process to receive messages finished.
11325 @item mew-nntp2-sentinel-hook
11326 Hook called when a NNTP process to post messages finished.
11327 @item mew-pop-sentinel-hook
11328 Hook called when a POP process finished.
11329 @item mew-pop-sentinel-non-biff-hook
11330 Hook called when a non-Biff POP process finished.
11331 @item mew-imap-sentinel-hook
11332 Hook called when a NNTP process to post messages finished.
11333 @item mew-imap-sentinel-hook
11334 Hook called when an IMAP process finished.
11335 @item mew-imap-sentinel-non-biff-hook
11336 Hook called when a non-Biff IMAP process finished.
11337 @item mew-scan-sentinel-hook
11338 Hook called when scan finished.
11339 @item mew-summary-ls-no-scan-hook
11340 Hook called when mew-summary-ls does not scan a folder.
11341 @item mew-summary-exec-hook
11342 Hook called when @samp{x} in Summary mode finished.
11343 @item mew-refile-guess-by-from-learn-hook
11344 Hook called in mew-refile-guess-by-from-learn.
11345 @item mew-sort-hook
11346 Hook called when @samp{M-s} in Summary mode finished.
11347 @item mew-pack-hook
11348 Hook called when @samp{O} in Summary mode finished.
11349 @item mew-summary-delete-folder-hook
11350 Hook called when a folder deleted.
11351 @item mew-summary-rename-folder-hook
11352 Hook called when a folder renamed.
11353 @item mew-summary-toggle-disp-msg-hook
11354 Hook called when @samp{v} in Summary finished.
11355 @item mew-syntax-format-hook
11356 Hook called when mew-syntax-format is called.
11357 @item mew-addrbook-mode-hook
11358 Hook called in Addrbook mode.
11359 @item mew-cite-hook
11360 Hook for an external cite mechanism. If you want to use super-cite,
11361 (setq mew-cite-hook 'sc-cite-original).
11362 @item mew-before-cite-hook
11363 Called in mew-summary-reply-with-citation before citation.
11364 @item mew-suspend-hook
11365 Hook called on suspend.
11366 @item mew-quit-hook
11367 Hook called on quit.
11368 @end ifset
11369 @end vtable
11370
11371 @ifset ja
11372 以下にフックの設定例を示します。
11373 @end ifset
11374 @ifset en
11375 Here are some example configurations of hook
11376 @end ifset
11377
11378 @ifset ja
11379 Draft モードでは、フックを @samp{text-mode-hook}、
11380 @samp{mew-draft-mode-hook} の順で評価します。@samp{text-mode-hook} で
11381 @samp{auto-fill-mode} を設定していない人は、 @samp{mew-draft-mode-hook}
11382 を以下のように設定するのがよいかもしれません。
11383 @end ifset
11384 @ifset en
11385 Draft mode evaluates @samp{text-mode-hook} and
11386 @samp{mew-draft-mode-hook} in order. If you do not set
11387 @samp{auto-fill-mode} to @samp{text-mode-hook}, It would be useful to
11388 define @samp{mew-draft-mode-hook} as follows:
11389 @end ifset
11390
11391 @lisp
11392 (add-hook 'mew-draft-mode-hook
11393 (lambda ()
11394 (auto-fill-mode 1)
11395 (set-fill-column 70)))
11396 @end lisp
11397
11398 @ifset ja
11399 この例では、折り返しのカラム数を70に設定しています。
11400 @end ifset
11401 @ifset en
11402 In this example, the number of fill column is also set to 70.
11403 @end ifset
11404
11405 @c %%%%%%%%%%%%%%%%%
11406 @node pop, imap, hooks, Customize
11407 @ifset ja
11408 @section POP
11409 @end ifset
11410 @ifset en
11411 @section POP
11412 @end ifset
11413
11414 @ifset ja
11415 Mew では、メッセージを受信する際に POP を利用できます。ここでは、POP を
11416 制御するための以下の変数についてまとめます。
11417 @end ifset
11418 @ifset en
11419 Mew can POP to retrieve messages. This section describes following
11420 variables to control POP.
11421 @end ifset
11422
11423 @vtable @samp
11424 @ifset ja
11425 @item mew-pop-server
11426 POP サーバの名前。
11427 @item mew-pop-ssh-server
11428 POP を SSH 経由で取得する場合の SSH サーバの名前。
11429 @item mew-pop-ssl
11430 POP over SSL を使うか否か。
11431 @item mew-pop-ssl-port
11432 POP over SSL のポート番号。
11433 @item mew-pop-user
11434 POP のアカウント名。初期値はログイン名。
11435 @item mew-pop-auth
11436 POP の認証方式。@samp{'pass} は USER/PASS (生パスワード)、@samp{'apop}
11437 は APOP、@samp{t} は @samp{mew-pop-auth-list} に従った SASL を意味する。
11438 初期値は @samp{'apop}。
11439 @item mew-pop-auth-list
11440 SASL で利用する認証方式のリスト。優先順位の高い順に並べる。現在、
11441 "CRAM-MD5" が利用可能。
11442 @item mew-pop-delete
11443 POP サーバからメッセージを取得後、POP サーバにあるメッセージを削除するか
11444 否か。@samp{t} なら削除。@samp{nil} なら削除しない。数値 N なら、最初の
11445 アクセスから N 日後に削除する。初期値は @samp{t}。
11446 @item mew-pop-size
11447 POP サーバから取得するメッセージの大きさの上限。初期値は 55296 バイト。0
11448 に設定すると、上限なしの意味になり、すべてのメッセージを取得する。上限に
11449 引っ掛かったメッセージの全体を取得する方法については、@xref{retrieving}
11450 を参照のこと。
11451 @item mew-pop-body-lines
11452 大きさの上限にひっかかったメッセージの本文を何行取得するかという値。初
11453 期値は 40。
11454 @item mew-pop-header-only
11455 POP でメッセージを取得する際に、ヘッダのみにするか、本文も取得するか。
11456 @samp{nil} でなければ、ヘッダのみを取得。初期値は @samp{nil}。
11457 @end ifset
11458 @ifset en
11459 @item mew-pop-server
11460 The name of your POP server.
11461 @item mew-pop-ssh-server
11462 The name of SSH server which forwards the POP3 port.
11463 @item mew-pop-ssl
11464 If non-nil, POP connections are made over SSL.
11465 @item mew-pop-ssl-port
11466 The port for POP over SSL.
11467 @item mew-pop-user
11468 The user name on your POP server. The default is your login name.
11469 @item mew-pop-auth
11470 The authentication method for POP3. 'pass means the authentication with
11471 USER/PASS (i.e. plain password). 'apop means the authentication with
11472 APOP. @samp{t} means SASL according to @samp{mew-pop-auth-list}. The
11473 default is 'apop.
11474 @item mew-pop-auth-list
11475 A list of SASL methods in the preferred order. Currently, "CRAM-MD5"
11476 can be used.
11477 @item mew-pop-delete
11478 Whether or not delete messages on a POP server after retrieval by POP.
11479 If @samp{t}, delete the messages. If @samp{nil}, retain the messages.
11480 If number N, delete the messages N days after the first access. The
11481 default is @samp{t}.
11482 @item mew-pop-size
11483 The limit size of messages to be retrieved by POP. The default is 55296
11484 byte. 0 means unlimited, so you can get all messages from the POP
11485 server. To know how to retrieve the rest of a truncated message, please
11486 refer to @ref{retrieving}.
11487 @item mew-pop-body-lines
11488 *The limit of body lines to get when the size of message exceeds
11489 @samp{mew-pop-size}. The default is 40.
11490 @item mew-pop-header-only
11491 Whether or not the body of a message is retrieved by POP. If non-nil,
11492 only header is retrieved. The default is @samp{nil}
11493 @end ifset
11494 @end vtable
11495
11496 @c %%%%%%%%%%%%%%%%%
11497 @node imap, nntp, pop, Customize
11498 @ifset ja
11499 @section IMAP
11500 @end ifset
11501 @ifset en
11502 @section IMAP
11503 @end ifset
11504
11505 @ifset ja
11506 Mew では、メッセージを受信する際に IMAP を利用できます。ここでは、IMAP
11507 を制御するための以下の変数についてまとめます。
11508 @end ifset
11509 @ifset en
11510 Mew can use IMAP to retrieve messages. This section describes following
11511 variables to control IMAP.
11512 @end ifset
11513
11514 @vtable @samp
11515 @ifset ja
11516 @item mew-imap-server
11517 IMAP サーバの名前。
11518 @item mew-imap-ssh-server
11519 IMAP を SSH 経由で取得する場合の SSH サーバの名前。
11520 @item mew-imap-ssl
11521 IMAP over SSL を使うか否か。
11522 @item mew-imap-ssl-port
11523 IMAP over SSL のポート番号。
11524 @item mew-imap-user
11525 IMAP のアカウント名。初期値はログイン名。
11526 @item mew-imap-auth
11527 IMAP の認証方式。@samp{nil} は LOGIN (生パスワード)、@samp{t} は
11528 @samp{mew-imap-auth-list} に基づいた SASL を意味する。初期値は @samp{t}。
11529 @item mew-imap-auth-list
11530 SASL で利用する認証方式のリスト。優先順位の高い順に並べる。現在、
11531 "CRAM-MD5" と "LOGIN" が利用可能。
11532 @item mew-imap-delete
11533 IMAP サーバからメッセージを取得後、IMAP サーバにあるメッセージを削除するか
11534 否か。@samp{t} なら削除。@samp{nil} なら削除しない。数値 N なら、最初の
11535 アクセスから N 日後に削除する。初期値は @samp{t}。
11536 @item mew-imap-size
11537 IMAP サーバから取得するメッセージの大きさの上限。初期値は 55296 バイト。
11538 0 に設定すると、上限なしの意味になり、すべてのメッセージを取得する。上限
11539 に引っ掛かったメッセージの全体を取得する方法については、
11540 @xref{retrieving} を参照のこと。
11541 @item mew-imap-header-only
11542 IMAP でメッセージを取得する際に、ヘッダのみにするか、本文も取得するか。
11543 @samp{nil} でなければ、ヘッダのみを取得。初期値は @samp{nil}。
11544 @end ifset
11545 @ifset en
11546 @item mew-imap-server
11547 The name of your IMAP server.
11548 @item mew-imap-ssh-server
11549 The name of SSH server which forwards the IMAP4 port.
11550 @item mew-imap-ssl
11551 If non-nil, IMAP connections are made over SSL.
11552 @item mew-imap-ssl-port
11553 The port for IMAP over SSL.
11554 @item mew-imap-user
11555 The user name on the IMAP server. The default is your login name.
11556 @item mew-imap-auth
11557 The authentication method for IMAP4. @samp{nil} means the authentication with
11558 LOGIN (i.e. plain password). @samp{t} means SASL according to
11559 @samp{mew-imap-auth-list}. The default is @samp{t}.
11560 @item mew-imap-auth-list
11561 A list of SASL methods in the preferred order.
11562 Currently, "CRAM-MD5" and "LOGIN" can be used.
11563 @item mew-imap-delete
11564 Whether or not delete messages on an IMAP server after retrieval by
11565 IMAP. If @samp{t}, delete the messages. If @samp{nil}, retain the
11566 messages. If number N, delete the messages N days after the first
11567 access. Otherwise they are not deleted. The default is @samp{t}.
11568 @item mew-imap-size
11569 The limit size of messages to be retrieved by IMAP. The default is 55296
11570 byte. 0 means unlimited, so you can get all messages from the IMAP
11571 server. To know how to retrieve the rest of a truncated message, please
11572 refer to @ref{retrieving}.
11573 @item mew-imap-header-only
11574 Whether or not the body of a message is retrieved by IMAP. If non-nil,
11575 only header is retrieved. The default is @samp{nil}
11576 @end ifset
11577 @end vtable
11578
11579 @c %%%%%%%%%%%%%%%%%
11580 @node nntp, smtp, imap, Customize
11581 @ifset ja
11582 @section NNTP
11583 @end ifset
11584 @ifset en
11585 @section NNTP
11586 @end ifset
11587
11588 @ifset ja
11589 Mew では、ニュースを読み書きする際に NNTP を利用します。ここでは、NNTP
11590 を制御するための以下の変数についてまとめます。
11591 @end ifset
11592 @ifset en
11593 Mew uses NNTP to read/write News articles. This section describes
11594 following variables to control NNTP.
11595 @end ifset
11596
11597 @vtable @samp
11598 @ifset ja
11599 @item mew-nntp-server
11600 NNTP サーバの名前。
11601 @item mew-nntp-ssh-server
11602 NNTP を SSH 経由で取得する場合の SSH サーバの名前。
11603 @item mew-nntp-ssl
11604 NNTP over SSL を使うか否か。
11605 @item mew-nntp-ssl-port
11606 NNTP over SSL のポート番号。
11607 @item mew-nntp-user
11608 NNTP のアカウント名。もし @samp{nil} でなければ、認証の手続きが実行され
11609 る。(mew-nntp-auth という変数はないことに注意。)
11610 @item mew-nntp-newsgroup
11611 ニュースグループ名の初期値。
11612 @item mew-nntp-size
11613 NNTP サーバから取得するメッセージの大きさの上限。初期値は 55296 バイト。
11614 0 に設定すると、上限なしの意味になり、すべてのメッセージを取得する。上限
11615 に引っ掛かったメッセージの全体を取得する方法については、
11616 @xref{retrieving} を参照のこと。
11617 @item mew-nntp-header-only
11618 NNTP でメッセージを取得する際に、ヘッダのみにするか、本文も取得するか。
11619 @samp{nil} でなければ、ヘッダのみを取得。初期値は @samp{nil}。
11620 @item mew-nntp-msgid-user
11621 Message-Id: を作成するためのユーザ名。@samp{nil} であれば
11622 @samp{mew-user} の値が利用される。初期値は @samp{nil}。
11623 Message-Id: の書式は以下を参照。
11624 @item mew-nntp-msgid-domain
11625 Message-Id: を作成するためのドメイン名。@samp{nil} であれば
11626 @samp{mew-mail-domain} の値が利用される。初期値は @samp{nil}。
11627 Message-Id: の書式は以下を参照。
11628 @end ifset
11629 @ifset en
11630 @item mew-nntp-server
11631 The name of your NNTP server.
11632 @item mew-nntp-ssh-server
11633 The name of SSH server which forwards the NNTP port.
11634 @item mew-nntp-ssl
11635 If non-nil, NNTP connections are made over SSL.
11636 @item mew-nntp-ssl-port
11637 The port for NNTP over SSL.
11638 @item mew-nntp-user
11639 The user name on the NNTP server. If non-nil, authentication is used.
11640 (Note that mew-nntp-auth does not exist.)
11641 @item mew-nntp-newsgroup
11642 The name of default Newsgroup.
11643 @item mew-nntp-size
11644 The limit size of messages to be retrieved by NNTP. The default is 55296
11645 byte. 0 means unlimited, so you can get all messages from the NNTP
11646 server.
11647 @item mew-nntp-header-only
11648 Whether or not the body of a message is retrieved by NNTP. If non-nil,
11649 only header is retrieved.
11650 @item mew-nntp-msgid-user
11651 A user name for creation of Message-Id:. If @samp{nil}, the value of
11652 @samp{mew-user} is used. The default is @samp{nil}.
11653 @item mew-nntp-msgid-domain
11654 A domain name for creation of Message-Id:. If @samp{nil}, the value of
11655 @samp{mew-mail-domain} is used. The default is @samp{nil}.
11656 @end ifset
11657 @end vtable
11658
11659 @ifset ja
11660 なお、NNTP 用の Message-Id: の値は以下のように作成されます。
11661 @end ifset
11662 @ifset en
11663 A value of Message-Id: for NNTP is created by the following rule:
11664 @end ifset
11665
11666 @example
11667 message-id = *random*.nntp-msgid-user@@nntp-msgid-domain
11668 @end example
11669
11670 @c %%%%%%%%%%%%%%%%%
11671 @node smtp, config, nntp, Customize
11672 @ifset ja
11673 @section SMTP
11674 @end ifset
11675 @ifset en
11676 @section SMTP
11677 @end ifset
11678
11679 @ifset ja
11680 Mew では、メッセージを送信する際に SMTP を利用します。SMTP サーバが認証
11681 を要求した場合、Mew は自動的にユーザにバスワードの入力を求めます。ここ
11682 では、SMTP を制御するための以下の変数についてまとめます。
11683 @end ifset
11684 @ifset en
11685 Mew uses SMTP to send messages. If an SMTP server requires
11686 authentication, Mew automatically asks you to input your
11687 password. This section describes following variables to control SMTP.
11688 @end ifset
11689
11690 @vtable @samp
11691 @ifset ja
11692 @item mew-smtp-server
11693 SMTP サーバの名前。
11694 @item mew-smtp-port
11695 SMTP ポート番号。
11696 @item mew-smtp-ssh-server
11697 SSH 経由でメッセージを送る際の SSH サーバの名前。
11698 @item mew-smtp-ssl
11699 SMTP over SSL を使うか否か。
11700 @item mew-smtp-ssl-port
11701 SMTP over SSL のポート番号。
11702 @item mew-smtp-user
11703 SMTP AUTH で利用されるアカウント名。設定されない場合は、自動的にメール
11704 アドレスに設定される。
11705 @item mew-smtp-auth-list
11706 SMTP AUTH で利用する認証方式のリスト。優先順位の高い順に並べる。初期値
11707 は、'("CRAM-MD5" "PLAIN" "LOGIN")。
11708 @item mew-smtp-helo-domain
11709 SMTP HELO コマンドで使われるサーバ名。初期値は "localhost"。
11710 @item mew-smtp-mail-from
11711 SMTP MAIL FROM コマンドで指定されるアドレス。@samp{nil} の場合は、From:
11712 フィールドのアドレスが指定される。初期値は @samp{nil}。
11713 @item mew-smtp-msgid-user
11714 Message-Id: を作成するためのユーザ名。@samp{nil} であれば
11715 @samp{mew-user} の値が利用される。初期値は @samp{nil}。
11716 Message-Id: の書式は以下を参照。
11717 @item mew-smtp-msgid-domain
11718 Message-Id: を作成するためのドメイン名。@samp{nil} であれば
11719 @samp{mew-mail-domain} の値が利用される。初期値は @samp{nil}。
11720 Message-Id: の書式は以下を参照。
11721 @item mew-use-8bit
11722 8 ビットテキストを符号化せずにそのまま送るか否か。@samp{nil} の場合は、適
11723 切な MIME 符号化が施される。初期値は @samp{nil}。
11724 @end ifset
11725 @ifset en
11726 @item mew-smtp-server
11727 The name of your SMTP server.
11728 @item mew-smtp-port
11729 The port for SMTP.
11730 @item mew-smtp-ssh-server
11731 The name of SSH server which forwards the SMTP port.
11732 @item mew-smtp-ssl
11733 If non-nil, SMTP connections are made over SSL.
11734 @item mew-smtp-ssl-port
11735 The port for SMTP over SSL.
11736 @item mew-smtp-user
11737 The user name on your SMTP server. If not configured, your e-mail
11738 address is automatically set.
11739 @item mew-smtp-auth-list
11740 A list of SMTP AUTH methods in the preferred order.
11741 Currently, "CRAM-MD5", "PLAIN", and "LOGIN" can be used.
11742 @item mew-smtp-helo-domain
11743 An e-mail domain to tell a SMTP server with HELO/EHLO. The default is
11744 "localhost".
11745 @item mew-smtp-mail-from
11746 The default is @samp{nil}. An e-mail address to tell a SMTP server with
11747 MAIL FROM:. If @samp{nil}, an address specified by the From: field is used.
11748 @item mew-smtp-msgid-user
11749 A user name for creation of Message-Id:. If @samp{nil}, the value of
11750 @samp{mew-user} is used. The default is @samp{nil}.
11751 @item mew-smtp-msgid-domain
11752 A domain name for creation of Message-Id:. If @samp{nil}, the value of
11753 @samp{mew-mail-domain} is used. The default is @samp{nil}.
11754 @item mew-use-8bit
11755 Whether or not send 8bit text without MIME encoding. If @samp{nil}, an
11756 appropriate MIME encoding is applied. The default is @samp{nil}.
11757 @end ifset
11758 @end vtable
11759
11760 @ifset ja
11761 なお、SMTP 用の Message-Id: の値は以下のように作成されます。
11762 @end ifset
11763 @ifset en
11764 A value of Message-Id: for SMTP is created by the following rule:
11765 @end ifset
11766
11767 @example
11768 message-id = *random*.smtp-msgid-user@@smtp-msgid-domain
11769 @end example
11770
11771 @ifset ja
11772 Message Submission (ポート番号が 587 である送信用の SMTP)を使いたい場合
11773 は、以下のように設定して下さい。
11774 @end ifset
11775 @ifset en
11776 If you want to use Message Submission (SMTP for submission whose port
11777 number is 587), configure as follows:
11778 @end ifset
11779
11780 @lisp
11781 (setq mew-smtp-port "submission")
11782 @end lisp
11783
11784 @ifset ja
11785 SSL (@xref{SSL})や TLS (@xref{TLS}) の章も参考にして下さい。
11786 @end ifset
11787 @ifset en
11788 Please refer also to SSL (@pxref{SSL}) and TLS (@pxref{TLS}).
11789 @end ifset
11790
11791 @ifset ja
11792 SMTP サーバの中には、認証なし、つまりパスワードを送られるとエラーと見な
11793 す設定であるにも関わらず、認証を要求してくるものがあります。Mew は、
11794 SMTP サーバが認証を要求すると、ユーザにパスワードを尋ねて、入力されたパ
11795 スワードをサーバへ送ります。上記のようなおかしな SMTP サーバに対処する
11796 には、以下のように設定し、認証を要求されてもパスワードを送らなくすればよ
11797 いでしょう。
11798 @end ifset
11799 @ifset en
11800 Some SMTP servers are mis-configured. They requests authentication
11801 though errors occur if passwords are received. Mew automatically ask a
11802 user to input user's password and send it to an SMTP server if it
11803 requires authentication. To get along with such SMTP servers above,
11804 configure as follows:
11805 @end ifset
11806
11807 @lisp
11808 (setq mew-use-smtp-auth nil)
11809 @end lisp
11810
11811 @vtable @samp
11812 @ifset ja
11813 @item mew-use-smtp-auth
11814 SMTP サーバが認証を要求したとき、パスワードを送るかどうか。デフォルトは
11815 @samp{t}。@samp{nil} にすると、SMTP サーバが認証を要求しても無視する。
11816 @end ifset
11817 @ifset en
11818 @item mew-use-smtp-auth
11819 If non-nil, Mew send user's password if an SMTP server requests
11820 authentication. The default value is @samp{t}.
11821 If @samp{nil}, Mew does not send user's password even if
11822 the (mis-configured) SMTP server requests authentication.
11823 @end ifset
11824 @end vtable
11825
11826 @c %%%%%%%%%%%%%%%%%
11827 @node config, config2, smtp, Customize
11828 @ifset ja
11829 @section 送受信の動作変化
11830 @end ifset
11831 @ifset en
11832 @section Changing receiving/sending behavior
11833 @end ifset
11834 @vindex mew-config-alist
11835 @vindex mew-case-guess-alist
11836 @vindex mew-case-guess-when-replied-alist
11837 @vindex mew-mailbox-type
11838 @vindex mew-proto
11839 @kindex C-cC-o (Draft)
11840
11841 @ifset ja
11842 @samp{mew-config-alist} を使うと、メッセージの送受信に関する動作に変化を
11843 つけられます。以下の設定例を使って説明します。
11844 @end ifset
11845 @ifset en
11846 With @samp{mew-config-alist}, you can differ actions of
11847 sending/receiving messages. Let's look at the following example:
11848 @end ifset
11849
11850 @lisp
11851 (setq mew-config-alist
11852 '((home
11853 (inbox-folder "+inbox-home")
11854 (pop-server "pop.iij4u.or.jp"))
11855 (ext
11856 (pop-ssh-server "ssh.example.org"))
11857 (default
11858 (proto "%")
11859 (imap-server "imap.example.org")
11860 (pop-server "pop.example.org"))))
11861 @end lisp
11862
11863 @ifset ja
11864 この例では、"home"、"ext"、"default" という 3 つのケースを定めています。
11865 それぞれのケースに対して、いくつかのキーと値の対が設定されています。
11866 @end ifset
11867 @ifset en
11868 This example defines three "cases": "home", "ext", and "default". For each
11869 case, some pair of key and value are defined.
11870 @end ifset
11871
11872 @ifset ja
11873 この例を使って、@samp{mew-config-alist} の意味を説明します。ケースを
11874 "home" にして "pop-server" を索くと、"pop.iij4u.or.jp" が得られます。ケー
11875 スを @w{"}ext" にして "pop-server" を索くと、"ext" には該当するキーがな
11876 いので、@w{"}default" を見て、"pop.example.org" が得られます。ケースを
11877 "default" にして "pop-server" を索くと、"pop.example.org" が得られます。
11878 @end ifset
11879 @ifset en
11880 We explain the semantics of @samp{mew-config-alist} with this example.
11881 If the "case" is "home", looking up "pop-server" results in
11882 @w{"}pop.iij4u.or.jp". If the "case" is "ext", looking up "pop-server"
11883 results in "pop.example.org" since there is no specified key for the
11884 @w{"}case" and the "default" is used. If the "case" is "default",
11885 looking up "pop-server" results in "pop.example.org".
11886 @end ifset
11887
11888 @ifset ja
11889 ケースを "home" にして "inbox-folder" を索くと、"+inbox-home" が得られま
11890 す。ケースを "ext" にして "inbox-folder" を索くと、"ext" には該当するキー
11891 がなく、さらに "default" にもないので、@samp{mew-inbox-folder} という変
11892 数の値が得られます。ケースを "default" にして "inbox-folder" を索いた場
11893 合も、@samp{mew-inbox-folder} の値が得られます。
11894 @end ifset
11895 @ifset en
11896 If the "case" is "home", looking up "inbox-folder" results in
11897 "+inbox-home". If the "case" is "ext", looking up "inbox-folder"
11898 results in the value of @samp{mew-inbox-folder} since there is no
11899 specified key for both "ext" and "default". If the "case" is
11900 "default", looking up "inbox-folder" also results in the value of
11901 @samp{mew-inbox-folder}.
11902 @end ifset
11903
11904 @ifset ja
11905 "proto" (@samp{mew-proto})は、@samp{M-x mew} と入力された際に、どのフォ
11906 ルダに移動するか指定するために使います。(Mew を起動するために
11907 @samp{M-x mew} と入力する場合、"default" ケースの "proto" が利用されま
11908 す。Mew が起動している際に、@samp{M-x mew} と入力するとケースに従って、
11909 "proto" が選ばれます。)
11910 @end ifset
11911 @ifset en
11912 "proto" (@samp{mew-proto}) is used to specify a folder which is
11913 selected when you type @samp{M-x mew}. (If you input @samp{M-x mew}
11914 when Mew is not executed, ""proto" for the "default" "case" is
11915 used. If you type @samp{M-x mew} when Mew is running, "proto" is
11916 chosen according to the value of the "case".
11917 @end ifset
11918
11919 @ifset ja
11920 値の候補は、"+"、"$"、"%"、"-" です。これらは標準では、"+inbox"、
11921 @w{"}$inbox"、"%inbox"、"-fj.mail.reader.mew" を意味します。
11922 @end ifset
11923 @ifset en
11924 Candidates of the value are "+", "$", "%", and "-". These means
11925 @w{"}+inbox", "$inbox", "%inbox", and "-fj.mail.reader.mew" without
11926 any special configuration.
11927 @end ifset
11928
11929 @ifset ja
11930 @samp{mew-config-alist} で設定できるキーは、@samp{mew-"キー"} という変
11931 数に対応しています。以下に設定できる項目を列挙します。
11932 @end ifset
11933 @ifset en
11934 Each key which can be specified in @samp{mew-config-alist} corresponds
11935 to the variable @samp{mew-"key"}. The following list enumerates such
11936 keys.
11937 @end ifset
11938
11939 @example
11940 name, user, mail-domain,
11941 cc, fcc, dcc, reply-to, organization, header-alist, proto,
11942 smtp-server, smtp-port, smtp-ssh-server, smtp-ssl, smtp-ssl-port,
11943 smtp-user, smtp-auth-list,
11944 smtp-msgid-user, smtp-msgid-domain, smtp-helo-domain, smtp-mail-from,
11945 pop-server, pop-port, pop-ssh-server, pop-ssl, pop-ssl-port,
11946 pop-user, pop-auth, pop-auth-list,
11947 pop-size, pop-header-only, pop-delete, pop-body-lines,
11948 pop-proxy-server, pop-proxy-port,
11949 imap-server, imap-port, imap-ssh-server, imap-ssl, imap-ssl-port,
11950 imap-user, imap-auth, imap-auth-list,
11951 imap-size, imap-header-only, imap-delete,
11952 imap-trash-folder, imap-queue-folder, imap-spam-field, imap-spam-word,
11953 imap-proxy-server, imap-proxy-port,
11954 nntp-server, nntp-port, nntp-ssh-server, nntp-ssl, nntp-ssl-port,
11955 nntp-user, nntp-size, nntp-header-only,
11956 nntp-msgid-user, nntp-msgid-domain,
11957 ssl-cert-directory, ssl-verify-level,
11958 inbox-folder, queue-folder, postq-folder,
11959 mailbox-type, mbox-command, mbox-command-arg,
11960 signature-file, content-type, refile-guess-alist,
11961 spam-prog, spam-prog-args, ham-prog, ham-prog-args,
11962 use-old-pgp, pgp-signer, smime-signer, privacy-method,
11963 protect-privacy-always, protect-privacy-always-type,
11964 protect-privacy-encrypted, protect-privacy-encrypted-type,
11965 protect-privacy-with-old-pgp-signature,
11966 use-format-flowed
11967 @end example
11968
11969 @ifset ja
11970 name、user、mail-domain は以下の規則にしたがって、From: の値になります。
11971 @end ifset
11972 @ifset en
11973 A value for From: is made of 'name', 'user', and 'mail-domain'
11974 according to the following rule:
11975 @end ifset
11976
11977 @example
11978 from = name <user@@mail-domain>
11979 @end example
11980
11981 @ifset ja
11982 自分で @samp{mew-from-list} を設定していない場合は、上記のルールに従い各
11983 ケースの from を集めて、@samp{mew-from-list} が自動的に設定されます。
11984 @xref{cheader} を参照のこと。
11985 @end ifset
11986 @ifset en
11987 Unless you set @samp{mew-from-list} by yourself, @samp{mew-from-list}
11988 is automatically set collecting 'from' for each "case" according to
11989 the rule above. see @ref{cheader}.
11990 @end ifset
11991
11992 @ifset ja
11993 @samp{mew-config-alist} に設定したケース名をケースに指定できます。Mew
11994 の起動時のケースは、"default" になっています。
11995 @end ifset
11996 @ifset en
11997 Cases configured in @samp{mew-config-alist} can be specified to the
11998 @w{"}case". When Mew boots up, both the "case" is "default".
11999 @end ifset
12000
12001 @ifset ja
12002 Summary モードにおいて、ケースを変更するには @samp{C} を利用します。ケー
12003 スには、@samp{TAB} で補完、@samp{C-cTAB} で循環的な補完が効きます。
12004 @end ifset
12005 @ifset en
12006 If you want to change the "case", type @samp{C}. You can use
12007 completion by @samp{TAB} and circular completion by @samp{C-cTAB}.
12008 @end ifset
12009
12010 @ifset ja
12011 ケースが "default" 以外の値をとった場合は、Summary モードのモードライン
12012 に表示されます。以下はケースが "home" となっている場合の例です。
12013 @end ifset
12014 @ifset en
12015 If the "case" is not "default", they are displayed in the mode line of
12016 Summary mode. The following is an example where the "case" is "home".
12017 @end ifset
12018
12019 @example
12020 (Summary home)
12021 @end example
12022
12023
12024 @ifset ja
12025 Draft モードでは、ケースが "default" でない場合、モードラインにその値が
12026 表示されます。以下は、ケースが "home" である場合の例です。
12027 @end ifset
12028 @ifset en
12029 In Draft mode, if the "case" is not "default", the value is displayed
12030 in mode line. The following is an example that the "case" is "home".
12031 @end ifset
12032
12033 @example
12034 (Draft home)
12035 @end example
12036
12037 @ifset ja
12038 Draft モードにおいて、その草稿のケースを変更するには、@samp{C-cC-o} を
12039 用います。mail-domain キーや header-alist キーに対応する値に応じて、ヘッ
12040 ダが動的に変更されます。なお、このケースは、その Draft モードに固有にな
12041 ります。
12042 @end ifset
12043 @ifset en
12044 To change the "case" of a draft in Draft mode, use @samp{C-cC-o}. Its
12045 header is dynamically modified according to the value of the
12046 'mail-domain' key and the 'header-alist' key. Note that the "case" is
12047 a local variable of the Draft mode.
12048 @end ifset
12049
12050 @ifset ja
12051 Draft モードでは、ケースを自動的に設定することもできます。
12052 @end ifset
12053 @ifset en
12054 You can automatically set the "case" in Draft mode.
12055 @end ifset
12056
12057 @vtable @samp
12058 @ifset ja
12059 @item mew-case-guess-when-prepared
12060 この変数が @samp{t} の場合、草稿が用意されたときに、
12061 @samp{mew-case-guess-alist} に従ってケースが設定される。初期値は
12062 @samp{t}。
12063 @item mew-case-guess-when-composed
12064 この変数が @samp{t} の場合、メッセージが作成されたときに、
12065 @samp{mew-case-guess-alist} に従ってケースが設定される。初期値は
12066 @samp{nil}
12067 @item mew-case-guess-when-replied
12068 この変数が @samp{t} の場合、返答によって草稿が用意されたときに、
12069 @samp{mew-case-guess-when-replied-alist} に従ってケースが設定される。初
12070 期値は @samp{t}。
12071 @end ifset
12072 @ifset en
12073 @item mew-case-guess-when-prepared
12074 If this variable is @samp{t}, the "case" is automatically guessed
12075 according @samp{mew-case-guess-alist} when a draft is prepared. The
12076 default is @samp{t}.
12077 @item mew-case-guess-when-composed
12078 If this variable is @samp{t}, the "case" is automatically guessed
12079 according @samp{mew-case-guess-alist} when a message is composed. The
12080 default is @samp{nil}.
12081 @item mew-case-guess-when-replied
12082 If this variable is @samp{t}, the "case" is automatically guessed
12083 according @samp{mew-case-guess-when-replied-alist} when a draft is
12084 prepared by replying. The default is @samp{t}.
12085 @end ifset
12086 @end vtable
12087
12088 @ifset ja
12089 @samp{mew-case-guess-alist} と @samp{mew-case-guess-when-replied-alist}
12090 の書式は、@samp{mew-refile-guess-alist} と同じです。詳しくは、
12091 @xref{by-alist} を参照して下さい。
12092 @end ifset
12093 @ifset en
12094 The syntax of @samp{mew-case-guess-alist} and
12095 @samp{mew-case-guess-when-replied-alist} is the same as
12096 @samp{mew-refile-guess-alist}. For more information, please refer to
12097 @ref{by-alist}.
12098 @end ifset
12099
12100 @ifset ja
12101 Draft モードで草稿を送信するために @samp{C-cC-c} を使うと、Draft モード
12102 のケースが SMTP/NNTP サーバなどを決定するために利用されます。Summary モー
12103 ドで +queue/+postq のメッセージを送り出すために @samp{C-cC-c} を利用す
12104 ると、Summary モードのケースが利用されます。たとえ、そのケースが Draft
12105 モードで指定されていたケースと違ってもです。Summary モードで
12106 @samp{C-uC-cC-c} を使うと、+queue/+postq のメッセージを送り出すためのケー
12107 スが指定できます。
12108 @end ifset
12109 @ifset en
12110 When typing @samp{C-cC-c} in Draft mode to send a draft, the "case" in
12111 Draft mode is used to determine an SMTP/NNTP server, etc. When typing
12112 @samp{C-cC-c} in Summary mode to flush messages in +queue/+postq, the
12113 @w{"}case" in Summary mode is used even if it is different from the
12114 one which was used in Draft mode. @samp{C-uC-cC-c} in Summary mode let
12115 you specify the "case" to flush messages in +queue/postq.
12116 @end ifset
12117
12118
12119 @ifset ja
12120 以下にケースに関するコマンドをまとめます。
12121 @end ifset
12122 @ifset en
12123 The following is a summary of commands concerned with the "case".
12124 @end ifset
12125
12126 @table @samp
12127 @ifset ja
12128 @item C
12129 Summary モードにおいて、ケースを設定する。
12130 @item C-cC-o
12131 Draft モードにおいて、その草稿のケースを設定する。
12132 @end ifset
12133 @ifset en
12134 @item C
12135 In Summary mode, set the "case".
12136 @item C-cC-o
12137 In Draft mode, set the "case" of a draft.
12138 @end ifset
12139 @end table
12140
12141 @c %%%%%%%%%%%%%%%%%
12142 @node config2, custom-misc, config, Customize
12143 @ifset ja
12144 @section 設定の書式
12145 @end ifset
12146 @ifset en
12147 @section The format of configuration
12148 @end ifset
12149 @vindex mew-config-alist
12150
12151 @ifset ja
12152 Mew 6.1 から ".mew.el" の設定方法が改善されました。古い書式も有効ですが、
12153 より簡単な新しい書式も利用できます。
12154 @end ifset
12155 @ifset en
12156 In Mew 6.1, configuration format of "mew.el" is improved. You can use
12157 a new format as well as the old format.
12158 @end ifset
12159
12160 @itemize @minus
12161 @ifset ja
12162 @item
12163 古い書式ではリストの中に "." が現れる場合がありました。新しい書式では、
12164 "." はまったく使われません。たとえば、("foo" . "bar") と書いていたとこ
12165 ろは、("foo" "bar") と書けます。
12166 @item
12167 古い書式では、ポート番号は文字列で書いていました。たとえば、"25" です。
12168 新しい書式では、数値で書いてもよくなりました。たとえば、25 です。文字列
12169 も有効です。たとえば、"smtp" です。
12170 @item
12171 古い書式では、@samp{mew-config-alist} のケースやキーを文字列で書いてい
12172 ました。新しい書式では、シンボルで書けます。
12173 @end ifset
12174 @ifset en
12175 @item
12176 In the old format, sometime "." appears. In the new fomat, no "."
12177 appears at all. For instance, you can write ("foo" "bar") instead of
12178 ("foo" . "bar").
12179 @item
12180 In the old format, a numeric port is specified as string. An example
12181 is "25". In the new format, you can write it as integer. An example is
12182 25. The string is still valid. An example is "smtp".
12183 @item
12184 In the old format, the cases and the keys of @samp{mew-config-alist}
12185 are written as string. In the new format, you can specify them as
12186 symbol.
12187 @end ifset
12188 @end itemize
12189
12190 @ifset ja
12191 以下に mew-config-alist を新しい書式で書いた例を示します。
12192 @end ifset
12193 @ifset en
12194 Here is an example of the new format:
12195 @end ifset
12196
12197 @lisp
12198 (setq mew-config-alist
12199 '((home
12200 (imap-server "imap.example.org")
12201 (imap-ssl t)
12202 (imap-ssl-port 993)
12203 (smtp-server "smtp.example.org")
12204 (smtp-port "submission"))))
12205 @end lisp
12206
12207 @ifset ja
12208 以下の古い書式と見比べて下さい。
12209 @end ifset
12210 @ifset en
12211 Compare this with the following old one:
12212 @end ifset
12213
12214 @lisp
12215 (setq mew-config-alist
12216 '(("home"
12217 ("imap-server" . "imap.example.org")
12218 ("imap-ssl" . t)
12219 ("imap-ssl-port" . "993")
12220 ("smtp-server" . "smtp.example.org")
12221 ("smtp-port" . "submission"))))
12222 @end lisp
12223
12224 @ifset ja
12225 繰り返しますが、Mew 6.1 では古い書式も有効です。古い書式と新しい書式を
12226 混ぜて書いても構いません。
12227 @end ifset
12228 @ifset en
12229 Again, the old format is still valid. You can also mix the new format
12230 and the old format.
12231 @end ifset
12232
12233 @c %%%%%%%%%%%%%%%%%
12234 @node custom-misc, Tips, config2, Customize
12235 @ifset ja
12236 @section その他
12237 @end ifset
12238 @ifset en
12239 @section Miscellaneous
12240 @end ifset
12241 @vindex mew-use-samba-encoding
12242 @vindex mew-cs-samba
12243 @vindex mew-print-function
12244 @vindex mew-field-for-printing
12245
12246 @ifset ja
12247 環境によっては、添付ファイルをセーブする際に、ファイル名を SAMBA 形式に
12248 すると便利なことがあります。この場合、@samp{mew-use-samba-encoding} を
12249 @samp{t} にして下さい。ファイル名として、どの文字コードを利用するかは、
12250 @samp{mew-cs-samba} で指定できます。初期値は @samp{shift_jis} です。
12251 @end ifset
12252 @ifset en
12253 In a certain environment, it would be useful to encode a file with SAMBA
12254 encoding when saving an attached file. For this, set
12255 @samp{mew-use-samba-encoding} to @samp{t}. You can set
12256 @samp{mew-cs-samba} to a character set for the file name. The default is
12257 @samp{shift_jis}.
12258 @end ifset
12259
12260 @ifset ja
12261 Summary モードで @samp{#} と押すと、現在のメッセージを印刷できます。印
12262 刷に利用する関数は @samp{mew-print-function} で定義します。初期値は、
12263 @samp{ps-print-buffer} ですから、PostScript に変換されて印刷されます。
12264 自分の作成した関数を利用するには、以下のように設定します。
12265 @end ifset
12266 @ifset en
12267 You can print the current message by typing @samp{#} in Summary mode.
12268 A function for printing can be set to @samp{mew-print-function}.
12269 Since its default value is @samp{ps-print-buffer}, a message is
12270 converted into a PostScript file before sent to a printer. You can set
12271 your own print function as follows:
12272 @end ifset
12273
12274 @lisp
12275 (setq mew-print-function 'my-print-function)
12276 @end lisp
12277
12278 @ifset ja
12279 ヘッダ中のどのフィールドを印刷するかは、@samp{mew-field-for-printing}
12280 で指定できます。初期値は、以下のようになっています。
12281 @end ifset
12282 @ifset en
12283 You can set fields in a header to be printed to
12284 @samp{mew-field-for-printing}. Its default value is as follows:
12285 @end ifset
12286
12287 @lisp
12288 '("Subject:" "From:" "To:" "Cc:" "Date:")
12289 @end lisp
12290
12291 @ifset ja
12292 たとえば、Subject:、From:、Date: のみを印刷するには、以下のように設定し
12293 ましょう。
12294 @end ifset
12295 @ifset en
12296 For instance, if you want to print Subject:, From:, and Date: only,
12297 configure as follows:
12298 @end ifset
12299
12300 @lisp
12301 (setq mew-field-for-printing '("Subject:" "From:" "Date:"))
12302 @end lisp
12303
12304 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12305 @c Tips
12306 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12307
12308 @node Tips, region, custom-misc, Top
12309 @ifset ja
12310 @chapter さらなる一歩
12311 @end ifset
12312 @ifset en
12313 @chapter Advanced usage
12314 @end ifset
12315
12316 @menu
12317 @ifset ja
12318 * region:: リージョン
12319 * visiting:: 移動
12320 * SSH:: Secure SHell
12321 * SSL:: Secure Socket Layer
12322 * TLS:: Transport Layer Security
12323 * spam:: スパム
12324 * spam2:: スパム(2)
12325 * addr-warn:: アドレスの警告
12326 * biff:: Biff
12327 * edit:: Edit モード
12328 @end ifset
12329 @ifset en
12330 * region:: Region
12331 * visiting:: Visiting another buffer
12332 * SSH:: Secure SHell
12333 * SSL:: Secure Socket Layer
12334 * TLS:: Transport Layer Security
12335 * spam:: Spam messages
12336 * spam2:: Spam messages (2)
12337 * addr-warn:: Warning addresses
12338 * biff:: Biff
12339 * edit:: Edit mode
12340 @end ifset
12341 @end menu
12342
12343 @c %%%%%%%%%%%%%%%%%
12344 @node region, visiting, Tips, Tips
12345 @ifset ja
12346 @section リージョン
12347 @end ifset
12348 @ifset en
12349 @section Region
12350 @end ifset
12351
12352 @ifset ja
12353 Summary モードには、@samp{C-u} 付きで呼び出すと、リージョンに作用するコ
12354 マンドがあります。これらのコマンドは、ビジブルなリージョンが指定されて
12355 いる場合は、@samp{C-u} なしでもそのリージョンに作用します。
12356 @end ifset
12357 @ifset en
12358 In Summary mode, there are commands which work for a region if called
12359 with @samp{C-u}. If a visible region is specified, these commands work
12360 for the region without @samp{C-u}.
12361 @end ifset
12362
12363 @ifset ja
12364 Emacs では、以下の設定を "~/.emacs" に入れると、ビジブルなリージョンが
12365 利用できるようになります。
12366 @end ifset
12367 @ifset en
12368 For Emacs, you can use the visible region feature by putting the
12369 following into your "~/.emacs".
12370 @end ifset
12371
12372 @lisp
12373 (transient-mark-mode 1)
12374 @end lisp
12375
12376 @ifset ja
12377 以下に、該当するコマンドを列挙しておきます。
12378 @end ifset
12379 @ifset en
12380 Here is a summary of such commands.
12381 @end ifset
12382
12383 @example
12384 @samp{?}, @samp{/}, @samp{tt}, @samp{x}, @samp{lx}, @samp{ma}, @samp{Md}, @samp{S}, @samp{mlc}, @samp{mli}, @samp{*}, @samp{$}, @samp{d}, @samp{u}
12385 @end example
12386
12387 @ifset ja
12388 @samp{*}, @samp{$}, @samp{d}, @samp{u} は、直前に数字を入力することで、
12389 繰り返しの回数を指定することもできます。たとえば、@samp{3*} は 3 つのメー
12390 ルに @samp{*} マークを付けます。数字の前に @samp{C-u} は不要です。
12391 @end ifset
12392 @ifset en
12393 Also you can specify a repeat count before you call @samp{*},
12394 @samp{$}, @samp{d}, and @samp{u}. For example, typing @samp{3d} puts the
12395 @samp{*} mark onto three messages. You don't have to type @samp{C-u}
12396 before the number.
12397 @end ifset
12398
12399 @c %%%%%%%%%%%%%%%%%
12400 @node visiting, SSH, region, Tips
12401 @ifset ja
12402 @section 移動
12403 @end ifset
12404 @ifset en
12405 @section Visiting another buffer
12406 @end ifset
12407 @vindex mew-visit-queue-after-sending
12408 @vindex mew-visit-inbox-after-setting-case
12409 @kindex C-cC-o (Summary)
12410
12411 @ifset ja
12412 Draft モードにおいて、@samp{C-cC-m} でメッセージを作成し送信キューに入
12413 れた後、+queue に移動したい場合は、
12414 @samp{mew-visit-queue-after-sending} を @samp{t} に設定して下さい。
12415 @end ifset
12416 @ifset en
12417 If you want to move to +queue after making a message and putting it to
12418 +queue with @samp{C-cC-m} in Draft mode, set
12419 @samp{mew-visit-queue-after-sending} to @samp{t}.
12420 @end ifset
12421
12422 @ifset ja
12423 Summary モードにおいて、@samp{C} でケースを設定した後に、各 inbox に移
12424 動したい場合は、@samp{mew-visit-inbox-after-setting-case} を @samp{t}
12425 に設定しましょう。
12426 @end ifset
12427 @ifset en
12428 If you want to visit to an appropriate inbox after setting the "case"
12429 with @samp{C} in Summary mode, set
12430 @samp{mew-visit-inbox-after-setting-case} to @samp{t}.
12431 @end ifset
12432
12433 @ifset ja
12434 Summary モードから、一番数字の小さい草稿(Draft モード)に移動するには、
12435 @samp{C-cC-o} が利用できます。
12436 @end ifset
12437 @ifset en
12438 If you want to move from Summary mode to a draft (Draft mode) whose
12439 name is the smallest number, type @samp{C-cC-o}.
12440 @end ifset
12441
12442 @c %%%%%%%%%%%%%%%%%
12443 @node SSH, SSL, visiting, Tips
12444 @ifset ja
12445 @section Secure SHell
12446 @end ifset
12447 @ifset en
12448 @section Secure SHell
12449 @end ifset
12450 @vindex mew-pop-ssh-server
12451
12452 @ifset ja
12453 Mew は SSH として、SSH バージョン 1、2 および OpenSSH をサポートしてい
12454 ます。Mew から SSH を利用する前に、必ずコマンド・ラインで "ssh" を実行
12455 し、SSH サーバの公開鍵を取得して下さい。すなわち、ユーザのパスワードか、
12456 ローカルのマシンの秘密鍵を復号化するためのパスワードを入力すれば、サー
12457 バにログインできる状態にして下さい。なお、"ssh-agent" を利用すれば、秘
12458 密鍵を復号化するためのパスワードの入力を省略できます。
12459 @end ifset
12460 @ifset en
12461 Mew supports SSH version 1 and version 2 and OpenSSH for SSH. You must
12462 execute "ssh" on the command and obtain server's public key before you
12463 use Mew with SSH. That is, you should set up so that you can login the
12464 server with your user password or with the password to decrypt the
12465 secret key of the local machine. Of source, you can omit the password
12466 to decrypt the secret key if you use "ssh-agent".
12467 @end ifset
12468
12469 @ifset ja
12470 後は、各プロトコルの SSH に関する変数を設定して下さい。たとえば、POP
12471 over SSH を利用する場合は、@samp{mew-pop-ssh-server} に SSH サーバの名
12472 前を設定しましょう。
12473 @end ifset
12474 @ifset en
12475 After that, you should configure SSH variables relating to each
12476 protocol. For example, if you want to use POP over SSH, set
12477 @samp{mew-pop-ssh-server} to your SSH server name.
12478 @end ifset
12479
12480 @ifset ja
12481 SSH で通信が保護されている場合、モードラインに錠前の絵が表示されます。
12482 @end ifset
12483 @ifset en
12484 While a connection is protected by SSH, a picture of a lock is shown
12485 in the mode line.
12486 @end ifset
12487
12488 @ifset ja
12489 Mew の実装では、SSH と SSL/TLS を同時には使えません。SSH トンネルの中で
12490 SSL/TLS を使う必要がある場合、Mew では SSL/TLS だけを設定し、SSH トンネ
12491 ルはコマンドラインから張るようにして下さい。
12492 @end ifset
12493 @ifset en
12494 The implementation of Mew does not allow to use both SSH and SSL/TLS
12495 at the same time. If you need to use SSL/TLS over an SSH tunnel,
12496 please configure SSL/TLS only with Mew and set up an SSH tunnel on a
12497 command line.
12498 @end ifset
12499
12500 @c %%%%%%%%%%%%%%%%%
12501 @node SSL, TLS, SSH, Tips
12502 @ifset ja
12503 @section Secure Socket Layer
12504 @end ifset
12505 @ifset en
12506 @section Secure Socket Layer
12507 @end ifset
12508 @vindex mew-ssl-cert-directory
12509 @vindex mew-ssl-verify-level
12510 @vindex mew-pop-ssl
12511 @vindex mew-pop-ssl-port
12512 @vindex mew-smtp-ssl
12513
12514 @ifset ja
12515 SSL を使うには、認証局方式の信用モデルを理解している必要があります。現
12516 在、Mew は SSL のために "stunnel" バージョン 3、4、5 をサポートしていま
12517 す。
12518 @end ifset
12519 @ifset en
12520 Before you use SSL, you should understand the trust model of
12521 certificate authorities (CA). Currently, Mew supports "stunnel" version
12522 3, 4 and 5 for SSL.
12523 @end ifset
12524
12525 @ifset ja
12526 Mew で利用する前に、SSL サーバに対して "stunnel" で SSL のコネクション
12527 が張れるか確かめて下さい。"stunnel" は、"openssl" のライブラリをリンク
12528 しているので、"openssl" の知識が必要です。
12529 @end ifset
12530 @ifset en
12531 Before you use Mew with SSL, you must be sure that an SSL connection
12532 can be established to your SSL server. Since "stunnel" is linked to
12533 the "openssl" library, you should understand "openssl".
12534 @end ifset
12535
12536 @ifset ja
12537 信用する証明書を保存しておくディレクトリを "~/.certs" だとしましょう。
12538 ここに "openssl" の "certs" ディレクトリに付いてくる PEM 形式の証明書を
12539 "<ハッシュ>.0" という名前でコピーします。
12540 @end ifset
12541 @ifset en
12542 Suppose we use "~/.certs" as a directory where certificates of trusted
12543 CAs are contained. You need to copy PEM-format certificates embedded
12544 in the source of "openssl" to this director. Each name should be
12545 @w{"}<hash>.0".
12546 @end ifset
12547
12548 @ifset ja
12549 ここでは、PEM 形式の証明書のファイル名を "ca.pem" だとしましょう。「<ハッ
12550 シュ>」は以下のように計算できます。
12551 @end ifset
12552 @ifset en
12553 Here we call a sample CA certificate "ca.pem". You can calculate
12554 <hash> as follows:
12555 @end ifset
12556
12557 @example
12558 % openssl x509 -hash -noout -in ca.pem
12559 @end example
12560
12561 @ifset ja
12562 "~/.certs/" へコピーするには、以下のようにします。
12563 @end ifset
12564 @ifset en
12565 To copy the certificate, do as follows:
12566 @end ifset
12567
12568 @example
12569 % cp ca.pem ~/.certs/`openssl x509 -hash -noout -in ca.pem`.0
12570 @end example
12571
12572 @ifset ja
12573 "openssl" に付いてくる証明書は、世の中で使われている CA すべてを網羅で
12574 きていません。あなたが利用するサーバの証明書が、他の CA から発行された
12575 場合、その CA の証明書を同様にコピーしておく必要があります。以下のペー
12576 ジに CA の証明書がたくさん置いてあります。
12577 @end ifset
12578 @ifset en
12579 The certificates in the source of "openssl" do not cover all CAs. If
12580 the certificate of your SSL server is signed by another CA, you must
12581 copy the certificate of the CA to the directory. You may be able to
12582 find appropriate certificate from the following page:
12583 @end ifset
12584
12585 @example
12586 http://www.columbia.edu/~ariel/good-certs/ns45/
12587 @end example
12588
12589 @ifset ja
12590 Mew で "stunnel" を制御する重要な変数は 2 つです。
12591 @samp{mew-ssl-cert-directory} は、信用する CA の証明書を置いておくディ
12592 レクトリであり、初期値は "~/.certs" です。また、
12593 @samp{mew-ssl-verify-level} で、証明書を検証するレベルを指定できます。
12594 レベルの初期値は 1 です。この意味は、以下の通りです。
12595 @end ifset
12596 @ifset en
12597 There are two important Mew variables to control "stunnel".
12598 @samp{mew-ssl-cert-directory} is the directory where you install
12599 certificates of trusted CAs. It's default value if "~/.certs". Also,
12600 you can set the verification level with @samp{mew-ssl-verify-level}.
12601 It's default to 1. The meanings of the values are as follows:
12602 @end ifset
12603
12604 @table @asis
12605 @ifset ja
12606 @item 0
12607 検証しない
12608 @item 1
12609 サーバの証明書があれば検証する。検証結果が失敗なら、SSL/TSL コネクショ
12610 ンは作られない。証明書がなければ、SSL/TLS コネクションを作成する。
12611 @item 2
12612 サーバの証明書を検証する。検証結果が失敗なら、SSL/TSL コネクションは作
12613 られない。証明書がなければ、SSL/TLS コネクションを作成しない。
12614 @item 3
12615 サーバが送ってきたものではなく、ローカルにインストールされている証明書
12616 で検証する。
12617 @end ifset
12618 @ifset en
12619 @item 0
12620 No verification.
12621 @item 1
12622 Verify server's certificate if present. If verification failed, an
12623 SSL/TLS connection is not created. If not present, an SSL/TLS
12624 connection is created.
12625 @item 2
12626 Verify server's certificate. If verification failed, an SSL/TLS
12627 connection is not created. If not present, an SSL/TLS connection is
12628 not created.
12629 @item 3
12630 Verify server's certificate which locally installed (not one from the
12631 server).
12632 @end ifset
12633 @end table
12634
12635 @ifset ja
12636 後は各プロトコルの SSL に関する変数を設定して下しさい。たとえば、POP
12637 over SSL を利用するには、@samp{mew-pop-ssl} を @samp{t} にします。また、
12638 ポート番号が標準と異なる場合には、@samp{mew-pop-ssl-port} を設定して下
12639 さい。
12640 @end ifset
12641 @ifset en
12642 Then configure SSL-related variables of each protocol. For example, if
12643 you want to use POP over SSL, set @samp{mew-pop-ssl} to @samp{t}.
12644 Also, if its port is not a standard one, configure
12645 @samp{mew-pop-ssl-port}.
12646 @end ifset
12647
12648 @lisp
12649 (setq mew-pop-ssl t)
12650 @end lisp
12651
12652 @ifset ja
12653 SMTP で SSL を利用する場合は、以下のようにします。
12654 @end ifset
12655 @ifset en
12656 To use SSL for SMTP, configure as follows:
12657 @end ifset
12658
12659 @lisp
12660 (setq mew-smtp-ssl t)
12661 @end lisp
12662
12663 @ifset ja
12664 SSL で通信が保護されている場合、モードラインに錠前の絵が表示されます。
12665 @end ifset
12666 @ifset en
12667 While a connection is protected by SSL, a picture of a lock is shown
12668 in the mode line.
12669 @end ifset
12670
12671 @c %%%%%%%%%%%%%%%%%
12672 @node TLS, spam, SSL, Tips
12673 @ifset ja
12674 @section Transport Layer Security
12675 @end ifset
12676 @ifset en
12677 @section Transport Layer Security
12678 @end ifset
12679
12680 @ifset ja
12681 Mew では SSL の代りに TLS を利用することもできます。TLS の実現は、SSL
12682 と同様 "stunnel" に頼っています。ですので、TLS を利用する際には、
12683 @xref{SSL} の説明に従って設定して下さい。
12684 @end ifset
12685 @ifset en
12686 Mew can use TLS instead of SSL. To enable TLS, Mew relies on
12687 @w{"}stunnel", too. So, before using TLS, you should configure
12688 according to the explanations in @ref{SSL}.
12689 @end ifset
12690
12691 @ifset ja
12692 次に、SSL のポート番号を守りたいプロトコルと同じポート番号に設定します。
12693 たとえば、POP では以下のようにします。
12694 @end ifset
12695 @ifset en
12696 Then, set the SSL port to the same one of the protocol to be
12697 protected. For instance, configure as follows for POP:
12698 @end ifset
12699
12700 @lisp
12701 ;; mew-pop-port is default to "pop3" (110)
12702 (setq mew-pop-ssl t)
12703 (setq mew-pop-ssl-port mew-pop-port) ;; The default is "pop3s" (995)
12704 @end lisp
12705
12706 @ifset ja
12707 すなわち、SSL のポート番号と保護したいプロトコルのポートが同じであれば
12708 TLS、異なれば SSL が利用されます。
12709 @end ifset
12710 @ifset en
12711 That is, if the SSL port is the same as the port of the protocol to be
12712 protected, TLS is used. Otherwise, SSL is used.
12713 @end ifset
12714
12715 @ifset ja
12716 以下は、Message Submission を TLS で守るための設定例です。
12717 @end ifset
12718 @ifset en
12719 The following is an example to protect Message Submission with TLS.
12720 @end ifset
12721
12722 @lisp
12723 (setq mew-smtp-port "submission") ;; The default is "smtp" (25)
12724 (setq mew-smtp-ssl t)
12725 (setq mew-smtp-ssl-port mew-smtp-port) ;; The default is 465
12726 @end lisp
12727
12728 @c %%%%%%%%%%%%%%%%%
12729 @node spam, spam2, TLS, Tips
12730 @ifset ja
12731 @section スパム
12732 @end ifset
12733 @ifset en
12734 @section Spam messages
12735 @end ifset
12736 @vindex mew-spam
12737 @vindex mew-inbox-action-alist
12738 @vindex mew-imap-spam-field
12739 @vindex mew-imap-spam-word
12740 @vindex mew-imap-spam-folder
12741
12742 @ifset ja
12743 (1) スパムのフィルタが POP サーバや IMAP サーバ側で動いている場合:
12744
12745 POP で +inbox にメッセージを取得したり、$inbox や %inbox でメッセージの
12746 一覧を取ったりする場合に、スパムに自動的に @samp{D} マークを付けること
12747 ができます。
12748 @end ifset
12749 @ifset en
12750 (1) In the case where a spam filter is running on your POP server or
12751 your IMAP server.
12752
12753 You can put the @samp{D} mark to spam messages while you are
12754 retrieving messages in +inbox or you are scanning messages in
12755 $inbox/%inbox.
12756 @end ifset
12757
12758 @ifset ja
12759 Bogofilter を利用している場合は、以下の設定を "~/.mew.el" に入れて下さ
12760 い。
12761 @end ifset
12762 @ifset en
12763 If you use "bogofilter", put the following to your "~/.mew.el".
12764 @end ifset
12765
12766 @lisp
12767 (defun mew-spam-bogofilter (val)
12768 (let ((case-fold-search t))
12769 (if (string-match "yes" val) ?D)))
12770
12771 (setq mew-inbox-action-alist
12772 '(("X-Bogosity:" mew-spam-bogofilter)))
12773 @end lisp
12774
12775 @ifset ja
12776 @samp{D} マークを付ける代わりに、+spam フォルダへリファイルするように @samp{o} マー
12777 クを付けるようにするには、関数を以下のように記述します。
12778 @end ifset
12779 @ifset en
12780 If you want to put the @samp{o} mark so as to be refiled to the +spam
12781 folder, instead of putting to th @samp{D} mark, you should program the
12782 function as follows:
12783 @end ifset
12784
12785 @lisp
12786 (defun mew-spam-bogofilter (val)
12787 (let ((case-fold-search t))
12788 (if (string-match "yes" val) "+spam")))
12789 @end lisp
12790
12791 @ifset ja
12792 Spamassassin の場合は、以下の設定を "~/.mew.el" に入れて下さい。
12793 @end ifset
12794 @ifset en
12795 If you use "spamassassin", put the following to your "~/.mew.el".
12796 @end ifset
12797
12798 @lisp
12799 (setq mew-spam: "X-Spam-Flag:")
12800 (defun mew-spam-assassin (val)
12801 (let ((case-fold-search t))
12802 (if (string-match "yes" val) ?D)))
12803
12804 (setq mew-inbox-action-alist
12805 '(("X-Spam-Flag:" mew-spam-assassin)))
12806 @end lisp
12807
12808 @ifset ja
12809 bsfilter を使う場合は、bsfilter に含まれているマニュアルを参照して下さ
12810 い。
12811 @end ifset
12812 @ifset en
12813 In the case where you want to use bsfilter, see a document in the
12814 bsfilter package.
12815 @end ifset
12816
12817
12818 @ifset ja
12819 (2) スパムのフィルタが IMAP サーバ側で動いている場合:
12820
12821 %inbox でメッセージの一覧を取る際に、IMAP サーバの中でスパムを消去、ま
12822 たは、他のフォルダへ移動させることができます。Bogofilter を利用している
12823 場合は、以下のような設定を "~/.mew.el" に加えて下さい。
12824 @end ifset
12825 @ifset en
12826 (2) In the case where a spam filter is running in your IMAP server.
12827
12828 You can delete or move spam messages while you are scanning %inbox.
12829 If you use "bogofilter", put the following to your "~/.mew.el".
12830 @end ifset
12831
12832 @lisp
12833 (setq mew-imap-spam-field "X-Bogosity")
12834 (setq mew-imap-spam-word "Yes")
12835 @end lisp
12836
12837 @ifset ja
12838 @samp{mew-imap-spam-folder} あるいは @samp{mew-imap-trash-folder} が定
12839 義されていれば、そのフォルダへスパムが移動します。そうでなければ、スパ
12840 ムは消去されます。
12841 @end ifset
12842 @ifset en
12843 If @samp{mew-imap-spam-folder} or @samp{mew-imap-trash-folder} is
12844 defined, spam messages are moved to the folder. Otherwise, they are
12845 removed.
12846 @end ifset
12847
12848 @ifset ja
12849 (3) ローカルで bogofilter を動かして、一括して @samp{*} マークを付ける
12850 方法もあります。まず、以下のスクリプトをインストールして下さい。
12851 @end ifset
12852 @ifset en
12853 (3) In the case where you installed "bogofilter" in your local machine,
12854 you can put the @samp{*} mark to spam messages. First you need to install
12855 the following script, say "bogo":
12856 @end ifset
12857
12858 @example
12859 #!/bin/sh
12860
12861 bogofilter -v -T -B $* | grep S
12862 @end example
12863
12864 @ifset ja
12865 このスクリプト名を "bogo" だとしましょう。Summary モードで @samp{?} を
12866 実行し、@samp{RET} を入力し、コマンド名に "bogo" を指定すれば、スパムに
12867 @samp{*} マークが付きます。あとは、@samp{md} + @samp{x} などで処理する
12868 といいでしょう。
12869 @end ifset
12870 @ifset en
12871 Type @samp{?} and @samp{RET}, then specify "bogo", and spam messages
12872 are marked with @samp{*}. After that, you may want to process them
12873 with @samp{md} + @samp{x}.
12874 @end ifset
12875
12876 @ifset ja
12877 (4) POP サーバを利用しており、サーバ側ではスパムのフィルタを動かせないが、
12878 メッセージの取得時にマークを付けたい場合:
12879 @end ifset
12880 @ifset en
12881 (4) In the case where you use POP and a spam filter does not run on
12882 the POP server but you want to mark spam messages when retrieving
12883 @end ifset
12884
12885 @ifset ja
12886 bsfilter は、POP の代理サーバとなる機能があるので、これを実現できます。
12887 詳しくは bsfilter に含まれているマニュアルを参照して下さい。
12888 @end ifset
12889 @ifset en
12890 Since bsfilter can be a POP proxy server, you can implement your
12891 policy. See a document in the bsfilter package.
12892 @end ifset
12893
12894 @c %%%%%%%%%%%%%%%%%
12895 @node spam2, addr-warn, spam, Tips
12896 @ifset ja
12897 @section スパム(2)
12898 @end ifset
12899 @ifset en
12900 @section Spam messages(2)
12901 @end ifset
12902 @kindex lh (Summary)
12903 @kindex ls (Summary)
12904 @vindex mew-spam-prog
12905 @vindex mew-spam-prog-args
12906 @vindex mew-ham-prog
12907 @vindex mew-ham-prog-args
12908
12909 @ifset ja
12910 Summary モードで読んでいる現在のメッセージを、フィルターにスパムとして
12911 学習させるには @samp{ls} を使います。同様に、ハム(スパムでないメッセー
12912 ジ)として学習させるには @samp{lh} を利用して下さい。
12913 @end ifset
12914 @ifset en
12915 If you want to let your filter learn the current message in Summary as
12916 a spam, type @samp{ls}. Likewise type @samp{lh} to let your filter
12917 learn it as a ham (non-spam).
12918 @end ifset
12919
12920 @ifset ja
12921 両者のコマンドを使用するためには、4 つの変数を設定しておく必要があります。
12922 ここでは bogofilter を例題にとり、3 つの場合について説明します。
12923 @end ifset
12924 @ifset en
12925 To use these commands, you need to configure four variables in advance.
12926 We consider bogofilter as an example and see three cases.
12927 @end ifset
12928
12929 @ifset ja
12930 (1) ローカルのフィルターに学習させる場合:
12931 @end ifset
12932 @ifset en
12933 (2) To let your local filter learn:
12934 @end ifset
12935
12936 @lisp
12937 (setq mew-spam-prog "bogofilter")
12938 (setq mew-spam-prog-args '("-s" "-N" "-v"))
12939 (setq mew-ham-prog "bogofilter")
12940 (setq mew-ham-prog-args '("-n" "-S" "-v")))
12941 @end lisp
12942
12943 @ifset ja
12944 (2) サーバ(<server>)側のフィルターに SSH 経由で学習させる場合:
12945 @end ifset
12946 @ifset en
12947 (2) To let your filter on your <server> learn via SSH:
12948 @end ifset
12949
12950 @lisp
12951 (setq mew-spam-prog "ssh")
12952 (setq mew-spam-prog-args '("<server>" "bogofilter" "-s" "-N" "-v"))
12953 (setq mew-ham-prog "ssh")
12954 (setq mew-ham-prog-args '("<server>" "bogofilter" "-n" "-S" "-v")))
12955 @end lisp
12956
12957 @ifset ja
12958 (3) ファイアウォール(<firewall>)の先のサーバ(<server>)のフィルターに
12959 多段の SSH 経由で学習させる場合:
12960 @end ifset
12961 @ifset en
12962 (3) To pass through your <firewall> with SSH and to let your filter on
12963 your <server> learn via SSH:
12964 @end ifset
12965
12966 @lisp
12967 (setq mew-spam-prog "ssh")
12968 (setq mew-spam-prog-args '("-A" "<firewall>" "ssh" "<server>" "bogofilter" "-s" "-N" "-v"))
12969 (setq mew-ham-prog "ssh")
12970 (setq mew-ham-prog-args '("-A" "<firewall>" "ssh" "<server>" "bogofilter" "-n" "-S" "-v")))
12971 @end lisp
12972
12973 @ifset ja
12974 なお SSH を利用する場合、関連するホストには、パスワードなしでログインで
12975 きるように設定しておく必要があります。
12976 @end ifset
12977 @ifset en
12978 If you use SSH, you need to configure related hosts so that you can
12979 login them without passwords.
12980 @end ifset
12981
12982 @c %%%%%%%%%%%%%%%%%
12983 @node addr-warn, biff, spam2, Tips
12984 @ifset ja
12985 @section アドレスの警告
12986 @end ifset
12987 @ifset en
12988 @section Warning addresses
12989 @end ifset
12990 @vindex mew-safe-addresses
12991 @vindex mew-warn-addresses
12992 @vindex mew-safe-domains
12993 @vindex mew-warn-domains
12994
12995 @ifset ja
12996 社内で閉じるべきメッセージの宛先に、うっかり社外の人のアドレスを書いて
12997 しまうことがあります。Mew では、たとえば社内のドメイン名を列挙しておく
12998 と、社外のアドレスを赤色にして警告してくれます。
12999 @end ifset
13000 @ifset en
13001 Suppose you are writing a message which must be closed in your
13002 company. You might write an non-employee's address by mistake. If you
13003 tells your company's domains, for instance, to Mew, it turns
13004 non-employee's addresses to red.
13005 @end ifset
13006
13007 @ifset ja
13008 どのアドレスを警告するのかを決定する変数は 4 つあり、すべて文字列のリス
13009 トになります。Mew は以下のルールに従って、警告するアドレスを決めます。
13010 @end ifset
13011 @ifset en
13012 There are four variables to decide which address should trun red.
13013 They are all a list of strings. Mew takes the following rules:
13014 @end ifset
13015
13016 @enumerate
13017 @ifset ja
13018 @item
13019 アドレスが @samp{mew-safe-addresses} で指定されていれば警告しない。
13020 @item
13021 アドレスが @samp{mew-warn-addresses} で指定されていれば警告する。
13022 @item
13023 ドメインが @samp{mew-safe-domains} で指定されていれば警告しない。
13024 @item
13025 ドメインが @samp{mew-warn-domains} で指定されていれば警告する。
13026 @item
13027 @samp{mew-warn-addresses} か @samp{mew-safe-domains} が定義されていれば
13028 警告する。
13029 @item
13030 警告しない。
13031 @end ifset
13032 @ifset en
13033 @item
13034 If an address is specified in @samp{mew-safe-addresses}, no warning.
13035 @item
13036 If the address is specified in @samp{mew-warn-addresses}, warning.
13037 @item
13038 If its domain is specified in @samp{mew-safe-domains}, no warning.
13039 @item
13040 If its domain is specified in @samp{mew-warn-domains}, warning.
13041 @item
13042 If either @samp{mew-warn-addresses} or @samp{mew-safe-domains} defined,
13043 warning.
13044 @item
13045 No warning.
13046 @end ifset
13047 @end enumerate
13048
13049 @ifset ja
13050 以下に "@@example.org" 以外のドメインを持つアドレスを警告する例を示します。
13051 @end ifset
13052 @ifset en
13053 Here is an example that an address whose domain is not "@@example.org"
13054 turns red.
13055 @end ifset
13056
13057 @lisp
13058 (setq mew-safe-domains '("example.org"))
13059 @end lisp
13060
13061 @ifset ja
13062 ドメインは "@@example.org" ですが、"customers@@example.org" は警告したい場合は、
13063 さらに以下のように設定します。
13064 @end ifset
13065 @ifset en
13066 If you want "customers@@example.org" to turn red even its domain is
13067 @w{"}@@example.org", add the following line.
13068 @end ifset
13069
13070 @lisp
13071 (setq mew-warn-addresses '("customers@@example.org"))
13072 @end lisp
13073
13074 @c %%%%%%%%%%%%%%%%%
13075 @node biff, edit, addr-warn, Tips
13076 @ifset ja
13077 @section Biff
13078 @end ifset
13079 @ifset en
13080 @section Biff
13081 @end ifset
13082 @vindex mew-use-biff
13083 @vindex mew-use-biff-bell
13084 @vindex mew-biff-interval
13085
13086 @ifset ja
13087 メッセージが到着したか定期的に調べる機能を biff といいます。Mew では、
13088 以下の設定をすると、5 分ごとに新規メッセージが何個あるか調べるようにな
13089 ります。
13090 @end ifset
13091 @ifset en
13092 The functionality to check new messages is called biff. With the
13093 following configuration Mew sees how many new messages have arrived
13094 every 5 minutes.
13095 @end ifset
13096
13097 @lisp
13098 (setq mew-use-biff t)
13099 @end lisp
13100
13101 @ifset ja
13102 新規メッセージがあれば、その数がモードラインに表示されます。
13103 @end ifset
13104 @ifset en
13105 If one or more new messages exist, the total number is displayed in
13106 the mode line.
13107 @end ifset
13108
13109 @ifset ja
13110 Biff の対象となるサーバとプロトコルは、Mew の起動時に @samp{mew-proto}
13111 とケース(@samp{mew-case})から決定されます。
13112 @end ifset
13113 @ifset en
13114 The server and the protocol, which Mew checks, are decided according
13115 to @samp{mew-proto} and the "case" (@samp{mew-case}) on boot time.
13116 @end ifset
13117
13118 @ifset ja
13119 以下の設定をすると、新規メッセージがない状態からある状態に変った際に、
13120 ビープ音が鳴ります。
13121 @end ifset
13122 @ifset en
13123 With the following configuration, Mew beeps when the number of new
13124 messages changes from zero to one or more.
13125 @end ifset
13126
13127 @lisp
13128 (setq mew-use-biff-bell t)
13129 @end lisp
13130
13131 @ifset ja
13132 メッセージの到着を調べる間隔を変えるには、@samp{mew-biff-interval} を設
13133 定して下さい。以下は、10 分にする例です。
13134 @end ifset
13135 @ifset en
13136 To change the interval time of biff, set @samp{mew-biff-interval}.
13137 Below is an example to set it to 10 minutes.
13138 @end ifset
13139
13140 @lisp
13141 (setq mew-biff-interval 10)
13142 @end lisp
13143
13144 @c %%%%%%%%%%%%%%%%%
13145 @node edit, Convention, biff, Tips
13146 @ifset ja
13147 @section Edit モード
13148 @end ifset
13149 @ifset en
13150 @section Edit
13151 @end ifset
13152 @kindex M-e
13153 @kindex C-cC-c (Edit)
13154 @kindex C-cC-m (Edit)
13155
13156 @ifset ja
13157 Edit モードは、既存のメッセージを編集し、新しいメッセージを作成するため
13158 のモードです。用途の典型例を以下に示します。
13159 @end ifset
13160 @ifset en
13161 Edit mode is a mode to edit a message to generate another new message.
13162 The followings are typical examples:
13163 @end ifset
13164
13165 @itemize @minus
13166 @ifset ja
13167 @item
13168 大きな添付ファイルを削除して保存する
13169 @item
13170 PGP/MIME や S/MIME で暗号化されたメッセージを復号化した状態で保存する
13171 @end ifset
13172 @ifset en
13173 @item
13174 Saving a new message with big attachments removed
13175 @item
13176 Saving a decrypted message whose original one is encrypted with
13177 PGP/MIME or S/MIME
13178 @end ifset
13179 @end itemize
13180
13181 @ifset ja
13182 現在のメッセージを Edit モードで編集するには、@samp{M-e}を押します。す
13183 ると、Draft モードに似た形で草稿が用意されます。Edit モードでは、Draft
13184 モードと同様の操作で、メッセージを編集できます。
13185 @end ifset
13186 @ifset en
13187 To edit a current message in Edit mode, type @samp{M-e}. Then, a new
13188 draft is prepared like Draft mode. In Edit mode, you can edit a
13189 message as if you were in Draft mode.
13190 @end ifset
13191
13192 @ifset ja
13193 編集したメッセージを新しいメッセージとして保存するには、@samp{C-cC-c}か
13194 @samp{C-cC-m}を使います。両者は、まったく同じコマンドです。これらのコマ
13195 ンドを実行すると、どのフォルダに保存するかを訊いてきます。
13196 @end ifset
13197 @ifset en
13198 To save edited message to a new message, type @samp{C-cC-c} or
13199 @samp{C-cC-m}. They are the exactly same command. To execute one of
13200 them, you are asked a folder to save the new message.
13201 @end ifset
13202
13203 @ifset ja
13204 なお、この機能は再編集(@xref{sum-write})と混同しやすいので注意して下さ
13205 い。再編集は編集後に送信するのに対し、Edit モードでは編集の後に保存しま
13206 す。
13207 @end ifset
13208 @ifset en
13209 Please take care that you may confuse this command as retry
13210 sending (@pxref{sum-write}). Retry seinding is to send a message after
13211 editing while Edit mode is to save a message after modifying.
13212 @end ifset
13213
13214 @ifset ja
13215 以下に Edit モードのまとめを示します。Summary モードから Edit モードに
13216 入るには以下のコマンドを使います。
13217 @end ifset
13218 @ifset en
13219 The following is summary of commands relating to Edit mode. To enter
13220 Edit mode from Summary mode, use the following command.
13221 @end ifset
13222
13223 @table @samp
13224 @ifset ja
13225 @item M-e
13226 現在のメッセージを元に Edit モードに入る。
13227 @end ifset
13228 @ifset en
13229 @item M-e
13230 Entering Edit mode with the current message.
13231 @end ifset
13232 @end table
13233
13234 @ifset ja
13235 Edit モードでのコマンドをまとめます。
13236 @end ifset
13237 @ifset en
13238 The following is a summary of commands in Edit mode.
13239 @end ifset
13240
13241 @table @samp
13242 @ifset ja
13243 @item C-cC-c
13244 編集したメッセージを新しいメッセージに保存。
13245 @item C-cC-m
13246 @samp{C-cC-c}に同じ。
13247 @item その他
13248 Draft モードと同じ。
13249 @end ifset
13250 @ifset en
13251 @item C-cC-c
13252 Saving the edited message to a new message.
13253 @item C-cC-m
13254 The same as @samp{C-cC-c}
13255 @item Other commands
13256 The same as the other commands in Edit mode
13257 @end ifset
13258 @end table
13259
13260 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13261 @c Message Convention
13262 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13263
13264 @node Convention, Implementation, edit, Top
13265 @ifset ja
13266 @chapter メッセージの作法
13267 @end ifset
13268 @ifset en
13269 @chapter E-mail convention
13270 @end ifset
13271
13272 @ifset ja
13273 メッセージをやりとりする際には、最低限のマナーがあります。マナーを守って
13274 いないメッセージは読みにくいため、大変損します。簡潔かつ適切な文章を書き、
13275 なるべく相手に理解してもらえるよう努力しましょう。
13276 @end ifset
13277 @ifset en
13278 When you exchange messages with other people, you should obey minimum
13279 manner. It gives a bad impression to the people if you violate the
13280 manner since such messages are hard to read. We always should try to
13281 write concise yet comprehensive explanations and make an effort to make
13282 receivers well-understood.
13283 @end ifset
13284
13285 @ifset ja
13286 メッセージを書く際に気を付けるべき項目を以下に示します。
13287 @end ifset
13288 @ifset en
13289 We should take good care of the following items.
13290 @end ifset
13291
13292 @table @asis
13293 @ifset ja
13294 @item To: と Cc: を正しく書く
13295 To: が目的の人で、Cc: は参考までに送り付ける人です。自分のアドレスが Cc:
13296 の場合は、読み飛ばす人がいますから注意して下さい。また、不必要なアドレス
13297 を To: や Cc: に書いて、相手に迷惑をかけてしまうことがないようにしましょ
13298 う。
13299
13300 @item To: と Cc: に書くアドレスの数は少なくする
13301 アドレスをたくさん To: や Cc: に書くのはよくないことです。面倒でもメーリ
13302 ングリストを作りましょう。あるいは、必要に応じて宛先を匿名にしましょう
13303 (@xref{anonymous})。
13304
13305 @item Subject: には本文の内容を的確に短く書く
13306 Subject: を見て読むか決める人がいますから、不適切な Subject: だと読んで
13307 もらえないかもしれません。長い Subject: は読みにくいので止めましょう。
13308
13309 @item 必要な部分だけを引用する
13310 面倒でも不要な部分は削りましょう。Mew を使っていれば、引用は楽勝のはずで
13311 す。
13312
13313 @item シグニチャは簡素にする
13314 長いシグニチャは単なる自己満足です。
13315
13316 @item いたずらメッセージを送らない
13317 こんなことは注意したくありませんが、それでも不幸のメッセージなどを送って
13318 くる人がいます。人格を疑われることを理解すべきです。
13319
13320 @item 相手の読めるデータのみを添付する
13321 なんの合意もなしに送ってよいデータはテキストのみです。それ以外のデータを
13322 送る場合は、あらかじめ相手に送ってよいか確認をとりましょう。メーリングリ
13323 ストには、テキストのみを投稿するのが無難でしょう。
13324 @end ifset
13325 @ifset en
13326 @item Fill To: and Cc: fields precisely
13327 To: is for target receivers and Cc: is for those who are received for
13328 their information. If his address is not on To:, he might skip to read
13329 the message. We should take care not to deliver to wrong people by
13330 mistaking the addresses.
13331
13332 @item The number of addresses To: and Cc: should be small
13333 It is discouraged to specify a lot of mail addresses on To: and Cc:. You
13334 should create a mailing-list instead. Or, if necessary, you should make
13335 the destination anonymous (@pxref{anonymous}).
13336
13337 @item Write a short and clear summary of body in Subject:
13338 There are people who decide to read contents from their Subject:. So,
13339 they might skip messages with improper Subject:. We should not write a
13340 long subject since it is hard to read.
13341
13342 @item Cite only necessary sentences
13343 You should not bother to remove unnecessary sentences. With Mew,
13344 citation must be a piece of cake.
13345
13346 @item Make your signature simple
13347 A long signature is just self-satisfaction.
13348
13349 @item Do not send prank messages
13350 I do not want to warn this kind of stuff. Nonetheless, someone sends
13351 Happy or Unhappy messages to others. You should understand that people
13352 doubt your character.
13353
13354 @item Attach data files that the receivers can read
13355 It is text only that you can send without any agreement with the
13356 receivers. If you want to send data files other than text, you should
13357 make an agreement with the receivers. To mailing-list, you should send
13358 text only.
13359 @end ifset
13360 @end table
13361
13362 @ifset ja
13363 また、インターネットのマナーは RFC1855 を読むといいでしょう。
13364 @end ifset
13365 @ifset en
13366 If you wish to learn manner on the Internet more comprehensively, please
13367 refer to RFC1855.
13368 @end ifset
13369
13370 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13371 @c Implementation
13372 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13373
13374 @node Implementation, Avail, Convention, Top
13375 @ifset ja
13376 @chapter 実装について
13377 @end ifset
13378 @ifset en
13379 @chapter Implementation Issues
13380 @end ifset
13381
13382 @table @asis
13383 @ifset ja
13384 @item "mewl" と "mewencode" が必要なのはなぜ?
13385 Mew では、Summary mode でメッセージを取得している間や、一覧を再表示して
13386 いる間に、メッセージを読み進めることができます。これは、プログラムの制御
13387 の流れが複数必要であることを意味しています。Emacs で制御の流れを複数にす
13388 るには、サブプロセスを作るか、TCP コネクションを張るしか方法がありません
13389 (Emacs Lisp には light weight process がありません)。POP や SMTP には、
13390 TCP コネクションを使うので問題ありません。しかし、Summary mode の一覧を
13391 再表示するためには、何かコマンドを起動しないといけません。これが、
13392 "mewl" が存在する理由です。"mewencode" が存在する理由は、単に速度のため
13393 です。MIME の符号化を Emacs Lisp で実装したところ、使い物にならないぐら
13394 い遅かったので、"mewencode" を使い続けています。(ただし、Base64 が Emacs
13395 で実装されていれば、そちらを使います。)
13396
13397 @item 文字列検索(@samp{C-s}、@samp{C-r})すると、行末にカーソルが飛ぶのはなぜ?
13398 Summary mode において、スレッド情報は表示されません。これは、Summary
13399 mode で表示されている行に関しては、表示する瞬間にスレッド情報に非表示
13400 の属性を付けるからです。非表示の属性がついている部分は文字列検索の対象
13401 にはなりません。しかし、Summary mode に表示されていない行のスレッド情
13402 報は、非表示の属性がついていないため、検索の対象となります。そして、合
13403 致した行が表示される際に非表示の属性がついて、あたかも行末に合致したか
13404 のような錯覚を受けます。Summary mode 全体の行のスレッド情報には、キー
13405 の入力がない時間に非表示の属性が付きます。全体に非表示の属性が付くと、
13406 Summary mode のモードラインの右端にある @samp{*} マークが消えます。こ
13407 の状態では、文字列検索が直感通りに働きます。
13408
13409 @item Mew 4.3 でファイルを添付すると MS のメールリーダでファイル名が認識できるようになりました
13410 MS のメールリーダは、ファイル名を符号化する際に、標準化されてない独自の
13411 方法を使います。MS のメールリーダが、標準化されている符号化方式に移行す
13412 ればいいのですが、何度お願いしても無理でした。そこで、Mew では以下のよ
13413 うな方法で、この問題を解決しました。すなわち、Mew は基本的には標準化さ
13414 れている方法で、ファイル名を符号化します。それに加えて、MS のメールリー
13415 ダが参照する標準化されてないパラメータに対して、ファイル名を MS 独自の
13416 方法で符号化し、付加します。
13417
13418 @end ifset
13419 @ifset en
13420 @item Why are "mewl" and "mewencode" necessary?
13421 With Mew, you can read throw messages in Summary mode while you are
13422 retrieving messages or listing the messages again. This means that
13423 multiple control flows of program are necessary. To make multiple
13424 control flows by Emacs, the only way is to make a TCP connection or to
13425 execute sub-process (Emacs Lisp does NOT provide a feature of light
13426 weight process). For POP and SMTP, Mew makes a TCP connection, so they
13427 are not a problem. However, to list the messages in Summary mode again,
13428 we have to execute a command. This is why "mewl" exists. The reason why
13429 "mewencode" exists is just for speed. When I programmed MIME encoding by
13430 Emacs Lisp in several ways, they are too slow to use. So, I decided to
13431 continue to use "mewencode". (If Base64 is implemented by Emacs, Mew
13432 uses the native function.)
13433
13434 @item Why does the cursor jump onto the end of line when searching(@samp{C-s}, @samp{C-r})?
13435 Thread informations are not displayed in Summary mode. This is because
13436 the "invisible" property is dynamically put onto them when
13437 displayed. Strings with this property is not a target of the string
13438 search. But, thread informations of undisplayed lines do not have this
13439 property, so the string search targets them. Then a matched line is
13440 displayed and the "invisible" property is put. So, it seems to you that
13441 the string search matches the end of the line. Mew puts the "invisible"
13442 property for all lines in Summary mode in background while there are no
13443 user key inputs. When this word is finished, the @samp{*} mark in the
13444 right side of the mode line in Summary mode disappears. In this
13445 situation, string search works exactly as you expect.
13446
13447 @item MS's mailers can handle file names well if I attach files with Mew 4.3
13448 MS's mailers use "non-standard MS original" encoding to encode file
13449 names. MS mailers should migrate to the standard encoding. I
13450 repeatedly asked MS to do so, but they did not. So, Mew took the
13451 following workaround: Mew basically uses the standard encoding. In
13452 addition, Mew add "MS original parameter" with file names encoded
13453 with "MS original" encoding.
13454
13455 @end ifset
13456 @end table
13457
13458 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13459 @c Avail
13460 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13461
13462 @node Avail, obtain, Implementation, Top
13463 @ifset ja
13464 @chapter 入手方法とメーリングリスト
13465 @end ifset
13466 @ifset en
13467 @chapter Availability and mailing-list
13468 @end ifset
13469
13470 @ifset ja
13471 ここでは、Mew の入手方法とメーリングリストについて触れます。
13472 @end ifset
13473 @ifset en
13474 This chapter describes how to get Mew and related mailing-lists.
13475 @end ifset
13476
13477 @menu
13478 @ifset ja
13479 * obtain:: Mew の入手方法
13480 * ml:: メーリングリスト
13481 @end ifset
13482 @ifset en
13483 * obtain:: How to get Mew?
13484 * ml:: Mailing list
13485 @end ifset
13486 @end menu
13487
13488 @c %%%%%%%%%%%%%%%%%
13489 @node obtain, ml, Avail, Avail
13490 @ifset ja
13491 @section Mew の入手方法
13492 @end ifset
13493 @ifset en
13494 @section How to get Mew?
13495 @end ifset
13496
13497 @ifset ja
13498 Mew の最新バージョンは以下から入手できます。
13499 @end ifset
13500 @ifset en
13501 The latest Mew is available from the following repository.
13502 @end ifset
13503
13504 @example
13505 http://www.Mew.org/Release/
13506 @end example
13507
13508 @ifset ja
13509 Mew の Git 版について知りたければ、以下を参照して下さい。
13510
13511 @example
13512 http://www.mew.org/ja/git/
13513 @end example
13514 @end ifset
13515 @ifset en
13516 If you want to know about Git versions of Mew, please refer to:
13517
13518 @example
13519 http://www.mew.org/en/git/
13520 @end example
13521 @end ifset
13522
13523 @c %%%%%%%%%%%%%%%%%
13524 @node ml, Copyright, obtain, Avail
13525 @ifset ja
13526 @section メーリングリスト
13527 @end ifset
13528 @ifset en
13529 @section Mailing list
13530 @end ifset
13531
13532 @ifset ja
13533 Mew に関するメーリングリストについては、以下を参照して下さい。
13534
13535 @example
13536 https://groups.google.com/forum/#!forum/mew-ja
13537 @end example
13538 @end ifset
13539
13540 @ifset en
13541 If you want to receive release announcements, ask questions,
13542 and/or discuss features in English,
13543 please subscribe yourself to mew-en.
13544
13545 @example
13546 https://groups.google.com/forum/#!forum/mew-en
13547 @end example
13548 @end ifset
13549
13550 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13551 @c Copyright
13552 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13553
13554 @node Copyright, Variable Index, ml, Top
13555 @ifset ja
13556 @chapter 著作権について
13557 @end ifset
13558 @ifset en
13559 @chapter Copyright
13560 @end ifset
13561
13562 @ifset ja
13563 Mew は以下の著作権に従います。
13564
13565 Copyright (C) 1994-2018 Mew developing team.@*
13566 All rights reserved.
13567
13568 変更の有無にかかわらず、ソースおよびバイナリ形式の再配布および利用は、以
13569 下の条件を満たしていれば、これを許可する。
13570
13571 @enumerate
13572 @item
13573 ソース・コードの再配布は、上記の著作権表示、この条件項目、および、以下の
13574 免責事項を保存しなければならない。
13575 @item
13576 バイナリ形式の再配布は、上記の著作権表示、この条件項目、および、以下の免
13577 責事項を、その配布に付随する説明書、あるいはその他の資料のいずれかに明記
13578 しなければならない。
13579 @item
13580 前もって特別に許諾を得ない限り、このソフトウェアから派生した製品の推奨や
13581 販売促進のために、このチーム名と貢献者達の名前を利用してはならない。
13582 @end enumerate
13583
13584 このソフトウェアは「このままの形で」提供され、明示的あるいは言外の保証
13585 は、商用利用および特定目的への適合に対する言外の保証も含み、またこれら
13586 だけに限らず、存在しない。たとえ以下のような損害の可能性を示唆されてい
13587 たとしても、どのような形にしろこのソフトウェアの利用から発生した問題に
13588 おいて、このチームと貢献者達は、(代替製品やサービスの調達; 利用権、デー
13589 タ、あるいは利益の損失; あるいは営業の中断を含む、またこれらだけに限ら
13590 ず)直接的に、間接的に、偶然に、特別に、懲罰上、あるいは、必然的に生じ
13591 てしまった損害に対し責任はなく、いかなる責任理論上でも契約の有無に係わ
13592 らず厳密な責任はなく、また(過失あるいはその他を含む)不法行為に対しても
13593 責任はない。
13594 @end ifset
13595 @ifset en
13596 Mew conforms the following copyright.
13597
13598 Copyright (C) 1994-2018 Mew developing team.@*
13599 All rights reserved.
13600
13601 Redistribution and use in source and binary forms, with or without
13602 modification, are permitted provided that the following conditions
13603 are met:
13604
13605 @enumerate
13606 @item
13607 Redistributions of source code must retain the above copyright
13608 notice, this list of conditions and the following disclaimer.
13609 @item
13610 Redistributions in binary form must reproduce the above copyright
13611 notice, this list of conditions and the following disclaimer in the
13612 documentation and/or other materials provided with the distribution.
13613 @item
13614 Neither the name of the team nor the names of its contributors
13615 may be used to endorse or promote products derived from this software
13616 without specific prior written permission.
13617 @end enumerate
13618
13619 THIS SOFTWARE IS PROVIDED BY THE TEAM AND CONTRIBUTORS ``AS IS'' AND
13620 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
13621 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
13622 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE TEAM OR CONTRIBUTORS BE
13623 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
13624 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
13625 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
13626 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
13627 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
13628 OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
13629 IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13630 @end ifset
13631
13632 @ifset ja
13633 CD ROM に入れて配布したいという方は、できるだけ教えて下さい。教えてくれ
13634 なくても怒りませんが、教えて頂けるとありがたいです。配布を断ったことは
13635 ありません。
13636 @end ifset
13637 @ifset en
13638 If you wish to distribute Mew in CD or something, please let me know. I
13639 do not go mad even if you do not tell me but I'm very glad if you do so.
13640 I never have declined requirements.
13641 @end ifset
13642
13643 @ifset ja
13644 このマニュアルの著作権は、著者に属します。複製、改変、再配布は自由です
13645 が、無保証です。また、このマニュアルから発生した被害に対し、著者は一切
13646 責任を負いません。
13647 @end ifset
13648 @ifset en
13649 The copyright of this manual belongs to the author. Permission is
13650 granted to copy, modify, redistribute this manual but no warranty.
13651 @end ifset
13652
13653 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13654 @c Variable Index
13655 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13656
13657 @node Variable Index, Key Index, Copyright, Top
13658 @ifset ja
13659 @chapter 変数索引
13660 @end ifset
13661 @ifset en
13662 @chapter Variable Index
13663 @end ifset
13664
13665 @printindex vr
13666
13667 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13668 @c Key Index
13669 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13670
13671 @node Key Index, , Variable Index, Top
13672 @ifset ja
13673 @chapter キー索引
13674 @end ifset
13675 @ifset en
13676 @chapter Key Index
13677 @end ifset
13678
13679 @printindex ky
13680
13681 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13682 @c Tailer
13683 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13684
13685 @shortcontents
13686 @contents
13687 @bye