3. Functionality

[Back to Contents]
3.1 I'd like to stop Mew from getting mails.
3.2 How can I set current directory a directory where Emacs/Mule is executed?
3.3 I'd like to use `Maildir' of Qmail.
3.4 I'd like to make list of mail threading display in Summary buffer.
3.5 I'd like to use PS printer to print mail out.
3.6 I'd like to add some fields to header.

3.1 I'd like to stop Mew from getting mails

Q.
I am using Mew on Windows95. Whenever I input `M-x mew' to execute Mew, it try to telephone because of dial-up connection with my provider. But I want to make phone call only when it is actually required. Can I make Mew start without fetching mails?
A.
Put following setting in your $(HOME)/.emacs.
(setq mew-auto-get nil)  

And if Mew is executed by `C-uM-x mew', perform `M-x mew' thinking that mew-auto-get is reversed.

Command mew-auto-get With fetching?
M-x mew t yes
,, nil no
C-uM-x mew t no
,, nil yes

[Back to Contents] [Back to Top Page]


3.2 How can I set current directory a directory where Emacs/Mule is executed?

Q.
From version 1.90, current directory in Summary buffer is that of folder (e.g. $(HOME)/Mail/inbox in +inbox). But can I change it to a directory where Emacs/Mule is executed, like old version?
A.
Put following setting in your $(HOME)/.emacs.
(setq mew-summary-trace-directory nil)

[Back to Contents] [Back to Top Page]


3.3 I'd like to use `Maildir' of qmail.

Q.
I want to use `Maildir' which is format of spool used in qmail. How can I set?
A.
Modify configuration file of IM ($(HOME)/.im/Config) as follows.
Imget.Src=local:${HOME}/Maildir
MBoxStyle=qmail

[Back to Contents] [Back to Top Page]


3.4 I'd like to make list of mail threading display in Summary buffer.

Q.
I want to make list of mail threading display when it is displayed in Summary buffer.
A.
In the present state of Mew, it is impossible to display threads in Summary buffer because it is necessary to keep mails in order neatly in controlling .mew-cache. But Thread mode like Virtual mode is being planed to be implemented.

[Back to Contents] [Back to Top Page]


3.5 I'd like to use PS printer to print mail out.

Q.
I want to print mail by `#'(mew-summary-print) but it cannot be printed out as it is because I am using a PostScript printer. So I want to set command for printing by myself. How can I set?
A.
Put following setting in your $(HOME)/.emacs and modify mew-print-command-format according to your environment.
(setq mew-print-command-format "a2ps | lpr")

(defun mew-print-region (begin end)
    (interactive "r")
    (shell-command-on-region begin end mew-print-command-format))

(defun mew-print-buffer ()
    (interactive)
    (mew-print-region (point-min) (point-max)))
(setq mew-print-function (function mew-print-buffer))

[Back to Contents] [Back to Top Page]


3.6 I'd like to add some fields to header.

Q.
I want to add optional headers such as X-URL: to mail header.
A.
Put a setting like following in your $(HOME)/.emacs.
(setq mew-header-alist '( ("X-URL:" . "http://www.mew.org/")
                          ("Bcc:" . "hoge@hoge.hoge") ))

[Back to Contents] [Back to Top Page]