Debian Codegraph @

info/mew.texi

raw ◀ ▶
1 Debian patch touch this file
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、TLS)を便利に利用するためのユーザインター
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 TLS. 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 @vindex mew-master-passwd-type
738
739 @ifset ja
740 メッセージを送受信したり、PGP や S/MIME を使ったりする場合には、パスワー
741 ドを訊かれることがあります。パスワードを入力する前に以下の条件のどちら
742 かが満たされていることを確認しましょう。
743
744 @itemize @minus
745 @item
746 Emacs が目の前のコンピュータで動いている
747 @item
748 Emacs が遠隔のコンピュータで動いているが、なんらかの暗号手段を使って通信
749 している。
750 @end itemize
751
752 どちらの条件も満たされない場合は、パスワードを入力しないで下さい。入力す
753 ると盗聴される恐れがあります。
754 @end ifset
755 @ifset en
756 When fetching/sending messages or using PGP or S/MIME, you may be
757 required to input your password. Before you type your password, check
758 carefully to see if either the following conditions is satisfied:
759
760 @itemize @minus
761 @item
762 Emacs is running on a local computer
763 @item
764 Emacs is running on a remote computer, but an encryption mechanism is
765 being used for communication.
766 @end itemize
767
768 If neither of these conditions are satisfied, do not input a
769 password. Your password could be accessed without your knowledge.
770 @end ifset
771
772 @ifset ja
773 パスワードを何回も入力するのが面倒な人は、パスワードを保存する機能を利用
774 して下さい。2 つの方法があります。
775 @end ifset
776 @ifset en
777 If you get sick of inputting your password from time to time, please use
778 one of two password-cache mechanisms.
779 @end ifset
780
781 @enumerate
782 @ifset ja
783 @item
784 パスワードをメモリに一時的に蓄える。ファイルには書き出さない。
785 @item
786 パスワードをメモリに Mew が起動している間中蓄える。Mew/Emacs の終了時に、
787 パスワードを暗号化しファイルに書き出す。
788 @end ifset
789 @ifset en
790 @item
791 Storing passwords in memory temporarily. Not writing them to a file.
792 @item
793 Storing passwords in memory while Mew is running. When Mew/Emacs
794 quits, Mew encrypts the passwords and writes them to a file.
795 @end ifset
796 @end enumerate
797
798 @ifset ja
799 1. の機能を利用するには、以下のように設定します。
800 @end ifset
801 @ifset en
802 To use Feature 1., configure as follows:
803 @end ifset
804
805 @lisp
806 (setq mew-use-cached-passwd t)
807 @end lisp
808
809 @ifset ja
810 2. の機能を利用するには、まず GnuPG をインストールします。GnuPG は、バー
811 ジョン 1.x、2.1.23以降に対応しています。バージョン2.1.23以降を使う場合は、
812 "~/.gnupg/gpg.conf" に以下の設定を加えます。
813 @end ifset
814 @ifset en
815 To use Feature 2., install GnuPG first. GnuPG version 1.x and 2.1.23
816 or later are supported for this feature. If you use GnuPG 2.1.23 or
817 later, put the following to "~/.gnupg/gpg.conf":
818 @end ifset
819
820 @example
821 no-auto-key-retrieve
822 auto-key-locate local
823 @end example
824
825 @ifset ja
826 そして、以下のように設定します。
827 @end ifset
828 @ifset en
829 Then, configure as follows:
830 @end ifset
831
832 @lisp
833 (setq mew-use-master-passwd t)
834 @end lisp
835
836 @ifset ja
837 両方の変数が @samp{t} の場合、2. の機能が利用されます。
838 @end ifset
839 @ifset en
840 If both variables are @samp{t}, the feature 2. is used.
841 @end ifset
842
843 @ifset ja
844 1. の機能:あらゆるパスワード(POP、PGP など)が一時的にメモリに保存され
845 ます。パスワードが保存されている間は、パスワードの入力を省略できます。
846 保存されているパスワードは一定時間(通常は 20 分)が過ぎると消去されます。
847 ただし、保存されているパスワードが内部で利用されると、保存期間が延長さ
848 れます(20 分に戻ります)。
849 @end ifset
850 @ifset en
851 Feature 1.: Any passwords including POP and PGP are cached in
852 memory. While a password is cached, you can omit to input the
853 password. The cached password will expire after a certain period (20
854 minutes by default). However, its timer is cleared (reset to 20
855 minutes) if the password is used internally.
856 @end ifset
857
858 @ifset ja
859 2. の機能:Mew の起動時に、マスターパスワードを訊かれます。Mew はそのマ
860 スターパスワードで、暗号化されているパスワードを復号化し、メモリに蓄え
861 ます。たとえば、以前 POP のパスワードを入力していれば、それがメモリに蓄
862 えられていますから、次に POP のパスワードが必要な際、POP のパスワードの
863 入力を省略できます。はじめてマスターパスワードを利用する際は、確認のた
864 めマスターパスワードを 2 回訊きます。また、たとえば POP のパスワードも
865 1 回だけ入力するように促されます。Mew の起動時に、間違ったマスターパスワー
866 ドを入力することもあるでしょう。その場合、1. の機能を有効にしているなら、
867 1. の機能が使われます。有効でなければ、パスワードの保存機能は利用されま
868 せん。
869 @end ifset
870 @ifset en
871 Feature 2: When Mew boots, Mew asks you to input a master password.
872 Mew decrypts encrypted passwords in a file and caches them in memory.
873 For instance, if you have already typed POP password, it is to be
874 stored in memory. Thus, when the POP password is required, you can
875 omit to input it. If you use a master password at the first time,
876 you are asked to input it twice. When Mew boots, you might type
877 a wrong master password. In this case, if you enabled Feature 1.,
878 it is used. Otherwise, no password-cache mechanisms is used.
879 @end ifset
880
881 @ifset ja
882 マスターパスワードを変更するには、Summary モードで @samp{C-cC-m} と入力
883 します。
884 @end ifset
885 @ifset en
886 If you want to change the master password, type @samp{C-cC-m} in
887 Summary mode.
888 @end ifset
889
890 @ifset ja
891 メモリに保存されているパスワードは、暗号化されていません。そこで、1. ま
892 たは 2. の方法を使う場合は、他の人に自分が起動した Emacs を触られないよ
893 うに気をつけて下さい。もし席を空け、Emacs をよく知っている他の人に
894 Emacs を操作された場合、パスワードを盗み取られる可能性があります。
895 @end ifset
896 @ifset en
897 Cached passwords in memory are not encrypted. So, if you use either
898 Feature 1. or Feature 2., you should take care so that nobody can
899 touch your Emacs. If you leave your PC and an Emacs expert happens to
900 check your configuration, your passwords could be stolen.
901 @end ifset
902
•903 @ifset ja
904 Mew のマスターパスワード機能は Mew 独自のものですが、Emacs には
905 auth-source と呼ばれるパスワードマネージャが含まれています。
906 auth-source は .netrc 形式のテキストファイル、GNOME Keyring, macOS
907 Keychain といった、プラットフォームが提供するパスワード保存機能にも対
908 応しています。
909 @end ifset
910 @ifset en
911 While the master password feature is one of the feature of Mew, Emacs
912 supports ``auth-source'' password manager. Auth-source is similar to
913 Mew's master password but supports variety of platform-dependent
914 password stores including .netrc-style plain text, GNOME Keyring, and
915 macOS Keychain.
916 @end ifset
917
918 @ifset ja
919 Mew の auth-source 対応は、まだ実験的なものです。
920 auth-source を試すには、マスターパスワードを使用する
921 設定に加えて、次のように設定します。
922 @end ifset
923 @ifset en
924 Note that support for auth-source is still experimental.
925 To try auth-source, configure the following variable:
926 @end ifset
927
928 @lisp
929 (setq mew-master-passwd-type 'auth-source)
930 (setq auth-sources '("~/.authinfo.gpg" "~/.authinfo" "~/.netrc"))
931 @end lisp
932
933 @ifset ja
934 どのパスワード保存機能を使用するかは、@samp{auth-sources} 変数で設定で
935 きます。上記設定では 3 個のファイルを探し、一番最初に見つかったものを
936 使用します。@samp{auth-sources} を指定しなかった場合、
937 デフォルトでは .netrc 形式のテキストファイルとして、~/.authinfoと
938 いうファイルが使われます。GnuPG を使って暗号化し、~/.authinfo.gpg とい
939 う名前で用意すれば、暗号化した状態で維持することも可能です。平文のファ
940 イルにパスワードを保存するのは危険ですので、暗号化しておくことを強くお
941 勧めします。詳しくは、@xref{(auth)Top} を参照してください。
942 @end ifset
943 @ifset en
944 Which password store is used can be set by @samp{auth-sources}
945 variable. In this example, one of the three files which was found
946 first is used. By default .netrc-style text file named
947 ``~/.authinfo'' is used. You can encrypt this file by using GnuPG and
948 put the encrypted file as ``~/.authinfo.gpg'' and remove the original
949 file. Mew will use the encrypted version seamlessly. It is strongly
950 recommended to use an encrypted file to store your passwords because
951 there is no protection in a plain text file. For more details, see
952 @xref{(auth)Top}.
953 @end ifset
954
955 @ifset ja
956 .netrc 形式のテキストファイルを GnuPG で暗号化した場合、Mew は保存され
957 たパスワードの使用時に、復号用の鍵にアクセスするためのパスフレーズを尋
958 ねます。この復号処理には、EasyPG Assistant と呼ばれる Emacs パッケージ
959 が使われます。このパッケージは GnuPG を呼び出して暗号の処理を行なうも
960 のです。多くの場合、デフォルトの設定で問題なく動作しますが、設定可能な
961 項目がいくつかあります。詳しくは、@xref{(epa)Top} を参照してください。
962 @end ifset
963 @ifset en
964 If you use encrypted version of the .netrc-style text file as your
965 password store, Mew will ask you passphrase of the decryption key to
966 retrieve passwords from the file. For encryption and decryption, an
967 Emacs package named EasyPG Assistant, which calls GnuPG from Emacs, is
968 used. While it works with no specific configuration in most cases,
969 you can find several configuration knobs. For more details, see
970 @xref{(epa)Top}.
971 @end ifset
972
973 @ifset ja
974 現在の auth-source には、記録したパスワードを上書き・消去できないとい
975 う大きな欠点があることに注意してください。サーバのパスワードを変更した
976 場合は、~/.authinfo.gpg ファイルを手動で編集してください。これは、将来の
977 Emacs で修正される見込みです。
978 @end ifset
979 @ifset en
980 Note that the current version of auth-source has a big problem that it
981 cannot delete or update the password entry in the password store. If
982 you want to change or remove a password, you have to edit the
983 ~/.authinfo file manually. This will be fixed in the future version
984 of Emacs.
985 @end ifset
986
987 @c %%%%%%%%%%%%%%%%%
988
989 @node start, Viewing, password, Overview
990 @ifset ja
991 @section 起動
992 @end ifset
993 @ifset en
994 @section Starting
995 @end ifset
996 @vindex mew-auto-get
997 @vindex mew-proto
998 @vindex mew-mailbox-type
999 @vindex mail-user-agent
1000 @kindex M-x mew
1001 @kindex C-uM-x mew
1002 @kindex M-x mew-send
1003 @kindex C-xm
1004
1005 @ifset ja
1006 Mew を起動するには、以下の方法があります。
1007 @end ifset
1008 @ifset en
1009 To start Mew, you can choose one of the following:
1010 @end ifset
1011
1012 @table @samp
1013 @ifset ja
1014 @item M-x mew
1015 Mew が起動していなければ、まず Mew を起動する。そして、メッセージを取得
1016 するか、あるいは単にデフォルトのフォルダへ移動する。
1017
1018 まず、「修飾子」は @samp{mew-proto} とケースから決定される。
1019 (@xref{config} を参照)
1020
1021 「修飾子」が @samp{+}(ローカル・フォルダ)なら、@samp{mew-mailbox-type}
1022 からメールボックスが決定される。(@xref{retrieving} を参照) その他、すな
1023 わちリモート・フォルダなら、メッセージを取得するためのプロトコルが修飾子
1024 に応じて決る。
1025
1026 @samp{mew-auto-get} が @samp{t} なら、到着したメッセージが非同期に取得さ
1027 れ、Summary モードへ一覧表示される。
1028
1029 @samp{mew-auto-get} が @samp{nil} なら、修飾子によって決定したデフォルト
1030 のフォルダへ単に移動する。
1031 @item C-uM-x mew
1032 @samp{mew-auto-get} の値を逆だと考えて、@samp{M-x mew} を実行する。
1033 @item C-xm
1034 @samp{mail-user-agent} が設定されている場合、Draft モードへ移行する。
1035 @end ifset
1036 @ifset en
1037 @item M-x mew
1038 Execute Mew first unless Mew is running. And retrieve arrived
1039 messages or just visit to the default folder.
1040
1041 @samp{proto} is determined by @samp{mew-proto} and the "case" (see
1042 @ref{config}).
1043
1044 If @samp{proto} is @samp{+} (i.e. a local folder), a mailbox is determined
1045 according to @samp{mew-mailbox-type} (see @ref{retrieving}).
1046 Otherwise (i.e. a remote folder), an appropriate protocol to retrieve
1047 messages is chosen according to @samp{proto}.
1048
1049 If @samp{mew-auto-get} is @samp{t}, arrived messages are asynchronously fetched
1050 and listed up in Summary mode.
1051
1052 @samp{mew-auto-get} is @samp{nil}, just visit to the folder determined by
1053 @samp{proto}.
1054 @item C-uM-x mew
1055 Perform @samp{M-x mew} with @samp{mew-auto-get} reversed.
1056 @item M-x mew-send
1057 Enter Draft mode for message composing.
1058 @item C-xm
1059 Enter Draft mode for message composing if @samp{mail-user-agent} is
1060 configured.
1061 @end ifset
1062 @end table
1063
1064 @ifset ja
1065 Emacs で Mew を起動すると可愛い 2 匹の子が猫現れます。
1066 @end ifset
1067 @ifset en
1068 When Mew is executed on Emacs, two cute cats appear on the cover page.
1069 @end ifset
1070
1071 @ifset ja
1072 なお、Mew を終了する方法は、@xref{Quit} を参照して下さい。
1073 @end ifset
1074 @ifset en
1075 For the methods of quitting Mew, please refer to @ref{Quit}.
1076 @end ifset
1077
1078 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1079 @c Viewing
1080 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1081
1082 @node Viewing, singlepart, start, Top
1083 @ifset ja
1084 @chapter メッセージを表示する
1085 @end ifset
1086 @ifset en
1087 @chapter Viewing messages
1088 @end ifset
1089 @kindex M-x mew
1090
1091 @ifset ja
1092 (Mew が起動中でも、起動中ではなくても) @samp{M-x mew} と入力すると、Mew
1093 はメッセージを以下のように一覧表示します。
1094 @end ifset
1095 @ifset en
1096 If you input @samp{M-x mew} (regardless Mew is running or not), Mew
1097 displays a list of message like this:
1098 @end ifset
1099
1100 @example
1101 @ifset ja
1102 * 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック
1103 M03/14 ももちゃん 能登の写真 |この前撮った写真を添付
1104 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店
1105 @end ifset
1106 @ifset en
1107 * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
1108 M03/14 Momo-chan The pictures of Noto |Attached are the pictu
1109 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd
1110 @end ifset
1111 @end example
1112
1113 @ifset ja
1114 これを Summary モードといいます。ここでは、主に Summary モードでのメッセー
1115 ジの読み方について説明します。
1116 @end ifset
1117 @ifset en
1118 This is called Summary mode. This section mainly explains how to read
1119 messages in Summary mode.
1120 @end ifset
1121
1122 @ifset ja
1123 上記の例のように Summary モードは、マーク、データ型(Mew が付けるマーク)、
1124 日付、差出人、Subject:、本文から構成されています。
1125 @end ifset
1126 @ifset en
1127 As you can see the example above, the format of Summary mode consists of
1128 a mark, data type (a mark by Mew), date, a sender, Subject:, and a body.
1129 @end ifset
1130
1131 @ifset ja
1132 Summary モードを消去する方法については、@xref{Quit} を参照して下さい。
1133 @end ifset
1134 @ifset en
1135 For the method of terminating Summary mode, please see @ref{Quit}.
1136 @end ifset
1137
1138 @menu
1139 @ifset ja
1140 * singlepart:: 読み方の基礎
1141 * multipart:: MIME を表示する
1142 * analysis:: MIME の解析を制御する
1143 * cipher-viewing:: 暗号メールや電子署名を表示する
1144 * retrieving:: メッセージの取得
1145 * moving:: フォルダの移動
1146 * sum-write:: 送信、返答、転送
1147 * features:: 便利な機能
1148 * status-update:: 状態の更新
1149 * invalid:: 規格違反のメッセージ
1150 @end ifset
1151 @ifset en
1152 * singlepart:: Reading Basis
1153 * multipart:: Displaying MIME
1154 * analysis:: Controlling MIME analysis
1155 * cipher-viewing:: Visualizing cipher or signature
1156 * retrieving:: Getting messages
1157 * moving:: Moving to another folder
1158 * sum-write:: Write, answer, and forward
1159 * features:: Useful features
1160 * status-update:: Updating status
1161 * invalid:: Invalid messages
1162 @end ifset
1163 @end menu
1164
1165 @c %%%%%%%%%%%%%%%%%
1166 @node singlepart, multipart, Viewing, Viewing
1167 @ifset ja
1168 @section 読み方の基礎
1169 @end ifset
1170 @ifset en
1171 @section Reading Basis
1172 @end ifset
1173 @kindex SPC (Summary)
1174 @kindex C-uSPC (Summary)
1175 @kindex DEL (Summary)
1176 @kindex RET (Summary)
1177 @kindex M-RET (Summary)
1178 @kindex - (Summary)
1179 @kindex C-n (Summary)
1180 @kindex C-p (Summary)
1181 @kindex n (Summary)
1182 @kindex p (Summary)
1183 @kindex C-un (Summary)
1184 @kindex C-up (Summary)
1185 @kindex j (Summary)
1186 @kindex C-uj (Summary)
1187
1188 @ifset ja
1189 メッセージを上から順に読んでいくのであれば、@samp{SPC} を適宜押すだけで
1190 す。簡単でしょ?
1191 @end ifset
1192 @ifset en
1193 To read messages in the order of their arrival, type @samp{SPC} to
1194 display them. That's it. It's easy, isn't it?
1195 @end ifset
1196
1197 @ifset ja
1198 しかしそれだけではあんまりなので、以下にページを操作する基本的なコマンド
1199 を示します。
1200 @end ifset
1201 @ifset en
1202 Yet this might not be comprehensive, so the basic commands for page
1203 processing are listed as follows:
1204 @end ifset
1205
1206 @table @samp
1207 @ifset ja
1208 @item SPC
1209 メッセージを読み進める。つまり、メッセージを表示し、スクロールさせ、他の
1210 メッセージに移動して表示する。カーソルが移動する方向は、
1211 @xref{summary-mode} を参照のこと。
1212 @item C-uSPC
1213 メッセージを先頭から再表示。
1214 @item DEL
1215 現在のメッセージを下にスクロールさせる。不必要なヘッダフィールドは、ウイ
1216 ンドウの上に隠れている。よって、@samp{DEL} を入力すると、それらが現れる。
1217 @item RET
1218 現在のメッセージを 1 行上にスクロールする。
1219 @item M-RET
1220 @item -
1221 現在のメッセージを 1 行下にスクロールする。
1222 @end ifset
1223 @ifset en
1224 @item SPC
1225 Read through messages. That is, display a message, scroll it, and
1226 move-then-display another message. refer to @ref{summary-mode} to know
1227 which direction the cursor moves.
1228 @item C-uSPC
1229 Redisplay the message from its header.
1230 @item DEL
1231 Back-scroll this message. Unnecessary header fields are hidden over the
1232 window. Type @samp{DEL} to see them when a message is displayed.
1233 @item RET
1234 Make this message scroll up one line.
1235 @item M-RET
1236 @item -
1237 Make this message scroll down one line.
1238 @end ifset
1239 @end table
1240
1241 @table @samp
1242 @ifset ja
1243 @item C-n
1244 下の行へ移動。
1245 @item C-p
1246 上の行へ移動。
1247 @item n
1248 下方向に移動し表示。対象となるのは、パート、@samp{*} マークの付いたメッ
1249 セージ、マークの付いていないメッセージ。
1250 @item C-un
1251 下方向に移動し表示。対象となるのは、@samp{*} マークの付いたメッセージ、
1252 マークの付いていないメッセージ。
1253 @item p
1254 上方向に移動し表示。対象となるのは、パート、@samp{*} マークの付いたメッ
1255 セージ、マークの付いていないメッセージ。
1256 @item C-up
1257 上方向に移動し表示。対象となるのは、@samp{*} マークの付いたメッセージ、
1258 マークの付いていないメッセージ。
1259 @item j
1260 入力された行番号に従ってその行へ移動。
1261 @item C-uj
1262 入力されたメッセージの番号に従ってその行へ移動。
1263 @end ifset
1264 @ifset en
1265 @item C-n
1266 Go to the next line.
1267 @item C-p
1268 Go to the previous line.
1269 @item n
1270 Move down then display. Targets include parts, messages marked with
1271 @samp{*}, and non-marked messages.
1272 @item C-un
1273 Move down then display. Targets include messages marked with @samp{*},
1274 and non-marked messages.
1275 @item p
1276 Move up then display. Targets include parts, messages marked with
1277 @samp{*}, and non-marked messages.
1278 @item C-up
1279 Move up then display. Targets include messages marked with @samp{*}, and
1280 non-marked messages.
1281 @item j
1282 Jump to a line according to the line number which you input.
1283 @item C-uj
1284 Jump to a message according to the message number which you input.
1285 @end ifset
1286 @end table
1287
1288 @c %%%%%%%%%%%%%%%%%
1289 @node multipart, analysis, singlepart, Viewing
1290 @ifset ja
1291 @section MIME を表示する
1292 @end ifset
1293 @ifset en
1294 @section Displaying MIME
1295 @end ifset
1296 @vindex mew-end-of-message-string
1297 @vindex mew-end-of-part-string
1298
1299 @ifset ja
1300 マルチパートを読むのは別に大変なことではありません。今まで通り、
1301 @samp{SPC} を押していけばよいだけです。
1302 @end ifset
1303 @ifset en
1304 It's not difficult to read a multipart message. As usual, just type
1305 @samp{SPC}.
1306 @end ifset
1307
1308 @ifset ja
1309 マルチパートのメッセージは、以下のように日付の左に @samp{M} というマーク
1310 が付いています。
1311 @end ifset
1312 @ifset en
1313 A multipart message is marked with @samp{M} on the left side of date as
1314 follows:
1315 @end ifset
1316
1317 @example
1318 @ifset ja
1319 * 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック
1320 M03/14 ももちゃん 能登の写真 |この前撮った写真を添付
1321 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店
1322 @end ifset
1323 @ifset en
1324 * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
1325 M03/14 Momo-chan The pictures of Noto |Attached are the pictu
1326 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd
1327 @end ifset
1328 @end example
1329
1330 @ifset ja
1331 @samp{M} マークの付いたメッセージで @samp{SPC} を押すと、ヘッダを
1332 Message モードに表示すると共に、以下のように Summary モードでマルチパー
1333 トの構造を簡素に表示します。
1334 @end ifset
1335 @ifset en
1336 When you type @samp{SPC} on the message marked with @samp{M}, its header
1337 is displayed in Message mode. Then its multipart structure is displayed
1338 in Summary mode as follows:
1339 @end ifset
1340
1341 @example
1342 @ifset ja
1343 * 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック
1344 M03/14 ももちゃん 能登の写真 |この前撮った写真を添付
1345 B 2 Image/Jpeg 写真1 noto1.jpg
1346 Q 3 Application/Postscript 能登の地図 map.ps
1347 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店
1348 @end ifset
1349 @ifset en
1350 * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
1351 M03/14 Momo-chan The pictures of Noto |Attached are the pictu
1352 B 2 Image/Jpeg picture 1 noto1.jpg
1353 Q 3 Application/Postscript Note map map.ps
1354 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd
1355 @end ifset
1356 @end example
1357
1358 @ifset ja
1359 もし、パート 1 が Text/ なら、Summary モードにはパート 1 は可視化されず、
1360 そのかわりパート 1 がヘッダと共に Message モードに表示されます。
1361 @end ifset
1362 @ifset en
1363 If the first part is Text/, the first part is not displayed in Summary
1364 mode but the first part is displayed with its header in Message mode.
1365 @end ifset
1366
1367 @ifset ja
1368 マルチパートの各行は
1369
1370 @itemize @minus
1371 @item
1372 マーク (Content-Transfer-Encoding:)
1373 @item
1374 パート番号
1375 @item
1376 データ型 (Content-Type:)
1377 @item
1378 説明 (Content-Description:)
1379 @item
1380 ファイル名 (Content-Disposition:)
1381 @end itemize
1382
1383 から構成されています。Content-Description: はパートに対する Subject: と
1384 考えていいでしょう。この表示は Draft モードの添付領域とほとんど同じです。
1385 @end ifset
1386 @ifset en
1387 Each line of multipart consists of
1388
1389 @itemize @minus
1390 @item
1391 marks (Content-Transfer-Encoding:)
1392 @item
1393 part number
1394 @item
1395 data type (Content-Type:)
1396 @item
1397 description (Content-Description:)
1398 @item
1399 file name (Content-Disposition:).
1400 @end itemize
1401
1402 Content-Description can be considered Subject: for each part. This
1403 format is very similar to that of the attachment region in Draft mode.
1404 @end ifset
1405
1406 @ifset ja
1407 @samp{SPC} や @samp{n} でパート 2 へ進めば、そのパートがデータ型に応じて
1408 表示されます。たとえば、Text/Plain なら Message モードで、PostScript な
1409 ら @w{"}ghostview" で表示されます。
1410 @end ifset
1411 @ifset en
1412 If you type @samp{SPC} or @samp{n}, the cursor moves onto part 2 and the
1413 content is displayed according to its data type. For instance,
1414 Text/Plain is showed in Message mode and PostScript is visualized with
1415 "ghostview".
1416 @end ifset
1417
1418 @ifset ja
1419 @samp{n} や @samp{p} は、パート部分まで含んだ行を移動することに注意して
1420 下さい。パート部分を飛ばして下のメッセージを表示するには @samp{C-un} と
1421 入力して下さい。また、パート部分を飛ばして 1 つ上のメッセージを表示する
1422 には @samp{C-up} と入力して下さい。
1423 @end ifset
1424 @ifset en
1425 Please note that @samp{n} and @samp{p} move lines including multipart.
1426 To display the message below skipping multipart, type @samp{C-un}.
1427 Likewise, to display the message above (not this message), input
1428 @samp{C-up}.
1429 @end ifset
1430
1431 @ifset ja
1432 Mew は、MIME を再帰的に処理します。以下は転送されたマルチパートのメッセー
1433 ジの例です。
1434 @end ifset
1435 @ifset en
1436 Mew processes MIME recursively. The following example is a forwarded
1437 multipart message.
1438 @end ifset
1439
1440 @example
1441 @ifset ja
1442 M03/15 かずくん Fw: 能登の写真 |写真が送られてきたので
1443 2 Message/Rfc822 能登の写真
1444 B 2.2 Image/Jpeg 写真1 noto1.jpg
1445 Q 2.3 Application/Postscript 能登の地図 map.ps
1446 @end ifset
1447 @ifset en
1448 M03/15 Kazu yamamoto Fw: The pictures of Noto |Attached are the pictu
1449 2 Message/Rfc822 The pictures of Noto
1450 B 2.2 Image/Jpeg picture 1 noto1.jpg
1451 Q 2.3 Application/Postscript Note map map.ps
1452 @end ifset
1453 @end example
1454
1455 @ifset ja
1456 (メモ) テキスト以外のデータを、シングルパートとしてメッセージに格納する
1457 のは、書式としては間違いではありませんが、お勧めできません。マルチパート
1458 を作成し、そのパート 1 に説明のテキストを、パート 2 にテキスト以外のデー
1459 タを入れる作法をお勧めします。
1460 @end ifset
1461 @ifset en
1462 Note: We strongly recommend that you not embed any object other than
1463 text as a top level single part to a message directly. Instead, it is
1464 better to make a multipart message whose part 1 is a textual description
1465 of part 2 and part 2 is a non-text object.
1466 @end ifset
1467
1468 @ifset ja
1469 テキスト以外のデータが本文に直接格納されているメッセージに対し、Mew はこ
1470 れをあたかもマルチパートのように表示します。
1471 @end ifset
1472 @ifset en
1473 A message which contains a single part other than text is displayed as
1474 multipart.
1475 @end ifset
1476
1477 @ifset ja
1478 このように MIME の構造は複雑になりうるので、解析するのには時間がかかる場
1479 合があります。しかし、Mew は次に読まれるメッセージを予想し、ユーザが現在
1480 のメッセージを読んでいる間に、次のメッセージをあらかじめ解析しておくこと
1481 で高速性を実現しています。解析されたメッセージは、しばらくの間保存されま
1482 す。
1483 @end ifset
1484 @ifset en
1485 Since the syntax of MIME messages can be complex, it sometime takes a
1486 bit of time to analyze the syntax. However, Mew guesses the message to
1487 be read next and analyzes it beforehand while the user is reading the
1488 current message. Analyzed messages are temporarily cached.
1489 @end ifset
1490
1491 @ifset ja
1492 メッセージの終りの部分がはっきりと分かるように、Mew はメッセージの最後に
1493 "[End of message]" という文字列を表示します。また、パートの終りでは、
1494 "[Message is continued]" という文字列を表示します。これらの文字列はそれ
1495 ぞれ、@samp{mew-end-of-message-string} と @samp{mew-end-of-part-string}
1496 で指定できます。
1497 @end ifset
1498 @ifset en
1499 To make it clear where the message ends, Mew displays the string "[End
1500 of message]" in the end of the message. At the end of each part, Mew
1501 displays the string "[Message is continued]". These strings are
1502 customized by @samp{mew-end-of-message-string} and
1503 @samp{mew-end-of-part-string}, respectively.
1504 @end ifset
1505
1506 @c %%%%%%%%%%%%%%%%%
1507 @node analysis, cipher-viewing, multipart, Viewing
1508 @ifset ja
1509 @section MIME の解析を制御する
1510 @end ifset
1511 @ifset en
1512 @section Controlling MIME analysis
1513 @end ifset
1514 @kindex . (Summary)
1515 @kindex C-u. (Summary)
1516 @kindex , (Summary)
1517 @kindex C-cTAB (Summary)
1518 @kindex : (Summary)
1519 @kindex C-u: (Summary)
1520
1521 @ifset ja
1522 メッセージの解析を制御するために、以下の変数が用意されています。
1523 @end ifset
1524 @ifset en
1525 There are several variables for controlling message analysis.
1526 @end ifset
1527
1528 @vtable @samp
1529 @ifset ja
1530 @item mew-file-max-size
1531 解析するメッセージの大きさの上限。メッセージの大きさがこの値以下なら、解
1532 析し表示する。越えているなら、解析せずに生のまま表示する。初期値は
1533 100000 バイト。
1534 @item mew-header-max-length
1535 解析するメッセージのヘッダ長の上限。ヘッダの行数がこの値以下なら、メッセー
1536 ジを解析して表示する。越えているなら、解析を途中で止めてメッセージを壊れ
1537 た形で表示する。初期値は 100 行。
1538 @item mew-decode-broken
1539 規格違反のメッセージを解析する際に、寛容になるか否か。@samp{t} なら寛容
1540 に、@samp{nil} なら厳密に解析する。寛容に解析する際に規格違反があった場
1541 合は、X-Mew: フィールドに表示する。初期値は @samp{t}。
1542 @item mew-use-text-body
1543 本文のテキストをヘッダと同時に表示するか否か。@samp{t} なら、本文がシン
1544 グルのテキスト、および、本文がマルチパートで最初のパートがテキストの場合、
1545 そのテキストをヘッダと同時に表示する。@samp{nil} の場合は、マルチパート内
1546 のパートのように表示する。初期値は @samp{t}。
1547 @item mew-use-alternative
1548 Multipart/Alternative の取り扱い。Multipart/Alternative であるメッセー
1549 ジには@samp{-} マークが付いている。@samp{t} なら、
1550 @samp{mew-mime-multipart-alternative-list} の優先順位に従って、1 つのパー
1551 トを表示する。@samp{nil} なら、通常のマルチパートとして表示する。初期値
1552 は @samp{t}。
1553 @item mew-use-text/html
1554 Text/Html の取扱い。@samp{nil} の場合は HTML を解析せずに表示。それ以外
1555 なら HTML を解析して表示。初期値は @samp{nil}。
1556 @item mew-use-text/xml
1557 Text/Xml の取扱い。@samp{nil} の場合は XML を解析せずに表示。それ以外
1558 なら XML を解析して表示。初期値は @samp{nil}。
1559 @end ifset
1560 @ifset en
1561 @item mew-file-max-size
1562 The size limit of messages to be analyzed. If the size of a message is
1563 less than or equal to this value, it is analyzed and displayed.
1564 Otherwise, the raw message is displayed without analysis. The default
1565 value is 10000 bytes.
1566 @item mew-header-max-length
1567 The length limit of header to be analyzed. If the length of a header is
1568 less than or equal to this value, it is analyzed and displayed.
1569 Otherwise, the message is displayed as fragmentarily since the analysis
1570 is stopped. The default value is 100 lines.
1571 @item mew-decode-broken
1572 Whether Mew be liberal or conservative to invalid messages. If the value
1573 is @samp{t}, the setting is liberal. If the value is @samp{nil}, the
1574 setting is for conservative. If conservative and invalid portions are
1575 found, they are reported in the X-Mew: field. The default value is
1576 @samp{t}.
1577 @item mew-use-text-body
1578 Whether or not the text part of a body is displayed with its header. If
1579 the value is @samp{t}, both the body which is a single part text and the
1580 first text part in a multipart body are displayed with its header. If
1581 the value is @samp{nil}, they are displayed as a single part in a
1582 multipart. The default value is @samp{t}.
1583 @item mew-use-alternative
1584 How to treat Multipart/Alternative. Messages containing
1585 Multipart/Alternative are marked with @samp{-}. If the value is
1586 @samp{t}, one part is displayed according to the preference defined in
1587 @samp{mew-mime-multipart-alternative-list}. If the value is
1588 @samp{nil}, it is displayed as a multipart. The default value is
1589 @samp{t}.
1590 @item mew-use-text/html
1591 How to treat Text/Html. If @samp{nil}, HTML is displayed as is
1592 (without parsing). Otherwise, HTML is parsed and displayed. The
1593 default value is @samp{nil}.
1594 @item mew-use-text/xml
1595 How to treat Text/Xml. If @samp{nil}, XML is displayed as is
1596 (without parsing). Otherwise, XML is parsed and displayed. The
1597 default value is @samp{t}.
1598 @end ifset
1599 @end vtable
1600
1601 @ifset ja
1602 これらの変数に関する基本的なコマンドは、@samp{.} です。このコマンドは、
1603 以下のように動きます。
1604 @end ifset
1605 @ifset en
1606 The basic command relating to the variables above is @samp{.}. The
1607 command acts as follows:
1608 @end ifset
1609
1610 @ifset ja
1611 1) このコマンドがメッセージ上で実行されると、そのメッセージのキャッシュ
1612 が削除され、メッセージが解析されて再表示されます。
1613 @end ifset
1614 @ifset en
1615 1) If this command executed on a message, the cache of the
1616 message is removed and the message is analyzed then displayed.
1617 @end ifset
1618
1619 @ifset ja
1620 1a) もし現在のメッセージの大きさが @samp{mew-file-max-size} を越えてい
1621 るなら、MIME は解析されず、そのまま表示されています。この場合、このコマ
1622 ンドはこの上限に関わらずに現在のメッセージを解析し、再表示します。
1623 @end ifset
1624 @ifset en
1625 1a) If the size of the current message exceeds
1626 @samp{mew-file-max-size}, MIME analysis is skipped then the beginning
1627 of the raw message is displayed. In this situation, this command
1628 analyzes the current message without the limitation then displays it.
1629 @end ifset
1630
1631 @ifset ja
1632 1b) もし現在のメッセージのヘッダ長が @samp{mew-header-max-length} を越
1633 えているなら、メッセージが壊れたように表示されています。この場合、この
1634 コマンドはこの上限に関わらずに現在のメッセージを解析し、再表示します。
1635 @end ifset
1636 @ifset en
1637 1b) If the length of a header exceeds @samp{mew-header-max-length}, a
1638 broken message is displayed. In this situation, this command
1639 analyzes the current message without the limitation then displays
1640 it.
1641 @end ifset
1642
1643 @ifset ja
1644 1c) もし現在のメッセージが @samp{:} で表示されているなら、マルチパート
1645 の構造は、通常とは違うように表示されています。この場合、このコマンドは
1646 マルチパートの構造を通常と同じように再表示します。
1647 @end ifset
1648 @ifset en
1649 1c) If the current message is displayed by @samp{:}, the multipart
1650 structure is displayed different from the normal display. In this
1651 situation, this command gets the multipart structure back to the
1652 normal display.
1653 @end ifset
1654
1655 @ifset ja
1656 1d) もし @samp{mew-use-text/html} が @samp{nil} なら、HTML は解析されず、その
1657 まま表示されています。この場合、このコマンドは HTML を解析し、再表示し
1658 ます。
1659 @end ifset
1660 @ifset en
1661 1d) If @samp{mew-use-text/html} is @samp{nil}, its HTML body is displayed as
1662 is. In this situation, this command analyzes the HTML body and
1663 displays it.
1664 @end ifset
1665
1666 @ifset ja
1667 2) もしこのコマンドがパート上で実行された場合、そのパートが再表示されま
1668 す。
1669 @end ifset
1670 @ifset en
1671 2) If this command is called on a part, the part is displayed again.
1672 @end ifset
1673
1674 @ifset ja
1675 2a) もし @samp{mew-use-text/html} が @samp{nil} なら、HTML は解析されず、その
1676 まま表示されています。この場合、このコマンドは HTML を解析し、再表示し
1677 ます。
1678 @end ifset
1679 @ifset en
1680 2a) If 'mew-use-text/html' is @samp{nil}, its HTML part is displayed as
1681 is. In this situation, this command analyzes the HTML part and
1682 displays it.
1683 @end ifset
1684
1685 @ifset ja
1686 @samp{.} 以外にも、以下のような便利なコマンドがあります。
1687 @end ifset
1688 @ifset en
1689 In addition to @samp{.}, the following commands are prepared:
1690 @end ifset
1691
1692 @table @samp
1693 @ifset ja
1694 @item .
1695 メッセージを解析し、再表示する。
1696 @item C-u.
1697 @samp{mew-decode-broken} を逆にしてメッセージを解析し直す。
1698 @xref{invalid} を参照のこと。
1699 @item :
1700 @samp{mew-use-alternative} と @samp{mew-use-text-body} を反転させた
1701 @samp{.}.
1702 @item C-u:
1703 @samp{mew-use-alternative} と @samp{mew-use-text-body} を反転させた
1704 @samp{C-u.}.
1705 @item ,
1706 現在のメッセージやパートを生の書式で Message モードに表示する。
1707 @item C-cTAB
1708 メッセージ全体をファイルとして read only で開く。
1709 @item C-uC-cTAB
1710 メッセージ全体をファイルとして開く。
1711 @end ifset
1712 @ifset en
1713 @item .
1714 Analyze the message and re-display it.
1715 @item C-u.
1716 Analyze the message with @samp{mew-decode-broken} reversed (see
1717 @ref{invalid}).
1718 @item :
1719 The same as @samp{.} with @samp{mew-use-alternative} and
1720 @samp{mew-use-text-body} reversed.
1721 @item C-u:
1722 The same as @samp{C-u.} with @samp{mew-use-alternative} and
1723 @samp{mew-use-text-body} reversed.
1724 @item ,
1725 Insert a message or a part into Message mode in raw format.
1726 @item C-cTAB
1727 Open an entire message as a file in read-only mode.
1728 @item C-uC-cTAB
1729 Open an entire message as a file.
1730 @end ifset
1731 @end table
1732
1733 @c %%%%%%%%%%%%%%%%%
1734 @node cipher-viewing, retrieving, analysis, Viewing
1735 @ifset ja
1736 @section 暗号メールや電子署名を表示する
1737 @end ifset
1738 @ifset en
1739 @section Visualizing cipher or signature
1740 @end ifset
1741 @vindex mew-x-pgp-key-list
1742 @vindex mew-prog-pgp
1743 @vindex mew-prog-pgp2
1744 @vindex mew-prog-pgp5
1745 @vindex mew-prog-gpg
1746 @kindex C-cC-f (Summary)
1747 @kindex C-uC-cC-f (Summary)
1748 @kindex C-cC-v (Summary)
1749 @kindex C-cC-z (Summary)
1750
1751 @ifset ja
1752 今までと同様 @samp{SPC} などを利用することで、Mew では暗号化や電子署名
1753 を施されたメッセージを簡単に表示できます。まず、簡単な例から紹介しましょ
1754 う。
1755 @end ifset
1756 @ifset en
1757 Basic commands such as @samp{SPC} visualize messages signed or
1758 encrypted as well. Let's start with a simple example:
1759 @end ifset
1760
1761 @example
1762 @ifset ja
1763 S03/18 神田パソコン館 見積書 |先日承りましたノートPC
1764 E03/21 匿名希望 秘密のメール |
1765 @end ifset
1766 @ifset en
1767 S03/18 Kanda PC shop A written estimate |Here is a written esti
1768 E03/21 Anonymous Secret message |
1769 @end ifset
1770 @end example
1771
1772 @ifset ja
1773 上記のメッセージには、それぞれ @samp{S} マークと @samp{E} マークが付いて
1774 います。これはそれぞれ、本文全体が署名されている、および、暗号化されてい
1775 ることを意味します。
1776 @end ifset
1777 @ifset en
1778 Messages above are marked with @samp{S} and @samp{E}, respectively. This
1779 means that the body of the first message is signed and that of the
1780 second message is encrypted.
1781 @end ifset
1782
1783 @ifset ja
1784 PGP/MIME や S/MIME では、一部のパートに電子署名を施したり、暗号化したり
1785 できます。この場合このようなマークは付きません。@samp{S} マークや
1786 @samp{E} マークが付くのは、本文全体が対象になっている場合です。
1787 @end ifset
1788 @ifset en
1789 PGP/MIME and/or S/MIME also allow to sign and/or encrypt some parts of
1790 a message. In this case, these marks do not appear. The @samp{S} or
1791 @samp{E} mark appears only when the entire body of the message is
1792 signed or encrypted.
1793 @end ifset
1794
1795 @ifset ja
1796 また、単に署名や暗号化といいましたが、これは最終的な処理が署名や暗号化で
1797 あったことを意味しています。やや複雑な話になりますが、もしかすると前者は
1798 本文全体を暗号化した後、署名したのかもしれませんし、後者は一部のパートに
1799 署名し、さらに全体を暗号化している可能性もあります。
1800 @end ifset
1801 @ifset en
1802 The terms "sign" and "encrypt" used above mean the last procedure
1803 applied the body is "sign" and "encryption", respectively. The above
1804 examples may have been produced with more complex processes. For
1805 instance, in the case of the former message, the body may have been
1806 signed after encrypting the body. It is likely that some part of the
1807 latter message was first signed then the body was encrypted.
1808 @end ifset
1809
1810 @ifset ja
1811 本文全体、あるいは、一部のパートが暗号化されている場合、Mew はパスフレー
1812 ズを訊いてきます。パスフレーズを入力する際の注意事項については、
1813 @xref{start} を参照して下さい。入力されたパスフレーズは、あなたの秘密鍵
1814 を復号化するのに使われます。そして、復号化された秘密鍵によって、暗号化さ
1815 れているメッセージを解くわけです。
1816 @end ifset
1817 @ifset en
1818 If some parts or the entire body is encrypted, Mew asks you to input
1819 your pass-phrase to get plain text. Please refer to @ref{start} to know
1820 what you should pay attention when inputting pass-phrase. The pass-phrase
1821 is used to decrypt your secret key. The secret key is then used to
1822 decrypt cipher text.
1823 @end ifset
1824
1825 @ifset ja
1826 暗号メッセージを表示するには、暗号化された数だけパスフレーズを入力する
1827 必要があります。これは Mew が安全を期して、通常パスフレーズを保存しない
1828 からです。もしこれがわずらわしいなら、Mew にパスフレーズを保存させるこ
1829 とも可能です。詳しくは、@xref{password} を参照して下さい。
1830 @end ifset
1831 @ifset en
1832 To visualize a cipher message, you need to input your pass-phrase
1833 every time you encounter cipher text. This is because Mew does not
1834 cache pass-phrases anywhere for security reasons. If you feel this is
1835 inconvenient, you can configure Mew to cache your pass-phrase. Please
1836 refer to @ref{password} for more information.
1837 @end ifset
1838
1839 @ifset ja
1840 パスフレーズを保存しない通常の設定でも、一旦復号化されたメッセージはしば
1841 らく保存されるので、2 回目の表示にはパスフレーズを訊かれないかもしれませ
1842 ん。
1843 @end ifset
1844 @ifset en
1845 Since decrypted messages are cached for a while, you may not be asked
1846 for your pass-phrase at the next time you display the message, even if
1847 you are not using the pass-phrase cache.
1848 @end ifset
1849
1850 @ifset ja
1851 一方、通信相手の署名を検証するためには相手の公開鍵が利用できればよいので、
1852 パスフレーズを訊かれることはありません。
1853 @end ifset
1854 @ifset en
1855 To verify signatures, senders' public keys are used. Hence you are not
1856 asked to type your pass-phrase.
1857 @end ifset
1858
1859 @ifset ja
1860 Mew は自動的に電子署名を検証したり、入力されたパスフレーズを使って暗号メッ
1861 セージを復号化したりして、元のメッセージを表示します。そこで、ユーザが署
1862 名の存在に気づかないかもしれませんし、どの部分が暗号化されていたのか分か
1863 らないかもしれません。
1864 @end ifset
1865 @ifset en
1866 Since Mew automatically verifies signatures and/or decrypts cipher
1867 text with a pass-phrase, it is likely that users do not notice that
1868 the original message has signatures and/or which parts were encrypted.
1869 @end ifset
1870
1871 @ifset ja
1872 そこで、検証の結果やどの部分が暗号化されているかをユーザに通知するために、
1873 Mew は以下のようにヘッダに X-Mew: フィールドを挿入します。
1874 @end ifset
1875 @ifset en
1876 To inform users the results of verification of signatures or which parts
1877 were decrypted, Mew inserts the X-Mew: field in the header as follows:
1878 @end ifset
1879
1880 @example
1881 X-Mew: <body> PGP decrypted.
1882 Good PGP sign "kazu@@example.org" COMPLETE
1883 @end example
1884
1885 @ifset ja
1886 "<>" 内の番号は、どのパートの結果であるかを示しています。"body" は、メッ
1887 セージの本文全体が保護されていることを意味します。この例では、メッセージ
1888 全体が kazu によって署名され、受信者のために暗号化されています。Mew はま
1889 ずこれを復号化し、そして署名を検証しています。署名は正しいので、
1890 kazu@@example.org という ID の付いた秘密鍵で署名されたときから、内容は変更さ
1891 れていないと分かります。この署名の検証に使われた公開鍵の「有効性」は
1892 "complete" です。よって、受信者はこの公開鍵が ID が示すユーザに属してい
1893 ると信頼していることになります。つまり、このメッセージは信頼をおいている
1894 公開鍵によって検証され結果が正しいので、改竄されていないということになり
1895 ます。
1896 @end ifset
1897 @ifset en
1898 The number enclosed by "<>" indicates which part was protected with
1899 PGP. "body" means the body was protected. This example tells us that the
1900 body was singed by kazu then encrypted for the reader. Mew first
1901 decrypted the message and then verified its signature of the decrypted
1902 message. The fact that the signature is valid indicates that no one has
1903 modified the content of the message since it was signed by the secret
1904 key whose ID is kazu@@example.org. The validity of the public key used to
1905 verify the signature is "complete". Thus, the receiver can be sure that
1906 the public key actually belongs to the user indicated by the ID. That
1907 is, this message was verified by a reliable public key AND its results
1908 were correct, so no alternation was found.
1909 @end ifset
1910
1911 @ifset ja
1912 以下の例では、まずマルチパートである本文全体の電子署名が検証され、その後
1913 パート 2 のメッセージ全体が復号化されています。つまり、作成時には、まず
1914 パート 2 が暗号化され、そして本文全体が署名されたことが分かります。
1915 @end ifset
1916 @ifset en
1917 In the following example, the signature of the body (multipart), is first
1918 verified, then part 2 (a message), is decrypted. That is, the composing
1919 process was that part 2 is first encrypted then the entire body is
1920 signed.
1921 @end ifset
1922
1923 @example
1924 X-Mew: <body multi> Good PGP sign "kazu@@example.org" COMPLETE
1925 X-Mew: <2 message> PGP decrypted.
1926 @end example
1927
1928 @ifset ja
1929 するどい人なら、悪い人があらかじめ X-Mew: フィールドを挿入しておき、あなた
1930 をだますかもしれないと思うかもしれません。でも大丈夫です。Mew は、ヘッダに
1931 ある X-Mew: をあらかじめ削り、本物の X-Mew: フィールドを挿入しますから。
1932 @end ifset
1933 @ifset en
1934 Intelligent users may wonder what happens in the case where a devious
1935 person sends a message that contains an invalid X-Mew: field. This is
1936 not a problem. First Mew carefully removes the X-Mew: field, and then
1937 inserts a valid X-Mew: field into the header.
1938 @end ifset
1939
1940 @ifset ja
1941 PGP/MIME について:
1942 @end ifset
1943 @ifset en
1944 About PGP/MIME:
1945 @end ifset
1946
1947 @ifset ja
1948 X-Mew: フィールドは他にもさまざまな結果を伝えてくれます。たとえば、署名
1949 を検証するための公開鍵がないとか、復号化に失敗したなどです。以下の例は、
1950 鍵 ID が 0x1B8BF431 である公開鍵がないことを示しています。
1951 @end ifset
1952 @ifset en
1953 X-Mew: informs the user of various other types of results. For example,
1954 the lack of availability of a public key, decryption failures, etc. The
1955 following example indicates the absence of a public key whose key ID is
1956 0x1B8BF431.
1957 @end ifset
1958
1959 @example
1960 X-Mew: <body multi> No his/her public key. ID = 0x1B8BF431
1961 @end example
1962
1963 @ifset ja
1964 この場合、@samp{C-cC-f} と入力すると、Mew はこの公開鍵の入手を試みます。
1965 その際、公開鍵サーバを選択できます。もし、X-Mew: フィールドがない場合は、
1966 @samp{C-cC-f} は From: を ID と考えます。また、@samp{C-uC-cC-f} は、
1967 X-Mew: フィールドに加えて @samp{mew-x-pgp-key-list} に指定されたフィー
1968 ルドも鍵 ID を切り出す対象とし、公開鍵の入手を試みます。
1969 @end ifset
1970 @ifset en
1971 In this case, if you type @samp{C-cC-f}, Mew tries fetching this
1972 public key. You can interactively select a public key server. If the
1973 X-Mew: field does not exist, @samp{C-c C-f} takes the From: field as
1974 ID. Also, @samp{C-uC-cC-f} extracts key IDs from fields specified in
1975 @samp{mew-x-pgp-key-list} in addition to the X-Mew: field, and then
1976 tries to fetch them.
1977 @end ifset
1978
1979 @ifset ja
1980 Mew では PGPv2、PGPv5、GNUPG に対応しています。これらは Summary モードに
1981 おいて、@samp{C-cC-v} で切替え可能です。これら複数の PGP を使いたい人は
1982 @samp{mew-prog-pgp2}、@samp{mew-prog-pgp5}、@samp{mew-prog-gpg} に対し、
1983 それぞれ PGPv2、PGPv5、GNUPG のコマンド名を設定して下さい。また、Mew の
1984 起動直後に利用する PGP のコマンド名を @samp{mew-prog-pgp} に設定して下さ
1985 い。なおパスフレーズは、それぞれの PGP に対し独立に保存されます。
1986 @end ifset
1987 @ifset en
1988 Mew supports PGPv2, PGPv5, and GNUPG. You can select one of these by
1989 typing @samp{C-cC-v} in Summary mode. If you want to use those PGPs, you
1990 should set the command name of PGPv2, PGPv5, and GNUPG to
1991 @samp{mew-prog-pgp2}, @samp{mew-prog-pgp5}, and @samp{mew-prog-gpg},
1992 respectively. Also, set the default PGP name to
1993 @samp{mew-prog-pgp}. Note that pass-phrases are cached independently for
1994 each PGP.
1995 @end ifset
1996
1997 @ifset ja
1998 なお昔ながらの PGP メッセージは、自動的に処理できません。このような PGP
1999 メッセージに対しては、@samp{C-cC-z} で復号化や署名の検証ができます。
2000 @end ifset
2001 @ifset en
2002 Old fashioned PGP messages cannot be processed automatically. You can
2003 decrypt and/or verify this kind messages with @samp{C-cC-z}.
2004 @end ifset
2005
2006 @c %%%%%%%%%%%%%%%%%
2007 @node retrieving, moving, cipher-viewing, Viewing
2008 @ifset ja
2009 @section メッセージの取得
2010 @end ifset
2011 @ifset en
2012 @section Getting messages
2013 @end ifset
2014 @vindex mew-mailbox-type
2015 @vindex mew-auto-flush-queue
2016 @vindex mew-pop-delete
2017 @vindex mew-imap-delete
2018 @vindex mew-pop-header-only
2019 @vindex mew-imap-header-only
2020 @vindex mew-nntp-header-only
2021 @kindex i (Summary)
2022 @kindex I (Summary)
2023 @kindex s (Summary)
2024 @kindex C-us (Summary)
2025
2026 @ifset ja
2027 メールボックスへ到着したメッセージを +inbox へコピーし一覧表示するには、
2028 @samp{i} を使います。コピー元のメールボックスは @samp{mew-mailbox-type}
2029 によって決ります。(@samp{M-x mew} を実行した際に、@samp{mew-proto} が
2030 @samp{+} の場合も、@samp{mew-mailbox-type} に従ってメッセージがコピーさ
2031 れます。) 以下に取りうる値を示します。
2032 @end ifset
2033 @ifset en
2034 To copy arrived messages to your mailbox to +inbox and list up a list of
2035 the messages, use @samp{i}. The mailbox is determined according to
2036 @samp{mew-mailbox-type}. (When you type @samp{M-x mew} and if
2037 @samp{mew-proto} is @samp{+}, messages are also copied according to
2038 @samp{mew-mailbox-type}.) Here are summary of its values.
2039 @end ifset
2040
2041 @table @samp
2042 @ifset ja
2043 @item 'mbox
2044 ローカルのメールボックス。デフォルトでは "incm" という外部コマンドを使い、
2045 メッセージを取得する。設定方法は、@xref{configuration} を参照のこと。
2046 @item 'pop
2047 POP サーバ。POP を POP らしく使う方法。(初期値)
2048 @item 'imap
2049 IMAP サーバ。IMAP らしくない利用方法なので、推奨されていない。
2050 @end ifset
2051 @ifset en
2052 @item 'mbox
2053 A local mailbox. "incm" is used to copy messages for the local mailbox
2054 by default. To know how to configure it, see @ref{configuration}.
2055 @item 'pop
2056 A POP server. To use POP as it is. (This is a default value.)
2057 @item 'imap
2058 An IMAP server. This is not recommended.
2059 @end ifset
2060 @end table
2061
2062 @ifset ja
2063 ローカル・フォルダでメッセージの一覧を再表示するには、@samp{s} を使いま
2064 す。
2065 @end ifset
2066 @ifset en
2067 To flush a list of messages in a local folder and display them again,
2068 use @samp{s}.
2069 @end ifset
2070
2071 @ifset ja
2072 リモート・フォルダでメッセージを取得、あるいは再取得する場合にも
2073 @samp{s} を使います。IMAP やニュースでは、@samp{i} は利用せず、@samp{s}
2074 を使うのが一般的です。
2075 @end ifset
2076 @ifset en
2077 To retrieve messages or flush-then-retrieve messages again in a remote
2078 folder, type @samp{s}. It is recommended to use @samp{s}, not @samp{i},
2079 for IMAP and NetNews.
2080 @end ifset
2081
2082 @ifset ja
2083 @samp{s} を使うと範囲を訊いてきます。Mew で重要な範囲の意味を以下に示し
2084 ます。
2085 @end ifset
2086 @ifset en
2087 If you use @samp{s}, it asks you a range. Here are a summary of
2088 important ranges for Mew.
2089 @end ifset
2090
2091 @table @samp
2092 @ifset ja
2093 @item update
2094 「Summary モードの最後のメッセージの次」から「フォルダ内の最後のメッセー
2095 ジ」まで。つまり、Summary モードと実際のフォルダ内のメッセージの差分。
2096 @item all
2097 フォルダ内のメッセージすべて。ローカル・フォルダでは、Summary モードの表
2098 示がおかしくなったときに、内容を一新するために用いる。リモート・フォルダ
2099 では、すべてのメッセージの再取得。
2100 @item sync
2101 あるリモート・フォルダに対し、サーバ側では消えたメッセージのキャッシュを
2102 削除する。リモート・フォルダに対してのみ有効。
2103 @end ifset
2104 @ifset en
2105 @item update
2106 From "the last message in the Summary mode + 1" to "the last message in
2107 the corresponding folder". That is, the gap between the Summary mode and
2108 the existing folder
2109 @item all
2110 All messages in the folder. When Summary mode in a local folder becomes
2111 inconsistent, use this range to flush the list. For a remote folder,
2112 this range results in retrieval of all messages again.
2113 @item sync
2114 Deleting cache messages whose originals were removed in the server side.
2115 Valid for remote folders only.
2116 @end ifset
2117 @end table
2118
2119 @ifset ja
2120 +draft、+queue、+postq では、デフォルトの範囲は @samp{all} となっていま
2121 す。それ以外のフォルダでは、デフォルトの範囲が @samp{update} となってい
2122 ます。ですから、+draft、+queue、+postq 以外では、@samp{s} の後に
2123 @samp{RET} を押すだけで、現在のフォルダに対し最新の一覧を得られることに
2124 なります。
2125 @end ifset
2126 @ifset en
2127 The default range both for +draft, +queue, and +postq is @samp{all}. For
2128 other folders, the default is @samp{update}. So, just type @samp{RET}
2129 after @samp{s} to get the up-to-date list of the current folder except
2130 +draft, +queue, and +postq.
2131 @end ifset
2132
2133 @ifset ja
2134 Mew ではあまり重要ではありませんが、以下の範囲も指定できます。
2135 @end ifset
2136 @ifset en
2137 Although they are not especially important in Mew, you can specify the
2138 following ranges:
2139 @end ifset
2140
2141 @table @samp
2142 @ifset ja
2143 @item <num1>-<num2>
2144 <num1> から <num2> まで。ローカル・フォルダに対してのみ有効。
2145 @item <num1>-
2146 <num1> から最後まで。ローカル・フォルダに対してのみ有効。
2147 @item -<num2>
2148 最初から <num2> まで。ローカル・フォルダに対してのみ有効。
2149 @item last:<num>
2150 最後の <num> 個。
2151 @end ifset
2152 @ifset en
2153 @item <num1>-<num2>
2154 From <num1> to <num2>. Valid for local folders only.
2155 @item <num1>-
2156 From <num1> to the last. Valid for local folders only.
2157 @item -<num2>
2158 From the first to <num2>. Valid for local folders only.
2159 @item last:<num>
2160 Last <num> messages.
2161 @end ifset
2162 @end table
2163
2164 @ifset ja
2165 リモート・フォルダで @samp{s} を @samp{C-u} 付きで呼び出すと、「ヘッダの
2166 みのコピー」と「ヘッダと本文の両方のコピー」を反転できます。これらの動作
2167 は、POP、IMAP、NNTP に対し、それぞれ @samp{mew-pop-header-only}、
2168 @samp{mew-imap-header-only}、@samp{mew-nntp-header-only} で定義でき、初
2169 期値はすべて @samp{nil} です。つまり、初期値は「ヘッダと本文の両方のコ
2170 ピー」になっています。
2171 @end ifset
2172 @ifset en
2173 If you execute @samp{s} with @samp{C-u} on a remote folder, you can
2174 toggle "copying a header only" and "copying both a header and a body".
2175 This action can be defined by @samp{mew-pop-header-only},
2176 @samp{mew-imap-header-only}, and @samp{mew-nntp-header-only} for POP,
2177 IMAP, and NNTP, respectively. The default values of these are
2178 @samp{nil}, that is, "copying both a header and a body".
2179 @end ifset
2180
2181 @ifset ja
2182 サイズが大きなメッセージは、全体ではなく一部が取得されているかもしれませ
2183 ん。このようなメッセージには、@samp{T} マークがついています。このメッセー
2184 ジの全体を取得するには、そのメッセージ上で @samp{I} と入力します。
2185 @end ifset
2186 @ifset en
2187 Messages that are of large size may be truncated. This kind of message
2188 is marked with @samp{T}. To retrieve the rest of this kind of message,
2189 type @samp{I} on the message.
2190 @end ifset
2191
2192 @ifset ja
2193 たとえば、$inbox に @samp{T} マークのついたメッセージがあるとしましょう。
2194 このメッセージの上で @samp{I} を押すと、メッセージの全体が取得できます。
2195 @end ifset
2196 @ifset en
2197 Suppose that there is a message marked with @samp{T} in $inbox. If you
2198 type @samp{I} on it, you can retrieve the entire message.
2199 @end ifset
2200
2201 @ifset ja
2202 メッセージの取得に関するコマンドを以下にまとめます。
2203 @end ifset
2204 @ifset en
2205 Here is a summary of the commands concerned with message retrieval:
2206 @end ifset
2207
2208 @table @samp
2209 @ifset ja
2210 @item i
2211 ローカル・フォルダでは、+inbox フォルダに移動し、到着したメッセージを取
2212 得して一覧を表示する。@samp{mew-auto-flush-queue} が @samp{t} なら、
2213 +queue にあるメッセージを送信する。詳しくは、@xref{send} を参照のこと。
2214 リモート・フォルダでは、そのデフォルトのフォルダに移動し、@samp{s} +
2215 @samp{update} を実行する。
2216 @item C-ui
2217 @samp{mew-auto-flush-queue} の値を逆だと思って、@samp{i} を実行する。
2218 @item I
2219 @samp{T} マークの付いている一部だけが取得されたメッセージの全体を取得す
2220 る。
2221
2222 ローカル・フォルダで実行した場合、ケースと @samp{mew-mailbox-type} によ
2223 り取得方法が決る。@samp{mew-pop-delete} または @samp{mew-imap-delete}
2224 の値が @samp{t} なら、メールボックスのメッセージを削除する。
2225
2226 リモート・フォルダで実行した場合、ケースと取得方法はそのフォルダから決る。
2227 サーバ側のメッセージは常に保存される。
2228 @item C-uI
2229 @samp{mew-pop-delete} または @samp{mew-imap-delete} を逆転させて @samp{I}
2230 を実行する。
2231 @item s
2232 フォルダの一覧を取る。
2233 @item C-us
2234 リモート・フォルダにおいて、「ヘッダのみのコピー」と「ヘッダと本文の両方
2235 のコピー」を反転させて、一覧を取る。
2236 @item lc
2237 リモート・フォルダのメッセージをローカル・フォルダへコピーする。
2238 @end ifset
2239 @ifset en
2240 @item i
2241 In a local folder, fetch arrived messages, store them to the +inbox
2242 folder and create a list. If @samp{mew-auto-flush-queue} is @samp{t},
2243 send messages in +queue. Please refer to @ref{send} for more
2244 information. In a remote folder, visit to its inbox folder and execute
2245 @samp{s} + @samp{update}.
2246 @item C-ui
2247 Perform @samp{i} with @samp{mew-auto-flush-queue} reversed.
2248 @item I
2249 Retrieve the rest of a truncated(@samp{T}) message.
2250
2251 If you use this command in a local folder, a method to retrieve the
2252 message is determined by the "case" and @samp{mew-mailbox-type}. If
2253 @samp{mew-pop-delete}/@samp{mew-imap-delete} is @samp{t}, delete the
2254 message from the mailbox.
2255
2256 If you use this command in a remote folder, a "case" and protocol is
2257 determined by the folder. The message in the server side is always
2258 retained.
2259 @item C-uI
2260 Perform @samp{I} with @samp{mew-pop-delete} or @samp{mew-imap-delete}
2261 reversed.
2262 @item s
2263 List up messages in Summary mode or flush them.
2264 @item C-us
2265 On a remote folder, list up messages in Summary mode by toggling
2266 "copying a header only" and "copying both a header and a body".
2267 @item lc
2268 Copy a cached message in a remote folder to a local folder.
2269 @end ifset
2270 @end table
2271
2272 @c %%%%%%%%%%%%%%%%%
2273 @node moving, sum-write, retrieving, Viewing
2274 @ifset ja
2275 @section フォルダの移動
2276 @end ifset
2277 @ifset en
2278 @section Moving to another folder
2279 @end ifset
2280 @kindex g (Summary)
2281
2282 @ifset ja
2283 フォルダの移動には @samp{g} を入力して下さい。以下のようにフォルダ名を訊
2284 かれます。
2285 @end ifset
2286 @ifset en
2287 To go to another folder, type @samp{g}. Mew asks you to input a folder
2288 name as follows:
2289 @end ifset
2290
2291 @example
2292 Folder name (+inbox): +
2293 @end example
2294
2295 @ifset ja
2296 ":" の右側を編集可能領域と呼ぶことにしましょう。この例では、編集可能領域
2297 に修飾子 "+" が表示されています。修飾子に続けて任意の文字列を入力し、
2298 @samp{RET} を押せば、フォルダ名が決定されたことになり、そのフォルダへ移
2299 動します。
2300 @end ifset
2301 @ifset en
2302 Let's call the right side of ":" 'writable area'. In this example, proto
2303 "+" is displayed in the writable area. Typing an appropriate string
2304 following proto and typing @samp{RET} decides a folder name, then Mew
2305 moves to the folder.
2306 @end ifset
2307
2308 @ifset ja
2309 フォルダを移動した際に Summary モードの一覧が古いと判断した場合は、自動
2310 的に差分が追加表示されます。
2311 @end ifset
2312 @ifset en
2313 When you move to a folder and if Mew finds its list of messages old, Mew
2314 automatically displays the differences.
2315 @end ifset
2316
2317 @ifset ja
2318 "()" 内がデフォルトのフォルダです。単に @samp{RET} を押し "+" を入力する
2319 と、デフォルトのフォルダを入力したものとして扱われます。
2320 @end ifset
2321 @ifset en
2322 The string in "()" is a default. If you specifies "+" by simply typing
2323 @samp{RET}, Mew considers that the default folder name is specified.
2324 @end ifset
2325
2326 @ifset ja
2327 補完を利用するには、@samp{TAB} や @samp{SPC} を押して下さい。
2328 @end ifset
2329 @ifset en
2330 To make use of completion, type @samp{TAB} or @samp{SPC}.
2331 @end ifset
2332
2333 @ifset ja
2334 さて、話を @samp{g} を押した直後に戻しましょう。
2335 @end ifset
2336 @ifset en
2337 Now, lets get back to the state just after typing @samp{g}.
2338 @end ifset
2339
2340 @example
2341 Folder name (+inbox): +
2342 @end example
2343
2344 @ifset ja
2345 たとえば、"+" を "%" に変更するには、通常なら "+" を削り、"%" を入力する
2346 必要があります。これでは面倒なので、"+" の後で "%" を入力すると、"+" が
2347 "%" に置き換わるようになっています。このように、修飾子の直後で他の修飾子
2348 を入力すれば、削る作業をせずに置き換え可能です。
2349 @end ifset
2350 @ifset en
2351 If you want to change, for example, "+" to "%", you have to delete "+"
2352 first then type "%" in normal situation. But this is inconvenient. So,
2353 typing "%" just after "+" removes "+" automatically. Like this, typing
2354 another proto just after a proto replaces the previous one without
2355 deletion.
2356 @end ifset
2357
2358 @ifset ja
2359 リモート・フォルダを入力する場合、@xref{config} で説明するケースを指定し
2360 たい場合もあるでしょう。ケースは、フォルダ名の前に ":" で区切って入力し
2361 ます。たとえば、"home" というケースの "%inbox" に移動したいとしましょう。
2362 このとき、"home:%inbox" と入力する必要があります。しかしこれは面倒なので、
2363 任意の場所で @samp{C-cTAB} を押すと利用可能なケースが、フォルダ名の前に
2364 循環的に補完されます。次の例を考えて下さい。
2365 @end ifset
2366 @ifset en
2367 When you type a remote folder, you may want to specify the "case"
2368 (described in @ref{config}). The "case" must be specified before a
2369 folder, separated by ":". Consider moving "%inbox" for a "case"
2370 @w{"}home". In this case, you should type "home:%inbox". Yes, this is
2371 inconvenient. So, typing @samp{C-cTAB} in any position does circular
2372 completion for available "cases". Let's look at the following example.
2373 @end ifset
2374
2375 @example
2376 Folder name (+inbox): %inbox
2377 @end example
2378
2379 @ifset ja
2380 ここで @samp{C-cTAB} を入力すると、以下のようになります。
2381 @end ifset
2382 @ifset en
2383 Typing @samp{C-cTAB} here results in the following:
2384 @end ifset
2385
2386 @example
2387 Folder name (+inbox): home:%inbox
2388 @end example
2389
2390 @ifset ja
2391 フォルダ名の一部を指定して、フォルダを検索したいこともあるでしょう。この
2392 場合には、前方検索の @samp{C-s} か後方検索の @samp{C-r} が利用できます。
2393 以下は、@samp{C-s} を押したときのミニバッファの状態です。
2394 @end ifset
2395 @ifset en
2396 You may want to search a folder by specifying a substring of the folder.
2397 For this purpose, @samp{C-s} and @samp{C-r} are available. The following
2398 is the state of the minibuffer after typing @samp{C-s}.
2399 @end ifset
2400
2401 @example
2402 Folder name (+inbox): ()
2403 @end example
2404
2405 @ifset ja
2406 編集領域に現れた "()" が、検索モードに移行したことを表わしています。ここ
2407 で文字を入力していくと、マッチした候補が "()" の中に表示されます。以下は
2408 "mew" で検索したときの例です。
2409 @end ifset
2410 @ifset en
2411 "()" appeared in the writable area indicates you have switched to search
2412 mode. While you are typing here, a matched candidate is shown in "()".
2413 The following is the case where a search key is "mew".
2414 @end ifset
2415
2416 @example
2417 Folder name (+inbox): (+work/mew-release) mew
2418 @end example
2419
2420 @ifset ja
2421 候補を確定する際には、@samp{RET} を入力して下さい。そうすると検索モード
2422 を抜けて、編集領域にこの候補が表示されます。
2423 @end ifset
2424 @ifset en
2425 To select the matched candidate, type @samp{RET}. Then the search mode
2426 is finished and the matched candidate is displayed in the writable area.
2427 @end ifset
2428
2429 @example
2430 Folder name (+inbox): +work/mew-release
2431 @end example
2432
2433 @ifset ja
2434 さらに @samp{RET} を押せば、このフォルダが入力されたことになります。
2435 @end ifset
2436 @ifset en
2437 Typing @samp{RET} again means that you decide the folder.
2438 @end ifset
2439
2440 @ifset ja
2441 検索対象となるフォルダの一覧は、ケースと修飾子の組で決定されます。
2442 @samp{C-s} や @samp{C-r} で検索モードに移るときに編集領域にある文字列か
2443 ら、ケースと修飾子が切り出され、フォルダの一覧が決定される訳です。
2444 @end ifset
2445 @ifset en
2446 A list of folders to be searched is decided by a combination of "case"
2447 and proto. When you enter the search mode by typing @samp{C-s} or
2448 @samp{C-r}, a pair of "case" and proto is extracted from the writable
2449 area, and a list of folders is selected according to the pair.
2450 @end ifset
2451
2452 @c %%%%%%%%%%%%%%%%%
2453 @node sum-write, features, moving, Viewing
2454 @ifset ja
2455 @section 送信、返答、転送
2456 @end ifset
2457 @ifset en
2458 @section Write, answer, and forward
2459 @end ifset
2460 @kindex w (Summary)
2461 @kindex C-uw (Summary)
2462 @kindex W (Summary)
2463 @kindex a (Summary)
2464 @kindex A (Summary)
2465 @kindex f (Summary)
2466 @kindex F (Summary)
2467 @kindex E (Summary)
2468
2469 @ifset ja
2470 メッセージの送信、返答、転送には、以下のコマンドを使います。
2471 @end ifset
2472 @ifset en
2473 Please use the following commands for writing, replying, and forwarding
2474 messages.
2475 @end ifset
2476
2477 @table @samp
2478 @ifset ja
2479 @item w
2480 メッセージを書く。新しい草稿が Draft モードに用意される。
2481 @xref{Composing} を参照のこと。
2482 @item C-uw
2483 メッセージを書く。新しい草稿が Draft モードに用意される。現在のメッセー
2484 ジの From: にあるアドレスが、草稿の To: へコピーされる。
2485 @item W
2486 あるメッセージのヘッダの一部だけを編集しメッセージを送信するために
2487 Header モードに入る。@xref{resend} を参照のこと。
2488 @item a
2489 現在のメッセージに返答する。Draft モードに草稿が用意され、To: や Cc: が
2490 自動的に決定される。@xref{reply} を参照のこと。
2491 @item C-ua
2492 現在のメッセージに対し送信者宛に返答する。
2493 @item A
2494 現在のメッセージに返答する。Draft モードに草稿が用意され、To: や Cc: が
2495 自動的に決定された後、本文が引用される。@xref{reply} を参照のこと。
2496 @item C-uA
2497 現在のメッセージに対し、引用付きで送信者宛に返答する。
2498 @item f
2499 現在のメッセージを第 3 者に転送する。Draft モードに草稿が用意され、現在の
2500 メッセージが自動的に添付される。@xref{forward} を参照のこと。
2501 @item F
2502 @samp{*} マークの付いたメッセージを第 3 者に転送する。Draft モードに草稿
2503 が用意され、@samp{*} マークの付いたメッセージが自動的に添付される。詳し
2504 くは @xref{target mark} を参照のこと。@xref{forward} を参照のこと。
2505 @end ifset
2506 @ifset en
2507 @item w
2508 Write a message. A new draft is prepared in Draft mode. Please refer to
2509 @ref{Composing}.
2510 @item C-uw
2511 Write a message. A new draft is prepared in Draft mode. The From:
2512 address of the current message is copied to the To: field in the
2513 draft.
2514 @item W
2515 Send a message by modifying a part of the header of another message.
2516 Please refer to @ref{resend}.
2517 @item a
2518 Answer to this message. A new draft is prepared in Draft mode. Mew
2519 automatically inserts the content of the fields To: and Cc:. Please
2520 refer to @ref{reply}.
2521 @item C-ua
2522 Answer to this message only to the sender.
2523 @item A
2524 Answer to this message. A new draft is prepared in Draft mode. Mew
2525 automatically inserts the content of the fields To: and Cc: and cites
2526 the body. Please refer to @ref{reply}.
2527 @item C-uA
2528 Answer to this message only to the sender with citation.
2529 @item f
2530 Forward this message to a third person. A new draft is prepared in Draft
2531 mode and this message is automatically attached. Please refer to
2532 @ref{forward}.
2533 @item F
2534 Forward messages marked with @samp{*} to a third person. A new draft is
2535 prepared in Draft mode and this message is automatically attached. For
2536 more information, refer to @ref{target mark}. Please refer to
2537 @ref{forward}.
2538 @end ifset
2539 @end table
2540
2541 @ifset ja
2542 エラーメッセージが返ってきたら、以下のコマンドで修正し再挑戦しましょう。
2543 @end ifset
2544 @ifset en
2545 If an error message returns, please try again with the following
2546 commands.
2547 @end ifset
2548
2549 @table @samp
2550 @ifset ja
2551 @item E
2552 メッセージの再編集。または、MIME 形式でカプセル化されて戻ってきたメッセー
2553 ジの再編集。
2554
2555 @enumerate
2556 @item
2557 +draft では、メッセージが単に編集される。
2558 @item
2559 +queue と +postq では、メッセージが +draft に移動されて、編集される。
2560 @item
2561 それ以外では、メッセージが +draft にコピーされて、編集される。
2562 @end enumerate
2563
2564 +draft、+queue、+postq では、ケースが復活する。
2565
2566 他のフォルダでは、@samp{mew-case-guess-when-prepared} が @samp{t} なら、
2567 ヘッダのそれぞれのフィールドがケースに従って置き換えられる。詳しくは
2568 @xref{config} を参照のこと。
2569 @item C-uE
2570 @samp{E} と同じ。ただし、+draft、+queue、+postq 以外のフォルダで利用され
2571 た場合は、@samp{mew-case-guess-when-prepared} が @samp{t} でも、オリジナ
2572 ルのヘッダが保存される。
2573 @end ifset
2574 @ifset en
2575 @item E
2576 Edit this message again to retry sending. Or edit this RFC822 part
2577 typically included in a MIME-encapsulated error message.
2578
2579 @enumerate
2580 @item
2581 In +draft, the message is just edited.
2582 @item
2583 In +queue or +postq, the message is moved to +draft and is edited.
2584 @item
2585 Otherwise, the message is copied to +draft and is edited.
2586 @end enumerate
2587
2588 For +draft, +queue, and +postq, the "case" revives.
2589
2590 For the other folders, if @samp{mew-case-guess-when-prepared} is
2591 @samp{t}, each field of the original header is replaced according to a
2592 guessed "case". For more information, see @ref{config}.
2593 @item C-uE
2594 The same as @samp{E}. But, when used for other folders than +draft,
2595 +queue, and +postq, the original header is retained even if
2596 @samp{mew-case-guess-when-prepared} is @samp{t}.
2597 @end ifset
2598 @end table
2599
2600 @c %%%%%%%%%%%%%%%%%
2601 @node features, status-update, sum-write, Viewing
2602 @ifset ja
2603 @section 便利な機能
2604 @end ifset
2605 @ifset en
2606 @section Useful features
2607 @end ifset
2608 @vindex mew-print-function
2609 @vindex mew-use-header-veil
2610 @vindex mew-header-veil-count
2611 @kindex v (Summary)
2612 @kindex zv (Summary)
2613 @kindex _ (Summary)
2614 @kindex M-l (Summary)
2615 @kindex C-cC-s (Summary)
2616 @kindex C-cC-r (Summary)
2617 @kindex y (Summary)
2618 @kindex b (Summary)
2619 @kindex # (Summary)
2620 @kindex | (Summary)
2621 @kindex B (Summary)
2622 @kindex D (Summary)
2623 @kindex C-uD (Summary)
2624 @kindex C-cC-a (Summary)
2625 @kindex C-cC-v (Summary)
2626 @kindex C-cC-z (Summary)
2627 @kindex C (Summary)
2628 @kindex = (Summary)
2629 @kindex ; (Summary)
2630 @kindex Rd (Summary)
2631 @kindex Rr (Summary)
2632
2633 @ifset ja
2634 Mew では、Summary モードに以下のような便利なコマンドが用意されています。
2635 @end ifset
2636 @ifset en
2637 Mew provides you with the following useful commands in Summary mode:
2638 @end ifset
2639
2640 @table @samp
2641 @ifset ja
2642 @item v
2643 「Summary モードのみ」と「Summary & Message モード」の切り替え。
2644 「Summary モードのみ」を選んでいる場合は、@samp{d} は次のメッセージを表
2645 示しないので、連続してすばやく @samp{D} マークを付けられる。
2646 @item zv
2647 @samp{mew-use-header-veil} が @samp{nil} でないとき、To: と Cc: で
2648 @samp{mew-header-veil-count} を越える行は「ベール」で隠されている。この
2649 コマンドは、それらの行の見える/見えないを反転させる。
2650 @samp{mew-use-header-veil} と @samp{mew-header-veil-count} の初期値は、
2651 それぞれ @samp{t} と 4。
2652 @item _
2653 通常の行、折り返された行、長い行の順に行の表示を変える。
2654 @item M-l
2655 現在の行を Summary モードの中央に移動させる。
2656 @item C-cC-s
2657 Message モードで順方向段階的検索。
2658 @item C-cC-r
2659 Message モードで逆方向段階的検索。
2660 @item y
2661 メッセージ、あるいは、パートを入力したファイル名で保存する。
2662 @item b
2663 Message モードの内容そのものを入力したファイル名で保存する。
2664 @item C-uy
2665 保存するテキストの coding-system を指定して、メッセージ、あるいは、パー
2666 トを入力したファイル名で保存する。
2667 @item #
2668 @samp{mew-print-function} を利用して Message モードの内容を印刷する。
2669 @item C-u#
2670 プリンタ名を指定して Message モードの内容を印刷する。
2671 @item |
2672 Message モードの内容をパイプで指定されたコマンドに出力する。
2673 @item C-u|
2674 Message モードの本文(ヘッダを除く)をパイプで指定されたコマンドに出力する。
2675 @item \
2676 このメッセージを引数にして、入力された外部コマンドを起動する。
2677 @item B
2678 格納されているメッセージを取り出す。
2679 @item C-uB
2680 格納されているファイルを取り出す。
2681 @item C-cC-a
2682 現在のメッセージの情報をアドレス帳に登録する(@xref{addrbook})。
2683 @item C-cC-v
2684 PGP のバージョンを切替える(@xref{cipher-viewing})。
2685 @item C-cC-z
2686 昔ながらの自動処理できない PGP メッセージを PGP に復号化、検証させる(@xref{cipher-viewing})。
2687 @item C
2688 ケースを変更する。詳しくは、@xref{config} を参照のこと。
2689 @item =
2690 フォルダ名とメッセージ番号を表示する。キャッシュ・メッセージの場合は、
2691 加えて ID とサイズも表示する。メッセージへのフルパスが、ウインドウマネー
2692 ジャのカットバッファに入る。
2693 @item ;
2694 Received: フィールドを解析し、分りやすく Message モードに表示する。
2695 @item Rd
2696 フォルダを削除する。
2697 @item Rr
2698 フォルダの名前を変える。
2699 @end ifset
2700 @ifset en
2701 @item v
2702 Toggle "Summary mode only" and "Summary & Message mode". If you choose
2703 "Summary mode only", you can quickly put the @samp{D} mark since the
2704 next message is not displayed.
2705 @item _
2706 Toggle normal lines, wrapped lines and long lines.
2707 @item zv
2708 If @samp{mew-use-header-veil} is non-nil, field lines of To: and Cc:
2709 over @samp{mew-header-veil-count} are covered with invisible
2710 veils. This commands toggles visibility of these lines.
2711 @samp{mew-use-header-veil} and @samp{mew-header-veil-count} are
2712 default to @samp{t} and 4, respectively.
2713 @item M-l
2714 Make the current line the center of the Summary mode.
2715 @item C-cC-s
2716 Incremental search forward in Message mode.
2717 @item C-cC-r
2718 Incremental search backward in Message mode.
2719 @item y
2720 Save this message or this part into the file whose name is specified by
2721 you.
2722 @item b
2723 Save the buffer of Message mode as is into the file whose name is
2724 specified by you.
2725 @item C-uy
2726 Save this message or this part into the file whose name is specified by
2727 you, specifying coding-system for text.
2728 @item #
2729 Print the content of Message mode according to @samp{mew-print-function}.
2730 @item C-u#
2731 Print the content of Message mode with a specified printer name.
2732 @item |
2733 Send the content of Message buffer to a command via pipe.
2734 @item C-u|
2735 Send the body of Message buffer (excluding its header) to a command via
2736 pipe.
2737 @item \
2738 Executing an external command specifying this message as an argument.
2739 @item B
2740 De-capsulate embedded messages in MIME format.
2741 @item C-uB
2742 Decompose embedded files in this message.
2743 @item C-cC-a
2744 Register the information on the current message to Addrbook
2745 (@pxref{addrbook}).
2746 @item C-cC-v
2747 Select PGP version (@xref{cipher-viewing}).
2748 @item C-cC-z
2749 Let PGP decrypt and/or verify old fashioned PGP messages
2750 (@pxref{cipher-viewing}).
2751 @item C
2752 Change the value of the "case". For more information, please refer to
2753 @ref{config}.
2754 @item =
2755 Display the folder name of this message and the message number. If this
2756 is a cache message, both the unique id and the size are also shown.
2757 The full path to the message is set to the cut buffer of your
2758 window manager.
2759 @item ;
2760 Parse the Received: fields and display them in Message mode.
2761 @item Rd
2762 Delete this folder.
2763 @item Rr
2764 Rename this folder.
2765 @end ifset
2766 @end table
2767
2768 @c %%%%%%%%%%%%%%%%%
2769 @node status-update, invalid, features, Viewing
2770 @ifset ja
2771 @section 状態の更新
2772 @end ifset
2773 @ifset en
2774 @section Updating status
2775 @end ifset
2776 @vindex mew-use-8bit
2777 @vindex mew-debug
2778 @vindex mew-decode-broken
2779 @vindex mew-warning-field-level
2780 @vindex mew-use-old-pgp
2781 @vindex mew-use-header-veil
2782 @kindex Z (Summary)
2783 @kindex C-uZ (Summary)
2784 @kindex z8 (Summary)
2785 @kindex zc (Summary)
2786 @kindex zd (Summary)
2787 @kindex zo (Summary)
2788 @kindex zp (Summary)
2789 @kindex zv (Summary)
2790 @kindex zw (Summary)
2791
2792 @ifset ja
2793 いくつかの設定の変更には、その変更を反映するために、状態を更新しなければ
2794 ならない場合があります。変更が反映されなかったり、変更のためにエラーが生
2795 じるようになったりした場合は、以下のコマンドを利用して下さい。
2796 @end ifset
2797 @ifset en
2798 In some cases of configuration modifications, you have to update status
2799 to reflect them. When you think configuration modifications don't make
2800 any effects or some errors occur, use one of the following commands:
2801 @end ifset
2802
2803 @table @samp
2804 @ifset ja
2805 @item Z
2806 アドレス帳(@xref{addrbook})などの情報を更新する。
2807 @item C-uZ
2808 現在の世界に対するフォルダのリストの情報を更新する。
2809 @end ifset
2810 @ifset en
2811 @item Z
2812 Update information including Addrbook (@pxref{addrbook}).
2813 @item C-uZ
2814 Update information about folders of the current world.
2815 @end ifset
2816 @end table
2817
2818 @ifset ja
2819 状態を反転させるコマンドを以下にまとめます。
2820 @end ifset
2821 @ifset en
2822 Here is a summary of toggle commands.
2823 @end ifset
2824
2825 @table @samp
2826 @ifset ja
2827 @item z8
2828 8 ビット・モード(@samp{mew-use-8bit})を反転させる。
2829 @item zc
2830 解析したメッセージのキャッシュを消去する。
2831 @item zd
2832 @samp{mew-debug} を反転させる。
2833 @item zo
2834 PGP を省略方法で作成する場合、PGP/MIME なのか古い PGP の書式なのか
2835 (@samp{mew-use-old-pgp})を反転させる。
2836 @item zp
2837 解析、復号化のポリシ(@samp{mew-decode-broken})を反転させる。
2838 @item zv
2839 Message モードでベールを使うか否か(@samp{mew-use-header-veil})を反転さ
2840 せる。
2841 @item zw
2842 警告のレベル(@samp{mew-warning-field-level})が 2 なら 1 へ、1 なら 2 へ
2843 設定する。
2844 @end ifset
2845 @ifset en
2846 @item z8
2847 Toggle 8bit mode (i.e. @samp{mew-use-8bit}).
2848 @item zc
2849 Clean-up caches of analyzed messages.
2850 @item zd
2851 Toggle @samp{mew-debug}.
2852 @item zo
2853 Toggle PGP/MIME or old-fashioned PGP (@samp{mew-use-old-pgp}) when
2854 composing with shortcut methods.
2855 @item zp
2856 Toggle decode policy (i.e. @samp{mew-decode-broken}).
2857 @item zv
2858 Toggle whether or not veil is used in Message
2859 mode(@samp{mew-use-header-veil}).
2860 @item zw
2861 Toggle warning level. If @samp{mew-warning-field-level} is 2, set it to
2862 1. If @samp{mew-warning-field-level} is 1, set it to 2.
2863 @end ifset
2864 @end table
2865
2866 @c %%%%%%%%%%%%%%%%%
2867 @node invalid, Composing, status-update, Viewing
2868 @ifset ja
2869 @section 規格違反のメッセージ
2870 @end ifset
2871 @ifset en
2872 @section Invalid messages
2873 @end ifset
2874 @vindex mew-decode-quoted
2875 @kindex C-u. (Summary)
2876 @kindex C-cC-l (Summary)
2877 @kindex C-uC-cC-l (Summary)
2878
2879 @ifset ja
2880 以下のようなメッセージは、Content-Type: で charset が指定されていないの
2881 で、本来 US-ASCII と認識されてしまいます。
2882 @end ifset
2883 @ifset en
2884 The following message contains Japanese text in its body. The charset
2885 parameter is not specified in the Content-Type: field. So, the body
2886 should be treated as US-ASCII.
2887 @end ifset
2888
2889 @example
2890 @ifset ja
2891 To: piglet
2892 Subject: 規格違反のメッセージ
2893 From: pooh
2894 MIME-Version: 1.0
2895 Content-Type: Text/Plain
2896
2897 日本語の本文
2898 @end ifset
2899 @ifset en
2900 To: piglet
2901 Subject: an invalid message
2902 From: pooh
2903 MIME-Version: 1.0
2904 Content-Type: Text/Plain
2905
2906 Japanese comes here.
2907 @end ifset
2908 @end example
2909
2910 @ifset ja
2911 また以下のようなヘッダも規格違反です。
2912 @end ifset
2913 @ifset en
2914 The following header is invalid as well.
2915 @end ifset
2916
2917 @example
2918 From: "=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=" <kazu@@example.net>
2919 @end example
2920
2921 @ifset ja
2922 上の例では "=?" と "?=" で囲まれた部分はもともと日本語でした。メッセージ
2923 の規格ではヘッダには ASCII のみが格納できると定められています。よって、
2924 ASCII 以外の文字コードをヘッダに格納するには、ある規則に従って ASCII に
2925 符号化する必要があります。しかし、この符号化された文字列を 「"」 で囲む
2926 のは間違いです。「"」で囲まれた文字列は、そのままの形で取り扱われます。
2927 よって、上の例の "=?" と "?=" で囲まれた部分が日本語に復号化されることは
2928 本来ありません。
2929 @end ifset
2930 @ifset en
2931 The string delimited by "=?" and "?=" in the above example was
2932 originally Japanese. Since the spec of mail limits the content of
2933 headers to ASCII characters, if a string whose character set is other
2934 than ASCII, is to be stored in a header, the string must be encoded with
2935 ASCII strings according to the defined rule. But it is certainly invalid
2936 to embed the ASCII strings with @samp{"}. Strings surrounded by @samp{"}
2937 are treated as is. Therefore, the string between "=?" and "?=" in the
2938 example will not be decoded into Japanese.
2939 @end ifset
2940
2941 @ifset ja
2942 規格に無頓着な一部のメーラではこのような間違いを平気で犯します。正しい対
2943 処方法は、このようなメーラの作者に頼んで、規格を正しく実装するように変更
2944 してもらうことです。しかし、このようなメーラはあまりにも多いので、Mew で
2945 はできる限り復号化するよう試みます。そして、以下のような警告をヘッダに出
2946 します。
2947 @end ifset
2948 @ifset en
2949 Several mailers are careless about the spec and regularly violate these
2950 rules. The right way to do is ask the programmers of such mailers to
2951 make the programs conformant to the spec. However, since there are so
2952 many mailers of this kind around the world, Mew tries to decode as many
2953 different formats as possible. In these cases Mew displays warnings such
2954 as:
2955 @end ifset
2956
2957 @example
2958 X-Mew: Charset for body is not specified.
2959 To: has encoded-words in quoted text.
2960 @end example
2961
2962 @ifset ja
2963 もし、規格に厳密に復号化したいのなら、@samp{mew-decode-broken} を @samp{nil} に
2964 設定して下さい。この値は @samp{C-u.} を使うと動的に反転できます
2965 (@xref{singlepart} を参照)。
2966 @end ifset
2967 @ifset en
2968 If you want to decode messages strictly, set @samp{mew-decode-broken} to
2969 @samp{nil}. This value can be toggled dynamically by @samp{C-u.} (see
2970 @ref{singlepart}).
2971 @end ifset
2972
2973 @ifset ja
2974 次のようなメッセージは、charset で指示されている文字コードと実際の文字が異
2975 なるため、文字化けを起こします。
2976 @end ifset
2977 @ifset en
2978 The following message is displayed as a mess since the character set
2979 specified with the charset parameter and the actual character set
2980 of its body are different.
2981 @end ifset
2982
2983 @ifset ja
2984 @example
2985 Content-Type: Text/Plain; charset=ISO-2022-JP
2986
2987 Shift_JIS で書かれた日本語の本文
2988 @end example
2989 @end ifset
2990 @ifset en
2991 @example
2992 Content-Type: Text/Plain; charset=ISO-2022-JP
2993
2994 Japanese text written in Shift_JIS
2995 @end example
2996 @end ifset
2997
2998 @ifset ja
2999 @samp{C-cC-l} を使えば、charset で指定された文字コードを無視し、指定した
3000 言語の推測規則に従って文字コードを推測し、再表示させることができます。ま
3001 た、@samp{C-uC-cC-l} で明示的に文字コードを指定し、再表示させることも可
3002 能です。
3003 @end ifset
3004 @ifset en
3005 By using @samp{C-cC-l}, the text is re-displayed with charset guessed
3006 according to a specified language, ignoring the character set specified
3007 by the charset parameter. If you type @samp{C-uC-cC-l}, you can
3008 re-display the text by specifying a character set explicitly.
3009 @end ifset
3010
3011 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3012 @c Composing
3013 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3014
3015 @node Composing, header, invalid, Top
3016 @ifset ja
3017 @chapter メッセージを作成する
3018 @end ifset
3019 @ifset en
3020 @chapter Composing messages
3021 @end ifset
3022 @vindex mail-user-agent
3023 @kindex M-x mew-send
3024 @kindex C-xm
3025 @kindex w (Summary)
3026 @kindex a (Summary)
3027 @kindex A (Summary)
3028 @kindex f (Summary)
3029 @kindex F (Summary)
3030
3031 @ifset ja
3032 ここではメッセージの作成方法について説明します。
3033 @end ifset
3034 @ifset en
3035 This section explains how to compose a message.
3036 @end ifset
3037
3038 @ifset ja
3039 新しいメッセージを書くために、Draft モードに移行するには、次の手段があり
3040 ます。
3041 @end ifset
3042 @ifset en
3043 Methods to enter Draft mode to write a new message are given below.
3044 @end ifset
3045
3046 @enumerate
3047 @ifset ja
3048 @item
3049 @samp{M-x mew-send} と入力する。
3050 @item
3051 @samp{mail-user-agent} が設定されている場合、@samp{C-xm} と入力する。
3052 @item
3053 Summary モードで @samp{w} を押す。
3054 @end ifset
3055 @ifset en
3056 @item
3057 Type @samp{M-x mew-send}.
3058 @item
3059 Type @samp{C-xm} if @samp{mail-user-agent} is configured.
3060 @item
3061 Press @samp{w} in Summary mode.
3062 @end ifset
3063 @end enumerate
3064
3065 @ifset ja
3066 すると、以下のようなバッファが用意されます。
3067 @end ifset
3068 @ifset en
3069 Then a buffer like the following is prepared.
3070 @end ifset
3071
3072 @example
3073 To:
3074 Subject:
3075 From: Kazu Yamamoto <kazu@@example.org>
3076 X-Mailer: @value{X-Mailer}
3077 ----
3078 @end example
3079
3080 @ifset ja
3081 これを Draft モードといいます。Draft モードにおいて、"----" より上をヘッ
3082 ダ、下を本文と呼びます。
3083 @end ifset
3084 @ifset en
3085 We call this "Draft mode". In Draft mode, we call the region above
3086 @w{"}----" the header, and the region below "----" the body.
3087 @end ifset
3088
3089 @ifset ja
3090 またメッセージへの返答(@samp{a} や @samp{A})や転送(@samp{f} や @samp{F})
3091 でも Summary モードから Draft モードへ移行します。
3092 @end ifset
3093 @ifset en
3094 Also, replying a message (@samp{a} or @samp{A}) and/or forwarding
3095 messages (@samp{f} or @samp{F}) lead you to Draft mode from Summary
3096 mode.
3097 @end ifset
3098
3099 @ifset ja
3100 草稿は、+draft フォルダの下に作成されます。同時に複数の草稿を持つことが
3101 可能です。
3102 @end ifset
3103 @ifset en
3104 Drafts are temporarily stored in the +draft folder. You can write
3105 multiple messages simultaneously.
3106 @end ifset
3107
3108 @ifset ja
3109 一旦用意した草稿を削除する方法については、@xref{Quit} を参照して下さい。
3110 @end ifset
3111 @ifset en
3112 For the method of deleting a prepared draft, please refer to
3113 @ref{Quit}.
3114 @end ifset
3115
3116 @ifset ja
3117 以下、Draft モードの使い方を説明します。
3118 @end ifset
3119 @ifset en
3120 Now let's see how to use Draft mode.
3121 @end ifset
3122
3123 @menu
3124 @ifset ja
3125 * header:: ヘッダの補完
3126 * cheader:: ヘッダの循環的な補完
3127 * addr-comp:: アドレスの補完
3128 * addrbook:: アドレス帳
3129 * auto-alias:: アドレスの自動学習
3130 * addr-comp1:: アドレスの補完(1)
3131 * addr-comp2:: アドレスの補完(2)
3132 * send:: メッセージの送信
3133 * cite:: シグニチャと引用
3134 * mime-comp:: マルチパートの作成
3135 * charset-guess:: 文字コードの決定
3136 * longline:: 長い行の取り扱い
3137 * reply:: メッセージへの返答と宛先の決定
3138 * forward:: メッセージの転送
3139 * resend:: メッセージの再送
3140 * shortcut:: 電子署名/暗号メールを作成する
3141 * mark-b-comp:: マークを使った電子署名/暗号メールの作成
3142 * pgp-key:: PGP の鍵の配布
3143 * anonymous:: 宛先を匿名にしたメッセージの送信
3144 @end ifset
3145 @ifset en
3146 * header:: Completions in a header
3147 * cheader:: Circular completions in a header
3148 * addr-comp:: Address Completion
3149 * addrbook:: Address book
3150 * auto-alias:: Learning addresses
3151 * addr-comp1:: Address Completion(1)
3152 * addr-comp2:: Address Completion(2)
3153 * send:: Sending a message
3154 * cite:: Signature and citation
3155 * mime-comp:: Composing multipart
3156 * charset-guess:: Defining charset
3157 * longline:: Handling long lines
3158 * reply:: Replying to a message and deciding recipients
3159 * forward:: Forwarding messages
3160 * resend:: Re-sending messages
3161 * shortcut:: Creating signature or cipher message
3162 * mark-b-comp:: Mark based composer
3163 * pgp-key:: PGP key distribution
3164 * anonymous:: Sending messages with anonymous receivers
3165 @end ifset
3166 @end menu
3167
3168 @c %%%%%%%%%%%%%%%%%
3169 @node header, cheader, Composing, Composing
3170 @ifset ja
3171 @section ヘッダの補完
3172 @end ifset
3173 @ifset en
3174 @section Completions in a header
3175 @end ifset
3176 @vindex mew-fields
3177 @kindex TAB (Draft)
3178
3179 @ifset ja
3180 ヘッダでは @samp{TAB} に対し、以下のように各フィールド用の補完機能が割り当て
3181 られています。
3182 @end ifset
3183 @ifset en
3184 In the header, completions for each field are assigned to @samp{TAB} as
3185 follows:
3186 @end ifset
3187
3188 @itemize @minus
3189 @ifset ja
3190 @item フィールド名の補完
3191 @item アドレスの補完 (To:、Cc: など) (@xref{addr-comp} を参照)
3192 @item フォルダ名の補完 (Fcc:)
3193 @end ifset
3194 @ifset en
3195 @item Field completion
3196 @item Address completion (To:, Cc:, etc) (see @ref{addr-comp})
3197 @item Folder completion (Fcc:)
3198 @end ifset
3199 @end itemize
3200
3201 @ifset ja
3202 <フィールド名の補完>
3203 @end ifset
3204 @ifset en
3205 <Field completion>
3206 @end ifset
3207
3208 @ifset ja
3209 行頭の単語中で、しかも、上の行の最後が "," で終る継続行でなければ、
3210 @samp{TAB} で @samp{mew-fields} に定義されているフィールド名を補完できま
3211 す。
3212 @end ifset
3213 @ifset en
3214 If the cursor is at the beginning of a line and the previous line does
3215 not end with ",", you can complete field defined in the
3216 @samp{mew-fields} variable with @samp{TAB}.
3217 @end ifset
3218
3219 @example
3220 To: kazu@@example.org
3221 R@samp{TAB}
3222 @end example
3223
3224 @ifset ja
3225 上記の場所で @samp{TAB} を押すと以下のようになります。
3226 @end ifset
3227 @ifset en
3228 At the point above, if you type @samp{TAB}, you get:
3229 @end ifset
3230
3231 @example
3232 To: kazu@@example.org
3233 Reply-To:
3234 @end example
3235
3236 @ifset ja
3237 <フォルダ名の補完>
3238 @end ifset
3239 @ifset en
3240 <Folder completion>
3241 @end ifset
3242
3243 @ifset ja
3244 Fcc: などのようにフォルダを補完すべきところでは、@samp{TAB} でフォルダを
3245 補完できます。以下に例を挙げてみます。
3246 @end ifset
3247 @ifset en
3248 At a point, such as Fcc:, you can complete folder name with
3249 @samp{TAB}. For example:
3250 @end ifset
3251
3252 @example
3253 Fcc: @samp{TAB}
3254 @end example
3255
3256 @ifset ja
3257 "+" が補完されます。
3258 @end ifset
3259 @ifset en
3260 Here, "+" is completed.
3261 @end ifset
3262
3263 @example
3264 Fcc: +@samp{TAB}
3265 @end example
3266
3267 @ifset ja
3268 @samp{TAB} をもう 1 度押すと候補が表示されるので、候補を見ながら適切な文字
3269 を入力します。
3270 @end ifset
3271 @ifset en
3272 One more type of @samp{TAB} shows candidates. Please type in the
3273 appropriate characters then type @samp{TAB}.
3274 @end ifset
3275
3276 @example
3277 Fcc: +b@samp{TAB}
3278 @end example
3279
3280 @ifset ja
3281 候補が一意に定まれば補完されます。
3282 @end ifset
3283 @ifset en
3284 If a single candidate can be determined, you get a completion.
3285 @end ifset
3286
3287 @example
3288 Fcc: +backup
3289 @end example
3290
3291 @c %%%%%%%%%%%%%%%%%
3292 @node cheader, addr-comp, header, Composing
3293 @ifset ja
3294 @section ヘッダの循環的な補完
3295 @end ifset
3296 @ifset en
3297 @section Circular completions in a header
3298 @end ifset
3299 @vindex mew-mail-domain-list
3300 @vindex mew-from-list
3301 @kindex C-cTAB (Draft)
3302
3303 @ifset ja
3304 ヘッダでは、@samp{C-cTAB} に循環的な補完機能が割り当てられています。循環
3305 的な補完機能とは、あるリストのある値がそのリストの次の値に置き換えられる
3306 ことです。リストの最後は、最初につながっていると考えます。ヘッダ中の循環
3307 的な補完機能は、以下のようにフィールドごとに異なります。
3308 @end ifset
3309 @ifset en
3310 In a header, circular completions are assigned to @samp{C-cTAB}.
3311 Circular completion means that a value of a list is replaced by the next
3312 value of the list. The end of the list is considered continuous to the
3313 top of the list. Circular completions in a header are different for each
3314 field as follows:
3315 @end ifset
3316
3317 @itemize @minus
3318 @ifset ja
3319 @item ドメイン名の循環的な補完 (To:、Cc: など)
3320 @item From: の循環的な補完 (From:)
3321 @end ifset
3322 @ifset en
3323 @item Circular completion of domain name (To:, Cc:, etc)
3324 @item Circular completion of From: (From:)
3325 @end ifset
3326 @end itemize
3327
3328 @ifset ja
3329 <ドメイン名の循環的な補完>
3330 @end ifset
3331 @ifset en
3332 <Circular completion of domain name>
3333 @end ifset
3334
3335 @ifset ja
3336 アドレスを書くべきフィールドでは、@samp{C-cTAB} でドメインを補完します。
3337 補完の候補は @samp{mew-mail-domain-list} から選ばれます。
3338 @end ifset
3339 @ifset en
3340 On a field where addresses are written, use @samp{C-cTAB} for domain
3341 completion. Candidates are selected from @samp{mew-mail-domain-list}.
3342 @end ifset
3343
3344 @example
3345 To: kazu@@@samp{C-cTAB}
3346 @end example
3347
3348 @ifset ja
3349 上記の場所のように候補が一意に定まらない場合は、
3350 @samp{mew-mail-domain-list} の最初のドメイン名が挿入されます。
3351 @end ifset
3352 @ifset en
3353 If you try to complete just after "@@" as up above, the first domain of
3354 @samp{mew-mail-domain-list} is inserted.
3355 @end ifset
3356
3357 @example
3358 To: kazu@@example.org@samp{C-cTAB}
3359 @end example
3360
3361 @ifset ja
3362 補完された後、さらに @samp{C-cTAB} を押すと @samp{mew-mail-domain-list}
3363 の次の候補に変換します。
3364 @end ifset
3365 @ifset en
3366 After completion, pressing @samp{C-cTAB} one more times inserts the next
3367 domain of @samp{mew-mail-domain-list}. This completion is looped.
3368 @end ifset
3369
3370 @example
3371 To: kazu@@example.jp
3372 @end example
3373
3374 @ifset ja
3375 また、以下の補完が一意に定まれば、その候補を挿入します。
3376 @end ifset
3377 @ifset en
3378 If a single candidate can be determined, it is inserted.
3379 @end ifset
3380
3381 @example
3382 To: kazu@@w@samp{C-cTAB}
3383 @end example
3384
3385 @ifset ja
3386 上記の例は次のようになります。
3387 @end ifset
3388 @ifset en
3389 The above example gives:
3390 @end ifset
3391
3392 @example
3393 To: kazu@@example.jp
3394 @end example
3395
3396 @ifset ja
3397 <From: の循環的な補完>
3398 @end ifset
3399 @ifset en
3400 <Circular completion of From:>
3401 @end ifset
3402
3403 @ifset ja
3404 草稿には、あらかじめ "mew-name <mew-user@@mew-domain>" という形式で、
3405 From: フィールドが挿入されています。
3406 @end ifset
3407 @ifset en
3408 In Draft mode, the From: field is inserted with the format of
3409 "mew-name <mew-user@@mew-domain>".
3410 @end ifset
3411
3412 @example
3413 @ifset ja
3414 From: Kazu Yamamoto (山本和彦) <kazu@@example.org>
3415 @end ifset
3416 @ifset en
3417 From: Kazu Yamamoto <kazu@@example.org>
3418 @end ifset
3419 @end example
3420
3421 @ifset ja
3422 From: フィールド上では、@samp{C-cTAB} は @samp{mew-from-list} の値を循環
3423 的に補完します。@samp{mew-from-list} は自分で設定してもよいですし、自動
3424 的に設定することも可能です。自動設定に関しては、@xref{config} を参照して
3425 下さい。
3426 @end ifset
3427 @ifset en
3428 On the From: field, @samp{C-cTAB} circularly completes its value from
3429 @samp{mew-from-list}. You can set @samp{mew-from-list} by yourself.
3430 Also, @samp{mew-from-list} can be set automatically. For automatic
3431 setup, please refer to @ref{config}.
3432 @end ifset
3433
3434 @ifset ja
3435 値の場所ならどこでも構いませんが、@samp{C-cTAB} と入力すると、
3436 この値を @samp{mew-from-list} の次の値と置き換えます。たとえば、
3437 @end ifset
3438 @ifset en
3439 Typing @samp{C-cTAB} anywhere on the value replaces the value with the
3440 next value of @samp{mew-from-list}. For example,
3441 @end ifset
3442
3443 @example
3444 @ifset ja
3445 From: Kazu Yamamoto (山本和彦) <kazu@@example.org>@samp{C-cTAB}
3446 @end ifset
3447 @ifset en
3448 From: Kazu Yamamoto <kazu@@example.org>@samp{C-cTAB}
3449 @end ifset
3450 @end example
3451
3452 @ifset ja
3453 は以下のようになります。
3454 @end ifset
3455 @ifset en
3456 becomes as follows:
3457 @end ifset
3458
3459 @example
3460 From: Kazuhiko Yamamoto <kazu@@example.jp>
3461 @end example
3462
3463 @c %%%%%%%%%%%%%%%%%
3464 @node addr-comp, addrbook, cheader, Composing
3465 @ifset ja
3466 @section アドレスの補完
3467 @end ifset
3468 @ifset en
3469 @section Address Completion
3470 @end ifset
3471
3472 @ifset ja
3473 To: や Cc: では、アドレスを補完できます。補完には @samp{TAB} を用います。
3474 @end ifset
3475 @ifset en
3476 You can complete addresses on To: or Cc:. This completion command is
3477 bound to @samp{TAB}.
3478 @end ifset
3479
3480 @example
3481 To: kazu@samp{TAB}
3482 @end example
3483
3484 @ifset ja
3485 上記のように、アドレスの一部で @samp{TAB} を押すと、以下のようにアドレ
3486 スが補完される訳です。
3487 @end ifset
3488 @ifset en
3489 When you type @samp{TAB} after a part of an address as the example
3490 above, the entire address is completed as follows:
3491 @end ifset
3492
3493 @example
3494 To: kazu@@example.org
3495 @end example
3496
3497 @ifset ja
3498 アドレスの補完に利用されるアドレスの種類には、以下の 3 つがあります。
3499 @end ifset
3500 @ifset en
3501 There are three kinds of registered addresses to be used for
3502 the completion.
3503 @end ifset
3504
3505 @enumerate
3506 @ifset ja
3507 @item
3508 アドレス帳の展開規則
3509 @item
3510 アドレス帳の個人情報
3511 @item
3512 送信時に学習されたアドレス
3513 @end ifset
3514 @ifset en
3515 @item
3516 The expansion rule in an address book
3517 @item
3518 The personal information in the address book
3519 @item
3520 Learned addresses when sending
3521 @end ifset
3522 @end enumerate
3523
3524 @ifset ja
3525 アドレスの補完には 2 つの方法が提供されています。
3526 @samp{mew-use-full-alias} によって選択します(初期値は @samp{nil})。
3527 @end ifset
3528 @ifset en
3529 Mew provides two ways to complete addresses. You can select one of
3530 them with @samp{mew-use-full-alias}, which is default to @samp{nil}.
3531 @end ifset
3532
3533 @ifset ja
3534 @samp{mew-use-full-alias} が @samp{nil} の場合、@samp{@@} の前、つまりユー
3535 ザ名(短縮名)が補完の対象となります。@samp{TAB} を押すとユーザ名が補完さ
3536 れ、補完しきったところでさらに @samp{TAB} を押すとアドレスに「展開」さ
3537 れます。これをアドレスの補完(1)と呼びましょう。
3538 @end ifset
3539 @ifset en
3540 If @samp{mew-use-full-alias} is @samp{nil}, the portion before
3541 @samp{@@}, a user name or a short name, is a target of the
3542 completion. When you type @samp{TAB}, the user name is completed. And
3543 if the user name is uniquely completed and you type @samp{TAB} again,
3544 it is expanded to its entire address. Let's call this Address
3545 Completion(1).
3546 @end ifset
3547
3548 @ifset ja
3549 アドレスの補完(1)(@xref{addr-comp1})の利点は、上に書いた 3 種類のアドレス
3550 に対し、補完・展開が矛盾なく実行できることです。後述のように、「強制展
3551 開」も @samp{TAB} で実行できます。欠点は、ユーザ名の部分が一意でなけれ
3552 ばならないので、あるユーザ名が登録されている場合、同じユーザ名を持つ別
3553 のアドレスを学習できないことです。
3554 @end ifset
3555 @ifset en
3556 An advantage of Address Completion(1) (@pxref{addr-comp1}) is that you
3557 can use the completion/expansion against the three kinds of addresses
3558 seamlessly. You can also explicitly expand the user name with
3559 @samp{TAB} as described later. A disadvantage is that user names must
3560 be unique. So, if a user name is already registered, other addresses
3561 with the same user name cannot be learned.
3562 @end ifset
3563
3564 @ifset ja
3565 @samp{mew-use-full-alias} が @samp{t} の場合、学習されたアドレスに関して
3566 は、アドレスの全体が補完の対象になります。これをアドレスの補完(2)と呼び
3567 ましょう。
3568 @end ifset
3569 @ifset en
3570 If @samp{mew-use-full-alias} is @samp{t}, for learned addresses when
3571 sending, completion target is an entire address. Let's call this
3572 Address Completion(2).
3573 @end ifset
3574
3575 @ifset ja
3576 アドレスの補完(2)(@xref{addr-comp2})の利点は、ユーザ名が一致している複
3577 数のアドレスを学習できることです。欠点は、アドレス帳の個人情報に登録さ
3578 れているアドレスの先頭以外は利用できないことです。また、「強制展開」は、
3579 @samp{M-C-e} という (@samp{TAB} とは別の) キーを押さなければいけないこ
3580 とです。
3581 @end ifset
3582 @ifset en
3583 An advantage of Address Completion(2) (@pxref{addr-comp1}) is that Mew
3584 can learn addresses whose user names are the same. One of
3585 disadvantages is that only the first address of personal information
3586 can be used (the other addresses are useless). And for the explicit
3587 expansion, you have to type @samp{M-C-e}, a different key from
3588 @samp{TAB}.
3589 @end ifset
3590
3591 @c %%%%%%%%%%%%%%%%%
3592 @node addrbook, auto-alias, addr-comp, Composing
3593 @ifset ja
3594 @section アドレス帳
3595 @end ifset
3596 @ifset en
3597 @section Address Book
3598 @end ifset
3599 @kindex C-cC-a (Summary)
3600 @kindex C-uC-cC-a (Summary)
3601 @kindex C-cC-c (Addrbook)
3602 @kindex C-cC-q (Addrbook)
3603
3604 @ifset ja
3605 Mew ではアドレス帳("~/Mail/Addrbook")が利用できます。アドレス帳には 2 つ
3606 の書式が用意されています。一方は「展開規則」を指定する書式、他方は「個人
3607 情報」を記述するための書式です。
3608 @end ifset
3609 @ifset en
3610 Mew provides an address book ("~/Mail/Addrbook). The address book has 2
3611 formats. One specifies expansion rules, while the other defines personal
3612 information.
3613 @end ifset
3614
3615 @ifset ja
3616 まず、「展開規則」を記述するための書式を示します。
3617 @end ifset
3618 @ifset en
3619 First, let's look at the format that specifies expansion rules.
3620 @end ifset
3621
3622 @example
3623 <shortname>: <address1>[, <address2>, <address3>,...]
3624 @end example
3625
3626 @ifset ja
3627 このように短縮名と展開すべきアドレスを @samp{:} で区切って書きます。複数
3628 のアドレスに展開する場合は、それらのアドレスを @samp{,} で区切ります。
3629 (これは、To: などでアドレスが @samp{,} で区切られているのと同じです。)
3630 @samp{,} の後ろに空白を入れても構いません。以下に例を示します。
3631 @end ifset
3632 @ifset en
3633 In this way, you should specify a short name and a full address
3634 separated by @samp{:}. If you want to expand the short name to multiple
3635 addresses, you can delimit them with a comma @samp{,}. (This is exactly
3636 same as addresses delimited by @samp{,} in the To: field, for instance.)
3637 A space SPC is allowed after the comma @samp{,}. For example:
3638 @end ifset
3639
3640 @example
3641 pooh: winnie-the-pooh@@example.net
3642 piglet: piglet@@example.org
3643 friends: pooh, piglet
3644 @end example
3645
3646
3647
3648 @ifset ja
3649 次に、「個人情報」を記述するための書式を示します。
3650 @end ifset
3651 @ifset en
3652 Next, the format to define personal information is shown below:
3653 @end ifset
3654
3655 @example
3656 <shortname> <address1>[, <address2>, <address3>,...] <nickname> <fullname>
3657 @end example
3658
3659 @ifset ja
3660 このように 4 つの要素を空白で区切ります。<shortname> が短縮名です。
3661 <nickname> と <fullname> はそれぞれニックネームと正式な氏名であり、日本
3662 語でも構いません。(ニックネームの使い方は @xref{summary-mode} と
3663 @xref{draft-mode} を参照して下さい。)
3664 @end ifset
3665 @ifset en
3666 In this way, four elements are separated by SPC. <shortname> is a short
3667 name. <nickname> and <fullname> are the person's nickname and full name,
3668 respectively. (For proper usage of the nickname, please refer to
3669 @ref{summary-mode} and/or @ref{draft-mode}.)
3670 @end ifset
3671
3672 @ifset ja
3673 2 番目の要素はアドレスです。複数のアドレスをその人が持っている場合は、
3674 @samp{,} で区切って書きます。@samp{,} の後に空白を入れても構いません。つ
3675 まり、この空白は要素の区切りではありません。また、@samp{"} で囲まれた空
3676 白も要素の区切りにはなりません。以下に例を示します。
3677 @end ifset
3678 @ifset en
3679 The second element is the addresses. If the person has multiple
3680 addresses, delimit them using @samp{,}. SPC is allowed after @samp{,},
3681 which means that it does not function as the delimiter. SPC surrounded
3682 by quotes @samp{"} also has no delimiting function here. For example:
3683 @end ifset
3684
3685 @example
3686 kazu kazu@@example.org, kazu@@example.net Kazu-kun "Kazuhiko Yamamoto"
3687 @end example
3688
3689 @ifset ja
3690 「個人情報」の書式では、各要素を省略できます。中間の要素を省略する場合は、
3691 @samp{*} と書いて下さい。以下に、アドレスに対してニックネームのみを定義
3692 する例を示します。
3693 @end ifset
3694 @ifset en
3695 In the personal information format, you can omit any element. When you
3696 want to omit an intermediate element, specify @samp{*}. The following is
3697 an example to define nicknames for addresses.
3698 @end ifset
3699
3700 @example
3701 * kazu@@example.org, kazu@@example.net Kazu-kun
3702 @end example
3703
3704 @ifset ja
3705 ニックネームは Summary モードでのアドレスの置き換えと、Draft モードでの
3706 引用記号の置き換え(@xref{cite})に利用されます。
3707 @end ifset
3708 @ifset en
3709 The nickname is used to replace addresses in Summary mode and to replace
3710 the citation prefix (@pxref{cite}) in Draft mode.
3711 @end ifset
3712
3713 @ifset ja
3714 アドレス帳のコメント文字は @samp{;} と @samp{#} です。@samp{;} は行頭に
3715 ある場合のみコメントとなり、その行が無視されます。@samp{#} は任意の場所
3716 でコメントとなり、そこから行末までが無視されます。また、@samp{\} は継続
3717 行を表わします。
3718 @end ifset
3719 @ifset en
3720 The comment letters are @samp{;} and @samp{#}. @samp{;} is valid only
3721 when it appears at the beginning of lines, resulting in the disregarding
3722 of the entire line. The comment marker @samp{#} is valid everywhere. The
3723 strings between @samp{#} and the end of the line are ignored. Also,
3724 @samp{\} means a continuous line.
3725 @end ifset
3726
3727
3728
3729 @ifset ja
3730 Summary モードには、現在読んでいるメッセージの情報を Addrbook に登録す
3731 る機能があります。展開規則を登録するには @samp{C-cC-a} と押して下さい。
3732 以下に例を示します。
3733 @end ifset
3734 @ifset en
3735 Summary mode includes the feature of directly registering the
3736 information of the current message into Addrbook. To register a
3737 expansion rule, type @samp{C-cC-a}.
3738 @end ifset
3739
3740 @example
3741 #If you want to register this entry, type 'C-c C-c'.
3742 #If you want to NOT register this entry, type 'C-c C-q'.
3743 Shortname: kazu
3744 Addresses: kazu@@example.org
3745 Comments:
3746 @end example
3747
3748 @ifset ja
3749 個人情報を登録するには @samp{C-uC-cC-a} と押して下さい。以下に例を示します。
3750 @end ifset
3751 @ifset en
3752 To register personal information, type @samp{C-uC-cC-a}.
3753 @end ifset
3754
3755 @example
3756 #If you want to register this entry, type C-c C-c.
3757 #If you want to NOT register this entry, type C-c C-q.
3758 Shortname: kazu
3759 Addresses: kazu@@example.org
3760 Nickname:
3761 Name: Kazuhiko Yamamoto
3762 Comments:
3763 @end example
3764
3765 @ifset ja
3766 必要であれば加筆訂正します。実際に登録するには @samp{C-cC-c}、登録を取り
3767 止める場合は @samp{C-cC-q} と入力して下さい。@xref{Quit} も参照して下さい。
3768 @end ifset
3769 @ifset en
3770 Add or modify the information if necessary. To register this
3771 information, type @samp{C-cC-c}. To quit the registration, type
3772 @samp{C-cC-q}. You should also refer to @ref{Quit}.
3773 @end ifset
3774
3775 @ifset ja
3776 なお、Addrbook に複数の言語の文字を使いたい場合は、以下の設定を Addrbook
3777 の先頭に記述して下さい。
3778 @end ifset
3779 @ifset en
3780 If you want to use characters of multiple languages, put the following
3781 onto the beginning of Addrbook.
3782 @end ifset
3783
3784 @example
3785 #-*-coding:ctext;-*-
3786 @end example
3787
3788
3789 @c %%%%%%%%%%%%%%%%%
3790 @node auto-alias, addr-comp1, addrbook, Composing
3791 @ifset ja
3792 @section アドレスの自動学習
3793 @end ifset
3794 @ifset en
3795 @section Learning addresses
3796 @end ifset
3797 @kindex Z (Summary)
3798 @vindex mew-addrbook-override-by-newone
3799 @vindex mew-lisp-max-length
3800
3801 @ifset ja
3802 メッセージを送信した場合、To: と Cc: に書かれているアドレスは、自動的に
3803 学習されます。以下の例を考えて下さい。
3804 @end ifset
3805 @ifset en
3806 When you send a message, addresses on the To: and Cc: field are
3807 automatically registered. Consider the following:
3808 @end ifset
3809
3810 @example
3811 To: kazu@@example.org
3812 @end example
3813
3814 @ifset ja
3815 アドレスの補完(1)(@xref{addr-comp1})の場合:このメッセージを送信すると、
3816 アドレス "kazu@@example.org" に対し、短縮名 "kazu" が自動登録されます。ただ
3817 し、すでに "kazu" という短縮名が自動登録されているなら、
3818 @samp{mew-addrbook-override-by-newone} の値に応じて上書きするかを決定し
3819 ます。@samp{nil} なら古い設定を残し、それ以外なら上書きします。展開の際
3820 は、アドレス帳の方が優先されます。ですから、アドレス帳に無い短縮名のみ
3821 が有効になります。
3822 @end ifset
3823 @ifset en
3824 In the case of Address Completion(1) (@pxref{addr-comp1}): When this
3825 message is sent, a short name "kazu" is automatically registered for
3826 the address "kazu@@example.org". If there is already a short name of
3827 @w{"}kazu", the next action is decided according to
3828 @samp{mew-addrbook-override-by-newone}. If @samp{nil}, the old entry
3829 remains. Otherwise, the new entry overrides the old one. When
3830 expanded, the address book short name has priority over the automatic
3831 short name. Only automatic short names which are not contained in the
3832 address book are valid.
3833 @end ifset
3834
3835 @ifset ja
3836 アドレスの補完(2)(@xref{addr-comp2})の場合:このメッセージを送信すると、
3837 アドレス "kazu@@example.org" が自動登録されます。
3838 @end ifset
3839 @ifset en
3840 In the case of Address Completion(1) (@pxref{addr-comp2}): When this message
3841 is sent, the address "kazu@@example.org" is automatically registered.
3842 @end ifset
3843
3844 @ifset ja
3845 自動登録されるのは通常 2000 個(@samp{mew-lisp-max-length})のアドレスま
3846 でです。それを越えて登録するとアルファベット順で最後の方が消えます。こ
3847 れらの情報は Mew を終了する際に、"~/Mail/.mew-alias" に保存されます。
3848 @end ifset
3849 @ifset en
3850 The limit number of automatic short names is 2000
3851 (@samp{mew-lisp-max-length}). Once the number exceeds 2000, the tail
3852 entries in the alphabetical order are removed. This information is
3853 automatically saved to the file "~/Mail/.mew-alias".
3854 @end ifset
3855
3856 @ifset ja
3857 自動登録ですから、不要な短縮名も登録されます。不要な短縮名を削除するに
3858 は、以下のようにするといいでしょう。まず、@samp{M-a} を実行し、
3859 @w{"}~/Mail/.mew-alias" を開きます。次に、テキストファイルを編集する要
3860 領で、不要な短縮名を削除します。そして、@samp{C-xC-s} で保存して下さい。
3861 保存と同時に、その内容が Mew に反映されます。
3862 @end ifset
3863 @ifset en
3864 The automatic registration would register unnecessary short names. If
3865 you want to remove these entry, take the following steps. First, type
3866 @samp{M-a} to open "~/Mail/.mew-alias". Then edit it as you do against a
3867 text file. Lastly, type @samp{C-xC-s} to save it. When saving it, the
3868 modifications are automatically reflected to Mew.
3869 @end ifset
3870
3871 @ifset ja
3872 アドレスの補完(1)とアドレスの補完(2)では、"~/Mail/.mew-alias" の書式が
3873 異なります。@samp{mew-use-full-alias} の値を変え、方法を切り替えたら、
3874 Summary モードで一回 @samp{Z} を押して下さい。これで、書式が変換されま
3875 す。
3876 @end ifset
3877 @ifset en
3878 The formats of Address Completion (1) and (2) are different. When you
3879 change the value of @samp{mew-use-full-alias} to switch one to the
3880 other, type @samp{Z} once in Summary mode. This converts the format
3881 properly.
3882 @end ifset
3883
3884 @c %%%%%%%%%%%%%%%%%
3885 @node addr-comp1, addr-comp2, auto-alias, Composing
3886 @ifset ja
3887 @section アドレスの補完(1)
3888 @end ifset
3889 @ifset en
3890 @section Address Completion(1)
3891 @end ifset
3892
3893 @ifset ja
3894 アドレスの補完(1)では、アドレス帳の展開規則、アドレス帳の個人情報、
3895 および送信時に学習されたアドレスで登録されたアドレスは、
3896 ユーザ名(短縮名)が一意であることが前提となっています。
3897 @end ifset
3898 @ifset en
3899 As far as Address Completion (2) is concerned, there is an assumption:
3900 user names or short names of expansion rules, personal information and
3901 learned addresses are unique.
3902 @end ifset
3903
3904 @ifset ja
3905 たとえば、以下のように「展開規則」を設定したとします。
3906 @end ifset
3907 @ifset en
3908 For example, consider the following configuration of expansion rules:
3909 @end ifset
3910
3911 @example
3912 pooh: winnie-the-pooh@@example.net
3913 @end example
3914
3915 @ifset ja
3916 Draft モードのヘッダ内で、かつ、アドレスを書くべきフィールド上で、しかも、
3917 1 文字以上の文字列が前にある場所で @samp{TAB} を打つと、アドレスの短縮名
3918 が補完されます。
3919 @end ifset
3920 @ifset en
3921 When you are in a header in Draft mode, working within an address field,
3922 after typing one or more characters, you can complete a short name for
3923 an address by pressing the @samp{TAB} key.
3924 @end ifset
3925
3926 @example
3927 To: piglet@@example.org,
3928 po@samp{TAB}
3929 @end example
3930
3931 @ifset ja
3932 このように @samp{TAB} を押すと、(他に候補が無ければ) "pooh" まで補完され
3933 ます。
3934 @end ifset
3935 @ifset en
3936 If you press the @samp{TAB} key, "pooh" is completed (unless other
3937 candidates exist).
3938 @end ifset
3939
3940 @example
3941 To: piglet@@example.org,
3942 pooh@samp{TAB}
3943 @end example
3944
3945 @ifset ja
3946 もう一度 @samp{TAB} を押すと "winnie-the-pooh@@example.net" に展開され
3947 ます。
3948 @end ifset
3949 @ifset en
3950 One more press of the @samp{TAB} key expands the name to
3951 @w{"}winnie-the-pooh@@example.net".
3952 @end ifset
3953
3954 @example
3955 To: piglet@@example.org,
3956 winnie-the-pooh@@example.net
3957 @end example
3958
3959 @ifset ja
3960 "@@" で終る文字列は強制的に展開します。たとえば、以下のように似たような
3961 短縮名があった場合を考えて下さい。
3962 @end ifset
3963 @ifset en
3964 A string ending with "@@" is explicitly expanded. Please pay attention
3965 to the following case where similar short names are defined.
3966 @end ifset
3967
3968 @example
3969 pooh: winnie-the-pooh@@example.net
3970 pooh-pooh: pooh-pooh@@example.org
3971 @end example
3972
3973 @ifset ja
3974 "pooh-" まで入力すれば、"pooh-pooh" まで補完できることは明らかです。し
3975 かし、"pooh" までだと、"pooh" を「展開」するのか、"pooh-pooh" まで補完
3976 するのか分りません。"pooh" を "winnie-the-pooh@@example.net" に強制的に
3977 展開するには、以下のように @samp{@@} を挿入し、@samp{TAB} を押します。
3978 @end ifset
3979 @ifset en
3980 It is obvious that "pooh-" is completed to "pooh-pooh". But if you
3981 input "pooh", Mew cannot tell whether it should be expanded or
3982 completed to "pooh-pooh". Thus, if you want to explicitly complete
3983 "pooh" to "winnie-the-pooh@@example.net", insert @samp{@@} and type
3984 @samp{TAB}.
3985 @end ifset
3986
3987 @example
3988 To: pooh@@@samp{TAB}
3989 @end example
3990
3991 @ifset ja
3992 強制展開は、@samp{@@} を挿入せず、@samp{M-C-e} を押しても実行できます。
3993 @end ifset
3994 @ifset en
3995 Explicit expansion can be accomplished by @samp{M-C-e} instead of
3996 insertion of @samp{@@}.
3997 @end ifset
3998
3999 @ifset ja
4000 上記の説明は、送信時に学習されたアドレスにもあてはまります。
4001 @end ifset
4002 @ifset en
4003 The explanation above can be applied to learned addresses when
4004 sending.
4005 @end ifset
4006
4007 @ifset ja
4008 「個人情報」の書式では、アドレスが順に置き換えられていきます。以下の例
4009 を考えて下さい。
4010 @end ifset
4011 @ifset en
4012 The format of personal information means that each subsequently
4013 generated address will replace the former one. For example:
4014 @end ifset
4015
4016 @example
4017 kazu kazu@@example.org, kazu@@example.net Kazu-kun "Kazuhiko Yamamoto"
4018 @end example
4019
4020 @ifset ja
4021 kazu がどう変化するのか見てみましょう。
4022 @end ifset
4023 @ifset en
4024 Let's watch how it will be converted:
4025 @end ifset
4026
4027 @example
4028 To: kazu@samp{TAB}
4029 @end example
4030
4031 @ifset ja
4032 "kazu" の後で @samp{TAB} を打つと、"kazu@@example.org" に置き換わります。
4033 @end ifset
4034 @ifset en
4035 Typing @samp{TAB} after "kazu" generates "kazu@@example.org".
4036 @end ifset
4037
4038 @example
4039 To: kazu@@example.org@samp{TAB}
4040 @end example
4041
4042 @ifset ja
4043 次に "kazu@@example.org" の後で @samp{TAB} を打つと、"kazu@@example.net" に
4044 置き換わります。
4045 @end ifset
4046 @ifset en
4047 Typing @samp{TAB} after "kazu@@example.org" brings about
4048 "kazu@@example.net".
4049 @end ifset
4050
4051 @example
4052 To: kazu@@example.net@samp{TAB}
4053 @end example
4054
4055 @ifset ja
4056 さらに "kazu@@example.net" の後で @samp{TAB} を打つと、
4057 "kazu@@example.org" に戻ります。このように @samp{TAB} を押すと、アドレ
4058 スが循環的に置換されます。
4059 @end ifset
4060 @ifset en
4061 Then "kazu@@example.org" will appear again if you type @samp{TAB}
4062 after @w{"}kazu@@example.net". In this way, each address is replaced
4063 one by one.
4064 @end ifset
4065
4066 @ifset ja
4067 アドレスを決定した後は、正式名称が付加できます。
4068 @end ifset
4069 @ifset en
4070 After deciding an address, you can add its full name.
4071 @end ifset
4072
4073 @example
4074 To: kazu@@example.org@samp{M-TAB}
4075 @end example
4076
4077 @ifset ja
4078 このように @samp{M-TAB} を押すと、以下のように正式名称が付加されます。
4079 @end ifset
4080 @ifset en
4081 Like this, typing @samp{M-TAB} replace the address with the following
4082 format.
4083 @end ifset
4084
4085 @example
4086 To: Kazuhiko Yamamoto <kazu@@example.org>
4087 @end example
4088
4089 @c %%%%%%%%%%%%%%%%%
4090 @node addr-comp2, send, addr-comp1, Composing
4091 @ifset ja
4092 @section アドレスの補完(2)
4093 @end ifset
4094 @ifset en
4095 @section Address Completion(2)
4096 @end ifset
4097
4098 @ifset ja
4099 アドレスの補完(2)では、学習されたアドレスに関しては、アドレス全体が補完
4100 の対象になります。アドレス帳の展開規則は、短縮名が補完の対象になり、一
4101 意に定まれば展開されます。アドレス帳の個人情報では、短縮名が補完の対象
4102 になり、一意に定まれば、登録されている先頭のアドレスに展開されます。
4103 @end ifset
4104 @ifset en
4105 As far as Address Completion(2) is concerned, for learned addresses
4106 when sending, the entire addresses are completion targets. For
4107 expansion rules in the address book, short names are completion
4108 targets and unique short names are expanded to corresponding
4109 addresses. For personal information in the address book, short names
4110 are completion targets and unique short names are expanded to their
4111 first addresses.
4112 @end ifset
4113
4114 @ifset ja
4115 Draft モードのヘッダ内で、かつ、アドレスを書くべきフィールド上で、しか
4116 も、1 文字以上の文字列が前にある場所で @samp{TAB} を打つと、短縮名ある
4117 いは学習されたアドレスが補完されます。
4118 @end ifset
4119 @ifset en
4120 When you are in a header in Draft mode, working within an address
4121 field, after typing one or more characters, you can complete a short
4122 name or a learned address by pressing the @samp{TAB} key.
4123 @end ifset
4124
4125 @ifset ja
4126 kazu@@example.org を学習しているとしましょう。
4127 @end ifset
4128 @ifset en
4129 Suppose that kazu@@example.org is already learned.
4130 @end ifset
4131
4132 @example
4133 To: ka@samp{TAB}
4134 @end example
4135
4136 @ifset ja
4137 曖昧でないところまで入力し、@samp{TAB} を押せば、アドレスが補完されます。
4138 @end ifset
4139 @ifset en
4140 When you type some characters and press @samp{TAB}, its address is
4141 completed:
4142 @end ifset
4143
4144 @example
4145 To: kazu@@example.org
4146 @end example
4147
4148 @ifset ja
4149 さらに kazunori@@example.jp を学習したとしましょう。kazu@@example.org へ補
4150 完するには kazu@@ まで、kazunori@@example.jp へ補完するには kazun まで
4151 入力する必要があります。
4152 @end ifset
4153 @ifset en
4154 Also suppose that "kazunori@@example.jp" is learned. To expand a user
4155 name to "kazu@@example.org", you should input "kazu@@". To convert it
4156 to @w{"}kazunori@@example.jp", you need to input "kazun".
4157 @end ifset
4158
4159 @ifset ja
4160 展開規則と個人情報は、@samp{TAB} により、まず短縮名が補完されます。短縮
4161 名が一意に定まれば、@samp{TAB} で展開できます。
4162 @end ifset
4163 @ifset en
4164 For expansion rules and personal information, @samp{TAB} completes
4165 short names first. You can expand a unique short name to corresponding
4166 address with @samp{TAB}.
4167 @end ifset
4168
4169 @ifset ja
4170 たとえば、以下のように「展開規則」を設定したとします。
4171 @end ifset
4172 @ifset en
4173 For example, consider the following configuration of expansion rules:
4174 @end ifset
4175
4176 @example
4177 pooh: winnie-the-pooh@@example.net
4178 @end example
4179
4180 @ifset ja
4181 短縮名 "pooh" を補完してみましょう。
4182 @end ifset
4183 @ifset en
4184 Let's complete "pooh":
4185 @end ifset
4186
4187 @example
4188 To: po@samp{TAB}
4189 @end example
4190
4191 @ifset ja
4192 このように @samp{TAB} を押すと、(他に候補が無ければ) "pooh" まで補完され
4193 ます。
4194 @end ifset
4195 @ifset en
4196 If you press the @samp{TAB} key, "pooh" is completed (unless other
4197 candidates exist).
4198 @end ifset
4199
4200 @example
4201 To: pooh@samp{TAB}
4202 @end example
4203
4204 @ifset ja
4205 もう一度 @samp{TAB} を押すと "winnie-the-pooh@@example.net" に展開され
4206 ます。
4207 @end ifset
4208 @ifset en
4209 One more press of the @samp{TAB} key expands the name to
4210 @w{"}winnie-the-pooh@@example.net".
4211 @end ifset
4212
4213 @example
4214 To: winnie-the-pooh@@example.net
4215 @end example
4216
4217 @ifset ja
4218 問題は、短縮名が一意に定まらない場合の展開です。以下の展開規則を考えて
4219 下さい。
4220 @end ifset
4221 @ifset en
4222 A problem occurs when a short name is not unique. Consider the
4223 following example:
4224 @end ifset
4225
4226 @example
4227 pooh: winnie-the-pooh@@example.net
4228 pooh-pooh: pooh-pooh@@example.org
4229 @end example
4230
4231 @ifset ja
4232 "pooh-" まで入力すれば、"pooh-pooh" まで補完できることは明らかです。し
4233 かし、"pooh" までだと、"pooh" を「展開」するのか、"pooh-pooh" まで補完
4234 するのか分りません。"pooh" を "winnie-the-pooh@@example.net" に強制的に
4235 展開するには、@samp{M-C-e} を利用します。(@samp{TAB} で強制展開する方法
4236 はありません。)
4237 @end ifset
4238 @ifset en
4239 It is obvious that "pooh-" is completed to "pooh-pooh". But if you
4240 input "pooh", Mew cannot tell whether it should be expanded or
4241 completed to "pooh-pooh". Thus, if you want to explicitly complete
4242 @w{"}pooh" to "winnie-the-pooh@@example.net", type
4243 @samp{M-C-e}. (There is no way to accomplish this with @samp{TAB}.)
4244 @end ifset
4245
4246 @example
4247 To: pooh@samp{M-C-e}
4248 @end example
4249
4250 @ifset ja
4251 この例は、以下のように強制展開されます。
4252 @end ifset
4253 @ifset en
4254 This example is explicitly expanded as follows:
4255 @end ifset
4256
4257 @example
4258 To: winnie-the-pooh@@example.net
4259 @end example
4260
4261
4262 @c %%%%%%%%%%%%%%%%%
4263 @node send, cite, addr-comp2, Composing
4264 @ifset ja
4265 @section メッセージの送信
4266 @end ifset
4267 @ifset en
4268 @section Sending a message
4269 @end ifset
4270 @vindex mew-ask-subject
4271 @vindex mew-ask-fcc
4272 @kindex C-cC-m (Draft)
4273 @kindex C-cC-c (Draft)
4274 @kindex i (Summary)
4275 @kindex C-cC-c (Summary)
4276
4277 @ifset ja
4278 メッセージを書き上げ、いよいよ送信するには、以下の 2 つのコマンドのどち
4279 らかを選んで下さい。
4280 @end ifset
4281 @ifset en
4282 When you are ready to send a message after completing composition,
4283 choose one of the following two commands.
4284 @end ifset
4285
4286 @table @samp
4287 @ifset ja
4288 @item C-cC-m
4289 メッセージを作成し +queue または +postq に入れ、送信待ち状態にする。
4290 @item C-cC-c
4291 メッセージを作成し送信する。"Really send this message? (y or n) " と訊か
4292 れる。@samp{y} を押せば、送信される。
4293 @end ifset
4294 @ifset en
4295 @item C-cC-m
4296 Compose a message, put it into +queue or +postq, and leave it for later
4297 sending.
4298 @item C-cC-c
4299 Compose a message and send it. You receive the prompt: "Really send this
4300 message? (y or n) ". Type @samp{y} to send it.
4301 @end ifset
4302 @end table
4303
4304 @ifset ja
4305 メッセージが送信される際にどう加工されるか説明します。以下のようなメッセー
4306 ジを考えて下さい。
4307 @end ifset
4308 @ifset en
4309 Let's look at how a message is modified when sent. Please see the
4310 following example:
4311 @end ifset
4312
4313 @example
4314 @ifset ja
4315 To: pooh
4316 Subject: 明日の日曜日
4317 From: Piglet <piglet@@example.org>
4318 X-Mailer: @value{X-Mailer}
4319 ----
4320 明日の日曜日、遊びませんか?
4321
4322 // ピグレット
4323 @end ifset
4324 @ifset en
4325 To: pooh
4326 Subject: the next Sunday
4327 From: Piglet <piglet@@example.org>
4328 X-Mailer: @value{X-Mailer}
4329 ----
4330 Would you like to play with me next Sunday?
4331
4332 // Piglet
4333 @end ifset
4334 @end example
4335
4336 @ifset ja
4337 たとえば、@samp{C-cC-m} でこのメッセージを +queue あるいは +postq に入れ
4338 ると、メッセージは以下のように加工されています。
4339 @end ifset
4340 @ifset en
4341 This message is modified as follows, for example, if it is put into
4342 +queue or +postq by @samp{C-cC-m}.
4343 @end ifset
4344
4345 @example
4346 @ifset ja
4347 Date: Mon, 13 Mar 2000 19:49:50 +0900 (JST)
4348 Message-Id: <20000313.194950.59499544.piglet@@example.org>
4349 To: winnie-the-pooh@@example.net
4350 Subject: =?iso-2022-jp?B?GyRCTEBGfCRORnxNS0Z8GyhC?=
4351 From: Piglet <piglet@@example.org>
4352 X-Mailer: @value{X-Mailer}
4353 Mime-Version: 1.0
4354 Content-Type: Text/Plain; charset=iso-2022-jp
4355 Content-Transfer-Encoding: 7bit
4356
4357 明日の日曜日、遊びませんか?
4358
4359 // ピグレット
4360 @end ifset
4361 @ifset en
4362 Date: Mon, 13 Mar 2000 19:49:50 +0900 (JST)
4363 Message-Id: <20000313.194950.59499544.piglet@@example.org>
4364 To: winnie-the-pooh@@example.net
4365 Subject: the next Sunday
4366 From: Piglet <piglet@@example.org>
4367 X-Mailer: @value{X-Mailer}
4368 Mime-Version: 1.0
4369 Content-Type: Text/Plain; charset=us-ascii
4370 Content-Transfer-Encoding: 7bit
4371
4372 Would you like to play with me in the next Sunday?
4373
4374 // Piglet
4375 @end ifset
4376 @end example
4377
4378 @ifset ja
4379 Date: や Message-Id: が付加されたのはお分かりになるでしょう。Subject: に
4380 あった日本語は、配送に安全となるよう ASCII コードに変換されています。ま
4381 た、本文のデータ型や文字コードが推測され、正しく付加されていることは特筆
4382 すべきでしょう。
4383 @end ifset
4384 @ifset en
4385 As you can see, Data: and Message-Id: are added. You should note that
4386 both its data type and its character set are guessed correctly and
4387 added.
4388 @end ifset
4389
4390 @ifset ja
4391 @samp{C-cC-m} や @samp{C-cC-c} でメッセージを作成するとき、ヘッダに不備
4392 があった場合に注意を促してくれる機能があります。
4393 @end ifset
4394 @ifset en
4395 When composing a message using @samp{C-cC-m} and @samp{C-cC-c}, you can
4396 make use of a feature that identifies errors in a header.
4397 @end ifset
4398
4399 @ifset ja
4400 @samp{mew-ask-subject} を @samp{t} にしておけば、Subject: が空のときに値
4401 を尋ねてくれます。空のままにしたい場合は単純に @samp{RET} を押して下さい。
4402 この変数の初期値は @samp{nil} です。
4403 @end ifset
4404 @ifset en
4405 Suppose you set @samp{mew-ask-subject} to @samp{t}. If Subject: is
4406 empty, Mew asks you its value. If you want to leave it empty, just type
4407 @samp{RET}. The default value of this variable is @samp{nil}.
4408 @end ifset
4409
4410 @ifset ja
4411 @samp{mew-ask-fcc} を @samp{t} にしておけば、Fcc: に存在しないフォルダが
4412 指定してある場合、そのフォルダを作成するか尋ねてくれます。作るなら
4413 @samp{y}、作らないなら @samp{n} を押して下さい。@samp{n} を押すと、送信
4414 が中止され、カーソルは草稿に戻ります。この変数の初期値は @samp{nil} です。
4415 @end ifset
4416 @ifset en
4417 Suppose you set @samp{mew-ask-fcc} to @samp{t}. If there is a folder
4418 that doesn't exist, Mew asks you whether or not you want to create it.
4419 If you want to create it, type @samp{y}. Otherwise, type @samp{n}. If
4420 you type @samp{n}, sending is aborted and the cursor returns to the
4421 draft. The default value of this variable is @samp{nil}.
4422 @end ifset
4423
4424 @ifset ja
4425 Mew は、サーバがユーザ認証を要求すると、送信のためのパスワードをユーザ
4426 に訊きます。長い間、メールの送信にはパスワードが必要ありませんでした。
4427 これが、メールアドレスを詐称できる原因の一つとなっています。これからは、
4428 メールの送信の際は、受信のときと同じように、パスワードが必要な時代にな
4429 ります。
4430 @end ifset
4431 @ifset en
4432 Mew asks you to input your password for sending if the server requires
4433 user authentication. Historically speaking, passwords are not
4434 necessary to send e-mail messages. This is one reason why e-mail
4435 addresses can be faked. In the near future, passwords are always
4436 required for sending messages as are for receiving messages.
4437 @end ifset
4438
4439 @ifset ja
4440 +queue に溜っているメッセージを送信するには、以下の 2 つの方法があります。
4441 どちらも Summary モードのコマンドであることに注意しましょう。
4442 @end ifset
4443 @ifset en
4444 There are two ways to send messages waiting in +queue. Please note that
4445 both of these are commands in Summary mode.
4446 @end ifset
4447
4448 @table @samp
4449 @ifset ja
4450 @item i
4451 @samp{mew-auto-flush-queue} が @samp{t} の場合は、メッセージを受信した後
4452 に、+queue にあるメッセージを送信する。ダイアルアップ環境において、接続
4453 料金を節約する意味でも、送信のための認証という意味でも、これはよい方法。
4454 @samp{mew-auto-flush-queue} の初期値は @samp{t}。
4455 @item C-cC-c
4456 +queue にあるメッセージを送信する。+queue に行って、できあがったメッセー
4457 ジを見た後に、このコマンドを使うと便利。@samp{mew-ask-flush-queue} が
4458 @samp{t} なら、"Flush queue? (y or n) " と訊かれる。
4459 @samp{mew-ask-flush-queue} の初期値は @samp{nil}。
4460 @end ifset
4461 @ifset en
4462 @item i
4463 If @samp{mew-auto-flush-queue} is @samp{t}, the messages being held in
4464 +queue will be sent after the incoming messages have been received.
4465 This method is appropriate for dial-up environments, since one can save
4466 on connection fees and repeated authentication for sending.
4467 @samp{mew-auto-flush-queue} is default to @samp{t}.
4468 @item C-cC-c
4469 Send messages in +queue. Method is appropriate if you like to preview
4470 composed messages first in +queue and then send them. If
4471 @samp{mew-ask-flush-queue} is @samp{t}, you are asked, Flush queue? (y
4472 or n) ". @samp{mew-ask-flush-queue} is default to @samp{nil}.
4473 @end ifset
4474 @end table
4475
4476 @c %%%%%%%%%%%%%%%%%
4477 @node cite, mime-comp, send, Composing
4478 @ifset ja
4479 @section シグニチャと引用
4480 @end ifset
4481 @ifset en
4482 @section Signature and citation
4483 @end ifset
4484 @vindex mew-signature-file
4485 @vindex mew-signature-as-lastpart
4486 @vindex mew-signature-insert-last
4487 @kindex C-cTAB (Draft)
4488 @kindex C-cC-y (Draft)
4489 @kindex C-cC-t (Draft)
4490 @kindex C-cC-l (Draft)
4491
4492 @ifset ja
4493 ここでは、本文のテキストを便利に処理するコマンドについて述べます。
4494 @end ifset
4495 @ifset en
4496 Next is the explanation of the commands for processing the text in the
4497 body of the message.
4498 @end ifset
4499
4500 @ifset ja
4501 まずシグニチャについてです。カーソルのある場所に "~/.signature" を挿入す
4502 るコマンドは @samp{C-cTAB} です。シグニチャファイルは、
4503 @samp{mew-signature-file} で設定できます。
4504 @samp{mew-signature-as-lastpart} や @samp{mew-signature-insert-last} を
4505 設定することで、@samp{C-cTAB} の動作をカスタマイズできます。
4506 @end ifset
4507 @ifset en
4508 The first one is signature. To insert your signature file
4509 ("~/.signature") on the cursor point, type @samp{C-cTAB}. You can define
4510 your own signature file to @samp{mew-signature-file}. Setting
4511 @samp{mew-signature-as-lastpart} and @samp{mew-signature-insert-last},
4512 you can customize the action of @samp{C-cTAB}.
4513 @end ifset
4514
4515 @table @samp
4516 @ifset ja
4517 @item C-cTAB
4518 カーソルの位置に "~/.signature" を挿入する。
4519 @end ifset
4520 @ifset en
4521 @item C-cTAB
4522 Insert "~/.signature" on the cursor point.
4523 @end ifset
4524 @end table
4525
4526 @ifset ja
4527 次に引用についてです。Summary モードの @samp{a} や @samp{A} を使ってメッ
4528 セージに返答するための草稿を用意すると、Emacs が 3 分割されます。上が現在
4529 の Summary モード、中が Message モード、下が Draft モードです。
4530 @end ifset
4531 @ifset en
4532 The next one is citation. If you use @samp{a} or @samp{A} in Summary
4533 mode, a draft for reply is opened up and Emacs is split into three
4534 windows. The top is Summary mode, the middle is Message mode, and the
4535 bottom is Draft mode.
4536 @end ifset
4537
4538 @ifset ja
4539 Message モードのテキストを引用するコマンドを以下に示します。
4540 @end ifset
4541 @ifset en
4542 Here are the commands for citing text from Message mode to Draft mode.
4543 @end ifset
4544
4545 @table @samp
4546 @ifset ja
4547 @item C-cC-y
4548 Message モードからメッセージの一部をコピーし、引用ラベルと引用記号付で貼
4549 り付ける。
4550 @enumerate
4551 @item
4552 おおまかにいえば、Message モードの本文がコピーされる。たとえば、
4553 Text/Plain が表示されていると、Message モード全体がコピーされる。
4554 Message/Rfc822 が表示されている場合は、ヘッダを除いた本文がコピーされる。
4555 @item
4556 @samp{C-uC-cC-y} では、ヘッダがあればヘッダをコピーする。
4557 @item
4558 Emacs のマークがあると、そのマークとカーソルの間が対象となる。
4559 @end enumerate
4560 @item C-cC-t
4561 Message モードからメッセージの一部をコピーし、引用ラベルと引用記号なしで
4562 貼り付ける。
4563 @end ifset
4564 @ifset en
4565 @item C-cC-y
4566 Copy and paste a part of a message from Message mode WITH citation
4567 prefix and label.
4568 @enumerate
4569 @item
4570 Roughly speaking, it copies the body in Message mode. For example, if
4571 Text/Plain is displayed, the entire Message mode is copied. If
4572 Message/Rfc822 is displayed, the body without the header is copied.
4573 @item
4574 If you type @samp{C-uC-cC-y}, the header is also copied if exists.
4575 @item
4576 If an Emacs mark exists, the target is the region between the mark and
4577 the cursor.
4578 @end enumerate
4579 @item C-cC-t
4580 Copy and paste a part of the message from Message mode WITHOUT citation
4581 prefix and label.
4582 @end ifset
4583 @end table
4584
4585 @ifset ja
4586 引用ラベルと引用記号の初期値は、以下のようになります。
4587 @end ifset
4588 @ifset en
4589 The default label and prefix is as follows:
4590 @end ifset
4591
4592 @example
4593 @ifset ja
4594 From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp>
4595 Subject: Wine
4596 Date: Wed, 23 Jul 1997 11:40:50 +0900
4597
4598 > おはようからおやすみまでニートでおなじみの角川です。
4599 >
4600 > さて、とろけるワイン作戦ですが、定石通り '90 のボルドーの
4601 > カベルネ・ソービニョンを狙いたいと思います。
4602 @end ifset
4603 @ifset en
4604 From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp>
4605 Subject: Wine
4606 Date: Wed, 23 Jul 1997 11:40:50 +0900
4607
4608 > Hi, it's Sumikawa, the guy who's neat from good morning
4609 > to good night.
4610 >
4611 > Talking about the wonderful wine party, I would propose
4612 > Cabernet Sauvignon, Bordeaux, '90.
4613 @end ifset
4614 @end example
4615
4616 @ifset ja
4617 Draft モードでは Message モードに表示されているものならなんでも引用でき
4618 ます。つまり、複数のメッセージを簡単に引用できるのです。引用したいメッセー
4619 ジを表示させて、本文を引用する手順を、引用したいメッセージの回数だけ繰り
4620 返して下さい。そのための 3 分割です。
4621 @end ifset
4622 @ifset en
4623 In Draft mode, you can cite any text displayed in Message mode. So, you
4624 can cite text from multiple messages easily. Select a message in Summary
4625 mode and display it in Message mode, then cite it in Draft mode. Please
4626 repeat this procedure as you like. Triple windows are opened for this
4627 purpose.
4628 @end ifset
4629
4630
4631 @ifset ja
4632 本文やヘッダの色付けがおかしくなった場合、@samp{C-cC-l} を実行することで、
4633 色付けをやり直すことができます。
4634 @end ifset
4635 @ifset en
4636 When highlighting gets wrong, type @samp{C-cC-l} to re-highlight both
4637 the header and the body
4638 @end ifset
4639
4640 @c %%%%%%%%%%%%%%%%%
4641 @node mime-comp, charset-guess, cite, Composing
4642 @ifset ja
4643 @section マルチパートの作成
4644 @end ifset
4645 @ifset en
4646 @section Composing multipart
4647 @end ifset
4648 @kindex C-cC-a (Draft)
4649 @kindex C-p (Attach)
4650 @kindex C-n (Attach)
4651 @kindex C-f (Attach)
4652 @kindex C-b (Attach)
4653 @kindex c (Attach)
4654 @kindex i (Attach)
4655 @kindex d (Attach)
4656 @kindex m (Attach)
4657 @kindex f (Attach)
4658 @kindex F (Attach)
4659 @kindex y (Attach)
4660 @kindex e (Attach)
4661 @kindex a (Attach)
4662 @kindex p (Attach)
4663 @kindex D (Attach)
4664 @kindex T (Attach)
4665 @kindex t (Attach)
4666 @kindex C (Attach)
4667 @kindex P (Attach)
4668
4669 @ifset ja
4670 さて、ここでマルチパートの作り方を披露しましょう。
4671 @end ifset
4672 @ifset en
4673 Now let's see how to create multipart messages.
4674 @end ifset
4675
4676 @ifset ja
4677 たとえば、+draft/1 でメッセージを書いているときに、@samp{C-cC-a} と入力
4678 すると、草稿の一番下に
4679 @end ifset
4680 @ifset en
4681 When you are writing a message in +draft/1 and type @samp{C-cC-a}, the
4682 following lines are inserted at the bottom of the draft.
4683 @end ifset
4684
4685 @example
4686 ----------------------------- attachments -----------------------------
4687 Multipart/Mixed 1/
4688 1 Text/Plain(guess) CoverPage*
4689 2 .
4690 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
4691 @end example
4692
4693 @ifset ja
4694 という行が挿入されます。"1/" はマルチパートを構築するための一時的なディ
4695 レクトリで、実体は "~/Mail/attach/1" です。パート 1 の CoverPage は本
4696 文を意味します。ここで Draft モードは次のようになっているでしょう。
4697 @end ifset
4698 @ifset en
4699 "1/" is a temporary directory to create multipart and provides a
4700 location for "~/Mail/attach/1". The part 1, "CoverPage", refers to the
4701 body. Now the entire draft looks like:
4702 @end ifset
4703
4704 @example
4705 @ifset ja
4706 To: mew-dist
4707 Subject: ここがヘッダ
4708 From: Kazu Yamamoto <kazu@@example.org>
4709 X-Mailer: @value{X-Mailer}
4710 ----
4711 本文だよ。
4712
4713 ----------------------------- attachments -----------------------------
4714 Multipart/Mixed 1/
4715 1 Text/Plain(guess) CoverPage*
4716 2 .
4717 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
4718 @end ifset
4719 @ifset en
4720 To: mew-dist
4721 Subject: This is header
4722 X-Mailer: @value{X-Mailer}
4723 ----
4724 This is the body.
4725
4726 ----------------------------- attachments -----------------------------
4727 Multipart/Mixed 1/
4728 1 Text/Plain(guess) CoverPage*
4729 2 .
4730 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
4731 @end ifset
4732 @end example
4733
4734 @ifset ja
4735 3 つの領域を以下のように呼ぶことにします。
4736 @end ifset
4737 @ifset en
4738 Here we designate three regions as follows:
4739 @end ifset
4740
4741 @itemize @bullet
4742 @ifset ja
4743 @item
4744 "----" より上を 「ヘッダ」
4745 @item
4746 "----" から "attachments" までを「本文」
4747 @item
4748 "attachments" より下を「添付領域」
4749 @end ifset
4750 @ifset en
4751 @item
4752 the region above "----" @samp{header}
4753 @item
4754 the region from "----" to "attachments" @samp{body}
4755 @item
4756 the region below "attachments" @samp{attachments}
4757 @end ifset
4758 @end itemize
4759
4760 @ifset ja
4761 Draft モードでは、リージョンによってキー割当が違います。
4762 @end ifset
4763 @ifset en
4764 In Draft mode, the key bindings differ according to the region.
4765 @end ifset
4766
4767 @ifset ja
4768 たとえば、@samp{TAB} は以下のようになります。
4769 @end ifset
4770 @ifset en
4771 To @samp{TAB}, for instance, the following functions are assigned:
4772 @end ifset
4773
4774 @table @asis
4775 @ifset ja
4776 @item ヘッダ
4777 さまざまな補完。
4778 @item 本文
4779 TAB の挿入。
4780 @item 添付領域
4781 なにもしない。
4782 @end ifset
4783 @ifset en
4784 @item header
4785 Completions.
4786 @item body
4787 Insert TAB.
4788 @item attachments
4789 Do nothing.
4790 @end ifset
4791 @end table
4792
4793 @ifset ja
4794 @samp{c} だと以下のようになります。
4795 @end ifset
4796 @ifset en
4797 To @samp{c}, functions are assigned as follows:
4798 @end ifset
4799
4800 @table @asis
4801 @ifset ja
4802 @item ヘッダ
4803 c を挿入。
4804 @item 本文
4805 c を挿入。
4806 @item 添付領域
4807 ファイルのコピー。
4808 @end ifset
4809 @ifset en
4810 @item header
4811 Insert c.
4812 @item body
4813 Insert c.
4814 @item attachments
4815 Copy a file.
4816 @end ifset
4817 @end table
4818
4819 @ifset ja
4820 以下、添付領域でのキー割当です。
4821 @end ifset
4822 @ifset en
4823 The following is a summary of commands in the attachments region.
4824 @end ifset
4825
4826 @table @samp
4827 @ifset ja
4828 @item C-p
4829 現在のディレクトリの前のファイルへ移動。
4830 @item C-n
4831 現在のディレクトリの後のファイルへ移動。
4832 @item C-f
4833 1 番目のサブディレクトリに移動。
4834 @item C-b
4835 親ディレクトリに移動。
4836 @item c
4837 ファイルのコピー。"." 上で有効。ネットワーク経由でも可。リモートのファイ
4838 ルをコピーする場合は、"/[user@@]hostname:/filepath" の形式でファイルを指
4839 定。
4840 @item l
4841 ファイルへシンボッリクリンクを張る。"." 上で有効。添付ファイルを
4842 @samp{f} を使って読み込んで編集する場合は、実体を編集してしまわないよう
4843 に、@samp{l} ではなく @samp{c} でコピーすべき。
4844 @item d
4845 ファイルとディレクトリの消去。
4846 @item m
4847 サブディレクトリ(つまりマルチパート)の作成。"." 上で有効。
4848 @item f
4849 ファイルをバッファに読み込む。
4850 @item F
4851 新規ファイルをバッファに読み込む。"." 上で有効。
4852 @item y
4853 Message モードに表示されているメッセージにリンクを張る。"." 上で有効。
4854 @item e
4855 external-body の入力。"." 上で有効。
4856 @item a
4857 音をサンプリングしオーディオファイルとして挿入。"." 上で有効。
4858 @item p
4859 入力されたユーザの PGP 公開鍵を取り出す。"." 上で有効。
4860 @item D
4861 ちょっとした説明(Content-Description:)の入力。
4862 @item T
4863 データ型(Content-Type:)の変更。
4864 @item t
4865 データ型に関し、テキストとバイナリを反転させる。
4866 @item I
4867 Text/* 型の入力 coding-system を指定する。
4868 @item C
4869 Text/* 型の出力 coding-system を指定する。
4870 @item P
4871 受信側でこのパートを保存する際のファイル名(Content-Disposition:)の変更。
4872 ファイル名の入力の際に、単に @samp{RET} を押すと値が消える。そして、送信
4873 側のファイル名が @samp{*} と共に表示される。
4874 @end ifset
4875 @ifset en
4876 @item C-p
4877 Go to the previous file in the current directory.
4878 @item C-n
4879 Go to the next file in the current directory.
4880 @item C-f
4881 Go to the first subdirectory.
4882 @item C-b
4883 Go to the parent directory.
4884 @item c
4885 Copy a file (possibly via networks) on ".". To copy a remote file, use
4886 the "/[user@@]hostname:/filepath" syntax.
4887 @item l
4888 Link a file with a symbolic link on ".". If you want to edit the
4889 attached file, you should @samp{c} instead of @samp{l} so that you do not
4890 edit the original file.
4891 @item d
4892 Delete this file or this directory.
4893 @item m
4894 Create a subdirectory (i.e. multipart) on ".".
4895 @item f
4896 Open this file into a buffer.
4897 @item F
4898 Open a new file into a buffer on ".".
4899 @item y
4900 Link the message which is displayed in Message mode on ".".
4901 @item e
4902 Input external-body on ".".
4903 @item a
4904 Sampling voice and insert as audio file on ".".
4905 @item p
4906 Extract the PGP key for the specified user on ".".
4907 @item D
4908 Input a description (Content-Description:).
4909 @item T
4910 Change the data type (Content-Type:).
4911 @item t
4912 Toggle text and binary for the data type.
4913 @item I
4914 Specify input coding-system for a Text/* object.
4915 @item C
4916 Specify output coding-system for a Text/* object.
4917 @item P
4918 Specify a file name (Content-Disposition:) to save this part in the
4919 receiver side. If you type just @samp{RET} without any string, its value
4920 is cleared. Then the file name in the sender side is displayed with
4921 @samp{*}.
4922 @end ifset
4923 @end table
4924
4925 @ifset ja
4926 添付領域では、ファイルの拡張子によってデータを取り扱います。現在サポート
4927 している拡張子は以下の通りです。
4928 @end ifset
4929 @ifset en
4930 In attachments, data types are guessed by suffix. The currently
4931 supported suffixes are as follows:
4932 @end ifset
4933
4934 @example
4935 .txt Text/Plain
4936 .html Text/Html
4937 .xml Text/Xml
4938 .rtf Text/Enriched
4939 .css Text/Css
4940 .sgml Text/Sgml
4941 [0-9]+ Message/Rfc822
4942 .ps Application/Postscript
4943 .pdf Application/Pdf
4944 .doc Application/Msword
4945 .xls Application/Vnd.Ms-Execl
4946 .ppt Application/Vnd.Ms-Powerpoint
4947 .vsd Application/Vnd.Visio
4948 .dat Application/Ms-Tnef
4949 .tar|.tar.|.gz|.Z|.taz|.tgz|.bz2?|.lzh|.zip|.bin|.pgp|.gpg|.exe|.dll
4950 Application/Octet-Stream
4951 .gif Image/Gif
4952 .tiff Image/Tiff
4953 .jpe?g Image/Jpeg
4954 .png Image/Png
4955 .xwd Image/X-Xwd
4956 .xbm Image/X-Xbm
4957 .xpm Image/X-Xpm
4958 .bmp Image/X-Bmp
4959 .pcx Image/X-Pcx
4960 .tga Image/X-Tga
4961 .au Audio/Basic
4962 .wav Audio/X-Wav
4963 .aif?f Auido/X-Aiff
4964 .midi? Auido/X-Midi
4965 .mpga|.mp[23] Audio/X-Mpeg
4966 .mpe?g Video/Mpeg
4967 .mov Video/Quicktime
4968 .avi Video/X-Msvideo
4969 @end example
4970
4971 @ifset ja
4972 コピーするときのファイル名は、適切なデータ型を推測できるよう拡張子に気
4973 を付ければなんでもよいです。もし、該当する拡張子がない場合、
4974 @samp{mew-content-type} で指定されるデータ型が選ばれます。初期値は、
4975 Text/Plain(テキスト)です。
4976 @end ifset
4977 @ifset en
4978 Please choose an appropriate suffix for the file name so that Mew can
4979 guess its data type. If there is no matched suffix, the data type
4980 specified by @samp{mew-content-type} is chosen. Its default value is
4981 Text/Plain.
4982 @end ifset
4983
4984
4985 @ifset ja
4986 @samp{c} でファイルをコピーすると、たとえば次のようになります。
4987 @end ifset
4988 @ifset en
4989 For instance, if you copy files with @samp{c}, the part becomes as
4990 follows:
4991 @end ifset
4992
4993 @ifset ja
4994 @example
4995 ----------------------------- attachments -----------------------------
4996 Multipart/Mixed 1/
4997 1 Text/Plain(guess) CoverPage*
4998 B 2 Image/Gif MagicPoint のロゴ mgp.gif
4999 Q 3 Application/Postscript 資料 ohp.ps
5000 4 .
5001 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
5002 @end example
5003 @end ifset
5004 @ifset en
5005 @example
5006 ----------------------------- attachments -----------------------------
5007 Multipart/Mixed 1/
5008 1 Text/Plain(guess) CoverPage*
5009 B 2 Image/Gif MagicPoint logo mgp.gif
5010 Q 3 Application/Postscript Presentation Material ohp.ps
5011 4 .
5012 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
5013 @end example
5014 @end ifset
5015
5016 @ifset ja
5017 各行は、
5018
5019 @itemize @minus
5020 @item
5021 マーク (Content-Transfer-Encoding:)
5022 @item
5023 パート番号
5024 @item
5025 データ型 (Content-Type:)
5026 @item
5027 説明 (Content-Description:)
5028 @item
5029 ファイル名 (Content-Disposition:)
5030 @end itemize
5031
5032 から構成されています。
5033 @end ifset
5034 @ifset en
5035 Each line of a multipart message consists of
5036
5037 @itemize @minus
5038 @item
5039 marks (Content-Transfer-Encoding:)
5040 @item
5041 part number
5042 @item
5043 data type (Content-Type:)
5044 @item
5045 description (Content-Description:)
5046 @item
5047 file name (Content-Disposition:).
5048 @end itemize
5049 @end ifset
5050
5051 @ifset ja
5052 データ型(Content-Type:)は @samp{T} によって変えられます。データ型がテキ
5053 スト(Text/Plain)かバイナリ(Application/Octet-Stream)の場合は、@samp{t}
5054 によって一方を他方へ反転できます。
5055 @end ifset
5056 @ifset en
5057 You can change data types (Content-Type:) by pressing @samp{T} at any
5058 time. If the data type is either text (Text/Plain) or binary
5059 (Application/Octet-Stream), you can toggle between them using @samp{t}.
5060 @end ifset
5061
5062 @ifset ja
5063 マーク(Content-Transfer-Encoding:)を変更する方法は、@xref{mark-b-comp}
5064 を参照して下さい。説明(Content-Description:)は @samp{D} で入力できます。
5065 この説明のカラムは、@xref{mark-b-comp} で説明する暗号化の際に上書きされ
5066 ます。
5067 @end ifset
5068 @ifset en
5069 Please refer to @ref{mark-b-comp} for explanation on changing the mark
5070 (Content-Transfer-Encoding:). You can also insert descriptions
5071 (Content-Description:) by @samp{D}. This description column is
5072 overwritten when encrypted as described in @ref{mark-b-comp}.
5073 @end ifset
5074
5075 @ifset ja
5076 第 5 カラムに表示されるのは、実際にはコピーしたファイル名か
5077 Content-Disposition:、つまり、受信者がそのパートを保存する際のファイル
5078 名です。Content-Disposition: の値があれば、それが表示されます。なけれ
5079 ば、コピーしたファイル名に @samp{*} を付加して表示します。ファイルをコ
5080 ピーした際の Content-Disposition: の値は、コピーしたファイル名が指定さ
5081 れています。ただし、Message/* と Multipart/* には Content-Disposition:
5082 は設定されません。Message/* の Content-Disposition: を指定するには、
5083 @samp{P} を利用して下さい。
5084 @end ifset
5085 @ifset en
5086 Strictly speaking, the fifth column is the copied file name or the
5087 value of Content-Disposition:, namely the file name to which the
5088 receiver saves the part. If Content-Disposition: exists, Mew displays
5089 it. Otherwise, Mew displays the copied file name with @samp{*}
5090 appended. When you copy a file, the file name is specified as
5091 Content-Disposition:. But this is not true for both Message/* and
5092 Multipart/*. To specify Content-Disposition: for Message/*, use
5093 @samp{P}.
5094 @end ifset
5095
5096 @ifset ja
5097 ファイルはシングルパートに、ディレクトリはマルチパートに対応します。で
5098 すから、ファイル構造を作っていく感覚で複雑なマルチパートを作成できます。
5099 簡単でしょ?
5100 @end ifset
5101 @ifset en
5102 Files are treated as singlepart while directories are treated as being
5103 multipart. Therefore you can create very complex multipart MIME messages
5104 in the same way as you would create a file system. Very easy, isn't it?
5105 @end ifset
5106
5107 @ifset ja
5108 ディレクトリに対するデータ型の初期値は、一般的なマルチパート
5109 (Multipart/Mixed)です。これも @samp{T} によって変更できます。
5110 @end ifset
5111 @ifset en
5112 The default data type for directories is Multipart/Mixed. Of course, you
5113 can change it by pressing @samp{T}.
5114 @end ifset
5115
5116 @ifset ja
5117 お好みのマルチパートが作成できたら、前節で述べたように @samp{C-cC-m} か
5118 @samp{C-cC-c} を利用してメッセージを送信して下さい。
5119 @end ifset
5120 @ifset en
5121 Once you are ready to send a multipart message, type @samp{C-cC-m} or
5122 @samp{C-c C-c} to send it as described the previous subsection.
5123 @end ifset
5124
5125 @ifset ja
5126 パートの実体が外部にある external-body を作成するコマンド @samp{e} につい
5127 て説明しましょう。access-type に ftp か anon-ftp を入力するときは、
5128 ange-ftp のおかげでリモートのファイル名が補完できます。access-type が
5129 local-file の場合は、もちろんファイル名を補完できます。
5130 @end ifset
5131 @ifset en
5132 Next is the explanation of the creation of a Message/External-body by
5133 pressing @samp{e}. If the access-type is "ftp" or "anon-ftp", you can
5134 take advantage of remote filename completion due to the existence of the
5135 native Emacs mode of ange-ftp. Of course file completion is available
5136 for the access-type of "local-file".
5137 @end ifset
5138
5139 @ifset ja
5140 もし、マルチパートの作成途中でやっぱりシングルパートに戻したくなったら、
5141 一番上のマルチパート部分で @samp{d} を押して下さい。
5142 @end ifset
5143 @ifset en
5144 If you want to abort creating multipart and to get back to singlepart,
5145 type @samp{d} in the top level of the multipart message.
5146 @end ifset
5147
5148 @c %%%%%%%%%%%%%%%%%
5149 @node charset-guess, longline, mime-comp, Composing
5150 @ifset ja
5151 @section 文字コードの決定
5152 @end ifset
5153 @ifset en
5154 @section Defining charset
5155 @end ifset
5156 @kindex I (Attach)
5157 @kindex C (Attach)
5158 @kindex C-x RET l
5159
5160 @ifset ja
5161 Mew はシングルパートとマルチパートの両方に対し、配送時の文字コードを決定
5162 する機能を持っています。
5163 @end ifset
5164 @ifset en
5165 Mew has a mechanism for determining the character set of the transfer
5166 form for both singlepart and multipart.
5167 @end ifset
5168
5169 @ifset ja
5170 <シングルパート>
5171 @end ifset
5172 @ifset en
5173 <Singlepart>
5174 @end ifset
5175
5176 @ifset ja
5177 Draft モードで @samp{C-cC-m} や @samp{C-cC-c} と入力しメッセージを作成す
5178 ると、Mew は本文の内部表現から配送時の文字コードを決定します。バイリンガ
5179 ル Emacs では、7 ビットの文字コードに対し US-ASCII を選び、8 ビットの文字
5180 コードに対し ISO-8859-1 を選択します。国際化 Emacs では、内部表現から
5181 Mew が定めた規則に従って、配送時の文字コードを決定します。
5182 @end ifset
5183 @ifset en
5184 When you type @samp{C-cC-m} or @samp{C-cC-c} to compose a message in
5185 Draft mode, Mew decides the character set of the transfer based on the
5186 internal representation of its body. On Bilingual Emacs, US-ASCII is
5187 chosen for 7bit character sets while ISO-8859-1 is selected for 8bit
5188 character sets. On Internationalized Emacs, the character set of the
5189 transfer form is chosen based on rules defined by Mew.
5190 @end ifset
5191
5192 @ifset ja
5193 <マルチパート>
5194 @end ifset
5195 @ifset en
5196 <Multipart>
5197 @end ifset
5198
5199 @ifset ja
5200 マルチパートの一部として添付するデータは、ファイルですからディスク上に存
5201 在します。そこで、メッセージの作成の際に、配送時の文字コードを決定するた
5202 めには、まず Emacs のバッファに取り込み、内部表現に直す必要があります。
5203 内部表現に直した後は、シングルパートと同様の方法で、配送時の文字コードを
5204 決定します。
5205 @end ifset
5206 @ifset en
5207 Since the data to be attached as a part of multipart is a file, it is
5208 stored on disk. Therefore, in order to determine its character set for
5209 the transfer form, it is necessary to load the file into an Emacs buffer
5210 converting it into internal representation. After that, Mew determines
5211 the character set of the transfer form for the file by the same method
5212 as singlepart.
5213 @end ifset
5214
5215 @ifset ja
5216 バイリンガル Emacs では、Mew はファイルをそのままの形式で読み込みます。
5217 ですから、7 ビットのファイルには US-ASCII が、8 ビットのファイルには
5218 ISO-8859-1 が選ばれます。
5219 @end ifset
5220 @ifset en
5221 On Bilingual Emacs, Mew reads a file as is. So if the file is 7bit,
5222 US-ASCII is chosen. Otherwise ISO-8859-1 is selected.
5223 @end ifset
5224
5225 @ifset ja
5226 国際化 Emacs では、Mew は環境(つまり auto conversion)に従って、文字コー
5227 ドを推測しながらファイルを読み込みます。国際化 Emacs でこの環境を決定す
5228 るコマンドは、@samp{C-x RET l} です。
5229 @end ifset
5230 @ifset en
5231 On Internationalized Emacs, Mew reads a file according to the local
5232 convention (i.e. auto conversion). The command to set a local convention
5233 is @samp{C-x RET l}.
5234 @end ifset
5235
5236 @ifset ja
5237 たとえば、日本語の環境では、国際化 Emacs は ISO-2022-JP、EUC-JP、そして、
5238 Shift_JIS を見事に推測し、日本語用の内部表現に変換してバッファに格納しま
5239 す。Mew はこの内部表現から、配送時の文字コードとして ISO-2022-JP を選択
5240 します。つまり、ファイルの文字コードが EUC-JP や Shift-JIS であっても、
5241 配送用の ISO-2022-JP に自動的に変換されます。そこでユーザは、添付するファ
5242 イルの文字コードを気にすることなしに、ファイルを添付可能です。
5243 @end ifset
5244 @ifset en
5245 For example, in Japan, ISO-2022-JP, EUC-JP, and Shift_JIS is readily
5246 guessed and stored in buffer as internal representations for
5247 Japanese. Mew chooses ISO-2022-JP as the character set of the transfer
5248 form from the internal representation. That is, even if the character
5249 set of the file is EUC-JP or Shift_JIS, it is automatically converted
5250 into ISO-2022-JP, which is the transfer form for Japanese. This means
5251 that you can attach a file without needing to pay attention to its
5252 character set.
5253 @end ifset
5254
5255 @ifset ja
5256 もし、ディスク上のファイルの coding-system を明示的に指定したいなら
5257 @samp{I} を使って下さい。これを入力文字コードと呼ぶことにします。また、
5258 配送時の coding-system を明示的に指示したいなら、@samp{C} を利用して下
5259 さい。
5260 @end ifset
5261 @ifset en
5262 If you want to specify the coding-system of a file to be attached, type
5263 @samp{I}. Let's call the character set "input character set". Also, if
5264 you want to specify the coding-system of the transfer form, use
5265 @samp{C}.
5266 @end ifset
5267
5268 @ifset ja
5269 文字コードの情報は、添付領域において、丸括弧の内側に表示されます。もし、
5270 配送時の文字コードが明示的に指定されていれば、それが表示されます。そうで
5271 なくて、入力文字コードが明示的に指定されていれば、それが "*" と共に表示
5272 されます。そうでなければ、"guess" と表示されます。
5273 @end ifset
5274 @ifset en
5275 Information regarding the character set is displayed in parentheses. If
5276 the character set of the transfer form is specified explicitly, it is
5277 displayed. Otherwise, if the input character set is specified, it is
5278 displayed with "*". Otherwise, "guess" is displayed.
5279 @end ifset
5280
5281 @ifset ja
5282 以下の例の見て下さい。パート 1 は、本文ですからあらかじめバッファ内にあり
5283 ます。"guess" と表示されていますから、配送時の文字コードを Mew が定めた
5284 規則に従って決定します。
5285 @end ifset
5286 @ifset en
5287 Let's look at the following example. Since part 1 is a body, it is
5288 stored in an Emacs buffer. Because "guess" is displayed, it is Mew that
5289 determines the character set of the transfer form according to the rules
5290 that Mew defines.
5291 @end ifset
5292
5293 @ifset ja
5294 パート 2 は、入力文字コードとして iso-8859-1 が指定されていますので、ファ
5295 イルの文字コードを iso-8859-1 であるとして読み込み、内部表現に変換します。
5296 配送時の文字コードは Mew が定めた規則に従って決定します。
5297 @end ifset
5298 @ifset en
5299 Since iso-8859-1 is specified as the input character set, Mew loads the
5300 file considering that its character set is iso-8859-1, and then converts
5301 it into internal representation. The character set of the transfer form
5302 is decided according to rules defined by Mew.
5303 @end ifset
5304
5305 @ifset ja
5306 パート 3 の入力文字コードは、この例だけからだと明示的に指定されているか
5307 分かりません。(しかし、ユーザ自身はは実際に指定したか分かっているはずで
5308 す。) とにかく、ファイルは内部表現に直され、配送時の文字コードに指定され
5309 ている EUC-JP に変換されます。
5310 @end ifset
5311 @ifset en
5312 The input character set in part 3 cannot be identified just from this
5313 example. (But a user certainly knows what it is since he actually
5314 specified it.) In any case, a file will be loaded and be converted into
5315 internal representation, then be converted into EUC-JP which is
5316 specified as the character set of the transfer form.
5317 @end ifset
5318
5319 @example
5320 ----------------------------- attachments -----------------------------
5321 Multipart/Mixed 1/
5322 1 Text/Plain(guess) CoverPage*
5323 2 Text/Plain(*iso-8859-1) text1
5324 B 3 Text/Plain(euc-jp) text2
5325 4 .
5326 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
5327 @end example
5328
5329 @ifset ja
5330 バイリンガル Emacs では @samp{C} と @samp{I} は利用できません。
5331 @end ifset
5332 @ifset en
5333 Note that both @samp{C} and @samp{I} are not available on Bilingual
5334 Emacs.
5335 @end ifset
5336
5337 @c %%%%%%%%%%%%%%%%%
5338 @node longline, reply, charset-guess, Composing
5339 @ifset ja
5340 @section 長い行の取り扱い
5341 @end ifset
5342 @ifset en
5343 @section Handling long lines
5344 @end ifset
5345 @vindex mew-use-format-flowed
5346 @vindex mew-flowed-fold-threshold
5347 @vindex mew-flowed-fold-length
5348 @vindex mew-flowed-auto-wrap
5349 @kindex C-cC-f (Draft)
5350 @kindex C-cC-pC-f (Draft)
5351 @kindex _ (Summary)
5352
5353 @ifset ja
5354 長い間、メッセージに書く文章は、自分自身で各行を(英文字で)70文字程度に
5355 折り返すべきだとされてきました。RFC 3676 で Text/Plain が拡張され、
5356 format パラメータに flowed という値が定義されました。
5357 @end ifset
5358 @ifset en
5359 For a long period, when you are writing a message, you should fold
5360 each line around 70 characters by yourself. RFC 3676 extended
5361 Text/Plain and defined "flowed" as a value of the "format" parameter.
5362 @end ifset
5363
5364 @ifset ja
5365 このおかげで、送り側で長い行を目印を付けて折り返し、受け取り側で長い行
5366 に戻せるようになりました。ユーザの目から見れば、メッセージに長い行を気
5367 軽に書いてもよくなったということです。
5368 @end ifset
5369 @ifset en
5370 Thanks to this, long lines can be automatically folded on a sender
5371 side while they can be unfolded on a receiver side. From the point of
5372 user view, you can write long lines casually.
5373 @end ifset
5374
5375 @ifset ja
5376 Mew で、長い行を flowed で折り返すには 2 つの方法があります。
5377 @end ifset
5378 @ifset en
5379 There are two ways to apply the flowed folding.
5380 @end ifset
5381
5382 @ifset ja
5383 1) 明示的に折り返すには、@samp{C-cC-f}を実行します。
5384 @end ifset
5385 @ifset en
5386 1) To apply the flowed folding explicitly, type @samp{C-cC-f}.
5387 @end ifset
5388
5389 @ifset ja
5390 このコマンドは、草稿に長い行があるかを調べます。
5391 @samp{mew-flowed-fold-threshold} を越える行が見つかったら、flowed で
5392 折り返しを実行します。この変数の値は 78 です。
5393 @end ifset
5394 @ifset en
5395 Then, Mew sees if long lines exist in a draft. If long lines whose
5396 length is over @samp{mew-flowed-fold-threshold} are found, Mew applies
5397 the @w{"}flowed" folding. This variable defaults to 78.
5398 @end ifset
5399
5400 @ifset ja
5401 折り返した行が、何文字以内になるかを制御する変数が
5402 @samp{mew-flowed-fold-length}です。初期値は 70 です。
5403 @end ifset
5404 @ifset en
5405 @samp{mew-flowed-fold-length} controls the max length of folded
5406 lines. Its initial value is 70.
5407 @end ifset
5408
5409 @ifset ja
5410 折り返す方法は、文字コードによって変わります。分かち書きをする文字コー
5411 ドでは、既存の空白文字の後に改行文字を入れて折り返します(delsp=no)。分
5412 かち書きをしない文字コードでは、適切な場所に空白文字と改行文字の両方を
5413 挿入して折り返します(delsp=yes)。
5414 @end ifset
5415 @ifset en
5416 Folding method is decided according to character set. If the language
5417 is separated by SPC, the new line characters are inserted after
5418 existing SPCs(delsp=no). Otherwise, pairs of SPC and the new line character
5419 are inserted in appropriate positions(delsp=yes).
5420 @end ifset
5421
5422 @ifset ja
5423 もう一度 @samp{C-cC-f} を実行すると、折り返された行が元に戻ります。
5424 @end ifset
5425 @ifset en
5426 If you type @samp{C-cC-f} again, the folded lines are unfolded.
5427 @end ifset
5428
5429 @ifset ja
5430 2) @samp{mew-use-format-flowed} が @samp{t} の場合は、@samp{C-cC-c}や
5431 @samp{C-cC-m}でメッセージを作成するときに、この機能が働きます。この変数
5432 の初期値は @samp{nil} です。
5433 @end ifset
5434 @ifset en
5435 2) If @samp{mew-use-format-flowed} is @samp{t}, this functionality is
5436 took into account automatically at composing with @samp{C-cC-c} or
5437 @samp{C-cC-m}. Its default value is @samp{nil}.
5438 @end ifset
5439
5440 @ifset ja
5441 3) @samp{C-cC-pC-f} で、@samp{mew-use-format-flowed} の値を反転できます。
5442 @end ifset
5443 @ifset en
5444 3) You can toggle the value of @samp{mew-use-format-flowed} by
5445 @samp{C-cC-pC-f}.
5446 @end ifset
5447
5448
5449 @ifset ja
5450 なお、メッセージを表示する際は、@samp{mew-use-format-flowed} の値に関係
5451 なく flowed で折り返された行は、元に戻されます。長い行が見にくい場合は、
5452 Summary モードで @samp{_} を利用しましょう。
5453 @end ifset
5454 @ifset en
5455 Note that folded lines with the "flowed" folding are always unfolded
5456 on viewing regardless of the value of @samp{mew-use-format-flowed}.
5457 If you feel it is hard to see long lines, use @samp{_} in Summary
5458 mode.
5459 @end ifset
5460
5461 @ifset ja
5462 @samp{mew-flowed-auto-wrap} が @samp{t} の場合、メッセージを表示すると、
5463 元に戻された行に一回 @samp{_} が実行され、折り返された状態で表示されま
5464 す。@samp{mew-flowed-auto-wrap} のデフォルトの値は @samp{t} です。
5465 @end ifset
5466 @ifset en
5467 If @samp{mew-flowed-auto-wrap} is @samp{t}, at visualizing a message,
5468 @samp{_} is automatically executed so as unfolded lines are folded.
5469 The default value of @samp{mew-flowed-auto-wrap} is @samp{t}.
5470 @end ifset
5471
5472 @c %%%%%%%%%%%%%%%%%
5473 @node reply, forward, longline, Composing
5474 @ifset ja
5475 @section メッセージへの返答と宛先の決定
5476 @end ifset
5477 @ifset en
5478 @section Replying to a message and deciding recipients
5479 @end ifset
5480 @vindex mew-mail-address-list
5481 @vindex mew-reply-all-alist
5482 @vindex mew-reply-sender-alist
5483 @vindex mew-reply-fromme-alist
5484 @kindex a (Summary)
5485 @kindex A (Summary)
5486 @kindex C-ua (Summary)
5487 @kindex C-uA (Summary)
5488
5489 @ifset ja
5490 新規にメッセージを書く場合は、To:、Cc:、および Newsgroups: を自分で書く
5491 ことになります。一方 Summary モードで @samp{a} や @samp{A} を使って、あ
5492 るメッセージに返答しようとすると、To:、Cc:、Newsgroups: は自動的に用意さ
5493 れます。
5494 @end ifset
5495 @ifset en
5496 As distinguished from the case of a new message, where the writer
5497 specifies the addresses of the To:, Cc: or Newsgroups: fields, in a
5498 reply message addresses are automatically generated.
5499 @end ifset
5500
5501 @ifset ja
5502 Summary モードで @samp{a} や @samp{A} を使うと、新しい草稿が Draft mode
5503 に用意されます。To:、Cc:、Newsgroups: の値は、以下の三つの alist に従っ
5504 て用意されます。
5505 @end ifset
5506 @ifset en
5507 When @samp{a} and @samp{A} is used in Summary mode, a new draft is
5508 prepared in Draft mode. Values of To:, Cc:, and Newsgroups: are prepared
5509 according to three alists.
5510 @end ifset
5511
5512 @enumerate
5513 @ifset ja
5514 @item
5515 もし @samp{C-u} 付きで呼び出された場合、送信者/投稿者のみに返答する。こ
5516 の場合、@samp{mew-reply-sender-alist} が利用される。
5517 @item
5518 もし対象が自分自身で送ったメッセージなら、そのヘッダを加工せずに返答した
5519 いのであろう。この場合、@samp{mew-reply-fromme-alist} が利用される。
5520 @item
5521 そうでなければ、すべての人に返答する。この場合、
5522 @samp{mew-reply-all-alist} が利用される。
5523 @end ifset
5524 @ifset en
5525 @item
5526 If called with @samp{C-u}, replying to the sender/poster only. In this
5527 case, @samp{mew-reply-sender-alist} is used.
5528 @item
5529 If this message is sent by ME, you probably intend to reply with the
5530 original header. In this case, @samp{mew-reply-fromme-alist} is used.
5531 @item
5532 Otherwise, replying to all people listed. In this case,
5533 @samp{mew-reply-all-alist} is used.
5534 @end ifset
5535 @end enumerate
5536
5537 @ifset ja
5538 @samp{mew-reply-sender-alist} の初期値は以下の通りです。
5539 @end ifset
5540 @ifset en
5541 The default value of @samp{mew-reply-sender-alist} is as follows:
5542 @end ifset
5543
5544 @lisp
5545 '(("Reply-To:"
5546 ("To:" "Reply-To:" "From:"))
5547 (t
5548 ("To:" "From:")))
5549 @end lisp
5550
5551 @ifset ja
5552 これは、次のように解釈します。
5553 @end ifset
5554 @ifset en
5555 This is read as follows:
5556 @end ifset
5557
5558 @enumerate
5559 @ifset ja
5560 @item
5561 Reply-To: が存在すれば、Reply-To: と From: の値を新しい To: へコピーする。
5562 @item
5563 そうでなければ、From: の値を新しい To: へコピーする。
5564 @end ifset
5565 @ifset en
5566 @item
5567 If Reply-To: exists, copy the values of Reply-To: and From: to new To:.
5568 @item
5569 Otherwise, copy the value of From: to To:.
5570 @end ifset
5571 @end enumerate
5572
5573 @ifset ja
5574 もし、Reply-To: で指定されたアドレスのみに返答したい場合は、
5575 @samp{mew-reply-sender-alist} を以下のように設定するとよいでしょう。
5576 @end ifset
5577 @ifset en
5578 If you would like to reply only to the address on Reply-To: (if any),
5579 set @samp{mew-reply-sender-alist} like this:
5580 @end ifset
5581
5582 @lisp
5583 (setq mew-reply-sender-alist
5584 '(("Reply-To:"
5585 ("To:" "Reply-To:"))
5586 (t
5587 ("To:" "From:"))))
5588 @end lisp
5589
5590 @ifset ja
5591 @samp{mew-reply-fromme-alist} の初期値は以下の通りです。
5592 @end ifset
5593 @ifset en
5594 The default value of @samp{mew-reply-fromme-alist} is as follows:
5595 @end ifset
5596
5597 @lisp
5598 '((t
5599 ("To:" "To:")
5600 ("Cc:" "Cc:")
5601 ("Newsgroups:" "Newsgroups:"))))
5602 @end lisp
5603
5604 @ifset ja
5605 これは、次のように解釈します。
5606 @end ifset
5607 @ifset en
5608 This is read as follows:
5609 @end ifset
5610
5611 @enumerate
5612 @item
5613 @ifset ja
5614 To: の値を新しい To: へ、
5615 Cc: の値を新しい Cc: へ、
5616 Newsgroups: の値を新しい Newsgroups: へコピーする。
5617 @end ifset
5618 @ifset en
5619 Copying the value of To: to new To: and
5620 copying the value of Cc: to new Cc: and
5621 copying the value of Newsgroups: to new Newsgroups:.
5622 @end ifset
5623 @end enumerate
5624
5625 @ifset ja
5626 @samp{mew-reply-all-alist} の初期値は以下の通りです。
5627 @end ifset
5628 @ifset en
5629 The default value of @samp{mew-reply-all-alist} is as follows:
5630 @end ifset
5631
5632 @lisp
5633 '((("Followup-To:" "poster")
5634 ("To:" "From:"))
5635 ("Followup-To:"
5636 ("Newsgroups:" "Followup-To:" "Newsgroups:"))
5637 ("Newsgroups:"
5638 ("Newsgroups:" "Newsgroups:"))
5639 ("Reply-To:"
5640 ("To:" "Reply-To:" "From:")
5641 ("Cc:" "To:" "Cc:" "Apparently-To:"))
5642 (t
5643 ("To:" "From:")
5644 ("Cc:" "To:" "Cc:" "Apparently-To:")))
5645 @end lisp
5646
5647 @ifset ja
5648 これは、次のように解釈します。
5649 @end ifset
5650 @ifset en
5651 This is read as follows:
5652 @end ifset
5653
5654 @enumerate
5655 @ifset ja
5656 @item
5657 Follwup-To: の値が "poster" であれば、From: の値を新しい To: へコピーす
5658 る。
5659 @item
5660 Follwup-To: が存在すれば、Follwup-To: と Newsgroups: の値を新しい
5661 Newsgroups: へコピーする。
5662 @item
5663 Newsgroups: が存在すれば、Newsgroups: の値を新しい Newsgroups: へコピー
5664 する。
5665 @item
5666 Reply-To: が存在すれば、Reply-To: と From: の値を新しい To: へコピーする。
5667 また、To:、Cc:、Apparently-To: の値を新しい Cc: へコピーする。
5668 @item
5669 そうでなければ、From: の値を新しい To: へコピーする。また、To:、Cc:、
5670 Apparently-To: の値を新しい Cc: へコピーする。
5671 @end ifset
5672 @ifset en
5673 @item
5674 If the value of Followup-To: is "poster", copying the value of From: to
5675 new To:.
5676 @item
5677 If Followup-To: exists, copying the values of Followup-To: and
5678 Newsgroups: to new Newsgroups:.
5679 @item
5680 If Newsgroups: exists, copying the value of Newsgroups: to Newsgroups:.
5681 @item
5682 If Reply-To: exists, copying the values of Reply-To: and From: to new
5683 To:. And copying the values of To:, Cc:, and Apparently-To: to new Cc:.
5684 @item
5685 Otherwise, copying the value of From: to new To:. And copying the values
5686 of To:, Cc:, and Apparently-To: to new Cc:.
5687 @end ifset
5688 @end enumerate
5689
5690 @ifset ja
5691 @samp{mew-reply-all-alist} を以下のように設定したいと思う人もいるかもし
5692 れません。
5693 @end ifset
5694 @ifset en
5695 You may want to set @samp{mew-reply-all-alist} like this:
5696 @end ifset
5697
5698 @lisp
5699 (setq mew-reply-all-alist
5700 '((("Followup-To:" "poster")
5701 ("To:" "From:"))
5702 ("Followup-To:"
5703 ("Newsgroups:" "Followup-To:"))
5704 ("Newsgroups:"
5705 ("Newsgroups:" "Newsgroups:"))
5706 ("Reply-To:"
5707 ("To:" "Reply-To:"))
5708 (t
5709 ("To:" "From:")
5710 ("Cc:" "To:" "Cc:" "Apparently-To:"))))
5711 @end lisp
5712
5713 @ifset ja
5714 あるアドレスが複数ある場合は、自動的に 1 つになります。また、匿名の宛先
5715 を表す ":;" で終るアドレスも、自動的に消去されます。
5716 @end ifset
5717 @ifset en
5718 If there are multiple entries for a certain address, they are
5719 unified. Addresses ending with ":;", which indicates anonymous
5720 recipients, are automatically removed.
5721 @end ifset
5722
5723 @ifset ja
5724 自分のアドレスは自動的に消去されます。自分のアドレスは、
5725 @samp{mew-config-alist} などから @samp{mew-mail-address-list} に自動設定
5726 されます。この値が気に入らないなら、以下のように明示的に設定することも可
5727 能です。
5728 @end ifset
5729 @ifset en
5730 Your addresses are automatically removed. Your addresses are
5731 automatically defined to @samp{mew-mail-address-list} according to, for
5732 example, @samp{mew-config-alist}. If you dislike this value, you
5733 can also explicitly set it like this:
5734 @end ifset
5735
5736 @lisp
5737 (setq mew-mail-address-list
5738 '("^pooh@@[a-z]*.example.org$"
5739 "^pooh@@example.net$"
5740 "^winnie@@example.jp$"))
5741 @end lisp
5742
5743 @c %%%%%%%%%%%%%%%%%
5744 @node forward, resend, reply, Composing
5745 @ifset ja
5746 @section メッセージの転送
5747 @end ifset
5748 @ifset en
5749 @section Forwarding messages
5750 @end ifset
5751 @vindex mew-field-delete-for-forwarding
5752 @kindex f (Summary)
5753 @kindex F (Summary)
5754
5755 @ifset ja
5756 メッセージを転送するには、Summary モードで @samp{f} や @samp{F} を利用し
5757 ます。すると、Draft モードに移行し、あらかじめメッセージが添付領域に添付
5758 された草稿が準備されます。
5759 @end ifset
5760 @ifset en
5761 To forward messages, type @samp{f} or @samp{F} in Summary mode. Then
5762 Draft mode appears and the messages are already attached in the
5763 attachments region.
5764 @end ifset
5765
5766 @ifset ja
5767 また Draft モードで添付領域を用意し、メッセージをコピー(@samp{c})したり
5768 メッセージにリンク(@samp{l})を張ったりしても、メッセージを転送できます。
5769 ファイル名が数字([0-9]+)の場合は、自動的にメッセージだと判断されます。ま
5770 た、添付領域で @samp{y} を使うと、Message モードに表示しているメッセージ
5771 にリンクを張るので便利です。
5772 @end ifset
5773 @ifset en
5774 Also, you can prepare the attachments region by yourself, then copy
5775 (@samp{c}) the messages or make links (@samp{l}) to the messages. If
5776 the file names of the messages are numeric ([0-9]+), they are
5777 automatically considered as messages. @samp{y} is very convenient
5778 because it make a link to the message displayed in Message mode.
5779 @end ifset
5780
5781 @ifset ja
5782 通常は添付したメッセージの全体が転送されます。もし、ヘッダの一部を削りた
5783 い場合は、@samp{mew-field-delete-for-forwarding} を定義して下さい。以下
5784 に @w{"}Received:" と "Return-Path:" を転送時に削るための設定例を示します。
5785 @end ifset
5786 @ifset en
5787 By default, the entire message is forwarded. If you want to remove some
5788 parts of its header, define @samp{mew-field-delete-for-forwarding}. The
5789 following is an example to remove "Received:" and "Return-Path:" when
5790 forwarded.
5791 @end ifset
5792
5793 @lisp
5794 (setq mew-field-delete-for-forwarding '("Received:" "Return-Path:"))
5795 @end lisp
5796
5797 @c %%%%%%%%%%%%%%%%%
5798 @node resend, shortcut, forward, Composing
5799 @ifset ja
5800 @section メッセージの再送
5801 @end ifset
5802 @ifset en
5803 @section Re-sending messages
5804 @end ifset
5805 @kindex r (Summary)
5806 @kindex W (Summary)
5807 @kindex C-cC-c (Header)
5808 @kindex C-cC-m (Header)
5809
5810 @ifset ja
5811 メッセージのヘッダの一部のみを変更して、送信したい場合があります。
5812 @end ifset
5813 @ifset en
5814 You may occasionally wish to send messages modifying the header of a
5815 message.
5816 @end ifset
5817
5818 @ifset ja
5819 たとえば、同じ内容のメッセージを、複数の宛先に独立して送りたい場合です。
5820 pooh 宛のメッセージを作成して、+queue に入れ、すぐさまそのメッセージをコ
5821 ピーし、宛先だけを piglet に変更したい場合を想像して下さい。これを、メッ
5822 セージの再利用による送信と呼びましょう。
5823 @end ifset
5824 @ifset en
5825 For instance, you may want to send a message with the same body to
5826 multiple receivers independently. Please imagine the case where you put
5827 a created message destined to Pooh in +queue and then you wish to send
5828 an another message to Piglet by copying it and modifying its header.
5829 Let's call this recycle sending.
5830 @end ifset
5831
5832 @ifset ja
5833 また、メッセージに Resent-To: というフィールドを付けて再送したいこともあ
5834 ります。これは、転送の一種です。こちらはヘッダだけ書き直すので、ヘッダ変
5835 換といいます。前節で説明した転送は、メッセージを新規のメッセージに包み込
5836 んで転送するため、カプセル化と呼ばれています。
5837 @end ifset
5838 @ifset en
5839 Also, you occasionally wish to send a message adding the Resent-To:
5840 field to a target message. This is a kind of forwarding. This is called
5841 header conversion because a message header is modified. The forwarding
5842 described the previous subsection is called encapsulation because a
5843 message is embedded into another new message.
5844 @end ifset
5845
5846 @ifset ja
5847 ヘッダの一部だけを編集し、メッセージを送信したり、キューに入れたりするモー
5848 ドとして、Header モードが用意されています。本文が編集できない Draft モー
5849 ドだと思えばいいでしょう。
5850 @end ifset
5851 @ifset en
5852 Header mode exists for this reason, modifying a part of the header,
5853 sending/queuing the created message. You can think this is a kind of
5854 Draft mode which prohibits modifications of its body.
5855 @end ifset
5856
5857 @ifset ja
5858 Header モードに入るために、Summary モードには以下のコマンドが用意されて
5859 います。
5860 @end ifset
5861 @ifset en
5862 The following commands are provided in Summary mode to enter Header
5863 mode.
5864 @end ifset
5865
5866 @table @samp
5867 @ifset ja
5868 @item W
5869 メッセージの再利用による送信。対象となるメッセージの To:、Cc:、From: な
5870 どを書き換えるために、Header モードに移行する。典型的には、+queue または
5871 +postq に入っているメッセージに対して利用する。
5872 @item r
5873 メッセージの再送。対象となるメッセージのヘッダに、Resent-To:、Resent-Cc:、
5874 Resent-From: などを追加するために、Header モードに移行する。再送によるメッ
5875 セージの転送は、受信者を混乱させることがあるので、よく考えてから利用する
5876 こと。
5877 @end ifset
5878 @ifset en
5879 @item W
5880 Recycle sending. Enter Header mode in order to modify To:, Cc:, From: of
5881 a target message. Typical usage is for messages in +queue or +postq.
5882 @item r
5883 Re-sending. Enter Header mode in order to add Resent-To:, Resent-Cc:,
5884 Resent-From: of a target message. Re-sending may confuse receivers, so
5885 you should think carefully before using it.
5886 @end ifset
5887 @end table
5888
5889 @ifset ja
5890 Header モードでは、Draft モードのように、補完や循環的な補完が利用できま
5891 す。ヘッダの入力が終わったら、以下のどちらかのコマンドを用いて、メッセー
5892 ジを送信して下さい。本文が表示されていないので不安かもしれませんが、ちゃ
5893 んと対象となっているメッセージの本文とヘッダの一部が再利用されます。
5894 @end ifset
5895 @ifset en
5896 In Header mode, you can make use of completion and circular completion
5897 like in Draft mode. When you are finished inputting the header, send the
5898 message using one of the following commands. You may be concerned
5899 because the body of the message is not displayed in your new
5900 message. But you need not worry, since the body and a part of the target
5901 message is certainly used.
5902 @end ifset
5903
5904 @table @samp
5905 @ifset ja
5906 @item C-cC-m
5907 メッセージを作成し +queue または +postq に入れ、送信待ち状態にする。
5908 @item C-cC-c
5909 メッセージを作成し送信する。"Really send this message? (y or n) " と訊か
5910 れる。@samp{y} を押せば送信される。
5911 @end ifset
5912 @ifset en
5913 @item C-cC-m
5914 Compose a message, put it into +queue or +postq, and let it be waiting
5915 to be sent.
5916 @item C-cC-c
5917 Compose a message and send it. You are asked, "Really send this message?
5918 (y or n) ". Type @samp{y} to send it.
5919 @end ifset
5920 @end table
5921
5922 @c %%%%%%%%%%%%%%%%%
5923 @node shortcut, mark-b-comp, resend, Composing
5924 @ifset ja
5925 @section 電子署名/暗号メールを作成する
5926 @end ifset
5927 @ifset en
5928 @section Creating signature or cipher message
5929 @end ifset
5930 @vindex mew-draft-privacy-method
5931 @vindex mew-protect-privacy-always
5932 @vindex mew-protect-privacy-always-type
5933 @vindex mew-protect-privacy-encrypted
5934 @vindex mew-protect-privacy-encrypted-type
5935 @vindex mew-use-old-pgp
5936 @vindex mew-protect-privacy-with-old-pgp-signature
5937 @kindex C-cC-s (Draft)
5938 @kindex C-cC-e (Draft)
5939 @kindex C-cC-b (Draft)
5940 @kindex C-cC-r (Draft)
5941 @kindex C-cC-pC-m (Draft)
5942 @kindex C-cC-pC-a (Draft)
5943 @kindex C-cC-pC-e (Draft)
5944
5945 @ifset ja
5946 ここでは、テキストである本文を PGP や S/MIME で署名したり暗号化したりす
5947 る方法について説明します。紹介するコマンドは以下の通りです。
5948 @end ifset
5949 @ifset en
5950 This section explains the method for signing or encrypting "text only"
5951 messages with PGP or S/MIME. The following commands are explained.
5952 @end ifset
5953
5954 @table @samp
5955 @ifset ja
5956 @item C-cC-s
5957 草稿全体を署名する。パスフレーズを入力すること。
5958 @item C-cC-e
5959 草稿全体を暗号化する。
5960 @item C-cC-b
5961 草稿全体を署名後暗号化する。パスフレーズを入力すること。
5962 @item C-cC-r
5963 草稿全体を暗号化後署名する。パスフレーズを入力すること。
5964 @end ifset
5965 @ifset en
5966 @item C-cC-s
5967 Sign the entire draft. Input your pass-phrase.
5968 @item C-cC-e
5969 Encrypt the entire draft.
5970 @item C-cC-b
5971 Sign, and then encrypt the entire draft. Input your pass-phrase.
5972 @item C-cC-r
5973 Encrypt, and then sign the entire draft. Input your pass-phrase.
5974 @end ifset
5975 @end table
5976
5977 @ifset ja
5978 メッセージを暗号化するには受信者の公開鍵を使用します。逆に署名するには
5979 自分の秘密鍵を使います。よって、署名するためにはパスフレーズを入力する
5980 必要があります。ただし、パスフレーズの保存機能やマスターパスワードを使っ
5981 ており、パスフレーズが保存されている場合は、パスフレーズを入力する必要
5982 はありません(@xref{password})。
5983 @end ifset
5984 @ifset en
5985 To encrypt a message, receivers' public keys are used. On the other
5986 hand, your secret key is used to sign a message, and so you need to
5987 input your pass-phrase when applying the signature. Note that if you
5988 are using the pass-phrase cache or the master password mechanism and
5989 there are pass-phrases presently cached, you do not have to type your
5990 pass-phrase (@pxref{password}).
5991 @end ifset
5992
5993 @ifset ja
5994 これらのコマンドは、通常 PGP/MIME を作成します。S/MIME を作成したい場合
5995 は、以下のように設定して下さい。
5996 @end ifset
5997 @ifset en
5998 These commands create a PGP/MIME message by default. If you want to
5999 use S/MIME, configure as follows:
6000 @end ifset
6001
6002 @lisp
6003 (setq mew-draft-privacy-method 'smime)
6004 @end lisp
6005
6006 @ifset ja
6007 この変数の値は、Draft モードの @samp{C-cC-pC-m} でも変更できます。
6008 @end ifset
6009 @ifset en
6010 You can change this variable with @samp{C-cC-pC-m} in Draft mode.
6011 @end ifset
6012
6013 @ifset ja
6014 上記4つのコマンドは、次節で説明するマークを使った作成方法の省略方法に当
6015 たります。
6016 @end ifset
6017 @ifset en
6018 We can consider that these four commands above are shortcut methods of
6019 mark based composing described in the next section.
6020 @end ifset
6021
6022 @ifset ja
6023 メッセージに署名を施すには、@samp{C-cC-s} と入力します。署名の際には、自
6024 分の秘密鍵を復号化する必要がありますので、パスフレーズがキャッシュされて
6025 いなければ、入力を促されます。署名が施されたメッセージは、+queue または
6026 +postq に格納されます。
6027 @end ifset
6028 @ifset en
6029 To sign a message, type @samp{C-cC-s}. When signing, because your secret
6030 key is needed to be decrypted, you may be asked for your pass-phrase if
6031 it is not cached. Created messages are stored in +queue or +postq.
6032 @end ifset
6033
6034 @ifset ja
6035 自分の秘密鍵は、From: にあるアドレスを元に特定されます。From: がない場
6036 合は、デフォルトの秘密鍵が選択されます。From: にあるアドレスとは違うア
6037 ドレスで秘密鍵を指定したい場合は、@samp{C-uC-cC-s} と入力して下さい。
6038 @end ifset
6039 @ifset en
6040 Your secret key is identified in From: address. If From: does not
6041 exist, your default secret key is selected. When you want to specify a
6042 secret key that is not identified the address of From:, type
6043 @samp{C-uC-cC-s}.
6044
6045 @end ifset
6046
6047 @ifset ja
6048 メッセージを暗号化するには、@samp{C-cC-e} とタイプして下さい。To: や Cc:
6049 からアドレスを切り出して、その受信者が復号化できるよう暗号化します。暗号
6050 化するだけのなので、パスフレーズを訊かれることはありません。作成されたメッ
6051 セージは、+queue に格納されます。
6052 @end ifset
6053 @ifset en
6054 To encrypt a message, type @samp{C-cC-e}. A message is encrypted with
6055 public keys identified with the addresses on To: and Cc:. Since this is
6056 encryption only, you are not asked for your pass-phrase. Created cipher
6057 messages are stored in +queue.
6058 @end ifset
6059
6060 @ifset ja
6061 このメッセージは、受信者の公開鍵に加えて、自分の公開鍵でも暗号化されてい
6062 ます。ですから、作成したメッセージを復号化できます。たとえば、@samp{g}
6063 で +queue に移動し、念のため復号化して確認することが可能です。
6064 @end ifset
6065 @ifset en
6066 This message is encrypted with your public key in addition to those of
6067 the receivers. Therefore you can decrypt created messages. For example,
6068 you can go to +queue by @samp{g} and preview a created message to
6069 reconfirm this.
6070 @end ifset
6071
6072 @ifset ja
6073 署名後暗号化するには、@samp{C-cC-b} と入力します。暗号化後署名するには、
6074 @samp{C-cC-r} とタイプします。どちらの場合も作成されたメッセージは、
6075 +queue に蓄えられます。
6076 @end ifset
6077 @ifset en
6078 To sign a draft and then encrypt it, type @samp{C-cC-b}. To encrypt a
6079 draft and then sign it, type @samp{C-cC-r}. In both cases, created
6080 messages are stored in +queue.
6081 @end ifset
6082
6083 @ifset ja
6084 署名を施したり、暗号化したりしてメッセージを送ろうと思っていても、うっ
6085 かり忘れることがあります。これを防ぐために、メッセージを作成するコマン
6086 ド @samp{C-cC-m} や @samp{C-cC-c} を実行すると、自動的に署名や暗号化を
6087 施す機能があります。
6088 @end ifset
6089 @ifset en
6090 It is very likely that you will forget to sign and/or encrypt a draft
6091 even if you intended to do so. To prevent this, Mew provides an
6092 mechanism to automatically sign or encrypt a message when
6093 @samp{C-cC-m} or @samp{C-cC-c} is typed.
6094 @end ifset
6095
6096 @ifset ja
6097 作成するすべてのメッセージのプライバシを保護したいなら、
6098 @samp{mew-protect-privacy-always} を @samp{t} にして、
6099 @samp{mew-protect-privacy-always-type} に利用したいサービスを設定します。
6100 @end ifset
6101 @ifset en
6102 If you want to protect privacy of all drafts, set
6103 @samp{mew-protect-privacy-always} to @samp{t} and set
6104 @samp{mew-protect-privacy-always-type} to one of services.
6105 @end ifset
6106
6107 @ifset ja
6108 暗号化されたメッセージに対する返答メッセージのプライバシを保護したいなら、
6109 @samp{mew-protect-privacy-encrypted} を @samp{t} にして、
6110 @samp{mew-protect-privacy-encrypted-type} に利用したいサービスを設定しま
6111 す。この設定は、暗号化されたメッセージへの返答する場合、上記のすべてのメー
6112 ルに対する設定よりも優先されます。
6113 @end ifset
6114 @ifset en
6115 If you want to protect the privacy of drafts when replying encrypted
6116 messages, set @samp{mew-protect-privacy-encrypted} to @samp{t} and set
6117 @samp{mew-protect-privacy-encrypted-type} to one of the services.
6118 This configuration is preferred to the configuration for all drafts
6119 described above in the case of replying encrypted messages.
6120 @end ifset
6121
6122 @ifset ja
6123 以下に利用できるサービスを示します。かっこ内はそれぞれのサービスを表すシ
6124 ンボルです。@samp{C-cC-m} や @samp{C-cC-c} と入力する際に利用されるサー
6125 ビスは、モードラインに表示されます。
6126 @end ifset
6127 @ifset en
6128 The following services are available. The strings enclosed in braces are
6129 the symbols for each service. The service applied when typing
6130 @samp{C-cC-m} or @samp{C-cC-c} is displayed in the mode line.
6131 @end ifset
6132
6133 @table @asis
6134 @ifset ja
6135 @item pgp-signature (PS)
6136 PGP で署名
6137 @item pgp-encryption (PE)
6138 PGP で暗号化
6139 @item pgp-signature-encryption (PSPE)
6140 PGP で署名後暗号化
6141 @item pgp-encryption-signature (PEPS)
6142 PGP で暗号化後署名
6143 @item smime-signature (SS)
6144 S/MIME で署名
6145 @item smime-encryption (SE)
6146 S/MIME で暗号化
6147 @item smime-signature-encryption (SSSE)
6148 S/MIME で署名後暗号化
6149 @item smime-encryption-signature (SESS)
6150 S/MIME で暗号化後署名
6151 @end ifset
6152 @ifset en
6153 @item pgp-signature (PS)
6154 Sign with PGP
6155 @item pgp-encryption (PE)
6156 Encrypt with PGP
6157 @item pgp-signature-encryption (PSPE)
6158 Sign then encrypt with PGP
6159 @item pgp-encryption-signature (PEPS)
6160 Encrypt then sign with PGP
6161 @item pgp-signature (SS)
6162 Sign with S/MIME
6163 @item pgp-encryption (sE)
6164 Encrypt with S/MIME
6165 @item pgp-signature-encryption (SSSE)
6166 Sign then encrypt with S/MIME
6167 @item pgp-encryption-signature (SESS)
6168 Encrypt then sign with S/MIME
6169 @end ifset
6170 @end table
6171
6172 @ifset ja
6173 以下の例は、すべてのメッセージに対し署名する設定です。
6174 @end ifset
6175 @ifset en
6176 The following example works for signing all drafts.
6177 @end ifset
6178
6179 @lisp
6180 (setq mew-protect-privacy-always t)
6181 (setq mew-protect-privacy-always-type 'pgp-signature)
6182 @end lisp
6183
6184 @ifset ja
6185 以下の例は、暗号化されたメッセージへの返答メッセージに対し、PGP で暗号
6186 化する設定です。
6187 @end ifset
6188 @ifset en
6189 The following example is for encrypting drafts with PGP when replying
6190 encrypted messages.
6191 @end ifset
6192
6193 @lisp
6194 (setq mew-protect-privacy-encrypted t)
6195 (setq mew-protect-privacy-encrypted-type 'pgp-encryption)
6196 @end lisp
6197
6198 @ifset ja
6199 Draft モードでは、@samp{C-cC-pC-a} で @samp{mew-protect-privacy-always}、
6200 @samp{C-cC-pC-e} で @samp{mew-protect-privacy-encrypted} の値を反転でき
6201 ます。
6202 @end ifset
6203 @ifset en
6204 In Draft mode, @samp{C-cC-pC-a} toggles
6205 @samp{mew-protect-privacy-always} and @samp{C-cC-pC-e} toggles
6206 @samp{mew-protect-privacy-encrypted}.
6207 @end ifset
6208
6209 @ifset ja
6210 Draft モードにおいて現在書いている草稿に対してのみあらかじめサービスを指定
6211 しておき、送信時にサービスを施すことを忘れないようにできます。現在の草稿
6212 に対し @samp{C-cC-m} や @samp{C-cC-c} で施されるサービスを指定するには、
6213 @samp{C-cC-pC-d} に続いて上記のサービスの 1 つを入力して下さい。現在のサー
6214 ビスをキャンセルするには、サービス名の代りに単に @samp{RET} を押して下さ
6215 い。
6216 @end ifset
6217 @ifset en
6218 You can specify privacy services for the current draft in Draft mode
6219 beforehand so that you do not forget to apply the privacy services when
6220 sending. To set privacy services to the current draft evaluated when
6221 typing @samp{C-cC-m} or @samp{C-cC-c}, type @samp{C-cC-pC-d}, and then
6222 input one of privacy services listed above. To cancel the current
6223 privacy service, just type @samp{RET} instead of selecting the privacy
6224 service.
6225 @end ifset
6226
6227 @ifset ja
6228 @samp{C-cC-c} や @samp{C-cC-m} でメッセージを作成する際、署名や暗号化に
6229 失敗したら、草稿に戻ります。このとき指定していたサービスはキャンセルされ
6230 ます。続けて @samp{C-cC-c} や @samp{C-cC-m} でメッセージを作成すると、普
6231 通のメッセージが作成されるので気をつけて下さい。問題を取り除いた後、同じ
6232 サービスを望むなら、明示的に @samp{C-cC-pC-d} でサービスを指定するか、
6233 @samp{C-cC-s}、@samp{C-cC-e} などを用いて下さい。
6234 @end ifset
6235 @ifset en
6236 When you compose a message by @samp{C-cC-c} or @samp{C-cC-m}, and if
6237 signing and/or encryption fails, the cursor gets back to the draft. At
6238 this time, the service that you specified is canceled. If you type
6239 @samp{C-cC-c} or @samp{C-cC-m} in this situation, a plain message is
6240 created, so please be careful. After correcting the cause of the
6241 failure, if you want the same service, type @samp{C-cC-pC-d} to specify
6242 your service explicitly or use @samp{C-cC-s}, @samp{C-cC-e}, etc.
6243 @end ifset
6244
6245
6246 @ifset ja
6247 @samp{mew-use-old-pgp} を @samp{t} に設定すれば(初期値は @samp{nil})、
6248 @samp{C-cC-s} や @samp{C-cC-e} は PGP/MIME の代りに、古い PGP の書式に従っ
6249 てメッセージを生成します。添付領域がある場合は、エラーになります。
6250 @end ifset
6251 @ifset en
6252 If @samp{mew-use-old-pgp} is set to @samp{t} (the default value is
6253 @samp{nil}), @samp{C-cC-s} and @samp{C-cC-e}, etc create old fashioned
6254 PGP message instead of PGP/MIME. If the attachment region exists, an
6255 error occurs.
6256 @end ifset
6257
6258 @ifset ja
6259 上記で説明した @samp{mew-protect-privacy-*} は、PGP/MIME のみに有効であ
6260 り、古い PGP には機能しません。@samp{C-cC-m} や @samp{C-cC-c} で常に
6261 古い PGP の署名を施すには、@samp{mew-protect-privacy-with-old-pgp-signature}
6262 を @samp{t} にして下さい。
6263 @end ifset
6264 @ifset en
6265 @samp{mew-protect-privacy-*} described above are effective only to
6266 PGP/MIME, not to old PGP. If you want to create old PGP signature with
6267 @samp{C-cC-m} or @samp{C-cC-c} always, set
6268 @samp{mew-protect-privacy-with-old-pgp-signature} to @samp{t}.
6269 @end ifset
6270
6271 @ifset ja
6272 PGP/MIME や S/MIME のために Mew は GnuPG 1.x と 2.0 をサポートしていますが、
6273 2.1 はサポートしていません。
6274 @end ifset
6275 @ifset en
6276 For PGP/MIME and S/MIME, Mew supports GnuPG 1.x and 2.0, not 2.1.
6277 @end ifset
6278
6279 @c %%%%%%%%%%%%%%%%%
6280 @node mark-b-comp, pgp-key, shortcut, Composing
6281 @ifset ja
6282 @section マークを使った電子署名/暗号メールの作成
6283 @end ifset
6284 @ifset en
6285 @section Mark based composer
6286 @end ifset
6287 @kindex B (Attach)
6288 @kindex Q (Attach)
6289 @kindex G (Attach)
6290 @kindex S (Attach)
6291 @kindex E (Attach)
6292 @kindex Z (Attach)
6293 @kindex M-s (Attach)
6294 @kindex M-e (Attach)
6295 @kindex U (Attach)
6296
6297 @ifset ja
6298 PGP/MIME、S/MIME、および ZIP をサポートするために、マークを使った作成方
6299 法が提供されています。以前の例を思い出してみましょう。
6300 @end ifset
6301 @ifset en
6302 To support PGP/MIME, S/MIME and ZIP, mark based composing is
6303 provided. Remember the previous example.
6304 @end ifset
6305
6306 @ifset ja
6307 @example
6308 ----------------------------- attachments -----------------------------
6309 Multipart/Mixed 1/
6310 1 Text/Plain(guess) CoverPage*
6311 B 2 Image/Gif MagicPoint のロゴ mgp.gif
6312 Q 3 Application/Postscript 資料 ohp.ps
6313 4 .
6314 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
6315 @end example
6316 @end ifset
6317 @ifset en
6318 @example
6319 ----------------------------- attachments -----------------------------
6320 Multipart/Mixed 1/
6321 1 Text/Plain(guess) CoverPage*
6322 B 2 Image/Gif MagicPoint logo mgp.gif
6323 Q 3 Application/Postscript Presentation Material ohp.ps
6324 4 .
6325 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
6326 @end example
6327 @end ifset
6328
6329 @ifset ja
6330 行頭に @samp{B} や @samp{Q} といったマークがあります。このマークは符号
6331 化を意味しています。Mew では、新しい概念「符号化」を導入しています。符
6332 号化には、Base64、Quoted-Printable、Gzip64 (Gzip + Base64)、署名、暗号
6333 化などがあります。
6334 @end ifset
6335 @ifset en
6336 You can find the @samp{B} mark and the @samp{Q} mark at the beginning of
6337 the line. Mew provides you with a new concept of "encoding". Encoding
6338 includes Base64, Quoted-Printable, Gzip64 (Gzip + Base64), signature,
6339 encryption.
6340 @end ifset
6341
6342 @ifset ja
6343 現在次の 8 つのマークがサポートされています。
6344 @end ifset
6345 @ifset en
6346 At present, 8 marks are prepared.
6347 @end ifset
6348
6349 @table @samp
6350 @ifset ja
6351 @item " "
6352 符号化しない。ただし、8 ビットのテキストは符号化されるかもしれない。
6353 @item B
6354 Base64
6355 @item Q
6356 Quoted-Printable
6357 @item G
6358 Gzip64(gzip 圧縮し Base64 で符号化する。Mew が実験的に採用している。相手
6359 が Mew を使っていない場合は、使用すべきではない。)
6360 @item PS
6361 PGP で電子署名。
6362 @item PE
6363 PGP で暗号化。
6364 @item SS
6365 S/MIME で電子署名。
6366 @item SE
6367 S/MIME で暗号化。
6368 @end ifset
6369 @ifset en
6370 @item " "
6371 No encoding. But 8bit text would be encoded.
6372 @item B
6373 Base64
6374 @item Q
6375 Quoted-Printable
6376 @item G
6377 Gzip64 (compressed with gzip then encoded with Base64. This is
6378 experimental. Do not use this if receivers do not use Mew.)
6379 @item PS
6380 Sign with PGP
6381 @item PE
6382 Encrypt with PGP
6383 @item SS
6384 Sign with S/MIME
6385 @item SE
6386 Encrypt with S/MIME
6387 @end ifset
6388 @end table
6389
6390 @ifset ja
6391 添付領域でのマークに関係する新しいキー割当は以下の通りです。
6392 @end ifset
6393 @ifset en
6394 Additional key binding for marks in attachments is as follows:
6395 @end ifset
6396
6397 @table @samp
6398 @ifset ja
6399 @item B
6400 Base64 で符号化するため @samp{B} マークを付ける。
6401 @item Q
6402 Quoted-Printable で符号化するため @samp{Q} マークを付ける。
6403 @item G
6404 Gzip64 で符号化するため @samp{G} マークを付ける。ただし、Text/Plain と
6405 Application/Postscript でしか実行できない。これ以外の型には圧縮は無意味
6406 である。なぜなら、jpeg などはあらかじめ圧縮されているから。
6407 @item S
6408 PGP で署名するため @samp{PS} マークを付ける。
6409 @item E
6410 PGP で暗号化するため @samp{PE} マークを付ける。受信者のアドレスを入力す
6411 る。
6412 @item M-s
6413 S/MIME で署名するため @samp{SS} マークを付ける。
6414 @item M-e
6415 S/MIME で暗号化するため @samp{SE} マークを付ける。受信者のアドレスを入
6416 力する。
6417 @item Z
6418 ZIP で直ちに暗号化する。暗号化された後は、@samp{B}マークが付く。
6419 @item U
6420 符号化を元に戻す。元々のマークに戻る。
6421 @end ifset
6422 @ifset en
6423 @item B
6424 Put the @samp{B} mark to encode with Base64.
6425 @item Q
6426 Put the @samp{Q} mark to encode with Quoted-Printable.
6427 @item G
6428 Put the @samp{G} mark to encode with Gzip64. This is applicable only to
6429 Text/Plain and Application/Postscript since compression is not effective
6430 with other objects. For example, JPEG is already compressed.
6431 @item S
6432 Put the @samp{PS} mark to sign with PGP.
6433 @item E
6434 Put the @samp{PE} mark to encrypt with PGP. Input decrypters' addresses.
6435 @item M-s
6436 Put the @samp{SS} mark to sign with S/MIME.
6437 @item M-e
6438 Put the @samp{SE} mark to encrypt with S/MIME. Input decrypters'
6439 addresses.
6440 @item Z
6441 Encrypt the part with ZIP immediately. After the encryption, the
6442 @samp{B} mark appears.
6443 @item U
6444 Unmark. The original mark appears.
6445 @end ifset
6446 @end table
6447
6448 @ifset ja
6449 次の例を考えてみましょう。パート 2 は PGP で署名され、"kazu" 用に PGP で
6450 暗号化されます。安心して下さい。説明の部分は上書きされていますが、保存さ
6451 れています。パート 3 は Gzip64 で符号化されます。
6452 @end ifset
6453 @ifset en
6454 Consider the following example: The second part will be signed with PGP
6455 then encrypted with PGP for "kazu". Don't be alarmed. Its description is
6456 overwritten but saved. The third part will be encoded with Gzip64.
6457 @end ifset
6458
6459 @ifset ja
6460 @example
6461 ----------------------------- attachments -----------------------------
6462 Multipart/Mixed 1/
6463 1 Text/Plain(guess) CoverPage*
6464 PSPE 2 Image/Gif kazu@@example.org mgp.gif
6465 G 3 Application/Postscript 資料 ohp.ps
6466 4 .
6467 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
6468 @end example
6469 @end ifset
6470 @ifset en
6471 @example
6472 ----------------------------- attachments -----------------------------
6473 Multipart/Mixed 1/
6474 1 Text/Plain(guess) CoverPage*
6475 PSPE 2 Image/Gif kazu@@example.org mgp.gif
6476 G 3 Application/Postscript Presentation Material ohp.ps
6477 4 .
6478 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
6479 @end example
6480 @end ifset
6481
6482 @ifset ja
6483 マークを付けた後は、@samp{C-cC-m} や @samp{C-cC-c} を使って、メッセージ
6484 を作成して下さい。
6485 @end ifset
6486 @ifset en
6487 After applying marks, type @samp{C-cC-m} or @samp{C-cC-c} to create
6488 messages.
6489 @end ifset
6490
6491 @c %%%%%%%%%%%%%%%%%
6492 @node pgp-key, anonymous, mark-b-comp, Composing
6493 @ifset ja
6494 @section PGP の鍵の配布
6495 @end ifset
6496 @ifset en
6497 @section PGP key distribution
6498 @end ifset
6499 @kindex p (Attach)
6500
6501 @ifset ja
6502 PGP の公開鍵を配布するには、Draft モードの添付領域で @samp{p} を押して下
6503 さい。だれの公開鍵を配布するか尋ねられます。自分の公開鍵であれば、単に
6504 @samp{RET} と入力して下さい。他人の公開鍵であれば、補完を利用しながらそ
6505 の人のアドレスを入力して下さい。PGP の公開鍵は、Application/Pgp-Keys と
6506 いうデータ型で配送されます。
6507 @end ifset
6508 @ifset en
6509 To distribute a PGP public key, please use @samp{p} on attachments in
6510 Draft mode. It asks whose public key you want to distribute. Just type
6511 @samp{RET} if it is yours. If you want to distribute someone else's key,
6512 input his e-mail address with completion. The PGP public key will
6513 distributed as Content-Type: Application/Pgp-Keys.
6514 @end ifset
6515
6516 @ifset ja
6517 Summary モード、あるいは、Virtual モードでメッセージを読んでいる際に、あ
6518 るパートのデータ型が Application/Pgp-Keys であれば、Mew は PGP の公開鍵
6519 リングにそれを登録しようとします。Mew は、「信用度」と「有効性」を全く考
6520 慮しないことに注意して下さい。これらの値を設定するのは、あなた自身です。
6521 設定は Mew が表示する説明に従って下さい。もし、「信用度」と「有効性」
6522 の意味が分からなければ、PGP を使って自分のプライバシを保護しようとする前
6523 に、PGP が提供する「信用の輪」とは何かを学ぶべきです。
6524 @end ifset
6525 @ifset en
6526 If Mew finds that the part is Application/Pgp-keys, it tries to add the
6527 PGP public key onto your PGP public keyring. Remember that Mew is not
6528 responsible for TRUST or VALIDITY. It is YOU who set these
6529 values. Please use the commands described by Mew to set these as
6530 necessary. If you do not know the meaning of TRUST and VALIDITY, you
6531 should learn the web of trust system provided by PGP BEFORE using PGP to
6532 protect your privacy.
6533 @end ifset
6534
6535 @c %%%%%%%%%%%%%%%%%
6536 @node anonymous, Marks, pgp-key, Composing
6537 @ifset ja
6538 @section 宛先を匿名にしたメッセージの送信
6539 @end ifset
6540 @ifset en
6541 @section Sending messages with anonymous receivers
6542 @end ifset
6543
6544 @ifset ja
6545 宛先を匿名にして、複数の受信者にメッセージを送信したいことがあります。
6546 @end ifset
6547 @ifset en
6548 You may occasionally wish to send a message to anonymous receivers.
6549 @end ifset
6550
6551 @ifset ja
6552 たとえば、pooh がパーティーへのお誘いを複数の友達に送ることを考えて下さ
6553 い。パーティーへ参加するという piglet からの返事は、pooh のみに送るべき
6554 です。しかし、To: にたくさんの友達を列挙していると、piglet は誤って多く
6555 の人に返答を送りつけてしまうかもしれません。そもそも、pooh は誰を誘った
6556 のか、当日までふせておきたいこともあるでしょう。
6557 @end ifset
6558 @ifset en
6559 For instance, please imagine that Pooh is trying to invite multiple
6560 friends to a party. Piglet should reply only to Pooh. However, Piglet
6561 might make a mistake of replying to other people if the addresses of all
6562 the invitees are listed in Cc:. Moreover, Pooh does not want to disclose
6563 the names of those who he invited until the day of the party.
6564 @end ifset
6565
6566 @ifset ja
6567 このような要望を実現するために、Mew では匿名の宛先として、":;" を利用し
6568 ます。以下の例を見て下さい。
6569 @end ifset
6570 @ifset en
6571 To handle this, Mew makes use of ":;" for anonymous addresses. Please
6572 look at the following example.
6573 @end ifset
6574
6575 @example
6576 To: party:piglet@@example.org,roo@@example.org;
6577 From: Pooh <winnie-the-pooh@@example.net>
6578 @end example
6579
6580 @ifset ja
6581 "party" という説明文字列の後に ":" があります。そして、いくつかアドレス
6582 が "," で区切られながら列挙され、";" で終端されています。このような形式
6583 でアドレスを書くと、Mew は ":" と ";" のアドレスにメッセージを届けますが、
6584 ヘッダからは削り取ります。この例では、piglet と roo は以下のようなメッセー
6585 ジを受け取ります。
6586 @end ifset
6587 @ifset en
6588 Here, there is a colon (":") after the explanatory comment
6589 @w{"}party". This is followed by some addresses that are delimited by
6590 "," and terminated by ";". If you write addresses in this format, Mew
6591 sends the message to the addresses with them removed form the
6592 header. In this example, Piglet and Roo will receive the following
6593 message.
6594 @end ifset
6595
6596 @example
6597 To: party:;
6598 From: Pooh <winnie-the-pooh@@example.net>
6599 @end example
6600
6601 @ifset ja
6602 受信者はこのヘッダから、送信者は pooh であることは分かりますが、自分以外
6603 の誰に送られたのかは、想像するほかありません。また、"party:;" という文字
6604 列は、アドレスではありませんから、ここに返答することも不可能です。
6605 @end ifset
6606 @ifset en
6607 The receiver knows that the sender is Pooh, but will not know who else
6608 received the message. Also, the string "party:;" is not address, so the
6609 receiver cannot reply to it.
6610 @end ifset
6611
6612 @ifset ja
6613 なお、To: や Cc: にたくさんのアドレスを列挙することは、本質的によいこと
6614 ではありません。特定の人にメッセージを何度も送信する機会があるなら、通常
6615 メーリングリストを作成します。
6616 @end ifset
6617 @ifset en
6618 You should understand that enumerating many addresses on To: or Cc: is
6619 basically not a good practice anyway. If you often have the occasion to
6620 send messages a set group of people, you should create a mailing-list.
6621 @end ifset
6622
6623 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6624 @c Marks
6625 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6626
6627 @node Marks, unread mark, anonymous, Top
6628 @ifset ja
6629 @chapter 愉快なマークたち
6630 @end ifset
6631 @ifset en
6632 @chapter Funny marks
6633 @end ifset
6634 @kindex x (Summary)
6635
6636 @ifset ja
6637 ここでは、Summary モードでユーザが付けたり消したりできるマークについて
6638 説明します。このマークは以下のように、行頭に付きます。(Mew が付けるマー
6639 クは日付の左に付くことに注意。)
6640 @end ifset
6641 @ifset en
6642 Here is a listing of marks that a user can use for insertion or
6643 deletion in Summary mode. This mark is displayed in the beginning of a
6644 line as follows: (Note that the marks that Mew inserts are displayed
6645 left side of date.)
6646 @end ifset
6647
6648 @example
6649 @ifset ja
6650 D 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック
6651 oM03/14 ももちゃん 能登の写真 |この前撮った写真を添付
6652 * 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店
6653 @end ifset
6654 @ifset en
6655 D 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
6656 oM03/14 Momo-chan The pictures of Noto |Attached are the pictu
6657 * 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd
6658 @end ifset
6659 @end example
6660
6661 @ifset ja
6662 現在利用できるマークは以下の 6 つです。
6663 @end ifset
6664 @ifset en
6665 There are six marks at present.
6666 @end ifset
6667
6668 @table @samp
6669 @ifset ja
6670 @item U
6671 未読マーク。
6672 @item D
6673 消去のマーク。
6674 @item X
6675 消去のマーク。
6676 @item o
6677 整頓、つまり、フォルダを移動させるマーク。
6678 @item *
6679 処理の対象とするマーク。
6680 @item $
6681 マークを一時的に待避するためのマーク。
6682 @end ifset
6683 @ifset en
6684 @item U
6685 The unread mark.
6686 @item D
6687 The delete mark.
6688 @item X
6689 The delete mark.
6690 @item o
6691 The refile mark, that is, to move a message to another folder.
6692 @item *
6693 The target mark.
6694 @item $
6695 The mark to save another mark temporarily.
6696 @end ifset
6697 @end table
6698
6699 @ifset ja
6700 マークを付けるだけでは、メッセージがなくなったりすることはありません。
6701 @samp{o}、@samp{D}、@samp{X} といったマークを実際に処理するコマンドは、
6702 @samp{x} です。マークを付けるのは気軽にできますが、@samp{x} を押すとき
6703 は慎重にお願いします。
6704 @end ifset
6705 @ifset en
6706 Just putting a mark on to a message does NOT process anything at all.
6707 It is typing @samp{x} that processes the marks including @samp{o},
6708 @samp{D}, @samp{X}. So, take it easy to put marks but take care to
6709 type @samp{x}.
6710 @end ifset
6711
6712 @ifset ja
6713 以下それぞれについて説明します。また、Mew が表示するマークについてもま
6714 とめます。
6715 @end ifset
6716 @ifset en
6717 The marks above are explained in sequence. The marks which Mew inserts
6718 are summarized here as well.
6719 @end ifset
6720
6721 @menu
6722 @ifset ja
6723 * unread mark:: 未読 @samp{U}
6724 * delete mark:: 消去 @samp{D}、@samp{X}
6725 * refile mark:: 整頓 @samp{o}
6726 * target mark:: 対象 @samp{*}
6727 * escape mark:: 待避 @samp{$}
6728 * unmark:: マークの消去
6729 * mark change:: マークの変換
6730 * sync:: IMAP サーバとのマークの整合性
6731 * off-line:: IMAP のためのマークのオフライン処理
6732 * mew-mark:: Mew が表示するマーク
6733 @end ifset
6734 @ifset en
6735 * unread mark:: Unread @samp{U}
6736 * delete mark:: Delete @samp{D} and @samp{X}
6737 * refile mark:: Refile @samp{o}
6738 * target mark:: Target @samp{*}
6739 * escape mark:: Escape @samp{$}
6740 * unmark:: Deleting marks
6741 * mark change:: Overwriting marks
6742 * sync:: Mark consistency against an IMAP server
6743 * off-line:: Processing marks off-line for IMAP
6744 * mew-mark:: Marks displayed by Mew
6745 @end ifset
6746 @end menu
6747
6748 @c %%%%%%%%%%%%%%%%%
6749 @node unread mark, delete mark, Marks, Marks
6750 @ifset ja
6751 @section 未読 @samp{U}
6752 @end ifset
6753 @ifset en
6754 @section Unread @samp{U}
6755 @end ifset
6756 @kindex zSPC
6757 @kindex M-u
6758 @vindex mew-use-unread-mark
6759 @vindex mew-delete-unread-mark-by-mark
6760
6761 @ifset ja
6762 以下のように設定すると、メッセージを一覧表示する際に、未読マーク
6763 @samp{U} がメッセージに付きます。
6764 @end ifset
6765 @ifset en
6766 With the following configuration, messages are marked with the unread
6767 mark @samp{U} when scanning the messages.
6768 @end ifset
6769
6770 @lisp
6771 (setq mew-use-unread-mark t)
6772 @end lisp
6773
6774 @ifset ja
6775 @samp{SPC}、@samp{n}、および @samp{p} などでメッセージを読むと
6776 @samp{U} マークは消えます。
6777 @end ifset
6778 @ifset en
6779 When you read a message with @samp{SPC}, @samp{n}, or @samp{p} and
6780 etc, the @samp{U} mark disappears.
6781 @end ifset
6782
6783 @ifset ja
6784 この三つのコマンドは、通常 @samp{*} マーク、@samp{U} マーク、およびマー
6785 クの付いていないメッセージを読み進みます。@samp{zSPC} を押すと、これら
6786 は @samp{*} マークと @samp{U} マークの付いたメッセージのみを読み進めま
6787 す。これは、未読のメッセージを読み進める場合に便利です。もう一度
6788 @samp{zSPC} を実行すると、対象とするメッセージが元に戻ります。
6789 @end ifset
6790 @ifset en
6791 These three commands read through messages marked with the @samp{*}
6792 mark, the @samp{U} mark, and non-marked messages. If you type
6793 @samp{zSPC}, they read through messages marked with the @samp{*} mark
6794 and the @samp{U} mark only. This is convenient to read through unread
6795 messages. Typing @samp{zSPC} again gets the target messages back.
6796 @end ifset
6797
6798 @ifset ja
6799 前のメッセージにマークを付けて、現在のメッセージに移動して来ると、
6800 @samp{U} マークは消えます。@samp{SPC}、@samp{n}、および @samp{p} で移動し
6801 て来た場合は、このメッセージを読むことを意図しているはずですが、マーク
6802 を付けることで移動した場合はメッセージを読むことを意図していないかもし
6803 れません。その場合、@samp{U} マークが消えると少し不便です。マークを付け
6804 ることで移動した際に、@samp{U} マークを消したくないのであれば、以下のよ
6805 うに設定するとよいでしょう。
6806 @end ifset
6807 @ifset en
6808 When you move onto the current message by putting a mark on the
6809 previous message, the @samp{U} mark is deleted. It's sure that you
6810 want to read the current message if you move onto it by @samp{SPC},
6811 @samp{n}, and @samp{p}. However, you might not intend to read the
6812 current message when you move onto it by putting a mark. If this is
6813 the case, this spec is inconvenient for you. If you want to retain the
6814 unread mark on the current message when you move onto it by putting a
6815 mark on the previous message, configure as follows:
6816 @end ifset
6817
6818 @lisp
6819 (setq mew-delete-unread-mark-by-mark nil)
6820 @end lisp
6821
6822 @ifset ja
6823 以下に @samp{U} マークに関するコマンドをまとめます。
6824 @end ifset
6825 @ifset en
6826 The followings are summary of commands related to the @samp{U} mark.
6827 @end ifset
6828
6829 @table @samp
6830 @ifset ja
6831 @item zSPC
6832 @samp{SPC}、@samp{n}、および @samp{p} が読み進める対象とするメッセージ
6833 を反転させる。反転とは、「@samp{U} マーク、@samp{*} マーク、およびマー
6834 クなし」と「@samp{U} マークおよび @samp{*} マーク」に対し、一方を他方へ
6835 変えること。
6836 @item M-u
6837 @samp{U} マークを付ける。
6838 @end ifset
6839 @ifset en
6840 @item zSPC
6841 Toggle the target of @samp{SPC}, @samp{n}, and @samp{p}. Toggling means
6842 change one to the other out of ``the @samp{U} mark, the @samp{*} mark,
6843 and non-mark'' and ``the @samp{U} mark and the @samp{*} mark''.
6844 @item M-u
6845 Put the @samp{U} mark to the current message.
6846 @end ifset
6847 @end table
6848
6849
6850 @c %%%%%%%%%%%%%%%%%
6851 @node delete mark, refile mark, unread mark, Marks
6852 @ifset ja
6853 @section 消去 @samp{D}、@samp{X}
6854 @end ifset
6855 @ifset en
6856 @section Delete @samp{D} and @samp{X}
6857 @end ifset
6858 @vindex mew-trash-folder
6859 @vindex mew-trash-folder-list
6860 @vindex mew-imap-trash-folder
6861 @vindex mew-imap-trash-folder-list
6862 @kindex d (Summary)
6863 @kindex M-d (Summary)
6864 @kindex x (Summary)
6865 @kindex mxd (Summary)
6866 @kindex mxM-d (Summary)
6867 @kindex md (Summary)
6868 @kindex mM-d (Summary)
6869 @kindex Md (Summary)
6870 @kindex D (Summary)
6871 @kindex C-uD (Summary)
6872
6873 @ifset ja
6874 メッセージを消去するには、まず Summary モードで @samp{d} を押して、
6875 @samp{D} マークを付けます。マークを付けただけでは何も起こらないので、間
6876 違って @samp{d} を押しても大丈夫です。デフォルトでは、@samp{x} を押すと
6877 @samp{D} マークの付いたメッセージがゴミ箱に移動します。
6878 @end ifset
6879 @ifset en
6880 If you want to delete a message, type @samp{d} in Summary mode to put
6881 the @samp{D} mark on it. Don't be worried about losing the message by
6882 mistake. Since putting the @samp{D} mark has no immediate effect, it
6883 does not result in a serious mistake. By default, typing @samp{x}
6884 moves messages marked with @samp{D} to a trash.
6885 @end ifset
6886
6887 @ifset ja
6888 ローカル・フォルダのためのゴミ箱は +trash です。IMAP のためのゴミ箱は、
6889 %trash です。
6890 @end ifset
6891 @ifset en
6892 For local folders, a trash is +trash. For IMAP, it is %trash.
6893 @end ifset
6894
6895 @ifset ja
6896 ゴミ箱の中のメッセージを実際に消去するには、以下の 2 つの方法があります。
6897 @end ifset
6898 @ifset en
6899 To really delete messages in the trashes, there are two methods:
6900 @end ifset
6901
6902 @enumerate
6903 @ifset ja
6904 @item
6905 Summary モードで @samp{D} を実行する。
6906 @item
6907 ゴミ箱で @samp{D} マークを付けて、@samp{x} を押す。
6908 @end ifset
6909 @ifset en
6910 @item
6911 Type @samp{D} in Summary mode.
6912 @item
6913 Put the @samp{D} mark in the trashes then type @samp{x}.
6914 @end ifset
6915 @end enumerate
6916
6917 @ifset ja
6918 もう少し正確に言うと、ローカル・フォルダでは以下のルールが適用されます。
6919 (@samp{mew-trash-folder} の初期値は +trash。
6920 @samp{mew-trash-folder-list} の初期値は @samp{nil}。)
6921 @end ifset
6922 @ifset en
6923 Exactly speaking, the following rule is applied for local folders.
6924 (@samp{mew-trash-folder} is default to +trash.
6925 @samp{mew-trash-folder-list} is default to @samp{nil}.)
6926 @end ifset
6927
6928 @itemize @minus
6929 @ifset ja
6930 @item @samp{mew-trash-folder} が @samp{nil} なら、@samp{D} マークの付いたメッ
6931 セージは消去される。
6932 @item @samp{mew-trash-folder-list} が定義されていたら、それらのフォルダ
6933 で @samp{D} マークを付けたメッセージは消去される。それ以外のフォルダからは
6934 @samp{mew-trash-folder} へ。
6935 @item @samp{mew-trash-folder-list} が @samp{nil} なら、
6936 @samp{mew-trash-folder} で @samp{D} マークを付けたメッセージは消去される。そ
6937 れ以外のフォルダからは @samp{mew-trash-folder} へ。(これが初期値。)
6938 @end ifset
6939 @ifset en
6940 @item If @samp{mew-trash-folder} is @samp{nil}, messages marked with
6941 @samp{D} are deleted.
6942 @item If @samp{mew-trash-folder-list} is defined, messages marked with
6943 @samp{D} in one of the folders defined in it are deleted. Otherwise,
6944 they are moved to the trash.
6945 @item If @samp{mew-trash-folder-list} is @samp{nl},
6946 messages marked with @samp{D} in @samp{mew-trash-folder} are deleted.
6947 Otherwise, they are moved to the trash. (This is default.)
6948 @end ifset
6949 @end itemize
6950
6951 @ifset ja
6952 IMAP に対しては、@samp{mew-imap-trash-folder} と
6953 @samp{mew-imap-trash-folder-list} に従って、同じ規則が適用されます。
6954 @end ifset
6955 @ifset en
6956 For IMAP, the same rule is applied according to both
6957 @samp{mew-imap-trash-folder} and @samp{mew-imap-trash-folder-list}
6958 @end ifset
6959
6960 @ifset ja
6961 すべての @samp{*} マークを @samp{D} マークに変換できれば、一度にたくさ
6962 んの @samp{D} マークを付けられて便利です。これには、@samp{md} を利用して
6963 下さい。
6964 @end ifset
6965 @ifset en
6966 It is convenient if you can change the @samp{*} mark to the @samp{D}
6967 mark since you can put many the @samp{D} marks at once. To achieve this,
6968 use @samp{md}.
6969 @end ifset
6970
6971 @ifset ja
6972 また、@samp{Md} を使うと、現在のフォルダ内で同じ Message-Id: を持つメッ
6973 セージがある場合、1 つを残して他のメッセージに @samp{D} が付きます。
6974 @end ifset
6975 @ifset en
6976 Also, typing @samp{Md} put the @samp{D} mark to all duplicated
6977 messages excluding one for each.
6978 @end ifset
6979
6980 @ifset ja
6981 @samp{D} マークに似たものに @samp{X} マークがあります。このマークの付け
6982 られたメッセージは、@samp{x} を押した際に必ず消去されます。@samp{X} マー
6983 クは、@samp{M-d} で付けることができます。
6984 @end ifset
6985 @ifset en
6986 There is also another mark, @samp{X}, which is like the mark @samp{D}.
6987 Messages marked with @samp{X} are deleted when @samp{x} is typed. The
6988 @samp{X} mark can be put by @samp{M-d}.
6989 @end ifset
6990
6991 @ifset ja
6992 @samp{mxM-d} で、@samp{X} マークが付いたメッセージだけを処理できます。
6993 すべての @samp{*} マークを @samp{X} マークに変換するコマンドは、
6994 @samp{mM-d} です。
6995 @end ifset
6996 @ifset en
6997 @samp{mxM-d} processes messages marked with @samp{X} only. Typing
6998 @samp{mM-d} converts all @samp{*} marks to @samp{X}.
6999 @end ifset
7000
7001
7002 @ifset ja
7003 以下に、@samp{D} マークと @samp{X} マークに関するコマンドをまとめます。
7004 @end ifset
7005 @ifset en
7006 The following is a summary regarding with the @samp{D} mark and the
7007 @samp{X} mark.
7008 @end ifset
7009
7010 @table @samp
7011 @ifset ja
7012 @item d
7013 @samp{D} マークを付ける。
7014 @item M-d
7015 @samp{X} マークを付ける。
7016 @item md
7017 @samp{*} マークを @samp{D} マークへ変換する。
7018 @item mM-d
7019 @samp{*} マークを @samp{X} マークへ変換する。
7020 @item x
7021 マークの付いたメッセージを処理する。
7022 @item mxd
7023 @samp{D} マークの付いたメッセージのみを処理する。
7024 @item mxM-d
7025 @samp{X} マークの付いたメッセージのみを消去する。
7026 @item D
7027 ゴミ箱の中のメッセージを全部消去する。
7028 @item C-uD
7029 指定されたフォルダのメッセージを全部消去する。
7030 @end ifset
7031 @ifset en
7032 @item d
7033 Put the @samp{D} mark.
7034 @item M-d
7035 Put the @samp{X} mark.
7036 @item md
7037 Convert all @samp{*} marks to @samp{D}.
7038 @item mM-d
7039 Convert all @samp{*} marks to @samp{X}.
7040 @item x
7041 Process marked messages.
7042 @item mxd
7043 Process messages marked with @samp{D} only.
7044 @item mxM-d
7045 Delete messages marked with @samp{X} only.
7046 @item D
7047 Delete all messages in a trash.
7048 @item C-uD
7049 Delete all messages in a specified folder.
7050 @end ifset
7051 @end table
7052
7053 @c %%%%%%%%%%%%%%%%%
7054 @node refile mark, target mark, delete mark, Marks
7055 @ifset ja
7056 @section 整頓 @samp{o}
7057 @end ifset
7058 @ifset en
7059 @section Refile @samp{o}
7060 @end ifset
7061 @kindex o (Summary)
7062
7063 @ifset ja
7064 メッセージを整頓するには @samp{o} を押して、移動先のフォルダを入力し、
7065 @samp{o} マークを付けます。移動先のフォルダは、賢く推測してくれるので、
7066 ほどんどの場合はフォルダ名を入力する代わりに @samp{RET} を押すだけです。
7067 "," で区切って複数のフォルダを入力することもできます。もちろん、
7068 @samp{TAB} で補完できます。詳しくは @xref{Refile} を参照して下さい。
7069 @end ifset
7070 @ifset en
7071 To refile a message, type @samp{o} and input a folder name, then
7072 @samp{o} is put. A folder is guessed neatly, so most time what you
7073 should to is just type @samp{RET}. For more information, refer to
7074 @ref{Refile}.
7075 @end ifset
7076
7077 @ifset ja
7078 @samp{o} マークの付いたメッセージの上で @samp{o} を押すと、移動先を追加
7079 したり変更したりできます。また、実際の移動は @samp{x} と入力されたときに
7080 実行されます。
7081 @end ifset
7082 @ifset en
7083 If you type @samp{o} on a message marked with @samp{o}, the refile
7084 folder is shown. When typing @samp{x}, messages marked with @samp{o} are
7085 actually refiled.
7086 @end ifset
7087
7088 @ifset ja
7089 複数のフォルダを指定し、移動させたときのことを考えましょう。ハードリンク
7090 の機能を持つファイルシステムを使っている場合、そのメッセージは最初のフォ
7091 ルダに移動され、その他のフォルダからはハードリンクが張られます。そうでな
7092 いファイルシステムの場合は、最初のフォルダに移動後、その他のフォルダへ複
7093 製されます。
7094 @end ifset
7095 @ifset en
7096 Consider that you specify multiple folders and refiles actually. If your
7097 file system has hard link, the message is moved to the first folder, and
7098 hard links are created from the other folders. Otherwise, the message is
7099 moved to the first folder, and it is copied to the other folders.
7100 @end ifset
7101
7102 @ifset ja
7103 指定したフォルダが 1 つで、しかもそれが現在のフォルダである場合、整頓し
7104 てもなにも起こりません。指定したフォルダが複数で、現在のフォルダが含まれ
7105 る場合、現在のフォルダ内での番号を保ったまま、その他のフォルダからハード
7106 リンクが張られるか、その他のフォルダへ複製されます。
7107 @end ifset
7108 @ifset en
7109 If the number of specified folders are 1, and it is the current folder,
7110 refiling means do nothing. If the number is more than two and the
7111 current folder is included, refiling means that the message number in
7112 the current folder remains and hard links are created from the other
7113 folders (or it is copied to the other folders).
7114 @end ifset
7115
7116 @ifset ja
7117 @samp{o} に似ていますが、かならず現在のフォルダも候補として提示する
7118 @samp{c} というコマンドも用意されています。
7119 @end ifset
7120 @ifset en
7121 Mew provides @samp{c} which is very similar to @samp{o}. @samp{c} shows
7122 the current folder as a candidate in addition to guessed folders.
7123 @end ifset
7124
7125 @ifset ja
7126 以下に、@samp{o} マークに関するコマンドをまとめます。
7127 @end ifset
7128 @ifset en
7129 A summary about the @samp{o} mark is here.
7130 @end ifset
7131
7132 @table @samp
7133 @ifset ja
7134 @item o
7135 @samp{o} マークを付ける。
7136 @item c
7137 @samp{o} マークを付ける。推測したフォルダに加えて、現在のフォルダも候補
7138 として提示する。
7139 @item x
7140 @samp{o} マークの付いたメッセージを移動させる。
7141 @item mxo
7142 @samp{o} マークの付いたメッセージのみを移動させる。他のマークは処理しない。
7143 @item C-umxo
7144 @samp{o} マークの付いたメッセージの中で、現在のメッセージと同じ移動先を
7145 持つもののみを移動させる。
7146 @end ifset
7147 @ifset en
7148 @item o
7149 Put the @samp{o} mark.
7150 @item c
7151 Put the @samp{o} mark. Showing the current folder as a candidate in
7152 addition to guessed folders.
7153 @item x
7154 Refile messages marked with @samp{o}.
7155 @item mxo
7156 Refile messages marked with @samp{o} only. This command does not process
7157 other marks.
7158 @item C-umxo
7159 Refile messages marked with @samp{o}, whose destination is the same as
7160 that of the current message.
7161 @end ifset
7162 @end table
7163
7164 @c %%%%%%%%%%%%%%%%%
7165 @node target mark, escape mark, refile mark, Marks
7166 @ifset ja
7167 @section 対象 @samp{*}
7168 @end ifset
7169 @ifset en
7170 @section Target @samp{*}
7171 @end ifset
7172 @kindex * (Summary)
7173 @kindex N (Summary)
7174 @kindex P (Summary)
7175 @kindex ma (Summary)
7176 @kindex mr (Summary)
7177 @kindex F (Summary)
7178 @kindex J (Summary)
7179 @kindex mI (Summary)
7180 @kindex C-umI (Summary)
7181 @kindex M-b (Summary)
7182 @kindex M-\ (Summary)
7183 @kindex M-t (Summary)
7184
7185 @ifset ja
7186 後から読み返したいメッセージには、@samp{*} で @samp{*} マークを付けて下
7187 さい。また、選択コマンド @samp{?} を使うと、入力した条件にマッチするメッ
7188 セージに @samp{*} マークが付きます(詳しくは、@xref{search} を参照して下さい)。
7189 @samp{N} や @samp{P} で @samp{*} マークの付いたメッセージに移動し表示で
7190 きます。
7191 @end ifset
7192 @ifset en
7193 Please put the @samp{*} mark onto messages that you want to review
7194 later. @samp{?} also put the @samp{*} mark onto matched messages (for
7195 more information, refer to @ref{search}). Use @samp{N} and @samp{P} to
7196 walk around messages marked with @samp{*}.
7197 @end ifset
7198
7199 @ifset ja
7200 以下に、@samp{*} に関連するコマンドを示します。
7201 @end ifset
7202 @ifset en
7203 Here is a summary for @samp{*} commands.
7204 @end ifset
7205
7206 @table @samp
7207 @ifset ja
7208 @item *
7209 @samp{*} マークを付ける。
7210 @item N
7211 下方向の @samp{*} マークの付いたメッセージへ移動し表示。
7212 @item P
7213 上方向の @samp{*} マークの付いたメッセージへ移動し表示。
7214 @item ma
7215 マークの付いていないメッセージすべてに @samp{*} マークを付ける。
7216 @item mr
7217 入力した正規表現にマッチしたメッセージに @samp{*} マークを付ける。
7218 @end ifset
7219 @ifset en
7220 @item *
7221 Put the @samp{*} mark.
7222 @item N
7223 Jump to the message marked with @samp{*} below and display it.
7224 @item P
7225 Jump to the message marked with @samp{*} above and display it.
7226 @item ma
7227 Put the @samp{*} mark to all unmarked messages.
7228 @item mr
7229 Put the @samp{*} mark to all matching messages with specified regular
7230 expression.
7231 @end ifset
7232 @end table
7233
7234 @ifset ja
7235 @samp{*} マークは、複数のメッセージを処理するためにも利用します。
7236 以下に複数のメッセージを処理するコマンドを示します。
7237 @end ifset
7238 @ifset en
7239 The @samp{*} mark is used to handle multiple messages. The following
7240 is a list of commands which handle multiple messages.
7241 @end ifset
7242
7243 @table @samp
7244 @ifset ja
7245 @item F
7246 @samp{*} マークの付いたメッセージを MIME 形式で転送するための草稿を準備。
7247 @item J
7248 大きなメッセージは Message/Partial として複数に分割されている場合がある。
7249 これらのメッセージには、Mew によって @samp{P} マークが付けられている。こ
7250 こで、ユーザがそれらのメッセージに @samp{*} マークを付け、このコマンド
7251 を実行すれば、元のメッセージが復元される。
7252 @item mI
7253 @samp{*} マークの付いている一部だけが取得されたメッセージ群(@samp{T})を
7254 取得する。
7255 @item C-umI
7256 @samp{mI} を実行する。
7257 @item M-b
7258 @samp{*} マークの付いたメッセージに格納されているメッセージを取り出す。
7259 @item M-\
7260 @samp{*} マークの付いたメッセージを引数として、外部コマンドを起動する。
7261 @item M-t
7262 @samp{*} マークの付いたメッセージを "uudecode" する。
7263 @end ifset
7264 @ifset en
7265 @item F
7266 Prepare a draft to forward multiple messages marked with @samp{*} in MIME
7267 format.
7268 @item J
7269 A large message is occasionally fragmented into multiple messages whose
7270 Content-Type: is Message/Partial. Mew puts the @samp{P} mark to these
7271 messages. Now a user marks these messages with @samp{*} and executing
7272 this commands results in producing the original message.
7273 @item mI
7274 Retrieve the rest of truncated(@samp{T}) messages marked with
7275 @samp{*}.
7276 @item C-umI
7277 Perform @samp{mI}.
7278 @item M-b
7279 De-capsulate messages embedded in the messages marked with @samp{*}.
7280 @item M-\
7281 Executing an external command specifying messages marked with @samp{*}
7282 as arguments.
7283 @item M-t
7284 Apply "uudecode" on messages marked with @samp{*}.
7285 @end ifset
7286 @end table
7287
7288 @ifset ja
7289 @samp{M-t} では、@samp{*} マークの付いたメッセージがきちんと分割順になっ
7290 ている必要があります。順番がくるっているなら、@samp{S} でソートするとよ
7291 いかもしれません。
7292 @end ifset
7293 @ifset en
7294 For @samp{M-t}, messages marked with @samp{*} are supposed to be in
7295 the right order. If out of order, sorting with @samp{S} would help.
7296 @end ifset
7297
7298 @c %%%%%%%%%%%%%%%%%
7299 @node escape mark, unmark, target mark, Marks
7300 @ifset ja
7301 @section 待避 @samp{$}
7302 @end ifset
7303 @ifset en
7304 @section Escape @samp{$}
7305 @end ifset
7306 @kindex m$
7307 @kindex m*
7308
7309 @ifset ja
7310 たとえば @samp{/} などを使いパターンに合致したメッセージに @samp{*} を
7311 付けることを考えて下さい。@samp{*} マークの付いたメッセージがすでにある
7312 なら、これらのメッセージは @samp{/} の結果と混ざってしまいます。そこで、
7313 現在の @samp{*} マークを一時的に保存したくなります。
7314 @end ifset
7315 @ifset en
7316 Suppose that you want to put the @samp{*} marks to messages matched to
7317 a pattern specified to the @samp{/} command. If there are messages
7318 marked with @samp{*} already, these messages are merged to the results
7319 of @samp{/}. Thus, you would want to escape the current messages
7320 marked with @samp{*}.
7321 @end ifset
7322
7323 @ifset ja
7324 この目的のために、待避マーク @samp{$} が提供されています。典型的な
7325 使い方は、以下のようになります。
7326 @end ifset
7327 @ifset en
7328 For this sake, the escape mark @samp{$} is provided. A typical usage
7329 is as follows:
7330 @end ifset
7331
7332 @enumerate
7333 @ifset ja
7334 @item
7335 @samp{m$} で @samp{*} マークを一旦 @samp{$} マークに待避
7336 @item
7337 @samp{/} などで @samp{*} マークを付け、@samp{*} マークのついたメッセージを処理
7338 @item
7339 @samp{U*} で @samp{*} マークを消去
7340 @item
7341 @samp{m*} で @samp{$} マークを @samp{*} マークへ戻す
7342 @end ifset
7343 @ifset en
7344 @item
7345 Change the @samp{*} marks to the @samp{$} marks with @samp{m$}.
7346 @item
7347 Put the @samp{*} marks to messages, for instance, with @samp{/} and
7348 process the messages marked with @samp{*}.
7349 @item
7350 Cancel the @samp{*} marks with @samp{U*}.
7351 @item
7352 Get the old @samp{*} marks back with @samp{m*}.
7353 @end ifset
7354 @end enumerate
7355
7356 @ifset ja
7357 @samp{$} マークに関するコマンドを以下にまとめます。
7358 @end ifset
7359 @ifset en
7360 Here is summary of the commands related to the @samp{$} mark.
7361 @end ifset
7362
7363 @table @samp
7364 @ifset ja
7365 @item m$
7366 @samp{*} マークを @samp{$} マークへ変換。
7367 @item m*
7368 @samp{$} マークを @samp{*} マークへ変換。
7369 @end ifset
7370 @ifset en
7371 @item m$
7372 Change the @samp{*} marks to the @samp{$} marks.
7373 @item m*
7374 Change the @samp{$} marks to the @samp{*} marks.
7375 @end ifset
7376 @end table
7377
7378 @c %%%%%%%%%%%%%%%%%
7379 @node unmark, mark change, escape mark, Marks
7380 @ifset ja
7381 @section マークの消去
7382 @end ifset
7383 @ifset en
7384 @section Deleting marks
7385 @end ifset
7386 @kindex x (Summary)
7387 @kindex u (Summary)
7388 @kindex U (Summary)
7389 @kindex M* (Summary)
7390
7391 @ifset ja
7392 @samp{o} マークや @samp{D} マークが付いたメッセージは、マーク実行コマン
7393 ド @samp{x} を押さない限り処理されません。よって、@samp{x} を押す前に、
7394 マークを取り止めるコマンド @samp{u} でマークを消せば、誤ってメッセージを
7395 消すことはありません。
7396 @end ifset
7397 @ifset en
7398 Refiling and deleting is not processed unless you type @samp{x}. So, if
7399 you press @samp{u} to unmark before you type @samp{x}, messages do not
7400 disappear accidentally.
7401 @end ifset
7402
7403 @ifset ja
7404 以下にマークを消去するコマンドをまとめます。
7405 @end ifset
7406 @ifset en
7407 Here is a summary for unmark commands.
7408 @end ifset
7409
7410 @table @samp
7411 @ifset ja
7412 @item u
7413 現在のメッセージのマークを消す。
7414 @item U
7415 入力したマークが付いているすべてのメッセージのマークを消す。
7416 @end ifset
7417 @ifset en
7418 @item u
7419 Cancel the mark on this message.
7420 @item U
7421 Cancel all marks according to what you input.
7422 @end ifset
7423 @end table
7424
7425 @ifset ja
7426 @samp{$} マークを使って @samp{*} マークを待避し、なんらかの操作をし、元
7427 に戻す方法は、目に見えるので分りやすいです。しかしながら、@samp{$} マー
7428 クが付いているメッセージは、マークが付いているので目的の操作の対象外に
7429 なるかもしれません。
7430 @end ifset
7431 @ifset en
7432 The method with the @samp{$} mark, that is, preserve the @samp{*}
7433 marks and operate something then get them back, is friendly to users
7434 since it is visible. But since messages are marked, they would not be
7435 the targets of the operation.
7436 @end ifset
7437
7438 @ifset ja
7439 このため @samp{U*} で消去した @samp{*} マークを復活させるコマンドがあり
7440 ます。それは、@samp{M*} です。この方法は、復活できるマークは目に見えな
7441 いので分りにくいかもしれません。しかしながら、マークが消えているので、
7442 そのメッセージは確実に目的の操作の対象になります。
7443 @end ifset
7444 @ifset en
7445 To solve this problem, a method to recover @samp{*} marks is provided.
7446 The command is bound to @samp{M*}. This method would not be friendly
7447 to users since the @samp{*} marks to recover are invisible. But
7448 because the marks are canceled, these message are surely the target of
7449 any operations.
7450 @end ifset
7451
7452 @table @samp
7453 @ifset ja
7454 @item M*
7455 一番最後の @samp{U*} で消した @samp{*} マークを復活させる。
7456 @end ifset
7457 @ifset en
7458 @item M*
7459 Recover the @samp{*} marks which are canceled by the last @samp{U*}.
7460 @end ifset
7461 @end table
7462
7463
7464 @c %%%%%%%%%%%%%%%%%
7465 @node mark change, sync, unmark, Marks
7466 @ifset ja
7467 @section マークの変換
7468 @end ifset
7469 @ifset en
7470 @section Overwriting marks
7471 @end ifset
7472 @kindex m$ (Summary)
7473 @kindex m* (Summary)
7474 @kindex ms (Summary)
7475 @kindex mM-u (Summary)
7476 @kindex md (Summary)
7477 @kindex mM-d (Summary)
7478 @kindex mo (Summary)
7479 @kindex mc (Summary)
7480
7481 @ifset ja
7482 マークには強さのレベルがあります。同じレベルのマークは上書きできます。
7483 強いマークは弱いマークを上書きできます。
7484 @end ifset
7485 @ifset en
7486 Marks have levels of strength. You can override a mark by another
7487 same-level mark weak mark. Also stronger marks can override weaker
7488 marks.
7489 @end ifset
7490
7491 @ifset ja
7492 マークを強い順に示します。
7493 @end ifset
7494 @ifset en
7495 The followings shows the marks in the strong order:
7496 @end ifset
7497
7498 @table @asis
7499 @ifset ja
7500 @item @samp{o}、@samp{D}、@samp{X}
7501 新たにマークしたときは、次のメッセージを表示。上書きした場合は、その行に
7502 留まる。
7503 @item @samp{*} と @samp{$}
7504 マークを付けた後は、その行に留まる。
7505 @item @samp{U}
7506 マークを付けた後は、その行に留まる。
7507 @end ifset
7508 @ifset en
7509 @item @samp{o}, @samp{D}, and @samp{X}
7510 After marking a message newly, the next message is shown. After
7511 overriding another mark, the cursor stays on the message.
7512 @item @samp{*} and @samp{$}
7513 After marking a message, the cursor stays on the message.
7514 @item @samp{U}
7515 After marking a message, the cursor stays on the message.
7516 @end ifset
7517 @end table
7518
7519 @ifset ja
7520 強いマークを付けた後にカーソルが動く方向については、@xref{summary-mode}
7521 を参照して下さい。
7522 @end ifset
7523 @ifset en
7524 refer to @ref{summary-mode} to know which direction the cursor moves
7525 after putting a strong mark.
7526 @end ifset
7527
7528 @ifset ja
7529 マークは以下のように交換できます。
7530 @end ifset
7531 @ifset en
7532 You can exchange marks as follows:
7533 @end ifset
7534
7535 @table @samp
7536 @ifset ja
7537 @item m$
7538 @samp{*} -> @samp{$} :: @samp{*} マークを一時的に保存。
7539 @item m*
7540 @samp{$} -> @samp{*} :: @samp{*} マークを元に戻す。
7541 @item ms
7542 @samp{$} <-> @samp{*}
7543 @item mM-u
7544 @samp{*} -> @samp{U} :: 選択コマンド @samp{?} で選んだメッセージを未読
7545 にするときに便利。
7546 @item md
7547 @samp{*} -> @samp{D} :: 選択コマンド @samp{?} で選んだメッセージを消去す
7548 るときに便利。
7549 @item mM-d
7550 @samp{*} -> @samp{X} :: 選択コマンド @samp{?} で選んだメッセージを消去す
7551 るときに便利。
7552 @item mo
7553 @samp{*} -> @samp{o} :: 選択コマンド @samp{?} で選んだメッセージをあるフォ
7554 ルダに移動させる場合に便利。
7555 @item mc
7556 @samp{*} -> @samp{o} :: 選択コマンド @samp{?} で選んだメッセージをあるフォ
7557 ルダにコピーする場合に便利。
7558 @item e
7559 最初に入力したマークを次に入力したマークへ変換する。ただし、@samp{o} マー
7560 クは対象外。
7561 @end ifset
7562 @ifset en
7563 @item m$
7564 @samp{*} -> @samp{$} :: Preserve the @samp{*} marks temporarily.
7565 @item m*
7566 @samp{$} -> @samp{*} :: Get the @samp{*} marks back.
7567 @item ms
7568 @samp{$} <-> @samp{*}
7569 @item mM-u
7570 @samp{*} -> @samp{U} :: It is useful when you put @samp{U} marks to
7571 messages picked by @samp{?}.
7572 @item md
7573 @samp{*} -> @samp{D} :: It is useful when you put @samp{D} marks to
7574 messages picked by @samp{?}.
7575 @item mM-d
7576 @samp{*} -> @samp{X} :: It is useful when you put @samp{X} marks to
7577 messages picked by @samp{?}.
7578 @item mo
7579 @samp{*} -> @samp{o} :: It is useful when you put @samp{o} marks to
7580 messages to be moved picked by @samp{?}.
7581 @samp{*} -> @samp{o} :: It is useful when you put @samp{o} marks to
7582 messages to be copied picked by @samp{?}.
7583 @item e
7584 Exchange the first input mark to the second one. The @samp{o} mark is
7585 not exchangeable.
7586 @end ifset
7587 @end table
7588
7589 @c %%%%%%%%%%%%%%%%%
7590 @node sync, off-line, mark change, Marks
7591 @ifset ja
7592 @section IMAP サーバとのマークの整合性
7593 @end ifset
7594 @ifset en
7595 @section Mark consistency against an IMAP server
7596 @end ifset
7597
7598 @ifset ja
7599 Mew では、以下のマークに対し、IMAP サーバと整合性を確保できます。
7600 @end ifset
7601 @ifset en
7602 Mew can maintain consistency of the following marks against an IMAP
7603 server:
7604 @end ifset
7605
7606 @table @samp
7607 @ifset ja
7608 @item U
7609 メッセージを読んだか否か。IMAP のフラグは \Seen。通常は %inbox のみで有
7610 効。
7611 @item *
7612 注目しているメッセージ。IMAP のフラグは \Flagged。
7613 @end ifset
7614 @ifset en
7615 @item U
7616 Whether a message is read or not. This IMAP flag is \Seen. This is
7617 usually valid in %inbox only.
7618 @item *
7619 Review mark. This IMAP flag is \Flagged.
7620 @end ifset
7621 @end table
7622
7623 @ifset ja
7624 オフラインの操作を許すために、Mew ではユーザが動作を起こすたびに IMAP
7625 サーバとマークの整合性を取ります。定期的に整合性を取ることはしません。
7626 Mew がマークの整合性を取る方法を以下に示します。
7627 @end ifset
7628 @ifset en
7629 To allow off-line operations, Mew synchronizes marks with an IMAP
7630 server everytime when a user makes an action. Mew does not
7631 automatically synchronize marks repeatedly. The followings are how Mew
7632 synchronizes marks.
7633 @end ifset
7634
7635 @enumerate
7636 @ifset ja
7637 @item
7638 @samp{s} + 'update
7639 @itemize @minus
7640 @item 既存のメッセージに対して変更したマークをサーバ側へ反映
7641 @item 新着メッセージに対しては、サーバ側のフラグをマークへ反映
7642 @end itemize
7643
7644 @item
7645 @samp{x}
7646 @itemize @minus
7647 @item 既存のメッセージに対して変更したマークをサーバ側へ反映
7648 @end itemize
7649
7650 @item
7651 @samp{s} + 'sync
7652 @itemize @minus
7653 @item 既存のメッセージに対して変更したマークをサーバ側へ反映
7654 @item 既存のメッセージの @samp{*},@samp{U}, @samp{$}, @samp{ } マークを一旦クリア
7655 @item サーバ側のフラグを既存のメッセージにマークとして反映
7656 @item サーバ側で削除されたメッセージを削除
7657 @end itemize
7658 @end ifset
7659 @ifset en
7660 @item
7661 @samp{s} + 'update
7662 @itemize @minus
7663 @item Reflecting modified marks of the existing messages to the server
7664 @item For newly arrived messages, reflecting flags of the server to
7665 the messages.
7666 @end itemize
7667
7668 @item
7669 @samp{x}
7670 @itemize @minus
7671 @item Reflecting modified marks of the existing messages to the server
7672 @end itemize
7673
7674 @item
7675 @samp{s} + 'sync
7676 @itemize @minus
7677 @item Reflecting modified marks of the existing messages to the server
7678 @item Clearing @samp{*},@samp{U}, @samp{$}, @samp{ } mark on the existing messages.
7679 @item Reflecting flags of the server to the existing messages
7680 @item Removing messages which were deleted in the server
7681 @end itemize
7682 @end ifset
7683 @end enumerate
7684
7685 @c %%%%%%%%%%%%%%%%%
7686 @node off-line, mew-mark, sync, Marks
7687 @ifset ja
7688 @section IMAP のためのマークのオフライン処理
7689 @end ifset
7690 @ifset en
7691 @section Processing marks off-line for IMAP
7692 @end ifset
7693 @kindex lx
7694 @kindex C-cC-c (Summary)
7695 @kindex s (Summary)
7696
7697 @ifset ja
7698 IMAP ユーザは、フォルダ A のメッセージをキャッシュし、出先で @samp{o}
7699 マークや @samp{D} マークを付け、その場でそれらのマークを処理したくなる
7700 ことがあります。この場合、その後ネットワークに接続したときに、それらの
7701 処理が IMAP サーバに反映されて欲しいと思います。
7702 @end ifset
7703 @ifset en
7704 An IMAP user may want to cache messages in folder A and go out. Then he
7705 may want to put the @samp{o} and/or @samp{D} marks, and process the
7706 marks off-line. In this story, these jobs should be done in his IMAP
7707 server after connecting the Internet.
7708 @end ifset
7709
7710 @ifset ja
7711 通常 IMAP では、メッセージをフォルダ A からフォルダ B へ移動させた場合、
7712 フォルダ A にキャッシュされているそのメッセージを削除し、IMAP サーバから
7713 ネットワークを通じ、フォルダ B へそのメッセージをキャッシュし直す必要が
7714 あります。なぜなら、フォルダ A にキャッシュされているメッセージに付随す
7715 る IMAP の情報は、フォルダ A 内でのみ有効だからです。
7716 @end ifset
7717 @ifset en
7718 If a message in folder A is moved to folder B with IMAP, the cached
7719 message in folder A usually must be deleted and a corresponding message
7720 in folder B must be retrieved from his IMAP server again. This is
7721 because information embedded in a cached message in folder A is valid
7722 only in folder A.
7723 @end ifset
7724
7725 @ifset ja
7726 出先でフォルダ A のメッセージをフォルダ B へ整理したとしましょう。仮に、
7727 そのメッセージをフォルダ B で読むためには、ネットワークに接続してその処
7728 理を IMAP サーバに反映し、IMAP サーバから取り直さないといけないとすると
7729 不便です。欲を言えば、出先でフォルダ B へ整理したメッセージは、IMAP サー
7730 バから取り直さなくとも、フォルダ B へ移動すれば読めるようになっていて欲
7731 しいと思います。
7732 @end ifset
7733 @ifset en
7734 Suppose you refile a message in folder A to folder B off-line. It is
7735 very inconvenient for you to retrieve a corresponding message in folder
7736 B from your IMAP server , in order to read it, after refile jobs are
7737 done online. You may want to read the messages refiled to folder B by
7738 just going to the folder B, without retrieval form the IMAP server.
7739 @end ifset
7740
7741 @ifset ja
7742 Mew では、メッセージ処理を後から IMAP サーバへ反映することと、IMAP サー
7743 バからメッセージを再取得しなくても移動先のフォルダでメッセージを読めるこ
7744 との両方を実現しています。ネットワークに接続していない状況で、マークを処
7745 理するには、@samp{lx} を使用して下さい。@samp{lx} を実行すると、以下の処
7746 理がなされます。
7747 @end ifset
7748 @ifset en
7749 Mew implements delayed jobs processing and viewing refiled messages
7750 without retrieval. If you want to process marks off-line, type @samp{lx}.
7751 @samp{lx} carries out the following jobs.
7752 @end ifset
7753
7754 @enumerate
7755 @ifset ja
7756 @item
7757 @samp{o} マークや @samp{D} マークのついたメッセージがフォルダ A からなく
7758 なる。
7759 @item
7760 この処理はメッセージ形式で、%queue に溜る。
7761 @item
7762 @samp{o} マークのついたメッセージは、ローカルでフォルダ B へ移動され、無
7763 効なメッセージとして扱われる。
7764 @end ifset
7765 @ifset en
7766 @item
7767 Deleting messages marked with @samp{o} and/or @samp{D} from folder A.
7768 @item
7769 Queuing these jobs in %queue.
7770 @item
7771 Moving messages marked with @samp{o} to folder B and marking them
7772 invalid.
7773 @end ifset
7774 @end enumerate
7775
7776 @ifset ja
7777 無効なメッセージとは、読むことはできるが、@samp{o} マークや @samp{D} マー
7778 クをつけられないものをいいます。無効なメッセージには、@samp{#} マークが
7779 付いています。@samp{g} を使って、フォルダ B へ行くと、無効なメッセージ
7780 の一覧が自動的に表示されます。
7781 @end ifset
7782 @ifset en
7783 'invalid' means that you can read it but you cannot put the
7784 @samp{o}/@samp{D} mark on it. Invalid messages are marked with
7785 @samp{#}. When you go to folder B by typing @samp{g}, a list of
7786 invalid messages is displayed automatically.
7787 @end ifset
7788
7789 @ifset ja
7790 ネットワークに接続した後に、%queue に溜っている処理を IMAP サーバに反映さ
7791 せるには、%queue で @samp{C-cC-c} と入力して下さい。
7792 @end ifset
7793 @ifset en
7794 If you want to let your IMAP server process jobs in %queue after you get
7795 back online, type @samp{C-cC-c} in %queue.
7796 @end ifset
7797
7798 @ifset ja
7799 IMAP サーバに処理を反映した後に、フォルダ B で @samp{s} を押すと、無効な
7800 メッセージが削除され、有効なメッセージがキャッシュされます。
7801 @end ifset
7802 @ifset en
7803 Typing @samp{s} in folder B after jobs in %queue are done in your IMAP
7804 server results in deletion of invalid messages and caching valid
7805 messages.
7806 @end ifset
7807
7808 @c %%%%%%%%%%%%%%%%%
7809 @node mew-mark, Refile, off-line, Marks
7810 @ifset ja
7811 @section Mew が表示するマーク
7812 @end ifset
7813 @ifset en
7814 @section Marks displayed by Mew
7815 @end ifset
7816
7817 @ifset ja
7818 以下に Mew が表示するマークをまとめます。
7819 @end ifset
7820 @ifset en
7821 Here is a summary of marks displayed by Mew.
7822 @end ifset
7823
7824 @table @samp
7825 @ifset ja
7826 @item M
7827 マルチパートを表すマーク。@xref{multipart} を参照のこと。
7828 @item -
7829 Multipart/Alternative を表すマーク。@xref{analysis} を参照のこと。
7830 @item T
7831 メッセージが切り詰められたことを表すマーク。@xref{retrieving} を参照のこ
7832 と。
7833 @item S
7834 署名を表すマーク。@xref{cipher-viewing} を参照のこと。
7835 @item E
7836 暗号化を表すマーク。@xref{cipher-viewing} を参照のこと。
7837 @item P
7838 分割されていることを示すマーク。@xref{target mark} を参照のこと。
7839 @item #
7840 メッセージが無効であることを示すマーク。@xref{off-line} を参照のこと。
7841 @end ifset
7842 @ifset en
7843 @item M
7844 This message is a multipart. Please refer to @ref{multipart}.
7845 @item -
7846 This message contains a Multipart/Alternative content. Please refer to
7847 @ref{analysis}.
7848 @item T
7849 This message was truncated by Mew. Please refer to @ref{retrieving}.
7850 @item S
7851 This message is signed. Please refer to @ref{cipher-viewing}.
7852 @item E
7853 This is a cipher message. Please refer to @ref{cipher-viewing}.
7854 @item P
7855 This message is fragmented. Please refer to @ref{target mark}.
7856 @item #
7857 This message is invalid. Please refer to @ref{off-line}.
7858 @end ifset
7859 @end table
7860
7861 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7862 @c Refile
7863 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7864
7865 @node Refile, by-folder, mew-mark, Top
7866 @ifset ja
7867 @chapter 楽々整理整頓
7868 @end ifset
7869 @ifset en
7870 @chapter Happy refiling
7871 @end ifset
7872
7873 @ifset ja
7874 1 日に数百のメッセージを受け取るようになると整理整頓が大変になります(え、
7875 そんなに受け取らないですって? 幸せですね :) 。Mew では、@samp{o} でメッ
7876 セージを整頓する際に、整頓先を推測し初期値として表示してくれます。たと
7877 えば、次のようになります。
7878 @end ifset
7879 @ifset en
7880 When you come to receive hundreds of messages in a day (do not you
7881 believe it?), refiling messages becomes a very tough job. Mew neatly
7882 guesses default folders where the message is supposed to be refiled when
7883 you type @samp{o}. You can see an example below.
7884 @end ifset
7885
7886 @example
7887 Folder name (+work/mew-dist): +
7888 @end example
7889
7890 @ifset ja
7891 もし、() の中の初期値が自分の希望通りであれば、@samp{RET} を押すだけで
7892 よいのです。整頓先が決定しているメッセージには、@samp{o} マークが付きま
7893 す。
7894 @end ifset
7895 @ifset en
7896 If the default value in () is proper, just type @samp{RET}. The messages
7897 will be marked with @samp{o} if its refiling folders are decided.
7898 @end ifset
7899
7900 @ifset ja
7901 メッセージを移動できるのは、そのメッセージが属している「世界」の中でのみ
7902 です。前述のように世界はケースと修飾子によって定まります。整頓先のフォル
7903 ダを指定する場合には、ケースを付けず、同じ修飾子を持つフォルダ名を入力す
7904 る必要があります。ケースを付けない理由は、そのメッセージのケースはすでに
7905 定まっているからです。ミニバッファからフォルダ名を入力する際、ケースが
7906 "default" でないにも関わらずケースを明示的に入力しないのは、整頓先を指定
7907 する場合のみです。
7908 @end ifset
7909 @ifset en
7910 You can refile a message to folders of the same world to which the
7911 message belong. As described above, a world is identified by a
7912 combination of "case" and proto. When you input a folder to which the
7913 message is refiled, you must not specify "case" and you must input a
7914 folder whose proto is the same. The reason why you must not specify
7915 @w{"}case" is that the "case" is already known. With other commands, you
7916 have to specify the "case", if necessary, when you input folder name
7917 in minibuffer. This command is only the exception.
7918 @end ifset
7919
7920 @ifset ja
7921 @samp{o} に似たコマンドに @samp{c} があります。両者の違いは、
7922 @xref{refile mark} を参照して下さい。
7923 @end ifset
7924 @ifset en
7925 Mew also provides @samp{c} which is very similar to @samp{o}. To know
7926 the difference, please refer to @ref{refile mark}.
7927 @end ifset
7928
7929 @ifset ja
7930 この整頓先の推測が賢ければ賢い程ユーザは楽になります。Mew では以下のよう
7931 な規則が用意されています。
7932 @end ifset
7933 @ifset en
7934 As you know, the more excellent refiling guess algorithms become, the
7935 less user's job troublesome. Mew provides you with the following rules.
7936 @end ifset
7937
7938 @menu
7939 @ifset ja
7940 * by-folder:: メーリングリスト用のフォルダから推測
7941 * by-alist:: 指定した規則から推測
7942 * by-thread:: 対話関係から推測
7943 * by-from-folder:: 個人用のフォルダから推測
7944 * by-from:: From: から推測
7945 * by-newsgroups:: Newsgroups: から推測
7946 * by-default:: デフォルトの規則
7947 * guess-rule:: 規則の制御
7948 * auto-refile:: 自動で整理整頓
7949 * copy-msg:: 世界を越えたメッセージのコピー
7950 @end ifset
7951 @ifset en
7952 * by-folder:: Guess by mailing-list folders
7953 * by-alist:: Guess by user defined rules
7954 * by-thread:: Guess by thread
7955 * by-from-folder:: Guess by private folders
7956 * by-from:: Guess by From:
7957 * by-newsgroups:: Guess by Newsgroups:
7958 * by-default:: Guess by default rule
7959 * guess-rule:: Controlling rules
7960 * auto-refile:: Auto refile
7961 * copy-msg:: Copying messages across worlds
7962 @end ifset
7963 @end menu
7964
7965 @c %%%%%%%%%%%%%%%%%
7966 @node by-folder, by-alist, Refile, Refile
7967 @ifset ja
7968 @section メーリングリスト用のフォルダから推測
7969 @end ifset
7970 @ifset en
7971 @section Guess by mailing-list folders
7972 @end ifset
7973 @vindex mew-use-fast-refile
7974 @vindex mew-use-node-folder
7975
7976 @ifset ja
7977 あるメーリングリスト宛のメッセージを、そのメーリングリスト名のフォルダに
7978 整理することは多いと思います。Mew ではメーリングリスト宛に届いたメッセー
7979 ジに対して、それ用のフォルダを推測する機能があります。
7980 @end ifset
7981 @ifset en
7982 Many users tend to refile messages destined to a mailing-list to a
7983 folder whose name is the same as the mailing-list. Mew provides a
7984 mechanism to guess a mailing-list folder for messages destined to
7985 mailing-lists.
7986 @end ifset
7987
7988 @ifset ja
7989 たとえば、+misc/pooh-lovers というフォルダがあったとしましょう。次のよう
7990 なメッセージは、このフォルダに整頓すればよい可能性が高いといえます。
7991 @end ifset
7992 @ifset en
7993 Suppose that you have a folder named +misc/pooh-lovers. The following
7994 message is probably to be refiled to this folder.
7995 @end ifset
7996
7997 @example
7998 To: pooh-lovers@@example.org
7999 @end example
8000
8001 @ifset ja
8002 このように、To: や Cc: のアドレスが、フォルダ名の一番右側にマッチするも
8003 のがないか探すわけです。フォルダを階層化していない人が多いようですが、
8004 Mew を使う限り、階層化しない手はありません。
8005 @end ifset
8006 @ifset en
8007 Likewise, Mew searches a matching folder forward with addresses on To:
8008 and Cc:. There are many people who do not use recursive folders. With
8009 Mew, however, you would not be smart if you do not use it.
8010 @end ifset
8011
8012 @ifset ja
8013 さて、鋭い人は次のように個人のアドレスが To: や Cc: にある場合、困るので
8014 はないかと思うでしょう。
8015 @end ifset
8016 @ifset en
8017 Smart users may wonder that they get a trouble in the following
8018 situation where private addresses are on To: or Cc:.
8019 @end ifset
8020
8021 @example
8022 To: piglet@@example.org
8023 Cc: pooh-lovers@@example.org
8024 @end example
8025
8026 @ifset ja
8027 たとえば、pooh は pooh-lovers の一員ですから、このメッセージが届きます。
8028 しかし、piglet と仲がいいので、+from/piglet にマッチしてしまいます。
8029 @end ifset
8030 @ifset en
8031 Since Pooh is a member of pooh-lovers, he receives this message. But he
8032 has a folder for his friend, Piglet. So, +from/piglet may be chosen.
8033 @end ifset
8034
8035 @ifset ja
8036 そこで、Mew では無視するフォルダを設定できるようになっています。デフォル
8037 トでは、+from 以下を無視します。ですから、個人からのメッセージは +from
8038 以下に収めて下さい
8039 @end ifset
8040 @ifset en
8041 To avoid this, Mew allows you to specify which folders are to be
8042 ignored. The default is +from. So, please take a convention to refile
8043 personal messages under +from.
8044 @end ifset
8045
8046 @ifset ja
8047 候補が決定できたら
8048 @end ifset
8049 @ifset en
8050 When Mew guesses a candidate by the folders, it asks you:
8051 @end ifset
8052
8053 @example
8054 Folder name (+misc/pooh-lovers): +
8055 @end example
8056
8057 @ifset ja
8058 と訊いてきます。あっていれば @samp{RET} を、違っていればお望みのフォルダ
8059 を入力して下さい。
8060 @end ifset
8061 @ifset en
8062 Just type @samp{RET} if the default is exactly what you want.
8063 @end ifset
8064
8065 @ifset ja
8066 @samp{o} で新しいフォルダを指定すると、そのフォルダが自動的に作成され、
8067 次からは推測用の候補にも加わります。便利でしょ?
8068 @end ifset
8069 @ifset en
8070 If you specify a new folder with @samp{o}, the folder is created and
8071 added to the folder list to be used for guess. Convenient, isn't it?
8072 @end ifset
8073
8074 @ifset ja
8075 この機能を提供する関数は @samp{mew-refile-guess-by-folder} です。
8076 @end ifset
8077 @ifset en
8078 The function name to provide this feature is
8079 @samp{mew-refile-guess-by-folder}.
8080 @end ifset
8081
8082 @ifset ja
8083 もし、フォルダ名に大文字を使っていないなら、以下の設定により、この関数が
8084 高速になります。
8085 @end ifset
8086 @ifset en
8087 If you don't use capital letters for folder names, configure as follows
8088 to make this function faster:
8089 @end ifset
8090
8091 @lisp
8092 (setq mew-use-fast-refile t)
8093 @end lisp
8094
8095 @ifset ja
8096 デフォルトでは、末端のフォルダと中間のフォルダが候補の対象となっていま
8097 す。もし、中間のフォルダではなく、末端のフォルダだけを選びたい場合は、
8098 以下のように設定して下さい。
8099 @end ifset
8100 @ifset en
8101 By default, candidate includes node folders as well as leaf folders.
8102 If you want to not select node folders but leave folders only,
8103 configure as follows:
8104 @end ifset
8105
8106 @lisp
8107 (setq mew-use-node-folder nil)
8108 @end lisp
8109
8110 @c %%%%%%%%%%%%%%%%%
8111 @node by-alist, by-thread, by-folder, Refile
8112 @ifset ja
8113 @section 指定した規則から推測
8114 @end ifset
8115 @ifset en
8116 @section Guess by user defined rules
8117 @end ifset
8118 @vindex mew-refile-guess-alist
8119
8120 @ifset ja
8121 フォルダ名から推測する機能だけでは、思うようなフォルダを推測してくれな
8122 い場合があります。たとえば、To: が staff@@example.jp であるメッセージと
8123 To: が staff@@example.net であるメッセージに対し、フォルダ名からの推測
8124 では同じフォルダ(たとえば、"+net/staff")が選ばれてしまいます。そこで、
8125 Mew では、変数 @samp{mew-refile-guess-alist} に明示的に規則を設定できま
8126 す。(@samp{mew-refile-guess-alist} は、必ず新しい書式で書いて下さい。詳
8127 しくは @xref{config2} を参照のこと。)
8128 @end ifset
8129 @ifset en
8130 There are some cases where the refile guess mechanism by folders does
8131 not work as you wish. For example, for both a message whose To: is
8132 staff@@example.jp and another message whose To: is staff@@example.net,
8133 the same folder would be selected with guess by folders
8134 (e.g. "+net/staff"). So, Mew allows you to define your own rules
8135 explicitly. (You must use the new format for
8136 @samp{mew-refile-guess-alist}. For more information, see
8137 @end ifset
8138
8139 @ifset ja
8140 1 つ例を挙げてみましょう。
8141 @end ifset
8142 @ifset en
8143 Let's look at an example.
8144 @end ifset
8145
8146 @lisp
8147 (setq mew-refile-guess-alist
8148 '(("To:"
8149 ("staff@@example.jp" "+jp/staff")
8150 ("staff@@example.net" "+net/staff"))))
8151 @end lisp
8152
8153 @ifset ja
8154 これは、メッセージヘッダ中の To: の横の文字列に staff@@example.jp があ
8155 れば +jp/staff へ、staff@@example.net があれば +net/staff へ整頓すると
8156 いう意味です。
8157 @end ifset
8158 @ifset en
8159 This means that if To: contains staff@@example.jp +jp/staff is
8160 selected and if To: has staff@@example.net +net/staff is chosen.
8161 @end ifset
8162
8163 @ifset ja
8164 規則は、以下のように書きます。
8165 @end ifset
8166 @ifset en
8167 The format of this rule is as follow:
8168 @end ifset
8169
8170 @example
8171 rule ::= '<rule>
8172 <rule> ::= ((<key> <alist>) (<key> <alist>) ... [<special>])
8173 @end example
8174
8175 @ifset ja
8176 全体は (<key> <alist>) のリストです。<key> はフィールド名を書きます。
8177 <alist> は以下のようになります。
8178 @end ifset
8179 @ifset en
8180 The whole is a list of (<key> <alist>). A field name is specified for
8181 <key>. The format for <alist> is as follows:
8182 @end ifset
8183
8184 @example
8185 <alist> ::= (<value> <folder>|<rule>) (<value> <folder>|<rule>) ...
8186 @end example
8187
8188 @ifset ja
8189 <value> は <key> で示したフィールドにくる値です。<folder> は <key> にマッ
8190 チした際にどのフォルダに整頓するかを意味しています。<folder> の代りに
8191 <rule> を再帰的に記述することもできます。
8192 @end ifset
8193 @ifset en
8194 <value> is a field value for <key>. <folder> means a folder to be
8195 chosen if matched. You can write <rule> recursively instead of
8196 <folder>.
8197 (@xref{config2}.)
8198 @end ifset
8199
8200 @ifset ja
8201 特殊な <key> として @samp{nil} と @samp{t} があります。@samp{nil} は、何
8202 も推測できなかった場合に返す <folder> を指定するために用います。@samp{t}
8203 は、推測した値に加えて返す <folder> を指示するために使います。
8204 @end ifset
8205 @ifset en
8206 There are two special <key>s: @samp{nil} and @samp{t}. @samp{nil} is
8207 used to specify <folder> to be returned when nothing is guessed. @samp{t}
8208 can specify <folder> to be returned in addition to guessed values.
8209 @end ifset
8210
8211 @example
8212 <special> ::= (t <folder>) | (nil <folder>)
8213 @end example
8214
8215 @ifset ja
8216 正規表現を知っている人は、以下のような複雑な規則を設定できます。
8217 @end ifset
8218 @ifset en
8219 If you know regular expression, a more advanced rule can be defined like
8220 this.
8221 @end ifset
8222
8223 @lisp
8224 (setq mew-refile-guess-alist
8225 '(("Newsgroups:"
8226 ("^nifty\\.\\([^ ]+\\)" "+Nifty/\\1")
8227 (".*" "+rec/news"))
8228 ("To:"
8229 ("\\(inet\\|wide\\)@@wnoc-fuk" "+wide/\\1-wnoc-fuk"))
8230 ("From:"
8231 ("uucp@@" "+adm/uucp")
8232 ("ftpsync@@" "+adm/ftpsync"))
8233 (nil "+unknown")))
8234 @end lisp
8235
8236 @ifset ja
8237 この機能を提供する関数は @samp{mew-refile-guess-by-alist} です。
8238 @end ifset
8239 @ifset en
8240 The function name to provide this feature is
8241 @samp{mew-refile-guess-by-alist}.
8242 @end ifset
8243
8244 @c %%%%%%%%%%%%%%%%%
8245 @node by-thread, by-from-folder, by-alist, Refile
8246 @ifset ja
8247 @section 対話関係から推測
8248 @end ifset
8249 @ifset en
8250 @section Guess by thread
8251 @end ifset
8252 @vindex mew-lisp-max-length
8253
8254 @ifset ja
8255 Mew には、整頓しようとしているメッセージの親のメッセージが以前整頓された
8256 フォルダを選択してくれる機能があります。
8257 @end ifset
8258 @ifset en
8259 Mew provides a mechanism to guess a folder where the parent message of a
8260 current message was refiled before.
8261 @end ifset
8262
8263 @ifset ja
8264 たとえば、pooh、piglet、roo との間で、蜂蜜を取りに行こうという話題が盛り
8265 上がったとしましょう。pooh は、+project/honey というフォルダを作って、最
8266 初のメッセージをそこに整頓したとしましょう。以降、3 人の間のメッセージが
8267 きちんとした返答であるかぎり、+project/honey を推測してくれます。
8268 @end ifset
8269 @ifset en
8270 For example, Pooh, Piglet, and Roo had a chat to go and get honey. So,
8271 Pooh made +project/honey then refiled the message to it. The further
8272 messages, if they are properly replied, they are supposed to be refiled
8273 to +project/honey.
8274 @end ifset
8275
8276 @ifset ja
8277 あるメッセージをどこに保存したかという情報は、
8278 @w{"}~/Mail/.mew-refile-msgid-alist" に保存されています。この情報を過去
8279 何通のメッセージに関して保存するかは、@samp{mew-lisp-max-length} で決定
8280 します。初期値は 2000 通です。3000 通にしたい場合は "~/.mew.el" 中で以
8281 下のように設定して下さい。
8282 @end ifset
8283 @ifset en
8284 Information that which folder was chosen for messages is stored to
8285 @w{"}~/Mail/.mew-refile-msgid-alist". @samp{mew-lisp-max-length}
8286 controls the amount of this information. The default value is 2000
8287 messages. If you want limits it to 3000 messages, put the following to
8288 "~/.mew.el".
8289 @end ifset
8290
8291 @lisp
8292 (setq mew-lisp-max-length 3000)
8293 @end lisp
8294
8295 @ifset ja
8296 この機能を提供する関数は @samp{mew-refile-guess-by-thread} です。
8297 @end ifset
8298 @ifset en
8299 The function name to provide this feature is
8300 @samp{mew-refile-guess-by-message-id}.
8301 @end ifset
8302
8303 @c %%%%%%%%%%%%%%%%%
8304 @node by-from-folder, by-from, by-thread, Refile
8305 @ifset ja
8306 @section 個人用のフォルダから推測
8307 @end ifset
8308 @ifset en
8309 @section Guess by private folders
8310 @end ifset
8311 @vindex mew-refile-guess-from-me-is-special
8312
8313 @ifset ja
8314 @xref{by-folder} で説明したメーリングリスト用のフォルダを推測するに加え
8315 て、個人用のフォルダを推測する機能があります。個人用のフォルダは +from
8316 以下にありますから、+from 以下のフォルダを選択する機能だともいえます。以
8317 下の例を考えてみましょう。
8318 @end ifset
8319 @ifset en
8320 In addition to the mechanism to select a mailing-list folder described
8321 in @ref{by-folder}, Mew provides a mechanism to choose a private
8322 folder. Since private folders locate under +from, we can say that this
8323 mechanism select a folder from the folders under +from. Let's see the
8324 following example:
8325 @end ifset
8326
8327 @example
8328 To: pooh@@example.net
8329 From: piglet@@example.org
8330 @end example
8331
8332 @ifset ja
8333 piglet から pooh にメッセージが来ました。pooh がこの機能を使うと、From:
8334 を手がかりに +from/piglet が選択されます。(+from 以下は階層化されていて
8335 も構いません。また、フォルダ名はユーザ名だけではなくアドレス全体でも OK
8336 です。)
8337 @end ifset
8338 @ifset en
8339 Pooh received a message from Piglet. If Pooh uses this mechanism,
8340 +from/piglet will be chosen according to From:. (Folders under +from can
8341 be recurse. And you can select the entire address for a folder name
8342 instead of the user part.)
8343 @end ifset
8344
8345 @ifset ja
8346 この機能を提供する関数は、@samp{mew-refile-guess-by-from-folder} といいます。
8347 @end ifset
8348 @ifset en
8349 The function to provide this feature is
8350 @samp{mew-refile-guess-by-from-folder}.
8351 @end ifset
8352
8353 @ifset ja
8354 次に、pooh が piglet に返答した場合を考えましょう。pooh は自分自身に Cc:
8355 していたので、自分にメッセージが戻ってきました。
8356 @end ifset
8357 @ifset en
8358 Next, let's consider a care where Pooh replied to Piglet. Since Pooh
8359 Cc:ed the message to himself, the message was also delivered to him.
8360 @end ifset
8361
8362 @example
8363 To: piglet@@example.org
8364 Cc: pooh@@example.net
8365 From: pooh@@example.net
8366 @end example
8367
8368 @ifset ja
8369 pooh の立場になって考えてみて下さい。このメッセージを +from/pooh に整頓
8370 するか、あるいは +from/piglet に整頓するのかは、好みが分かれるところで
8371 しょう。そこで、どちらを選択するのかカスタマイズできるようになっていま
8372 す。
8373 @end ifset
8374 @ifset en
8375 How do you feel if you are Pooh? You may want to refile this to
8376 +from/pooh. Also, you may want to move this to +from/piglet. So, it
8377 can be customized.
8378 @end ifset
8379
8380 @ifset ja
8381 @samp{mew-refile-guess-from-me-is-special} が @samp{t} なら、
8382 @samp{mew-refile-guess-by-from-folder} は、From: が自分のアドレスの場合
8383 に、To: と Cc: にあるアドレスをもとに、+from 以下のフォルダを選択します。
8384 @end ifset
8385 @ifset en
8386 If @samp{mew-refile-guess-from-me-is-special} is @samp{t} and if an
8387 address in From: is yourself, @samp{mew-refile-guess-by-from-folder}
8388 select a folder under +from according to To: and/or Cc:.
8389 @end ifset
8390
8391 @c %%%%%%%%%%%%%%%%%
8392 @node by-from, by-newsgroups, by-from-folder, Refile
8393 @ifset ja
8394 @section From: から推測
8395 @end ifset
8396 @ifset en
8397 @section Guess by From:
8398 @end ifset
8399 @vindex mew-lisp-max-length
8400 @vindex mew-refile-guess-from-me-is-special
8401
8402 @ifset ja
8403 From: に同一のアドレスを持つメッセージが、かつてどこに整頓されたかによっ
8404 て推測する機能があります。
8405 @end ifset
8406 @ifset en
8407 Mew also provides a mechanism to guess a folder by the place where a
8408 message that has the same From: field is refiled.
8409 @end ifset
8410
8411 @ifset ja
8412 たとえば、piglet は piglet@@example.org と p-p-p@@example.org の 2 つのア
8413 ドレスを持っているとしましょう。どちらのアドレスからメッセージが届いても、
8414 pooh はそれらを +from/piglet に整頓したいと思っています。もちろん、以下
8415 のように明示的に規則を書けば実現できます。
8416 @end ifset
8417 @ifset en
8418 Suppose that Piglet has two addresses, piglet@@example.org and
8419 p-p-p@@example.org. Pooh wants to refile messages from Piglet to
8420 +from/piglet no matter what his From: is. This policy can, of course, be
8421 implemented if Pooh specifies rules explicitly as follows:
8422 @end ifset
8423
8424 @lisp
8425 (setq mew-refile-guess-alist
8426 '(("From:"
8427 ("piglet@@example.org" "+from/piglet")
8428 ("p-p-p@@example.org" "+from/piglet"))))
8429 @end lisp
8430
8431 @ifset ja
8432 しかし、いちいち規則を書くのは面倒です。そこで、まず From: が
8433 piglet@@example.org であるメッセージを +from/piglet に整頓します。これ
8434 でフォルダ +from/piglet が作成されます。次に、From: が p-p-p@@example.org で
8435 あるメッセージを +from/piglet に整頓したとします。ここで Mew は、
8436 p-p-p@@example.org が +from/piglet に整頓されたことを学習します。以後 From:
8437 が p-p-p@@example.org であるメッセージを整頓しようとすると、+from/piglet を
8438 選択するようになります。
8439 @end ifset
8440 @ifset en
8441 But such a work may bother you. So, first refile a message whose From:
8442 is piglet@@example.org to +from/piglet. At this time, +from/piglet is
8443 created. Next, refile a message whose From: is p-p-p@@example.org to
8444 +from/piglet. Here Mews learns that p-p-p@@example.org was refiled to
8445 +from/piglet. After this, when messages whose From: is p-p-p@@example.org
8446 are refiled, +from/piglet is chosen.
8447 @end ifset
8448
8449 @ifset ja
8450 その他、機械からくるメッセージは、いつも +adm/misc に入れることにしたい
8451 場合なども、明示的な規則を書かずに済ませられます。
8452 @end ifset
8453 @ifset en
8454 For another example, you can refile messages from machinery to +adm/misc
8455 without defining an explicit rule.
8456 @end ifset
8457
8458 @ifset ja
8459 From: とフォルダの情報は、"~/Mail/.mew-refile-from-alist" に保存されてい
8460 ます。この情報を過去何通のメッセージに関して保存するかは、
8461 @xref{by-thread} と同様に @samp{mew-lisp-max-length} で決定します。
8462 @end ifset
8463 @ifset en
8464 Information for relationship between From: and folder is stored to
8465 @w{"}~/Mail/.mew-refile-from-alist". @samp{mew-lisp-max-length}
8466 controls the amount of this information as the same as
8467 @ref{by-thread}.
8468 @end ifset
8469
8470 @ifset ja
8471 この機能を提供する関数は @samp{mew-refile-guess-by-from} です。
8472 @end ifset
8473 @ifset en
8474 The function name to provide this feature is
8475 @samp{mew-refile-guess-by-from}.
8476 @end ifset
8477
8478 @ifset ja
8479 @samp{mew-refile-guess-from-me-is-special} が @samp{t} の場合、
8480 @samp{mew-refile-guess-by-from} は
8481 @samp{mew-refile-guess-by-from-folder}(@xref{by-from-folder})と同様な動
8482 きをします。
8483 @end ifset
8484 @ifset en
8485 If the value of @samp{mew-refile-guess-from-me-is-special} is @samp{t},
8486 @samp{mew-refile-guess-by-from} acts as
8487 @samp{mew-refile-guess-by-from-folder} (@pxref{by-from-folder}).
8488 @end ifset
8489
8490 @c %%%%%%%%%%%%%%%%%
8491 @node by-newsgroups, by-default, by-from, Refile
8492 @ifset ja
8493 @section Newsgroups: から推測
8494 @end ifset
8495 @ifset en
8496 @section Guess by Newsgroups:
8497 @end ifset
8498
8499 @ifset ja
8500 ニュースをメールとして受信して Mew で読んでいる人のために、Newsgroups:
8501 からフォルダを推測する機能を用意しました。関数名は
8502 @samp{mew-refile-guess-by-newsgroups} です。
8503 @end ifset
8504 @ifset en
8505 For those who read articles of NetNews received by e-mail with Mew, Mew
8506 provides a mechanism to guess a folder by Newsgroups:. The function name
8507 to provide this feature is @samp{mew-refile-guess-by-newsgroups}.
8508 @end ifset
8509
8510 @c %%%%%%%%%%%%%%%%%
8511 @node by-default, guess-rule, by-newsgroups, Refile
8512 @ifset ja
8513 @section デフォルトの規則
8514 @end ifset
8515 @ifset en
8516 @section Guess by default rule
8517 @end ifset
8518 @vindex mew-refile-guess-strip-domainpart
8519
8520 @ifset ja
8521 デフォルトの規則は、From: からユーザ名を切り出して、@samp{+from/user}
8522 を選ぶようになっています。ただし、
8523 @samp{mew-refile-guess-strip-domainpart} が @samp{nil} ならアドレスを切
8524 り出すので、@samp{+from/user@@domain} が選択されます。
8525 @samp{mew-refile-guess-strip-domainpart} の初期値は @samp{t} です。
8526 @end ifset
8527 @ifset en
8528 The default rule is to extract a user name from From: and to choose
8529 @samp{+from/user}. But if @samp{mew-refile-guess-strip-domainpart} is
8530 @samp{nil}, it extracts the entire address. So,
8531 @samp{+from/user@@domain} is chosen. The default value of
8532 @samp{mew-refile-guess-strip-domainpart} is @samp{t}.
8533 @end ifset
8534
8535 @ifset ja
8536 関数名は、@samp{mew-refile-guess-by-default} です。
8537 @end ifset
8538 @ifset en
8539 The function name is @samp{mew-refile-guess-by-default}.
8540 @end ifset
8541
8542 @c %%%%%%%%%%%%%%%%%
8543 @node guess-rule, auto-refile, by-default, Refile
8544 @ifset ja
8545 @section 規則の制御
8546 @end ifset
8547 @ifset en
8548 @section Controlling rules
8549 @end ifset
8550 @vindex mew-refile-guess-control
8551 @vindex mew-refile-ctrl-multi
8552
8553 @ifset ja
8554 Mew では、フォルダ推測の規則を 2 つの変数、@samp{mew-refile-guess-control}
8555 と @samp{mew-refile-ctrl-multi} で制御します。
8556 @samp{mew-refile-guess-control} は、呼び出す関数を順に定義します。候補を
8557 複数にしたい場合は @samp{mew-refile-ctrl-multi} を @samp{t} に、単数にし
8558 たい場合は @samp{nil} に設定します。
8559 @end ifset
8560 @ifset en
8561 Mew controls guess rules by two variables,
8562 @samp{mew-refile-guess-control} and @samp{mew-refile-ctrl-multi}. If you
8563 want multiple candidates, set @samp{mew-refile-ctrl-multi}
8564 @samp{t}. Otherwise, set it @samp{nil}.
8565 @end ifset
8566
8567 @ifset ja
8568 標準では、@samp{mew-refile-guess-control} は以下のように宣言されています
8569 (宣言なので @samp{defvar} が使われています)。
8570 @end ifset
8571 @ifset en
8572 By default, @samp{mew-refile-guess-control} is declared as follows
8573 (since it is a declaration, @samp{defvar} is used):
8574 @end ifset
8575
8576 @lisp
8577 (defvar mew-refile-guess-control
8578 '(mew-refile-guess-by-alist
8579 mew-refile-ctrl-throw
8580 mew-refile-guess-by-newsgroups
8581 mew-refile-guess-by-folder
8582 mew-refile-ctrl-throw
8583 mew-refile-ctrl-auto-boundary
8584 mew-refile-guess-by-thread
8585 mew-refile-ctrl-throw
8586 mew-refile-guess-by-from-folder
8587 mew-refile-ctrl-throw
8588 mew-refile-guess-by-from
8589 mew-refile-ctrl-throw
8590 mew-refile-guess-by-default))
8591 @end lisp
8592
8593 @ifset ja
8594 Mew は @samp{mew-refile-guess-control} に並べられた関数を順番にすべて実
8595 行します。各々の関数が複数の候補を推測することがあります。
8596 @end ifset
8597 @ifset en
8598 Mew executes every function defined in @samp{mew-refile-guess-control}
8599 in order. Each function may guess multiple candidates.
8600 @end ifset
8601
8602 @ifset ja
8603 @samp{mew-refile-guess-control} の動作例として以下を考えてみましょう。
8604 @end ifset
8605 @ifset en
8606 Let's see the following example of @samp{mew-refile-guess-control}
8607 action.
8608 @end ifset
8609
8610 @table @samp
8611 @ifset ja
8612 @item mew-refile-guess-by-alist
8613 が +aaa、+bbb を推測。
8614 @item mew-refile-guess-by-folder
8615 が +ccc、+ddd を推測。
8616 @item mew-refile-guess-by-default
8617 が +eee を推測。
8618 @end ifset
8619 @ifset en
8620 @item mew-refile-guess-by-alist
8621 guessed +aaa and +bbb.
8622 @item mew-refile-guess-by-folder
8623 guessed +ccc and +ddd.
8624 @item mew-refile-guess-by-default
8625 guessed +eee.
8626 @end ifset
8627 @end table
8628
8629 @ifset ja
8630 +aaa 〜 +eee すべてをユーザに提示して欲しい場合は、
8631 @samp{mew-refile-ctrl-multi} を @samp{t} に、+aaa だけを提示して欲しい場
8632 合は、@samp{nil} に設定します。
8633 @end ifset
8634 @ifset en
8635 If you want to provide all candidates, +aaa - +eee, set
8636 @samp{mew-refile-ctrl-multi} @samp{t}. If you want to provide +aaa only,
8637 set it @samp{nil}.
8638 @end ifset
8639
8640 @ifset ja
8641 また、+aaa 〜 +ddd は提示して欲しいけれどもそれ以降はいらない、つまり、
8642 +eee を提示するのは先に実行された関数群が何も推測できなかったときだけに
8643 したい場合は、@samp{mew-refile-ctrl-multi} を @samp{t} にして、
8644 @samp{mew-refile-guess-by-folder} と @samp{mew-refile-guess-by-default}
8645 の間に @samp{mew-refile-ctrl-throw} を入れて下さい。
8646 @end ifset
8647 @ifset en
8648 If you want +aaa - +ddd but do not want left candidates, in other words,
8649 you want +eee only when no candidate is guessed by functions executed
8650 before, set @samp{mew-refile-ctrl-multi} @samp{t} and insert
8651 @samp{mew-refile-ctrl-throw} between @samp{mew-refile-guess-by-folder}
8652 and @samp{mew-refile-guess-by-default}.
8653 @end ifset
8654
8655 @ifset ja
8656 @samp{C-uo} は、この推測の流れを Message バッファに表示します。
8657 @end ifset
8658 @ifset en
8659 @samp{C-uo} displays the flow of guess rules in Message buffer.
8660 @end ifset
8661
8662 @c %%%%%%%%%%%%%%%%%
8663 @node auto-refile, copy-msg, guess-rule, Refile
8664 @ifset ja
8665 @section 自動で整理整頓
8666 @end ifset
8667 @ifset en
8668 @section Auto refile
8669 @end ifset
8670 @vindex mew-refile-auto-refile-skip-any-mark
8671 @kindex M-o (Summary)
8672 @kindex C-uM-o (Summary)
8673
8674 @ifset ja
8675 毎日メッセージをたくさんもらう人は、まだ整頓していないメッセージを
8676 +inbox (あるいは %inbox) フォルダに大量に溜めてしまうことがあります。そ
8677 んなときは、「メッセージ達よ、とにかくこのフォルダからどこかに行ってしま
8678 え」と叫びたくなることがあるでしょう。Mew は、そんなわがままな人を満足させ
8679 るための自動整理整頓関数を提供しています。:) @samp{M-o} がその呪文です。
8680 @end ifset
8681 @ifset en
8682 Those who receives many messages everyday is prone to store thousands of
8683 messages in the +inbox (or %inbox) folder. In such a case, they may want
8684 to speak out like this, "Hey messages, get out of the folder to
8685 somewhere". Mew provides a feature to satisfy such laziness. :)
8686 @samp{M-o} is the spell.
8687 @end ifset
8688
8689 @ifset ja
8690 この関数を実行すると、現在のフォルダ内の特定のメッセージに対して、自動的
8691 に @samp{o} マークを付けてくれます。特定のメッセージとは、
8692 @samp{mew-refile-auto-refile-skip-any-mark} が @samp{nil} なら、@samp{o}
8693 や @samp{D} マークが付いていないメッセージです。
8694 @samp{mew-refile-auto-refile-skip-any-mark} が @samp{t} なら、なにもマー
8695 クが付いてない(既読)メッセージです。
8696 @samp{mew-refile-auto-refile-skip-any-mark} の初期値は @samp{nil} です。
8697 @end ifset
8698 @ifset en
8699 When you execute this function, it marks specific messages with
8700 @samp{o}. The specific messages mean messages which are not marked
8701 with @samp{o} nor @samp{D} if
8702 @samp{mew-refile-auto-refile-skip-any-mark} is @samp{nil}. If
8703 @samp{mew-refile-auto-refile-skip-any-mark} is @samp{t}, they mean
8704 non-marked messages (i.e. read). The default value of
8705 @samp{mew-refile-auto-refile-skip-any-mark} is @samp{nil}.
8706 @end ifset
8707
8708 @ifset ja
8709 @samp{C-uM-o} は、@samp{mew-refile-auto-refile-skip-any-mark} の値とは関
8710 係なく @samp{*} マークの付いたメッセージを対象にします。
8711 @end ifset
8712 @ifset en
8713 @samp{C-uM-o} targets messages marked with @samp{*} regardless the value
8714 of @samp{mew-refile-auto-refile-skip-any-mark}.
8715 @end ifset
8716
8717 @ifset ja
8718 整頓先の決定には、先に説明した推測関数群が働くようになっています。この関
8719 数は、@samp{o} を付けるだけですので、@samp{x} を押さない限り実際にメッセー
8720 ジがどこかに行ってしまうことはありません。
8721 @end ifset
8722 @ifset en
8723 Refile rule is the same described in the previous section. Please note
8724 that what this function does is just mark messages with
8725 @samp{o}. Messages are not refiled until you will press @samp{x}.
8726 @end ifset
8727
8728 @ifset ja
8729 Mew の整頓先推測はあまりにも賢すぎるので、この機能には仇となってしまい
8730 ます。というのは、Mew が推測機能をフルに使って勝手に整頓してしまうと、
8731 大抵のユーザはどこにメッセージが整頓されたか分からなくなってしまうか
8732 らです。:) そのために、Mew が使う推測関数を制限する機能が提供されてい
8733 ます。前に出てきた宣言をもう一度思い出して下さい。
8734 @end ifset
8735 @ifset en
8736 Mew's refile mechanism is so smart that it would be harmful for this
8737 function. That is, most users would not understand where messages have
8738 been refiled if Mew made most use of its guess mechanism. :) For this
8739 reason, break is provided to limit usage of guess functions. Recall the
8740 declaration up above.
8741 @end ifset
8742
8743 @lisp
8744 (defvar mew-refile-guess-control
8745 '(mew-refile-guess-by-alist
8746 mew-refile-ctrl-throw
8747 mew-refile-guess-by-newsgroups
8748 mew-refile-guess-by-folder
8749 mew-refile-ctrl-throw
8750 mew-refile-ctrl-auto-boundary
8751 mew-refile-guess-by-thread
8752 mew-refile-ctrl-throw
8753 mew-refile-guess-by-from-folder
8754 mew-refile-ctrl-throw
8755 mew-refile-guess-by-from
8756 mew-refile-ctrl-throw
8757 mew-refile-guess-by-default))
8758 @end lisp
8759
8760 @ifset ja
8761 @samp{mew-refile-guess-control} の中に
8762 @samp{mew-refile-ctrl-auto-boundary} という関数があります。これがその仕
8763 掛です。自動整理整頓のときに限り、Mew はこの関数より下に記述してある推測
8764 を無視します。@samp{mew-refile-ctrl-auto-boundary} より上に記述している
8765 関数が何も推測できなかった場合は、そのメッセージには @samp{o} が付きませ
8766 ん。破滅が訪れる前に @samp{mew-refile-ctrl-auto-boundary} の御札を貼って
8767 下さい。
8768 @end ifset
8769 @ifset en
8770 You can find the @samp{mew-refile-ctrl-auto-boundary} function in
8771 @samp{mew-refile-guess-control}. Only when auto refile is used, Mew
8772 ignores guess functions below this function. If guess functions above
8773 @samp{mew-refile-ctrl-auto-boundary} didn't guess any folder for a
8774 message, the message is not marked with @samp{o}. Insert
8775 @samp{mew-refile-ctrl-auto-boundary} before you ruin.
8776 @end ifset
8777
8778
8779 @c %%%%%%%%%%%%%%%%%
8780 @node copy-msg, Virtual, auto-refile, Refile
8781 @ifset ja
8782 @section 世界を越えたメッセージのコピー
8783 @end ifset
8784 @ifset en
8785 @section Copying messages across worlds
8786 @end ifset
8787 @kindex lc (Summary)
8788 @kindex mlc (Summary)
8789 @kindex li (Summary)
8790 @kindex mli (Summary)
8791
8792 @ifset ja
8793 これまで説明した整頓とは、同じ世界の中でメッセージを移動させることでし
8794 た。これに対し、ある世界から他の世界へメッセージを移動させたいこともあ
8795 るでしょう。これは、ある世界から他の世界へメッセージへコピーし、その後
8796 元のメッセージを削除することで実現できます。ここでは、ある世界から他の
8797 世界へメッセージへコピーする方法について説明します。
8798 @end ifset
8799 @ifset en
8800 "Refile" described above is moving messages in the same world. By
8801 contrast, you may want to move messages from a world to another
8802 world. You can accomplish this by copying messages from a world to
8803 another and deleting the original messages. Here we describe how to
8804 copy messages to another world.
8805 @end ifset
8806
8807 @ifset ja
8808 あるフォルダのメッセージをローカルフォルダへコピーしたくなることがあり
8809 ます。この場合 @samp{lc} を利用して下さい。@samp{lc} は、リモート・フォ
8810 ルダで実行された場合、キャッシュされたメッセージから、そのリモート・フォ
8811 ルダに特有の情報をヘッダから取り除き、ローカル・フォルダへコピーします。
8812 (@samp{lc} は、ローカルフォルダでも実行できます。この場合、同じ世界内で
8813 のコピーになります。)
8814 @end ifset
8815 @ifset en
8816 You may want to copy a message to a local folder. For this, type
8817 @samp{lc}. If you execute @samp{lc} in a remote folder, Mew removes
8818 information related to the remote folder from the cached message and
8819 copy it to a local folder. (You can use @samp{lc} in a local folder,
8820 too. In this case, a message is moved in the same world.)
8821 @end ifset
8822
8823 @ifset ja
8824 あるフォルダのメッセージを IMAP のフォルダ(サーバ側)へコピーするには、
8825 @samp{li} を利用します。
8826 @end ifset
8827 @ifset en
8828 To opy a message in a folder to an IMAP folder (the server side), type
8829 @samp{li}.
8830 @end ifset
8831
8832 @ifset ja
8833 @samp{*} の付いた複数のメッセージをローカル・フォルダへコピーするには
8834 @samp{mlc} を使います。また、@samp{*} の付いた複数のメッセージを IMAP
8835 フォルダへコピーするには @samp{mli} を利用して下さい。
8836 @end ifset
8837 @ifset en
8838 To copy messages marked with @samp{*} to a local folder, use @samp{mlc}.
8839 To copy messages marked with @samp{*} to an IMAP folder, use @samp{mli}.
8840 @end ifset
8841
8842 @ifset ja
8843 ある世界から他の世界へメッセージへコピーするコマンドを以下にまとめます。
8844 @end ifset
8845 @ifset en
8846 Here is a summary of commands which copy messages from a world to
8847 another.
8848 @end ifset
8849
8850 @table @samp
8851 @ifset ja
8852 @item lc
8853 あるフォルダのメッセージをローカルフォルダへコピーする。
8854 @item mlc
8855 @samp{*} の付いた複数のメッセージをローカル・フォルダへコピーする。
8856 @item li
8857 あるフォルダのメッセージを IMAP のフォルダへコピーする。
8858 @item mli
8859 @samp{*} の付いた複数のメッセージを IMAP フォルダへコピーする。
8860 @end ifset
8861 @ifset en
8862 @item lc
8863 Copy a message to a local folder.
8864 @item mlc
8865 Copy messages marked with @samp{*} to a local folder.
8866 @item li
8867 Copy a message to the server side of IMAP.
8868 @item mli
8869 Copy messages marked with @samp{*} to the server side of IMAP.
8870 @end ifset
8871 @end table
8872
8873 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8874 @c Virtual
8875 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8876
8877 @node Virtual, selection, copy-msg, Top
8878 @ifset ja
8879 @chapter 仮想フォルダ
8880 @end ifset
8881 @ifset en
8882 @chapter Virtual folder
8883 @end ifset
8884
8885 @ifset ja
8886 Virtual モードは、必要なメッセージを表示するための仮想的なフォルダであ
8887 り、「セレクション」と「スレッド」の2種類に分類できます。
8888 @end ifset
8889 @ifset en
8890 Virtual mode is a virtual folder and it consists of "selection" and
8891 @w{"}thread".
8892 @end ifset
8893
8894 @table @samp
8895 @ifset ja
8896 @item セレクション
8897 いろいろなフォルダから必要なメッセージだけを集めた仮想フォルダです。フォ
8898 ルダ名の左側に "*" が付きます。
8899 @item スレッド
8900 フォルダ(Summary)やセレクション(Virtual)を基に、対話関係を行頭揃えによっ
8901 て可視化した仮想フォルダです。フォルダ名の両側に "*" が付きます。
8902 @end ifset
8903 @ifset en
8904 @item Selection
8905 A virtual folder collecting necessary messages from several folders.
8906 Its folder name has "*" on the left side.
8907 @item Thread
8908 A virtual folder to visualize message flow with indentation, created
8909 from a folder or a virtual folder. Its folder name has "*" on the both
8910 sides.
8911 @end ifset
8912 @end table
8913
8914 @ifset ja
8915 Summary モードで利用できるコマンドの多くが、Virtual モードで利用できま
8916 す。
8917 @end ifset
8918 @ifset en
8919 In Virtual mode, you can use most commands that you can find in
8920 Summary mode.
8921 @end ifset
8922
8923 @ifset ja
8924 Virtual モードでメッセージにマークを付けると、対応する Summary モードが
8925 あれば、そちらのメッセージにもマークが付きます。逆に、Summary モードで
8926 あるメッセージにマークを付けても、Virtual モードの対応するメッセージに
8927 はマークは付きません。
8928 @end ifset
8929 @ifset en
8930 If you put a mark on a message in Virtual mode and if corresponding
8931 Summary mode exists, the mark is also put onto the corresponding
8932 message there. But if you put a mark on a message in Summary mode,
8933 the mark is not put any corresponding messages in Virtual mode.
8934 @end ifset
8935
8936 @ifset ja
8937 Virtual モードからマークを処理することはできません。@samp{x} を押しマー
8938 クを処理しようとすると、対応する Summary モードがあれば、そちらに移動
8939 し、もう一度 @samp{x} を押すよう促されます。
8940 @end ifset
8941 @ifset en
8942 You cannot process marks in Virtual mode. Even if you type @samp{x} to
8943 process marks in Virtual mode, the cursor moves to corresponding
8944 Summary mode, if exsists, and you are asked to type @samp{x} again.
8945 @end ifset
8946
8947 @ifset ja
8948 仮想フォルダはまさしく仮想であり、ファイルシステムなどには存在しないこ
8949 とに注意して下さい。Emacs を終了すると、仮想フォルダはなくなります。
8950 Virtual モードを消去する方法については、@xref{Quit} を参照して下さい。
8951 @end ifset
8952 @ifset en
8953 You should take note that Virtual folder is really virtual and it does
8954 not exist in file system. If you exit Mew, it then disappears. To
8955 know how to delete Virtual mode, please refer to @ref{Quit}.
8956 @end ifset
8957
8958 @menu
8959 @ifset ja
8960 * selection:: セレクション
8961 * sorting:: ソート
8962 * dialog:: 対話
8963 * search:: 検索
8964 * condition:: 検索条件の入力方法
8965 * dbsearch:: 検索エンジン
8966 * keyword:: キーワードの強調
8967 * thread:: スレッド
8968 * thread-op:: スレッドの操作
8969 @end ifset
8970 @ifset en
8971 * selection:: Selection
8972 * sorting:: Sorting
8973 * dialog:: Dialog
8974 * search:: Searching
8975 * condition:: How to input search conditions
8976 * dbsearch:: Search Engine
8977 * keyword:: Highlighting a keyword
8978 * thread:: Thread
8979 * thread-op:: Thread operations
8980 @end ifset
8981 @end menu
8982
8983 @c %%%%%%%%%%%%%%%%%
8984 @node selection, sorting, Virtual, Virtual
8985 @ifset ja
8986 @section セレクション
8987 @end ifset
8988 @ifset en
8989 @section Selection
8990 @end ifset
8991
8992 @ifset ja
8993 セレクションは、いろいろなフォルダから必要なメッセージだけを集めた仮想
8994 フォルダです。セレクションの作り方には、以下の 5 つがあります。
8995 @end ifset
8996 @ifset en
8997 Selection is a virtual folder collecting necessary messages from
8998 several folders. There are five ways to create selection:
8999 @end ifset
9000
9001 @table @samp
9002 @ifset ja
9003 @item m/
9004 あるフォルダで、"*" マークが付いているメッセージのみを表示する。
9005 @item S
9006 あるフォルダで、メッセージをソートして表示する。(元のフォルダには、何の影響もない。) @xref{sorting} を参照のこと。
9007 @item V
9008 現在のメッセージと対話関係にあるメッセージを表示する。@xref{dialog} を参照のこと。
9009 @item /
9010 あるフォルダから、検索条件に合致するメッセージを表示する。@xref{search} を参照のこと。
9011 @item k/
9012 すべてのフォルダから、検索条件に合致するメッセージを表示する。@xref{dbsearch} を参照のこと。
9013 @end ifset
9014 @ifset en
9015 @item m/
9016 Listing messages marked with @samp{*} on a folder. see @ref{sorting}.
9017 @item S
9018 Sorting messages on a folder and display them. (No effect to the
9019 original folder.) see @ref{dialog}.
9020 @item V
9021 Listing messages which have relationship with the current message. See
9022 @ref{dialog}.
9023 @item /
9024 Listing messaged matched to a search condition on a folder. see @ref{search}.
9025 @item k/
9026 Listing messaged matched to a search condition from all folders. See
9027 @ref{search}.
9028 @end ifset
9029 @end table
9030
9031
9032 @c %%%%%%%%%%%%%%%%%
9033 @node sorting, dialog, selection, Virtual
9034 @ifset ja
9035 @section ソート
9036 @end ifset
9037 @ifset en
9038 @section Sorting
9039 @end ifset
9040 @vindex mew-sort-key-alist
9041 @vindex mew-sort-default-key
9042 @vindex mew-sort-default-key-alist
9043 @kindex S (Summary)
9044 @kindex M-s (Summary)
9045
9046 @ifset ja
9047 メッセージをソートしセレクションを作成するには @samp{S} を使います。こ
9048 のとき次のようにどのフィールドでソートするか訊いてくるので、ソートした
9049 いフィールド名を入力して下さい。
9050 @end ifset
9051 @ifset en
9052 To make selection by sorting messages, use @samp{S}. Then you will be
9053 asked to input the field name as follows:
9054 @end ifset
9055
9056 @example
9057 Sort by? (default date):
9058 @end example
9059
9060 @ifset ja
9061 指定したフィールドに書かれている文字列は単純に文字列比較でソートするべ
9062 きではありません。たとえば、Subject: はテキストと考えてよいのですが、
9063 Date: は日付、X-Mail-Count: は数字と考えてソートすべきです。このように
9064 文字列をどう取り扱うかをモードといいます。ソートによく指定されるフィー
9065 ルド名に対するモードは @samp{mew-sort-key-alist} で設定されています。
9066 @end ifset
9067 @ifset en
9068 There are some cases where strings stored in the specified field should
9069 not be compared as text. For example, while Subject: can be considered
9070 as text, Date: and X-Mail-Count: should be treated as date and number,
9071 respectively. In this way, we call the distinctions in methods of string
9072 sorting "modes". Default modes for typical field names are configured
9073 in @samp{mew-sort-key-alist}.
9074 @end ifset
9075
9076 @ifset ja
9077 ソートのモードを明示的に指定、変更したい場合には @samp{:} で区切って指定
9078 します。たとえば X-Mail-Count: フィールドの内容を(テキストとしてではなく)
9079 数値とみなしてソートしたい場合には、次のように入力します。
9080 @end ifset
9081 @ifset en
9082 When you want to specify the mode of sorting, the mode is followed by
9083 @samp{:}. For example, to sort with the X-Mail-Count: field as
9084 arithmetic value (not text), input like this:
9085 @end ifset
9086
9087 @example
9088 x-mail-count:num
9089 @end example
9090
9091 @ifset ja
9092 フィールド名やモードは @samp{TAB} で補完できます。
9093 @end ifset
9094 @ifset en
9095 You can complete field names and modes with @samp{TAB}.
9096 @end ifset
9097
9098 @ifset ja
9099 モードには、以下の 4 つがあります。
9100 @end ifset
9101 @ifset en
9102 Mew provides four modes for sorting:
9103 @end ifset
9104
9105 @table @samp
9106 @ifset ja
9107 @item text
9108 先頭の "Re: " や "Fw: " を取り除いた文字列。
9109 @item ml
9110 text と同じであるが、さらにメーリングリスト特有の文字列も取り除く。
9111 @item num
9112 数値。
9113 @item date
9114 日付。
9115 @end ifset
9116 @ifset en
9117 @item text
9118 String with preceding "Re: " and or "Fw: " removed.
9119 @item ml
9120 The same as text but preceding mailing-list-string removed.
9121 @item num
9122 Number.
9123 @item date
9124 Date.
9125 @end ifset
9126 @end table
9127
9128 @ifset ja
9129 "Sort by?" と訊かれる際のフィールド名の初期値は、
9130 @samp{mew-sort-default-key} で設定できます。以下は、初期値である"date"
9131 を @w{"}x-ml-count" に変更する例です。
9132 @end ifset
9133 @ifset en
9134 The default field name, your response to the prompt "Sort by?", can be
9135 specified in @samp{mew-sort-default-key}. The following example changes
9136 the default value from "date" to "x-ml-count".
9137 @end ifset
9138
9139 @lisp
9140 (setq mew-sort-default-key "x-ml-count")
9141 @end lisp
9142
9143 @ifset ja
9144 @samp{mew-sort-default-key-alist} で、フォルダごとにフィールド名の初期
9145 値を設定することもできます。ここで指定しなかったフォルダでは、フィール
9146 ド名の初期値として @samp{mew-sort-default-key} の値が使われます。以下は、
9147 +inbox フォルダでの初期値を "subject" に、+mew-dist フォルダでの初期値
9148 を @w{"}x-mail-count" に変更する例です。
9149 @end ifset
9150 @ifset en
9151 You can also set a default field name for each folder by
9152 @samp{mew-sort-default-key-alist}. For folders not explicitly specified
9153 here, @samp{mew-sort-default-key} is used for their default field name.
9154 The following is an example that specifies "subject" for the +inbox
9155 folder and "x-mail-count" for the +mew-dist folder.
9156 @end ifset
9157
9158 @lisp
9159 (setq mew-sort-default-key-alist
9160 '(("+inbox" "subject")
9161 ("+mew-dist" "x-mail-count")))
9162 @end lisp
9163
9164 @ifset ja
9165 なお、ローカル・フォルダでメッセージを本当にソートするためには
9166 @samp{M-s} を使って下さい。このコマンドは、リモート・フォルダでは利用で
9167 きません。
9168 @end ifset
9169 @ifset en
9170 To really sort messages in a local folder, use @samp{M-s}. This
9171 command is not available in remote folders.
9172 @end ifset
9173
9174 @c %%%%%%%%%%%%%%%%%
9175 @node dialog, search, sorting, Virtual
9176 @ifset ja
9177 @section 対話
9178 @end ifset
9179 @ifset en
9180 @section Dialog
9181 @end ifset
9182 @kindex V (Summary)
9183 @kindex kI (Summary)
9184 @kindex C-ukI (Summary)
9185
9186 @ifset ja
9187 Mew では、あるメッセージに関係するメッセージをさまざまなフォルダから集
9188 めて仮想フォルダに一覧表示できます。これを「対話」と呼びましょう。後ほ
9189 ど説明するスレッド(@xref{thread})とは、以下の点で異なります。
9190 @end ifset
9191 @ifset en
9192 Mew can list messages which have relationship with the current
9193 message. Let's call this "dialog". This is different from thread
9194 described later in the following points:
9195 @end ifset
9196
9197 @itemize @minus
9198 @ifset ja
9199
9200 @item
9201 スレッドは、1つのフォルダ/仮想フォルダに対してのみ作成できる。対話は、
9202 関連するメッセージが複数のフォルダに散らばっていてもよい。
9203
9204 @item
9205 スレッドは、行頭揃えによって木構造を可視化する。対話は、日付順に一覧表
9206 示する。
9207 @end ifset
9208 @ifset en
9209 @item
9210 Thread can be made from one folder or one virtual folder. Messages
9211 relating to dialog can ubiquitously exists in several folders.
9212
9213 @item
9214 Thread visualizes tree structres with indentation. while dialog lists
9215 up messages in order of time.
9216 @end ifset
9217 @end itemize
9218
9219 @ifset ja
9220 対話の機能を使うには、まず @samp{kI} を実行し、データベースを作る必要が
9221 あります。新しく届くメッセージはデータベースに入らないので、@samp{kI}
9222 は定期的に実行して下さい。@samp{kI} は、データベースを差分更新します。
9223 この方式は早いのですが、ゴミが残ることは避けられないので、ときどき
9224 @samp{C-ukI} を実行し、データベースを一から作り直して下さい。
9225 @end ifset
9226 @ifset en
9227 To use the feature of dialog, execute @samp{kI} to create
9228 database. New messages are not automatically registered in to the
9229 database, you should periodically execute @samp{kI}. @samp{kI} updates
9230 the database incrementally by default. This method is fast but
9231 garbages are left. So, sometime you should type @samp{C-ukI} to update
9232 the database fully.
9233 @end ifset
9234
9235 @ifset ja
9236 対話を作成するには、注目しているメッセージの上で @samp{V} を押します。
9237 このコマンドは、自分の子孫と、自分の先祖、そして自分だけを表示します。
9238 自分の兄弟などは表示しません。一族全体を表示したいなら、一旦作った仮想
9239 フォルダの一番上にあるメッセージ、すなわち一族の祖の上で、もう一度
9240 @samp{V} を実行して下さい。
9241 @end ifset
9242 @ifset en
9243 To make dialog, type @samp{V} on the current message. This command
9244 displays him, his ancestors, and his children only. His brothers and
9245 so on are not shown. If you display the entire of the family, type
9246 @samp{V} again on the first message of the dialog, which is the origin
9247 of the family.
9248 @end ifset
9249
9250 @c %%%%%%%%%%%%%%%%%
9251 @node search, condition, dialog, Virtual
9252 @ifset ja
9253 @section 検索
9254 @end ifset
9255 @ifset en
9256 @section Searching
9257 @end ifset
9258 @kindex ? (Summary)
9259 @kindex C-u? (Summary)
9260 @kindex / (Summary)
9261 @kindex C-u/ (Summary)
9262 @kindex k? (Summary)
9263 @kindex k/ (Summary)
9264 @kindex C-uk/ (Summary)
9265
9266 @ifset ja
9267 Mew では、以下のようなメッセージの検索機能を提供しています。
9268 @end ifset
9269 @ifset en
9270 Mew provides the following method to search messages:
9271 @end ifset
9272
9273 @table @samp
9274 @ifset ja
9275 @item ?
9276 現在のフォルダで、条件に合致したメッセージに @samp{*} マークを付ける。
9277 入力された条件によって、@samp{mewl} か @samp{grep} のどちらかが呼ばれる。
9278 @item C-u?
9279 リージョンを指定した @samp{?}。
9280 @item /
9281 現在のフォルダで、条件に合致したメッセージからセレクションを作る。入力
9282 された条件によって、@samp{mewl} か @samp{grep} のどちらかが呼ばれる。
9283 @item C-u/
9284 リージョンを指定した @samp{/}。
9285 @end ifset
9286 @ifset en
9287 @item ?
9288 Put the @samp{*} mark onto messages in this folder, which are matched to a
9289 specified pattern. Either @samp{mewl} or @samp{grep} is called
9290 according to the specified pattern.
9291 @item C-u?
9292 @samp{?} with a region specified.
9293 @item /
9294 Make selection with messages in this folder, which are matched to a
9295 specified pattern. Either @samp{mewl} or @samp{grep} is called
9296 according to the specified pattern.
9297 @item C-u/
9298 @samp{/} with a region specified.
9299 @end ifset
9300 @end table
9301
9302 @ifset ja
9303 また、Spotlight や Windows Desktop Search などの検索エンジンを利用した
9304 検索も可能です。これには、以下のコマンドがあります。
9305 @end ifset
9306 @ifset en
9307 We can also search messages with a search engine, including Spotlight,
9308 Windows Desktop Search, etc. This feature is supported by the
9309 following commands.
9310 @end ifset
9311
9312 @table @samp
9313 @ifset ja
9314 @item k?
9315 現在のフォルダで、条件に合致したメッセージに @samp{*} マークを付ける。
9316 @item k/
9317 全フォルダに対し、条件に合致したメッセージからセレクションを作る。
9318 @item C-uk/
9319 指定されたフォルダに対し、条件に合致したメッセージからセレクションを作
9320 る。フォルダを複数指定するには "," で区切る。ワイルドカードとして、"*"
9321 を利用できる。
9322 @end ifset
9323 @ifset en
9324 @item k?
9325 Put the @samp{*} mark onto messages in this folder, which are matched to a
9326 specified pattern.
9327 @item k/
9328 Make selection with messages in all folders, which are matched to a
9329 specified pattern.
9330 @item C-uk/
9331 Make selection with messages in specified folders, which are matched
9332 to a specified pattern. If you want to specify multiple folders,
9333 separate them with ",". You can also use a wildcar "*".
9334 @end ifset
9335 @end table
9336
9337 @c %%%%%%%%%%%%%%%%%
9338 @node condition, dbsearch, search, Virtual
9339 @ifset ja
9340 @section 検索条件の入力方法
9341 @end ifset
9342 @ifset en
9343 @section How to input search conditions
9344 @end ifset
9345 @vindex mew-pick-pattern-list
9346 @vindex mew-prog-grep
9347 @vindex mew-prog-grep-opts
9348
9349 @ifset ja
9350 @samp{?} や @samp{/} を実行すると、Mew はユーザに対し以下のように検索の
9351 パターンを訊きます。
9352 @end ifset
9353 @ifset en
9354 If you type @samp{?} or @samp{/}, Mew asks you to input search pattern
9355 as follows:
9356 @end ifset
9357
9358 @example
9359 mewl/grep pick pattern:
9360 @end example
9361
9362 @ifset ja
9363 単純に「文字列」を 1 つ入力すると、Mew は @samp{grep} を呼び出します。ま
9364 た、「条件式」を入力すると、@samp{mewl} を呼び出します。
9365 @end ifset
9366 @ifset en
9367 If you specify just a keyword, Mew executes @samp{grep}.
9368 On the contrast if you type an expression, Mew calls @samp{mewl}.
9369 @end ifset
9370
9371 @ifset ja
9372 条件式の書式を以下に示します。(結合力の強い順に並んでいます。)
9373 @end ifset
9374 @ifset en
9375 Here is a list of expression elements. (In the strong order)
9376 @end ifset
9377
9378 @table @samp
9379 @ifset ja
9380 @item field=string
9381 フィールド field に文字列 string が含まれているときマッチ(大文字小文字を
9382 区別しない)。field に "head" を指定した場合は、ヘッダ全体を意味する。
9383 @item field==string
9384 フィールド field に文字列 string が含まれているときマッチ(大文字小文字を
9385 区別する)。field に "head" を指定した場合は、ヘッダ全体を意味する。
9386 @item field!=string
9387 フィールド field に文字列 string が含まれていないときマッチ(大文字小文字
9388 を区別しない)。field に "head" を指定した場合は、ヘッダ全体を意味する。
9389 @item field!==string
9390 フィールド field に文字列 string が含まれていないときマッチ(大文字小文字
9391 を区別する)。field に "head" を指定した場合は、ヘッダ全体を意味する。
9392 @item ( <pattern> )
9393 <pattern> の内容を先に評価。
9394 @item ! <pattern>
9395 <pattern> でないときマッチ。
9396 @item <pattern1> & <pattern2>
9397 <pattern1> かつ <pattern2> のときマッチ。省略可能。
9398 @item <pattern1> | <pattern2>
9399 <pattern1> または <pattern2> のときマッチ。
9400 @end ifset
9401 @ifset en
9402 @item field=string
9403 Match if the "field" field contains the "string" string
9404 (case-insensitive). If you specify "head", it means the entire header.
9405 @item field==string
9406 Match if the "field" field contains the "string" string
9407 (case-sensitive). If you specify "head", it means the entire header.
9408 @item field!=string
9409 Match if the "field" field does not the "string" string
9410 (case-insensitive). If you specify "head", it means the entire header.
9411 @item field!==string
9412 Match if the "field" field does not the "string" string
9413 (case-sensitive). If you specify "head", it means the entire header.
9414 @item ( <pattern> )
9415 Evaluate <pattern> first.
9416 @item ! <pattern>
9417 Match if not <pattern>.
9418 @item <pattern1> & <pattern2>
9419 Match if <pattern1> AND <pattern2>. You can omit this.
9420 @item <pattern1> | <pattern2>
9421 Match if <pattern1> OR <pattern2>.
9422 @end ifset
9423 @end table
9424
9425 @ifset ja
9426 以下に例を示します。
9427 @end ifset
9428 @ifset en
9429 Some examples are shown below.
9430 @end ifset
9431
9432 @ifset ja
9433 (a) From: に kazu が含まれるメッセージ
9434 @end ifset
9435 @ifset en
9436 (a) Messages whose From: contains "kazu".
9437 @end ifset
9438
9439 @example
9440 from=kazu
9441 @end example
9442
9443 @ifset ja
9444 (b) To: が mew、または、Cc: が mew であるメッセージ
9445 @end ifset
9446 @ifset en
9447 (b) Messages whose To: contains "mew" OR Cc: contains "mew".
9448 @end ifset
9449
9450 @example
9451 to=mew | cc=mew
9452 @end example
9453
9454 @ifset ja
9455 (c) To: が mew、または、Cc: が mew で、かつ、from が kazu である
9456 メッセージ
9457 @end ifset
9458 @ifset en
9459 (c) Messages whose To: contains "mew" OR Cc: contains "mew" AND
9460 From: contains "kazu".
9461 @end ifset
9462
9463 @example
9464 (to=mew | cc=mew) & from=kazu
9465 @end example
9466
9467 @ifset ja
9468 @samp{?} や @samp{/} で、パターンに入力の際に単純に @samp{RET} を押すと、
9469 以下のように利用するコマンドまで入力できるようになります。
9470 @end ifset
9471 @ifset en
9472 When you execute @samp{?} or @samp{/} and if you just type @samp{RET}
9473 to a pattern, you can specify a command to be executed.
9474 @end ifset
9475
9476 @example
9477 Cmd opts pattern: grep -l -e
9478 @end example
9479
9480 @ifset ja
9481 @samp{k?} や @samp{k/} で検索エンジンを利用する場合は、上記のパターン(文字
9482 列や条件式)が自動的に検索エンジンの書式に変換されます。
9483 @end ifset
9484 @ifset en
9485 When you use an search engine with @samp{k?} or @samp{k/}, the pattern
9486 (including just a keyword and an expression) will be converted to the
9487 syntax of the search engine.
9488 @end ifset
9489
9490 @ifset ja
9491 たとえば、kazu から来たメールで、「wine」を含み、かつ「bordeaux」を含ま
9492 ないという条件式は以下のように書きます。
9493 @end ifset
9494 @ifset en
9495 For example, you can write an expression, that From: is "kazu" and
9496 body contains "wine" but does not contain "bordeaux", as follows:
9497 @end ifset
9498
9499 @example
9500 from=kazu wine ! bordeaux
9501 @end example
9502
9503 @ifset ja
9504 なお、@samp{mew-pick-pattern-list} にパターンのリストを定義しておくと、
9505 @samp{C-cTAB} で各要素を循環的に補完できます。この場合、リストの先頭が
9506 デフォルトとして表示されます。
9507 @end ifset
9508 @ifset en
9509 If you set @samp{mew-pick-pattern-list} to a list of pattern, you can
9510 enjoy circular completion with @samp{C-cTAB}. In this case, the first
9511 member is displayed as a default value.
9512 @end ifset
9513
9514 @ifset ja
9515 日本語の全文検索をしたい場合は、("grep" の代わりに) "mg" をインストール
9516 し、以下のように設定して下さい。
9517
9518 @lisp
9519 (setq mew-prog-grep "mg")
9520 (setq mew-prog-grep-opts '("-j" "jis" "-l" "-e" "-x" "&mime"))
9521 @end lisp
9522 @end ifset
9523
9524 @c %%%%%%%%%%%%%%%%%
9525 @node dbsearch, keyword, condition, Virtual
9526 @ifset ja
9527 @section 検索エンジン
9528 @end ifset
9529 @ifset en
9530 @section Search Engine
9531 @end ifset
9532 @kindex km
9533 @kindex kM
9534 @kindex kc
9535 @vindex mew-search-method
9536
9537 @ifset ja
9538 検索エンジンを操作するために以下のコマンドが用意されています。
9539 @end ifset
9540 @ifset en
9541 To operate search engines, the following commands are provided:
9542 @end ifset
9543
9544 @table @samp
9545 @ifset ja
9546 @item km
9547 そのフォルダのインデックスを作る。
9548 @item kM
9549 全体のフォルダのインデックスを作る。あるいは、作るために初期化する。
9550 @item kc
9551 検索エンジンを切り替える。
9552 @end ifset
9553 @ifset en
9554 @item km
9555 Make index for the current folder.
9556 @item kM
9557 Make index for all folders.
9558 @item kc
9559 Switch one search engine to another.
9560 @end ifset
9561 @end table
9562
9563 @ifset ja
9564 以下に、それぞれの検索エンジンの説明を示します。
9565 @end ifset
9566 @ifset en
9567 The followings are expiation of each search engines.
9568 @end ifset
9569
9570 @table @samp
9571 @ifset ja
9572 @item Hyper Estraier
9573 定期的に @samp{kM} を実行する必要があります。コマンドラインで、
9574 "mewest" を実行しても構いません。あるフォルダのインデックスを急いで更新
9575 したいなら @samp{km} でもよいでしょう。@samp{k?} と@samp{k/} の両方が利
9576 用できます。@samp{C-uk/}でフォルダを指定すると、サブディレクトリも検索
9577 になります。
9578 @item Spotlight
9579 一度だけ @samp{kM} を実行する必要があります。@samp{km} は必要ありません。
9580 @samp{k?} と @samp{k/} の両方が利用できます。
9581 @item Windows Desktop Search
9582 一度だけ @samp{kM} を実行する必要があります。@samp{km} は必要ありません。
9583 @item Google Desktop
9584 一度だけ @samp{kM} を実行する必要があります。@samp{km} は必要ありません。
9585 @samp{k/} のみが利用できます。
9586 @end ifset
9587 @ifset en
9588 @item Hyper Estraier
9589 Type @samp{kM} periodically. It's OK to execute "mewest" on the
9590 command line instead. If you want to update the index for the current
9591 folder quickly, you can use @samp{km}. Both @samp{k?} and @samp{k/}
9592 are available. When you specify folders with @samp{C-uk/},
9593 sub-folders, if any, are included in the target.
9594 @item Spotlight
9595 Type @samp{kM} just once. @samp{km} is not necessary. Both @samp{k?}
9596 and @samp{k/} are available.
9597 @item Windows Desktop Search
9598 Type @samp{kM} just once. @samp{km} is not necessary.
9599 @item Google Desktop
9600 Type @samp{kM} just once. @samp{km} is not necessary. Only @samp{k/}
9601 is available.
9602 @end ifset
9603 @end table
9604
9605 @ifset ja
9606 検索エンジンの初期値は、最初に見つかった利用できるものに自動的に設定さ
9607 れます。明示的に指定したい場合は、@samp{mew-search-method}
9608 に'est、'spotlight、'wds, 'google のどれかを指定して下さい。以下は、
9609 Hyper Estraier に設定する例です。
9610 @end ifset
9611 @ifset en
9612 The default search engine is automatically set to the one found first.
9613 If you explicitly specify it, set @samp{mew-search-method} to one out
9614 of 'est, 'spotlight, 'wds, and 'google. The following is an example to
9615 choose Hyper Estraier.
9616 @end ifset
9617
9618 @lisp
9619 (setq mew-search-method 'est)
9620 @end lisp
9621
9622 @c %%%%%%%%%%%%%%%%%
9623 @node keyword, thread, dbsearch, Virtual
9624 @ifset ja
9625 @section キーワードの強調
9626 @end ifset
9627 @ifset en
9628 @section Highlighting a keyword
9629 @end ifset
9630 @kindex M-n (Summary)
9631 @kindex C-uM-n (Summary)
9632 @kindex M-p (Summary)
9633 @kindex C-uM-p (Summary)
9634
9635 @ifset ja
9636 検索に使ったキーワードは、バッファに保存されています。メッセージを表示
9637 し、さらにキーワードをハイライトすることができます。この機能を提供する
9638 コマンドは以下の通りです。
9639 @end ifset
9640 @ifset en
9641 The keyword which you specified on search is shorted in a buffer. You
9642 can display messages with the keyword highlighted. The commands to
9643 enable this functionality are as follows:
9644 @end ifset
9645
9646 @table @samp
9647 @ifset ja
9648 @item M-n
9649 下方向のメッセージへ移動しキーワードをハイライトして表示。Summary モー
9650 ドでは @samp{*} マークのついたメッセージが、Virtual モードではすべての
9651 メッセージが対象となる。このコマンドを繰り返し利用すると、キーワードの
9652 付近が次々と表示されていく。キーワードが設定されていないなら、ユーザ
9653 にキーワードを訊く。
9654 @item C-uM-n
9655 キーワードを明示的に設定できること以外は、@samp{M-n} に同じ。
9656 @item M-p
9657 @samp{M-n} を逆方向にしたコマンド。
9658 @item C-uM-p
9659 @samp{C-uM-n} を逆方向にしたコマンド。
9660 @end ifset
9661 @ifset en
9662 @item M-n
9663 Display a message in the forward direction and find a keyword and
9664 highlight it. In Summary mode, the target is messages marked with
9665 @samp{*}. In Virtual mode, it is all messages. If you repeat this
9666 command, text around the keyword is displayed from one to another. If
9667 no key word is set to the variable, this command first asks you a
9668 keyword.
9669 @item C-uM-n
9670 The same as @samp{M-n} except that you can change the stored keyword
9671 explicitly.
9672 @item M-p
9673 A reverse version of @samp{M-n}.
9674 @item C-uM-p
9675 A reverse version of @samp{C-uM-n}.
9676 @end ifset
9677 @end table
9678
9679 @c %%%%%%%%%%%%%%%%%
9680 @node thread, thread-op, keyword, Virtual
9681 @ifset ja
9682 @section スレッド
9683 @end ifset
9684 @ifset en
9685 @section Thread
9686 @end ifset
9687 @vindex mew-use-thread-separator
9688 @vindex mew-thread-separator
9689 @kindex tt (Summary)
9690 @kindex C-utt (Summary)
9691 @kindex mt (Summary)
9692 @kindex tr (Summary)
9693 @kindex tp (Virtual)
9694 @kindex tn (Virtual)
9695 @kindex ^ (Virtual)
9696 @kindex & (Virtual)
9697 @kindex ( (Virtual)
9698 @kindex ) (Virtual)
9699 @kindex t* (Virtual)
9700 @kindex t@ (Virtual)
9701 @kindex td (Virtual)
9702 @kindex tM-d (Virtual)
9703 @kindex to (Virtual)
9704 @kindex tu (Virtual)
9705 @kindex tSPC (Virtual)
9706 @kindex ta (Virtual)
9707 @kindex tg (Virtual)
9708
9709 @ifset ja
9710 メッセージをやりとりしていると、対話の流れは木構造になります。これを行
9711 頭揃えにより可視化したものをスレッドと呼びます。以下にスレッドの例を示
9712 します。
9713 @end ifset
9714 @ifset en
9715 When in the process of exchanging messages, the relationship of the
9716 messages is presented in a tree structure. Visualization of the structure
9717 with indentation is called thread. Here is an example:
9718 @end ifset
9719
9720 @example
9721 @ifset ja
9722 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック
9723 03/13 かずくん ┣Re: 今週末 |雨なので、中にしますか
9724 03/15 Hidenori Ohta ┃┗Re: 今週末 |それでは、12:00 に集合
9725 03/14 おだちゃん ┗Re: 今週末 |いいねぇ。次はあれを落
9726 @end ifset
9727 @ifset en
9728 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
9729 03/13 Kazu-kun +Re: This weekend |Since it'll be rainy,
9730 03/15 Hidenori Ohta | +Re: This weekend |OK. Get together at 12
9731 03/14 Oda-chan +Re: This weekend |Sounds lovely. I'd lik
9732 @end ifset
9733 @end example
9734
9735 @ifset ja
9736 スレッドは仮想フォルダとして実現されています。たとえば、+inbox に対しス
9737 レッドを作ると、*+inbox* というバッファが用意されます。
9738 @end ifset
9739 @ifset en
9740 The thread feature is implemented as virtual folder. For instance, if
9741 you make threads for +inbox, a buffer *+inbox* is prepared.
9742 @end ifset
9743
9744 @ifset ja
9745 スレッドを作るために、以下のコマンドが用意されています。
9746 @end ifset
9747 @ifset en
9748 To make thread, the following commands exist.
9749 @end ifset
9750
9751 @table @samp
9752 @ifset ja
9753 @item tt
9754 Summary モード、あるは、セレクションからスレッドを作る。そして、カーソ
9755 ルを現在のメッセージに移動する。もし、対応するスレッドがすでに存在して
9756 いるなら、スレッドに表示を切り替える。スレッドで使用された際は、元のフォ
9757 ルダへ移り、カーソルを現在のメッセージへ移動する。
9758 @item C-utt
9759 リージョンに対し、スレッドを作る。
9760 @item mt
9761 @samp{*} マークの付いているメッセージに対し、スレッドを作る。
9762 @item tr
9763 正規表現に合致したメッセージに対し、スレッドを作る。
9764 @end ifset
9765 @ifset en
9766 @item tt
9767 Make threads from Summary mode or selection and move the cursor to the
9768 current message. If corresponding threads already exist, switch to the
9769 Virtual mode. When this command is executed on threads, switch to the
9770 original folder and move the cursor to the current message.
9771 @item C-utt
9772 Make threads for messages in the region.
9773 @item mt
9774 Make threads for messages marked with @samp{*}.
9775 @item tr
9776 Make threads for messages matched to a regular expression.
9777 @end ifset
9778 @end table
9779
9780 @c %%%%%%%%%%%%%%%%%
9781 @node thread-op, Quit, thread, Virtual
9782 @ifset ja
9783 @section スレッドの操作
9784 @end ifset
9785 @ifset en
9786 @section Thread operations
9787 @end ifset
9788
9789 @ifset ja
9790 スレッドに特化した移動コマンドを以下に示します。
9791 @end ifset
9792 @ifset en
9793 Here are the commands used for moving to thread presentation.
9794 @end ifset
9795
9796 @table @samp
9797 @ifset ja
9798 @item tp
9799 現在のスレッドの頭に移動する。もし、あるスレッドの頭にカーソルがある場合
9800 は、前のスレッドの頭に移動する。
9801 @item tn
9802 次のスレッドの頭に移動する。
9803 @item ^
9804 親のメッセージに移動する。(スレッドでなくても利用可能)
9805 @item &
9806 長男のメッセージに移動する。(スレッドでなくても利用可能)
9807 @item (
9808 兄のメッセージに移動する。
9809 @item )
9810 弟のメッセージに移動する。
9811 @end ifset
9812 @ifset en
9813 @item tp
9814 Move to the top of the current thread. If the current message is a top
9815 node, move to the top of the next thread.
9816 @item tn
9817 Move to the top of the next thread.
9818 @item ^
9819 Move to the parent message of the current message. (Available in both
9820 Summary and Virtual)
9821 @item &
9822 Move to the child message of the current message. (Available in both
9823 Summary and Virtual)
9824 @item (
9825 Search backward by one sibling message of the current message.
9826 @item )
9827 Search forward by one sibling message of the current message.
9828 @end ifset
9829 @end table
9830
9831
9832 @ifset ja
9833 スレッドにマークを付けるコマンドを以下に示します。
9834 @end ifset
9835 @ifset en
9836 Here are commands to mark messages in a thread.
9837 @end ifset
9838
9839 @table @samp
9840 @ifset ja
9841 @item t*
9842 現在のメッセージを頭とする部分木に属するメッセージすべてに @samp{*} マー
9843 クを付ける。詳しくは @xref{target mark} を参照のこと。
9844 @item t$
9845 現在のメッセージを頭とする部分木に属するメッセージすべてに @samp{$} マー
9846 クを付ける。詳しくは @xref{escape mark} を参照のこと。
9847 @item td
9848 現在のメッセージを頭とする部分木に属するメッセージすべてに @samp{D} マー
9849 クを付ける。詳しくは @xref{delete mark} を参照のこと。
9850 @item tM-d
9851 現在のメッセージを頭とする部分木に属するメッセージすべてに @samp{X} マー
9852 クを付ける。詳しくは @xref{delete mark} を参照のこと。
9853 @item to
9854 現在のメッセージを頭とする部分木に属するメッセージすべてに @samp{o} マー
9855 クを付ける。詳しくは @xref{refile mark} を参照のこと。
9856 @end ifset
9857 @ifset en
9858 @item t*
9859 Put the @samp{*} mark all messages of the current sub-thread. Please
9860 refer to @ref{target mark} for more information.
9861 @item t$
9862 Put the @samp{$} mark all messages of the current sub-thread. Please
9863 refer to @ref{escape mark} for more information.
9864 @item td
9865 Put the @samp{D} mark all messages of the current sub-thread. Please
9866 refer to @ref{delete mark} for more information.
9867 @item tM-d
9868 Put the @samp{X} mark all messages of the current sub-thread. Please
9869 refer to @ref{delete mark} for more information.
9870 @item to
9871 Put the @samp{o} mark all messages of the current sub-thread. Please
9872 refer to @ref{refile mark} for more information.
9873 @end ifset
9874 @end table
9875
9876 @ifset ja
9877 スレッドからマークを消すコマンドは、@samp{tu} です。
9878 @end ifset
9879 @ifset en
9880 A command to unmark all messages of the current sub-thread is @samp{tu}.
9881 @end ifset
9882
9883
9884 @ifset ja
9885 以下に、スレッドを加工するコマンドを示します。
9886 @end ifset
9887 @ifset en
9888 Here are commands to manipulate a thread:
9889 @end ifset
9890
9891 @table @samp
9892 @ifset ja
9893 @item tSPC
9894 子供以下を隠して親だけにする。子供以下が隠れている親メッセージには、
9895 "+" が付く。また、子供以下が隠れている親メッセージでこのコマンドを実行
9896 すると、子供以下が現れる。
9897 @item ta
9898 すべてのスレッドに対し、子供の表示を反転させる。
9899 @item tg
9900 あるスレッドをあるメッセージに接ぎ木する。接ぎ木するスレッドは、
9901 @samp{C-SPC} で指定する。目的のスレッドの一番上のメッセージで、
9902 @samp{C-SPC} を押すと、そのスレッドが選択されたことになる。そして目的の
9903 メッセージへ移動し、@samp{tg} を押すと、スレッドがこのメッセージの子供
9904 として接ぎ木される。
9905 @end ifset
9906 @ifset en
9907 @item tSPC
9908 Hide children and leave the parent only. If its children are hidden,
9909 "+" is displayed on the parent. Also, if this command is executed on a
9910 message whose children are hidden, they appear.
9911 @item ta
9912 Toggle appearance of children for all threads.
9913 @item tg
9914 Graft a thread to a message. To specify which thread is grafted, type
9915 @samp{C-SPC} on the root of the thread. Then move onto your target
9916 message, and typing @samp{tg} grafts the thread to the target message
9917 as children.
9918 @end ifset
9919 @end table
9920
9921
9922 @ifset ja
9923 なお、@samp{mew-use-thread-separator} を @samp{t} にすると、スレッド間
9924 に境界文字列として @samp{mew-thread-separator} (初期値は "--") が挿入さ
9925 れます。
9926 @end ifset
9927 @ifset en
9928 If @samp{mew-use-thread-separator} is @samp{t}, threads are
9929 distinguished by a separator defined by @samp{mew-thread-separator}
9930 (its default value is @w{"}--").
9931 @end ifset
9932
9933 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9934 @c Quit
9935 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9936
9937 @node Quit, Customize, thread-op, Top
9938 @ifset ja
9939 @chapter 一休み
9940 @end ifset
9941 @ifset en
9942 @chapter Give me a break
9943 @end ifset
9944 @kindex q (Summary)
9945 @kindex Q (Summary)
9946 @kindex C-cC-q (Summary)
9947 @kindex C-cC-q (Draft)
9948 @kindex C-cC-q (Header)
9949 @kindex C-cC-q (Addrbook)
9950
9951 @ifset ja
9952 Mew を終了させたり、一時中断させたり、そのモード(正確にはバッファ)を消去
9953 する方法を以下に示します。
9954 @end ifset
9955 @ifset en
9956 Here are how to quit and suspend Mew and how to erase a mode (buffer).
9957 @end ifset
9958
9959 @ifset ja
9960 <Summary モードと Virtual モード>
9961 @end ifset
9962 @ifset en
9963 <Summary mode and Virtual mode>
9964 @end ifset
9965
9966 @table @samp
9967 @ifset ja
9968 @item q
9969 Mew を一時中断し、他のバッファに切り替える。Mew 用のバッファはすべて残っ
9970 ているので、バッファ操作で選べば再開できる。
9971 @item Q
9972 Mew を終了。Mew が使ったすべてのバッファを消去する。
9973 @item C-cC-q
9974 そのモード(正確にはバッファ)を消去する。
9975 @end ifset
9976 @ifset en
9977 @item q
9978 Suspend Mew then switch to another buffer. All buffers of Mew remain, so
9979 you can resume with buffer operations.
9980 @item Q
9981 Quit Mew. All buffers of Mew are erased.
9982 @item C-cC-q
9983 Erase the current mode (buffer).
9984 @end ifset
9985 @end table
9986
9987 @ifset ja
9988 <Draft モードと Header モード>
9989 @end ifset
9990 @ifset en
9991 <Draft mode and Header mode>
9992 @end ifset
9993
9994 @table @samp
9995 @ifset ja
9996 @item C-cC-q
9997 その草稿を消去する。
9998 @end ifset
9999 @ifset en
10000 @item C-cC-q
10001 Erase the draft.
10002 @end ifset
10003 @end table
10004
10005 @ifset ja
10006 <Addrbook モード>
10007 @end ifset
10008 @ifset en
10009 <Addrbook mode>
10010 @end ifset
10011
10012 @table @samp
10013 @ifset ja
10014 @item C-cC-q
10015 そのバッファを消去する。
10016 @end ifset
10017 @ifset en
10018 @item C-cC-q
10019 Erase the buffer.
10020 @end ifset
10021 @end table
10022
10023 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10024 @c Customize
10025 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10026
10027 @node Customize, summary-mode, Quit, Top
10028 @ifset ja
10029 @chapter カスタマイズ
10030 @end ifset
10031 @ifset en
10032 @chapter Customizing Mew
10033 @end ifset
10034
10035 @ifset ja
10036 ここでは、Mew のデフォルトの動作を変更し、自分好みの Mew にする方法を説
10037 明します。主に "~/.mew.el" で設定して下さい。
10038 @end ifset
10039 @ifset en
10040 Here are explained how to change default setting of Mew and make Mew
10041 your favorite. Edit "~/.mew.el" to do it!
10042 @end ifset
10043
10044 @menu
10045 @ifset ja
10046 * summary-mode:: Summary mode
10047 * message-mode:: Message mode
10048 * draft-mode:: Draft mode
10049 * charset:: 文字コード
10050 * highlight:: 色付け
10051 * hooks:: フック
10052 * pop:: POP
10053 * imap:: IMAP
10054 * nntp:: NNTP
10055 * smtp:: SMTP
10056 * config:: 送受信の動作変化
10057 * config2:: 設定の書式
10058 * custom-misc:: その他
10059 @end ifset
10060 @ifset en
10061 * summary-mode:: Summary mode
10062 * message-mode:: Message mode
10063 * draft-mode:: Draft mode
10064 * charset:: Character set
10065 * highlight:: Highlighting
10066 * hooks:: Hooks
10067 * pop:: POP
10068 * imap:: IMAP
10069 * nntp:: NNTP
10070 * smtp:: SMTP
10071 * config:: Changing receiving/sending behavior
10072 * config2:: The format of configuration
10073 * custom-misc:: Miscellaneous
10074 @end ifset
10075 @end menu
10076
10077 @c %%%%%%%%%%%%%%%%%
10078 @node summary-mode, message-mode, Customize, Customize
10079 @ifset ja
10080 @section Summary mode
10081 @end ifset
10082 @ifset en
10083 @section Summary mode
10084 @end ifset
10085 @vindex mew-summary-form
10086 @vindex mew-summary-form-from-me-prefix
10087 @vindex mew-summary-form-extract-rule
10088 @vindex mew-summary-form-mark-delete
10089 @vindex mew-summary-form-mark-spam
10090 @vindex mew-summary-form-mark-review
10091 @vindex mew-use-full-window
10092 @vindex mew-summary-show-direction
10093 @vindex mew-summary-mark-direction
10094
10095 @ifset ja
10096 Summary モードの書式は、@samp{mew-summary-form} で指定できます。以下に
10097 初期値を示します。
10098 @end ifset
10099 @ifset en
10100 You can specify the format of Summary mode by @samp{mew-summary-form}.
10101 The default value is as follows:
10102 @end ifset
10103
10104 @lisp
10105 (setq mew-summary-form '(type (5 date) " " (14 from) " " t (30 subj) "|" (0 body)))
10106 @end lisp
10107
10108 @ifset ja
10109 このように、@samp{mew-summary-form} は、リスト、シンボル、文字列のリストで
10110 す。
10111 @end ifset
10112 @ifset en
10113 Like this, @samp{mew-summary-form} is a list of list, symbol, and string.
10114 @end ifset
10115
10116 @enumerate
10117 @ifset ja
10118 @item
10119 文字列はそのまま出力される
10120 @item
10121 リストは、整数とシンボルから構成される。シンボルは、呼び出す関数を意味す
10122 る。関数名は、"mew-summary-form-" とシンボル名を連結することで作られる。
10123 (例: 'date というシンボルは、@samp{mew-summary-form-date} という関数名
10124 になる) あらかじめ定義されているシンボルには、'type、'time、'date、'year、
10125 'size、'from、'subj、'body がある。詳細は、
10126 @samp{mew-summary-form-<symbol>} という名を持つ関数の説明を参照のこと。
10127 整数は、関数が返す文字列が埋めるフィールドの幅を指定する。正の数は、左詰
10128 めを意味する。負の数は、右詰めを意味する。もし、負の数を指定する場合、対
10129 応する関数は ASCII 文字列を返す必要がある。0 は、行の残りを意味し、左詰
10130 めとなる。
10131 @item
10132 @samp{t} 以外のシンボルは、(1 シンボル) に等しい。
10133 @item
10134 @samp{mew-summary-form} は、利用される際に先頭に (mark) が付け加えられる。
10135 @item
10136 @samp{t} は、スレッドの際に段付けする位置を意味する。
10137 @end ifset
10138 @ifset en
10139 @item
10140 A string is printed as it is.
10141 @item
10142 A list consists of an integer and a symbol. The symbol specifies a
10143 function to be called. The name of the function is produced by
10144 concatenating "mew-summary-form-" and the symbol name.
10145 (e.g. @samp{mew-summary-form-date} for the symbol 'date'). Pre-defined
10146 symbols are 'type, 'time, 'date, 'year, 'size, 'from, 'subj and
10147 'body. For more details, see the explanation of the functions called
10148 @samp{mew-summary-form-<symbol>}. The integer specifies the width of
10149 field which will be filled with a return string of the function. A
10150 positive value means padding SPCs on the right if necessary. A negative
10151 value means padding SPCs on the left if necessary. If a negative value
10152 is specified, the corresponding function must return an ASCII string. 0
10153 means the remaining width of the line and is treated as a positive
10154 value.
10155 @item
10156 A symbol is equivalent to (1 symbol).
10157 @item
10158 '(mark) is appended to @samp{mew-summary-form} when used.
10159 @item
10160 @samp{t} means the position of thread indentation.
10161 @end ifset
10162 @end enumerate
10163
10164 @ifset ja
10165 例を以下に示します。
10166 @end ifset
10167 @ifset en
10168 An example is as follows:
10169 @end ifset
10170
10171 @lisp
10172 (setq mew-summary-form
10173 '(type (5 date) " " (-4 size) " " (14 from) " " t (30 subj) "|" (0 body)))
10174 @end lisp
10175
10176 @ifset ja
10177 @samp{mew-summary-form-from-me-prefix} は、自分から送信されたメッセージの宛
10178 先の先頭に加えられる文字列です。初期値は "To:" です。
10179 @end ifset
10180 @ifset en
10181 @samp{mew-summary-form-from-me-prefix} is the prefix to be prepend to an
10182 destination address if the message is originated by me. The default is
10183 @w{"}To:".
10184 @end ifset
10185
10186 @ifset ja
10187 @samp{mew-summary-form-extract-rule} は、From: フィールドからどの部分を切り
10188 出すか指定するためのリストです。要素は、'name、'comment、'address、
10189 'nickname、あるいは正規表現である必要があります。初期値は '(nickname) で
10190 す。
10191 @end ifset
10192
10193 @ifset en
10194 @samp{mew-summary-form-extract-rule} is a list to specify what part to
10195 extract from the From: field. Each element must be 'name, 'comment,
10196 'address, 'nickname, or appropriate "regex". The default value is
10197 '(nickname).
10198 @end ifset
10199
10200 @ifset ja
10201 次の例を考えて下さい。
10202 @end ifset
10203 @ifset en
10204 Consider the following examples:
10205 @end ifset
10206
10207 @example
10208 A: Kazu Yamamoto <kazu@@example.org>
10209 B: kazu@@example.org (Kazu Yamamoto)
10210 C: Kazuhiko Yamamoto (Kazu) <kazu@@example.org>
10211 @end example
10212
10213 @ifset ja
10214 それぞの要素は、以下のような意味を持ちます。
10215 @end ifset
10216 @ifset en
10217 Each element returns the following value:
10218 @end ifset
10219
10220 @enumerate
10221 @ifset ja
10222 @item
10223 'name:: 名前の部分
10224 @example
10225 A. Kazu Yamamoto
10226 B. (No match)
10227 C. Kazuhiko Yamamoto (Kazu)
10228 @end example
10229 @item
10230 'comment:: コメントの部分
10231 @example
10232 A: (No match)
10233 B: Kazu Yamamoto
10234 C: (Kazu)
10235 @end example
10236 @item
10237 'address:: アドレスの部分
10238 @example
10239 A: kazu@@example.org
10240 B: kazu@@example.org
10241 C: kazu@@example.org
10242 @end example
10243 @item
10244 'nickname:: @samp{mew-addrbook-for-summary} の値に応じたアドレス帳の個人
10245 情報のある要素。@samp{mew-addrbook-for-summary} の初期値は
10246 @samp{'nickname} なので、通常はニックネームに変換される。何が指定できる
10247 かは、@xref{draft-mode} を参照のこと。
10248 @item
10249 (regex):: 最初に合致した文字列
10250 @end ifset
10251 @ifset en
10252 @item
10253 'name:: Name part, if any
10254 @example
10255 A. Kazu Yamamoto
10256 B. (No match)
10257 C. Kazuhiko Yamamoto (Kazu)
10258 @end example
10259 @item
10260 'comment:: Comment part, if any
10261 @example
10262 A: (No match)
10263 B: Kazu Yamamoto
10264 C: (Kazu)
10265 @end example
10266 @item
10267 'address:: Address part
10268 @example
10269 A: kazu@@example.org
10270 B: kazu@@example.org
10271 C: kazu@@example.org
10272 @end example
10273 @item
10274 'nickname:: one element of personal information in Addrbook according to
10275 @samp{mew-addrbook-for-summary}. The default value of
10276 @samp{mew-addrbook-for-summary} is @samp{'nickname}. So, From: is
10277 converted a nickname by default. To know what kind of value can be used,
10278 refer to @ref{draft-mode}.
10279 @item
10280 (regex):: The substring first matched.
10281 @end ifset
10282 @end enumerate
10283
10284 @ifset ja
10285 ある要素が合致しない場合、次の要素が評価されます。どの要素も From: フィー
10286 ルドに合致しない場合か、この値が @samp{nil} の場合、From: フィールド全体
10287 が利用されます。
10288 @end ifset
10289 @ifset en
10290 If a element does not match, the next element is applied. If no element
10291 matches to the From: field, or this value is @samp{nil}, the whole of
10292 the From: field is used.
10293 @end ifset
10294
10295
10296 @ifset ja
10297 @samp{mew-summary-form-mark-delete} が @samp{t} の場合、重複しているメッセー
10298 ジに自動的に @samp{D} マークが付きます。初期値は @samp{nil} です。
10299 @end ifset
10300 @ifset en
10301 If @samp{mew-summary-form-mark-delete} is @samp{t}, the @samp{D} mark
10302 automatically is put onto duplicated messages. The default is
10303 @samp{nil}.
10304 @end ifset
10305
10306
10307 @ifset ja
10308 @samp{mew-summary-form-mark-spam} が @samp{t} の場合、本文の一部に対す
10309 る MD5 チェックサムが一致しているメッセージに自動的に @samp{D} マークが
10310 付きます。初期値は @samp{nil} です。
10311 @end ifset
10312 @ifset en
10313 If @samp{mew-summary-form-mark-spam} is @samp{t}, the @samp{D} mark
10314 automatically is put onto SPAM messages. A message is considered a
10315 SPAM message if the MD5 checksum of its body is duplicated in a
10316 scan. The default is @samp{nil}.
10317 @end ifset
10318
10319 @ifset ja
10320 @samp{mew-summary-form-mark-review} が @samp{t} の場合、自分宛てのメッセー
10321 ジに自動的に @samp{*} マークが付きます。初期値は @samp{nil} です。
10322 @end ifset
10323 @ifset en
10324 If @samp{mew-summary-form-mark-review} is @samp{t}, the @samp{*} mark
10325 automatically is put onto messages destined to me. The default is
10326 @samp{nil}.
10327 @end ifset
10328
10329
10330 @ifset ja
10331 いつも Emacs のフレーム全体で Mew を使いたい人は、以下の設定をして下さい。
10332 @end ifset
10333 @ifset en
10334 If you want to use Mew with full Emacs frame, set like this.
10335 @end ifset
10336
10337 @lisp
10338 (setq mew-use-full-window t)
10339 @end lisp
10340
10341
10342 @ifset ja
10343 Summary モードの @samp{SPC} は、@samp{mew-summary-show-direction} によっ
10344 て、次のメッセージの表示の仕方が変わります。また同様に、強いマークを付け
10345 た後カーソルが動く方向は @samp{mew-summary-mark-direction} により指定で
10346 きます。以下の値を設定できます。
10347 @end ifset
10348 @ifset en
10349 @samp{SPC} in Summary mode decide the next action to view a message
10350 according to @samp{mew-summary-show-direction}. Likewise, you can
10351 specify the cursor direction after putting a strong mark by
10352 @samp{mew-summary-mark-direction}. You can select one from the following
10353 candidates.
10354 @end ifset
10355
10356 @table @samp
10357 @ifset ja
10358 @item up
10359 上のメッセージを表示する。
10360 @item down
10361 下のメッセージを表示する。
10362 @item next
10363 読み進めている方向の次のメッセージを表示する。
10364 @item stop
10365 次は表示しない。
10366 @end ifset
10367 @ifset en
10368 @item up
10369 Display the message above.
10370 @item down
10371 Display the message below.
10372 @item next
10373 Display the next message in the direction.
10374 @item stop
10375 Do not display the next message.
10376 @end ifset
10377 @end table
10378
10379 @ifset ja
10380 両方とも初期値は @samp{next} です。いつもメッセージを下から読む人は、以
10381 下のようにすればよいでしょう。
10382 @end ifset
10383 @ifset en
10384 The default value for both is @samp{next}. If you read messages from the
10385 bottom, set as follows:
10386 @end ifset
10387
10388 @lisp
10389 (setq mew-summary-show-direction 'up)
10390 @end lisp
10391
10392 @c %%%%%%%%%%%%%%%%%
10393 @node message-mode, draft-mode, summary-mode, Customize
10394 @ifset ja
10395 @section Message mode
10396 @end ifset
10397 @ifset en
10398 @section Message mode
10399 @end ifset
10400 @kindex C-cC-e (Summary)
10401 @kindex C-uC-cC-e (Summary)
10402 @kindex zz (Summary)
10403 @vindex mew-prog-text/html-ext
10404 @vindex mew-prog-msword-ext
10405 @vindex mew-prog-msexcel-ext
10406 @vindex mew-prog-mspowerpoint-ext
10407 @vindex mew-prog-msword
10408 @vindex mew-prog-msexcel
10409 @vindex mew-prog-mspowerpoint
10410 @vindex mew-mime-multipart-alternative-list
10411
10412 @ifset ja
10413 Emacs がサポートしてないデータ型のファイルは、Message バッファに直接表
10414 示できません。そのデータをテキストに整形する外部コマンドをインストール
10415 すれば、Message バッファに表示可能になります。
10416 @end ifset
10417 @ifset en
10418 It is impossible to display a file to the Message buffer if its data
10419 type is not supported by Emacs. Install an external program which
10420 converts the data to text and you can display the file to the Message
10421 buffer.
10422 @end ifset
10423
10424 @ifset ja
10425 @w{"}w3m" と "emacs-w3m" をインストールすると、Text/Html を Message バッ
10426 ファに表示できるようになります。(以下で説明する "wvHtml"、"xlhtml"、
10427 "ppthtml" は、単なる "w3m" ではなく、国際化された "w3m-m17n" が必要で
10428 す。) 両者をインストールしたら、"~/.mew.el" に以下の設定を加えて下さい。
10429 @end ifset
10430 @ifset en
10431 Text/Html can be displayed in Message mode, if you add the following to
10432 "~/.mew.el".
10433 @end ifset
10434
10435 @lisp
10436 (setq mew-use-text/html t) ; decode HTML for all folders
10437 @end lisp
10438
10439 @ifset ja
10440 これで、あたかも Text/Plain であるかのように、Text/Html を Message バッ
10441 ファに表示できるようになります。この際も、以下で説明する @samp{C-cC-e}
10442 の操作は有効です。
10443 @end ifset
10444 @ifset en
10445 With this, Text/Html can be displayed in Message mode as if it were
10446 Text/Plain. Even in this situation, @samp{C-cC-e} described below is a
10447 valid operation.
10448
10449 By default, Text/Html is displayed using Emacs's built-in HTML renderer.
10450
10451 Alternatively, you can display Text/Html using the w3m browser.
10452 First, install "w3m" and "emacs-w3m".
10453 (Please note that multilingualized "w3m", not pure
10454 @w{"}w3m", is necessary for "wvHtml", "xlhtml", and "ppthtml"
10455 described below.) When you install both of them, add the following to
10456 "~/.mew.el".
10457 @end ifset
10458
10459 @lisp
10460 (condition-case nil
10461 (require 'mew-w3m)
10462 (file-error nil))
10463 @end lisp
10464
10465 @ifset ja
10466 "wvHtml"、"xlhtml"、"ppthtml" というコマンドをインストールすれば、それ
10467 ぞれ WORD、Excel、PowerPoint ファイルのテキスト部分を、Message バッファ
10468 に表示可能です。これらのコマンドは、HTML を利用するので、上記の
10469 Text/Html の設定を完了させて下さい。これで、たとえば WORD ファイルをあ
10470 たかもテキストのように、Message バッファに表示可能になります。
10471 @end ifset
10472 @ifset en
10473 If you install "wvHtml", "xlhtml", and "ppthtml", you can display text
10474 parts of WORD, Excel, and PowerPoint file in Message,
10475 respectively. Since these commands uses HTML, the configuration of
10476 Text/Html above is required. With this, a WORD file, for example, can
10477 be displayed in Message mode as if it were text.
10478 @end ifset
10479
10480 @ifset ja
10481 外部のプログラムの整形結果を Message バッファに表示する代わりに、外部の
10482 プログラム自身にそのデータを表示させることもできます。これには
10483 @samp{C-cC-e} を使います。
10484 @end ifset
10485 @ifset en
10486 You can display the file with an external application itself instead
10487 of displaying it in the Message buffer. For this, type @samp{C-cC-e}.
10488 @end ifset
10489
10490 @ifset ja
10491 Message バッファに画像を表示することもできます。また @samp{C-cC-e} を使
10492 い、外部のプログラムに表示させることも可能です。
10493 @end ifset
10494 @ifset en
10495 You can visualize an image file into the Message buffer. Also, you can
10496 display it with an external application by typing @samp{C-cC-e}, of
10497 course.
10498 @end ifset
10499
10500 @ifset ja
10501 HTML は @samp{C-cC-e} を使って外部のブラウザに表示できます。Windows や
10502 Mac ではデフォルトのブラウザが利用されます。Unix では、以下のように
10503 "mozilla" が初期値となっています。
10504 @end ifset
10505 @ifset en
10506 You can display an HTML file to a browser with @samp{C-cC-e}. A
10507 default browser is used on Windows and Mac. On Unix, "mozilla" is set
10508 to a default browser as follows:
10509 @end ifset
10510
10511 @lisp
10512 (defvar mew-prog-text/html-ext '("mozilla" ("-remote" "openFile(%s)") t))
10513 @end lisp
10514
10515 @ifset ja
10516 たとえば、これを "firefox" に変更するには以下のようにします。
10517 @end ifset
10518 @ifset en
10519 If you want to set it to "firefox", for example, configure like this:
10520 @end ifset
10521
10522 @lisp
10523 (setq mew-prog-text/html-ext
10524 '("firefox" ("-a" "firefox" "-remote" "openFile(%s)") t))
10525 @end lisp
10526
10527 @ifset ja
10528 Office 関連のファイルも、@samp{C-cC-e} を使えば、それぞれのアプリケーショ
10529 ンで表示可能です。Windows や Mac では、文字通り Office のアプリケーショ
10530 ンが起動されます。Unix では、以下のように "soffice" が初期値となってい
10531 ます。
10532 @end ifset
10533 @ifset en
10534 You can visualize an Office-family file to each application by typing
10535 @samp{C-cC-e}. On Windows and Mac, an Office-family application is
10536 executed. On Unix, "soffice" is set to the default application as
10537 follows:
10538 @end ifset
10539
10540 @lisp
10541 (defvar mew-prog-msword-ext "soffice")
10542 (defvar mew-prog-msexcel-ext "soffice")
10543 (defvar mew-prog-mspowerpoint-ext "soffice")
10544 @end lisp
10545
10546 @ifset ja
10547 これを "xdg-open" に変更するには以下のようにします。
10548 @end ifset
10549 @ifset en
10550 If you want to set it to "xdg-open", for instace, do like this:
10551 @end ifset
10552
10553 @lisp
10554 (setq mew-prog-msword-ext "xdg-open")
10555 (setq mew-prog-msexcel-ext "xdg-open")
10556 (setq mew-prog-mspowerpoint-ext "xdg-open")
10557 @end lisp
10558
10559 @ifset ja
10560 また Office 関連のアプリケーションに対し、@samp{SPC} などでは内容を表示
10561 せず、@samp{C-cC-e} では "wvHtml" などを使って Message バッファに表示す
10562 るには、以下のように設定します。
10563 @end ifset
10564 @ifset en
10565 If you want to not visualize an Office-family file into the Message
10566 buffer, but want to display it with "wvHtml", configure as follows:
10567 @end ifset
10568
10569 @lisp
10570 (setq mew-prog-msword '(nil mew-mime-application/msword))
10571 (setq mew-prog-msexcel '(nil mew-mime-application/msexcel))
10572 (setq mew-prog-mspowerpoint '(nil mew-mime-application/mspowerpoint))
10573 @end lisp
10574
10575 @ifset ja
10576 あらかじめ定められているコマンドではなく、任意の外部コマンドを呼び出し
10577 たい場合は、@samp{C-uC-cC-e} と入力して下さい。
10578 @end ifset
10579 @ifset en
10580 If you want to specify an application instead of the pre-defined
10581 application, type @samp{C-uC-cC-e}.
10582 @end ifset
10583
10584 @ifset ja
10585 最近、Multipart/Alternative の中に Text/Plain と Text/Html の両方が入っ
10586 ており、どちらかを選ぶようになっているメッセージを多く見掛けます。Mew
10587 は、標準では Text/Plain の方を優先して表示します。"emacs-w3m" をインス
10588 トールすれば、Text/Html の方を優先したくなるかもしれません。その場合、
10589 以下の設定を "~/.mew.el" に加えて下さい。(ここで @xref{multipart} を読
10590 み、@samp{:} の使い方も思い出しておきましょう。)
10591 @end ifset
10592 @ifset en
10593 Recently there are many message whose have Multipart/Alternative,
10594 which consists of Text/Plain and Text/Html. By default, Mew selects
10595 Text/Plain. If you prefer to choose
10596 Text/Html, add the following to "~/.mew.el". (Now, it's a
10597 good idea to get back to @ref{multipart} to review how to use
10598 @samp{:}.)
10599 @end ifset
10600
10601 @lisp
10602 (setq mew-mime-multipart-alternative-list
10603 '("Text/Html" "Text/Plain" ".*"))
10604 @end lisp
10605
10606 @ifset ja
10607 ZIP で暗号化された添付ファイルは、@samp{zz} で復号化し表示できます。
10608 @end ifset
10609 @ifset en
10610 You can decrypt a ZIP attach file and display it with @samp{zz}.
10611 @end ifset
10612
10613 @c %%%%%%%%%%%%%%%%%
10614 @node draft-mode, charset, message-mode, Customize
10615 @ifset ja
10616 @section Draft mode
10617 @end ifset
10618 @ifset en
10619 @section Draft mode
10620 @end ifset
10621 @vindex mew-cc
10622 @vindex mew-dcc
10623 @vindex mew-header-alist
10624 @vindex mew-cite-fields
10625 @vindex mew-cite-format
10626 @vindex mew-cite-prefix
10627 @vindex mew-cite-prefix-function
10628 @vindex mew-addrbook-for-cite-label
10629 @vindex mew-addrbook-for-cite-prefix
10630
10631 @ifset ja
10632 自分へ Cc: したい人は @samp{mew-cc} を設定して下さい。返答の際には、対象
10633 のメッセージから、別途 Cc: が用意される場合があります。複数の Cc: がある
10634 場合、送信時に 1 つにまとめられます。
10635 @end ifset
10636 @ifset en
10637 Define @samp{mew-cc} to use Cc:. When replying, another Cc: field may be
10638 prepared from the target message. If there are multiple Cc: fields, they
10639 are combined to one field on sending.
10640 @end ifset
10641
10642 @ifset ja
10643 バックアップのため、自分が送るメッセージを受け取りたいと考え、しかもヘッ
10644 ダに自分のアドレスを残したくないなら、Dcc: を使って下さい。
10645 @samp{mew-dcc} に自分のアドレスを設定しましょう。
10646 @end ifset
10647 @ifset en
10648 If you want to receive your originating messages for backup without
10649 specifying your address, use Dcc:. Set your address to @samp{mew-dcc}.
10650 @end ifset
10651
10652 @ifset ja
10653 いつも入れて欲しいヘッダは、@samp{mew-header-alist} に連想リスト形式で定
10654 義して下さい。以下に例を示します。
10655 @end ifset
10656 @ifset en
10657 Set header fields that you want to insert every time when you write messages
10658 to @samp{mew-header-alist} as an associate list. The following is an
10659 example.
10660 @end ifset
10661
10662 @lisp
10663 (setq mew-header-alist
10664 '(("X-fingerprint:" "6B 63 38 88 67 5E 96 8E CE A4 62 73 3F 11 64 94")
10665 ("X-URL:" "http://www.example.org/~kazu/")))
10666 @end lisp
10667
10668 @ifset ja
10669 引用ラベルは、引用するフィールドを @samp{mew-cite-fields}、ラベルの書式
10670 を @samp{mew-cite-format} に定義します。引用記号は
10671 @samp{mew-cite-prefix} に指定します。初期値は、以下のようになっています。
10672 @end ifset
10673 @ifset en
10674 To customize citation label, define field to cite in
10675 @samp{mew-cite-fields} and format in @samp{mew-cite-format}. Define
10676 citation prefix to @samp{mew-cite-prefix}. The default declaration is as
10677 follows:
10678 @end ifset
10679
10680 @lisp
10681 (defvar mew-cite-fields '("From:" "Subject:" "Date:"))
10682 (defvar mew-cite-format "From: %s\nSubject: %s\nDate: %s\n\n")
10683 (defvar mew-cite-prefix "> ")
10684 @end lisp
10685
10686 @ifset ja
10687 引用ラベルに Message-ID: を加えるには以下のようにします。
10688 @end ifset
10689 @ifset en
10690 To add Message-ID: to citation label, take this way.
10691 @end ifset
10692
10693 @lisp
10694 (setq mew-cite-fields '("From:" "Subject:" "Date:" "Message-ID:"))
10695 (setq mew-cite-format "From: %s\nSubject: %s\nDate: %s\nMessage-ID: %s\n\n")
10696 @end lisp
10697
10698 @ifset ja
10699 引用記号にアドレスのユーザ部分が付くようにするには以下のようにします。
10700 @end ifset
10701 @ifset en
10702 To add a user part of an address to the citation prefix, configure as
10703 follows:
10704 @end ifset
10705
10706 @lisp
10707 (setq mew-cite-prefix-function (function mew-cite-prefix-username))
10708 @end lisp
10709
10710 @ifset ja
10711 これで引用記号は以下のようになります。
10712 @end ifset
10713 @ifset en
10714 With this, the citation prefix becomes like this:
10715 @end ifset
10716
10717 @example
10718 @ifset ja
10719 From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp>
10720 Subject: Wine
10721 Date: Wed, 23 Jul 1997 11:40:50 +0900
10722
10723 sumikawa> おはようからおやすみまでニートでおなじみの角川です。
10724 sumikawa>
10725 sumikawa> さて、とろけるワイン作戦ですが、定石通り '89 のボルドーの
10726 sumikawa> カベルネ・ソービニョンを狙いたいと思います。
10727 @end ifset
10728 @ifset en
10729 From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp>
10730 Subject: Wine
10731 Date: Wed, 23 Jul 1997 11:40:50 +0900
10732
10733 sumikawa> Hi, it's Sumikawa, the guy who's neat from good morning
10734 sumikawa> to good night.
10735 sumikawa>
10736 sumikawa> Talking about the wonderful wine party, I would propose
10737 sumikawa> Cabernet Sauvignon, Bordeaux, '90.
10738 @end ifset
10739 @end example
10740
10741 @ifset ja
10742 引用ラベルの From: の部分と、引用記号は、アドレス帳の個人情報の要素に変
10743 換できます。それぞれ、@samp{mew-addrbook-for-cite-label}、
10744 @samp{mew-addrbook-for-cite-prefix} で指定できます。初期値はそれぞれ
10745 @samp{nil} と @samp{'username} です。以下のような値が設定できます。
10746 @end ifset
10747 @ifset en
10748 Both an address in the citation label and the citation prefix can be
10749 converted to an element of a personal information in Addrbook. They can
10750 be configured by @samp{mew-addrbook-for-cite-label} and
10751 @samp{mew-addrbook-for-cite-prefix}, respectively. The default values are
10752 @samp{nil} and @samp{'username}, respectively. You can set out of the
10753 following values.
10754
10755 @end ifset
10756
10757 @table @asis
10758 @ifset ja
10759 @item 'shortname
10760 短縮名
10761 @item 'address
10762 アドレス
10763 @item 'username
10764 アドレスのユーザ部分
10765 @item 'nickname
10766 ニックネーム
10767 @item 'name
10768 正式な氏名
10769 @end ifset
10770 @ifset en
10771 @item 'shortname
10772 Short name
10773 @item 'address
10774 Address
10775 @item 'username
10776 User part of address
10777 @item 'nickname
10778 Nickname
10779 @item 'name
10780 Full name
10781 @end ifset
10782 @end table
10783
10784 @ifset ja
10785 例として以下のような設定を考えてみましょう。
10786 @end ifset
10787 @ifset en
10788 Let's consider the following example.
10789 @end ifset
10790
10791 @lisp
10792 (setq mew-addrbook-for-cite-label 'nickname)
10793 (setq mew-addrbook-for-cite-prefix 'nickname)
10794 @end lisp
10795
10796 @ifset ja
10797 最初の設定でラベルの中のアドレスがニックネームに変わります。また、次の設
10798 定で引用記号もニックネームに置き換わります。
10799 @end ifset
10800 @ifset en
10801 With the first line, an address in the citation label is replaced with
10802 its nickname. The second line indicates that the cite prefix is replaced
10803 with its nickname.
10804 @end ifset
10805
10806 @example
10807 @ifset ja
10808 From: すみっち
10809 Subject: Wine
10810 Date: Wed, 23 Jul 1997 11:40:50 +0900
10811
10812 すみっち> おはようからおやすみまでニートでおなじみの角川です。
10813 すみっち>
10814 すみっち> さて、とろけるワイン作戦ですが、定石通り '89 のボルドーの
10815 すみっち> カベルネ・ソービニョンを狙いたいと思います。
10816 @end ifset
10817 @ifset en
10818 From: sumitch
10819 Subject: Wine
10820 Date: Wed, 23 Jul 1997 11:40:50 +0900
10821
10822 sumitch> Hi, it's Sumikawa, the guy who's neat from good morning
10823 sumitch> to good night.
10824 sumitch>
10825 sumitch> Talking about the wonderful wine party, I would propose
10826 sumitch> Cabernet Sauvignon, Bordeaux, '90.
10827 @end ifset
10828 @end example
10829
10830 @c %%%%%%%%%%%%%%%%%
10831 @node charset, highlight, draft-mode, Customize
10832 @ifset ja
10833 @section 文字コード
10834 @end ifset
10835 @ifset en
10836 @section Character set
10837 @end ifset
10838 @vindex mew-charset-m17n
10839 @vindex mew-ask-charset
10840 @vindex mew-charset-latin
10841
10842 @ifset ja
10843 @xref{charset-guess} で説明したように、Mew ではメッセージを作成する際に
10844 適切な文字コードを自動的に選択します。
10845 @end ifset
10846 @ifset en
10847 As described in @ref{charset-guess}, Mew automatically chooses an
10848 appropriate charset for the message when composing.
10849 @end ifset
10850
10851 @ifset ja
10852 もし複数の言語の文字が混在しており、国際化された文字コードを選択する必要
10853 がある場合は、@samp{mew-charset-m17n} の値を利用します。初期値は、
10854 "utf-8" (Unicode と理解してよい)です。"iso-2022-jp-2" にしたい人は、以下
10855 のように設定するとよいでしょう。
10856 @end ifset
10857 @ifset en
10858 If characters of multiple languages exist, and if it is necessary to use
10859 an international charset, @samp{mew-charset-m17n} is used. Its default
10860 value is "utf-8" (equivalent to Unicode). If you want to set it to
10861 @w{"}iso-2022-jp-2", configure like this:
10862 @end ifset
10863
10864 @lisp
10865 (setq mew-charset-m17n "iso-2022-jp-2")
10866 @end lisp
10867
10868 @ifset ja
10869 メッセージを作成した際に、推測された文字コードを確認したい場合は、
10870 @samp{mew-ask-charset} を設定して下さい。
10871 @end ifset
10872 @ifset en
10873 If you want to check a chosen charset when composing, configure
10874 @samp{mew-ask-charset}.
10875 @end ifset
10876
10877 @table @samp
10878 @ifset ja
10879 @item nil
10880 どのような文字コードが利用されても確認なし
10881 @item 文字コードのリスト
10882 このリストに存在しない文字コードが利用された場合に確認
10883 @item t
10884 @samp{mew-charset-m17n} が利用された場合に確認
10885 @end ifset
10886 @ifset en
10887 @item nil
10888 Not ask.
10889 @item A list of charset
10890 Ask if the charset is not a member of the list.
10891 @item t
10892 Ask if @samp{mew-charset-m17n} is used.
10893 @end ifset
10894 @end table
10895
10896 @ifset ja
10897 たとえば、US-ASCII と ISO-2022-JP 以外の文字コードが選ばれた場合確認した
10898 いのであれば、以下のように設定して下さい。
10899
10900 @lisp
10901 (setq mew-ask-charset '("us-ascii" "iso-2022-jp"))
10902 @end lisp
10903 @end ifset
10904 @ifset en
10905 For instance, if you want to check when charset other than US-ASCII,
10906 ISO-8859-1, and ISO-8859-15, configure like this:
10907
10908 @lisp
10909 (setq mew-ask-charset '("us-ascii" "iso-8859-1" "iso-8859-15"))
10910 @end lisp
10911
10912 @end ifset
10913
10914 @ifset ja
10915 こう設定しているとき、たとえば "utf-8" が選択されると、以下のように訊か
10916 れます。
10917 @end ifset
10918 @ifset en
10919 For example, when "utf-8" is chosen for a message with this
10920 configuration, you are asked like this:
10921 @end ifset
10922
10923 @example
10924 utf-8 is used. OK? (y or n)
10925 @end example
10926
10927 @ifset ja
10928 @samp{y} を押すと、メッセージが送信されます(あるいは、キューに溜ります)。
10929 @samp{n} を押すと、草稿が元の状態に戻ります。
10930 @end ifset
10931 @ifset en
10932 Typing @samp{y} makes the composed message sent (or queued). If you type
10933 @samp{n}, you will go back to the original draft.
10934 @end ifset
10935
10936 @ifset ja
10937 ヨーロッパでは、Latin 1 (ISO-8859-1) の代りに、ユーロ記号を含む Latin 9
10938 (ISO-8859-15、通称 Latin 0) が使われ始めています。草稿に、Latin 1 の文字
10939 と Latin 9 の文字が混在していると、以下の手順によって、文字コードが決定
10940 されます。
10941 @end ifset
10942 @ifset en
10943 In Europe Latin 9 (ISO-8859-15 or Latin 0), which includes the euro
10944 sign, is getting more and more popular instead of Latin 1
10945 (ISO-8859-1). If characters of both Latin 1 and Lain 9 exist in a
10946 draft, Mew takes the following step to decide a charset.
10947 @end ifset
10948
10949 @enumerate
10950 @ifset ja
10951 @item
10952 @samp{unify-8859-on-decoding-mode} を利用している場合:
10953 @enumerate
10954 @item
10955 ISO-8859-1 に収まるなら "iso-8859-1" を利用
10956 @item
10957 そうでないなら "utf-8" を利用
10958 @end enumerate
10959 @item
10960 @samp{unify-8859-on-decoding-mode} を利用していない場合:
10961 @enumerate
10962 @item
10963 ISO-8859-1 と ISO-8859-15 のどちらにも収まる場合、@w{"}ISO-8859-1"
10964 @item
10965 ISO-8859-1 に収まるなら "iso-8859-1" を利用
10966 @item
10967 ISO-8859-15 に収まるなら "iso-8859-15" を利用
10968 @item
10969 そうでないなら、"utf-8" を利用
10970 @end enumerate
10971 @end ifset
10972 @ifset en
10973 @item
10974 If @samp{unify-8859-on-decoding-mode} is used:
10975 @enumerate
10976 @item
10977 Use "iso-8859-1" if no loss.
10978 @item
10979 Otherwise, use "utf-8".
10980 @end enumerate
10981 @item
10982 If @samp{unify-8859-on-decoding-mode} is not used:
10983 @enumerate
10984 @item
10985 If both ISO-8859-1 and ISO-8859-15 can be used with no loss,
10986 @w{"}ISO-8859-1" is used.
10987 @item
10988 Use "iso-8859-1" if no loss.
10989 @item
10990 Use "iso-8859-15" if no loss.
10991 @item
10992 Otherwise, use "utf-8".
10993 @end enumerate
10994 @end ifset
10995 @end enumerate
10996
10997 @ifset ja
10998 @samp{mew-charset-latin} の初期値は、"iso-8859-15" です。"iso-8859-1" に
10999 したい場合は、以下のように設定します。
11000 @end ifset
11001 @ifset en
11002 The default value of @samp{mew-charset-latin} is "iso-8859-15". If you
11003 want to set it to "iso-8859-1", configure like this:
11004 @end ifset
11005
11006 @lisp
11007 (setq mew-charset-latin "iso-8859-1")
11008 @end lisp
11009
11010 @ifset ja
11011 もし、US-ASCII 以外の文字に対し、必ず UTF-8 を使いたいなら、以下のよう
11012 に設定して下さい。
11013 @end ifset
11014 @ifset en
11015 If you want to always use UTF-8 for any characters other than
11016 US-ASCII, configure as follows:
11017 @end ifset
11018
11019 @lisp
11020 (setq mew-cs-database-for-encoding
11021 `(((ascii) nil "7bit" "7bit")
11022 (nil utf-8 "base64" "B")))
11023 @end lisp
11024
11025 @c %%%%%%%%%%%%%%%%%
11026 @node highlight, hooks, charset, Customize
11027 @ifset ja
11028 @section 色付け
11029 @end ifset
11030 @ifset en
11031 @section Highlighting
11032 @end ifset
11033 @vindex mew-use-highlight-mark
11034 @vindex mew-use-highlight-header
11035 @vindex mew-use-highlight-body
11036 @vindex mew-highlight-body-max-size
11037 @vindex mew-use-highlight-url
11038 @vindex mew-use-cursor-mark
11039 @vindex mew-cursor-mark
11040 @vindex mew-use-highlight-cursor-line
11041 @vindex mew-use-highlight-mouse-line
11042 @vindex mew-use-highlight-x-face
11043 @vindex mew-theme-file
11044
11045 @ifset ja
11046 @samp{mew-use-highlight-mark} が @samp{t} の場合、マークの付いたメッセー
11047 ジに色が付きます。初期値は @samp{t} です。
11048 @end ifset
11049 @ifset en
11050 If @samp{mew-use-highlight-mark} is @samp{t}, marked message are
11051 highlighted. The default is @samp{t}.
11052 @end ifset
11053
11054 @ifset ja
11055 @samp{mew-use-highlight-header} が @samp{t} の場合、メッセージのヘッダに
11056 色が付きます。初期値は @samp{t} です。
11057 @end ifset
11058 @ifset en
11059 If @samp{mew-use-highlight-header} is @samp{t}, the header of a message
11060 is highlighted. The default is @samp{t}.
11061 @end ifset
11062
11063 @ifset ja
11064 @samp{mew-use-highlight-body} が @samp{t} の場合、メッセージの本文に色が
11065 付きます。初期値は @samp{t} です。色を付ける上限は、
11066 @samp{mew-highlight-body-max-size} で指定できます。初期値は 10000 バイト
11067 です。
11068 @end ifset
11069 @ifset en
11070 If @samp{mew-use-highlight-body} is @samp{t}, the body of a message is
11071 highlighted. The default is @samp{t}. The limit to be highlighted can be
11072 set by @samp{mew-highlight-body-max-size}. The default is 10000 bytes.
11073 @end ifset
11074
11075 @ifset ja
11076 @samp{mew-use-highlight-url} が @samp{t} の場合、メッセージ中の URL に仕
11077 掛けが施されて、マウスを持っていくと光るようになります。初期値は
11078 @samp{t} です。
11079 @end ifset
11080 @ifset en
11081 If @samp{mew-use-highlight-url} is @samp{t}, a spell is cast to URL
11082 strings in a message. So, when you move the cursor onto the URL, it is
11083 highlighted. The default is @samp{t}.
11084 @end ifset
11085
11086 @ifset ja
11087 @samp{mew-use-cursor-mark} が @samp{t} の場合、Summary モードにおいて、
11088 現在表示しているメッセージの行頭に、@samp{mew-cursor-mark} で指定された
11089 目印が付きます。初期値は @samp{nil} です。@samp{mew-cursor-mark} の初期
11090 値は ">" です。
11091 @end ifset
11092 @ifset en
11093 If @samp{mew-use-cursor-mark} is @samp{t}, the mark specified
11094 @samp{mew-cursor-mark} is putted to the beginning of the current line.
11095 The default is @samp{nil}. The default of @samp{mew-cursor-mark} is ">".
11096 @end ifset
11097
11098 @ifset ja
11099 @samp{mew-use-highlight-cursor-line} が @samp{t} の場合、Summary モード
11100 でカーソルのある行に下線が引かれます。初期値は @samp{t} です。
11101 @end ifset
11102 @ifset en
11103 If @samp{mew-use-highlight-cursor-line} is @samp{t}, underline is put on
11104 the cursor line in Summary mode. The default is @samp{t}.
11105 @end ifset
11106
11107 @ifset ja
11108 @samp{mew-use-highlight-mouse-line} が @samp{t} の場合、Emacs がマウスの
11109 色付けをサポートしていれば、Summary モードでマウスのある行に色がつきます。
11110 真中のボタンをクリックしながら、マウスだけでメッセージを読む際にはとても
11111 便利です。初期値は @samp{nil} になっています。
11112 @end ifset
11113 @ifset en
11114 If @samp{mew-use-highlight-mouse-line} is @samp{t} on Emacs which
11115 supports mouse highlight, the mouse line is painted in Summary
11116 mode. This is very convenient to read messages clicking the middle
11117 button of the mouse. The default value is @samp{nil}.
11118 @end ifset
11119
11120 @ifset ja
11121 @samp{mew-use-highlight-x-face} が @samp{t} で、ヘッダ中の X-Face: が
11122 Message モードでアイコン化されます。初期値は @samp{t} です。この機能を
11123 利用するには、@w{"}netpbm" と "compface" パッケージをインストールして下
11124 さい。
11125 @end ifset
11126 @ifset en
11127 If @samp{mew-use-highlight-x-face} is @samp{t}, X-Face: in a header is
11128 iconified in Message mode. The default value is @samp{t}. To use this
11129 feature, install the "netpbm" package and the "compface" package.
11130 @end ifset
11131
11132 @ifset ja
11133 色を変更するには、Mew のソースと一緒に配布されている "dot.theme" を
11134 適当な名前でコピーし内容を変更します。ここでは、そのファイル名を
11135 "~/.mew-theme.el" としましょう。まず、この名前を ".mew.el" で
11136 @samp{mew-theme-file} に指定して下さい。
11137 @end ifset
11138 @ifset en
11139 To modify colors, copy "dot.theme" contained Mew's source file to
11140 an appropriate place, say "~/.mew-theme.el". First, set
11141 @samp{mew-theme-file} to this file name in ".mew.el" as follows:
11142 @end ifset
11143
11144 @lisp
11145 (setq mew-theme-file "~/.mew-theme.el")
11146 @end lisp
11147
11148 @ifset ja
11149 次に中身を変更します。たとえば、以下のような設定が見つかります。
11150 @end ifset
11151 @ifset en
11152 Then, change the contents. For instance, you can find the following
11153 configuration.
11154 @end ifset
11155
11156 @lisp
11157 (mew-setface-bold header-subject
11158 :tty "red" :light "Firebrick" :dark "OrangeRed")
11159 @end lisp
11160
11161 @ifset ja
11162 シンボル @samp{header-subject} は、ヘッダの "Subject:" の値を意味してい
11163 ます。:tty は Emacs をカラーの端末で起動した場合、:light と :dark は、
11164 それぞれ Emacs をウインドウで起動したときの背景が白と黒の場合を意味して
11165 います。
11166 @end ifset
11167 @ifset en
11168 The symbol @samp{header-subject} means the value of the "Subject:"
11169 field in a header. :tty is the case where Emacs is executed on a
11170 terminal while :light and :dark indicates the case where the
11171 background of Emacs executed with a window is white and black,
11172 respectively.
11173 @end ifset
11174
11175 @ifset ja
11176 端末では green 、背景が白なら ForestGreen、背景が黒なら LimeGreen と設
11177 定するには、以下のようにします。
11178 @end ifset
11179 @ifset en
11180 If you wish green for a terminal, ForestGreen for the white
11181 background, and LimeGreen for the black background, modify the
11182 configuration as follows:
11183 @end ifset
11184
11185 @lisp
11186 (mew-setface-bold header-subject
11187 :tty "green" :light "ForestGreen" :dark "LimeGreen")
11188 @end lisp
11189
11190 @ifset ja
11191 シンボルに何があるのかは、"dot.mew" を見て下さい。
11192 @end ifset
11193 @ifset en
11194 To know what kind of symbols are prepared, see the "dot.mew".
11195 @end ifset
11196
11197 @ifset ja
11198 上記の方法では、ヘッダのすべてのフィールド名やフィールド値に対してシン
11199 ボルが定義されている訳ではありません。そこで、どんなフィールドの色でも
11200 簡単に変更できるように、@samp{mew-header-color} と
11201 @samp{mew-header-color-bold} という関数が用意されています。後者を使うと
11202 太字に、前者を使うと普通の文字になります。たとえば、以下のように使いま
11203 す。
11204 @end ifset
11205 @ifset en
11206 The method above does not prepare symbols for all field names and
11207 field value. So, @samp{mew-header-color} and
11208 @samp{mew-header-color-bold} exist to change colors easily. If you use
11209 the latter, characters become bold. The former results in normal.
11210 The following is a typical usage:
11211 @end ifset
11212
11213 @lisp
11214 (mew-header-color-bold "Subject:" "LimeGreen" "OrangeRed")
11215 @end lisp
11216
11217 @ifset ja
11218 この設定では、"Subject:" が LimeGreen の太字に、その値が OrangeRed の太
11219 字になります。
11220 @end ifset
11221 @ifset en
11222 With this configuration, "Subject:" becomes bold LimeGreen and its
11223 value turns into bold OrangeRed.
11224 @end ifset
11225
11226 @ifset ja
11227 この方法では、端末や背景の色を考慮した設定はできません。また、フィール
11228 ド値の色を省略すると、フィールド名と同じ色が使用されます。
11229 @end ifset
11230 @ifset en
11231 The second method cannot specify the cases of terminal or background.
11232 If you omit the field value color, the field name color is used for
11233 the field value.
11234 @end ifset
11235
11236 @node hooks, pop, highlight, Customize
11237 @ifset ja
11238 @section フック
11239 @end ifset
11240 @ifset en
11241 @section Hooks
11242 @end ifset
11243
11244 @ifset ja
11245 Mew で用意されているフックをまとめます。
11246 @end ifset
11247 @ifset en
11248 Here is a summary of hooks used in Mew.
11249 @end ifset
11250
11251 @vtable @samp
11252 @ifset ja
11253 @item mew-env-hook
11254 Mew の起動時の環境が設定される前に評価される。
11255 @item mew-init-hook
11256 Mew の起動時に評価される。
11257 @item mew-status-update-hook
11258 状態の更新(@samp{Z})のときに評価される。
11259 @item mew-summary-mode-hook
11260 Summary モードに入るときに評価される。
11261 @item mew-virtual-mode-hook
11262 Virtual モードに入るときに評価される。
11263 @item mew-thread-display-hook
11264 スレッドが表示された後に評価される。
11265 @item mew-header-mode-hook
11266 Header モードに入るときに評価される。
11267 @item mew-draft-mode-hook
11268 Draft モードに入るときに評価される。
11269 @item mew-draft-mode-newdraft-hook
11270 新しい草稿が用意された際に、Draft モードにおいて評価される。
11271 @item mew-draft-mode-reedit-hook
11272 +draft でないフォルダにある古い草稿を再編集した際に、Draft モードにおい
11273 て評価される。
11274 @item mew-draft-mode-reedit-draft-hook
11275 +draft でないフォルダにある草稿を再編集した際に、Draft モードにおいて評
11276 価される。
11277 @item mew-draft-mode-reedit-queue-hook
11278 +queue または +postq フォルダにあるメッセージを再編集した際に、Draft モー
11279 ドにおいて評価される。
11280 @item mew-draft-mode-edit-again-hook
11281 古い形式で戻ってきたメッセージを再編集した際に、Draft モードにおいて評価
11282 される。
11283 @item mew-message-mode-hook
11284 Message モードに入るときに評価される。
11285 @item mew-message-hook
11286 メッセージが Message モードで表示される度に評価される。
11287 @item mew-make-message-hook
11288 Draft モードで MIME メッセージを作る前、つまり @samp{C-cC-m} の際の最初
11289 に評価される。例:(add-hook 'mew-make-message-hook 'ispell-message)
11290 @item mew-send-hook
11291 メッセージを SMTP で送信/キューイングする前に評価される。メッセージの最
11292 終形が作られる前に評価されることに注意。
11293 @item mew-post-hook
11294 メッセージを NNTP で投稿/キューイングする前に評価される。メッセージの最
11295 終形が作られる前に評価されることに注意。
11296 @item mew-real-send-hook
11297 メッセージを SMTP で送信/キューイングする前に評価される。メッセージの最
11298 終形が作られた後に評価されることに注意。
11299 @item mew-real-post-hook
11300 メッセージを NNTP で送信/キューイングする前に評価される。メッセージの最
11301 終形が作られた後に評価されることに注意。
11302 @item mew-smtp-flush-hook
11303 +queue フォルダにメッセージがある場合に、SMTP が起動される前に評価され
11304 る。
11305 @item mew-nntp2-flush-hook
11306 +postq フォルダにメッセージがある場合に、NNTP が起動される前に評価され
11307 る。
11308 @item mew-smtp-sentinel-hook
11309 SMTP が終了する際に評価される。
11310 @item mew-nntp-sentinel-hook
11311 受信用の NNTP が終了する際に評価される。
11312 @item mew-nntp2-sentinel-hook
11313 送信用の NNTP が終了する際に評価される。
11314 @item mew-pop-sentinel-hook
11315 POP が終了する際に評価される。
11316 @item mew-pop-sentinel-non-biff-hook
11317 Biff ではない POP が終了する際に評価される。
11318 @item mew-imap-sentinel-hook
11319 IMAP が終了する際に評価される。
11320 @item mew-imap-sentinel-non-biff-hook
11321 Biff ではない IMAP が終了する際に評価される。
11322 @item mew-scan-sentinel-hook
11323 Summary モードの @samp{s} が終了する際に評価される。
11324 @item mew-summary-ls-no-scan-hook
11325 Summary モードの @samp{s} がフォルダの一覧を取らなかった場合に評価される。
11326 @item mew-summary-exec-hook
11327 Summary モードの @samp{x} の実行が終了する際に評価される。
11328 @item mew-refile-guess-by-from-learn-hook
11329 mew-refile-guess-by-from-learn が実行される際に評価される。
11330 @item mew-sort-hook
11331 Summary モードの @samp{M-s} の実行が終了する際に評価される。
11332 @item mew-pack-hook
11333 Summary モードの @samp{O} の実行が終了する際に評価される。
11334 @item mew-summary-delete-folder-hook
11335 フォルダが削除されるときに評価される。
11336 @item mew-summary-rename-folder-hook
11337 フォルダ名が変更されるときに評価される。
11338 @item mew-summary-toggle-disp-msg-hook
11339 Summary モードの @samp{v} の実行が終了する際に評価される。
11340 @item mew-syntax-format-hook
11341 マルチパートの書式を作成する関数 @samp{mew-syntax-format} が呼ばれた際に
11342 評価される。
11343 @item mew-addrbook-mode-hook
11344 アドレス帳の登録モードに入るときに評価される。
11345 @item mew-cite-hook
11346 Draft モードで引用する際に呼ばれる。通常 supercite を設定するために使う。
11347 @item mew-before-cite-hook
11348 Draft モードでメッセージを引用する直前に呼ばれる。
11349 @item mew-suspend-hook
11350 Mew を一時中断した際に評価される。
11351 @item mew-quit-hook
11352 Mew の終了時に評価される。
11353 @end ifset
11354 @ifset en
11355 @item mew-env-hook
11356 Hook called at initialize time before setting environment.
11357 @item mew-init-hook
11358 Hook called at initialize time.
11359 @item mew-status-update-hook
11360 Hook called at status update(@samp{Z}).
11361 @item mew-summary-mode-hook
11362 Hook called in Summary mode.
11363 @item mew-virtual-mode-hook
11364 Hook called in Virtual mode.
11365 @item mew-thread-display-hook
11366 Hook called after new threads are displayed.
11367 @item mew-header-mode-hook
11368 Hook called in Header mode.
11369 @item mew-draft-mode-hook
11370 Hook called in Draft mode.
11371 @item mew-draft-mode-newdraft-hook
11372 Hook called in Draft mode only when new draft is prepared.
11373 @item mew-draft-mode-reedit-hook
11374 Hook called in Draft mode when a message not in +draft is re-edited.
11375 @item mew-draft-mode-reedit-draft-hook
11376 Hook called in Draft mode when a message in +draft is re-edited.
11377 @item mew-draft-mode-reedit-queue-hook
11378 Hook called in Draft mode when a message in +queue or +postq is
11379 re-edited.
11380 @item mew-draft-mode-edit-again-hook
11381 Hook called in Draft mode when a message returned with the old style is
11382 edited again.
11383 @item mew-message-mode-hook
11384 Hook called in Message mode.
11385 @item mew-message-hook
11386 Hook called whenever message displayed.
11387 @item mew-make-message-hook
11388 Hook called before making a message in Draft mode. A good example is as
11389 follows: (add-hook 'mew-make-message-hook 'ispell-message)
11390 @item mew-send-hook
11391 Hook called before sending/queuing an e-mail message in Draft mode.
11392 Note that this hook is called before composition of the message
11393 @item mew-post-hook
11394 Hook called before posting/queuing a NetNews message in Draft mode.
11395 Note that this hook is called before composition of the message.
11396 @item mew-real-send-hook
11397 Hook called before sending/queuing an e-mail message in Draft mode.
11398 Note that this hook is called after composition of the message.
11399 @item mew-real-post-hook
11400 Hook called before sending/queuing a NetNews message in Draft mode.
11401 Note that this hook is called after composition of the message.
11402 @item mew-smtp-flush-hook
11403 Hook called before SMTP runs if messages exist in +queue.
11404 @item mew-nntp2-flush-hook
11405 Hook called before NNTP runs if messages exist in +postq.
11406 @item mew-smtp-sentinel-hook
11407 Hook called when a SMTP process finished.
11408 @item mew-nntp-sentinel-hook
11409 Hook called when a NNTP process to receive messages finished.
11410 @item mew-nntp2-sentinel-hook
11411 Hook called when a NNTP process to post messages finished.
11412 @item mew-pop-sentinel-hook
11413 Hook called when a POP process finished.
11414 @item mew-pop-sentinel-non-biff-hook
11415 Hook called when a non-Biff POP process finished.
11416 @item mew-imap-sentinel-hook
11417 Hook called when a NNTP process to post messages finished.
11418 @item mew-imap-sentinel-hook
11419 Hook called when an IMAP process finished.
11420 @item mew-imap-sentinel-non-biff-hook
11421 Hook called when a non-Biff IMAP process finished.
11422 @item mew-scan-sentinel-hook
11423 Hook called when scan finished.
11424 @item mew-summary-ls-no-scan-hook
11425 Hook called when mew-summary-ls does not scan a folder.
11426 @item mew-summary-exec-hook
11427 Hook called when @samp{x} in Summary mode finished.
11428 @item mew-refile-guess-by-from-learn-hook
11429 Hook called in mew-refile-guess-by-from-learn.
11430 @item mew-sort-hook
11431 Hook called when @samp{M-s} in Summary mode finished.
11432 @item mew-pack-hook
11433 Hook called when @samp{O} in Summary mode finished.
11434 @item mew-summary-delete-folder-hook
11435 Hook called when a folder deleted.
11436 @item mew-summary-rename-folder-hook
11437 Hook called when a folder renamed.
11438 @item mew-summary-toggle-disp-msg-hook
11439 Hook called when @samp{v} in Summary finished.
11440 @item mew-syntax-format-hook
11441 Hook called when mew-syntax-format is called.
11442 @item mew-addrbook-mode-hook
11443 Hook called in Addrbook mode.
11444 @item mew-cite-hook
11445 Hook for an external cite mechanism. If you want to use super-cite,
11446 (setq mew-cite-hook 'sc-cite-original).
11447 @item mew-before-cite-hook
11448 Called in mew-summary-reply-with-citation before citation.
11449 @item mew-suspend-hook
11450 Hook called on suspend.
11451 @item mew-quit-hook
11452 Hook called on quit.
11453 @end ifset
11454 @end vtable
11455
11456 @ifset ja
11457 以下にフックの設定例を示します。
11458 @end ifset
11459 @ifset en
11460 Here are some example configurations of hook
11461 @end ifset
11462
11463 @ifset ja
11464 Draft モードでは、フックを @samp{text-mode-hook}、
11465 @samp{mew-draft-mode-hook} の順で評価します。@samp{text-mode-hook} で
11466 @samp{auto-fill-mode} を設定していない人は、 @samp{mew-draft-mode-hook}
11467 を以下のように設定するのがよいかもしれません。
11468 @end ifset
11469 @ifset en
11470 Draft mode evaluates @samp{text-mode-hook} and
11471 @samp{mew-draft-mode-hook} in order. If you do not set
11472 @samp{auto-fill-mode} to @samp{text-mode-hook}, It would be useful to
11473 define @samp{mew-draft-mode-hook} as follows:
11474 @end ifset
11475
11476 @lisp
11477 (add-hook 'mew-draft-mode-hook
11478 (lambda ()
11479 (auto-fill-mode 1)
11480 (set-fill-column 70)))
11481 @end lisp
11482
11483 @ifset ja
11484 この例では、折り返しのカラム数を70に設定しています。
11485 @end ifset
11486 @ifset en
11487 In this example, the number of fill column is also set to 70.
11488 @end ifset
11489
11490 @c %%%%%%%%%%%%%%%%%
11491 @node pop, imap, hooks, Customize
11492 @ifset ja
11493 @section POP
11494 @end ifset
11495 @ifset en
11496 @section POP
11497 @end ifset
11498
11499 @ifset ja
11500 Mew では、メッセージを受信する際に POP を利用できます。ここでは、POP を
11501 制御するための以下の変数についてまとめます。
11502 @end ifset
11503 @ifset en
11504 Mew can POP to retrieve messages. This section describes following
11505 variables to control POP.
11506 @end ifset
11507
11508 @vtable @samp
11509 @ifset ja
11510 @item mew-pop-server
11511 POP サーバの名前。
11512 @item mew-pop-ssh-server
11513 POP を SSH 経由で取得する場合の SSH サーバの名前。
11514 @item mew-pop-ssl
•11515 POP over TLS を使うか否か。@samp{'native} は GnuTLS
11516 を使った TLS 接続、@samp{'tunnel} は stunnel
11517 を使った TLS トンネル接続を意味する。
11518 @item mew-pop-ssl-port
•11519 POP over TLS のポート番号。
11520 @item mew-pop-user
11521 POP のアカウント名。初期値はログイン名。
11522 @item mew-pop-auth
11523 POP の認証方式。@samp{'pass} は USER/PASS (生パスワード)、@samp{'apop}
11524 は APOP、@samp{t} は @samp{mew-pop-auth-list} に従った SASL を意味する。
11525 初期値は @samp{'apop}。
11526 @item mew-pop-auth-list
11527 SASL で利用する認証方式のリスト。優先順位の高い順に並べる。現在、
11528 "CRAM-MD5" が利用可能。
11529 @item mew-pop-delete
11530 POP サーバからメッセージを取得後、POP サーバにあるメッセージを削除するか
11531 否か。@samp{t} なら削除。@samp{nil} なら削除しない。数値 N なら、最初の
11532 アクセスから N 日後に削除する。初期値は @samp{t}。
11533 @item mew-pop-size
11534 POP サーバから取得するメッセージの大きさの上限。初期値は 55296 バイト。0
11535 に設定すると、上限なしの意味になり、すべてのメッセージを取得する。上限に
11536 引っ掛かったメッセージの全体を取得する方法については、@xref{retrieving}
11537 を参照のこと。
11538 @item mew-pop-body-lines
11539 大きさの上限にひっかかったメッセージの本文を何行取得するかという値。初
11540 期値は 40。
11541 @item mew-pop-header-only
11542 POP でメッセージを取得する際に、ヘッダのみにするか、本文も取得するか。
11543 @samp{nil} でなければ、ヘッダのみを取得。初期値は @samp{nil}。
11544 @end ifset
11545 @ifset en
11546 @item mew-pop-server
11547 The name of your POP server.
11548 @item mew-pop-ssh-server
11549 The name of SSH server which forwards the POP3 port.
11550 @item mew-pop-ssl
•11551 If non-nil, POP connections are made over TLS.
11552 @samp{'native} enables GnuTLS for native TLS connection
11553 and @samp{'tunnel} uses stunnel to establish a TLS tunnel.
11554 @item mew-pop-ssl-port
•11555 The port for POP over TLS.
11556 @item mew-pop-user
11557 The user name on your POP server. The default is your login name.
11558 @item mew-pop-auth
11559 The authentication method for POP3. 'pass means the authentication with
11560 USER/PASS (i.e. plain password). 'apop means the authentication with
11561 APOP. @samp{t} means SASL according to @samp{mew-pop-auth-list}. The
11562 default is 'apop.
11563 @item mew-pop-auth-list
11564 A list of SASL methods in the preferred order. Currently, "CRAM-MD5"
11565 can be used.
11566 @item mew-pop-delete
11567 Whether or not delete messages on a POP server after retrieval by POP.
11568 If @samp{t}, delete the messages. If @samp{nil}, retain the messages.
11569 If number N, delete the messages N days after the first access. The
11570 default is @samp{t}.
11571 @item mew-pop-size
11572 The limit size of messages to be retrieved by POP. The default is 55296
11573 byte. 0 means unlimited, so you can get all messages from the POP
11574 server. To know how to retrieve the rest of a truncated message, please
11575 refer to @ref{retrieving}.
11576 @item mew-pop-body-lines
11577 *The limit of body lines to get when the size of message exceeds
11578 @samp{mew-pop-size}. The default is 40.
11579 @item mew-pop-header-only
11580 Whether or not the body of a message is retrieved by POP. If non-nil,
11581 only header is retrieved. The default is @samp{nil}
11582 @end ifset
11583 @end vtable
11584
11585 @c %%%%%%%%%%%%%%%%%
11586 @node imap, nntp, pop, Customize
11587 @ifset ja
11588 @section IMAP
11589 @end ifset
11590 @ifset en
11591 @section IMAP
11592 @end ifset
11593
11594 @ifset ja
11595 Mew では、メッセージを受信する際に IMAP を利用できます。ここでは、IMAP
11596 を制御するための以下の変数についてまとめます。
11597 @end ifset
11598 @ifset en
11599 Mew can use IMAP to retrieve messages. This section describes following
11600 variables to control IMAP.
11601 @end ifset
11602
11603 @vtable @samp
11604 @ifset ja
11605 @item mew-imap-server
11606 IMAP サーバの名前。
11607 @item mew-imap-ssh-server
11608 IMAP を SSH 経由で取得する場合の SSH サーバの名前。
11609 @item mew-imap-ssl
•11610 IMAP over TLS を使うか否か。@samp{'native} は GnuTLS
11611 を使った TLS 接続、@samp{'tunnel} は stunnel
11612 を使った TLS トンネル接続を意味する。
11613 @item mew-imap-ssl-port
•11614 IMAP over TLS のポート番号。
11615 @item mew-imap-user
11616 IMAP のアカウント名。初期値はログイン名。
11617 @item mew-imap-auth
11618 IMAP の認証方式。@samp{nil} は LOGIN (生パスワード)、@samp{t} は
11619 @samp{mew-imap-auth-list} に基づいた SASL を意味する。初期値は @samp{t}。
11620 @item mew-imap-auth-list
11621 SASL で利用する認証方式のリスト。優先順位の高い順に並べる。現在、
11622 "CRAM-MD5" と "LOGIN" が利用可能。
11623 @item mew-imap-delete
11624 IMAP サーバからメッセージを取得後、IMAP サーバにあるメッセージを削除するか
11625 否か。@samp{t} なら削除。@samp{nil} なら削除しない。数値 N なら、最初の
11626 アクセスから N 日後に削除する。初期値は @samp{t}。
11627 @item mew-imap-size
11628 IMAP サーバから取得するメッセージの大きさの上限。初期値は 55296 バイト。
11629 0 に設定すると、上限なしの意味になり、すべてのメッセージを取得する。上限
11630 に引っ掛かったメッセージの全体を取得する方法については、
11631 @xref{retrieving} を参照のこと。
11632 @item mew-imap-header-only
11633 IMAP でメッセージを取得する際に、ヘッダのみにするか、本文も取得するか。
11634 @samp{nil} でなければ、ヘッダのみを取得。初期値は @samp{nil}。
11635 @end ifset
11636 @ifset en
11637 @item mew-imap-server
11638 The name of your IMAP server.
11639 @item mew-imap-ssh-server
11640 The name of SSH server which forwards the IMAP4 port.
11641 @item mew-imap-ssl
•11642 If non-nil, IMAP connections are made over TLS.
11643 @samp{'native} enables GnuTLS for native TLS connection
11644 and @samp{'tunnel} uses stunnel to establish a TLS tunnel.
11645 @item mew-imap-ssl-port
•11646 The port for IMAP over TLS.
11647 @item mew-imap-user
11648 The user name on the IMAP server. The default is your login name.
11649 @item mew-imap-auth
11650 The authentication method for IMAP4. @samp{nil} means the authentication with
11651 LOGIN (i.e. plain password). @samp{t} means SASL according to
11652 @samp{mew-imap-auth-list}. The default is @samp{t}.
11653 @item mew-imap-auth-list
11654 A list of SASL methods in the preferred order.
11655 Currently, "CRAM-MD5" and "LOGIN" can be used.
11656 @item mew-imap-delete
11657 Whether or not delete messages on an IMAP server after retrieval by
11658 IMAP. If @samp{t}, delete the messages. If @samp{nil}, retain the
11659 messages. If number N, delete the messages N days after the first
11660 access. Otherwise they are not deleted. The default is @samp{t}.
11661 @item mew-imap-size
11662 The limit size of messages to be retrieved by IMAP. The default is 55296
11663 byte. 0 means unlimited, so you can get all messages from the IMAP
11664 server. To know how to retrieve the rest of a truncated message, please
11665 refer to @ref{retrieving}.
11666 @item mew-imap-header-only
11667 Whether or not the body of a message is retrieved by IMAP. If non-nil,
11668 only header is retrieved. The default is @samp{nil}
11669 @end ifset
11670 @end vtable
11671
11672 @c %%%%%%%%%%%%%%%%%
11673 @node nntp, smtp, imap, Customize
11674 @ifset ja
11675 @section NNTP
11676 @end ifset
11677 @ifset en
11678 @section NNTP
11679 @end ifset
11680
11681 @ifset ja
11682 Mew では、ニュースを読み書きする際に NNTP を利用します。ここでは、NNTP
11683 を制御するための以下の変数についてまとめます。
11684 @end ifset
11685 @ifset en
11686 Mew uses NNTP to read/write News articles. This section describes
11687 following variables to control NNTP.
11688 @end ifset
11689
11690 @vtable @samp
11691 @ifset ja
11692 @item mew-nntp-server
11693 NNTP サーバの名前。
11694 @item mew-nntp-ssh-server
11695 NNTP を SSH 経由で取得する場合の SSH サーバの名前。
11696 @item mew-nntp-ssl
•11697 NNTP over TLS を使うか否か。@samp{'native} は GnuTLS
11698 を使った TLS 接続、@samp{'tunnel} は stunnel
11699 を使った TLS トンネル接続を意味する。
11700 @item mew-nntp-ssl-port
•11701 NNTP over TLS のポート番号。
11702 @item mew-nntp-user
11703 NNTP のアカウント名。もし @samp{nil} でなければ、認証の手続きが実行され
11704 る。(mew-nntp-auth という変数はないことに注意。)
11705 @item mew-nntp-newsgroup
11706 ニュースグループ名の初期値。
11707 @item mew-nntp-size
11708 NNTP サーバから取得するメッセージの大きさの上限。初期値は 55296 バイト。
11709 0 に設定すると、上限なしの意味になり、すべてのメッセージを取得する。上限
11710 に引っ掛かったメッセージの全体を取得する方法については、
11711 @xref{retrieving} を参照のこと。
11712 @item mew-nntp-header-only
11713 NNTP でメッセージを取得する際に、ヘッダのみにするか、本文も取得するか。
11714 @samp{nil} でなければ、ヘッダのみを取得。初期値は @samp{nil}。
11715 @item mew-nntp-msgid-user
11716 Message-Id: を作成するためのユーザ名。@samp{nil} であれば
11717 @samp{mew-user} の値が利用される。初期値は @samp{nil}。
11718 Message-Id: の書式は以下を参照。
11719 @item mew-nntp-msgid-domain
11720 Message-Id: を作成するためのドメイン名。@samp{nil} であれば
11721 @samp{mew-mail-domain} の値が利用される。初期値は @samp{nil}。
11722 Message-Id: の書式は以下を参照。
11723 @end ifset
11724 @ifset en
11725 @item mew-nntp-server
11726 The name of your NNTP server.
11727 @item mew-nntp-ssh-server
11728 The name of SSH server which forwards the NNTP port.
11729 @item mew-nntp-ssl
•11730 If non-nil, NNTP connections are made over TLS.
11731 @samp{'native} enables GnuTLS for native TLS connection
11732 and @samp{'tunnel} uses stunnel to establish a TLS tunnel.
11733 @item mew-nntp-ssl-port
•11734 The port for NNTP over TLS.
11735 @item mew-nntp-user
11736 The user name on the NNTP server. If non-nil, authentication is used.
11737 (Note that mew-nntp-auth does not exist.)
11738 @item mew-nntp-newsgroup
11739 The name of default Newsgroup.
11740 @item mew-nntp-size
11741 The limit size of messages to be retrieved by NNTP. The default is 55296
11742 byte. 0 means unlimited, so you can get all messages from the NNTP
11743 server.
11744 @item mew-nntp-header-only
11745 Whether or not the body of a message is retrieved by NNTP. If non-nil,
11746 only header is retrieved.
11747 @item mew-nntp-msgid-user
11748 A user name for creation of Message-Id:. If @samp{nil}, the value of
11749 @samp{mew-user} is used. The default is @samp{nil}.
11750 @item mew-nntp-msgid-domain
11751 A domain name for creation of Message-Id:. If @samp{nil}, the value of
11752 @samp{mew-mail-domain} is used. The default is @samp{nil}.
11753 @end ifset
11754 @end vtable
11755
11756 @ifset ja
11757 なお、NNTP 用の Message-Id: の値は以下のように作成されます。
11758 @end ifset
11759 @ifset en
11760 A value of Message-Id: for NNTP is created by the following rule:
11761 @end ifset
11762
11763 @example
11764 message-id = *random*.nntp-msgid-user@@nntp-msgid-domain
11765 @end example
11766
11767 @c %%%%%%%%%%%%%%%%%
11768 @node smtp, config, nntp, Customize
11769 @ifset ja
11770 @section SMTP
11771 @end ifset
11772 @ifset en
11773 @section SMTP
11774 @end ifset
11775
11776 @ifset ja
11777 Mew では、メッセージを送信する際に SMTP を利用します。SMTP サーバが認証
11778 を要求した場合、Mew は自動的にユーザにバスワードの入力を求めます。ここ
11779 では、SMTP を制御するための以下の変数についてまとめます。
11780 @end ifset
11781 @ifset en
11782 Mew uses SMTP to send messages. If an SMTP server requires
11783 authentication, Mew automatically asks you to input your
11784 password. This section describes following variables to control SMTP.
11785 @end ifset
11786
11787 @vtable @samp
11788 @ifset ja
11789 @item mew-smtp-server
11790 SMTP サーバの名前。
11791 @item mew-smtp-port
11792 SMTP ポート番号。絶対パス名を指定すると Unix ドメインソケットを
11793 使用する。
11794 @item mew-smtp-submission-family
11795 SMTP サーバと接続する際に用いるアドレスファミリ。初期値は 'ipv4。
11796 @item mew-smtp-ssh-server
11797 SSH 経由でメッセージを送る際の SSH サーバの名前。
11798 @item mew-smtp-ssl
•11799 SMTP over TLS を使うか否か。@samp{'native} は GnuTLS
11800 を使った TLS 接続、@samp{'tunnel} は stunnel
11801 を使った TLS トンネル接続を意味する。
11802 @item mew-smtp-ssl-port
•11803 SMTP over TLS のポート番号。
11804 @item mew-smtp-user
11805 SMTP AUTH で利用されるアカウント名。設定されない場合は、自動的にメール
11806 アドレスに設定される。
11807 @item mew-smtp-auth-list
11808 SMTP AUTH で利用する認証方式のリスト。優先順位の高い順に並べる。初期値
11809 は、'("CRAM-MD5" "PLAIN" "LOGIN")。
11810 @item mew-smtp-helo-domain
11811 SMTP HELO コマンドで使われるサーバ名。初期値は "localhost"。
11812 @item mew-smtp-mail-from
11813 SMTP MAIL FROM コマンドで指定されるアドレス。@samp{nil} の場合は、From:
11814 フィールドのアドレスが指定される。初期値は @samp{nil}。
11815 @item mew-smtp-msgid-user
11816 Message-Id: を作成するためのユーザ名。@samp{nil} であれば
11817 @samp{mew-user} の値が利用される。初期値は @samp{nil}。
11818 Message-Id: の書式は以下を参照。
11819 @item mew-smtp-msgid-domain
11820 Message-Id: を作成するためのドメイン名。@samp{nil} であれば
11821 @samp{mew-mail-domain} の値が利用される。初期値は @samp{nil}。
11822 Message-Id: の書式は以下を参照。
11823 @item mew-use-8bit
11824 8 ビットテキストを符号化せずにそのまま送るか否か。@samp{nil} の場合は、適
11825 切な MIME 符号化が施される。初期値は @samp{nil}。
11826 @end ifset
11827 @ifset en
11828 @item mew-smtp-server
11829 The name of your SMTP server.
11830 @item mew-smtp-port
11831 The port for SMTP. When an absolute pathname is specified,
11832 it will be used as a Unix domain socket.
11833 @item mew-smtp-submission-family
11834 The address family to be used for the SMTP server. The default value is 'ipv4.
11835 @item mew-smtp-ssh-server
11836 The name of SSH server which forwards the SMTP port.
11837 @item mew-smtp-ssl
•11838 If non-nil, SMTP connections are made over TLS.
11839 @samp{'native} enables GnuTLS for native TLS connection
11840 and @samp{'tunnel} uses stunnel to establish a TLS tunnel.
11841 @item mew-smtp-ssl-port
•11842 The port for SMTP over TLS.
11843 @item mew-smtp-user
11844 The user name on your SMTP server. If not configured, your e-mail
11845 address is automatically set.
11846 @item mew-smtp-auth-list
11847 A list of SMTP AUTH methods in the preferred order.
11848 Currently, "CRAM-MD5", "PLAIN", and "LOGIN" can be used.
11849 @item mew-smtp-helo-domain
11850 An e-mail domain to tell a SMTP server with HELO/EHLO. The default is
11851 "localhost".
11852 @item mew-smtp-mail-from
11853 The default is @samp{nil}. An e-mail address to tell a SMTP server with
11854 MAIL FROM:. If @samp{nil}, an address specified by the From: field is used.
11855 @item mew-smtp-msgid-user
11856 A user name for creation of Message-Id:. If @samp{nil}, the value of
11857 @samp{mew-user} is used. The default is @samp{nil}.
11858 @item mew-smtp-msgid-domain
11859 A domain name for creation of Message-Id:. If @samp{nil}, the value of
11860 @samp{mew-mail-domain} is used. The default is @samp{nil}.
11861 @item mew-use-8bit
11862 Whether or not send 8bit text without MIME encoding. If @samp{nil}, an
11863 appropriate MIME encoding is applied. The default is @samp{nil}.
11864 @end ifset
11865 @end vtable
11866
11867 @ifset ja
11868 なお、SMTP 用の Message-Id: の値は以下のように作成されます。
11869 @end ifset
11870 @ifset en
11871 A value of Message-Id: for SMTP is created by the following rule:
11872 @end ifset
11873
11874 @example
11875 message-id = *random*.smtp-msgid-user@@smtp-msgid-domain
11876 @end example
11877
11878 @ifset ja
11879 Message Submission (ポート番号が 587 である送信用の SMTP)を使いたい場合
11880 は、以下のように設定して下さい。
11881 @end ifset
11882 @ifset en
11883 If you want to use Message Submission (SMTP for submission whose port
11884 number is 587), configure as follows:
11885 @end ifset
11886
11887 @lisp
11888 (setq mew-smtp-port "submission")
11889 @end lisp
11890
11891 @ifset ja
11892 送信サーバとの接続に Unix ドメインソケットを使いたい場合は、以下のように
11893 @samp{mew-smtp-port} に絶対パス名を設定して下さい。
11894 @end ifset
11895 @ifset en
11896 If you want to use a Unix domain socket to connect MTA,
11897 configure as follows:
11898 @end ifset
11899
11900 @lisp
11901 (setq mew-smtp-port "/var/run/msp.sock")
11902 @end lisp
11903
11904 @ifset ja
11905 送信サーバとの接続に IPv6 を使いたい場合は、以下のように
11906 @samp{mew-smtp-submission-family} に 'ipv6 を設定して下さい。
11907 @end ifset
11908 @ifset en
11909 If you want to use IPv6 as the transport protocol to connect MTA,
11910 configure as follows:
11911 @end ifset
11912
11913 @lisp
11914 (setq mew-smtp-submission-family 'ipv6)
11915 @end lisp
11916
11917 @ifset ja
•11918 TLS/SSL (@xref{TLS/SSL}) の章も参考にして下さい。
11919 @end ifset
11920 @ifset en
•11921 Please refer also to TLS/SSL (@pxref{TLS/SSL}).
11922 @end ifset
11923
11924 @ifset ja
11925 SMTP サーバの中には、認証なし、つまりパスワードを送られるとエラーと見な
11926 す設定であるにも関わらず、認証を要求してくるものがあります。Mew は、
11927 SMTP サーバが認証を要求すると、ユーザにパスワードを尋ねて、入力されたパ
11928 スワードをサーバへ送ります。上記のようなおかしな SMTP サーバに対処する
11929 には、以下のように設定し、認証を要求されてもパスワードを送らなくすればよ
11930 いでしょう。
11931 @end ifset
11932 @ifset en
11933 Some SMTP servers are mis-configured. They requests authentication
11934 though errors occur if passwords are received. Mew automatically ask a
11935 user to input user's password and send it to an SMTP server if it
11936 requires authentication. To get along with such SMTP servers above,
11937 configure as follows:
11938 @end ifset
11939
11940 @lisp
11941 (setq mew-use-smtp-auth nil)
11942 @end lisp
11943
11944 @vtable @samp
11945 @ifset ja
11946 @item mew-use-smtp-auth
11947 SMTP サーバが認証を要求したとき、パスワードを送るかどうか。デフォルトは
11948 @samp{t}。@samp{nil} にすると、SMTP サーバが認証を要求しても無視する。
11949 @end ifset
11950 @ifset en
11951 @item mew-use-smtp-auth
11952 If non-nil, Mew send user's password if an SMTP server requests
11953 authentication. The default value is @samp{t}.
11954 If @samp{nil}, Mew does not send user's password even if
11955 the (mis-configured) SMTP server requests authentication.
11956 @end ifset
11957 @end vtable
11958
11959 @c %%%%%%%%%%%%%%%%%
11960 @node config, config2, smtp, Customize
11961 @ifset ja
11962 @section 送受信の動作変化
11963 @end ifset
11964 @ifset en
11965 @section Changing receiving/sending behavior
11966 @end ifset
11967 @vindex mew-config-alist
11968 @vindex mew-case-guess-alist
11969 @vindex mew-case-guess-when-replied-alist
11970 @vindex mew-mailbox-type
11971 @vindex mew-proto
11972 @kindex C-cC-o (Draft)
11973
11974 @ifset ja
11975 @samp{mew-config-alist} を使うと、メッセージの送受信に関する動作に変化を
11976 つけられます。以下の設定例を使って説明します。
11977 @end ifset
11978 @ifset en
11979 With @samp{mew-config-alist}, you can differ actions of
11980 sending/receiving messages. Let's look at the following example:
11981 @end ifset
11982
11983 @lisp
11984 (setq mew-config-alist
11985 '((home
11986 (inbox-folder "+inbox-home")
11987 (pop-server "pop.iij4u.or.jp"))
11988 (ext
11989 (pop-ssh-server "ssh.example.org"))
11990 (default
11991 (proto "%")
11992 (imap-server "imap.example.org")
11993 (pop-server "pop.example.org"))))
11994 @end lisp
11995
11996 @ifset ja
11997 この例では、"home"、"ext"、"default" という 3 つのケースを定めています。
11998 それぞれのケースに対して、いくつかのキーと値の対が設定されています。
11999 @end ifset
12000 @ifset en
12001 This example defines three "cases": "home", "ext", and "default". For each
12002 case, some pair of key and value are defined.
12003 @end ifset
12004
12005 @ifset ja
12006 この例を使って、@samp{mew-config-alist} の意味を説明します。ケースを
12007 "home" にして "pop-server" を索くと、"pop.iij4u.or.jp" が得られます。ケー
12008 スを @w{"}ext" にして "pop-server" を索くと、"ext" には該当するキーがな
12009 いので、@w{"}default" を見て、"pop.example.org" が得られます。ケースを
12010 "default" にして "pop-server" を索くと、"pop.example.org" が得られます。
12011 @end ifset
12012 @ifset en
12013 We explain the semantics of @samp{mew-config-alist} with this example.
12014 If the "case" is "home", looking up "pop-server" results in
12015 @w{"}pop.iij4u.or.jp". If the "case" is "ext", looking up "pop-server"
12016 results in "pop.example.org" since there is no specified key for the
12017 @w{"}case" and the "default" is used. If the "case" is "default",
12018 looking up "pop-server" results in "pop.example.org".
12019 @end ifset
12020
12021 @ifset ja
12022 ケースを "home" にして "inbox-folder" を索くと、"+inbox-home" が得られま
12023 す。ケースを "ext" にして "inbox-folder" を索くと、"ext" には該当するキー
12024 がなく、さらに "default" にもないので、@samp{mew-inbox-folder} という変
12025 数の値が得られます。ケースを "default" にして "inbox-folder" を索いた場
12026 合も、@samp{mew-inbox-folder} の値が得られます。
12027 @end ifset
12028 @ifset en
12029 If the "case" is "home", looking up "inbox-folder" results in
12030 "+inbox-home". If the "case" is "ext", looking up "inbox-folder"
12031 results in the value of @samp{mew-inbox-folder} since there is no
12032 specified key for both "ext" and "default". If the "case" is
12033 "default", looking up "inbox-folder" also results in the value of
12034 @samp{mew-inbox-folder}.
12035 @end ifset
12036
12037 @ifset ja
12038 "proto" (@samp{mew-proto})は、@samp{M-x mew} と入力された際に、どのフォ
12039 ルダに移動するか指定するために使います。(Mew を起動するために
12040 @samp{M-x mew} と入力する場合、"default" ケースの "proto" が利用されま
12041 す。Mew が起動している際に、@samp{M-x mew} と入力するとケースに従って、
12042 "proto" が選ばれます。)
12043 @end ifset
12044 @ifset en
12045 "proto" (@samp{mew-proto}) is used to specify a folder which is
12046 selected when you type @samp{M-x mew}. (If you input @samp{M-x mew}
12047 when Mew is not executed, ""proto" for the "default" "case" is
12048 used. If you type @samp{M-x mew} when Mew is running, "proto" is
12049 chosen according to the value of the "case".
12050 @end ifset
12051
12052 @ifset ja
12053 値の候補は、"+"、"$"、"%"、"-" です。これらは標準では、"+inbox"、
12054 @w{"}$inbox"、"%inbox"、"-fj.mail.reader.mew" を意味します。
12055 @end ifset
12056 @ifset en
12057 Candidates of the value are "+", "$", "%", and "-". These means
12058 @w{"}+inbox", "$inbox", "%inbox", and "-fj.mail.reader.mew" without
12059 any special configuration.
12060 @end ifset
12061
12062 @ifset ja
12063 @samp{mew-config-alist} で設定できるキーは、@samp{mew-"キー"} という変
12064 数に対応しています。以下に設定できる項目を列挙します。
12065 @end ifset
12066 @ifset en
12067 Each key which can be specified in @samp{mew-config-alist} corresponds
12068 to the variable @samp{mew-"key"}. The following list enumerates such
12069 keys.
12070 @end ifset
12071
12072 @example
12073 name, user, mail-domain,
12074 cc, fcc, dcc, reply-to, organization, header-alist, proto,
12075 smtp-server, smtp-port, smtp-ssh-server, smtp-ssl, smtp-ssl-port,
12076 smtp-user, smtp-auth-list,
12077 smtp-msgid-user, smtp-msgid-domain, smtp-helo-domain, smtp-mail-from,
12078 pop-server, pop-port, pop-ssh-server, pop-ssl, pop-ssl-port,
12079 pop-user, pop-auth, pop-auth-list,
12080 pop-size, pop-header-only, pop-delete, pop-body-lines,
12081 pop-proxy-server, pop-proxy-port,
12082 imap-server, imap-port, imap-ssh-server, imap-ssl, imap-ssl-port,
12083 imap-user, imap-auth, imap-auth-list,
12084 imap-size, imap-header-only, imap-delete,
12085 imap-trash-folder, imap-queue-folder, imap-spam-field, imap-spam-word,
12086 imap-proxy-server, imap-proxy-port,
12087 nntp-server, nntp-port, nntp-ssh-server, nntp-ssl, nntp-ssl-port,
12088 nntp-user, nntp-size, nntp-header-only,
12089 nntp-msgid-user, nntp-msgid-domain,
12090 ssl-cert-directory, ssl-verify-level,
12091 inbox-folder, queue-folder, postq-folder,
12092 mailbox-type, mbox-command, mbox-command-arg,
12093 signature-file, content-type, refile-guess-alist,
12094 spam-prog, spam-prog-args, ham-prog, ham-prog-args,
12095 use-old-pgp, pgp-signer, smime-signer, privacy-method,
12096 protect-privacy-always, protect-privacy-always-type,
12097 protect-privacy-encrypted, protect-privacy-encrypted-type,
12098 protect-privacy-with-old-pgp-signature,
12099 use-format-flowed
12100 @end example
12101
12102 @ifset ja
12103 name、user、mail-domain は以下の規則にしたがって、From: の値になります。
12104 @end ifset
12105 @ifset en
12106 A value for From: is made of 'name', 'user', and 'mail-domain'
12107 according to the following rule:
12108 @end ifset
12109
12110 @example
12111 from = name <user@@mail-domain>
12112 @end example
12113
12114 @ifset ja
12115 自分で @samp{mew-from-list} を設定していない場合は、上記のルールに従い各
12116 ケースの from を集めて、@samp{mew-from-list} が自動的に設定されます。
12117 @xref{cheader} を参照のこと。
12118 @end ifset
12119 @ifset en
12120 Unless you set @samp{mew-from-list} by yourself, @samp{mew-from-list}
12121 is automatically set collecting 'from' for each "case" according to
12122 the rule above. see @ref{cheader}.
12123 @end ifset
12124
12125 @ifset ja
12126 @samp{mew-config-alist} に設定したケース名をケースに指定できます。Mew
12127 の起動時のケースは、"default" になっています。
12128 @end ifset
12129 @ifset en
12130 Cases configured in @samp{mew-config-alist} can be specified to the
12131 @w{"}case". When Mew boots up, both the "case" is "default".
12132 @end ifset
12133
12134 @ifset ja
12135 Summary モードにおいて、ケースを変更するには @samp{C} を利用します。ケー
12136 スには、@samp{TAB} で補完、@samp{C-cTAB} で循環的な補完が効きます。
12137 @end ifset
12138 @ifset en
12139 If you want to change the "case", type @samp{C}. You can use
12140 completion by @samp{TAB} and circular completion by @samp{C-cTAB}.
12141 @end ifset
12142
12143 @ifset ja
12144 ケースが "default" 以外の値をとった場合は、Summary モードのモードライン
12145 に表示されます。以下はケースが "home" となっている場合の例です。
12146 @end ifset
12147 @ifset en
12148 If the "case" is not "default", they are displayed in the mode line of
12149 Summary mode. The following is an example where the "case" is "home".
12150 @end ifset
12151
12152 @example
12153 (Summary home)
12154 @end example
12155
12156
12157 @ifset ja
12158 Draft モードでは、ケースが "default" でない場合、モードラインにその値が
12159 表示されます。以下は、ケースが "home" である場合の例です。
12160 @end ifset
12161 @ifset en
12162 In Draft mode, if the "case" is not "default", the value is displayed
12163 in mode line. The following is an example that the "case" is "home".
12164 @end ifset
12165
12166 @example
12167 (Draft home)
12168 @end example
12169
12170 @ifset ja
12171 Draft モードにおいて、その草稿のケースを変更するには、@samp{C-cC-o} を
12172 用います。mail-domain キーや header-alist キーに対応する値に応じて、ヘッ
12173 ダが動的に変更されます。なお、このケースは、その Draft モードに固有にな
12174 ります。
12175 @end ifset
12176 @ifset en
12177 To change the "case" of a draft in Draft mode, use @samp{C-cC-o}. Its
12178 header is dynamically modified according to the value of the
12179 'mail-domain' key and the 'header-alist' key. Note that the "case" is
12180 a local variable of the Draft mode.
12181 @end ifset
12182
12183 @ifset ja
12184 Draft モードでは、ケースを自動的に設定することもできます。
12185 @end ifset
12186 @ifset en
12187 You can automatically set the "case" in Draft mode.
12188 @end ifset
12189
12190 @vtable @samp
12191 @ifset ja
12192 @item mew-case-guess-when-prepared
12193 この変数が @samp{t} の場合、草稿が用意されたときに、
12194 @samp{mew-case-guess-alist} に従ってケースが設定される。初期値は
12195 @samp{t}。
12196 @item mew-case-guess-when-composed
12197 この変数が @samp{t} の場合、メッセージが作成されたときに、
12198 @samp{mew-case-guess-alist} に従ってケースが設定される。初期値は
12199 @samp{nil}
12200 @item mew-case-guess-when-replied
12201 この変数が @samp{t} の場合、返答によって草稿が用意されたときに、
12202 @samp{mew-case-guess-when-replied-alist} に従ってケースが設定される。初
12203 期値は @samp{t}。
12204 @end ifset
12205 @ifset en
12206 @item mew-case-guess-when-prepared
12207 If this variable is @samp{t}, the "case" is automatically guessed
12208 according @samp{mew-case-guess-alist} when a draft is prepared. The
12209 default is @samp{t}.
12210 @item mew-case-guess-when-composed
12211 If this variable is @samp{t}, the "case" is automatically guessed
12212 according @samp{mew-case-guess-alist} when a message is composed. The
12213 default is @samp{nil}.
12214 @item mew-case-guess-when-replied
12215 If this variable is @samp{t}, the "case" is automatically guessed
12216 according @samp{mew-case-guess-when-replied-alist} when a draft is
12217 prepared by replying. The default is @samp{t}.
12218 @end ifset
12219 @end vtable
12220
12221 @ifset ja
12222 @samp{mew-case-guess-alist} と @samp{mew-case-guess-when-replied-alist}
12223 の書式は、@samp{mew-refile-guess-alist} と同じです。詳しくは、
12224 @xref{by-alist} を参照して下さい。
12225 @end ifset
12226 @ifset en
12227 The syntax of @samp{mew-case-guess-alist} and
12228 @samp{mew-case-guess-when-replied-alist} is the same as
12229 @samp{mew-refile-guess-alist}. For more information, please refer to
12230 @ref{by-alist}.
12231 @end ifset
12232
12233 @ifset ja
12234 Draft モードで草稿を送信するために @samp{C-cC-c} を使うと、Draft モード
12235 のケースが SMTP/NNTP サーバなどを決定するために利用されます。Summary モー
12236 ドで +queue/+postq のメッセージを送り出すために @samp{C-cC-c} を利用す
12237 ると、Summary モードのケースが利用されます。たとえ、そのケースが Draft
12238 モードで指定されていたケースと違ってもです。Summary モードで
12239 @samp{C-uC-cC-c} を使うと、+queue/+postq のメッセージを送り出すためのケー
12240 スが指定できます。
12241 @end ifset
12242 @ifset en
12243 When typing @samp{C-cC-c} in Draft mode to send a draft, the "case" in
12244 Draft mode is used to determine an SMTP/NNTP server, etc. When typing
12245 @samp{C-cC-c} in Summary mode to flush messages in +queue/+postq, the
12246 @w{"}case" in Summary mode is used even if it is different from the
12247 one which was used in Draft mode. @samp{C-uC-cC-c} in Summary mode let
12248 you specify the "case" to flush messages in +queue/postq.
12249 @end ifset
12250
12251
12252 @ifset ja
12253 以下にケースに関するコマンドをまとめます。
12254 @end ifset
12255 @ifset en
12256 The following is a summary of commands concerned with the "case".
12257 @end ifset
12258
12259 @table @samp
12260 @ifset ja
12261 @item C
12262 Summary モードにおいて、ケースを設定する。
12263 @item C-cC-o
12264 Draft モードにおいて、その草稿のケースを設定する。
12265 @end ifset
12266 @ifset en
12267 @item C
12268 In Summary mode, set the "case".
12269 @item C-cC-o
12270 In Draft mode, set the "case" of a draft.
12271 @end ifset
12272 @end table
12273
12274 @c %%%%%%%%%%%%%%%%%
12275 @node config2, custom-misc, config, Customize
12276 @ifset ja
12277 @section 設定の書式
12278 @end ifset
12279 @ifset en
12280 @section The format of configuration
12281 @end ifset
12282 @vindex mew-config-alist
12283
12284 @ifset ja
12285 Mew 6.1 から ".mew.el" の設定方法が改善されました。古い書式も有効ですが、
12286 より簡単な新しい書式も利用できます。
12287 @end ifset
12288 @ifset en
12289 In Mew 6.1, configuration format of "mew.el" is improved. You can use
12290 a new format as well as the old format.
12291 @end ifset
12292
12293 @itemize @minus
12294 @ifset ja
12295 @item
12296 古い書式ではリストの中に "." が現れる場合がありました。新しい書式では、
12297 "." はまったく使われません。たとえば、("foo" . "bar") と書いていたとこ
12298 ろは、("foo" "bar") と書けます。
12299 @item
12300 古い書式では、ポート番号は文字列で書いていました。たとえば、"25" です。
12301 新しい書式では、数値で書いてもよくなりました。たとえば、25 です。文字列
12302 も有効です。たとえば、"smtp" です。
12303 @item
12304 古い書式では、@samp{mew-config-alist} のケースやキーを文字列で書いてい
12305 ました。新しい書式では、シンボルで書けます。
12306 @end ifset
12307 @ifset en
12308 @item
12309 In the old format, sometime "." appears. In the new fomat, no "."
12310 appears at all. For instance, you can write ("foo" "bar") instead of
12311 ("foo" . "bar").
12312 @item
12313 In the old format, a numeric port is specified as string. An example
12314 is "25". In the new format, you can write it as integer. An example is
12315 25. The string is still valid. An example is "smtp".
12316 @item
12317 In the old format, the cases and the keys of @samp{mew-config-alist}
12318 are written as string. In the new format, you can specify them as
12319 symbol.
12320 @end ifset
12321 @end itemize
12322
12323 @ifset ja
12324 以下に mew-config-alist を新しい書式で書いた例を示します。
12325 @end ifset
12326 @ifset en
12327 Here is an example of the new format:
12328 @end ifset
12329
12330 @lisp
12331 (setq mew-config-alist
12332 '((home
12333 (imap-server "imap.example.org")
12334 (imap-ssl t)
12335 (imap-ssl-port 993)
12336 (smtp-server "smtp.example.org")
12337 (smtp-port "submission"))))
12338 @end lisp
12339
12340 @ifset ja
12341 以下の古い書式と見比べて下さい。
12342 @end ifset
12343 @ifset en
12344 Compare this with the following old one:
12345 @end ifset
12346
12347 @lisp
12348 (setq mew-config-alist
12349 '(("home"
12350 ("imap-server" . "imap.example.org")
12351 ("imap-ssl" . t)
12352 ("imap-ssl-port" . "993")
12353 ("smtp-server" . "smtp.example.org")
12354 ("smtp-port" . "submission"))))
12355 @end lisp
12356
12357 @ifset ja
12358 繰り返しますが、Mew 6.1 では古い書式も有効です。古い書式と新しい書式を
12359 混ぜて書いても構いません。
12360 @end ifset
12361 @ifset en
12362 Again, the old format is still valid. You can also mix the new format
12363 and the old format.
12364 @end ifset
12365
12366 @c %%%%%%%%%%%%%%%%%
12367 @node custom-misc, Tips, config2, Customize
12368 @ifset ja
12369 @section その他
12370 @end ifset
12371 @ifset en
12372 @section Miscellaneous
12373 @end ifset
12374 @vindex mew-use-samba-encoding
12375 @vindex mew-cs-samba
12376 @vindex mew-print-function
12377 @vindex mew-field-for-printing
12378
12379 @ifset ja
12380 環境によっては、添付ファイルをセーブする際に、ファイル名を SAMBA 形式に
12381 すると便利なことがあります。この場合、@samp{mew-use-samba-encoding} を
12382 @samp{t} にして下さい。ファイル名として、どの文字コードを利用するかは、
12383 @samp{mew-cs-samba} で指定できます。初期値は @samp{shift_jis} です。
12384 @end ifset
12385 @ifset en
12386 In a certain environment, it would be useful to encode a file with SAMBA
12387 encoding when saving an attached file. For this, set
12388 @samp{mew-use-samba-encoding} to @samp{t}. You can set
12389 @samp{mew-cs-samba} to a character set for the file name. The default is
12390 @samp{shift_jis}.
12391 @end ifset
12392
12393 @ifset ja
12394 Summary モードで @samp{#} と押すと、現在のメッセージを印刷できます。印
12395 刷に利用する関数は @samp{mew-print-function} で定義します。初期値は、
12396 @samp{ps-print-buffer} ですから、PostScript に変換されて印刷されます。
12397 自分の作成した関数を利用するには、以下のように設定します。
12398 @end ifset
12399 @ifset en
12400 You can print the current message by typing @samp{#} in Summary mode.
12401 A function for printing can be set to @samp{mew-print-function}.
12402 Since its default value is @samp{ps-print-buffer}, a message is
12403 converted into a PostScript file before sent to a printer. You can set
12404 your own print function as follows:
12405 @end ifset
12406
12407 @lisp
12408 (setq mew-print-function 'my-print-function)
12409 @end lisp
12410
12411 @ifset ja
12412 ヘッダ中のどのフィールドを印刷するかは、@samp{mew-field-for-printing}
12413 で指定できます。初期値は、以下のようになっています。
12414 @end ifset
12415 @ifset en
12416 You can set fields in a header to be printed to
12417 @samp{mew-field-for-printing}. Its default value is as follows:
12418 @end ifset
12419
12420 @lisp
12421 '("Subject:" "From:" "To:" "Cc:" "Date:")
12422 @end lisp
12423
12424 @ifset ja
12425 たとえば、Subject:、From:、Date: のみを印刷するには、以下のように設定し
12426 ましょう。
12427 @end ifset
12428 @ifset en
12429 For instance, if you want to print Subject:, From:, and Date: only,
12430 configure as follows:
12431 @end ifset
12432
12433 @lisp
12434 (setq mew-field-for-printing '("Subject:" "From:" "Date:"))
12435 @end lisp
12436
12437 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12438 @c Tips
12439 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12440
12441 @node Tips, region, custom-misc, Top
12442 @ifset ja
12443 @chapter さらなる一歩
12444 @end ifset
12445 @ifset en
12446 @chapter Advanced usage
12447 @end ifset
12448
12449 @menu
12450 @ifset ja
12451 * region:: リージョン
12452 * visiting:: 移動
12453 * SSH:: Secure SHell
•12454 * TLS/SSL:: Transport Layer Security / Secure Socket Layer
12455 * Stunnel:: Stunnel を使った TLS 接続
12456 * GnuTLS:: GnuTLS ライブラリを使った TLS 接続
12457 * TLS/SSL2:: TLS 接続のための変数設定
12458 * spam:: スパム
12459 * spam2:: スパム(2)
12460 * addr-warn:: アドレスの警告
12461 * biff:: Biff
12462 * edit:: Edit モード
12463 @end ifset
12464 @ifset en
12465 * region:: Region
12466 * visiting:: Visiting another buffer
12467 * SSH:: Secure SHell
•12468 * TLS/SSL:: Transport Layer Security / Secure Socket Layer
12469 * Stunnel:: TLS by Stunnel
12470 * GnuTLS:: TLS by GnuTLS library
12471 * TLS/SSL2:: Configuration Variables for TLS
12472 * spam:: Spam messages
12473 * spam2:: Spam messages (2)
12474 * addr-warn:: Warning addresses
12475 * biff:: Biff
12476 * edit:: Edit mode
12477 @end ifset
12478 @end menu
12479
12480 @c %%%%%%%%%%%%%%%%%
12481 @node region, visiting, Tips, Tips
12482 @ifset ja
12483 @section リージョン
12484 @end ifset
12485 @ifset en
12486 @section Region
12487 @end ifset
12488
12489 @ifset ja
12490 Summary モードには、@samp{C-u} 付きで呼び出すと、リージョンに作用するコ
12491 マンドがあります。これらのコマンドは、ビジブルなリージョンが指定されて
12492 いる場合は、@samp{C-u} なしでもそのリージョンに作用します。
12493 @end ifset
12494 @ifset en
12495 In Summary mode, there are commands which work for a region if called
12496 with @samp{C-u}. If a visible region is specified, these commands work
12497 for the region without @samp{C-u}.
12498 @end ifset
12499
12500 @ifset ja
12501 Emacs では、以下の設定を "~/.emacs" に入れると、ビジブルなリージョンが
12502 利用できるようになります。
12503 @end ifset
12504 @ifset en
12505 For Emacs, you can use the visible region feature by putting the
12506 following into your "~/.emacs".
12507 @end ifset
12508
12509 @lisp
12510 (transient-mark-mode 1)
12511 @end lisp
12512
12513 @ifset ja
12514 以下に、該当するコマンドを列挙しておきます。
12515 @end ifset
12516 @ifset en
12517 Here is a summary of such commands.
12518 @end ifset
12519
12520 @example
12521 @samp{?}, @samp{/}, @samp{tt}, @samp{x}, @samp{lx}, @samp{ma}, @samp{Md}, @samp{S}, @samp{mlc}, @samp{mli}, @samp{*}, @samp{$}, @samp{d}, @samp{u}
12522 @end example
12523
12524 @ifset ja
12525 @samp{*}, @samp{$}, @samp{d}, @samp{u} は、直前に数字を入力することで、
12526 繰り返しの回数を指定することもできます。たとえば、@samp{3*} は 3 つのメー
12527 ルに @samp{*} マークを付けます。数字の前に @samp{C-u} は不要です。
12528 @end ifset
12529 @ifset en
12530 Also you can specify a repeat count before you call @samp{*},
12531 @samp{$}, @samp{d}, and @samp{u}. For example, typing @samp{3d} puts the
12532 @samp{*} mark onto three messages. You don't have to type @samp{C-u}
12533 before the number.
12534 @end ifset
12535
12536 @c %%%%%%%%%%%%%%%%%
12537 @node visiting, SSH, region, Tips
12538 @ifset ja
12539 @section 移動
12540 @end ifset
12541 @ifset en
12542 @section Visiting another buffer
12543 @end ifset
12544 @vindex mew-visit-queue-after-sending
12545 @vindex mew-visit-inbox-after-setting-case
12546 @kindex C-cC-o (Summary)
12547
12548 @ifset ja
12549 Draft モードにおいて、@samp{C-cC-m} でメッセージを作成し送信キューに入
12550 れた後、+queue に移動したい場合は、
12551 @samp{mew-visit-queue-after-sending} を @samp{t} に設定して下さい。
12552 @end ifset
12553 @ifset en
12554 If you want to move to +queue after making a message and putting it to
12555 +queue with @samp{C-cC-m} in Draft mode, set
12556 @samp{mew-visit-queue-after-sending} to @samp{t}.
12557 @end ifset
12558
12559 @ifset ja
12560 Summary モードにおいて、@samp{C} でケースを設定した後に、各 inbox に移
12561 動したい場合は、@samp{mew-visit-inbox-after-setting-case} を @samp{t}
12562 に設定しましょう。
12563 @end ifset
12564 @ifset en
12565 If you want to visit to an appropriate inbox after setting the "case"
12566 with @samp{C} in Summary mode, set
12567 @samp{mew-visit-inbox-after-setting-case} to @samp{t}.
12568 @end ifset
12569
12570 @ifset ja
12571 Summary モードから、一番数字の小さい草稿(Draft モード)に移動するには、
12572 @samp{C-cC-o} が利用できます。
12573 @end ifset
12574 @ifset en
12575 If you want to move from Summary mode to a draft (Draft mode) whose
12576 name is the smallest number, type @samp{C-cC-o}.
12577 @end ifset
12578
12579 @c %%%%%%%%%%%%%%%%%
•12580 @node SSH, TLS/SSL, visiting, Tips
12581 @ifset ja
12582 @section Secure SHell
12583 @end ifset
12584 @ifset en
12585 @section Secure SHell
12586 @end ifset
12587 @vindex mew-pop-ssh-server
12588
12589 @ifset ja
12590 Mew は SSH として、SSH バージョン 1、2 および OpenSSH をサポートしてい
12591 ます。Mew から SSH を利用する前に、必ずコマンド・ラインで "ssh" を実行
12592 し、SSH サーバの公開鍵を取得して下さい。すなわち、ユーザのパスワードか、
12593 ローカルのマシンの秘密鍵を復号化するためのパスワードを入力すれば、サー
12594 バにログインできる状態にして下さい。なお、"ssh-agent" を利用すれば、秘
12595 密鍵を復号化するためのパスワードの入力を省略できます。
12596 @end ifset
12597 @ifset en
12598 Mew supports SSH version 1 and version 2 and OpenSSH for SSH. You must
12599 execute "ssh" on the command and obtain server's public key before you
12600 use Mew with SSH. That is, you should set up so that you can login the
12601 server with your user password or with the password to decrypt the
12602 secret key of the local machine. Of source, you can omit the password
12603 to decrypt the secret key if you use "ssh-agent".
12604 @end ifset
12605
12606 @ifset ja
12607 後は、各プロトコルの SSH に関する変数を設定して下さい。たとえば、POP
12608 over SSH を利用する場合は、@samp{mew-pop-ssh-server} に SSH サーバの名
12609 前を設定しましょう。
12610 @end ifset
12611 @ifset en
12612 After that, you should configure SSH variables relating to each
12613 protocol. For example, if you want to use POP over SSH, set
12614 @samp{mew-pop-ssh-server} to your SSH server name.
12615 @end ifset
12616
12617 @ifset ja
12618 SSH で通信が保護されている場合、モードラインに錠前の絵が表示されます。
12619 @end ifset
12620 @ifset en
12621 While a connection is protected by SSH, a picture of a lock is shown
12622 in the mode line.
12623 @end ifset
12624
12625 @ifset ja
•12626 Mew の実装では、SSH と TLS を同時には使えません。SSH トンネルの中で
12627 TLS を使う必要がある場合、Mew では TLS だけを設定し、SSH トンネ
12628 ルはコマンドラインから張るようにして下さい。
12629 @end ifset
12630 @ifset en
•12631 The implementation of Mew does not allow to use both SSH and TLS
12632 at the same time. If you need to use TLS over an SSH tunnel,
12633 please configure TLS only with Mew and set up an SSH tunnel on a
12634 command line.
12635 @end ifset
12636
12637 @c %%%%%%%%%%%%%%%%%
•12638 @node TLS/SSL, Stunnel, SSH, Tips
12639 @ifset ja
•12640 @section Transport Layer Security / Secure Socket Layer
12641 @end ifset
12642 @ifset en
•12643 @section Transport Layer Security / Secure Socket Layer
12644 @end ifset
12645
12646 @ifset ja
•12647 Mew は、通信の秘匿性と完全性を保証するために、TCP 通信路の暗号化を行な
12648 う TLS (Transport Layer Security) に対応しています。
12649 この機能を使うには、Emacs に GnuTLS ライブラリが組み込まれているか、
12650 外部プログラムとして "stunnel" バージョン 3、4、5 のいずれかが必要です。
12651 @end ifset
12652 @ifset en
•12653 Mew supports TLS (Transport Layer Security) for confidentiality and
12654 integrity of TCP transport. To use this feature, Emacs built with
12655 GnuTLS library or a ``stunnel'' program version 3, 4, or 5 is required.
12656 @end ifset
12657
12658 @ifset ja
•12659 TLS プロトコルは、Netscape Communications 社が 1990 年代に開発した SSL
12660 (Secure Socket Layer) の後継として規格化されたものです。
12661 2 つのプロトコルには互換性があり、
12662 GnuTLS や ``stunnel'' プログラムは TLS と SSL の両方に対応しています。
12663 しかし、2020 年の時点で SSL には多数の脆弱性が発見されており、
12664 SSL の使用は避けて TLS のみを使用すべきだと考えられています。
12665 @end ifset
12666 @ifset en
12667 SSL (Secure Socket Layer) was developed by Netscape Communications,
12668 Inc. back in 1990s and TLS has been developed as the successor. While
12669 these two protocols are compatible with each other in some degree, and
12670 GnuTLS and ``stunnel'' support the both, as of 2020, SSL is considered
12671 as a ``should not use'' protocol because a lot of security flaws were
12672 found in the protocol.
12673 @end ifset
12674
12675 @ifset ja
12676 TLS 機能の設定に用いる Mew の設定変数や関数の名前には、 ``ssl'' が含ま
12677 れているものがあります。混乱しやすいですが、このような歴史的な理由によ
12678 るものです。
12679 @end ifset
12680 @ifset en
12681 For this histrical reason, there are still variables and functions for
12682 TLS functionality with ``ssl'' keyword in Mew.
12683 @end ifset
12684
12685 @ifset ja
12686 TLS を有効にするには、stunnel もしくは GnuTLS ライブラリのための変数設
12687 定を行ない、次に各プロトコルについて TLS を有効にするかどうかの設定を
12688 行ないます。
12689 @end ifset
12690 @ifset en
12691 To enable TLS functionality, you have to configure variables for
12692 ``stunnel'' program or GnuTLS library, and then ones for enabling TLS
12693 of each supported protocols.
12694 @end ifset
12695
12696 @c %%%%%%%%%%%%%%%%%
12697 @node Stunnel, GnuTLS, TLS/SSL, Tips
12698 @ifset ja
12699 @section Stunnel を使った TLS 接続
12700 @end ifset
12701 @ifset en
12702 @section TLS by Stunnel
12703 @end ifset
12704 @vindex mew-ssl-cert-directory
12705 @vindex mew-ssl-verify-level
12706
12707 @ifset ja
12708 Mew で利用する前に、TLS サーバに対して "stunnel" で TLS のコネクション
12709 が張れるか確かめて下さい。"stunnel" は、"openssl" のライブラリをリンク
12710 しているので、"openssl" の知識が必要です。
•12711 また、TLS を使うには、認証局方式の信用モデルを理解している必要があります。
12712 @end ifset
12713 @ifset en
•12714 Before you use Mew with TLS, you must be sure that an TLS connection
12715 can be established to your TLS server. Since "stunnel" is linked to
12716 the "openssl" library, you should understand "openssl".
•12717 Before you use TLS, you should understand the trust model of
12718 certificate authorities (CA).
12719 @end ifset
12720
12721 @ifset ja
12722 信用する証明書を保存しておくディレクトリを "~/.certs" だとしましょう。
12723 ここに "openssl" の "certs" ディレクトリに付いてくる PEM 形式の証明書を
12724 "<ハッシュ>.0" という名前でコピーします。
12725 @end ifset
12726 @ifset en
12727 Suppose we use "~/.certs" as a directory where certificates of trusted
12728 CAs are contained. You need to copy PEM-format certificates embedded
12729 in the source of "openssl" to this director. Each name should be
12730 @w{"}<hash>.0".
12731 @end ifset
12732
12733 @ifset ja
12734 ここでは、PEM 形式の証明書のファイル名を "ca.pem" だとしましょう。「<ハッ
12735 シュ>」は以下のように計算できます。
12736 @end ifset
12737 @ifset en
12738 Here we call a sample CA certificate "ca.pem". You can calculate
12739 <hash> as follows:
12740 @end ifset
12741
12742 @example
12743 % openssl x509 -hash -noout -in ca.pem
12744 @end example
12745
12746 @ifset ja
12747 "~/.certs/" へコピーするには、以下のようにします。
12748 @end ifset
12749 @ifset en
12750 To copy the certificate, do as follows:
12751 @end ifset
12752
12753 @example
12754 % cp ca.pem ~/.certs/`openssl x509 -hash -noout -in ca.pem`.0
12755 @end example
12756
12757 @ifset ja
12758 "openssl" に付いてくる証明書は、世の中で使われている CA すべてを網羅で
12759 きていません。あなたが利用するサーバの証明書が、他の CA から発行された
•12760 場合、その CA の証明書を同様にコピーしておく必要があります。インターネッ
12761 トにおいて信頼されている CA の証明書は、次の URLで管理・公開されていま
12762 す。
12763 @end ifset
12764 @ifset en
12765 The certificates in the source of "openssl" do not cover all CAs. If
•12766 the certificate of your TLS server is signed by another CA, you must
12767 copy the certificate of the CA to the directory. You can find trusted
12768 CA certificates on Internet from the following URLs:
12769 @end ifset
12770
12771 @example
•12772 https://www.ccadb.org
12773 https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/
12774 @end example
12775
12776 @ifset ja
12777 Mew で "stunnel" を制御する重要な変数は 2 つです。
12778 @samp{mew-ssl-cert-directory} は、信用する CA の証明書を置いておくディ
12779 レクトリであり、初期値は "~/.certs" です。また、
12780 @samp{mew-ssl-verify-level} で、証明書を検証するレベルを指定できます。
12781 レベルの初期値は 1 です。この意味は、以下の通りです。
12782 @end ifset
12783 @ifset en
12784 There are two important Mew variables to control "stunnel".
12785 @samp{mew-ssl-cert-directory} is the directory where you install
12786 certificates of trusted CAs. It's default value if "~/.certs". Also,
12787 you can set the verification level with @samp{mew-ssl-verify-level}.
12788 It's default to 1. The meanings of the values are as follows:
12789 @end ifset
12790
12791 @table @asis
12792 @ifset ja
12793 @item 0
12794 検証しない
12795 @item 1
•12796 サーバの証明書があれば検証する。検証結果が失敗なら、TLS コネクショ
12797 ンは作られない。証明書がなければ、TLS コネクションを作成する。
12798 @item 2
•12799 サーバの証明書を検証する。検証結果が失敗なら、TLS コネクションは作
12800 られない。証明書がなければ、TLS コネクションを作成しない。
12801 @item 3
12802 サーバが送ってきたものではなく、ローカルにインストールされている証明書
12803 で検証する。
12804 @end ifset
12805 @ifset en
12806 @item 0
12807 No verification.
12808 @item 1
12809 Verify server's certificate if present. If verification failed, an
•12810 TLS connection is not created. If not present, a TLS
12811 connection is created.
12812 @item 2
•12813 Verify server's certificate. If verification failed, a TLS
12814 connection is not created. If not present, a TLS connection is
12815 not created.
12816 @item 3
12817 Verify server's certificate which locally installed (not one from the
12818 server).
12819 @end ifset
12820 @end table
12821
12822 @ifset ja
•12823 変数を設定したら、stunnel を使う準備は完了です。
12824 @end ifset
12825 @ifset en
12826 You can get started with using stunnel after configuring the
12827 variables.
12828 @end ifset
12829
12830 @c %%%%%%%%%%%%%%%%%
12831 @node GnuTLS, TLS/SSL2, Stunnel, Tips
12832 @ifset ja
12833 @section GnuTLS ライブラリを使った TLS 接続
12834 @end ifset
12835 @ifset en
12836 @section TLS by GnuTLS Library
12837 @end ifset
12838 @vindex mew-ssl-trustfiles
12839 @vindex mew-ssl-verify-level
12840 @vindex gnutls-verify-error
12841 @vindex network-security-level
12842
12843 @ifset ja
12844 GnuTLS が組み込まれた Emacs を使っている場合、TLS 機能を有効にするため
12845 の特別な設定は不要です。次の変数を設定することで、証明書の検証レベルと
12846 信頼するルート CA を変更することができます。
12847 @end ifset
12848 @ifset en
12849 Mew requires no specific configuration to support TLS if you are using
12850 an Emacs built with GnuTLS library. You can configure the certificate
12851 verification level and trusted root CAs by using the following
12852 variables.
12853 @end ifset
12854
12855 @ifset ja
12856 証明書の検証レベルは、Emacs の Network Security Manager によって管理さ
12857 れているポリシーに従います。ポリシーを設定するには、
12858 @samp{network-security-level} という変数を使います。デフォルト値は
12859 @samp{'medium} です。@samp{'low} の場合、証明書を検証しません。
12860 @samp{'medium} の場合、ルート CA の証明書リストを使って証明書を検証し
12861 ます。検証ができなかった場合、もしくは自己署名証明書だった場合、その証
12862 明書を受け入れるかどうかのダイアログが表示されます。また、今まで証明書
12863 を使って暗号化通信が行なわれていたサーバに対して、暗号化なしでの接続が
12864 行なわれようとした場合にも、警告を表示します。@samp{'high} とすると、
12865 @samp{'medium} のチェックに加えて、サーバ証明書の鍵の変更や弱い暗号ス
12866 イートの使用に関して警告が表示されます。詳しくは、
12867 @xref{(emacs)Network Security} を参照して下さい。
12868 @end ifset
12869 @ifset en
12870 The policy for verification of the server certificates is handled by
12871 Emacs Network Security Manager. It is configured by
12872 @samp{network-security-level}, and the default value is
12873 @samp{'medium}. If it is set to @samp{'low}, no verification is
12874 performed. If @samp{'medium}, NSM will check whether the certificate
12875 used to establish the identity of the server we're connecting to can
12876 be verified by using the specified root CA list. A dialog for
12877 choosing whether the certificate should be accepted or not will be
12878 displayed if it is an invalid certificate including self-signed one.
12879 Also, if the connection is unencrypted, but it was encrypted in
12880 previous sessions, a similar dialog will be displayed. @samp{'high}
12881 will perform additional checks such as a validated certificate which
12882 changes the public key and weak cipher/protocols.
12883 For more details,
12884 see @xref{(emacs)Network Security}.
12885 @end ifset
12886
12887 @ifset ja
12888 GnuTLS を使う場合は前述のとおり @samp{network-security-level} を設定す
12889 ることが推奨されます。一方で Mew は、Stunnel を用いた TLS 接続について、
12890 @samp{mew-ssl-verify-level} という変数を用いて証明書の検証レベルを設定
12891 していました。この変数で設定した場合との後方互換性を保つため、Mew は
12892 @samp{mew-ssl-verify-level} が @samp{0} の場合のみ、
12893 @samp{network-security-level} を @samp{'low} に自動設定します。
12894 この自動設定は、 Mew による接続のみに影響します。
12895 @samp{mew-ssl-verify-level} のデフォルト値は @samp{1} となっています。
12896 @samp{0} 以外の値の場合は、@samp{network-security-level} の設定に変更
12897 が加えられることはありません。
12898 @end ifset
12899 @ifset en
12900 It is recommended to use @samp{network-security-level} to specify the
12901 verification level when using GnuTLS. However, Mew traditionally used
12902 @samp{mew-ssl-verify-level} variable to specify the verification level
12903 for Stunnel program. To keep backward compatibility with it,
12904 @samp{network-security-level} will be temporarily set to @samp{'low}
12905 if and only if @samp{mew-ssl-verify-level} is @samp{0}. Note that the
12906 default value of @samp{mew-ssl-verify-level} is @samp{1} and there
12907 will be no change with @samp{network-security-level} when
12908 @samp{mew-ssl-verify-level} is not @samp{0}.
12909 @end ifset
12910
12911 @ifset ja
12912 GnuTLS には、証明書の検証方法を制御するための
12913 @samp{gnutls-verify-error} という変数もあります。GnuTLS は TCP 接続の
12914 確立時に証明書の検証を行ないますが、この変数は、検証に失敗した時に切断
12915 するかどうかを制御します。デフォルトでは @samp{nil} に設定されており、
12916 検証に失敗してもすぐには切断しません。前述の Network Security Manager
12917 が、TCP 接続の確立後にチェックを行ない、切断するかどうかを決定します。
12918 すぐに切断しない設定がデフォルトとなっていることは奇妙に思われるかも知
12919 れませんが、Emacs で GnuTLS が標準的に行なう検証よりも多くの項目をチェッ
12920 クできるようにするため、TCP 接続と検証処理を分離しています。
12921 @end ifset
12922 @ifset en
12923 GnuTLS has own variable, @samp{gnutls-verify-error}, to configure the
12924 verification level. This variable controls if the TCP connection must
12925 be disconnected or not if verification of the server certificates
12926 failed upon the connection established. The default value is
12927 @samp{nil}, which means connection will not be closed immediately even
12928 when the verification fails. In this case, NSM will perform the
12929 verification and decides whether the connection should be disconnected
12930 or not. You might think it is a bit odd that the default value of
12931 this variable is set to @samp{nil}. This is because Emacs itself will
12932 check more details of the certificates and the connection than GnuTLS
12933 does. For this reason, establishing a TCP connection and decision on
12934 disconnect are separated.
12935 @end ifset
12936
12937 @ifset ja
12938 @samp{gnutls-verify-error} を手動で設定した場合、TCP 接続の確立時に証
12939 明書の検証に失敗すると、すぐに接続が切断されます。NSM による検証は行な
12940 われません。この場合、@samp{network-security-level} や
12941 @samp{mew-ssl-verify-level} による設定は無効になりますので注意して下さ
12942 い。特別な理由がない限り、@samp{gnutls-verify-error} ではなく
12943 @samp{network-security-level} を使って設定することをお勧めします。
12944 @end ifset
12945 @ifset en
12946 If you set @samp{gnutls-verify-error} manually, GnuTLS will terminate
12947 the TCP session when the verification of the server certificates
12948 fails. In this case, no further verification by NSM will be
12949 performed. Note that configurations by using
12950 @samp{network-security-level} or @samp{mew-ssl-verify-level} will be
12951 ignored in this case. It is recommended to use
12952 @samp{network-security-level} over @samp{gnutls-verify-error} unless
12953 you have a specific reason.
12954 @end ifset
12955
12956 @ifset ja
12957 信頼するルート CA は、@samp{mew-ssl-trustfiles} の設定に従います。ただし、
12958 GnuTLS には通常、デフォルトのルート CA リストが設定されており、Emacs
12959 26.3 とそれより前のバージョンでは、それが常に先頭に追加されます。リス
12960 トを空にしても、デフォルトのリストを無視できないことに注意してください。
12961 @end ifset
12962 @ifset en
12963 The trusted root CA list can be specified in
12964 @samp{mew-ssl-trustfiles}. However, GnuTLS has the default list of
12965 the trusted files and they are always used first on Emacs version 26.3
12966 and prior. Note that you cannot disable them even if you set an empty
12967 list to the variable.
12968 @end ifset
12969
12970 @c %%%%%%%%%%%%%%%%%
12971 @node TLS/SSL2, spam, GnuTLS, Tips
12972 @ifset ja
12973 @section TLS 接続のための変数設定
12974 @end ifset
12975 @ifset en
12976 @section Configuration Variables for TLS
12977 @end ifset
12978 @vindex mew-ssl-default
12979 @vindex mew-pop-ssl
12980 @vindex mew-pop-ssl-port
12981 @vindex mew-smtp-ssl
12982 @vindex mew-smtp-ssl-port
12983 @vindex mew-nntp-ssl
12984 @vindex mew-nntp-ssl-port
12985
12986 @ifset ja
12987 次に各プロトコルの TLS に関する変数を設定して下さい。たとえば、POP
12988 over TLS を利用するには、@samp{mew-pop-ssl} を @samp{t} にします。
12989 TLS の実装として stunnel もしくは GnuTLS を明示的に指定したい場合は、
12990 それぞれ @samp{'tunnel}, @samp{'native} を指定します。
12991 @samp{t} を設定したプロトコルについては、
12992 @samp{mew-ssl-default} を使って使用する実装を選択することが可能です。
12993 また、
12994 ポート番号が標準と異なる場合には、@samp{mew-pop-ssl-port} を設定して下
12995 さい。
12996 @end ifset
12997 @ifset en
•12998 Then configure TLS-related variables of each protocol. For example, if
12999 you want to use POP over TLS, set @samp{mew-pop-ssl} to @samp{t}.
13000 To specify the TLS implementation, @samp{'tunnel} or @samp{'native}
13001 can be used instead of @samp{t} for stunnel or GnuTLS, respectively.
13002 For protocols with @samp{t}, the value of @samp{mew-ssl-default}
13003 is used as the default TLS implementation.
13004 Also, if its port is not a standard one, configure
13005 @samp{mew-pop-ssl-port}.
13006 @end ifset
13007
13008 @lisp
13009 (setq mew-pop-ssl t)
13010 @end lisp
13011
13012 @ifset ja
•13013 SMTP で TLS を利用する場合は、以下のようにします。
13014 @end ifset
13015 @ifset en
•13016 To use TLS for SMTP, configure as follows:
13017 @end ifset
13018
13019 @lisp
13020 (setq mew-smtp-ssl t)
13021 @end lisp
13022
13023 @ifset ja
•13024 TLS で通信が保護されている場合、モードラインに錠前の絵が表示されます。
13025 @end ifset
13026 @ifset en
•13027 While a connection is protected by TLS, a picture of a lock is shown
13028 in the mode line.
13029 @end ifset
13030
13031 @ifset ja
•13032 Mew では、各プロトコルの STARTTLS 拡張を使い、TCP 接続の確立後に
13033 TLS を有効にすることもできます。STARTTLS を利用したい場合、ますは
13034 @xref{TLS/SSL} の説明に従って設定して下さい。
13035 @end ifset
13036 @ifset en
•13037 Mew can upgrade a plain TCP connection to a TLS connection by using
13038 STARTTLS extension in each supported protocols. Before using this,
13039 you have to configure variables according to @ref{TLS/SSL}.
13040 @end ifset
13041
13042 @ifset ja
•13043 STARTTLS は、プロトコルの通常のポート番号と TLS 用のポート番号とを
13044 一致するように設定することで有効になります。たとえば、POP では以下のよ
13045 うにします。
13046 @end ifset
13047 @ifset en
•13048 STARTTLS will be enabled when the port number for normal TCP
13049 connections of the protocol is set to the same as the port number for
13050 TLS connections. Configure as follows for POP, for instance:
13051 @end ifset
13052
13053 @lisp
13054 ;; mew-pop-port is default to "pop3" (110)
13055 (setq mew-pop-ssl t)
13056 (setq mew-pop-ssl-port mew-pop-port) ;; The default is "pop3s" (995)
13057 @end lisp
13058
13059 @ifset ja
•13060 以下は、Message Submission で STARTTLS を有効にするための設定例です。
13061 @end ifset
13062 @ifset en
•13063 The following is an example to enable STARTTLS for Message Submission.
13064 @end ifset
13065
13066 @lisp
13067 (setq mew-smtp-port "submission") ;; The default is "smtp" (25)
13068 (setq mew-smtp-ssl t)
13069 (setq mew-smtp-ssl-port mew-smtp-port) ;; The default is 465
13070 @end lisp
13071
13072 @c %%%%%%%%%%%%%%%%%
•13073 @node spam, spam2, TLS/SSL2, Tips
13074 @ifset ja
13075 @section スパム
13076 @end ifset
13077 @ifset en
13078 @section Spam messages
13079 @end ifset
13080 @vindex mew-spam
13081 @vindex mew-inbox-action-alist
13082 @vindex mew-imap-spam-field
13083 @vindex mew-imap-spam-word
13084 @vindex mew-imap-spam-folder
13085
13086 @ifset ja
13087 (1) スパムのフィルタが POP サーバや IMAP サーバ側で動いている場合:
13088
13089 POP で +inbox にメッセージを取得したり、$inbox や %inbox でメッセージの
13090 一覧を取ったりする場合に、スパムに自動的に @samp{D} マークを付けること
13091 ができます。
13092 @end ifset
13093 @ifset en
13094 (1) In the case where a spam filter is running on your POP server or
13095 your IMAP server.
13096
13097 You can put the @samp{D} mark to spam messages while you are
13098 retrieving messages in +inbox or you are scanning messages in
13099 $inbox/%inbox.
13100 @end ifset
13101
13102 @ifset ja
13103 Bogofilter を利用している場合は、以下の設定を "~/.mew.el" に入れて下さ
13104 い。
13105 @end ifset
13106 @ifset en
13107 If you use "bogofilter", put the following to your "~/.mew.el".
13108 @end ifset
13109
13110 @lisp
13111 (defun mew-spam-bogofilter (val)
13112 (let ((case-fold-search t))
13113 (if (string-match "yes" val) ?D)))
13114
13115 (setq mew-inbox-action-alist
13116 '(("X-Bogosity:" mew-spam-bogofilter)))
13117 @end lisp
13118
13119 @ifset ja
13120 @samp{D} マークを付ける代わりに、+spam フォルダへリファイルするように @samp{o} マー
13121 クを付けるようにするには、関数を以下のように記述します。
13122 @end ifset
13123 @ifset en
13124 If you want to put the @samp{o} mark so as to be refiled to the +spam
13125 folder, instead of putting to th @samp{D} mark, you should program the
13126 function as follows:
13127 @end ifset
13128
13129 @lisp
13130 (defun mew-spam-bogofilter (val)
13131 (let ((case-fold-search t))
13132 (if (string-match "yes" val) "+spam")))
13133 @end lisp
13134
13135 @ifset ja
13136 Spamassassin の場合は、以下の設定を "~/.mew.el" に入れて下さい。
13137 @end ifset
13138 @ifset en
13139 If you use "spamassassin", put the following to your "~/.mew.el".
13140 @end ifset
13141
13142 @lisp
13143 (setq mew-spam: "X-Spam-Flag:")
13144 (defun mew-spam-assassin (val)
13145 (let ((case-fold-search t))
13146 (if (string-match "yes" val) ?D)))
13147
13148 (setq mew-inbox-action-alist
13149 '(("X-Spam-Flag:" mew-spam-assassin)))
13150 @end lisp
13151
13152 @ifset ja
13153 bsfilter を使う場合は、bsfilter に含まれているマニュアルを参照して下さ
13154 い。
13155 @end ifset
13156 @ifset en
13157 In the case where you want to use bsfilter, see a document in the
13158 bsfilter package.
13159 @end ifset
13160
13161
13162 @ifset ja
13163 (2) スパムのフィルタが IMAP サーバ側で動いている場合:
13164
13165 %inbox でメッセージの一覧を取る際に、IMAP サーバの中でスパムを消去、ま
13166 たは、他のフォルダへ移動させることができます。Bogofilter を利用している
13167 場合は、以下のような設定を "~/.mew.el" に加えて下さい。
13168 @end ifset
13169 @ifset en
13170 (2) In the case where a spam filter is running in your IMAP server.
13171
13172 You can delete or move spam messages while you are scanning %inbox.
13173 If you use "bogofilter", put the following to your "~/.mew.el".
13174 @end ifset
13175
13176 @lisp
13177 (setq mew-imap-spam-field "X-Bogosity")
13178 (setq mew-imap-spam-word "Yes")
13179 @end lisp
13180
13181 @ifset ja
13182 @samp{mew-imap-spam-folder} あるいは @samp{mew-imap-trash-folder} が定
13183 義されていれば、そのフォルダへスパムが移動します。そうでなければ、スパ
13184 ムは消去されます。
13185 @end ifset
13186 @ifset en
13187 If @samp{mew-imap-spam-folder} or @samp{mew-imap-trash-folder} is
13188 defined, spam messages are moved to the folder. Otherwise, they are
13189 removed.
13190 @end ifset
13191
13192 @ifset ja
13193 (3) ローカルで bogofilter を動かして、一括して @samp{*} マークを付ける
13194 方法もあります。まず、以下のスクリプトをインストールして下さい。
13195 @end ifset
13196 @ifset en
13197 (3) In the case where you installed "bogofilter" in your local machine,
13198 you can put the @samp{*} mark to spam messages. First you need to install
13199 the following script, say "bogo":
13200 @end ifset
13201
13202 @example
13203 #!/bin/sh
13204
13205 bogofilter -v -T -B $* | grep S
13206 @end example
13207
13208 @ifset ja
13209 このスクリプト名を "bogo" だとしましょう。Summary モードで @samp{?} を
13210 実行し、@samp{RET} を入力し、コマンド名に "bogo" を指定すれば、スパムに
13211 @samp{*} マークが付きます。あとは、@samp{md} + @samp{x} などで処理する
13212 といいでしょう。
13213 @end ifset
13214 @ifset en
13215 Type @samp{?} and @samp{RET}, then specify "bogo", and spam messages
13216 are marked with @samp{*}. After that, you may want to process them
13217 with @samp{md} + @samp{x}.
13218 @end ifset
13219
13220 @ifset ja
13221 (4) POP サーバを利用しており、サーバ側ではスパムのフィルタを動かせないが、
13222 メッセージの取得時にマークを付けたい場合:
13223 @end ifset
13224 @ifset en
13225 (4) In the case where you use POP and a spam filter does not run on
13226 the POP server but you want to mark spam messages when retrieving
13227 @end ifset
13228
13229 @ifset ja
13230 bsfilter は、POP の代理サーバとなる機能があるので、これを実現できます。
13231 詳しくは bsfilter に含まれているマニュアルを参照して下さい。
13232 @end ifset
13233 @ifset en
13234 Since bsfilter can be a POP proxy server, you can implement your
13235 policy. See a document in the bsfilter package.
13236 @end ifset
13237
13238 @c %%%%%%%%%%%%%%%%%
13239 @node spam2, addr-warn, spam, Tips
13240 @ifset ja
13241 @section スパム(2)
13242 @end ifset
13243 @ifset en
13244 @section Spam messages(2)
13245 @end ifset
13246 @kindex lh (Summary)
13247 @kindex ls (Summary)
13248 @vindex mew-spam-prog
13249 @vindex mew-spam-prog-args
13250 @vindex mew-ham-prog
13251 @vindex mew-ham-prog-args
13252
13253 @ifset ja
13254 Summary モードで読んでいる現在のメッセージを、フィルターにスパムとして
13255 学習させるには @samp{ls} を使います。同様に、ハム(スパムでないメッセー
13256 ジ)として学習させるには @samp{lh} を利用して下さい。
13257 @end ifset
13258 @ifset en
13259 If you want to let your filter learn the current message in Summary as
13260 a spam, type @samp{ls}. Likewise type @samp{lh} to let your filter
13261 learn it as a ham (non-spam).
13262 @end ifset
13263
13264 @ifset ja
13265 両者のコマンドを使用するためには、4 つの変数を設定しておく必要があります。
13266 ここでは bogofilter を例題にとり、3 つの場合について説明します。
13267 @end ifset
13268 @ifset en
13269 To use these commands, you need to configure four variables in advance.
13270 We consider bogofilter as an example and see three cases.
13271 @end ifset
13272
13273 @ifset ja
13274 (1) ローカルのフィルターに学習させる場合:
13275 @end ifset
13276 @ifset en
13277 (2) To let your local filter learn:
13278 @end ifset
13279
13280 @lisp
13281 (setq mew-spam-prog "bogofilter")
13282 (setq mew-spam-prog-args '("-s" "-N" "-v"))
13283 (setq mew-ham-prog "bogofilter")
13284 (setq mew-ham-prog-args '("-n" "-S" "-v")))
13285 @end lisp
13286
13287 @ifset ja
13288 (2) サーバ(<server>)側のフィルターに SSH 経由で学習させる場合:
13289 @end ifset
13290 @ifset en
13291 (2) To let your filter on your <server> learn via SSH:
13292 @end ifset
13293
13294 @lisp
13295 (setq mew-spam-prog "ssh")
13296 (setq mew-spam-prog-args '("<server>" "bogofilter" "-s" "-N" "-v"))
13297 (setq mew-ham-prog "ssh")
13298 (setq mew-ham-prog-args '("<server>" "bogofilter" "-n" "-S" "-v")))
13299 @end lisp
13300
13301 @ifset ja
13302 (3) ファイアウォール(<firewall>)の先のサーバ(<server>)のフィルターに
13303 多段の SSH 経由で学習させる場合:
13304 @end ifset
13305 @ifset en
13306 (3) To pass through your <firewall> with SSH and to let your filter on
13307 your <server> learn via SSH:
13308 @end ifset
13309
13310 @lisp
13311 (setq mew-spam-prog "ssh")
13312 (setq mew-spam-prog-args '("-A" "<firewall>" "ssh" "<server>" "bogofilter" "-s" "-N" "-v"))
13313 (setq mew-ham-prog "ssh")
13314 (setq mew-ham-prog-args '("-A" "<firewall>" "ssh" "<server>" "bogofilter" "-n" "-S" "-v")))
13315 @end lisp
13316
13317 @ifset ja
13318 なお SSH を利用する場合、関連するホストには、パスワードなしでログインで
13319 きるように設定しておく必要があります。
13320 @end ifset
13321 @ifset en
13322 If you use SSH, you need to configure related hosts so that you can
13323 login them without passwords.
13324 @end ifset
13325
13326 @c %%%%%%%%%%%%%%%%%
13327 @node addr-warn, biff, spam2, Tips
13328 @ifset ja
13329 @section アドレスの警告
13330 @end ifset
13331 @ifset en
13332 @section Warning addresses
13333 @end ifset
13334 @vindex mew-safe-addresses
13335 @vindex mew-warn-addresses
13336 @vindex mew-safe-domains
13337 @vindex mew-warn-domains
13338
13339 @ifset ja
13340 社内で閉じるべきメッセージの宛先に、うっかり社外の人のアドレスを書いて
13341 しまうことがあります。Mew では、たとえば社内のドメイン名を列挙しておく
13342 と、社外のアドレスを赤色にして警告してくれます。
13343 @end ifset
13344 @ifset en
13345 Suppose you are writing a message which must be closed in your
13346 company. You might write an non-employee's address by mistake. If you
13347 tells your company's domains, for instance, to Mew, it turns
13348 non-employee's addresses to red.
13349 @end ifset
13350
13351 @ifset ja
13352 どのアドレスを警告するのかを決定する変数は 4 つあり、すべて文字列のリス
13353 トになります。Mew は以下のルールに従って、警告するアドレスを決めます。
13354 @end ifset
13355 @ifset en
13356 There are four variables to decide which address should trun red.
13357 They are all a list of strings. Mew takes the following rules:
13358 @end ifset
13359
13360 @enumerate
13361 @ifset ja
13362 @item
13363 アドレスが @samp{mew-safe-addresses} で指定されていれば警告しない。
13364 @item
13365 アドレスが @samp{mew-warn-addresses} で指定されていれば警告する。
13366 @item
13367 ドメインが @samp{mew-safe-domains} で指定されていれば警告しない。
13368 @item
13369 ドメインが @samp{mew-warn-domains} で指定されていれば警告する。
13370 @item
13371 @samp{mew-warn-addresses} か @samp{mew-safe-domains} が定義されていれば
13372 警告する。
13373 @item
13374 警告しない。
13375 @end ifset
13376 @ifset en
13377 @item
13378 If an address is specified in @samp{mew-safe-addresses}, no warning.
13379 @item
13380 If the address is specified in @samp{mew-warn-addresses}, warning.
13381 @item
13382 If its domain is specified in @samp{mew-safe-domains}, no warning.
13383 @item
13384 If its domain is specified in @samp{mew-warn-domains}, warning.
13385 @item
13386 If either @samp{mew-warn-addresses} or @samp{mew-safe-domains} defined,
13387 warning.
13388 @item
13389 No warning.
13390 @end ifset
13391 @end enumerate
13392
13393 @ifset ja
13394 以下に "@@example.org" 以外のドメインを持つアドレスを警告する例を示します。
13395 @end ifset
13396 @ifset en
13397 Here is an example that an address whose domain is not "@@example.org"
13398 turns red.
13399 @end ifset
13400
13401 @lisp
13402 (setq mew-safe-domains '("example.org"))
13403 @end lisp
13404
13405 @ifset ja
13406 ドメインは "@@example.org" ですが、"customers@@example.org" は警告したい場合は、
13407 さらに以下のように設定します。
13408 @end ifset
13409 @ifset en
13410 If you want "customers@@example.org" to turn red even its domain is
13411 @w{"}@@example.org", add the following line.
13412 @end ifset
13413
13414 @lisp
13415 (setq mew-warn-addresses '("customers@@example.org"))
13416 @end lisp
13417
13418 @c %%%%%%%%%%%%%%%%%
13419 @node biff, edit, addr-warn, Tips
13420 @ifset ja
13421 @section Biff
13422 @end ifset
13423 @ifset en
13424 @section Biff
13425 @end ifset
13426 @vindex mew-use-biff
13427 @vindex mew-use-biff-bell
13428 @vindex mew-biff-interval
13429
13430 @ifset ja
13431 メッセージが到着したか定期的に調べる機能を biff といいます。Mew では、
13432 以下の設定をすると、5 分ごとに新規メッセージが何個あるか調べるようにな
13433 ります。
13434 @end ifset
13435 @ifset en
13436 The functionality to check new messages is called biff. With the
13437 following configuration Mew sees how many new messages have arrived
13438 every 5 minutes.
13439 @end ifset
13440
13441 @lisp
13442 (setq mew-use-biff t)
13443 @end lisp
13444
13445 @ifset ja
13446 新規メッセージがあれば、その数がモードラインに表示されます。
13447 @end ifset
13448 @ifset en
13449 If one or more new messages exist, the total number is displayed in
13450 the mode line.
13451 @end ifset
13452
13453 @ifset ja
13454 Biff の対象となるサーバとプロトコルは、Mew の起動時に @samp{mew-proto}
13455 とケース(@samp{mew-case})から決定されます。
13456 @end ifset
13457 @ifset en
13458 The server and the protocol, which Mew checks, are decided according
13459 to @samp{mew-proto} and the "case" (@samp{mew-case}) on boot time.
13460 @end ifset
13461
13462 @ifset ja
13463 以下の設定をすると、新規メッセージがない状態からある状態に変った際に、
13464 ビープ音が鳴ります。
13465 @end ifset
13466 @ifset en
13467 With the following configuration, Mew beeps when the number of new
13468 messages changes from zero to one or more.
13469 @end ifset
13470
13471 @lisp
13472 (setq mew-use-biff-bell t)
13473 @end lisp
13474
13475 @ifset ja
13476 メッセージの到着を調べる間隔を変えるには、@samp{mew-biff-interval} を設
13477 定して下さい。以下は、10 分にする例です。
13478 @end ifset
13479 @ifset en
13480 To change the interval time of biff, set @samp{mew-biff-interval}.
13481 Below is an example to set it to 10 minutes.
13482 @end ifset
13483
13484 @lisp
13485 (setq mew-biff-interval 10)
13486 @end lisp
13487
13488 @c %%%%%%%%%%%%%%%%%
13489 @node edit, Convention, biff, Tips
13490 @ifset ja
13491 @section Edit モード
13492 @end ifset
13493 @ifset en
13494 @section Edit
13495 @end ifset
13496 @kindex M-e
13497 @kindex C-cC-c (Edit)
13498 @kindex C-cC-m (Edit)
13499
13500 @ifset ja
13501 Edit モードは、既存のメッセージを編集し、新しいメッセージを作成するため
13502 のモードです。用途の典型例を以下に示します。
13503 @end ifset
13504 @ifset en
13505 Edit mode is a mode to edit a message to generate another new message.
13506 The followings are typical examples:
13507 @end ifset
13508
13509 @itemize @minus
13510 @ifset ja
13511 @item
13512 大きな添付ファイルを削除して保存する
13513 @item
13514 PGP/MIME や S/MIME で暗号化されたメッセージを復号化した状態で保存する
13515 @end ifset
13516 @ifset en
13517 @item
13518 Saving a new message with big attachments removed
13519 @item
13520 Saving a decrypted message whose original one is encrypted with
13521 PGP/MIME or S/MIME
13522 @end ifset
13523 @end itemize
13524
13525 @ifset ja
13526 現在のメッセージを Edit モードで編集するには、@samp{M-e}を押します。す
13527 ると、Draft モードに似た形で草稿が用意されます。Edit モードでは、Draft
13528 モードと同様の操作で、メッセージを編集できます。
13529 @end ifset
13530 @ifset en
13531 To edit a current message in Edit mode, type @samp{M-e}. Then, a new
13532 draft is prepared like Draft mode. In Edit mode, you can edit a
13533 message as if you were in Draft mode.
13534 @end ifset
13535
13536 @ifset ja
13537 編集したメッセージを新しいメッセージとして保存するには、@samp{C-cC-c}か
13538 @samp{C-cC-m}を使います。両者は、まったく同じコマンドです。これらのコマ
13539 ンドを実行すると、どのフォルダに保存するかを訊いてきます。
13540 @end ifset
13541 @ifset en
13542 To save edited message to a new message, type @samp{C-cC-c} or
13543 @samp{C-cC-m}. They are the exactly same command. To execute one of
13544 them, you are asked a folder to save the new message.
13545 @end ifset
13546
13547 @ifset ja
13548 なお、この機能は再編集(@xref{sum-write})と混同しやすいので注意して下さ
13549 い。再編集は編集後に送信するのに対し、Edit モードでは編集の後に保存しま
13550 す。
13551 @end ifset
13552 @ifset en
13553 Please take care that you may confuse this command as retry
13554 sending (@pxref{sum-write}). Retry seinding is to send a message after
13555 editing while Edit mode is to save a message after modifying.
13556 @end ifset
13557
13558 @ifset ja
13559 以下に Edit モードのまとめを示します。Summary モードから Edit モードに
13560 入るには以下のコマンドを使います。
13561 @end ifset
13562 @ifset en
13563 The following is summary of commands relating to Edit mode. To enter
13564 Edit mode from Summary mode, use the following command.
13565 @end ifset
13566
13567 @table @samp
13568 @ifset ja
13569 @item M-e
13570 現在のメッセージを元に Edit モードに入る。
13571 @end ifset
13572 @ifset en
13573 @item M-e
13574 Entering Edit mode with the current message.
13575 @end ifset
13576 @end table
13577
13578 @ifset ja
13579 Edit モードでのコマンドをまとめます。
13580 @end ifset
13581 @ifset en
13582 The following is a summary of commands in Edit mode.
13583 @end ifset
13584
13585 @table @samp
13586 @ifset ja
13587 @item C-cC-c
13588 編集したメッセージを新しいメッセージに保存。
13589 @item C-cC-m
13590 @samp{C-cC-c}に同じ。
13591 @item その他
13592 Draft モードと同じ。
13593 @end ifset
13594 @ifset en
13595 @item C-cC-c
13596 Saving the edited message to a new message.
13597 @item C-cC-m
13598 The same as @samp{C-cC-c}
13599 @item Other commands
13600 The same as the other commands in Edit mode
13601 @end ifset
13602 @end table
13603
13604 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13605 @c Message Convention
13606 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13607
13608 @node Convention, Implementation, edit, Top
13609 @ifset ja
13610 @chapter メッセージの作法
13611 @end ifset
13612 @ifset en
13613 @chapter E-mail convention
13614 @end ifset
13615
13616 @ifset ja
13617 メッセージをやりとりする際には、最低限のマナーがあります。マナーを守って
13618 いないメッセージは読みにくいため、大変損します。簡潔かつ適切な文章を書き、
13619 なるべく相手に理解してもらえるよう努力しましょう。
13620 @end ifset
13621 @ifset en
13622 When you exchange messages with other people, you should obey minimum
13623 manner. It gives a bad impression to the people if you violate the
13624 manner since such messages are hard to read. We always should try to
13625 write concise yet comprehensive explanations and make an effort to make
13626 receivers well-understood.
13627 @end ifset
13628
13629 @ifset ja
13630 メッセージを書く際に気を付けるべき項目を以下に示します。
13631 @end ifset
13632 @ifset en
13633 We should take good care of the following items.
13634 @end ifset
13635
13636 @table @asis
13637 @ifset ja
13638 @item To: と Cc: を正しく書く
13639 To: が目的の人で、Cc: は参考までに送り付ける人です。自分のアドレスが Cc:
13640 の場合は、読み飛ばす人がいますから注意して下さい。また、不必要なアドレス
13641 を To: や Cc: に書いて、相手に迷惑をかけてしまうことがないようにしましょ
13642 う。
13643
13644 @item To: と Cc: に書くアドレスの数は少なくする
13645 アドレスをたくさん To: や Cc: に書くのはよくないことです。面倒でもメーリ
13646 ングリストを作りましょう。あるいは、必要に応じて宛先を匿名にしましょう
13647 (@xref{anonymous})。
13648
13649 @item Subject: には本文の内容を的確に短く書く
13650 Subject: を見て読むか決める人がいますから、不適切な Subject: だと読んで
13651 もらえないかもしれません。長い Subject: は読みにくいので止めましょう。
13652
13653 @item 必要な部分だけを引用する
13654 面倒でも不要な部分は削りましょう。Mew を使っていれば、引用は楽勝のはずで
13655 す。
13656
13657 @item シグニチャは簡素にする
13658 長いシグニチャは単なる自己満足です。
13659
13660 @item いたずらメッセージを送らない
13661 こんなことは注意したくありませんが、それでも不幸のメッセージなどを送って
13662 くる人がいます。人格を疑われることを理解すべきです。
13663
13664 @item 相手の読めるデータのみを添付する
13665 なんの合意もなしに送ってよいデータはテキストのみです。それ以外のデータを
13666 送る場合は、あらかじめ相手に送ってよいか確認をとりましょう。メーリングリ
13667 ストには、テキストのみを投稿するのが無難でしょう。
13668 @end ifset
13669 @ifset en
13670 @item Fill To: and Cc: fields precisely
13671 To: is for target receivers and Cc: is for those who are received for
13672 their information. If his address is not on To:, he might skip to read
13673 the message. We should take care not to deliver to wrong people by
13674 mistaking the addresses.
13675
13676 @item The number of addresses To: and Cc: should be small
13677 It is discouraged to specify a lot of mail addresses on To: and Cc:. You
13678 should create a mailing-list instead. Or, if necessary, you should make
13679 the destination anonymous (@pxref{anonymous}).
13680
13681 @item Write a short and clear summary of body in Subject:
13682 There are people who decide to read contents from their Subject:. So,
13683 they might skip messages with improper Subject:. We should not write a
13684 long subject since it is hard to read.
13685
13686 @item Cite only necessary sentences
13687 You should not bother to remove unnecessary sentences. With Mew,
13688 citation must be a piece of cake.
13689
13690 @item Make your signature simple
13691 A long signature is just self-satisfaction.
13692
13693 @item Do not send prank messages
13694 I do not want to warn this kind of stuff. Nonetheless, someone sends
13695 Happy or Unhappy messages to others. You should understand that people
13696 doubt your character.
13697
13698 @item Attach data files that the receivers can read
13699 It is text only that you can send without any agreement with the
13700 receivers. If you want to send data files other than text, you should
13701 make an agreement with the receivers. To mailing-list, you should send
13702 text only.
13703 @end ifset
13704 @end table
13705
13706 @ifset ja
13707 また、インターネットのマナーは RFC1855 を読むといいでしょう。
13708 @end ifset
13709 @ifset en
13710 If you wish to learn manner on the Internet more comprehensively, please
13711 refer to RFC1855.
13712 @end ifset
13713
13714 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13715 @c Implementation
13716 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13717
13718 @node Implementation, Avail, Convention, Top
13719 @ifset ja
13720 @chapter 実装について
13721 @end ifset
13722 @ifset en
13723 @chapter Implementation Issues
13724 @end ifset
13725
13726 @table @asis
13727 @ifset ja
13728 @item "mewl" と "mewencode" が必要なのはなぜ?
13729 Mew では、Summary mode でメッセージを取得している間や、一覧を再表示して
13730 いる間に、メッセージを読み進めることができます。これは、プログラムの制御
13731 の流れが複数必要であることを意味しています。Emacs で制御の流れを複数にす
13732 るには、サブプロセスを作るか、TCP コネクションを張るしか方法がありません
13733 (Emacs Lisp には light weight process がありません)。POP や SMTP には、
13734 TCP コネクションを使うので問題ありません。しかし、Summary mode の一覧を
13735 再表示するためには、何かコマンドを起動しないといけません。これが、
13736 "mewl" が存在する理由です。"mewencode" が存在する理由は、単に速度のため
13737 です。MIME の符号化を Emacs Lisp で実装したところ、使い物にならないぐら
13738 い遅かったので、"mewencode" を使い続けています。(ただし、Base64 が Emacs
13739 で実装されていれば、そちらを使います。)
13740
13741 @item 文字列検索(@samp{C-s}、@samp{C-r})すると、行末にカーソルが飛ぶのはなぜ?
13742 Summary mode において、スレッド情報は表示されません。これは、Summary
13743 mode で表示されている行に関しては、表示する瞬間にスレッド情報に非表示
13744 の属性を付けるからです。非表示の属性がついている部分は文字列検索の対象
13745 にはなりません。しかし、Summary mode に表示されていない行のスレッド情
13746 報は、非表示の属性がついていないため、検索の対象となります。そして、合
13747 致した行が表示される際に非表示の属性がついて、あたかも行末に合致したか
13748 のような錯覚を受けます。Summary mode 全体の行のスレッド情報には、キー
13749 の入力がない時間に非表示の属性が付きます。全体に非表示の属性が付くと、
13750 Summary mode のモードラインの右端にある @samp{*} マークが消えます。こ
13751 の状態では、文字列検索が直感通りに働きます。
13752
13753 @item Mew 4.3 でファイルを添付すると MS のメールリーダでファイル名が認識できるようになりました
13754 MS のメールリーダは、ファイル名を符号化する際に、標準化されてない独自の
13755 方法を使います。MS のメールリーダが、標準化されている符号化方式に移行す
13756 ればいいのですが、何度お願いしても無理でした。そこで、Mew では以下のよ
13757 うな方法で、この問題を解決しました。すなわち、Mew は基本的には標準化さ
13758 れている方法で、ファイル名を符号化します。それに加えて、MS のメールリー
13759 ダが参照する標準化されてないパラメータに対して、ファイル名を MS 独自の
13760 方法で符号化し、付加します。
13761
13762 @end ifset
13763 @ifset en
13764 @item Why are "mewl" and "mewencode" necessary?
13765 With Mew, you can read throw messages in Summary mode while you are
13766 retrieving messages or listing the messages again. This means that
13767 multiple control flows of program are necessary. To make multiple
13768 control flows by Emacs, the only way is to make a TCP connection or to
13769 execute sub-process (Emacs Lisp does NOT provide a feature of light
13770 weight process). For POP and SMTP, Mew makes a TCP connection, so they
13771 are not a problem. However, to list the messages in Summary mode again,
13772 we have to execute a command. This is why "mewl" exists. The reason why
13773 "mewencode" exists is just for speed. When I programmed MIME encoding by
13774 Emacs Lisp in several ways, they are too slow to use. So, I decided to
13775 continue to use "mewencode". (If Base64 is implemented by Emacs, Mew
13776 uses the native function.)
13777
13778 @item Why does the cursor jump onto the end of line when searching(@samp{C-s}, @samp{C-r})?
13779 Thread informations are not displayed in Summary mode. This is because
13780 the "invisible" property is dynamically put onto them when
13781 displayed. Strings with this property is not a target of the string
13782 search. But, thread informations of undisplayed lines do not have this
13783 property, so the string search targets them. Then a matched line is
13784 displayed and the "invisible" property is put. So, it seems to you that
13785 the string search matches the end of the line. Mew puts the "invisible"
13786 property for all lines in Summary mode in background while there are no
13787 user key inputs. When this word is finished, the @samp{*} mark in the
13788 right side of the mode line in Summary mode disappears. In this
13789 situation, string search works exactly as you expect.
13790
13791 @item MS's mailers can handle file names well if I attach files with Mew 4.3
13792 MS's mailers use "non-standard MS original" encoding to encode file
13793 names. MS mailers should migrate to the standard encoding. I
13794 repeatedly asked MS to do so, but they did not. So, Mew took the
13795 following workaround: Mew basically uses the standard encoding. In
13796 addition, Mew add "MS original parameter" with file names encoded
13797 with "MS original" encoding.
13798
13799 @end ifset
13800 @end table
13801
13802 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13803 @c Avail
13804 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13805
13806 @node Avail, obtain, Implementation, Top
13807 @ifset ja
13808 @chapter 入手方法とメーリングリスト
13809 @end ifset
13810 @ifset en
13811 @chapter Availability and mailing-list
13812 @end ifset
13813
13814 @ifset ja
13815 ここでは、Mew の入手方法とメーリングリストについて触れます。
13816 @end ifset
13817 @ifset en
13818 This chapter describes how to get Mew and related mailing-lists.
13819 @end ifset
13820
13821 @menu
13822 @ifset ja
13823 * obtain:: Mew の入手方法
13824 * ml:: メーリングリスト
13825 @end ifset
13826 @ifset en
13827 * obtain:: How to get Mew?
13828 * ml:: Mailing list
13829 @end ifset
13830 @end menu
13831
13832 @c %%%%%%%%%%%%%%%%%
13833 @node obtain, ml, Avail, Avail
13834 @ifset ja
13835 @section Mew の入手方法
13836 @end ifset
13837 @ifset en
13838 @section How to get Mew?
13839 @end ifset
13840
13841 @ifset ja
13842 Mew の最新バージョンは以下から入手できます。
13843 @end ifset
13844 @ifset en
13845 The latest Mew is available from the following repository.
13846 @end ifset
13847
13848 @example
13849 http://www.Mew.org/Release/
13850 @end example
13851
13852 @ifset ja
13853 Mew の Git 版について知りたければ、以下を参照して下さい。
13854
13855 @example
13856 http://www.mew.org/ja/git/
13857 @end example
13858 @end ifset
13859 @ifset en
13860 If you want to know about Git versions of Mew, please refer to:
13861
13862 @example
13863 http://www.mew.org/en/git/
13864 @end example
13865 @end ifset
13866
13867 @c %%%%%%%%%%%%%%%%%
13868 @node ml, Copyright, obtain, Avail
13869 @ifset ja
13870 @section メーリングリスト
13871 @end ifset
13872 @ifset en
13873 @section Mailing list
13874 @end ifset
13875
13876 @ifset ja
13877 Mew に関するメーリングリストについては、以下を参照して下さい。
13878
13879 @example
13880 https://groups.google.com/forum/#!forum/mew-ja
13881 @end example
13882 @end ifset
13883
13884 @ifset en
13885 If you want to receive release announcements, ask questions,
13886 and/or discuss features in English,
13887 please subscribe yourself to mew-en.
13888
13889 @example
13890 https://groups.google.com/forum/#!forum/mew-en
13891 @end example
13892 @end ifset
13893
13894 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13895 @c Copyright
13896 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13897
13898 @node Copyright, Variable Index, ml, Top
13899 @ifset ja
13900 @chapter 著作権について
13901 @end ifset
13902 @ifset en
13903 @chapter Copyright
13904 @end ifset
13905
13906 @ifset ja
13907 Mew は以下の著作権に従います。
13908
13909 Copyright (C) 1994-2018 Mew developing team.@*
13910 All rights reserved.
13911
13912 変更の有無にかかわらず、ソースおよびバイナリ形式の再配布および利用は、以
13913 下の条件を満たしていれば、これを許可する。
13914
13915 @enumerate
13916 @item
13917 ソース・コードの再配布は、上記の著作権表示、この条件項目、および、以下の
13918 免責事項を保存しなければならない。
13919 @item
13920 バイナリ形式の再配布は、上記の著作権表示、この条件項目、および、以下の免
13921 責事項を、その配布に付随する説明書、あるいはその他の資料のいずれかに明記
13922 しなければならない。
13923 @item
13924 前もって特別に許諾を得ない限り、このソフトウェアから派生した製品の推奨や
13925 販売促進のために、このチーム名と貢献者達の名前を利用してはならない。
13926 @end enumerate
13927
13928 このソフトウェアは「このままの形で」提供され、明示的あるいは言外の保証
13929 は、商用利用および特定目的への適合に対する言外の保証も含み、またこれら
13930 だけに限らず、存在しない。たとえ以下のような損害の可能性を示唆されてい
13931 たとしても、どのような形にしろこのソフトウェアの利用から発生した問題に
13932 おいて、このチームと貢献者達は、(代替製品やサービスの調達; 利用権、デー
13933 タ、あるいは利益の損失; あるいは営業の中断を含む、またこれらだけに限ら
13934 ず)直接的に、間接的に、偶然に、特別に、懲罰上、あるいは、必然的に生じ
13935 てしまった損害に対し責任はなく、いかなる責任理論上でも契約の有無に係わ
13936 らず厳密な責任はなく、また(過失あるいはその他を含む)不法行為に対しても
13937 責任はない。
13938 @end ifset
13939 @ifset en
13940 Mew conforms the following copyright.
13941
13942 Copyright (C) 1994-2018 Mew developing team.@*
13943 All rights reserved.
13944
13945 Redistribution and use in source and binary forms, with or without
13946 modification, are permitted provided that the following conditions
13947 are met:
13948
13949 @enumerate
13950 @item
13951 Redistributions of source code must retain the above copyright
13952 notice, this list of conditions and the following disclaimer.
13953 @item
13954 Redistributions in binary form must reproduce the above copyright
13955 notice, this list of conditions and the following disclaimer in the
13956 documentation and/or other materials provided with the distribution.
13957 @item
13958 Neither the name of the team nor the names of its contributors
13959 may be used to endorse or promote products derived from this software
13960 without specific prior written permission.
13961 @end enumerate
13962
13963 THIS SOFTWARE IS PROVIDED BY THE TEAM AND CONTRIBUTORS ``AS IS'' AND
13964 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
13965 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
13966 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE TEAM OR CONTRIBUTORS BE
13967 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
13968 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
13969 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
13970 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
13971 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
13972 OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
13973 IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13974 @end ifset
13975
13976 @ifset ja
13977 CD ROM に入れて配布したいという方は、できるだけ教えて下さい。教えてくれ
13978 なくても怒りませんが、教えて頂けるとありがたいです。配布を断ったことは
13979 ありません。
13980 @end ifset
13981 @ifset en
13982 If you wish to distribute Mew in CD or something, please let me know. I
13983 do not go mad even if you do not tell me but I'm very glad if you do so.
13984 I never have declined requirements.
13985 @end ifset
13986
13987 @ifset ja
13988 このマニュアルの著作権は、著者に属します。複製、改変、再配布は自由です
13989 が、無保証です。また、このマニュアルから発生した被害に対し、著者は一切
13990 責任を負いません。
13991 @end ifset
13992 @ifset en
13993 The copyright of this manual belongs to the author. Permission is
13994 granted to copy, modify, redistribute this manual but no warranty.
13995 @end ifset
13996
13997 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13998 @c Variable Index
13999 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14000
14001 @node Variable Index, Key Index, Copyright, Top
14002 @ifset ja
14003 @chapter 変数索引
14004 @end ifset
14005 @ifset en
14006 @chapter Variable Index
14007 @end ifset
14008
14009 @printindex vr
14010
14011 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14012 @c Key Index
14013 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14014
14015 @node Key Index, , Variable Index, Top
14016 @ifset ja
14017 @chapter キー索引
14018 @end ifset
14019 @ifset en
14020 @chapter Key Index
14021 @end ifset
14022
14023 @printindex ky
14024
14025 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14026 @c Tailer
14027 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14028
14029 @shortcontents
14030 @contents
14031 @bye