;;; dot.wl -- sample setting file for Wanderlust -*- emacs-lisp -*-
+;; [[ SEMI Setting ]]
+
+;; Disable inline display of HTML part.
+;; Put before (require 'mime-setup)
+(setq mime-setup-enable-inline-html nil)
+
+;; Don't split large message.
+(setq mime-edit-split-message nil)
+
+;; If lines of message are larger than this value, treat it as `large'.
+;(setq mime-edit-message-default-max-lines 1000)
+
+
;; [[ Requirement Setting ]]
;; Following must be included in ~/.emacs
(setq wl-subscribed-mailing-list
'("wl@lists.airs.net"
"apel-ja@m17n.org"
- ;;"ml@example.com" ...
+ "emacs-mime-ja@m17n.org"
+ ;; "ml@example.com" ...
))
+;; If (system-name) does not return FQDN,
+;; set following as a local domain name without hostname.
+;; ((system-name) "." wl-local-domain is used as domain part of Message-ID
+;; and an argument of HELO in SMTP.
+;(setq wl-local-domain "example.com")
+
+;; Specific domain part for message-id.
+;(setq wl-message-id-domain "hostname.example.com")
+
;;; [[ Server Setting ]]
;; Default IMAP4 server
-(setq elmo-default-imap4-server "localhost")
+(setq elmo-imap4-default-server "localhost")
;; Default POP server
-(setq elmo-default-pop3-server "localhost")
+(setq elmo-pop3-default-server "localhost")
;; SMTP server
(setq wl-smtp-posting-server "localhost")
;; Default NNTP server
-(setq elmo-default-nntp-server "localhost")
+(setq elmo-nntp-default-server "localhost")
;; NNTP server name for posting
-(setq wl-nntp-posting-server elmo-default-nntp-server)
+(setq wl-nntp-posting-server elmo-nntp-default-server)
-;; If (system-name) does not return FQDN,
-;; set following as a local domain name without hostname.
-;; ((system-name) "." wl-local-domain is used as domain part of Message-ID
-;; and an argument of HELO in SMTP.
-;(setq wl-local-domain "example.com")
+;; IMAP authenticate type setting
+(setq elmo-imap4-default-authenticate-type 'clear) ; raw
+;(setq elmo-imap4-default-authenticate-type 'cram-md5) ; CRAM-MD5
-;; Specific domain part for message-id.
-;(setq wl-message-id-domain "hostname.example.com")
+;; POP-before-SMTP
+;(setq wl-draft-send-mail-function 'wl-draft-send-mail-with-pop-before-smtp)
;;; [[ Basic Setting ]]
;; Folder Carbon Copy
;(setq wl-fcc "+outbox")
-;; Confirm at exit time.
+;; Confirm before exitting Wanderlust.
(setq wl-interactive-exit t)
-;; Confirm at message sending time.
+;; Confirm before sending message.
(setq wl-interactive-send t)
;; Create opened thread.
;(setq wl-thread-insert-opened t)
-;; folder mode and summary mode is displayed at the same time. (3pane)
+;; Keep folder window beside summary. (3 pane)
;(setq wl-stay-folder-window t)
;; Open new frame for draft buffer.
;(setq wl-draft-use-frame t)
-;; Disable inline display HTML part.
-;(setq mime-setup-enable-inline-html nil)
-
-;; Don't split large message.
-;(setq mime-edit-split-message nil)
-
-;; Thread divide when change subject.
+;; Divide thread by change of subject.
;(setq wl-summary-divide-thread-when-subject-changed t)
;; Thread view
+;(setq wl-thread-indent-level 2)
;(setq wl-thread-have-younger-brother-str "+"
; wl-thread-youngest-child-str "+"
; wl-thread-vertical-str "|"
;; goto next folder when exit from summary.
;(setq wl-auto-select-next t)
-;; folder is skipped if there is no unread.
-;(setq wl-summary-next-no-unread 'skip-no-unread)
+;; skip folder if there is no unread message.
+;(setq wl-auto-select-next 'skip-no-unread)
;; jump to unread message in 'N' or 'P'.
;(setq wl-summary-move-order 'unread)
+;; notify mail arrival
+;(setq wl-biff-check-folder-list '("%inbox"))
+;(setq wl-biff-notify-hook '(beep))
;;; [[ Network ]]
;; change plug status by server or port at startup.
;(add-hook 'wl-make-plugged-hook
; '(lambda ()
+; ;; Add or Change plug status for SERVER and PORT.
; (elmo-set-plugged plugged(t/nil) server port)
+; ;; When omit port, SEVERS all port was changes.
+; ;; (Can't add plug status without PORT)
; (elmo-set-plugged plugged(t/nil) server)
; ))
;; Change summary display function.
;; get extra field values as overview information (only localdir folder).
-(setq elmo-msgdb-extra-fields '("newsgroups"
- "x-ml-name" "list-id"
- "x-mail-count" "x-ml-count" "x-sequence"
- "mailing-list"))
+(setq elmo-msgdb-extra-fields
+ '("newsgroups"
+ "list-id" "x-ml-name" "mailing-list"
+ "x-mail-count" "x-ml-count" "x-sequence"))
;; ML message displays ML name and ML sequence number in subject.
-(setq wl-summary-subject-func 'my-wl-summary-subject-func-ml)
+(setq wl-summary-subject-function 'my-wl-summary-subject-func-ml)
(defun my-wl-summary-subject-func-ml (subject-string)
(let ((folder wl-summary-buffer-folder-name)
(subj subject-string) (sequence) (ml-name) (ml-count))
(and sequence
(cadr (split-string sequence " ")))))
(if (string-match
- "^\\s(\\(.+\\)[ :]\\([0-9]+\\)\\s)[ \t]*"
+ "^\\s(\\(\\S)+\\)[ :]\\([0-9]+\\)\\s)[ \t]*"
subject-string)
(progn
(setq subj (substring subject-string (match-end 0)))
;; Don't forget setting ~/.im/Config (Smtpservers).
;; note that wl-draft-enable-queuing is not valid.)
;(autoload 'wl-draft-send-with-imput-async "im-wl")
-;(setq wl-draft-send-func 'wl-draft-send-with-imput-async)
+;(setq wl-draft-send-function 'wl-draft-send-with-imput-async)
;; non-verbose User-Agent: field
-;(setq wl-generate-mailer-string-func
+;(setq wl-generate-mailer-string-function
; (function
; (lambda ()
-; (wl-generate-user-agent-string-1 nil))))
+; (concat "User-Agent: "
+; (wl-generate-user-agent-string-1 nil)))))
;;; [[ Template ]]
"^To: .*\\(test-notsend-wl@lists.airs.net\\)"
(template . "default")) ;; template
("^To: .*\\(test-notsend-wl@lists.airs.net\\)"
- wl-ml-draft-config-func ;; function
+ wl-ml-draft-config-function ;; function
("From" . wl-from) ;; variable
("Organization" . "~/.wl sample")) ;; string
("^Newsgroups: test.*"
("From" . (("From") ("To" "Cc") ("Newsgroups")))))
-;; X-Face (requires x-face (and x-face-mule))
-(when (and window-system
- (module-installed-p 'x-face))
- (cond (wl-on-xemacs ;; for XEmacs
- (autoload 'x-face-xmas-wl-display-x-face "x-face" nil t)
- (setq wl-highlight-x-face-func
- 'x-face-xmas-wl-display-x-face))
- ;; for Mule (GNU Emacs)
- ((module-installed-p 'x-face-mule)
- ;; x-face-mule 0.20\e$B0J8e\e(B
- (setq wl-highlight-x-face-func
- (function
- (lambda (&rest dummy)
- (x-face-decode-message-header))))
- (require 'x-face-mule)
- )))
+;;; [[ Message Display Settings ]]
-;; rule for auto refile.
-;(setq wl-refile-rule-alist
-; '(
-; ("x-ml-name"
-; ("^Wanderlust" . "+wl")
-; ("^Elisp" . "+elisp"))
-; ("From"
-; ("teranisi@isl.ntt.co.jp" . "+teranisi"))))
+;; Hidden header field in message buffer.
+(setq wl-message-ignored-field-list
+ '(".*Received:" ".*Path:" ".*Id:" "^References:"
+ "^Replied:" "^Errors-To:"
+ "^Lines:" "^Sender:" ".*Host:" "^Xref:"
+ "^Content-Type:" "^Precedence:"
+ "^Status:" "^X-VM-.*:"))
-;; Marks to skip auto-refile (default is "N" "U" "!").
-;; nil means all message is auto-refiled.
-;(setq wl-summary-auto-refile-skip-marks nil)
+;; Displayed header field in message buffer.
+;; This value precedes `wl-message-ignored-field-list'
+(setq wl-message-visible-field-list '("^Message-Id:"))
+
+;; X-Face (requires x-face or bitmap-mule)
+(when window-system
+ (cond ((and (featurep 'xemacs) ; for XEmacs
+ (module-installed-p 'x-face))
+ (autoload 'x-face-xmas-wl-display-x-face "x-face")
+ (setq wl-highlight-x-face-function 'x-face-xmas-wl-display-x-face))
+ ;; for Mule (GNU Emacs)
+ ((module-installed-p 'x-face-mule)
+ ;; for x-face-mule distributed with bitmap-mule 8.0 or later
+ (autoload 'x-face-decode-message-header "x-face-mule")
+ (setq wl-highlight-x-face-function 'x-face-decode-message-header))
+ ))
;; Scoring.
;; "all.SCORE" file is used regardless of wl-score-folder-alist.
; ("^-"
; "news.SCORE")))
-;; directory for storing score files.
-; (setq wl-score-files-directory "~/.elmo/")
+;; rule for auto refile.
+;(setq wl-refile-rule-alist
+; '(
+; ("x-ml-name"
+; ("^Wanderlust" . "+wl")
+; ("^Elisp" . "+elisp"))
+; ("From"
+; ("teranisi@isl.ntt.co.jp" . "+teranisi"))))
+
+;; Marks to skip auto-refile (default is "N" "U" "!").
+;; nil means all message is auto-refiled.
+;(setq wl-summary-auto-refile-skip-marks nil)
;;; dot.wl ends here