[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.4 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.

 
;; autoload configuration
;; (Not required if you have installed Wanderlust as XEmacs package)
(autoload 'wl "wl" "Wanderlust" t)
(autoload 'wl-other-frame "wl" "Wanderlust on new frame." 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.
;; (Not required if the default value points 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 13.2 Highlights.

All above described settings except autoload configuration can be written in `~/.wl').



This document was generated by Yuuichi Teranishi on February, 19 2005 using texi2html