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 (defvar wl-summary-line-format-spec-alist
178 '((?Y (wl-summary-line-year))
179 (?M (wl-summary-line-month))
180 (?D (wl-summary-line-day))
181 (?W (wl-summary-line-day-of-week))
182 (?h (wl-summary-line-hour))
183 (?m (wl-summary-line-minute))
184 (?\[ (wl-summary-line-open-bracket))
185 (?\] (wl-summary-line-close-bracket))
186 (?t (wl-summary-line-thread-indent))
187 (?s (wl-summary-line-subject))
188 (?S (wl-summary-line-size))
189 (?c (wl-summary-line-children-number))
190 (?f (wl-summary-line-from))
191 (?F (wl-summary-line-children-and-from))
192 (?# (wl-summary-line-list-count)))
193 "An alist of format specifications that can appear in summary lines.
194 Each element is a list of following:
196 SPEC is a character for format specification.
197 STRING is an expression to get string to insert.")
199 (defcustom wl-summary-line-format "%M/%D(%W)%h:%m %t%[%17F %] %s"
200 "*A default format string for summary line of Wanderlust.
201 It may include any of the following format specifications
202 which are replaced by the given information:
204 %Y The year of the date field of the message (zero padded).
205 %M The month of the date field of the message (zero padded).
206 %D The day of the date field of the message (zero padded).
207 %W The weekday name of the date field of the message (zero padded).
208 %h The hour of the date field of the message (zero padded).
209 %m The minute of the date field of the message (zero padded).
210 %[ An open bracket. If the message thread is linked,
211 it is replaced with '<'.
212 %] A close bracket. If the message thread is linked,
213 it is replaced with '>'.
214 %c The children number of the closed message thread.
215 %f The from: field string of the message.
216 %F The children number of the closed message thread and
217 the from: field string of the message are concatenated.
218 %s The subject: field string of the message.
219 %S the size of the message (if available)."
223 (defcustom wl-folder-summary-line-format-alist nil
224 "An alist of folder name and a summary line format.
225 If no match, `wl-summary-line-format' is used.
227 '((\"^%\" . \"%M/%D(%W)%h:%m %t%[%14F %](%S) %s\")
228 (\"^@2ch\" . \"%M%/%D/%h:%m %t[%9F ]%s\")))"
229 :type '(repeat (cons (regexp :tag "Folder Regexp")
230 (string :tag "line format")))
233 (defcustom wl-summary-from-function 'wl-summary-default-from
234 "*A function for displaying sender (From: field) information."
238 (defcustom wl-summary-subject-function 'wl-summary-default-subject
239 "*A function for displaying subject."
243 (defcustom wl-summary-subject-filter-function 'wl-summary-default-subject-filter
244 "*A filter function for comparing subjects."
248 (defcustom wl-summary-search-parent-by-subject-regexp "^[ \t]*\\(\\[[^:]+[,: ][0-9]+\\]\\)?[ \t]*re[\\^[:> ]"
249 "*If message does not have in-reply-to field nor references field and
250 subject matches this regexp, search parent message by subject matching."
255 (defcustom wl-default-folder "%inbox"
256 "*Default folder used in `wl-summary-goto-folder'."
259 (defcustom wl-draft-folder "+draft"
263 (defcustom wl-trash-folder "+trash"
268 (defcustom wl-queue-folder "+queue"
273 (defcustom wl-default-spec "%"
278 (defcustom wl-insert-mail-followup-to nil
279 "*Insert Mail-Followup-To: field if non-nil."
283 (defcustom wl-insert-mail-reply-to nil
284 "*Insert Mail-Reply-To: field if non-nil."
288 (defcustom wl-insert-message-id t
289 "*Insert Message-ID: field if non-nil."
293 (defcustom wl-auto-insert-x-face t
294 "*Insert X-Face: field automatically."
298 (defcustom wl-x-face-file "~/.xface"
299 "*X-Face field is inserted using its contents.
300 If file exists and `wl-auto-insert-x-face' is non-nil."
304 (defcustom wl-subscribed-mailing-list nil
305 "*Subscribed mailing list.
306 You had better set this variable if you set 'wl-insert-mail-followup-to' as t."
307 :type '(repeat string)
312 "*Display demo at start time."
316 (defcustom wl-envelope-from nil
317 "*Envelope From used in SMTP.
318 If nil, `wl-from' is used."
319 :type '(choice (const :tag "Same as 'From' field." nil)
324 (defcustom wl-draft-additional-header-alist nil
325 "*Additional headers in the draft."
326 :type '(repeat (cons (symbol :tag "Field Name")
327 (choice (string :tag "String")
328 (function :tag "Function")))))
330 (defcustom wl-draft-add-in-reply-to t
331 "*If non-nil, message-id of the cited message is inserted to the
332 in-reply-to field of the current draft."
336 (defcustom wl-draft-add-references nil
337 "*If non-nil, message-id of the cited message is inserted to the
338 references field of the current draft."
342 (defcustom wl-draft-cite-function 'wl-default-draft-cite
343 "*A function for citation."
347 (defcustom wl-default-draft-cite-decorate-author t
348 "*If non-nil, the author of cited message is arranged by
349 `wl-summary-from-func-internal' in `wl-default-draft-cite'."
353 (defcustom wl-smtp-connection-type nil
354 "*SMTP connection type.
355 If nil, default smtp connection type is used."
356 :type '(choice (const :tag "default" nil)
357 (const :tag "Use STARTTLS" starttls)
361 (defcustom wl-smtp-posting-user nil
362 "*SMTP authentication user."
363 :type '(choice (const :tag "none" nil)
368 (defcustom wl-smtp-posting-server nil
369 "*SMTP server name to send mail (wl-draft-send-mail-with-smtp)."
370 :type '(choice (const :tag "none" nil)
375 (defcustom wl-smtp-posting-port nil
376 "*SMTP port number in `wl-smtp-posting-server'.
377 If nil, default SMTP port number(25) is used."
378 :type '(choice (const :tag "Default (25)" nil)
383 (defcustom wl-smtp-authenticate-type nil
384 "*SMTP Authentication type.
385 If nil, don't authenticate."
386 :type '(choice (const :tag "none" nil)
387 (const :tag "PLAIN" "plain")
388 (const :tag "CRAM-MD5" "cram-md5")
389 (const :tag "LOGIN" "login")
390 (string :tag "Other"))
394 (defcustom wl-pop-before-smtp-user nil
395 "*POP3 user name to send mail using POP-before-SMTP.
396 If nil, `elmo-pop3-default-user' is used.
397 To use POP-before-SMTP,
398 \(setq wl-draft-send-mail-function 'wl-draft-send-mail-with-pop-before-smtp\)"
399 :type '(choice (const :tag "none" nil)
404 (defcustom wl-pop-before-smtp-server nil
405 "*POP3 server for POP-before-SMTP.
406 If nil, `elmo-pop3-default-server' is used."
407 :type '(choice (const :tag "none" nil)
412 (defcustom wl-pop-before-smtp-port nil
413 "*POP3 port for POP-before-SMTP.
414 If nil, `elmo-pop3-default-port' is used."
415 :type '(choice (const :tag "none" nil)
420 (defcustom wl-pop-before-smtp-stream-type nil
421 "*Stream type for POP-before-SMTP.
422 If nil, `elmo-pop3-default-stream-type' is used."
426 (defcustom wl-pop-before-smtp-authenticate-type nil
427 "*Default Authentication type for POP-before-SMTP.
428 If nil, `elmo-pop3-default-authenticate-type' is used."
429 :type '(choice (const :tag "none" nil)
430 (const :tag "APOP" 'apop)
431 (const :tag "POP3" 'user))
435 (defcustom wl-nntp-posting-server nil
436 "*NNTP server name to post news.
437 If nil, `elmo-nntp-default-server' is used."
438 :type '(choice (const :tag "none" nil)
442 (defcustom wl-nntp-posting-user nil
443 "*NNTP user name to post news for authinfo.
444 If nil, `elmo-nntp-default-user' is used.
445 If nil, don't authenticate."
446 :type '(choice (const :tag "none" nil)
450 (defcustom wl-nntp-posting-port nil
451 "*NNTP port to post news.
452 If nil, `elmo-nntp-default-port' is used."
453 :type '(choice (const :tag "none" nil)
457 (defcustom wl-nntp-posting-stream-type nil
458 "*Stream type for posting Netnews.
459 If nil, `elmo-nntp-default-stream-type' is used."
463 (defcustom wl-prefetch-confirm t
464 "*Confirm prefetching if message size is larger than `wl-prefetch-threshold'."
468 (defcustom wl-prefetch-threshold 30000
469 "*Maximum size of message prefetched without confirmation.
470 If nil, all messages prefetched regardless of its size.
471 If message size is larger than this value, confirm prefetching
472 when `wl-prefetch-confirm' is non-nil."
473 :type '(choice (integer :tag "Threshold (bytes)")
474 (const :tag "No limitation" nil))
478 (defcustom wl-thread-insert-opened nil
479 "*Non-nil forces to insert thread as opened in updating."
484 (defcustom wl-thread-open-reading-thread t
485 "*Non-nil forces to open reading thread."
490 (defvar wl-folder-mode-hook nil
491 "A hook called when wanderlust folder mode is started.
492 This hook may contain the functions `wl-folder-init-icons' and
493 `wl-setup-folder' for reasons of system internal to accord facilities
494 for the Emacs variants.")
495 (defvar wl-summary-toggle-disp-on-hook nil
496 "A hook called when message is toggled.")
497 (defvar wl-summary-toggle-disp-off-hook nil
498 "A hook called when message is disappeared.")
499 (defvar wl-summary-toggle-disp-folder-on-hook nil
500 "A hook called when folder is toggled.")
501 (defvar wl-summary-toggle-disp-folder-off-hook nil
502 "A hook called when folder is disappeared.")
503 (defvar wl-summary-toggle-disp-folder-message-resumed-hook nil
504 "A hook called when message window is resumed when folder is toggled.")
505 (defvar wl-summary-mode-hook nil
506 "A hook called when summary mode is started.
507 This hook may contain the function `wl-setup-summary' for reasons of
508 system internal to accord facilities for the Emacs variants.")
510 (defvar wl-summary-prepared-pre-hook nil
511 "A hook called before the summary buffer has been generated.")
512 (defvar wl-summary-prepared-hook nil
513 "A hook called after the summary buffer has been generated.")
514 (defvar wl-summary-sync-updated-hook nil
515 "A hook called when update summary buffer.")
516 (defvar wl-summary-unread-message-hook nil
517 "A hook called when unread message is displayed.")
518 (defvar wl-summary-edit-addresses-hook nil
519 "A hook called when address book is edited.")
520 (defvar wl-summary-buffer-message-saved-hook nil
521 "A hook called when msgdb is saved.")
522 (defvar wl-summary-buffer-mark-saved-hook nil
523 "A hook called when mark is saved.")
524 (defvar wl-summary-divide-thread-when-subject-changed nil
525 "Divide thread when subject is changed.")
526 (defvar wl-init-hook nil
527 "A hook called when initialization is finished. This hook may contain
528 the functions `wl-plugged-init-icons' and `wl-biff-init-icons' for
529 reasons of system internal to accord facilities for the Emacs variants.")
531 "A hook called when Wanderlust is invoked.")
532 (defvar wl-reply-hook nil
533 "A hook called when replied.")
534 (defvar wl-mail-setup-hook nil
535 "A hook called when Draft is prepared.")
536 (defvar wl-draft-reedit-hook nil
537 "A hook called when Draft is re-edited.")
538 (defvar wl-draft-send-hook '(wl-draft-config-exec)
539 "A hook called on the draft editing buffer before sending process starts.")
540 (defvar wl-mail-send-pre-hook nil
541 "A hook called just before the mail sending process starts.")
542 (defvar wl-news-send-pre-hook nil
543 "A hook called just before the news sending process starts.")
544 (defvar wl-message-buffer-created-hook nil
545 "A hook called when Message buffer is prepared.")
546 (defvar wl-message-redisplay-hook nil
547 "A hook called when Message is displayed.")
548 (defvar wl-message-exit-hook nil
549 "A hook called when quit message.")
550 (defvar wl-summary-exit-pre-hook nil
551 "A hook called before exit summary mode.")
552 (defvar wl-summary-exit-hook nil
553 "A hook called when exit summary mode.")
554 (defvar wl-highlight-headers-hook nil
555 "A hook called when header is highlighted.")
556 (defvar wl-highlight-message-hook nil
557 "A hook called when message is highlighted.")
558 (defvar wl-save-hook nil
559 "A hook called when save summary and folder status.")
560 (defvar wl-exit-hook nil
561 "A hook called when exit wanderlust.")
562 (defvar wl-folder-suspend-hook nil
563 "A hook called when suspend wanderlust.")
564 (defvar wl-biff-notify-hook '(ding)
565 "A hook called when a biff-notification is invoked.")
566 (defvar wl-biff-unnotify-hook nil
567 "A hook called when a biff-notification is removed.")
568 (defvar wl-auto-check-folder-pre-hook nil
569 "A hook called before auto check folders.")
570 (defvar wl-auto-check-folder-hook nil
571 "A hook called when auto check folders.")
572 (defvar wl-folder-check-entity-pre-hook nil
573 "A hook called before check entity.")
574 (defvar wl-folder-check-entity-hook nil
575 "A hook called when check entity.")
576 (defvar wl-draft-config-exec-hook nil
577 "A hook called when execute header-config on draft.")
578 (defvar wl-summary-expire-pre-hook nil
579 "A hook called before expire.")
580 (defvar wl-summary-expire-hook nil
581 "A hook called when expired.")
582 (defvar wl-summary-archive-pre-hook nil
583 "A hook called before archive.")
584 (defvar wl-summary-archive-hook nil
585 "A hook called when archived.")
586 (defvar wl-summary-line-inserted-hook nil
587 "A hook called when summary line is inserted.")
588 (defvar wl-summary-insert-headers-hook nil
589 "A hook called when insert header for search header.")
590 (defvar wl-message-display-internal-hook nil
591 "A hook called when message buffer is created and message is displayed.
592 This hook may contain the functions `wl-setup-message' for
593 reasons of system internal to accord facilities for the Emacs variants.")
594 (defvar wl-thread-update-children-number-hook nil
595 "A hook called when children number is updated.")
596 (defvar wl-folder-update-access-group-hook nil
597 "A hook called when update access group folder.")
598 (defvar wl-draft-cited-hook nil
599 "A hook called after a message is cited.")
600 (defvar wl-draft-insert-x-face-field-hook nil
601 "A hook called after a x-face field is inserted.")
602 (defvar wl-template-mode-hook nil
603 "A hook called when template mode is started.")
604 (defvar wl-score-mode-hook nil
605 "A hook called when score mode is started.")
606 (defvar wl-make-plugged-hook nil
607 "A hook called when make plugged alist.")
609 (defvar wl-plugged-exit-hook nil
610 "A hook called when exit plugged mode.")
612 ;;;; functions for draft
613 (defcustom wl-draft-send-function 'wl-draft-normal-send-func
614 "A function to send message."
618 (defcustom wl-draft-send-news-function 'wl-draft-elmo-nntp-send
619 "A function to send news."
623 (defcustom wl-draft-send-mail-function 'wl-draft-send-mail-with-smtp
624 "A function to send mail.
625 Prepared candidates are 'wl-draft-send-mail-with-smtp,
626 'wl-draft-send-mail-with-qmail and 'wl-draft-send-mail-with-pop-before-smtp."
627 :type '(radio (function-item wl-draft-send-mail-with-smtp)
628 (function-item wl-draft-send-mail-with-qmail)
629 (function-item wl-draft-send-mail-with-pop-before-smtp)
630 (function :tag "Other"))
633 (defcustom wl-draft-reply-with-argument-list
634 '(("Reply-To" . (("Reply-To") nil nil))
635 ("Mail-Reply-To" . (("Mail-Reply-To") nil nil))
636 ("From" . (("From") nil 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 'reply-to-author'."
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-reply-without-argument-list
652 '(("Followup-To" . (nil nil ("Followup-To")))
653 ("Mail-Followup-To" . (("Mail-Followup-To") nil ("Newsgroups")))
654 ("Reply-To" . (("Reply-To") ("To" "Cc" "From") ("Newsgroups")))
655 ("From" . (("From") ("To" "Cc") ("Newsgroups"))))
656 "Alist of cons cell of
657 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
658 'field-name' is a string.
659 'fields for ***' is a list of strings.
660 If car of each cons cell exists in original message,
661 cdr of each cons cell is used for draft message.
662 Default is for 'reply-to-all'."
663 :type '(repeat (cons (choice (string :tag "Field Name")
664 (repeat (string :tag "Field Name")))
665 (list (repeat :tag "Fields For To" string)
666 (repeat :tag "Fields For Cc" string)
667 (repeat :tag "Fields For Newsgroups" string))))
670 (defcustom wl-draft-reply-myself-with-argument-list
671 '(("Followup-To" . (("To") ("Cc") ("Followup-To")))
672 ("Newsgroups" . (("To") ("Cc") ("Newsgroups")))
673 ("From" . (("To") ("Cc") nil)))
674 "Alist of cons cell of
675 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
676 'field-name' is a string.
677 'fields for ***' is a list of strings.
678 If car of each cons cell exists in original message,
679 cdr of each cons cell is used for draft message.
680 Default is for 'reply-to-me'."
681 :type '(repeat (cons (choice (string :tag "Field Name")
682 (repeat (string :tag "Field Name")))
683 (list (repeat :tag "Fields For To" string)
684 (repeat :tag "Fields For Cc" string)
685 (repeat :tag "Fields For Newsgroups" string))))
688 (defcustom wl-draft-reply-myself-without-argument-list
689 '(("Followup-To" . (("To") ("Cc") ("Followup-To")))
690 ("Newsgroups" . (("To") ("Cc") ("Newsgroups")))
691 ("From" . (("To") ("Cc") nil)))
692 "Alist of cons cell of
693 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
694 'field-name' is a string.
695 'fields for ***' is a list of strings.
696 If car of each cons cell exists in original message,
697 cdr of each cons cell is used for draft message.
698 Default is for 'followup-to-me'."
699 :type '(repeat (cons (choice (string :tag "Field Name")
700 (repeat (string :tag "Field Name")))
701 (list (repeat :tag "Fields For To" string)
702 (repeat :tag "Fields For Cc" string)
703 (repeat :tag "Fields For Newsgroups" string))))
706 (defcustom wl-draft-always-delete-myself nil
707 "*Always delete myself from reciepient if non-nil."
711 (defcustom wl-draft-delete-myself-from-bcc-fcc nil
712 "*Do not insert bcc or fcc if To and Cc fields is a member of
713 `wl-subscribed-mailing-list'"
717 (defcustom wl-draft-resume-folder-window t
718 "*Resume folder window in `wl-draft-hide'."
722 (defcustom wl-draft-use-frame nil
723 "*Raise new frame when composing draft."
727 (defcustom wl-draft-qmail-send-plugged nil
728 "*Send mail when plugged is on, in the `wl-draft-send-mail-with-qmail'."
732 (defcustom wl-draft-remove-group-list-contents t
733 "*If non-nil, remove group list contents in `wl-draft-send-mail-with-smtp'."
738 (defcustom wl-init-file "~/.wl"
739 "*User customization setting file."
743 (defcustom wl-folders-file "~/.folders"
748 (defcustom wl-address-file "~/.addresses"
753 (defcustom wl-alias-file "~/.im/Aliases"
754 "*Alias file for completion."
758 (defcustom wl-ldap-server "localhost"
760 :type '(string :tag "Server")
764 (defcustom wl-ldap-port nil
766 :type '(choice (const :tag "Default port" nil)
771 (defcustom wl-ldap-base "c=US"
773 :type '(string :tag "Base")
777 (defcustom wl-ldap-objectclass "person"
783 (defcustom wl-use-ldap nil
784 "*If non-nil, use LDAP for address completion."
789 (defcustom wl-use-acap nil
790 "*If non-nil, use ACAP for configuration."
794 (defcustom wl-folder-info-save t
795 "If non-nil, save elmo-folder-info-alist."
799 (defcustom wl-summary-unread-mark "!"
800 "Mark for unread message."
801 :type '(string :tag "Mark")
802 :group 'wl-summary-marks)
803 (defcustom wl-summary-important-mark "$"
804 "Mark for important message."
805 :type '(string :tag "Mark")
806 :group 'wl-summary-marks)
807 (defcustom wl-summary-new-mark "N"
808 "Mark for new message."
809 :type '(string :tag "Mark")
810 :group 'wl-summary-marks)
811 (defcustom wl-summary-unread-uncached-mark "U"
812 "Mark for unread and uncached message."
813 :type '(string :tag "Mark")
814 :group 'wl-summary-marks)
815 (defcustom wl-summary-unread-cached-mark "!"
816 "Mark for unread but already cached message."
817 :type '(string :tag "Mark")
818 :group 'wl-summary-marks)
819 (defcustom wl-summary-read-uncached-mark "u"
820 "Mark for read but uncached message."
821 :type '(string :tag "Mark")
822 :group 'wl-summary-marks)
823 (defcustom wl-summary-score-over-mark "+"
824 "Score mark used for messages with high scores."
825 :type '(string :tag "Mark")
826 :group 'wl-summary-marks)
827 (defcustom wl-summary-score-below-mark "-"
828 "Score mark used for messages with low scores."
829 :type '(string :tag "Mark")
830 :group 'wl-summary-marks)
832 (defcustom wl-summary-no-mime-folder-list nil
833 "*All folders that match this list don't analysis mime."
834 :type '(repeat string)
837 (defcustom wl-summary-fix-timezone nil
838 "*Time zone of the date string in summary mode.
839 If nil, it is adjust to the default time zone information
840 \(system's default time zone or environment variable TZ\)."
841 :type '(choice (const :tag "Default time zone" nil)
845 (defcustom wl-summary-default-score 0
846 "*Default message score level.
847 All scores generated by the score files will be added to this score.
848 If this variable is nil, scoring will be disabled."
849 :type '(choice (const :tag "disable" nil)
853 (defcustom wl-summary-important-above nil
854 "*Mark all messages with a score above this variable as important.
855 This variable is local to the summary buffers."
856 :type '(choice (const :tag "off" nil)
860 (defcustom wl-summary-target-above nil
861 "*Mark all messages with a score above this variable as target.
862 This variable is local to the summary buffers."
863 :type '(choice (const :tag "off" nil)
867 (defcustom wl-summary-mark-below 0
868 "*Mark all messages with a score below this variable as read.
869 This variable is local to each summary buffer and usually set by the
874 (defcustom wl-summary-expunge-below nil
875 "All messages that have a score less than this variable will be expunged.
876 This variable is local to the summary buffers."
877 :type '(choice (const :tag "off" nil)
881 (defcustom wl-summary-score-marks
882 (list wl-summary-new-mark)
883 "Persistent marks to scoring."
884 :type '(repeat (string :tag "Mark"))
887 (defcustom wl-use-scoring t
888 "*If non-nil, enable scoring."
892 (defcustom wl-summary-rescore-partial-threshold 200
893 "*Summary is not scored entirely if there are messages more than this value.
894 In sync-all or rescan."
898 (defcustom wl-score-files-directory (concat elmo-msgdb-directory elmo-path-sep)
899 "*Name of the directory where score files will be stored.
900 (default \"~/.elmo\")."
904 (defcustom wl-score-interactive-default-score 1000
905 "*Scoring commands will raise/lower the score with this number as the default."
909 (defcustom wl-score-expiry-days 7
910 "*Number of days before unused score file entries are expired.
911 If this variable is nil, no score file entries will be expired."
912 :type '(choice (const :tag "never" nil)
916 (defcustom wl-score-update-entry-dates t
917 "*In non-nil, update matching score entry dates.
918 If this variable is nil, then score entries that provide matches
919 will be expired along with non-matching score entries."
923 (defcustom wl-score-folder-alist nil
924 "*Alist of folder regexp and score file."
925 :type '(repeat (list (regexp :tag "Folder Regexp")
928 (symbol :tag "Variable")))))
931 (defcustom wl-score-folder-alist-matchone t
932 "*If non-nil, getting only one element of `wl-score-folder-alist'."
936 (defcustom wl-score-default-file "all.SCORE"
937 "*Default score file name."
941 (defcustom wl-score-simplify-fuzzy-regexp
942 '("^[ \t]*\\[[^:]+[,: ][0-9]+\\][ \t]*")
943 "*Strings to be removed when doing fuzzy matches.
944 This can either be a regular expression or list of regular expressions."
945 :type '(repeat regexp)
948 (defcustom wl-score-header-default-entry
949 '(("number" -1000 perm =)
950 ("subject" -1000 nil nil)
951 ("from" -1000 perm s)
952 ("message-id" -1000 temp e)
953 ("references" -1000 perm e)
956 ("date" -1000 temp nil)
957 ("xref" -1000 perm s)
958 ("extra" -1000 perm s)
959 ("chars" -1000 perm >)
960 ("lines" -1000 perm >)
961 ("followup" -1000 perm s)
962 ("thread" -1000 temp s))
963 "*Default entry when insert score entry."
964 :type '(repeat (list (string :tag "Header")
965 (choice (integer :tag "Score")
966 (const :tag "Ask" nil))
967 (choice (const :tag "Permanent" perm)
968 (const :tag "Temporary" temp)
969 (const :tag "Ask" nil))
970 (choice (const :tag "Regexp string" r)
971 (const :tag "Substring" s)
972 (const :tag "fuzzy string" f)
973 (const :tag "Exact string" e)
974 (const :tag "REGEXP STRING" R)
975 (const :tag "SUBSTRING" S)
976 (const :tag "FUZZY STRING" F)
977 (const :tag "EXACT STRING" E)
978 (const :tag "less than" <)
979 (const :tag "less equal" <=)
980 (const :tag "greater than" >)
981 (const :tag "greater equal" >=)
982 (const :tag "equal" =)
983 (const :tag "Ask" nil))))
986 (defcustom wl-score-mode-mime-charset 'x-ctext
987 "*MIME Charset for score file."
991 (defcustom wl-draft-fields
992 '("To:" "Cc:" "Bcc:" "Fcc:" "Distribution:" "Organization:"
993 "Newsgroups:" "Followup-To:" "Mail-Followup-To:" "From:" "Reply-To:")
994 "Fields used in draft mode."
995 :type '(repeat (string :tag "Field"))
998 (defcustom wl-draft-config-alist nil
999 "Alist of configuration field on draft.
1001 '((\"^To: .*wl@lists.airs.net\"
1002 (\"From\" . wl-from2)
1003 (\"Organization\" . wl-organization2))
1004 (\"^To: .*hogehoge@\"
1005 (\"From\" . \"Anonymous <hogehoge@aaa.ne.jp>\")
1006 wl-my-draft-config-func-hoge))"
1007 :type '(repeat (list (sexp :tag "Match")
1010 (choice (cons (sexp :tag "Field(Variable)")
1011 (sexp :tag "Value"))
1012 (sexp :tag "Function")))))
1016 (defcustom wl-draft-config-matchone nil
1017 "*If non-nil, applied only one element of `wl-draft-config-alist'."
1022 (defcustom wl-draft-elide-ellipsis "\n[...]\n\n"
1023 "*The string which is inserted for elided text."
1027 (defcustom wl-template-alist nil
1028 "Alist of template."
1029 :type '(repeat (list (string :tag "Name")
1032 (choice (cons (sexp :tag "Field(Variable)")
1033 (sexp :tag "Value"))
1034 (sexp :tag "Function")))))
1038 (defcustom wl-template-visible-select t
1039 "*If non-nil, select template with visible."
1043 (defcustom wl-template-confirm nil
1044 "*If non-nil, require your confirmation when selected template."
1048 (defcustom wl-template-buffer-lines 7
1049 "*Lines of template buffer."
1054 (defcustom wl-draft-enable-queuing t
1055 "*Non-nil enables queued sending."
1060 (defcustom wl-draft-force-queuing nil
1061 "*Non-nil forces queued sending for mail and news."
1066 (defcustom wl-draft-force-queuing-mail nil
1067 "*Non-nil forces queued sending for mail."
1072 (defcustom wl-draft-force-queuing-news nil
1073 "*Non-nil forces queued sending for news."
1078 (defcustom wl-draft-use-cache nil
1079 "*If non-nil, sending message is cached."
1084 (defcustom wl-auto-flush-queue t
1085 "*If non-nil, sending queue is flushed when network status is toggled."
1090 (defcustom wl-draft-reply-buffer-style 'split
1092 :type '(radio (const split)
1096 (defcustom wl-draft-queue-save-variables
1097 '(wl-envelope-from wl-from
1098 wl-smtp-posting-server wl-smtp-posting-user wl-smtp-posting-port
1099 wl-smtp-authenticate-type wl-smtp-connection-type
1100 wl-pop-before-smtp-server wl-pop-before-smtp-user wl-pop-before-smtp-port
1101 wl-pop-before-smtp-stream-type wl-pop-before-smtp-authenticate-type
1102 wl-nntp-posting-server wl-nntp-posting-server
1103 wl-nntp-posting-user wl-nntp-posting-port wl-nntp-posting-stream-type)
1104 "*Saving variables in queue info."
1105 :type '(repeat (sexp :tag "Variable"))
1108 (defcustom wl-draft-sendlog t
1109 "*Keep send state in log if non-nil."
1113 (defcustom wl-draft-sendlog-max-size 20000
1114 "*Max file size of sendlog."
1118 (defcustom wl-summary-default-number-column 5
1119 "Number of columns in summary buffer."
1123 (defcustom wl-summary-number-column-alist '(("\\*.*" . 6))
1124 "Alist of folder and its number column.
1125 If no matches, 'wl-summary-default-number-column' is used.
1127 '((\"^%inbox@qmail-maildir\" . 9)
1128 (\"^-.*@news-server\" . 6))"
1129 :type '(repeat (cons (regexp :tag "Folder Regexp") integer))
1132 (defcustom wl-summary-highlight t
1133 "Non-nil forces Summary buffer to be highlighted."
1136 :group 'wl-highlight)
1138 (defcustom wl-summary-lazy-highlight (and (boundp 'window-scroll-functions)
1140 "Non-nil forces lazy summary highlighting using `window-scroll-functions'."
1143 :group 'wl-highlight)
1145 (defcustom wl-summary-highlight-partial-threshold 1000
1146 "Summary is not highlighted entirely if there are lines more than this value.
1147 Available if only `wl-summary-lazy-highlight' is nil."
1150 :group 'wl-highlight)
1152 (defcustom wl-summary-partial-highlight-above-lines 30
1153 "If Summary has lines more than `wl-summary-highlight-partial-threshold',
1154 Summary lines are highlighted partialy above current position.
1155 Available if only `wl-summary-lazy-highlight' is nil."
1158 :group 'wl-highlight)
1160 (defcustom wl-summary-cache-use t
1161 "Non-nil forces wl-summary to use cache file."
1165 (defcustom wl-summary-auto-sync-marks t
1166 "Non-nil forces to synchronize unread/important marks."
1170 (defcustom wl-summary-cache-file ".wl-summary-cache"
1171 "*Cache file for summary mode contents."
1174 (defcustom wl-summary-view-file ".wl-summary-view"
1175 "*Current summary view."
1178 (defcustom wl-thread-top-file ".wl-thread-top"
1179 "*Current thread top entity... obsolete."
1182 (defcustom wl-thread-entity-file ".wl-thread-entity"
1186 (defcustom wl-thread-entity-list-file ".wl-thread-entity-list"
1187 "*Thread top entity list."
1191 (defcustom wl-print-buffer-function 'lpr-buffer
1192 "A function to print current buffer."
1196 (defcustom wl-ps-print-buffer-function
1197 (if window-system 'ps-print-buffer-with-faces 'ps-print-buffer)
1198 "A function to print current buffer with ps-print."
1203 (defcustom wl-use-petname t
1204 "*Display petname in summary and default citation title."
1208 (defcustom wl-use-folder-petname
1210 "*List of situation using folder petname.
1211 Allowed situations are:
1212 modeline : displayed on modeline.
1213 ask-folder : displayed on minibuffer when ask folder.
1214 read-folder : can used for completion at `wl-summary-read-folder'."
1215 :type '(set (const modeline)
1217 (const read-folder))
1221 (defcustom wl-folder-petname-alist nil
1222 "A list of (realname . petname)."
1223 :type '(repeat (cons (string :tag "Realname") (string :tag "Petname")))
1226 (defcustom wl-summary-weekday-name-lang "ja"
1227 "*Language to display week day."
1228 :type '(choice (const "ja")
1232 (string :tag "Other"))
1236 (defcustom wl-message-id-use-wl-from nil
1237 "*Use `wl-from' for domain part of Message-ID if non-nil."
1241 (defcustom wl-local-domain nil
1242 "*Domain part of this client (without hostname).
1243 Set this if (system-name) does not return FQDN."
1244 :type '(choice (const :tag "Use System Name" nil)
1248 (defcustom wl-message-id-domain nil
1249 "*Specific domain part of Message-ID."
1250 :type '(choice (const :tag "Use System Name" nil)
1254 (defcustom wl-unique-id-suffix ".wl"
1255 "*Specific string in generated Message-ID
1256 which appear just before @."
1260 (defcustom wl-break-pages t
1261 "*Break Pages at ^L."
1265 (defcustom wl-message-truncate-lines default-truncate-lines
1266 "*Truncate lines in Message Buffer."
1270 (defcustom wl-draft-truncate-lines default-truncate-lines
1271 "*Truncate lines in Draft Buffer."
1276 (defcustom wl-message-scroll-amount 5
1277 "*Scroll amount by SPC key."
1281 (defcustom wl-message-window-size '(1 . 4)
1282 "*Size of summary and message window. cons cell of (Summary : Message)."
1283 :type '(cons integer integer)
1286 (defcustom wl-message-sort-field-list '("Return-Path" "Received" "^To" "^Cc"
1287 "Newsgroups" "Subject" "^From")
1288 "*Sort order of header fields. Each elements are regexp of field name."
1289 :type '(repeat (string :tag "Field Regexp"))
1293 (defcustom wl-message-ignored-field-list nil
1294 "All fields that match this list will be hidden in message buffer.
1295 Each elements are regexp of field-name."
1296 :type '(repeat (string :tag "Field Regexp"))
1300 (defcustom wl-message-visible-field-list nil
1301 "All fields that match this list will be displayed in message buffer.
1302 Each elements are regexp of field-name."
1303 :type '(repeat (string :tag "Field Regexp"))
1307 (defcustom wl-message-header-button-alist
1308 (` (("^\\(References\\|Message-Id\\|In-Reply-To\\):"
1310 0 wl-message-button-refer-article 0)
1312 "\\(<\\(url: \\)?news:\\([^>\n ]*\\)>\\)"
1313 1 wl-message-button-refer-article 3)))
1314 "Alist of headers and regexps to match buttons in message headers."
1316 (list (regexp :tag "Header")
1318 (integer :tag "Button")
1319 (function :tag "Callback")
1322 (integer :tag "Regexp group"))))
1325 (defcustom wl-message-body-button-alist
1326 '(("<mailto:[^>]+>" 0 'ignore 0 1024)
1327 ("<[^>]+@[^>]+>" 0 wl-message-button-refer-article 0 1024))
1328 "Alist of regexps to match buttons in message body."
1331 (integer :tag "Button")
1332 (function :tag "Callback")
1335 (integer :tag "Regexp group"))
1336 (integer :tag "Max Length")))
1339 (defcustom wl-folder-window-width 20
1340 "*Width of folder window."
1345 (defcustom wl-summary-recenter t
1346 "*Recenter on redisplay."
1351 (defcustom wl-folder-use-frame nil
1352 "*Use dedicated frame for folder mode if non-nil."
1356 (defcustom wl-summary-use-frame nil
1357 "*Use dedicated frame for each folder summary if non-nil."
1361 (defcustom wl-stay-folder-window nil
1362 "*Stay folder window when folder is selected if non-nil."
1366 (defcustom wl-reply-subject-prefix "Re: "
1367 "*Prefix of the subject of the replied message."
1372 (defcustom wl-draft-reply-use-address-with-full-name t
1373 "*Use address with full-name in the draft of replied message."
1378 (defcustom wl-subject-prefix-regexp "^[ \t]*\\([Rr][Ee][:>][ \t]*\\)*[ \t]*"
1379 "*Regexp matching \"Re: \" in the subject line."
1384 (defcustom wl-folder-many-unsync-threshold 70
1385 "*Folders which contains messages more than this number are highlighted
1386 with wl-highlight-folder-many-face."
1391 (defcustom wl-fcc nil
1392 "*Folder Carbon Copy."
1393 :type '(choice (const :tag "disable" nil)
1398 (defcustom wl-fcc-force-as-read nil
1399 "*If non-nil, mark copied message as read."
1404 (defcustom wl-bcc nil
1405 "*Blind Carbon Copy."
1406 :type '(choice (const :tag "disable" nil)
1411 (defcustom wl-folder-desktop-name "Desktop"
1412 "*An implicit name of the folder top entity."
1417 (defcustom wl-summary-indent-length-limit 46
1418 "*Limit of indent length for thread. Nil means unlimited"
1419 :type '(choice (const :tag "Unlimited" nil)
1424 (defcustom wl-summary-no-from-message "nobody@nowhere?"
1425 "*A string displayed in summary when no from field exists."
1429 (defcustom wl-summary-no-subject-message "(WL:No Subject in original.)"
1430 "*A string displayed in summary when no subject field exists."
1434 (defcustom wl-summary-cancel-message "I'd like to cancel my message."
1435 "*The body content of a cancel message."
1439 (defcustom wl-summary-width 80
1440 "*Set summary line width if non nil."
1441 :type '(choice (const :tag "Don't truncate" nil)
1446 (defcustom wl-summary-pick-field-default "Body"
1447 "*Default field for pick."
1448 :type '(radio (const "From")
1457 (string :tag "Other"))
1460 (defcustom wl-summary-subject-length-limit nil
1461 "*Set subject width in summary when wl-summary-width is nil.
1462 Nil means unlimited"
1463 :type '(choice (const :tag "Unlimited" nil)
1468 (defcustom wl-mime-charset 'x-ctext
1469 "*MIME Charset for summary and message."
1474 (defcustom wl-generate-mailer-string-function 'wl-generate-user-agent-string
1475 "A function for creating User-Agent field string."
1479 (defcustom wl-highlight-background-mode (if (boundp 'hilit-background-mode)
1480 (or hilit-background-mode 'dark)
1482 "*Background mode of highlight (for Old Emacsen). 'dark or 'light."
1483 :type '(radio (const dark)
1485 :group 'wl-highlight)
1487 (defcustom wl-highlight-x-face-function nil
1488 "A function to display X-Face."
1490 :group 'wl-highlight)
1492 (defcustom wl-qmail-inject-program "/var/qmail/bin/qmail-inject"
1493 "Location of the qmail-inject program."
1494 :type '(string :tag "Program")
1497 (defcustom wl-qmail-inject-args nil
1498 "Arguments passed to qmail-inject programs.
1499 This should be a list of strings, one string for each argument.
1501 For e.g., if you wish to set the envelope sender address so that bounces
1502 go to the right place or to deal with listserv's usage of that address, you
1503 might set this variable to '(\"-f\" \"you@some.where\")."
1504 :type '(repeat (string :tag "Argument"))
1507 (defcustom wl-rejected-letter-start
1508 "^[\t ]*-+[\t ]+\\(original\\|\\(\\(the \\)?unsent\\)\\) message\\( follows\\)?[\t ]+-+[\t ]*$"
1509 "Regexp specifying the beginning of the wrapper around a returned letter.
1510 This wrapper is generated by the mail system when rejecting a letter."
1514 (defcustom wl-ignored-forwarded-headers "\\(received\\|return-path\\|x-uidl\\)"
1515 "*All headers that match this regexp will be deleted when forwarding a message."
1519 (defcustom wl-ignored-resent-headers "\\(return-receipt\\|[bdf]cc\\)"
1520 "*All headers that match this regexp will be deleted when resending a message."
1524 (defcustom wl-refile-default-from-folder "+from"
1525 "*Folder name to refile by `wl-refile-guess-by-from'."
1526 :type '(string :tag "Folder")
1529 (defcustom wl-summary-auto-refile-skip-marks
1530 (list wl-summary-new-mark
1531 wl-summary-unread-uncached-mark
1532 wl-summary-unread-cached-mark)
1533 "Persistent marks to skip auto-refiling."
1534 :type '(repeat (string :tag "Mark"))
1537 (defcustom wl-summary-reserve-mark-list
1539 "If a message is already marked as temporal marks in this list,
1540 the message is not marked by any mark command."
1541 :type '(repeat (string :tag "Temp-Mark"))
1544 (defcustom wl-summary-skip-mark-list
1546 "If a message is already marked as temporal marks in this list,
1547 the message is skipped at cursor move."
1548 :type '(repeat (string :tag "Temp-Mark"))
1551 (defcustom wl-summary-incorporate-marks
1552 (list wl-summary-new-mark
1553 wl-summary-unread-uncached-mark)
1554 "Persistent marks to prefetch at `wl-summary-incorporate'."
1555 :type '(repeat (string :tag "Mark"))
1558 (defcustom wl-refile-rule-alist nil
1563 (\"teranisi@isl.ntt.co.jp\" . \"+teranisi\"))
1565 (\"^Wanderlust\" . \"+wl\")
1566 (\"^Elips\" . \"+elips\")))"
1567 :type '(repeat (list (string :tag "Field")
1569 (cons (regexp :tag "Value")
1570 (string :tag "Folder")))))
1573 (defcustom wl-strict-diff-folders nil
1574 "List of regexps matching folders of which Wanderlust seriously counts unsync messages."
1575 :type '(choice (const :tag "Off" nil)
1576 (repeat (regexp :tag "Folder Regexp")))
1579 (defcustom wl-folder-use-server-diff t
1580 "Checked unread message number on IMAP4 server.
1581 Only IMAP4 folders have an effect."
1585 (defcustom wl-force-fetch-folders nil
1586 "Non-nil forces to fetch subfolders when user opened an 'access' folder."
1587 :type '(choice (const :tag "off" nil)
1588 (const :menu-tag "on" t)
1589 (repeat (regexp :tag "Folder Regexp")))
1592 (defcustom wl-auto-check-folder-name nil
1593 "*A folder, a group or a list of folders and groups specified which
1594 will be automatically checked at the startup time."
1595 :type '(choice (string :tag "Folder")
1596 (repeat (string :tag "Folder"))
1600 (defcustom wl-auto-uncheck-folder-list '("\\$.*")
1601 "All folders that match this list won't be checked at the startup
1602 time even if they are embedded in some groups specified by
1603 wl-auto-check-folder-name.
1604 Those folders are also skipped when you check on the Desktop.
1605 This value is preceded by wl-auto-check-folder-list.
1606 Each elements are regexp of folder name."
1607 :type '(repeat (regexp :tag "Folder Regexp"))
1610 (defcustom wl-auto-check-folder-list nil
1611 "A list of patterns for exceptional folders against
1612 wl-auto-uncheck-folder-list.
1613 Each elements are regexp of folder name."
1614 :type '(repeat (regexp :tag "Folder Regexp"))
1617 (defcustom wl-show-plug-status-on-modeline t
1618 "If it is non-nil, show plugged status in modeline."
1620 :group 'wl-highlight)
1622 (defcustom wl-plug-state-indicator-on " [ON] "
1623 "String used to show plugged status ON."
1625 :group 'wl-highlight)
1627 (defcustom wl-plug-state-indicator-off " [--] "
1628 "String used to show plugged status OFF."
1630 :group 'wl-highlight)
1632 (defcustom wl-biff-check-folder-list nil
1633 "All folders that match this list are automatically checked
1634 every intervals specified by wl-biff-check-interval."
1635 :type '(repeat (regexp :tag "Folder Regexp"))
1636 :group 'wl-highlight)
1638 (defcustom wl-biff-check-interval 40
1639 "Number of seconds between updates of new mails in the mode line."
1641 :group 'wl-highlight)
1643 (defcustom wl-biff-state-indicator-on (if (and (featurep 'xemacs)
1644 (not (featurep 'mule)))
1646 (decode-coding-string
1648 (read "\"[\e$B\\\")\e(B]\"")
1652 "String used to show biff status ON."
1654 :group 'wl-highlight)
1656 (defcustom wl-biff-state-indicator-off (if (and (featurep 'xemacs)
1657 (not (featurep 'mule)))
1659 ;; Japanese short hyphen
1661 "String used to show biff status OFF."
1663 :group 'wl-highlight)
1665 (defcustom wl-mode-line-display-priority-list '(biff plug title)
1666 "Displaying order of items to be shown in modeline. The first item will
1667 be placed in the leftmost. The significant items are `biff' and `plug';
1668 otherwise, e.g. `title', corresponds to the things except for the biff
1669 staus nor the plugged status. The default order is '(biff plug title)
1670 even if the value of this option is set to nil. Here are some samples:
1672 ;; Plugged status first:
1673 \(setq wl-mode-line-display-priority-list '(plug))
1675 ;; Biff status, Title of Wanderlust, Plugged status:
1676 \(setq wl-mode-line-display-priority-list '(biff title plug))
1679 :type '(repeat (radio (const :format "%v " biff)
1680 (const :format "%v " plug)
1681 (sexp :tag "Other" :value title)))
1682 :group 'wl-highlight)
1684 (defcustom wl-interactive-send t
1685 "*If non-nil, require your confirmation when sending draft message."
1690 (defcustom wl-interactive-exit t
1691 "*If non-nil, require your confirmation when exiting WL."
1695 (defcustom wl-summary-move-order 'unread
1696 "*The order of priority when move in summary mode.
1697 If this variable is `unread', precede \"U\", \"!\", \"N\" mark.
1698 If this variable is `new', precede \"N\" mark."
1699 :type '(radio (const new)
1704 (defvar wl-summary-move-direction-downward t)
1706 (defcustom wl-summary-move-direction-toggle t
1707 "*If non-nil, search direction for the next message will be determined
1708 depends on previous search direction.
1709 It uses wl-summary-move-direction-downward as a direction flag."
1713 (defcustom wl-auto-select-first nil
1714 "*If non-nil, display selected first message when enter summary."
1719 (defcustom wl-auto-prefetch-first nil
1720 "*If non-nil, prefetch selected first message when enter summary."
1725 (defcustom wl-auto-select-next nil
1726 "*If non-nil, offer to go to the next folder from the end of the previous.
1727 If the value is the symbol `unread', go to the next folder
1728 that no unread message exists. If the value is the symbol `skip-no-unread',
1729 skip the folder that no unread message exists.
1731 See also variable `wl-summary-next-no-unread-command'."
1732 :type '(radio (const :tag "off" nil)
1735 (const skip-no-unread))
1739 (defcustom wl-message-buffer-prefetch-folder-type-list t
1740 "*All folder types that match this list prefetch next message,
1741 and reserved buffer cache."
1742 :type `(choice (const :tag "all" t)
1743 (const :tag "never" nil)
1744 (set (const localdir)
1757 (defcustom wl-message-buffer-prefetch-folder-list nil
1758 "*All folders that match this list prefetch next message,
1759 and reserved buffer cache.
1762 :type '(repeat (regexp :tag "Folder Regexp"))
1765 (defcustom wl-message-buffer-prefetch-depth 3
1766 "*Depth of buffer prefetch in summary mode."
1770 (defcustom wl-message-buffer-prefetch-idle-time 0.2
1771 "*Idle time of buffer prefetch."
1775 (defcustom wl-message-buffer-prefetch-threshold 30000
1776 "*Quit forward cache prefetching if message size is larger than this value."
1780 (defcustom wl-summary-always-sticky-folder-list nil
1781 "All folders that match this list has sticky summary.
1782 Each elements are regexp of folder name."
1783 :type '(radio (const :tag "none" nil)
1784 (const :tag "all" t)
1785 (repeat (regexp :tag "Folder Regexp")))
1788 (defcustom wl-no-save-folder-list '("^/.*$" "^\\[.*$")
1789 "All folders that match this list won't save its msgdb.
1790 Each elements are regexp of folder name."
1791 :type '(repeat (regexp :tag "Folder Regexp"))
1794 (defcustom wl-save-folder-list nil
1795 "All folders that match this list save its msgdb.
1796 Each elements are regexp of folder name."
1797 :type '(repeat (regexp :tag "Folder Regexp"))
1800 (defcustom wl-folder-mime-charset-alist
1801 '(("^-alt\\.chinese" . big5)
1802 ("^-relcom\\." . koi8-r)
1804 ("^-han\\." . euc-kr)
1805 ("@sponichi" . shift_jis)
1806 ("@2ch" . shift_jis))
1807 "Charset alist. If no match, `wl-mime-charset' is used."
1808 :type '(repeat (cons (regexp :tag "Folder Regexp") (symbol :tag "Charset")))
1812 (defcustom wl-folder-weekday-name-lang-alist
1813 '(("^-alt\\.chinese" . "en")
1814 ("^-relcom\\." . "en")
1816 ("^-han\\." . "en"))
1817 "Weekday name lang alist.
1818 If no match, `wl-summary-weekday-name-lang' is used.
1820 '((\"xemacs-beta$\" . \"en\")
1821 (\"^-fj\" . \"ja\"))"
1822 :type '(repeat (cons (regexp :tag "Folder Regexp")
1823 (choice (const "ja")
1827 (string :tag "Other"))))
1830 (defcustom wl-folder-thread-indent-set-alist
1831 '(("^-alt\\.chinese" . (2 "+" "+" "|" "-" " "))
1832 ("^-relcom\\." . (2 "+" "+" "|" "-" " "))
1833 ("^-tw\\." . (2 "+" "+" "|" "-" " "))
1834 ("^-han\\." . (2 "+" "+" "|" "-" " ")))
1835 "Thread indent set alist.
1836 If no match, following indent set is used.
1837 (wl-thread-indent-level
1838 wl-thread-have-younger-brother-str
1839 wl-thread-youngest-child-str
1840 wl-thread-vertical-str
1841 wl-thread-horizontal-str
1842 wl-thread-space-str)
1844 '((\"xemacs-beta$\" . (2 \"+\" \"+\" \"|\" \"-\" \" \")))"
1845 :type '(repeat (cons (regexp :tag "Folder Regexp")
1846 (group (integer :tag "Indent")
1847 (string :tag "Yonger Brother")
1848 (string :tag "Yonger Child")
1849 (string :tag "Vertical")
1850 (string :tag "Horizontal")
1851 (string :tag "Space"))))
1854 (defcustom wl-folder-sync-range-alist
1855 (list (cons (concat "^" (regexp-quote wl-draft-folder) "$\\|^"
1856 (regexp-quote wl-queue-folder) "$")
1858 "*Default sync range alist. If no matches, `wl-default-sync-range' is used."
1859 :type '(repeat (cons (regexp :tag "Folder Regexp")
1860 (choice (const "update")
1866 (const :tag "none" nil))))
1869 (defcustom wl-default-sync-range "update"
1870 "*Default sync range."
1871 :type '(choice (const "update")
1877 (const :tag "none" nil))
1880 (defcustom wl-ask-range t
1881 "*If non-nil, ask for a range for summary synchronization.
1882 If nil, always use default."
1886 (defcustom wl-folder-process-duplicates-alist nil
1887 "Specify process type of duplicated messages.
1888 It should be a list of cons cell like: (REGEXP . TYPE)
1889 REGEXP is a regular expression string of folder name.
1890 TYPE is one of the symbols `hide' or `read'.
1891 `hide' means hide duplicated messages.
1892 `read' means mark as read duplicated messages.
1893 If TYPE is nil, do nothing for duplicated messages."
1894 :type '(repeat (cons (regexp :tag "Folder regexp")
1895 (choice (const :tag "Hide" hide)
1896 (const :tag "Mark as read" read))))
1899 (defcustom wl-folder-move-cur-folder nil
1900 "*Non-nil, move to current folder on folder-mode when goto folder."
1904 (defcustom wl-folder-check-async t
1905 "*Check the folder asynchronous."
1909 (defcustom wl-folder-notify-deleted nil
1910 "*Non-nil, display negative number on folder-mode when message is deleted
1911 in folder. If the value is 'sync, msgdb would be synchronized."
1912 :type '(choice (const :tag "off" nil)
1917 (defcustom wl-summary-exit-next-move t
1918 "*Non-nil, move to next-unsync or next-entity when exit summary."
1922 (defcustom wl-summary-next-no-unread-command
1923 '(wl-summary-read wl-summary-down wl-summary-up)
1924 "*Command list available when the value of `wl-auto-select-next' is 'unread
1925 or 'skip-no-unread."
1926 :type '(repeat function)
1929 (defcustom wl-summary-search-via-nntp 'confirm
1930 "*Non-nil, search message via nntp after `wl-summary-jump-to-msg-by-message-id'. If the value is 'confirm, confirm before search."
1934 (defcustom wl-summary-keep-cursor-command
1935 '(wl-summary-goto-folder wl-summary-goto-last-visited-folder)
1936 "*Command list to keep cursor position when folder is changed to
1937 already existing summary."
1938 :type '(repeat function)
1941 (defcustom wl-summary-showto-folder-regexp nil
1942 "Regexp specifying the folder that shows the To (or Newsgroups) field as
1943 Sender information in summary mode."
1944 :type '(choice (const :tag "none" nil)
1948 (defcustom wl-folder-removed-mark "#<removed>"
1949 "Mark for removed folder."
1953 (defcustom wl-folder-unsubscribe-mark "#"
1954 "Mark for unsubscribe folder."
1958 (defcustom wl-delete-folder-alist '(("^-" . remove))
1959 "*Alist of folder and delete policy.
1960 Each element is (folder-regexp . policy).
1962 The policy is one of the followings:
1964 'null : remove message.
1965 string : refile to the specified folder.
1967 otherwise : refile to the `wl-trash-folder'.
1969 '((\"^%\" . \"%#mh/trash\")
1971 (\"^\\\\+\" . trash))"
1972 :type '(repeat (cons (regexp :tag "Folder Regexp")
1973 (choice :tag "Policy"
1975 (const :tag "remove(null)" null)
1977 (const :tag "trash(other)" trash)
1978 (string :tag "Folder"))))
1981 (defcustom wl-refile-policy-alist '(("^[-=']" . copy)
1983 "*List of refile policy. Each element is (FOLDER-REGEXP . POLICY).
1984 POLICY is copy or move."
1985 :type '(repeat (cons (regexp :tag "Folder Regexp")
1986 (choice (const copy)
1991 (defcustom wl-folder-hierarchy-access-folders '("^-$" "^-alt$")
1992 "*Access group REGEXPs to make hierarchy structure."
1993 :type '(repeat (string :tag "Folder"))
1996 (defcustom wl-folder-init-load-access-folders nil
1997 "*Access group folders to load folder list on `wl-folder-init'.
1998 If this variable is non-nil,
1999 `wl-folder-init-no-load-access-folders' will be ignored."
2000 :type '(repeat (regexp :tag "Folder Regexp"))
2003 (defcustom wl-folder-init-no-load-access-folders nil
2004 "*Access group folders to not load folder list on `wl-folder-init'.
2005 If `wl-folder-init-load-access-folders' is non-nil,
2006 this variable will be ignored."
2007 :type '(repeat (regexp :tag "Folder Regexp"))
2010 (defcustom wl-folder-access-subscribe-alist nil
2011 "*Subscribe folders to fetching folder entries.
2012 Each element is (group-regexp (subscribe folder-regexp ...)).
2013 If subscribe is non-nil, subscribe when match folder-regexp.
2014 If subscribe is nil, unsubscribe when match folder-regexp.
2017 '((\"^-fj$\" . (t \"^-fj\\\\.\\\\(editor\\\\|mail\\\\|net\\\\|news\\\\)\"))
2018 (\"^-comp$\" . (t \"^-comp\\\\.unix\" \"^-comp\\\\.sys\"))
2019 (\"^-$\" . (nil \"^-alt\" \"^-rec\")))"
2020 :type '(repeat (cons (regexp :tag "Folder Regexp")
2021 (list (boolean :tag "Subscribed")
2023 (regexp :tag "Folder Regexp")))))
2026 ;;; For Folder Manager
2028 (defcustom wl-interactive-save-folders t
2029 "*Non-nil require your confirmation when save folders."
2034 (defcustom wl-fldmgr-make-backup t
2035 "*Non-nil make backup file when save folders."
2039 (defcustom wl-fldmgr-folders-indent "\t"
2040 "*Indent string for folders file."
2044 (defcustom wl-fldmgr-sort-function 'wl-fldmgr-sort-standard
2045 "*A function to sort folder."
2049 (defcustom wl-fldmgr-sort-group-first t
2050 "*Non-nil Group folder is first when sort."
2054 (defcustom wl-fldmgr-add-complete-with-current-folder-list nil
2055 "*If non-nil, completion for adding folder refers current folder list."
2059 (defcustom wl-fldmgr-make-filter-default "Body"
2060 "*Default filter key while making filter on Folder."
2061 :type '(radio (const "From")
2070 (string :tag "Other"))
2073 (defcustom wl-fldmgr-allow-rename-access-group nil
2074 "*If non-nil, allow to rename folder in access group."
2078 ;;; For Expire and Archive
2080 (defcustom wl-expire-alist nil
2081 "Alist to decide a policy for expire.
2082 Each element is (folder-regexp (number or date) policy).
2084 The policy is one of the followings:
2085 'remove : remove messsage.
2086 'trash : refile `wl-trash-folder'.
2087 string : refile string folder.
2088 function : call function.
2091 '((\"^\\\\+ml/wl$\" (number 500 510) wl-expire-archive-number1 t)
2092 (\"^\\\\+ml/\" (number 300 305) wl-expire-archive-number2)
2093 (\"^\\\\+outbox$\" (number 300) \"$outbox;lha\")
2094 (\"^\\\\(\\\\+tmp\\\\|\\\\+trash\\\\)$\" (date 7) remove)
2095 (\"^\\\\+misc$\" (date 14) trash))"
2096 :type '(repeat (choice (list :tag "No-match"
2097 (regexp :tag "Folder Regexp")
2100 (regexp :tag "Folder Regexp")
2101 (list (radio :value number
2106 (repeat :inline t integer)))
2107 (choice :tag "Policy"
2111 (string :tag "folder")
2114 :tag "Arg for function"
2118 (defcustom wl-archive-alist '((".*" wl-archive-number1))
2119 "Alist to decide a policy for archive.
2120 Each element is (folder-regexp policy(function)).
2123 '((\"\\\\+work$\" wl-archive-date)
2124 (\"\\\\+ml/\" wl-archive-number1)
2125 (\".*\" wl-archive-number2))"
2126 :type '(repeat (list (regexp :tag "Folder Regexp")
2129 (sexp :tag "Argument"))))
2132 (defcustom wl-summary-expire-reserve-marks
2133 (list wl-summary-important-mark
2135 wl-summary-unread-mark
2136 wl-summary-unread-uncached-mark
2137 wl-summary-unread-cached-mark)
2138 "Permanent marks of reserved message when expire.
2139 Don't reserve temporary mark message.
2142 'all : reserved all permanent marks.
2143 'none : not reserve permanent marks.
2144 list : reserved specified permanent marks."
2145 :type '(repeat (string :tag "Mark"))
2148 (defcustom wl-expire-number-with-reserve-marks nil
2149 "If non-nil, include reserve message when expire by number."
2153 (defcustom wl-expire-add-seen-list t
2154 "*If non-nil, add seen message list when refile message at expire."
2158 (defcustom wl-expire-use-log nil
2159 "*If non-nil, write a log when expired."
2163 (defcustom wl-expire-folder-update-msgdb t
2164 "*Non-nil update summary msgdb when expire on folder mode."
2168 ;; for wl-expire-archive-{number1|number2}
2169 (defcustom wl-expire-archive-files 100
2170 "*The number of one archive folder."
2174 ;; for wl-expire-archive-{number1|number2|date}
2175 (defcustom wl-expire-archive-get-folder-function
2176 'wl-expire-archive-get-folder
2177 "*A function to get archive folder name."
2181 (defcustom wl-expire-delete-oldmsg-confirm t
2182 "*If non-nil, require your confirmation when delete old message."
2186 ;; for wl-expire-archive-get-folder
2187 (defcustom wl-expire-archive-folder-type 'zip
2188 "*Archiver type of archive folder."
2189 :type '(radio (const zip)
2195 (symbol :tag "Other"))
2198 (defcustom wl-expire-archive-folder-name-fmt "%s-%%05d;%s" ;; $folder-00100;zip
2199 "*A format string for archive folder name."
2203 (defcustom wl-expire-archive-folder-num-regexp "-\\([0-9]+\\);"
2204 "*A regexp string for archive folder name."
2208 (defcustom wl-expire-archive-date-folder-name-fmt "%s-%%04d%%02d;%s"
2209 ;; $folder-199812;zip
2210 "*A format string for archive date folder name."
2214 (defcustom wl-expire-archive-date-folder-num-regexp "-\\([0-9]+\\);"
2215 "*A regexp string for archive date folder name."
2219 (defcustom wl-expire-archive-folder-prefix nil
2220 "*Prefix for archive folder."
2221 :type '(radio (const :tag "nothing" nil)
2222 (const :tag "full" t)
2228 ;; highilght about summary
2229 (defcustom wl-highlight-max-summary-lines 10000
2230 "*If the summary is larger than this lines, don't highlight it."
2232 :group 'wl-highlight)
2234 ;; highilght about draft and message
2235 (defcustom wl-highlight-body-too t
2236 "*In addition to header, highlight the body too. if non nil."
2238 :group 'wl-highlight)
2240 (defcustom wl-highlight-message-header-alist
2241 '(("Subject[ \t]*:" . wl-highlight-message-important-header-contents)
2242 ("From[ \t]*:\\|To[ \t]*:" . wl-highlight-message-important-header-contents2)
2243 ("X-[^ \t]*:\\|User-Agent[ \t]*:" . wl-highlight-message-unimportant-header-contents))
2245 :type '(repeat (cons regexp face))
2246 :group 'wl-highlight)
2248 (defcustom wl-highlight-citation-prefix-regexp
2249 "^[>|:} ]*[>|:}]\\([^ \n>]*>\\)?\\|^[^ <\n>]*>"
2250 "All lines that match this regexp will be highlighted with
2251 `wl-highlight-message-cited-text-*' face."
2253 :group 'wl-highlight)
2255 (defcustom wl-highlight-highlight-citation-too nil
2256 "*Whether the whole citation line should go in the
2257 `wl-highlight-citation-face' face.
2258 If nil, the text matched by `wl-highlight-citation-prefix-regexp' is in the
2259 default face, and the remainder of the line is in the
2260 wl-highlight-message-cited-text face."
2262 :group 'wl-highlight)
2264 (defcustom wl-highlight-force-citation-header-regexp
2265 "^>>>.*$\\|^[ \t]*<[^>]*>[ \t]*$"
2266 "*The pattern to match the prolog of a cited block.
2267 Text in the body of a message which matches this will be displayed in
2268 the `wl-highlight-message-headers' face."
2270 :group 'wl-highlight)
2272 (defcustom wl-highlight-citation-header-regexp
2273 (concat "In article.*$\\|In message.*$\\|In the message.*$\\|"
2274 "^At[^\n]+\n[^\n]+wrote:\n\\|"
2275 "^.*\\(writes\\|wrote\\|said\\):\n")
2276 "*The pattern to match the prolog of a cited block.
2277 Text in the body of a message which matches this will be displayed in
2278 the `wl-highlight-message-headers' face."
2280 :group 'wl-highlight)
2282 (defcustom wl-highlight-max-header-size nil
2283 "*If the message header is larger than this many chars, don't highlight it.
2284 If this is nil, all headers will be highlighted."
2286 :group 'wl-highlight)
2288 (defcustom wl-highlight-max-message-size 10000
2289 "*If the message body is larger than this many chars, don't highlight it.
2290 This is to prevent us from wasting time trying to fontify things like
2291 uuencoded files and large digests. If this is nil, all messages will
2294 :group 'wl-highlight)
2296 ;; highilght about signature (of draft and message)
2297 (defcustom wl-highlight-signature-separator
2298 '("\n--+\n" "\n\n--+.*\n*\\'")
2299 "List of regexps matching signature separator.
2300 It will be verified from head to tail looking for a separator.
2301 Verification will be done from the end of the buffer.
2302 No need to specify \"^-- $\" in this list,
2303 because it is verified by default.
2304 This variable can also be a regex."
2305 :type '(repeat regexp)
2306 :group 'wl-highlight)
2308 (defcustom wl-max-signature-size 400
2309 "*If the signature is larger than this chars, don't treat it as a signature."
2311 :group 'wl-highlight)
2313 ;; highilght about mouse
2314 (defcustom wl-use-highlight-mouse-line (and window-system
2315 (>= emacs-major-version 19))
2316 "*Highlight mouse line, if non nil."
2318 :group 'wl-highlight)
2320 ;; highilght about folder
2321 (defcustom wl-highlight-folder-with-icon
2322 (or (and (featurep 'xemacs)
2325 "*Highlight folder with icon(XEmacs or Emacs 21)."
2327 :group 'wl-highlight)
2328 (defcustom wl-highlight-folder-by-numbers t
2329 "Highlight folder lines by numbers.
2330 If it is a number, only numbers will be highlighted."
2331 :type '(choice (const :tag "whole line" t)
2332 (const :tag "only numbers" 1)
2333 (const :tag "don't highlight" nil))
2334 :group 'wl-highlight)
2336 (defcustom wl-highlight-signature-search-function 'wl-highlight-signature-search
2337 "Function to search signature area in the message body."
2339 :group 'wl-highlight)
2341 (defcustom wl-use-dnd (and wl-on-xemacs
2342 (featurep 'dragdrop))
2343 "If Non-nil, support dragdrop feature in XEmacs."
2347 (defcustom wl-reset-plugged-alist t
2348 "*If non-nil, reset `elmo-plugged-alist' when startup."
2352 (defcustom wl-demo-display-logo (if (or (featurep 'xemacs)
2353 (module-installed-p 'image)
2354 (module-installed-p 'bitmap))
2356 "If it is T, show graphic logo in the startup screen. You can set it to
2357 a symbol `bitmap', `xbm' or `xpm' in order to force the image format."
2358 :type '(radio (const :tag "Off" nil)
2359 (const :tag "On (any format)" t)
2362 (const :tag "bitmap (using BITMAP-MULE)" bitmap))
2365 ;;; Internal variables
2366 (defvar wl-init nil)
2368 ;; For disconnected operations.
2369 (defvar wl-plugged-hook nil)
2370 (defvar wl-unplugged-hook nil)
2371 (defcustom wl-plugged t
2372 "*Plugged state at the startup. Nil means off-line."
2377 ;; Internal variables used to modeline identifiers.
2378 (defvar wl-modeline-plug-status nil)
2379 (defvar wl-modeline-plug-state-on wl-plug-state-indicator-on)
2380 (defvar wl-modeline-plug-state-off wl-plug-state-indicator-off)
2381 (defvar wl-modeline-biff-status nil)
2382 (defvar wl-modeline-biff-state-on wl-biff-state-indicator-on)
2383 (defvar wl-modeline-biff-state-off wl-biff-state-indicator-off)
2385 ;; Advanced thread view.
2386 (defvar wl-thread-indent-level 1
2387 "*Indent level for thread.")
2388 (defvar wl-thread-have-younger-brother-str "
\e$B(2
\e(B"
2389 "*A string for thread branch line. It should contain one character.")
2390 (defvar wl-thread-youngest-child-str "
\e$B(1
\e(B"
2391 "*A string for thread branch line. It should contain one character.")
2392 (defvar wl-thread-vertical-str "
\e$B(-
\e(B"
2393 "*A string for thread branch line. It should contain one character.")
2394 (defvar wl-thread-horizontal-str "
\e$B(,
\e(B"
2395 "*A string for thread branch line. It should contain one character.")
2396 (defvar wl-thread-space-str "
\e$B!!
\e(B"
2397 "*A string for thread branch line. It should contain one character.")
2399 (defvar wl-highlight-thread-indent-string-regexp "[^[<]*"
2400 "* A regexp string for thread indent...for highlight.")
2402 ;; folder icons. filename relative to wl-icon-directory
2403 (defvar wl-opened-group-folder-icon "opened.xpm"
2404 "*Icon file for opened group folder.")
2405 (defvar wl-closed-group-folder-icon "closed.xpm"
2406 "*Icon file for closed group folder.")
2407 (defvar wl-nntp-folder-icon "news.xpm"
2408 "*Icon file for nntp folder.")
2409 (defvar wl-imap-folder-icon "imap.xpm"
2410 "*Icon file for imap folder.")
2411 (defvar wl-pop-folder-icon "pop.xpm"
2412 "*Icon file for pop folder.")
2413 (defvar wl-localdir-folder-icon "local.xpm"
2414 "*Icon file for localdir folder.")
2415 (defvar wl-localnews-folder-icon "localnews.xpm"
2416 "*Icon file for localnews folder.")
2417 (defvar wl-internal-folder-icon "internal.xpm"
2418 "*Icon file for internal folder.")
2419 (defvar wl-multi-folder-icon "multi.xpm"
2420 "*Icon file for multi folder.")
2421 (defvar wl-filter-folder-icon "filter.xpm"
2422 "*Icon file for filter folder.")
2423 (defvar wl-archive-folder-icon "archive.xpm"
2424 "*Icon file for archive folder.")
2425 (defvar wl-pipe-folder-icon "pipe.xpm"
2426 "*Icon file for pipe folder.")
2427 (defvar wl-nmz-folder-icon "nmz.xpm"
2428 "*Icon file for namazu folder.")
2429 (defvar wl-shimbun-folder-icon "shimbun.xpm"
2430 "*Icon file for shimbun folder.")
2431 (defvar wl-maildir-folder-icon "maildir.xpm"
2432 "*Icon file for maildir folder.")
2433 (defvar wl-empty-trash-folder-icon "trash-e.xpm"
2434 "*Icon file for emptied trash folder.")
2435 (defvar wl-trash-folder-icon "trash.xpm"
2436 "*Icon file for trash folder.")
2437 (defvar wl-draft-folder-icon "draft.xpm"
2438 "*Icon file for draft folder.")
2439 (defvar wl-queue-folder-icon "queue.xpm"
2440 "*Icon file for queue folder.")
2441 (defvar wl-plugged-icon "plugged.xpm"
2442 "*Icon file for plugged state.")
2443 (defvar wl-unplugged-icon "unplugged.xpm"
2444 "*Icon file for unplugged state.")
2445 (defvar wl-biff-mail-icon "letter.xpm"
2446 "*Icon file for mail existed state.")
2447 (defvar wl-biff-nomail-icon "no-letter.xpm"
2448 "*Icon file for no mail existed state.")
2449 (defvar wl-prog-uudecode "uudecode"
2450 "*uudecode program name.")
2451 (defvar wl-prog-uudecode-arg nil
2452 "*Arguments for uudecode program.")
2453 (defvar wl-prog-uudecode-no-stdout-option t
2454 "*If non-nil, uudecode program don't have option for output to stdout.")
2457 (defvar wl-plugged-plug-on "ON")
2458 (defvar wl-plugged-plug-off "--")
2459 (defvar wl-plugged-auto-off "**")
2460 (defvar wl-plugged-server-indent 2)
2461 (defvar wl-plugged-port-indent 4)
2462 (defvar wl-plugged-queue-status-column 25)
2464 ;;;; Obsolete variables.
2466 ;; 2001-12-11: *-dir -> *-directory
2467 (elmo-define-obsolete-variable 'wl-icon-dir
2469 (elmo-define-obsolete-variable 'wl-mime-save-dir
2470 'wl-mime-save-directory)
2471 (elmo-define-obsolete-variable 'wl-score-files-dir
2472 'wl-score-files-directory)
2473 (elmo-define-obsolete-variable 'wl-tmp-dir
2474 'wl-temporary-file-directory)
2477 (elmo-define-obsolete-variable 'wl-subject-length-limit
2478 'wl-summary-subject-length-limit)
2481 (elmo-define-obsolete-variable 'wl-summary-update-confirm-threshold
2482 'elmo-folder-update-threshold)
2483 (elmo-define-obsolete-variable 'wl-fetch-confirm-threshold
2484 'elmo-message-fetch-threshold)
2486 (elmo-define-obsolete-variable 'wl-cache-prefetch-folder-type-list
2487 'wl-message-buffer-prefetch-folder-type-list)
2488 (elmo-define-obsolete-variable 'wl-cache-prefetch-folder-list
2489 'wl-message-buffer-prefetch-folder-list)
2491 ;; 2001-02-27: *-func -> *-function
2492 (elmo-define-obsolete-variable 'wl-summary-from-func
2493 'wl-summary-from-function)
2494 (elmo-define-obsolete-variable 'wl-summary-subject-func
2495 'wl-summary-subject-function)
2496 (elmo-define-obsolete-variable 'wl-summary-subject-filter-func
2497 'wl-summary-subject-filter-function)
2498 (elmo-define-obsolete-variable 'wl-draft-send-func
2499 'wl-draft-send-function)
2500 (elmo-define-obsolete-variable 'wl-draft-send-news-func
2501 'wl-draft-send-news-function)
2502 (elmo-define-obsolete-variable 'wl-draft-send-mail-func
2503 'wl-draft-send-mail-function)
2504 (elmo-define-obsolete-variable 'wl-print-buffer-func
2505 'wl-print-buffer-function)
2506 (elmo-define-obsolete-variable 'wl-ps-print-buffer-func
2507 'wl-ps-print-buffer-function)
2508 (elmo-define-obsolete-variable 'wl-generate-mailer-string-func
2509 'wl-generate-mailer-string-function)
2510 (elmo-define-obsolete-variable 'wl-highlight-x-face-func
2511 'wl-highlight-x-face-function)
2512 (elmo-define-obsolete-variable 'wl-fldmgr-sort-func
2513 'wl-fldmgr-sort-function)
2514 (elmo-define-obsolete-variable 'wl-expire-archive-get-folder-func
2515 'wl-expire-archive-get-folder-function)
2516 (elmo-define-obsolete-variable 'wl-highlight-signature-search-func
2517 'wl-highlight-signature-search-function)
2519 ;; 2000-01-25: temp mark -> target mark
2520 (elmo-define-obsolete-variable 'wl-summary-temp-above
2521 'wl-summary-target-above)
2523 ;; 1999-11-07: Unified with `wl-draft-config-alist'.
2524 (defvar wl-draft-prepared-config-alist nil)
2525 (make-obsolete-variable 'wl-draft-prepared-config-alist
2526 'wl-draft-config-alist)
2529 (elmo-define-obsolete-variable 'wl-address-filename
2531 (elmo-define-obsolete-variable 'wl-score-default-file-name
2532 'wl-score-default-file)
2536 (product-provide (provide 'wl-vars) (require 'wl-version))
2538 ;;; wl-vars.el ends here