Debian Codegraph @

info/mew.info

raw
1 Info file: mew.info, -*-Text-*-
2 produced by ‘texinfo-format-buffer’
3 from file ‘mew.texi’
4 using ‘texinfmt.el’ version 2.42 of 7 Jul 2006.
5
6 INFO-DIR-SECTION Message User Agent
7 START-INFO-DIR-ENTRY
8 * Mew: (mew.info). Messaging in the Emacs World.
9 END-INFO-DIR-ENTRY
10
11
12
13
14
15 
16 File: mew.info, Node: Top, Next: Overview, Prev: (dir), Up: (dir)
17
18 Mew 6.8 Manual
19 **************
20
21 Kazu YAMAMOTO
22 Created 1996/02/18
23 Modified 2018/06/07
24
25 This manual documents Mew version 6.8. In addition to this manual, you
26 may find useful information about Mew from Mew's official home page
27 (http://www.Mew.org/).
28
29
30 * Menu:
31
32 * Overview:: Read me first
33 * Viewing:: Viewing messages
34 * Composing:: Composing messages
35 * Marks:: Funny marks
36 * Refile:: Happy refiling
37 * Virtual:: Virtual folder
38 * Quit:: Give me a break
39 * Customize:: Customizing Mew
40 * Tips:: Advanced usage
41 * Convention:: E-mail convention
42 * Implementation:: Implementation Issues
43 * Avail:: Availability and mailing-list
44 * Copyright:: Copyright
45 * Variable Index:: Variable Index
46 * Key Index:: Key Index
47
48
49
50 
51 File: mew.info, Node: Overview, Next: characteristic, Prev: Top, Up: Top
52
53 Read me first
54 *************
55
56 Mew is a user interface for text messages, multimedia messages (MIME),
57 news articles and security functionality including PGP, S/MIME, SSH,
58 and SSL. Also, Mew can work with the recent search services.
59
60 Mew is an acronym for "Messaging in the Emacs World". You should spell
61 it with the first letter capitalized and pronounce it as it is
62 (i.e. the meow of cats). When the author started programming it, he
63 chose a cute word from his English dictionary. Thus, Mew.
64
65 * Menu:
66
67 * characteristic:: Mew's features
68 * Emacsen:: Supported Emacs versions
69 * modes:: Modes
70 * folder convention:: Folder convention
71 * configuration:: Configuration
72 * password:: Password
73 * start:: Starting
74
75
76
77 
78 File: mew.info, Node: characteristic, Next: Emacsen, Prev: Overview, Up: Overview
79
80 Mew's features
81 ==============
82
83 The features of Mew 6.8 are as follows:
84
85 - You can easily display a very complicated structured
86 message. What you should do to view messages is just type `SPC'.
87 - If you know how to do file operations such as copy, you can
88 compose a very complicated message without any difficulty.
89 - You can start to read messages before they are all fully listed.
90 - Since Mew preserves lists of messages in Summary mode, when you
91 move messages to a new folder, they will automatically be listed
92 incrementally.
93 - Mew neatly suggests default folders for refiling. Those who
94 receive many messages cannot live without this feature.
95 - In Draft mode, you can complete field names, e-mail addresses,
96 receiver's names, domain names, and folder names.
97 - You can easily search messages with keywords etc.
98 - Mew automatically decodes messages encrypted with PGP or
99 S/MIME. It also automatically verifies signed messages.
100 - You can easily encrypt or sign a message with PGP or S/MIME.
101 - It takes a bit of time to analyze MIME syntax or to verify a PGP
102 or S/MIME signature. While the user is reading a message, Mew
103 processes the next message so that the next message can be
104 displayed faster. Analyzed messages are cached briefly.
105 - You can view multiple folders simultaneously.
106 - Selection/Thread, a mechanism to display the flow of messages, is
107 supported. You can make Selection from messages matched to a
108 keyword and make Thread from the Selection.
109 - When you input a folder name, you can search it with a substring
110 of the name.
111
112
113
114 
115 File: mew.info, Node: Emacsen, Next: modes, Prev: characteristic, Up: Overview
116
117 Supported Emacs versions
118 ========================
119
120 Please use Emacs 24.3 or later. Mew doesn't support earlier versions
121 nor XEmacs.
122
123
124
125 
126 File: mew.info, Node: modes, Next: folder convention, Prev: Emacsen, Up: Overview
127
128 Modes
129 =====
130
131 Mew has the following seven modes:
132
133 `Summary mode'
134 A mode to list and select messages.
135 `Virtual mode'
136 A mode to list messages selected with a specific condition from
137 one or more folders. This is similar to Summary mode. This mode
138 is categorized to Selection or Thread.
139 `Message mode'
140 A mode to display the content of a message.
141 `Draft mode'
142 A mode to prepare a message to be sent, answered, and forwarded.
143 `Header mode'
144 A mode to edit the header of a message and to send it.
145 `Edit mode'
146 A mode to edit a message to generate another new message.
147 `Addrbook mode'
148 A mode to register an entry to the address book (Addrbook).
149
150
151
152 
153 File: mew.info, Node: folder convention, Next: configuration, Prev: modes, Up: Overview
154
155 Folder convention
156 =================
157
158 With Mew's terminology, a place where messages are deliver is called
159 'mailbox'. There are three kinds of mailbox: local, POP server, IMAP
160 server, and NNTP server.
161
162 A box which contains messages used by Mew is called "folder". The name
163 of a folder is in the format that "proto" is followed by a string,
164 where "proto" is one sign letter. For example, the proto of "+inbox"
165 is "+".
166
167 Mew's folders are categorized to two types: "local folder" and "remote
168 folder".
169
170 A local folder is a folder which is *original* and is created the
171 computer on which Mew is running. Also, messages stored in the folder
172 are *original*. (So, if you remove them, you cannot revive them.)
173
174 The proto of a local folder is "+". We summarize special local folders
175 as follows:
176
177 `+inbox'
178 The first local folder to store messages which you fetch from
179 your local mailbox or your POP server. To refile messages, what
180 you do is to move the messages from "+inbox" to other folders.
181 `+draft'
182 A local folder where messages, which you have not completed yet,
183 are stored.
184 `+queue'
185 A local folder where e-mail messages to be sent are stored. The
186 messages in "+queue" will be eventually sent by SMTP.
187 `+postq'
188 A local folder where NetNews message to be sent are stored. The
189 messages in "+postq" will be eventually sent by NNTP.
190
191 A remote folder is a COPY whose original is on a server side. A
192 message in a remote folder is a cache which is copied from the server.
193
194 Here are a list of available proto of remote folders:
195
196 `%'
197 Folders on an IMAP servers. Example: "%inbox"
198 `$'
199 The folder on a POP server. Example: "$inbox" (Since there is
200 only one folder in a POP server, "$inbox" is the only folder
201 whose name starts with "$".)
202 `-'
203 Newsgroups of NetNews. Example: "-fj.mail.reader.mew"
204
205 If you use several servers, there are multiple sets of remote folders.
206 You can specify several servers by using "case". For more information
207 about the "case", see *Note config::. To specify a remote folder
208 corresponding to a "case", you should write "case:folder". You can
209 omit "case:" if a case is "default".
210
211 A combination of "case" and proto organized a world to which a message
212 belongs. A message can move within its world. To make it easy to
213 search received messages afterward, they should be moved to proper
214 folders. To know how to refile received messages, see *Note Refile::.
215
216 You cannot move a message in the "$" world because there is only one
217 folder, "$inbox". You cannot move a message in the "-" world either
218 since messages in the "-" world are not yours.
219
220 If you want to move a message from one world to another, you should
221 COPY it. Its destination is restricted to a local folder. This method
222 is described in *Note retrieving::.
223
224 If you make a list of folders, you can use the completion
225 functionality for folders. To know how to make a list of folders,
226 please refer to *Note status-update::.
227
228
229
230 
231 File: mew.info, Node: configuration, Next: password, Prev: folder convention, Up: Overview
232
233 Configuration
234 =============
235
236 To execute Mew, the followings are necessary either in the site
237 configuration file or in your "~/.emacs".
238
239 (autoload 'mew "mew" nil t)
240 (autoload 'mew-send "mew" nil t)
241
242 ;; Optional setup (Read Mail menu):
243 (setq read-mail-command 'mew)
244
245 ;; Optional setup (e.g. C-xm for sending a message):
246 (autoload 'mew-user-agent-compose "mew" nil t)
247 (if (boundp 'mail-user-agent)
248 (setq mail-user-agent 'mew-user-agent))
249 (if (fboundp 'define-mail-user-agent)
250 (define-mail-user-agent
251 'mew-user-agent
252 'mew-user-agent-compose
253 'mew-draft-send-message
254 'mew-draft-kill
255 'mew-send-hook))
256
257 If you are using Emacs with the --unibyte option or the EMACS_UNIBYTE
258 environment variable for Latin-1, put the following into your
259 "~/.emacs".
260
261 (set-language-environment "Latin-1")
262 (set-input-method "latin-1-prefix") ;; or "latin-1-postfix"
263
264 If you use the following configuration for Latin-1, please remove it.
265 This is an obsolete handling of Latin-1 that can cause Mew to function
266 incorrectly.
267
268 (standard-display-european 1)
269
270 When booting, Mew reads the file "~/.mew.el". All Mew configurations
271 should be written in this file.
272
273 To configure your e-mail address, the followings are necessary.
274
275 ;; (setq mew-name "your name") ;; (user-full-name)
276 ;; (setq mew-user "user name of e-mail address") ;; (user-login-name)
277 (setq mew-mail-domain "domain of e-mail address")
278
279 To send e-mail messages by SMTP, the following is necessary.
280
281 (setq mew-smtp-server "your SMTP server") ;; if not localhost
282
283 If you want to use POP to receive e-mail messages, the followings are
284 necessary.
285
286 ;; (setq mew-pop-user "your POP account") ;; (user-login-name)
287 (setq mew-pop-server "your POP server") ;; if not localhost
288
289 If you want to use a local mailbox to receive e-mail messages, the
290 followings are necessary.
291
292 ;; To use local mailbox "mbox" or "maildir" instead of POP
293 (setq mew-mailbox-type 'mbox)
294 (setq mew-mbox-command "incm")
295 (setq mew-mbox-command-arg "-u -d /path/to/mbox")
296 ;; If /path/to/mbox is a file, it means "mbox".
297 ;; If /path/to/mbox is a directory, it means "maildir".
298
299 If you want to use IMAP to receive e-mail messages, the followings are
300 necessary.
301
302 (setq mew-proto "%")
303 ;; (setq mew-imap-user "your IMAP account") ;; (user-login-name)
304 (setq mew-imap-server "your IMAP server") ;; if not localhost
305
306 To read and/or write articles of NetNews, the followings are
307 necessary.
308
309 ;; (setq mew-nntp-user "your NNTP account")
310 (setq mew-nntp-server "your NNTP server")
311
312
313
314 
315 File: mew.info, Node: password, Next: start, Prev: configuration, Up: Overview
316
317 Password
318 ========
319
320 When fetching/sending messages or using PGP or S/MIME, you may be
321 required to input your password. Before you type your password, check
322 carefully to see if either the following conditions is satisfied:
323
324 - Emacs is running on a local computer
325 - Emacs is running on a remote computer, but an encryption
326 mechanism is being used for communication.
327
328 If neither of these conditions are satisfied, do not input a
329 password. Your password could be accessed without your knowledge.
330
331 If you get sick of inputting your password from time to time, please
332 use one of two password-cache mechanisms.
333
334 1. Storing passwords in memory temporarily. Not writing them to a
335 file.
336 2. Storing passwords in memory while Mew is running. When Mew/Emacs
337 quits, Mew encrypts the passwords and writes them to a file.
338
339 To use Feature 1., configure as follows:
340
341 (setq mew-use-cached-passwd t)
342
343 To use Feature 2., install GnuPG first. GnuPG version 1.x and 2.1.23
344 or later are supported for this feature. If you use GnuPG 2.1.23 or
345 later, put the following to "~/.gnupg/gpg.conf":
346
347 no-auto-key-retrieve
348 auto-key-locate local
349
350 Then, configure as follows:
351
352 (setq mew-use-master-passwd t)
353
354 If both variables are `t', the feature 2. is used.
355
356 Feature 1.: Any passwords including POP and PGP are cached in
357 memory. While a password is cached, you can omit to input the
358 password. The cached password will expire after a certain period (20
359 minutes by default). However, its timer is cleared (reset to 20
360 minutes) if the password is used internally.
361
362 Feature 2: When Mew boots, Mew asks you to input a master password.
363 Mew decrypts encrypted passwords in a file and caches them in memory.
364 For instance, if you have already typed POP password, it is to be
365 stored in memory. Thus, when the POP password is required, you can
366 omit to input it. If you use a master password at the first time, you
367 are asked to input it twice. When Mew boots, you might type a wrong
368 master password. In this case, if you enabled Feature 1., it is
369 used. Otherwise, no password-cache mechanisms is used.
370
371 If you want to change the master password, type `C-cC-m' in Summary
372 mode.
373
374 Cached passwords in memory are not encrypted. So, if you use either
375 Feature 1. or Feature 2., you should take care so that nobody can
376 touch your Emacs. If you leave your PC and an Emacs expert happens to
377 check your configuration, your passwords could be stolen.
378
379
380
381 
382 File: mew.info, Node: start, Next: Viewing, Prev: password, Up: Overview
383
384 Starting
385 ========
386
387 To start Mew, you can choose one of the following:
388
389 `M-x mew'
390 Execute Mew first unless Mew is running. And retrieve arrived
391 messages or just visit to the default folder.
392
393 `proto' is determined by `mew-proto' and the "case" (see
394 *Note config::).
395
396 If `proto' is `+' (i.e. a local folder), a mailbox is determined
397 according to `mew-mailbox-type' (see *Note retrieving::).
398 Otherwise (i.e. a remote folder), an appropriate protocol to
399 retrieve messages is chosen according to `proto'.
400
401 If `mew-auto-get' is `t', arrived messages are asynchronously
402 fetched and listed up in Summary mode.
403
404 `mew-auto-get' is `nil', just visit to the folder determined by
405 `proto'.
406 `C-uM-x mew'
407 Perform `M-x mew' with `mew-auto-get' reversed.
408 `M-x mew-send'
409 Enter Draft mode for message composing.
410 `C-xm'
411 Enter Draft mode for message composing if `mail-user-agent' is
412 configured.
413
414 When Mew is executed on Emacs, two cute cats appear on the cover page.
415
416 For the methods of quitting Mew, please refer to *Note Quit::.
417
418
419
420 
421 File: mew.info, Node: Viewing, Next: singlepart, Prev: start, Up: Top
422
423 Viewing messages
424 ****************
425
426 If you input `M-x mew' (regardless Mew is running or not), Mew
427 displays a list of message like this:
428
429 * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
430 M03/14 Momo-chan The pictures of Noto |Attached are the pictu
431 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd
432
433 This is called Summary mode. This section mainly explains how to read
434 messages in Summary mode.
435
436 As you can see the example above, the format of Summary mode consists
437 of a mark, data type (a mark by Mew), date, a sender, Subject:, and a
438 body.
439
440 For the method of terminating Summary mode, please see *Note Quit::.
441
442 * Menu:
443
444 * singlepart:: Reading Basis
445 * multipart:: Displaying MIME
446 * analysis:: Controlling MIME analysis
447 * cipher-viewing:: Visualizing cipher or signature
448 * retrieving:: Getting messages
449 * moving:: Moving to another folder
450 * sum-write:: Write, answer, and forward
451 * features:: Useful features
452 * status-update:: Updating status
453 * invalid:: Invalid messages
454
455
456 
457 File: mew.info, Node: singlepart, Next: multipart, Prev: Viewing, Up: Viewing
458
459 Reading Basis
460 =============
461
462 To read messages in the order of their arrival, type `SPC' to display
463 them. That's it. It's easy, isn't it?
464
465 Yet this might not be comprehensive, so the basic commands for page
466 processing are listed as follows:
467
468 `SPC'
469 Read through messages. That is, display a message, scroll it, and
470 move-then-display another message. refer to *Note summary-mode::
471 to know which direction the cursor moves.
472 `C-uSPC'
473 Redisplay the message from its header.
474 `DEL'
475 Back-scroll this message. Unnecessary header fields are hidden
476 over the window. Type `DEL' to see them when a message is
477 displayed.
478 `RET'
479 Make this message scroll up one line.
480 `M-RET'
481 `-'
482 Make this message scroll down one line.
483
484 `C-n'
485 Go to the next line.
486 `C-p'
487 Go to the previous line.
488 `n'
489 Move down then display. Targets include parts, messages marked with
490 `*', and non-marked messages.
491 `C-un'
492 Move down then display. Targets include messages marked with `*',
493 and non-marked messages.
494 `p'
495 Move up then display. Targets include parts, messages marked with
496 `*', and non-marked messages.
497 `C-up'
498 Move up then display. Targets include messages marked with `*',
499 and non-marked messages.
500 `j'
501 Jump to a line according to the line number which you input.
502 `C-uj'
503 Jump to a message according to the message number which you
504 input.
505
506
507 
508 File: mew.info, Node: multipart, Next: analysis, Prev: singlepart, Up: Viewing
509
510 Displaying MIME
511 ===============
512
513 It's not difficult to read a multipart message. As usual, just type
514 `SPC'.
515
516 A multipart message is marked with `M' on the left side of date as
517 follows:
518
519 * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
520 M03/14 Momo-chan The pictures of Noto |Attached are the pictu
521 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd
522
523 When you type `SPC' on the message marked with `M', its header is
524 displayed in Message mode. Then its multipart structure is displayed
525 in Summary mode as follows:
526
527 * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
528 M03/14 Momo-chan The pictures of Noto |Attached are the pictu
529 B 2 Image/Jpeg picture 1 noto1.jpg
530 Q 3 Application/Postscript Note map map.ps
531 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd
532
533 If the first part is Text/, the first part is not displayed in Summary
534 mode but the first part is displayed with its header in Message mode.
535
536 Each line of multipart consists of
537
538 - marks (Content-Transfer-Encoding:)
539 - part number
540 - data type (Content-Type:)
541 - description (Content-Description:)
542 - file name (Content-Disposition:).
543
544 Content-Description can be considered Subject: for each part. This
545 format is very similar to that of the attachment region in Draft mode.
546
547 If you type `SPC' or `n', the cursor moves onto part 2 and the content
548 is displayed according to its data type. For instance, Text/Plain is
549 showed in Message mode and PostScript is visualized with "ghostview".
550
551 Please note that `n' and `p' move lines including multipart.
552 To display the message below skipping multipart, type `C-un'.
553 Likewise, to display the message above (not this message), input
554 `C-up'.
555
556 Mew processes MIME recursively. The following example is a forwarded
557 multipart message.
558
559 M03/15 Kazu yamamoto Fw: The pictures of Noto |Attached are the pictu
560 2 Message/Rfc822 The pictures of Noto
561 B 2.2 Image/Jpeg picture 1 noto1.jpg
562 Q 2.3 Application/Postscript Note map map.ps
563
564 Note: We strongly recommend that you not embed any object other than
565 text as a top level single part to a message directly. Instead, it is
566 better to make a multipart message whose part 1 is a textual
567 description of part 2 and part 2 is a non-text object.
568
569 A message which contains a single part other than text is displayed as
570 multipart.
571
572 Since the syntax of MIME messages can be complex, it sometime takes a
573 bit of time to analyze the syntax. However, Mew guesses the message to
574 be read next and analyzes it beforehand while the user is reading the
575 current message. Analyzed messages are temporarily cached.
576
577 To make it clear where the message ends, Mew displays the string "[End
578 of message]" in the end of the message. At the end of each part, Mew
579 displays the string "[Message is continued]". These strings are
580 customized by `mew-end-of-message-string' and
581 `mew-end-of-part-string', respectively.
582
583
584 
585 File: mew.info, Node: analysis, Next: cipher-viewing, Prev: multipart, Up: Viewing
586
587 Controlling MIME analysis
588 =========================
589
590 There are several variables for controlling message analysis.
591
592 `mew-file-max-size'
593 The size limit of messages to be analyzed. If the size of a
594 message is less than or equal to this value, it is analyzed and
595 displayed. Otherwise, the raw message is displayed without
596 analysis. The default value is 10000 bytes.
597 `mew-header-max-length'
598 The length limit of header to be analyzed. If the length of a
599 header is less than or equal to this value, it is analyzed and
600 displayed. Otherwise, the message is displayed as fragmentarily
601 since the analysis is stopped. The default value is 100 lines.
602 `mew-decode-broken'
603 Whether Mew be liberal or conservative to invalid messages. If the value
604 is `t', the setting is liberal. If the value is `nil', the
605 setting is for conservative. If conservative and invalid portions are
606 found, they are reported in the X-Mew: field. The default value is
607 `t'.
608 `mew-use-text-body'
609 Whether or not the text part of a body is displayed with its
610 header. If the value is `t', both the body which is a single part
611 text and the first text part in a multipart body are displayed
612 with its header. If the value is `nil', they are displayed as a
613 single part in a multipart. The default value is `t'.
614 `mew-use-alternative'
615 How to treat Multipart/Alternative. Messages containing
616 Multipart/Alternative are marked with `-'. If the value is
617 `t', one part is displayed according to the preference defined in
618 `mew-mime-multipart-alternative-list'. If the value is
619 `nil', it is displayed as a multipart. The default value is
620 `t'.
621 `mew-use-text/html'
622 How to treat Text/Html. If `nil', HTML is displayed as is
623 (without parsing). Otherwise, HTML is parsed and displayed. The
624 default value is `nil'.
625 `mew-use-text/xml'
626 How to treat Text/Xml. If `nil', XML is displayed as is (without
627 parsing). Otherwise, XML is parsed and displayed. The default
628 value is `t'.
629
630 The basic command relating to the variables above is `.'. The command
631 acts as follows:
632
633 1) If this command executed on a message, the cache of the message is
634 removed and the message is analyzed then displayed.
635
636 1a) If the size of the current message exceeds `mew-file-max-size',
637 MIME analysis is skipped then the beginning of the raw message is
638 displayed. In this situation, this command analyzes the current
639 message without the limitation then displays it.
640
641 1b) If the length of a header exceeds `mew-header-max-length', a
642 broken message is displayed. In this situation, this command analyzes
643 the current message without the limitation then displays it.
644
645 1c) If the current message is displayed by `:', the multipart
646 structure is displayed different from the normal display. In this
647 situation, this command gets the multipart structure back to the
648 normal display.
649
650 1d) If `mew-use-text/html' is `nil', its HTML body is displayed as
651 is. In this situation, this command analyzes the HTML body and
652 displays it.
653
654 2) If this command is called on a part, the part is displayed again.
655
656 2a) If 'mew-use-text/html' is `nil', its HTML part is displayed as
657 is. In this situation, this command analyzes the HTML part and
658 displays it.
659
660 In addition to `.', the following commands are prepared:
661
662 `.'
663 Analyze the message and re-display it.
664 `C-u.'
665 Analyze the message with `mew-decode-broken' reversed (see
666 *Note invalid::).
667 `:'
668 The same as `.' with `mew-use-alternative' and
669 `mew-use-text-body' reversed.
670 `C-u:'
671 The same as `C-u.' with `mew-use-alternative' and
672 `mew-use-text-body' reversed.
673 `,'
674 Insert a message or a part into Message mode in raw format.
675 `C-cTAB'
676 Open an entire message as a file in read-only mode.
677 `C-uC-cTAB'
678 Open an entire message as a file.
679
680
681 
682 File: mew.info, Node: cipher-viewing, Next: retrieving, Prev: analysis, Up: Viewing
683
684 Visualizing cipher or signature
685 ===============================
686
687 Basic commands such as `SPC' visualize messages signed or encrypted as
688 well. Let's start with a simple example:
689
690 S03/18 Kanda PC shop A written estimate |Here is a written esti
691 E03/21 Anonymous Secret message |
692
693 Messages above are marked with `S' and `E', respectively. This means
694 that the body of the first message is signed and that of the second
695 message is encrypted.
696
697 PGP/MIME and/or S/MIME also allow to sign and/or encrypt some parts of
698 a message. In this case, these marks do not appear. The `S' or `E'
699 mark appears only when the entire body of the message is signed or
700 encrypted.
701
702 The terms "sign" and "encrypt" used above mean the last procedure
703 applied the body is "sign" and "encryption", respectively. The above
704 examples may have been produced with more complex processes. For
705 instance, in the case of the former message, the body may have been
706 signed after encrypting the body. It is likely that some part of the
707 latter message was first signed then the body was encrypted.
708
709 If some parts or the entire body is encrypted, Mew asks you to input
710 your pass-phrase to get plain text. Please refer to *Note start:: to
711 know what you should pay attention when inputting pass-phrase. The
712 pass-phrase is used to decrypt your secret key. The secret key is then
713 used to decrypt cipher text.
714
715 To visualize a cipher message, you need to input your pass-phrase
716 every time you encounter cipher text. This is because Mew does not
717 cache pass-phrases anywhere for security reasons. If you feel this is
718 inconvenient, you can configure Mew to cache your pass-phrase. Please
719 refer to *Note password:: for more information.
720
721 Since decrypted messages are cached for a while, you may not be asked
722 for your pass-phrase at the next time you display the message, even if
723 you are not using the pass-phrase cache.
724
725 To verify signatures, senders' public keys are used. Hence you are not
726 asked to type your pass-phrase.
727
728 Since Mew automatically verifies signatures and/or decrypts cipher
729 text with a pass-phrase, it is likely that users do not notice that
730 the original message has signatures and/or which parts were encrypted.
731
732 To inform users the results of verification of signatures or which
733 parts were decrypted, Mew inserts the X-Mew: field in the header as
734 follows:
735
736 X-Mew: <body> PGP decrypted.
737 Good PGP sign "[email protected]" COMPLETE
738
739 The number enclosed by "<>" indicates which part was protected with
740 PGP. "body" means the body was protected. This example tells us that
741 the body was singed by kazu then encrypted for the reader. Mew first
742 decrypted the message and then verified its signature of the decrypted
743 message. The fact that the signature is valid indicates that no one
744 has modified the content of the message since it was signed by the
745 secret key whose ID is [email protected]. The validity of the public
746 key used to verify the signature is "complete". Thus, the receiver can
747 be sure that the public key actually belongs to the user indicated by
748 the ID. That is, this message was verified by a reliable public key
749 AND its results were correct, so no alternation was found.
750
751 In the following example, the signature of the body (multipart), is
752 first verified, then part 2 (a message), is decrypted. That is, the
753 composing process was that part 2 is first encrypted then the entire
754 body is signed.
755
756 X-Mew: <body multi> Good PGP sign "[email protected]" COMPLETE
757 X-Mew: <2 message> PGP decrypted.
758
759 Intelligent users may wonder what happens in the case where a devious
760 person sends a message that contains an invalid X-Mew: field. This is
761 not a problem. First Mew carefully removes the X-Mew: field, and then
762 inserts a valid X-Mew: field into the header.
763
764 About PGP/MIME:
765
766 X-Mew: informs the user of various other types of results. For
767 example, the lack of availability of a public key, decryption
768 failures, etc. The following example indicates the absence of a public
769 key whose key ID is 0x1B8BF431.
770
771 X-Mew: <body multi> No his/her public key. ID = 0x1B8BF431
772
773 In this case, if you type `C-cC-f', Mew tries fetching this public
774 key. You can interactively select a public key server. If the X-Mew:
775 field does not exist, `C-c C-f' takes the From: field as ID. Also,
776 `C-uC-cC-f' extracts key IDs from fields specified in
777 `mew-x-pgp-key-list' in addition to the X-Mew: field, and then tries
778 to fetch them.
779
780 Mew supports PGPv2, PGPv5, and GNUPG. You can select one of these by
781 typing `C-cC-v' in Summary mode. If you want to use those PGPs, you
782 should set the command name of PGPv2, PGPv5, and GNUPG to
783 `mew-prog-pgp2', `mew-prog-pgp5', and `mew-prog-gpg',
784 respectively. Also, set the default PGP name to `mew-prog-pgp'. Note
785 that pass-phrases are cached independently for each PGP.
786
787 Old fashioned PGP messages cannot be processed automatically. You can
788 decrypt and/or verify this kind messages with `C-cC-z'.
789
790
791 
792 File: mew.info, Node: retrieving, Next: moving, Prev: cipher-viewing, Up: Viewing
793
794 Getting messages
795 ================
796
797 To copy arrived messages to your mailbox to +inbox and list up a list of
798 the messages, use `i'. The mailbox is determined according to
799 `mew-mailbox-type'. (When you type `M-x mew' and if
800 `mew-proto' is `+', messages are also copied according to
801 `mew-mailbox-type'.) Here are summary of its values.
802
803 `'mbox'
804 A local mailbox. "incm" is used to copy messages for the local
805 mailbox by default. To know how to configure it, see *Note
806 configuration::.
807 `'pop'
808 A POP server. To use POP as it is. (This is a default value.)
809 `'imap'
810 An IMAP server. This is not recommended.
811
812 To flush a list of messages in a local folder and display them again,
813 use `s'.
814
815 To retrieve messages or flush-then-retrieve messages again in a remote
816 folder, type `s'. It is recommended to use `s', not `i', for IMAP and
817 NetNews.
818
819 If you use `s', it asks you a range. Here are a summary of important
820 ranges for Mew.
821
822 `update'
823 From "the last message in the Summary mode + 1" to "the last
824 message in the corresponding folder". That is, the gap between
825 the Summary mode and the existing folder
826 `all'
827 All messages in the folder. When Summary mode in a local folder
828 becomes inconsistent, use this range to flush the list. For a
829 remote folder, this range results in retrieval of all messages
830 again.
831 `sync'
832 Deleting cache messages whose originals were removed in the
833 server side. Valid for remote folders only.
834
835 The default range both for +draft, +queue, and +postq is `all'. For
836 other folders, the default is `update'. So, just type `RET' after `s'
837 to get the up-to-date list of the current folder except +draft,
838 +queue, and +postq.
839
840 Although they are not especially important in Mew, you can specify the
841 following ranges:
842
843 `<num1>-<num2>'
844 From <num1> to <num2>. Valid for local folders only.
845 `<num1>-'
846 From <num1> to the last. Valid for local folders only.
847 `-<num2>'
848 From the first to <num2>. Valid for local folders only.
849 `last:<num>'
850 Last <num> messages.
851
852 If you execute `s' with `C-u' on a remote folder, you can
853 toggle "copying a header only" and "copying both a header and a body".
854 This action can be defined by `mew-pop-header-only',
855 `mew-imap-header-only', and `mew-nntp-header-only' for POP,
856 IMAP, and NNTP, respectively. The default values of these are
857 `nil', that is, "copying both a header and a body".
858
859 Messages that are of large size may be truncated. This kind of message
860 is marked with `T'. To retrieve the rest of this kind of message, type
861 `I' on the message.
862
863 Suppose that there is a message marked with `T' in $inbox. If you type
864 `I' on it, you can retrieve the entire message.
865
866 Here is a summary of the commands concerned with message retrieval:
867
868 `i'
869 In a local folder, fetch arrived messages, store them to the +inbox
870 folder and create a list. If `mew-auto-flush-queue' is `t',
871 send messages in +queue. Please refer to *Note send:: for more
872 information. In a remote folder, visit to its inbox folder and execute
873 `s' + `update'.
874 `C-ui'
875 Perform `i' with `mew-auto-flush-queue' reversed.
876 `I'
877 Retrieve the rest of a truncated(`T') message.
878
879 If you use this command in a local folder, a method to retrieve
880 the message is determined by the "case" and
881 `mew-mailbox-type'. If `mew-pop-delete'/`mew-imap-delete' is `t',
882 delete the message from the mailbox.
883
884 If you use this command in a remote folder, a "case" and protocol
885 is determined by the folder. The message in the server side is
886 always retained.
887 `C-uI'
888 Perform `I' with `mew-pop-delete' or `mew-imap-delete' reversed.
889 `s'
890 List up messages in Summary mode or flush them.
891 `C-us'
892 On a remote folder, list up messages in Summary mode by toggling
893 "copying a header only" and "copying both a header and a body".
894 `lc'
895 Copy a cached message in a remote folder to a local folder.
896
897
898 
899 File: mew.info, Node: moving, Next: sum-write, Prev: retrieving, Up: Viewing
900
901 Moving to another folder
902 ========================
903
904 To go to another folder, type `g'. Mew asks you to input a folder name
905 as follows:
906
907 Folder name (+inbox): +
908
909 Let's call the right side of ":" 'writable area'. In this example,
910 proto "+" is displayed in the writable area. Typing an appropriate
911 string following proto and typing `RET' decides a folder name, then
912 Mew moves to the folder.
913
914 When you move to a folder and if Mew finds its list of messages old,
915 Mew automatically displays the differences.
916
917 The string in "()" is a default. If you specifies "+" by simply typing
918 `RET', Mew considers that the default folder name is specified.
919
920 To make use of completion, type `TAB' or `SPC'.
921
922 Now, lets get back to the state just after typing `g'.
923
924 Folder name (+inbox): +
925
926 If you want to change, for example, "+" to "%", you have to delete "+"
927 first then type "%" in normal situation. But this is inconvenient. So,
928 typing "%" just after "+" removes "+" automatically. Like this, typing
929 another proto just after a proto replaces the previous one without
930 deletion.
931
932 When you type a remote folder, you may want to specify the "case"
933 (described in *Note config::). The "case" must be specified before a
934 folder, separated by ":". Consider moving "%inbox" for a "case"
935 "home". In this case, you should type "home:%inbox". Yes, this is
936 inconvenient. So, typing `C-cTAB' in any position does circular
937 completion for available "cases". Let's look at the following example.
938
939 Folder name (+inbox): %inbox
940
941 Typing `C-cTAB' here results in the following:
942
943 Folder name (+inbox): home:%inbox
944
945 You may want to search a folder by specifying a substring of the
946 folder. For this purpose, `C-s' and `C-r' are available. The
947 following is the state of the minibuffer after typing `C-s'.
948
949 Folder name (+inbox): ()
950
951 "()" appeared in the writable area indicates you have switched to
952 search mode. While you are typing here, a matched candidate is shown
953 in "()". The following is the case where a search key is "mew".
954
955 Folder name (+inbox): (+work/mew-release) mew
956
957 To select the matched candidate, type `RET'. Then the search mode is
958 finished and the matched candidate is displayed in the writable area.
959
960 Folder name (+inbox): +work/mew-release
961
962 Typing `RET' again means that you decide the folder.
963
964 A list of folders to be searched is decided by a combination of "case"
965 and proto. When you enter the search mode by typing `C-s' or `C-r', a
966 pair of "case" and proto is extracted from the writable area, and a
967 list of folders is selected according to the pair.
968
969
970 
971 File: mew.info, Node: sum-write, Next: features, Prev: moving, Up: Viewing
972
973 Write, answer, and forward
974 ==========================
975
976 Please use the following commands for writing, replying, and
977 forwarding messages.
978
979 `w'
980 Write a message. A new draft is prepared in Draft mode. Please refer to
981 *Note Composing::.
982 `C-uw'
983 Write a message. A new draft is prepared in Draft mode. The From:
984 address of the current message is copied to the To: field in the
985 draft.
986 `W'
987 Send a message by modifying a part of the header of another
988 message. Please refer to *Note resend::.
989 `a'
990 Answer to this message. A new draft is prepared in Draft
991 mode. Mew automatically inserts the content of the fields To: and
992 Cc:. Please refer to *Note reply::.
993 `C-ua'
994 Answer to this message only to the sender.
995 `A'
996 Answer to this message. A new draft is prepared in Draft
997 mode. Mew automatically inserts the content of the fields To: and
998 Cc: and cites the body. Please refer to *Note reply::.
999 `C-uA'
1000 Answer to this message only to the sender with citation.
1001 `f'
1002 Forward this message to a third person. A new draft is prepared in Draft
1003 mode and this message is automatically attached. Please refer to
1004 *Note forward::.
1005 `F'
1006 Forward messages marked with `*' to a third person. A new draft is
1007 prepared in Draft mode and this message is automatically attached. For
1008 more information, refer to *Note target mark::. Please refer to
1009 *Note forward::.
1010
1011 If an error message returns, please try again with the following
1012 commands.
1013
1014 `E'
1015 Edit this message again to retry sending. Or edit this RFC822
1016 part typically included in a MIME-encapsulated error message.
1017
1018 1. In +draft, the message is just edited.
1019 2. In +queue or +postq, the message is moved to +draft and is
1020 edited.
1021 3. Otherwise, the message is copied to +draft and is edited.
1022
1023 For +draft, +queue, and +postq, the "case" revives.
1024
1025 For the other folders, if `mew-case-guess-when-prepared' is `t',
1026 each field of the original header is replaced according to a
1027 guessed "case". For more information, see *Note config::.
1028 `C-uE'
1029 The same as `E'. But, when used for other folders than +draft,
1030 +queue, and +postq, the original header is retained even if
1031 `mew-case-guess-when-prepared' is `t'.
1032
1033
1034 
1035 File: mew.info, Node: features, Next: status-update, Prev: sum-write, Up: Viewing
1036
1037 Useful features
1038 ===============
1039
1040 Mew provides you with the following useful commands in Summary mode:
1041
1042 `v'
1043 Toggle "Summary mode only" and "Summary & Message mode". If you
1044 choose "Summary mode only", you can quickly put the `D' mark
1045 since the next message is not displayed.
1046 `_'
1047 Toggle normal lines, wrapped lines and long lines.
1048 `zv'
1049 If `mew-use-header-veil' is non-nil, field lines of To: and Cc:
1050 over `mew-header-veil-count' are covered with invisible
1051 veils. This commands toggles visibility of these lines.
1052 `mew-use-header-veil' and `mew-header-veil-count' are default to
1053 `t' and 4, respectively.
1054 `M-l'
1055 Make the current line the center of the Summary mode.
1056 `C-cC-s'
1057 Incremental search forward in Message mode.
1058 `C-cC-r'
1059 Incremental search backward in Message mode.
1060 `y'
1061 Save this message or this part into the file whose name is
1062 specified by you.
1063 `b'
1064 Save the buffer of Message mode as is into the file whose name is
1065 specified by you.
1066 `C-uy'
1067 Save this message or this part into the file whose name is
1068 specified by you, specifying coding-system for text.
1069 `#'
1070 Print the content of Message mode according to
1071 `mew-print-function'.
1072 `C-u#'
1073 Print the content of Message mode with a specified printer name.
1074 `|'
1075 Send the content of Message buffer to a command via pipe.
1076 `C-u|'
1077 Send the body of Message buffer (excluding its header) to a
1078 command via pipe.
1079 `\'
1080 Executing an external command specifying this message as an
1081 argument.
1082 `B'
1083 De-capsulate embedded messages in MIME format.
1084 `C-uB'
1085 Decompose embedded files in this message.
1086 `C-cC-a'
1087 Register the information on the current message to Addrbook
1088 (*Note addrbook::).
1089 `C-cC-v'
1090 Select PGP version (*Note cipher-viewing::).
1091 `C-cC-z'
1092 Let PGP decrypt and/or verify old fashioned PGP messages (*Note
1093 cipher-viewing::).
1094 `C'
1095 Change the value of the "case". For more information, please refer to
1096 *Note config::.
1097 `='
1098 Display the folder name of this message and the message
1099 number. If this is a cache message, both the unique id and the
1100 size are also shown. The full path to the message is set to the
1101 cut buffer of your window manager.
1102 `;'
1103 Parse the Received: fields and display them in Message mode.
1104 `Rd'
1105 Delete this folder.
1106 `Rr'
1107 Rename this folder.
1108
1109
1110 
1111 File: mew.info, Node: status-update, Next: invalid, Prev: features, Up: Viewing
1112
1113 Updating status
1114 ===============
1115
1116 In some cases of configuration modifications, you have to update
1117 status to reflect them. When you think configuration modifications
1118 don't make any effects or some errors occur, use one of the following
1119 commands:
1120
1121 `Z'
1122 Update information including Addrbook (*Note addrbook::).
1123 `C-uZ'
1124 Update information about folders of the current world.
1125
1126 Here is a summary of toggle commands.
1127
1128 `z8'
1129 Toggle 8bit mode (i.e. `mew-use-8bit').
1130 `zc'
1131 Clean-up caches of analyzed messages.
1132 `zd'
1133 Toggle `mew-debug'.
1134 `zo'
1135 Toggle PGP/MIME or old-fashioned PGP (`mew-use-old-pgp') when
1136 composing with shortcut methods.
1137 `zp'
1138 Toggle decode policy (i.e. `mew-decode-broken').
1139 `zv'
1140 Toggle whether or not veil is used in Message
1141 mode(`mew-use-header-veil').
1142 `zw'
1143 Toggle warning level. If `mew-warning-field-level' is 2, set it
1144 to 1. If `mew-warning-field-level' is 1, set it to 2.
1145
1146
1147 
1148 File: mew.info, Node: invalid, Next: Composing, Prev: status-update, Up: Viewing
1149
1150 Invalid messages
1151 ================
1152
1153 The following message contains Japanese text in its body. The charset
1154 parameter is not specified in the Content-Type: field. So, the body
1155 should be treated as US-ASCII.
1156
1157 To: piglet
1158 Subject: an invalid message
1159 From: pooh
1160 MIME-Version: 1.0
1161 Content-Type: Text/Plain
1162
1163 Japanese comes here.
1164
1165 The following header is invalid as well.
1166
1167 From: "=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=" <[email protected]>
1168
1169 The string delimited by "=?" and "?=" in the above example was
1170 originally Japanese. Since the spec of mail limits the content of
1171 headers to ASCII characters, if a string whose character set is other
1172 than ASCII, is to be stored in a header, the string must be encoded
1173 with ASCII strings according to the defined rule. But it is certainly
1174 invalid to embed the ASCII strings with `"'. Strings surrounded by `"'
1175 are treated as is. Therefore, the string between "=?" and "?=" in the
1176 example will not be decoded into Japanese.
1177
1178 Several mailers are careless about the spec and regularly violate
1179 these rules. The right way to do is ask the programmers of such
1180 mailers to make the programs conformant to the spec. However, since
1181 there are so many mailers of this kind around the world, Mew tries to
1182 decode as many different formats as possible. In these cases Mew
1183 displays warnings such as:
1184
1185 X-Mew: Charset for body is not specified.
1186 To: has encoded-words in quoted text.
1187
1188 If you want to decode messages strictly, set `mew-decode-broken' to
1189 `nil'. This value can be toggled dynamically by `C-u.' (see
1190 *Note singlepart::).
1191
1192 The following message is displayed as a mess since the character set
1193 specified with the charset parameter and the actual character set of
1194 its body are different.
1195
1196 Content-Type: Text/Plain; charset=ISO-2022-JP
1197
1198 Japanese text written in Shift_JIS
1199
1200 By using `C-cC-l', the text is re-displayed with charset guessed
1201 according to a specified language, ignoring the character set
1202 specified by the charset parameter. If you type `C-uC-cC-l', you can
1203 re-display the text by specifying a character set explicitly.
1204
1205
1206
1207 
1208 File: mew.info, Node: Composing, Next: header, Prev: invalid, Up: Top
1209
1210 Composing messages
1211 ******************
1212
1213 This section explains how to compose a message.
1214
1215 Methods to enter Draft mode to write a new message are given below.
1216
1217 1. Type `M-x mew-send'.
1218 2. Type `C-xm' if `mail-user-agent' is configured.
1219 3. Press `w' in Summary mode.
1220
1221 Then a buffer like the following is prepared.
1222
1223 To:
1224 Subject:
1225 From: Kazu Yamamoto <[email protected]>
1226 X-Mailer: Mew version 6.8 on Emacs 26.1
1227 ----
1228
1229 We call this "Draft mode". In Draft mode, we call the region above
1230 "----" the header, and the region below "----" the body.
1231
1232 Also, replying a message (`a' or `A') and/or forwarding messages (`f'
1233 or `F') lead you to Draft mode from Summary mode.
1234
1235 Drafts are temporarily stored in the +draft folder. You can write
1236 multiple messages simultaneously.
1237
1238 For the method of deleting a prepared draft, please refer to
1239 *Note Quit::.
1240
1241 Now let's see how to use Draft mode.
1242
1243 * Menu:
1244
1245 * header:: Completions in a header
1246 * cheader:: Circular completions in a header
1247 * addr-comp:: Address Completion
1248 * addrbook:: Address book
1249 * auto-alias:: Learning addresses
1250 * addr-comp1:: Address Completion(1)
1251 * addr-comp2:: Address Completion(2)
1252 * send:: Sending a message
1253 * cite:: Signature and citation
1254 * mime-comp:: Composing multipart
1255 * charset-guess:: Defining charset
1256 * longline:: Handling long lines
1257 * reply:: Replying to a message and deciding recipients
1258 * forward:: Forwarding messages
1259 * resend:: Re-sending messages
1260 * shortcut:: Creating signature or cipher message
1261 * mark-b-comp:: Mark based composer
1262 * pgp-key:: PGP key distribution
1263 * anonymous:: Sending messages with anonymous receivers
1264
1265
1266 
1267 File: mew.info, Node: header, Next: cheader, Prev: Composing, Up: Composing
1268
1269 Completions in a header
1270 =======================
1271
1272 In the header, completions for each field are assigned to `TAB' as
1273 follows:
1274
1275 - Field completion
1276 - Address completion (To:, Cc:, etc) (see *Note addr-comp::)
1277 - Folder completion (Fcc:)
1278
1279 <Field completion>
1280
1281 If the cursor is at the beginning of a line and the previous line does
1282 not end with ",", you can complete field defined in the
1283 `mew-fields' variable with `TAB'.
1284
1285 To: [email protected]
1286 R`TAB'
1287
1288 At the point above, if you type `TAB', you get:
1289
1290 To: [email protected]
1291 Reply-To:
1292
1293 <Folder completion>
1294
1295 At a point, such as Fcc:, you can complete folder name with
1296 `TAB'. For example:
1297
1298 Fcc: `TAB'
1299
1300 Here, "+" is completed.
1301
1302 Fcc: +`TAB'
1303
1304 One more type of `TAB' shows candidates. Please type in the
1305 appropriate characters then type `TAB'.
1306
1307 Fcc: +b`TAB'
1308
1309 If a single candidate can be determined, you get a completion.
1310
1311 Fcc: +backup
1312
1313
1314 
1315 File: mew.info, Node: cheader, Next: addr-comp, Prev: header, Up: Composing
1316
1317 Circular completions in a header
1318 ================================
1319
1320 In a header, circular completions are assigned to `C-cTAB'. Circular
1321 completion means that a value of a list is replaced by the next value
1322 of the list. The end of the list is considered continuous to the top
1323 of the list. Circular completions in a header are different for each
1324 field as follows:
1325
1326 - Circular completion of domain name (To:, Cc:, etc)
1327 - Circular completion of From: (From:)
1328
1329 <Circular completion of domain name>
1330
1331 On a field where addresses are written, use `C-cTAB' for domain
1332 completion. Candidates are selected from `mew-mail-domain-list'.
1333
1334 To: kazu@`C-cTAB'
1335
1336 If you try to complete just after "@" as up above, the first domain of
1337 `mew-mail-domain-list' is inserted.
1338
1339 To: [email protected]`C-cTAB'
1340
1341 After completion, pressing `C-cTAB' one more times inserts the next
1342 domain of `mew-mail-domain-list'. This completion is looped.
1343
1344 To: [email protected]
1345
1346 If a single candidate can be determined, it is inserted.
1347
1348 To: kazu@w`C-cTAB'
1349
1350 The above example gives:
1351
1352 To: [email protected]
1353
1354 <Circular completion of From:>
1355
1356 In Draft mode, the From: field is inserted with the format of
1357 "mew-name <mew-user@mew-domain>".
1358
1359 From: Kazu Yamamoto <[email protected]>
1360
1361 On the From: field, `C-cTAB' circularly completes its value from
1362 `mew-from-list'. You can set `mew-from-list' by yourself. Also,
1363 `mew-from-list' can be set automatically. For automatic setup, please
1364 refer to *Note config::.
1365
1366 Typing `C-cTAB' anywhere on the value replaces the value with the next
1367 value of `mew-from-list'. For example,
1368
1369 From: Kazu Yamamoto <[email protected]>`C-cTAB'
1370
1371 becomes as follows:
1372
1373 From: Kazuhiko Yamamoto <[email protected]>
1374
1375
1376 
1377 File: mew.info, Node: addr-comp, Next: addrbook, Prev: cheader, Up: Composing
1378
1379 Address Completion
1380 ==================
1381
1382 You can complete addresses on To: or Cc:. This completion command is
1383 bound to `TAB'.
1384
1385 To: kazu`TAB'
1386
1387 When you type `TAB' after a part of an address as the example above,
1388 the entire address is completed as follows:
1389
1390 To: [email protected]
1391
1392 There are three kinds of registered addresses to be used for the
1393 completion.
1394
1395 1. The expansion rule in an address book
1396 2. The personal information in the address book
1397 3. Learned addresses when sending
1398
1399 Mew provides two ways to complete addresses. You can select one of
1400 them with `mew-use-full-alias', which is default to `nil'.
1401
1402 If `mew-use-full-alias' is `nil', the portion before `@', a user name
1403 or a short name, is a target of the completion. When you type `TAB',
1404 the user name is completed. And if the user name is uniquely completed
1405 and you type `TAB' again, it is expanded to its entire address. Let's
1406 call this Address Completion(1).
1407
1408 An advantage of Address Completion(1) (*Note addr-comp1::) is that you
1409 can use the completion/expansion against the three kinds of addresses
1410 seamlessly. You can also explicitly expand the user name with `TAB' as
1411 described later. A disadvantage is that user names must be unique. So,
1412 if a user name is already registered, other addresses with the same
1413 user name cannot be learned.
1414
1415 If `mew-use-full-alias' is `t', for learned addresses when sending,
1416 completion target is an entire address. Let's call this Address
1417 Completion(2).
1418
1419 An advantage of Address Completion(2) (*Note addr-comp1::) is that Mew
1420 can learn addresses whose user names are the same. One of
1421 disadvantages is that only the first address of personal information
1422 can be used (the other addresses are useless). And for the explicit
1423 expansion, you have to type `M-C-e', a different key from
1424 `TAB'.
1425
1426
1427 
1428 File: mew.info, Node: addrbook, Next: auto-alias, Prev: addr-comp, Up: Composing
1429
1430 Address Book
1431 ============
1432
1433 Mew provides an address book ("~/Mail/Addrbook). The address book has
1434 2 formats. One specifies expansion rules, while the other defines
1435 personal information.
1436
1437 First, let's look at the format that specifies expansion rules.
1438
1439 <shortname>: <address1>[, <address2>, <address3>,...]
1440
1441 In this way, you should specify a short name and a full address
1442 separated by `:'. If you want to expand the short name to multiple
1443 addresses, you can delimit them with a comma `,'. (This is exactly
1444 same as addresses delimited by `,' in the To: field, for instance.) A
1445 space SPC is allowed after the comma `,'. For example:
1446
1447 pooh: [email protected]
1448 piglet: [email protected]
1449 friends: pooh, piglet
1450
1451
1452
1453 Next, the format to define personal information is shown below:
1454
1455 <shortname> <address1>[, <address2>, <address3>,...] <nickname> <fullname>
1456
1457 In this way, four elements are separated by SPC. <shortname> is a short
1458 name. <nickname> and <fullname> are the person's nickname and full name,
1459 respectively. (For proper usage of the nickname, please refer to
1460 *Note summary-mode:: and/or *Note draft-mode::.)
1461
1462 The second element is the addresses. If the person has multiple
1463 addresses, delimit them using `,'. SPC is allowed after `,', which
1464 means that it does not function as the delimiter. SPC surrounded by
1465 quotes `"' also has no delimiting function here. For example:
1466
1467 kazu [email protected], [email protected] Kazu-kun "Kazuhiko Yamamoto"
1468
1469 In the personal information format, you can omit any element. When you
1470 want to omit an intermediate element, specify `*'. The following is an
1471 example to define nicknames for addresses.
1472
1473 * [email protected], [email protected] Kazu-kun
1474
1475 The nickname is used to replace addresses in Summary mode and to
1476 replace the citation prefix (*Note cite::) in Draft mode.
1477
1478 The comment letters are `;' and `#'. `;' is valid only
1479 when it appears at the beginning of lines, resulting in the disregarding
1480 of the entire line. The comment marker `#' is valid everywhere. The
1481 strings between `#' and the end of the line are ignored. Also,
1482 `\' means a continuous line.
1483
1484
1485
1486 Summary mode includes the feature of directly registering the
1487 information of the current message into Addrbook. To register a
1488 expansion rule, type `C-cC-a'.
1489
1490 #If you want to register this entry, type 'C-c C-c'.
1491 #If you want to NOT register this entry, type 'C-c C-q'.
1492 Shortname: kazu
1493 Addresses: [email protected]
1494 Comments:
1495
1496 To register personal information, type `C-uC-cC-a'.
1497
1498 #If you want to register this entry, type C-c C-c.
1499 #If you want to NOT register this entry, type C-c C-q.
1500 Shortname: kazu
1501 Addresses: [email protected]
1502 Nickname:
1503 Name: Kazuhiko Yamamoto
1504 Comments:
1505
1506 Add or modify the information if necessary. To register this
1507 information, type `C-cC-c'. To quit the registration, type
1508 `C-cC-q'. You should also refer to *Note Quit::.
1509
1510 If you want to use characters of multiple languages, put the following
1511 onto the beginning of Addrbook.
1512
1513 #-*-coding:ctext;-*-
1514
1515
1516
1517 
1518 File: mew.info, Node: auto-alias, Next: addr-comp1, Prev: addrbook, Up: Composing
1519
1520 Learning addresses
1521 ==================
1522
1523 When you send a message, addresses on the To: and Cc: field are
1524 automatically registered. Consider the following:
1525
1526 To: [email protected]
1527
1528 In the case of Address Completion(1) (*Note addr-comp1::): When this
1529 message is sent, a short name "kazu" is automatically registered for
1530 the address "[email protected]". If there is already a short name of
1531 "kazu", the next action is decided according to
1532 `mew-addrbook-override-by-newone'. If `nil', the old entry
1533 remains. Otherwise, the new entry overrides the old one. When
1534 expanded, the address book short name has priority over the automatic
1535 short name. Only automatic short names which are not contained in the
1536 address book are valid.
1537
1538 In the case of Address Completion(1) (*Note addr-comp2::): When this
1539 message is sent, the address "[email protected]" is automatically
1540 registered.
1541
1542 The limit number of automatic short names is 2000
1543 (`mew-lisp-max-length'). Once the number exceeds 2000, the tail
1544 entries in the alphabetical order are removed. This information is
1545 automatically saved to the file "~/Mail/.mew-alias".
1546
1547 The automatic registration would register unnecessary short names. If
1548 you want to remove these entry, take the following steps. First, type
1549 `M-a' to open "~/Mail/.mew-alias". Then edit it as you do against a
1550 text file. Lastly, type `C-xC-s' to save it. When saving it, the
1551 modifications are automatically reflected to Mew.
1552
1553 The formats of Address Completion (1) and (2) are different. When you
1554 change the value of `mew-use-full-alias' to switch one to the other,
1555 type `Z' once in Summary mode. This converts the format properly.
1556
1557
1558 
1559 File: mew.info, Node: addr-comp1, Next: addr-comp2, Prev: auto-alias, Up: Composing
1560
1561 Address Completion(1)
1562 =====================
1563
1564 As far as Address Completion (2) is concerned, there is an assumption:
1565 user names or short names of expansion rules, personal information and
1566 learned addresses are unique.
1567
1568 For example, consider the following configuration of expansion rules:
1569
1570 pooh: [email protected]
1571
1572 When you are in a header in Draft mode, working within an address
1573 field, after typing one or more characters, you can complete a short
1574 name for an address by pressing the `TAB' key.
1575
1576 To: [email protected],
1577 po`TAB'
1578
1579 If you press the `TAB' key, "pooh" is completed (unless other
1580 candidates exist).
1581
1582 To: [email protected],
1583 pooh`TAB'
1584
1585 One more press of the `TAB' key expands the name to
1586 "[email protected]".
1587
1588 To: [email protected],
1589 [email protected]
1590
1591 A string ending with "@" is explicitly expanded. Please pay attention
1592 to the following case where similar short names are defined.
1593
1594 pooh: [email protected]
1595 pooh-pooh: [email protected]
1596
1597 It is obvious that "pooh-" is completed to "pooh-pooh". But if you
1598 input "pooh", Mew cannot tell whether it should be expanded or
1599 completed to "pooh-pooh". Thus, if you want to explicitly complete
1600 "pooh" to "[email protected]", insert `@' and type
1601 `TAB'.
1602
1603 To: pooh@`TAB'
1604
1605 Explicit expansion can be accomplished by `M-C-e' instead of insertion
1606 of `@'.
1607
1608 The explanation above can be applied to learned addresses when
1609 sending.
1610
1611 The format of personal information means that each subsequently
1612 generated address will replace the former one. For example:
1613
1614 kazu [email protected], [email protected] Kazu-kun "Kazuhiko Yamamoto"
1615
1616 Let's watch how it will be converted:
1617
1618 To: kazu`TAB'
1619
1620 Typing `TAB' after "kazu" generates "[email protected]".
1621
1622 To: [email protected]`TAB'
1623
1624 Typing `TAB' after "[email protected]" brings about "[email protected]".
1625
1626 To: [email protected]`TAB'
1627
1628 Then "[email protected]" will appear again if you type `TAB'
1629 after "[email protected]". In this way, each address is replaced
1630 one by one.
1631
1632 After deciding an address, you can add its full name.
1633
1634 To: [email protected]`M-TAB'
1635
1636 Like this, typing `M-TAB' replace the address with the following
1637 format.
1638
1639 To: Kazuhiko Yamamoto <[email protected]>
1640
1641
1642 
1643 File: mew.info, Node: addr-comp2, Next: send, Prev: addr-comp1, Up: Composing
1644
1645 Address Completion(2)
1646 =====================
1647
1648 As far as Address Completion(2) is concerned, for learned addresses
1649 when sending, the entire addresses are completion targets. For
1650 expansion rules in the address book, short names are completion
1651 targets and unique short names are expanded to corresponding
1652 addresses. For personal information in the address book, short names
1653 are completion targets and unique short names are expanded to their
1654 first addresses.
1655
1656 When you are in a header in Draft mode, working within an address
1657 field, after typing one or more characters, you can complete a short
1658 name or a learned address by pressing the `TAB' key.
1659
1660 Suppose that [email protected] is already learned.
1661
1662 To: ka`TAB'
1663
1664 When you type some characters and press `TAB', its address is
1665 completed:
1666
1667 To: [email protected]
1668
1669 Also suppose that "[email protected]" is learned. To expand a user
1670 name to "[email protected]", you should input "kazu@". To convert it
1671 to "[email protected]", you need to input "kazun".
1672
1673 For expansion rules and personal information, `TAB' completes short
1674 names first. You can expand a unique short name to corresponding
1675 address with `TAB'.
1676
1677 For example, consider the following configuration of expansion rules:
1678
1679 pooh: [email protected]
1680
1681 Let's complete "pooh":
1682
1683 To: po`TAB'
1684
1685 If you press the `TAB' key, "pooh" is completed (unless other
1686 candidates exist).
1687
1688 To: pooh`TAB'
1689
1690 One more press of the `TAB' key expands the name to
1691 "[email protected]".
1692
1693 To: [email protected]
1694
1695 A problem occurs when a short name is not unique. Consider the
1696 following example:
1697
1698 pooh: [email protected]
1699 pooh-pooh: [email protected]
1700
1701 It is obvious that "pooh-" is completed to "pooh-pooh". But if you
1702 input "pooh", Mew cannot tell whether it should be expanded or
1703 completed to "pooh-pooh". Thus, if you want to explicitly complete
1704 "pooh" to "[email protected]", type
1705 `M-C-e'. (There is no way to accomplish this with `TAB'.)
1706
1707 To: pooh`M-C-e'
1708
1709 This example is explicitly expanded as follows:
1710
1711 To: [email protected]
1712
1713
1714
1715 
1716 File: mew.info, Node: send, Next: cite, Prev: addr-comp2, Up: Composing
1717
1718 Sending a message
1719 =================
1720
1721 When you are ready to send a message after completing composition,
1722 choose one of the following two commands.
1723
1724 `C-cC-m'
1725 Compose a message, put it into +queue or +postq, and leave it for
1726 later sending.
1727 `C-cC-c'
1728 Compose a message and send it. You receive the prompt: "Really
1729 send this message? (y or n) ". Type `y' to send it.
1730
1731 Let's look at how a message is modified when sent. Please see the
1732 following example:
1733
1734 To: pooh
1735 Subject: the next Sunday
1736 From: Piglet <[email protected]>
1737 X-Mailer: Mew version 6.8 on Emacs 26.1
1738 ----
1739 Would you like to play with me next Sunday?
1740
1741 // Piglet
1742
1743 This message is modified as follows, for example, if it is put into
1744 +queue or +postq by `C-cC-m'.
1745
1746 Date: Mon, 13 Mar 2000 19:49:50 +0900 (JST)
1747 Message-Id: <[email protected]>
1748 To: [email protected]
1749 Subject: the next Sunday
1750 From: Piglet <[email protected]>
1751 X-Mailer: Mew version 6.8 on Emacs 26.1
1752 Mime-Version: 1.0
1753 Content-Type: Text/Plain; charset=us-ascii
1754 Content-Transfer-Encoding: 7bit
1755
1756 Would you like to play with me in the next Sunday?
1757
1758 // Piglet
1759
1760 As you can see, Data: and Message-Id: are added. You should note that
1761 both its data type and its character set are guessed correctly and
1762 added.
1763
1764 When composing a message using `C-cC-m' and `C-cC-c', you can make use
1765 of a feature that identifies errors in a header.
1766
1767 Suppose you set `mew-ask-subject' to `t'. If Subject: is
1768 empty, Mew asks you its value. If you want to leave it empty, just type
1769 `RET'. The default value of this variable is `nil'.
1770
1771 Suppose you set `mew-ask-fcc' to `t'. If there is a folder that
1772 doesn't exist, Mew asks you whether or not you want to create it. If
1773 you want to create it, type `y'. Otherwise, type `n'. If you type `n',
1774 sending is aborted and the cursor returns to the draft. The default
1775 value of this variable is `nil'.
1776
1777 Mew asks you to input your password for sending if the server requires
1778 user authentication. Historically speaking, passwords are not
1779 necessary to send e-mail messages. This is one reason why e-mail
1780 addresses can be faked. In the near future, passwords are always
1781 required for sending messages as are for receiving messages.
1782
1783 There are two ways to send messages waiting in +queue. Please note
1784 that both of these are commands in Summary mode.
1785
1786 `i'
1787 If `mew-auto-flush-queue' is `t', the messages being held in
1788 +queue will be sent after the incoming messages have been received.
1789 This method is appropriate for dial-up environments, since one can save
1790 on connection fees and repeated authentication for sending.
1791 `mew-auto-flush-queue' is default to `t'.
1792 `C-cC-c'
1793 Send messages in +queue. Method is appropriate if you like to
1794 preview composed messages first in +queue and then send them. If
1795 `mew-ask-flush-queue' is `t', you are asked, Flush queue? (y or
1796 n) ". `mew-ask-flush-queue' is default to `nil'.
1797
1798
1799 
1800 File: mew.info, Node: cite, Next: mime-comp, Prev: send, Up: Composing
1801
1802 Signature and citation
1803 ======================
1804
1805 Next is the explanation of the commands for processing the text in the
1806 body of the message.
1807
1808 The first one is signature. To insert your signature file
1809 ("~/.signature") on the cursor point, type `C-cTAB'. You can define
1810 your own signature file to `mew-signature-file'. Setting
1811 `mew-signature-as-lastpart' and `mew-signature-insert-last', you can
1812 customize the action of `C-cTAB'.
1813
1814 `C-cTAB'
1815 Insert "~/.signature" on the cursor point.
1816
1817 The next one is citation. If you use `a' or `A' in Summary mode, a
1818 draft for reply is opened up and Emacs is split into three
1819 windows. The top is Summary mode, the middle is Message mode, and the
1820 bottom is Draft mode.
1821
1822 Here are the commands for citing text from Message mode to Draft mode.
1823
1824 `C-cC-y'
1825 Copy and paste a part of a message from Message mode WITH
1826 citation prefix and label.
1827 1. Roughly speaking, it copies the body in Message mode. For
1828 example, if Text/Plain is displayed, the entire Message mode
1829 is copied. If Message/Rfc822 is displayed, the body without
1830 the header is copied.
1831 2. If you type `C-uC-cC-y', the header is also copied if
1832 exists.
1833 3. If an Emacs mark exists, the target is the region between
1834 the mark and the cursor.
1835 `C-cC-t'
1836 Copy and paste a part of the message from Message mode WITHOUT
1837 citation prefix and label.
1838
1839 The default label and prefix is as follows:
1840
1841 From: SUMIKAWA Munechika <[email protected]>
1842 Subject: Wine
1843 Date: Wed, 23 Jul 1997 11:40:50 +0900
1844
1845 > Hi, it's Sumikawa, the guy who's neat from good morning
1846 > to good night.
1847 >
1848 > Talking about the wonderful wine party, I would propose
1849 > Cabernet Sauvignon, Bordeaux, '90.
1850
1851 In Draft mode, you can cite any text displayed in Message mode. So,
1852 you can cite text from multiple messages easily. Select a message in
1853 Summary mode and display it in Message mode, then cite it in Draft
1854 mode. Please repeat this procedure as you like. Triple windows are
1855 opened for this purpose.
1856
1857
1858 When highlighting gets wrong, type `C-cC-l' to re-highlight both the
1859 header and the body
1860
1861
1862 
1863 File: mew.info, Node: mime-comp, Next: charset-guess, Prev: cite, Up: Composing
1864
1865 Composing multipart
1866 ===================
1867
1868 Now let's see how to create multipart messages.
1869
1870 When you are writing a message in +draft/1 and type `C-cC-a', the
1871 following lines are inserted at the bottom of the draft.
1872
1873 ----------------------------- attachments -----------------------------
1874 Multipart/Mixed 1/
1875 1 Text/Plain(guess) CoverPage*
1876 2 .
1877 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
1878
1879 "1/" is a temporary directory to create multipart and provides a
1880 location for "~/Mail/attach/1". The part 1, "CoverPage", refers to the
1881 body. Now the entire draft looks like:
1882
1883 To: mew-dist
1884 Subject: This is header
1885 X-Mailer: Mew version 6.8 on Emacs 26.1
1886 ----
1887 This is the body.
1888
1889 ----------------------------- attachments -----------------------------
1890 Multipart/Mixed 1/
1891 1 Text/Plain(guess) CoverPage*
1892 2 .
1893 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
1894
1895 Here we designate three regions as follows:
1896
1897 * the region above "----" `header'
1898 * the region from "----" to "attachments" `body'
1899 * the region below "attachments" `attachments'
1900
1901 In Draft mode, the key bindings differ according to the region.
1902
1903 To `TAB', for instance, the following functions are assigned:
1904
1905 header
1906 Completions.
1907 body
1908 Insert TAB.
1909 attachments
1910 Do nothing.
1911
1912 To `c', functions are assigned as follows:
1913
1914 header
1915 Insert c.
1916 body
1917 Insert c.
1918 attachments
1919 Copy a file.
1920
1921 The following is a summary of commands in the attachments region.
1922
1923 `C-p'
1924 Go to the previous file in the current directory.
1925 `C-n'
1926 Go to the next file in the current directory.
1927 `C-f'
1928 Go to the first subdirectory.
1929 `C-b'
1930 Go to the parent directory.
1931 `c'
1932 Copy a file (possibly via networks) on ".". To copy a remote
1933 file, use the "/[user@]hostname:/filepath" syntax.
1934 `l'
1935 Link a file with a symbolic link on ".". If you want to edit the
1936 attached file, you should `c' instead of `l' so that you do not
1937 edit the original file.
1938 `d'
1939 Delete this file or this directory.
1940 `m'
1941 Create a subdirectory (i.e. multipart) on ".".
1942 `f'
1943 Open this file into a buffer.
1944 `F'
1945 Open a new file into a buffer on ".".
1946 `y'
1947 Link the message which is displayed in Message mode on ".".
1948 `e'
1949 Input external-body on ".".
1950 `a'
1951 Sampling voice and insert as audio file on ".".
1952 `p'
1953 Extract the PGP key for the specified user on ".".
1954 `D'
1955 Input a description (Content-Description:).
1956 `T'
1957 Change the data type (Content-Type:).
1958 `t'
1959 Toggle text and binary for the data type.
1960 `I'
1961 Specify input coding-system for a Text/* object.
1962 `C'
1963 Specify output coding-system for a Text/* object.
1964 `P'
1965 Specify a file name (Content-Disposition:) to save this part in the
1966 receiver side. If you type just `RET' without any string, its value
1967 is cleared. Then the file name in the sender side is displayed with
1968 `*'.
1969
1970 In attachments, data types are guessed by suffix. The currently
1971 supported suffixes are as follows:
1972
1973 .txt Text/Plain
1974 .html Text/Html
1975 .xml Text/Xml
1976 .rtf Text/Enriched
1977 .css Text/Css
1978 .sgml Text/Sgml
1979 [0-9]+ Message/Rfc822
1980 .ps Application/Postscript
1981 .pdf Application/Pdf
1982 .doc Application/Msword
1983 .xls Application/Vnd.Ms-Execl
1984 .ppt Application/Vnd.Ms-Powerpoint
1985 .vsd Application/Vnd.Visio
1986 .dat Application/Ms-Tnef
1987 .tar|.tar.|.gz|.Z|.taz|.tgz|.bz2?|.lzh|.zip|.bin|.pgp|.gpg|.exe|.dll
1988 Application/Octet-Stream
1989 .gif Image/Gif
1990 .tiff Image/Tiff
1991 .jpe?g Image/Jpeg
1992 .png Image/Png
1993 .xwd Image/X-Xwd
1994 .xbm Image/X-Xbm
1995 .xpm Image/X-Xpm
1996 .bmp Image/X-Bmp
1997 .pcx Image/X-Pcx
1998 .tga Image/X-Tga
1999 .au Audio/Basic
2000 .wav Audio/X-Wav
2001 .aif?f Auido/X-Aiff
2002 .midi? Auido/X-Midi
2003 .mpga|.mp[23] Audio/X-Mpeg
2004 .mpe?g Video/Mpeg
2005 .mov Video/Quicktime
2006 .avi Video/X-Msvideo
2007
2008 Please choose an appropriate suffix for the file name so that Mew can
2009 guess its data type. If there is no matched suffix, the data type
2010 specified by `mew-content-type' is chosen. Its default value is
2011 Text/Plain.
2012
2013
2014 For instance, if you copy files with `c', the part becomes as follows:
2015
2016 ----------------------------- attachments -----------------------------
2017 Multipart/Mixed 1/
2018 1 Text/Plain(guess) CoverPage*
2019 B 2 Image/Gif MagicPoint logo mgp.gif
2020 Q 3 Application/Postscript Presentation Material ohp.ps
2021 4 .
2022 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
2023
2024 Each line of a multipart message consists of
2025
2026 - marks (Content-Transfer-Encoding:)
2027 - part number
2028 - data type (Content-Type:)
2029 - description (Content-Description:)
2030 - file name (Content-Disposition:).
2031
2032 You can change data types (Content-Type:) by pressing `T' at any
2033 time. If the data type is either text (Text/Plain) or binary
2034 (Application/Octet-Stream), you can toggle between them using `t'.
2035
2036 Please refer to *Note mark-b-comp:: for explanation on changing the
2037 mark (Content-Transfer-Encoding:). You can also insert descriptions
2038 (Content-Description:) by `D'. This description column is overwritten
2039 when encrypted as described in *Note mark-b-comp::.
2040
2041 Strictly speaking, the fifth column is the copied file name or the
2042 value of Content-Disposition:, namely the file name to which the
2043 receiver saves the part. If Content-Disposition: exists, Mew displays
2044 it. Otherwise, Mew displays the copied file name with `*'
2045 appended. When you copy a file, the file name is specified as
2046 Content-Disposition:. But this is not true for both Message/* and
2047 Multipart/*. To specify Content-Disposition: for Message/*, use
2048 `P'.
2049
2050 Files are treated as singlepart while directories are treated as being
2051 multipart. Therefore you can create very complex multipart MIME
2052 messages in the same way as you would create a file system. Very easy,
2053 isn't it?
2054
2055 The default data type for directories is Multipart/Mixed. Of course,
2056 you can change it by pressing `T'.
2057
2058 Once you are ready to send a multipart message, type `C-cC-m' or
2059 `C-c C-c' to send it as described the previous subsection.
2060
2061 Next is the explanation of the creation of a Message/External-body by
2062 pressing `e'. If the access-type is "ftp" or "anon-ftp", you can take
2063 advantage of remote filename completion due to the existence of the
2064 native Emacs mode of ange-ftp. Of course file completion is available
2065 for the access-type of "local-file".
2066
2067 If you want to abort creating multipart and to get back to singlepart,
2068 type `d' in the top level of the multipart message.
2069
2070
2071 
2072 File: mew.info, Node: charset-guess, Next: longline, Prev: mime-comp, Up: Composing
2073
2074 Defining charset
2075 ================
2076
2077 Mew has a mechanism for determining the character set of the transfer
2078 form for both singlepart and multipart.
2079
2080 <Singlepart>
2081
2082 When you type `C-cC-m' or `C-cC-c' to compose a message in Draft mode,
2083 Mew decides the character set of the transfer based on the internal
2084 representation of its body. On Bilingual Emacs, US-ASCII is chosen for
2085 7bit character sets while ISO-8859-1 is selected for 8bit character
2086 sets. On Internationalized Emacs, the character set of the transfer
2087 form is chosen based on rules defined by Mew.
2088
2089 <Multipart>
2090
2091 Since the data to be attached as a part of multipart is a file, it is
2092 stored on disk. Therefore, in order to determine its character set for
2093 the transfer form, it is necessary to load the file into an Emacs
2094 buffer converting it into internal representation. After that, Mew
2095 determines the character set of the transfer form for the file by the
2096 same method as singlepart.
2097
2098 On Bilingual Emacs, Mew reads a file as is. So if the file is 7bit,
2099 US-ASCII is chosen. Otherwise ISO-8859-1 is selected.
2100
2101 On Internationalized Emacs, Mew reads a file according to the local
2102 convention (i.e. auto conversion). The command to set a local
2103 convention is `C-x RET l'.
2104
2105 For example, in Japan, ISO-2022-JP, EUC-JP, and Shift_JIS is readily
2106 guessed and stored in buffer as internal representations for
2107 Japanese. Mew chooses ISO-2022-JP as the character set of the transfer
2108 form from the internal representation. That is, even if the character
2109 set of the file is EUC-JP or Shift_JIS, it is automatically converted
2110 into ISO-2022-JP, which is the transfer form for Japanese. This means
2111 that you can attach a file without needing to pay attention to its
2112 character set.
2113
2114 If you want to specify the coding-system of a file to be attached, type
2115 `I'. Let's call the character set "input character set". Also, if
2116 you want to specify the coding-system of the transfer form, use
2117 `C'.
2118
2119 Information regarding the character set is displayed in
2120 parentheses. If the character set of the transfer form is specified
2121 explicitly, it is displayed. Otherwise, if the input character set is
2122 specified, it is displayed with "*". Otherwise, "guess" is displayed.
2123
2124 Let's look at the following example. Since part 1 is a body, it is
2125 stored in an Emacs buffer. Because "guess" is displayed, it is Mew
2126 that determines the character set of the transfer form according to
2127 the rules that Mew defines.
2128
2129 Since iso-8859-1 is specified as the input character set, Mew loads
2130 the file considering that its character set is iso-8859-1, and then
2131 converts it into internal representation. The character set of the
2132 transfer form is decided according to rules defined by Mew.
2133
2134 The input character set in part 3 cannot be identified just from this
2135 example. (But a user certainly knows what it is since he actually
2136 specified it.) In any case, a file will be loaded and be converted
2137 into internal representation, then be converted into EUC-JP which is
2138 specified as the character set of the transfer form.
2139
2140 ----------------------------- attachments -----------------------------
2141 Multipart/Mixed 1/
2142 1 Text/Plain(guess) CoverPage*
2143 2 Text/Plain(*iso-8859-1) text1
2144 B 3 Text/Plain(euc-jp) text2
2145 4 .
2146 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
2147
2148 Note that both `C' and `I' are not available on Bilingual Emacs.
2149
2150
2151 
2152 File: mew.info, Node: longline, Next: reply, Prev: charset-guess, Up: Composing
2153
2154 Handling long lines
2155 ===================
2156
2157 For a long period, when you are writing a message, you should fold
2158 each line around 70 characters by yourself. RFC 3676 extended
2159 Text/Plain and defined "flowed" as a value of the "format" parameter.
2160
2161 Thanks to this, long lines can be automatically folded on a sender
2162 side while they can be unfolded on a receiver side. From the point of
2163 user view, you can write long lines casually.
2164
2165 There are two ways to apply the flowed folding.
2166
2167 1) To apply the flowed folding explicitly, type `C-cC-f'.
2168
2169 Then, Mew sees if long lines exist in a draft. If long lines whose
2170 length is over `mew-flowed-fold-threshold' are found, Mew applies
2171 the "flowed" folding. This variable defaults to 78.
2172
2173 `mew-flowed-fold-length' controls the max length of folded lines. Its
2174 initial value is 70.
2175
2176 Folding method is decided according to character set. If the language
2177 is separated by SPC, the new line characters are inserted after
2178 existing SPCs(delsp=no). Otherwise, pairs of SPC and the new line
2179 character are inserted in appropriate positions(delsp=yes).
2180
2181 If you type `C-cC-f' again, the folded lines are unfolded.
2182
2183 2) If `mew-use-format-flowed' is `t', this functionality is
2184 took into account automatically at composing with `C-cC-c' or
2185 `C-cC-m'. Its default value is `nil'.
2186
2187 3) You can toggle the value of `mew-use-format-flowed' by
2188 `C-cC-pC-f'.
2189
2190
2191 Note that folded lines with the "flowed" folding are always unfolded
2192 on viewing regardless of the value of `mew-use-format-flowed'. If you
2193 feel it is hard to see long lines, use `_' in Summary mode.
2194
2195 If `mew-flowed-auto-wrap' is `t', at visualizing a message, `_' is
2196 automatically executed so as unfolded lines are folded. The default
2197 value of `mew-flowed-auto-wrap' is `t'.
2198
2199
2200 
2201 File: mew.info, Node: reply, Next: forward, Prev: longline, Up: Composing
2202
2203 Replying to a message and deciding recipients
2204 =============================================
2205
2206 As distinguished from the case of a new message, where the writer
2207 specifies the addresses of the To:, Cc: or Newsgroups: fields, in a
2208 reply message addresses are automatically generated.
2209
2210 When `a' and `A' is used in Summary mode, a new draft is prepared in
2211 Draft mode. Values of To:, Cc:, and Newsgroups: are prepared according
2212 to three alists.
2213
2214 1. If called with `C-u', replying to the sender/poster only. In this
2215 case, `mew-reply-sender-alist' is used.
2216 2. If this message is sent by ME, you probably intend to reply with
2217 the original header. In this case, `mew-reply-fromme-alist' is
2218 used.
2219 3. Otherwise, replying to all people listed. In this case,
2220 `mew-reply-all-alist' is used.
2221
2222 The default value of `mew-reply-sender-alist' is as follows:
2223
2224 '(("Reply-To:"
2225 ("To:" "Reply-To:" "From:"))
2226 (t
2227 ("To:" "From:")))
2228
2229 This is read as follows:
2230
2231 1. If Reply-To: exists, copy the values of Reply-To: and From: to
2232 new To:.
2233 2. Otherwise, copy the value of From: to To:.
2234
2235 If you would like to reply only to the address on Reply-To: (if any),
2236 set `mew-reply-sender-alist' like this:
2237
2238 (setq mew-reply-sender-alist
2239 '(("Reply-To:"
2240 ("To:" "Reply-To:"))
2241 (t
2242 ("To:" "From:"))))
2243
2244 The default value of `mew-reply-fromme-alist' is as follows:
2245
2246 '((t
2247 ("To:" "To:")
2248 ("Cc:" "Cc:")
2249 ("Newsgroups:" "Newsgroups:"))))
2250
2251 This is read as follows:
2252
2253 1. Copying the value of To: to new To: and copying the value of Cc:
2254 to new Cc: and copying the value of Newsgroups: to new
2255 Newsgroups:.
2256
2257 The default value of `mew-reply-all-alist' is as follows:
2258
2259 '((("Followup-To:" "poster")
2260 ("To:" "From:"))
2261 ("Followup-To:"
2262 ("Newsgroups:" "Followup-To:" "Newsgroups:"))
2263 ("Newsgroups:"
2264 ("Newsgroups:" "Newsgroups:"))
2265 ("Reply-To:"
2266 ("To:" "Reply-To:" "From:")
2267 ("Cc:" "To:" "Cc:" "Apparently-To:"))
2268 (t
2269 ("To:" "From:")
2270 ("Cc:" "To:" "Cc:" "Apparently-To:")))
2271
2272 This is read as follows:
2273
2274 1. If the value of Followup-To: is "poster", copying the value of
2275 From: to new To:.
2276 2. If Followup-To: exists, copying the values of Followup-To: and
2277 Newsgroups: to new Newsgroups:.
2278 3. If Newsgroups: exists, copying the value of Newsgroups: to
2279 Newsgroups:.
2280 4. If Reply-To: exists, copying the values of Reply-To: and From: to
2281 new To:. And copying the values of To:, Cc:, and Apparently-To:
2282 to new Cc:.
2283 5. Otherwise, copying the value of From: to new To:. And copying the
2284 values of To:, Cc:, and Apparently-To: to new Cc:.
2285
2286 You may want to set `mew-reply-all-alist' like this:
2287
2288 (setq mew-reply-all-alist
2289 '((("Followup-To:" "poster")
2290 ("To:" "From:"))
2291 ("Followup-To:"
2292 ("Newsgroups:" "Followup-To:"))
2293 ("Newsgroups:"
2294 ("Newsgroups:" "Newsgroups:"))
2295 ("Reply-To:"
2296 ("To:" "Reply-To:"))
2297 (t
2298 ("To:" "From:")
2299 ("Cc:" "To:" "Cc:" "Apparently-To:"))))
2300
2301 If there are multiple entries for a certain address, they are
2302 unified. Addresses ending with ":;", which indicates anonymous
2303 recipients, are automatically removed.
2304
2305 Your addresses are automatically removed. Your addresses are
2306 automatically defined to `mew-mail-address-list' according to, for
2307 example, `mew-config-alist'. If you dislike this value, you can also
2308 explicitly set it like this:
2309
2310 (setq mew-mail-address-list
2311 '("^pooh@[a-z]*.example.org$"
2312 "^[email protected]$"
2313 "^[email protected]$"))
2314
2315
2316 
2317 File: mew.info, Node: forward, Next: resend, Prev: reply, Up: Composing
2318
2319 Forwarding messages
2320 ===================
2321
2322 To forward messages, type `f' or `F' in Summary mode. Then Draft mode
2323 appears and the messages are already attached in the attachments
2324 region.
2325
2326 Also, you can prepare the attachments region by yourself, then copy
2327 (`c') the messages or make links (`l') to the messages. If the file
2328 names of the messages are numeric ([0-9]+), they are automatically
2329 considered as messages. `y' is very convenient because it make a link
2330 to the message displayed in Message mode.
2331
2332 By default, the entire message is forwarded. If you want to remove
2333 some parts of its header, define
2334 `mew-field-delete-for-forwarding'. The following is an example to
2335 remove "Received:" and "Return-Path:" when forwarded.
2336
2337 (setq mew-field-delete-for-forwarding '("Received:" "Return-Path:"))
2338
2339
2340 
2341 File: mew.info, Node: resend, Next: shortcut, Prev: forward, Up: Composing
2342
2343 Re-sending messages
2344 ===================
2345
2346 You may occasionally wish to send messages modifying the header of a
2347 message.
2348
2349 For instance, you may want to send a message with the same body to
2350 multiple receivers independently. Please imagine the case where you
2351 put a created message destined to Pooh in +queue and then you wish to
2352 send an another message to Piglet by copying it and modifying its
2353 header. Let's call this recycle sending.
2354
2355 Also, you occasionally wish to send a message adding the Resent-To:
2356 field to a target message. This is a kind of forwarding. This is
2357 called header conversion because a message header is modified. The
2358 forwarding described the previous subsection is called encapsulation
2359 because a message is embedded into another new message.
2360
2361 Header mode exists for this reason, modifying a part of the header,
2362 sending/queuing the created message. You can think this is a kind of
2363 Draft mode which prohibits modifications of its body.
2364
2365 The following commands are provided in Summary mode to enter Header
2366 mode.
2367
2368 `W'
2369 Recycle sending. Enter Header mode in order to modify To:, Cc:,
2370 From: of a target message. Typical usage is for messages in
2371 +queue or +postq.
2372 `r'
2373 Re-sending. Enter Header mode in order to add Resent-To:,
2374 Resent-Cc:, Resent-From: of a target message. Re-sending may
2375 confuse receivers, so you should think carefully before using it.
2376
2377 In Header mode, you can make use of completion and circular completion
2378 like in Draft mode. When you are finished inputting the header, send
2379 the message using one of the following commands. You may be concerned
2380 because the body of the message is not displayed in your new
2381 message. But you need not worry, since the body and a part of the
2382 target message is certainly used.
2383
2384 `C-cC-m'
2385 Compose a message, put it into +queue or +postq, and let it be
2386 waiting to be sent.
2387 `C-cC-c'
2388 Compose a message and send it. You are asked, "Really send this
2389 message? (y or n) ". Type `y' to send it.
2390
2391
2392 
2393 File: mew.info, Node: shortcut, Next: mark-b-comp, Prev: resend, Up: Composing
2394
2395 Creating signature or cipher message
2396 ====================================
2397
2398 This section explains the method for signing or encrypting "text only"
2399 messages with PGP or S/MIME. The following commands are explained.
2400
2401 `C-cC-s'
2402 Sign the entire draft. Input your pass-phrase.
2403 `C-cC-e'
2404 Encrypt the entire draft.
2405 `C-cC-b'
2406 Sign, and then encrypt the entire draft. Input your pass-phrase.
2407 `C-cC-r'
2408 Encrypt, and then sign the entire draft. Input your pass-phrase.
2409
2410 To encrypt a message, receivers' public keys are used. On the other
2411 hand, your secret key is used to sign a message, and so you need to
2412 input your pass-phrase when applying the signature. Note that if you
2413 are using the pass-phrase cache or the master password mechanism and
2414 there are pass-phrases presently cached, you do not have to type your
2415 pass-phrase (*Note password::).
2416
2417 These commands create a PGP/MIME message by default. If you want to
2418 use S/MIME, configure as follows:
2419
2420 (setq mew-draft-privacy-method 'smime)
2421
2422 You can change this variable with `C-cC-pC-m' in Draft mode.
2423
2424 We can consider that these four commands above are shortcut methods of
2425 mark based composing described in the next section.
2426
2427 To sign a message, type `C-cC-s'. When signing, because your secret
2428 key is needed to be decrypted, you may be asked for your pass-phrase
2429 if it is not cached. Created messages are stored in +queue or +postq.
2430
2431 Your secret key is identified in From: address. If From: does not
2432 exist, your default secret key is selected. When you want to specify a
2433 secret key that is not identified the address of From:, type
2434 `C-uC-cC-s'.
2435
2436
2437 To encrypt a message, type `C-cC-e'. A message is encrypted with
2438 public keys identified with the addresses on To: and Cc:. Since this
2439 is encryption only, you are not asked for your pass-phrase. Created
2440 cipher messages are stored in +queue.
2441
2442 This message is encrypted with your public key in addition to those of
2443 the receivers. Therefore you can decrypt created messages. For
2444 example, you can go to +queue by `g' and preview a created message to
2445 reconfirm this.
2446
2447 To sign a draft and then encrypt it, type `C-cC-b'. To encrypt a draft
2448 and then sign it, type `C-cC-r'. In both cases, created messages are
2449 stored in +queue.
2450
2451 It is very likely that you will forget to sign and/or encrypt a draft
2452 even if you intended to do so. To prevent this, Mew provides an
2453 mechanism to automatically sign or encrypt a message when
2454 `C-cC-m' or `C-cC-c' is typed.
2455
2456 If you want to protect privacy of all drafts, set
2457 `mew-protect-privacy-always' to `t' and set
2458 `mew-protect-privacy-always-type' to one of services.
2459
2460 If you want to protect the privacy of drafts when replying encrypted
2461 messages, set `mew-protect-privacy-encrypted' to `t' and set
2462 `mew-protect-privacy-encrypted-type' to one of the services. This
2463 configuration is preferred to the configuration for all drafts
2464 described above in the case of replying encrypted messages.
2465
2466 The following services are available. The strings enclosed in braces are
2467 the symbols for each service. The service applied when typing
2468 `C-cC-m' or `C-cC-c' is displayed in the mode line.
2469
2470 pgp-signature (PS)
2471 Sign with PGP
2472 pgp-encryption (PE)
2473 Encrypt with PGP
2474 pgp-signature-encryption (PSPE)
2475 Sign then encrypt with PGP
2476 pgp-encryption-signature (PEPS)
2477 Encrypt then sign with PGP
2478 pgp-signature (SS)
2479 Sign with S/MIME
2480 pgp-encryption (sE)
2481 Encrypt with S/MIME
2482 pgp-signature-encryption (SSSE)
2483 Sign then encrypt with S/MIME
2484 pgp-encryption-signature (SESS)
2485 Encrypt then sign with S/MIME
2486
2487 The following example works for signing all drafts.
2488
2489 (setq mew-protect-privacy-always t)
2490 (setq mew-protect-privacy-always-type 'pgp-signature)
2491
2492 The following example is for encrypting drafts with PGP when replying
2493 encrypted messages.
2494
2495 (setq mew-protect-privacy-encrypted t)
2496 (setq mew-protect-privacy-encrypted-type 'pgp-encryption)
2497
2498 In Draft mode, `C-cC-pC-a' toggles
2499 `mew-protect-privacy-always' and `C-cC-pC-e' toggles
2500 `mew-protect-privacy-encrypted'.
2501
2502 You can specify privacy services for the current draft in Draft mode
2503 beforehand so that you do not forget to apply the privacy services
2504 when sending. To set privacy services to the current draft evaluated
2505 when typing `C-cC-m' or `C-cC-c', type `C-cC-pC-d', and then input one
2506 of privacy services listed above. To cancel the current privacy
2507 service, just type `RET' instead of selecting the privacy service.
2508
2509 When you compose a message by `C-cC-c' or `C-cC-m', and if signing
2510 and/or encryption fails, the cursor gets back to the draft. At this
2511 time, the service that you specified is canceled. If you type `C-cC-c'
2512 or `C-cC-m' in this situation, a plain message is created, so please
2513 be careful. After correcting the cause of the failure, if you want the
2514 same service, type `C-cC-pC-d' to specify your service explicitly or
2515 use `C-cC-s', `C-cC-e', etc.
2516
2517
2518 If `mew-use-old-pgp' is set to `t' (the default value is `nil'),
2519 `C-cC-s' and `C-cC-e', etc create old fashioned PGP message instead of
2520 PGP/MIME. If the attachment region exists, an error occurs.
2521
2522 `mew-protect-privacy-*' described above are effective only to
2523 PGP/MIME, not to old PGP. If you want to create old PGP signature with
2524 `C-cC-m' or `C-cC-c' always, set
2525 `mew-protect-privacy-with-old-pgp-signature' to `t'.
2526
2527 For PGP/MIME and S/MIME, Mew supports GnuPG 1.x and 2.0, not 2.1.
2528
2529
2530 
2531 File: mew.info, Node: mark-b-comp, Next: pgp-key, Prev: shortcut, Up: Composing
2532
2533 Mark based composer
2534 ===================
2535
2536 To support PGP/MIME, S/MIME and ZIP, mark based composing is
2537 provided. Remember the previous example.
2538
2539 ----------------------------- attachments -----------------------------
2540 Multipart/Mixed 1/
2541 1 Text/Plain(guess) CoverPage*
2542 B 2 Image/Gif MagicPoint logo mgp.gif
2543 Q 3 Application/Postscript Presentation Material ohp.ps
2544 4 .
2545 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
2546
2547 You can find the `B' mark and the `Q' mark at the beginning of the
2548 line. Mew provides you with a new concept of "encoding". Encoding
2549 includes Base64, Quoted-Printable, Gzip64 (Gzip + Base64), signature,
2550 encryption.
2551
2552 At present, 8 marks are prepared.
2553
2554 `" "'
2555 No encoding. But 8bit text would be encoded.
2556 `B'
2557 Base64
2558 `Q'
2559 Quoted-Printable
2560 `G'
2561 Gzip64 (compressed with gzip then encoded with Base64. This is
2562 experimental. Do not use this if receivers do not use Mew.)
2563 `PS'
2564 Sign with PGP
2565 `PE'
2566 Encrypt with PGP
2567 `SS'
2568 Sign with S/MIME
2569 `SE'
2570 Encrypt with S/MIME
2571
2572 Additional key binding for marks in attachments is as follows:
2573
2574 `B'
2575 Put the `B' mark to encode with Base64.
2576 `Q'
2577 Put the `Q' mark to encode with Quoted-Printable.
2578 `G'
2579 Put the `G' mark to encode with Gzip64. This is applicable only
2580 to Text/Plain and Application/Postscript since compression is not
2581 effective with other objects. For example, JPEG is already
2582 compressed.
2583 `S'
2584 Put the `PS' mark to sign with PGP.
2585 `E'
2586 Put the `PE' mark to encrypt with PGP. Input decrypters'
2587 addresses.
2588 `M-s'
2589 Put the `SS' mark to sign with S/MIME.
2590 `M-e'
2591 Put the `SE' mark to encrypt with S/MIME. Input decrypters'
2592 addresses.
2593 `Z'
2594 Encrypt the part with ZIP immediately. After the encryption, the
2595 `B' mark appears.
2596 `U'
2597 Unmark. The original mark appears.
2598
2599 Consider the following example: The second part will be signed with
2600 PGP then encrypted with PGP for "kazu". Don't be alarmed. Its
2601 description is overwritten but saved. The third part will be encoded
2602 with Gzip64.
2603
2604 ----------------------------- attachments -----------------------------
2605 Multipart/Mixed 1/
2606 1 Text/Plain(guess) CoverPage*
2607 PSPE 2 Image/Gif [email protected] mgp.gif
2608 G 3 Application/Postscript Presentation Material ohp.ps
2609 4 .
2610 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
2611
2612 After applying marks, type `C-cC-m' or `C-cC-c' to create messages.
2613
2614
2615 
2616 File: mew.info, Node: pgp-key, Next: anonymous, Prev: mark-b-comp, Up: Composing
2617
2618 PGP key distribution
2619 ====================
2620
2621 To distribute a PGP public key, please use `p' on attachments in Draft
2622 mode. It asks whose public key you want to distribute. Just type `RET'
2623 if it is yours. If you want to distribute someone else's key, input
2624 his e-mail address with completion. The PGP public key will
2625 distributed as Content-Type: Application/Pgp-Keys.
2626
2627 If Mew finds that the part is Application/Pgp-keys, it tries to add
2628 the PGP public key onto your PGP public keyring. Remember that Mew is
2629 not responsible for TRUST or VALIDITY. It is YOU who set these
2630 values. Please use the commands described by Mew to set these as
2631 necessary. If you do not know the meaning of TRUST and VALIDITY, you
2632 should learn the web of trust system provided by PGP BEFORE using PGP
2633 to protect your privacy.
2634
2635
2636 
2637 File: mew.info, Node: anonymous, Next: Marks, Prev: pgp-key, Up: Composing
2638
2639 Sending messages with anonymous receivers
2640 =========================================
2641
2642 You may occasionally wish to send a message to anonymous receivers.
2643
2644 For instance, please imagine that Pooh is trying to invite multiple
2645 friends to a party. Piglet should reply only to Pooh. However, Piglet
2646 might make a mistake of replying to other people if the addresses of
2647 all the invitees are listed in Cc:. Moreover, Pooh does not want to
2648 disclose the names of those who he invited until the day of the party.
2649
2650 To handle this, Mew makes use of ":;" for anonymous addresses. Please
2651 look at the following example.
2652
2653 To: party:[email protected],[email protected];
2654 From: Pooh <[email protected]>
2655
2656 Here, there is a colon (":") after the explanatory comment
2657 "party". This is followed by some addresses that are delimited by
2658 "," and terminated by ";". If you write addresses in this format, Mew
2659 sends the message to the addresses with them removed form the
2660 header. In this example, Piglet and Roo will receive the following
2661 message.
2662
2663 To: party:;
2664 From: Pooh <[email protected]>
2665
2666 The receiver knows that the sender is Pooh, but will not know who else
2667 received the message. Also, the string "party:;" is not address, so
2668 the receiver cannot reply to it.
2669
2670 You should understand that enumerating many addresses on To: or Cc: is
2671 basically not a good practice anyway. If you often have the occasion
2672 to send messages a set group of people, you should create a
2673 mailing-list.
2674
2675
2676
2677 
2678 File: mew.info, Node: Marks, Next: unread mark, Prev: anonymous, Up: Top
2679
2680 Funny marks
2681 ***********
2682
2683 Here is a listing of marks that a user can use for insertion or
2684 deletion in Summary mode. This mark is displayed in the beginning of a
2685 line as follows: (Note that the marks that Mew inserts are displayed
2686 left side of date.)
2687
2688 D 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
2689 oM03/14 Momo-chan The pictures of Noto |Attached are the pictu
2690 * 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd
2691
2692 There are six marks at present.
2693
2694 `U'
2695 The unread mark.
2696 `D'
2697 The delete mark.
2698 `X'
2699 The delete mark.
2700 `o'
2701 The refile mark, that is, to move a message to another folder.
2702 `*'
2703 The target mark.
2704 `$'
2705 The mark to save another mark temporarily.
2706
2707 Just putting a mark on to a message does NOT process anything at all.
2708 It is typing `x' that processes the marks including `o', `D', `X'. So,
2709 take it easy to put marks but take care to type `x'.
2710
2711 The marks above are explained in sequence. The marks which Mew inserts
2712 are summarized here as well.
2713
2714 * Menu:
2715
2716 * unread mark:: Unread `U'
2717 * delete mark:: Delete `D' and `X'
2718 * refile mark:: Refile `o'
2719 * target mark:: Target `*'
2720 * escape mark:: Escape `$'
2721 * unmark:: Deleting marks
2722 * mark change:: Overwriting marks
2723 * sync:: Mark consistency against an IMAP server
2724 * off-line:: Processing marks off-line for IMAP
2725 * mew-mark:: Marks displayed by Mew
2726
2727
2728 
2729 File: mew.info, Node: unread mark, Next: delete mark, Prev: Marks, Up: Marks
2730
2731 Unread `U'
2732 ==========
2733
2734 With the following configuration, messages are marked with the unread
2735 mark `U' when scanning the messages.
2736
2737 (setq mew-use-unread-mark t)
2738
2739 When you read a message with `SPC', `n', or `p' and etc, the `U' mark
2740 disappears.
2741
2742 These three commands read through messages marked with the `*' mark,
2743 the `U' mark, and non-marked messages. If you type `zSPC', they read
2744 through messages marked with the `*' mark and the `U' mark only. This
2745 is convenient to read through unread messages. Typing `zSPC' again
2746 gets the target messages back.
2747
2748 When you move onto the current message by putting a mark on the
2749 previous message, the `U' mark is deleted. It's sure that you want to
2750 read the current message if you move onto it by `SPC', `n', and
2751 `p'. However, you might not intend to read the current message when
2752 you move onto it by putting a mark. If this is the case, this spec is
2753 inconvenient for you. If you want to retain the unread mark on the
2754 current message when you move onto it by putting a mark on the
2755 previous message, configure as follows:
2756
2757 (setq mew-delete-unread-mark-by-mark nil)
2758
2759 The followings are summary of commands related to the `U' mark.
2760
2761 `zSPC'
2762 Toggle the target of `SPC', `n', and `p'. Toggling means change
2763 one to the other out of "the `U' mark, the `*' mark, and
2764 non-mark" and "the `U' mark and the `*' mark".
2765 `M-u'
2766 Put the `U' mark to the current message.
2767
2768
2769
2770 
2771 File: mew.info, Node: delete mark, Next: refile mark, Prev: unread mark, Up: Marks
2772
2773 Delete `D' and `X'
2774 ==================
2775
2776 If you want to delete a message, type `d' in Summary mode to put the
2777 `D' mark on it. Don't be worried about losing the message by
2778 mistake. Since putting the `D' mark has no immediate effect, it does
2779 not result in a serious mistake. By default, typing `x' moves messages
2780 marked with `D' to a trash.
2781
2782 For local folders, a trash is +trash. For IMAP, it is %trash.
2783
2784 To really delete messages in the trashes, there are two methods:
2785
2786 1. Type `D' in Summary mode.
2787 2. Put the `D' mark in the trashes then type `x'.
2788
2789 Exactly speaking, the following rule is applied for local folders.
2790 (`mew-trash-folder' is default to +trash.
2791 `mew-trash-folder-list' is default to `nil'.)
2792
2793 - If `mew-trash-folder' is `nil', messages marked with
2794 `D' are deleted.
2795 - If `mew-trash-folder-list' is defined, messages marked with `D'
2796 in one of the folders defined in it are deleted. Otherwise, they
2797 are moved to the trash.
2798 - If `mew-trash-folder-list' is `nl', messages marked with `D' in
2799 `mew-trash-folder' are deleted. Otherwise, they are moved to the
2800 trash. (This is default.)
2801
2802 For IMAP, the same rule is applied according to both
2803 `mew-imap-trash-folder' and `mew-imap-trash-folder-list'
2804
2805 It is convenient if you can change the `*' mark to the `D' mark since
2806 you can put many the `D' marks at once. To achieve this, use `md'.
2807
2808 Also, typing `Md' put the `D' mark to all duplicated messages
2809 excluding one for each.
2810
2811 There is also another mark, `X', which is like the mark `D'.
2812 Messages marked with `X' are deleted when `x' is typed. The
2813 `X' mark can be put by `M-d'.
2814
2815 `mxM-d' processes messages marked with `X' only. Typing
2816 `mM-d' converts all `*' marks to `X'.
2817
2818
2819 The following is a summary regarding with the `D' mark and the
2820 `X' mark.
2821
2822 `d'
2823 Put the `D' mark.
2824 `M-d'
2825 Put the `X' mark.
2826 `md'
2827 Convert all `*' marks to `D'.
2828 `mM-d'
2829 Convert all `*' marks to `X'.
2830 `x'
2831 Process marked messages.
2832 `mxd'
2833 Process messages marked with `D' only.
2834 `mxM-d'
2835 Delete messages marked with `X' only.
2836 `D'
2837 Delete all messages in a trash.
2838 `C-uD'
2839 Delete all messages in a specified folder.
2840
2841
2842 
2843 File: mew.info, Node: refile mark, Next: target mark, Prev: delete mark, Up: Marks
2844
2845 Refile `o'
2846 ==========
2847
2848 To refile a message, type `o' and input a folder name, then
2849 `o' is put. A folder is guessed neatly, so most time what you
2850 should to is just type `RET'. For more information, refer to
2851 *Note Refile::.
2852
2853 If you type `o' on a message marked with `o', the refile folder is
2854 shown. When typing `x', messages marked with `o' are actually refiled.
2855
2856 Consider that you specify multiple folders and refiles actually. If
2857 your file system has hard link, the message is moved to the first
2858 folder, and hard links are created from the other folders. Otherwise,
2859 the message is moved to the first folder, and it is copied to the
2860 other folders.
2861
2862 If the number of specified folders are 1, and it is the current
2863 folder, refiling means do nothing. If the number is more than two and
2864 the current folder is included, refiling means that the message number
2865 in the current folder remains and hard links are created from the
2866 other folders (or it is copied to the other folders).
2867
2868 Mew provides `c' which is very similar to `o'. `c' shows the current
2869 folder as a candidate in addition to guessed folders.
2870
2871 A summary about the `o' mark is here.
2872
2873 `o'
2874 Put the `o' mark.
2875 `c'
2876 Put the `o' mark. Showing the current folder as a candidate in
2877 addition to guessed folders.
2878 `x'
2879 Refile messages marked with `o'.
2880 `mxo'
2881 Refile messages marked with `o' only. This command does not
2882 process other marks.
2883 `C-umxo'
2884 Refile messages marked with `o', whose destination is the same as
2885 that of the current message.
2886
2887
2888 
2889 File: mew.info, Node: target mark, Next: escape mark, Prev: refile mark, Up: Marks
2890
2891 Target `*'
2892 ==========
2893
2894 Please put the `*' mark onto messages that you want to review
2895 later. `?' also put the `*' mark onto matched messages (for more
2896 information, refer to *Note search::). Use `N' and `P' to walk around
2897 messages marked with `*'.
2898
2899 Here is a summary for `*' commands.
2900
2901 `*'
2902 Put the `*' mark.
2903 `N'
2904 Jump to the message marked with `*' below and display it.
2905 `P'
2906 Jump to the message marked with `*' above and display it.
2907 `ma'
2908 Put the `*' mark to all unmarked messages.
2909 `mr'
2910 Put the `*' mark to all matching messages with specified regular
2911 expression.
2912
2913 The `*' mark is used to handle multiple messages. The following is a
2914 list of commands which handle multiple messages.
2915
2916 `F'
2917 Prepare a draft to forward multiple messages marked with `*' in
2918 MIME format.
2919 `J'
2920 A large message is occasionally fragmented into multiple messages
2921 whose Content-Type: is Message/Partial. Mew puts the `P' mark to
2922 these messages. Now a user marks these messages with `*' and
2923 executing this commands results in producing the original
2924 message.
2925 `mI'
2926 Retrieve the rest of truncated(`T') messages marked with
2927 `*'.
2928 `C-umI'
2929 Perform `mI'.
2930 `M-b'
2931 De-capsulate messages embedded in the messages marked with `*'.
2932 `M-\'
2933 Executing an external command specifying messages marked with `*'
2934 as arguments.
2935 `M-t'
2936 Apply "uudecode" on messages marked with `*'.
2937
2938 For `M-t', messages marked with `*' are supposed to be in the right
2939 order. If out of order, sorting with `S' would help.
2940
2941
2942 
2943 File: mew.info, Node: escape mark, Next: unmark, Prev: target mark, Up: Marks
2944
2945 Escape `$'
2946 ==========
2947
2948 Suppose that you want to put the `*' marks to messages matched to a
2949 pattern specified to the `/' command. If there are messages marked
2950 with `*' already, these messages are merged to the results of
2951 `/'. Thus, you would want to escape the current messages marked with
2952 `*'.
2953
2954 For this sake, the escape mark `$' is provided. A typical usage is as
2955 follows:
2956
2957 1. Change the `*' marks to the `$' marks with `m$'.
2958 2. Put the `*' marks to messages, for instance, with `/' and process
2959 the messages marked with `*'.
2960 3. Cancel the `*' marks with `U*'.
2961 4. Get the old `*' marks back with `m*'.
2962
2963 Here is summary of the commands related to the `$' mark.
2964
2965 `m$'
2966 Change the `*' marks to the `$' marks.
2967 `m*'
2968 Change the `$' marks to the `*' marks.
2969
2970
2971 
2972 File: mew.info, Node: unmark, Next: mark change, Prev: escape mark, Up: Marks
2973
2974 Deleting marks
2975 ==============
2976
2977 Refiling and deleting is not processed unless you type `x'. So, if you
2978 press `u' to unmark before you type `x', messages do not disappear
2979 accidentally.
2980
2981 Here is a summary for unmark commands.
2982
2983 `u'
2984 Cancel the mark on this message.
2985 `U'
2986 Cancel all marks according to what you input.
2987
2988 The method with the `$' mark, that is, preserve the `*' marks and
2989 operate something then get them back, is friendly to users since it is
2990 visible. But since messages are marked, they would not be the targets
2991 of the operation.
2992
2993 To solve this problem, a method to recover `*' marks is provided. The
2994 command is bound to `M*'. This method would not be friendly to users
2995 since the `*' marks to recover are invisible. But because the marks
2996 are canceled, these message are surely the target of any operations.
2997
2998 `M*'
2999 Recover the `*' marks which are canceled by the last `U*'.
3000
3001
3002
3003 
3004 File: mew.info, Node: mark change, Next: sync, Prev: unmark, Up: Marks
3005
3006 Overwriting marks
3007 =================
3008
3009 Marks have levels of strength. You can override a mark by another
3010 same-level mark weak mark. Also stronger marks can override weaker
3011 marks.
3012
3013 The followings shows the marks in the strong order:
3014
3015 `o', `D', and `X'
3016 After marking a message newly, the next message is shown. After
3017 overriding another mark, the cursor stays on the message.
3018 `*' and `$'
3019 After marking a message, the cursor stays on the message.
3020 `U'
3021 After marking a message, the cursor stays on the message.
3022
3023 refer to *Note summary-mode:: to know which direction the cursor moves
3024 after putting a strong mark.
3025
3026 You can exchange marks as follows:
3027
3028 `m$'
3029 `*' -> `$' :: Preserve the `*' marks temporarily.
3030 `m*'
3031 `$' -> `*' :: Get the `*' marks back.
3032 `ms'
3033 `$' <-> `*'
3034 `mM-u'
3035 `*' -> `U' :: It is useful when you put `U' marks to messages
3036 picked by `?'.
3037 `md'
3038 `*' -> `D' :: It is useful when you put `D' marks to messages
3039 picked by `?'.
3040 `mM-d'
3041 `*' -> `X' :: It is useful when you put `X' marks to messages
3042 picked by `?'.
3043 `mo'
3044 `*' -> `o' :: It is useful when you put `o' marks to messages to
3045 be moved picked by `?'. `*' -> `o' :: It is useful when you put
3046 `o' marks to messages to be copied picked by `?'.
3047 `e'
3048 Exchange the first input mark to the second one. The `o' mark is
3049 not exchangeable.
3050
3051
3052 
3053 File: mew.info, Node: sync, Next: off-line, Prev: mark change, Up: Marks
3054
3055 Mark consistency against an IMAP server
3056 =======================================
3057
3058 Mew can maintain consistency of the following marks against an IMAP
3059 server:
3060
3061 `U'
3062 Whether a message is read or not. This IMAP flag is \Seen. This
3063 is usually valid in %inbox only.
3064 `*'
3065 Review mark. This IMAP flag is \Flagged.
3066
3067 To allow off-line operations, Mew synchronizes marks with an IMAP
3068 server everytime when a user makes an action. Mew does not
3069 automatically synchronize marks repeatedly. The followings are how Mew
3070 synchronizes marks.
3071
3072 1. `s' + 'update
3073 - Reflecting modified marks of the existing messages to the server
3074 - For newly arrived messages, reflecting flags of the server
3075 to the messages.
3076
3077 2. `x'
3078 - Reflecting modified marks of the existing messages to the server
3079
3080 3. `s' + 'sync
3081 - Reflecting modified marks of the existing messages to the server
3082 - Clearing `*',`U', `$', ` ' mark on the existing messages.
3083 - Reflecting flags of the server to the existing messages
3084 - Removing messages which were deleted in the server
3085
3086
3087 
3088 File: mew.info, Node: off-line, Next: mew-mark, Prev: sync, Up: Marks
3089
3090 Processing marks off-line for IMAP
3091 ==================================
3092
3093 An IMAP user may want to cache messages in folder A and go out. Then
3094 he may want to put the `o' and/or `D' marks, and process the marks
3095 off-line. In this story, these jobs should be done in his IMAP server
3096 after connecting the Internet.
3097
3098 If a message in folder A is moved to folder B with IMAP, the cached
3099 message in folder A usually must be deleted and a corresponding
3100 message in folder B must be retrieved from his IMAP server again. This
3101 is because information embedded in a cached message in folder A is
3102 valid only in folder A.
3103
3104 Suppose you refile a message in folder A to folder B off-line. It is
3105 very inconvenient for you to retrieve a corresponding message in
3106 folder B from your IMAP server , in order to read it, after refile
3107 jobs are done online. You may want to read the messages refiled to
3108 folder B by just going to the folder B, without retrieval form the
3109 IMAP server.
3110
3111 Mew implements delayed jobs processing and viewing refiled messages
3112 without retrieval. If you want to process marks off-line, type `lx'.
3113 `lx' carries out the following jobs.
3114
3115 1. Deleting messages marked with `o' and/or `D' from folder A.
3116 2. Queuing these jobs in %queue.
3117 3. Moving messages marked with `o' to folder B and marking them
3118 invalid.
3119
3120 'invalid' means that you can read it but you cannot put the `o'/`D'
3121 mark on it. Invalid messages are marked with `#'. When you go to
3122 folder B by typing `g', a list of invalid messages is displayed
3123 automatically.
3124
3125 If you want to let your IMAP server process jobs in %queue after you
3126 get back online, type `C-cC-c' in %queue.
3127
3128 Typing `s' in folder B after jobs in %queue are done in your IMAP
3129 server results in deletion of invalid messages and caching valid
3130 messages.
3131
3132
3133 
3134 File: mew.info, Node: mew-mark, Next: Refile, Prev: off-line, Up: Marks
3135
3136 Marks displayed by Mew
3137 ======================
3138
3139 Here is a summary of marks displayed by Mew.
3140
3141 `M'
3142 This message is a multipart. Please refer to *Note multipart::.
3143 `-'
3144 This message contains a Multipart/Alternative content. Please refer to
3145 *Note analysis::.
3146 `T'
3147 This message was truncated by Mew. Please refer to *Note
3148 retrieving::.
3149 `S'
3150 This message is signed. Please refer to *Note cipher-viewing::.
3151 `E'
3152 This is a cipher message. Please refer to *Note cipher-viewing::.
3153 `P'
3154 This message is fragmented. Please refer to *Note target mark::.
3155 `#'
3156 This message is invalid. Please refer to *Note off-line::.
3157
3158
3159
3160 
3161 File: mew.info, Node: Refile, Next: by-folder, Prev: mew-mark, Up: Top
3162
3163 Happy refiling
3164 **************
3165
3166 When you come to receive hundreds of messages in a day (do not you
3167 believe it?), refiling messages becomes a very tough job. Mew neatly
3168 guesses default folders where the message is supposed to be refiled
3169 when you type `o'. You can see an example below.
3170
3171 Folder name (+work/mew-dist): +
3172
3173 If the default value in () is proper, just type `RET'. The messages
3174 will be marked with `o' if its refiling folders are decided.
3175
3176 You can refile a message to folders of the same world to which the
3177 message belong. As described above, a world is identified by a
3178 combination of "case" and proto. When you input a folder to which the
3179 message is refiled, you must not specify "case" and you must input a
3180 folder whose proto is the same. The reason why you must not specify
3181 "case" is that the "case" is already known. With other commands, you
3182 have to specify the "case", if necessary, when you input folder name
3183 in minibuffer. This command is only the exception.
3184
3185 Mew also provides `c' which is very similar to `o'. To know the
3186 difference, please refer to *Note refile mark::.
3187
3188 As you know, the more excellent refiling guess algorithms become, the
3189 less user's job troublesome. Mew provides you with the following
3190 rules.
3191
3192 * Menu:
3193
3194 * by-folder:: Guess by mailing-list folders
3195 * by-alist:: Guess by user defined rules
3196 * by-thread:: Guess by thread
3197 * by-from-folder:: Guess by private folders
3198 * by-from:: Guess by From:
3199 * by-newsgroups:: Guess by Newsgroups:
3200 * by-default:: Guess by default rule
3201 * guess-rule:: Controlling rules
3202 * auto-refile:: Auto refile
3203 * copy-msg:: Copying messages across worlds
3204
3205
3206 
3207 File: mew.info, Node: by-folder, Next: by-alist, Prev: Refile, Up: Refile
3208
3209 Guess by mailing-list folders
3210 =============================
3211
3212 Many users tend to refile messages destined to a mailing-list to a
3213 folder whose name is the same as the mailing-list. Mew provides a
3214 mechanism to guess a mailing-list folder for messages destined to
3215 mailing-lists.
3216
3217 Suppose that you have a folder named +misc/pooh-lovers. The following
3218 message is probably to be refiled to this folder.
3219
3220 To: [email protected]
3221
3222 Likewise, Mew searches a matching folder forward with addresses on To:
3223 and Cc:. There are many people who do not use recursive folders. With
3224 Mew, however, you would not be smart if you do not use it.
3225
3226 Smart users may wonder that they get a trouble in the following
3227 situation where private addresses are on To: or Cc:.
3228
3229 To: [email protected]
3230 Cc: [email protected]
3231
3232 Since Pooh is a member of pooh-lovers, he receives this message. But
3233 he has a folder for his friend, Piglet. So, +from/piglet may be
3234 chosen.
3235
3236 To avoid this, Mew allows you to specify which folders are to be
3237 ignored. The default is +from. So, please take a convention to refile
3238 personal messages under +from.
3239
3240 When Mew guesses a candidate by the folders, it asks you:
3241
3242 Folder name (+misc/pooh-lovers): +
3243
3244 Just type `RET' if the default is exactly what you want.
3245
3246 If you specify a new folder with `o', the folder is created and added
3247 to the folder list to be used for guess. Convenient, isn't it?
3248
3249 The function name to provide this feature is
3250 `mew-refile-guess-by-folder'.
3251
3252 If you don't use capital letters for folder names, configure as
3253 follows to make this function faster:
3254
3255 (setq mew-use-fast-refile t)
3256
3257 By default, candidate includes node folders as well as leaf folders.
3258 If you want to not select node folders but leave folders only,
3259 configure as follows:
3260
3261 (setq mew-use-node-folder nil)
3262
3263
3264 
3265 File: mew.info, Node: by-alist, Next: by-thread, Prev: by-folder, Up: Refile
3266
3267 Guess by user defined rules
3268 ===========================
3269
3270 There are some cases where the refile guess mechanism by folders does
3271 not work as you wish. For example, for both a message whose To: is
3272 [email protected] and another message whose To: is [email protected],
3273 the same folder would be selected with guess by folders
3274 (e.g. "+net/staff"). So, Mew allows you to define your own rules
3275 explicitly. (You must use the new format for
3276 `mew-refile-guess-alist'. For more information, see
3277
3278 Let's look at an example.
3279
3280 (setq mew-refile-guess-alist
3281 '(("To:"
3282 ("[email protected]" "+jp/staff")
3283 ("[email protected]" "+net/staff"))))
3284
3285 This means that if To: contains [email protected] +jp/staff is selected
3286 and if To: has [email protected] +net/staff is chosen.
3287
3288 The format of this rule is as follow:
3289
3290 rule ::= '<rule>
3291 <rule> ::= ((<key> <alist>) (<key> <alist>) ... [<special>])
3292
3293 The whole is a list of (<key> <alist>). A field name is specified for
3294 <key>. The format for <alist> is as follows:
3295
3296 <alist> ::= (<value> <folder>|<rule>) (<value> <folder>|<rule>) ...
3297
3298 <value> is a field value for <key>. <folder> means a folder to be
3299 chosen if matched. You can write <rule> recursively instead of
3300 <folder>. (*Note config2::.)
3301
3302 There are two special <key>s: `nil' and `t'. `nil' is used to specify
3303 <folder> to be returned when nothing is guessed. `t' can specify
3304 <folder> to be returned in addition to guessed values.
3305
3306 <special> ::= (t <folder>) | (nil <folder>)
3307
3308 If you know regular expression, a more advanced rule can be defined
3309 like this.
3310
3311 (setq mew-refile-guess-alist
3312 '(("Newsgroups:"
3313 ("^nifty\\.\\([^ ]+\\)" "+Nifty/\\1")
3314 (".*" "+rec/news"))
3315 ("To:"
3316 ("\\(inet\\|wide\\)@wnoc-fuk" "+wide/\\1-wnoc-fuk"))
3317 ("From:"
3318 ("uucp@" "+adm/uucp")
3319 ("ftpsync@" "+adm/ftpsync"))
3320 (nil "+unknown")))
3321
3322 The function name to provide this feature is
3323 `mew-refile-guess-by-alist'.
3324
3325
3326 
3327 File: mew.info, Node: by-thread, Next: by-from-folder, Prev: by-alist, Up: Refile
3328
3329 Guess by thread
3330 ===============
3331
3332 Mew provides a mechanism to guess a folder where the parent message of
3333 a current message was refiled before.
3334
3335 For example, Pooh, Piglet, and Roo had a chat to go and get honey. So,
3336 Pooh made +project/honey then refiled the message to it. The further
3337 messages, if they are properly replied, they are supposed to be
3338 refiled to +project/honey.
3339
3340 Information that which folder was chosen for messages is stored to
3341 "~/Mail/.mew-refile-msgid-alist". `mew-lisp-max-length'
3342 controls the amount of this information. The default value is 2000
3343 messages. If you want limits it to 3000 messages, put the following to
3344 "~/.mew.el".
3345
3346 (setq mew-lisp-max-length 3000)
3347
3348 The function name to provide this feature is
3349 `mew-refile-guess-by-message-id'.
3350
3351
3352 
3353 File: mew.info, Node: by-from-folder, Next: by-from, Prev: by-thread, Up: Refile
3354
3355 Guess by private folders
3356 ========================
3357
3358 In addition to the mechanism to select a mailing-list folder described
3359 in *Note by-folder::, Mew provides a mechanism to choose a private
3360 folder. Since private folders locate under +from, we can say that this
3361 mechanism select a folder from the folders under +from. Let's see the
3362 following example:
3363
3364 To: [email protected]
3365 From: [email protected]
3366
3367 Pooh received a message from Piglet. If Pooh uses this mechanism,
3368 +from/piglet will be chosen according to From:. (Folders under +from
3369 can be recurse. And you can select the entire address for a folder
3370 name instead of the user part.)
3371
3372 The function to provide this feature is
3373 `mew-refile-guess-by-from-folder'.
3374
3375 Next, let's consider a care where Pooh replied to Piglet. Since Pooh
3376 Cc:ed the message to himself, the message was also delivered to him.
3377
3378 To: [email protected]
3379 Cc: [email protected]
3380 From: [email protected]
3381
3382 How do you feel if you are Pooh? You may want to refile this to
3383 +from/pooh. Also, you may want to move this to +from/piglet. So, it
3384 can be customized.
3385
3386 If `mew-refile-guess-from-me-is-special' is `t' and if an address in
3387 From: is yourself, `mew-refile-guess-by-from-folder' select a folder
3388 under +from according to To: and/or Cc:.
3389
3390
3391 
3392 File: mew.info, Node: by-from, Next: by-newsgroups, Prev: by-from-folder, Up: Refile
3393
3394 Guess by From:
3395 ==============
3396
3397 Mew also provides a mechanism to guess a folder by the place where a
3398 message that has the same From: field is refiled.
3399
3400 Suppose that Piglet has two addresses, [email protected] and
3401 [email protected]. Pooh wants to refile messages from Piglet to
3402 +from/piglet no matter what his From: is. This policy can, of course,
3403 be implemented if Pooh specifies rules explicitly as follows:
3404
3405 (setq mew-refile-guess-alist
3406 '(("From:"
3407 ("[email protected]" "+from/piglet")
3408 ("[email protected]" "+from/piglet"))))
3409
3410 But such a work may bother you. So, first refile a message whose From:
3411 is [email protected] to +from/piglet. At this time, +from/piglet is
3412 created. Next, refile a message whose From: is [email protected] to
3413 +from/piglet. Here Mews learns that [email protected] was refiled to
3414 +from/piglet. After this, when messages whose From: is
3415 [email protected] are refiled, +from/piglet is chosen.
3416
3417 For another example, you can refile messages from machinery to
3418 +adm/misc without defining an explicit rule.
3419
3420 Information for relationship between From: and folder is stored to
3421 "~/Mail/.mew-refile-from-alist". `mew-lisp-max-length'
3422 controls the amount of this information as the same as
3423 *Note by-thread::.
3424
3425 The function name to provide this feature is
3426 `mew-refile-guess-by-from'.
3427
3428 If the value of `mew-refile-guess-from-me-is-special' is `t',
3429 `mew-refile-guess-by-from' acts as
3430 `mew-refile-guess-by-from-folder' (*Note by-from-folder::).
3431
3432
3433 
3434 File: mew.info, Node: by-newsgroups, Next: by-default, Prev: by-from, Up: Refile
3435
3436 Guess by Newsgroups:
3437 ====================
3438
3439 For those who read articles of NetNews received by e-mail with Mew,
3440 Mew provides a mechanism to guess a folder by Newsgroups:. The
3441 function name to provide this feature is
3442 `mew-refile-guess-by-newsgroups'.
3443
3444
3445 
3446 File: mew.info, Node: by-default, Next: guess-rule, Prev: by-newsgroups, Up: Refile
3447
3448 Guess by default rule
3449 =====================
3450
3451 The default rule is to extract a user name from From: and to choose
3452 `+from/user'. But if `mew-refile-guess-strip-domainpart' is
3453 `nil', it extracts the entire address. So,
3454 `+from/user@domain' is chosen. The default value of
3455 `mew-refile-guess-strip-domainpart' is `t'.
3456
3457 The function name is `mew-refile-guess-by-default'.
3458
3459
3460 
3461 File: mew.info, Node: guess-rule, Next: auto-refile, Prev: by-default, Up: Refile
3462
3463 Controlling rules
3464 =================
3465
3466 Mew controls guess rules by two variables,
3467 `mew-refile-guess-control' and `mew-refile-ctrl-multi'. If you
3468 want multiple candidates, set `mew-refile-ctrl-multi'
3469 `t'. Otherwise, set it `nil'.
3470
3471 By default, `mew-refile-guess-control' is declared as follows (since
3472 it is a declaration, `defvar' is used):
3473
3474 (defvar mew-refile-guess-control
3475 '(mew-refile-guess-by-alist
3476 mew-refile-ctrl-throw
3477 mew-refile-guess-by-newsgroups
3478 mew-refile-guess-by-folder
3479 mew-refile-ctrl-throw
3480 mew-refile-ctrl-auto-boundary
3481 mew-refile-guess-by-thread
3482 mew-refile-ctrl-throw
3483 mew-refile-guess-by-from-folder
3484 mew-refile-ctrl-throw
3485 mew-refile-guess-by-from
3486 mew-refile-ctrl-throw
3487 mew-refile-guess-by-default))
3488
3489 Mew executes every function defined in `mew-refile-guess-control' in
3490 order. Each function may guess multiple candidates.
3491
3492 Let's see the following example of `mew-refile-guess-control' action.
3493
3494 `mew-refile-guess-by-alist'
3495 guessed +aaa and +bbb.
3496 `mew-refile-guess-by-folder'
3497 guessed +ccc and +ddd.
3498 `mew-refile-guess-by-default'
3499 guessed +eee.
3500
3501 If you want to provide all candidates, +aaa - +eee, set
3502 `mew-refile-ctrl-multi' `t'. If you want to provide +aaa only, set it
3503 `nil'.
3504
3505 If you want +aaa - +ddd but do not want left candidates, in other
3506 words, you want +eee only when no candidate is guessed by functions
3507 executed before, set `mew-refile-ctrl-multi' `t' and insert
3508 `mew-refile-ctrl-throw' between `mew-refile-guess-by-folder' and
3509 `mew-refile-guess-by-default'.
3510
3511 `C-uo' displays the flow of guess rules in Message buffer.
3512
3513
3514 
3515 File: mew.info, Node: auto-refile, Next: copy-msg, Prev: guess-rule, Up: Refile
3516
3517 Auto refile
3518 ===========
3519
3520 Those who receives many messages everyday is prone to store thousands of
3521 messages in the +inbox (or %inbox) folder. In such a case, they may want
3522 to speak out like this, "Hey messages, get out of the folder to
3523 somewhere". Mew provides a feature to satisfy such laziness. :)
3524 `M-o' is the spell.
3525
3526 When you execute this function, it marks specific messages with
3527 `o'. The specific messages mean messages which are not marked
3528 with `o' nor `D' if
3529 `mew-refile-auto-refile-skip-any-mark' is `nil'. If
3530 `mew-refile-auto-refile-skip-any-mark' is `t', they mean
3531 non-marked messages (i.e. read). The default value of
3532 `mew-refile-auto-refile-skip-any-mark' is `nil'.
3533
3534 `C-uM-o' targets messages marked with `*' regardless the value of
3535 `mew-refile-auto-refile-skip-any-mark'.
3536
3537 Refile rule is the same described in the previous section. Please note
3538 that what this function does is just mark messages with
3539 `o'. Messages are not refiled until you will press `x'.
3540
3541 Mew's refile mechanism is so smart that it would be harmful for this
3542 function. That is, most users would not understand where messages have
3543 been refiled if Mew made most use of its guess mechanism. :) For this
3544 reason, break is provided to limit usage of guess functions. Recall
3545 the declaration up above.
3546
3547 (defvar mew-refile-guess-control
3548 '(mew-refile-guess-by-alist
3549 mew-refile-ctrl-throw
3550 mew-refile-guess-by-newsgroups
3551 mew-refile-guess-by-folder
3552 mew-refile-ctrl-throw
3553 mew-refile-ctrl-auto-boundary
3554 mew-refile-guess-by-thread
3555 mew-refile-ctrl-throw
3556 mew-refile-guess-by-from-folder
3557 mew-refile-ctrl-throw
3558 mew-refile-guess-by-from
3559 mew-refile-ctrl-throw
3560 mew-refile-guess-by-default))
3561
3562 You can find the `mew-refile-ctrl-auto-boundary' function in
3563 `mew-refile-guess-control'. Only when auto refile is used, Mew
3564 ignores guess functions below this function. If guess functions above
3565 `mew-refile-ctrl-auto-boundary' didn't guess any folder for a
3566 message, the message is not marked with `o'. Insert
3567 `mew-refile-ctrl-auto-boundary' before you ruin.
3568
3569
3570
3571 
3572 File: mew.info, Node: copy-msg, Next: Virtual, Prev: auto-refile, Up: Refile
3573
3574 Copying messages across worlds
3575 ==============================
3576
3577 "Refile" described above is moving messages in the same world. By
3578 contrast, you may want to move messages from a world to another
3579 world. You can accomplish this by copying messages from a world to
3580 another and deleting the original messages. Here we describe how to
3581 copy messages to another world.
3582
3583 You may want to copy a message to a local folder. For this, type
3584 `lc'. If you execute `lc' in a remote folder, Mew removes information
3585 related to the remote folder from the cached message and copy it to a
3586 local folder. (You can use `lc' in a local folder, too. In this case,
3587 a message is moved in the same world.)
3588
3589 To opy a message in a folder to an IMAP folder (the server side), type
3590 `li'.
3591
3592 To copy messages marked with `*' to a local folder, use `mlc'. To
3593 copy messages marked with `*' to an IMAP folder, use `mli'.
3594
3595 Here is a summary of commands which copy messages from a world to
3596 another.
3597
3598 `lc'
3599 Copy a message to a local folder.
3600 `mlc'
3601 Copy messages marked with `*' to a local folder.
3602 `li'
3603 Copy a message to the server side of IMAP.
3604 `mli'
3605 Copy messages marked with `*' to the server side of IMAP.
3606
3607
3608
3609 
3610 File: mew.info, Node: Virtual, Next: selection, Prev: copy-msg, Up: Top
3611
3612 Virtual folder
3613 **************
3614
3615 Virtual mode is a virtual folder and it consists of "selection" and
3616 "thread".
3617
3618 `Selection'
3619 A virtual folder collecting necessary messages from several
3620 folders. Its folder name has "*" on the left side.
3621 `Thread'
3622 A virtual folder to visualize message flow with indentation,
3623 created from a folder or a virtual folder. Its folder name has
3624 "*" on the both sides.
3625
3626 In Virtual mode, you can use most commands that you can find in
3627 Summary mode.
3628
3629 If you put a mark on a message in Virtual mode and if corresponding
3630 Summary mode exists, the mark is also put onto the corresponding
3631 message there. But if you put a mark on a message in Summary mode,
3632 the mark is not put any corresponding messages in Virtual mode.
3633
3634 You cannot process marks in Virtual mode. Even if you type `x' to
3635 process marks in Virtual mode, the cursor moves to corresponding
3636 Summary mode, if exsists, and you are asked to type `x' again.
3637
3638 You should take note that Virtual folder is really virtual and it does
3639 not exist in file system. If you exit Mew, it then disappears. To
3640 know how to delete Virtual mode, please refer to *Note Quit::.
3641
3642 * Menu:
3643
3644 * selection:: Selection
3645 * sorting:: Sorting
3646 * dialog:: Dialog
3647 * search:: Searching
3648 * condition:: How to input search conditions
3649 * dbsearch:: Search Engine
3650 * keyword:: Highlighting a keyword
3651 * thread:: Thread
3652 * thread-op:: Thread operations
3653
3654
3655 
3656 File: mew.info, Node: selection, Next: sorting, Prev: Virtual, Up: Virtual
3657
3658 Selection
3659 =========
3660
3661 Selection is a virtual folder collecting necessary messages from
3662 several folders. There are five ways to create selection:
3663
3664 `m/'
3665 Listing messages marked with `*' on a folder. see *Note
3666 sorting::.
3667 `S'
3668 Sorting messages on a folder and display them. (No effect to the
3669 original folder.) see *Note dialog::.
3670 `V'
3671 Listing messages which have relationship with the current message. See
3672 *Note dialog::.
3673 `/'
3674 Listing messaged matched to a search condition on a folder. see
3675 *Note search::.
3676 `k/'
3677 Listing messaged matched to a search condition from all folders. See
3678 *Note search::.
3679
3680
3681
3682 
3683 File: mew.info, Node: sorting, Next: dialog, Prev: selection, Up: Virtual
3684
3685 Sorting
3686 =======
3687
3688 To make selection by sorting messages, use `S'. Then you will be asked
3689 to input the field name as follows:
3690
3691 Sort by? (default date):
3692
3693 There are some cases where strings stored in the specified field
3694 should not be compared as text. For example, while Subject: can be
3695 considered as text, Date: and X-Mail-Count: should be treated as date
3696 and number, respectively. In this way, we call the distinctions in
3697 methods of string sorting "modes". Default modes for typical field
3698 names are configured in `mew-sort-key-alist'.
3699
3700 When you want to specify the mode of sorting, the mode is followed by
3701 `:'. For example, to sort with the X-Mail-Count: field as arithmetic
3702 value (not text), input like this:
3703
3704 x-mail-count:num
3705
3706 You can complete field names and modes with `TAB'.
3707
3708 Mew provides four modes for sorting:
3709
3710 `text'
3711 String with preceding "Re: " and or "Fw: " removed.
3712 `ml'
3713 The same as text but preceding mailing-list-string removed.
3714 `num'
3715 Number.
3716 `date'
3717 Date.
3718
3719 The default field name, your response to the prompt "Sort by?", can be
3720 specified in `mew-sort-default-key'. The following example changes the
3721 default value from "date" to "x-ml-count".
3722
3723 (setq mew-sort-default-key "x-ml-count")
3724
3725 You can also set a default field name for each folder by
3726 `mew-sort-default-key-alist'. For folders not explicitly specified
3727 here, `mew-sort-default-key' is used for their default field name.
3728 The following is an example that specifies "subject" for the +inbox
3729 folder and "x-mail-count" for the +mew-dist folder.
3730
3731 (setq mew-sort-default-key-alist
3732 '(("+inbox" "subject")
3733 ("+mew-dist" "x-mail-count")))
3734
3735 To really sort messages in a local folder, use `M-s'. This command is
3736 not available in remote folders.
3737
3738
3739 
3740 File: mew.info, Node: dialog, Next: search, Prev: sorting, Up: Virtual
3741
3742 Dialog
3743 ======
3744
3745 Mew can list messages which have relationship with the current
3746 message. Let's call this "dialog". This is different from thread
3747 described later in the following points:
3748
3749 - Thread can be made from one folder or one virtual
3750 folder. Messages relating to dialog can ubiquitously exists in
3751 several folders.
3752
3753 - Thread visualizes tree structres with indentation. while dialog
3754 lists up messages in order of time.
3755
3756 To use the feature of dialog, execute `kI' to create database. New
3757 messages are not automatically registered in to the database, you
3758 should periodically execute `kI'. `kI' updates the database
3759 incrementally by default. This method is fast but garbages are
3760 left. So, sometime you should type `C-ukI' to update the database
3761 fully.
3762
3763 To make dialog, type `V' on the current message. This command displays
3764 him, his ancestors, and his children only. His brothers and so on are
3765 not shown. If you display the entire of the family, type `V' again on
3766 the first message of the dialog, which is the origin of the family.
3767
3768
3769 
3770 File: mew.info, Node: search, Next: condition, Prev: dialog, Up: Virtual
3771
3772 Searching
3773 =========
3774
3775 Mew provides the following method to search messages:
3776
3777 `?'
3778 Put the `*' mark onto messages in this folder, which are matched
3779 to a specified pattern. Either `mewl' or `grep' is called
3780 according to the specified pattern.
3781 `C-u?'
3782 `?' with a region specified.
3783 `/'
3784 Make selection with messages in this folder, which are matched to
3785 a specified pattern. Either `mewl' or `grep' is called according
3786 to the specified pattern.
3787 `C-u/'
3788 `/' with a region specified.
3789
3790 We can also search messages with a search engine, including Spotlight,
3791 Windows Desktop Search, etc. This feature is supported by the
3792 following commands.
3793
3794 `k?'
3795 Put the `*' mark onto messages in this folder, which are matched
3796 to a specified pattern.
3797 `k/'
3798 Make selection with messages in all folders, which are matched to
3799 a specified pattern.
3800 `C-uk/'
3801 Make selection with messages in specified folders, which are
3802 matched to a specified pattern. If you want to specify multiple
3803 folders, separate them with ",". You can also use a wildcar "*".
3804
3805
3806 
3807 File: mew.info, Node: condition, Next: dbsearch, Prev: search, Up: Virtual
3808
3809 How to input search conditions
3810 ==============================
3811
3812 If you type `?' or `/', Mew asks you to input search pattern as
3813 follows:
3814
3815 mewl/grep pick pattern:
3816
3817 If you specify just a keyword, Mew executes `grep'. On the contrast
3818 if you type an expression, Mew calls `mewl'.
3819
3820 Here is a list of expression elements. (In the strong order)
3821
3822 `field=string'
3823 Match if the "field" field contains the "string" string
3824 (case-insensitive). If you specify "head", it means the entire
3825 header.
3826 `field==string'
3827 Match if the "field" field contains the "string" string
3828 (case-sensitive). If you specify "head", it means the entire
3829 header.
3830 `field!=string'
3831 Match if the "field" field does not the "string" string
3832 (case-insensitive). If you specify "head", it means the entire
3833 header.
3834 `field!==string'
3835 Match if the "field" field does not the "string" string
3836 (case-sensitive). If you specify "head", it means the entire
3837 header.
3838 `( <pattern> )'
3839 Evaluate <pattern> first.
3840 `! <pattern>'
3841 Match if not <pattern>.
3842 `<pattern1> & <pattern2>'
3843 Match if <pattern1> AND <pattern2>. You can omit this.
3844 `<pattern1> | <pattern2>'
3845 Match if <pattern1> OR <pattern2>.
3846
3847 Some examples are shown below.
3848
3849 (a) Messages whose From: contains "kazu".
3850
3851 from=kazu
3852
3853 (b) Messages whose To: contains "mew" OR Cc: contains "mew".
3854
3855 to=mew | cc=mew
3856
3857 (c) Messages whose To: contains "mew" OR Cc: contains "mew" AND From:
3858 contains "kazu".
3859
3860 (to=mew | cc=mew) & from=kazu
3861
3862 When you execute `?' or `/' and if you just type `RET' to a pattern,
3863 you can specify a command to be executed.
3864
3865 Cmd opts pattern: grep -l -e
3866
3867 When you use an search engine with `k?' or `k/', the pattern
3868 (including just a keyword and an expression) will be converted to the
3869 syntax of the search engine.
3870
3871 For example, you can write an expression, that From: is "kazu" and
3872 body contains "wine" but does not contain "bordeaux", as follows:
3873
3874 from=kazu wine ! bordeaux
3875
3876 If you set `mew-pick-pattern-list' to a list of pattern, you can enjoy
3877 circular completion with `C-cTAB'. In this case, the first member is
3878 displayed as a default value.
3879
3880
3881
3882 
3883 File: mew.info, Node: dbsearch, Next: keyword, Prev: condition, Up: Virtual
3884
3885 Search Engine
3886 =============
3887
3888 To operate search engines, the following commands are provided:
3889
3890 `km'
3891 Make index for the current folder.
3892 `kM'
3893 Make index for all folders.
3894 `kc'
3895 Switch one search engine to another.
3896
3897 The followings are expiation of each search engines.
3898
3899 `Hyper Estraier'
3900 Type `kM' periodically. It's OK to execute "mewest" on the
3901 command line instead. If you want to update the index for the
3902 current folder quickly, you can use `km'. Both `k?' and `k/' are
3903 available. When you specify folders with `C-uk/', sub-folders, if
3904 any, are included in the target.
3905 `Spotlight'
3906 Type `kM' just once. `km' is not necessary. Both `k?' and `k/'
3907 are available.
3908 `Windows Desktop Search'
3909 Type `kM' just once. `km' is not necessary.
3910 `Google Desktop'
3911 Type `kM' just once. `km' is not necessary. Only `k/' is
3912 available.
3913
3914 The default search engine is automatically set to the one found first.
3915 If you explicitly specify it, set `mew-search-method' to one out of
3916 'est, 'spotlight, 'wds, and 'google. The following is an example to
3917 choose Hyper Estraier.
3918
3919 (setq mew-search-method 'est)
3920
3921
3922 
3923 File: mew.info, Node: keyword, Next: thread, Prev: dbsearch, Up: Virtual
3924
3925 Highlighting a keyword
3926 ======================
3927
3928 The keyword which you specified on search is shorted in a buffer. You
3929 can display messages with the keyword highlighted. The commands to
3930 enable this functionality are as follows:
3931
3932 `M-n'
3933 Display a message in the forward direction and find a keyword and
3934 highlight it. In Summary mode, the target is messages marked with
3935 `*'. In Virtual mode, it is all messages. If you repeat this
3936 command, text around the keyword is displayed from one to
3937 another. If no key word is set to the variable, this command
3938 first asks you a keyword.
3939 `C-uM-n'
3940 The same as `M-n' except that you can change the stored keyword
3941 explicitly.
3942 `M-p'
3943 A reverse version of `M-n'.
3944 `C-uM-p'
3945 A reverse version of `C-uM-n'.
3946
3947
3948 
3949 File: mew.info, Node: thread, Next: thread-op, Prev: keyword, Up: Virtual
3950
3951 Thread
3952 ======
3953
3954 When in the process of exchanging messages, the relationship of the
3955 messages is presented in a tree structure. Visualization of the
3956 structure with indentation is called thread. Here is an example:
3957
3958 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic
3959 03/13 Kazu-kun +Re: This weekend |Since it'll be rainy,
3960 03/15 Hidenori Ohta | +Re: This weekend |OK. Get together at 12
3961 03/14 Oda-chan +Re: This weekend |Sounds lovely. I'd lik
3962
3963 The thread feature is implemented as virtual folder. For instance, if
3964 you make threads for +inbox, a buffer *+inbox* is prepared.
3965
3966 To make thread, the following commands exist.
3967
3968 `tt'
3969 Make threads from Summary mode or selection and move the cursor
3970 to the current message. If corresponding threads already exist,
3971 switch to the Virtual mode. When this command is executed on
3972 threads, switch to the original folder and move the cursor to the
3973 current message.
3974 `C-utt'
3975 Make threads for messages in the region.
3976 `mt'
3977 Make threads for messages marked with `*'.
3978 `tr'
3979 Make threads for messages matched to a regular expression.
3980
3981
3982 
3983 File: mew.info, Node: thread-op, Next: Quit, Prev: thread, Up: Virtual
3984
3985 Thread operations
3986 =================
3987
3988 Here are the commands used for moving to thread presentation.
3989
3990 `tp'
3991 Move to the top of the current thread. If the current message is
3992 a top node, move to the top of the next thread.
3993 `tn'
3994 Move to the top of the next thread.
3995 `^'
3996 Move to the parent message of the current message. (Available in
3997 both Summary and Virtual)
3998 `&'
3999 Move to the child message of the current message. (Available in
4000 both Summary and Virtual)
4001 `('
4002 Search backward by one sibling message of the current message.
4003 `)'
4004 Search forward by one sibling message of the current message.
4005
4006
4007 Here are commands to mark messages in a thread.
4008
4009 `t*'
4010 Put the `*' mark all messages of the current sub-thread. Please
4011 refer to *Note target mark:: for more information.
4012 `t$'
4013 Put the `$' mark all messages of the current sub-thread. Please
4014 refer to *Note escape mark:: for more information.
4015 `td'
4016 Put the `D' mark all messages of the current sub-thread. Please
4017 refer to *Note delete mark:: for more information.
4018 `tM-d'
4019 Put the `X' mark all messages of the current sub-thread. Please
4020 refer to *Note delete mark:: for more information.
4021 `to'
4022 Put the `o' mark all messages of the current sub-thread. Please
4023 refer to *Note refile mark:: for more information.
4024
4025 A command to unmark all messages of the current sub-thread is `tu'.
4026
4027
4028 Here are commands to manipulate a thread:
4029
4030 `tSPC'
4031 Hide children and leave the parent only. If its children are
4032 hidden, "+" is displayed on the parent. Also, if this command is
4033 executed on a message whose children are hidden, they appear.
4034 `ta'
4035 Toggle appearance of children for all threads.
4036 `tg'
4037 Graft a thread to a message. To specify which thread is grafted,
4038 type `C-SPC' on the root of the thread. Then move onto your
4039 target message, and typing `tg' grafts the thread to the target
4040 message as children.
4041
4042
4043 If `mew-use-thread-separator' is `t', threads are
4044 distinguished by a separator defined by `mew-thread-separator'
4045 (its default value is "--").
4046
4047
4048
4049 
4050 File: mew.info, Node: Quit, Next: Customize, Prev: thread-op, Up: Top
4051
4052 Give me a break
4053 ***************
4054
4055 Here are how to quit and suspend Mew and how to erase a mode (buffer).
4056
4057 <Summary mode and Virtual mode>
4058
4059 `q'
4060 Suspend Mew then switch to another buffer. All buffers of Mew
4061 remain, so you can resume with buffer operations.
4062 `Q'
4063 Quit Mew. All buffers of Mew are erased.
4064 `C-cC-q'
4065 Erase the current mode (buffer).
4066
4067 <Draft mode and Header mode>
4068
4069 `C-cC-q'
4070 Erase the draft.
4071
4072 <Addrbook mode>
4073
4074 `C-cC-q'
4075 Erase the buffer.
4076
4077
4078
4079 
4080 File: mew.info, Node: Customize, Next: summary-mode, Prev: Quit, Up: Top
4081
4082 Customizing Mew
4083 ***************
4084
4085 Here are explained how to change default setting of Mew and make Mew
4086 your favorite. Edit "~/.mew.el" to do it!
4087
4088 * Menu:
4089
4090 * summary-mode:: Summary mode
4091 * message-mode:: Message mode
4092 * draft-mode:: Draft mode
4093 * charset:: Character set
4094 * highlight:: Highlighting
4095 * hooks:: Hooks
4096 * pop:: POP
4097 * imap:: IMAP
4098 * nntp:: NNTP
4099 * smtp:: SMTP
4100 * config:: Changing receiving/sending behavior
4101 * config2:: The format of configuration
4102 * custom-misc:: Miscellaneous
4103
4104
4105 
4106 File: mew.info, Node: summary-mode, Next: message-mode, Prev: Customize, Up: Customize
4107
4108 Summary mode
4109 ============
4110
4111 You can specify the format of Summary mode by `mew-summary-form'. The
4112 default value is as follows:
4113
4114 (setq mew-summary-form '(type (5 date) " " (14 from) " " t (30 subj) "|" (0 body)))
4115
4116 Like this, `mew-summary-form' is a list of list, symbol, and string.
4117
4118 1. A string is printed as it is.
4119 2. A list consists of an integer and a symbol. The symbol specifies
4120 a function to be called. The name of the function is produced by
4121 concatenating "mew-summary-form-" and the symbol name.
4122 (e.g. `mew-summary-form-date' for the symbol 'date'). Pre-defined
4123 symbols are 'type, 'time, 'date, 'year, 'size, 'from, 'subj and
4124 'body. For more details, see the explanation of the functions
4125 called `mew-summary-form-<symbol>'. The integer specifies the
4126 width of field which will be filled with a return string of the
4127 function. A positive value means padding SPCs on the right if
4128 necessary. A negative value means padding SPCs on the left if
4129 necessary. If a negative value is specified, the corresponding
4130 function must return an ASCII string. 0 means the remaining width
4131 of the line and is treated as a positive value.
4132 3. A symbol is equivalent to (1 symbol).
4133 4. '(mark) is appended to `mew-summary-form' when used.
4134 5. `t' means the position of thread indentation.
4135
4136 An example is as follows:
4137
4138 (setq mew-summary-form
4139 '(type (5 date) " " (-4 size) " " (14 from) " " t (30 subj) "|" (0 body)))
4140
4141 `mew-summary-form-from-me-prefix' is the prefix to be prepend to an
4142 destination address if the message is originated by me. The default is
4143 "To:".
4144
4145
4146 `mew-summary-form-extract-rule' is a list to specify what part to
4147 extract from the From: field. Each element must be 'name, 'comment,
4148 'address, 'nickname, or appropriate "regex". The default value is
4149 '(nickname).
4150
4151 Consider the following examples:
4152
4153 A: Kazu Yamamoto <[email protected]>
4154 B: [email protected] (Kazu Yamamoto)
4155 C: Kazuhiko Yamamoto (Kazu) <[email protected]>
4156
4157 Each element returns the following value:
4158
4159 1. 'name:: Name part, if any
4160 A. Kazu Yamamoto
4161 B. (No match)
4162 C. Kazuhiko Yamamoto (Kazu)
4163 2. 'comment:: Comment part, if any
4164 A: (No match)
4165 B: Kazu Yamamoto
4166 C: (Kazu)
4167 3. 'address:: Address part
4168 A: [email protected]
4169 B: [email protected]
4170 C: [email protected]
4171 4. 'nickname:: one element of personal information in Addrbook
4172 according to `mew-addrbook-for-summary'. The default value of
4173 `mew-addrbook-for-summary' is `'nickname'. So, From: is converted
4174 a nickname by default. To know what kind of value can be used,
4175 refer to *Note draft-mode::.
4176 5. (regex):: The substring first matched.
4177
4178 If a element does not match, the next element is applied. If no
4179 element matches to the From: field, or this value is `nil', the whole
4180 of the From: field is used.
4181
4182
4183 If `mew-summary-form-mark-delete' is `t', the `D' mark
4184 automatically is put onto duplicated messages. The default is
4185 `nil'.
4186
4187
4188 If `mew-summary-form-mark-spam' is `t', the `D' mark automatically is
4189 put onto SPAM messages. A message is considered a SPAM message if the
4190 MD5 checksum of its body is duplicated in a scan. The default is
4191 `nil'.
4192
4193 If `mew-summary-form-mark-review' is `t', the `*' mark
4194 automatically is put onto messages destined to me. The default is
4195 `nil'.
4196
4197
4198 If you want to use Mew with full Emacs frame, set like this.
4199
4200 (setq mew-use-full-window t)
4201
4202
4203 `SPC' in Summary mode decide the next action to view a message
4204 according to `mew-summary-show-direction'. Likewise, you can specify
4205 the cursor direction after putting a strong mark by
4206 `mew-summary-mark-direction'. You can select one from the following
4207 candidates.
4208
4209 `up'
4210 Display the message above.
4211 `down'
4212 Display the message below.
4213 `next'
4214 Display the next message in the direction.
4215 `stop'
4216 Do not display the next message.
4217
4218 The default value for both is `next'. If you read messages from the
4219 bottom, set as follows:
4220
4221 (setq mew-summary-show-direction 'up)
4222
4223
4224 
4225 File: mew.info, Node: message-mode, Next: draft-mode, Prev: summary-mode, Up: Customize
4226
4227 Message mode
4228 ============
4229
4230 It is impossible to display a file to the Message buffer if its data
4231 type is not supported by Emacs. Install an external program which
4232 converts the data to text and you can display the file to the Message
4233 buffer.
4234
4235 Text/Html can be displayed in Message mode, if you add the following
4236 to "~/.mew.el".
4237
4238 (setq mew-use-text/html t) ; decode HTML for all folders
4239
4240 With this, Text/Html can be displayed in Message mode as if it were
4241 Text/Plain. Even in this situation, `C-cC-e' described below is a
4242 valid operation.
4243
4244 By default, Text/Html is displayed using Emacs's built-in HTML
4245 renderer.
4246
4247 Alternatively, you can display Text/Html using the w3m browser.
4248 First, install "w3m" and "emacs-w3m".
4249 (Please note that multilingualized "w3m", not pure
4250 "w3m", is necessary for "wvHtml", "xlhtml", and "ppthtml"
4251 described below.) When you install both of them, add the following to
4252 "~/.mew.el".
4253
4254 (condition-case nil
4255 (require 'mew-w3m)
4256 (file-error nil))
4257
4258 If you install "wvHtml", "xlhtml", and "ppthtml", you can display text
4259 parts of WORD, Excel, and PowerPoint file in Message,
4260 respectively. Since these commands uses HTML, the configuration of
4261 Text/Html above is required. With this, a WORD file, for example, can
4262 be displayed in Message mode as if it were text.
4263
4264 You can display the file with an external application itself instead
4265 of displaying it in the Message buffer. For this, type `C-cC-e'.
4266
4267 You can visualize an image file into the Message buffer. Also, you can
4268 display it with an external application by typing `C-cC-e', of course.
4269
4270 You can display an HTML file to a browser with `C-cC-e'. A default
4271 browser is used on Windows and Mac. On Unix, "mozilla" is set to a
4272 default browser as follows:
4273
4274 (defvar mew-prog-text/html-ext '("mozilla" ("-remote" "openFile(%s)") t))
4275
4276 If you want to set it to "firefox", for example, configure like this:
4277
4278 (setq mew-prog-text/html-ext
4279 '("firefox" ("-a" "firefox" "-remote" "openFile(%s)") t))
4280
4281 You can visualize an Office-family file to each application by typing
4282 `C-cC-e'. On Windows and Mac, an Office-family application is
4283 executed. On Unix, "soffice" is set to the default application as
4284 follows:
4285
4286 (defvar mew-prog-msword-ext "soffice")
4287 (defvar mew-prog-msexcel-ext "soffice")
4288 (defvar mew-prog-mspowerpoint-ext "soffice")
4289
4290 If you want to set it to "xdg-open", for instace, do like this:
4291
4292 (setq mew-prog-msword-ext "xdg-open")
4293 (setq mew-prog-msexcel-ext "xdg-open")
4294 (setq mew-prog-mspowerpoint-ext "xdg-open")
4295
4296 If you want to not visualize an Office-family file into the Message
4297 buffer, but want to display it with "wvHtml", configure as follows:
4298
4299 (setq mew-prog-msword '(nil mew-mime-application/msword))
4300 (setq mew-prog-msexcel '(nil mew-mime-application/msexcel))
4301 (setq mew-prog-mspowerpoint '(nil mew-mime-application/mspowerpoint))
4302
4303 If you want to specify an application instead of the pre-defined
4304 application, type `C-uC-cC-e'.
4305
4306 Recently there are many message whose have Multipart/Alternative,
4307 which consists of Text/Plain and Text/Html. By default, Mew selects
4308 Text/Plain. If you prefer to choose
4309 Text/Html, add the following to "~/.mew.el". (Now, it's a
4310 good idea to get back to *Note multipart:: to review how to use
4311 `:'.)
4312
4313 (setq mew-mime-multipart-alternative-list
4314 '("Text/Html" "Text/Plain" ".*"))
4315
4316 You can decrypt a ZIP attach file and display it with `zz'.
4317
4318
4319 
4320 File: mew.info, Node: draft-mode, Next: charset, Prev: message-mode, Up: Customize
4321
4322 Draft mode
4323 ==========
4324
4325 Define `mew-cc' to use Cc:. When replying, another Cc: field may be
4326 prepared from the target message. If there are multiple Cc: fields,
4327 they are combined to one field on sending.
4328
4329 If you want to receive your originating messages for backup without
4330 specifying your address, use Dcc:. Set your address to `mew-dcc'.
4331
4332 Set header fields that you want to insert every time when you write
4333 messages to `mew-header-alist' as an associate list. The following is
4334 an example.
4335
4336 (setq mew-header-alist
4337 '(("X-fingerprint:" "6B 63 38 88 67 5E 96 8E CE A4 62 73 3F 11 64 94")
4338 ("X-URL:" "http://www.example.org/~kazu/")))
4339
4340 To customize citation label, define field to cite in `mew-cite-fields'
4341 and format in `mew-cite-format'. Define citation prefix to
4342 `mew-cite-prefix'. The default declaration is as follows:
4343
4344 (defvar mew-cite-fields '("From:" "Subject:" "Date:"))
4345 (defvar mew-cite-format "From: %s\nSubject: %s\nDate: %s\n\n")
4346 (defvar mew-cite-prefix "> ")
4347
4348 To add Message-ID: to citation label, take this way.
4349
4350 (setq mew-cite-fields '("From:" "Subject:" "Date:" "Message-ID:"))
4351 (setq mew-cite-format "From: %s\nSubject: %s\nDate: %s\nMessage-ID: %s\n\n")
4352
4353 To add a user part of an address to the citation prefix, configure as
4354 follows:
4355
4356 (setq mew-cite-prefix-function (function mew-cite-prefix-username))
4357
4358 With this, the citation prefix becomes like this:
4359
4360 From: SUMIKAWA Munechika <[email protected]>
4361 Subject: Wine
4362 Date: Wed, 23 Jul 1997 11:40:50 +0900
4363
4364 sumikawa> Hi, it's Sumikawa, the guy who's neat from good morning
4365 sumikawa> to good night.
4366 sumikawa>
4367 sumikawa> Talking about the wonderful wine party, I would propose
4368 sumikawa> Cabernet Sauvignon, Bordeaux, '90.
4369
4370 Both an address in the citation label and the citation prefix can be
4371 converted to an element of a personal information in Addrbook. They
4372 can be configured by `mew-addrbook-for-cite-label' and
4373 `mew-addrbook-for-cite-prefix', respectively. The default values are
4374 `nil' and `'username', respectively. You can set out of the following
4375 values.
4376
4377
4378 'shortname
4379 Short name
4380 'address
4381 Address
4382 'username
4383 User part of address
4384 'nickname
4385 Nickname
4386 'name
4387 Full name
4388
4389 Let's consider the following example.
4390
4391 (setq mew-addrbook-for-cite-label 'nickname)
4392 (setq mew-addrbook-for-cite-prefix 'nickname)
4393
4394 With the first line, an address in the citation label is replaced with
4395 its nickname. The second line indicates that the cite prefix is
4396 replaced with its nickname.
4397
4398 From: sumitch
4399 Subject: Wine
4400 Date: Wed, 23 Jul 1997 11:40:50 +0900
4401
4402 sumitch> Hi, it's Sumikawa, the guy who's neat from good morning
4403 sumitch> to good night.
4404 sumitch>
4405 sumitch> Talking about the wonderful wine party, I would propose
4406 sumitch> Cabernet Sauvignon, Bordeaux, '90.
4407
4408
4409 
4410 File: mew.info, Node: charset, Next: highlight, Prev: draft-mode, Up: Customize
4411
4412 Character set
4413 =============
4414
4415 As described in *Note charset-guess::, Mew automatically chooses an
4416 appropriate charset for the message when composing.
4417
4418 If characters of multiple languages exist, and if it is necessary to use
4419 an international charset, `mew-charset-m17n' is used. Its default
4420 value is "utf-8" (equivalent to Unicode). If you want to set it to
4421 "iso-2022-jp-2", configure like this:
4422
4423 (setq mew-charset-m17n "iso-2022-jp-2")
4424
4425 If you want to check a chosen charset when composing, configure
4426 `mew-ask-charset'.
4427
4428 `nil'
4429 Not ask.
4430 `A list of charset'
4431 Ask if the charset is not a member of the list.
4432 `t'
4433 Ask if `mew-charset-m17n' is used.
4434
4435 For instance, if you want to check when charset other than US-ASCII,
4436 ISO-8859-1, and ISO-8859-15, configure like this:
4437
4438 (setq mew-ask-charset '("us-ascii" "iso-8859-1" "iso-8859-15"))
4439
4440
4441 For example, when "utf-8" is chosen for a message with this
4442 configuration, you are asked like this:
4443
4444 utf-8 is used. OK? (y or n)
4445
4446 Typing `y' makes the composed message sent (or queued). If you type
4447 `n', you will go back to the original draft.
4448
4449 In Europe Latin 9 (ISO-8859-15 or Latin 0), which includes the euro
4450 sign, is getting more and more popular instead of Latin 1
4451 (ISO-8859-1). If characters of both Latin 1 and Lain 9 exist in a
4452 draft, Mew takes the following step to decide a charset.
4453
4454 1. If `unify-8859-on-decoding-mode' is used:
4455 1. Use "iso-8859-1" if no loss.
4456 2. Otherwise, use "utf-8".
4457 2. If `unify-8859-on-decoding-mode' is not used:
4458 1. If both ISO-8859-1 and ISO-8859-15 can be used with no loss,
4459 "ISO-8859-1" is used.
4460 2. Use "iso-8859-1" if no loss.
4461 3. Use "iso-8859-15" if no loss.
4462 4. Otherwise, use "utf-8".
4463
4464 The default value of `mew-charset-latin' is "iso-8859-15". If you want
4465 to set it to "iso-8859-1", configure like this:
4466
4467 (setq mew-charset-latin "iso-8859-1")
4468
4469 If you want to always use UTF-8 for any characters other than
4470 US-ASCII, configure as follows:
4471
4472 (setq mew-cs-database-for-encoding
4473 `(((ascii) nil "7bit" "7bit")
4474 (nil utf-8 "base64" "B")))
4475
4476
4477 
4478 File: mew.info, Node: highlight, Next: hooks, Prev: charset, Up: Customize
4479
4480 Highlighting
4481 ============
4482
4483 If `mew-use-highlight-mark' is `t', marked message are
4484 highlighted. The default is `t'.
4485
4486 If `mew-use-highlight-header' is `t', the header of a message is
4487 highlighted. The default is `t'.
4488
4489 If `mew-use-highlight-body' is `t', the body of a message is
4490 highlighted. The default is `t'. The limit to be highlighted can be
4491 set by `mew-highlight-body-max-size'. The default is 10000 bytes.
4492
4493 If `mew-use-highlight-url' is `t', a spell is cast to URL strings in a
4494 message. So, when you move the cursor onto the URL, it is
4495 highlighted. The default is `t'.
4496
4497 If `mew-use-cursor-mark' is `t', the mark specified `mew-cursor-mark'
4498 is putted to the beginning of the current line. The default is
4499 `nil'. The default of `mew-cursor-mark' is ">".
4500
4501 If `mew-use-highlight-cursor-line' is `t', underline is put on the
4502 cursor line in Summary mode. The default is `t'.
4503
4504 If `mew-use-highlight-mouse-line' is `t' on Emacs which supports mouse
4505 highlight, the mouse line is painted in Summary mode. This is very
4506 convenient to read messages clicking the middle button of the
4507 mouse. The default value is `nil'.
4508
4509 If `mew-use-highlight-x-face' is `t', X-Face: in a header is iconified
4510 in Message mode. The default value is `t'. To use this feature,
4511 install the "netpbm" package and the "compface" package.
4512
4513 To modify colors, copy "dot.theme" contained Mew's source file to
4514 an appropriate place, say "~/.mew-theme.el". First, set
4515 `mew-theme-file' to this file name in ".mew.el" as follows:
4516
4517 (setq mew-theme-file "~/.mew-theme.el")
4518
4519 Then, change the contents. For instance, you can find the following
4520 configuration.
4521
4522 (mew-setface-bold header-subject
4523 :tty "red" :light "Firebrick" :dark "OrangeRed")
4524
4525 The symbol `header-subject' means the value of the "Subject:" field in
4526 a header. :tty is the case where Emacs is executed on a terminal while
4527 :light and :dark indicates the case where the background of Emacs
4528 executed with a window is white and black, respectively.
4529
4530 If you wish green for a terminal, ForestGreen for the white
4531 background, and LimeGreen for the black background, modify the
4532 configuration as follows:
4533
4534 (mew-setface-bold header-subject
4535 :tty "green" :light "ForestGreen" :dark "LimeGreen")
4536
4537 To know what kind of symbols are prepared, see the "dot.mew".
4538
4539 The method above does not prepare symbols for all field names and
4540 field value. So, `mew-header-color' and `mew-header-color-bold' exist
4541 to change colors easily. If you use the latter, characters become
4542 bold. The former results in normal. The following is a typical usage:
4543
4544 (mew-header-color-bold "Subject:" "LimeGreen" "OrangeRed")
4545
4546 With this configuration, "Subject:" becomes bold LimeGreen and its
4547 value turns into bold OrangeRed.
4548
4549 The second method cannot specify the cases of terminal or background.
4550 If you omit the field value color, the field name color is used for
4551 the field value.
4552
4553
4554 
4555 File: mew.info, Node: hooks, Next: pop, Prev: highlight, Up: Customize
4556
4557 Hooks
4558 =====
4559
4560 Here is a summary of hooks used in Mew.
4561
4562 `mew-env-hook'
4563 Hook called at initialize time before setting environment.
4564 `mew-init-hook'
4565 Hook called at initialize time.
4566 `mew-status-update-hook'
4567 Hook called at status update(`Z').
4568 `mew-summary-mode-hook'
4569 Hook called in Summary mode.
4570 `mew-virtual-mode-hook'
4571 Hook called in Virtual mode.
4572 `mew-thread-display-hook'
4573 Hook called after new threads are displayed.
4574 `mew-header-mode-hook'
4575 Hook called in Header mode.
4576 `mew-draft-mode-hook'
4577 Hook called in Draft mode.
4578 `mew-draft-mode-newdraft-hook'
4579 Hook called in Draft mode only when new draft is prepared.
4580 `mew-draft-mode-reedit-hook'
4581 Hook called in Draft mode when a message not in +draft is
4582 re-edited.
4583 `mew-draft-mode-reedit-draft-hook'
4584 Hook called in Draft mode when a message in +draft is re-edited.
4585 `mew-draft-mode-reedit-queue-hook'
4586 Hook called in Draft mode when a message in +queue or +postq is
4587 re-edited.
4588 `mew-draft-mode-edit-again-hook'
4589 Hook called in Draft mode when a message returned with the old
4590 style is edited again.
4591 `mew-message-mode-hook'
4592 Hook called in Message mode.
4593 `mew-message-hook'
4594 Hook called whenever message displayed.
4595 `mew-make-message-hook'
4596 Hook called before making a message in Draft mode. A good example
4597 is as follows: (add-hook 'mew-make-message-hook 'ispell-message)
4598 `mew-send-hook'
4599 Hook called before sending/queuing an e-mail message in Draft
4600 mode. Note that this hook is called before composition of the
4601 message
4602 `mew-post-hook'
4603 Hook called before posting/queuing a NetNews message in Draft
4604 mode. Note that this hook is called before composition of the
4605 message.
4606 `mew-real-send-hook'
4607 Hook called before sending/queuing an e-mail message in Draft
4608 mode. Note that this hook is called after composition of the
4609 message.
4610 `mew-real-post-hook'
4611 Hook called before sending/queuing a NetNews message in Draft
4612 mode. Note that this hook is called after composition of the
4613 message.
4614 `mew-smtp-flush-hook'
4615 Hook called before SMTP runs if messages exist in +queue.
4616 `mew-nntp2-flush-hook'
4617 Hook called before NNTP runs if messages exist in +postq.
4618 `mew-smtp-sentinel-hook'
4619 Hook called when a SMTP process finished.
4620 `mew-nntp-sentinel-hook'
4621 Hook called when a NNTP process to receive messages finished.
4622 `mew-nntp2-sentinel-hook'
4623 Hook called when a NNTP process to post messages finished.
4624 `mew-pop-sentinel-hook'
4625 Hook called when a POP process finished.
4626 `mew-pop-sentinel-non-biff-hook'
4627 Hook called when a non-Biff POP process finished.
4628 `mew-imap-sentinel-hook'
4629 Hook called when a NNTP process to post messages finished.
4630 `mew-imap-sentinel-hook'
4631 Hook called when an IMAP process finished.
4632 `mew-imap-sentinel-non-biff-hook'
4633 Hook called when a non-Biff IMAP process finished.
4634 `mew-scan-sentinel-hook'
4635 Hook called when scan finished.
4636 `mew-summary-ls-no-scan-hook'
4637 Hook called when mew-summary-ls does not scan a folder.
4638 `mew-summary-exec-hook'
4639 Hook called when `x' in Summary mode finished.
4640 `mew-refile-guess-by-from-learn-hook'
4641 Hook called in mew-refile-guess-by-from-learn.
4642 `mew-sort-hook'
4643 Hook called when `M-s' in Summary mode finished.
4644 `mew-pack-hook'
4645 Hook called when `O' in Summary mode finished.
4646 `mew-summary-delete-folder-hook'
4647 Hook called when a folder deleted.
4648 `mew-summary-rename-folder-hook'
4649 Hook called when a folder renamed.
4650 `mew-summary-toggle-disp-msg-hook'
4651 Hook called when `v' in Summary finished.
4652 `mew-syntax-format-hook'
4653 Hook called when mew-syntax-format is called.
4654 `mew-addrbook-mode-hook'
4655 Hook called in Addrbook mode.
4656 `mew-cite-hook'
4657 Hook for an external cite mechanism. If you want to use
4658 super-cite, (setq mew-cite-hook 'sc-cite-original).
4659 `mew-before-cite-hook'
4660 Called in mew-summary-reply-with-citation before citation.
4661 `mew-suspend-hook'
4662 Hook called on suspend.
4663 `mew-quit-hook'
4664 Hook called on quit.
4665
4666 Here are some example configurations of hook
4667
4668 Draft mode evaluates `text-mode-hook' and `mew-draft-mode-hook' in
4669 order. If you do not set `auto-fill-mode' to `text-mode-hook', It
4670 would be useful to define `mew-draft-mode-hook' as follows:
4671
4672 (add-hook 'mew-draft-mode-hook
4673 (lambda ()
4674 (auto-fill-mode 1)
4675 (set-fill-column 70)))
4676
4677 In this example, the number of fill column is also set to 70.
4678
4679
4680 
4681 File: mew.info, Node: pop, Next: imap, Prev: hooks, Up: Customize
4682
4683 POP
4684 ===
4685
4686 Mew can POP to retrieve messages. This section describes following
4687 variables to control POP.
4688
4689 `mew-pop-server'
4690 The name of your POP server.
4691 `mew-pop-ssh-server'
4692 The name of SSH server which forwards the POP3 port.
4693 `mew-pop-ssl'
4694 If non-nil, POP connections are made over SSL.
4695 `mew-pop-ssl-port'
4696 The port for POP over SSL.
4697 `mew-pop-user'
4698 The user name on your POP server. The default is your login name.
4699 `mew-pop-auth'
4700 The authentication method for POP3. 'pass means the
4701 authentication with USER/PASS (i.e. plain password). 'apop means
4702 the authentication with APOP. `t' means SASL according to
4703 `mew-pop-auth-list'. The default is 'apop.
4704 `mew-pop-auth-list'
4705 A list of SASL methods in the preferred order. Currently,
4706 "CRAM-MD5" can be used.
4707 `mew-pop-delete'
4708 Whether or not delete messages on a POP server after retrieval by
4709 POP. If `t', delete the messages. If `nil', retain the messages.
4710 If number N, delete the messages N days after the first
4711 access. The default is `t'.
4712 `mew-pop-size'
4713 The limit size of messages to be retrieved by POP. The default is
4714 55296 byte. 0 means unlimited, so you can get all messages from
4715 the POP server. To know how to retrieve the rest of a truncated
4716 message, please refer to *Note retrieving::.
4717 `mew-pop-body-lines'
4718 *The limit of body lines to get when the size of message exceeds
4719 `mew-pop-size'. The default is 40.
4720 `mew-pop-header-only'
4721 Whether or not the body of a message is retrieved by POP. If
4722 non-nil, only header is retrieved. The default is `nil'
4723
4724
4725 
4726 File: mew.info, Node: imap, Next: nntp, Prev: pop, Up: Customize
4727
4728 IMAP
4729 ====
4730
4731 Mew can use IMAP to retrieve messages. This section describes
4732 following variables to control IMAP.
4733
4734 `mew-imap-server'
4735 The name of your IMAP server.
4736 `mew-imap-ssh-server'
4737 The name of SSH server which forwards the IMAP4 port.
4738 `mew-imap-ssl'
4739 If non-nil, IMAP connections are made over SSL.
4740 `mew-imap-ssl-port'
4741 The port for IMAP over SSL.
4742 `mew-imap-user'
4743 The user name on the IMAP server. The default is your login name.
4744 `mew-imap-auth'
4745 The authentication method for IMAP4. `nil' means the authentication with
4746 LOGIN (i.e. plain password). `t' means SASL according to
4747 `mew-imap-auth-list'. The default is `t'.
4748 `mew-imap-auth-list'
4749 A list of SASL methods in the preferred order. Currently,
4750 "CRAM-MD5" and "LOGIN" can be used.
4751 `mew-imap-delete'
4752 Whether or not delete messages on an IMAP server after retrieval
4753 by IMAP. If `t', delete the messages. If `nil', retain the
4754 messages. If number N, delete the messages N days after the first
4755 access. Otherwise they are not deleted. The default is `t'.
4756 `mew-imap-size'
4757 The limit size of messages to be retrieved by IMAP. The default
4758 is 55296 byte. 0 means unlimited, so you can get all messages
4759 from the IMAP server. To know how to retrieve the rest of a
4760 truncated message, please refer to *Note retrieving::.
4761 `mew-imap-header-only'
4762 Whether or not the body of a message is retrieved by IMAP. If
4763 non-nil, only header is retrieved. The default is `nil'
4764
4765
4766 
4767 File: mew.info, Node: nntp, Next: smtp, Prev: imap, Up: Customize
4768
4769 NNTP
4770 ====
4771
4772 Mew uses NNTP to read/write News articles. This section describes
4773 following variables to control NNTP.
4774
4775 `mew-nntp-server'
4776 The name of your NNTP server.
4777 `mew-nntp-ssh-server'
4778 The name of SSH server which forwards the NNTP port.
4779 `mew-nntp-ssl'
4780 If non-nil, NNTP connections are made over SSL.
4781 `mew-nntp-ssl-port'
4782 The port for NNTP over SSL.
4783 `mew-nntp-user'
4784 The user name on the NNTP server. If non-nil, authentication is
4785 used. (Note that mew-nntp-auth does not exist.)
4786 `mew-nntp-newsgroup'
4787 The name of default Newsgroup.
4788 `mew-nntp-size'
4789 The limit size of messages to be retrieved by NNTP. The default
4790 is 55296 byte. 0 means unlimited, so you can get all messages
4791 from the NNTP server.
4792 `mew-nntp-header-only'
4793 Whether or not the body of a message is retrieved by NNTP. If
4794 non-nil, only header is retrieved.
4795 `mew-nntp-msgid-user'
4796 A user name for creation of Message-Id:. If `nil', the value of
4797 `mew-user' is used. The default is `nil'.
4798 `mew-nntp-msgid-domain'
4799 A domain name for creation of Message-Id:. If `nil', the value of
4800 `mew-mail-domain' is used. The default is `nil'.
4801
4802 A value of Message-Id: for NNTP is created by the following rule:
4803
4804 message-id = *random*.nntp-msgid-user@nntp-msgid-domain
4805
4806
4807 
4808 File: mew.info, Node: smtp, Next: config, Prev: nntp, Up: Customize
4809
4810 SMTP
4811 ====
4812
4813 Mew uses SMTP to send messages. If an SMTP server requires
4814 authentication, Mew automatically asks you to input your
4815 password. This section describes following variables to control SMTP.
4816
4817 `mew-smtp-server'
4818 The name of your SMTP server.
4819 `mew-smtp-port'
4820 The port for SMTP.
4821 `mew-smtp-ssh-server'
4822 The name of SSH server which forwards the SMTP port.
4823 `mew-smtp-ssl'
4824 If non-nil, SMTP connections are made over SSL.
4825 `mew-smtp-ssl-port'
4826 The port for SMTP over SSL.
4827 `mew-smtp-user'
4828 The user name on your SMTP server. If not configured, your e-mail
4829 address is automatically set.
4830 `mew-smtp-auth-list'
4831 A list of SMTP AUTH methods in the preferred order. Currently,
4832 "CRAM-MD5", "PLAIN", and "LOGIN" can be used.
4833 `mew-smtp-helo-domain'
4834 An e-mail domain to tell a SMTP server with HELO/EHLO. The
4835 default is "localhost".
4836 `mew-smtp-mail-from'
4837 The default is `nil'. An e-mail address to tell a SMTP server
4838 with MAIL FROM:. If `nil', an address specified by the From:
4839 field is used.
4840 `mew-smtp-msgid-user'
4841 A user name for creation of Message-Id:. If `nil', the value of
4842 `mew-user' is used. The default is `nil'.
4843 `mew-smtp-msgid-domain'
4844 A domain name for creation of Message-Id:. If `nil', the value of
4845 `mew-mail-domain' is used. The default is `nil'.
4846 `mew-use-8bit'
4847 Whether or not send 8bit text without MIME encoding. If `nil', an
4848 appropriate MIME encoding is applied. The default is `nil'.
4849
4850 A value of Message-Id: for SMTP is created by the following rule:
4851
4852 message-id = *random*.smtp-msgid-user@smtp-msgid-domain
4853
4854 If you want to use Message Submission (SMTP for submission whose port
4855 number is 587), configure as follows:
4856
4857 (setq mew-smtp-port "submission")
4858
4859 Please refer also to SSL (*Note SSL::) and TLS (*Note TLS::).
4860
4861 Some SMTP servers are mis-configured. They requests authentication
4862 though errors occur if passwords are received. Mew automatically ask a
4863 user to input user's password and send it to an SMTP server if it
4864 requires authentication. To get along with such SMTP servers above,
4865 configure as follows:
4866
4867 (setq mew-use-smtp-auth nil)
4868
4869 `mew-use-smtp-auth'
4870 If non-nil, Mew send user's password if an SMTP server requests
4871 authentication. The default value is `t'. If `nil', Mew does not
4872 send user's password even if the (mis-configured) SMTP server
4873 requests authentication.
4874
4875
4876 
4877 File: mew.info, Node: config, Next: config2, Prev: smtp, Up: Customize
4878
4879 Changing receiving/sending behavior
4880 ===================================
4881
4882 With `mew-config-alist', you can differ actions of sending/receiving
4883 messages. Let's look at the following example:
4884
4885 (setq mew-config-alist
4886 '((home
4887 (inbox-folder "+inbox-home")
4888 (pop-server "pop.iij4u.or.jp"))
4889 (ext
4890 (pop-ssh-server "ssh.example.org"))
4891 (default
4892 (proto "%")
4893 (imap-server "imap.example.org")
4894 (pop-server "pop.example.org"))))
4895
4896 This example defines three "cases": "home", "ext", and "default". For
4897 each case, some pair of key and value are defined.
4898
4899 We explain the semantics of `mew-config-alist' with this example.
4900 If the "case" is "home", looking up "pop-server" results in
4901 "pop.iij4u.or.jp". If the "case" is "ext", looking up "pop-server"
4902 results in "pop.example.org" since there is no specified key for the
4903 "case" and the "default" is used. If the "case" is "default",
4904 looking up "pop-server" results in "pop.example.org".
4905
4906 If the "case" is "home", looking up "inbox-folder" results in
4907 "+inbox-home". If the "case" is "ext", looking up "inbox-folder"
4908 results in the value of `mew-inbox-folder' since there is no
4909 specified key for both "ext" and "default". If the "case" is
4910 "default", looking up "inbox-folder" also results in the value of
4911 `mew-inbox-folder'.
4912
4913 "proto" (`mew-proto') is used to specify a folder which is selected
4914 when you type `M-x mew'. (If you input `M-x mew' when Mew is not
4915 executed, ""proto" for the "default" "case" is used. If you type `M-x
4916 mew' when Mew is running, "proto" is chosen according to the value of
4917 the "case".
4918
4919 Candidates of the value are "+", "$", "%", and "-". These means
4920 "+inbox", "$inbox", "%inbox", and "-fj.mail.reader.mew" without
4921 any special configuration.
4922
4923 Each key which can be specified in `mew-config-alist' corresponds to
4924 the variable `mew-"key"'. The following list enumerates such keys.
4925
4926 name, user, mail-domain,
4927 cc, fcc, dcc, reply-to, organization, header-alist, proto,
4928 smtp-server, smtp-port, smtp-ssh-server, smtp-ssl, smtp-ssl-port,
4929 smtp-user, smtp-auth-list,
4930 smtp-msgid-user, smtp-msgid-domain, smtp-helo-domain, smtp-mail-from,
4931 pop-server, pop-port, pop-ssh-server, pop-ssl, pop-ssl-port,
4932 pop-user, pop-auth, pop-auth-list,
4933 pop-size, pop-header-only, pop-delete, pop-body-lines,
4934 pop-proxy-server, pop-proxy-port,
4935 imap-server, imap-port, imap-ssh-server, imap-ssl, imap-ssl-port,
4936 imap-user, imap-auth, imap-auth-list,
4937 imap-size, imap-header-only, imap-delete,
4938 imap-trash-folder, imap-queue-folder, imap-spam-field, imap-spam-word,
4939 imap-proxy-server, imap-proxy-port,
4940 nntp-server, nntp-port, nntp-ssh-server, nntp-ssl, nntp-ssl-port,
4941 nntp-user, nntp-size, nntp-header-only,
4942 nntp-msgid-user, nntp-msgid-domain,
4943 ssl-cert-directory, ssl-verify-level,
4944 inbox-folder, queue-folder, postq-folder,
4945 mailbox-type, mbox-command, mbox-command-arg,
4946 signature-file, content-type, refile-guess-alist,
4947 spam-prog, spam-prog-args, ham-prog, ham-prog-args,
4948 use-old-pgp, pgp-signer, smime-signer, privacy-method,
4949 protect-privacy-always, protect-privacy-always-type,
4950 protect-privacy-encrypted, protect-privacy-encrypted-type,
4951 protect-privacy-with-old-pgp-signature,
4952 use-format-flowed
4953
4954 A value for From: is made of 'name', 'user', and 'mail-domain'
4955 according to the following rule:
4956
4957 from = name <user@mail-domain>
4958
4959 Unless you set `mew-from-list' by yourself, `mew-from-list' is
4960 automatically set collecting 'from' for each "case" according to the
4961 rule above. see *Note cheader::.
4962
4963 Cases configured in `mew-config-alist' can be specified to the
4964 "case". When Mew boots up, both the "case" is "default".
4965
4966 If you want to change the "case", type `C'. You can use completion by
4967 `TAB' and circular completion by `C-cTAB'.
4968
4969 If the "case" is not "default", they are displayed in the mode line of
4970 Summary mode. The following is an example where the "case" is "home".
4971
4972 (Summary home)
4973
4974
4975 In Draft mode, if the "case" is not "default", the value is displayed
4976 in mode line. The following is an example that the "case" is "home".
4977
4978 (Draft home)
4979
4980 To change the "case" of a draft in Draft mode, use `C-cC-o'. Its
4981 header is dynamically modified according to the value of the
4982 'mail-domain' key and the 'header-alist' key. Note that the "case" is
4983 a local variable of the Draft mode.
4984
4985 You can automatically set the "case" in Draft mode.
4986
4987 `mew-case-guess-when-prepared'
4988 If this variable is `t', the "case" is automatically guessed
4989 according `mew-case-guess-alist' when a draft is prepared. The
4990 default is `t'.
4991 `mew-case-guess-when-composed'
4992 If this variable is `t', the "case" is automatically guessed
4993 according `mew-case-guess-alist' when a message is composed. The
4994 default is `nil'.
4995 `mew-case-guess-when-replied'
4996 If this variable is `t', the "case" is automatically guessed
4997 according `mew-case-guess-when-replied-alist' when a draft is
4998 prepared by replying. The default is `t'.
4999
5000 The syntax of `mew-case-guess-alist' and
5001 `mew-case-guess-when-replied-alist' is the same as
5002 `mew-refile-guess-alist'. For more information, please refer to
5003 *Note by-alist::.
5004
5005 When typing `C-cC-c' in Draft mode to send a draft, the "case" in
5006 Draft mode is used to determine an SMTP/NNTP server, etc. When typing
5007 `C-cC-c' in Summary mode to flush messages in +queue/+postq, the
5008 "case" in Summary mode is used even if it is different from the
5009 one which was used in Draft mode. `C-uC-cC-c' in Summary mode let
5010 you specify the "case" to flush messages in +queue/postq.
5011
5012
5013 The following is a summary of commands concerned with the "case".
5014
5015 `C'
5016 In Summary mode, set the "case".
5017 `C-cC-o'
5018 In Draft mode, set the "case" of a draft.
5019
5020
5021 
5022 File: mew.info, Node: config2, Next: custom-misc, Prev: config, Up: Customize
5023
5024 The format of configuration
5025 ===========================
5026
5027 In Mew 6.1, configuration format of "mew.el" is improved. You can use
5028 a new format as well as the old format.
5029
5030 - In the old format, sometime "." appears. In the new fomat, no "."
5031 appears at all. For instance, you can write ("foo" "bar") instead
5032 of ("foo" . "bar").
5033 - In the old format, a numeric port is specified as string. An
5034 example is "25". In the new format, you can write it as
5035 integer. An example is 25. The string is still valid. An example
5036 is "smtp".
5037 - In the old format, the cases and the keys of `mew-config-alist'
5038 are written as string. In the new format, you can specify them as
5039 symbol.
5040
5041 Here is an example of the new format:
5042
5043 (setq mew-config-alist
5044 '((home
5045 (imap-server "imap.example.org")
5046 (imap-ssl t)
5047 (imap-ssl-port 993)
5048 (smtp-server "smtp.example.org")
5049 (smtp-port "submission"))))
5050
5051 Compare this with the following old one:
5052
5053 (setq mew-config-alist
5054 '(("home"
5055 ("imap-server" . "imap.example.org")
5056 ("imap-ssl" . t)
5057 ("imap-ssl-port" . "993")
5058 ("smtp-server" . "smtp.example.org")
5059 ("smtp-port" . "submission"))))
5060
5061 Again, the old format is still valid. You can also mix the new format
5062 and the old format.
5063
5064
5065 
5066 File: mew.info, Node: custom-misc, Next: Tips, Prev: config2, Up: Customize
5067
5068 Miscellaneous
5069 =============
5070
5071 In a certain environment, it would be useful to encode a file with SAMBA
5072 encoding when saving an attached file. For this, set
5073 `mew-use-samba-encoding' to `t'. You can set
5074 `mew-cs-samba' to a character set for the file name. The default is
5075 `shift_jis'.
5076
5077 You can print the current message by typing `#' in Summary mode. A
5078 function for printing can be set to `mew-print-function'. Since its
5079 default value is `ps-print-buffer', a message is converted into a
5080 PostScript file before sent to a printer. You can set your own print
5081 function as follows:
5082
5083 (setq mew-print-function 'my-print-function)
5084
5085 You can set fields in a header to be printed to
5086 `mew-field-for-printing'. Its default value is as follows:
5087
5088 '("Subject:" "From:" "To:" "Cc:" "Date:")
5089
5090 For instance, if you want to print Subject:, From:, and Date: only,
5091 configure as follows:
5092
5093 (setq mew-field-for-printing '("Subject:" "From:" "Date:"))
5094
5095
5096
5097 
5098 File: mew.info, Node: Tips, Next: region, Prev: custom-misc, Up: Top
5099
5100 Advanced usage
5101 **************
5102
5103 * Menu:
5104
5105 * region:: Region
5106 * visiting:: Visiting another buffer
5107 * SSH:: Secure SHell
5108 * SSL:: Secure Socket Layer
5109 * TLS:: Transport Layer Security
5110 * spam:: Spam messages
5111 * spam2:: Spam messages (2)
5112 * addr-warn:: Warning addresses
5113 * biff:: Biff
5114 * edit:: Edit mode
5115
5116
5117 
5118 File: mew.info, Node: region, Next: visiting, Prev: Tips, Up: Tips
5119
5120 Region
5121 ======
5122
5123 In Summary mode, there are commands which work for a region if called
5124 with `C-u'. If a visible region is specified, these commands work for
5125 the region without `C-u'.
5126
5127 For Emacs, you can use the visible region feature by putting the
5128 following into your "~/.emacs".
5129
5130 (transient-mark-mode 1)
5131
5132 Here is a summary of such commands.
5133
5134 `?', `/', `tt', `x', `lx', `ma', `Md', `S', `mlc', `mli', `*', `$', `d', `u'
5135
5136 Also you can specify a repeat count before you call `*', `$', `d', and
5137 `u'. For example, typing `3d' puts the `*' mark onto three
5138 messages. You don't have to type `C-u' before the number.
5139
5140
5141 
5142 File: mew.info, Node: visiting, Next: SSH, Prev: region, Up: Tips
5143
5144 Visiting another buffer
5145 =======================
5146
5147 If you want to move to +queue after making a message and putting it to
5148 +queue with `C-cC-m' in Draft mode, set
5149 `mew-visit-queue-after-sending' to `t'.
5150
5151 If you want to visit to an appropriate inbox after setting the "case"
5152 with `C' in Summary mode, set
5153 `mew-visit-inbox-after-setting-case' to `t'.
5154
5155 If you want to move from Summary mode to a draft (Draft mode) whose
5156 name is the smallest number, type `C-cC-o'.
5157
5158
5159 
5160 File: mew.info, Node: SSH, Next: SSL, Prev: visiting, Up: Tips
5161
5162 Secure SHell
5163 ============
5164
5165 Mew supports SSH version 1 and version 2 and OpenSSH for SSH. You must
5166 execute "ssh" on the command and obtain server's public key before you
5167 use Mew with SSH. That is, you should set up so that you can login the
5168 server with your user password or with the password to decrypt the
5169 secret key of the local machine. Of source, you can omit the password
5170 to decrypt the secret key if you use "ssh-agent".
5171
5172 After that, you should configure SSH variables relating to each
5173 protocol. For example, if you want to use POP over SSH, set
5174 `mew-pop-ssh-server' to your SSH server name.
5175
5176 While a connection is protected by SSH, a picture of a lock is shown
5177 in the mode line.
5178
5179 The implementation of Mew does not allow to use both SSH and SSL/TLS
5180 at the same time. If you need to use SSL/TLS over an SSH tunnel,
5181 please configure SSL/TLS only with Mew and set up an SSH tunnel on a
5182 command line.
5183
5184
5185 
5186 File: mew.info, Node: SSL, Next: TLS, Prev: SSH, Up: Tips
5187
5188 Secure Socket Layer
5189 ===================
5190
5191 Before you use SSL, you should understand the trust model of
5192 certificate authorities (CA). Currently, Mew supports "stunnel"
5193 version 3, 4 and 5 for SSL.
5194
5195 Before you use Mew with SSL, you must be sure that an SSL connection
5196 can be established to your SSL server. Since "stunnel" is linked to
5197 the "openssl" library, you should understand "openssl".
5198
5199 Suppose we use "~/.certs" as a directory where certificates of trusted
5200 CAs are contained. You need to copy PEM-format certificates embedded
5201 in the source of "openssl" to this director. Each name should be
5202 "<hash>.0".
5203
5204 Here we call a sample CA certificate "ca.pem". You can calculate
5205 <hash> as follows:
5206
5207 % openssl x509 -hash -noout -in ca.pem
5208
5209 To copy the certificate, do as follows:
5210
5211 % cp ca.pem ~/.certs/`openssl x509 -hash -noout -in ca.pem`.0
5212
5213 The certificates in the source of "openssl" do not cover all CAs. If
5214 the certificate of your SSL server is signed by another CA, you must
5215 copy the certificate of the CA to the directory. You may be able to
5216 find appropriate certificate from the following page:
5217
5218 http://www.columbia.edu/~ariel/good-certs/ns45/
5219
5220 There are two important Mew variables to control "stunnel".
5221 `mew-ssl-cert-directory' is the directory where you install
5222 certificates of trusted CAs. It's default value if "~/.certs". Also,
5223 you can set the verification level with `mew-ssl-verify-level'. It's
5224 default to 1. The meanings of the values are as follows:
5225
5226 0
5227 No verification.
5228 1
5229 Verify server's certificate if present. If verification failed,
5230 an SSL/TLS connection is not created. If not present, an SSL/TLS
5231 connection is created.
5232 2
5233 Verify server's certificate. If verification failed, an SSL/TLS
5234 connection is not created. If not present, an SSL/TLS connection
5235 is not created.
5236 3
5237 Verify server's certificate which locally installed (not one from
5238 the server).
5239
5240 Then configure SSL-related variables of each protocol. For example, if
5241 you want to use POP over SSL, set `mew-pop-ssl' to `t'.
5242 Also, if its port is not a standard one, configure
5243 `mew-pop-ssl-port'.
5244
5245 (setq mew-pop-ssl t)
5246
5247 To use SSL for SMTP, configure as follows:
5248
5249 (setq mew-smtp-ssl t)
5250
5251 While a connection is protected by SSL, a picture of a lock is shown
5252 in the mode line.
5253
5254
5255 
5256 File: mew.info, Node: TLS, Next: spam, Prev: SSL, Up: Tips
5257
5258 Transport Layer Security
5259 ========================
5260
5261 Mew can use TLS instead of SSL. To enable TLS, Mew relies on
5262 "stunnel", too. So, before using TLS, you should configure
5263 according to the explanations in *Note SSL::.
5264
5265 Then, set the SSL port to the same one of the protocol to be
5266 protected. For instance, configure as follows for POP:
5267
5268 ;; mew-pop-port is default to "pop3" (110)
5269 (setq mew-pop-ssl t)
5270 (setq mew-pop-ssl-port mew-pop-port) ;; The default is "pop3s" (995)
5271
5272 That is, if the SSL port is the same as the port of the protocol to be
5273 protected, TLS is used. Otherwise, SSL is used.
5274
5275 The following is an example to protect Message Submission with TLS.
5276
5277 (setq mew-smtp-port "submission") ;; The default is "smtp" (25)
5278 (setq mew-smtp-ssl t)
5279 (setq mew-smtp-ssl-port mew-smtp-port) ;; The default is 465
5280
5281
5282 
5283 File: mew.info, Node: spam, Next: spam2, Prev: TLS, Up: Tips
5284
5285 Spam messages
5286 =============
5287
5288 (1) In the case where a spam filter is running on your POP server or
5289 your IMAP server.
5290
5291 You can put the `D' mark to spam messages while you are retrieving
5292 messages in +inbox or you are scanning messages in $inbox/%inbox.
5293
5294 If you use "bogofilter", put the following to your "~/.mew.el".
5295
5296 (defun mew-spam-bogofilter (val)
5297 (let ((case-fold-search t))
5298 (if (string-match "yes" val) ?D)))
5299
5300 (setq mew-inbox-action-alist
5301 '(("X-Bogosity:" mew-spam-bogofilter)))
5302
5303 If you want to put the `o' mark so as to be refiled to the +spam
5304 folder, instead of putting to th `D' mark, you should program the
5305 function as follows:
5306
5307 (defun mew-spam-bogofilter (val)
5308 (let ((case-fold-search t))
5309 (if (string-match "yes" val) "+spam")))
5310
5311 If you use "spamassassin", put the following to your "~/.mew.el".
5312
5313 (setq mew-spam: "X-Spam-Flag:")
5314 (defun mew-spam-assassin (val)
5315 (let ((case-fold-search t))
5316 (if (string-match "yes" val) ?D)))
5317
5318 (setq mew-inbox-action-alist
5319 '(("X-Spam-Flag:" mew-spam-assassin)))
5320
5321 In the case where you want to use bsfilter, see a document in the
5322 bsfilter package.
5323
5324
5325 (2) In the case where a spam filter is running in your IMAP server.
5326
5327 You can delete or move spam messages while you are scanning %inbox.
5328 If you use "bogofilter", put the following to your "~/.mew.el".
5329
5330 (setq mew-imap-spam-field "X-Bogosity")
5331 (setq mew-imap-spam-word "Yes")
5332
5333 If `mew-imap-spam-folder' or `mew-imap-trash-folder' is defined, spam
5334 messages are moved to the folder. Otherwise, they are removed.
5335
5336 (3) In the case where you installed "bogofilter" in your local
5337 machine, you can put the `*' mark to spam messages. First you need to
5338 install the following script, say "bogo":
5339
5340 #!/bin/sh
5341
5342 bogofilter -v -T -B $* | grep S
5343
5344 Type `?' and `RET', then specify "bogo", and spam messages are marked
5345 with `*'. After that, you may want to process them with `md' + `x'.
5346
5347 (4) In the case where you use POP and a spam filter does not run on
5348 the POP server but you want to mark spam messages when retrieving
5349
5350 Since bsfilter can be a POP proxy server, you can implement your
5351 policy. See a document in the bsfilter package.
5352
5353
5354 
5355 File: mew.info, Node: spam2, Next: addr-warn, Prev: spam, Up: Tips
5356
5357 Spam messages(2)
5358 ================
5359
5360 If you want to let your filter learn the current message in Summary as
5361 a spam, type `ls'. Likewise type `lh' to let your filter learn it as a
5362 ham (non-spam).
5363
5364 To use these commands, you need to configure four variables in
5365 advance. We consider bogofilter as an example and see three cases.
5366
5367 (2) To let your local filter learn:
5368
5369 (setq mew-spam-prog "bogofilter")
5370 (setq mew-spam-prog-args '("-s" "-N" "-v"))
5371 (setq mew-ham-prog "bogofilter")
5372 (setq mew-ham-prog-args '("-n" "-S" "-v")))
5373
5374 (2) To let your filter on your <server> learn via SSH:
5375
5376 (setq mew-spam-prog "ssh")
5377 (setq mew-spam-prog-args '("<server>" "bogofilter" "-s" "-N" "-v"))
5378 (setq mew-ham-prog "ssh")
5379 (setq mew-ham-prog-args '("<server>" "bogofilter" "-n" "-S" "-v")))
5380
5381 (3) To pass through your <firewall> with SSH and to let your filter on
5382 your <server> learn via SSH:
5383
5384 (setq mew-spam-prog "ssh")
5385 (setq mew-spam-prog-args '("-A" "<firewall>" "ssh" "<server>" "bogofilter" "-s" "-N" "-v"))
5386 (setq mew-ham-prog "ssh")
5387 (setq mew-ham-prog-args '("-A" "<firewall>" "ssh" "<server>" "bogofilter" "-n" "-S" "-v")))
5388
5389 If you use SSH, you need to configure related hosts so that you can
5390 login them without passwords.
5391
5392
5393 
5394 File: mew.info, Node: addr-warn, Next: biff, Prev: spam2, Up: Tips
5395
5396 Warning addresses
5397 =================
5398
5399 Suppose you are writing a message which must be closed in your
5400 company. You might write an non-employee's address by mistake. If you
5401 tells your company's domains, for instance, to Mew, it turns
5402 non-employee's addresses to red.
5403
5404 There are four variables to decide which address should trun red.
5405 They are all a list of strings. Mew takes the following rules:
5406
5407 1. If an address is specified in `mew-safe-addresses', no warning.
5408 2. If the address is specified in `mew-warn-addresses', warning.
5409 3. If its domain is specified in `mew-safe-domains', no warning.
5410 4. If its domain is specified in `mew-warn-domains', warning.
5411 5. If either `mew-warn-addresses' or `mew-safe-domains' defined,
5412 warning.
5413 6. No warning.
5414
5415 Here is an example that an address whose domain is not "@example.org"
5416 turns red.
5417
5418 (setq mew-safe-domains '("example.org"))
5419
5420 If you want "[email protected]" to turn red even its domain is
5421 "@example.org", add the following line.
5422
5423 (setq mew-warn-addresses '("[email protected]"))
5424
5425
5426 
5427 File: mew.info, Node: biff, Next: edit, Prev: addr-warn, Up: Tips
5428
5429 Biff
5430 ====
5431
5432 The functionality to check new messages is called biff. With the
5433 following configuration Mew sees how many new messages have arrived
5434 every 5 minutes.
5435
5436 (setq mew-use-biff t)
5437
5438 If one or more new messages exist, the total number is displayed in
5439 the mode line.
5440
5441 The server and the protocol, which Mew checks, are decided according
5442 to `mew-proto' and the "case" (`mew-case') on boot time.
5443
5444 With the following configuration, Mew beeps when the number of new
5445 messages changes from zero to one or more.
5446
5447 (setq mew-use-biff-bell t)
5448
5449 To change the interval time of biff, set `mew-biff-interval'. Below
5450 is an example to set it to 10 minutes.
5451
5452 (setq mew-biff-interval 10)
5453
5454
5455 
5456 File: mew.info, Node: edit, Next: Convention, Prev: biff, Up: Tips
5457
5458 Edit
5459 ====
5460
5461 Edit mode is a mode to edit a message to generate another new message.
5462 The followings are typical examples:
5463
5464 - Saving a new message with big attachments removed
5465 - Saving a decrypted message whose original one is encrypted with
5466 PGP/MIME or S/MIME
5467
5468 To edit a current message in Edit mode, type `M-e'. Then, a new draft
5469 is prepared like Draft mode. In Edit mode, you can edit a message as
5470 if you were in Draft mode.
5471
5472 To save edited message to a new message, type `C-cC-c' or
5473 `C-cC-m'. They are the exactly same command. To execute one of them,
5474 you are asked a folder to save the new message.
5475
5476 Please take care that you may confuse this command as retry sending
5477 (*Note sum-write::). Retry seinding is to send a message after editing
5478 while Edit mode is to save a message after modifying.
5479
5480 The following is summary of commands relating to Edit mode. To enter
5481 Edit mode from Summary mode, use the following command.
5482
5483 `M-e'
5484 Entering Edit mode with the current message.
5485
5486 The following is a summary of commands in Edit mode.
5487
5488 `C-cC-c'
5489 Saving the edited message to a new message.
5490 `C-cC-m'
5491 The same as `C-cC-c'
5492 `Other commands'
5493 The same as the other commands in Edit mode
5494
5495
5496
5497 
5498 File: mew.info, Node: Convention, Next: Implementation, Prev: edit, Up: Top
5499
5500 E-mail convention
5501 *****************
5502
5503 When you exchange messages with other people, you should obey minimum
5504 manner. It gives a bad impression to the people if you violate the
5505 manner since such messages are hard to read. We always should try to
5506 write concise yet comprehensive explanations and make an effort to
5507 make receivers well-understood.
5508
5509 We should take good care of the following items.
5510
5511 Fill To: and Cc: fields precisely
5512 To: is for target receivers and Cc: is for those who are received
5513 for their information. If his address is not on To:, he might
5514 skip to read the message. We should take care not to deliver to
5515 wrong people by mistaking the addresses.
5516
5517 The number of addresses To: and Cc: should be small
5518 It is discouraged to specify a lot of mail addresses on To: and
5519 Cc:. You should create a mailing-list instead. Or, if necessary,
5520 you should make the destination anonymous (*Note anonymous::).
5521
5522 Write a short and clear summary of body in Subject:
5523 There are people who decide to read contents from their
5524 Subject:. So, they might skip messages with improper Subject:. We
5525 should not write a long subject since it is hard to read.
5526
5527 Cite only necessary sentences
5528 You should not bother to remove unnecessary sentences. With Mew,
5529 citation must be a piece of cake.
5530
5531 Make your signature simple
5532 A long signature is just self-satisfaction.
5533
5534 Do not send prank messages
5535 I do not want to warn this kind of stuff. Nonetheless, someone
5536 sends Happy or Unhappy messages to others. You should understand
5537 that people doubt your character.
5538
5539 Attach data files that the receivers can read
5540 It is text only that you can send without any agreement with the
5541 receivers. If you want to send data files other than text, you
5542 should make an agreement with the receivers. To mailing-list, you
5543 should send text only.
5544
5545 If you wish to learn manner on the Internet more comprehensively,
5546 please refer to RFC1855.
5547
5548
5549
5550 
5551 File: mew.info, Node: Implementation, Next: Avail, Prev: Convention, Up: Top
5552
5553 Implementation Issues
5554 *********************
5555
5556 Why are "mewl" and "mewencode" necessary?
5557 With Mew, you can read throw messages in Summary mode while you
5558 are retrieving messages or listing the messages again. This means
5559 that multiple control flows of program are necessary. To make
5560 multiple control flows by Emacs, the only way is to make a TCP
5561 connection or to execute sub-process (Emacs Lisp does NOT provide
5562 a feature of light weight process). For POP and SMTP, Mew makes a
5563 TCP connection, so they are not a problem. However, to list the
5564 messages in Summary mode again, we have to execute a
5565 command. This is why "mewl" exists. The reason why "mewencode"
5566 exists is just for speed. When I programmed MIME encoding by
5567 Emacs Lisp in several ways, they are too slow to use. So, I
5568 decided to continue to use "mewencode". (If Base64 is implemented
5569 by Emacs, Mew uses the native function.)
5570
5571 Why does the cursor jump onto the end of line when searching(`C-s', `C-r')?
5572 Thread informations are not displayed in Summary mode. This is
5573 because the "invisible" property is dynamically put onto them
5574 when displayed. Strings with this property is not a target of the
5575 string search. But, thread informations of undisplayed lines do
5576 not have this property, so the string search targets them. Then a
5577 matched line is displayed and the "invisible" property is
5578 put. So, it seems to you that the string search matches the end
5579 of the line. Mew puts the "invisible" property for all lines in
5580 Summary mode in background while there are no user key
5581 inputs. When this word is finished, the `*' mark in the right
5582 side of the mode line in Summary mode disappears. In this
5583 situation, string search works exactly as you expect.
5584
5585 MS's mailers can handle file names well if I attach files with Mew 4.3
5586 MS's mailers use "non-standard MS original" encoding to encode
5587 file names. MS mailers should migrate to the standard
5588 encoding. I repeatedly asked MS to do so, but they did not. So,
5589 Mew took the following workaround: Mew basically uses the
5590 standard encoding. In addition, Mew add "MS original parameter"
5591 with file names encoded with "MS original" encoding.
5592
5593
5594
5595
5596 
5597 File: mew.info, Node: Avail, Next: obtain, Prev: Implementation, Up: Top
5598
5599 Availability and mailing-list
5600 *****************************
5601
5602 This chapter describes how to get Mew and related mailing-lists.
5603
5604 * Menu:
5605
5606 * obtain:: How to get Mew?
5607 * ml:: Mailing list
5608
5609
5610 
5611 File: mew.info, Node: obtain, Next: ml, Prev: Avail, Up: Avail
5612
5613 How to get Mew?
5614 ===============
5615
5616 The latest Mew is available from the following repository.
5617
5618 http://www.Mew.org/Release/
5619
5620 If you want to know about Git versions of Mew, please refer to:
5621
5622 http://www.mew.org/en/git/
5623
5624
5625 
5626 File: mew.info, Node: ml, Next: Copyright, Prev: obtain, Up: Avail
5627
5628 Mailing list
5629 ============
5630
5631
5632 If you want to receive release announcements, ask questions, and/or
5633 discuss features in English, please subscribe yourself to mew-en.
5634
5635 https://groups.google.com/forum/#!forum/mew-en
5636
5637
5638
5639 
5640 File: mew.info, Node: Copyright, Next: Variable Index, Prev: ml, Up: Top
5641
5642 Copyright
5643 *********
5644
5645 Mew conforms the following copyright.
5646
5647 Copyright (C) 1994-2018 Mew developing team.
5648 All rights reserved.
5649
5650 Redistribution and use in source and binary forms, with or without
5651 modification, are permitted provided that the following conditions are
5652 met:
5653
5654 1. Redistributions of source code must retain the above copyright
5655 notice, this list of conditions and the following disclaimer.
5656 2. Redistributions in binary form must reproduce the above copyright
5657 notice, this list of conditions and the following disclaimer in
5658 the documentation and/or other materials provided with the
5659 distribution.
5660 3. Neither the name of the team nor the names of its contributors
5661 may be used to endorse or promote products derived from this
5662 software without specific prior written permission.
5663
5664 THIS SOFTWARE IS PROVIDED BY THE TEAM AND CONTRIBUTORS "AS IS" AND ANY
5665 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5666 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
5667 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE TEAM OR CONTRIBUTORS BE
5668 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
5669 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
5670 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
5671 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
5672 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
5673 OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
5674 IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5675
5676 If you wish to distribute Mew in CD or something, please let me
5677 know. I do not go mad even if you do not tell me but I'm very glad if
5678 you do so. I never have declined requirements.
5679
5680 The copyright of this manual belongs to the author. Permission is
5681 granted to copy, modify, redistribute this manual but no warranty.
5682
5683
5684
5685 
5686 File: mew.info, Node: Variable Index, Next: Key Index, Prev: Copyright, Up: Top
5687
5688 Variable Index
5689 **************
5690
5691
5692 * Menu:
5693
5694 * mail-user-agent: Composing. (line 5)
5695 * mail-user-agent: configuration. (line 5)
5696 * mail-user-agent: start. (line 5)
5697 * mew-addrbook-for-cite-label: draft-mode. (line 5)
5698 * mew-addrbook-for-cite-prefix: draft-mode. (line 5)
5699 * mew-addrbook-mode-hook: hooks.
5700 * mew-addrbook-override-by-newone: auto-alias. (line 5)
5701 * mew-ask-charset: charset. (line 5)
5702 * mew-ask-fcc: send. (line 5)
5703 * mew-ask-subject: send. (line 5)
5704 * mew-auto-flush-queue: retrieving. (line 5)
5705 * mew-auto-get: start. (line 5)
5706 * mew-before-cite-hook: hooks.
5707 * mew-biff-interval: biff. (line 5)
5708 * mew-case-guess-alist: config. (line 5)
5709 * mew-case-guess-when-composed: config.
5710 * mew-case-guess-when-prepared: config.
5711 * mew-case-guess-when-replied-alist: config. (line 5)
5712 * mew-case-guess-when-replied: config.
5713 * mew-cc: draft-mode. (line 5)
5714 * mew-charset-latin: charset. (line 5)
5715 * mew-charset-m17n: charset. (line 5)
5716 * mew-cite-fields: draft-mode. (line 5)
5717 * mew-cite-format: draft-mode. (line 5)
5718 * mew-cite-hook: hooks.
5719 * mew-cite-prefix: draft-mode. (line 5)
5720 * mew-cite-prefix-function: draft-mode. (line 5)
5721 * mew-config-alist: config. (line 5)
5722 * mew-config-alist: config2. (line 5)
5723 * mew-cs-samba: custom-misc. (line 5)
5724 * mew-cursor-mark: highlight. (line 5)
5725 * mew-dcc: draft-mode. (line 5)
5726 * mew-debug: status-update. (line 5)
5727 * mew-decode-broken: analysis.
5728 * mew-decode-broken: status-update. (line 5)
5729 * mew-decode-quoted: invalid. (line 5)
5730 * mew-delete-unread-mark-by-mark: unread mark. (line 5)
5731 * mew-draft-mode-edit-again-hook: hooks.
5732 * mew-draft-mode-hook: hooks.
5733 * mew-draft-mode-newdraft-hook: hooks.
5734 * mew-draft-mode-reedit-draft-hook: hooks.
5735 * mew-draft-mode-reedit-hook: hooks.
5736 * mew-draft-mode-reedit-queue-hook: hooks.
5737 * mew-draft-privacy-method: shortcut. (line 5)
5738 * mew-end-of-message-string: multipart. (line 5)
5739 * mew-end-of-part-string: multipart. (line 5)
5740 * mew-env-hook: hooks.
5741 * mew-field-delete-for-forwarding: forward. (line 5)
5742 * mew-field-for-printing: custom-misc. (line 5)
5743 * mew-fields: header. (line 5)
5744 * mew-file-max-size: analysis.
5745 * mew-flowed-auto-wrap: longline. (line 5)
5746 * mew-flowed-fold-length: longline. (line 5)
5747 * mew-flowed-fold-threshold: longline. (line 5)
5748 * mew-from-list: cheader. (line 5)
5749 * mew-ham-prog-args: spam2. (line 5)
5750 * mew-ham-prog: spam2. (line 5)
5751 * mew-header-alist: draft-mode. (line 5)
5752 * mew-header-max-length: analysis.
5753 * mew-header-mode-hook: hooks.
5754 * mew-header-veil-count: features. (line 5)
5755 * mew-highlight-body-max-size: highlight. (line 5)
5756 * mew-imap-auth: imap.
5757 * mew-imap-auth-list: imap.
5758 * mew-imap-delete: imap.
5759 * mew-imap-delete: retrieving. (line 5)
5760 * mew-imap-header-only: imap.
5761 * mew-imap-header-only: retrieving. (line 5)
5762 * mew-imap-sentinel-hook: hooks.
5763 * mew-imap-sentinel-hook: hooks.
5764 * mew-imap-sentinel-non-biff-hook: hooks.
5765 * mew-imap-server: configuration. (line 5)
5766 * mew-imap-server: imap.
5767 * mew-imap-size: imap.
5768 * mew-imap-spam-field: spam. (line 5)
5769 * mew-imap-spam-folder: spam. (line 5)
5770 * mew-imap-spam-word: spam. (line 5)
5771 * mew-imap-ssh-server: imap.
5772 * mew-imap-ssl: imap.
5773 * mew-imap-ssl-port: imap.
5774 * mew-imap-trash-folder: delete mark. (line 5)
5775 * mew-imap-trash-folder-list: delete mark. (line 5)
5776 * mew-imap-user: imap.
5777 * mew-inbox-action-alist: spam. (line 5)
5778 * mew-init-hook: hooks.
5779 * mew-lisp-max-length: auto-alias. (line 5)
5780 * mew-lisp-max-length: by-from. (line 5)
5781 * mew-lisp-max-length: by-thread. (line 5)
5782 * mew-mail-address-list: reply. (line 5)
5783 * mew-mail-domain-list: cheader. (line 5)
5784 * mew-mailbox-type: config. (line 5)
5785 * mew-mailbox-type: configuration. (line 5)
5786 * mew-mailbox-type: retrieving. (line 5)
5787 * mew-mailbox-type: start. (line 5)
5788 * mew-make-message-hook: hooks.
5789 * mew-mbox-command-arg: configuration. (line 5)
5790 * mew-mbox-command: configuration. (line 5)
5791 * mew-message-hook: hooks.
5792 * mew-message-mode-hook: hooks.
5793 * mew-mime-multipart-alternative-list: message-mode. (line 5)
5794 * mew-name: configuration. (line 5)
5795 * mew-nntp-header-only: nntp.
5796 * mew-nntp-header-only: retrieving. (line 5)
5797 * mew-nntp-msgid-domain: nntp.
5798 * mew-nntp-msgid-user: nntp.
5799 * mew-nntp-newsgroup: nntp.
5800 * mew-nntp-sentinel-hook: hooks.
5801 * mew-nntp-server: configuration. (line 5)
5802 * mew-nntp-server: nntp.
5803 * mew-nntp-size: nntp.
5804 * mew-nntp-ssh-server: nntp.
5805 * mew-nntp-ssl: nntp.
5806 * mew-nntp-ssl-port: nntp.
5807 * mew-nntp-user: nntp.
5808 * mew-nntp2-flush-hook: hooks.
5809 * mew-nntp2-sentinel-hook: hooks.
5810 * mew-pack-hook: hooks.
5811 * mew-pick-pattern-list: condition. (line 5)
5812 * mew-pop-auth-list: pop.
5813 * mew-pop-auth: pop.
5814 * mew-pop-body-lines: pop.
5815 * mew-pop-delete: pop.
5816 * mew-pop-delete: retrieving. (line 5)
5817 * mew-pop-header-only: pop.
5818 * mew-pop-header-only: retrieving. (line 5)
5819 * mew-pop-sentinel-hook: hooks.
5820 * mew-pop-sentinel-non-biff-hook: hooks.
5821 * mew-pop-server: pop.
5822 * mew-pop-size: pop.
5823 * mew-pop-ssh-server: SSH. (line 5)
5824 * mew-pop-ssh-server: pop.
5825 * mew-pop-ssl: SSL. (line 5)
5826 * mew-pop-ssl: pop.
5827 * mew-pop-ssl-port: SSL. (line 5)
5828 * mew-pop-ssl-port: pop.
5829 * mew-pop-user: configuration. (line 5)
5830 * mew-pop-user: pop.
5831 * mew-post-hook: hooks.
5832 * mew-print-function: custom-misc. (line 5)
5833 * mew-print-function: features. (line 5)
5834 * mew-prog-gpg: cipher-viewing. (line 5)
5835 * mew-prog-grep: condition. (line 5)
5836 * mew-prog-grep-opts: condition. (line 5)
5837 * mew-prog-msexcel-ext: message-mode. (line 5)
5838 * mew-prog-msexcel: message-mode. (line 5)
5839 * mew-prog-mspowerpoint-ext: message-mode. (line 5)
5840 * mew-prog-mspowerpoint: message-mode. (line 5)
5841 * mew-prog-msword-ext: message-mode. (line 5)
5842 * mew-prog-msword: message-mode. (line 5)
5843 * mew-prog-pgp: cipher-viewing. (line 5)
5844 * mew-prog-pgp2: cipher-viewing. (line 5)
5845 * mew-prog-pgp5: cipher-viewing. (line 5)
5846 * mew-prog-text/html-ext: message-mode. (line 5)
5847 * mew-protect-privacy-always: shortcut. (line 5)
5848 * mew-protect-privacy-always-type: shortcut. (line 5)
5849 * mew-protect-privacy-encrypted: shortcut. (line 5)
5850 * mew-protect-privacy-encrypted-type: shortcut. (line 5)
5851 * mew-protect-privacy-with-old-pgp-signature: shortcut. (line 5)
5852 * mew-proto: config. (line 5)
5853 * mew-proto: configuration. (line 5)
5854 * mew-proto: start. (line 5)
5855 * mew-quit-hook: hooks.
5856 * mew-real-post-hook: hooks.
5857 * mew-real-send-hook: hooks.
5858 * mew-refile-auto-refile-skip-any-mark: auto-refile. (line 5)
5859 * mew-refile-ctrl-multi: guess-rule. (line 5)
5860 * mew-refile-guess-alist: by-alist. (line 5)
5861 * mew-refile-guess-by-from-learn-hook: hooks.
5862 * mew-refile-guess-control: guess-rule. (line 5)
5863 * mew-refile-guess-from-me-is-special: by-from-folder. (line 5)
5864 * mew-refile-guess-from-me-is-special: by-from. (line 5)
5865 * mew-refile-guess-strip-domainpart: by-default. (line 5)
5866 * mew-reply-all-alist: reply. (line 5)
5867 * mew-reply-fromme-alist: reply. (line 5)
5868 * mew-reply-sender-alist: reply. (line 5)
5869 * mew-safe-addresses: addr-warn. (line 5)
5870 * mew-safe-domains: addr-warn. (line 5)
5871 * mew-scan-sentinel-hook: hooks.
5872 * mew-search-method: dbsearch. (line 5)
5873 * mew-send-hook: hooks.
5874 * mew-signature-as-lastpart: cite. (line 5)
5875 * mew-signature-file: cite. (line 5)
5876 * mew-signature-insert-last: cite. (line 5)
5877 * mew-smtp-auth-list: smtp.
5878 * mew-smtp-flush-hook: hooks.
5879 * mew-smtp-helo-domain: smtp.
5880 * mew-smtp-mail-from: smtp.
5881 * mew-smtp-msgid-domain: smtp.
5882 * mew-smtp-msgid-user: smtp.
5883 * mew-smtp-port: smtp.
5884 * mew-smtp-sentinel-hook: hooks.
5885 * mew-smtp-server: configuration. (line 5)
5886 * mew-smtp-server: smtp.
5887 * mew-smtp-ssh-server: smtp.
5888 * mew-smtp-ssl: SSL. (line 5)
5889 * mew-smtp-ssl-port: smtp.
5890 * mew-smtp-ssl: smtp.
5891 * mew-smtp-user: smtp.
5892 * mew-sort-default-key-alist: sorting. (line 5)
5893 * mew-sort-default-key: sorting. (line 5)
5894 * mew-sort-hook: hooks.
5895 * mew-sort-key-alist: sorting. (line 5)
5896 * mew-spam-prog-args: spam2. (line 5)
5897 * mew-spam-prog: spam2. (line 5)
5898 * mew-spam: spam. (line 5)
5899 * mew-ssl-cert-directory: SSL. (line 5)
5900 * mew-ssl-verify-level: SSL. (line 5)
5901 * mew-status-update-hook: hooks.
5902 * mew-summary-delete-folder-hook: hooks.
5903 * mew-summary-exec-hook: hooks.
5904 * mew-summary-form-extract-rule: summary-mode. (line 5)
5905 * mew-summary-form-from-me-prefix: summary-mode. (line 5)
5906 * mew-summary-form-mark-delete: summary-mode. (line 5)
5907 * mew-summary-form-mark-review: summary-mode. (line 5)
5908 * mew-summary-form-mark-spam: summary-mode. (line 5)
5909 * mew-summary-form: summary-mode. (line 5)
5910 * mew-summary-ls-no-scan-hook: hooks.
5911 * mew-summary-mark-direction: summary-mode. (line 5)
5912 * mew-summary-mode-hook: hooks.
5913 * mew-summary-rename-folder-hook: hooks.
5914 * mew-summary-show-direction: summary-mode. (line 5)
5915 * mew-summary-toggle-disp-msg-hook: hooks.
5916 * mew-suspend-hook: hooks.
5917 * mew-syntax-format-hook: hooks.
5918 * mew-theme-file: highlight. (line 5)
5919 * mew-thread-display-hook: hooks.
5920 * mew-thread-separator: thread. (line 5)
5921 * mew-trash-folder: delete mark. (line 5)
5922 * mew-trash-folder-list: delete mark. (line 5)
5923 * mew-use-8bit: smtp.
5924 * mew-use-8bit: status-update. (line 5)
5925 * mew-use-alternative: analysis.
5926 * mew-use-biff-bell: biff. (line 5)
5927 * mew-use-biff: biff. (line 5)
5928 * mew-use-cached-passwd: password. (line 5)
5929 * mew-use-cursor-mark: highlight. (line 5)
5930 * mew-use-fast-refile: by-folder. (line 5)
5931 * mew-use-format-flowed: longline. (line 5)
5932 * mew-use-full-window: summary-mode. (line 5)
5933 * mew-use-header-veil: features. (line 5)
5934 * mew-use-header-veil: status-update. (line 5)
5935 * mew-use-highlight-body: highlight. (line 5)
5936 * mew-use-highlight-cursor-line: highlight. (line 5)
5937 * mew-use-highlight-header: highlight. (line 5)
5938 * mew-use-highlight-mark: highlight. (line 5)
5939 * mew-use-highlight-mouse-line: highlight. (line 5)
5940 * mew-use-highlight-url: highlight. (line 5)
5941 * mew-use-highlight-x-face: highlight. (line 5)
5942 * mew-use-master-passwd: password. (line 5)
5943 * mew-use-node-folder: by-folder. (line 5)
5944 * mew-use-old-pgp: shortcut. (line 5)
5945 * mew-use-old-pgp: status-update. (line 5)
5946 * mew-use-samba-encoding: custom-misc. (line 5)
5947 * mew-use-smtp-auth: smtp.
5948 * mew-use-text-body: analysis.
5949 * mew-use-text/html: analysis.
5950 * mew-use-text/xml: analysis.
5951 * mew-use-thread-separator: thread. (line 5)
5952 * mew-use-unread-mark: unread mark. (line 5)
5953 * mew-user: configuration. (line 5)
5954 * mew-virtual-mode-hook: hooks.
5955 * mew-visit-inbox-after-setting-case: visiting. (line 5)
5956 * mew-visit-queue-after-sending: visiting. (line 5)
5957 * mew-warn-addresses: addr-warn. (line 5)
5958 * mew-warn-domains: addr-warn. (line 5)
5959 * mew-warning-field-level: status-update. (line 5)
5960 * mew-x-pgp-key-list: cipher-viewing. (line 5)
5961 * read-mail-command: configuration. (line 5)
5962
5963
5964
5965 
5966 File: mew.info, Node: Key Index, Prev: Variable Index, Up: Top
5967
5968 Key Index
5969 *********
5970
5971
5972 * Menu:
5973
5974 * A (Summary): Composing. (line 5)
5975 * A (Summary): reply. (line 5)
5976 * A (Summary): sum-write. (line 5)
5977 * B (Attach): mark-b-comp. (line 5)
5978 * B (Summary): features. (line 5)
5979 * C (Attach): charset-guess. (line 5)
5980 * C (Attach): mime-comp. (line 5)
5981 * C (Summary): features. (line 5)
5982 * C-b (Attach): mime-comp. (line 5)
5983 * C-cC-a (Draft): mime-comp. (line 5)
5984 * C-cC-a (Summary): addrbook. (line 5)
5985 * C-cC-a (Summary): features. (line 5)
5986 * C-cC-b (Draft): shortcut. (line 5)
5987 * C-cC-c (Addrbook): addrbook. (line 5)
5988 * C-cC-c (Draft): send. (line 5)
5989 * C-cC-c (Edit): edit. (line 5)
5990 * C-cC-c (Header): resend. (line 5)
5991 * C-cC-c (Summary): off-line. (line 5)
5992 * C-cC-c (Summary): send. (line 5)
5993 * C-cC-e (Draft): shortcut. (line 5)
5994 * C-cC-e (Summary): message-mode. (line 5)
5995 * C-cC-f (Draft): longline. (line 5)
5996 * C-cC-f (Summary): cipher-viewing. (line 5)
5997 * C-cC-l (Draft): cite. (line 5)
5998 * C-cC-l (Summary): invalid. (line 5)
5999 * C-cC-m (Draft): send. (line 5)
6000 * C-cC-m (Edit): edit. (line 5)
6001 * C-cC-m (Header): resend. (line 5)
6002 * C-cC-o (Draft): config. (line 5)
6003 * C-cC-o (Summary): visiting. (line 5)
6004 * C-cC-pC-a (Draft): shortcut. (line 5)
6005 * C-cC-pC-e (Draft): shortcut. (line 5)
6006 * C-cC-pC-f (Draft): longline. (line 5)
6007 * C-cC-pC-m (Draft): shortcut. (line 5)
6008 * C-cC-q (Addrbook): Quit. (line 5)
6009 * C-cC-q (Addrbook): addrbook. (line 5)
6010 * C-cC-q (Draft): Quit. (line 5)
6011 * C-cC-q (Header): Quit. (line 5)
6012 * C-cC-q (Summary): Quit. (line 5)
6013 * C-cC-r (Draft): shortcut. (line 5)
6014 * C-cC-r (Summary): features. (line 5)
6015 * C-cC-s (Draft): shortcut. (line 5)
6016 * C-cC-s (Summary): features. (line 5)
6017 * C-cC-t (Draft): cite. (line 5)
6018 * C-cC-v (Summary): cipher-viewing. (line 5)
6019 * C-cC-v (Summary): features. (line 5)
6020 * C-cC-y (Draft): cite. (line 5)
6021 * C-cC-z (Summary): cipher-viewing. (line 5)
6022 * C-cC-z (Summary): features. (line 5)
6023 * C-cTAB (Draft): cheader. (line 5)
6024 * C-cTAB (Draft): cite. (line 5)
6025 * C-cTAB (Summary): analysis. (line 5)
6026 * C-f (Attach): mime-comp. (line 5)
6027 * C-n (Attach): mime-comp. (line 5)
6028 * C-n (Summary): singlepart. (line 5)
6029 * C-p (Attach): mime-comp. (line 5)
6030 * C-p (Summary): singlepart. (line 5)
6031 * C-u: (Summary): analysis. (line 5)
6032 * C-u. (Summary): analysis. (line 5)
6033 * C-u. (Summary): invalid. (line 5)
6034 * C-u/ (Summary): search. (line 5)
6035 * C-u? (Summary): search. (line 5)
6036 * C-uA (Summary): reply. (line 5)
6037 * C-uC-cC-a (Summary): addrbook. (line 5)
6038 * C-uC-cC-e (Summary): message-mode. (line 5)
6039 * C-uC-cC-f (Summary): cipher-viewing. (line 5)
6040 * C-uC-cC-l (Summary): invalid. (line 5)
6041 * C-uD (Summary): delete mark. (line 5)
6042 * C-uD (Summary): features. (line 5)
6043 * C-uM-n (Summary): keyword. (line 5)
6044 * C-uM-o (Summary): auto-refile. (line 5)
6045 * C-uM-p (Summary): keyword. (line 5)
6046 * C-uM-x mew: start. (line 5)
6047 * C-uSPC (Summary): singlepart. (line 5)
6048 * C-uZ (Summary): status-update. (line 5)
6049 * C-ua (Summary): reply. (line 5)
6050 * C-uj (Summary): singlepart. (line 5)
6051 * C-uk/ (Summary): search. (line 5)
6052 * C-ukI (Summary): dialog. (line 5)
6053 * C-umI (Summary): target mark. (line 5)
6054 * C-un (Summary): singlepart. (line 5)
6055 * C-up (Summary): singlepart. (line 5)
6056 * C-us (Summary): retrieving. (line 5)
6057 * C-utt (Summary): thread. (line 5)
6058 * C-uw (Summary): sum-write. (line 5)
6059 * C-x RET l: charset-guess. (line 5)
6060 * C-xm: Composing. (line 5)
6061 * C-xm: start. (line 5)
6062 * D (Attach): mime-comp. (line 5)
6063 * D (Summary): delete mark. (line 5)
6064 * D (Summary): features. (line 5)
6065 * DEL (Summary): singlepart. (line 5)
6066 * E (Attach): mark-b-comp. (line 5)
6067 * E (Summary): sum-write. (line 5)
6068 * F (Attach): mime-comp. (line 5)
6069 * F (Summary): Composing. (line 5)
6070 * F (Summary): forward. (line 5)
6071 * F (Summary): sum-write. (line 5)
6072 * F (Summary): target mark. (line 5)
6073 * G (Attach): mark-b-comp. (line 5)
6074 * I (Attach): charset-guess. (line 5)
6075 * I (Summary): retrieving. (line 5)
6076 * J (Summary): target mark. (line 5)
6077 * M-RET (Summary): singlepart. (line 5)
6078 * M-\ (Summary): target mark. (line 5)
6079 * M* (Summary): unmark. (line 5)
6080 * M-b (Summary): target mark. (line 5)
6081 * M-d (Summary): delete mark. (line 5)
6082 * M-e (Attach): mark-b-comp. (line 5)
6083 * M-e: edit. (line 5)
6084 * M-l (Summary): features. (line 5)
6085 * M-n (Summary): keyword. (line 5)
6086 * M-o (Summary): auto-refile. (line 5)
6087 * M-p (Summary): keyword. (line 5)
6088 * M-s (Attach): mark-b-comp. (line 5)
6089 * M-s (Summary): sorting. (line 5)
6090 * M-t (Summary): target mark. (line 5)
6091 * M-u: unread mark. (line 5)
6092 * M-x mew: Viewing. (line 5)
6093 * M-x mew-send: Composing. (line 5)
6094 * M-x mew-send: start. (line 5)
6095 * M-x mew: start. (line 5)
6096 * Md (Summary): delete mark. (line 5)
6097 * N (Summary): target mark. (line 5)
6098 * P (Attach): mime-comp. (line 5)
6099 * P (Summary): target mark. (line 5)
6100 * Q (Attach): mark-b-comp. (line 5)
6101 * Q (Summary): Quit. (line 5)
6102 * RET (Summary): singlepart. (line 5)
6103 * Rd (Summary): features. (line 5)
6104 * Rr (Summary): features. (line 5)
6105 * S (Attach): mark-b-comp. (line 5)
6106 * S (Summary): sorting. (line 5)
6107 * SPC (Summary): singlepart. (line 5)
6108 * : (Summary): analysis. (line 5)
6109 * , (Summary): analysis. (line 5)
6110 * . (Summary): analysis. (line 5)
6111 * ; (Summary): features. (line 5)
6112 * = (Summary): features. (line 5)
6113 * | (Summary): features. (line 5)
6114 * # (Summary): features. (line 5)
6115 * _ (Summary): features. (line 5)
6116 * _ (Summary): longline. (line 5)
6117 * / (Summary): search. (line 5)
6118 * ? (Summary): search. (line 5)
6119 * - (Summary): singlepart. (line 5)
6120 * * (Summary): target mark. (line 5)
6121 * T (Attach): mime-comp. (line 5)
6122 * TAB (Draft): header. (line 5)
6123 * U (Attach): mark-b-comp. (line 5)
6124 * U (Summary): unmark. (line 5)
6125 * V (Summary): dialog. (line 5)
6126 * ) (Virtual): thread. (line 5)
6127 * ( (Virtual): thread. (line 5)
6128 * & (Virtual): thread. (line 5)
6129 * ^ (Virtual): thread. (line 5)
6130 * W (Summary): resend. (line 5)
6131 * W (Summary): sum-write. (line 5)
6132 * Z (Attach): mark-b-comp. (line 5)
6133 * Z (Summary): auto-alias. (line 5)
6134 * Z (Summary): status-update. (line 5)
6135 * a (Attach): mime-comp. (line 5)
6136 * a (Summary): Composing. (line 5)
6137 * a (Summary): reply. (line 5)
6138 * a (Summary): sum-write. (line 5)
6139 * b (Summary): features. (line 5)
6140 * c (Attach): mime-comp. (line 5)
6141 * d (Attach): mime-comp. (line 5)
6142 * d (Summary): delete mark. (line 5)
6143 * e (Attach): mime-comp. (line 5)
6144 * f (Attach): mime-comp. (line 5)
6145 * f (Summary): Composing. (line 5)
6146 * f (Summary): forward. (line 5)
6147 * f (Summary): sum-write. (line 5)
6148 * g (Summary): moving. (line 5)
6149 * i (Attach): mime-comp. (line 5)
6150 * i (Summary): retrieving. (line 5)
6151 * i (Summary): send. (line 5)
6152 * j (Summary): singlepart. (line 5)
6153 * k/ (Summary): search. (line 5)
6154 * k? (Summary): search. (line 5)
6155 * kI (Summary): dialog. (line 5)
6156 * kM: dbsearch. (line 5)
6157 * kc: dbsearch. (line 5)
6158 * km: dbsearch. (line 5)
6159 * lc (Summary): copy-msg. (line 5)
6160 * lh (Summary): spam2. (line 5)
6161 * li (Summary): copy-msg. (line 5)
6162 * ls (Summary): spam2. (line 5)
6163 * lx: off-line. (line 5)
6164 * m (Attach): mime-comp. (line 5)
6165 * m* (Summary): mark change. (line 5)
6166 * m$ (Summary): mark change. (line 5)
6167 * m*: escape mark. (line 5)
6168 * m$: escape mark. (line 5)
6169 * mI (Summary): target mark. (line 5)
6170 * mM-d (Summary): delete mark. (line 5)
6171 * mM-d (Summary): mark change. (line 5)
6172 * mM-u (Summary): mark change. (line 5)
6173 * ma (Summary): target mark. (line 5)
6174 * mc (Summary): mark change. (line 5)
6175 * md (Summary): delete mark. (line 5)
6176 * md (Summary): mark change. (line 5)
6177 * mlc (Summary): copy-msg. (line 5)
6178 * mli (Summary): copy-msg. (line 5)
6179 * mo (Summary): mark change. (line 5)
6180 * mr (Summary): target mark. (line 5)
6181 * ms (Summary): mark change. (line 5)
6182 * mt (Summary): thread. (line 5)
6183 * mxM-d (Summary): delete mark. (line 5)
6184 * mxd (Summary): delete mark. (line 5)
6185 * n (Summary): singlepart. (line 5)
6186 * o (Summary): refile mark. (line 5)
6187 * p (Attach): mime-comp. (line 5)
6188 * p (Attach): pgp-key. (line 5)
6189 * p (Summary): singlepart. (line 5)
6190 * q (Summary): Quit. (line 5)
6191 * r (Summary): resend. (line 5)
6192 * s (Summary): off-line. (line 5)
6193 * s (Summary): retrieving. (line 5)
6194 * t (Attach): mime-comp. (line 5)
6195 * t (Virtual): thread. (line 5)
6196 * t* (Virtual): thread. (line 5)
6197 * tM-d (Virtual): thread. (line 5)
6198 * tSPC (Virtual): thread. (line 5)
6199 * ta (Virtual): thread. (line 5)
6200 * td (Virtual): thread. (line 5)
6201 * tg (Virtual): thread. (line 5)
6202 * tn (Virtual): thread. (line 5)
6203 * to (Virtual): thread. (line 5)
6204 * tp (Virtual): thread. (line 5)
6205 * tr (Summary): thread. (line 5)
6206 * tt (Summary): thread. (line 5)
6207 * tu (Virtual): thread. (line 5)
6208 * u (Summary): unmark. (line 5)
6209 * v (Summary): features. (line 5)
6210 * w (Summary): Composing. (line 5)
6211 * w (Summary): sum-write. (line 5)
6212 * x (Summary): Marks. (line 5)
6213 * x (Summary): delete mark. (line 5)
6214 * x (Summary): unmark. (line 5)
6215 * y (Attach): mime-comp. (line 5)
6216 * y (Summary): features. (line 5)
6217 * z8 (Summary): status-update. (line 5)
6218 * zSPC: unread mark. (line 5)
6219 * zc (Summary): status-update. (line 5)
6220 * zd (Summary): status-update. (line 5)
6221 * zo (Summary): status-update. (line 5)
6222 * zp (Summary): status-update. (line 5)
6223 * zv (Summary): features. (line 5)
6224 * zv (Summary): status-update. (line 5)
6225 * zw (Summary): status-update. (line 5)
6226 * zz (Summary): message-mode. (line 5)
6227 
6228 Tag table:
6229 Node: Top285
6230 Node: Overview1499
6231 Node: characteristic2392
6232 Node: Emacsen4118
6233 Node: modes4335
6234 Node: folder convention5102
6235 Node: configuration8154
6236 Node: password10927
6237 Node: start13450
6238 Node: Viewing14618
6239 Node: singlepart15914
6240 Node: multipart17403
6241 Node: analysis20633
6242 Node: cipher-viewing24582
6243 Node: retrieving29608
6244 Node: moving33617
6245 Node: sum-write36265
6246 Node: features38642
6247 Node: status-update41122
6248 Node: invalid42147
6249 Node: Composing44344
6250 Node: header46392
6251 Node: cheader47392
6252 Node: addr-comp49194
6253 Node: addrbook51072
6254 Node: auto-alias54264
6255 Node: addr-comp155983
6256 Node: addr-comp258405
6257 Node: send60622
6258 Node: cite63713
6259 Node: mime-comp65959
6260 Node: charset-guess73306
6261 Node: longline76993
6262 Node: reply78821
6263 Node: forward82639
6264 Node: resend83512
6265 Node: shortcut85585
6266 Node: mark-b-comp91019
6267 Node: pgp-key93984
6268 Node: anonymous94865
6269 Node: Marks96432
6270 Node: unread mark98076
6271 Node: delete mark99577
6272 Node: refile mark101819
6273 Node: target mark103430
6274 Node: escape mark105061
6275 Node: unmark105916
6276 Node: mark change106895
6277 Node: sync108339
6278 Node: off-line109517
6279 Node: mew-mark111367
6280 Node: Refile112089
6281 Node: by-folder113949
6282 Node: by-alist115846
6283 Node: by-thread117929
6284 Node: by-from-folder118783
6285 Node: by-from120140
6286 Node: by-newsgroups121719
6287 Node: by-default122054
6288 Node: guess-rule122508
6289 Node: auto-refile124279
6290 Node: copy-msg126491
6291 Node: Virtual127758
6292 Node: selection129418
6293 Node: sorting130138
6294 Node: dialog131981
6295 Node: search133108
6296 Node: condition134272
6297 Node: dbsearch136511
6298 Node: keyword137735
6299 Node: thread138593
6300 Node: thread-op139853
6301 Node: Quit142019
6302 Node: Customize142568
6303 Node: summary-mode143383
6304 Node: message-mode147542
6305 Node: draft-mode151076
6306 Node: charset154043
6307 Node: highlight156249
6308 Node: hooks159213
6309 Node: pop163762
6310 Node: imap165441
6311 Node: nntp167009
6312 Node: smtp168370
6313 Node: config170855
6314 Node: config2176785
6315 Node: custom-misc178301
6316 Node: Tips179322
6317 Node: region179910
6318 Node: visiting180600
6319 Node: SSH181130
6320 Node: SSL182102
6321 Node: TLS184475
6322 Node: spam185374
6323 Node: spam2187663
6324 Node: addr-warn188997
6325 Node: biff190125
6326 Node: edit190883
6327 Node: Convention192158
6328 Node: Implementation194226
6329 Node: Avail196589
6330 Node: obtain196896
6331 Node: ml197188
6332 Node: Copyright197476
6333 Node: Variable Index199425
6334 Node: Key Index214736
6335 
6336 End tag table