1 ;;; wl-vars.el --- Variable definitions for Wanderlust.
3 ;; Copyright (C) 1998,1999,2000,2001 Yuuichi Teranishi <teranisi@gohome.org>
4 ;; Copyright (C) 1998,1999,2000,2001 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6 ;; Author: Yuuichi Teranishi <teranisi@gohome.org>
7 ;; Masahiro MURATA <muse@ba2.so-net.ne.jp>
8 ;; Keywords: mail, net news
10 ;; This file is part of Wanderlust (Yet Another Message Interface on Emacsen).
12 ;; This program is free software; you can redistribute it and/or modify
13 ;; it under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation; either version 2, or (at your option)
17 ;; This program is distributed in the hope that it will be useful,
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ;; GNU General Public License for more details.
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with GNU Emacs; see the file COPYING. If not, write to the
24 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
25 ;; Boston, MA 02111-1307, USA.
39 ;;; Customizable Variables
42 "Wanderlust, a news and mail reading software."
44 :link (` (custom-manual
45 (, (if (and (boundp 'current-language-environment)
46 (string-equal "Japanese"
47 (symbol-value 'current-language-environment)))
54 "Wanderlust, Preferences."
58 (defgroup wl-folder nil
59 "Wanderlust, folder buffer."
63 (defgroup wl-summary nil
64 "Wanderlust, summary buffer."
68 (defgroup wl-summary-marks nil
69 "Wanderlust, marks used in summary buffers."
73 (defgroup wl-expire nil
74 "Wanderlust, Expiring and archiving."
78 (defgroup wl-score nil
79 "Wanderlust, Score file handling."
83 (defgroup wl-highlight nil
84 "Wanderlust, Highlights."
88 (defgroup wl-draft nil
89 "Wanderlust, draft mode."
93 (defgroup wl-setting nil
94 "Wanderlust common settings."
99 (defconst wl-on-xemacs (featurep 'xemacs))
101 (defconst wl-on-emacs21 (and (not wl-on-xemacs)
102 (>= emacs-major-version 21)))
104 (defconst wl-on-mule (featurep 'mule))
106 (defconst wl-on-mule3
107 (and wl-on-mule (or wl-on-xemacs
108 (> emacs-major-version 19))))
110 (defconst wl-on-nemacs nil) ; backward compatibility.
113 (defun-maybe locate-data-directory (a)))
116 (cond (wl-on-mule3 'binary)
117 (wl-on-mule '*noconv*)
120 (defvar wl-cs-autoconv
121 (cond (wl-on-mule3 'undecided)
122 (wl-on-mule '*autoconv*)
126 (cond (wl-on-mule3 'junet)
127 (wl-on-mule '*junet*)
130 (defvar wl-cs-cache wl-cs-local)
132 (defcustom wl-from (and user-mail-address
133 (concat (and (user-full-name)
134 (concat (elmo-address-quote-specials
137 "<" user-mail-address ">"))
138 "*From string used in draft."
143 (defcustom wl-user-mail-address-list nil
144 "*A list of user's mail addresses.
145 This list is used to judge whether an address is user's or not.
146 You should set this variable if you use multiple e-mail addresses.
147 If you don't have multiple e-mail addresses, you don't have to set this.
148 NOTE: Non-nil value of `wl-user-mail-address-regexp' supersede this."
149 :type '(repeat string)
153 (defcustom wl-user-mail-address-regexp nil
154 "*A regexp for user's mail addresses.
155 Supersede `wl-user-mail-address-list'."
156 :type '(choice (const :tag "Use wl-user-mail-address-list" nil)
161 (defcustom wl-organization (getenv "ORGANIZATION")
163 :type '(choice (const :tag "none" nil)
168 (defcustom wl-temporary-file-directory "~/tmp/"
169 "*Default temporary directory to save message, part."
173 (defcustom wl-icon-directory (if (fboundp 'locate-data-directory)
174 (locate-data-directory "wl")
175 (let ((icons (expand-file-name "wl/icons/"
177 (if (file-directory-p icons)
179 "*Directory to load the icon files from, or nil if none."
180 :type '(choice (const :tag "none" nil)
184 (defcustom wl-summary-default-view 'thread
185 "Default status of summary view, thread or sequential view."
186 :type '(choice (const :tag "Thread" thread)
187 (const :tag "Sequential" sequence))
190 (defcustom wl-summary-default-view-alist nil
191 "An alist of regexp for folder name and summary default view.
192 If no match, `wl-summary-default-view' is used."
193 :type '(repeat (cons (regexp :tag "Folder Regexp")
194 (choice (const :tag "Thread" thread)
195 (const :tag "Sequential" sequence))))
198 (defvar wl-summary-mode-line-format-spec-alist
199 '((?f (if (memq 'modeline wl-use-folder-petname)
200 (wl-folder-get-petname (elmo-folder-name-internal
201 wl-summary-buffer-elmo-folder))
202 (elmo-folder-name-internal wl-summary-buffer-elmo-folder)))
203 (?t (if (eq wl-summary-buffer-view 'thread) "T" "S"))
204 (?m (upcase (symbol-name wl-summary-buffer-display-mime-mode)))
205 (?n wl-summary-buffer-new-count)
206 (?u wl-summary-buffer-unread-count)
207 (?a (length wl-summary-buffer-number-list)))
208 "An alist of format specifications that can appear in summary mode-lines.
209 Each element is a list of following:
211 SPEC is a character for format specification.
212 STRING-EXP is an expression to get string to insert.")
214 (defcustom wl-summary-mode-line-format "Wanderlust: %f {%t}(%n/%u/%a)"
215 "*A format string for summary mode-line of Wanderlust.
216 It may include any of the following format specifications
217 which are replaced by the given information:
220 %t The thread status of the summary ('T' for thread, 'S' for sequential).
221 %m The mime analysis status of the summary ('MIME' for MIME ON)
222 %n The number of new messages.
223 %u The number of unread messages (includes new messages).
224 %a The number of all messages."
228 (defvar wl-summary-line-format-spec-alist
229 '((?Y (wl-summary-line-year))
230 (?M (wl-summary-line-month))
231 (?D (wl-summary-line-day))
232 (?W (wl-summary-line-day-of-week))
233 (?h (wl-summary-line-hour))
234 (?m (wl-summary-line-minute))
235 (?\[ (if wl-thr-linked "<" "["))
236 (?\] (if wl-thr-linked ">" "]"))
237 (?t (or wl-thr-indent-string ""))
238 (?s (wl-summary-line-subject))
239 (?S (wl-summary-line-size))
240 (?C (if wl-thr-children-number
241 (concat "[+" (number-to-string wl-thr-children-number) "] ")
242 (if wl-parent-message-entity
243 (if wl-thr-linked ">>" ">")
245 (?~ (if (zerop (length wl-line-string)) "" " "))
246 (?c (if wl-thr-children-number
247 (concat "+" (number-to-string wl-thr-children-number) ":")
249 (?f (wl-summary-line-from))
250 (?# (wl-summary-line-list-info))
251 (?l (wl-summary-line-list-count))
252 (?T (or wl-temp-mark " "))
253 (?P (or wl-persistent-mark " "))
254 (?n (wl-summary-line-number))
255 (?@ (wl-summary-line-attached)))
256 "An alist of format specifications that can appear in summary lines.
257 Each element is a list of following:
259 SPEC is a character for format specification.
260 STRING-EXP is an expression to get string to insert.")
262 (defcustom wl-summary-line-format "%n%T%P%M/%D(%W)%h:%m %t%[%17(%c %f%) %] %s"
263 "*A default format string for summary line of Wanderlust.
264 It may include any of the following format specifications
265 which are replaced by the given information:
267 %n The number of the message.
268 The width is decided using `wl-summary-default-number-column' and
269 `wl-summary-number-column-alist'.
270 %T The temporal mark (*, D, o, O).
271 %P The persistent mark (status of the message).
272 %Y The year of the date field of the message (zero padded).
273 %M The month of the date field of the message (zero padded).
274 %D The day of the date field of the message (zero padded).
275 %W The weekday name of the date field of the message (zero padded).
276 %h The hour of the date field of the message (zero padded).
277 %m The minute of the date field of the message (zero padded).
278 %[ An open bracket. If the message thread is linked,
279 it is replaced with '<'.
280 %] A close bracket. If the message thread is linked,
281 it is replaced with '>'.
282 %c The children number of the closed message thread.
283 Children number is printed like '+??:'.
284 %C The children number of the closed message thread.
285 Children number is printed like '[+??] '.
286 If the message is opened, '>' or '>>' (linked) is displayed.
287 %f The from: field string of the message.
288 %s The subject: field string of the message.
289 %S The size of the message (if available).
290 %~ If the previous spec is not zero-length, replaced with ' '.
292 If the format string contains the specifiers %( and %), the text between
293 them will have the specified number of columns.
295 See also variable `wl-summary-width'."
299 (defcustom wl-folder-summary-line-format-alist nil
300 "An alist of folder name and a summary line format.
301 If no match, `wl-summary-line-format' is used.
303 '((\"^%\" . \"%n%T%P%M/%D(%W)%h:%m %t%[%14(%c %f%) %](%S) %s\")
304 (\"^@2ch\" . \"%n%T%P%M%/%D/%h:%m %t[%9(%c %f%) ]%s\")))"
305 :type '(repeat (cons (regexp :tag "Folder Regexp")
306 (string :tag "line format")))
309 (defcustom wl-summary-check-line-format t
310 "*Check summary line format change if non-nil.
311 When summary line format is changed, current summary cache is discarded.
312 It is highly recommended to set this value to t."
316 (defcustom wl-summary-line-format-file ".wl-summary-line-format"
317 "*Cache file for summary line format."
321 (defcustom wl-summary-from-function 'wl-summary-default-from
322 "*A function for displaying sender (From: field) information."
326 (defcustom wl-summary-subject-function 'wl-summary-default-subject
327 "*A function for displaying subject."
331 (defcustom wl-summary-subject-filter-function 'wl-summary-default-subject-filter
332 "*A filter function for comparing subjects."
336 (defcustom wl-summary-search-parent-by-subject-regexp "^[ \t]*\\(\\[[^:]+[,: ][0-9]+\\]\\)?[ \t]*re[\\^[:> ]"
337 "*If message does not have in-reply-to field nor references field and
338 subject matches this regexp, search parent message by subject matching.
339 If nil, never search search parent by subject."
340 :type '(choice string
341 (const :tag "Don't search parent" nil))
345 (defcustom wl-summary-mark-action-list
349 wl-summary-register-target-mark
351 wl-highlight-summary-temp-face
356 wl-summary-register-temp-mark
357 wl-summary-exec-action-dispose
358 wl-highlight-summary-disposed-face
359 "Dispose messages according to `wl-dispose-folder-alist'.")
363 wl-summary-register-temp-mark
364 wl-summary-exec-action-delete
365 wl-highlight-summary-deleted-face
366 "Delete messages immediately.")
369 wl-summary-get-refile-destination
370 wl-summary-set-action-refile
371 wl-summary-exec-action-refile
372 wl-highlight-summary-refiled-face
373 "Refile messages to the other folder.")
376 wl-summary-get-copy-destination
377 wl-summary-register-temp-mark
378 wl-summary-exec-action-copy
379 wl-highlight-summary-copied-face
380 "Copy messages to the other folder.")
384 wl-summary-register-temp-mark
385 wl-summary-exec-action-prefetch
386 wl-highlight-summary-prefetch-face
387 "Prefetch messages.")
390 wl-summary-get-resend-address
391 wl-summary-register-temp-mark
392 wl-summary-exec-action-resend
393 wl-highlight-summary-resend-face
395 "A variable to define Mark & Action.
396 Each element of the list should be a list of
405 MARK is a temporal mark string to define.
406 SYMBOL is an action name to define.
407 ARGUMENT-FUNCTION is a function called to set the argument data for
409 Its argument is (ACTION NUMBER).
410 ACTION is same as the SYMBOL.
411 NUMBER is the message number to determine the argument data.
412 SET-MARK-FUNCTION is a function called to set the mark.
413 Its argument is (NUMBER MARK DATA).
414 NUMBER is the target message number.
415 MARK is the temporary mark string.
416 DATA is given by ARGUMENT-FUNCTION.
417 EXEC-FUNCTION is a function called to execute the action.
418 Its argument is a list of MARK-INFO.
419 MARK-INFO is a list of (NUMBER MARK DATA).
420 FACE is a face for highlighting."
422 (string :tag "Temporary mark")
423 (symbol :tag "Action name")
424 (symbol :tag "Argument function")
425 (symbol :tag "Set mark function")
426 (symbol :tag "Exec function")
427 (symbol :tag "Face symbol")
428 (string :tag "Document string")))
432 (defcustom wl-default-folder "%inbox"
433 "*Default folder used in `wl-summary-goto-folder'."
436 (defcustom wl-draft-folder "+draft"
440 (defcustom wl-trash-folder "+trash"
445 (defcustom wl-queue-folder "+queue"
450 (defcustom wl-default-spec "%"
451 "*Default prefix for folder name initially added in minibuffer"
455 (defcustom wl-insert-mail-followup-to nil
456 "*Insert Mail-Followup-To: field if non-nil."
460 (defcustom wl-insert-mail-reply-to nil
461 "*Insert Mail-Reply-To: field if non-nil."
465 (defcustom wl-insert-message-id t
466 "*Insert Message-ID: field if non-nil."
470 (defcustom wl-auto-insert-x-face t
471 "*Insert X-Face: field automatically."
475 (defcustom wl-x-face-file "~/.xface"
476 "*X-Face field is inserted using its contents.
477 If file exists and `wl-auto-insert-x-face' is non-nil."
481 (defcustom wl-draft-write-file-function 'wl-draft-save
482 "Save function for draft message."
486 (defcustom wl-subscribed-mailing-list nil
487 "*Subscribed mailing list.
488 You had better set this variable if you set 'wl-insert-mail-followup-to' as t."
489 :type '(repeat string)
494 "*Display demo at start time."
498 (defcustom wl-demo-icon-name-alist
499 '(((string-match "^... Dec \\([ 01][0-9]\\|2[0-5]\\)" (current-time-string))
501 (concat "wl-" (wl-version-status) "-xmas-logo"))
504 (concat "wl-" (wl-version-status) "-logo")))
505 "An alist to determine the basename of the logo file."
506 :type '(repeat (cons (symbol :tag "condition")
507 (symbol :tag "file name")))
510 (defcustom wl-demo-image-filter-alist nil
511 "An alist of image type and filter function."
512 :type '(repeat (cons symbol function))
515 (defcustom wl-envelope-from nil
516 "*Envelope From used in SMTP.
517 If nil, `wl-from' is used."
518 :type '(choice (const :tag "Same as 'From' field." nil)
523 (defcustom wl-draft-additional-header-alist nil
524 "*Additional headers in the draft."
525 :type '(repeat (cons (symbol :tag "Field Name")
526 (choice (string :tag "String")
527 (function :tag "Function"))))
530 (defcustom wl-draft-add-in-reply-to t
531 "*If non-nil, message-id of the cited message is inserted to the
532 in-reply-to field of the current draft.
533 Note: default value follows RFC2822."
537 (defcustom wl-draft-add-references nil
538 "*If non-nil, message-id of the cited message is inserted to the
539 references field of the current draft.
540 Note: default value follows RFC2822."
544 (defcustom wl-draft-cite-function 'wl-default-draft-cite
545 "*A function for citation."
549 (defcustom wl-default-draft-cite-decorate-author t
550 "*If non-nil, the author of cited message is arranged by
551 `wl-summary-from-func-internal' in `wl-default-draft-cite'."
555 (defcustom wl-smtp-connection-type nil
556 "*SMTP connection type.
557 If nil, default smtp connection type is used."
558 :type '(choice (const :tag "default" nil)
559 (const :tag "Use STARTTLS" starttls)
560 (const :tag "SMTP over SSL" ssl)
564 (defcustom wl-smtp-posting-user nil
565 "*SMTP authentication user."
566 :type '(choice (const :tag "none" nil)
571 (defcustom wl-smtp-posting-server nil
572 "*SMTP server name to send mail (wl-draft-send-mail-with-smtp)."
573 :type '(choice (const :tag "none" nil)
578 (defcustom wl-smtp-posting-port nil
579 "*SMTP port number in `wl-smtp-posting-server'.
580 If nil, default SMTP port number(25) is used."
581 :type '(choice (const :tag "Default (25)" nil)
586 (defcustom wl-smtp-authenticate-type nil
587 "*SMTP Authentication type.
588 If nil, don't authenticate."
589 :type '(choice (const :tag "none" nil)
590 (const :tag "PLAIN" "plain")
591 (const :tag "CRAM-MD5" "cram-md5")
592 (const :tag "DIGEST-MD5" "digest-md5")
593 (const :tag "LOGIN" "login")
594 (string :tag "Other"))
598 (defcustom wl-smtp-authenticate-realm nil
599 "*SMTP Authentication realm.
600 If you don't need to specify realm, set as nil."
601 :type '(choice (const :tag "none" nil)
606 (defcustom wl-pop-before-smtp-user nil
607 "*POP3 user name to send mail using POP-before-SMTP.
608 If nil, `elmo-pop3-default-user' is used.
609 To use POP-before-SMTP,
610 \(setq wl-draft-send-mail-function 'wl-draft-send-mail-with-pop-before-smtp)"
611 :type '(choice (const :tag "none" nil)
616 (defcustom wl-pop-before-smtp-server nil
617 "*POP3 server for POP-before-SMTP.
618 If nil, `elmo-pop3-default-server' is used."
619 :type '(choice (const :tag "none" nil)
624 (defcustom wl-pop-before-smtp-port nil
625 "*POP3 port for POP-before-SMTP.
626 If nil, `elmo-pop3-default-port' is used."
627 :type '(choice (const :tag "none" nil)
632 (defcustom wl-pop-before-smtp-stream-type nil
633 "*Stream type for POP-before-SMTP.
634 If nil, `elmo-pop3-default-stream-type' is used."
635 :type '(choice (const :tag "Use `elmo-pop3-default-stream-type'" nil)
639 (defcustom wl-pop-before-smtp-authenticate-type nil
640 "*Default Authentication type for POP-before-SMTP.
641 If nil, `elmo-pop3-default-authenticate-type' is used."
642 :type '(choice (const :tag "none" nil)
643 (const :tag "APOP" 'apop)
644 (const :tag "POP3" 'user))
648 (defcustom wl-nntp-posting-server nil
649 "*NNTP server name to post news.
650 If nil, `elmo-nntp-default-server' is used."
651 :type '(choice (const :tag "none" nil)
655 (defcustom wl-nntp-posting-user nil
656 "*NNTP user name to post news for authinfo.
657 If nil, `elmo-nntp-default-user' is used.
658 If nil, don't authenticate."
659 :type '(choice (const :tag "none" nil)
663 (defcustom wl-nntp-posting-port nil
664 "*NNTP port to post news.
665 If nil, `elmo-nntp-default-port' is used."
666 :type '(choice (const :tag "none" nil)
670 (defcustom wl-nntp-posting-stream-type nil
671 "*Stream type for posting Netnews.
672 If nil, `elmo-nntp-default-stream-type' is used."
673 :type '(choice (const :tag "Use `elmo-nntp-default-stream-type'" nil)
676 (defcustom wl-nntp-posting-function 'elmo-nntp-post
677 "A function to post news.
678 Prepared candidate is 'elmo-nntp-post."
679 :type '(radio (function-item elmo-nntp-post)
680 (function :tag "Other"))
682 (defcustom wl-nntp-posting-config-alist nil
683 "*Alist of configuration on nntp posting.
685 '((\",?local.test\" . \"news.media.kyoto-u.ac.jp\")
687 ((server . \"news.media.kyoto-u.ac.jp\")
688 (user . \"newsmaster\")
690 (function . elmo-nntp-post))
691 (\".*\" . \"newsfeed.kuee.kyoto-u.ac.jp\")))"
692 :type '(repeat (cons (sexp :tag "Match")
693 (choice (string :tag "Server")
695 (cons (choice (const server)
700 (sexp :tag "Value"))))))
704 (defcustom wl-prefetch-confirm t
705 "*Confirm prefetching if message size is larger than `wl-prefetch-threshold'."
709 (defcustom wl-prefetch-threshold 30000
710 "*Maximum size of message prefetched without confirmation.
711 If nil, all messages prefetched regardless of its size.
712 If message size is larger than this value, confirm prefetching
713 when `wl-prefetch-confirm' is non-nil."
714 :type '(choice (integer :tag "Threshold (bytes)")
715 (const :tag "No limitation" nil))
719 (defcustom wl-thread-insert-opened nil
720 "*Non-nil forces to insert thread as opened in updating."
725 (defcustom wl-thread-open-reading-thread t
726 "*Non-nil forces to open reading thread."
731 (defvar wl-folder-mode-hook nil
732 "A hook called when wanderlust folder mode is started.
733 This hook may contain the functions `wl-folder-init-icons' and
734 `wl-setup-folder' for reasons of system internal to accord facilities
735 for the Emacs variants.")
736 (defvar wl-summary-toggle-disp-on-hook nil
737 "A hook called when message is toggled.")
738 (defvar wl-summary-toggle-disp-off-hook nil
739 "A hook called when message is disappeared.")
740 (defvar wl-summary-toggle-disp-folder-on-hook nil
741 "A hook called when folder is toggled.")
742 (defvar wl-summary-toggle-disp-folder-off-hook nil
743 "A hook called when folder is disappeared.")
744 (defvar wl-summary-toggle-disp-folder-message-resumed-hook nil
745 "A hook called when message window is resumed when folder is toggled.")
746 (defvar wl-summary-mode-hook nil
747 "A hook called when summary mode is started.
748 This hook may contain the function `wl-setup-summary' for reasons of
749 system internal to accord facilities for the Emacs variants.")
751 (defvar wl-summary-prepared-pre-hook nil
752 "A hook called before the summary buffer has been generated.")
753 (defvar wl-summary-prepared-hook nil
754 "A hook called after the summary buffer has been generated.")
755 (defvar wl-summary-sync-updated-hook nil
756 "A hook called when update summary buffer.")
757 (defvar wl-summary-unread-message-hook nil
758 "A hook called when unread message is displayed.")
759 (defvar wl-summary-edit-addresses-hook nil
760 "A hook called when address book is edited.")
761 (defvar wl-summary-buffer-message-saved-hook nil
762 "A hook called when msgdb is saved.")
763 (defvar wl-summary-buffer-mark-saved-hook nil
764 "A hook called when mark is saved.")
765 (defvar wl-summary-divide-thread-when-subject-changed nil
766 "Divide thread when subject is changed.")
767 (defvar wl-init-hook nil
768 "A hook called when initialization is finished. This hook may contain
769 the functions `wl-plugged-init-icons' and `wl-biff-init-icons' for
770 reasons of system internal to accord facilities for the Emacs variants.")
772 "A hook called when Wanderlust is invoked.")
774 (defvar wl-draft-reply-hook
775 '((lambda () (wl-draft-setup-parent-flag 'answered)))
776 "A hook called when replied.
777 This hook runs on the draft buffer.")
779 (defvar wl-draft-forward-hook
780 '((lambda () (wl-draft-setup-parent-flag 'forwarded)))
781 "A hook called when forwarded.
782 This hook runs on the draft buffer.")
784 (defvar wl-draft-kill-pre-hook nil
785 "A hook called just before the draft buffer is killed.")
787 (defvar wl-summary-reply-hook nil
788 "A hook called when `wl-summary-reply' is called.
789 This hook runs on the summary buffer.")
791 (defvar wl-summary-forward-hook nil
792 "A hook called when `wl-summary-forward' is called.
793 This hook runs on the summary buffer.")
795 (defvar wl-summary-resend-hook nil
796 "A hook runs on the resent message buffer before sending process starts.")
798 (defvar wl-mail-setup-hook nil
799 "A hook called when Draft is prepared.")
800 (defvar wl-draft-reedit-hook '(wl-draft-remove-text-plain-tag)
801 "A hook called when Draft is re-edited.
802 The cursor point is located at top of the body.")
803 (defvar wl-draft-send-hook '(wl-draft-config-exec)
804 "A hook called on the draft editing buffer before sending process starts.")
805 (defvar wl-mail-send-pre-hook nil
806 "A hook called just before the mail sending process starts.")
807 (defvar wl-news-send-pre-hook nil
808 "A hook called just before the news sending process starts.")
809 (defvar wl-message-buffer-created-hook nil
810 "A hook called when Message buffer is prepared.")
811 (defvar wl-message-redisplay-hook nil
812 "A hook called when Message is displayed.")
813 (defvar wl-message-exit-hook nil
814 "A hook called when quit message.")
815 (defvar wl-summary-exit-pre-hook nil
816 "A hook called before exit summary mode.")
817 (defvar wl-summary-exit-hook nil
818 "A hook called when exit summary mode.")
819 (defvar wl-highlight-headers-hook nil
820 "A hook called when header is highlighted.")
821 (defvar wl-highlight-message-hook nil
822 "A hook called when message is highlighted.")
823 (defvar wl-save-hook nil
824 "A hook called when save summary and folder status.")
825 (defvar wl-exit-hook nil
826 "A hook called when exit wanderlust.")
827 (defvar wl-folder-suspend-hook nil
828 "A hook called when suspend wanderlust.")
829 (defvar wl-biff-notify-hook '(ding)
830 "A hook called when a biff-notification is invoked.")
831 (defvar wl-biff-unnotify-hook nil
832 "A hook called when a biff-notification is removed.")
833 (defvar wl-auto-check-folder-pre-hook nil
834 "A hook called before auto check folders.")
835 (defvar wl-auto-check-folder-hook nil
836 "A hook called when auto check folders.")
837 (defvar wl-folder-check-entity-pre-hook nil
838 "A hook called before check entity.")
839 (defvar wl-folder-check-entity-hook nil
840 "A hook called when check entity.")
841 (defvar wl-draft-config-exec-hook nil
842 "A hook called when execute header-config on draft.")
843 (defvar wl-summary-expire-pre-hook nil
844 "A hook called before expire.")
845 (defvar wl-summary-expire-hook nil
846 "A hook called when expired.")
847 (defvar wl-summary-archive-pre-hook nil
848 "A hook called before archive.")
849 (defvar wl-summary-archive-hook nil
850 "A hook called when archived.")
851 (defvar wl-summary-line-inserted-hook nil
852 "A hook called when summary line is inserted.")
853 (defvar wl-summary-insert-headers-hook nil
854 "A hook called when insert header for search header.")
855 (defvar wl-message-display-internal-hook nil
856 "A hook called when message buffer is created and message is displayed.
857 This hook may contain the functions `wl-setup-message' for
858 reasons of system internal to accord facilities for the Emacs variants.")
859 (defvar wl-thread-update-children-number-hook nil
860 "A hook called when children number is updated.")
861 (defvar wl-folder-update-access-group-hook nil
862 "A hook called when update access group folder.")
863 (defvar wl-draft-cited-hook nil
864 "A hook called after a message is cited.")
865 (defvar wl-draft-insert-x-face-field-hook nil
866 "A hook called after a x-face field is inserted.")
867 (defvar wl-template-mode-hook nil
868 "A hook called when template mode is started.")
869 (defvar wl-score-mode-hook nil
870 "A hook called when score mode is started.")
871 (defvar wl-make-plugged-hook nil
872 "A hook called when make plugged alist.")
874 (defvar wl-plugged-exit-hook nil
875 "A hook called when exit plugged mode.")
877 ;;;; functions for draft
878 (defcustom wl-draft-send-function 'wl-draft-normal-send-func
879 "A function to send message."
883 (defcustom wl-draft-send-news-function 'wl-draft-elmo-nntp-send
884 "A function to send news."
888 (defcustom wl-draft-send-mail-function 'wl-draft-send-mail-with-smtp
889 "A function to send mail.
890 Prepared candidates are 'wl-draft-send-mail-with-smtp,
891 'wl-draft-send-mail-with-qmail and 'wl-draft-send-mail-with-pop-before-smtp."
892 :type '(radio (function-item wl-draft-send-mail-with-smtp)
893 (function-item wl-draft-send-mail-with-qmail)
894 (function-item wl-draft-send-mail-with-pop-before-smtp)
895 (function :tag "Other"))
898 (defcustom wl-draft-send-confirm-type 'y-or-n-p
899 "*Confirmation type or function to use when send a message."
901 (const :tag "y or n with scroll (j/k)" scroll-by-j/k)
902 (const :tag "y or n with scroll (SPC/BS)" scroll-by-SPC/BS)
903 (function-item y-or-n-p)
904 (function-item yes-or-no-p)
905 (function :tag "Other function"))
908 (defcustom wl-draft-reply-with-argument-list
909 '(("From" . (("Reply-To" "Mail-Reply-To" "From")
910 ("Mail-Followup-To" "To" "Cc")
911 ("Followup-To" "Newsgroups"))))
912 "Alist of cons cell of
913 \('condition' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
914 'condition' is a header name string (non-nil if the header exists in original
915 message), a function (evaluated in original message buffer) or a list of those
916 \(means 'AND' condition).
917 'fields for ***' is a list of strings.
918 If car of each cons cell returns non-nil value,
919 cdr of each cons cell is used for preparing headers of draft message.
920 Default is for 'reply-to-all'."
921 :type '(repeat (cons (choice (string :tag "Field Name")
922 (symbol :tag "Function")
923 (const :tag "Replying to self" wl-draft-self-reply-p)
925 (choice (string :tag "Field Name")
926 (symbol :tag "Function")
927 (const :tag "Replying to self" wl-draft-self-reply-p))))
928 (list (repeat :tag "Fields For To" string)
929 (repeat :tag "Fields For Cc" string)
930 (repeat :tag "Fields For Newsgroups" string))))
933 (defcustom wl-draft-reply-without-argument-list
934 '(("Followup-To" . (("Mail-Followup-To" "Mail-Reply-To" "Reply-To") nil ("Followup-To")))
935 ("Mail-Followup-To" . (("Mail-Followup-To") nil nil))
936 ("Newsgroups" . (("Mail-Reply-To" "Reply-To" "To") ("Cc") ("Newsgroups")))
937 ("Mail-Reply-To" . (("Mail-Reply-To" "Reply-To") ("To" "Cc") nil))
938 ("Reply-To" . (("Reply-To") ("To" "Cc") nil))
939 (wl-draft-self-reply-p . (("To") ("Cc") nil))
940 ("From" . (("From") ("To" "Cc") nil)))
941 "Alist of cons cell of
942 \('condition' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
943 'condition' is a header name string (non-nil if the header exists in original
944 message), a function (evaluated in original message buffer) or a list of those
945 \(means 'AND' condition).
946 'fields for ***' is a list of strings.
947 If car of each cons cell returns non-nil value,
948 cdr of each cons cell is used for preparing headers of draft message."
949 :type '(repeat (cons (choice (string :tag "Field Name")
950 (symbol :tag "Function")
951 (const :tag "Replying to self" wl-draft-self-reply-p)
953 (choice (string :tag "Field Name")
954 (symbol :tag "Function")
955 (const :tag "Replying to self" wl-draft-self-reply-p))))
956 (list (repeat :tag "Fields For To" string)
957 (repeat :tag "Fields For Cc" string)
958 (repeat :tag "Fields For Newsgroups" string))))
961 (defcustom wl-draft-always-delete-myself nil
962 "*Always delete myself from recipient if non-nil."
966 (defcustom wl-draft-delete-myself-from-bcc-fcc nil
967 "*Do not insert bcc or fcc if To and Cc fields is a member of
968 `wl-subscribed-mailing-list'"
972 (defcustom wl-draft-resume-folder-window t
973 "*Resume folder window in `wl-draft-hide'."
977 (defcustom wl-draft-use-frame nil
978 "*Raise new frame when composing draft."
982 (defcustom wl-draft-qmail-send-plugged nil
983 "*Send mail when plugged is on, in the `wl-draft-send-mail-with-qmail'."
987 (defcustom wl-draft-remove-group-list-contents t
988 "*If non-nil, remove group list contents in `wl-draft-send-mail-with-smtp'."
993 (defcustom wl-init-file "~/.wl"
994 "*User customization setting file."
998 (defcustom wl-folders-file "~/.folders"
1003 (defcustom wl-address-file "~/.addresses"
1008 (defcustom wl-alias-file "~/.im/Aliases"
1009 "*Alias file for completion."
1013 (defcustom wl-ldap-server nil
1015 :type '(choice (const :tag "Default server(localhost)" nil)
1016 (string :tag "Server"))
1020 (defcustom wl-ldap-port nil
1022 :type '(choice (const :tag "Default port" nil)
1027 (defcustom wl-ldap-base nil
1029 :type '(choice (const :tag "Default base" nil)
1030 (string :tag "Base"))
1034 (defcustom wl-use-ldap nil
1035 "*If non-nil, use LDAP for address completion."
1040 (defcustom wl-use-acap nil
1041 "*If non-nil, use ACAP for configuration."
1045 (defcustom wl-folder-info-save t
1046 "If non-nil, save elmo-folder-info-alist."
1050 (defcustom wl-summary-persistent-mark-priority-list '(killed
1056 "List of preserved flag symbols to define the priority to map \
1057 to the persistent mark.
1058 Special symbol `flag' means the user defined flag."
1059 :type '(repeat (symbol :tag "preserved flag"))
1062 (defcustom wl-summary-flag-alist
1063 '((important "orange"))
1064 "An alist to define the global flags for the summary mode.
1065 Each element is a form like:
1066 \(SYMBOL-OF-FLAG COLOR [MARK]\)
1068 \((important \"orange\"\)
1069 \(todo \"red\" \"T\"\)
1070 \(business \"green\" \"B\"\)
1071 \(private \"blue\"\)\)"
1072 :type '(repeat (list (symbol :tag "flag")
1073 (string :tag "color")
1074 (choice (string :tag "mark")
1075 (const :tag "Default mark" nil))))
1078 (defcustom wl-summary-killed-mark "X"
1079 "Mark for killed message."
1080 :type '(string :tag "Mark")
1081 :group 'wl-summary-marks)
1083 (defcustom wl-summary-uncached-mark "!"
1084 "Mark for uncached message with no flag."
1085 :type '(string :tag "Mark")
1086 :group 'wl-summary-marks)
1088 (defcustom wl-summary-new-uncached-mark "N"
1089 "Mark for new and uncached message."
1090 :type '(string :tag "Mark")
1091 :group 'wl-summary-marks)
1093 (defcustom wl-summary-new-cached-mark "n"
1094 "Mark for new but already cached message."
1095 :type '(string :tag "Mark")
1096 :group 'wl-summary-marks)
1098 (defcustom wl-summary-unread-uncached-mark "U"
1099 "Mark for unread and uncached message."
1100 :type '(string :tag "Mark")
1101 :group 'wl-summary-marks)
1103 (defcustom wl-summary-unread-cached-mark "u"
1104 "Mark for unread but already cached message."
1105 :type '(string :tag "Mark")
1106 :group 'wl-summary-marks)
1108 (defcustom wl-summary-answered-cached-mark "a"
1109 "Mark for answered and cached message."
1110 :type '(string :tag "Mark")
1111 :group 'wl-summary-marks)
1113 (defcustom wl-summary-answered-uncached-mark "A"
1114 "Mark for answered but uncached message."
1115 :type '(string :tag "Mark")
1116 :group 'wl-summary-marks)
1118 (defcustom wl-summary-flag-mark "$"
1119 "Mark for the messages which have tags."
1120 :type '(string :tag "Mark")
1121 :group 'wl-summary-marks)
1123 (defcustom wl-summary-score-over-mark "+"
1124 "Score mark used for messages with high scores."
1125 :type '(string :tag "Mark")
1126 :group 'wl-summary-marks)
1128 (defcustom wl-summary-score-below-mark "-"
1129 "Score mark used for messages with low scores."
1130 :type '(string :tag "Mark")
1131 :group 'wl-summary-marks)
1133 (defcustom wl-summary-no-mime-folder-list nil
1134 "*All folders that match this list don't analyze mime."
1135 :type '(repeat string)
1138 (defcustom wl-summary-display-mime-mode-list '(mime as-is)
1139 "*Display mime mode list toggled by `wl-summary-toggle-mime'.
1140 Candidates are following:
1141 `mime' ... header and body are decoded
1142 `header-only' ... only header is decoded
1143 `as-is' ... header and body are not decoded"
1144 :type '(repeat (choice (const :tag "MIME" mime)
1145 (const :tag "HEADER-ONLY" header-only)
1146 (const :tag "AS-IS" as-is)))
1149 (defcustom wl-summary-fix-timezone nil
1150 "*Time zone of the date string in summary mode.
1151 If nil, it is adjust to the default time zone information
1152 \(system's default time zone or environment variable TZ)."
1153 :type '(choice (const :tag "Default time zone" nil)
1157 (defcustom wl-summary-message-ring-max 16
1158 "*Maximum size of message ring on summary buffer.
1159 Start discarding off end if gets this big."
1163 (defcustom wl-summary-default-score 0
1164 "*Default message score level.
1165 All scores generated by the score files will be added to this score.
1166 If this variable is nil, scoring will be disabled."
1167 :type '(choice (const :tag "disable" nil)
1171 (defcustom wl-summary-important-above nil
1172 "*Mark all messages with a score above this variable as important.
1173 This variable is local to the summary buffers."
1174 :type '(choice (const :tag "off" nil)
1178 (defcustom wl-summary-target-above nil
1179 "*Mark all messages with a score above this variable as target.
1180 This variable is local to the summary buffers."
1181 :type '(choice (const :tag "off" nil)
1185 (defcustom wl-summary-mark-below 0
1186 "*Mark all messages with a score below this variable as read.
1187 This variable is local to each summary buffer and usually set by the
1192 (defcustom wl-summary-expunge-below nil
1193 "All messages that have a score less than this variable will be expunged.
1194 This variable is local to the summary buffers."
1195 :type '(choice (const :tag "off" nil)
1199 (defcustom wl-summary-score-marks
1200 (list wl-summary-new-uncached-mark wl-summary-new-cached-mark)
1201 "Persistent marks to scoring."
1202 :type '(repeat (string :tag "Mark"))
1205 (defcustom wl-use-scoring t
1206 "*If non-nil, enable scoring."
1210 (defcustom wl-summary-rescore-partial-threshold 200
1211 "*Summary is not scored entirely if there are messages more than this value.
1212 In sync-all or rescan."
1216 (defcustom wl-score-files-directory (concat elmo-msgdb-directory elmo-path-sep)
1217 "*Name of the directory where score files will be stored.
1218 (default \"~/.elmo\")."
1222 (defcustom wl-score-interactive-default-score 1000
1223 "*Scoring commands will raise/lower the score with this number as the default."
1227 (defcustom wl-score-expiry-days 7
1228 "*Number of days before unused score file entries are expired.
1229 If this variable is nil, no score file entries will be expired."
1230 :type '(choice (const :tag "never" nil)
1234 (defcustom wl-score-update-entry-dates t
1235 "*In non-nil, update matching score entry dates.
1236 If this variable is nil, then score entries that provide matches
1237 will be expired along with non-matching score entries."
1241 (defcustom wl-score-folder-alist nil
1242 "*Alist of folder regexp and score file."
1243 :type '(repeat (list (regexp :tag "Folder Regexp")
1246 (symbol :tag "Variable")))))
1249 (defcustom wl-score-folder-alist-matchone t
1250 "*If non-nil, getting only one element of `wl-score-folder-alist'."
1254 (defcustom wl-score-default-file "all.SCORE"
1255 "*Default score file name."
1259 (defcustom wl-score-simplify-fuzzy-regexp
1260 '("^[ \t]*\\[[^:]+[,: ][0-9]+\\][ \t]*")
1261 "*Strings to be removed when doing fuzzy matches.
1262 This can either be a regular expression or list of regular expressions."
1263 :type '(repeat regexp)
1266 (defcustom wl-score-header-default-entry
1267 '(("number" -1000 perm =)
1268 ("subject" -1000 nil nil)
1269 ("from" -1000 perm s)
1270 ("message-id" -1000 temp e)
1271 ("references" -1000 perm e)
1274 ("date" -1000 temp nil)
1275 ("xref" -1000 perm s)
1276 ("extra" -1000 perm s)
1277 ("chars" -1000 perm >)
1278 ("lines" -1000 perm >)
1279 ("followup" -1000 perm s)
1280 ("thread" -1000 temp s))
1281 "*Default entry when insert score entry."
1282 :type '(repeat (list (string :tag "Header")
1283 (choice (integer :tag "Score")
1284 (const :tag "Ask" nil))
1285 (choice (const :tag "Permanent" perm)
1286 (const :tag "Temporary" temp)
1287 (const :tag "Ask" nil))
1288 (choice (const :tag "Regexp string" r)
1289 (const :tag "Substring" s)
1290 (const :tag "fuzzy string" f)
1291 (const :tag "Exact string" e)
1292 (const :tag "REGEXP STRING" R)
1293 (const :tag "SUBSTRING" S)
1294 (const :tag "FUZZY STRING" F)
1295 (const :tag "EXACT STRING" E)
1296 (const :tag "less than" <)
1297 (const :tag "less equal" <=)
1298 (const :tag "greater than" >)
1299 (const :tag "greater equal" >=)
1300 (const :tag "equal" =)
1301 (const :tag "Ask" nil))))
1304 (defcustom wl-score-mode-mime-charset 'x-ctext
1305 "*MIME Charset for score file."
1309 (defcustom wl-draft-fields
1310 '("To:" "Cc:" "Bcc:" "Fcc:" "Distribution:" "Organization:"
1311 "Newsgroups:" "Followup-To:" "Mail-Followup-To:" "From:" "Reply-To:")
1312 "Fields used in draft mode."
1313 :type '(repeat (string :tag "Field"))
1317 (defcustom wl-draft-mime-bcc-field-name "Ecc"
1318 "Field name for MIME-encapsulated Bcc."
1319 :type '(string :tag "Field Name")
1322 (defcustom wl-draft-mime-bcc-body nil
1323 "Body string for MIME-encapsulated Bcc.
1324 If nil, a string `This is a blind carbon copy.' is used."
1325 :type '(choice (const :tag "default" nil)
1326 (string :tag "Body"))
1329 (defcustom wl-draft-disable-bcc-for-mime-bcc t
1330 "Disable Bcc while MIME-encapsulated Bcc."
1334 (defcustom wl-draft-disable-fcc-for-mime-bcc t
1335 "Disable Fcc while MIME-encapsulated Bcc."
1339 (defcustom wl-draft-config-alist nil
1340 "Alist of condition and actions for dynamical draft modification.
1341 First element of each list is some condition for the draft buffer (regular
1342 expression for header or elisp expression) and remaining elements indicate
1344 If the first element is `reply' keyword, the next element be the condition
1345 for the message being replied, and remaining elements are actions.
1347 The configuration is applied when `wl-draft-config-exec' is called, or
1348 applied automatically before sending message.
1351 '((\"^To: .*wl@lists.airs.net\"
1352 (\"From\" . my-from-address-for-wl-list)
1353 (\"Organization\" . my-organization-for-wl-list))
1355 \"^To: .*hogehoge@aaa.ne.jp\"
1356 (\"From\" . \"Alternative Address <hogehoge@aaa.ne.jp>\")
1357 my-draft-config-function-hogehoge))
1359 See also variable `wl-draft-parent-folder'."
1360 :type '(repeat (list (sexp :tag "Match")
1363 (choice (cons (sexp :tag "Field(Variable)")
1364 (sexp :tag "Value"))
1365 (sexp :tag "Function")))))
1369 (defcustom wl-draft-config-matchone nil
1370 "*If non-nil, applied only one element of `wl-draft-config-alist'."
1375 (defcustom wl-draft-elide-ellipsis "\n[...]\n\n"
1376 "*The string which is inserted for elided text."
1380 (defcustom wl-template-alist nil
1382 First element of each list is a string specifies the name of the template.
1383 Remaining elements indicate actions. The format of actions is same as that
1384 of `wl-draft-config-alist'."
1385 :type '(repeat (list (string :tag "Name")
1388 (choice (cons (sexp :tag "Field(Variable)")
1389 (sexp :tag "Value"))
1390 (sexp :tag "Function")))))
1394 (defcustom wl-template-visible-select t
1395 "*If non-nil, select template with visible."
1399 (defcustom wl-template-confirm nil
1400 "*If non-nil, require your confirmation when selected template."
1404 (defcustom wl-template-buffer-lines 7
1405 "*Lines of template buffer."
1410 (defcustom wl-draft-enable-queuing t
1411 "*Non-nil enables queued sending."
1416 (defcustom wl-draft-force-queuing nil
1417 "*Non-nil forces queued sending for mail and news."
1422 (defcustom wl-draft-force-queuing-mail nil
1423 "*Non-nil forces queued sending for mail."
1428 (defcustom wl-draft-force-queuing-news nil
1429 "*Non-nil forces queued sending for news."
1434 (defcustom wl-draft-use-cache nil
1435 "*If non-nil, sending message is cached."
1440 (defcustom wl-auto-flush-queue t
1441 "*If non-nil, sending queue is flushed when network status is toggled."
1446 (defcustom wl-draft-buffer-style 'full
1447 "Style of draft buffer except for `wl-summary-reply' and `wl-summary-forward'
1448 'keep is to use current window, 'full is to use full frame window and
1449 'split is to split current window.
1450 If it is a function, it is called with the draft buffer as an argument."
1451 :type '(choice (const :tag "Keep window" keep)
1452 (const :tag "Split window" split)
1453 (const :tag "Full window" full)
1454 (sexp :tag "Use Function"))
1457 (defcustom wl-draft-reply-buffer-style 'split
1458 "Style of draft buffer for `wl-summary-reply' and `wl-summary-forward'
1459 'keep is to use message buffer window, 'full is to use full frame window and
1460 'split is to split message buffer window.
1461 If it is a function, it is called with the draft buffer as an argument."
1462 :type '(choice (const :tag "Keep window" keep)
1463 (const :tag "Split window" split)
1464 (const :tag "Full window" full)
1465 (sexp :tag "Use Function"))
1468 (defcustom wl-draft-reply-default-position 'body
1469 "Begining position of reply buffer.
1470 'body means the top of body.
1471 'bottom means the bottom of body.
1472 'top means the top of header.
1473 \"To\", \"Newsgroups\", \"Subject\" means the position of the header field.
1474 You can also set it to a list of setting.
1476 :type '(choice (repeat
1478 (const :tag "Top of body" body)
1479 (const :tag "Bottom of body" bottom)
1480 (const :tag "Top of header" top)
1482 (const "Newsgroups")
1484 (string :tag "Header Name")))
1485 (const :tag "Top of body" body)
1486 (const :tag "Bottom of body" bottom)
1487 (const :tag "Top of header" top)
1489 (const "Newsgroups")
1491 (string :tag "Header Name"))
1494 (defcustom wl-draft-queue-save-variables
1495 '(wl-envelope-from wl-from
1496 wl-smtp-posting-server wl-smtp-posting-user wl-smtp-posting-port
1497 wl-smtp-authenticate-type wl-smtp-connection-type
1498 wl-pop-before-smtp-server wl-pop-before-smtp-user wl-pop-before-smtp-port
1499 wl-pop-before-smtp-stream-type wl-pop-before-smtp-authenticate-type
1500 wl-nntp-posting-server wl-nntp-posting-server
1501 wl-nntp-posting-user wl-nntp-posting-port wl-nntp-posting-stream-type)
1502 "*Saving variables in queue info."
1503 :type '(repeat (sexp :tag "Variable"))
1506 (defcustom wl-draft-sendlog t
1507 "*Keep send state in log if non-nil."
1511 (defcustom wl-draft-sendlog-max-size 20000
1512 "*Max file size of sendlog."
1513 :type '(choice (const :tag "Unlimited" nil)
1517 (defcustom wl-summary-default-number-column 5
1518 "Number of columns in summary buffer."
1522 (defcustom wl-summary-number-column-alist '(("\\*.*" . 6))
1523 "Alist of folder and its number column.
1524 If no matches, 'wl-summary-default-number-column' is used.
1526 '((\"^%inbox@qmail-maildir\" . 9)
1527 (\"^-.*@news-server\" . 6))"
1528 :type '(repeat (cons (regexp :tag "Folder Regexp") integer))
1531 (defcustom wl-summary-highlight t
1532 "Non-nil forces Summary buffer to be highlighted."
1535 :group 'wl-highlight)
1537 (defcustom wl-summary-lazy-highlight (boundp 'window-scroll-functions)
1538 "Non-nil forces lazy summary highlighting using `window-scroll-functions'."
1541 :group 'wl-highlight)
1543 (defcustom wl-summary-highlight-partial-threshold 1000
1544 "Summary is not highlighted entirely if there are lines more than this value.
1545 Available if only `wl-summary-lazy-highlight' is nil."
1548 :group 'wl-highlight)
1550 (defcustom wl-summary-partial-highlight-above-lines 30
1551 "If Summary has lines more than `wl-summary-highlight-partial-threshold',
1552 Summary lines are highlighted partialy above current position.
1553 Available if only `wl-summary-lazy-highlight' is nil."
1556 :group 'wl-highlight)
1558 (defcustom wl-summary-lazy-update-mark (boundp 'window-scroll-functions)
1559 "Non-nil forces lazy update mark using `window-scroll-functions'."
1563 (defcustom wl-summary-cache-use t
1564 "Non-nil forces wl-summary to use cache file."
1568 (defcustom wl-summary-auto-sync-marks t
1569 "Non-nil forces to synchronize unread/important marks."
1573 (defcustom wl-summary-cache-file ".wl-summary-cache"
1574 "*Cache file for summary mode contents."
1577 (defcustom wl-summary-view-file ".wl-summary-view"
1578 "*Current summary view."
1581 (defcustom wl-thread-top-file ".wl-thread-top"
1582 "*Current thread top entity... obsolete."
1585 (defcustom wl-thread-entity-file ".wl-thread-entity"
1589 (defcustom wl-thread-entity-list-file ".wl-thread-entity-list"
1590 "*Thread top entity list."
1594 (defcustom wl-print-buffer-function 'lpr-buffer
1595 "A function to print current buffer."
1599 (defcustom wl-ps-print-buffer-function
1600 (if window-system 'ps-print-buffer-with-faces 'ps-print-buffer)
1601 "A function to print current buffer with ps-print."
1606 (defcustom wl-use-petname t
1607 "*Display petname in summary and default citation title."
1611 (defcustom wl-use-folder-petname
1613 "*List of situation using folder petname.
1614 Allowed situations are:
1615 modeline : displayed on modeline.
1616 ask-folder : displayed on minibuffer when ask folder.
1617 read-folder : can used for completion at `wl-summary-read-folder'."
1618 :type '(set (const modeline)
1620 (const read-folder))
1624 (defcustom wl-folder-petname-alist nil
1625 "A list of (realname . petname)."
1626 :type '(repeat (cons (string :tag "Realname") (string :tag "Petname")))
1629 (defcustom wl-summary-weekday-name-lang
1630 (if (and (boundp 'current-language-environment)
1631 (string-equal "Japanese"
1632 (symbol-value 'current-language-environment)))
1634 "*Language to display week day."
1635 :type '(choice (const "ja")
1639 (string :tag "Other"))
1643 (defcustom wl-message-id-use-wl-from t
1644 "*Use `wl-from' for domain part of Message-ID if non-nil."
1648 (defcustom wl-local-domain nil
1649 "*Domain part of this client (without hostname).
1650 Set this if (system-name) does not return FQDN."
1651 :type '(choice (const :tag "Use System Name" nil)
1655 (defcustom wl-message-id-domain nil
1656 "*Specific domain part of Message-ID."
1657 :type '(choice (const :tag "Use System Name" nil)
1661 (defcustom wl-unique-id-suffix ".wl"
1662 "*Specific string in generated Message-ID
1663 which appear just before @."
1667 (defcustom wl-break-pages t
1668 "*Break Pages at ^L."
1672 (defcustom wl-message-auto-reassemble-message/partial nil
1673 "*Reassemble message/partial messages automatically on show when non-nil."
1677 (defcustom wl-message-use-header-narrowing t
1678 "Use header narrowing when non-nil."
1682 (defcustom wl-message-header-narrowing-fields '("to" "cc")
1683 "A list of field name to enable header narrowing."
1684 :type '(repeat string)
1687 (defcustom wl-message-header-narrowing-lines 4
1688 "Line number to enable the header narrowing."
1692 (defcustom wl-message-header-narrowing-string "..."
1693 "A string used for header narrowing truncation."
1697 (defvar wl-message-mode-line-format-spec-alist
1698 '((?f (if (memq 'modeline wl-use-folder-petname)
1699 (wl-folder-get-petname wl-message-buffer-cur-folder)
1700 wl-message-buffer-cur-folder))
1701 (?m (upcase (symbol-name
1702 (wl-message-display-type-property
1703 wl-message-buffer-cur-display-type
1705 (?F wl-message-buffer-flag-indicator)
1706 (?n wl-message-buffer-cur-number))
1707 "An alist of format specifications for message buffer's mode-lines.
1708 Each element is a list of following:
1710 SPEC is a character for format specification.
1711 STRING-EXP is an expression to get string to insert.")
1713 (defcustom wl-message-mode-line-format "Wanderlust: << %f / %n %F>> [%m]"
1714 "*A format string for message buffer's mode-line of Wanderlust.
1715 It may include any of the following format specifications
1716 which are replaced by the given information:
1719 %n The number of the message.
1720 %m The MIME analysis status.
1721 %F The global flag indicator."
1725 (defcustom wl-message-truncate-lines default-truncate-lines
1726 "*Truncate lines in Message Buffer."
1730 (defcustom wl-draft-truncate-lines default-truncate-lines
1731 "*Truncate lines in Draft Buffer."
1736 (defcustom wl-message-scroll-amount nil
1737 "*Scroll amount by SPC key."
1738 :type '(choice (const :tag "scrolling by screenfuls" nil)
1742 (defcustom wl-message-window-size '(1 . 4)
1743 "*Size of summary and message window. cons cell of (Summary : Message)."
1744 :type '(cons integer integer)
1747 (defcustom wl-message-sort-field-list '("Return-Path" "Received" "^To" "^Cc"
1748 "Newsgroups" "Subject" "^From")
1749 "*Sort order of header fields. Each elements are regexp of field name."
1750 :type '(repeat (string :tag "Field Regexp"))
1754 (defcustom wl-message-ignored-field-list nil
1755 "All fields that match this list will be hidden in message buffer.
1756 Each elements are regexp of field-name.
1757 You can specify exceptions by `wl-message-visible-field-list'."
1758 :type '(repeat (string :tag "Field Regexp"))
1762 (defcustom wl-message-visible-field-list nil
1763 "All fields that match this list will be displayed in message buffer.
1764 Each elements are regexp of field-name.
1765 This variable overwhelm `wl-message-ignored-field-list' settings."
1766 :type '(repeat (string :tag "Field Regexp"))
1770 (defcustom wl-message-header-button-alist
1771 (` (("^\\(References\\|Message-Id\\|In-Reply-To\\):"
1773 0 wl-message-button-refer-article 0)
1775 "\\(<\\(url: \\)?news:\\([^>\n ]*\\)>\\)"
1776 1 wl-message-button-refer-article 3)))
1777 "Alist of headers and regexps to match buttons in message headers."
1779 (list (regexp :tag "Header")
1781 (integer :tag "Button")
1782 (function :tag "Callback")
1785 (integer :tag "Regexp group"))))
1788 (defcustom wl-message-body-button-alist
1789 '(("<mailto:[^>]+>" 0 'ignore 0 1024)
1790 ("<[^>\n ]+@[^>\n ]+>" 0 wl-message-button-refer-article 0 1024))
1791 "Alist of regexps to match buttons in message body."
1794 (integer :tag "Button")
1795 (function :tag "Callback")
1798 (integer :tag "Regexp group"))
1799 (integer :tag "Max Length")))
1802 (defcustom wl-folder-window-width 20
1803 "*Width of folder window."
1808 (defcustom wl-summary-recenter t
1809 "*Recenter on redisplay."
1814 (defcustom wl-folder-use-frame nil
1815 "*Use dedicated frame for folder mode if non-nil."
1819 (defcustom wl-summary-use-frame nil
1820 "*Use dedicated frame for each folder summary if non-nil."
1824 (defcustom wl-stay-folder-window nil
1825 "*Stay folder window when folder is selected if non-nil."
1829 (defcustom wl-reply-subject-prefix "Re: "
1830 "*Prefix of the subject of the replied message.
1831 The value is string or string valued function to be evalueted in the target
1833 :type '(choice string function)
1837 (defcustom wl-forward-subject-prefix "Forward: "
1838 "*Prefix of the subject of the forwarded message.
1839 The value is string or string valued function to be evalueted in the target
1841 :type '(choice string function)
1845 (defcustom wl-draft-reply-use-address-with-full-name t
1846 "*Use address with full-name in the draft of replied message."
1851 (defcustom wl-subject-re-prefix-regexp "^[ \t]*\\([Rr][Ee][:>][ \t]*\\)*[ \t]*"
1852 "*Regexp matching \"Re: \" in the subject line."
1857 (defcustom wl-subject-forward-prefix-regexp "^[ \t]*\\(\\([Ff][Oo][Rr][Ww][Aa][Rr][Dd]\\|[Ff][Ww][Dd]\\|[Ff][Ww]\\)[:>][ \t]*\\)*[ \t]*"
1858 "*Regexp matching \"Forward: \", \"Fwd: \", or \"Fw: \" in the subject line."
1863 (defcustom wl-folder-many-unsync-threshold 70
1864 "*Folders which contains messages more than this number are highlighted
1865 with wl-highlight-folder-many-face."
1870 (defcustom wl-fcc nil
1871 "*Folder Carbon Copy target initially added at creating draft buffer."
1872 :type '(choice (const :tag "disable" nil)
1877 (defcustom wl-fcc-force-as-read nil
1878 "*If non-nil, mark copied message as read."
1883 (defcustom wl-bcc nil
1884 "*Blind Carbon Copy target initially added at creating draft buffer."
1885 :type '(choice (const :tag "disable" nil)
1890 (defcustom wl-folder-desktop-name "Desktop"
1891 "*An implicit name of the folder top entity."
1896 (defcustom wl-summary-indent-length-limit 46
1897 "*Limit of indent length for thread. Nil means unlimited"
1898 :type '(choice (const :tag "Unlimited" nil)
1903 (defcustom wl-summary-max-thread-depth 30
1904 "*If thread depth of the message is larger than this value, divide it."
1905 :type '(choice (const :tag "Unlimited" nil)
1910 (defcustom wl-summary-no-from-message "nobody@nowhere?"
1911 "*A string displayed in summary when no from field exists."
1915 (defcustom wl-summary-no-subject-message "(WL:No Subject in original.)"
1916 "*A string displayed in summary when no subject field exists."
1920 (defcustom wl-summary-cancel-message "I'd like to cancel my message."
1921 "*The body content of a cancel message."
1925 (defcustom wl-summary-width 80
1926 "*Set summary line width if non nil."
1927 :type '(choice (const :tag "Don't truncate" nil)
1932 (defcustom wl-summary-print-argument-within-window nil
1933 "*If non-nil, always print argument right side of window."
1938 (defcustom wl-summary-pick-field-default "Body"
1939 "*Default field for pick."
1940 :type '(radio (const "From")
1949 (string :tag "Other"))
1952 (defcustom wl-mime-charset (if wl-on-mule 'x-ctext 'iso-8859-1)
1953 "*MIME Charset for summary and message."
1958 (defcustom wl-generate-mailer-string-function 'wl-generate-user-agent-string
1959 "A function for creating User-Agent field string."
1963 (defcustom wl-highlight-background-mode (if (boundp 'hilit-background-mode)
1964 (or hilit-background-mode 'dark)
1966 "*Background mode of highlight (for Old Emacsen). 'dark or 'light."
1967 :type '(radio (const dark)
1969 :group 'wl-highlight)
1971 (defcustom wl-highlight-x-face-function nil
1972 "A function to display X-Face."
1974 :group 'wl-highlight)
1976 (defcustom wl-qmail-inject-program "/var/qmail/bin/qmail-inject"
1977 "Location of the qmail-inject program."
1978 :type '(string :tag "Program")
1981 (defcustom wl-qmail-inject-args nil
1982 "Arguments passed to qmail-inject programs.
1983 This should be a list of strings, one string for each argument.
1985 For e.g., if you wish to set the envelope sender address so that bounces
1986 go to the right place or to deal with listserv's usage of that address, you
1987 might set this variable to '(\"-f\" \"you@some.where\")."
1988 :type '(repeat (string :tag "Argument"))
1991 (defcustom wl-rejected-letter-start
1992 "^[\t ]*-+[\t ]+\\(\\(original\\|\\(\\(the \\)?unsent\\)\\) message\\( follows\\)?[\t ]+-+[\t ]*\\|Below this line is a copy of the message\\..*\\)$"
1993 "Regexp specifying the beginning of the wrapper around a returned letter.
1994 This wrapper is generated by the mail system when rejecting a letter."
1998 (defcustom wl-ignored-forwarded-headers "\\(received\\|return-path\\|x-uidl\\)"
1999 "*All headers that match this regexp will be deleted when forwarding a message."
2003 (defcustom wl-ignored-resent-headers "\\(return-receipt\\|[bdf]cc\\)"
2004 "*All headers that match this regexp will be deleted when resending a message."
2008 (defcustom wl-auto-save-drafts-interval 1
2009 "Idle interval in seconds to save draft buffers automatically.
2010 If you don't want to use this feature, set this to nil."
2011 :type '(choice (const :tag "Don't use this feature" nil)
2012 (number :tag "Secs"))
2015 (defcustom wl-draft-preview-attributes t
2016 "Non-nil forces to preview the attributes in the `wl-draft-preview-message'.
2017 Attributes specified in the `wl-draft-preview-attributes-list' are displayed."
2021 (defcustom wl-draft-preview-attributes-list '((mail recipients
2028 "*Attribute symbols to display in the draft preview.
2029 Candidates are following:
2032 `smtp-posting-server'
2035 `nntp-posting-server'
2037 Also variables which begin with `wl-' can be specified
2038 \(`wl-' have to be removed\)"
2039 :type '(choice (repeat (cons (choice (const :tag "Mail" mail)
2040 (const :tag "News" news))
2045 (defcustom wl-draft-preview-attributes-buffer-lines 5
2046 "*Buffer height for the draft attribute preview."
2050 (defcustom wl-draft-preview-attributes-buffer-name "*Preview Attributes*"
2051 "*Buffer name for the draft attribute preview."
2055 (defcustom wl-refile-default-from-folder "+from"
2056 "*Folder name to refile by `wl-refile-guess-by-from'."
2057 :type '(string :tag "Folder")
2060 (defcustom wl-summary-auto-refile-skip-marks
2061 (list wl-summary-new-uncached-mark
2062 wl-summary-new-cached-mark
2063 wl-summary-unread-uncached-mark
2064 wl-summary-unread-cached-mark)
2065 "Persistent marks to skip auto-refiling."
2066 :type '(repeat (string :tag "Mark"))
2069 (defcustom wl-summary-reserve-mark-list
2070 (list "o" "O" "D" "d" "i")
2071 "If a message is already marked as temporal marks in this list,
2072 the message is not marked by any mark command."
2073 :type '(repeat (string :tag "Temp-Mark"))
2076 (defcustom wl-summary-skip-mark-list
2078 "If a message is already marked as temporal marks in this list,
2079 the message is skipped at cursor move."
2080 :type '(repeat (string :tag "Temp-Mark"))
2083 (defcustom wl-summary-incorporate-marks
2084 (list wl-summary-new-uncached-mark
2085 wl-summary-unread-uncached-mark)
2086 "Persistent marks to prefetch at `wl-summary-incorporate'."
2087 :type '(repeat (string :tag "Mark"))
2090 (defcustom wl-refile-rule-alist nil
2094 (\"teranisi@isl.ntt.co.jp\" . \"+teranisi\"))
2096 (\"^Wanderlust\" . \"+wl\")
2097 (\"^Elips\" . \"+elips\")))"
2098 :type '(repeat (list (string :tag "Field")
2100 (cons (regexp :tag "Value")
2101 (string :tag "Folder")))))
2104 (defcustom wl-strict-diff-folders nil
2105 "List of regexps matching folders of which Wanderlust seriously counts unsync messages."
2106 :type '(choice (const :tag "Off" nil)
2107 (repeat (regexp :tag "Folder Regexp")))
2110 (defcustom wl-folder-use-server-diff t
2111 "Checked unread message number on IMAP4 server.
2112 Only IMAP4 folders have an effect."
2116 (defcustom wl-force-fetch-folders nil
2117 "Non-nil forces to fetch subfolders when user opened an 'access' folder."
2118 :type '(choice (const :tag "off" nil)
2119 (const :menu-tag "on" t)
2120 (repeat (regexp :tag "Folder Regexp")))
2123 (defcustom wl-auto-check-folder-name nil
2124 "*A folder, a group or a list of folders and groups specified which
2125 will be automatically checked at the startup time."
2126 :type '(choice (string :tag "Folder")
2127 (repeat (string :tag "Folder"))
2131 (defcustom wl-auto-uncheck-folder-list '("\\$.*")
2132 "All folders that match this list won't be checked at the startup
2133 time even if they are embedded in some groups specified by
2134 wl-auto-check-folder-name.
2135 Those folders are also skipped when you check on the Desktop.
2136 This value is preceded by wl-auto-check-folder-list.
2137 Each elements are regexp of folder name."
2138 :type '(repeat (regexp :tag "Folder Regexp"))
2141 (defcustom wl-auto-check-folder-list nil
2142 "A list of patterns for exceptional folders against
2143 wl-auto-uncheck-folder-list.
2144 Each elements are regexp of folder name."
2145 :type '(repeat (regexp :tag "Folder Regexp"))
2148 (defcustom wl-show-plug-status-on-modeline t
2149 "If it is non-nil, show plugged status in modeline."
2151 :group 'wl-highlight)
2153 (defcustom wl-plug-state-indicator-on " [ON] "
2154 "String used to show plugged status ON."
2156 :group 'wl-highlight)
2158 (defcustom wl-plug-state-indicator-off " [--] "
2159 "String used to show plugged status OFF."
2161 :group 'wl-highlight)
2163 (defcustom wl-biff-check-folder-list nil
2164 "All folders that match this list are automatically checked
2165 every intervals specified by wl-biff-check-interval."
2166 :type '(repeat (regexp :tag "Folder"))
2167 :group 'wl-highlight)
2169 (defcustom wl-biff-check-interval 40
2170 "Number of seconds between updates of new mails in the mode line."
2172 :group 'wl-highlight)
2174 (defcustom wl-biff-use-idle-timer nil
2175 "Non-nil to use idle timer instead of strict timer for wl-biff"
2177 :group 'wl-highlight)
2179 (defcustom wl-biff-state-indicator-on (if (and (featurep 'xemacs)
2180 (not (featurep 'mule)))
2182 (decode-coding-string
2184 (read "\"[\e$B\\\")\e(B]\"")
2188 "String used to show biff status ON."
2190 :group 'wl-highlight)
2192 (defcustom wl-biff-state-indicator-off (if (and (featurep 'xemacs)
2193 (not (featurep 'mule)))
2195 ;; Japanese short hyphen
2197 "String used to show biff status OFF."
2199 :group 'wl-highlight)
2201 (defcustom wl-mode-line-display-priority-list '(biff plug title)
2202 "Displaying order of items to be shown in modeline. The first item will
2203 be placed in the leftmost. The significant items are `biff' and `plug';
2204 otherwise, e.g. `title', corresponds to the things except for the biff
2205 staus nor the plugged status. The default order is '(biff plug title)
2206 even if the value of this option is set to nil. Here are some samples:
2208 ;; Plugged status first:
2209 \(setq wl-mode-line-display-priority-list '(plug))
2211 ;; Biff status, Title of Wanderlust, Plugged status:
2212 \(setq wl-mode-line-display-priority-list '(biff title plug))
2215 :type '(repeat (radio (const :format "%v " biff)
2216 (const :format "%v " plug)
2217 (sexp :tag "Other" :value title)))
2218 :group 'wl-highlight)
2220 (defcustom wl-interactive-send t
2221 "*If non-nil, require your confirmation when sending draft message."
2226 (defcustom wl-interactive-exit t
2227 "*If non-nil, require your confirmation when exiting WL."
2231 (defcustom wl-summary-move-order 'unread
2232 "*The order of priority when move in summary mode.
2233 If this variable is `unread', precede \"U\", \"u\", \"N\", \"n\" mark.
2234 If this variable is `new', precede \"N\", \"n\" mark."
2235 :type '(radio (const new)
2240 (defvar wl-summary-move-direction-downward t)
2242 (defcustom wl-summary-move-direction-toggle t
2243 "*If non-nil, search direction for the next message will be determined
2244 depends on previous search direction.
2245 It uses wl-summary-move-direction-downward as a direction flag."
2249 (defcustom wl-auto-select-first nil
2250 "*If non-nil, display selected first message when enter summary."
2255 (defcustom wl-auto-prefetch-first nil
2256 "*If non-nil, prefetch selected first message when enter summary."
2261 (defcustom wl-auto-select-next nil
2262 "*If non-nil, offer to go to the next folder from the end of the previous.
2263 If the value is the symbol `unread', go to the next folder
2264 that no unread message exists. If the value is the symbol `skip-no-unread',
2265 skip the folder that no unread message exists.
2267 See also variable `wl-summary-next-no-unread-command'."
2268 :type '(radio (const :tag "off" nil)
2271 (const skip-no-unread))
2275 (defcustom wl-message-buffer-name " *WL:Message*"
2276 "*Buffer name for message buffers."
2280 (defcustom wl-message-buffer-prefetch-folder-type-list '(imap4 nntp)
2281 "*All folder types that match this list prefetch next message,
2282 and reserved buffer cache."
2283 :type `(choice (const :tag "all" t)
2284 (const :tag "never" nil)
2285 (set (const localdir)
2298 (defcustom wl-message-buffer-prefetch-folder-list nil
2299 "*All folders that match this list prefetch next message,
2300 and reserved buffer cache.
2303 :type '(repeat (regexp :tag "Folder Regexp"))
2306 (defcustom wl-message-buffer-prefetch-depth 1
2307 "*Depth of buffer prefetch in summary mode."
2311 (defcustom wl-message-buffer-prefetch-idle-time 1
2312 "*Idle time of buffer prefetch."
2316 (defcustom wl-message-buffer-prefetch-threshold 30000
2317 "*Quit forward cache prefetching if message size is larger than this value."
2321 (defcustom wl-summary-always-sticky-folder-list nil
2322 "All folders that match this list has sticky summary.
2323 Each elements are regexp of folder name."
2324 :type '(radio (const :tag "none" nil)
2325 (const :tag "all" t)
2326 (repeat (regexp :tag "Folder Regexp")))
2329 (defcustom wl-summary-force-prefetch-folder-list nil
2330 "All folders that match this list are prefetched.
2331 Each elements are regexp of folder name."
2332 :type '(radio (const :tag "none" nil)
2333 (const :tag "all" t)
2334 (repeat (regexp :tag "Folder Regexp")))
2337 (defcustom wl-no-save-folder-list '("^/.*$" "^\\[.*$")
2338 "All folders that match this list won't save its msgdb.
2339 Each elements are regexp of folder name."
2340 :type '(repeat (regexp :tag "Folder Regexp"))
2343 (defcustom wl-save-folder-list nil
2344 "All folders that match this list save its msgdb.
2345 Each elements are regexp of folder name."
2346 :type '(repeat (regexp :tag "Folder Regexp"))
2349 (defcustom wl-folder-mime-charset-alist
2350 '(("^-alt\\.chinese" . big5)
2351 ("^-relcom\\." . koi8-r)
2353 ("^-han\\." . euc-kr)
2354 ("@sponichi" . shift_jis)
2355 ("@2ch" . shift_jis))
2356 "Charset alist. If no match, `wl-mime-charset' is used."
2357 :type '(repeat (cons (regexp :tag "Folder Regexp") (symbol :tag "Charset")))
2361 (defcustom wl-folder-weekday-name-lang-alist
2362 '(("^-alt\\.chinese" . "en")
2363 ("^-relcom\\." . "en")
2365 ("^-han\\." . "en"))
2366 "Weekday name lang alist.
2367 If no match, `wl-summary-weekday-name-lang' is used.
2369 '((\"xemacs-beta$\" . \"en\")
2370 (\"^-fj\" . \"ja\"))"
2371 :type '(repeat (cons (regexp :tag "Folder Regexp")
2372 (choice (const "ja")
2376 (string :tag "Other"))))
2379 (defcustom wl-folder-thread-indent-set-alist
2380 '(("^-alt\\.chinese" . (2 "+" "+" "|" "-" " "))
2381 ("^-relcom\\." . (2 "+" "+" "|" "-" " "))
2382 ("^-tw\\." . (2 "+" "+" "|" "-" " "))
2383 ("^-han\\." . (2 "+" "+" "|" "-" " ")))
2384 "Thread indent set alist.
2385 If no match, following indent set is used.
2386 \(wl-thread-indent-level
2387 wl-thread-have-younger-brother-str
2388 wl-thread-youngest-child-str
2389 wl-thread-vertical-str
2390 wl-thread-horizontal-str
2391 wl-thread-space-str)
2393 '((\"xemacs-beta$\" . (2 \"+\" \"+\" \"|\" \"-\" \" \")))"
2394 :type '(repeat (cons (regexp :tag "Folder Regexp")
2395 (group (integer :tag "Indent")
2396 (string :tag "Yonger Brother")
2397 (string :tag "Yonger Child")
2398 (string :tag "Vertical")
2399 (string :tag "Horizontal")
2400 (string :tag "Space"))))
2403 (defcustom wl-folder-sync-range-alist
2404 (list (cons 'wl-require-update-all-folder-p "all"))
2405 "*Default sync range alist. If no matches, `wl-default-sync-range' is used."
2406 :type '(repeat (cons (choice (regexp :tag "Folder Regexp")
2407 (symbol :tag "A function"))
2408 (choice (const "update")
2412 (const :tag "none" nil))))
2415 (defcustom wl-default-sync-range "update"
2416 "*Default sync range."
2417 :type '(choice (const "update")
2421 (const :tag "none" nil))
2424 (defcustom wl-ask-range t
2425 "*If non-nil, ask for a range for summary synchronization.
2426 If nil, always use default."
2430 (defcustom wl-folder-process-duplicates-alist nil
2431 "Specify process type of duplicated messages.
2432 It should be a list of cons cell like: (REGEXP . TYPE)
2433 REGEXP is a regular expression string of folder name.
2434 TYPE is one of the symbols `hide' or `read'.
2435 `hide' means hide duplicated messages.
2436 `read' means mark as read duplicated messages.
2437 If TYPE is nil, do nothing for duplicated messages."
2438 :type '(repeat (cons (regexp :tag "Folder regexp")
2439 (choice (const :tag "Hide" hide)
2440 (const :tag "Mark as read" read))))
2443 (defcustom wl-folder-move-cur-folder nil
2444 "*Non-nil, move cursor to current folder on folder buffer when goto folder."
2448 (defcustom wl-folder-check-async t
2449 "*Check the folder asynchronous."
2453 (defcustom wl-folder-notify-deleted nil
2454 "*Non-nil, display negative number on folder-mode when message is deleted
2455 in folder. If the value is 'sync, msgdb would be synchronized."
2456 :type '(choice (const :tag "off" nil)
2461 (defcustom wl-summary-exit-next-move t
2462 "*Non-nil, move to next-unsync or next-entity when exit summary."
2466 (defcustom wl-summary-next-no-unread-command
2467 '(wl-summary-read wl-summary-down wl-summary-up)
2468 "*Command list available when the value of `wl-auto-select-next' is 'unread
2469 or 'skip-no-unread."
2470 :type '(repeat function)
2473 (defcustom wl-summary-search-via-nntp 'confirm
2474 "*Non-nil, search message via nntp after `wl-summary-jump-to-msg-by-message-id'.
2475 If the value is 'confirm, confirm before search, 'force to search via nntp
2476 regardless of current folder type."
2477 :type '(choice (const :tag "confirm" confirm)
2478 (const :tag "always" force)
2479 (const :tag "in nntp folder" t)
2480 (const :tag "never" nil))
2483 (defcustom wl-summary-keep-cursor-command
2484 '(wl-summary-goto-folder wl-summary-goto-last-visited-folder)
2485 "*Command list to keep cursor position when folder is changed to
2486 already existing summary."
2487 :type '(repeat function)
2490 (defcustom wl-summary-showto-folder-regexp nil
2491 "Regexp specifying the folder that shows the To (or Newsgroups) field as
2492 Sender information in summary mode. It is effective when the value of
2493 `wl-summary-from-function' is `wl-summary-default-from'"
2494 :type '(choice (const :tag "none" nil)
2498 (defcustom wl-summary-save-file-suffix ".eml"
2499 "Suffix for the saved file name."
2503 (defcustom wl-summary-resend-use-cache nil
2504 "*Non-nil to enable offline resending by using file cache.
2505 Note that strict message identity is not guaranteed when cache is used."
2509 (defcustom wl-folder-removed-mark "#<removed>"
2510 "Mark for removed folder."
2514 (defcustom wl-folder-unsubscribe-mark "#"
2515 "Mark for unsubscribe folder."
2519 (defcustom wl-dispose-folder-alist '(("^-" . remove)
2521 "*Alist of folder and dispose policy.
2522 Each element is (folder-regexp . policy).
2524 The policy is one of the followings:
2526 'null : remove message.
2527 string : refile to the specified folder.
2529 otherwise : refile to the `wl-trash-folder'.
2531 '((\"^%\" . \"%#mh/trash\")
2533 (\"^\\\\+\" . trash))"
2534 :type '(repeat (cons (regexp :tag "Folder Regexp")
2535 (choice :tag "Policy"
2537 (const :tag "remove(null)" null)
2539 (const :tag "trash(other)" trash)
2540 (string :tag "Folder"))))
2543 (defcustom wl-folder-hierarchy-access-folders '("^-[^.]*\\(:\\|@\\|$\\)"
2545 "*Access group REGEXPs to make hierarchy structure."
2546 :type '(repeat (string :tag "Regexp"))
2549 (defcustom wl-folder-init-load-access-folders nil
2550 "*Access group folders to load folder list on `wl-folder-init'.
2551 If this variable is non-nil,
2552 `wl-folder-init-no-load-access-folders' will be ignored."
2553 :type '(repeat (regexp :tag "Folder Regexp"))
2556 (defcustom wl-folder-init-no-load-access-folders nil
2557 "*Access group folders to not load folder list on `wl-folder-init'.
2558 If `wl-folder-init-load-access-folders' is non-nil,
2559 this variable will be ignored."
2560 :type '(repeat (regexp :tag "Folder Regexp"))
2563 (defcustom wl-folder-access-subscribe-alist nil
2564 "*Subscribe folders to fetching folder entries.
2565 Each element is (group-regexp (subscribe folder-regexp ...)).
2566 If subscribe is non-nil, subscribe when match folder-regexp.
2567 If subscribe is nil, unsubscribe when match folder-regexp.
2570 '((\"^-fj$\" . (t \"^-fj\\\\.\\\\(editor\\\\|mail\\\\|net\\\\|news\\\\)\"))
2571 (\"^-comp$\" . (t \"^-comp\\\\.unix\" \"^-comp\\\\.sys\"))
2572 (\"^-$\" . (nil \"^-alt\" \"^-rec\")))"
2573 :type '(repeat (cons (regexp :tag "Folder Regexp")
2574 (list (boolean :tag "Subscribed")
2576 (regexp :tag "Folder Regexp")))))
2579 ;;; For Folder Manager
2581 (defcustom wl-interactive-save-folders t
2582 "*Non-nil require your confirmation when save folders."
2587 (defcustom wl-fldmgr-make-backup t
2588 "*Non-nil make backup file when save folders."
2592 (defcustom wl-fldmgr-folders-indent "\t"
2593 "*Indent string for folders file."
2597 (defcustom wl-fldmgr-sort-function 'wl-fldmgr-sort-standard
2598 "*A function to sort folder."
2602 (defcustom wl-fldmgr-sort-group-first t
2603 "*Non-nil Group folder is first when sort."
2607 (defcustom wl-fldmgr-add-complete-with-current-folder-list nil
2608 "*If non-nil, completion for adding folder refers current folder list."
2612 (defcustom wl-fldmgr-make-filter-default "Body"
2613 "*Default filter key while making filter on Folder."
2614 :type '(radio (const "From")
2623 (string :tag "Other"))
2626 (defcustom wl-fldmgr-allow-rename-access-group nil
2627 "*If non-nil, allow to rename folder in access group."
2631 ;;; For Expire and Archive
2633 (defcustom wl-expire-alist nil
2634 "Alist to decide a policy for expire.
2635 Each element is (folder-regexp (number or date) policy).
2637 The policy is one of the followings:
2638 'remove : remove messsage.
2639 'trash : refile `wl-trash-folder'.
2640 string : refile string folder.
2641 function : call function.
2644 '((\"^\\\\+ml/wl$\" (number 500 510) wl-expire-archive-number1 t)
2645 (\"^\\\\+ml/\" (number 300 305) wl-expire-archive-number2)
2646 (\"^\\\\+outbox$\" (number 300) \"$outbox;lha\")
2647 (\"^\\\\(\\\\+tmp\\\\|\\\\+trash\\\\)$\" (date 7) remove)
2648 (\"^\\\\+misc$\" (date 14) trash))"
2649 :type '(repeat (choice (list :tag "No-match"
2650 (regexp :tag "Folder Regexp")
2653 (regexp :tag "Folder Regexp")
2654 (list (radio :value number
2659 (repeat :inline t integer)))
2660 (choice :tag "Policy"
2664 (string :tag "folder")
2667 :tag "Arg for function"
2671 (defcustom wl-archive-alist '((".*" wl-archive-number1))
2672 "Alist to decide a policy for archive.
2673 Each element is (folder-regexp policy(function)).
2676 '((\"\\\\+work$\" wl-archive-date)
2677 (\"\\\\+ml/\" wl-archive-number1)
2678 (\".*\" wl-archive-number2))"
2679 :type '(repeat (list (regexp :tag "Folder Regexp")
2682 (sexp :tag "Argument"))))
2685 (defcustom wl-summary-expire-reserve-marks
2686 (list wl-summary-flag-mark
2687 wl-summary-new-uncached-mark
2688 wl-summary-new-cached-mark
2689 wl-summary-unread-uncached-mark
2690 wl-summary-unread-cached-mark)
2691 "Permanent marks of reserved message when expire.
2692 Don't reserve temporary mark message.
2695 'all : reserved all permanent marks.
2696 'none : not reserve permanent marks.
2697 list : reserved specified permanent marks."
2698 :type '(repeat (string :tag "Mark"))
2701 (defcustom wl-expire-number-with-reserve-marks nil
2702 "If non-nil, include reserve message when expire by number."
2706 (defcustom wl-expire-add-seen-list t
2707 "*If non-nil, add seen message list when refile message at expire."
2711 (defcustom wl-expire-use-log nil
2712 "*If non-nil, write a log when expired."
2716 (defcustom wl-expire-folder-update-msgdb t
2717 "*Non-nil update summary msgdb when expire on folder mode."
2721 ;; for wl-expire-archive-{number1|number2}
2722 (defcustom wl-expire-archive-files 100
2723 "*The number of one archive folder."
2727 ;; for wl-expire-archive-{number1|number2|date}
2728 (defcustom wl-expire-archive-get-folder-function
2729 'wl-expire-archive-get-folder
2730 "*A function to get archive folder name."
2734 (defcustom wl-expire-delete-oldmsg-confirm t
2735 "*If non-nil, require your confirmation when delete old message."
2739 ;; for wl-expire-archive-get-folder
2740 (defcustom wl-expire-archive-folder-type 'zip
2741 "*Archiver type of archive folder."
2742 :type '(radio (const zip)
2748 (symbol :tag "Other"))
2751 (defcustom wl-expire-archive-folder-name-fmt "%s-%%05d;%s" ;; $folder-00100;zip
2752 "*A format string for archive folder name."
2756 (defcustom wl-expire-archive-folder-num-regexp "-\\([0-9]+\\);"
2757 "*A regexp string for archive folder name."
2761 (defcustom wl-expire-archive-date-folder-name-fmt "%s-%%04d%%02d;%s"
2762 ;; $folder-199812;zip
2763 "*A format string for archive date folder name."
2767 (defcustom wl-expire-archive-date-folder-num-regexp "-\\([0-9]+\\);"
2768 "*A regexp string for archive date folder name."
2772 (defcustom wl-expire-archive-folder-prefix nil
2773 "*Prefix for archive folder."
2774 :type '(radio (const :tag "nothing" nil)
2775 (const :tag "full" t)
2781 ;; highilght about summary
2782 (defcustom wl-highlight-max-summary-lines 10000
2783 "*If the summary is larger than this lines, don't highlight it."
2785 :group 'wl-highlight)
2787 ;; highilght about draft and message
2788 (defcustom wl-highlight-body-too t
2789 "*In addition to header, highlight the body too. if non nil."
2791 :group 'wl-highlight)
2793 (defcustom wl-highlight-message-header-alist
2794 '(("Subject[ \t]*:" . wl-highlight-message-important-header-contents)
2795 ("From[ \t]*:\\|To[ \t]*:" . wl-highlight-message-important-header-contents2)
2796 ("X-[^ \t]*:\\|User-Agent[ \t]*:" . wl-highlight-message-unimportant-header-contents))
2798 :type '(repeat (cons regexp face))
2799 :group 'wl-highlight)
2801 (defcustom wl-highlight-citation-prefix-regexp
2802 "^[>|:} ]*[>|:}]\\([^ \n>]*>\\)?\\|^[^ <\n>]*>"
2803 "All lines that match this regexp will be highlighted with
2804 `wl-highlight-message-cited-text-*' face."
2806 :group 'wl-highlight)
2808 (defcustom wl-highlight-highlight-citation-too nil
2809 "*Whether the whole citation line should go in the
2810 `wl-highlight-citation-face' face.
2811 If nil, the text matched by `wl-highlight-citation-prefix-regexp' is in the
2812 default face, and the remainder of the line is in the
2813 wl-highlight-message-cited-text face."
2815 :group 'wl-highlight)
2817 (defcustom wl-highlight-force-citation-header-regexp
2818 "^>>>.*$\\|^[ \t]*<[^>]*>[ \t]*$"
2819 "*The pattern to match the prolog of a cited block.
2820 Text in the body of a message which matches this will be displayed in
2821 the `wl-highlight-message-headers' face."
2823 :group 'wl-highlight)
2825 (defcustom wl-highlight-citation-header-regexp
2826 (concat "In article.*$\\|In message.*$\\|In the message.*$\\|"
2827 "^At[^\n]+\n[^\n]+wrote:\n\\|"
2828 "^.*\\(writes\\|wrote\\|said\\):\n")
2829 "*The pattern to match the prolog of a cited block.
2830 Text in the body of a message which matches this will be displayed in
2831 the `wl-highlight-message-headers' face."
2833 :group 'wl-highlight)
2835 (defcustom wl-highlight-max-header-size nil
2836 "*If the message header is larger than this many chars, don't highlight it.
2837 If this is nil, all headers will be highlighted."
2839 :group 'wl-highlight)
2841 (defcustom wl-highlight-max-message-size 10000
2842 "*If the message body is larger than this many chars, don't highlight it.
2843 This is to prevent us from wasting time trying to fontify things like
2844 uuencoded files and large digests. If this is nil, all messages will
2847 :group 'wl-highlight)
2849 ;; highilght about signature (of draft and message)
2850 (defcustom wl-highlight-signature-separator
2851 '("\n--+\n" "\n\n--+.*\n*\\'")
2852 "List of regexps matching signature separator.
2853 It will be verified from head to tail looking for a separator.
2854 Verification will be done from the end of the buffer.
2855 No need to specify \"^-- $\" in this list,
2856 because it is verified by default.
2857 This variable can also be a regex."
2858 :type '(repeat regexp)
2859 :group 'wl-highlight)
2861 (defcustom wl-max-signature-size 400
2862 "*If the signature is larger than this chars, don't treat it as a signature."
2864 :group 'wl-highlight)
2866 ;; highilght about mouse
2867 (defcustom wl-use-highlight-mouse-line (and window-system
2868 (>= emacs-major-version 19))
2869 "*Highlight mouse line, if non-nil."
2871 :group 'wl-highlight)
2873 (defcustom wl-highlight-summary-line-help-echo-alist
2874 '((flag wl-highlight-flag-folder-help-echo)
2875 (search elmo-message-file-name))
2876 "*Alist to display help-echo in summary buffer.
2877 Each element is (folder-type handler(function)).
2878 Handler take two arguments elmo-folder and message number and return string."
2880 :group 'wl-highlight)
2882 ;; highilght about folder
2883 (defcustom wl-highlight-folder-with-icon
2884 (or (and (featurep 'xemacs)
2887 "*Highlight folder with icon(XEmacs or Emacs 21)."
2889 :group 'wl-highlight)
2891 (defcustom wl-highlight-folder-by-numbers t
2892 "Highlight folder lines by numbers.
2893 If it is a number, only numbers will be highlighted."
2894 :type '(choice (const :tag "whole line" t)
2895 (const :tag "only numbers" 1)
2896 (const :tag "don't highlight" nil))
2897 :group 'wl-highlight)
2899 (defcustom wl-highlight-signature-search-function 'wl-highlight-signature-search
2900 "Function to search signature area in the message body."
2902 :group 'wl-highlight)
2904 (defcustom wl-use-dnd (and wl-on-xemacs
2905 (featurep 'dragdrop))
2906 "If Non-nil, support dragdrop feature in XEmacs."
2910 (defcustom wl-reset-plugged-alist t
2911 "*If non-nil, reset `elmo-plugged-alist' when startup."
2915 (defcustom wl-demo-display-logo (if (or (featurep 'xemacs)
2916 (module-installed-p 'image)
2917 (module-installed-p 'bitmap))
2919 "If it is T, show graphic logo in the startup screen. You can set it to
2920 a symbol `bitmap', `xbm' or `xpm' in order to force the image format."
2921 :type '(radio (const :tag "Off" nil)
2922 (const :tag "On (any format)" t)
2925 (const :tag "bitmap (using BITMAP-MULE)" bitmap))
2928 (defcustom wl-invalid-character-message "(WL:Invalid characters.)"
2929 "*A string displayed when invalid character exists."
2933 ;;; Internal variables
2934 (defvar wl-init nil)
2936 ;; For disconnected operations.
2937 (defvar wl-plugged-hook nil)
2938 (defvar wl-unplugged-hook nil)
2939 (defcustom wl-plugged t
2940 "*Plugged state at the startup. Nil means off-line."
2945 ;; Internal variables used to modeline identifiers.
2946 (defvar wl-modeline-plug-status nil)
2947 (defvar wl-modeline-plug-state-on wl-plug-state-indicator-on)
2948 (defvar wl-modeline-plug-state-off wl-plug-state-indicator-off)
2949 (defvar wl-modeline-biff-status nil)
2950 (defvar wl-modeline-biff-state-on wl-biff-state-indicator-on)
2951 (defvar wl-modeline-biff-state-off wl-biff-state-indicator-off)
2953 ;; Advanced thread view.
2954 (defvar wl-thread-indent-level (if wl-on-mule 1 2)
2955 "*Indent level for thread.")
2956 (defvar wl-thread-have-younger-brother-str (if wl-on-mule "
\e$B(2
\e(B" "+")
2957 "*A string for thread branch line. It should contain one character.")
2958 (defvar wl-thread-youngest-child-str (if wl-on-mule "
\e$B(1
\e(B" "+")
2959 "*A string for thread branch line. It should contain one character.")
2960 (defvar wl-thread-vertical-str (if wl-on-mule "
\e$B(-
\e(B" "|")
2961 "*A string for thread branch line. It should contain one character.")
2962 (defvar wl-thread-horizontal-str (if wl-on-mule "
\e$B(,
\e(B" "-")
2963 "*A string for thread branch line. It should contain one character.")
2964 (defvar wl-thread-space-str (if wl-on-mule "
\e$B!!
\e(B" " ")
2965 "*A string for thread branch line. It should contain one character.")
2967 ;; folder icons. filename relative to wl-icon-directory
2968 (defvar wl-opened-group-folder-icon "opened.xpm"
2969 "*Icon file for opened group folder.")
2970 (defvar wl-closed-group-folder-icon "closed.xpm"
2971 "*Icon file for closed group folder.")
2972 (defvar wl-nntp-folder-icon "news.xpm"
2973 "*Icon file for nntp folder.")
2974 (defvar wl-imap-folder-icon "imap.xpm"
2975 "*Icon file for imap folder.")
2976 (defvar wl-pop-folder-icon "pop.xpm"
2977 "*Icon file for pop folder.")
2978 (defvar wl-localdir-folder-icon "local.xpm"
2979 "*Icon file for localdir folder.")
2980 (defvar wl-localnews-folder-icon "localnews.xpm"
2981 "*Icon file for localnews folder.")
2982 (defvar wl-internal-folder-icon "internal.xpm"
2983 "*Icon file for internal folder.")
2984 (defvar wl-multi-folder-icon "multi.xpm"
2985 "*Icon file for multi folder.")
2986 (defvar wl-filter-folder-icon "filter.xpm"
2987 "*Icon file for filter folder.")
2988 (defvar wl-archive-folder-icon "archive.xpm"
2989 "*Icon file for archive folder.")
2990 (defvar wl-pipe-folder-icon "pipe.xpm"
2991 "*Icon file for pipe folder.")
2992 (defvar wl-search-folder-icon "nmz.xpm"
2993 "*Icon file for search folder.")
2994 (defvar wl-shimbun-folder-icon "shimbun.xpm"
2995 "*Icon file for shimbun folder.")
2996 (defvar wl-file-folder-icon "file.xpm"
2997 "*Icon file for file folder.")
2998 (defvar wl-maildir-folder-icon "maildir.xpm"
2999 "*Icon file for maildir folder.")
3000 (defvar wl-access-folder-icon "access.xpm"
3001 "*Icon file for access folder.")
3002 (defvar wl-empty-trash-folder-icon "trash-e.xpm"
3003 "*Icon file for emptied trash folder.")
3004 (defvar wl-trash-folder-icon "trash.xpm"
3005 "*Icon file for trash folder.")
3006 (defvar wl-draft-folder-icon "draft.xpm"
3007 "*Icon file for draft folder.")
3008 (defvar wl-queue-folder-icon "queue.xpm"
3009 "*Icon file for queue folder.")
3010 (defvar wl-plugged-icon "plugged.xpm"
3011 "*Icon file for plugged state.")
3012 (defvar wl-unplugged-icon "unplugged.xpm"
3013 "*Icon file for unplugged state.")
3014 (defvar wl-biff-mail-icon "letter.xpm"
3015 "*Icon file for mail existed state.")
3016 (defvar wl-biff-nomail-icon "no-letter.xpm"
3017 "*Icon file for no mail existed state.")
3018 (defvar wl-prog-uudecode "uudecode"
3019 "*uudecode program name.")
3020 (defvar wl-prog-uudecode-arg nil
3021 "*Arguments for uudecode program.")
3022 (defvar wl-prog-uudecode-no-stdout-option t
3023 "*If non-nil, uudecode program don't have option for output to stdout.")
3026 (defvar wl-plugged-plug-on "ON")
3027 (defvar wl-plugged-plug-off "--")
3028 (defvar wl-plugged-auto-off "**")
3029 (defvar wl-plugged-server-indent 2)
3030 (defvar wl-plugged-port-indent 4)
3031 (defvar wl-plugged-queue-status-column 25)
3033 ;;;; Obsolete variables.
3036 (elmo-define-obsolete-variable 'wl-nmz-folder-icon
3037 'wl-search-folder-icon)
3040 (elmo-define-obsolete-variable 'wl-summary-new-mark
3041 'wl-summary-new-uncached-mark)
3043 ;; 2003-07-15 delete -> dispose
3044 (elmo-define-obsolete-variable 'wl-delete-folder-alist
3045 'wl-dispose-folder-alist)
3048 (elmo-define-obsolete-variable 'wl-draft-reply-myself-with-argument-list
3049 'wl-draft-reply-with-argument-list)
3050 (elmo-define-obsolete-variable 'wl-draft-reply-myself-without-argument-list
3051 'wl-draft-reply-without-argument-list)
3053 ;; 2001-12-11: *-dir -> *-directory
3054 (elmo-define-obsolete-variable 'wl-icon-dir
3056 (elmo-define-obsolete-variable 'wl-mime-save-dir
3057 'wl-mime-save-directory)
3058 (elmo-define-obsolete-variable 'wl-score-files-dir
3059 'wl-score-files-directory)
3060 (elmo-define-obsolete-variable 'wl-tmp-dir
3061 'wl-temporary-file-directory)
3064 (elmo-define-obsolete-variable 'wl-summary-update-confirm-threshold
3065 'elmo-folder-update-threshold)
3066 (elmo-define-obsolete-variable 'wl-fetch-confirm-threshold
3067 'elmo-message-fetch-threshold)
3069 (elmo-define-obsolete-variable 'wl-cache-prefetch-folder-type-list
3070 'wl-message-buffer-prefetch-folder-type-list)
3071 (elmo-define-obsolete-variable 'wl-cache-prefetch-folder-list
3072 'wl-message-buffer-prefetch-folder-list)
3074 ;; 2001-02-27: *-func -> *-function
3075 (elmo-define-obsolete-variable 'wl-summary-from-func
3076 'wl-summary-from-function)
3077 (elmo-define-obsolete-variable 'wl-summary-subject-func
3078 'wl-summary-subject-function)
3079 (elmo-define-obsolete-variable 'wl-summary-subject-filter-func
3080 'wl-summary-subject-filter-function)
3081 (elmo-define-obsolete-variable 'wl-draft-send-func
3082 'wl-draft-send-function)
3083 (elmo-define-obsolete-variable 'wl-draft-send-news-func
3084 'wl-draft-send-news-function)
3085 (elmo-define-obsolete-variable 'wl-draft-send-mail-func
3086 'wl-draft-send-mail-function)
3087 (elmo-define-obsolete-variable 'wl-print-buffer-func
3088 'wl-print-buffer-function)
3089 (elmo-define-obsolete-variable 'wl-ps-print-buffer-func
3090 'wl-ps-print-buffer-function)
3091 (elmo-define-obsolete-variable 'wl-generate-mailer-string-func
3092 'wl-generate-mailer-string-function)
3093 (elmo-define-obsolete-variable 'wl-highlight-x-face-func
3094 'wl-highlight-x-face-function)
3095 (elmo-define-obsolete-variable 'wl-fldmgr-sort-func
3096 'wl-fldmgr-sort-function)
3097 (elmo-define-obsolete-variable 'wl-expire-archive-get-folder-func
3098 'wl-expire-archive-get-folder-function)
3099 (elmo-define-obsolete-variable 'wl-highlight-signature-search-func
3100 'wl-highlight-signature-search-function)
3102 ;; 2000-01-25: temp mark -> target mark
3103 (elmo-define-obsolete-variable 'wl-summary-temp-above
3104 'wl-summary-target-above)
3106 ;; 1999-11-07: Unified with `wl-draft-config-alist'.
3107 (defvar wl-draft-prepared-config-alist nil)
3108 (make-obsolete-variable 'wl-draft-prepared-config-alist
3109 'wl-draft-config-alist)
3112 (elmo-define-obsolete-variable 'wl-address-filename
3114 (elmo-define-obsolete-variable 'wl-score-default-file-name
3115 'wl-score-default-file)
3119 (product-provide (provide 'wl-vars) (require 'wl-version))
3121 ;;; wl-vars.el ends here