1 \input texinfo @c -*-texinfo -*-
4 @settitle Wanderlust -- Yet Another Message Interface On Emacsen --
7 @documentencoding us-ascii
12 @dircategory GNU Emacs Lisp
14 * Wanderlust: (wl). Yet Another Message Interface On Emacsen
17 @c permissions text appears in an Info file before the first node.
19 This file documents Wanderlust, Yet another message interface on
22 Copyright @copyright{} 1998, 1999, 2000, 2001, 2002 @w{Yuuichi Teranishi},
23 @w{Fujikazu Okunishi}, @w{Masahiro Murata}, @w{Kenichi Okada},
24 @w{Kaoru Takahashi}, @w{Bun Mizuhara} and @w{Masayuki Osada},
25 @w{Katsumi Yamaoka}, @w{Hiroya Murata} and @w{Yoichi Nakayama}.
27 This edition is for Wanderlust version @value{VERSION}.
29 Permission is granted to make and distribute verbatim copies of this
30 manual provided the copyright notice and this permission notice are
31 preserved on all copies.
34 Permission is granted to process this file through TeX and print the
35 results, provided the printed document carries copying permission notice
36 identical to this one except for the removal of this paragraph (this
37 paragraph not being relevant to the printed manual).
40 Permission is granted to copy and distribute modified versions of this
41 manual under the conditions for verbatim copying, provided that the
42 entire resulting derived work is distributed under the terms of a
43 permission notice identical to this one.
45 Permission is granted to copy and distribute translations of this manual
46 into another language, under the above conditions for modified versions.
52 @title Wanderlust User's Manual
53 @subtitle Yet another message interface on Emacsen
54 @subtitle for Wanderlust version @value{VERSION}
55 @author Yuuichi Teranishi
56 @author Fujikazu Okunishi
57 @author Masahiro Murata
59 @author Kaoru Takahashi
61 @author Masayuki Osada
62 @author Katsumi Yamaoka
64 @author Yoichi Nakayama
67 @vskip 0pt plus 1filll
68 Copyright @copyright{} 1998, 1999, 2000, 2001, 2002 @w{Yuuichi Teranishi},
69 @w{Fujikazu Okunishi}, @w{Masahiro Murata}, @w{Kenichi Okada},
70 @w{Kaoru Takahashi}, @w{Bun Mizuhara}, @w{Masayuki Osada},
71 @w{Katsumi Yamaoka}, @w{Hiroya Murata} and @w{Yoichi Nakayama}.
73 This manual is for Wanderlust version @value{VERSION}.
75 Permission is granted to make and distribute verbatim copies of this
76 manual provided the copyright notice and this permission notice are
77 preserved on all copies.
79 Permission is granted to copy and distribute modified versions of this
80 manual under the conditions for verbatim copying, provided that the
81 entire resulting derived work is distributed under the terms of a
82 permission notice identical to this one.
84 Permission is granted to copy and distribute translations of this manual
85 into another language, under the above conditions for modified versions.
91 @node Top, Introduction, (dir), (dir)
92 @top Wanderlust User's Manual
107 This manual is for Wanderlust @value{VERSION}.
112 * Introduction:: Read this first
113 * Start Me Up:: Invoking Wanderlust
114 * Folders:: How to specify folders
115 * Folder:: Selecting and editing folders
116 * Summary:: Reading and refiling messages
117 * Message:: Saving and playing MIME multipart entities
118 * Draft:: Draft buffer, sending mail and news
119 * Disconnected Operations:: Off-Line management
120 * Expire and Archive:: Automatic expiration and archiving of messages
121 * Scoring:: Score of the messages
122 * Address Book:: Management of Address Book
123 * Customization:: Customizing Wanderlust
124 * Mailing List:: Wanderlust mailing list
125 * Addition:: Additional Information
130 @node Introduction, Start Me Up, Top, Top
131 @chapter Introduction of Wanderlust
134 Wanderlust is an mail/news management system on Emacsen.
135 It supports IMAP4rev1(RFC2060), NNTP, POP and local message files.
137 The main features of Wanderlust:
140 @item Pure elisp implementation.
141 @item Supports IMAP4rev1, NNTP, POP(POP3/APOP), MH and Maildir format.
142 @item Unified access method to messages based on Mew-like Folder Specification.
143 @item Mew-like Key-bind and mark handling.
144 @item Manages unread messages.
145 @item Interactive thread display.
146 @item Folder Mode shows the list of subscribed folders.
147 @item Message Cache, Disconnected Operation (Read Only).
148 @item MH-like FCC. (FCC: %Backup and FCC: $Backup is allowed).
149 @item MIME compliant (by SEMI).
150 @item Transmission of news and mail are unified by Message transmitting draft.
151 @item Graphical list of folders (XEmacs and Emacs 21).
152 @item View a part of message without retrieving the whole message (IMAP4).
153 @item Server-side message look up (IMAP4). Multi-byte characters are allowed.
154 @item Virtual Folders.
155 @item Supports compressed folder using common archiving utilities.
156 @item Old articles in folders are automatically removed/archived (Expiration).
157 @item Automatic re-file.
158 @item Template function makes it convenient to send fixed form messages.
164 Wanderlust is supposed to run on following Emacsen:
167 @item Mule 2.3 based on Emacs 19.34
168 @item Emacs 20.2 or later
169 @item XEmacs 20.4 or later
170 @item Meadow 1.00 or later
171 @item NTEmacs 20.4 or later
175 IMAP4 connectivity with following imapd are confirmed to work with
179 @item UW imapd 4.1--4.7, 4.7a, 4.7b, 4.7c, 2000 or later
180 @item Cyrus imapd 1.4, 1.5.19, 1.6.22--1.6.24, 2.0.5 or later
181 @item Courier-IMAP 1.3.2 or later
182 @item AIR MAIL (AIRC imapd release 2.00)
184 @item Microsoft Exchange Server 5.5
185 @item Sun Internet Mail Server 3.5, 3.5.alpha, 4.0
188 LDAP connectivity with following LDAPd are confirmed to work with
192 @item OpenLDAP 2.0.6 or later
196 @node Start Me Up, Folders, Introduction, Top
197 @chapter Start up Wanderlust
200 The necessary procedure for starting Wanderlust is explained in steps
203 (Of course, you need a mail/news readable environment in advance)
206 * MIME Modules:: Installing the MIME modules
207 * Download:: Download and extract the packages
208 * Install:: Byte-compile and install
209 * Minimal Settings:: @file{.emacs} setup
210 * Folder Definition:: Folder definition
211 * Start Wanderlust:: Starting Wanderlust
215 @node MIME Modules, Download, Start Me Up, Start Me Up
216 @section Installing MIME modules
222 SEMI must be installed to make Wanderlust work correctly.
224 SEMI can be downloaded from these sites:
228 SEMI: ftp://ftp.m17n.org/pub/mule/semi/
232 You need packages named APEL and FLIM to use SEMI.
233 You can download APEL and FLIM from following URLs:
237 APEL: ftp://ftp.m17n.org/pub/mule/apel/
238 FLIM: ftp://ftp.m17n.org/pub/mule/flim/
242 You have to install APEL, FLIM and SEMI in this order. Generally,
243 @samp{make install} will do the job. (In XEmacs 21, @samp{make
246 Refer to the documents of each package for detailed installation
247 procedure @footnote{If you want to use SEMI on Emacs 19.34. @*
248 @uref{http://www.jpl.org/elips/INSTALL-SEMI-ja.html} (In Japanese)
252 Recommended combination of APEL, FLIM and SEMI are following:
255 @item APEL 10.3, FLIM 1.14.3 and SEMI 1.14.3
258 You can also use many other FLIM/SEMI variants. Combination of the
259 latest versions should work. For example, the following combination are
263 @item APEL 10.2, Chao 1.14.1, REMI 1.14.2
264 @item APEL 10.2, SLIM 1.14.3, EMY 1.13.9
267 You have to re-install Wanderlust if you upgraded APEL, FLIM or SEMI.
270 @node Download, Install, MIME Modules, Start Me Up
271 @section Download and Extract the Package
274 You can download Wanderlust package from following sites:
278 ftp://ftp.gohome.org/wl/
281 Mirrored ftp/http sites:
285 ftp://ftp.jaist.ac.jp/pub/GNU/elisp/ftp.gohome.org/wl/
286 http://www.jpl.org/elips/wl/
287 http://www.ring.gr.jp/archives/text/elisp/wl/
288 ftp://ftp.ring.gr.jp/pub/text/elisp/wl/
289 ftp://opaopa.org/pub/mirror/elisp/wl/
290 @c ftp://roguelife.org/pub/tsumura/wl/
294 Extract the obtained package to your working directory:
299 % tar zxvf wl-@var{version}.tar.gz
300 % cd wl-@var{version}
304 @subsection To use SSL (Secure Socket Layer)
309 SSL (Secure Socket Layer) can be used for
310 SMTP, IMAP, NNTP and POP connections in Wanderlust.
312 There are two ways to use SSL. One is to start SSL negotiation just
313 after the connection establishment (generic way). The other one is to
314 start SSL negotiation by invoking STARTTLS command in the each session.
316 To use the formal SSL (generic SSL), you must set @env{PATH} to the
317 directory that OpenSSL commands are installed.
319 To use the latter SSL(STARTTLS), you must install starttls package in
321 You can download starttls package from the following site.
324 ftp://opaopa.org/pub/elisp/
327 @node Install, Minimal Settings, Download, Start Me Up
328 @section Byte-compile and install
335 @subsection Installation
337 Edit @code{LISPDIR} and @code{EMACS} in @file{Makefile}.
338 Set the Emacs's command name to @code{EMACS}.
339 Set package installation directory to @code{LISPDIR}.
340 Then, please execute following commands.
349 Destination directory is auto-probed if you leave @code{LISPDIR}
350 in @file{Makefile} as is. (That is, leave it as @samp{NONE})
352 If you are using an Emacs variant which does not merge specified directory
353 to @code{load-path} (e.g. Mule 2.3 based on Emacs 19.28),
354 then you will see the error message:
357 Cannot open load file: mime-setup
361 In this case, either add destination directories of custom, APEL, FLIM
362 and SEMI to environmental variable @env{EMACSLOADPATH}, or define
363 @code{load-path} in @file{WL-CFG} in extracted directory.
365 If you want to use BBDB, then the necessary modules are byte-compiled
366 and installed when BBDB directory is added to @code{load-path}.
369 @subsection @file{WL-CFG}
371 Contents of the file @file{WL-CFG} is loaded under installation if a file
372 with that name exists in extracted directory. You can use @file{WL-CFG} to
373 configure @code{load-path} to extra packages such as SEMI if needed.
375 If you want to specify the install directory of Wanderlust related
376 files, then set following variables in @file{WL-CFG}
380 A directory to install WL modules.
381 This directory is relative directory from @code{LISPDIR}.
382 WL modules include @file{wl*.el}, @file{wl*.elc} files.
383 @c Modules under the directory @file{util/} are also installed if
384 @c it detected as necessary.
387 A directory to install ELMO modules.
388 This directory is relative directory from @code{LISPDIR}.
389 ELMO modules include @file{elmo*.el}, @file{elmo*.elc} files.
390 @c @file{utf7.el}, @file{utf7.elc} are also included in the ELMO.
394 Default value of @code{WL_PREFIX} and @code{ELMO_PREFIX} are @file{wl}.
396 If you want to install ELMO related files under a sub-directory
397 such as "elmo" then add following to @file{WL-CFG}:
400 (setq ELMO_PREFIX "elmo")
403 @subsection Install as a XEmacs package
404 @cindex XEmacs package
405 @cindex XEmacs package install
406 @cindex Package, XEmacs
407 @cindex Package install, XEmacs
408 @c @cindex install-package
410 It is possible to install Wanderlust as one of packages of XEmacs (21.0
411 or later). Configuration for autoload and icon-path in local
412 @file{~/.emacs} files are no longer necessary, if you install Wanderlust
415 Follow the next example to install Wanderlust as an XEmacs package.
421 % make install-package
425 package directory is auto-probed, if SEMI is installed.
426 (you can also specify it with @code{PACKAGEDIR} in @file{Makefile})
428 @subsection Run in place
430 If wl and elmo directories are defined in @code{load-path}, then
431 byte-compilation and installation are not necessary to start Wanderlust.
432 For example, if package is extracted in @file{~/work}, Wanderlust can be
433 invoked with following setting in @file{~/.emacs}.
437 (add-to-list 'load-path "~/work/wl-@var{version}/wl")
438 (add-to-list 'load-path "~/work/wl-@var{version}/elmo")
444 Manual is described in Info format. Please do following.
453 If you install Wanderlust as a XEmacs package, Info file is already
454 installed too, so there are no need of these commands.
456 Manual directory is automatically detected. Of course, it can be
457 configured by @code{INFODIR} in @file{Makefile}.
459 You can read manual at the following URL:
462 http://www.gohome.org/wl/doc/wl_toc.html
465 @node Minimal Settings, Folder Definition, Install, Start Me Up
466 @section Set up .emacs
467 @cindex Minimal Settings
469 @cindex Configuration
473 The Wanderlust package contains two module groups.
476 @item ELMO (elmo-*.el)
477 These modules show everything as folders. This is the back-end for WL.
479 These modules controls the behavior of main body of Wanderlust.
480 They are also the front-end for ELMO.
483 You can customize the behavior of Wanderlust by changing the value
484 of environmental variables which begins with @code{elmo-} and @code{wl-}.
486 The minimal requirement for settings is as the following.
490 ;; @r{The setting to use SEMI}
491 (require 'mime-setup)
493 ;; @r{autoload configuration}
494 ;; @r{(These are not required if Wanderlust is installed as XEmacs package)}
495 (autoload 'wl "wl" "Wanderlust" t)
496 (autoload 'wl-other-frame "wl" "Wanderlust on new frame." t)
497 (autoload 'wl-draft "wl-draft" "Write draft with Wanderlust." t)
499 ;; @r{Directory where icons are placed.}
500 ;; @r{Default: the peculiar value to the running version of Emacs.}
501 ;; @r{(This is not required if the default value has been set properly)}
502 (setq wl-icon-directory "~/work/wl/etc")
504 ;; @r{SMTP server for mail posting. Default: @code{nil}}
505 (setq wl-smtp-posting-server "your.smtp.example.com")
506 ;; @r{NNTP server for news posting. Default: @code{nil}}
507 (setq wl-nntp-posting-server "your.nntp.example.com")
511 @file{~/.wl} is automatically loaded when Wanderlust starts up (if such a
512 file exists). So it is convenient to gather Wanderlust specific settings
513 in @file{~/.wl}. Settings for "face" must be written in @file{~/.wl},
514 because you can't write them in @file{.emacs}
515 (if you write it to @file{.emacs}, you'll get an error).
518 All above described settings except @samp{(require 'mime-setup)} and autoload
519 configuration can be written in
522 @subsection @code{mail-user-agent}
523 @cindex Default Mailer
524 @cindex Mailer, Default
525 @vindex mail-user-agent
528 If you write following setting in you @file{.emacs}, you can
529 start Wanderlust draft mode by typing @kbd{C-x m} (@code{compose-mail}).
530 This means it enables you to run Wanderlust as a default mail composer
533 It is effective only when your Emacs can define @code{mail-user-agent}.
534 @xref{Mail Methods, , ,emacs-ja, The Emacs Editor}.
538 (autoload 'wl-user-agent-compose "wl-draft" nil t)
539 (if (boundp 'mail-user-agent)
540 (setq mail-user-agent 'wl-user-agent))
541 (if (fboundp 'define-mail-user-agent)
542 (define-mail-user-agent
544 'wl-user-agent-compose
553 @node Folder Definition, Start Wanderlust, Minimal Settings, Start Me Up
554 @section Folder Definition
555 @cindex Folder Definition
558 You can skip this section because it is possible to add/edit the
559 subscribe folders from the buffer for list of folders.
560 @xref{Folder Manager}.
562 Define the folders you want to subscribe in file @file{~/.folders}. The
563 contents written in @file{~/.folders} become the folders which you
564 subscribe to as it is.
566 Format for @file{~/.folders} is very simple. Here is an example:
571 # @r{Lines begin with @samp{#} are comment.}
572 # @r{Empty lines are ignored}
574 # @var{folder name} "@var{folder nickname}"
575 # @r{(nicknames are not necessary)}
580 %#mh/Backup@@my.imap.example.com "Sent"
583 %#mh/spool/wl "Wanderlust ML"
584 %#mh/spool/elips "ELIPS ML"
585 %#mh/spool/apel-ja "APEL Japanese ML"
586 %#mh/spool/xemacs-beta "XEmacs beta"
587 -fj.news.reader.gnus@@other.nntp.example.com "Gnus Net news"
588 *-fj.editor.xemacs,-fj.editor.mule,-fj.editor.emacs "fj's Emacsen"
591 # @r{If folder name ends with @samp{/}, that means an `access group',}
592 # @r{all subfolders automatically included in one folder group.}
594 %#mh/expire@@localhost /
595 # @r{All MH folders are included in one folder group.}
600 Each line contains one folder you want to read. The definition of
601 folders will be explained in detail in the next section.
603 The part surrounded by @samp{@var{group name}@{} and @samp{@}} will
604 become one folder group. One folder group is treated as a directory
605 which can be opened and closed in folder mode. It is convenient for
606 collecting some folders and putting them in order.
608 Please note that @samp{@var{group name}@{} and @samp{@}} occupies one
609 line and you have to write it that way (It is because the parser sucks).
611 There are two types of groups. One is like @samp{Emacsen} from above
612 example which the user chooses his favorite folders as a group.
614 The other one is @dfn{access group} like @samp{+ /} from above example.
615 It makes all the sub-folders in a folder to a group. (It differs from
616 the type of the folder. For example, @samp{+} followed by @samp{/}
617 makes entire MH sub-directories to one group)
619 This behavior is better understood if you try it and confirmed the
620 function first. You can write and try a small folder definition, so you
621 will know the idea of the folder function before writing the real one.
623 @node Start Wanderlust, , Folder Definition, Start Me Up
624 @section Start Wanderlust
625 @cindex Start Wanderlust
627 If installation and configuration worked well, you can invoke Wanderlust by
628 typing following command in Emacs.
635 After initialization, Folder Mode which shows the list of folders will appear.
636 That means the folders you defined in the @file{~/.folders} are listed
637 If you start Wanderlust with prefix argument like @kbd{C-u M-x wl}, you
638 can skip folder checking.
640 Basically, you will handle messages in wanderlust while you come and go
641 from/to each of the following buffers.
645 You can see the list of folders. You can select some folder and go into the summary
646 of it. You can subscribe new folder or edit subscription list.
648 You can see the list of messages in the folder. You can select message and view its
649 contents, and reply to some message. You can delete ones or move ones to another
652 You can see the contents of the message. You can save part to disk or open in external
655 You can edit message.
658 Details of each ones are explained later.
661 @node Folders, Folder, Start Me Up, Top
662 @chapter Wanderlust's folders
665 This chapter describes the folder types which Wanderlust is able to handle.
667 Wanderlust uses ELMO as it's interface, so every folder types supported
668 by ELMO is usable in Wanderlust.
670 As of version @value{VERSION}, 11 types of folders are predefined. These are
671 IMAP, NNTP, LocalDir(MH), Maildir, News Spool, Archive, POP, Multi, Filter,
672 Pipe and Internal folder types.
675 * IMAP Folder:: @samp{%} -- IMAP folder
676 * NNTP Folder:: @samp{-} -- NNTP folder
677 * MH Folder:: @samp{+} -- MH folder
678 * Maildir Folder:: @samp{.} -- Maildir folder
679 * News Spool Folder:: @samp{=} -- News spool folder
680 * Archive Folder:: @samp{$} -- Archive folder
681 * POP Folder:: @samp{&} -- POP folder
682 * Shimbun Folder:: @samp{@@} -- Shimbun Folder
683 * Namazu Folder:: @samp{[} -- Namazu Folder
684 * Multi Folder:: @samp{*} -- Multi folder
685 * Filter Folder:: @samp{/} -- Filter folder
686 * Pipe Folder:: @samp{|} -- Pipe folder
687 * Internal Folder:: @samp{'} -- Internal folder
691 @node IMAP Folder, NNTP Folder, Folders, Folders
699 A folder to access e-mails via IMAP4rev1 protocol (RFC 2060).
705 @samp{%} @var{mailbox} [@samp{:} @var{username} [@samp{/} @var{authenticate-type}]][@samp{@@} @var{hostname}][@samp{:} @var{port}][@samp{!}]
709 You can specify @code{login} (encoded password transmission),
710 @code{cram-md5} (CRAM-MD5 authentication), @code{digest-md5} (DIGEST-MD5
711 authentication) or @code{clear} (or @code{nil}, plain password
712 transmission) as @var{authenticate-type}.
717 @var{username} -> The value of @code{elmo-imap4-default-user}.
718 Initial setting is @env{USER} environment variable or
719 @env{LOGNAME} environment variable or return value of
720 @code{(user-login-name)}.
721 @var{authenticate-type} -> The value of @code{elmo-imap4-default-authenticate-type}.
722 Initial setting is "auth".
723 @var{hostname} -> The value of @code{elmo-imap4-default-server}.
724 Initial setting is "localhost".
725 @var{port} -> The value of @code{elmo-imap4-default-port}.
726 Initial setting is 143.
729 You can omit the @var{hostname} from folder names if you set
730 @code{elmo-imap4-default-server} as your main IMAP server.
731 For example, you can specify a folder as @samp{foo%imap@@gateway} even
732 if you have to go through a firewall.
736 ;; @r{Example: imap4.exaple.org as main IMAP server}
737 (setq elmo-imap4-default-server "imap4.example.org")
741 SSL (Secure Socket Layer) connection will be used if a folder name ends
742 with @samp{!}. Or, if the value of @code{elmo-imap4-default-stream-type}
743 is @code{ssl}, SSL will be the default connection. If a folder name
744 ends with @samp{!!}, STARTTLS connection will be established. If the
745 value of @code{elmo-imap4-default-stream-type} is @code{starttls},
746 STARTTLS will be the default connection.
750 ;; @r{Example: Use SSL connection}
751 (setq elmo-imap4-default-stream-type 'ssl)
755 If you specify @code{login}, @code{cram-md5} or @code{digest-md5} as
756 authentication method, the password is sent in encoded form. But, if
757 your server is unable to receive an encoded password, authentication
758 will fall back to @code{clear} (that is, sending password in raw format)
759 after confirmation to user. If @code{elmo-imap4-force-login} is non-nil,
760 authentication will fall back to @code{clear} without confirmation
761 (default value is @code{nil}).
765 ;; @r{Example: password in raw format}
766 (setq elmo-imap4-default-authenticate-type 'clear)
774 %inbox -> IMAP mailbox "inbox"
775 %#mh/inbox -> IMAP mailbox "#mh/inbox"
777 %inbox:hoge -> IMAP mailbox "inbox" of user "hoge".
778 %inbox:hoge/clear@@server1
779 -> server1's IMAP mailbox "inbox"
780 of user "hoge", with plain password authentication
785 @subsection International mailbox names (Modified UTF7)
786 @cindex Modified UTF7
793 You can use international mailbox names in @var{mailbox} part, if you
794 are using Emacs which can treat unicode and
795 @code{elmo-imap4-use-modified-utf7} is set to non-nil value (default
796 value is @code{nil}).
798 Currently, following Emacsen can treat unicode.
801 @item Emacs 20.3 or later + Mule-UCS
803 If you installed Mule-UCS package, Emacs can treat unicode.
804 You can obtain Mule-UCS package from following URL.
807 ftp://ftp.m17n.org/pub/mule/Mule-UCS/
810 @item XEmacs 21.2.13 or later + ucs-conv package
812 By default, XEmacs 21 cannot treat unicodes, but if you installed
813 ucs-conv package, it can.
814 You can obtain ucs-conv package from following anonymous CVS.
818 cvs -d :pserver:anonymous@@cvs.m17n.org:/cvs/root login
819 Password: @var{NULL} (Just enter return key)
820 cvs -d :pserver:anonymous@@cvs.m17n.org:/cvs/root checkout ucs-conv
824 You also need utf7 conversion programs, @command{u7tou8} and
825 @command{u8tou7} to use international mailbox name in the current
826 XEmacs. These programs are included in the UTF7 package which can be
827 obtained from following URL.
830 ftp://ftp.ifcss.org/pub/software/unix/convert/utf7.tar.gz
835 @node NNTP Folder, MH Folder, IMAP Folder, Folders
846 A folder to access USENET news via NNTP protocol (RFC 977).
847 One newsgroup is treated as a folder.
853 @samp{-} @var{newsgroup} [[@samp{:} @var{username}][@samp{@@} @var{hostname}][@samp{:} @var{port}]][@samp{!}]
859 @var{hostname} -> The value of @code{elmo-nntp-default-server}.
860 Initial setting is @samp{localhost}.
861 @var{username} -> The value of @code{elmo-nntp-default-user}.
862 Initial setting is @code{nil}.
863 @var{port} -> The value of @code{elmo-nntp-default-port}.
864 Initial setting is 119.
867 AUTHINFO is used as authentication method if the @var{username} is
868 non-nil. SSL will be default method if
869 @code{elmo-nntp-default-stream-type} is non-nil even if the folder name
870 doesn't end with @samp{!}. If a folder name ends with @samp{!!},
871 STARTTLS connection will be established. if the value of
872 @code{elmo-nntp-default-stream-type} is @code{starttls}, STARTTLS will
873 be the default connection.
879 -fj.rec.tv -> Newsgroup @samp{fj.rec.tv}.
880 -fj.rec.tv@@newsserver -> Newsgroup @samp{fj.rec.tv} on @samp{newsserver}.
885 @node MH Folder, Maildir Folder, NNTP Folder, Folders
892 A folder to access MH format mail (1 file is 1 mail).
897 @samp{+} @var{directory-name}
900 Normally, @var{directory-name} is an relative path to the variable
901 @code{elmo-localdir-folder-path} (default is @file{~/Mail}), but if it
902 starts with @samp{/} or @samp{~}, then it is treated as an absolute path
903 (this is also true for drive-letters).
905 Message number is used for the name of the message file.
911 +inbox -> @file{~/Mail/inbox}
912 +from/teranisi -> @file{~/Mail/from/teranisi}
913 +~/test -> @file{~/test}
918 @node Maildir Folder, News Spool Folder, MH Folder, Folders
919 @section Maildir Folder
921 @cindex Maildir Folder
925 A folder to access Maildir format (1 file is 1 mail).
930 @samp{.} [@var{directory-name}]
933 Normally, @var{directory-name} is a relative path to the variable
934 @code{elmo-maildir-folder-path} (default is @file{~/Maildir}), but if it
935 starts with @samp{/} or @samp{~}, then it is treated as an absolute path
936 (this is also true for drive-letters).
938 Maildir contains @file{cur}, @file{new} and @file{tmp} subdirectories.
939 Messages are contained in the @file{cur} directory. All message files
940 in the @file{new} directory are moved to @file{cur} directory when you
941 access the folder. All message files contained in the @file{tmp}
942 directory and not accessed for 36 hours are deleted.
944 This behavior conforms to the @uref{http://cr.yp.to/proto/maildir.html}.
950 . -> @file{~/Maildir}
951 .inbox -> @file{~/Maildir/inbox}
952 .from/teranisi -> @file{~/Maildir/from/teranisi}
953 .~/test -> @file{~/test}
958 @node News Spool Folder, Archive Folder, Maildir Folder, Folders
959 @section News Spool Folder
961 @cindex News spool Folder
964 This folder handles locally saved news articles which are proposed by
965 Mew/IM. You can also read articles directly from a spool-file which is
966 retrieved by an utility like @command{gnspool}.
971 @samp{=} @var{directory-name}
974 @var{directory-name} is a sub-directory to the directory defined by
975 variable @code{elmo-localnews-folder-path} (default is @file{~/News})
976 You can use @samp{.} as directory delimiter as well as @samp{/}.
982 =fj/os/os2 -> @file{~/News/fj/os/os2}
983 =fj.os.bsd.freebsd -> @file{~/News/fj/os/bsd/freebsd}
988 @node Archive Folder, POP Folder, News Spool Folder, Folders
989 @section Archive Folder
991 @cindex Archive Folder
994 This method can handle archive files, which are compressed by utilities
995 such as Info-ZIP or LHA, as one folder.
1001 @samp{$} @var{path-name} [@samp{;} @var{archiver-type} @samp{;} @var{prefix}]
1005 @var{path-name} is the relative path from
1006 @code{elmo-archive-folder-path} (initial setting is @file{~/Mail}). If
1007 @var{path-name} begins with @samp{/} or @samp{~} or `drive-letter of
1008 DOS', @var{path-name} is treated as absolute path. ange-ftp format is
1009 also permitted under the environment of ange-ftp, efs.
1011 The actual file name of the archive folder is
1012 @code{elmo-archive-basename} (Initial setting is @file{elmo-archive})
1013 under the @var{path-name}. If a file named @var{path-name} exists, it is
1014 treated as folder. The suffix is automatically decided for
1015 @var{archiver-type}.
1017 If @var{archiver-type} is omitted, @code{elmo-archive-default-type}
1018 (Initial setting is @code{zip}) is referred.
1020 @var{prefix} specifies the internal directory structure of the archive.
1021 For example, if the ML server is fml, @file{msend.tar.gz} has a
1022 structure like @file{spool/1}, so you have to specify @samp{spool} as
1029 $teranisi -> @file{~/Mail/teranisi/elmo-archive.zip}
1030 $bsd/freebsd;lha -> @file{~/Mail/bsd/freebsd/elmo-archive.lzh}
1031 $/foo@@server:~/bar;zoo -> @file{~/bar/elmo-archive.zoo} on ftp server
1032 $d:/msend.tar.gz;tgz;spool -> @file{d:/msend.tar.gz}
1033 $ml;zip/ -> Access group consists of archive folders
1034 under @file{~/Mail/ml}
1039 * Archiver:: Supported Archivers
1040 * Archive Tips:: TIPS
1041 * Archive Vars:: Customization
1045 @node Archiver, Archive Tips, Archive Folder, Archive Folder
1046 @subsection Supported Archives
1056 By default, following archives are supported.
1060 LHA, Info-ZIP/UNZIP, ZOO, RAR ;; full-access
1061 GNU TAR('tgz, 'tar) ;; read-only
1065 If your archiver can include multiple files in one archive, you have a
1066 possibility use it as an archiver of Wanderlust (ARJ/UNARJ, ARC is one
1067 of the candidate. TAR is supported read-only because it cannot delete
1068 file in the archive (@code{mv})).
1070 @command{gzip}, @command{bzip}, @command{bzip2} cannot be used as an
1071 archiver of Wanderlust because they cannot include multiple
1072 files. Archivers that cannot extract files to standard output are also
1075 @subsection OS specific information about archiver.
1077 Behaviors of the following archivers are confirmed by further experiences.
1078 (@samp{*} mark means recommended archiver).
1081 [OS/2] Warp4.0J(w/o VoiceType)+Fx00505/emx0.9c(fix04)/PMMule,EmacsPM
1082 LHA OS/2 version Rel.2.06b Feb 18, 1998
1083 *UnZip 5.32 of 3 November 1997, by Info-ZIP.
1084 *Zip 2.2 (November 3rd 1997).
1085 Zoo archiver, zoo 2.1 $@asis{}Date: 91/07/09 02:10:34 $
1086 GNU tar version 1.10 - AK 2.58 (DBCS/SJIS) 981216(homy) version
1087 gzip 1.2.4 (18 Aug 93) + bzip2 patch(by Iida-san)
1089 [UN|X] FreeBSD 2.2.7-RELEASE, Linux 2.0.30, Solaris2.6, HP-UX 9.07
1090 LHa for UNIX V 1.14c
1091 UnZip 5.32 of 3 November 1997
1092 Zip 2.2 (November 3rd 1997)
1093 GNU tar 1.12 (1.11.x is no good)
1094 gzip 1.2.4 (18 Aug 93)
1096 [Win32] Win.98/Meadow
1100 GNU tar 1.11.8 + 1.5(WIN32)
1107 If you are an OS/2 user, Peter Fitzsimmons's LH/2 is not supported.
1108 Hiramatsu version of LHA is only supported.
1109 In Win32, LHa32 is only supported (DOS version is no good).
1111 * Caution about GNU tar
1113 You have to take care about GNU tar's version because many version has
1114 problem on deleting file from archive.
1116 Please test @option{--delete} @option{-f} options work. Otherwise, your
1117 archive will be destroyed. No problem is reported on above versions of
1121 @node Archive Tips, Archive Vars, Archiver, Archive Folder
1123 @cindex Archive Tips
1125 For comfortable migration, usage of @code{wl-summary-archive}
1126 (@pxref{Archive}) or Expire (@pxref{Expire}) is recommended. To treat
1127 archive folders created by expiration, you must set non-nil value to
1128 @code{elmo-archive-treat-file}.
1130 On the OS/2, there is a great difference between Mule2.3(19.28) and Emacs20.2
1131 in processing speed. For comfortable use, Emacs20 is recommended.
1132 (If re-search's performance is the problem, 19.3x or later may be okay.)
1134 If many files are included in one archive,
1135 it takes long time to access the archive folder because
1136 archiver starting overhead is increased (especially LHA).
1137 150-200 messages in one archive is recommended.
1139 Of course, following is possible @t{:-)}
1140 (meanings of these variables are described later.)
1144 (setq wl-fcc "$backup")
1145 (setq wl-trash-folder "$trash;lha")
1149 @node Archive Vars, , Archive Tips, Archive Folder
1150 @subsection Variables About Archive Folder
1151 @cindex Archive variables
1154 @item elmo-archive-default-type
1155 @vindex elmo-archive-default-type
1156 The initial setting is @code{zip}.
1157 Set archiver type by symbol.
1159 @item elmo-archive-@var{type}-method-alist
1160 @vindex elmo-archive-TYPE-method-alist
1161 Define archiver @var{type}'s methods.
1162 (@var{type} is @samp{lha}, @samp{zip}, @samp{zoo}, @samp{tgz} etc)
1163 Each element of the alist is following.
1167 (@var{action} . (@var{exec-name} @var{options})) ;; external program and its option.
1168 (@var{action} . @var{function}) ;; function
1172 Currently available actions are following.
1176 'ls, 'cat ('cat-headers) ;; Minimal setting(read-only)
1177 'mv ('mv-pipe), 'rm ('rm-pipe) ;; full-access (with above)
1184 actions enclosed with braces are optional (They are used for better
1187 @item elmo-archive-suffix-alist
1188 @vindex elmo-archive-suffix-alist
1189 An alist of archiver-type (symbol) and suffix.
1191 @item elmo-archive-file-regexp-alist
1192 @vindex elmo-archive-file-regexp-alist
1193 An alist of a regexp to get file number from list output of archiver
1194 and archiver-type (symbol).
1196 @item elmo-archive-method-list
1197 @vindex elmo-archive-method-list
1198 A list of elmo-archive-@var{type}-method-alist
1199 (@var{type} is a symbol of archiver-type).
1201 @item elmo-archive-lha-dos-compatible
1202 @vindex elmo-archive-lha-dos-compatible
1203 The initial setting is @code{t} on OS/2 and Win32. If non-nil, LHA is
1204 DOS (Mr. Yoshizaki original) compatible.
1206 @item elmo-archive-cmdstr-max-length
1207 @vindex elmo-archive-cmdstr-max-length
1208 The initial setting is 8000.
1210 Max length of command line argument for external archiver program.
1211 Emacs does not have a limit of command line byte length, but some OS
1212 (e.x OS/2) have. It depends on the OS. Archive folder is affected by
1213 this limit because it calls external archiver program directly (not
1214 called via shell). For example, you cannot delete messages if archiver
1215 program must receive larger bytes of arguments to delete. OS/2 have a
1216 command line argument limit of 8190 bytes, so we defined default as 8000
1219 However, you don't have an influence of command line argument limit
1220 if the archiver has `actions' to receive target file information from
1221 standard input (@code{rm-pipe}, @code{mv-pipe}, @code{cat-headers} action).
1225 @node POP Folder, Shimbun Folder, Archive Folder, Folders
1233 A folder to access e-mails via POP3 protocol (RFC 1939).
1239 @samp{&} [@var{username}][[@samp{/} @var{authenticate-type}][@samp{:} @var{numbering-method}][@samp{@@} @var{hostname}][@samp{:} @var{port}]][@samp{!}]
1244 @samp{user} (plain password transmission) or @samp{apop} (APOP authentication)
1245 as @var{authenticate-type}.
1247 You can specify @samp{uidl} (use UIDL command for message numbering) or
1248 @samp{list} (use LIST command for message numbering) as @samp{numbering-method}.
1252 @var{username} -> The value of @code{elmo-pop3-default-user}.
1253 Initial setting is @env{USER} environment variable or
1254 @env{LOGNAME} environment variable or return value of
1255 @code{(user-login-name)}.
1256 @var{authenticate-type} -> The value of @code{elmo-pop3-default-authenticate-type}.
1257 Initial setting is @samp{user}.
1258 @var{numbering-method} -> Follow the value of @code{elmo-pop3-default-use-uidl}.
1259 If t, use UIDL for numbering. Initial setting is t.
1260 @var{hostname} -> The value of @code{elmo-pop3-default-server}.
1261 Initial setting is @samp{localhost}.
1262 @var{port} -> The value of @code{elmo-pop3-default-port}.
1263 Initial setting is 110.
1270 &hoge@@localhost -> access localhost as user @samp{hoge}.
1271 &hoge@@popserver:109 -> access the server "popserver" on port 109
1272 as user @samp{hoge}.
1276 To use apop as an @var{authenticate-type}, @file{md5.el} is needed
1277 (XEmacs doesn't need @file{md5.el}). @file{md5.el} is included in
1278 @file{utils/sasl/lisp/} or Emacs/W3 package
1279 (@uref{http://www.cs.indiana.edu/elisp/w3/docs.html}) or LCD archive
1282 If the last character of the folder name is @samp{!}, Wanderlust
1283 connects to the POP server via SSL (Secure Socket Layer). If you set
1284 non-nil value to @code{elmo-pop3-default-stream-type}, you don't have to put
1285 @samp{!} in the end of the folder name to use SSL. If a folder name ends
1286 with @samp{!!}, STARTTLS connection will be established. if the value
1287 of @code{elmo-pop3-default-stream-type} is @code{starttls}, STARTTLS will be the
1291 @node Shimbun Folder, Namazu Folder, POP Folder, Folders
1292 @section Shimbun Folder
1294 @cindex Shimbun Folder
1295 @cindex Folder, Shimbun
1300 A folder for watching "shimbun" (means "newspaper" in Japanese),
1301 news site and mailing list archives on WWW by using emacs-w3m
1302 (@uref{http://emacs-w3m.namazu.org/}).
1304 You should possess w3m and emacs-w3m to use this.
1310 @samp{@@} @var{module-name} @samp{.} @var{folder-name}
1314 Admissible values of @var{module-name} and @var{folder-name} are
1315 described in @file{README.shimbun.ja} distributed with emacs-w3m.
1321 @@airs.wl -> archive of wanderlust ML (using module @file{sb-airs.el})
1322 @@asahi/ -> access group of all folders in module @file{sb-asahi.el}
1326 @subsection Variables About Shimbun Folder
1329 @item elmo-shimbun-update-overview-folder-list
1330 @vindex elmo-shimbun-update-overview-folder-list
1331 The initial setting is @code{nil}. You can specify a list of regular
1332 expressions of shimbun folder names. The overview of matched shimbun
1333 folder is updated when messages are fetched.
1334 You should @kbd{s rescan} after fetching to update summary.
1338 @node Namazu Folder, Multi Folder, Shimbun Folder, Folders
1339 @section Namazu Folder
1341 @cindex Namazu Folder
1342 @cindex Folder, Namazu
1343 @cindex Folder, Text Search
1346 A folder to access messages found in namazu-index with some condition.
1347 It uses namazu (@uref{http://www.namazu.org/}) for search.
1353 @samp{[} @var{search condition} @samp{]} [ @var{absolute path of namazu index} ]
1357 Default value of the path of namazu index can be assigned by @code{elmo-nmz-default-index-path}.
1363 [wanderlust] -> search messages matched with
1364 "wanderlust" from the default index
1365 [semi flim]~/Mail/semi -> search "semi flim" from the index
1366 in the directory "~/Mail/semi"
1372 @subsubsection Enter space to separate keywords
1374 If you want to use space in folder entry, @kbd{C-q @key{SPC}} will help you.
1376 @subsubsection Alias name for index
1378 You can define an alias name for index.
1383 (setq elmo-nmz-index-alias-alist
1384 '(("cache" . "~/.elmo/cache")
1385 ("docs" . "~/documents")))
1388 Above definition defines two index aliases.
1395 to execute a namazu search with keyword @samp{wanderlust} using a index in the
1396 directory @file{~/.elmo/cache}.
1398 @subsubsection Multiple indices
1400 You can specify a list for @code{elmo-nmz-default-index-path} and
1401 @code{elmo-nmz-index-alias-alist}.
1402 When list is specified, all index contained in the list is used as the
1408 (setq elmo-nmz-index-alias-alist
1409 '(("all" . ("~/.elmo/cache" "~/documents"))
1410 ("cache" . "~/.elmo/cache")))
1413 Using above alias setting, you can specify
1419 to execute a namazu search with keyword @samp{wanderlust} using indices in the
1420 directory @file{~/.elmo/cache} and @file{~/documents}.
1422 @node Multi Folder, Filter Folder, Namazu Folder, Folders
1423 @section Multi Folder
1425 @cindex Multi Folder
1426 @cindex Folder, Multiple
1427 @cindex Folder, Marge
1429 A folder to access virtual folder which collects messages from
1436 @samp{*} @var{folder-1} [@samp{,} @var{folder-2}] @dots{} [@samp{,} @var{folder-N}]
1440 After @samp{*} character, specify multiple folders you want to collect
1441 separated by @samp{,} like
1442 @samp{@var{folder-1},@var{folder-2},@dots{},@var{folder-N}}.
1448 *-fj.editor.xemacs,-fj.editor.mule,-fj.editor.emacs
1449 -> -fj.editor.xemacs, -fj.editor.mule and -fj.editor.emacs are
1450 treated as one folder.
1452 *+inbox,-fj.rec.tv,%inbox
1453 -> +inbox, -fj.rec.tv and %inbox are treated as one folder.
1458 @node Filter Folder, Pipe Folder, Multi Folder, Folders
1459 @section Filter Folder
1461 @cindex Filter Folder
1462 @cindex Folder, Filtering
1463 @cindex Folder, Virtual
1464 @cindex Folder, Conditional
1466 A folder to access virtual folder which collects all messages that
1467 satisfy a condition.
1472 @samp{/} @var{condition} @samp{/} @var{target-folder}
1475 In the @var{condition} part, you can specify following.
1479 Partial filter: @samp{first:@var{number}}, @samp{last:@var{number}}
1481 first: @var{number} messages are picked from top of folder.
1482 last: @var{number} messages are picked from bottom of folder.
1488 /last:10/-fj.os.linux -> Latest 10 messages from -fj.os.linux are picked.
1489 /first:20/%inbox -> First 20 messages from %inbox are picked.
1494 Date filter: @samp{since:@var{date}}, @samp{before:@var{date}}
1496 since: only messages arrived since @var{date} are picked.
1497 before: only messages arrived before @var{date} are picked.
1499 You can specify following as @var{date}.
1503 yesterday -> a day before today.
1504 lastweek -> same day of last week.
1505 lastmonth -> same day of last month.
1506 lastyear -> same day of last year.
1507 @var{number}daysago -> @var{number} days ago. (e.x. '3daysago')
1508 @var{day}-@var{month}-@var{year} -> specify date directly (ex. 1-Nov-1998)
1516 /since:3daysago/+inbox -> messages arrived since 3 days ago in +inbox
1518 /before:yesterday/+inbox -> messages arrived before yesterday in +inbox
1524 Field filter: @samp{@var{field}:@var{value}}
1526 All messages that have @var{field} and its value is @var{value} are picked.
1527 @var{field} and @var{value} are case insensitive.
1533 /from:teranisi/+inbox -> In +inbox, messages which have From: field
1534 and its value includes "teranisi" string are picked.
1535 /body:foo/%inbox -> In %inbox, messages which have "foo" text
1543 If you combine conditions by character @samp{|}, it is considered as OR condition. @samp{&} is considered as AND condition, likewise.
1544 Condition can be grouped by parentheses (@samp{(}, and @samp{)}).
1546 @samp{/tocc:xxxx/} is an abbreviation of @samp{/to:xxxx|cc:xxxx/}.
1547 @samp{/!tocc:xxxx/} is an abbreviation of @samp{/!to:xxxx&!cc:xxxx/}.
1553 /from:teranisi&!to:teranisi/+inbox
1554 -> In +inbox, messages are picked if the message's
1555 From: field includes "teranisi" and
1556 To: field doesn't include "teranisi".
1558 /tocc:"Yuuichi Teranishi"/+inbox
1559 -> In +inbox, messages are picked if the
1560 message's To: field or Cc: field includes
1561 "Yuuichi Teranishi".
1563 /(from:yt|from:teranisi)&subject:report/+inbox
1564 -> In +inbox, messages are picked if the message's
1565 From: field includes "yt" or "teranisi", and
1566 Subject includes "report".
1572 Tip for string description:
1574 Space character, @samp{"}, @samp{/},@samp{)},@samp{|} and @samp{&}
1575 should be enclosed with @samp{"} in @var{value} string. (@samp{"}
1576 should be escaped with @samp{\} in it). You can enclose the string with
1577 @samp{"} even it does not contain these characters.
1583 *%inbox,/from:teranisi/%inbox@@server
1584 -> Messages in %inbox or
1585 message is in the %inbox@@server folder and it's From field
1586 includes "teranisi" are collected.
1588 /last:100//to:teranisi/*+inbox,%inbox
1589 -> Latest 100 messages which is in the +inbox or %inbox folder
1590 and To: field matches "teranisi".
1592 /from:hogehoge//last:20//tocc:teranisi/%#mh/inbox@@localhost
1593 -> Pick messages which have From: field and it includes "hogehoge"
1594 from latest 20 messages in the %#mh/inbox@@localhost
1595 and To: or Cc: field includes "teranisi".
1598 @node Pipe Folder, Internal Folder, Filter Folder, Folders
1599 @section Pipe Folder
1603 @cindex Download Message
1604 @cindex Incorporate Message
1606 In the pipe folder, messages are automatically transferred from the source
1607 folder to destination folder.
1612 @samp{|} @var{source-folder} @samp{|} @var{destination-folder}
1615 When you access the pipe folder, messages are automatically transferred
1616 from @var{source-folder} to @var{destination-folder}.
1617 It is convenient if you want to download messages to local disk via POP.
1618 For example, if you specify following
1621 |&username@@popserver|+inbox
1625 and access it, messages are downloaded automatically from
1626 @samp{&username@@popserver} to @samp{+inbox}.
1628 On the other hand, if you put @samp{|:} instead of second @samp{|},
1629 then messages are copied to the destination folder (not deleted from
1630 source-folder). At the next time you access that folder, only new
1631 messages will be copied.
1634 @samp{|} @var{source-folder} @samp{|:} @var{destination-folder}
1637 If you want to copy messages from POP server and view them, specify the
1641 |&username@@popserver|:+inbox
1644 where messages will be kept on the server.
1650 |%inbox|%myinbox -> Download %inbox to %myinbox.
1651 |*&user@@popserver1,&user@@popserver2|+inbox
1652 -> Download from &user@@popserver1 and &user@@popserver2 to +inbox.
1653 |-gnu.emacs.sources|:+sources
1654 -> Copy messages from -gnu.emacs.sources to +sources.
1658 After messages are moved, a hook @code{elmo-pipe-drained-hook} is called.
1660 @node Internal Folder, , Pipe Folder, Folders
1661 @section Internal folder
1663 @cindex Internal Folder
1664 @cindex Folder, @samp{$} mark
1666 @c @cindex Folder, Null
1668 A folder to access internal messages of Wanderlust.
1680 A folder named @samp{'mark} is a special virtual folder which collects
1681 messages which have important mark @samp{$}.
1683 You can review important messages at once after you put important marks
1684 on the messages in the different folders.
1686 In this folder, if you delete message, important mark @samp{$} put on
1687 the message is removed. If you append messages to this folder, the
1688 message will have @samp{$} mark.
1690 (Can't remove important mark @samp{$} on IMAP server from @samp{'mark}
1691 folder. If you want IMAP folder's message remove from @samp{'mark}
1692 folder, remove important mark at IMAP Folder.)
1695 A folder named @samp{'sendlog} is a virtual folder which collects
1696 cached messages which are recoded on @file{~/.elmo/sendlog}.
1697 It might be useful when you forgot to add cc for yourself.
1698 To use this, you should set @code{wl-draft-use-cache} to non-nil
1699 so that sent messages are cached.
1702 You can access cached messages fetched via network by accessing
1703 folders named @samp{'cache/00} - @samp{'cache/1F}. 00 - 1F are
1704 the name of the subdirectories of the cache directory
1705 (@file{~/.elmo/cache}).
1708 @node Folder, Summary, Folders, Top
1709 @chapter Folder mode
1712 After you start Wanderlust, folder mode is appeared firstly.
1713 It contains folder list you subscribed.
1714 You can select and edit folders in this mode.
1717 * Selecting Folder:: Select folder you want to read
1718 * Folder Manager:: Editing folders
1722 @node Selecting Folder, Folder Manager, Folder, Folder
1723 @section Selecting Folder
1724 @cindex Selecting Folder
1726 @subsection Usage (TIPS)
1728 @subsubsection Check new, unread number
1730 Folder mode looks like this.
1731 (In XEmacs, it looks much nicer @t{;-)})
1735 [-]Desktop:14186/35580/67263
1740 [-]Emacsen:0/34/4837
1741 Wanderlust ML:0/0/558
1744 XEmacs Beta:0/29/255
1755 @var{folder-name}:@var{new-number}/@var{unread-number}/@var{all-number}
1759 @kbd{s} key on the folder line updates these numbers.
1760 It changes its color if it has many new messages.
1762 The whole folder mode is a folder group named @samp{Desktop}.
1763 Folder group open/close by return key.
1764 A operation to a folder group is treated as operations on the
1766 For example, when you type @kbd{s} on @samp{[-]Emacsen},
1767 six children folders update its unread number status.
1769 @subsubsection Select Folder
1771 To enter summary mode of the folder, type return (or space) key on
1773 If the variable @code{wl-stay-folder-window} has non-nil value,
1774 summary window appears on the right of the folder mode window.
1776 @subsection Key bindings
1778 Folder mode's key binding (related to selecting folders) is following.
1783 @kindex @key{SPC} (Folder)
1784 @kindex @key{RET} (Folder)
1785 @findex wl-folder-jump-to-current-entity
1786 Enter to the summary mode of the folder at the current cursor point.
1787 If the cursor is on the top of folder group line,
1788 the folder group is opened or closed.
1789 When the cursor is on the access group and this command is called
1790 with prefix argument, folder children list is updated to the newest one.
1791 (Children list is updated recursively if the access folder has hierarchical
1793 (@code{wl-folder-jump-to-current-entity})
1796 @kindex M-@key{RET} (Folder)
1797 @findex wl-folder-update-recursive-current-entity
1798 Folder children list of the access group at the current cursor point
1799 is updated to the newest one.
1800 (Children list is updated recursively if the access folder has hierarchical
1802 (@code{wl-folder-update-recursive-current-entity})
1807 Create a new draft message.
1812 @findex wl-folder-write-current-folder
1813 If the current cursor point is on the NNTP folder, create a new draft
1814 message which already has @samp{Newsgroups:} field. If the current
1815 cursor point is on the folder for mailing list (refile destination),
1816 create a new draft message which already has @samp{To:} field with
1817 guessed mailing list address (If @code{wl-subscribed-mailing-list} is
1819 (@code{wl-folder-write-current-folder})
1822 @kindex C-c C-o (Folder)
1823 @findex wl-jump-to-draft-buffer
1824 Move to the draft buffer if available. If multiple draft buffer exists,
1825 moved to one after another. If prefix argument is specified, load draft
1826 folder's message to the draft buffer and jump to it.
1827 (@code{wl-jump-to-draft-buffer})
1831 @findex wl-folder-check-current-entity
1832 Update new and unread number information of the folder at the current
1834 (@code{wl-folder-check-current-entity})
1838 @findex wl-folder-sync-current-entity
1839 Update summary information of the folder at the current cursor point.
1840 (@code{wl-folder-sync-current-entity})
1843 @kindex r s (Folder)
1844 @findex wl-folder-check-region
1845 Update new and unread number information of the folders in the currently
1847 (@code{wl-folder-check-region})
1850 @kindex r S (Folder)
1851 @findex wl-folder-sync-region
1852 Update summary information of the folders in the currently selected region.
1853 (@code{wl-folder-sync-region})
1857 @findex wl-status-update
1858 Sync up address book status with @file{~/.addresses}'s content.
1859 (@code{wl-status-update})
1863 @findex wl-folder-prev-unread
1864 Jump cursor to the folder which have unread messages on the upward from
1865 current cursor point.
1866 (@code{wl-folder-prev-unread})
1870 Jump cursor to the folder which have unread messages on the downward
1871 from current cursor point.
1872 (@code{wl-folder-next-unread})
1876 Move cursor to the folder on the previous line.
1877 (@code{wl-folder-prev-entity})
1881 Move cursor to the folder on the next line.
1882 (@code{wl-folder-next-entity})
1886 Jump to the folder specified by the user input.
1887 (@code{wl-folder-jump-folder})
1891 @findex wl-folder-prefetch-current-entity
1892 Prefetch new messages of the folder at the current cursor point by
1893 @code{wl-summary-incorporate}.
1894 If the cursor is on the folder group, it is executed recursively.
1895 (@code{wl-folder-prefetch-current-entity})
1899 @findex wl-folder-mark-as-read-all-current-entity
1900 Mark all unread messages of the folder at the current cursor point as read.
1901 If the cursor is on the folder group, it is executed recursively.
1902 (@code{wl-folder-mark-as-read-all-current-entity})
1906 @findex wl-folder-goto-first-unread-folder
1907 Enter summary mode of the first unread folder.
1908 (@code{wl-folder-goto-first-unread-folder})
1912 @findex wl-folder-empty-trash
1914 (@code{wl-folder-empty-trash})
1918 @findex wl-folder-flush-queue
1920 (@code{wl-folder-flush-queue})
1924 @findex wl-folder-virtual
1925 Move to the virtual folder with the condition specified.
1926 (@code{wl-folder-virtual})
1930 @findex wl-folder-pick
1931 Search the folders with the condition specified.
1932 (@code{wl-folder-pick})
1936 @findex wl-folder-open-all-unread-folder
1937 All unread folder is opened.
1938 (@code{wl-folder-open-all-unread-folder})
1942 @findex wl-folder-open-close
1943 Folder group is opened/closed.
1944 (@code{wl-thread-open-close})
1948 All folder group is opened.
1949 (@code{wl-folder-open-all})
1953 All folder group is closed.
1954 (@code{wl-folder-close-all})
1964 (@code{wl-folder-suspend})
1967 @kindex M-s (Folder)
1968 Save current folder status.
1972 @kindex M-t (Folder)
1973 Toggle Wanderlust's offline/online status.
1974 (@code{wl-toggle-plugged})
1977 @kindex C-t (Folder)
1978 Start Wanderlust's plug-status manager.
1979 (@code{wl-plugged-change})
1982 @subsection Customize variables
1985 @item wl-folders-file
1986 @vindex wl-folders-file
1987 The initial setting is @file{~/.folders}.
1988 Subscribed folders are described (saved) in this file.
1990 @item wl-folder-info-save
1991 @vindex wl-folder-info-save
1992 The initial setting is @code{t}. If non-nil, unread information is
1993 saved and used in the next Wanderlust session.
1995 @item wl-stay-folder-window
1996 @vindex wl-stay-folder-window
1997 The initial setting is @code{nil}.
1998 If non-nil, summary window is appeared on the right side of the folder buffer.
2000 @item wl-folder-window-width
2001 @vindex wl-folder-window-width
2002 The initial setting is 20.
2003 Folder mode's window width when @code{wl-stay-folder-window} is non-nil.
2005 @item wl-folder-use-frame
2006 @vindex wl-folder-use-frame
2007 The initial setting is @code{nil}.
2008 If non-nil, use new frame for the folder window.
2010 @item wl-folder-many-unsync-threshold
2011 @vindex wl-folder-many-unsync-threshold
2012 The initial setting is 70.
2013 If the number of unread messages is more than this value,
2014 folder color is changed.
2016 @item wl-highlight-folder-by-numbers
2017 @vindex wl-highlight-folder-by-numbers
2018 This option controls how to highlight each line in the folder buffer.
2019 The default value is @code{t}, highlighting with various colors based on
2020 the message numbers. If it is @code{nil}, highlighting with various
2021 colors based on the folder status. In addition, if it is a number
2022 (e.g. 1), highlighting will be done based on both the message numbers
2023 and the folder status.
2025 @item wl-folder-desktop-name
2026 @vindex wl-folder-desktop-name
2027 The initial setting is @samp{Desktop}.
2028 The name of top folder group.
2030 @item wl-folder-petname-alist
2031 @vindex wl-folder-petname-alist
2032 The initial setting is @code{nil}.
2033 An alist of folder's realname and its nickname.
2035 @item wl-folder-access-subscribe-alist
2036 @vindex wl-folder-access-subscribe-alist
2037 The initial setting is @code{nil}.
2039 Control automatic subscribing and unsubscribing of the children list
2045 (@var{regexp-of-access-folder} . (@var{subscribe-flag} @var{regexp-of-folders} @dots{}))
2049 If @var{subscribe-flag} is non-nil, folders which have name matched to
2050 @var{regexp-of-folders} are displayed. Otherwise, hidden. However,
2051 already unsubscribed folder is not displayed even when the
2052 @var{subscribe-flag} is non-nil. Multiple @var{regexp-of-folders} can be
2059 '(("^-fj$" . (t "^-fj\\.\\(comp\\|editor\\|mail\\)"
2060 "^-fj\\.\\(net\\|news\\|os\\|rec\\)"))
2061 ("^-$" . (t "^-\\(fj\\|tnn\\|japan\\|gnu\\|comp\\)"))
2062 ("^\\+ml$" . (nil "^\\+ml$" "^\\+ml/tmp")))
2066 @item wl-folder-hierarchy-access-folders
2067 @vindex wl-folder-hierarchy-access-folders
2068 The initial setting is the list shown below:
2077 A list of regular expressions for access groups which creates children
2078 folder list hierarchically.
2080 For example, if you specify
2081 @code{wl-folder-hierarchy-access-folders} like following,
2085 (setq wl-folder-hierarchy-access-folders
2086 '("^-$" "^-alt$" "^-japan$" "^-comp$" "^-comp.unix$"))
2091 such access group hierarchy is obtained.
2097 -fj.comp.announce:0/0/2
2098 -fj.comp.dev.cdrom:0/0/0
2100 [+]-japan:238/238/1688
2103 -comp.unix.admin:0/0/0
2104 -comp.unix.dos-under-unix:0/0/0
2105 -comp.unix.programmer:0/0/0
2106 [-]-comp.unix.bsd:0/0/23
2107 -comp.unix.bsd.freebsd.announce:0/0/0
2112 If you opened @samp{-} in this example, only the direct children is created
2113 (@samp{-fj}, @samp{-japan}, @samp{-tnn}, @dots{}).
2114 second hierarchy (@samp{-fj.comp.announce}, @dots{}, @samp{-comp.unix}, @dots{})
2115 is not created until the children access group is opened.
2119 @node Folder Manager, , Selecting Folder, Folder
2120 @section Editing Folders
2121 @cindex Folder Manager
2122 @cindex Folder, Edit
2123 @cindex Folder, Subscribe
2124 @cindex Folder, Unsubscribe
2126 As described before, subscribed folder list is saved in @file{~/.folders} file.
2127 But you don't have to edit @file{~/.folders} directly.
2128 You can append, delete, edit folders from folder mode.
2130 @subsection Usage (Tips)
2132 @subsubsection Append Folder
2134 @kbd{m a} appends new folder to the folder mode.
2135 @kbd{m g} appends new folder group.
2136 To append new folder to this group, firstly open it,
2137 then execute append command in the next line.
2139 @subsubsection Edit Folder
2141 You can cut folder by @kbd{C-k}, paste by @kbd{C-y}.
2142 Thus, you can change folder position as if you were editing a normal file.
2144 @subsubsection Create Multi Folder.
2148 Type @kbd{m q} to clear @code{wl-fldmgr-cut-entity-list}.
2150 Cut folder by @kbd{C-k} or copy folder by @kbd{M-c}.
2152 Type @kbd{m m}, then you can create multi folder.
2155 @subsubsection Delete Nickname, Filter
2157 You can delete nickname or filter by putting ``''(@var{NULL}) from the
2158 minibuffer while appending.
2160 @subsubsection Append Folder to Empty Group
2162 To append new folder to the empty folder group
2163 (after you create folder group by typing @kbd{m g}),
2164 firstly open it, then execute append command in the next line.
2165 If it is closed, folder is appended on the same level with
2166 the above folder group. It is difficult to explain by words so try it.
2167 In other words, appended position depends on the
2168 above folder group's open/close status.
2170 @subsubsection Charset of the Folders File.
2172 @code{wl-mime-charset} is used for saving @code{wl-folders-file}.
2174 @subsubsection Create Filter
2176 @kbd{m f} adds filter to the folder at the current cursor point. To
2177 create new filter folder and leave the current folder unchanged, copy it
2178 @kbd{M-c}, make filter @kbd{m f} and paste it @kbd{C-y}. Multiple
2179 filter can be specified while appending filter. If you put
2180 ``''(@var{NULL}), filter is deleted.
2182 @subsubsection Sort Folders
2184 Sorting of the folders is executed by the function specified by
2185 @code{wl-fldmgr-sort-function}.
2186 The initial setting is @code{wl-fldmgr-sort-standard},
2187 which sorts alphabetically.
2188 Sorting affects only on the current folder group. It does not
2189 affect on the child groups.
2191 @subsubsection Hiding Folders in the Access Group
2193 Usually, access group displays all children folders, but you can set
2194 some folders hidden. Following operations are only available on access
2197 Command @code{wl-fldmgr-unsubscribe} (@kbd{u}) toggles the visibility
2198 (subscribe/unsubscribe) of the folder at current cursor point. Against
2199 this, @code{wl-fldmgr-unsubscribe-region} (@kbd{U}) hides folders in the
2202 Note that @code{wl-fldmgr-unsubscribe-region} does not toggle while
2203 @code{wl-fldmgr-unsubscribe} toggles. These two commands accept prefix
2204 argument and if the argument has positive number, the unsubscribe it.
2205 If the prefix argument has negative value, folder becomes visible and if
2206 zero, folder visibility is toggled.
2208 The other commands, @code{wl-fldmgr-subscribe} and
2209 @code{wl-fldmgr-subscribe-region} are also prepared (not binded to the
2212 Moreover, if @code{wl-fldmgr-cut} or @code{wl-fldmgr-cut-region} is
2213 executed in the access group, they have a same effect with
2214 @code{wl-fldmgr-unsubscribe} and @code{wl-fldmgr-unsubscribe-region}.
2215 The difference is that cut commands deletes folders from the current
2218 @subsubsection Operations in the Access Group
2220 You can insert and delete folders in the access group like usual folder
2221 group. But insert and delete commands can be only available for the
2222 children folders of the access group and they only sets the subscribe
2223 status. In other words, insertion of the folder means subscribing,
2224 deletion means unsubscribing.
2225 @footnote{In the current implementation,
2226 it is faster to delete region than to unsubscribe region.}
2228 To update the access group when children folders are inserted or deleted
2229 by other way (other than Wanderlust),
2230 open the access group by typing @kbd{C-u @key{RET}}.
2231 @xref{Selecting Folder}.
2233 The order of children folders of access group is saved after
2234 insertion/deletion/sorting.
2235 If you set @code{wl-force-fetch-folders} to non-nil or open access group
2236 by typing @kbd{C-u @key{RET}}, disappeared folders are deleted and
2237 newly created folders are inserted on the top of the access group.
2239 @subsection Key bindings
2240 @cindex Keybind, Folder Mode
2241 @cindex Keybind, Folder Buffer
2243 Key bindings on the folder mode related to folder editing are shown below.
2244 All bindings starts with @kbd{m}, and primary commands are binded to
2245 one stroke key binding.
2249 @kindex m a (Folder)
2250 @findex wl-fldmgr-add
2252 (@code{wl-fldmgr-add})
2257 @kindex m g (Folder)
2258 @findex wl-fldmgr-make-group
2259 Create a folder group.
2260 (@code{wl-fldmgr-make-group})
2263 @kindex m A (Folder)
2264 @findex wl-fldmgr-make-access-group
2265 Create an access group.
2266 (@code{wl-fldmgr-make-access-group})
2269 @kindex m d (Folder)
2270 @findex wl-fldmgr-delete
2271 Delete folder itself and msgdb.
2272 If the folder itself cannot be deleted like NNTP folder,
2273 only msgdb is deleted.
2274 (@code{wl-fldmgr-delete})
2279 @kindex m R (Folder)
2280 @findex wl-fldmgr-rename
2281 Change the name of folder or folder group.
2282 msgdb's path is also changed.
2283 (@code{wl-fldmgr-rename})
2289 @findex wl-fldmgr-make-multi
2290 Create a multi folders in the cutlist (cut, copied folders).
2291 (@code{wl-fldmgr-make-multi})
2296 @kindex m f (Folder)
2297 @findex wl-fldmgr-make-filter
2298 Create a filter folder. (Put a filter on the folder).
2299 (@code{wl-fldmgr-make-filter})
2303 @kindex M-c (Folder)
2304 @kindex m c (Folder)
2305 @findex wl-fldmgr-copy
2306 Copy folder (it is not available on folder group).
2307 (@code{wl-fldmgr-copy})
2311 @kindex M-w (Folder)
2312 @kindex m W (Folder)
2313 @findex wl-fldmgr-copy-region
2314 Copy folders in the specified region.
2315 (@code{wl-fldmgr-copy-region})
2319 @kindex C-k (Folder)
2320 @kindex m k (Folder)
2321 @findex wl-fldmgr-cut
2322 Cut folder. Folder itself is not deleted.
2323 (@code{wl-fldmgr-cut})
2327 @kindex C-w (Folder)
2328 @kindex m C-w (Folder)
2329 @findex wl-fldmgr-cut-region
2330 Cut folders in the specified region.
2331 (@code{wl-fldmgr-cut-region})
2335 @kindex C-y (Folder)
2336 @kindex m y (Folder)
2337 @findex wl-fldmgr-yank
2338 Paste folders that are copied or cut (folders in the cut-list).
2339 (@code{wl-fldmgr-yank})
2342 @kindex m p (Folder)
2343 @findex wl-fldmgr-set-petname
2344 Put nickname on the folder.
2345 (@code{wl-fldmgr-set-petname})
2348 @kindex m q (Folder)
2349 @findex wl-fldmgr-clear-cut-entity-list
2350 Clear the cut-list. (cut, copied folder information is cleared,
2351 you cannot paste after this)
2352 (@code{wl-fldmgr-clear-cut-entity-list})
2355 @kindex m s (Folder)
2356 @findex wl-fldmgr-sort
2357 Sort folders in the current folder group.
2358 (@code{wl-fldmgr-sort})
2361 @kindex m C-s (Folder)
2362 @findex wl-fldmgr-save
2363 Save current folder view to the @file{wl-folders-file}.
2364 (@code{wl-fldmgr-save})
2367 [Following commands are only available on the access groups]
2373 @kindex m u (Folder)
2374 @findex wl-fldmgr-unsubscribe
2375 Set the visibility of folder (subscribe/unsubscribe).
2376 (@code{wl-fldmgr-unsubscribe})
2381 @kindex r u (Folder)
2382 @findex wl-fldmgr-unsubscribe-region
2383 Set the visibility of the folders (subscribe/unsubscribe) in the
2385 (@code{wl-fldmgr-unsubscribe-region})
2390 @kindex m l (Folder)
2391 @findex wl-fldmgr-access-display-normal
2392 List folders that are currently available.
2393 (@code{wl-fldmgr-access-display-normal})
2398 @kindex m L (Folder)
2399 @findex wl-fldmgr-access-display-all
2400 List all folders regardless of the subscription status.
2401 (@code{wl-fldmgr-access-display-all})
2405 @subsection Customize variables
2408 @item wl-interactive-save-folders
2409 @vindex wl-interactive-save-folders
2410 The initial setting is @code{t}. If non-nil and folder view is
2411 modified, confirm saving it before Wanderlust or Emacs exits. If
2412 @code{nil}, save without confirmation.
2414 @item wl-fldmgr-make-backup
2415 @vindex wl-fldmgr-make-backup
2416 The initial setting is @code{t}. If non-nil, @file{~/.folders.bak} is
2417 created before saving the folder status.
2419 @item wl-fldmgr-sort-function
2420 @vindex wl-fldmgr-sort-function
2421 The initial setting is @code{wl-fldmgr-sort-standard}. A function to
2422 sort folders. By default function, folders are sorted alphabetically
2423 and folder group is put on top (when @code{wl-fldmgr-sort-group-first}
2426 @item wl-fldmgr-sort-group-first
2427 @vindex wl-fldmgr-sort-group-first
2428 The initial setting is @code{t}. If non-nil,
2429 @code{wl-fldmgr-sort-standard} precedes folder group. If @code{nil}, it
2430 does not care whether it is folder group or not.
2432 @item wl-folder-check-async
2433 @vindex wl-folder-check-async
2434 The initial setting is @code{t}. If non-nil, check folder's unread
2435 status asynchronously. It boosts newsgroup checking.
2437 @item wl-folder-check-fast
2438 @vindex wl-folder-check-fast
2439 The initial setting is @code{nil}.
2440 If non-nil, it does not update folder status while checking.
2442 @item wl-folder-notify-deleted
2443 @vindex wl-folder-notify-deleted
2444 The initial setting is @code{nil}.
2446 If non-nil, negative value is displayed when the message is deleted. If
2447 @code{sync}, folder is synchronized when the message is deleted. If
2448 @code{nil}, message deletion is ignored.
2450 @item wl-fldmgr-add-complete-with-current-folder-list
2451 @vindex wl-fldmgr-add-complete-with-current-folder-list
2452 The initial setting is @code{nil}.
2453 Non-nil means call @code{elmo-folder-list-subfolders} and get completion
2454 candidate for @code{wl-fldmgr-add}.
2457 @subsection Miscellanea
2459 Following is a note for folder editing.
2463 cut or copy stacks the folder in the @code{wl-fldmgr-cut-entity-list}.
2464 paste(yank) command pastes the folders on one cut or copy command
2465 (If copy command is executed by region, folders in the region are pasted
2466 by one paste command)
2469 You cannot cut @samp{Desktop} group.
2470 Also, you cannot paste folders at the outside of the @samp{Desktop}.
2473 You cannot copy folder group.
2476 Operations on the access group are only available for the folders
2477 in the same access group.
2480 You cannot create a folder which has same name with the folders already exist.
2483 You cannot insert folders which have same name in one group.
2484 You can insert them in the different groups.
2485 You cannot put same nickname to the different folders.
2489 @node Summary, Message, Folder, Top
2490 @chapter Summary Mode
2492 After you select the folder via folder mode, you enter to the summary
2496 * Usage of Summary Mode:: TIPS
2497 * Thread Operations:: Thread operations
2498 * Cache:: File cache, Buffer cache, and Prefetch
2499 * Auto Refile:: Auto refile settings
2500 * Sticky Summary:: Summary make sticky
2501 * Key Bindings of Summary:: Key bindings
2502 * Variables of Summary:: Customize Summary Mode
2506 @node Usage of Summary Mode, Thread Operations, Summary, Summary
2507 @section Usage (Tips)
2509 @subsection Summary Content
2511 In the summary mode, messages are displayed like following.
2515 377 09/16(Wed)11:57 [+1: Takuro Kitame ] Bug?
2516 381 09/17(Thu)00:16 [+3: Fujikazu Okuni ] elmo-lha.el -- LHA interface
2517 384 09/17(Thu)01:32 [+1: Yuuichi Terani ] wl-0.6.2
2518 389 N09/18(Fri)01:07 [+2: Yuuichi Terani ] wl-0.6.3
2525 @var{Message number}, @var{Temporal mark}, @var{Persistent mark}, @var{Date}, @var{Sender}, @var{Subject}
2529 You cannot change this in the current version.
2531 @var{Message number} is the message's unique number in the folder. In
2532 the NNTP folder, it is article number, in the IMAP folder, it is UID and
2533 in the MH folder, it is the filename of the message.
2535 @var{Temporal mark} and @var{Persistent mark} are described later.
2537 @var{Date} is displayed like @samp{@var{Month}/@var{Day}(@var{Week
2538 Day})@var{Hour}:@var{Minute}}. Default setting displays week day in
2539 Japanese, but if you want to display it in English, set the value of
2540 @code{wl-summary-weekday-name-lang} as @samp{en}.
2542 @var{Sender}'s indentation corresponds to the depth of the thread.
2543 Sender name is displayed as nickname if it is defined in the address
2544 book. Set @code{wl-use-petname} as @code{nil}, if you want to quit
2545 displaying with nickname.
2547 If number is printed at the head of @var{Sender} part like @samp{+2},
2548 that means the message have 2 follow messages.
2550 @var{Subject} is the @samp{Subject:} header field of the message. If
2551 the message have same @samp{Subject:} with the parent message, it is not
2552 displayed. Some mailing list puts its sequence number in the
2553 @samp{Subject:} field, but it is
2554 ignored. @code{wl-summary-no-subject-message} is displayed when the
2555 message has empty subject field.
2557 @subsection Temporary Marks
2558 @cindex Mark, Temporary
2560 There are four temporary marks,
2561 @samp{*}, @samp{D}, @samp{o} and @samp{O}.
2562 Temporary marks indicates message operations.
2567 You can execute a command on the all messages that have @samp{*} mark,
2568 with the key bindings which begins with @kbd{m}.
2571 The mark to delete. You can put @samp{D} by typing @kbd{d} key.
2575 After you type @kbd{o} key, prompt appears to input refile destination.
2576 Your answer is printed in the summary line.
2580 You can put this mark by typing @kbd{O} key.
2581 The difference between this mark and refile mark is,
2582 this mark does not delete the message while latter does.
2585 @kbd{x} key executes @samp{D}, @samp{o} and @samp{O} marks.
2587 @subsection Persistent Marks
2589 There are five persistent marks,
2590 @samp{N}, @samp{U}, @samp{!}, @samp{u} and @samp{$}.
2592 The persistent mark indicates the message's status and it is saved.
2593 Each persistent mark indicates:
2599 It is unread message.
2601 It is unread but cached message.
2603 It is read but it is not cached.
2605 It is important message. You can put @samp{$} mark by typing @kbd{$}
2606 key (if already exists, the mark is deleted). It is convenient to put
2607 this mark on the messages to remember (If you want to remember to write
2608 a reply for the message, for example) because this mark remains after
2609 you exited Emacs. Messages with the @samp{$} mark can be reviewed in the
2610 @samp{'mark} folder even the message itself is deleted in the actual folder.
2613 If the message is read and cached (or local message),there are no
2617 @samp{N}, @samp{U} and @samp{u} indicates that the message have no
2618 cache. Messages with the marks other than these, you can read them in
2619 the offline status even they are in the IMAP folder or netnews folder.
2621 Among messages with persistent marks, ones with marks specified by
2622 @code{wl-summary-expire-reserve-marks} are excluded from the expiration
2623 (as a function of wanderlust) explained later. @xref{Expire and Archive}.
2625 @subsection How To Read
2627 Basically, you can read messages only typing space key again and again.
2629 To update summary status to the newest status (synchronize),
2632 You can jump to next unread message by typing @kbd{N} key, and @kbd{n} key
2633 moves cursor to the next message.
2634 Enter message buffer by typing @kbd{j} key.
2635 To operate multipart, you have to enter to the message buffer.
2638 @subsection Pack the Message Numbers
2639 You can pack the message numbers in Summary by
2640 @kbd{M-x wl-summary-pack-number}. Note that only MH Folder,
2641 News Spool Folder and Maildir Folder are supported folder types.
2644 @node Thread Operations, Cache, Usage of Summary Mode, Summary
2645 @section Thread Operations
2647 For example, the following line indicates one thread (a context of a topic).
2650 384 09/17(Thu)01:32 [+1: Teranishi ] wl-0.6.2
2654 If you type @kbd{/} on this line, the thread is opened and it changes
2655 the appearance like following.
2659 384 09/17(Thu)01:32 [ Teranishi ] wl-0.6.2
2660 388 09/17(Thu)22:34 +-[ Murata san ]
2664 (Message 388 is the replied message to the message 384.)
2665 If you type @kbd{/} key once again, the thread is closed.
2666 With prefix argument, @kbd{/} opens all children threads.
2668 If you type @kbd{[}, opens all threads in summary. @kbd{]} closes all
2671 Commands with the key binding that begins with @kbd{t} executes commands
2672 on the messages in the thread.
2673 @xref{Key Bindings of Summary}.
2675 @subsection reconstruct thread by hand
2677 You can reconstruct the thread manually. In Summary, @kbd{M-w}
2678 (@code{wl-summary-save-current-message}) at the corresponding message,
2679 and @kbd{C-y} (@code{wl-summary-yank-saved-message}) at the new parent
2680 message then you have the reconstructed thread.
2683 @node Cache, Auto Refile, Thread Operations, Summary
2686 @subsection Cache File
2688 The messages which have to access via network (e.x. IMAP, NNTP folder)
2689 are cached as a local file. The cache file is saved under the directory
2690 @file{~/.elmo/cache}. To expire cache, type @kbd{M-x
2691 elmo-cache-expire-by-size}. The command deletes cache files to the
2692 specified size by the order of last accessed time.
2694 @subsection Buffer Cache and Prefetching
2696 The messages that are read are kept in the cache buffer. It is called
2697 `buffer cache'. The number of cache buffer is specified by
2698 @code{wl-message-buffer-cache-size}.
2700 There are message prefetching mechanism in the Wanderlust that
2701 prefetches next message while you are reading.
2703 You can control the message prefetching mechanism by these two
2707 @item wl-message-buffer-prefetch-folder-type-list
2708 @vindex wl-message-buffer-prefetch-folder-type-list
2709 The initial setting is @code{t}. In this case, prefetch messages in all
2711 If it is a list of folder types, it specifies the folder types in which
2712 message prefetching is enabled.
2713 Following is an example (prefetch messages in nntp and imap4 folders)
2717 (setq wl-message-buffer-prefetch-folder-type-list
2722 In this case, multi folder that contains localdir and imap4 prefetches
2723 only imap4 messages. This variable precedes the value of
2724 @code{wl-message-buffer-prefetch-folder-list}.
2726 @item wl-message-buffer-prefetch-folder-list
2727 @vindex wl-message-buffer-prefetch-folder-list
2728 The initial setting is @code{nil}.
2729 A list of regexp of folders to enable message prefetching.
2731 @item wl-message-buffer-prefetch-depth
2732 @vindex wl-message-buffer-prefetch-depth
2733 The initial setting is 3. The number of messages for automatical prefetch.
2735 @item wl-message-buffer-prefetch-idle-time
2736 @vindex wl-message-buffer-prefetch-idle-time
2737 The initial setting is 0.2 (in seconds). The period of automatical prefetch.
2739 @item wl-message-buffer-prefetch-threshold
2740 @vindex wl-message-buffer-prefetch-threshold
2741 The initial setting is 30000 (bytes). If prefetching message has larger
2742 size than this value, Wanderlust does not prefetch automatically.
2743 If @code{wl-message-buffer-prefetch-threshold} is @code{nil},
2744 the message is not checked for the size.
2748 @node Auto Refile, Sticky Summary, Cache, Summary
2749 @section Auto Refile
2750 @vindex elmo-msgdb-extra-fields
2751 @vindex wl-refile-rule-alist
2752 @findex wl-summary-auto-refile
2754 You can refile messages automatically, by typing @kbd{C-o}
2755 (@code{wl-summary-auto-refile}). It decides destination of refile by
2756 the content of the message header information (information in the msgdb).
2758 By default, @samp{From:}, @samp{Subject:}, @samp{To:} and @samp{Cc:} is
2759 available. If you want to decide destination by other header fields,
2760 set the variable @code{elmo-msgdb-extra-fields} like following.
2764 (setq elmo-msgdb-extra-fields
2774 By this setting, Wanderlust saves extra fields in the msgdb. You have
2775 to type @kbd{s all} to get extra fields for the messages that are
2776 already exists in the summary.
2778 Then, specify the refile rule. The refile target folder of auto
2779 refiling is decided by the value of @code{wl-refile-rule-alist}.
2780 @code{wl-refile-rule-alist} is a list of a rule:
2784 (@var{field} (@var{regexp} . @var{target})
2785 (@var{regexp} . @var{target})
2790 Each rule means `if @var{field} value matches @var{regexp},
2791 then refile to @var{target} folder'.
2792 The rule matched first is applied.
2794 @var{field} is a string of field name. You can specify a list of field name
2795 string, too. In this case, if one of these fields is matched, then the
2796 rule is fired (i.e. OR condition).
2798 @var{regexp} is a regular expression for field value. @var{target} is a target
2799 folder string. You can specify a rule at @var{target} part, too. In this
2800 case, If the field value of the rule and the current rule is matched,
2801 then the current rule is fired (i.e. AND condition).
2803 In @var{target} part, you can refer matched substring of @var{regexp}.
2804 To refer substring, specify following in @var{target}:
2808 means substitute original matched text.
2811 means substitute what matched the @var{N}th `\(@dots{}\)'.
2812 (@var{N} is a number.)
2815 Following is an example of @code{wl-refile-rule-alist}.
2819 (setq wl-refile-rule-alist
2821 ("^Wanderlust" . "+wl")
2822 ("^Elisp" . "+elisp"))
2824 ("\\([a-z]+\\)@@gohome\\.org" . "+\\1"))
2826 ("me@@gohome\\.org" . ("To" ("you@@gohome\\.org" .
2827 "+from-me-to-you"))))))
2831 After these settings, refile marks are automatically put on the condition
2832 matched messages by typing @kbd{C-o} (@code{wl-summary-auto-refile}).
2834 Messages which have @code{wl-summary-auto-refile-skip-marks} is skipped
2836 By default, @samp{N}, @samp{U} and @samp{!} is specified, so the messages
2837 with these persistent marks are not automatically refiled.
2838 It means Wanderlust does not execute auto refile on unread messages by
2839 the default setting.
2840 To execute auto refile on all messages, set following.
2843 (setq wl-summary-auto-refile-skip-marks nil)
2847 @node Sticky Summary, Key Bindings of Summary, Auto Refile, Summary
2848 @section Sticky Summary
2849 @cindex Summary, Sticky
2850 @cindex Sticky Summary
2852 The buffer of the `sticky summary' does not killed by typing @kbd{q}.
2854 Sticky buffer is created by entering the summary by typing @kbd{C-u g}
2855 or type @kbd{M-s} (@code{wl-summary-stick}) on the normal summary.
2857 The buffer name of the sticky summary becomes like
2858 @samp{Summary:@var{folder-name}}.
2860 You can visit the sticky summary at any time by @kbd{C-x b}
2861 (@code{switch-to-buffer}). To exit sticky summary, type @kbd{C-u
2862 q}. Other operations in the sticky summary are same as normal summary.
2864 @code{wl-summary-always-sticky-folder-list} specifies the folders that
2865 are automatically stuck.
2868 @node Key Bindings of Summary, Variables of Summary, Sticky Summary, Summary
2869 @section Key bindings
2870 @cindex Keybind, Summary Mode
2871 @cindex Keybind, Summary Buffer
2873 Key bindings of the summary mode are shown below.
2877 @kindex @key{SPC} (Summary)
2878 @findex wl-summary-read
2879 Proceed reading a message at the current cursor point.
2880 (@code{wl-summary-read})
2884 @findex wl-summary-redisplay
2885 Redisplay a message at the current cursor point.
2886 If this command is called with prefix argument,
2887 Redisplay message regardless of the message cache (message is re-loaded
2889 (@code{wl-summary-redisplay})
2893 @findex wl-summary-display-top
2894 Display the top message in the folder.
2895 (@code{wl-summary-display-top})
2899 @findex wl-summary-display-bottom
2900 Display the bottom message in the folder.
2901 (@code{wl-summary-display-bottom})
2905 @kindex @key{BS} (Summary)
2906 @kindex @key{DEL} (Summary)
2907 Display the previous page of the message at the current cursor point.
2908 @findex wl-summary-prev-page
2909 (@code{wl-summary-prev-page})
2912 @kindex @key{RET} (Summary)
2913 @findex wl-summary-next-line-content
2914 Display the next line of the message at the current cursor point.
2915 Display the message at the current cursor point if it is not displayed yet.
2916 (@code{wl-summary-next-line-content})
2921 @kindex M-@key{RET} (Summary)
2922 @findex wl-summary-prev-line-content
2923 Display the previous line of the message at the current cursor point.
2924 Display the message at the current cursor point if it is not displayed yet.
2925 (@code{wl-summary-prev-line-content})
2929 @findex wl-thread-open-close
2930 Toggle open or close the thread at the current cursor point.
2931 (@code{wl-thread-open-close})
2936 @findex wl-thread-open-all
2937 (@code{wl-thread-open-all})
2942 @findex wl-thread-close-all
2943 (@code{wl-thread-close-all})
2947 @findex wl-summary-goto-folder
2949 (@code{wl-summary-goto-folder})
2953 Mark all messages in the folder as read.
2954 @findex wl-summary-mark-as-read-all
2955 (@code{wl-summary-mark-as-read-all})
2959 @findex wl-summary-reply
2960 Prepare a draft for reply the message at the current cursor point.
2961 (@code{wl-summary-reply})
2965 @findex wl-summary-reply-with-citation
2966 Prepare a draft for reply the message at the current cursor point.
2967 (@code{wl-summary-reply-with-citation})
2971 @findex wl-summary-cancel-message
2972 If the message at current cursor point is your own netnews article,
2974 (@code{wl-summary-cancel-message})
2978 @findex wl-summary-reedit
2979 Prepare a draft for re-editing the message at current cursor point.
2980 If the message at current cursor point is your own netnews article,
2981 a draft for `supersedes message' for the message is prepared.
2982 (@code{wl-summary-reedit})
2985 @kindex M-e (Summary)
2986 @findex wl-summary-resend-bounced-mail
2987 If the message at current cursor point is a bounced message,
2988 a draft for re-sending original message is prepared.
2989 (@code{wl-summary-resend-bounced-mail})
2993 @findex wl-summary-forward
2994 A draft for forwarding the message at current cursor point is prepared.
2995 (@code{wl-summary-forward})
2999 @findex wl-summary-mark-as-important
3000 Put @samp{$} mark on the message at current cursor point.
3001 If already marked as @samp{$}, delete it.
3002 (@code{wl-summary-mark-as-important})
3008 Save the message at current cursor point.
3009 @findex wl-summary-save
3010 (@code{wl-summary-save})
3014 @findex wl-summary-next
3015 Move cursor to the next message.
3016 If message is marked with a temporal mark in
3017 @code{wl-summary-skip-mark-list}, cursor is not moved to it.
3018 In the offline mode, cursor is not moved to the messages which are not cached
3020 (@code{wl-summary-next})
3024 @findex wl-summary-prev
3025 Move cursor to the previous message.
3026 If message is marked with a temporal mark in
3027 @code{wl-summary-skip-mark-list}, cursor is not moved to it.
3028 In the offline mode, cursor is not moved to the messages which are not cached
3030 (@code{wl-summary-prev})
3034 @findex wl-summary-down
3035 Move cursor to the downward message which is unread or marked
3037 In the offline mode, cursor is not moved to the messages which are not cached
3039 If there are messages which have target mark @samp{*} in the summary,
3040 cursor is moved to the downward message which have a target mark.
3041 This behavior is changed according to the value of @code{wl-summary-move-order}.
3042 (@code{wl-summary-down})
3046 @findex wl-summary-up
3047 Move cursor to the upward message which is unread or marked
3049 In the offline mode, cursor is not moved to the messages which are not cached
3051 If there are messages which have target mark @samp{*} in the summary,
3052 cursor is moved to the downward message which have a target mark.
3053 This behavior is changed according to the value of @code{wl-summary-move-order}.
3054 (@code{wl-summary-up})
3058 @findex wl-summary-write
3059 Prepare a new draft.
3060 (@code{wl-summary-write})
3064 @findex wl-summary-write-current-folder
3065 Prepare a new draft. If the current folder is NNTP folder,
3066 @samp{Newsgroups:} field is completed. If the current folder is mailing
3067 list folder (refile destination), guess @samp{To:} field and completed
3068 (If @code{wl-subscribed-mailing-list} is valid list)
3069 (@code{wl-summary-write-current-folder})
3073 @findex wl-summary-redisplay-all-header
3074 Redisplay the message at current cursor point with all header fields.
3075 (@code{wl-summary-redisplay-all-header})
3079 @findex wl-summary-redisplay-no-mime
3080 Redisplay the message at current cursor point without MIME analysis.
3081 (@code{wl-summary-redisplay-no-mime})
3085 @findex wl-summary-burst
3086 If the message at current cursor point has
3087 encapsulates multiple messages using MIME,
3088 de-capsulate and extract them on the current folder.
3089 (@code{wl-summary-burst})
3092 @kindex @@ (Summary)
3093 @findex wl-summary-edit-addresses
3094 Append/change/delete the message's sender information to the address
3095 book @file{~/.addresses} interactively. If this command is called with
3096 prefix argument, arbitrary address can be edited.
3097 (@code{wl-summary-edit-petname})
3101 @findex wl-status-update
3102 Sync up address book status with @file{~/.addresses}'s content.
3103 (@code{wl-status-update})
3107 @findex wl-summary-pipe-message
3108 Pipe current message's content to the external process.
3109 (@code{wl-summary-pipe-message})
3113 @findex wl-summary-print-message
3114 Print out current message's content.
3115 It uses @code{ps-print} module in Emacs 20.x.
3116 If you don't use color printer, you might want to set
3117 @code{wl-ps-print-buffer-function} to @code{ps-print-buffer}.
3120 (setq wl-ps-print-buffer-function 'ps-print-buffer)
3123 (@code{wl-summary-print-message})
3127 @findex wl-summary-exit
3128 Exit current folder.
3129 (@code{wl-summary-exit})
3133 @findex wl-summary-jump-to-current-message
3134 Jump cursor to the currently displayed message's window.
3135 (@code{wl-summary-jump-to-current-message})
3139 Jump cursor to the other message.
3140 @findex wl-summary-jump-to-msg
3141 (@code{wl-summary-jump-to-msg})
3145 Update summary status and
3146 prefetch all messages which have marks included in the
3147 @code{wl-summary-incorporate-marks}.
3148 @findex wl-summary-incorporate
3149 (@code{wl-summary-incorporate})
3152 @kindex M-j (Summary)
3153 @findex wl-summary-jump-to-msg-by-message-id
3154 Jump cursor to the message which have specified @samp{Message-Id:}. If
3155 @code{elmo-use-database} is non-nil, other folder is also searched.
3156 (@code{wl-summary-jump-to-msg-by-message-id})
3160 Jump to parent message.
3161 @findex wl-summary-jump-to-parent-message
3162 (@code{wl-summary-jump-to-parent-message})
3166 @findex wl-summary-mark-as-unread
3167 Mark as unread the message at current cursor point.
3168 (@code{wl-summary-mark-as-unread})
3172 @findex wl-summary-sync
3173 Synchronize summary view after prompting the update range
3174 (@samp{all}, @samp{update}, @samp{rescan}, @samp{first}, @samp{last}).
3178 all ...Discard current summary and update all message.
3179 all-visible ...Discard current summary and update all visible message.
3180 update ...Update the difference between summary and the folder itself.
3181 rescan ...Rescan the msgdb and display again.
3182 rescan-noscore ...Rescan the msgdb and display again (without scoring).
3183 cache-status ...Sync the all marks with the real status of cache.
3184 first, last ...Move to the filter folder(partial filter).
3189 (@code{wl-summary-sync})
3193 @findex wl-summary-sort
3195 You can sort by @samp{date}, @samp{from}, @samp{number} and @samp{subject}.
3196 (@code{wl-summary-sort})
3200 @findex wl-summary-toggle-thread
3201 Toggle the threading.
3202 Threading status is displayed on the modeline.
3203 @samp{@{S@}} means threading is off (Sequence) and
3204 @samp{@{T@}} means threading is on (Thread).
3205 (@code{wl-summary-toggle-thread})
3209 @findex wl-summary-toggle-disp-folder
3210 Toggle displaying of folder window.
3211 (@code{wl-summary-toggle-disp-folder})
3215 Toggle displaying of message window.
3216 @findex wl-summary-toggle-disp-msg
3217 (@code{wl-summary-toggle-disp-msg})
3221 Move to the virtual folder with the condition specified.
3222 If called with prefix argument and current folder is virtual, exit it.
3223 @findex wl-summary-virtual
3224 (@code{wl-summary-virtual})
3227 @kindex @key{TAB} (Summary)
3228 @findex wl-summary-goto-last-displayed-msg
3229 Jump to the message which is displayed last.
3230 (@code{wl-summary-goto-last-displayed-msg})
3234 Put @samp{*} mark on the messages that satisfies the specified condition.
3235 @findex wl-summary-pick
3236 (@code{wl-summary-pick})
3240 @findex wl-summary-mark-as-read
3241 Mark as read the message at the current cursor point.
3242 (@code{wl-summary-mark-as-read})
3246 Prefetch the message at the current cursor point.
3247 With prefix argument, prefetch the message even if it is cached.
3248 @findex wl-summary-prefetch
3249 (@code{wl-summary-prefetch})
3253 Execute @samp{D}, @samp{o} and @samp{O} marks.
3254 @findex wl-summary-exec
3255 (@code{wl-summary-exec})
3259 @findex wl-summary-target-mark-line
3260 Put target mark on the message at the current cursor point.
3261 (@code{wl-summary-target-mark-line})
3265 Put refile mark on the message at the current cursor point.
3266 @findex wl-summary-refile
3267 (@code{wl-summary-refile})
3270 @kindex C-o (Summary)
3271 Execute auto refile.
3272 @findex wl-summary-auto-refile
3273 (@code{wl-summary-auto-refile})
3277 Put copy mark on the message at the current cursor point.
3278 @findex wl-summary-copy
3279 (@code{wl-summary-copy})
3282 @kindex M-o (Summary)
3283 Put refile mark on the message at the current cursor point with the destination
3284 previously specified.
3285 @findex wl-summary-refile-prev-destination
3286 (@code{wl-summary-refile-prev-destination})
3290 @findex wl-summary-delete
3291 Put delete mark on the message at the current cursor point.
3292 (@code{wl-summary-delete})
3296 @findex wl-summary-unmark
3297 Unmark the temporal mark on the message at the current cursor point.
3298 (@code{wl-summary-unmark})
3302 Unmark all the temporal marks.
3303 @findex wl-summary-unmark-all
3304 (@code{wl-summary-unmark-all})
3307 @kindex r R (Summary)
3308 @findex wl-summary-mark-as-read-region
3309 Mark as read messages in the specified region.
3310 (@code{wl-summary-mark-as-read-region})
3313 @kindex r $ (Summary)
3314 @findex wl-summary-mark-as-important-region
3315 Mark as important @samp{$} messages in the specified region.
3316 If @samp{$} already exists, it is deleted.
3317 (@code{wl-summary-mark-as-important-region})
3320 @kindex r ! (Summary)
3321 @findex wl-summary-mark-as-unread-region
3322 Mark as unread messages in the specified region.
3323 (@code{wl-summary-mark-as-unread-region})
3326 @kindex r i (Summary)
3327 @findex wl-summary-prefetch-region
3328 Prefetch messages in the specified region.
3329 (@code{wl-summary-prefetch-region})
3332 @kindex r x (Summary)
3333 @findex wl-summary-exec-region
3334 Execute @samp{D}, @samp{o} and @samp{O} marks on the messages in the
3336 (@code{wl-summary-exec-region})
3339 @kindex r * (Summary)
3340 @findex wl-summary-target-mark-region
3341 Put target mark on the messages in the specified region.
3342 (@code{wl-summary-target-mark-region})
3345 @kindex r o (Summary)
3346 @findex wl-summary-refile-region
3347 Put refile mark on the messages in the specified region.
3348 (@code{wl-summary-refile-region})
3351 @kindex r O (Summary)
3352 @findex wl-summary-copy-region
3353 Put copy mark on the messages in the specified region.
3354 (@code{wl-summary-copy-region})
3357 @kindex r d (Summary)
3358 @findex wl-summary-delete-region
3359 Put delete mark on the messages in the specified region.
3360 (@code{wl-summary-delete-region})
3363 @kindex r u (Summary)
3364 @findex wl-summary-unmark-region
3365 Delete temporal mark on the messages in the specified region.
3366 (@code{wl-summary-unmark-region})
3369 @kindex r y (Summary)
3370 Save messages in the specified region.
3371 @findex wl-summary-save-region
3372 (@code{wl-summary-save-region})
3375 @kindex t R (Summary)
3376 @findex wl-thread-mark-as-read
3377 Mark as read messages which are the descendant of the current thread.
3378 With prefix argument, it affects on the all messages in the thread tree.
3379 (@code{wl-thread-mark-as-read})
3382 @kindex t $ (Summary)
3383 @findex wl-thread-mark-as-important
3384 Put important mark @samp{$} on the messages which are the
3385 descendant of the current thread.
3386 If @samp{$} mark exists, it is deleted.
3387 With prefix argument, it affects on the all messages in the thread tree.
3388 (@code{wl-thread-mark-as-important})
3391 @kindex t ! (Summary)
3392 @findex wl-thread-mark-as-unread
3393 Mark as unread messages which are the descendant of the current thread.
3394 With prefix argument, it affects on the all messages in the thread tree.
3395 (@code{wl-thread-mark-as-unread})
3398 @kindex t i (Summary)
3399 @findex wl-thread-prefetch
3400 Prefetch messages which are the descendant of the current thread.
3401 With prefix argument, it affects on the all messages in the thread tree.
3402 (@code{wl-thread-prefetch})
3405 @kindex t x (Summary)
3406 @findex wl-thread-exec
3407 Execute @samp{D}, @samp{o} and @samp{O} marks on the messages which are
3408 the descendant of the current thread. With prefix argument, it affects
3409 on the all messages in the thread tree.
3410 (@code{wl-thread-exec})
3413 @kindex t * (Summary)
3414 @findex wl-thread-target-mark
3415 Put target mark @samp{*} on the messages which are the descendant of the
3416 current thread. With prefix argument, it affects on the all messages in
3418 (@code{wl-thread-target-mark})
3421 @kindex t o (Summary)
3422 @findex wl-thread-refile
3423 Put refile mark on the messages which are the descendant of the current thread.
3424 With prefix argument, it affects on the all messages in the thread tree.
3425 (@code{wl-thread-refile})
3428 @kindex t O (Summary)
3429 @findex wl-thread-copy
3430 Put copy mark on the messages which are the descendant of the current thread.
3431 With prefix argument, it affects on the all messages in the thread tree.
3432 (@code{wl-thread-copy})
3435 @kindex t d (Summary)
3436 @findex wl-thread-delete
3437 Put delete mar on the messages which are the descendant of the current thread.
3438 With prefix argument, it affects on the all messages in the thread tree.
3439 (@code{wl-thread-delete})
3442 @kindex t u (Summary)
3443 @findex wl-thread-unmark
3444 Unmark temporal mark on the messages which are the descendant of the
3445 current thread. With prefix argument, it affects on the all messages in
3447 (@code{wl-thread-unmark})
3450 @kindex t y (Summary)
3451 @findex wl-thread-save
3452 Save messages which are the descendant of the current thread.
3453 With prefix argument, it affects on the all messages in the thread tree.
3454 (@code{wl-thread-save})
3457 @kindex m i (Summary)
3458 @findex wl-summary-target-mark-prefetch
3459 Prefetch all messages which have target mark @samp{*}.
3460 With prefix argument, prefetch all targets even if some of them are cached.
3461 (@code{wl-summary-target-mark-prefetch})
3464 @kindex m R (Summary)
3465 @findex wl-summary-target-mark-mark-as-read
3466 Mark as read all messages which have target mark @samp{*}.
3467 (@code{wl-summary-target-mark-mark-as-read})
3470 @kindex m $ (Summary)
3471 @findex wl-summary-target-mark-mark-as-important
3472 Mark as important all messages which have target mark @samp{*}.
3473 If already marked as @samp{$}, it is deleted.
3474 (@code{wl-summary-target-mark-mark-as-important})
3477 @kindex m ! (Summary)
3478 @findex wl-summary-target-mark-mark-as-unread
3479 Mark as unread all messages which have target mark @samp{*}.
3480 (@code{wl-summary-target-mark-mark-as-unread})
3483 @kindex m o (Summary)
3484 @findex wl-summary-target-mark-refile
3485 Put refile mark on the messages which have target mark @samp{*}.
3486 (@code{wl-summary-target-mark-refile})
3489 @kindex m O (Summary)
3490 @findex wl-summary-target-mark-copy
3491 Put copy mark on the messages which have target mark @samp{*}.
3492 (@code{wl-summary-target-mark-copy})
3495 @kindex m d (Summary)
3496 @findex wl-summary-target-mark-delete
3497 Put delete mark on the messages which have target mark @samp{*}.
3498 (@code{wl-summary-target-mark-delete})
3501 @kindex m y (Summary)
3502 @findex wl-summary-target-mark-save
3503 Save messages which have target mark @samp{*}.
3504 (@code{wl-summary-target-mark-save})
3507 @kindex m u (Summary)
3508 Unmark all temporal marks.
3509 (@code{wl-summary-delete-all-temp-marks})
3510 @findex wl-summary-delete-all-temp-marks
3513 @kindex m a (Summary)
3514 Put target mark @samp{*} on the all messages.
3515 (@code{wl-summary-target-mark-all})
3516 @findex wl-summary-target-mark-all
3519 @kindex m t (Summary)
3520 Put target mark @samp{*} on the messages in the current thread.
3521 @findex wl-summary-target-mark-thread
3522 (@code{wl-summary-target-mark-thread})
3525 @kindex m r (Summary)
3526 @findex wl-summary-target-mark-region
3527 Put target mark @samp{*} on the messages in the specified region.
3528 (@code{wl-summary-target-mark-region})
3531 @kindex m A (Summary)
3532 @findex wl-summary-target-mark-reply-with-citation
3533 Prepare a draft which cites all messages which have target mark @samp{*}.
3534 (@code{wl-summary-target-mark-reply-with-citation})
3537 @kindex m f (Summary)
3538 @findex wl-summary-target-mark-forward
3539 Prepare a draft which forwards all messages which have target mark @samp{*}.
3540 (@code{wl-summary-target-mark-forward})
3543 @kindex m U (Summary)
3544 @findex wl-summary-target-mark-uudecode
3545 Uudecode the messages which have target mark @samp{*}.
3546 (@code{wl-summary-target-mark-uudecode})
3549 @kindex m ? (Summary)
3550 @findex wl-summary-target-mark-pick
3551 Pick messages from the @samp{*} marked messages.
3552 That is, @samp{*} marks on the messages are remained
3553 if the specified condition is satisfied.
3554 (@code{wl-summary-target-mark-pick})
3557 @kindex M-t (Summary)
3558 @findex wl-toggle-plugged
3559 Toggle offline/online status of Wanderlust.
3560 (@code{wl-toggle-plugged})
3563 @kindex C-t (Summary)
3564 Start Wanderlust's plug-status manager.
3565 (@code{wl-plugged-change})
3568 @kindex C-c C-o (Summary)
3569 @findex wl-jump-to-draft-buffer
3570 Move to the draft buffer if available. If multiple draft buffer exists,
3571 moved to one after another. If prefix argument is specified, load draft
3572 folder's message to the draft buffer and jump to it.
3573 (@code{wl-jump-to-draft-buffer})
3576 @kindex M-w (Summary)
3577 @findex wl-summary-save-current-message
3578 Save the message at the current cursor point.
3579 (@code{wl-summary-save-current-message})
3582 @kindex C-y (Summary)
3583 @findex wl-summary-yank-saved-message
3584 Regard the message at the current cursor point as
3585 parent, connect the message saved by
3586 @code{wl-summary-save-current-message}
3588 (@code{wl-summary-yank-saved-message})
3592 @node Variables of Summary, , Key Bindings of Summary, Summary
3593 @section Customiziable variables
3596 @item wl-summary-move-order
3597 @vindex wl-summary-move-order
3598 The initial setting is @code{unread}. Specify cursor moving policy. If
3599 you want to precede new messages, set @code{new}. If you want to
3600 precede unread messages, set @code{unread}. If @code{nil}, proceed to
3603 @item wl-auto-select-first
3604 @vindex wl-auto-select-first
3605 The initial setting is @code{nil}.
3606 If non-nil, first message is automatically displayed.
3608 @item wl-auto-select-next
3609 @vindex wl-auto-select-next
3610 The initial setting is @code{nil}. This controls behavior when there is
3611 no unread message in current summary.
3614 nil: asks whether you want to go back to folder mode
3615 'unread: asks whether you want to go to next unread folder
3616 If the next one comes to be possessing no unread message
3617 by treatment of cross-posted messages or Scoring, then
3618 asks whether you want to go to next to next folder.
3619 'skip-no-unread: similar as unread
3620 But does not ask before going to next to next folder.
3621 otherwise: asks whether you want to go to next unread folder
3624 It might be useful to set @code{'skip-no-unread} for people who
3625 want to continue reading by just pressing and pressing space key.
3627 @item wl-thread-insert-opened
3628 @vindex wl-thread-insert-opened
3629 The initial setting is @code{nil}.
3630 If non-nil, thread is inserted as opened.
3632 @item wl-thread-open-reading-thread
3633 @vindex wl-thread-open-reading-thread
3634 The initial setting is @code{t}. If non-nil, reading thread is
3635 automatically opened though it is closed thread.
3637 @item wl-summary-exit-next-move
3638 @vindex wl-summary-exit-next-move
3639 The initial setting is @code{t}. If non-nil, move to next folder at
3642 @item wl-folder-move-cur-folder
3643 @vindex wl-folder-move-cur-folder
3644 The initial setting is @code{nil}. If non-nil, cursor position on the
3647 @item wl-summary-weekday-name-lang
3648 @vindex wl-summary-weekday-name-lang
3649 The initial setting is @samp{ja}. Specify language of the weekday.
3650 @samp{en} displays English, @samp{fr} displays French, @samp{de}
3651 displays Deutsch. You should rescan summary view after changing this value.
3653 @item wl-summary-fix-timezone
3654 @vindex wl-summary-fix-timezone
3655 The initial setting is @code{nil}.
3656 Time zone of the date string in summary mode is adjusted using this value.
3657 If @code{nil}, it is adjust to the default time zone information
3658 (system's default time zone or environment variable @samp{TZ}).
3660 @item wl-use-petname
3661 @vindex wl-use-petname
3662 The initial setting is @code{t}.
3663 If non-nil, sender part displays nickname.
3665 @item wl-break-pages
3666 @vindex wl-break-pages
3667 The initial setting is @code{t}.
3668 If non-nil, message is split as pages by @samp{^L}.
3670 @item wl-message-window-size
3671 @vindex wl-message-window-size
3672 The initial setting is '(1 . 4).
3673 A cons cell to specify the rate of summary and message window.
3674 car:cdr corresponds summary:message.
3676 @item wl-summary-no-from-message
3677 @vindex wl-summary-no-from-message
3678 The initial setting is @samp{nobody@@nowhere?}. A string which is
3679 displayed when there's no @samp{From:} field in the message.
3681 @item wl-summary-no-subject-message
3682 @vindex wl-summary-no-subject-message
3683 The initial setting is @samp{(WL:No Subject in original.)}. A string
3684 which is displayed when there's no @samp{Subject:} field in the message.
3686 @item wl-summary-use-frame
3687 @vindex wl-summary-use-frame
3688 The initial setting is @code{nil}.
3689 If non-nil, use new frame for the summary.
3691 @item wl-use-folder-petname
3692 @vindex wl-use-folder-petname
3693 The initial setting is the list shown below:
3702 A list of display policy (symbol) of folder nickname. Available symbols
3707 Display folder petname on modeline.
3709 Destination folder is notified as nickname if
3710 @code{wl-auto-select-next} is non-nil.
3712 You can input folder name by nickname in the function
3713 @code{wl-summary-read-folder}.
3716 @item wl-summary-move-direction-toggle
3717 @vindex wl-summary-move-direction-toggle
3718 The initial setting is @code{t}. If non-nil, last executed @kbd{p},
3719 @kbd{P}, @kbd{n}, @kbd{N} toggles the direction of cursor move. If you
3720 want to aware of reading direction, set this to @code{t}.
3722 @item wl-summary-width
3723 @vindex wl-summary-width
3724 The initial setting is 80.
3725 Width of summary line. If @code{nil}, summary line's width is as is.
3727 @item wl-summary-from-width
3728 @vindex wl-summary-from-width
3729 The initial setting is 17.
3730 Width of sender part of summary line.
3732 @item wl-summary-subject-length-limit
3733 @vindex wl-summary-subject-length-limit
3734 The initial setting is @code{nil}. Specify the limit for the length of
3735 subject parts in summary. @code{nil} means unlimited.
3737 @item wl-summary-indent-length-limit
3738 @vindex wl-summary-indent-length-limit
3739 The initial setting is 46.
3740 Specify the limit of thread indent level. @code{nil} means unlimited
3742 If you set this to @code{nil} you should set @code{wl-summary-width}
3745 @item wl-summary-recenter
3746 @vindex wl-summary-recenter
3747 The initial setting is t.
3748 If non-nil, cursor point is moved to the center of the summary window.
3750 @item wl-summary-divide-thread-when-subject-changed
3751 @vindex wl-summary-divide-thread-when-subject-changed
3752 The initial setting is @code{nil}. If non-nil, thread is split if
3753 the subject is changed.
3755 @item wl-summary-search-via-nntp
3756 @vindex wl-summary-search-via-nntp
3757 The initial setting is @code{confirm}.
3759 If non-nil and @code{wl-summary-jump-to-msg-by-message-id} failed, call
3760 @code{wl-summary-jump-to-msg-by-message-id-via-nntp} and search message
3761 from the NNTP server @code{elmo-nntp-default-server}. The value of
3762 @code{elmo-nntp-default-user}, @code{elmo-nntp-default-port},
3763 @code{elmo-nntp-default-stream-type} are used.
3765 If @code{confirm}, server name can be specified. You can specify NNTP
3766 folder format like @samp{-:username@@servername:119!}.
3768 @item wl-summary-keep-cursor-command
3769 @vindex wl-summary-keep-cursor-command
3770 The initial setting is the list shown below:
3774 (wl-summary-goto-folder wl-summary-goto-last-visited-folder)
3779 When you entered to summary by these commands and the target summary
3780 buffer already exists, summary status is not automatically updated and
3781 cursor position is saved.
3783 @item elmo-folder-update-threshold
3784 @vindex elmo-folder-update-threshold
3785 The initial setting is 500. If updated message number is larger than
3786 this value, confirm whether drop them or not (in the case where the value
3787 of @code{elmo-folder-update-confirm} is non-nil).
3789 @item elmo-folder-update-confirm
3790 @vindex elmo-folder-update-confirm
3791 The initial setting is @code{t}. If the value is non-nil, do check with
3792 @code{elmo-folder-update-threshold}.
3794 @item wl-summary-always-sticky-folder-list
3795 @vindex wl-summary-always-sticky-folder-list
3796 The initial setting is @code{nil}.
3797 @code{wl-summary-always-sticky-folder-list} specifies the folders that
3798 are automatically stuck. Each element is regexp of folder name.
3800 @item wl-summary-reserve-mark-list
3801 @vindex wl-summary-reserve-mark-list
3802 The initial setting is the list shown below:
3811 If a message is already marked as temporal marks in this list, the
3812 message is not marked by any mark command.
3814 @item wl-summary-skip-mark-list
3815 @vindex wl-summary-skip-mark-list
3816 The initial setting is the list shown below:
3825 If a message is already marked as temporal marks in this list, the
3826 message is skipped at cursor move.
3828 @item elmo-message-fetch-threshold
3829 @vindex elmo-message-fetch-threshold
3830 The initial setting is 30000 (bytes). If displaying message has larger
3831 size than this value, Wanderlust confirms whether fetch the message or
3832 not (in the case where the value of @code{elmo-message-fetch-confirm}
3835 @item elmo-message-fetch-confirm
3836 @vindex elmo-message-fetch-confirm
3837 The initial setting is @code{t}. If the value is non-nil, do check with
3838 @code{elmo-message-fetch-threshold}.
3840 @item wl-prefetch-threshold
3841 @vindex wl-prefetch-threshold
3842 The initial setting is 30000 (bytes). If prefetching message has larger
3843 size than this value and @code{wl-prefetch-confirm} is non-nil,
3844 Wanderlust confirms whether prefetch the message or not. If
3845 @code{wl-prefetch-threshold} is @code{nil}, the message is prefetched
3846 without confirmation.
3848 @item wl-prefetch-confirm
3849 @vindex wl-prefetch-confirm
3850 The initial setting is @code{t}. If non-nil, Wanderlust confirms whether
3851 prefetch the message or not if the message has larger size than
3852 @code{wl-prefetch-threshold}.
3854 @item elmo-imap4-use-cache
3855 @vindex elmo-imap4-use-cache
3856 The initial setting is @code{t}. If non-nil, messages read via IMAP4
3859 @item elmo-nntp-use-cache
3860 @vindex elmo-nntp-use-cache
3861 The initial setting is @code{t}. If non-nil, messages read via NNTP are
3864 @item elmo-pop3-use-cache
3865 @vindex elmo-pop3-use-cache
3866 The initial setting is @code{t}. If non-nil, messages read via POP3 are
3869 @item elmo-shimbun-use-cache
3870 @vindex elmo-shimbun-use-cache
3871 The initial setting is @code{t}. If non-nil, messages read in Shimbun
3874 @item wl-folder-process-duplicates-alist
3875 @vindex wl-folder-process-duplicates-alist
3876 The initial setting is @code{nil}.
3877 This list determines how to deal with duplicated messages in the same folder.
3878 Each item in the list is regexp of folder name and action; you can specify any
3879 one of the following in the place of action:
3882 @code{nil} : do nothing for duplicated messages.
3883 @code{hide} : hide duplicated messages from the summary.
3884 @code{read} : set duplicated messages as read.
3888 Following is an example (hide duplicated messages in multi folders)
3892 (setq wl-folder-process-duplicates-alist
3893 '(("^\\+draft$" . nil) ("^\\+trash$" . nil)
3894 ("^\\*.*" . hide) (".*" . read)))
3900 @node Message, Draft, Summary, Top
3901 @chapter Message Buffer
3903 Message Buffers utilize MIME-View mode of SEMI. For operational
3904 procedures and key bindings, refer to respective documents.
3905 @xref{MIME-View, , ,mime-ui-en, a MIME user interface for GNU Emacs}.
3906 You can also see help by @kbd{?} in message buffer.
3908 @kbd{p} at the top of a message or @kbd{n} at the bottom of a message
3909 brings you back to Summary mode. @kbd{l} toggles display of Summary
3912 @section Key Bindings
3918 @findex wl-message-toggle-disp-summary
3919 Toggles display of Summary mode buffer.
3920 (@code{wl-message-toggle-disp-summary})
3923 @findex wl-message-refer-article-or-url
3924 @kindex Button-2 (Message)
3925 Assumes @samp{Message-ID:} at the mouse pointer, and shows the
3926 corresponding message if found.
3927 (@code{wl-message-refer-article-or-url})
3929 @item Button-4 (upward movement of a wheel)
3930 @kindex Button-4 (Message)
3931 @findex wl-message-wheel-down
3932 Scrolls the message backwards. When the top of the message is hit,
3933 moves to the previous message.
3934 (@code{wl-message-wheel-down})
3936 @item Button-5 (downward movement of a wheel)
3937 @kindex Button-5 (Message)
3938 @findex wl-message-wheel-up
3939 Scrolls the message forward. When the bottom of the message is hit,
3940 moves to the next message.
3941 (@code{wl-message-wheel-up})
3944 @section Customizable Variables
3947 @item wl-message-window-size
3948 @vindex wl-message-window-size
3949 Initial setting is @code{'(1 . 4)}. It is a cons cell and the ratio of
3950 its car and cdr value corresponds to the ratio of Summary and Message
3953 @item wl-message-ignored-field-list
3954 @vindex wl-message-ignored-field-list
3955 (SEMI only) Initial setting is @code{nil}.
3956 All fields that match this list will be hidden in message buffer.
3957 Each elements are regexp of field-name.
3958 If @code{nil}, the value of @code{mime-view-ignored-field-list} is used.
3960 @item wl-message-visible-field-list
3961 @vindex wl-message-visible-field-list
3962 (SEMI only) Initial setting is @code{nil}.
3963 All fields that match this list will be display in message buffer.
3964 Each elements are regexp of field-name. This value precedes
3965 @code{wl-message-ignored-field-list}.
3966 If @code{nil}, the value of @code{mime-view-visible-field-list} is used.
3968 @item wl-message-sort-field-list
3969 @vindex wl-message-sort-field-list
3970 (SEMI only) Initial setting is
3971 '("Return-Path" "Received" "^To" "^Cc" "Newsgroups" "Subject" "^From").
3972 Header fields in message buffer are ordered by this value.
3973 Each elements are regexp of field-name.
3975 @item wl-message-truncate-lines
3976 @vindex wl-message-truncate-lines
3977 The initial value is the value of @code{default-truncate-lines}.
3978 If it is non-nil, truncate long lines in message buffer.
3981 @node Draft, Disconnected Operations, Message, Top
3982 @chapter Draft Buffer
3984 At Summary mode, pressing @kbd{w} and the like creates a new draft
3985 buffer. You can edit and send mail and news articles in this buffer.
3989 Basically it is Emacs-standard mail mode.
3991 @subsection Address Completion
3993 Initially, the cursor is at the @samp{To:} field. Fill in recipients
3994 addresses. @kbd{@key{TAB}} completes them.
3996 If you want to submit a news article, add @samp{Newsgroups:} field by
3997 yourself. Field names can be completed by @kbd{@key{TAB}}.
3999 If you save the draft buffer you are editing, it is appended to the
4000 folder specified by @code{wl-draft-folder}.
4002 Using @samp{FCC:} field, you can specify the folder to which a copy of
4003 the message is saved when it is sent.
4005 @subsection Editing Messages
4007 Multi-part editing utilize MIME edit mode of SEMI. For procedures of
4008 editing, refer to respective documents. @xref{MIME-Edit, , ,mime-ui-en,
4009 a MIME user interface for GNU Emacs}.
4010 You can also see help by @kbd{C-c C-x ?} in draft buffer.
4012 @subsection Dynamic Modification of Messages
4013 @vindex wl-draft-config-alist
4014 @c @cindex Change Message
4015 @c @cindex Message, Change Dynamic
4017 You can set @code{wl-draft-config-alist} so that header and body of the
4018 message will automatically modified depending on information of header
4021 The initial setting of @code{wl-draft-config-alist} is @code{nil}.
4023 In the example below, the header is modified when
4024 @code{wl-draft-send-and-exit} or @code{wl-draft-send} is invoked. You
4025 can set @code{wl-interactive-send} to non-nil so as to confirm changes
4026 before sending the message.
4030 (setq wl-draft-config-alist
4031 '(((string-match "aaa\\.example\\.com$" (system-name))
4032 ;; @r{applied if the expression is non-nil}
4033 (wl-smtp-posting-server . "mailserver-B")
4034 (wl-nntp-posting-server . "newsserver-B")
4035 ;; @r{settings of temporary variables}
4037 ("^To: .*user@@aaa\\.bbb\\.example\\.com"
4038 ;; @r{applied if it matches the header of the draft buffer}
4039 ("Organization" . (format "Go %s" my-webpage)))
4040 ;; @r{you can write elisp expressions here (eval only)}
4041 (top . "Hello.\n") ;; @r{inserted at the top of the body}
4042 (bottom . "\nBye.\n") ;; @r{inserted at the bottom of the body}
4047 The format of @code{wl-draft-config-alist} is:
4051 '(("@var{regexp of the header}" or @var{elisp expression}
4052 ("@var{Field}" . value(@var{elisp expression}))
4053 (@var{variable} . value(@var{elisp expression}))
4054 (@var{sub-function} . value(@var{elisp expression}))
4057 ("@var{regexp of the header}" or @var{elisp expression}
4058 ("@var{Field}" . value(@var{elisp expression}))
4063 Per default, there are 10 following sub-functions.
4066 'header: Inserts the specified string at the bottom of the header.
4067 'header-top: Inserts the specified string at the top of the header.
4068 'header-file: Inserts the specified file at the bottom of the header.
4069 'x-face: Inserts @samp{X-Face:} field with the content of the specified file.
4070 'top: Inserts the specified string at the top of the body.
4071 'top-file: Inserts the specified file at the top of the body.
4072 'body: Replaces the body with the specified string.
4073 Specifying @code{nil} deletes the entire body string.
4074 'body-file: Replaces the body with the content of the specified file.
4075 'bottom: Inserts the specified string at the bottom of the body.
4076 'bottom-file: Inserts the specified file at the top of the body.
4077 'part-top: Inserts the specified string at the top of the current part.
4078 'part-bottom: Inserts the specified string at the bottom of the current part.
4079 'template: Applies the specified template.
4080 (refer to the next subsection)
4083 These are defined in @code{wl-draft-config-sub-func-alist} and you can
4084 change them or add your own functions. If you read the code, you can
4085 easily find how to write the functions.
4087 At the first of each item, @var{a regular expression of the header} or
4088 an @var{elisp expression} should be specified. In the case of an elisp
4089 expression, the item is applied when the expression is evaluated
4092 Per default, when multiple items match or are evaluated non-nil, all
4093 such items are applied, but if you set a variable
4094 @code{wl-draft-config-matchone} to @code{t}, only the first matching one
4097 At the second of the item, a cons or a list of functions should be
4098 specified. The car part of the cons should be a header field, a
4099 variable, or a sub-function. When a header field is specified, the
4100 field will be modified. If a variable is specified, the value of the
4101 variable will be modified temporarily.
4103 In the cdr part of a cons, not only a variable but also an elisp
4104 expression can be specified as is. If the car part is a header field
4105 and the cdr part is @code{nil}, the field will be deleted.
4107 If you want to use name of parent folder, you can refer the buffer local
4108 variable @code{wl-draft-parent-folder}.
4110 See the next example as well:
4114 (setq wl-draft-config-alist
4116 "X-ML-Name: \\(Wanderlust\\|emacs-mime-ja\\|apel-ja\\)"
4117 ;; @r{applied if it matches the header of the buffer being replied}
4118 (body . " Hello.\n")
4119 (template . "default")
4124 As in the (1) above, if a header regexp is prepended with @code{reply},
4125 it is applied when the draft is prepared by @code{wl-summary-reply} for
4126 example, and when it matches the header being replied. It is ignored
4127 when there is no buffer being replied, like after @code{wl-draft} was
4130 Note that @code{wl-draft-config-alist} is applied only once when
4131 @code{wl-draft-send-and-exit} or @code{wl-draft-send} is invoked.
4132 Therefore, if you want to apply @code{wl-draft-config-alist} again after
4133 aborting transmission, execute @kbd{C-c C-e}
4134 (@code{wl-draft-config-exec}) explicitly.
4136 If you don't want to apply @code{wl-draft-config-alist} when
4137 @code{wl-draft-send-and-exit} or @code{wl-draft-send} is invoked,
4141 (remove-hook 'wl-draft-send-hook 'wl-draft-config-exec)
4144 If you want to apply @code{wl-draft-config-alist} when a draft buffer is
4145 prepared, do the following:
4148 (add-hook 'wl-mail-setup-hook 'wl-draft-config-exec)
4151 If you want to apply @code{wl-draft-config-alist} when you re-edit a mail
4152 from summary mode by typing @kbd{E}(@code{wl-summary-reedit}), do the
4156 (add-hook 'wl-draft-reedit-hook 'wl-draft-config-exec)
4159 @subsection Inserting Templates
4161 @cindex Apply Template
4163 Set a variable @code{wl-template-alist}, and type @kbd{C-c C-j} or
4164 @kbd{M-x wl-template-select} in the draft buffer.
4166 The format of @code{wl-template-alist} is almost the same as
4167 @code{wl-draft-config-alist}.
4171 (setq wl-template-alist
4174 ("Organization" . "Example Co.Ltd.")
4175 (body . "Hello.\n"))
4177 (template . "default") ;; @r{(a)}
4178 ("To" . "boss@@example.com")
4179 ("Subject" . "Report")
4180 (body-file . "~/work/report.txt")
4186 As you can see, the only difference is item (template) names such as
4187 @samp{default} and @samp{report}, instead of a regexp of header.
4188 Because definition of each item is the same as
4189 @code{wl-draft-config-alist}, you can call another template, like (a).
4191 Executing the command @code{wl-template-select} results in template
4192 selection, but the result differs depending on variable
4193 @code{wl-template-visible-select}.
4195 If @code{wl-template-visible-select} is @code{t} (default), a buffer
4196 window is shown below the draft buffer. You can select a template by
4197 @kbd{n} and @kbd{p} seeing the buffer window.
4199 Press the @key{RET} key and the template is actually applied to the draft
4200 buffer. If you press @kbd{q}, nothing is applied. In addition, you can
4201 adjust the window size by @code{wl-template-buffer-lines}.
4203 If @code{wl-template-visible-select} is @code{nil}, you should type the
4204 name of the template in the mini buffer.
4206 As shown in the example in @code{wl-draft-config-alist}, you can select
4207 @samp{default} template by writing:
4210 (template . "default")
4213 @subsection Sending mail by POP-before-SMTP
4214 @cindex POP-before-SMTP
4216 You can send mail by POP-before-SMTP with this single line:
4219 (setq wl-draft-send-mail-function 'wl-draft-send-mail-with-pop-before-smtp)
4223 Configure the following variables if you need.
4226 @item wl-pop-before-smtp-user
4227 The POP user name for POP-before-SMTP authentication.
4228 If unset, @code{elmo-pop3-default-user} is used.
4230 @item wl-pop-before-smtp-server
4231 The POP server name for POP-before-SMTP authentication.
4232 If unset, @code{elmo-pop3-default-server} is used.
4234 @item wl-pop-before-smtp-authenticate-type
4235 The POP authentication method for POP-before-SMTP authentication.
4236 If unset, @code{elmo-pop3-default-authenticate-type} is used.
4238 @item wl-pop-before-smtp-port
4239 The POP port number for POP-before-SMTP authentication.
4240 If unset, @code{elmo-pop3-default-port} is used.
4242 @item wl-pop-before-smtp-stream-type
4243 If non-nil, POP connection is established using SSL. If
4244 @code{starttls}, STARTTLS (RFC2595) connection will be established. If
4245 unset, @code{elmo-pop3-default-stream-type} is used.
4248 If variables for POP-before-SMTP (@code{wl-pop-before-smtp-*}) are
4249 unset, settings for POP folders (@code{elmo-pop3-default-*}) are
4251 Therefore, if SMTP server and POP server are actually the same, and if
4252 POP folder per default (such as @samp{&}) is available, no settings are
4255 Refer to the following URL about POP-before-SMTP.
4259 http://spam.ayamura.org/tools/smPbS.html
4260 http://www.iecc.com/pop-before-smtp.html
4264 @section Key Bindings
4265 @cindex Keybind, Draft Mode
4266 @cindex Keybind, Draft Buffer
4271 @kindex C-c C-y (Draft)
4272 @findex wl-draft-yank-original
4273 Cites the content of the current message buffer.
4274 (@code{wl-draft-yank-original})
4277 @kindex C-c C-p (Draft)
4278 @findex wl-draft-preview-message
4279 Previews the content of the current draft.
4280 This is useful for previewing MIME multi-part messages.
4281 (@code{wl-draft-preview-message})
4284 @kindex C-c C-s (Draft)
4285 @findex wl-draft-send
4286 Sends the content of the current draft. Does not erase the draft buffer.
4287 This is useful for sending multiple messages, which are a little different
4289 (@code{wl-draft-send})
4292 @kindex C-c C-c (Draft)
4293 @findex wl-draft-send-and-exit
4294 Sends the content of the current draft and erases the draft buffer.
4295 (@code{wl-draft-send-and-exit})
4298 @kindex C-x C-s (Draft)
4299 @findex wl-draft-save
4300 Save the current draft.
4301 (@code{wl-draft-save})
4304 @kindex C-c C-k (Draft)
4305 @findex wl-draft-kill
4306 Kills the current draft.
4307 (@code{wl-draft-kill})
4310 @kindex C-x k (Draft)
4311 @findex wl-draft-mimic-kill-buffer
4312 Kills the current draft.
4313 (@code{wl-draft-mimic-kill-buffer})
4316 @kindex C-c C-z (Draft)
4317 @findex wl-draft-save-and-exit
4318 Saves the current draft, and erases the draft buffer.
4319 This is useful if you want to suspend editing of the draft.
4320 You can resume editing by pressing @kbd{E} (@code{wl-summary-reedit}) in
4321 the @samp{+draft} folder.
4322 (@code{wl-draft-save-and-exit})
4325 @kindex C-c C-r (Draft)
4326 @findex wl-caesar-region
4327 Encodes or decodes the specified region in Caesar cipher.
4328 (@code{wl-caesar-region})
4332 @findex wl-draft-highlight-and-recenter
4333 Recenter and rehighlight current draft.
4334 (@code{wl-draft-highlight-and-recenter})
4338 @findex wl-toggle-plugged
4339 Toggles off-line/on-line states of Wanderlust.
4340 (@code{wl-toggle-plugged})
4343 @kindex C-c C-o (Draft)
4344 @findex wl-jump-to-draft-buffer
4345 Jumps to the other draft buffer, if exists.
4346 With prefix argument, reads a file (if any) from the draft folder when
4347 there is no such buffer.
4348 (@code{wl-jump-to-draft-buffer})
4351 @kindex C-c C-e (Draft)
4352 @findex wl-draft-config-exec
4353 Applies @code{wl-draft-config-alist}.
4354 (@code{wl-draft-config-exec})
4357 @kindex C-c C-j (Draft)
4358 @findex wl-template-select
4360 (@code{wl-template-select})
4363 @kindex C-c C-a (Draft)
4365 Enter Address Manager.
4366 @xref{Address Manager}.
4370 @kindex C-c C-d (Draft)
4371 @findex wl-draft-elide-region
4372 Elide the text between point and mark (@code{wl-draft-elide-region}).
4373 The text is killed and replaced with the contents of the variable
4374 @code{wl-draft-elide-ellipsis}. The default value is to use an ellipsis
4378 @section Customizable Variables
4381 @item wl-subscribed-mailing-list
4382 @vindex wl-subscribed-mailing-list
4383 The initial setting is @code{nil}. Mailing lists to which you
4384 subscribe. If any of these are contained in @samp{To:} or @samp{Cc:}
4385 field of a reply draft, removes your own address from
4386 @samp{Mail-Followup-To:} and @samp{Cc:}. And if any of these are
4387 contained in @samp{To:} or @samp{Cc:} field of a message to be
4388 automatically re-filed, the destination folder will be leaned in
4389 connection with the address.
4395 (setq wl-subscribed-mailing-list
4396 '("wl@@lists.airs.net"
4398 "emacs-mime-ja@@m17n.org"))
4402 @item wl-insert-mail-followup-to
4403 @vindex wl-insert-mail-followup-to
4404 The initial setting is @code{nil}. If non-nil, @samp{Mail-Followup-To:}
4405 field is automatically inserted in the draft buffer.
4407 @item wl-insert-mail-reply-to
4408 @vindex wl-insert-mail-reply-to
4409 The initial setting is @code{nil}. If non-nil, @samp{Mail-Reply-To:}
4410 field is automatically inserted in the draft buffer.
4412 @item wl-auto-insert-x-face
4413 @vindex wl-auto-insert-x-face
4414 The initial setting is @code{t}. If non-nil and there is an encoded
4415 X-Face string in a file @file{~/.xface} (the value of the variable
4416 @code{wl-x-face-file}), inserts it as an @samp{X-Face:} field in the
4417 draft buffer. If @code{nil}, it is not automatically inserted.
4419 @item wl-insert-message-id
4420 @vindex wl-insert-message-id
4421 The initial setting is @code{t}. If non-nil, @samp{Message-ID:} field
4422 is automatically inserted on the transmission.
4424 @item wl-message-id-use-wl-from
4425 @vindex wl-message-id-use-wl-from
4426 The initial setting is @code{nil}. If non-nil, the value of
4427 @code{wl-from} will be used as the domain part of @samp{Message-ID:}.
4429 @item wl-local-domain
4430 @vindex wl-local-domain
4431 The initial setting is @code{nil}. If @code{nil}, the return value of
4432 the function @code{system-name} will be used as the domain part of
4435 If @code{system-name} does not return FQDN (i.e. the full name of the
4436 host, like @samp{smtp.gohome.org}), you @strong{must} set this variable
4437 to the string of the local domain name without hostname (like
4438 @samp{gohome.org}). That is, a concatenation of @code{system-name}
4439 @samp{.} @code{wl-local-domain} is used as domain part of the
4442 If your terminal does not have global IP, set the value of
4443 @code{wl-message-id-domain}. (You might be beaten up on the Net News if
4444 you use invalid @samp{Message-ID:}.)
4446 Moreover, concatenation of @code{system-name} @samp{.}
4447 @code{wl-local-domain} will be used as an argument to the HELO command
4450 @item wl-message-id-domain
4451 @vindex wl-message-id-domain
4452 The initial setting is @code{nil}. If non-nil, this value is used as a
4453 domain part of the @samp{Message-ID:}. If your terminal does not have
4454 global IP address, set unique string to this value (e.x. your e-mail
4457 @item wl-unique-id-suffix
4458 @vindex wl-unique-id-suffix
4459 The initial setting is @samp{.wl}. You can specify the string in generated
4460 Message-ID which appear just before @samp{@@}.
4462 @item wl-draft-config-alist
4463 @vindex wl-draft-config-alist
4464 The initial setting is @code{nil}. Modifies the draft message just
4465 before the transmission. The content of @code{wl-draft-config-alist}
4466 will be automatically applied only once on the transmission. If you
4467 want to apply it manually, use @kbd{C-c C-e}. This command can be used
4470 @item wl-template-alist
4471 @vindex wl-template-alist
4472 The initial setting is @code{nil}.
4473 This variable specifies the template to be applied in the draft buffer.
4475 @item wl-draft-config-matchone
4476 @vindex wl-draft-config-matchone
4477 The initial setting is @code{nil}. If non-nil, only the first matching
4478 item is used when @code{wl-draft-config-alist} is applied. If
4479 @code{nil}, all matching items are used.
4481 @item wl-template-visible-select
4482 @vindex wl-template-visible-select
4483 The initial setting is @code{t}.
4484 If non-nil, you can preview the result of the template selection in
4487 @item wl-template-confirm
4488 @vindex wl-template-confirm
4489 The initial setting is @code{nil}.
4490 If non-nil, asks for confirmation when you press the enter key to select
4491 template while previewing.
4493 @item wl-template-buffer-lines
4494 @vindex wl-template-buffer-lines
4495 The initial setting is 7.
4496 If @code{wl-template-visible-select} is non-nil, this variable specifies
4497 the size of the preview window.
4499 @item wl-draft-reply-buffer-style
4500 @vindex wl-draft-reply-buffer-style
4501 The initial setting is @code{split}. @code{split} or @code{full} can be
4502 specified. In the case of @code{full}, the whole frame will be used for
4503 a reply draft buffer when it is prepared.
4505 @item wl-draft-use-frame
4506 @vindex wl-draft-use-frame
4507 The initial setting is @code{nil}.
4508 If non-nil, use new frame for the draft.
4510 @item wl-draft-truncate-lines
4511 @vindex wl-draft-truncate-lines
4512 The initial value is the value of @code{default-truncate-lines}.
4513 If it is non-nil, truncate long lines in draft buffer.
4517 The initial setting is the value of the variable
4518 @code{user-mail-address}. The value of this variable is inserted as a
4519 @samp{From:} field of the draft when it is prepared.
4521 @item wl-envelope-from
4522 @vindex wl-envelope-from
4523 The initial setting is @code{nil}.
4524 The value of this variable is used for envelope from (MAIL FROM).
4525 If @code{nil}, the address part of @code{wl-from} is used.
4527 @item wl-user-mail-address-list
4528 @vindex wl-user-mail-address-list
4529 The initial setting is @code{nil}.
4530 This is the User's address list. If you have multiple addresses,
4535 The initial setting is @code{nil}.
4536 If non-nil, the value of this variable is inserted as a @samp{Fcc:} of
4537 the draft when it is prepared. If function is specified, its return
4542 The initial setting is @code{nil}.
4543 If non-nil, the value of this variable is inserted as a @samp{Bcc:} of
4544 the draft when it is prepared.
4546 @item wl-reply-subject-prefix
4547 @vindex wl-reply-subject-prefix
4548 The initial setting is @samp{Re: }.
4549 In the @samp{Subject:} of the reply draft, this string is prepended to
4550 the @samp{Subject:} of being replied.
4552 @item wl-draft-reply-use-address-with-full-name
4553 @vindex wl-draft-reply-use-address-with-full-name
4554 The initial setting is @code{t}.
4555 If non-nil, insert her full name with address when prepare a draft for
4556 reply a message. If it is @code{nil}, insert her address only.
4558 @item wl-draft-enable-queuing
4559 @vindex wl-draft-enable-queuing
4560 The initial setting is @code{t}.
4561 This flag controls off-line transmission. If non-nil, the draft is
4564 @item wl-draft-use-cache
4565 @vindex wl-draft-use-cache
4566 The initial setting is @code{nil}. If the value is non-nil and
4567 @code{wl-insert-message-id} is nil, cache the message which is sent.
4569 @item wl-fcc-force-as-read
4570 @vindex wl-fcc-force-as-read
4571 The initial setting is @code{nil}. If the value is non-nil,
4572 Mark as read the message saved by @samp{Fcc:} (only for IMAP folders).
4574 @item wl-auto-flush-queue
4575 @vindex wl-auto-flush-queue
4576 The initial setting is t.
4577 This flag controls automatic transmission of the queue when Wanderlust
4578 becomes on-line. If non-nil, the queue is automatically transmitted
4579 (with confirmation by @code{y-or-n-p}). If you want to transmit it
4580 manually, press @kbd{F} in the folder mode.
4582 @item wl-ignored-forwarded-headers
4583 @vindex wl-ignored-forwarded-headers
4584 Initial setting is @samp{\\(received\\|return-path\\|x-uidl\\)}.
4585 All headers that match this regexp will be deleted when forwarding a message.
4587 @item wl-ignored-resent-headers
4588 Initial setting is @samp{\\(return-receipt\\|[bdf]cc\\)}.
4589 All headers that match this regexp will be deleted when resending a message.
4591 @item wl-draft-always-delete-myself
4592 @vindex wl-draft-always-delete-myself
4593 If non-nil, always removes your own address from @samp{To:} and
4594 @samp{Cc:} when you are replying to the mail addressed to you.
4596 @item wl-draft-delete-myself-from-bcc-fcc
4597 @vindex wl-draft-delete-myself-from-bcc-fcc
4598 If any of @code{wl-subscribed-mailing-list} are contained in @samp{To:}
4599 or @samp{Cc:} field, do not insert @samp{Bcc:} or @samp{FCC:} field.
4601 @item wl-smtp-posting-server
4602 @vindex wl-smtp-posting-server
4603 The initial setting is @code{nil}.
4604 This is the SMTP server name for mail transmission.
4606 @item wl-smtp-posting-user
4607 @vindex wl-smtp-posting-user
4608 The initial setting is @code{nil}.
4609 This is the user name for SMTP AUTH authentication. If @code{nil},
4610 @code{smtp-authenticate-user} is used.
4612 @item wl-smtp-authenticate-type
4613 @vindex wl-smtp-authenticate-type
4614 The initial setting is @code{nil}.
4615 This is the authentication method for SMTP AUTH authentication. If
4616 @code{nil}, @code{smtp-authenticate-type} is used. If
4617 @code{smtp-authenticate-type} is still @code{nil}, authentication will
4620 @item wl-smtp-connection-type
4621 @vindex wl-smtp-connection-type
4622 The initial setting is @code{nil}.
4623 This variable specifies how to establish SMTP connections.
4624 If @code{nil}, @code{smtp-connection-type} is used.
4625 If it is @code{starttls}, STARTTLS (RFC2595) is used.
4627 @item wl-nntp-posting-server
4628 @vindex wl-nntp-posting-server
4629 The initial setting is @code{nil}.
4630 This is the NNTP server name used for news submission.
4631 If @code{nil}, @code{elmo-nntp-default-server} is used.
4633 @item wl-nntp-posting-user
4634 @vindex wl-nntp-posting-user
4635 The initial setting is @code{nil}.
4636 This is the user name for AUTHINFO authentication on news submission.
4637 If @code{nil}, @code{elmo-nntp-default-user} is used.
4638 If it is still @code{nil}, AUTHINFO authentication will not be carried out.
4640 @item wl-nntp-posting-port
4641 @vindex wl-nntp-posting-port
4642 The initial setting is @code{nil}.
4643 This is the port number of the NNTP server used for news submission.
4644 If @code{nil}, @code{elmo-nntp-default-server} is used.
4646 @item wl-nntp-posting-stream-type
4647 @vindex wl-nntp-posting-stream-type
4648 The initial setting is @code{nil}.
4649 If @code{nil}, @code{elmo-nntp-default-stream-type} is evaluated. If non-nil,
4650 SSL is used for news submission. If @code{starttls}, STARTTLS (RFC2595)
4651 connection will be established.
4653 @item wl-pop-before-smtp-user
4654 @vindex wl-pop-before-smtp-user
4655 The initial setting is @code{nil}.
4656 This is the POP user name for POP-before-SMTP.
4657 If it is @code{nil}, @code{elmo-pop3-default-user} is used.
4659 @item wl-pop-before-smtp-server
4660 @vindex wl-pop-before-smtp-server
4661 The initial setting is @code{nil}.
4662 This is the POP server name for POP-before-SMTP.
4663 If it is @code{nil}, @code{elmo-pop3-default-server} is used.
4665 @item wl-pop-before-smtp-authenticate-type
4666 @vindex wl-pop-before-smtp-authenticate-type
4667 The initial setting is @code{nil}.
4668 This is the authentication method for POP-before-SMTP authentication.
4669 If it is @code{nil}, @code{elmo-pop3-default-authenticate} is used.
4671 @item wl-pop-before-smtp-port
4672 @vindex wl-pop-before-smtp-port
4673 The initial setting is @code{nil}.
4674 This is the POP port number for POP-before-SMTP. If it is @code{nil},
4675 @code{elmo-pop3-default-port} is used.
4677 @item wl-pop-before-smtp-stream-type
4678 @vindex wl-pop-before-smtp-stream-type
4679 The initial setting is @code{nil}.
4680 This flag controls the use of SSL for POP-before-SMTP. If it is
4681 @code{nil}, @code{elmo-pop3-default-stream-type} is used. If @code{starttls},
4682 STARTTLS (RFC2595) connection will be established.
4684 @item wl-draft-queue-save-variables
4685 @vindex wl-draft-queue-save-variables
4686 Specifies a list of variable to which queued messages are saved on the
4687 off-line transmission.
4689 @item wl-draft-sendlog
4690 @vindex wl-draft-sendlog
4691 The initial setting is @code{t}.
4692 If @code{t}, transmission log is written in @file{~/.elmo/sendlog}. It
4696 @item drafts are sent by smtp or qmail
4697 @item saved into folders by fcc
4698 @item saved into folders by queuing
4701 (it is written even if the transmission fails).
4702 But transmission by @file{im-wl.el} is not written in the @file{sendlog}
4703 and left to the logging function of @command{imput}.
4706 @item wl-draft-sendlog-max-size
4707 @vindex wl-draft-sendlog-max-size
4708 The initial setting is 20000 (in bytes).
4709 If @code{wl-draft-sendlog} is @code{t}, the log is rotated when it grows
4710 beyond the size specified by this variable.
4714 The initial setting is @code{nil}.
4715 If non-nil, address completion uses LDAP.
4717 @item wl-ldap-server
4718 @vindex wl-ldap-server
4719 The initial setting is @samp{localhost}.
4720 LDAP server name for address completion.
4723 @vindex wl-ldap-port
4724 The initial setting is @code{nil}.
4725 If non-nil, the value is used as port number.
4728 @vindex wl-ldap-base
4729 The initial setting is @samp{c=US}.
4730 LDAP search starting point (base) for address completion.
4732 @item wl-draft-remove-group-list-contents
4733 @vindex wl-draft-remove-group-list-contents
4734 The initial setting is @code{t}.
4735 If non-nil, remove the group-lists' members in the recipients when
4736 sending the message (group-list means the description such as
4737 @samp{Group: foo@@gohome.org, bar@@gohome.org;} in the recipients).
4740 @node Disconnected Operations, Expire and Archive, Draft, Top
4741 @chapter Off-line Management
4742 @cindex Disconnected Operations
4744 Wanderlust has on-line and off-line states.
4747 * Off-line State:: Wanderlust has on-line and off-line states
4748 * Enable Operations:: Enable Disconnected Operations
4749 * Plugged Mode:: Switching On-line/Off-line per Server/Port
4750 * Off-line State settings:: Invoking Wanderlust in the Off-line State
4751 * Variables of Plugged Mode:: Customize Plugged Mode
4755 @node Off-line State, Enable Operations, Disconnected Operations, Disconnected Operations
4756 @section Off-line State
4758 Wanderlust has on-line and off-line states. In the off-line state, you
4759 cannot access messages via network, unless they are cached.
4761 @samp{[ON]} in the mode line indicates the on-line state. @samp{[--]}
4762 in the mode line indicates the off-line state. In folder or summary
4763 modes, press @kbd{M-t} to switch between off- and on-line.
4765 You can invoke Wanderlust in the off-line state by setting
4766 @code{wl-plugged} to @code{nil} in @file{~/.wl} or anything appropriate.
4768 In the off-line mode, @kbd{n} and @kbd{p} command in the summary mode
4769 ignores uncached messages.
4772 @node Enable Operations, Plugged Mode, Off-line State, Disconnected Operations
4773 @section Enable Disconeected Operations
4775 Even in the off-line state, provided that relevant messages are cached,
4776 and the variable @code{elmo-enable-disconnected-operation} (described
4777 later) is non-nil, you can following operations:
4778 @xref{Plugged Mode}, @xref{Off-line State settings}.
4781 * Send Messages off-line:: Transmit Messages
4782 * Re-file and Copy queue:: Re-file and Copy (IMAP4)
4783 * Creation of Folders:: Create Folders off-line (IMAP4)
4784 * Marking:: Mark (IMAP4)
4785 * Pre-fetching Reservations:: Pre-fetch (IMAP4, NNTP)
4788 As soon as Wanderlust becomes on-line, such operations invoked off-line
4789 are reflected in the servers via network.
4792 @node Send Messages off-line, Re-file and Copy queue, Enable Operations, Enable Operations
4793 @subsection Transmission of Messages
4795 You can send mail/news messages off-line (if you are using
4796 @file{im-wl.el}, it is irrelevant). Messages sent off-line are
4797 accumulated in the queue folder, @samp{+queue}. These messages are
4798 transmitted at once when Wanderlust becomes on-line.
4800 You can visit @samp{+queue} in the off-line state and confirm content of
4801 messages in the queue. You can also remove messages. Removed messages
4802 are not transmitted even in the on-line state.
4805 @node Re-file and Copy queue, Creation of Folders, Send Messages off-line, Enable Operations
4806 @subsection Re-file and Copy (IMAP4)
4808 Re-file and copy operations to IMAP folders invoked during the off-line
4809 state are accumulated in the queue, and reflected in the server side
4810 when Wanderlust becomes on-line. If you visit destination folders after
4811 off-line re-file or copy, it looks as if messages were appended even in
4814 For the safety reasons, messages re-filed off-line are removed from
4815 source folders only if their @samp{Message-ID:} match messages on the
4816 servers. While the queue is processed, messages that failed to be
4817 re-filed or copied to the specified folders are appended to the folder
4821 @node Creation of Folders, Marking, Re-file and Copy queue, Enable Operations
4822 @subsection Creation of Folders (IMAP4)
4824 You can create IMAP folders off-line. The creation of folders are
4825 reflected in the servers when Wanderlust becomes on-line. At that time,
4826 if folders failed to be created on the servers for any reasons, messages
4827 re-filed to such folders are appended to the folder @samp{+lost+found}.
4830 @node Marking, Pre-fetching Reservations, Creation of Folders, Enable Operations
4831 @subsection Marking (IMAP4)
4833 Off-line changes in unread/read and importance mark @samp{$} information
4834 are also reflected in the servers when Wanderlust becomes on-line.
4837 @node Pre-fetching Reservations, , Marking, Enable Operations
4838 @subsection Pre-fetching (IMAP4, NNTP)
4840 You can make reservations for pre-fetching messages in IMAP or NNTP
4841 folders. Reserved messages are marked with @samp{!} but not cached
4842 yet. When Wanderlust becomes on-line, they are pre-fetched from
4845 If the variable @code{elmo-enable-disconnected-operation} is @code{nil},
4846 these off-line operations for IMAP4 and NNTP do not take place, and
4847 off-line re-file, copy or suchlike simply results in error.
4849 Because off-line operations use cache files, it is a bad idea to erase
4850 them by hand; it may cause Wanderlust to malfunction.
4852 If you want to remove caches, be sure to execute @kbd{M-x
4853 elmo-cache-expire-by-size}. @code{elmo-cache-expire-by-size} does not
4854 remove caches for messages relevant to off-line operations.
4857 @node Plugged Mode, Off-line State settings, Enable Operations, Disconnected Operations
4858 @section Switching On-line/Off-line per Server/Port
4860 @kbd{M-t} described above switches networking states as a whole, but you
4861 can switch on-line/off-line per server/port.
4863 Pressing @kbd{C-t} in the folder or summary modes brings you in
4864 wl-plugged-mode shown below, in which you can change the plugged state
4869 Queuing:[ON] AutoFlushQueue:[--] DisconnectedOperation:[ON]
4872 [--]smtp +queue: 2 msgs (1,2) @dots{}@r{sending queue}
4873 [--]nntp(119) +queue: 1 msg (3) @dots{}@r{sending queue}
4875 [--]imap4/cram-md5(143) %#mh/wl(prefetch-msgs:3,mark-as-important:1)
4876 %inbox(delete-msgids:1) @dots{}@r{dop queue}
4882 The first line indicates status of the following three variables, and
4883 simply pressing @kbd{@key{SPC}} or @kbd{@key{RET}} in each labeled
4884 column modifies the values of these variables.
4888 "Queuing" @code{wl-draft-enable-queuing}
4889 "AutoFlushQueue" @code{wl-auto-flush-queue}
4890 "DisconnectedOperation" @code{elmo-enable-disconnected-operation}
4894 where @samp{[ON]} means its value is @code{t}, and @samp{[--]} means
4897 The second and after lines indicate on-line/off-line states of servers
4898 and ports, where @samp{[ON]} stands for on-line and @samp{[--]} for
4899 off-line (in XEmacs or Emacs 21, they are shown with icons). Pressing
4900 @kbd{@key{SPC}} or @kbd{@key{RET}} in each line switches its state.
4902 @dfn{sending queue} means messages accumulated in the folder
4903 @samp{+queue} for off-line transmission, and @dfn{dop queue} means
4904 off-line operations when @code{elmo-enable-disconnected-operation} is
4906 @c If the variable @code{elmo-enable-disconnected-operation} is non-nil,
4907 @c off-line operations are enabled.
4909 They are displayed if there are any of them. In the example above, in
4910 the sending queue there are two messages (the first and the second in
4911 the queue folder) for smtp to hosta and one (the third) for nntp to
4912 hosta, and in the dop queue there are one for @samp{%inbox} and two for
4915 If you change @samp{(wl-plugged)} in the second line, the variable
4916 @code{wl-plugged} is changed, so that the mode line indicator and
4917 plugged states of all ports are affected. If you change plugged states
4918 of any servers or ports, @samp{(wl-plugged)} in the second line is
4919 affected depending on @code{elmo-plugged-condition} settings and the
4920 plugged state of each port.
4923 @node Off-line State settings, Variables of Plugged Mode, Plugged Mode, Disconnected Operations
4924 @section Invoking Wanderlust in the Off-line State
4926 As described before, if you set @code{wl-plugged} to @code{nil} in
4927 @file{~/.wl} or anything appropriate, you can invoke Wanderlust in the
4928 off-line state. You can specify off-line state on a per server or port
4929 basis. Refer to @code{wl-reset-plugged-alist} also.
4931 Usually, when Wanderlust starts up, the plugged state of each port is
4932 read from @file{~/.folders} and @code{wl-smtp-posting-server},
4933 @code{wl-nntp-posting-server} and so on. If you want to change the
4934 plugged state of these ports or to add other ports, configure
4935 @code{wl-make-plugged-hook} with a function.
4939 (add-hook 'wl-make-plugged-hook
4941 (elmo-set-plugged plugged-value(t/nil) server port)
4942 ;; @r{add or change plugged states of the port of the server}
4943 (elmo-set-plugged plugged-value(t/nil) server)
4944 ;; @r{if the port is omitted, all ports are affected}
4945 ;; @r{(you cannot omit the port if you newly add the server)}
4951 @node Variables of Plugged Mode, , Off-line State settings, Disconnected Operations
4952 @section Customizable Variables
4957 If this variable is set to @code{nil}, Wanderlust starts up in off-line
4958 mode from the beginning.
4960 @item wl-queue-folder
4961 @vindex wl-queue-folder
4962 The initial setting is @samp{+queue}.
4963 This is the folder in which messages in the transmission queue are
4966 @item wl-auto-flush-queue
4967 @vindex wl-auto-flush-queue
4968 The initial setting is @code{t}.
4969 This flag controls automatic transmission of the queue when Wanderlust
4970 becomes on-line. If non-nil, the queue is automatically transmitted
4971 (with confirmation by @code{y-or-n-p}). If you want to transmit it
4972 manually, press @kbd{F} in the folder mode.
4974 @item elmo-enable-disconnected-operation
4975 @vindex elmo-enable-disconnected-operation
4976 The initial setting is @code{nil}. Controls off-line operations
4977 regarding IMAP4. If non-nil, off-line operations are carried out.
4979 @item elmo-lost+found-folder
4980 @vindex elmo-lost+found-folder
4981 The initial setting is @samp{+lost+found}.
4982 This is the folder to which messages are saved when they fails to be
4983 appended while the off-line re-file/copy queue is processed.
4985 @item elmo-plugged-condition
4986 @vindex elmo-plugged-condition
4987 The initial setting is @code{one}.
4988 The value of @code{wl-plugged} reflects the return value of the function
4989 @code{elmo-plugged-p} (without arguments).
4990 This variable @code{elmo-plugged-condition} specifies the condition on
4991 which the return value of @code{(elmo-plugged-p)} should be t depending on the
4992 plugged state of each port.
4995 'one : plugged if one or more ports are plugged.
4996 'all : plugged if all ports are plugged.
4997 'independent : reflects wl-plugged (elmo-plugged) regardless of plugged
4998 states of the ports.
4999 @var{function} : reflects the return value of the @var{function}
5000 functions available per default
5001 'elmo-plug-on-by-servers
5002 : reflects the plugged state of the servers specified by the
5003 variable elmo-plug-on-servers.
5004 'elmo-plug-on-by-exclude-servers
5005 : reflects the plugged state of the servers that are not
5006 in elmo-plug-on-exclude-servers.
5007 elmo-plug-on-exclude-servers defaults to
5010 (system-name)without the domain part)
5016 (setq elmo-plugged-condition 'all)
5018 (setq elmo-plug-on-servers '("smtpserver" "newsserver"))
5019 (setq elmo-plugged-condition 'elmo-plug-on-by-servers)
5021 (setq elmo-plug-on-exclude-servers '("localhost" "myname"))
5022 (setq elmo-plugged-condition 'elmo-plug-on-by-exclude-servers)
5026 @item wl-reset-plugged-alist
5027 @vindex wl-reset-plugged-alist
5028 The initial setting is @code{t}. If non-nil, plugged states are
5029 initialized on a per server or port basis when Wanderlust starts up.
5031 If @code{nil}, plugged states are retained while Emacs is running. In
5032 other words, they are initialized when Emacs is restarted even if the
5033 value is @code{nil}.
5037 @node Expire and Archive, Scoring, Disconnected Operations, Top
5038 @chapter Automatic Expiration and Archiving of Messages
5039 @cindex Expire and Archive
5042 * Expire:: Expiration and Archiving
5043 * Archive:: Archiving All Messages
5047 @node Expire, Archive, Expire and Archive, Expire and Archive
5049 @cindex Expire Message
5051 Expiration means deletion of old messages which have outlasted a
5052 certain period of time.
5054 @code{wl-expire} supports not only simple deletion, but also moving to
5055 specified archiving folders.
5059 Configure @code{wl-expire-alist} and press @kbd{e} in the folder mode,
5060 or @kbd{M-e} in the summary mode.
5062 @subsection Configuring @code{wl-expire-alist}
5064 An example configuration of @code{wl-expire-alist} is shown below.
5065 Everything in this @code{wl-expire-alist} makes a great difference in
5066 expiration, so be careful. I advise you to set @code{wl-expire-use-log}
5067 to @code{t}, especially in the initial stage.
5071 (setq wl-expire-alist
5072 '(("^\\+trash$" (date 14) remove)
5074 ("^\\+tmp$" (date 7) trash)
5075 ;; @r{re-file to @code{wl-trash-folder}}
5076 ("^\\+outbox$" (number 300) "$outbox;lha")
5077 ;; @r{re-file to the specific folder}
5079 ;; @r{do not expire}
5080 ("^\\+ml/wl$" (number 500 510) wl-expire-archive-number1 t)
5081 ;; @r{archive by message number (retaining numbers)}
5082 ("^\\+ml/.*" (number 300 310) wl-expire-archive-number2 t)
5083 ;; @r{archive by a fixed number (retaining numbers)}
5084 ("^\\+diary$" (date 30) wl-expire-archive-date)
5085 ;; @r{archive by year and month (numbers discarded)}
5090 Items in the list has the format of:
5093 (@var{regexp-for-folders} @var{specification-of-messages-to-be-deleted} @var{destination})
5097 The folder is examined if it matches @var{regexp-for-folders} from the
5098 beginning of the list. If you invoke expiration on the folder that does
5099 not match any of them, nothing will happen. And if either the second or
5100 the third element of the item is @code{nil}, expiration will not take
5103 You can use any one of the following for
5104 @var{specification-of-message-to-be-deleted}:
5107 @item (number @var{n1} [@var{n2}])
5108 deletes messages depending on the number of messages in the folder.
5110 @var{n1} is the number of messages which should survive deletion, for example
5111 if its value is 500, the newest 500 messages survive and the rests are
5114 @var{n2} is the number of messages in the folder on which expiration should
5115 take place, which defaults to @var{n1} + 1. For example if its value is 510,
5116 folders with 510 or more messages are expired.
5117 If you configured automatic expiration, frequently used folders may
5118 expire every time it receive messages, and you may be annoyed with the
5119 long delay in reading mail.
5120 In that case, you can set a wide margin between @var{n2} and @var{n1}, so that
5121 expiration would not take place until a certain number of messages
5124 Messages with marks in @code{wl-summary-expire-reserve-marks} (marked
5125 with important/new/unread) are not deleted.
5126 If @code{wl-expire-number-with-reserve-marks} is non-nil, the folder
5127 will expire so as to have 500 messages including such ones.
5128 Otherwise, it will have 500 messages except such ones.
5130 @item (date @var{d1})
5131 deletes messages depending on the dates.
5133 Messages dated @var{d1} or more days ago are deleted, for example if its
5134 value is seven, messages seven days old or more are deleted. Note that
5135 the date is the one in the @samp{Date:} field of the message, not when
5136 the message entered the folder.
5138 Messages with no or invalid @samp{Date:} field does not expire; you
5139 might have to delete them by hand.
5142 You can use any one of the following in the place of @var{destination}:
5146 deletes the messages instantly.
5149 hide the messages from summary (messages are not deleted).
5152 moves the messages to @code{wl-trash-folder}.
5154 @item @var{string}(folder)
5155 moves the messages to the folder specified with @var{string}.
5157 It would be useful for specifying an archiving folder, but because this
5158 does not move important messages, it might be better to use the
5159 standard functions described below.
5161 @item @var{function}
5162 invokes the specified @var{function}.
5164 To the @var{function}, three arguments are passed: a folder name, a list
5165 of messages to be deleted, and msgdb information of the summary. You
5166 can specify function-specific arguments after the name of the
5167 @var{function}. Note that the list contains messages with marks in
5168 @code{wl-summary-expire-reserve-marks}, be careful in writing your own
5171 These are four standard functions; three of them move messages to an archive
5172 folder in the specified way. This means old messages can be compressed
5173 and saved in a file, being deleted from the original folder.
5174 The last one divides messages to some MH folders.
5177 @item wl-expire-archive-number1
5178 re-files to archiving folders corresponding to the message numbers of
5179 the messages being deleted. For example, a message numbered 102 will be
5180 re-filed to @file{wl-00100.zip}, 390 to @file{wl-00300.zip}, and so on.
5181 If @code{wl-expire-archive-files} is 200, messages will be re-filed to
5182 @file{wl-00000.zip}, @file{wl-00200.zip}, @file{wl-00400.zip}, @dots{}.
5184 The archiving folders to which messages are re-filed are determined by
5185 the name of the folder as follows (in this case, archiving folders are
5186 handled as if @code{elmo-archive-treat-file} were non-nil).
5189 @item If the folder type is localdir:
5190 @file{@var{ArchiveDir}/@var{foldername}-xxxxx.zip}
5192 For example, @samp{+ml/wl} corresponds to @samp{$ml/wl;zip}
5193 (@file{~/Mail/ml/wl-00100.zip}).
5195 @item The folder type is other than localdir:
5196 @file{@var{ArchiveDir}/@var{foldertype}/@var{foldername}-xxxxx.zip}
5198 For example, @samp{%#mh/ml/wl} corresponds to
5199 @samp{$imap4/#mh/ml/wl;zip} (@file{~/Mail/imap4/#mh/ml/wl-00100.zip}).
5202 As you can see, in the case of localdir, the folder type is not included
5203 in the path name, but otherwise it is included.
5204 And you can control the prefix to the archiving folder name by
5205 @code{wl-expire-archive-folder-prefix}.
5206 Refer to @code{wl-expire-archive-folder-prefix} for details.
5208 @item wl-expire-archive-number2
5209 re-files every certain number of messages to archiving folders.
5211 This differs from @samp{wl-expire-archive-number1} in that this re-files
5212 to the folder up to the specified number regardless of message numbers.
5213 The archiving folders to which messages are re-filed are determined in the
5214 same way as @code{wl-expire-archive-number1}.
5216 @item wl-expire-archive-date
5217 re-files messages depending on its date (year and month) to archive
5220 For example, a message dated December 1998 is re-filed to
5221 @code{$folder-199812;zip}. The name of the archiving folders except the
5222 date part are determined in the same way as
5223 @code{wl-expire-archive-number1}.
5226 You can set the first argument to these three standard functions to non-nil
5227 in @code{wl-expire-alist} so as to retain message numbers in the folder.
5228 For example, it can be specified just after the name of the function:
5231 ("^\\+ml/wl$" (number 300 310) wl-expire-archive-number1 t)
5234 If you omit the argument, consecutive numbers from 1 are assigned for
5235 each archiving folder.
5237 @item wl-expire-localdir-date
5238 divedes messages depending on its date (year and month) to MH folders
5239 e.g. to @samp{+ml/wl/1999_11/}, @samp{+ml/wl/1999_12/}.
5243 @subsection Treatment for Important or Unread Messages
5245 If you specify any of @code{remove}, @code{trash}, a folder name, or a
5246 standard function, messages with marks in
5247 @code{wl-summary-expire-reserve-marks} (which are called @dfn{reserved
5248 messages} thereafter) are retained.
5250 Per default, this variable include the important, new, and unread marks,
5251 so that messages with these marks are not removed.
5252 Note that you cannot include the temporary mark (i.e. temporary marks
5253 are removed anyway), and be sure to process temporary marks before you
5256 @subsection Auto Expiration
5258 The following setup invokes expiration when you move into the summary
5259 mode. There will be no confirmation, so make sure you made no mistake
5260 in regexp and other settings before you set up this.
5264 (add-hook 'wl-summary-prepared-pre-hook 'wl-summary-expire)
5268 In the folder mode, you can invoke expiration per group as well as per
5269 folder. Therefore, if you specify @samp{Desktop} group, all folders
5270 matching @code{wl-expire-alist} expire.
5274 @subsection Treating archive folders.
5275 To treat archive folders created by @code{wl-expire-archive-number1} and so on,
5276 you must set non-nil value to @code{elmo-archive-treat-file}.
5278 @subsection Confirming
5280 If you are to use @code{remove}, try @code{trash} at first and see
5281 messages move to @code{wl-trash-folder} as expected, then replace it
5282 with @code{remove}. It would be dangerous to use @code{remove} from the
5285 If you are to use @code{wl-expire-archive-number1} and the like, try to
5286 make a folder of the archiver type (@code{zip} or @code{lha}) and see if
5287 you can append messages to it. Even if settings in
5288 @code{wl-expire-alist} and @code{elmo-archive} are correct, messages
5289 would not be saved anywhere and disappeared in case the archiver program
5292 After you make sure you can archive to the folder correctly, you can
5293 invoke expiration and utilize the log.
5295 If you set @code{wl-expire-use-log} to @code{t},
5296 @file{~/.elmo/expired-log} should contain the log, for example:
5300 delete +ml/wl (593 594 595 596 597 598 599)
5301 move +ml/wl -> $ml/wl-00600;tgz;wl (600 601 602)
5305 The first column indicates the operation, i.e. @samp{delete},
5306 @samp{copy}, or @samp{move}. The next is the name of the folder that
5307 expired. In the case of @samp{copy} and @samp{move}, the destination
5308 folder is recorded after @samp{->}. The last is the list of message
5309 numbers that are actually deleted or moved (in the case of @samp{copy}
5310 and @samp{move}, the number is the one in the source folder, rather than
5311 the destination folder).
5313 @subsection Re-filing Reserved Messages
5315 The three standard functions copy reserved messages to the archive
5316 folder, but do not delete them from the source folder. Because
5317 reserved messages and the like always remain, they are recorded in
5318 @file{~/.elmo/expired-alist} so that they are not copied over and over
5319 again. They are not recorded if copied by @code{wl-summary-archive}.
5321 If you enabled logging, usually @samp{move} is recorded for re-filing,
5322 but instead @samp{copy} and @samp{delete} are recorded separately if
5323 reserved messages are involved. This is because it actually copies
5324 messages including reserved, then deletes ones except reserved in that
5327 @section Customizable Variables
5330 @item wl-expire-alist
5331 @vindex wl-expire-alist
5332 The initial setting is @code{nil}.
5333 This variable specifies folders and methods to expire. For details,
5334 refer to @code{wl-expire-alist} settings above.
5336 @item wl-summary-expire-reserve-marks
5337 @vindex wl-summary-expire-reserve-marks
5338 The initial setting is the list below.
5342 (list wl-summary-important-mark
5344 wl-summary-unread-mark
5345 wl-summary-unread-uncached-mark
5346 wl-summary-unread-cached-mark)
5350 Messages with these marks are retained in the folder, even after
5352 Only permanent marks can be listed, not temporary marks.
5354 You can list marks one by one as in the default; you can use the
5355 following settings as well:
5359 All messages with permanent marks are retained,
5360 i.e. @code{wl-summary-read-uncached-mark} is included in addition to the
5364 All messages are handled as usual ones that are already read, no matter
5365 what marks they have; even important messages are deleted.
5368 @item wl-expire-archive-files
5369 @vindex wl-expire-archive-files
5370 The initial setting is 100.
5371 This variable specifies the number of messages to be retained in one
5374 @item wl-expire-number-with-reserve-marks
5375 @vindex wl-expire-number-with-reserve-marks
5376 The initial setting is @code{nil}.
5377 If non-nil, if expiring messages are specified by @code{number},
5378 messages with @code{wl-summary-expire-reserve-marks} are also retained.
5380 @item wl-expire-archive-get-folder-function
5381 @vindex wl-expire-archive-get-folder-function
5382 The initial setting is @code{wl-expire-archive-get-folder}.
5384 This variable specifies a function that returns the name of an archiving
5385 folder for standard functions in the place of @var{destination}.
5386 You can use the following three variables for simple modification of
5387 folder names; if you want more complex settings, define your own
5388 function in this variable.
5390 @code{wl-expire-archive-get-folder} can be customized by these
5393 @item @code{wl-expire-archive-folder-name-fmt}
5394 @item @code{wl-expire-archive-folder-type}
5395 @item @code{wl-expire-archive-folder-prefix}
5398 @item wl-expire-archive-folder-name-fmt
5399 @vindex wl-expire-archive-folder-name-fmt
5400 The initial setting is @samp{%s-%%05d;%s}.
5401 This is a @code{format} string for archiving folders used in
5402 @code{wl-expire-archive-number1} and @code{wl-expire-archive-number2}.
5403 Note that you must specify the message number by @samp{%%d}, because it
5404 is parsed twice by @code{format}.
5406 If you modify this, adjust @code{wl-expire-archive-folder-num-regexp} as
5409 @item wl-expire-archive-date-folder-name-fmt
5410 @vindex wl-expire-archive-date-folder-name-fmt
5411 The initial setting is @samp{%s-%%04d%%02d;%s}.
5412 This is a @code{format} string for archiving folders used in
5413 @code{wl-expire-archive-date}. Note that you must specify the message
5414 number by @samp{%%d}, because it is parsed twice by @code{format}.
5415 There should be @samp{%%d} twice, one for the year and the other for the
5418 If you modify this, adjust
5419 @code{wl-expire-archive-date-folder-num-regexp} as well.
5421 @item wl-expire-archive-folder-type
5422 @vindex wl-expire-archive-folder-type
5423 The initial setting is @code{zip}.
5424 This variable specifies an archiver type of the archiving folders.
5426 @item wl-expire-archive-folder-prefix
5427 @vindex wl-expire-archive-folder-prefix
5428 The initial setting is @code{nil}.
5429 This variable specifies the prefix (directory structure) to archiving
5431 Exercise extreme caution in using this feature, as it has not been
5433 In the worst case, there is a fear of destructing archiving folders.
5437 There will be no prefix.
5440 For example, @samp{+ml/wl} will be prefixed by @samp{wl}, resulting in
5441 @samp{$ml/wl-00000;zip;wl}.
5444 For example, @samp{+ml/wl} will be prefixed by prefix @samp{ml/wl},
5447 @samp{$ml/wl-00000;zip;ml/wl}.
5450 @item wl-expire-archive-folder-num-regexp
5451 @vindex wl-expire-archive-folder-num-regexp
5452 The initial setting is @samp{-\\([-0-9]+\\);}.
5453 This variable specifies the regular expression to be used for getting
5454 message numbers from multiple archiving folders specified by
5455 @code{elmo-list-folders}.
5456 Set it in accordance with @code{wl-expire-archive-folder-name-fmt}.
5458 @item wl-expire-archive-date-folder-num-regexp
5459 @vindex wl-expire-archive-date-folder-num-regexp
5460 The initial setting is @samp{-\\([-0-9]+\\);}.
5461 This is the regular expression to be used for getting message numbers
5462 from multiple archiving folders specified by @code{elmo-list-folders}.
5463 Set it in accordance with @code{wl-expire-archive-date-folder-name-fmt}.
5465 @item wl-expire-delete-oldmsg-confirm
5466 @vindex wl-expire-delete-oldmsg-confirm
5467 The initial setting is @code{t}.
5468 If non-nil, messages older than the one with the largest number will be
5469 deleted with confirmation.
5470 If @code{nil}, they are deleted without confirmation.
5472 This feature is valid only if non-nil is specified as a argument to the
5473 standard functions so as to retain numbers.
5475 @item wl-expire-use-log
5476 @vindex wl-expire-use-log
5477 The initial setting is @code{nil}.
5478 If non-nil, expiration logs are recorded in @file{~/.elmo/expired-log}.
5479 They are appended but not truncated or rotated automatically; you might
5480 need to remove it manually.
5482 @item wl-expire-add-seen-list
5483 @vindex wl-expire-add-seen-list
5484 The initial setting is @code{t}.
5486 If non-nil, when messages are re-filed by expiration, read/unread
5487 information is passed to the destination folder.
5489 However if you do not read the destination folder from Wanderlust,
5490 @file{seen} under @file{~/.elmo/} grows larger and larger, so you might
5491 want to set this to @code{nil} if you are simply saving to some
5492 archiving folders. Even if its value is @code{nil}, messages in the
5493 archiving folders are simply treated as unread; it does not affect
5496 @item wl-expire-folder-update-msgdb
5497 @vindex wl-expire-folder-update-msgdb
5498 The initial setting is @code{t}.
5499 If @code{t}, in the folder mode, expiration is carried out after
5500 updating summary information. If you specified a list of regular
5501 expressions of folder names, summary information is updated for matching
5506 @node Archive, , Expire, Expire and Archive
5507 @section Archiving Messages
5509 @subsection Archiving Messages
5510 @kbd{M-x wl-summary-archive} copies the whole folder to archiving
5511 folders. If there are the archiving folders already, only new messages
5514 You can use @code{wl-archive-alist} in order to specify how messages are
5515 archived according to their folder names, as in @code{wl-expire-alist}.
5520 (setq wl-archive-alist
5521 '(("^\\+tmp$" wl-archive-date)
5522 ("^\\+outbox$" wl-archive-number2)
5523 (".*" wl-archive-number1)))
5527 Each item in the list has the following format:
5530 (@var{folders-regexp} @var{deleting-function})
5533 As you can see, you can only use a function after @var{folders-regexp}.
5534 Per default, there are three functions:
5537 @item @code{wl-archive-number1}
5538 @item @code{wl-archive-number2}
5539 @item @code{wl-archive-date}
5542 As inferred from their names, they work similarly to "expire" versions,
5543 other than the following points:
5546 @item No messages are deleted
5547 @item Message numbers are retained even if invoked without arguments
5550 These functions are good to archive all messages in a folder by their
5551 numbers or by their dates.
5552 These are also useful for backup or confirmation purposes before
5554 If you try to re-file them after they are archived, they are deleted but
5557 Per default, the archiving folders to which messages are copied are
5558 determined automatically by @code{wl-expire-archive-get-folder-function}.
5559 You can copy to a specific folder by invoking with a prefix argument,
5560 i.e. @kbd{C-u M-x wl-summary-archive}.
5562 Note that this feature has not been seriously tested, because you can
5563 simply copy to an archiving folder, for example by
5564 @code{wl-summary-copy-region}.
5566 The archiving folders are determined by the same logic as in
5567 @code{wl-summary-expire}; the following customizable variables are
5571 @item @code{wl-expire-archive-files}
5572 @item @code{wl-expire-archive-get-folder-function}
5573 @item @code{wl-expire-archive-folder-name-fmt}
5574 @item @code{wl-expire-archive-folder-type}
5575 @item @code{wl-expire-archive-folder-prefix}
5576 @item @code{wl-expire-archive-folder-num-regexp}
5579 @subsection Customizable Variables
5582 @item wl-archive-alist
5583 @vindex wl-archive-alist
5584 The initial setting is the list shown below:
5588 ((".*" wl-archive-number1))
5593 This variable specifies a function that copies to archiving folders.
5594 To the function, three arguments are passed: a folder name, a list of
5595 messages in the folder, and msgdb information of the summary.
5596 Needless to say, you can use your own function.
5600 @node Scoring, Address Book, Expire and Archive, Top
5601 @chapter Score of the Messages
5603 @c @cindex Kill File
5605 Scoring is the function that associates a score (value) with each
5606 message, and marks as read or deletes from the summary according to it.
5608 You can put target or important marks on essential messages, or read marks
5609 on the ones you do not want to read, for example spam articles.
5611 This scoring function has a capability and a format similar to the one
5612 that Gnus has, although there are some unsupported features and
5613 Wanderlust specifics.
5614 @xref{Scoring, , ,gnus, The gnus Newsreader}.
5617 * Score Commands:: Score Commands
5618 * Score File Format:: Score File Format
5622 @node Score Commands, Score File Format, Scoring, Scoring
5623 @section Score Commands
5624 @cindex Score Commands
5626 @subsection Score File Specification
5628 @code{wl-score-folder-alist} specifies score files or variables in which
5629 scores are defined, corresponding to folder names.
5633 (setq wl-score-folder-alist
5642 If paths to the score files are omitted, the directory specified in the
5643 variable @code{wl-score-files-directory} is assumed.
5645 No matter what you write in @code{wl-score-folder-alist}, the default
5646 score file @code{wl-score-default-file} (@file{all.SCORE}) is always
5647 read (it does not have to exist).
5648 Therefore, in the example above, the three score files,
5649 @file{news.SCORE}, @file{my.SCORE}, and @file{all.SCORE} are read for
5650 the folders that matches @samp{^-.*}.
5652 @subsection Scored Messages
5654 Scores are attached to the messages that are specified by
5655 @code{wl-summary-score-marks} temporarily when the summary is updated;
5656 when you exit from the summary, the scores are removed and reverts to
5659 @subsection Creation of Score Files
5661 In the summary buffer, move to an appropriate message and type @kbd{L}.
5662 Then type @kbd{s}, @kbd{s}, and @kbd{p} at a prompt in a mini-buffer.
5663 The string in Subject is presented. Edit it and press @kbd{@key{RET}}.
5665 This makes @minus{}1000 are scored for messages with the same
5666 @samp{Subject:} as the string you entered. That is, such a score file
5667 is created automatically.
5669 Then, try typing @kbd{h} and @kbd{e} in the same summary buffer.
5670 The score file you just made appears.
5671 This buffer is called @dfn{score editing buffer} thereafter.
5672 When you type @kbd{C-c C-e} in it, you are prompted in the mini-buffer
5673 as you are previously; type @kbd{a}. Then a score entry for "From"
5675 In this way, you can create a score file easily either in the summary
5676 buffer or in the score editing buffer.
5678 By the way, you might be aware the numbers of key strokes are different
5679 between @kbd{s s p} and @kbd{a}.
5680 This is determined by @code{wl-score-header-default-entry}.
5681 This variable specifies the default score entries corresponding to
5683 For example, for "subject" field, a type and a time limit are prompted,
5684 but for "from" field, they are fixed upon automatically as substring and
5685 permanent respectively.
5686 However, score values can be modified by the prefix argument.
5687 Typing @kbd{?} at the mini-buffer shows a help on keys and corresponding
5690 At last, type @kbd{C-c C-c} in the score editing buffer. This saves the
5691 score file and terminates the edit mode. Typing @kbd{C-c C-c} after
5692 erasing contents of the buffer deletes the score file being edited.
5696 @subsubsection Selecting Score Files
5698 You can change score files to which scores are appended by
5699 @code{wl-summary-increase-score} and @code{wl-summary-lower-score} by
5700 @code{wl-score-change-score-file}.
5702 @subsubsection Summing Up the Score
5704 If you add the same entries by @code{wl-summary-increase-score},
5705 @code{wl-summary-lower-score}, and @code{wl-score-edit-insert-entry},
5706 scores for the entry is summed up.
5708 For example, if you create @samp{from} entry with the score of @minus{}1000 by
5709 @kbd{L a} and again @samp{from} with @minus{}200, one entry with the score of
5710 @minus{}1200 will be created as a result.
5712 @subsubsection Creating Thread Key
5714 Creating @samp{Thread} key by @code{wl-summary-increase-score} or
5715 @code{wl-summary-lower-score} appends @samp{Message-ID} of all children.
5717 @subsubsection Creating Followup Key
5719 Creating @samp{Followup} key by @code{wl-summary-increase-score} or
5720 @code{wl-summary-lower-score} appends @samp{Message-ID} of the message
5721 at the cursor to @samp{References} key.
5722 If @code{wl-score-auto-make-followup-entry} is non-nil,
5723 @samp{Message-ID} of all messages to be followed up within dates
5724 specified by @code{wl-score-expiry-days}.
5726 @subsection Key Bindings
5731 @findex wl-summary-increase-score
5732 Increases the score for the current message.
5733 And the score entry is appended to the score file at the same moment.
5734 You can specify the score value by a prefix argument.
5738 @findex wl-summary-lower-score
5739 Decreases the score for the current message.
5740 And the score entry is appended to the score file at the same moment.
5741 You can specify the score value by a prefix argument.
5744 @kindex h R (Summary)
5745 @findex wl-summary-rescore
5746 Re-applies the scoring.
5747 However, already scored messages are not scored anew.
5750 @kindex h c (Summary)
5751 @findex wl-score-change-score-file
5752 Changes the score file currently selected.
5755 @kindex h e (Summary)
5756 @findex wl-score-edit-current-scores
5757 Edits the score file currently selected.
5758 If there are multiple score files, the previously specified one is
5762 @kindex h f (Summary)
5763 @findex wl-score-edit-file
5764 Edits an arbitrary score file and selects it.
5767 @kindex h F (Summary)
5768 @findex wl-score-flush-cache
5769 Erases caches associated to the score files that are read.
5770 If you modified score files directly (from other than Wanderlust), you
5771 need to re-read them after erasing the cache.
5774 @kindex h m (Summary)
5775 @findex wl-score-set-mark-below
5776 Specifies the criterion for scores to be marked as read.
5777 Messages with scores less than this value are marked as read.
5780 @kindex h x (Summary)
5781 @findex wl-score-set-expunge-below
5782 Specifies the criterion for scores to be deleted from the summary.
5783 Messages with scores less than this value are deleted.
5784 "Deleted" means it is not shown; they are not removed from the summary
5785 information or the folder.
5786 The deleted messages can be shown by rescan-noscore again.
5789 @subsection Key Bindings in the Score Editing Buffer
5793 @kindex C-c C-k (Score Mode)
5794 @findex wl-score-edit-kill
5795 Abandons the file being edited.
5798 @kindex C-c C-c (Score Mode)
5799 @findex wl-score-edit-exit
5800 Saves the file being edited, and quits from the edit mode.
5803 @kindex C-c C-p (Score Mode)
5804 @findex wl-score-pretty-print
5808 @kindex C-c C-d (Score Mode)
5809 @findex wl-score-edit-insert-date
5810 Inserts the number of dates from Dec. 31, 1 B.C.
5811 It is used for creating the third factor of time-limited scores.
5814 @kindex C-c C-s (Score Mode)
5815 @findex wl-score-edit-insert-header
5816 Inserts the header of the message selected in the summary buffer.
5819 @kindex C-c C-e (Score Mode)
5820 @findex wl-score-edit-insert-entry
5821 Inserts the score entry of the message selected in the summary buffer.
5824 @subsection Customizable Variables
5827 @item wl-summary-default-score
5828 @vindex wl-summary-default-score
5829 The initial setting is 0 (zero).
5830 This variable specifies the default value of the score.
5831 The score is increased or decreased based upon this value.
5833 @item wl-summary-important-above
5834 @vindex wl-summary-important-above
5835 The initial setting is @code{nil}.
5836 Messages with scores larger than this value are attached with the
5837 important mark (@samp{$}).
5838 If @code{nil}, no important marks are attached.
5840 @item wl-summary-target-above
5841 @vindex wl-summary-target-above
5842 The initial setting is @code{nil}.
5843 Messages with scores larger than this value are attached with the target
5845 If @code{nil}, no target marks are attached.
5847 @item wl-summary-mark-below
5848 @vindex wl-summary-mark-below
5849 The initial setting is 0 (zero).
5850 Messages with scores smaller than this value are marked as read.
5852 @item wl-summary-expunge-below
5853 @vindex wl-summary-expunge-below
5854 The initial setting is @code{nil}.
5855 Messages with scores smaller than this value are deleted from the
5857 If @code{nil}, they are not deleted.
5859 @item wl-summary-score-marks
5860 @vindex wl-summary-score-marks
5861 The initial setting is the list shown below:
5865 (list wl-summary-new-mark)
5870 Messages with these marks are scored.
5872 @item wl-use-scoring
5873 @vindex wl-use-scoring
5874 The initial setting is t.
5875 If non-nil, scoring is enabled.
5877 @item wl-score-files-directory
5878 @vindex wl-score-files-directory
5879 The initial setting is @file{~/.elmo/}.
5880 The default directory for score files.
5882 @item wl-score-interactive-default-score
5883 @vindex wl-score-interactive-default-score
5884 The initial setting is 1000.
5885 This value is used as a score when a score factor is @code{nil} in the
5886 score file. It is also used in @code{wl-summary-increase-score} and
5887 @code{wl-summary-lower-score}, on condition that the value of
5888 @code{wl-score-header-default-entry} is @code{nil}.
5890 @item wl-score-expiry-days
5891 @vindex wl-score-expiry-days
5892 The initial setting is 7.
5893 This is the number of days before time-limited scores are deleted.
5895 @item wl-score-update-entry-dates
5896 @vindex wl-score-update-entry-dates
5897 The initial setting is @code{t}.
5898 If non-nil, it enables deletion of time-limited scores.
5900 @item wl-score-header-default-entry
5901 @vindex wl-score-header-default-entry
5902 Specifies the default value for each header field for score entries
5903 created by @code{wl-summary-increase-score},
5904 @code{wl-summary-lower-score}, and @code{wl-score-edit-insert-entry}.
5906 @item wl-score-simplify-fuzzy-regexp
5907 @vindex wl-score-simplify-fuzzy-regexp
5908 In the case of a type of a score entry is @code{fuzzy}, this specifies a
5909 regular expression to be deleted from the string.
5910 Because this is usually used for Subject, the default is prefixes that
5911 are attached by mailing list programs.
5913 @item wl-summary-rescore-partial-threshold
5914 @vindex wl-summary-rescore-partial-threshold
5915 The initial setting is 200.
5916 When sync-all or rescan is executed, if there are messages more than
5917 this value, only the last same number of messages as this value are
5920 @item wl-summary-auto-sync-marks
5921 @vindex wl-summary-auto-sync-marks
5922 If non-nil, unread/important marks are synchronized when the summary
5924 Unread marks reflect information on the IMAP4 server.
5925 Important marks reflect information on the IMAP4 server (flagged or
5926 not), and contents of @samp{'mark} folder.
5927 The initial setting is @code{t}.
5931 @node Score File Format, , Score Commands, Scoring
5932 @section Score File Format
5933 @cindex Score File Format
5935 The format of score files are the same as Gnus, and basically you can
5936 use Gnus score files as they are. But they are not fully compatible
5937 because some keys are not supported and there are Wanderlust specifics.
5938 @xref{Score File Format, , ,gnus, The gnus Newsreader}.
5943 ("for sale" -1000 nil s)
5944 ("profit" -1000 nil s))
5946 ("spam@@spamspamspam" -10000 nil s))
5948 ("my@@address" 3001 nil s))
5950 (1000000 -10 nil >))
5960 If the key is a string, it is the name of the header to be matched.
5961 The following keys are available:
5962 @code{Subject}, @code{From}, @code{Date}, @code{Message-ID},
5963 @code{References}, @code{To}, @code{Cc}, @code{Chars}, @code{Lines},
5964 @code{Xref}, @code{Extra}, @code{Followup}, @code{Thread}
5965 @code{Chars} and @code{Lines} mean the size and the number of lines of
5966 the message, respectively. @code{Extra}, @code{Followup}, @code{Thread}
5967 are described later.
5968 The rest corresponds the field of the same name.
5970 Arbitrary numbers of core entries are specified after the key.
5971 Each score entry consists of these five factors:
5975 A factor that matches header. This should be a number in the cases of
5976 @code{lines} and @code{chars}, otherwise a string.
5979 A score factor. When the first item matches, the score of the message
5980 is increased or decreased by this value.
5983 A time limiting factor. If @code{nil}, the score is permanent, and in the case
5984 of a number, the score is deleted if it does not match for days
5985 (@code{wl-score-expiry-days}) from the date specified by this.
5986 The date is since Dec. 31, 1 B.C.
5989 A type factor. This specifies the way the first factor matches.
5990 Available types depend on keys.
5993 @item From, Subject, References, Message-ID
5994 For these keys in string, @code{r} and @code{R} (regexp),
5995 @code{s} and @code{S} (substring), @code{e} and @code{E} (exact match),
5996 as well as @code{f} and @code{F} (fuzzy) can be used.
5997 @code{R}, @code{S}, @code{E}, and @code{F} are case sensitive.
6000 For these keys, the following five numerical relative operators can be
6001 used: @code{<}, @code{>}, @code{=}, @code{>=}, @code{<=}.
6004 This key matches @code{From} header, and scores all follow-ups to the
6006 For example, it would be useful for increasing scores for follow-ups to
6009 You can use the same types as @code{From} except for @code{f}.
6010 And a @samp{Followup} entry is automatically appended to the score file.
6013 This key scores (sub-)threads beginning with @code{Message-ID} @var{x}.
6014 A @samp{Thread} entry is automatically appended for each article that
6015 has @var{x} in the @code{References} header.
6016 You can make sure the whole thread including messages that does not have
6017 all ancestors @code{Message-ID} in @code{References} is scored.
6019 You can use the same types as @code{References} except for @code{f}.
6020 And a @samp{Thread} entry is automatically appended to the score file.
6024 A factor for extension header. This is meaningful only if the key is
6026 This specifies headers to be matched other than standard headers like
6027 @code{Subject} and @code{From}.
6028 Note that you should specify the header in
6029 @code{elmo-msgdb-extra-fields} also.
6030 Therefore it does not work in folders where extension headers cannot be
6035 The sum of these scores @emph{after all factors are applied} becomes the
6036 score of the message.
6038 @cindex Score File Atoms
6040 Messages with a score less than this value is marked as read.
6041 The default is @code{wl-summary-mark-below}.
6044 Messages with a score less than this value is deleted from the summary.
6045 The default is @code{wl-summary-expunge-below}.
6047 @item mark-and-expunge
6048 Both @code{mark} and @code{expunge} are applied,
6049 i.e. messages with a score less than this value is marked as read and
6050 deleted from the summary.
6053 Messages with a score greater than this value is attached with temp
6055 The default is @code{wl-summary-target-above}.
6058 Messages with a score greater than this value is attached with important
6060 The default is @code{wl-summary-important-above}.
6065 Not to mention the @code{extra} key, if @code{lines} or @code{xref} keys
6066 are used, you need to set @code{elmo-msgdb-extra-fields}.
6069 (setq elmo-msgdb-extra-fields '("lines" "xref"))
6072 There are other restrictions as shown below:
6075 @item Because @samp{References} field in the summary information
6076 contains only the last @samp{Message-ID}, @code{references} key matches
6080 Keys that can be seen by folder of types:
6084 chars lines xref extra
6085 localdir,localnews Y E E E
6086 nntp (supporting xover) Y E E N
6092 N: cannot be seen (ignored)
6093 E: can be seen with @code{elmo-msgdb-extra-fields} settings
6098 @node Address Book, Customization, Scoring, Top
6099 @chapter Address Book
6100 @cindex Address Book
6102 With address book, you can utilize address completion, and you have
6103 summary displayed with nicknames.
6106 * Mail Addresses:: Definition of Address Book
6107 * Address Manager:: Address Manager
6110 @node Mail Addresses, Address Manager, Address Book, Address Book
6111 @section Address book
6112 @cindex Address book Definition
6114 @cindex Alias, Address
6116 The file @file{~/.addresses} is a simple address book for Wanderlust.
6117 Make address file @file{~/.addresses}, and edit to suit your requirement.
6119 The data written in @file{~/.addresses} are used for address completion
6120 under draft editing mode. Furthermore, they are used when showing names
6121 in summary display mode. You can safely skip this section, if you don't
6122 want to customize address completion and summary display.
6123 It is possible to add/change/remove addresses from @file{~/.addresses} in
6124 summary buffer after Wanderlust is invoked. @refill
6126 The format is very simple. Like this. @refill
6131 # @r{Lines begin with @samp{#} are comment.}
6132 # @r{Empty lines are ignored}
6134 # @r{Format of each line:}
6135 # @var{email-address} "@var{nickname} "@var{realname}"
6137 teranisi@@gohome.org "Yuuichi" "Yuuichi Teranishi"
6138 foo@@bar.gohome.org "Mr. Foo" "John Foo"
6139 bar@@foo.gohome.org "Mr. Bar" "Michael Bar"
6144 One line defines one persons description.
6146 Actually, in default setup, @var{nickname} is used in summary-mode and
6147 @var{realname} is used in draft preparation mode. This behavior is
6148 better understood if you try it and confirmed the function first. You
6149 can write and try a small definition, so you will know the idea of the
6150 address book before writing a big one.
6152 And, if MH alias file is specified in variable @code{wl-alias-file},
6153 it is used as an address information in the draft preparation mode.
6155 If variable @code{wl-use-ldap} is non-nil (initial setting is
6156 @code{nil}), address completion in draft mode uses LDAP information.
6158 If you use LDAP, you have to set @code{wl-ldap-server},
6159 @code{wl-ldap-port} and @code{wl-ldap-base} properly. If your emacs does
6160 not have LDAP feature as built-in feature (Currently only XEmacs can
6161 have built-in LDAP feature), you have to set command exec @env{PATH} to
6162 the program @command{ldapsearch}.
6165 @node Address Manager, , Mail Addresses, Address Book
6166 @section Address Manager
6167 @cindex Address Manager
6169 You can type @kbd{C-c C-a} to enter address manger mode. you can edit
6170 the address book and insert address to draft buffer.
6172 @subsection Key Bindings
6176 @kindex t (Address Manager)
6177 @findex wl-addrmgr-set-to
6178 Add @samp{To:} mark.
6181 @kindex c (Address Manager)
6182 @findex wl-addrmgr-set-cc
6183 Add @samp{Cc:} mark.
6186 @kindex b (Address Manager)
6187 @findex wl-addrmgr-set-bcc
6188 Add @samp{Bcc:} mark.
6191 @kindex u (Address Manager)
6192 @findex wl-addrmgr-unmark
6196 @kindex x (Address Manager)
6197 @findex wl-addrmgr-apply
6199 Insert @samp{To:}, @samp{Cc:}, or @samp{Bcc:} marked addresses to draft
6200 buffer and quit address manager. When no draft buffer, make new draft
6201 with insert marked addresses.
6203 If no mark, quit address manager.
6207 @kindex q (Address Manager)
6208 @findex wl-addrmgr-quit
6209 Quit address manager.
6212 @kindex a (Address Manager)
6213 @findex wl-addrmgr-add
6217 @kindex d (Address Manager)
6218 @findex wl-addrmgr-delete
6222 @kindex e (Address Manager)
6223 @findex wl-addrmgr-edit
6228 @node Customization, Mailing List, Address Book, Top
6229 @chapter Customizing Wanderlust
6230 @cindex Customization
6233 * Living with other packages:: Cooperating with other packages
6234 * Highlights:: Highlights
6235 * Biff:: Notify Mail arrival
6236 * Advanced Settings:: Advanced Settings
6237 * Customizable Variables:: Customizable Variables
6242 @node Living with other packages, Highlights, Customization, Customization
6243 @section Living with other packages
6245 Examples with other packages.
6248 * imput:: imput (im-wl.el)
6250 * supercite:: supercite.el
6251 * mu-cite:: mu-cite.el
6252 * X-Face:: x-face,bitmap-mule
6253 * dired-dd:: dired-dd.el
6255 * Addrbook:: Addrbook
6256 * mime-w3m:: mime-w3m.el
6260 @node imput, BBDB, Living with other packages, Living with other packages
6265 Place @file{util/im-wl.el} on the @code{load-path} and do the following
6268 If @command{imput} is on the @code{exec-path} at the installation,
6269 @file{im-wl.el} is byte-compiled and installed. @xref{Install}.
6273 (autoload 'wl-draft-send-with-imput-async "im-wl")
6274 (setq wl-draft-send-function 'wl-draft-send-with-imput-async)
6279 @node BBDB, supercite, imput, Living with other packages
6283 Place @file{util/bbdb-wl.el} on the @code{load-path} and do the following
6286 If BBDB is on the @code{load-path} at the installation, @file{bbdb-wl.el} is
6287 byte-compiled and installed.
6295 ;; @r{enable pop-ups}
6296 (setq bbdb-use-pop-up t)
6297 ;; @r{auto collection}
6298 (setq bbdb/mail-auto-create-p t)
6299 ;; @r{exceptional folders against auto collection}
6300 (setq bbdb-wl-ignore-folder-regexp "^@@")
6301 (setq signature-use-bbdb t)
6302 (setq bbdb-north-american-phone-numbers-p nil)
6303 ;; @r{shows the name of bbdb in the summary} :-)
6304 (setq wl-summary-from-function 'bbdb-wl-from-func)
6305 ;; @r{automatically add mailing list fields}
6306 (add-hook 'bbdb-notice-hook 'bbdb-auto-notes-hook)
6307 (setq bbdb-auto-notes-alist '(("X-ML-Name" (".*$" ML 0))))
6311 You can complete address with BBDB by @kbd{M-@key{TAB}}
6315 @node supercite, mu-cite, BBDB, Living with other packages
6316 @subsection sc.el(supercite), sc-register.el
6320 The same setting as usual mailers should be OK. The following is an
6321 example of settings:
6325 (autoload 'sc-cite-original "supercite" nil t)
6326 (add-hook 'mail-citation-hook 'sc-cite-original)
6331 @node mu-cite, X-Face, supercite, Living with other packages
6332 @subsection mu-cite.el
6335 The same setting as usual mailers should be OK. The following is an
6336 example of settings.
6338 If you use mu-cite version 8.0 or earlier:
6342 (autoload 'mu-cite/cite-original "mu-cite" nil t)
6343 (setq mail-citation-hook 'mu-cite/cite-original)
6347 If you use mu-cite version 8.1 or later:
6351 (autoload 'mu-cite-original "mu-cite" nil t)
6352 (add-hook 'mail-citation-hook (function mu-cite-original))
6356 @node X-Face, dired-dd, mu-cite, Living with other packages
6360 If you have installed one of the following, you can decode
6361 @samp{X-Face:} field in message buffer and you will see face image.
6364 * x-face-xmas:: XEmacs case
6365 * x-face-mule:: Emacs case
6368 If there is an encoded X-Face string in a file @file{~/.xface} (the
6369 value of the variable @code{wl-x-face-file}), it is inserted as a
6370 @samp{X-Face:} field in the draft buffer (if
6371 @code{wl-auto-insert-x-face} is non-nil).
6373 @node x-face-xmas, x-face-mule, X-Face, X-Face
6374 @subsubsection x-face-xmas (for XEmacs)
6377 If you use @file{x-face-xmas.el} in x-face (@uref{ftp://jpl.org/pub/elisp/})
6378 1.3.6.13 or later, do the following:
6382 (autoload 'x-face-xmas-wl-display-x-face "x-face")
6383 (setq wl-highlight-x-face-function 'x-face-xmas-wl-display-x-face)
6387 @node x-face-mule, , x-face-xmas, X-Face
6388 @subsubsection x-face-mule (for Emacs)
6392 If you use @file{x-face-mule.el} in bitmap-mule
6393 (@uref{ftp://ftp.jpl.org/pub/elisp/bitmap/}) 8.0 or later, do the following:
6397 (autoload 'x-face-decode-message-header "x-face-mule")
6398 (setq wl-highlight-x-face-function 'x-face-decode-message-header)
6402 @subsubsection x-face-e21 (for Emacs 21.x)
6405 With Emacs 21.x, you can use @file{x-face-e21.el}
6406 (@uref{ftp://jpl.org/pub/elisp/}) instead of @file{x-face-mule.el}
6407 to display X-Face. In this case, bitmap-mule is not required.
6412 (autoload 'x-face-decode-message-header "x-face-e21")
6413 (setq wl-highlight-x-face-function 'x-face-decode-message-header)
6418 @node dired-dd, MHC, X-Face, Living with other packages
6419 @subsection dired-dd(Dired-DragDrop)
6420 @pindex Dired-DragDrop
6422 @cindex Drag and Drop
6424 If you embed @file{dired-dd-mime.el} in the dired-dd package, you can
6425 compose multi-part by simple Drag-and-Drop from dired to the draft
6426 buffer being edited in GNU Emacs (this feature is not Wanderlust
6427 specific, but general-purpose for SEMI).
6431 ;; @r{dired-dd:} http://www.asahi-net.or.jp/~pi9s-nnb/dired-dd-home.html
6437 ;; @r{Set dired-x variables here.}
6438 ;; @r{To and flo@dots{}}
6440 (progn (require 'dired-dd)
6441 (require 'dired-dd-mime))))))
6445 @node MHC, Addrbook, dired-dd, Living with other packages
6449 Message Harmonized Calendaring system
6450 (@uref{http://www.quickhack.net/mhc/})
6452 By using MHC, you can make a calendar from the messages.
6458 (setq mhc-mailer-package 'wl)
6459 (autoload 'mhc-mode "mhc" nil t)
6460 (add-hook 'wl-summary-mode-hook 'mhc-mode)
6461 (add-hook 'wl-folder-mode-hook 'mhc-mode)
6469 (autoload 'mhc-wl-setup "mhc-wl")
6470 (add-hook 'wl-init-hook 'mhc-wl-setup)
6474 @node Addrbook, mime-w3m, MHC, Living with other packages
6475 @subsection wl-addrbook.el
6479 (@uref{http://www.mew.org/})
6481 Place @file{util/wl-addrbook.el} and @file{util/wl-complete.el} on the
6482 @code{load-path} and do the following settings.
6486 (require 'wl-addrbook)
6491 @node mime-w3m, , Addrbook, Living with other packages
6492 @subsection mime-w3m.el
6495 You can display html part by using @file{mime-w3m.el}
6496 distributed with emacs-w3m (@uref{http://emacs-w3m.namazu.org/}).
6497 You can find the usage in comment region at the head of @file{mime-w3m.el}.
6500 @node Highlights, Biff, Living with other packages, Customization
6503 @subsection Customizable Variables
6506 @item wl-summary-highlight
6507 @vindex wl-summary-highlight
6508 The initial setting is @code{t}.
6509 If non-nil, the summary is highlighted.
6511 @item wl-highlight-max-summary-lines
6512 @vindex wl-highlight-max-summary-lines
6513 The initial setting is 10000.
6514 The summary is not highlighted if it has more lines than this value.
6516 @item wl-summary-highlight-partial-threshold
6517 @vindex wl-summary-highlight-partial-threshold
6518 The initial setting is 1000.
6519 This is a threshold whether the whole summary is highlighted.
6520 If there are more lines of messages in the summary, it is partially
6523 @item wl-summary-partial-highlight-above-lines
6524 @vindex wl-summary-partial-highlight-above-lines
6525 The initial setting is 30. If there are more lines of messages than
6526 @code{wl-summary-highlight-partial-threshold} in the summary, messages
6527 after the point that is the same number of lines as this value above the
6528 cursor line are highlighted partially. (If this value is @code{nil},
6529 the last same number of lines as the value of
6530 @code{wl-summary-highlight-partial-threshold} are highlighted.)
6532 @item wl-highlight-body-too
6533 @vindex wl-highlight-body-too
6534 The initial setting is @code{t}.
6535 If non-nil, bodies of drafts and messages are also highlighted.
6537 @item wl-highlight-message-header-alist
6538 @vindex wl-highlight-message-header-alist
6539 When highlighting headers of drafts and messages, this variable
6540 specifies which faces are allocated to important
6541 (@code{wl-highlight-message-important-header-contents}), secondly
6542 important (@code{wl-highlight-message-important-header-contents2}), and
6543 unimportant (@code{wl-highlight-message-unimportant-header-contents})
6545 Similarly, it can be used for allocating arbitrary faces to arbitrary
6546 regular expressions.
6548 @item wl-highlight-citation-prefix-regexp
6549 @vindex wl-highlight-citation-prefix-regexp
6550 Specifies a regular expression to which quoted lines in bodies of
6551 drafts and messages match.
6552 Bodies matching to this regular expression are highlighted by the faces
6553 specified by (@code{wl-highlight-message-cited-text-*}).
6555 @item wl-highlight-highlight-citation-too
6556 @vindex wl-highlight-highlight-citation-too
6557 The initial setting is @code{nil}.
6558 If non-nil, the quoting regular expression itself given by
6559 @code{wl-highlight-citation-prefix-regexp} is also highlighted.
6561 @item wl-highlight-citation-header-regexp
6562 @vindex wl-highlight-citation-header-regexp
6563 Specifies a regular expression that denotes beginning of quotation.
6564 Bodies matching to this regular expression are highlighted by the face
6565 specified by @code{wl-highlight-message-headers}.
6567 @item wl-highlight-max-header-size
6568 @vindex wl-highlight-max-header-size
6569 The initial setting is @code{nil}. If a header size is larger than this
6570 value, it will not be highlighted. If @code{nil}, always highlighted
6571 (ignore header size).
6573 @item wl-highlight-max-message-size
6574 @vindex wl-highlight-max-message-size
6575 The initial setting is 10000.
6576 If a message is larger than this value, it will not be highlighted.
6577 With this variable, highlight is suppressed for uuencode or huge digest
6580 @item wl-highlight-signature-separator
6581 @vindex wl-highlight-signature-separator
6582 Specifies regular expressions that denotes the boundary of a signature.
6583 It can be a regular expression, or a list of ones.
6584 Messages after the place that matches this regular expression are
6585 highlighted by the face specified by
6586 @code{wl-highlight-message-signature}.
6588 @item wl-max-signature-size
6589 @vindex wl-max-signature-size
6590 The initial setting is 400.
6591 This is the largest size for a signature to be highlighted.
6593 @item wl-use-highlight-mouse-line
6594 @vindex wl-use-highlight-mouse-line
6595 The initial setting is @code{t}.
6596 If non-nil, the line pointed by the mouse is highlighted in the folder
6597 mode, summary mode, and the like.
6600 @subsection Setting Colors and Fonts of the Characters
6602 If you want to change colors or fonts of the characters, you need to
6603 modify faces defined in Wanderlust. Use @code{set-face-font} if you
6604 want to change fonts, and @code{set-face-foreground} for colors, and so
6605 on. You cannot write face settings in @file{.emacs}; write in
6608 For example, if you want to change the color for signatures to yellow,
6612 (set-face-foreground 'wl-highlight-message-signature "yellow")
6618 Faces defined in Wanderlust:
6621 @item wl-highlight-message-headers
6622 The face for field names of message headers.
6624 @item wl-highlight-message-header-contents
6625 The face for field bodies of message headers.
6627 @item wl-highlight-message-important-header-contents
6628 The face for important parts of message headers.
6629 Per default, this face is used for a body of @samp{Subject:} field.
6630 You can change its value by editing
6631 @code{wl-highlight-message-header-alist}.
6633 @item wl-highlight-message-important-header-contents2
6634 The face for secondly important parts of message headers.
6635 Per default, this face is used for bodies of @samp{From:} and @samp{To:}
6636 fields. You can change its value by editing
6637 @code{wl-highlight-message-header-alist}.
6639 @item wl-highlight-message-unimportant-header-contents
6640 The face for unimportant parts of message headers.
6641 Per default, this face is used for bodies of @samp{X-} fields
6642 @samp{User-Agent:} fields. You can change its value by editing
6643 @code{wl-highlight-message-header-alist}.
6645 @item wl-highlight-message-citation-header
6646 The face for headers of quoted messages.
6648 @item wl-highlight-message-cited-text-*
6649 The face for texts of quoted messages. The last @samp{*} is a
6650 @var{single figure} so that 10 different colors can be used according to
6653 @item wl-highlight-message-signature
6654 The face for signatures of messages. The initial settings are
6655 @samp{khaki} for light background colors, and @samp{DarkSlateBlue} for
6656 dark background colors.
6658 @item wl-highlight-header-separator-face
6659 The face for header separators of draft messages.
6661 @item wl-highlight-summary-important-face
6662 The face for message lines with important marks in the summary.
6664 @item wl-highlight-summary-new-face
6665 The face for message lines with new marks in the summary.
6667 @item wl-highlight-summary-displaying-face
6668 The face for the message line that is currently displayed.
6669 This face is overlaid.
6671 @item wl-highlight-thread-indent-face
6672 The face for the threads that is currently displayed.
6674 @item wl-highlight-summary-unread-face
6675 The face for message lines with unread marks in the summary.
6677 @item wl-highlight-summary-deleted-face
6678 The face for message lines with delete marks in the summary.
6680 @item wl-highlight-summary-refiled-face
6681 The face for message lines with re-file marks in the summary.
6683 @item wl-highlight-refile-destination-face
6684 The face for re-file information part of message lines with re-file
6685 marks in the summary.
6687 @item wl-highlight-summary-copied-face
6688 The face for message lines with copy marks in the summary.
6690 @item wl-highlight-summary-target-face
6691 The face for message lines with target marks @samp{*} in the summary.
6693 @item wl-highlight-summary-thread-top-face
6694 The face for message lines that are on the top of the thread in the
6697 @item wl-highlight-summary-normal-face
6698 The face for message lines that are not on top of the thread in the
6701 @item wl-highlight-folder-unknown-face
6702 The face for folders that are not known to have how many unsync messages
6705 @item wl-highlight-folder-zero-face
6706 The face for folders that have no unsync messages in the folder mode.
6708 @item wl-highlight-folder-few-face
6709 The face for folders that have some unsync messages in the folder mode.
6711 @item wl-highlight-folder-many-face
6712 The face for folders that have many unsync messages in the folder mode.
6713 The boundary between `some' and `many' is specified by the variable
6714 @code{wl-folder-many-unsync-threshold}.
6716 @item wl-highlight-folder-unread-face
6717 The face for folders that have no unsync but unread messages in the
6720 @item wl-highlight-folder-killed-face
6721 The face for folders that are deleted from the access group in the
6724 @item wl-highlight-folder-opened-face
6725 The face for open groups in the folder mode.
6726 It is meaningful when @code{wl-highlight-folder-by-numbers} is
6727 @code{nil} or a @var{number}.
6729 @item wl-highlight-folder-closed-face
6730 The face for close groups in the folder mode.
6731 It is meaningful when @code{wl-highlight-folder-by-numbers} is
6732 @code{nil} or a @var{number}.
6734 @item wl-highlight-folder-path-face
6735 The face for the path to the currently selected folder in the folder
6738 @item wl-highlight-logo-face
6739 The face for logo in the demo.
6741 @item wl-highlight-demo-face
6742 The face for strings (for example, a version number) in the demo.
6746 @node Biff, Advanced Settings, Highlights, Customization
6747 @section Notify Mail arrival
6750 Following setting is to notify mail arrival of @samp{%inbox}
6751 by the indicator on the modeline
6754 (setq wl-biff-check-folder-list '("%inbox"))
6757 @subsection Customizable Variables
6759 @item wl-biff-check-folder-list
6760 @vindex wl-biff-check-folder-list
6761 The initial setting is @code{nil}.
6762 This is the list of folders to check mail arrival.
6763 If @code{nil}, wl doesn't check mail arrival.
6765 @item wl-biff-check-interval
6766 @vindex wl-biff-check-interval
6767 The initial setting is 40 (in seconds).
6768 Check mail arrival in this period.
6770 @item wl-biff-notify-hook
6771 @vindex wl-biff-notify-hook
6772 This hook is run at the arrival of new mail.
6773 To beep with mail arrival(initial setting), set as follows.
6775 (setq wl-biff-notify-hook '(ding))
6777 For silence, set to @code{nil}.
6781 @node Advanced Settings, Customizable Variables, Biff, Customization
6782 @section Advanced Settings
6785 * Draft for Reply:: Draft for Reply
6786 * Thread Format:: Appearance of Thread
6787 * User-Agent Field:: @samp{User-Agent:} Header Field
6791 @node Draft for Reply, Thread Format, Advanced Settings, Advanced Settings
6792 @subsection Draft for Replay
6793 @vindex wl-draft-reply-with-argument-list
6794 @vindex wl-draft-reply-without-argument-list
6795 @vindex wl-draft-reply-myself-with-argument-list
6796 @vindex wl-draft-reply-myself-without-argument-list
6798 If you type @kbd{a} in the Summary Buffer, a draft for reply is prepared.
6799 The addressee for the draft is decided by following rules.
6801 For example, you can set as follows:
6805 (setq wl-draft-reply-without-argument-list
6806 '(("Mail-Followup-To" . (("Mail-Followup-To") nil ("Newsgroups")))
6807 ("Followup-To" . (nil nil ("Followup-To")))
6808 (("X-ML-Name" "Reply-To") . (("Reply-To") nil nil))
6809 ("From" . (("From") ("To" "Cc") ("Newsgroups")))))
6813 Where each element of the list @code{wl-draft-reply-without-argument-list}
6817 (key . (to-list cc-list newsgroup-list))
6820 and if the field designated by @samp{key} exist in the parent message,
6821 parent's field values designated by @samp{to-list} are copied to @samp{To:}
6822 in the draft. Similarly, parent's fields designated by @samp{cc-list} and
6823 @samp{newsgroup-list} are copied to @samp{Cc:} and @samp{Newsgroups:} in
6824 the draft respectively.
6829 ("Mail-Followup-To" . (("Mail-Followup-To") nil ("Newsgroups")))
6832 Match if the parent has @samp{Mail-Followup-To} field.
6833 The components of parent's @samp{Mail-Followup-To} and @samp{Newsgroups}
6834 fields are copied to @samp{To} and @samp{Newsgroups} in the draft
6838 (("X-ML-Name" "Reply-To") . (("Reply-To") nil nil))
6841 Match if the parent has both @samp{X-ML-Name} and @samp{Reply-To} fields.
6842 Parent's @samp{Reply-To} is copied to @samp{To} in the draft.
6845 ("From" . (("From") ("To" "Cc") ("Newsgroups")))
6848 Copy parent's @samp{From} to @samp{To} in the draft, parent's @samp{To} and
6849 @samp{Cc} to @samp{Cc}, parent's @samp{Newsgroups} to @samp{Newsgroups}
6852 These are evaluated in order and first matched one is used.
6854 Moreover, the behavior of @kbd{a} with prefix argument can
6855 be directed by @code{wl-draft-reply-with-argument-list} as well.
6857 By the way, you can use some function (will be evaluated in the parent
6858 message buffer) in the place of @samp{key} or @samp{to-list} etc.
6859 For example, if you only want to reply to mailing lists in
6860 @code{wl-subscribed-mailing-list} if the parent has some of them,
6865 (defun wl-mailing-list-addresses ()
6869 (nth 1 (std11-extract-address-components addr)))
6872 (elmo-multiple-fields-body-list (list "To" "Cc"))
6874 (when (elmo-string-matched-member to wl-subscribed-mailing-list t)
6875 (setq list-addrs (cons to list-addrs))))
6876 (nreverse list-addrs)))
6878 (setq wl-draft-reply-with-argument-list
6879 '((wl-mailing-list-addresses . (wl-mailing-list-addresses nil nil))
6880 ("Reply-To" . (("Reply-To") nil nil))
6881 ("Mail-Reply-To" . (("Mail-Reply-To") nil nil))
6882 ("From" . (("From") nil nil))))
6887 Note: To set the behavior when you reply to the message written by yourself,
6888 use @code{wl-draft-reply-myself-without-argument-list} and
6889 @code{wl-draft-reply-myself-with-argument-list} instead of them.
6891 @node Thread Format, User-Agent Field, Draft for Reply, Advanced Settings
6892 @subsection Appearance of Threads
6896 389 09/18(Fri)01:07 [ Teranishi ] wl-0.6.3
6897 390 09/18(Fri)07:25 +-[ Tsumura-san ]
6898 391 09/18(Fri)19:24 +-[ Murata-san ]
6899 392 09/20(Sun)21:49 +-[ Okunishi-san ]
6900 396 09/20(Sun)22:11 | +-[ Tsumura-san ]
6901 398 09/21(Mon)00:17 | +-[ Tsumura-san ]
6902 408 09/21(Mon)22:37 | +-[ Okunishi-san ]
6903 411 09/22(Tue)01:34 | +-[ Tsumura-san ]
6904 412 09/22(Tue)09:28 | +-[ Teranishi ]
6905 415 09/22(Tue)11:52 | +-[ Tsumura-san ]
6906 416 09/22(Tue)12:38 | +-[ Teranishi ]
6907 395 09/20(Sun)21:49 +-[ Okunishi-san ]
6908 397 09/21(Mon)00:15 +-[ Okunishi-san ]
6912 Settings to make appearance of threads like shown above:
6916 (setq wl-thread-indent-level 2)
6917 (setq wl-thread-have-younger-brother-str "+")
6918 (setq wl-thread-youngest-child-str "+")
6919 (setq wl-thread-vertical-str "|")
6920 (setq wl-thread-horizontal-str "-")
6921 (setq wl-thread-space-str " ")
6925 If you do not want to see branches, do the following:
6929 (setq wl-thread-indent-level 2)
6930 (setq wl-thread-have-younger-brother-str " ")
6931 (setq wl-thread-youngest-child-str " ")
6932 (setq wl-thread-vertical-str " ")
6933 (setq wl-thread-horizontal-str " ")
6934 (setq wl-thread-space-str " ")
6939 @node User-Agent Field, , Thread Format, Advanced Settings
6940 @subsection User-Agent Field
6944 If you are eccentric enough to elaborate @samp{X-Mailer:} or
6945 @samp{User-Agent:} fields, define a function that generate appropriate
6946 strings as you like, and set it to variable
6947 @code{wl-generate-mailer-string-function}.
6949 If you do not want verbose @samp{User-Agent:} field, do the following:
6953 (setq wl-generate-mailer-string-function
6956 (concat "User-Agent: "
6957 (wl-generate-user-agent-string-1 nil)))))
6961 The following is a example:
6965 (setq mime-edit-insert-user-agent-field nil)
6966 (setq wl-generate-mailer-string-function
6969 (format "X-Mailer: %s" (product-string-1 'wl-version)))))
6974 @node Customizable Variables, Hooks, Advanced Settings, Customization
6975 @section Customizable Variables
6977 Customizable variables that have not been described yet:
6980 @item wl-default-folder
6981 @vindex wl-default-folder
6982 The initial setting is @samp{%inbox}. This is the default value for moving to
6983 a folder and the like.
6985 @item wl-draft-folder
6986 @vindex wl-draft-folder
6987 The initial setting is @samp{+draft}. It is the folder to which drafts are
6988 saved. It must be a localdir folder.
6990 @item wl-trash-folder
6991 @vindex wl-trash-folder
6992 The initial setting is @samp{+trash}. It is the wastebasket folder.
6993 If you changed this variable, you had better restart Wanderlust.
6995 @item wl-interactive-exit
6996 @vindex wl-interactive-exit
6997 The initial setting is @code{t}.
6998 If non-nil, you are asked for confirmation when Wanderlust terminates.
7000 @item wl-interactive-send
7001 @vindex wl-interactive-send
7002 The initial setting is @code{t}.
7003 If non-nil, you are asked for confirmation when mail is sent.
7005 @item wl-folder-sync-range-alist
7006 @vindex wl-folder-sync-range-alist
7007 The initial setting is the alist shown below:
7012 ("^\\+draft$\\|^\\+queue$" . "all"))
7017 This is an associative list of regular expressions of folder names and
7018 update range of the summary. Update range is one of the @samp{all},
7019 @samp{update}, @samp{rescan}, @samp{rescan-noscore}, @samp{first} and
7020 @samp{last}. If a folder do not match, @samp{update} is used.
7023 @vindex wl-ask-range
7024 The initial setting is @code{t}.
7025 If @code{nil}, the value of @code{wl-folder-sync-range-alist} is used
7026 for updating the summary when you changed folders.
7028 @item wl-mime-charset
7029 @vindex wl-mime-charset
7030 The initial setting is @code{x-ctext}.
7031 This is the MIME charset for messages that are not MIME (e.g. without
7032 @samp{Content-Type:}). This value also used as default charset for
7033 summary. (If you want to share Summary on Nemacs and other Emacsen, set
7034 this value as @code{iso-2022-jp}.)
7036 @item wl-highlight-folder-with-icon
7037 @vindex wl-highlight-folder-with-icon
7038 This is meaningful for XEmacs or Emacs 21.. The initial setting depends
7039 on Emacsen (@code{t} for XEmacs or Emacs 21 with icons).
7041 @item wl-strict-diff-folders
7042 @vindex wl-strict-diff-folders
7043 This is a list of regular expressions of folders.
7044 Unread messages are checked, for example when you press @kbd{s} in
7045 the folder mode, usually in a brief way (rapidly processed but not
7047 The folders matching this variable are seriously checked.
7048 You may want to set this variable so as to match conditional filter
7049 folders for IMAP4 folders.
7050 The initial setting is @code{nil}.
7052 @item wl-folder-use-server-diff
7053 @vindex wl-folder-use-server-diff
7054 When unread messages are checked, for example when you press @kbd{s} in
7055 the folder mode, usually (the number of messages on the server) @minus{}
7056 (the number of local messages) will be the number of unread messages.
7057 However, if this variable is non-nil, the number of unread messages on
7058 the server is checked. This affects IMAP4 folders only, but IMAP4
7059 folders in mail boxes matching
7060 @code{elmo-imap4-disuse-server-flag-mailbox-regexp} are not checked for
7061 the number of unread messages on the server, even if they matches this
7062 variable. The initial setting is @code{t}.
7064 @item wl-auto-check-folder-name
7065 @vindex wl-auto-check-folder-name
7066 The initial setting is @code{nil}.
7067 You can specify a folder or a group which is checked for unread message
7068 at the start. You can also specify a list of folders (groups) to be checked.
7069 If the value is @code{nil}, whole Desktop is checked at the start.
7070 If it is @code{none}, no folders are checked.
7072 @item wl-auto-uncheck-folder-list
7073 @vindex wl-auto-uncheck-folder-list
7074 The initial setting is the list shown below:
7083 You can set a list of regular expressions to specify folders
7084 which are not automatically checked even if they are included
7085 in some groups assigned by @code{wl-auto-check-folder-name}.
7087 @item wl-auto-check-folder-list
7088 @vindex wl-auto-check-folder-list
7089 The initial setting is @code{nil}.
7090 You can set a list of regular expressions to specify exceptions
7091 for @code{wl-auto-uncheck-folder-list}.
7093 @item wl-no-save-folder-list
7094 @vindex wl-no-save-folder-list
7095 The initial setting is the list shown below:
7104 This is a list of regular expressions of folders not to be saved.
7106 @item wl-save-folder-list
7107 @vindex wl-save-folder-list
7108 The initial setting is @code{nil}.
7109 This is a list of regular expressions of folders to be saved.
7110 This takes precedence over @code{wl-no-save-folder-list}.
7112 @item wl-folder-mime-charset-alist
7113 @vindex wl-folder-mime-charset-alist
7114 The initial setting is the alist shown below:
7118 (("^-alt\\.chinese" . big5)
7119 ("^-relcom\\." . koi8-r)
7121 ("^-han\\." . euc-kr))
7126 This is an associative list of regular expressions of folder names and
7128 If a folder do not match, @code{wl-mime-charset} is used.
7130 @item wl-folder-init-load-access-folders
7131 @vindex wl-folder-init-load-access-folders
7132 The initial setting is @code{nil}.
7133 This is a list of access groups to be loaded specifically at the start.
7134 If it is @code{nil}, @code{wl-folder-init-no-load-access-folders} is referred.
7136 @item wl-folder-init-no-load-access-folders
7137 @vindex wl-folder-init-no-load-access-folders
7138 The initial setting is @code{nil}.
7139 This is a list of access groups not to be loaded specifically at the
7141 It is ignored if @code{wl-folder-init-load-access-folders} is non-nil.
7143 @item wl-delete-folder-alist
7144 @vindex wl-delete-folder-alist
7145 The initial setting is the alist shown below:
7154 This list determines disposition of messages with delete marks.
7155 Each item in the list is a folder and destination; you can specify any
7156 one of the following in the place of destination:
7159 @code{remove} or @code{null} : deletes the messages instantly.
7160 string : moves the messages to the specific folder.
7161 @code{trash} or others : moves the messages to @code{wl-trash-folder}.
7164 @item wl-refile-policy-alist
7165 @vindex wl-refile-policy-alist
7166 The initial setting is the list shown below:
7176 This list determines whether messages with re-file marks are moved or
7177 copied. Each item in the list is a cons cell of a folder and
7178 @code{copy} or @code{move}.
7180 @item wl-x-face-file
7181 @vindex wl-x-face-file
7182 The initial setting is @file{~/.xface}.
7183 The name of the file that contains encoded X-Face strings.
7186 @item wl-demo-display-logo
7187 @vindex wl-demo-display-logo
7188 If non-nil, bitmap image is shown on the opening demo. If you set
7189 @code{xpm} or @code{xbm}, (if possible) display selected image type
7192 @item elmo-use-database
7193 @vindex elmo-use-database
7194 This is meaningful for XEmacs only. The initial setting depends on
7195 XEmacs (@code{t} for XEmacs with dbm).
7196 If non-nil, Message-ID is controlled by dbm.
7198 @item elmo-passwd-alist-file-name
7199 @vindex elmo-passwd-alist-file-name
7200 The initial setting is @file{passwd}.
7201 This is the name of the file in which passwords are saved.
7202 @code{elmo-passwd-alist-save} saves current passwords to the file.
7204 @item elmo-nntp-list-folders-use-cache
7205 @vindex elmo-nntp-list-folders-use-cache
7206 The initial setting is 600 (in seconds).
7207 This is period in seconds during which results of @samp{list} and
7208 @samp{list active} in NNTP are cached. If it is @code{nil}, they are
7211 @item elmo-nntp-max-number-precedes-list-active
7212 @vindex elmo-nntp-max-number-precedes-list-active
7213 The initial setting is @code{nil}.
7214 If non-nil, the number of article obtained by @samp{list active} in NNTP
7215 are used as the maximum article number of the folder.
7216 Set this to @code{t} if you are using for example INN 2.3 as an NNTP server,
7217 and if the number of read messages is not correct.
7219 @item elmo-nntp-default-use-listgroup
7220 @vindex elmo-nntp-default-use-listgroup
7221 The initial setting is @code{t}.
7222 If non-nil, @samp{listgroup} is used for checking the total number of
7223 articles. If it is @code{nil}, @samp{group} is used. In the latter
7224 case, the processing will be a little faster at the sacrifice of
7227 @item elmo-pop3-send-command-synchronously
7228 @vindex elmo-pop3-send-command-synchronously
7229 The initial setting is @code{nil}.
7230 If non-nil, POP3 commands are issued synchronously. Some implementation
7231 of POP3 server fails to get summary information without this setting.
7232 You may have to set this variable to @code{t}, if the process hangs
7233 while looking up POP3.
7235 @item elmo-dop-flush-confirm
7236 @vindex elmo-dop-flush-confirm
7237 The initial setting is @code{t}.
7238 If non-nil, you are asked for confirmation if accumulated off-line
7239 operations are executed.
7241 @item elmo-display-progress-threshold
7242 @vindex elmo-display-progress-threshold
7243 The initial setting is 20.
7244 Threshold for display of progress gauge. If number of renewal is more than
7245 this value, display progress gauge.
7249 @node Hooks, , Customizable Variables, Customization
7255 @node Mailing List, Addition, Customization, Top
7256 @chapter Wanderlust Mailing List
7260 Topics related to Wanderlust are discussed in following mailing lists.
7261 The latest version is also announced there.
7264 Wanderlust Mailing List @t{<wl@@lists.airs.net>}
7267 In this list Japanese is mainly used for discussion. We also have a list
7268 for discussion in English:
7271 Wanderlust List in English @t{<wl-en@@lists.airs.net>}
7273 (Messages posted to this list are also forwarded to the former one.)
7275 A guide can be obtained automatically by sending mail to
7276 @t{wl-ctl@@lists.airs.net} (or to @t{wl-en-ctl@@lists.airs.net} for
7277 the English one) with the body
7283 Please send bug reports or patches to one of those lists. You can post to
7284 the mailing list even though you are not a member of it.
7286 If you send a bug report, please attach Backtrace with it.
7287 @footnote{@uref{http://www.jpl.org/elips/BUGS-ja.html} describes how to
7290 I would like to express my thanks to the members of the mailing list for
7291 valuable advice and many pieces of code they contributed.
7294 @node Addition, Index, Mailing List, Top
7295 @chapter Additional Information
7297 @section Brief History
7300 1998 3/05 Tried to make a prototype that displays MH messages in threads.
7301 3/10 Made a msgdb mechanism by elisp.
7302 3/26 IMAP and NNTP can be displayed in threads.
7303 4/13 Began to assemble thread display modules as elmo.
7304 5/01 Finished 0.1.0, initial version with many defects.
7305 6/12 I made a slip of the tongue and said I was writing elisp
7306 mailer supporting IMAP
7307 6/16 0.1.3 was announced at tm-ja, elisp ML.
7308 6/22 Thanks to Kitame-san, the mailing list started at northeye.org.
7309 7/01 Support for mm-backend (0.3.0).
7310 8/25 multi folder added (0.5.0).
7311 8/28 filter folder added (0.5.1).
7312 9/10 You can open/close threads (0.6.0).
7313 9/11 fldmgr by Murata-san made editing folders easy.
7314 9/18 lha folders added by Okunishi-san (0.6.3).
7315 9/24 Display of branches of threads (0.6.5).
7316 9/28 Compression folder supporting multiple archivers by Okunishi-san.
7317 10/28 Off-line operations (0.7.4).
7318 12/09 Becomes beta version.
7319 12/21 wl-expire by Murata-san.
7320 1999 2/03 auto-refile by Tsumura-san.
7321 4/28 wl-template by Murata-san.
7322 5/18 Released 1.0.0 stable.
7323 7/05 Scoring by Murata-san (2.1.0).
7324 9/26 New plugged system by Murata-san (2.2.2).
7325 12/20 Support Modified UTF7.
7326 2000 3/24 Released 1.1.0 stable.
7327 4/03 CVS development started.
7328 5/07 Thread restoration & Its speed up with Murata-san.
7329 6/12 Address completion with LDAP with Chiba-san & Goto-san.
7330 7/11 killed message feature.
7331 7/18 Use UIDL in POP3.
7332 9/12 biff feature with Satata-san & Yamaoka-san.
7333 10/17 expire-hide by Okada-san.
7334 11/08 Released 2.4.0 stable.
7335 2001 7/04 Released 2.6.0 stable.
7336 8/21 wl-addrmgr by Kitamoto-san.
7337 12/27 Released 2.8.1 stable.
7340 See @file{ChangeLog} for details.
7344 According to a dictionary, Wanderlust has the meaning:
7348 n eager longing for or impulse towards travelling in distant lands
7349 [Ger, fr wandern to wander + lust desire, pleasure]
7353 but I had no profound intention. (if farfetched, IMAP @result{} you can
7354 read mail anywhere @result{} desire to wander ?)
7356 Elmo is the abbreviation of @samp{Elisp Library for Message
7357 Orchestration}. At first I meant the red puppet in the Sesame Street,
7358 but you may associate it with Wandering @result{} Drifting @result{}
7359 Guidepost @result{} St.@: Elmo's fire @result{} elmo.
7363 Each versions has code names (they are almost jokes).
7364 Currently they are picked up alphabetically from the top 40 hits of
7365 U.S. Billboard magazines in 1980s.
7367 (@uref{http://lyrics.natalnet.com.br/html/top40/index.html})
7370 @node Index, , Addition, Top
7374 * Concept Index:: Concept Index
7375 * Key Index:: Key Index
7376 * Variable Index:: Variable Index
7377 * Function Index:: Function Index
7380 @node Concept Index, Key Index, Index, Index
7381 @unnumberedsec Concept Index
7384 @node Key Index, Variable Index, Concept Index, Index
7385 @unnumberedsec Key Index
7388 @node Variable Index, Function Index, Key Index, Index
7389 @unnumberedsec Variable Index
7392 @node Function Index, , Variable Index, Index
7393 @unnumberedsec Function Index