Go to the first, previous, next, last section, table of contents.

Set up .emacs

The Wanderlust package contains two module groups.

`ELMO (elmo-*.el)'
These modules show everything as folders. This is the back-end for WL.
`WL (wl-*.el)'
These modules controls the behavior of main body of Wanderlust. They are also the front-end for ELMO.

You can customize the behavior of Wanderlust by changing the value of environmental variables which begins with elmo- and wl-.

The minimal requirement for settings is as the following.

;; The setting to use SEMI
(require 'mime-setup)

;; autoload configuration
;; (These are not required if Wanderlust is installed as XEmacs package)
(autoload 'wl "wl" "Wanderlust" t)
(autoload 'wl-draft "wl-draft" "Write draft with Wanderlust." t)

;; Directory where icons are placed.
;; Default: the peculiar value to the running version of Emacs.
;; (This is not required if the default value has been set properly)
(setq wl-icon-directory "~/work/wl/etc")

;; SMTP server for mail posting. Default: nil
(setq wl-smtp-posting-server "your.smtp.example.com")
;; NNTP server for news posting. Default: nil
(setq wl-nntp-posting-server "your.nntp.example.com")

`~/.wl' is automatically loaded when Wanderlust starts up (if such a file exists). So it is convenient to gather Wanderlust specific settings in `~/.wl'. Settings for "face" must be written in `~/.wl', because you can't write them in `.emacs' (if you write it to `.emacs', you'll get an error). See section Highlights.

All above described settings except `(require 'mime-setup)' and autoload configuration can be written in `~/.wl').


If you write following setting in you `.emacs', you can start Wanderlust draft mode by typing C-x m (compose-mail). This means it enables you to run Wanderlust as a default mail composer of Emacsen.

It is effective only when your Emacs can define mail-user-agent. See section `Mail Methods' in The Emacs Editor.

(autoload 'wl-user-agent-compose "wl-draft" nil t)
(if (boundp 'mail-user-agent)
    (setq mail-user-agent 'wl-user-agent))
(if (fboundp 'define-mail-user-agent)

Go to the first, previous, next, last section, table of contents.