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-temporary-file-directory "~/tmp/"
162 "*Default temporary directory to save message, part."
166 (defcustom wl-icon-directory (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 "*Directory to load the icon files from, or nil if none."
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."
199 (defcustom wl-default-folder "%inbox"
200 "*Default folder used in `wl-summary-goto-folder'."
203 (defcustom wl-draft-folder "+draft"
207 (defcustom wl-trash-folder "+trash"
212 (defcustom wl-queue-folder "+queue"
217 (defcustom wl-default-spec "%"
222 (defcustom wl-insert-mail-followup-to nil
223 "*Insert Mail-Followup-To: field if non-nil."
227 (defcustom wl-insert-mail-reply-to nil
228 "*Insert Mail-Reply-To: field if non-nil."
232 (defcustom wl-insert-message-id t
233 "*Insert Message-ID: field if non-nil."
237 (defcustom wl-auto-insert-x-face t
238 "*Insert X-Face: field automatically."
242 (defcustom wl-x-face-file "~/.xface"
243 "*X-Face field is inserted using its contents.
244 If file exists and `wl-auto-insert-x-face' is non-nil."
248 (defcustom wl-subscribed-mailing-list nil
249 "*Subscribed mailing list.
250 You had better set this variable if you set 'wl-insert-mail-followup-to' as t."
251 :type '(repeat string)
256 "*Display demo at start time."
260 (defcustom wl-envelope-from nil
261 "*Envelope From used in SMTP.
262 If nil, `wl-from' is used."
263 :type '(choice (const :tag "Same as 'From' field." nil)
268 (defcustom wl-draft-add-in-reply-to t
269 "*If non-nil, message-id of the cited message is inserted to the
270 in-reply-to field of the current draft."
274 (defcustom wl-draft-add-references nil
275 "*If non-nil, message-id of the cited message is inserted to the
276 references field of the current draft."
280 (defcustom wl-smtp-connection-type nil
281 "*SMTP connection type.
282 If nil, default smtp connection type is used."
283 :type '(choice (const :tag "default" nil)
284 (const :tag "Use STARTTLS" starttls)
288 (defcustom wl-smtp-posting-user nil
289 "*SMTP authentication user."
290 :type '(choice (const :tag "none" nil)
295 (defcustom wl-smtp-posting-server nil
296 "*SMTP server name to send mail (wl-draft-send-mail-with-smtp)."
297 :type '(choice (const :tag "none" nil)
302 (defcustom wl-smtp-posting-port nil
303 "*SMTP port number in `wl-smtp-posting-server'.
304 If nil, default SMTP port number(25) is used."
305 :type '(choice (const :tag "Default (25)" nil)
310 (defcustom wl-smtp-authenticate-type nil
311 "*SMTP Authentication type.
312 If nil, don't authenticate."
313 :type '(choice (const :tag "none" nil)
314 (const :tag "PLAIN" "plain")
315 (const :tag "CRAM-MD5" "cram-md5")
316 (const :tag "LOGIN" "login")
317 (string :tag "Other"))
321 (defcustom wl-pop-before-smtp-user nil
322 "*POP3 user name to send mail using POP-before-SMTP.
323 If nil, `elmo-pop3-default-user' is used.
324 To use POP-before-SMTP,
325 \(setq wl-draft-send-mail-function 'wl-draft-send-mail-with-pop-before-smtp\)"
326 :type '(choice (const :tag "none" nil)
331 (defcustom wl-pop-before-smtp-server nil
332 "*POP3 server for POP-before-SMTP.
333 If nil, `elmo-pop3-default-server' is used."
334 :type '(choice (const :tag "none" nil)
339 (defcustom wl-pop-before-smtp-port nil
340 "*POP3 port for POP-before-SMTP.
341 If nil, `elmo-pop3-default-port' is used."
342 :type '(choice (const :tag "none" nil)
347 (defcustom wl-pop-before-smtp-stream-type nil
348 "*Stream type for POP-before-SMTP.
349 If nil, `elmo-pop3-default-stream-type' is used."
353 (defcustom wl-pop-before-smtp-authenticate-type nil
354 "*Default Authentication type for POP-before-SMTP.
355 If nil, `elmo-pop3-default-authenticate-type' is used."
356 :type '(choice (const :tag "none" nil)
357 (const :tag "APOP" "apop")
358 (const :tag "POP3" "user"))
362 (defcustom wl-nntp-posting-server nil
363 "*NNTP server name to post news.
364 If nil, `elmo-nntp-default-server' is used."
365 :type '(choice (const :tag "none" nil)
369 (defcustom wl-nntp-posting-user nil
370 "*NNTP user name to post news for authinfo.
371 If nil, `elmo-nntp-default-user' is used.
372 If nil, don't authenticate."
373 :type '(choice (const :tag "none" nil)
377 (defcustom wl-nntp-posting-port nil
378 "*NNTP port to post news.
379 If nil, `elmo-nntp-default-port' is used."
380 :type '(choice (const :tag "none" nil)
384 (defcustom wl-nntp-posting-stream-type nil
385 "*Stream type for posting Netnews.
386 If nil, `elmo-nntp-default-stream-type' is used."
390 (defcustom wl-prefetch-confirm t
391 "*Confirm prefetching if message size is larger than `wl-prefetch-threshold'."
395 (defcustom wl-prefetch-threshold 30000
396 "*Maximum size of message prefetched without confirmation.
397 If nil, all messages prefetched regardless of its size.
398 If message size is larger than this value, confirm prefetching
399 when `wl-prefetch-confirm' is non-nil."
400 :type '(choice (integer :tag "Threshold (bytes)")
401 (const :tag "No limitation" nil))
405 (defcustom wl-cache-prefetch-threshold 30000
406 "*Quit forward cache prefetching if message size is larger than this value."
410 (defcustom wl-thread-insert-opened nil
411 "*Non-nil forces to insert thread as opened in updating."
416 (defcustom wl-thread-open-reading-thread t
417 "*Non-nil forces to open reading thread."
422 (defvar wl-folder-mode-hook nil
423 "A hook called when wanderlust folder mode is started.
424 This hook may contain the functions `wl-folder-init-icons' and
425 `wl-setup-folder' for reasons of system internal to accord facilities
426 for the Emacs variants.")
427 (defvar wl-summary-toggle-disp-on-hook nil
428 "A hook called when message is toggled.")
429 (defvar wl-summary-toggle-disp-off-hook nil
430 "A hook called when message is disappeared.")
431 (defvar wl-summary-toggle-disp-folder-on-hook nil
432 "A hook called when folder is toggled.")
433 (defvar wl-summary-toggle-disp-folder-off-hook nil
434 "A hook called when folder is disappeared.")
435 (defvar wl-summary-toggle-disp-folder-message-resumed-hook nil
436 "A hook called when message window is resumed when folder is toggled.")
437 (defvar wl-summary-mode-hook nil
438 "A hook called when summary mode is started.
439 This hook may contain the function `wl-setup-summary' for reasons of
440 system internal to accord facilities for the Emacs variants.")
442 (defvar wl-summary-prepared-pre-hook nil
443 "A hook called before the summary buffer has been generated.")
444 (defvar wl-summary-prepared-hook nil
445 "A hook called after the summary buffer has been generated.")
446 (defvar wl-summary-sync-updated-hook nil
447 "A hook called when update summary buffer.")
448 (defvar wl-summary-unread-message-hook nil
449 "A hook called when unread message is displayed.")
450 (defvar wl-summary-edit-addresses-hook nil
451 "A hook called when address book is edited.")
452 (defvar wl-summary-buffer-message-saved-hook nil
453 "A hook called when msgdb is saved.")
454 (defvar wl-summary-buffer-mark-saved-hook nil
455 "A hook called when mark is saved.")
456 (defvar wl-summary-divide-thread-when-subject-changed nil
457 "Divide thread when subject is changed.")
458 (defvar wl-init-hook nil
459 "A hook called when initialization is finished. This hook may contain
460 the functions `wl-plugged-init-icons' and `wl-biff-init-icons' for
461 reasons of system internal to accord facilities for the Emacs variants.")
463 "A hook called when Wanderlust is invoked.")
464 (defvar wl-reply-hook nil
465 "A hook called when replied.")
466 (defvar wl-mail-setup-hook nil
467 "A hook called when Draft is prepared.")
468 (defvar wl-draft-reedit-hook nil
469 "A hook called when Draft is re-edited.")
470 (defvar wl-draft-send-hook '(wl-draft-config-exec)
471 "A hook called on the draft editing buffer before sending process starts.")
472 (defvar wl-mail-send-pre-hook nil
473 "A hook called just before the mail sending process starts.")
474 (defvar wl-news-send-pre-hook nil
475 "A hook called just before the news sending process starts.")
476 (defvar wl-message-buffer-created-hook nil
477 "A hook called when Message buffer is prepared.")
478 (defvar wl-message-redisplay-hook nil
479 "A hook called when Message is displayed.")
480 (defvar wl-message-exit-hook nil
481 "A hook called when quit message.")
482 (defvar wl-summary-exit-pre-hook nil
483 "A hook called before exit summary mode.")
484 (defvar wl-summary-exit-hook nil
485 "A hook called when exit summary mode.")
486 (defvar wl-highlight-headers-hook nil
487 "A hook called when header is highlighted.")
488 (defvar wl-highlight-message-hook nil
489 "A hook called when message is highlighted.")
490 (defvar wl-save-hook nil
491 "A hook called when save summary and folder status.")
492 (defvar wl-exit-hook nil
493 "A hook called when exit wanderlust.")
494 (defvar wl-folder-suspend-hook nil
495 "A hook called when suspend wanderlust.")
496 (defvar wl-biff-notify-hook '(ding)
497 "A hook called when a biff-notification is invoked.")
498 (defvar wl-biff-unnotify-hook nil
499 "A hook called when a biff-notification is removed.")
500 (defvar wl-auto-check-folder-pre-hook nil
501 "A hook called before auto check folders.")
502 (defvar wl-auto-check-folder-hook nil
503 "A hook called when auto check folders.")
504 (defvar wl-folder-check-entity-pre-hook nil
505 "A hook called before check entity.")
506 (defvar wl-folder-check-entity-hook nil
507 "A hook called when check entity.")
508 (defvar wl-draft-config-exec-hook nil
509 "A hook called when execute header-config on draft.")
510 (defvar wl-summary-expire-pre-hook nil
511 "A hook called before expire.")
512 (defvar wl-summary-expire-hook nil
513 "A hook called when expired.")
514 (defvar wl-summary-archive-pre-hook nil
515 "A hook called before archive.")
516 (defvar wl-summary-archive-hook nil
517 "A hook called when archived.")
518 (defvar wl-summary-line-inserted-hook nil
519 "A hook called when summary line is inserted.")
520 (defvar wl-summary-insert-headers-hook nil
521 "A hook called when insert header for search header.")
522 (defvar wl-message-display-internal-hook nil
523 "A hook called when message buffer is created and message is displayed.
524 This hook may contain the functions `wl-setup-message' for
525 reasons of system internal to accord facilities for the Emacs variants.")
526 (defvar wl-thread-update-children-number-hook nil
527 "A hook called when children number is updated.")
528 (defvar wl-folder-update-access-group-hook nil
529 "A hook called when update access group folder.")
530 (defvar wl-draft-cited-hook nil
531 "A hook called after a message is cited.")
532 (defvar wl-draft-insert-x-face-field-hook nil
533 "A hook called after a x-face field is inserted.")
534 (defvar wl-template-mode-hook nil
535 "A hook called when template mode is started.")
536 (defvar wl-score-mode-hook nil
537 "A hook called when score mode is started.")
538 (defvar wl-make-plugged-hook nil
539 "A hook called when make plugged alist.")
541 (defvar wl-plugged-exit-hook nil
542 "A hook called when exit plugged mode.")
544 ;;;; functions for draft
545 (defcustom wl-draft-send-function 'wl-draft-normal-send-func
546 "A function to send message."
550 (defcustom wl-draft-send-news-function 'wl-draft-elmo-nntp-send
551 "A function to send news."
555 (defcustom wl-draft-send-mail-function 'wl-draft-send-mail-with-smtp
556 "A function to send mail.
557 Prepared candidates are 'wl-draft-send-mail-with-smtp,
558 'wl-draft-send-mail-with-qmail and 'wl-draft-send-mail-with-pop-before-smtp."
559 :type '(radio (function-item wl-draft-send-mail-with-smtp)
560 (function-item wl-draft-send-mail-with-qmail)
561 (function-item wl-draft-send-mail-with-pop-before-smtp)
562 (function :tag "Other"))
565 (defcustom wl-draft-reply-with-argument-list
566 '(("Reply-To" . (("Reply-To") nil nil))
567 ("Mail-Reply-To" . (("Mail-Reply-To") nil nil))
568 ("From" . (("From") nil nil)))
569 "Alist of cons cell of
570 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
571 'field-name' is a string.
572 'fields for ***' is a list of strings.
573 If car of each cons cell exists in original message,
574 cdr of each cons cell is used for draft message.
575 Default is for 'reply-to-author'."
576 :type '(repeat (cons (choice (string :tag "Field Name")
577 (repeat (string :tag "Field Name")))
578 (list (repeat :tag "Fields For To" string)
579 (repeat :tag "Fields For Cc" string)
580 (repeat :tag "Fields For Newsgroups" string))))
583 (defcustom wl-draft-reply-without-argument-list
584 '(("Followup-To" . (nil nil ("Followup-To")))
585 ("Mail-Followup-To" . (("Mail-Followup-To") nil ("Newsgroups")))
586 ("Reply-To" . (("Reply-To") ("To" "Cc" "From") ("Newsgroups")))
587 ("From" . (("From") ("To" "Cc") ("Newsgroups"))))
588 "Alist of cons cell of
589 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
590 'field-name' is a string.
591 'fields for ***' is a list of strings.
592 If car of each cons cell exists in original message,
593 cdr of each cons cell is used for draft message.
594 Default is for 'reply-to-all'."
595 :type '(repeat (cons (choice (string :tag "Field Name")
596 (repeat (string :tag "Field Name")))
597 (list (repeat :tag "Fields For To" string)
598 (repeat :tag "Fields For Cc" string)
599 (repeat :tag "Fields For Newsgroups" string))))
602 (defcustom wl-draft-reply-myself-with-argument-list
603 '(("Followup-To" . (("To") ("Cc") ("Followup-To")))
604 ("Newsgroups" . (("To") ("Cc") ("Newsgroups")))
605 ("From" . (("To") ("Cc") nil)))
606 "Alist of cons cell of
607 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
608 'field-name' is a string.
609 'fields for ***' is a list of strings.
610 If car of each cons cell exists in original message,
611 cdr of each cons cell is used for draft message.
612 Default is for 'reply-to-me'."
613 :type '(repeat (cons (choice (string :tag "Field Name")
614 (repeat (string :tag "Field Name")))
615 (list (repeat :tag "Fields For To" string)
616 (repeat :tag "Fields For Cc" string)
617 (repeat :tag "Fields For Newsgroups" string))))
620 (defcustom wl-draft-reply-myself-without-argument-list
621 '(("Followup-To" . (("To") ("Cc") ("Followup-To")))
622 ("Newsgroups" . (("To") ("Cc") ("Newsgroups")))
623 ("From" . (("To") ("Cc") nil)))
624 "Alist of cons cell of
625 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
626 'field-name' is a string.
627 'fields for ***' is a list of strings.
628 If car of each cons cell exists in original message,
629 cdr of each cons cell is used for draft message.
630 Default is for 'followup-to-me'."
631 :type '(repeat (cons (choice (string :tag "Field Name")
632 (repeat (string :tag "Field Name")))
633 (list (repeat :tag "Fields For To" string)
634 (repeat :tag "Fields For Cc" string)
635 (repeat :tag "Fields For Newsgroups" string))))
638 (defcustom wl-draft-always-delete-myself nil
639 "*Always delete myself from reciepient if non-nil."
643 (defcustom wl-draft-delete-myself-from-bcc-fcc nil
644 "*Do not insert bcc or fcc if To and Cc fields is a member of
645 `wl-subscribed-mailing-list'"
649 (defcustom wl-draft-resume-folder-window t
650 "*Resume folder window in `wl-draft-hide'."
654 (defcustom wl-draft-use-frame nil
655 "*Raise new frame when composing draft."
659 (defcustom wl-draft-qmail-send-plugged nil
660 "*Send mail when plugged is on, in the `wl-draft-send-mail-with-qmail'."
664 (defcustom wl-draft-remove-group-list-contents t
665 "*If non-nil, remove group list contents in `wl-draft-send-mail-with-smtp'."
670 (defcustom wl-init-file "~/.wl"
671 "*User customization setting file."
675 (defcustom wl-folders-file "~/.folders"
680 (defcustom wl-address-file "~/.addresses"
685 (defcustom wl-alias-file "~/.im/Aliases"
686 "*Alias file for completion."
690 (defcustom wl-ldap-server "localhost"
692 :type '(string :tag "Server")
696 (defcustom wl-ldap-port nil
698 :type '(choice (const :tag "Default port" nil)
703 (defcustom wl-ldap-base "c=US"
705 :type '(string :tag "Base")
709 (defcustom wl-ldap-objectclass "person"
715 (defcustom wl-use-ldap nil
716 "*If non-nil, use LDAP for address completion."
721 (defcustom wl-use-acap nil
722 "*If non-nil, use ACAP for configuration."
726 (defcustom wl-folder-info-save t
727 "If non-nil, save elmo-folder-info-alist."
731 (defcustom wl-summary-unread-mark "!"
732 "Mark for unread message."
733 :type '(string :tag "Mark")
734 :group 'wl-summary-marks)
735 (defcustom wl-summary-important-mark "$"
736 "Mark for important message."
737 :type '(string :tag "Mark")
738 :group 'wl-summary-marks)
739 (defcustom wl-summary-new-mark "N"
740 "Mark for new message."
741 :type '(string :tag "Mark")
742 :group 'wl-summary-marks)
743 (defcustom wl-summary-unread-uncached-mark "U"
744 "Mark for unread and uncached message."
745 :type '(string :tag "Mark")
746 :group 'wl-summary-marks)
747 (defcustom wl-summary-unread-cached-mark "!"
748 "Mark for unread but already cached message."
749 :type '(string :tag "Mark")
750 :group 'wl-summary-marks)
751 (defcustom wl-summary-read-uncached-mark "u"
752 "Mark for read but uncached message."
753 :type '(string :tag "Mark")
754 :group 'wl-summary-marks)
755 (defcustom wl-summary-score-over-mark "+"
756 "Score mark used for messages with high scores."
757 :type '(string :tag "Mark")
758 :group 'wl-summary-marks)
759 (defcustom wl-summary-score-below-mark "-"
760 "Score mark used for messages with low scores."
761 :type '(string :tag "Mark")
762 :group 'wl-summary-marks)
764 (defcustom wl-summary-no-mime-folder-list
765 (list (concat "^" (regexp-quote wl-draft-folder) "$"))
766 "*All folders that match this list don't analysis mime."
767 :type '(repeat string)
770 (defcustom wl-summary-fix-timezone nil
771 "*Time zone of the date string in summary mode.
772 If nil, it is adjust to the default time zone information
773 \(system's default time zone or environment variable TZ\)."
774 :type '(choice (const :tag "Default time zone" nil)
778 (defcustom wl-summary-default-score 0
779 "*Default message score level.
780 All scores generated by the score files will be added to this score.
781 If this variable is nil, scoring will be disabled."
782 :type '(choice (const :tag "disable" nil)
786 (defcustom wl-summary-important-above nil
787 "*Mark all messages with a score above this variable as important.
788 This variable is local to the summary buffers."
789 :type '(choice (const :tag "off" nil)
793 (defcustom wl-summary-target-above nil
794 "*Mark all messages with a score above this variable as target.
795 This variable is local to the summary buffers."
796 :type '(choice (const :tag "off" nil)
800 (defcustom wl-summary-mark-below 0
801 "*Mark all messages with a score below this variable as read.
802 This variable is local to each summary buffer and usually set by the
807 (defcustom wl-summary-expunge-below nil
808 "All messages that have a score less than this variable will be expunged.
809 This variable is local to the summary buffers."
810 :type '(choice (const :tag "off" nil)
814 (defcustom wl-summary-score-marks
815 (list wl-summary-new-mark)
816 "Persistent marks to scoring."
817 :type '(repeat (string :tag "Mark"))
820 (defcustom wl-use-scoring t
821 "*If non-nil, enable scoring."
825 (defcustom wl-summary-rescore-partial-threshold 200
826 "*Summary is not scored entirely if there are messages more than this value.
827 In sync-all or rescan."
831 (defcustom wl-score-files-directory (concat elmo-msgdb-directory elmo-path-sep)
832 "*Name of the directory where score files will be stored.
833 (default \"~/.elmo\")."
837 (defcustom wl-score-interactive-default-score 1000
838 "*Scoring commands will raise/lower the score with this number as the default."
842 (defcustom wl-score-expiry-days 7
843 "*Number of days before unused score file entries are expired.
844 If this variable is nil, no score file entries will be expired."
845 :type '(choice (const :tag "never" nil)
849 (defcustom wl-score-update-entry-dates t
850 "*In non-nil, update matching score entry dates.
851 If this variable is nil, then score entries that provide matches
852 will be expired along with non-matching score entries."
856 (defcustom wl-score-folder-alist nil
857 "*Alist of folder regexp and score file."
858 :type '(repeat (list (regexp :tag "Folder Regexp")
861 (symbol :tag "Variable")))))
864 (defcustom wl-score-folder-alist-matchone t
865 "*If non-nil, getting only one element of `wl-score-folder-alist'."
869 (defcustom wl-score-default-file "all.SCORE"
870 "*Default score file name."
874 (defcustom wl-score-simplify-fuzzy-regexp
875 '("^[ \t]*\\[[^:]+[,: ][0-9]+\\][ \t]*")
876 "*Strings to be removed when doing fuzzy matches.
877 This can either be a regular expression or list of regular expressions."
878 :type '(repeat regexp)
881 (defcustom wl-score-header-default-entry
882 '(("number" -1000 perm =)
883 ("subject" -1000 nil nil)
884 ("from" -1000 perm s)
885 ("message-id" -1000 temp e)
886 ("references" -1000 perm e)
889 ("date" -1000 temp nil)
890 ("xref" -1000 perm s)
891 ("extra" -1000 perm s)
892 ("chars" -1000 perm >)
893 ("lines" -1000 perm >)
894 ("followup" -1000 perm s)
895 ("thread" -1000 temp s))
896 "*Default entry when insert score entry."
897 :type '(repeat (list (string :tag "Header")
898 (choice (integer :tag "Score")
899 (const :tag "Ask" nil))
900 (choice (const :tag "Permanent" perm)
901 (const :tag "Temporary" temp)
902 (const :tag "Ask" nil))
903 (choice (const :tag "Regexp string" r)
904 (const :tag "Substring" s)
905 (const :tag "fuzzy string" f)
906 (const :tag "Exact string" e)
907 (const :tag "REGEXP STRING" R)
908 (const :tag "SUBSTRING" S)
909 (const :tag "FUZZY STRING" F)
910 (const :tag "EXACT STRING" E)
911 (const :tag "less than" <)
912 (const :tag "less equal" <=)
913 (const :tag "greater than" >)
914 (const :tag "greater equal" >=)
915 (const :tag "equal" =)
916 (const :tag "Ask" nil))))
919 (defcustom wl-score-mode-mime-charset 'x-ctext
920 "*MIME Charset for score file."
924 (defcustom wl-draft-fields
925 '("To:" "Cc:" "Bcc:" "FCC:" "Distribution:" "Organization:"
926 "Newsgroups:" "Followup-To:" "Mail-Followup-To:" "From:" "Reply-To:")
927 "Fields used in draft mode."
928 :type '(repeat (string :tag "Field"))
931 (defcustom wl-draft-config-alist nil
932 "Alist of configuration field on draft.
934 '((\"^To: .*wl@lists.airs.net\"
935 (\"From\" . wl-from2)
936 (\"Organization\" . wl-organization2))
937 (\"^To: .*hogehoge@\"
938 (\"From\" . \"Anonymous <hogehoge@aaa.ne.jp>\")
939 wl-my-draft-config-func-hoge))"
940 :type '(repeat (list (sexp :tag "Match")
943 (choice (cons (sexp :tag "Field(Variable)")
945 (sexp :tag "Function")))))
949 (defcustom wl-draft-config-matchone nil
950 "*If non-nil, applied only one element of `wl-draft-config-alist'."
955 (defcustom wl-draft-elide-ellipsis "\n[...]\n\n"
956 "*The string which is inserted for elided text."
960 (defcustom wl-template-alist nil
962 :type '(repeat (list (string :tag "Name")
965 (choice (cons (sexp :tag "Field(Variable)")
967 (sexp :tag "Function")))))
971 (defcustom wl-template-visible-select t
972 "*If non-nil, select template with visible."
976 (defcustom wl-template-confirm nil
977 "*If non-nil, require your confirmation when selected template."
981 (defcustom wl-template-buffer-lines 7
982 "*Lines of template buffer."
987 (defcustom wl-draft-enable-queuing t
988 "*Non-nil enables queued sending."
993 (defcustom wl-draft-use-cache nil
994 "*If non-nil, sending message is cached."
999 (defcustom wl-auto-flush-queue t
1000 "*If non-nil, sending queue is flushed when network status is toggled."
1005 (defcustom wl-draft-reply-buffer-style 'split
1007 :type '(radio (const split)
1011 (defcustom wl-draft-queue-save-variables
1012 '(wl-envelope-from wl-from
1013 wl-smtp-posting-server wl-smtp-posting-user wl-smtp-posting-port
1014 wl-smtp-authenticate-type wl-smtp-connection-type
1015 wl-pop-before-smtp-server wl-pop-before-smtp-user wl-pop-before-smtp-port
1016 wl-pop-before-smtp-stream-type wl-pop-before-smtp-authenticate-type
1017 wl-nntp-posting-server wl-nntp-posting-server
1018 wl-nntp-posting-user wl-nntp-posting-port wl-nntp-posting-stream-type)
1019 "*Saving variables in queue info."
1020 :type '(repeat (sexp :tag "Variable"))
1023 (defcustom wl-draft-sendlog t
1024 "*Keep send state in log if non-nil."
1028 (defcustom wl-draft-sendlog-max-size 20000
1029 "*Max file size of sendlog."
1033 (defcustom wl-summary-default-number-column 5
1034 "Number of columns in summary buffer."
1038 (defcustom wl-summary-number-column-alist '(("\\*.*" . 6))
1039 "Alist of folder and its number column.
1040 If no matches, 'wl-summary-default-number-column' is used.
1042 '((\"^%inbox@qmail-maildir\" . 9)
1043 (\"^-.*@news-server\" . 6))"
1044 :type '(repeat (cons (regexp :tag "Folder Regexp") integer))
1047 (defcustom wl-summary-highlight t
1048 "Non-nil forces Summary buffer to be highlighted."
1051 :group 'wl-highlight)
1053 (defcustom wl-summary-lazy-highlight (and (boundp 'window-scroll-functions)
1055 "Non-nil forces lazy summary highlighting using `window-scroll-functions'."
1058 :group 'wl-highlight)
1060 (defcustom wl-summary-highlight-partial-threshold 1000
1061 "Summary is not highlighted entirely if there are lines more than this value.
1062 Available if only `wl-summary-lazy-highlight' is nil."
1065 :group 'wl-highlight)
1067 (defcustom wl-summary-partial-highlight-above-lines 30
1068 "If Summary has lines more than `wl-summary-highlight-partial-threshold',
1069 Summary lines are highlighted partialy above current position.
1070 Available if only `wl-summary-lazy-highlight' is nil."
1073 :group 'wl-highlight)
1075 (defcustom wl-summary-cache-use t
1076 "Non-nil forces wl-summary to use cache file."
1080 (defcustom wl-summary-auto-sync-marks t
1081 "Non-nil forces to synchronize unread/important marks."
1085 (defcustom wl-summary-cache-file ".wl-summary-cache"
1086 "*Cache file for summary mode contents."
1089 (defcustom wl-summary-view-file ".wl-summary-view"
1090 "*Current summary view."
1093 (defcustom wl-thread-top-file ".wl-thread-top"
1094 "*Current thread top entity... obsolete."
1097 (defcustom wl-thread-entity-file ".wl-thread-entity"
1101 (defcustom wl-thread-entity-list-file ".wl-thread-entity-list"
1102 "*Thread top entity list."
1106 (defcustom wl-print-buffer-function 'lpr-buffer
1107 "A function to print current buffer."
1111 (defcustom wl-ps-print-buffer-function
1112 (if window-system 'ps-print-buffer-with-faces 'ps-print-buffer)
1113 "A function to print current buffer with ps-print."
1118 (defcustom wl-use-petname t
1119 "*Display petname in summary and default citation title."
1123 (defcustom wl-use-folder-petname
1125 "*List of situation using folder petname.
1126 Allowed situations are:
1127 modeline : displayed on modeline.
1128 ask-folder : displayed on minibuffer when ask folder.
1129 read-folder : can used for completion at `wl-summary-read-folder'."
1130 :type '(set (const modeline)
1132 (const read-folder))
1136 (defcustom wl-folder-petname-alist nil
1137 "A list of (realname . petname)."
1138 :type '(repeat (cons (string :tag "Realname") (string :tag "Petname")))
1141 (defcustom wl-summary-weekday-name-lang "ja"
1142 "*Language to display week day."
1143 :type '(choice (const "ja")
1147 (string :tag "Other"))
1151 (defcustom wl-local-domain nil
1152 "*Domain part of this client (without hostname).
1153 Set this if (system-name) does not return FQDN."
1154 :type '(choice (const :tag "Use System Name" nil)
1158 (defcustom wl-message-id-domain nil
1159 "*Specific domain part of Message-ID."
1160 :type '(choice (const :tag "Use System Name" nil)
1164 (defcustom wl-break-pages t
1165 "*Break Pages at ^L."
1169 (defcustom wl-message-truncate-lines default-truncate-lines
1170 "*Truncate lines in Message Buffer."
1174 (defcustom wl-draft-truncate-lines default-truncate-lines
1175 "*Truncate lines in Draft Buffer."
1180 (defcustom wl-message-scroll-amount 5
1181 "*Scroll amount by SPC key."
1185 (defcustom wl-message-window-size '(1 . 4)
1186 "*Size of summary and message window. cons cell of (Summary : Message)."
1187 :type '(cons integer integer)
1190 (defcustom wl-message-sort-field-list '("Return-Path" "Received" "^To" "^Cc"
1191 "Newsgroups" "Subject" "^From")
1192 "*Sort order of header fields. Each elements are regexp of field name."
1193 :type '(repeat (string :tag "Field Regexp"))
1197 (defcustom wl-message-ignored-field-list nil
1198 "All fields that match this list will be hidden in message buffer.
1199 Each elements are regexp of field-name."
1200 :type '(repeat (string :tag "Field Regexp"))
1204 (defcustom wl-message-visible-field-list nil
1205 "All fields that match this list will be displayed in message buffer.
1206 Each elements are regexp of field-name."
1207 :type '(repeat (string :tag "Field Regexp"))
1211 (defcustom wl-message-header-button-alist
1212 (` (("^\\(References\\|Message-Id\\|In-Reply-To\\):"
1214 0 wl-message-button-refer-article 0)
1216 "\\(<\\(url: \\)?news:\\([^>\n ]*\\)>\\)"
1217 1 wl-message-button-refer-article 3)))
1218 "Alist of headers and regexps to match buttons in message headers."
1220 (list (regexp :tag "Header")
1222 (integer :tag "Button")
1223 (function :tag "Callback")
1226 (integer :tag "Regexp group"))))
1229 (defcustom wl-message-body-button-alist
1230 '(("<mailto:[^>]+>" 0 'ignore 0 1024)
1231 ("<[^>]+@[^>]+>" 0 wl-message-button-refer-article 0 1024))
1232 "Alist of regexps to match buttons in message body."
1235 (integer :tag "Button")
1236 (function :tag "Callback")
1239 (integer :tag "Regexp group"))
1240 (integer :tag "Max Length")))
1243 (defcustom wl-folder-window-width 20
1244 "*Width of folder window."
1249 (defcustom wl-summary-recenter t
1250 "*Recenter on redisplay."
1255 (defcustom wl-folder-use-frame nil
1256 "*Use dedicated frame for folder mode if non-nil."
1260 (defcustom wl-summary-use-frame nil
1261 "*Use dedicated frame for each folder summary if non-nil."
1265 (defcustom wl-stay-folder-window nil
1266 "*Stay folder window when folder is selected if non-nil."
1270 (defcustom wl-reply-subject-prefix "Re: "
1271 "*Prefix of the subject of the replied message."
1276 (defcustom wl-draft-reply-use-address-with-full-name t
1277 "*Use address with full-name in the draft of replied message."
1282 (defcustom wl-subject-prefix-regexp "^[ \t]*\\([Rr][Ee][:>][ \t]*\\)*[ \t]*"
1283 "*Regexp matching \"Re: \" in the subject line."
1288 (defcustom wl-folder-many-unsync-threshold 70
1289 "*Folders which contains messages more than this number are highlighted
1290 with wl-highlight-folder-many-face."
1295 (defcustom wl-fcc nil
1296 "*Folder Carbon Copy."
1297 :type '(choice (const :tag "disable" nil)
1302 (defcustom wl-fcc-force-as-read nil
1303 "*If non-nil, mark copied message as read."
1308 (defcustom wl-bcc nil
1309 "*Blind Carbon Copy."
1310 :type '(choice (const :tag "disable" nil)
1315 (defcustom wl-folder-desktop-name "Desktop"
1316 "*An implicit name of the folder top entity."
1321 (defcustom wl-summary-indent-length-limit 46
1322 "*Limit of indent length for thread. Nil means unlimited"
1323 :type '(choice (const :tag "Unlimited" nil)
1328 (defcustom wl-summary-no-from-message "nobody@nowhere?"
1329 "*A string displayed in summary when no from field exists."
1333 (defcustom wl-summary-no-subject-message "(WL:No Subject in original.)"
1334 "*A string displayed in summary when no subject field exists."
1338 (defcustom wl-summary-cancel-message "I'd like to cancel my message."
1339 "*The body content of a cancel message."
1343 (defcustom wl-summary-width 80
1344 "*Set summary line width if non nil."
1345 :type '(choice (const :tag "Don't truncate" nil)
1350 (defcustom wl-summary-pick-field-default "Body"
1351 "*Default field for pick."
1352 :type '(radio (const "From")
1361 (string :tag "Other"))
1364 (defcustom wl-summary-from-width 17
1365 "*From width in summary."
1370 (defcustom wl-summary-subject-length-limit nil
1371 "*Set subject width in summary when wl-summary-width is nil.
1372 Nil means unlimited"
1373 :type '(choice (const :tag "Unlimited" nil)
1378 (defcustom wl-mime-charset 'x-ctext
1379 "*MIME Charset for summary and message."
1384 (defcustom wl-generate-mailer-string-function 'wl-generate-user-agent-string
1385 "A function to create X-Mailer field string ."
1389 (defcustom wl-highlight-background-mode (if (boundp 'hilit-background-mode)
1390 (or hilit-background-mode 'dark)
1392 "*Background mode of highlight (for Old Emacsen). 'dark or 'light."
1393 :type '(radio (const dark)
1395 :group 'wl-highlight)
1397 (defcustom wl-highlight-x-face-function nil
1398 "A function to display X-Face."
1400 :group 'wl-highlight)
1402 (defcustom wl-qmail-inject-program "/var/qmail/bin/qmail-inject"
1403 "Location of the qmail-inject program."
1404 :type '(string :tag "Program")
1407 (defcustom wl-qmail-inject-args nil
1408 "Arguments passed to qmail-inject programs.
1409 This should be a list of strings, one string for each argument.
1411 For e.g., if you wish to set the envelope sender address so that bounces
1412 go to the right place or to deal with listserv's usage of that address, you
1413 might set this variable to '(\"-f\" \"you@some.where\")."
1414 :type '(repeat (string :tag "Argument"))
1417 (defcustom wl-rejected-letter-start
1418 "^[\t ]*-+[\t ]+\\(original\\|\\(\\(the \\)?unsent\\)\\) message\\( follows\\)?[\t ]+-+[\t ]*$"
1419 "Regexp specifying the beginning of the wrapper around a returned letter.
1420 This wrapper is generated by the mail system when rejecting a letter."
1424 (defcustom wl-ignored-forwarded-headers "\\(received\\|return-path\\|x-uidl\\)"
1425 "*All headers that match this regexp will be deleted when forwarding a message."
1429 (defcustom wl-ignored-resent-headers "\\(return-receipt\\|[bdf]cc\\)"
1430 "*All headers that match this regexp will be deleted when resending a message."
1434 (defcustom wl-refile-default-from-folder "+from"
1435 "*Folder name to refile by `wl-refile-guess-by-from'."
1436 :type '(string :tag "Folder")
1439 (defcustom wl-summary-auto-refile-skip-marks
1440 (list wl-summary-new-mark
1441 wl-summary-unread-uncached-mark
1442 wl-summary-unread-cached-mark)
1443 "Persistent marks to skip auto-refiling."
1444 :type '(repeat (string :tag "Mark"))
1447 (defcustom wl-summary-reserve-mark-list
1449 "If a message is already marked as temporal marks in this list,
1450 the message is not marked by any mark command."
1451 :type '(repeat (string :tag "Temp-Mark"))
1454 (defcustom wl-summary-skip-mark-list
1456 "If a message is already marked as temporal marks in this list,
1457 the message is skipped at cursor move."
1458 :type '(repeat (string :tag "Temp-Mark"))
1461 (defcustom wl-summary-incorporate-marks
1462 (list wl-summary-new-mark
1463 wl-summary-unread-uncached-mark)
1464 "Persistent marks to prefetch at `wl-summary-incorporate'."
1465 :type '(repeat (string :tag "Mark"))
1468 (defcustom wl-refile-rule-alist nil
1473 (\"teranisi@isl.ntt.co.jp\" . \"+teranisi\"))
1475 (\"^Wanderlust\" . \"+wl\")
1476 (\"^Elips\" . \"+elips\")))"
1477 :type '(repeat (list (string :tag "Field")
1479 (cons (regexp :tag "Value")
1480 (string :tag "Folder")))))
1483 (defcustom wl-strict-diff-folders nil
1484 "List of regexps matching folders of which Wanderlust seriously counts unsync messages."
1485 :type '(choice (const :tag "Off" nil)
1486 (repeat (regexp :tag "Folder Regexp")))
1489 (defcustom wl-folder-use-server-diff t
1490 "Checked unread message number on IMAP4 server.
1491 Only IMAP4 folders have an effect."
1495 (defcustom wl-force-fetch-folders nil
1496 "Non-nil forces to fetch subfolders when user opened an 'access' folder."
1497 :type '(choice (const :tag "off" nil)
1498 (const :menu-tag "on" t)
1499 (repeat (regexp :tag "Folder Regexp")))
1502 (defcustom wl-auto-check-folder-name nil
1503 "*The folder specified by this variable will be automatically checked
1505 :type '(choice (string :tag "Folder")
1506 (repeat (string :tag "Folder"))
1510 (defcustom wl-auto-uncheck-folder-list '("\\$.*")
1511 "All folders that match this list won't be checked when group is
1512 automatically checked (or desktop is checked).
1513 This value is preceded by wl-auto-check-folder-list.
1514 Each elements are regexp of folder name."
1515 :type '(repeat (regexp :tag "Folder Regexp"))
1518 (defcustom wl-auto-check-folder-list nil
1519 "All folders that match this list are checked when group is
1520 automatically checked (or desktop is checked).
1521 This value precedes wl-auto-uncheck-folder-list.
1522 Each elements are regexp of folder name."
1523 :type '(repeat (regexp :tag "Folder Regexp"))
1526 (defcustom wl-show-plug-status-on-modeline t
1527 "If it is non-nil, show plugged status in modeline."
1529 :group 'wl-highlight)
1531 (defcustom wl-plug-state-indicator-on " [ON] "
1532 "String used to show plugged status ON."
1534 :group 'wl-highlight)
1536 (defcustom wl-plug-state-indicator-off " [--] "
1537 "String used to show plugged status OFF."
1539 :group 'wl-highlight)
1541 (defcustom wl-biff-check-folder-list nil
1542 "All folders that match this list are automatically checked
1543 every intervals specified by wl-biff-check-interval."
1544 :type '(repeat (regexp :tag "Folder Regexp"))
1545 :group 'wl-highlight)
1547 (defcustom wl-biff-check-interval 40
1548 "Number of seconds between updates of new mails in the mode line."
1550 :group 'wl-highlight)
1552 (defcustom wl-biff-state-indicator-on (if (and (featurep 'xemacs)
1553 (not (featurep 'mule)))
1555 (decode-coding-string
1557 (read "\"[\e$B\\\")\e(B]\"")
1561 "String used to show biff status ON."
1563 :group 'wl-highlight)
1565 (defcustom wl-biff-state-indicator-off (if (and (featurep 'xemacs)
1566 (not (featurep 'mule)))
1568 ;; Japanese short hyphen
1570 "String used to show biff status OFF."
1572 :group 'wl-highlight)
1574 (defcustom wl-mode-line-display-priority-list '(biff plug title)
1575 "Displaying order of items to be shown in modeline. The first item will
1576 be placed in the leftmost. The significant items are `biff' and `plug';
1577 otherwise, e.g. `title', corresponds to the things except for the biff
1578 staus nor the plugged status. The default order is '(biff plug title)
1579 even if the value of this option is set to nil. Here are some samples:
1581 ;; Plugged status first:
1582 \(setq wl-mode-line-display-priority-list '(plug))
1584 ;; Biff status, Title of Wanderlust, Plugged status:
1585 \(setq wl-mode-line-display-priority-list '(biff title plug))
1588 :type '(repeat (radio (const :format "%v " biff)
1589 (const :format "%v " plug)
1590 (sexp :tag "Other" :value title)))
1591 :group 'wl-highlight)
1593 (defcustom wl-interactive-send t
1594 "*If non-nil, require your confirmation when sending draft message."
1599 (defcustom wl-interactive-exit t
1600 "*If non-nil, require your confirmation when exiting WL."
1604 (defcustom wl-summary-move-order 'unread
1605 "*The order of priority when move in summary mode.
1606 If this variable is `unread', precede \"U\", \"!\", \"N\" mark.
1607 If this variable is `new', precede \"N\" mark."
1608 :type '(radio (const new)
1613 (defvar wl-summary-move-direction-downward t)
1615 (defcustom wl-summary-move-direction-toggle t
1616 "*If non-nil, search direction for the next message will be determined
1617 depends on previous search direction.
1618 It uses wl-summary-move-direction-downward as a direction flag."
1622 (defcustom wl-auto-select-first nil
1623 "*If non-nil, display selected first message when enter summary."
1628 (defcustom wl-auto-select-next nil
1629 "*If non-nil, offer to go to the next folder from the end of the previous.
1630 If the value is the symbol `unread', go to the next folder
1631 that no unread message exists. If the value is the symbol `skip-no-unread',
1632 skip the folder that no unread message exists.
1634 See also variable `wl-summary-next-no-unread-command'."
1635 :type '(radio (const :tag "off" nil)
1638 (const skip-no-unread))
1642 (defcustom wl-message-buffer-prefetch-folder-type-list t
1643 "*All folder types that match this list prefetch next message,
1644 and reserved buffer cache."
1645 :type `(choice (const :tag "all" t)
1646 (const :tag "never" nil)
1647 (set (const localdir)
1660 (defcustom wl-message-buffer-prefetch-folder-list nil
1661 "*All folders that match this list prefetch next message,
1662 and reserved buffer cache.
1665 :type '(repeat (regexp :tag "Folder Regexp"))
1668 (defcustom wl-summary-always-sticky-folder-list nil
1669 "All folders that match this list has sticky summary.
1670 Each elements are regexp of folder name."
1671 :type '(radio (const :tag "none" nil)
1672 (const :tag "all" t)
1673 (repeat (regexp :tag "Folder Regexp")))
1676 (defcustom wl-no-save-folder-list '("^/.*$" "^\\[.*$")
1677 "All folders that match this list won't save its msgdb.
1678 Each elements are regexp of folder name."
1679 :type '(repeat (regexp :tag "Folder Regexp"))
1682 (defcustom wl-save-folder-list nil
1683 "All folders that match this list save its msgdb.
1684 Each elements are regexp of folder name."
1685 :type '(repeat (regexp :tag "Folder Regexp"))
1688 (defcustom wl-folder-mime-charset-alist
1689 '(("^-alt\\.chinese" . big5)
1690 ("^-relcom\\." . koi8-r)
1692 ("^-han\\." . euc-kr)
1693 ("@sponichi" . shift_jis))
1694 "Charset alist. If no match, `wl-mime-charset' is used."
1695 :type '(repeat (cons (regexp :tag "Folder Regexp") (symbol :tag "Charset")))
1699 (defcustom wl-folder-weekday-name-lang-alist
1700 '(("^-alt\\.chinese" . "en")
1701 ("^-relcom\\." . "en")
1703 ("^-han\\." . "en"))
1704 "Weekday name lang alist.
1705 If no match, `wl-summary-weekday-name-lang' is used.
1707 '((\"xemacs-beta$\" . \"en\")
1708 (\"^-fj\" . \"ja\"))"
1709 :type '(repeat (cons (regexp :tag "Folder Regexp")
1710 (choice (const "ja")
1714 (string :tag "Other"))))
1717 (defcustom wl-folder-thread-indent-set-alist
1718 '(("^-alt\\.chinese" . (2 "+" "+" "|" "-" " "))
1719 ("^-relcom\\." . (2 "+" "+" "|" "-" " "))
1720 ("^-tw\\." . (2 "+" "+" "|" "-" " "))
1721 ("^-han\\." . (2 "+" "+" "|" "-" " ")))
1722 "Thread indent set alist.
1723 If no match, following indent set is used.
1724 (wl-thread-indent-level
1725 wl-thread-have-younger-brother-str
1726 wl-thread-youngest-child-str
1727 wl-thread-vertical-str
1728 wl-thread-horizontal-str
1729 wl-thread-space-str)
1731 '((\"xemacs-beta$\" . (2 \"+\" \"+\" \"|\" \"-\" \" \")))"
1732 :type '(repeat (cons (regexp :tag "Folder Regexp")
1733 (group (integer :tag "Indent")
1734 (string :tag "Yonger Brother")
1735 (string :tag "Yonger Child")
1736 (string :tag "Vertical")
1737 (string :tag "Horizontal")
1738 (string :tag "Space"))))
1741 (defcustom wl-folder-sync-range-alist
1742 (list (cons (concat "^" (regexp-quote wl-draft-folder) "$\\|^"
1743 (regexp-quote wl-queue-folder) "$")
1745 "*Default sync range alist. If no matches, `wl-default-sync-range' is used."
1746 :type '(repeat (cons (regexp :tag "Folder Regexp")
1747 (choice (const "update")
1753 (const :tag "none" nil))))
1756 (defcustom wl-default-sync-range "update"
1757 "*Default sync range."
1758 :type '(choice (const "update")
1764 (const :tag "none" nil))
1767 (defcustom wl-ask-range t
1768 "*If non-nil, ask for a range for summary synchronization.
1769 If nil, always use default."
1773 (defcustom wl-folder-process-duplicates-alist nil
1774 "Specify process type of duplicated messages.
1775 It should be a list of cons cell like: (REGEXP . TYPE)
1776 REGEXP is a regular expression string of folder name.
1777 TYPE is one of the symbols `hide' or `read'.
1778 `hide' means hide duplicated messages.
1779 `read' means mark as read duplicated messages.
1780 If TYPE is nil, do nothing for duplicated messages."
1781 :type '(repeat (cons (regexp :tag "Folder regexp")
1782 (choice (const :tag "Hide" hide)
1783 (const :tag "Mark as read" read))))
1786 (defcustom wl-folder-move-cur-folder nil
1787 "*Non-nil, move to current folder on folder-mode when goto folder."
1791 (defcustom wl-folder-check-async t
1792 "*Check the folder asynchronous."
1796 (defcustom wl-folder-notify-deleted nil
1797 "*Non-nil, display negative number on folder-mode when message is deleted
1798 in folder. If the value is 'sync, msgdb would be synchronized."
1799 :type '(choice (const :tag "off" nil)
1804 (defcustom wl-summary-exit-next-move t
1805 "*Non-nil, move to next-unsync or next-entity when exit summary."
1809 (defcustom wl-summary-next-no-unread-command
1810 '(wl-summary-read wl-summary-down wl-summary-up)
1811 "*Command list available when the value of `wl-auto-select-next' is 'unread
1812 or 'skip-no-unread."
1813 :type '(repeat function)
1816 (defcustom wl-summary-search-via-nntp 'confirm
1817 "*Non-nil, search message via nntp after `wl-summary-jump-to-msg-by-message-id'. If the value is 'confirm, confirm before search."
1821 (defcustom wl-summary-keep-cursor-command
1822 '(wl-summary-goto-folder wl-summary-goto-last-visited-folder)
1823 "*Command list to keep cursor position when folder is changed to
1824 already existing summary."
1825 :type '(repeat function)
1828 (defcustom wl-summary-showto-folder-regexp nil
1829 "Regexp specifying the folder that shows the To (or Newsgroups) field as
1830 Sender information in summary mode."
1831 :type '(choice (const :tag "none" nil)
1835 (defcustom wl-folder-removed-mark "#<removed>"
1836 "Mark for removed folder."
1840 (defcustom wl-folder-unsubscribe-mark "#"
1841 "Mark for unsubscribe folder."
1845 (defcustom wl-delete-folder-alist '(("^-" . remove))
1846 "*Alist of folder and delete policy.
1847 Each element is (folder-regexp . policy).
1849 The policy is one of the followings:
1851 'null : remove message.
1852 string : refile to the specified folder.
1854 otherwise : refile to the `wl-trash-folder'.
1856 '((\"^%\" . \"%#mh/trash\")
1858 (\"^\\\\+\" . trash))"
1859 :type '(repeat (cons (regexp :tag "Folder Regexp")
1860 (choice :tag "Policy"
1862 (const :tag "remove(null)" null)
1864 (const :tag "trash(other)" trash)
1865 (string :tag "Folder"))))
1868 (defcustom wl-refile-policy-alist '(("^[-=']" . copy)
1870 "*List of refile policy. Each element is (FOLDER-REGEXP . POLICY).
1871 POLICY is copy or move."
1872 :type '(repeat (cons (regexp :tag "Folder Regexp")
1873 (choice (const copy)
1878 (defcustom wl-folder-hierarchy-access-folders '("-" "-alt")
1879 "*Access group folders to make hierarchy structure."
1880 :type '(repeat (string :tag "Folder"))
1883 (defcustom wl-folder-init-load-access-folders nil
1884 "*Access group folders to load folder list on `wl-folder-init'.
1885 If this variable is non-nil,
1886 `wl-folder-init-no-load-access-folders' will be ignored."
1887 :type '(repeat (regexp :tag "Folder Regexp"))
1890 (defcustom wl-folder-init-no-load-access-folders nil
1891 "*Access group folders to not load folder list on `wl-folder-init'.
1892 If `wl-folder-init-load-access-folders' is non-nil,
1893 this variable will be ignored."
1894 :type '(repeat (regexp :tag "Folder Regexp"))
1897 (defcustom wl-folder-access-subscribe-alist nil
1898 "*Subscribe folders to fetching folder entries.
1899 Each element is (group-regexp (subscribe folder-regexp ...)).
1900 If subscribe is non-nil, subscribe when match folder-regexp.
1901 If subscribe is nil, unsubscribe when match folder-regexp.
1904 '((\"^-fj$\" . (t \"^-fj\\\\.\\\\(editor\\\\|mail\\\\|net\\\\|news\\\\)\"))
1905 (\"^-comp$\" . (t \"^-comp\\\\.unix\" \"^-comp\\\\.sys\"))
1906 (\"^-$\" . (nil \"^-alt\" \"^-rec\")))"
1907 :type '(repeat (cons (regexp :tag "Folder Regexp")
1908 (list (boolean :tag "Subscribed")
1910 (regexp :tag "Folder Regexp")))))
1913 ;;; For Folder Manager
1915 (defcustom wl-interactive-save-folders t
1916 "*Non-nil require your confirmation when save folders."
1921 (defcustom wl-fldmgr-make-backup t
1922 "*Non-nil make backup file when save folders."
1926 (defcustom wl-fldmgr-folders-indent "\t"
1927 "*Indent string for folders file."
1931 (defcustom wl-fldmgr-sort-function 'wl-fldmgr-sort-standard
1932 "*A function to sort folder."
1936 (defcustom wl-fldmgr-sort-group-first t
1937 "*Non-nil Group folder is first when sort."
1941 (defcustom wl-fldmgr-add-complete-with-current-folder-list nil
1942 "*If non-nil, completion for adding folder refers current folder list."
1946 (defcustom wl-fldmgr-make-filter-default "Body"
1947 "*Default filter key while making filter on Folder."
1948 :type '(radio (const "From")
1957 (string :tag "Other"))
1960 ;;; For Expire and Archive
1962 (defcustom wl-expire-alist nil
1963 "Alist to decide a policy for expire.
1964 Each element is (folder-regexp (number or date) policy).
1966 The policy is one of the followings:
1967 'remove : remove messsage.
1968 'trash : refile `wl-trash-folder'.
1969 string : refile string folder.
1970 function : call function.
1973 '((\"^\\\\+ml/wl$\" (number 500 510) wl-expire-archive-number1 t)
1974 (\"^\\\\+ml/\" (number 300 305) wl-expire-archive-number2)
1975 (\"^\\\\+outbox$\" (number 300) \"$outbox;lha\")
1976 (\"^\\\\(\\\\+tmp\\\\|\\\\+trash\\\\)$\" (date 7) remove)
1977 (\"^\\\\+misc$\" (date 14) trash))"
1978 :type '(repeat (choice (list :tag "No-match"
1979 (regexp :tag "Folder Regexp")
1982 (regexp :tag "Folder Regexp")
1983 (list (radio :value number
1988 (repeat :inline t integer)))
1989 (choice :tag "Policy"
1993 (string :tag "folder")
1996 :tag "Arg for function"
2000 (defcustom wl-archive-alist '((".*" wl-archive-number1))
2001 "Alist to decide a policy for archive.
2002 Each element is (folder-regexp policy(function)).
2005 '((\"\\\\+work$\" wl-archive-date)
2006 (\"\\\\+ml/\" wl-archive-number1)
2007 (\".*\" wl-archive-number2))"
2008 :type '(repeat (list (regexp :tag "Folder Regexp")
2011 (sexp :tag "Argument"))))
2014 (defcustom wl-summary-expire-reserve-marks
2015 (list wl-summary-important-mark
2017 wl-summary-unread-mark
2018 wl-summary-unread-uncached-mark
2019 wl-summary-unread-cached-mark)
2020 "Permanent marks of reserved message when expire.
2021 Don't reserve temporary mark message.
2024 'all : reserved all permanent marks.
2025 'none : not reserve permanent marks.
2026 list : reserved specified permanent marks."
2027 :type '(repeat (string :tag "Mark"))
2030 (defcustom wl-expire-number-with-reserve-marks nil
2031 "If non-nil, include reserve message when expire by number."
2035 (defcustom wl-expire-add-seen-list t
2036 "*If non-nil, add seen message list when refile message at expire."
2040 (defcustom wl-expire-use-log nil
2041 "*If non-nil, write a log when expired."
2045 (defcustom wl-expire-folder-update-msgdb t
2046 "*Non-nil update summary msgdb when expire on folder mode."
2050 ;; for wl-expire-archive-{number1|number2}
2051 (defcustom wl-expire-archive-files 100
2052 "*The number of one archive folder."
2056 ;; for wl-expire-archive-{number1|number2|date}
2057 (defcustom wl-expire-archive-get-folder-function
2058 'wl-expire-archive-get-folder
2059 "*A function to get archive folder name."
2063 (defcustom wl-expire-delete-oldmsg-confirm t
2064 "*If non-nil, require your confirmation when delete old message."
2068 ;; for wl-expire-archive-get-folder
2069 (defcustom wl-expire-archive-folder-type 'zip
2070 "*Archiver type of archive folder."
2071 :type '(radio (const zip)
2077 (symbol :tag "Other"))
2080 (defcustom wl-expire-archive-folder-name-fmt "%s-%%05d;%s" ;; $folder-00100;zip
2081 "*A format string for archive folder name."
2085 (defcustom wl-expire-archive-folder-num-regexp "-\\([0-9]+\\);"
2086 "*A regexp string for archive folder name."
2090 (defcustom wl-expire-archive-date-folder-name-fmt "%s-%%04d%%02d;%s"
2091 ;; $folder-199812;zip
2092 "*A format string for archive date folder name."
2096 (defcustom wl-expire-archive-date-folder-num-regexp "-\\([0-9]+\\);"
2097 "*A regexp string for archive date folder name."
2101 (defcustom wl-expire-archive-folder-prefix nil
2102 "*Prefix for archive folder."
2103 :type '(radio (const :tag "nothing" nil)
2104 (const :tag "full" t)
2110 ;; highilght about summary
2111 (defcustom wl-highlight-max-summary-lines 10000
2112 "*If the summary is larger than this lines, don't highlight it."
2114 :group 'wl-highlight)
2116 ;; highilght about draft and message
2117 (defcustom wl-highlight-body-too t
2118 "*In addition to header, highlight the body too. if non nil."
2120 :group 'wl-highlight)
2122 (defcustom wl-highlight-message-header-alist
2123 '(("Subject[ \t]*:" . wl-highlight-message-important-header-contents)
2124 ("From[ \t]*:\\|To[ \t]*:" . wl-highlight-message-important-header-contents2)
2125 ("X-[^ \t]*:\\|User-Agent[ \t]*:" . wl-highlight-message-unimportant-header-contents))
2127 :type '(repeat (cons regexp face))
2128 :group 'wl-highlight)
2130 (defcustom wl-highlight-citation-prefix-regexp
2131 "^[>|:} ]*[>|:}]\\([^ \n>]*>\\)?\\|^[^ <\n>]*>"
2132 "All lines that match this regexp will be highlighted with
2133 `wl-highlight-message-cited-text-*' face."
2135 :group 'wl-highlight)
2137 (defcustom wl-highlight-highlight-citation-too nil
2138 "*Whether the whole citation line should go in the
2139 `wl-highlight-citation-face' face.
2140 If nil, the text matched by `wl-highlight-citation-prefix-regexp' is in the
2141 default face, and the remainder of the line is in the
2142 wl-highlight-message-cited-text face."
2144 :group 'wl-highlight)
2146 (defcustom wl-highlight-force-citation-header-regexp
2147 "^>>>.*$\\|^[ \t]*<[^>]*>[ \t]*$"
2148 "*The pattern to match the prolog of a cited block.
2149 Text in the body of a message which matches this will be displayed in
2150 the `wl-highlight-message-headers' face."
2152 :group 'wl-highlight)
2154 (defcustom wl-highlight-citation-header-regexp
2155 (concat "In article.*$\\|In message.*$\\|In the message.*$\\|"
2156 "^At[^\n]+\n[^\n]+wrote:\n\\|"
2157 "^.*\\(writes\\|wrote\\|said\\):\n")
2158 "*The pattern to match the prolog of a cited block.
2159 Text in the body of a message which matches this will be displayed in
2160 the `wl-highlight-message-headers' face."
2162 :group 'wl-highlight)
2164 (defcustom wl-highlight-max-header-size nil
2165 "*If the message header is larger than this many chars, don't highlight it.
2166 If this is nil, all headers will be highlighted."
2168 :group 'wl-highlight)
2170 (defcustom wl-highlight-max-message-size 10000
2171 "*If the message body is larger than this many chars, don't highlight it.
2172 This is to prevent us from wasting time trying to fontify things like
2173 uuencoded files and large digests. If this is nil, all messages will
2176 :group 'wl-highlight)
2178 ;; highilght about signature (of draft and message)
2179 (defcustom wl-highlight-signature-separator
2180 '("\n--+\n" "\n\n--+.*\n*\\'")
2181 "List of regexps matching signature separator.
2182 It will be verified from head to tail looking for a separator.
2183 Verification will be done from the end of the buffer.
2184 No need to specify \"^-- $\" in this list,
2185 because it is verified by default.
2186 This variable can also be a regex."
2187 :type '(repeat regexp)
2188 :group 'wl-highlight)
2190 (defcustom wl-max-signature-size 400
2191 "*If the signature is larger than this chars, don't treat it as a signature."
2193 :group 'wl-highlight)
2195 ;; highilght about mouse
2196 (defcustom wl-use-highlight-mouse-line (and window-system
2197 (>= emacs-major-version 19))
2198 "*Highlight mouse line, if non nil."
2200 :group 'wl-highlight)
2202 ;; highilght about folder
2203 (defcustom wl-highlight-folder-with-icon
2204 (or (and (featurep 'xemacs)
2207 "*Highlight folder with icon(XEmacs or Emacs 21)."
2209 :group 'wl-highlight)
2210 (defcustom wl-highlight-folder-by-numbers t
2211 "Highlight folder lines by numbers.
2212 If it is a number, only numbers will be highlighted."
2213 :type '(choice (const :tag "whole line" t)
2214 (const :tag "only numbers" 1)
2215 (const :tag "don't highlight" nil))
2216 :group 'wl-highlight)
2218 (defcustom wl-highlight-signature-search-function 'wl-highlight-signature-search
2219 "Function to search signature area in the message body."
2221 :group 'wl-highlight)
2223 (defcustom wl-use-dnd (and wl-on-xemacs
2224 (featurep 'dragdrop))
2225 "If Non-nil, support dragdrop feature in XEmacs."
2229 (defcustom wl-reset-plugged-alist t
2230 "*If non-nil, reset `elmo-plugged-alist' when startup."
2234 (defcustom wl-demo-display-logo (if (or (featurep 'xemacs)
2235 (module-installed-p 'image)
2236 (module-installed-p 'bitmap))
2238 "If it is T, show graphic logo in the startup screen. You can set it to
2239 a symbol `bitmap', `xbm' or `xpm' in order to force the image format."
2240 :type '(radio (const :tag "Off" nil)
2241 (const :tag "On (any format)" t)
2244 (const :tag "bitmap (using BITMAP-MULE)" bitmap))
2247 ;;; Internal variables
2248 (defvar wl-init nil)
2250 ;; For disconnected operations.
2251 (defvar wl-plugged-hook nil)
2252 (defvar wl-unplugged-hook nil)
2253 (defvar wl-plugged t)
2255 ;; Internal variables used to modeline identifiers.
2256 (defvar wl-modeline-plug-status nil)
2257 (defvar wl-modeline-plug-state-on wl-plug-state-indicator-on)
2258 (defvar wl-modeline-plug-state-off wl-plug-state-indicator-off)
2259 (defvar wl-modeline-biff-status nil)
2260 (defvar wl-modeline-biff-state-on wl-biff-state-indicator-on)
2261 (defvar wl-modeline-biff-state-off wl-biff-state-indicator-off)
2263 ;; Advanced thread view.
2264 (defvar wl-thread-indent-level 1
2265 "*Indent level for thread.")
2266 (defvar wl-thread-have-younger-brother-str "
\e$B(2
\e(B"
2267 "*A string for thread branch line. It should contain one character.")
2268 (defvar wl-thread-youngest-child-str "
\e$B(1
\e(B"
2269 "*A string for thread branch line. It should contain one character.")
2270 (defvar wl-thread-vertical-str "
\e$B(-
\e(B"
2271 "*A string for thread branch line. It should contain one character.")
2272 (defvar wl-thread-horizontal-str "
\e$B(,
\e(B"
2273 "*A string for thread branch line. It should contain one character.")
2274 (defvar wl-thread-space-str "
\e$B!!
\e(B"
2275 "*A string for thread branch line. It should contain one character.")
2277 (defvar wl-highlight-thread-indent-string-regexp "[^[<]*"
2278 "* A regexp string for thread indent...for highlight.")
2280 ;; folder icons. filename relative to wl-icon-directory
2281 (defvar wl-opened-group-folder-icon "opened.xpm"
2282 "*Icon file for opened group folder.")
2283 (defvar wl-closed-group-folder-icon "closed.xpm"
2284 "*Icon file for closed group folder.")
2285 (defvar wl-nntp-folder-icon "news.xpm"
2286 "*Icon file for nntp folder.")
2287 (defvar wl-imap-folder-icon "imap.xpm"
2288 "*Icon file for imap folder.")
2289 (defvar wl-pop-folder-icon "pop.xpm"
2290 "*Icon file for pop folder.")
2291 (defvar wl-localdir-folder-icon "local.xpm"
2292 "*Icon file for localdir folder.")
2293 (defvar wl-localnews-folder-icon "localnews.xpm"
2294 "*Icon file for localnews folder.")
2295 (defvar wl-internal-folder-icon "internal.xpm"
2296 "*Icon file for internal folder.")
2297 (defvar wl-multi-folder-icon "multi.xpm"
2298 "*Icon file for multi folder.")
2299 (defvar wl-filter-folder-icon "filter.xpm"
2300 "*Icon file for filter folder.")
2301 (defvar wl-archive-folder-icon "archive.xpm"
2302 "*Icon file for archive folder.")
2303 (defvar wl-pipe-folder-icon "pipe.xpm"
2304 "*Icon file for pipe folder.")
2305 (defvar wl-nmz-folder-icon "nmz.xpm"
2306 "*Icon file for namazu folder.")
2307 (defvar wl-shimbun-folder-icon "shimbun.xpm"
2308 "*Icon file for shimbun folder.")
2309 (defvar wl-maildir-folder-icon "maildir.xpm"
2310 "*Icon file for maildir folder.")
2311 (defvar wl-empty-trash-folder-icon "trash-e.xpm"
2312 "*Icon file for emptied trash folder.")
2313 (defvar wl-trash-folder-icon "trash.xpm"
2314 "*Icon file for trash folder.")
2315 (defvar wl-draft-folder-icon "draft.xpm"
2316 "*Icon file for draft folder.")
2317 (defvar wl-queue-folder-icon "queue.xpm"
2318 "*Icon file for queue folder.")
2319 (defvar wl-plugged-icon "plugged.xpm"
2320 "*Icon file for plugged state.")
2321 (defvar wl-unplugged-icon "unplugged.xpm"
2322 "*Icon file for unplugged state.")
2323 (defvar wl-biff-mail-icon "letter.xpm"
2324 "*Icon file for mail existed state.")
2325 (defvar wl-biff-nomail-icon "no-letter.xpm"
2326 "*Icon file for no mail existed state.")
2327 (defvar wl-prog-uudecode "uudecode"
2328 "*uudecode program name.")
2329 (defvar wl-prog-uudecode-arg nil
2330 "*Arguments for uudecode program.")
2331 (defvar wl-prog-uudecode-no-stdout-option t
2332 "*If non-nil, uudecode program don't have option for output to stdout.")
2335 (defvar wl-plugged-plug-on "ON")
2336 (defvar wl-plugged-plug-off "--")
2337 (defvar wl-plugged-auto-off "**")
2338 (defvar wl-plugged-server-indent 2)
2339 (defvar wl-plugged-port-indent 4)
2340 (defvar wl-plugged-queue-status-column 25)
2342 ;;;; Obsolete variables.
2344 ;; 2001-12-11: *-dir -> *-directory
2345 (elmo-define-obsolete-variable 'wl-icon-dir
2347 (elmo-define-obsolete-variable 'wl-mime-save-dir
2348 'wl-mime-save-directory)
2349 (elmo-define-obsolete-variable 'wl-score-files-dir
2350 'wl-score-files-directory)
2351 (elmo-define-obsolete-variable 'wl-tmp-dir
2352 'wl-temporary-file-directory)
2355 (elmo-define-obsolete-variable 'wl-from-width
2356 'wl-summary-from-width)
2357 (elmo-define-obsolete-variable 'wl-subject-length-limit
2358 'wl-summary-subject-length-limit)
2361 (elmo-define-obsolete-variable 'wl-summary-update-confirm-threshold
2362 'elmo-folder-update-threshold)
2363 (elmo-define-obsolete-variable 'wl-fetch-confirm-threshold
2364 'elmo-message-fetch-threshold)
2366 (elmo-define-obsolete-variable 'wl-cache-prefetch-folder-type-list
2367 'wl-message-buffer-prefetch-folder-type-list)
2368 (elmo-define-obsolete-variable 'wl-cache-prefetch-folder-list
2369 'wl-message-buffer-prefetch-folder-list)
2371 ;; 2001-02-27: *-func -> *-function
2372 (elmo-define-obsolete-variable 'wl-summary-from-func
2373 'wl-summary-from-function)
2374 (elmo-define-obsolete-variable 'wl-summary-subject-func
2375 'wl-summary-subject-function)
2376 (elmo-define-obsolete-variable 'wl-summary-subject-filter-func
2377 'wl-summary-subject-filter-function)
2378 (elmo-define-obsolete-variable 'wl-draft-send-func
2379 'wl-draft-send-function)
2380 (elmo-define-obsolete-variable 'wl-draft-send-news-func
2381 'wl-draft-send-news-function)
2382 (elmo-define-obsolete-variable 'wl-draft-send-mail-func
2383 'wl-draft-send-mail-function)
2384 (elmo-define-obsolete-variable 'wl-print-buffer-func
2385 'wl-print-buffer-function)
2386 (elmo-define-obsolete-variable 'wl-ps-print-buffer-func
2387 'wl-ps-print-buffer-function)
2388 (elmo-define-obsolete-variable 'wl-generate-mailer-string-func
2389 'wl-generate-mailer-string-function)
2390 (elmo-define-obsolete-variable 'wl-highlight-x-face-func
2391 'wl-highlight-x-face-function)
2392 (elmo-define-obsolete-variable 'wl-fldmgr-sort-func
2393 'wl-fldmgr-sort-function)
2394 (elmo-define-obsolete-variable 'wl-expire-archive-get-folder-func
2395 'wl-expire-archive-get-folder-function)
2396 (elmo-define-obsolete-variable 'wl-highlight-signature-search-func
2397 'wl-highlight-signature-search-function)
2399 ;; 2000-01-25: temp mark -> target mark
2400 (elmo-define-obsolete-variable 'wl-summary-temp-above
2401 'wl-summary-target-above)
2403 ;; 1999-11-07: Unified with `wl-draft-config-alist'.
2404 (defvar wl-draft-prepared-config-alist nil)
2405 (make-obsolete-variable 'wl-draft-prepared-config-alist
2406 'wl-draft-config-alist)
2409 (elmo-define-obsolete-variable 'wl-address-filename
2411 (elmo-define-obsolete-variable 'wl-score-default-file-name
2412 'wl-score-default-file)
2416 (product-provide (provide 'wl-vars) (require 'wl-version))
2418 ;;; wl-vars.el ends here