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.
38 ;;; Customizable Variables
41 "Wanderlust, a news and mail reading software."
43 :link (` (custom-manual
44 (, (if (and (boundp 'current-language-environment)
45 (string-equal "Japanese"
46 (symbol-value 'current-language-environment)))
53 "Wanderlust, Preferences."
57 (defgroup wl-folder nil
58 "Wanderlust, folder buffer."
62 (defgroup wl-summary nil
63 "Wanderlust, summary buffer."
67 (defgroup wl-summary-marks nil
68 "Wanderlust, marks used in summary buffers."
72 (defgroup wl-expire nil
73 "Wanderlust, Expiring and archiving."
77 (defgroup wl-score nil
78 "Wanderlust, Score file handling."
82 (defgroup wl-highlight nil
83 "Wanderlust, Highlights."
87 (defgroup wl-draft nil
88 "Wanderlust, draft mode."
92 (defgroup wl-setting nil
93 "Wanderlust common settings."
98 (defconst wl-on-xemacs (featurep 'xemacs))
100 (defconst wl-on-emacs21 (and (not wl-on-xemacs)
101 (>= emacs-major-version 21)))
103 (defconst wl-on-mule (featurep 'mule))
105 (defconst wl-on-mule3
106 (and wl-on-mule (or wl-on-xemacs
107 (> emacs-major-version 19))))
109 (defconst wl-on-nemacs nil) ; backward compatibility.
112 (defun-maybe locate-data-directory (a)))
115 (cond (wl-on-mule3 'binary)
116 (wl-on-mule '*noconv*)
119 (defvar wl-cs-autoconv
120 (cond (wl-on-mule3 'undecided)
121 (wl-on-mule '*autoconv*)
125 (cond (wl-on-mule3 'junet)
126 (wl-on-mule '*junet*)
129 (defvar wl-cs-cache wl-cs-local)
131 (defvar wl-use-semi (module-installed-p 'mime-view) ; If nil, use tm.
134 (defcustom wl-from (and user-mail-address
135 (concat (and user-full-name
136 (concat (elmo-address-quote-specials
139 "<" user-mail-address ">"))
140 "*From string used in draft."
145 (defcustom wl-user-mail-address-list nil
146 "*A list of user's mail addresses.
147 This list is used to judge whether an address is user's or not.
148 You should set this variable if you use multiple e-mail addresses.
149 If you don't have multiple e-mail addresses, you don't have to set this."
150 :type '(repeat string)
154 (defcustom wl-organization (getenv "ORGANIZATION")
156 :type '(choice (const :tag "none" nil)
161 (defcustom wl-tmp-dir "~/tmp/"
162 "*Default temporary directory to save message, part."
166 (defcustom wl-icon-dir (if (fboundp 'locate-data-directory)
167 (locate-data-directory "wl")
168 (let ((icons (expand-file-name "wl/icons/"
170 (if (file-directory-p icons)
172 "*Icon directory (XEmacs or Emacs 21)."
173 :type '(choice (const :tag "none" nil)
177 (defcustom wl-summary-from-function 'wl-summary-default-from
178 "*A function for displaying sender (From: field) information."
182 (defcustom wl-summary-subject-function 'wl-summary-default-subject
183 "*A function for displaying subject."
187 (defcustom wl-summary-subject-filter-function 'wl-summary-default-subject-filter
188 "*A filter function for comparing subjects."
192 (defcustom wl-summary-search-parent-by-subject-regexp "^[ \t]*\\(\\[[^:]+[,: ][0-9]+\\]\\)?[ \t]*re[\\^[:> ]"
193 "*If message does not have in-reply-to field nor references field and
194 subject matches this regexp, search parent message by subject matching."
198 (defcustom wl-summary-update-confirm-threshold 500
199 "*Confirm updating summary if message number is larger than this value.
200 If nil, all the message will be updated without confirmation."
201 :type '(choice (const :tag "Never confirm" nil)
206 (defcustom wl-default-folder "%inbox"
207 "*Default folder used in `wl-summary-goto-folder'."
210 (defcustom wl-draft-folder "+draft"
214 (defcustom wl-trash-folder "+trash"
219 (defcustom wl-queue-folder "+queue"
224 (defcustom wl-default-spec "%"
229 (defcustom wl-insert-mail-followup-to nil
230 "*Insert Mail-Followup-To: field if non-nil."
234 (defcustom wl-insert-mail-reply-to nil
235 "*Insert Mail-Reply-To: field if non-nil."
239 (defcustom wl-insert-message-id t
240 "*Insert Message-ID: field if non-nil."
244 (defcustom wl-auto-insert-x-face t
245 "*Insert X-Face: field automatically."
249 (defcustom wl-x-face-file "~/.xface"
250 "*X-Face field is inserted using its contents.
251 If file exists and `wl-auto-insert-x-face' is non-nil."
255 (defcustom wl-subscribed-mailing-list nil
256 "*Subscribed mailing list.
257 You had better set this variable if you set 'wl-insert-mail-followup-to' as t."
258 :type '(repeat string)
263 "*Display demo at start time."
267 (defcustom wl-envelope-from nil
268 "*Envelope From used in SMTP.
269 If nil, `wl-from' is used."
270 :type '(choice (const :tag "Same as 'From' field." nil)
275 (defcustom wl-draft-add-in-reply-to t
276 "*If non-nil, message-id of the cited message is inserted to the
277 in-reply-to field of the current draft."
281 (defcustom wl-draft-add-references nil
282 "*If non-nil, message-id of the cited message is inserted to the
283 references field of the current draft."
287 (defcustom wl-smtp-connection-type nil
288 "*SMTP connection type.
289 If nil, default smtp connection type is used."
290 :type '(choice (const :tag "default" nil)
291 (const :tag "Use STARTTLS" starttls)
295 (defcustom wl-smtp-posting-user nil
296 "*SMTP authentication user."
297 :type '(choice (const :tag "none" nil)
302 (defcustom wl-smtp-posting-server nil
303 "*SMTP server name to send mail (wl-draft-send-mail-with-smtp)."
304 :type '(choice (const :tag "none" nil)
309 (defcustom wl-smtp-posting-port nil
310 "*SMTP port number in `wl-smtp-posting-server'.
311 If nil, default SMTP port number(25) is used."
312 :type '(choice (const :tag "Default (25)" nil)
317 (defcustom wl-smtp-authenticate-type nil
318 "*SMTP Authentication type.
319 If nil, don't authenticate."
320 :type '(choice (const :tag "none" nil)
321 (const :tag "PLAIN" "plain")
322 (const :tag "CRAM-MD5" "cram-md5")
323 (const :tag "LOGIN" "login")
324 (string :tag "Other"))
328 (defcustom wl-pop-before-smtp-user nil
329 "*POP3 user name to send mail using POP-before-SMTP.
330 If nil, `elmo-pop3-default-user' is used.
331 To use POP-before-SMTP,
332 \(setq wl-draft-send-mail-function 'wl-draft-send-mail-with-pop-before-smtp\)"
333 :type '(choice (const :tag "none" nil)
338 (defcustom wl-pop-before-smtp-server nil
339 "*POP3 server for POP-before-SMTP.
340 If nil, `elmo-pop3-default-server' is used."
341 :type '(choice (const :tag "none" nil)
346 (defcustom wl-pop-before-smtp-port nil
347 "*POP3 port for POP-before-SMTP.
348 If nil, `elmo-pop3-default-port' is used."
349 :type '(choice (const :tag "none" nil)
354 (defcustom wl-pop-before-smtp-stream-type nil
355 "*Stream type for POP-before-SMTP.
356 If nil, `elmo-pop3-default-stream-type' is used."
360 (defcustom wl-pop-before-smtp-authenticate-type nil
361 "*Default Authentication type for POP-before-SMTP.
362 If nil, `elmo-pop3-default-authenticate-type' is used."
363 :type '(choice (const :tag "none" nil)
364 (const :tag "APOP" "apop")
365 (const :tag "POP3" "user"))
369 (defcustom wl-nntp-posting-server nil
370 "*NNTP server name to post news.
371 If nil, `elmo-nntp-default-server' is used."
372 :type '(choice (const :tag "none" nil)
376 (defcustom wl-nntp-posting-user nil
377 "*NNTP user name to post news for authinfo.
378 If nil, `elmo-nntp-default-user' is used.
379 If nil, don't authenticate."
380 :type '(choice (const :tag "none" nil)
384 (defcustom wl-nntp-posting-port nil
385 "*NNTP port to post news.
386 If nil, `elmo-nntp-default-port' is used."
387 :type '(choice (const :tag "none" nil)
391 (defcustom wl-nntp-posting-stream-type nil
392 "*Stream type for posting Netnews.
393 If nil, `elmo-nntp-default-stream-type' is used."
397 (defcustom wl-fetch-confirm-threshold 30000
398 "*Confirm fetching if message size is larger than this value."
403 (defcustom wl-prefetch-confirm t
404 "*Confirm prefetching if message size is larger than `wl-prefetch-threshold'."
408 (defcustom wl-prefetch-threshold 30000
409 "*Maximum size of message prefetched without confirmation.
410 If nil, all messages prefetched regardless of its size.
411 If message size is larger than this value, confirm prefetching
412 when `wl-prefetch-confirm' is non-nil."
413 :type '(choice (integer :tag "Threshold (bytes)")
414 (const :tag "No limitation" nil))
418 (defcustom wl-cache-prefetch-threshold 30000
419 "*Quit forward cache prefetching if message size is larger than this value."
423 (defcustom wl-thread-insert-opened nil
424 "*Non-nil forces to insert thread as opened in updating."
429 (defcustom wl-thread-open-reading-thread t
430 "*Non-nil forces to open reading thread."
435 (defvar wl-folder-mode-hook nil
436 "A hook called when wanderlust folder mode is started.
437 This hook may contain the functions `wl-folder-init-icons' and
438 `wl-setup-folder' for reasons of system internal to accord facilities
439 for the Emacs variants.")
440 (defvar wl-summary-toggle-disp-on-hook nil
441 "A hook called when message is toggled.")
442 (defvar wl-summary-toggle-disp-off-hook nil
443 "A hook called when message is disappeared.")
444 (defvar wl-summary-toggle-disp-folder-on-hook nil
445 "A hook called when folder is toggled.")
446 (defvar wl-summary-toggle-disp-folder-off-hook nil
447 "A hook called when folder is disappeared.")
448 (defvar wl-summary-toggle-disp-folder-message-resumed-hook nil
449 "A hook called when message window is resumed when folder is toggled.")
450 (defvar wl-summary-mode-hook nil
451 "A hook called when summary mode is started.
452 This hook may contain the function `wl-setup-summary' for reasons of
453 system internal to accord facilities for the Emacs variants.")
455 (defvar wl-summary-prepared-pre-hook nil
456 "A hook called before the summary buffer has been generated.")
457 (defvar wl-summary-prepared-hook nil
458 "A hook called after the summary buffer has been generated.")
459 (defvar wl-summary-sync-updated-hook nil
460 "A hook called when update summary buffer.")
461 (defvar wl-summary-unread-message-hook nil
462 "A hook called when unread message is displayed.")
463 (defvar wl-summary-edit-addresses-hook nil
464 "A hook called when address book is edited.")
465 (defvar wl-summary-buffer-message-saved-hook nil
466 "A hook called when msgdb is saved.")
467 (defvar wl-summary-buffer-mark-saved-hook nil
468 "A hook called when mark is saved.")
469 (defvar wl-summary-divide-thread-when-subject-changed nil
470 "Divide thread when subject is changed.")
471 (defvar wl-init-hook nil
472 "A hook called when initialization is finished. This hook may contain
473 the functions `wl-plugged-init-icons' and `wl-biff-init-icons' for
474 reasons of system internal to accord facilities for the Emacs variants.")
476 "A hook called when Wanderlust is invoked.")
477 (defvar wl-reply-hook nil
478 "A hook called when replied.")
479 (defvar wl-mail-setup-hook nil
480 "A hook called when Draft is prepared.")
481 (defvar wl-draft-reedit-hook nil
482 "A hook called when Draft is re-edited.")
483 (defvar wl-draft-send-hook '(wl-draft-config-exec)
484 "A hook called on the draft editing buffer before sending process starts.")
485 (defvar wl-mail-send-pre-hook nil
486 "A hook called just before the mail sending process starts.")
487 (defvar wl-news-send-pre-hook nil
488 "A hook called just before the news sending process starts.")
489 (defvar wl-message-buffer-created-hook nil
490 "A hook called when Message buffer is prepared.")
491 (defvar wl-message-redisplay-hook nil
492 "A hook called when Message is displayed.")
493 (defvar wl-message-exit-hook nil
494 "A hook called when quit message.")
495 (defvar wl-summary-exit-pre-hook nil
496 "A hook called before exit summary mode.")
497 (defvar wl-summary-exit-hook nil
498 "A hook called when exit summary mode.")
499 (defvar wl-highlight-headers-hook nil
500 "A hook called when header is highlighted.")
501 (defvar wl-highlight-message-hook nil
502 "A hook called when message is highlighted.")
503 (defvar wl-save-hook nil
504 "A hook called when save summary and folder status.")
505 (defvar wl-exit-hook nil
506 "A hook called when exit wanderlust.")
507 (defvar wl-folder-suspend-hook nil
508 "A hook called when suspend wanderlust.")
509 (defvar wl-biff-notify-hook '(ding)
510 "A hook called when a biff-notification is invoked.")
511 (defvar wl-biff-unnotify-hook nil
512 "A hook called when a biff-notification is removed.")
513 (defvar wl-auto-check-folder-pre-hook nil
514 "A hook called before auto check folders.")
515 (defvar wl-auto-check-folder-hook nil
516 "A hook called when auto check folders.")
517 (defvar wl-folder-check-entity-pre-hook nil
518 "A hook called before check entity.")
519 (defvar wl-folder-check-entity-hook nil
520 "A hook called when check entity.")
521 (defvar wl-draft-config-exec-hook nil
522 "A hook called when execute header-config on draft.")
523 (defvar wl-summary-expire-pre-hook nil
524 "A hook called before expire.")
525 (defvar wl-summary-expire-hook nil
526 "A hook called when expired.")
527 (defvar wl-summary-archive-pre-hook nil
528 "A hook called before archive.")
529 (defvar wl-summary-archive-hook nil
530 "A hook called when archived.")
531 (defvar wl-summary-line-inserted-hook nil
532 "A hook called when summary line is inserted.")
533 (defvar wl-summary-insert-headers-hook nil
534 "A hook called when insert header for search header.")
535 (defvar wl-message-display-internal-hook nil
536 "A hook called when message buffer is created and message is displayed.
537 This hook may contain the functions `wl-setup-message' for
538 reasons of system internal to accord facilities for the Emacs variants.")
539 (defvar wl-thread-update-children-number-hook nil
540 "A hook called when children number is updated.")
541 (defvar wl-folder-update-access-group-hook nil
542 "A hook called when update access group folder.")
543 (defvar wl-draft-cited-hook nil
544 "A hook called after a message is cited.")
545 (defvar wl-draft-insert-x-face-field-hook nil
546 "A hook called after a x-face field is inserted.")
547 (defvar wl-template-mode-hook nil
548 "A hook called when template mode is started.")
549 (defvar wl-score-mode-hook nil
550 "A hook called when score mode is started.")
551 (defvar wl-make-plugged-hook nil
552 "A hook called when make plugged alist.")
554 (defvar wl-plugged-exit-hook nil
555 "A hook called when exit plugged mode.")
557 ;;;; functions for draft
558 (defcustom wl-draft-send-function 'wl-draft-normal-send-func
559 "A function to send message."
563 (defcustom wl-draft-send-news-function 'wl-draft-elmo-nntp-send
564 "A function to send news."
568 (defcustom wl-draft-send-mail-function 'wl-draft-send-mail-with-smtp
569 "A function to send mail.
570 Prepared candidates are 'wl-draft-send-mail-with-smtp,
571 'wl-draft-send-mail-with-qmail and 'wl-draft-send-mail-with-pop-before-smtp."
572 :type '(radio (function-item wl-draft-send-mail-with-smtp)
573 (function-item wl-draft-send-mail-with-qmail)
574 (function-item wl-draft-send-mail-with-pop-before-smtp)
575 (function :tag "Other"))
578 (defcustom wl-draft-reply-with-argument-list
579 '(("Reply-To" . (("Reply-To") nil nil))
580 ("Mail-Reply-To" . (("Mail-Reply-To") nil nil))
581 ("From" . (("From") nil nil)))
582 "Alist of cons cell of
583 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
584 'field-name' is a string.
585 'fields for ***' is a list of strings.
586 If car of each cons cell exists in original message,
587 cdr of each cons cell is used for draft message.
588 Default is for 'reply-to-author'."
589 :type '(repeat (cons (choice (string :tag "Field Name")
590 (repeat (string :tag "Field Name")))
591 (list (repeat :tag "Fields For To" string)
592 (repeat :tag "Fields For Cc" string)
593 (repeat :tag "Fields For Newsgroups" string))))
596 (defcustom wl-draft-reply-without-argument-list
597 '(("Followup-To" . (nil nil ("Followup-To")))
598 ("Mail-Followup-To" . (("Mail-Followup-To") nil ("Newsgroups")))
599 ("Reply-To" . (("Reply-To") ("To" "Cc" "From") ("Newsgroups")))
600 ("From" . (("From") ("To" "Cc") ("Newsgroups"))))
601 "Alist of cons cell of
602 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
603 'field-name' is a string.
604 'fields for ***' is a list of strings.
605 If car of each cons cell exists in original message,
606 cdr of each cons cell is used for draft message.
607 Default is for 'reply-to-all'."
608 :type '(repeat (cons (choice (string :tag "Field Name")
609 (repeat (string :tag "Field Name")))
610 (list (repeat :tag "Fields For To" string)
611 (repeat :tag "Fields For Cc" string)
612 (repeat :tag "Fields For Newsgroups" string))))
615 (defcustom wl-draft-reply-myself-with-argument-list
616 '(("Followup-To" . (("To") ("Cc") ("Followup-To")))
617 ("Newsgroups" . (("To") ("Cc") ("Newsgroups")))
618 ("From" . (("To") ("Cc") nil)))
619 "Alist of cons cell of
620 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
621 'field-name' is a string.
622 'fields for ***' is a list of strings.
623 If car of each cons cell exists in original message,
624 cdr of each cons cell is used for draft message.
625 Default is for 'reply-to-me'."
626 :type '(repeat (cons (choice (string :tag "Field Name")
627 (repeat (string :tag "Field Name")))
628 (list (repeat :tag "Fields For To" string)
629 (repeat :tag "Fields For Cc" string)
630 (repeat :tag "Fields For Newsgroups" string))))
633 (defcustom wl-draft-reply-myself-without-argument-list
634 '(("Followup-To" . (("To") ("Cc") ("Followup-To")))
635 ("Newsgroups" . (("To") ("Cc") ("Newsgroups")))
636 ("From" . (("To") ("Cc") nil)))
637 "Alist of cons cell of
638 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
639 'field-name' is a string.
640 'fields for ***' is a list of strings.
641 If car of each cons cell exists in original message,
642 cdr of each cons cell is used for draft message.
643 Default is for 'followup-to-me'."
644 :type '(repeat (cons (choice (string :tag "Field Name")
645 (repeat (string :tag "Field Name")))
646 (list (repeat :tag "Fields For To" string)
647 (repeat :tag "Fields For Cc" string)
648 (repeat :tag "Fields For Newsgroups" string))))
651 (defcustom wl-draft-always-delete-myself nil
652 "*Always delete myself from reciepient if non-nil."
656 (defcustom wl-draft-delete-myself-from-bcc-fcc nil
657 "*Do not insert bcc or fcc if To and Cc fields is a member of
658 `wl-subscribed-mailing-list'"
662 (defcustom wl-draft-resume-folder-window t
663 "*Resume folder window in `wl-draft-hide'."
667 (defcustom wl-draft-use-frame nil
668 "*Raise new frame when composing draft."
672 (defcustom wl-draft-qmail-send-plugged nil
673 "*Send mail when plugged is on, in the `wl-draft-send-mail-with-qmail'."
677 (defcustom wl-draft-remove-group-list-contents t
678 "*If non-nil, remove group list contents in `wl-draft-send-mail-with-smtp'."
683 (defcustom wl-init-file "~/.wl"
684 "*User customization setting file."
688 (defcustom wl-folders-file "~/.folders"
693 (defcustom wl-address-file "~/.addresses"
698 (defcustom wl-alias-file "~/.im/Aliases"
699 "*Alias file for completion."
703 (defcustom wl-ldap-server "localhost"
705 :type '(string :tag "Server")
709 (defcustom wl-ldap-port nil
711 :type '(choice (const :tag "Default port" nil)
716 (defcustom wl-ldap-base "c=US"
718 :type '(string :tag "Base")
722 (defcustom wl-ldap-objectclass "person"
728 (defcustom wl-use-ldap nil
729 "*If non-nil, use LDAP for address completion."
734 (defcustom wl-use-acap nil
735 "*If non-nil, use ACAP for configuration."
739 (defcustom wl-folder-info-save t
740 "If non-nil, save elmo-folder-info-alist."
744 (defcustom wl-summary-unread-mark "!"
745 "Mark for unread message."
746 :type '(string :tag "Mark")
747 :group 'wl-summary-marks)
748 (defcustom wl-summary-important-mark "$"
749 "Mark for important message."
750 :type '(string :tag "Mark")
751 :group 'wl-summary-marks)
752 (defcustom wl-summary-new-mark "N"
753 "Mark for new message."
754 :type '(string :tag "Mark")
755 :group 'wl-summary-marks)
756 (defcustom wl-summary-unread-uncached-mark "U"
757 "Mark for unread and uncached message."
758 :type '(string :tag "Mark")
759 :group 'wl-summary-marks)
760 (defcustom wl-summary-unread-cached-mark "!"
761 "Mark for unread but already cached message."
762 :type '(string :tag "Mark")
763 :group 'wl-summary-marks)
764 (defcustom wl-summary-read-uncached-mark "u"
765 "Mark for read but uncached message."
766 :type '(string :tag "Mark")
767 :group 'wl-summary-marks)
768 (defcustom wl-summary-score-over-mark "+"
769 "Score mark used for messages with high scores."
770 :type '(string :tag "Mark")
771 :group 'wl-summary-marks)
772 (defcustom wl-summary-score-below-mark "-"
773 "Score mark used for messages with low scores."
774 :type '(string :tag "Mark")
775 :group 'wl-summary-marks)
777 (defcustom wl-summary-no-mime-folder-list
778 (list (concat "^" (regexp-quote wl-draft-folder) "$"))
779 "*All folders that match this list don't analysis mime."
780 :type '(repeat string)
783 (defcustom wl-summary-fix-timezone nil
784 "*Time zone of the date string in summary mode.
785 If nil, it is adjust to the default time zone information
786 \(system's default time zone or environment variable TZ\)."
787 :type '(choice (const :tag "Default time zone" nil)
791 (defcustom wl-summary-default-score 0
792 "*Default message score level.
793 All scores generated by the score files will be added to this score.
794 If this variable is nil, scoring will be disabled."
795 :type '(choice (const :tag "disable" nil)
799 (defcustom wl-summary-important-above nil
800 "*Mark all messages with a score above this variable as important.
801 This variable is local to the summary buffers."
802 :type '(choice (const :tag "off" nil)
806 (defcustom wl-summary-target-above nil
807 "*Mark all messages with a score above this variable as target.
808 This variable is local to the summary buffers."
809 :type '(choice (const :tag "off" nil)
813 (defcustom wl-summary-mark-below 0
814 "*Mark all messages with a score below this variable as read.
815 This variable is local to each summary buffer and usually set by the
820 (defcustom wl-summary-expunge-below nil
821 "All messages that have a score less than this variable will be expunged.
822 This variable is local to the summary buffers."
823 :type '(choice (const :tag "off" nil)
827 (defcustom wl-summary-score-marks
828 (list wl-summary-new-mark)
829 "Persistent marks to scoring."
830 :type '(repeat (string :tag "Mark"))
833 (defcustom wl-use-scoring t
834 "*If non-nil, enable scoring."
838 (defcustom wl-summary-rescore-partial-threshold 200
839 "*Summary is not scored entirely if there are messages more than this value.
840 In sync-all or rescan."
844 (defcustom wl-score-files-dir (concat elmo-msgdb-dir elmo-path-sep)
845 "*Name of the directory where score files will be stored.
846 (default \"~/.elmo\")."
850 (defcustom wl-score-interactive-default-score 1000
851 "*Scoring commands will raise/lower the score with this number as the default."
855 (defcustom wl-score-expiry-days 7
856 "*Number of days before unused score file entries are expired.
857 If this variable is nil, no score file entries will be expired."
858 :type '(choice (const :tag "never" nil)
862 (defcustom wl-score-update-entry-dates t
863 "*In non-nil, update matching score entry dates.
864 If this variable is nil, then score entries that provide matches
865 will be expired along with non-matching score entries."
869 (defcustom wl-score-folder-alist nil
870 "*Alist of folder regexp and score file."
871 :type '(repeat (list (regexp :tag "Folder Regexp")
874 (symbol :tag "Variable")))))
877 (defcustom wl-score-folder-alist-matchone t
878 "*If non-nil, getting only one element of `wl-score-folder-alist'."
882 (defcustom wl-score-default-file "all.SCORE"
883 "*Default score file name."
887 (defcustom wl-score-simplify-fuzzy-regexp
888 '("^[ \t]*\\[[^:]+[,: ][0-9]+\\][ \t]*")
889 "*Strings to be removed when doing fuzzy matches.
890 This can either be a regular expression or list of regular expressions."
891 :type '(repeat regexp)
894 (defcustom wl-score-header-default-entry
895 '(("number" -1000 perm =)
896 ("subject" -1000 nil nil)
897 ("from" -1000 perm s)
898 ("message-id" -1000 temp e)
899 ("references" -1000 perm e)
902 ("date" -1000 temp nil)
903 ("xref" -1000 perm s)
904 ("extra" -1000 perm s)
905 ("chars" -1000 perm >)
906 ("lines" -1000 perm >)
907 ("followup" -1000 perm s)
908 ("thread" -1000 temp s))
909 "*Default entry when insert score entry."
910 :type '(repeat (list (string :tag "Header")
911 (choice (integer :tag "Score")
912 (const :tag "Ask" nil))
913 (choice (const :tag "Permanent" perm)
914 (const :tag "Temporary" temp)
915 (const :tag "Ask" nil))
916 (choice (const :tag "Regexp string" r)
917 (const :tag "Substring" s)
918 (const :tag "fuzzy string" f)
919 (const :tag "Exact string" e)
920 (const :tag "REGEXP STRING" R)
921 (const :tag "SUBSTRING" S)
922 (const :tag "FUZZY STRING" F)
923 (const :tag "EXACT STRING" E)
924 (const :tag "less than" <)
925 (const :tag "less equal" <=)
926 (const :tag "greater than" >)
927 (const :tag "greater equal" >=)
928 (const :tag "equal" =)
929 (const :tag "Ask" nil))))
932 (defcustom wl-score-mode-mime-charset 'x-ctext
933 "*MIME Charset for score file."
937 (defcustom wl-draft-fields
938 '("To:" "Cc:" "Bcc:" "FCC:" "Distribution:" "Organization:"
939 "Newsgroups:" "Followup-To:" "Mail-Followup-To:" "From:" "Reply-To:")
940 "Fields used in draft mode."
941 :type '(repeat (string :tag "Field"))
944 (defcustom wl-draft-config-alist nil
945 "Alist of configuration field on draft.
947 '((\"^To: .*wl@lists.airs.net\"
948 (\"From\" . wl-from2)
949 (\"Organization\" . wl-organization2))
950 (\"^To: .*hogehoge@\"
951 (\"From\" . \"Anonymous <hogehoge@aaa.ne.jp>\")
952 wl-my-draft-config-func-hoge))"
953 :type '(repeat (list (sexp :tag "Match")
956 (choice (cons (sexp :tag "Field(Variable)")
958 (sexp :tag "Function")))))
962 (defcustom wl-draft-config-matchone nil
963 "*If non-nil, applied only one element of `wl-draft-config-alist'."
968 (defcustom wl-template-alist nil
970 :type '(repeat (list (string :tag "Name")
973 (choice (cons (sexp :tag "Field(Variable)")
975 (sexp :tag "Function")))))
979 (defcustom wl-template-visible-select t
980 "*If non-nil, select template with visible."
984 (defcustom wl-template-confirm nil
985 "*If non-nil, require your confirmation when selected template."
989 (defcustom wl-template-buffer-lines 7
990 "*Lines of template buffer."
995 (defcustom wl-draft-enable-queuing t
996 "*Non-nil enables queued sending."
1001 (defcustom wl-draft-use-cache nil
1002 "*If non-nil, sending message is cached."
1007 (defcustom wl-auto-flush-queue t
1008 "*If non-nil, sending queue is flushed when network status is toggled."
1013 (defcustom wl-draft-reply-buffer-style 'split
1015 :type '(radio (const split)
1019 (defcustom wl-draft-queue-save-variables
1020 '(wl-envelope-from wl-from
1021 wl-smtp-posting-server wl-smtp-posting-user wl-smtp-posting-port
1022 wl-smtp-authenticate-type wl-smtp-connection-type
1023 wl-pop-before-smtp-server wl-pop-before-smtp-user wl-pop-before-smtp-port
1024 wl-pop-before-smtp-stream-type wl-pop-before-smtp-authenticate-type
1025 wl-nntp-posting-server wl-nntp-posting-server
1026 wl-nntp-posting-user wl-nntp-posting-port wl-nntp-posting-stream-type)
1027 "*Saving variables in queue info."
1028 :type '(repeat (sexp :tag "Variable"))
1031 (defcustom wl-draft-sendlog t
1032 "*Keep send state in log if non-nil."
1036 (defcustom wl-draft-sendlog-max-size 20000
1037 "*Max file size of sendlog."
1041 (defcustom wl-summary-default-number-column 5
1042 "Number of columns in summary buffer."
1046 (defcustom wl-summary-number-column-alist '(("\\*.*" . 6))
1047 "Alist of folder and its number column.
1048 If no matches, 'wl-summary-default-number-column' is used.
1050 '((\"^%inbox@qmail-maildir\" . 9)
1051 (\"^-.*@news-server\" . 6))"
1052 :type '(repeat (cons (regexp :tag "Folder Regexp") integer))
1055 (defcustom wl-summary-highlight t
1056 "Non-nil forces Summary buffer to be highlighted."
1059 :group 'wl-highlight)
1061 (defcustom wl-summary-lazy-highlight (and (boundp 'window-scroll-functions)
1063 "Non-nil forces lazy summary highlighting using `window-scroll-functions'."
1066 :group 'wl-highlight)
1068 (defcustom wl-summary-highlight-partial-threshold 1000
1069 "Summary is not highlighted entirely if there are lines more than this value.
1070 Available if only `wl-summary-lazy-highlight' is nil."
1073 :group 'wl-highlight)
1075 (defcustom wl-summary-partial-highlight-above-lines 30
1076 "If Summary has lines more than `wl-summary-highlight-partial-threshold',
1077 Summary lines are highlighted partialy above current position.
1078 Available if only `wl-summary-lazy-highlight' is nil."
1081 :group 'wl-highlight)
1083 (defcustom wl-summary-cache-use t
1084 "Non-nil forces wl-summary to use cache file."
1088 (defcustom wl-summary-auto-sync-marks t
1089 "Non-nil forces to synchronize unread/important marks."
1093 (defcustom wl-summary-cache-file ".wl-summary-cache"
1094 "*Cache file for summary mode contents."
1097 (defcustom wl-summary-view-file ".wl-summary-view"
1098 "*Current summary view."
1101 (defcustom wl-thread-top-file ".wl-thread-top"
1102 "*Current thread top entity... obsolete."
1105 (defcustom wl-thread-entity-file ".wl-thread-entity"
1109 (defcustom wl-thread-entity-list-file ".wl-thread-entity-list"
1110 "*Thread top entity list."
1114 (defcustom wl-print-buffer-function 'lpr-buffer
1115 "A function to print current buffer."
1119 (defcustom wl-ps-print-buffer-function
1120 (if window-system 'ps-print-buffer-with-faces 'ps-print-buffer)
1121 "A function to print current buffer with ps-print."
1126 (defcustom wl-use-petname t
1127 "*Display petname in summary and default citation title."
1131 (defcustom wl-use-folder-petname
1133 "*List of situation using folder petname.
1134 Allowed situations are:
1135 modeline : displayed on modeline.
1136 ask-folder : displayed on minibuffer when ask folder.
1137 read-folder : can used for completion at `wl-summary-read-folder'."
1138 :type '(set (const modeline)
1140 (const read-folder))
1144 (defcustom wl-folder-petname-alist nil
1145 "A list of (realname . petname)."
1146 :type '(repeat (cons (string :tag "Realname") (string :tag "Petname")))
1149 (defcustom wl-summary-weekday-name-lang "ja"
1150 "*Language to display week day."
1151 :type '(choice (const "ja")
1155 (string :tag "Other"))
1159 (defcustom wl-local-domain nil
1160 "*Domain part of this client (without hostname).
1161 Set this if (system-name) does not return FQDN."
1162 :type '(choice (const :tag "Use System Name" nil)
1166 (defcustom wl-message-id-domain nil
1167 "*Specific domain part of Message-ID."
1168 :type '(choice (const :tag "Use System Name" nil)
1172 (defcustom wl-break-pages t
1173 "*Break Pages at ^L."
1177 (defcustom wl-message-truncate-lines default-truncate-lines
1178 "*Truncate lines in Message Buffer."
1182 (defcustom wl-draft-truncate-lines default-truncate-lines
1183 "*Truncate lines in Draft Buffer."
1188 (defcustom wl-message-scroll-amount 5
1189 "*Scroll amount by SPC key."
1193 (defcustom wl-message-window-size '(1 . 4)
1194 "*Size of summary and message window. cons cell of (Summary : Message)."
1195 :type '(cons integer integer)
1198 (defcustom wl-message-sort-field-list '("Return-Path" "Received" "^To" "^Cc"
1199 "Newsgroups" "Subject" "^From")
1200 "*Sort order of header fields. Each elements are regexp of field name."
1201 :type '(repeat (string :tag "Field Regexp"))
1205 (defcustom wl-message-ignored-field-list nil
1206 "All fields that match this list will be hidden in message buffer.
1207 Each elements are regexp of field-name."
1208 :type '(repeat (string :tag "Field Regexp"))
1212 (defcustom wl-message-visible-field-list nil
1213 "All fields that match this list will be displayed in message buffer.
1214 Each elements are regexp of field-name."
1215 :type '(repeat (string :tag "Field Regexp"))
1219 (defcustom wl-message-header-button-alist
1220 (` (("^\\(References\\|Message-Id\\|In-Reply-To\\):"
1222 0 wl-message-button-refer-article 0)
1224 "\\(<\\(url: \\)?news:\\([^>\n ]*\\)>\\)"
1225 1 wl-message-button-refer-article 3)))
1226 "Alist of headers and regexps to match buttons in message headers."
1228 (list (regexp :tag "Header")
1230 (integer :tag "Button")
1231 (function :tag "Callback")
1234 (integer :tag "Regexp group"))))
1237 (defcustom wl-message-body-button-alist
1238 '(("<mailto:[^>]+>" 0 'ignore 0 1024)
1239 ("<[^>]+@[^>]+>" 0 wl-message-button-refer-article 0 1024))
1240 "Alist of regexps to match buttons in message body."
1243 (integer :tag "Button")
1244 (function :tag "Callback")
1247 (integer :tag "Regexp group"))
1248 (integer :tag "Max Length")))
1251 (defcustom wl-folder-window-width 20
1252 "*Width of folder window."
1257 (defcustom wl-summary-recenter t
1258 "*Recenter on redisplay."
1263 (defcustom wl-folder-use-frame nil
1264 "*Use dedicated frame for folder mode if non-nil."
1268 (defcustom wl-summary-use-frame nil
1269 "*Use dedicated frame for each folder summary if non-nil."
1273 (defcustom wl-stay-folder-window nil
1274 "*Stay folder window when folder is selected if non-nil."
1278 (defcustom wl-reply-subject-prefix "Re: "
1279 "*Prefix of the subject of the replied message."
1284 (defcustom wl-draft-reply-use-address-with-full-name t
1285 "*Use address with full-name in the draft of replied message."
1290 (defcustom wl-subject-prefix-regexp "^[ \t]*\\([Rr][Ee][:>][ \t]*\\)*[ \t]*"
1291 "*Regexp matching \"Re: \" in the subject line."
1296 (defcustom wl-folder-many-unsync-threshold 70
1297 "*Folders which contains messages more than this number are highlighted
1298 with wl-highlight-folder-many-face."
1303 (defcustom wl-fcc nil
1304 "*Folder Carbon Copy."
1305 :type '(choice (const :tag "disable" nil)
1310 (defcustom wl-fcc-force-as-read nil
1311 "*If non-nil, mark copied message as read."
1316 (defcustom wl-bcc nil
1317 "*Blind Carbon Copy."
1318 :type '(choice (const :tag "disable" nil)
1323 (defcustom wl-folder-desktop-name "Desktop"
1324 "*An implicit name of the folder top entity."
1329 (defcustom wl-summary-indent-length-limit 46
1330 "*Limit of indent length for thread."
1335 (defcustom wl-summary-no-from-message "nobody@nowhere?"
1336 "*A string displayed in summary when no from field exists."
1340 (defcustom wl-summary-no-subject-message "(WL:No Subject in original.)"
1341 "*A string displayed in summary when no subject field exists."
1345 (defcustom wl-summary-cancel-message "I'd like to cancel my message."
1346 "*The body content of a cancel message."
1350 (defcustom wl-summary-width 80
1351 "*Set summary line width if non nil."
1352 :type '(choice (const :tag "Don't truncate" nil)
1357 (defcustom wl-summary-pick-field-default "Body"
1358 "*Default field for pick."
1359 :type '(radio (const "From")
1368 (string :tag "Other"))
1371 (defcustom wl-from-width 17
1372 "*From width in summary."
1377 (defcustom wl-subject-length-limit 35
1378 "*Set subject width in summary when wl-summary-width is nil.
1379 Nil means unlimited"
1380 :type '(choice (const :tag "Unlimited" nil)
1385 (defcustom wl-mime-charset 'x-ctext
1386 "*MIME Charset for summary and message."
1391 (defcustom wl-generate-mailer-string-function 'wl-generate-user-agent-string
1392 "A function to create X-Mailer field string ."
1396 (defcustom wl-highlight-background-mode (if (boundp 'hilit-background-mode)
1397 (or hilit-background-mode 'dark)
1399 "*Background mode of highlight (for Old Emacsen). 'dark or 'light."
1400 :type '(radio (const dark)
1402 :group 'wl-highlight)
1404 (defcustom wl-highlight-x-face-function nil
1405 "A function to display X-Face."
1407 :group 'wl-highlight)
1409 (defcustom wl-qmail-inject-program "/var/qmail/bin/qmail-inject"
1410 "Location of the qmail-inject program."
1411 :type '(string :tag "Program")
1414 (defcustom wl-qmail-inject-args nil
1415 "Arguments passed to qmail-inject programs.
1416 This should be a list of strings, one string for each argument.
1418 For e.g., if you wish to set the envelope sender address so that bounces
1419 go to the right place or to deal with listserv's usage of that address, you
1420 might set this variable to '(\"-f\" \"you@some.where\")."
1421 :type '(repeat (string :tag "Argument"))
1424 (defcustom wl-rejected-letter-start
1425 "^[\t ]*-+[\t ]+\\(original\\|\\(\\(the \\)?unsent\\)\\) message\\( follows\\)?[\t ]+-+[\t ]*$"
1426 "Regexp specifying the beginning of the wrapper around a returned letter.
1427 This wrapper is generated by the mail system when rejecting a letter."
1431 (defcustom wl-ignored-forwarded-headers "\\(received\\|return-path\\|x-uidl\\)"
1432 "*All headers that match this regexp will be deleted when forwarding a message."
1436 (defcustom wl-ignored-resent-headers "\\(return-receipt\\|[bdf]cc\\)"
1437 "*All headers that match this regexp will be deleted when resending a message."
1441 (defcustom wl-refile-default-from-folder "+from"
1442 "*Folder name to refile by `wl-refile-guess-by-from'."
1443 :type '(string :tag "Folder")
1446 (defcustom wl-summary-auto-refile-skip-marks
1447 (list wl-summary-new-mark
1448 wl-summary-unread-uncached-mark
1449 wl-summary-unread-cached-mark)
1450 "Persistent marks to skip auto-refiling."
1451 :type '(repeat (string :tag "Mark"))
1454 (defcustom wl-summary-reserve-mark-list
1456 "If a message is already marked as temporal marks in this list,
1457 the message is not marked by any mark command."
1458 :type '(repeat (string :tag "Temp-Mark"))
1461 (defcustom wl-summary-skip-mark-list
1463 "If a message is already marked as temporal marks in this list,
1464 the message is skipped at cursor move."
1465 :type '(repeat (string :tag "Temp-Mark"))
1468 (defcustom wl-summary-incorporate-marks
1469 (list wl-summary-new-mark
1470 wl-summary-unread-uncached-mark)
1471 "Persistent marks to prefetch at `wl-summary-incorporate'."
1472 :type '(repeat (string :tag "Mark"))
1475 (defcustom wl-refile-rule-alist nil
1480 (\"teranisi@isl.ntt.co.jp\" . \"+teranisi\"))
1482 (\"^Wanderlust\" . \"+wl\")
1483 (\"^Elips\" . \"+elips\")))"
1484 :type '(repeat (list (string :tag "Field")
1486 (cons (regexp :tag "Value")
1487 (string :tag "Folder")))))
1490 (defcustom wl-strict-diff-folders nil
1491 "List of regexps matching folders of which Wanderlust seriously counts unsync messages."
1492 :type '(choice (const :tag "Off" nil)
1493 (repeat (regexp :tag "Folder Regexp")))
1496 (defcustom wl-folder-use-server-diff t
1497 "Checked unread message number on IMAP4 server.
1498 Only IMAP4 folders have an effect."
1502 (defcustom wl-force-fetch-folders nil
1503 "Non-nil forces to fetch subfolders when user opened an 'access' folder."
1504 :type '(choice (const :tag "off" nil)
1505 (const :menu-tag "on" t)
1506 (repeat (regexp :tag "Folder Regexp")))
1509 (defcustom wl-auto-check-folder-name nil
1510 "*The folder specified by this variable will be automatically checked
1512 :type '(choice (string :tag "Folder")
1513 (repeat (string :tag "Folder"))
1517 (defcustom wl-auto-uncheck-folder-list '("\\$.*")
1518 "All folders that match this list won't be checked when group is
1519 automatically checked (or desktop is checked).
1520 This value is preceded by wl-auto-check-folder-list.
1521 Each elements are regexp of folder name."
1522 :type '(repeat (regexp :tag "Folder Regexp"))
1525 (defcustom wl-auto-check-folder-list nil
1526 "All folders that match this list are checked when group is
1527 automatically checked (or desktop is checked).
1528 This value precedes wl-auto-uncheck-folder-list.
1529 Each elements are regexp of folder name."
1530 :type '(repeat (regexp :tag "Folder Regexp"))
1533 (defcustom wl-show-plug-status-on-modeline t
1534 "If it is non-nil, show plugged status in modeline."
1536 :group 'wl-highlight)
1538 (defcustom wl-plug-state-indicator-on " [ON] "
1539 "String used to show plugged status ON."
1541 :group 'wl-highlight)
1543 (defcustom wl-plug-state-indicator-off " [--] "
1544 "String used to show plugged status OFF."
1546 :group 'wl-highlight)
1548 (defcustom wl-biff-check-folder-list nil
1549 "All folders that match this list are automatically checked
1550 every intervals specified by wl-biff-check-interval."
1551 :type '(repeat (regexp :tag "Folder Regexp"))
1552 :group 'wl-highlight)
1554 (defcustom wl-biff-check-interval 40
1555 "Number of seconds between updates of new mails in the mode line."
1557 :group 'wl-highlight)
1559 (defcustom wl-biff-state-indicator-on (if (and (featurep 'xemacs)
1560 (not (featurep 'mule)))
1562 (decode-coding-string
1564 (read "\"[\e$B\\\")\e(B]\"")
1568 "String used to show biff status ON."
1570 :group 'wl-highlight)
1572 (defcustom wl-biff-state-indicator-off (if (and (featurep 'xemacs)
1573 (not (featurep 'mule)))
1575 ;; Japanese short hyphen
1577 "String used to show biff status OFF."
1579 :group 'wl-highlight)
1581 (defcustom wl-mode-line-display-priority-list '(biff plug title)
1582 "Displaying order of items to be shown in modeline. The first item will
1583 be placed in the leftmost. The significant items are `biff' and `plug';
1584 otherwise, e.g. `title', corresponds to the things except for the biff
1585 staus nor the plugged status. The default order is '(biff plug title)
1586 even if the value of this option is set to nil. Here are some samples:
1588 ;; Plugged status first:
1589 \(setq wl-mode-line-display-priority-list '(plug))
1591 ;; Biff status, Title of Wanderlust, Plugged status:
1592 \(setq wl-mode-line-display-priority-list '(biff title plug))
1595 :type '(repeat (radio (const :format "%v " biff)
1596 (const :format "%v " plug)
1597 (sexp :tag "Other" :value title)))
1598 :group 'wl-highlight)
1600 (defcustom wl-interactive-send t
1601 "*If non-nil, require your confirmation when sending draft message."
1606 (defcustom wl-interactive-exit t
1607 "*If non-nil, require your confirmation when exiting WL."
1611 (defcustom wl-summary-move-order 'unread
1612 "*The order of priority when move in summary mode.
1613 If this variable is `unread', precede \"U\", \"!\", \"N\" mark.
1614 If this variable is `new', precede \"N\" mark."
1615 :type '(radio (const new)
1620 (defvar wl-summary-move-direction-downward t)
1622 (defcustom wl-summary-move-direction-toggle t
1623 "*If non-nil, search direction for the next message will be determined
1624 depends on previous search direction.
1625 It uses wl-summary-move-direction-downward as a direction flag."
1629 (defcustom wl-auto-select-first nil
1630 "*If non-nil, display selected first message when enter summary."
1635 (defcustom wl-auto-select-next nil
1636 "*If non-nil, offer to go to the next folder from the end of the previous.
1637 If the value is the symbol `unread', go to the next folder
1638 that no unread message exists. If the value is the symbol `skip-no-unread',
1639 skip the folder that no unread message exists.
1641 See also variable `wl-summary-next-no-unread-command'."
1642 :type '(radio (const :tag "off" nil)
1645 (const skip-no-unread))
1649 (defcustom wl-message-buffer-prefetch-folder-type-list t
1650 "*All folder types that match this list prefetch next message,
1651 and reserved buffer cache."
1652 :type `(choice (const :tag "all" t)
1653 (const :tag "never" nil)
1654 (set (const localdir)
1667 (defcustom wl-message-buffer-prefetch-folder-list nil
1668 "*All folders that match this list prefetch next message,
1669 and reserved buffer cache.
1672 :type '(repeat (regexp :tag "Folder Regexp"))
1675 (defcustom wl-summary-always-sticky-folder-list nil
1676 "All folders that match this list has sticky summary.
1677 Each elements are regexp of folder name."
1678 :type '(radio (const :tag "none" nil)
1679 (const :tag "all" t)
1680 (repeat (regexp :tag "Folder Regexp")))
1683 (defcustom wl-no-save-folder-list '("^/.*$" "^\\[.*$")
1684 "All folders that match this list won't save its msgdb.
1685 Each elements are regexp of folder name."
1686 :type '(repeat (regexp :tag "Folder Regexp"))
1689 (defcustom wl-save-folder-list nil
1690 "All folders that match this list save its msgdb.
1691 Each elements are regexp of folder name."
1692 :type '(repeat (regexp :tag "Folder Regexp"))
1695 (defcustom wl-folder-mime-charset-alist
1696 '(("^-alt\\.chinese" . big5)
1697 ("^-relcom\\." . koi8-r)
1699 ("^-han\\." . euc-kr)
1700 ("@sponichi" . shift_jis))
1701 "Charset alist. If no match, `wl-mime-charset' is used."
1702 :type '(repeat (cons (regexp :tag "Folder Regexp") (symbol :tag "Charset")))
1706 (defcustom wl-folder-weekday-name-lang-alist
1707 '(("^-alt\\.chinese" . "en")
1708 ("^-relcom\\." . "en")
1710 ("^-han\\." . "en"))
1711 "Weekday name lang alist.
1712 If no match, `wl-summary-weekday-name-lang' is used.
1714 '((\"xemacs-beta$\" . \"en\")
1715 (\"^-fj\" . \"ja\"))"
1716 :type '(repeat (cons (regexp :tag "Folder Regexp")
1717 (choice (const "ja")
1721 (string :tag "Other"))))
1724 (defcustom wl-folder-thread-indent-set-alist
1725 '(("^-alt\\.chinese" . (2 "+" "+" "|" "-" " "))
1726 ("^-relcom\\." . (2 "+" "+" "|" "-" " "))
1727 ("^-tw\\." . (2 "+" "+" "|" "-" " "))
1728 ("^-han\\." . (2 "+" "+" "|" "-" " ")))
1729 "Thread indent set alist.
1730 If no match, following indent set is used.
1731 (wl-thread-indent-level
1732 wl-thread-have-younger-brother-str
1733 wl-thread-youngest-child-str
1734 wl-thread-vertical-str
1735 wl-thread-horizontal-str
1736 wl-thread-space-str)
1738 '((\"xemacs-beta$\" . (2 \"+\" \"+\" \"|\" \"-\" \" \")))"
1739 :type '(repeat (cons (regexp :tag "Folder Regexp")
1740 (group (integer :tag "Indent")
1741 (string :tag "Yonger Brother")
1742 (string :tag "Yonger Child")
1743 (string :tag "Vertical")
1744 (string :tag "Horizontal")
1745 (string :tag "Space"))))
1748 (defcustom wl-folder-sync-range-alist
1749 (list (cons (concat "^" (regexp-quote wl-draft-folder) "$\\|^"
1750 (regexp-quote wl-queue-folder) "$")
1752 "*Default sync range alist. If no matches, `wl-default-sync-range' is used."
1753 :type '(repeat (cons (regexp :tag "Folder Regexp")
1754 (choice (const "update")
1760 (const :tag "none" nil))))
1763 (defcustom wl-default-sync-range "update"
1764 "*Default sync range."
1765 :type '(choice (const "update")
1771 (const :tag "none" nil))
1774 (defcustom wl-ask-range t
1775 "*If non-nil, ask for a range for summary synchronization.
1776 If nil, always use default."
1780 (defcustom wl-folder-process-duplicates-alist nil
1781 "Specify process type of duplicated messages.
1782 It should be a list of cons cell like: (REGEXP . TYPE)
1783 REGEXP is a regular expression string of folder name.
1784 TYPE is one of the symbols `hide' or `read'.
1785 `hide' means hide duplicated messages.
1786 `read' means mark as read duplicated messages.
1787 If TYPE is nil, do nothing for duplicated messages."
1788 :type '(repeat (cons (regexp :tag "Folder regexp")
1789 (choice (const :tag "Hide" hide)
1790 (const :tag "Mark as read" read))))
1793 (defcustom wl-folder-move-cur-folder nil
1794 "*Non-nil, move to current folder on folder-mode when goto folder."
1798 (defcustom wl-folder-check-async t
1799 "*Check the folder asynchronous."
1803 (defcustom wl-folder-notify-deleted nil
1804 "*Non-nil, display negative number on folder-mode when message is deleted
1805 in folder. If the value is 'sync, msgdb would be synchronized."
1806 :type '(choice (const :tag "off" nil)
1811 (defcustom wl-summary-exit-next-move t
1812 "*Non-nil, move to next-unsync or next-entity when exit summary."
1816 (defcustom wl-summary-next-no-unread-command
1817 '(wl-summary-read wl-summary-down wl-summary-up)
1818 "*Command list available when the value of `wl-auto-select-next' is 'unread
1819 or 'skip-no-unread."
1820 :type '(repeat function)
1823 (defcustom wl-summary-search-via-nntp 'confirm
1824 "*Non-nil, search message via nntp after `wl-summary-jump-to-msg-by-message-id'. If the value is 'confirm, confirm before search."
1828 (defcustom wl-summary-keep-cursor-command
1829 '(wl-summary-goto-folder wl-summary-goto-last-visited-folder)
1830 "*Command list to keep cursor position when folder is changed to
1831 already existing summary."
1832 :type '(repeat function)
1835 (defcustom wl-summary-showto-folder-regexp nil
1836 "Regexp specifying the folder that shows the To (or Newsgroups) field as
1837 Sender information in summary mode."
1838 :type '(choice (const :tag "none" nil)
1842 (defcustom wl-folder-removed-mark "#<removed>"
1843 "Mark for removed folder."
1847 (defcustom wl-folder-unsubscribe-mark "#"
1848 "Mark for unsubscribe folder."
1852 (defcustom wl-delete-folder-alist '(("^-" . remove))
1853 "*Alist of folder and delete policy.
1854 Each element is (folder-regexp . policy).
1856 The policy is one of the followings:
1858 'null : remove message.
1859 string : refile to the specified folder.
1861 otherwise : refile to the `wl-trash-folder'.
1863 '((\"^%\" . \"%#mh/trash\")
1865 (\"^\\\\+\" . trash))"
1866 :type '(repeat (cons (regexp :tag "Folder Regexp")
1867 (choice :tag "Policy"
1869 (const :tag "remove(null)" null)
1871 (const :tag "trash(other)" trash)
1872 (string :tag "Folder"))))
1875 (defcustom wl-refile-policy-alist '(("^[-=']" . copy)
1877 "*List of refile policy. Each element is (FOLDER-REGEXP . POLICY).
1878 POLICY is copy or move."
1879 :type '(repeat (cons (regexp :tag "Folder Regexp")
1880 (choice (const copy)
1885 (defcustom wl-folder-hierarchy-access-folders '("-" "-alt")
1886 "*Access group folders to make hierarchy structure."
1887 :type '(repeat (string :tag "Folder"))
1890 (defcustom wl-folder-init-load-access-folders nil
1891 "*Access group folders to load folder list on `wl-folder-init'.
1892 If this variable is non-nil,
1893 `wl-folder-init-no-load-access-folders' will be ignored."
1894 :type '(repeat (regexp :tag "Folder Regexp"))
1897 (defcustom wl-folder-init-no-load-access-folders nil
1898 "*Access group folders to not load folder list on `wl-folder-init'.
1899 If `wl-folder-init-load-access-folders' is non-nil,
1900 this variable will be ignored."
1901 :type '(repeat (regexp :tag "Folder Regexp"))
1904 (defcustom wl-folder-access-subscribe-alist nil
1905 "*Subscribe folders to fetching folder entries.
1906 Each element is (group-regexp (subscribe folder-regexp ...)).
1907 If subscribe is non-nil, subscribe when match folder-regexp.
1908 If subscribe is nil, unsubscribe when match folder-regexp.
1911 '((\"^-fj$\" . (t \"^-fj\\\\.\\\\(editor\\\\|mail\\\\|net\\\\|news\\\\)\"))
1912 (\"^-comp$\" . (t \"^-comp\\\\.unix\" \"^-comp\\\\.sys\"))
1913 (\"^-$\" . (nil \"^-alt\" \"^-rec\")))"
1914 :type '(repeat (cons (regexp :tag "Folder Regexp")
1915 (list (boolean :tag "Subscribed")
1917 (regexp :tag "Folder Regexp")))))
1920 ;;; For Folder Manager
1922 (defcustom wl-interactive-save-folders t
1923 "*Non-nil require your confirmation when save folders."
1928 (defcustom wl-fldmgr-make-backup t
1929 "*Non-nil make backup file when save folders."
1933 (defcustom wl-fldmgr-folders-indent "\t"
1934 "*Indent string for folders file."
1938 (defcustom wl-fldmgr-sort-function 'wl-fldmgr-sort-standard
1939 "*A function to sort folder."
1943 (defcustom wl-fldmgr-sort-group-first t
1944 "*Non-nil Group folder is first when sort."
1948 (defcustom wl-fldmgr-add-complete-with-current-folder-list nil
1949 "*If non-nil, completion for adding folder refers current folder list."
1953 (defcustom wl-fldmgr-make-filter-default "Body"
1954 "*Default filter key while making filter on Folder."
1955 :type '(radio (const "From")
1964 (string :tag "Other"))
1967 ;;; For Expire and Archive
1969 (defcustom wl-expire-alist nil
1970 "Alist to decide a policy for expire.
1971 Each element is (folder-regexp (number or date) policy).
1973 The policy is one of the followings:
1974 'remove : remove messsage.
1975 'trash : refile `wl-trash-folder'.
1976 string : refile string folder.
1977 function : call function.
1980 '((\"^\\\\+ml/wl$\" (number 500 510) wl-expire-archive-number1 t)
1981 (\"^\\\\+ml/\" (number 300 305) wl-expire-archive-number2)
1982 (\"^\\\\+outbox$\" (number 300) \"$outbox;lha\")
1983 (\"^\\\\(\\\\+tmp\\\\|\\\\+trash\\\\)$\" (date 7) remove)
1984 (\"^\\\\+misc$\" (date 14) trash))"
1985 :type '(repeat (choice (list :tag "No-match"
1986 (regexp :tag "Folder Regexp")
1989 (regexp :tag "Folder Regexp")
1990 (list (radio :value number
1995 (repeat :inline t integer)))
1996 (choice :tag "Policy"
2000 (string :tag "folder")
2003 :tag "Arg for function"
2007 (defcustom wl-archive-alist '((".*" wl-archive-number1))
2008 "Alist to decide a policy for archive.
2009 Each element is (folder-regexp policy(function)).
2012 '((\"\\\\+work$\" wl-archive-date)
2013 (\"\\\\+ml/\" wl-archive-number1)
2014 (\".*\" wl-archive-number2))"
2015 :type '(repeat (list (regexp :tag "Folder Regexp")
2018 (sexp :tag "Argument"))))
2021 (defcustom wl-summary-expire-reserve-marks
2022 (list wl-summary-important-mark
2024 wl-summary-unread-mark
2025 wl-summary-unread-uncached-mark
2026 wl-summary-unread-cached-mark)
2027 "Permanent marks of reserved message when expire.
2028 Don't reserve temporary mark message.
2031 'all : reserved all permanent marks.
2032 'none : not reserve permanent marks.
2033 list : reserved specified permanent marks."
2034 :type '(repeat (string :tag "Mark"))
2037 (defcustom wl-expire-number-with-reserve-marks nil
2038 "If non-nil, include reserve message when expire by number."
2042 (defcustom wl-expire-add-seen-list t
2043 "*If non-nil, add seen message list when refile message at expire."
2047 (defcustom wl-expire-use-log nil
2048 "*If non-nil, write a log when expired."
2052 (defcustom wl-expire-folder-update-msgdb t
2053 "*Non-nil update summary msgdb when expire on folder mode."
2057 ;; for wl-expire-archive-{number1|number2}
2058 (defcustom wl-expire-archive-files 100
2059 "*The number of one archive folder."
2063 ;; for wl-expire-archive-{number1|number2|date}
2064 (defcustom wl-expire-archive-get-folder-function
2065 'wl-expire-archive-get-folder
2066 "*A function to get archive folder name."
2070 (defcustom wl-expire-delete-oldmsg-confirm t
2071 "*If non-nil, require your confirmation when delete old message."
2075 ;; for wl-expire-archive-get-folder
2076 (defcustom wl-expire-archive-folder-type 'zip
2077 "*Archiver type of archive folder."
2078 :type '(radio (const zip)
2084 (symbol :tag "Other"))
2087 (defcustom wl-expire-archive-folder-name-fmt "%s-%%05d;%s" ;; $folder-00100;zip
2088 "*A format string for archive folder name."
2092 (defcustom wl-expire-archive-folder-num-regexp "-\\([0-9]+\\);"
2093 "*A regexp string for archive folder name."
2097 (defcustom wl-expire-archive-date-folder-name-fmt "%s-%%04d%%02d;%s"
2098 ;; $folder-199812;zip
2099 "*A format string for archive date folder name."
2103 (defcustom wl-expire-archive-date-folder-num-regexp "-\\([0-9]+\\);"
2104 "*A regexp string for archive date folder name."
2108 (defcustom wl-expire-archive-folder-prefix nil
2109 "*Prefix for archive folder."
2110 :type '(radio (const :tag "nothing" nil)
2111 (const :tag "full" t)
2117 ;; highilght about summary
2118 (defcustom wl-highlight-max-summary-lines 10000
2119 "*If the summary is larger than this lines, don't highlight it."
2121 :group 'wl-highlight)
2123 ;; highilght about draft and message
2124 (defcustom wl-highlight-body-too t
2125 "*In addition to header, highlight the body too. if non nil."
2127 :group 'wl-highlight)
2129 (defcustom wl-highlight-message-header-alist
2130 '(("Subject[ \t]*:" . wl-highlight-message-important-header-contents)
2131 ("From[ \t]*:\\|To[ \t]*:" . wl-highlight-message-important-header-contents2)
2132 ("X-[^ \t]*:\\|User-Agent[ \t]*:" . wl-highlight-message-unimportant-header-contents))
2134 :type '(repeat (cons regexp face))
2135 :group 'wl-highlight)
2137 (defcustom wl-highlight-citation-prefix-regexp
2138 "^[>|:} ]*[>|:}]\\([^ \n>]*>\\)?\\|^[^ <\n>]*>"
2139 "All lines that match this regexp will be highlighted with
2140 `wl-highlight-message-cited-text-*' face."
2142 :group 'wl-highlight)
2144 (defcustom wl-highlight-highlight-citation-too nil
2145 "*Whether the whole citation line should go in the
2146 `wl-highlight-citation-face' face.
2147 If nil, the text matched by `wl-highlight-citation-prefix-regexp' is in the
2148 default face, and the remainder of the line is in the
2149 wl-highlight-message-cited-text face."
2151 :group 'wl-highlight)
2153 (defcustom wl-highlight-force-citation-header-regexp
2154 "^>>>.*$\\|^[ \t]*<[^>]*>[ \t]*$"
2155 "*The pattern to match the prolog of a cited block.
2156 Text in the body of a message which matches this will be displayed in
2157 the `wl-highlight-message-headers' face."
2159 :group 'wl-highlight)
2161 (defcustom wl-highlight-citation-header-regexp
2162 (concat "In article.*$\\|In message.*$\\|In the message.*$\\|"
2163 "^At[^\n]+\n[^\n]+wrote:\n\\|"
2164 "^.*\\(writes\\|wrote\\|said\\):\n")
2165 "*The pattern to match the prolog of a cited block.
2166 Text in the body of a message which matches this will be displayed in
2167 the `wl-highlight-message-headers' face."
2169 :group 'wl-highlight)
2171 (defcustom wl-highlight-max-header-size nil
2172 "*If the message header is larger than this many chars, don't highlight it.
2173 If this is nil, all headers will be highlighted."
2175 :group 'wl-highlight)
2177 (defcustom wl-highlight-max-message-size 10000
2178 "*If the message body is larger than this many chars, don't highlight it.
2179 This is to prevent us from wasting time trying to fontify things like
2180 uuencoded files and large digests. If this is nil, all messages will
2183 :group 'wl-highlight)
2185 ;; highilght about signature (of draft and message)
2186 (defcustom wl-highlight-signature-separator
2187 '("\n--+\n" "\n\n--+.*\n*\\'")
2188 "List of regexps matching signature separator.
2189 It will be verified from head to tail looking for a separator.
2190 Verification will be done from the end of the buffer.
2191 No need to specify \"^-- $\" in this list,
2192 because it is verified by default.
2193 This variable can also be a regex."
2194 :type '(repeat regexp)
2195 :group 'wl-highlight)
2197 (defcustom wl-max-signature-size 400
2198 "*If the signature is larger than this chars, don't treat it as a signature."
2200 :group 'wl-highlight)
2202 ;; highilght about mouse
2203 (defcustom wl-use-highlight-mouse-line (and window-system
2204 (>= emacs-major-version 19))
2205 "*Highlight mouse line, if non nil."
2207 :group 'wl-highlight)
2209 ;; highilght about folder
2210 (defcustom wl-highlight-folder-with-icon
2211 (or (and (featurep 'xemacs)
2214 "*Highlight folder with icon(XEmacs or Emacs 21)."
2216 :group 'wl-highlight)
2217 (defcustom wl-highlight-folder-by-numbers t
2218 "Highlight folder lines by numbers.
2219 If it is a number, only numbers will be highlighted."
2220 :type '(choice (const :tag "whole line" t)
2221 (const :tag "only numbers" 1)
2222 (const :tag "don't highlight" nil))
2223 :group 'wl-highlight)
2225 (defcustom wl-highlight-signature-search-function 'wl-highlight-signature-search
2226 "Function to search signature area in the message body."
2228 :group 'wl-highlight)
2230 (defcustom wl-use-dnd (and wl-on-xemacs
2231 (featurep 'dragdrop))
2232 "If Non-nil, support dragdrop feature in XEmacs."
2236 (defcustom wl-reset-plugged-alist t
2237 "*If non-nil, reset `elmo-plugged-alist' when startup."
2241 (defcustom wl-demo-display-logo (if (or (featurep 'xemacs)
2242 (module-installed-p 'image)
2243 (module-installed-p 'bitmap))
2245 "If it is T, show graphic logo in the startup screen. You can set it to
2246 a symbol `bitmap', `xbm' or `xpm' in order to force the image format."
2247 :type '(radio (const :tag "Off" nil)
2248 (const :tag "On (any format)" t)
2251 (const :tag "bitmap (using BITMAP-MULE)" bitmap))
2254 ;;; Internal variables
2255 (defvar wl-init nil)
2257 ;; For disconnected operations.
2258 (defvar wl-plugged-hook nil)
2259 (defvar wl-unplugged-hook nil)
2260 (defvar wl-plugged t)
2262 ;; Internal variables used to modeline identifiers.
2263 (defvar wl-modeline-plug-status nil)
2264 (defvar wl-modeline-plug-state-on wl-plug-state-indicator-on)
2265 (defvar wl-modeline-plug-state-off wl-plug-state-indicator-off)
2266 (defvar wl-modeline-biff-status nil)
2267 (defvar wl-modeline-biff-state-on wl-biff-state-indicator-on)
2268 (defvar wl-modeline-biff-state-off wl-biff-state-indicator-off)
2270 ;; Advanced thread view.
2271 (defvar wl-thread-indent-level 1
2272 "*Indent level for thread.")
2273 (defvar wl-thread-have-younger-brother-str "
\e$B(2
\e(B"
2274 "*A string for thread branch line. It should contain one character.")
2275 (defvar wl-thread-youngest-child-str "
\e$B(1
\e(B"
2276 "*A string for thread branch line. It should contain one character.")
2277 (defvar wl-thread-vertical-str "
\e$B(-
\e(B"
2278 "*A string for thread branch line. It should contain one character.")
2279 (defvar wl-thread-horizontal-str "
\e$B(,
\e(B"
2280 "*A string for thread branch line. It should contain one character.")
2281 (defvar wl-thread-space-str "
\e$B!!
\e(B"
2282 "*A string for thread branch line. It should contain one character.")
2284 (defvar wl-highlight-thread-indent-string-regexp "[^[<]*"
2285 "* A regexp string for thread indent...for highlight.")
2287 ;; folder icons. filename relative to wl-icon-dir
2288 (defvar wl-opened-group-folder-icon "opened.xpm"
2289 "*Icon file for opened group folder.")
2290 (defvar wl-closed-group-folder-icon "closed.xpm"
2291 "*Icon file for closed group folder.")
2292 (defvar wl-nntp-folder-icon "news.xpm"
2293 "*Icon file for nntp folder.")
2294 (defvar wl-imap-folder-icon "imap.xpm"
2295 "*Icon file for imap folder.")
2296 (defvar wl-pop-folder-icon "pop.xpm"
2297 "*Icon file for pop folder.")
2298 (defvar wl-localdir-folder-icon "local.xpm"
2299 "*Icon file for localdir folder.")
2300 (defvar wl-localnews-folder-icon "localnews.xpm"
2301 "*Icon file for localnews folder.")
2302 (defvar wl-internal-folder-icon "internal.xpm"
2303 "*Icon file for internal folder.")
2304 (defvar wl-multi-folder-icon "multi.xpm"
2305 "*Icon file for multi folder.")
2306 (defvar wl-filter-folder-icon "filter.xpm"
2307 "*Icon file for filter folder.")
2308 (defvar wl-archive-folder-icon "archive.xpm"
2309 "*Icon file for archive folder.")
2310 (defvar wl-pipe-folder-icon "pipe.xpm"
2311 "*Icon file for pipe folder.")
2312 (defvar wl-nmz-folder-icon "nmz.xpm"
2313 "*Icon file for namazu folder.")
2314 (defvar wl-shimbun-folder-icon "shimbun.xpm"
2315 "*Icon file for shimbun folder.")
2316 (defvar wl-maildir-folder-icon "maildir.xpm"
2317 "*Icon file for maildir folder.")
2318 (defvar wl-empty-trash-folder-icon "trash-e.xpm"
2319 "*Icon file for emptied trash folder.")
2320 (defvar wl-trash-folder-icon "trash.xpm"
2321 "*Icon file for trash folder.")
2322 (defvar wl-draft-folder-icon "draft.xpm"
2323 "*Icon file for draft folder.")
2324 (defvar wl-queue-folder-icon "queue.xpm"
2325 "*Icon file for queue folder.")
2326 (defvar wl-plugged-icon "plugged.xpm"
2327 "*Icon file for plugged state.")
2328 (defvar wl-unplugged-icon "unplugged.xpm"
2329 "*Icon file for unplugged state.")
2330 (defvar wl-biff-mail-icon "letter.xpm"
2331 "*Icon file for mail existed state.")
2332 (defvar wl-biff-nomail-icon "no-letter.xpm"
2333 "*Icon file for no mail existed state.")
2334 (defvar wl-prog-uudecode "uudecode"
2335 "*uudecode program name.")
2336 (defvar wl-prog-uudecode-arg nil
2337 "*Arguments for uudecode program.")
2338 (defvar wl-prog-uudecode-no-stdout-option t
2339 "*If non-nil, uudecode program don't have option for output to stdout.")
2342 (defvar wl-plugged-plug-on "ON")
2343 (defvar wl-plugged-plug-off "--")
2344 (defvar wl-plugged-auto-off "**")
2345 (defvar wl-plugged-server-indent 2)
2346 (defvar wl-plugged-port-indent 4)
2347 (defvar wl-plugged-queue-status-column 25)
2349 ;;;; Obsolete variables.
2351 ;; 2001-02-27: *-func -> *-function
2352 (elmo-define-obsolete-variable 'wl-summary-from-func
2353 'wl-summary-from-function)
2354 (elmo-define-obsolete-variable 'wl-summary-subject-func
2355 'wl-summary-subject-function)
2356 (elmo-define-obsolete-variable 'wl-summary-subject-filter-func
2357 'wl-summary-subject-filter-function)
2358 (elmo-define-obsolete-variable 'wl-draft-send-func
2359 'wl-draft-send-function)
2360 (elmo-define-obsolete-variable 'wl-draft-send-news-func
2361 'wl-draft-send-news-function)
2362 (elmo-define-obsolete-variable 'wl-draft-send-mail-func
2363 'wl-draft-send-mail-function)
2364 (elmo-define-obsolete-variable 'wl-print-buffer-func
2365 'wl-print-buffer-function)
2366 (elmo-define-obsolete-variable 'wl-ps-print-buffer-func
2367 'wl-ps-print-buffer-function)
2368 (elmo-define-obsolete-variable 'wl-generate-mailer-string-func
2369 'wl-generate-mailer-string-function)
2370 (elmo-define-obsolete-variable 'wl-highlight-x-face-func
2371 'wl-highlight-x-face-function)
2372 (elmo-define-obsolete-variable 'wl-fldmgr-sort-func
2373 'wl-fldmgr-sort-function)
2374 (elmo-define-obsolete-variable 'wl-expire-archive-get-folder-func
2375 'wl-expire-archive-get-folder-function)
2376 (elmo-define-obsolete-variable 'wl-highlight-signature-search-func
2377 'wl-highlight-signature-search-function)
2379 ;; 2000-01-25: temp mark -> target mark
2380 (elmo-define-obsolete-variable 'wl-summary-temp-above
2381 'wl-summary-target-above)
2384 (elmo-define-obsolete-variable 'wl-score-files-directory
2385 'wl-score-files-dir)
2387 ;; 1999-11-07: Unified with `wl-draft-config-alist'.
2388 (defvar wl-draft-prepared-config-alist nil)
2389 (make-obsolete-variable 'wl-draft-prepared-config-alist
2390 'wl-draft-config-alist)
2393 (elmo-define-obsolete-variable 'wl-address-filename
2395 (elmo-define-obsolete-variable 'wl-score-default-file-name
2396 'wl-score-default-file)
2400 (product-provide (provide 'wl-vars) (require 'wl-version))
2402 ;;; wl-vars.el ends here