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 (?\[ (if wl-thr-linked "<" "["))
185 (?\] (if wl-thr-linked ">" "]"))
186 (?t (or wl-thr-indent-string ""))
187 (?s (wl-summary-line-subject))
188 (?S (wl-summary-line-size))
189 (?C (if wl-thr-children-number
190 (concat "[+" (number-to-string wl-thr-children-number) "] ")
191 (if wl-parent-message-entity
192 (if wl-thr-linked ">>" ">")
194 (?~ (if (zerop (length wl-line-string)) "" " "))
195 (?c (if wl-thr-children-number
196 (concat "+" (number-to-string wl-thr-children-number) ":")
199 (if wl-thr-children-number
200 (concat "+" (number-to-string wl-thr-children-number) ":")
203 (wl-summary-line-from)))
204 (?f (wl-summary-line-from))
205 (?# (wl-summary-line-list-count)))
206 "An alist of format specifications that can appear in summary lines.
207 Each element is a list of following:
209 SPEC is a character for format specification.
210 STRING is an expression to get string to insert.")
212 (defcustom wl-summary-line-format "%M/%D(%W)%h:%m %t%[%17(%c %f%) %] %s"
213 "*A default format string for summary line of Wanderlust.
214 It may include any of the following format specifications
215 which are replaced by the given information:
217 %Y The year of the date field of the message (zero padded).
218 %M The month of the date field of the message (zero padded).
219 %D The day of the date field of the message (zero padded).
220 %W The weekday name of the date field of the message (zero padded).
221 %h The hour of the date field of the message (zero padded).
222 %m The minute of the date field of the message (zero padded).
223 %[ An open bracket. If the message thread is linked,
224 it is replaced with '<'.
225 %] A close bracket. If the message thread is linked,
226 it is replaced with '>'.
227 %c The children number of the closed message thread.
228 Children number is printed like '+??:'.
229 If the message is opened, ' ' is displayed.
230 %C The children number of the closed message thread.
231 Children number is printed like '[+??] '.
232 If the message is opened, '>' or '>>' (linked) is displayed.
233 %f The from: field string of the message.
234 %F The children number of the closed message thread and
235 the from: field string of the message are concatenated.
236 %s The subject: field string of the message.
237 %S The size of the message (if available).
238 %~ If the previous spec is not zero-length, replaced with ' '.
240 If the format string contains the specifiers %( and %), the text between
241 them will have the specified number of columns."
245 (defcustom wl-folder-summary-line-format-alist nil
246 "An alist of folder name and a summary line format.
247 If no match, `wl-summary-line-format' is used.
249 '((\"^%\" . \"%M/%D(%W)%h:%m %t%[%14F %](%S) %s\")
250 (\"^@2ch\" . \"%M%/%D/%h:%m %t[%9F ]%s\")))"
251 :type '(repeat (cons (regexp :tag "Folder Regexp")
252 (string :tag "line format")))
255 (defcustom wl-summary-from-function 'wl-summary-default-from
256 "*A function for displaying sender (From: field) information."
260 (defcustom wl-summary-subject-function 'wl-summary-default-subject
261 "*A function for displaying subject."
265 (defcustom wl-summary-subject-filter-function 'wl-summary-default-subject-filter
266 "*A filter function for comparing subjects."
270 (defcustom wl-summary-search-parent-by-subject-regexp "^[ \t]*\\(\\[[^:]+[,: ][0-9]+\\]\\)?[ \t]*re[\\^[:> ]"
271 "*If message does not have in-reply-to field nor references field and
272 subject matches this regexp, search parent message by subject matching."
277 (defcustom wl-default-folder "%inbox"
278 "*Default folder used in `wl-summary-goto-folder'."
281 (defcustom wl-draft-folder "+draft"
285 (defcustom wl-trash-folder "+trash"
290 (defcustom wl-queue-folder "+queue"
295 (defcustom wl-default-spec "%"
300 (defcustom wl-insert-mail-followup-to nil
301 "*Insert Mail-Followup-To: field if non-nil."
305 (defcustom wl-insert-mail-reply-to nil
306 "*Insert Mail-Reply-To: field if non-nil."
310 (defcustom wl-insert-message-id t
311 "*Insert Message-ID: field if non-nil."
315 (defcustom wl-auto-insert-x-face t
316 "*Insert X-Face: field automatically."
320 (defcustom wl-x-face-file "~/.xface"
321 "*X-Face field is inserted using its contents.
322 If file exists and `wl-auto-insert-x-face' is non-nil."
326 (defcustom wl-subscribed-mailing-list nil
327 "*Subscribed mailing list.
328 You had better set this variable if you set 'wl-insert-mail-followup-to' as t."
329 :type '(repeat string)
334 "*Display demo at start time."
338 (defcustom wl-envelope-from nil
339 "*Envelope From used in SMTP.
340 If nil, `wl-from' is used."
341 :type '(choice (const :tag "Same as 'From' field." nil)
346 (defcustom wl-draft-additional-header-alist nil
347 "*Additional headers in the draft."
348 :type '(repeat (cons (symbol :tag "Field Name")
349 (choice (string :tag "String")
350 (function :tag "Function")))))
352 (defcustom wl-draft-add-in-reply-to t
353 "*If non-nil, message-id of the cited message is inserted to the
354 in-reply-to field of the current draft."
358 (defcustom wl-draft-add-references nil
359 "*If non-nil, message-id of the cited message is inserted to the
360 references field of the current draft."
364 (defcustom wl-draft-cite-function 'wl-default-draft-cite
365 "*A function for citation."
369 (defcustom wl-default-draft-cite-decorate-author t
370 "*If non-nil, the author of cited message is arranged by
371 `wl-summary-from-func-internal' in `wl-default-draft-cite'."
375 (defcustom wl-smtp-connection-type nil
376 "*SMTP connection type.
377 If nil, default smtp connection type is used."
378 :type '(choice (const :tag "default" nil)
379 (const :tag "Use STARTTLS" starttls)
383 (defcustom wl-smtp-posting-user nil
384 "*SMTP authentication user."
385 :type '(choice (const :tag "none" nil)
390 (defcustom wl-smtp-posting-server nil
391 "*SMTP server name to send mail (wl-draft-send-mail-with-smtp)."
392 :type '(choice (const :tag "none" nil)
397 (defcustom wl-smtp-posting-port nil
398 "*SMTP port number in `wl-smtp-posting-server'.
399 If nil, default SMTP port number(25) is used."
400 :type '(choice (const :tag "Default (25)" nil)
405 (defcustom wl-smtp-authenticate-type nil
406 "*SMTP Authentication type.
407 If nil, don't authenticate."
408 :type '(choice (const :tag "none" nil)
409 (const :tag "PLAIN" "plain")
410 (const :tag "CRAM-MD5" "cram-md5")
411 (const :tag "LOGIN" "login")
412 (string :tag "Other"))
416 (defcustom wl-pop-before-smtp-user nil
417 "*POP3 user name to send mail using POP-before-SMTP.
418 If nil, `elmo-pop3-default-user' is used.
419 To use POP-before-SMTP,
420 \(setq wl-draft-send-mail-function 'wl-draft-send-mail-with-pop-before-smtp\)"
421 :type '(choice (const :tag "none" nil)
426 (defcustom wl-pop-before-smtp-server nil
427 "*POP3 server for POP-before-SMTP.
428 If nil, `elmo-pop3-default-server' is used."
429 :type '(choice (const :tag "none" nil)
434 (defcustom wl-pop-before-smtp-port nil
435 "*POP3 port for POP-before-SMTP.
436 If nil, `elmo-pop3-default-port' is used."
437 :type '(choice (const :tag "none" nil)
442 (defcustom wl-pop-before-smtp-stream-type nil
443 "*Stream type for POP-before-SMTP.
444 If nil, `elmo-pop3-default-stream-type' is used."
448 (defcustom wl-pop-before-smtp-authenticate-type nil
449 "*Default Authentication type for POP-before-SMTP.
450 If nil, `elmo-pop3-default-authenticate-type' is used."
451 :type '(choice (const :tag "none" nil)
452 (const :tag "APOP" 'apop)
453 (const :tag "POP3" 'user))
457 (defcustom wl-nntp-posting-server nil
458 "*NNTP server name to post news.
459 If nil, `elmo-nntp-default-server' is used."
460 :type '(choice (const :tag "none" nil)
464 (defcustom wl-nntp-posting-user nil
465 "*NNTP user name to post news for authinfo.
466 If nil, `elmo-nntp-default-user' is used.
467 If nil, don't authenticate."
468 :type '(choice (const :tag "none" nil)
472 (defcustom wl-nntp-posting-port nil
473 "*NNTP port to post news.
474 If nil, `elmo-nntp-default-port' is used."
475 :type '(choice (const :tag "none" nil)
479 (defcustom wl-nntp-posting-stream-type nil
480 "*Stream type for posting Netnews.
481 If nil, `elmo-nntp-default-stream-type' is used."
485 (defcustom wl-prefetch-confirm t
486 "*Confirm prefetching if message size is larger than `wl-prefetch-threshold'."
490 (defcustom wl-prefetch-threshold 30000
491 "*Maximum size of message prefetched without confirmation.
492 If nil, all messages prefetched regardless of its size.
493 If message size is larger than this value, confirm prefetching
494 when `wl-prefetch-confirm' is non-nil."
495 :type '(choice (integer :tag "Threshold (bytes)")
496 (const :tag "No limitation" nil))
500 (defcustom wl-thread-insert-opened nil
501 "*Non-nil forces to insert thread as opened in updating."
506 (defcustom wl-thread-open-reading-thread t
507 "*Non-nil forces to open reading thread."
512 (defvar wl-folder-mode-hook nil
513 "A hook called when wanderlust folder mode is started.
514 This hook may contain the functions `wl-folder-init-icons' and
515 `wl-setup-folder' for reasons of system internal to accord facilities
516 for the Emacs variants.")
517 (defvar wl-summary-toggle-disp-on-hook nil
518 "A hook called when message is toggled.")
519 (defvar wl-summary-toggle-disp-off-hook nil
520 "A hook called when message is disappeared.")
521 (defvar wl-summary-toggle-disp-folder-on-hook nil
522 "A hook called when folder is toggled.")
523 (defvar wl-summary-toggle-disp-folder-off-hook nil
524 "A hook called when folder is disappeared.")
525 (defvar wl-summary-toggle-disp-folder-message-resumed-hook nil
526 "A hook called when message window is resumed when folder is toggled.")
527 (defvar wl-summary-mode-hook nil
528 "A hook called when summary mode is started.
529 This hook may contain the function `wl-setup-summary' for reasons of
530 system internal to accord facilities for the Emacs variants.")
532 (defvar wl-summary-prepared-pre-hook nil
533 "A hook called before the summary buffer has been generated.")
534 (defvar wl-summary-prepared-hook nil
535 "A hook called after the summary buffer has been generated.")
536 (defvar wl-summary-sync-updated-hook nil
537 "A hook called when update summary buffer.")
538 (defvar wl-summary-unread-message-hook nil
539 "A hook called when unread message is displayed.")
540 (defvar wl-summary-edit-addresses-hook nil
541 "A hook called when address book is edited.")
542 (defvar wl-summary-buffer-message-saved-hook nil
543 "A hook called when msgdb is saved.")
544 (defvar wl-summary-buffer-mark-saved-hook nil
545 "A hook called when mark is saved.")
546 (defvar wl-summary-divide-thread-when-subject-changed nil
547 "Divide thread when subject is changed.")
548 (defvar wl-init-hook nil
549 "A hook called when initialization is finished. This hook may contain
550 the functions `wl-plugged-init-icons' and `wl-biff-init-icons' for
551 reasons of system internal to accord facilities for the Emacs variants.")
553 "A hook called when Wanderlust is invoked.")
554 (defvar wl-reply-hook nil
555 "A hook called when replied.")
556 (defvar wl-mail-setup-hook nil
557 "A hook called when Draft is prepared.")
558 (defvar wl-draft-reedit-hook nil
559 "A hook called when Draft is re-edited.")
560 (defvar wl-draft-send-hook '(wl-draft-config-exec)
561 "A hook called on the draft editing buffer before sending process starts.")
562 (defvar wl-mail-send-pre-hook nil
563 "A hook called just before the mail sending process starts.")
564 (defvar wl-news-send-pre-hook nil
565 "A hook called just before the news sending process starts.")
566 (defvar wl-message-buffer-created-hook nil
567 "A hook called when Message buffer is prepared.")
568 (defvar wl-message-redisplay-hook nil
569 "A hook called when Message is displayed.")
570 (defvar wl-message-exit-hook nil
571 "A hook called when quit message.")
572 (defvar wl-summary-exit-pre-hook nil
573 "A hook called before exit summary mode.")
574 (defvar wl-summary-exit-hook nil
575 "A hook called when exit summary mode.")
576 (defvar wl-highlight-headers-hook nil
577 "A hook called when header is highlighted.")
578 (defvar wl-highlight-message-hook nil
579 "A hook called when message is highlighted.")
580 (defvar wl-save-hook nil
581 "A hook called when save summary and folder status.")
582 (defvar wl-exit-hook nil
583 "A hook called when exit wanderlust.")
584 (defvar wl-folder-suspend-hook nil
585 "A hook called when suspend wanderlust.")
586 (defvar wl-biff-notify-hook '(ding)
587 "A hook called when a biff-notification is invoked.")
588 (defvar wl-biff-unnotify-hook nil
589 "A hook called when a biff-notification is removed.")
590 (defvar wl-auto-check-folder-pre-hook nil
591 "A hook called before auto check folders.")
592 (defvar wl-auto-check-folder-hook nil
593 "A hook called when auto check folders.")
594 (defvar wl-folder-check-entity-pre-hook nil
595 "A hook called before check entity.")
596 (defvar wl-folder-check-entity-hook nil
597 "A hook called when check entity.")
598 (defvar wl-draft-config-exec-hook nil
599 "A hook called when execute header-config on draft.")
600 (defvar wl-summary-expire-pre-hook nil
601 "A hook called before expire.")
602 (defvar wl-summary-expire-hook nil
603 "A hook called when expired.")
604 (defvar wl-summary-archive-pre-hook nil
605 "A hook called before archive.")
606 (defvar wl-summary-archive-hook nil
607 "A hook called when archived.")
608 (defvar wl-summary-line-inserted-hook nil
609 "A hook called when summary line is inserted.")
610 (defvar wl-summary-insert-headers-hook nil
611 "A hook called when insert header for search header.")
612 (defvar wl-message-display-internal-hook nil
613 "A hook called when message buffer is created and message is displayed.
614 This hook may contain the functions `wl-setup-message' for
615 reasons of system internal to accord facilities for the Emacs variants.")
616 (defvar wl-thread-update-children-number-hook nil
617 "A hook called when children number is updated.")
618 (defvar wl-folder-update-access-group-hook nil
619 "A hook called when update access group folder.")
620 (defvar wl-draft-cited-hook nil
621 "A hook called after a message is cited.")
622 (defvar wl-draft-insert-x-face-field-hook nil
623 "A hook called after a x-face field is inserted.")
624 (defvar wl-template-mode-hook nil
625 "A hook called when template mode is started.")
626 (defvar wl-score-mode-hook nil
627 "A hook called when score mode is started.")
628 (defvar wl-make-plugged-hook nil
629 "A hook called when make plugged alist.")
631 (defvar wl-plugged-exit-hook nil
632 "A hook called when exit plugged mode.")
634 ;;;; functions for draft
635 (defcustom wl-draft-send-function 'wl-draft-normal-send-func
636 "A function to send message."
640 (defcustom wl-draft-send-news-function 'wl-draft-elmo-nntp-send
641 "A function to send news."
645 (defcustom wl-draft-send-mail-function 'wl-draft-send-mail-with-smtp
646 "A function to send mail.
647 Prepared candidates are 'wl-draft-send-mail-with-smtp,
648 'wl-draft-send-mail-with-qmail and 'wl-draft-send-mail-with-pop-before-smtp."
649 :type '(radio (function-item wl-draft-send-mail-with-smtp)
650 (function-item wl-draft-send-mail-with-qmail)
651 (function-item wl-draft-send-mail-with-pop-before-smtp)
652 (function :tag "Other"))
655 (defcustom wl-draft-reply-with-argument-list
656 '(("Reply-To" . (("Reply-To") nil nil))
657 ("Mail-Reply-To" . (("Mail-Reply-To") nil nil))
658 ("From" . (("From") nil nil)))
659 "Alist of cons cell of
660 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
661 'field-name' is a string.
662 'fields for ***' is a list of strings.
663 If car of each cons cell exists in original message,
664 cdr of each cons cell is used for draft message.
665 Default is for 'reply-to-author'."
666 :type '(repeat (cons (choice (string :tag "Field Name")
667 (repeat (string :tag "Field Name")))
668 (list (repeat :tag "Fields For To" string)
669 (repeat :tag "Fields For Cc" string)
670 (repeat :tag "Fields For Newsgroups" string))))
673 (defcustom wl-draft-reply-without-argument-list
674 '(("Followup-To" . (nil nil ("Followup-To")))
675 ("Mail-Followup-To" . (("Mail-Followup-To") nil ("Newsgroups")))
676 ("Reply-To" . (("Reply-To") ("To" "Cc" "From") ("Newsgroups")))
677 ("From" . (("From") ("To" "Cc") ("Newsgroups"))))
678 "Alist of cons cell of
679 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
680 'field-name' is a string.
681 'fields for ***' is a list of strings.
682 If car of each cons cell exists in original message,
683 cdr of each cons cell is used for draft message.
684 Default is for 'reply-to-all'."
685 :type '(repeat (cons (choice (string :tag "Field Name")
686 (repeat (string :tag "Field Name")))
687 (list (repeat :tag "Fields For To" string)
688 (repeat :tag "Fields For Cc" string)
689 (repeat :tag "Fields For Newsgroups" string))))
692 (defcustom wl-draft-reply-myself-with-argument-list
693 '(("Followup-To" . (("To") ("Cc") ("Followup-To")))
694 ("Newsgroups" . (("To") ("Cc") ("Newsgroups")))
695 ("From" . (("To") ("Cc") nil)))
696 "Alist of cons cell of
697 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
698 'field-name' is a string.
699 'fields for ***' is a list of strings.
700 If car of each cons cell exists in original message,
701 cdr of each cons cell is used for draft message.
702 Default is for 'reply-to-me'."
703 :type '(repeat (cons (choice (string :tag "Field Name")
704 (repeat (string :tag "Field Name")))
705 (list (repeat :tag "Fields For To" string)
706 (repeat :tag "Fields For Cc" string)
707 (repeat :tag "Fields For Newsgroups" string))))
710 (defcustom wl-draft-reply-myself-without-argument-list
711 '(("Followup-To" . (("To") ("Cc") ("Followup-To")))
712 ("Newsgroups" . (("To") ("Cc") ("Newsgroups")))
713 ("From" . (("To") ("Cc") nil)))
714 "Alist of cons cell of
715 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
716 'field-name' is a string.
717 'fields for ***' is a list of strings.
718 If car of each cons cell exists in original message,
719 cdr of each cons cell is used for draft message.
720 Default is for 'followup-to-me'."
721 :type '(repeat (cons (choice (string :tag "Field Name")
722 (repeat (string :tag "Field Name")))
723 (list (repeat :tag "Fields For To" string)
724 (repeat :tag "Fields For Cc" string)
725 (repeat :tag "Fields For Newsgroups" string))))
728 (defcustom wl-draft-always-delete-myself nil
729 "*Always delete myself from reciepient if non-nil."
733 (defcustom wl-draft-delete-myself-from-bcc-fcc nil
734 "*Do not insert bcc or fcc if To and Cc fields is a member of
735 `wl-subscribed-mailing-list'"
739 (defcustom wl-draft-resume-folder-window t
740 "*Resume folder window in `wl-draft-hide'."
744 (defcustom wl-draft-use-frame nil
745 "*Raise new frame when composing draft."
749 (defcustom wl-draft-qmail-send-plugged nil
750 "*Send mail when plugged is on, in the `wl-draft-send-mail-with-qmail'."
754 (defcustom wl-draft-remove-group-list-contents t
755 "*If non-nil, remove group list contents in `wl-draft-send-mail-with-smtp'."
760 (defcustom wl-init-file "~/.wl"
761 "*User customization setting file."
765 (defcustom wl-folders-file "~/.folders"
770 (defcustom wl-address-file "~/.addresses"
775 (defcustom wl-alias-file "~/.im/Aliases"
776 "*Alias file for completion."
780 (defcustom wl-ldap-server "localhost"
782 :type '(string :tag "Server")
786 (defcustom wl-ldap-port nil
788 :type '(choice (const :tag "Default port" nil)
793 (defcustom wl-ldap-base "c=US"
795 :type '(string :tag "Base")
799 (defcustom wl-ldap-objectclass "person"
805 (defcustom wl-use-ldap nil
806 "*If non-nil, use LDAP for address completion."
811 (defcustom wl-use-acap nil
812 "*If non-nil, use ACAP for configuration."
816 (defcustom wl-folder-info-save t
817 "If non-nil, save elmo-folder-info-alist."
821 (defcustom wl-summary-unread-mark "!"
822 "Mark for unread message."
823 :type '(string :tag "Mark")
824 :group 'wl-summary-marks)
825 (defcustom wl-summary-important-mark "$"
826 "Mark for important message."
827 :type '(string :tag "Mark")
828 :group 'wl-summary-marks)
829 (defcustom wl-summary-new-mark "N"
830 "Mark for new message."
831 :type '(string :tag "Mark")
832 :group 'wl-summary-marks)
833 (defcustom wl-summary-unread-uncached-mark "U"
834 "Mark for unread and uncached message."
835 :type '(string :tag "Mark")
836 :group 'wl-summary-marks)
837 (defcustom wl-summary-unread-cached-mark "!"
838 "Mark for unread but already cached message."
839 :type '(string :tag "Mark")
840 :group 'wl-summary-marks)
841 (defcustom wl-summary-read-uncached-mark "u"
842 "Mark for read but uncached message."
843 :type '(string :tag "Mark")
844 :group 'wl-summary-marks)
845 (defcustom wl-summary-score-over-mark "+"
846 "Score mark used for messages with high scores."
847 :type '(string :tag "Mark")
848 :group 'wl-summary-marks)
849 (defcustom wl-summary-score-below-mark "-"
850 "Score mark used for messages with low scores."
851 :type '(string :tag "Mark")
852 :group 'wl-summary-marks)
854 (defcustom wl-summary-no-mime-folder-list nil
855 "*All folders that match this list don't analysis mime."
856 :type '(repeat string)
859 (defcustom wl-summary-fix-timezone nil
860 "*Time zone of the date string in summary mode.
861 If nil, it is adjust to the default time zone information
862 \(system's default time zone or environment variable TZ\)."
863 :type '(choice (const :tag "Default time zone" nil)
867 (defcustom wl-summary-default-score 0
868 "*Default message score level.
869 All scores generated by the score files will be added to this score.
870 If this variable is nil, scoring will be disabled."
871 :type '(choice (const :tag "disable" nil)
875 (defcustom wl-summary-important-above nil
876 "*Mark all messages with a score above this variable as important.
877 This variable is local to the summary buffers."
878 :type '(choice (const :tag "off" nil)
882 (defcustom wl-summary-target-above nil
883 "*Mark all messages with a score above this variable as target.
884 This variable is local to the summary buffers."
885 :type '(choice (const :tag "off" nil)
889 (defcustom wl-summary-mark-below 0
890 "*Mark all messages with a score below this variable as read.
891 This variable is local to each summary buffer and usually set by the
896 (defcustom wl-summary-expunge-below nil
897 "All messages that have a score less than this variable will be expunged.
898 This variable is local to the summary buffers."
899 :type '(choice (const :tag "off" nil)
903 (defcustom wl-summary-score-marks
904 (list wl-summary-new-mark)
905 "Persistent marks to scoring."
906 :type '(repeat (string :tag "Mark"))
909 (defcustom wl-use-scoring t
910 "*If non-nil, enable scoring."
914 (defcustom wl-summary-rescore-partial-threshold 200
915 "*Summary is not scored entirely if there are messages more than this value.
916 In sync-all or rescan."
920 (defcustom wl-score-files-directory (concat elmo-msgdb-directory elmo-path-sep)
921 "*Name of the directory where score files will be stored.
922 (default \"~/.elmo\")."
926 (defcustom wl-score-interactive-default-score 1000
927 "*Scoring commands will raise/lower the score with this number as the default."
931 (defcustom wl-score-expiry-days 7
932 "*Number of days before unused score file entries are expired.
933 If this variable is nil, no score file entries will be expired."
934 :type '(choice (const :tag "never" nil)
938 (defcustom wl-score-update-entry-dates t
939 "*In non-nil, update matching score entry dates.
940 If this variable is nil, then score entries that provide matches
941 will be expired along with non-matching score entries."
945 (defcustom wl-score-folder-alist nil
946 "*Alist of folder regexp and score file."
947 :type '(repeat (list (regexp :tag "Folder Regexp")
950 (symbol :tag "Variable")))))
953 (defcustom wl-score-folder-alist-matchone t
954 "*If non-nil, getting only one element of `wl-score-folder-alist'."
958 (defcustom wl-score-default-file "all.SCORE"
959 "*Default score file name."
963 (defcustom wl-score-simplify-fuzzy-regexp
964 '("^[ \t]*\\[[^:]+[,: ][0-9]+\\][ \t]*")
965 "*Strings to be removed when doing fuzzy matches.
966 This can either be a regular expression or list of regular expressions."
967 :type '(repeat regexp)
970 (defcustom wl-score-header-default-entry
971 '(("number" -1000 perm =)
972 ("subject" -1000 nil nil)
973 ("from" -1000 perm s)
974 ("message-id" -1000 temp e)
975 ("references" -1000 perm e)
978 ("date" -1000 temp nil)
979 ("xref" -1000 perm s)
980 ("extra" -1000 perm s)
981 ("chars" -1000 perm >)
982 ("lines" -1000 perm >)
983 ("followup" -1000 perm s)
984 ("thread" -1000 temp s))
985 "*Default entry when insert score entry."
986 :type '(repeat (list (string :tag "Header")
987 (choice (integer :tag "Score")
988 (const :tag "Ask" nil))
989 (choice (const :tag "Permanent" perm)
990 (const :tag "Temporary" temp)
991 (const :tag "Ask" nil))
992 (choice (const :tag "Regexp string" r)
993 (const :tag "Substring" s)
994 (const :tag "fuzzy string" f)
995 (const :tag "Exact string" e)
996 (const :tag "REGEXP STRING" R)
997 (const :tag "SUBSTRING" S)
998 (const :tag "FUZZY STRING" F)
999 (const :tag "EXACT STRING" E)
1000 (const :tag "less than" <)
1001 (const :tag "less equal" <=)
1002 (const :tag "greater than" >)
1003 (const :tag "greater equal" >=)
1004 (const :tag "equal" =)
1005 (const :tag "Ask" nil))))
1008 (defcustom wl-score-mode-mime-charset 'x-ctext
1009 "*MIME Charset for score file."
1013 (defcustom wl-draft-fields
1014 '("To:" "Cc:" "Bcc:" "Fcc:" "Distribution:" "Organization:"
1015 "Newsgroups:" "Followup-To:" "Mail-Followup-To:" "From:" "Reply-To:")
1016 "Fields used in draft mode."
1017 :type '(repeat (string :tag "Field"))
1020 (defcustom wl-draft-config-alist nil
1021 "Alist of configuration field on draft.
1023 '((\"^To: .*wl@lists.airs.net\"
1024 (\"From\" . wl-from2)
1025 (\"Organization\" . wl-organization2))
1026 (\"^To: .*hogehoge@\"
1027 (\"From\" . \"Anonymous <hogehoge@aaa.ne.jp>\")
1028 wl-my-draft-config-func-hoge))"
1029 :type '(repeat (list (sexp :tag "Match")
1032 (choice (cons (sexp :tag "Field(Variable)")
1033 (sexp :tag "Value"))
1034 (sexp :tag "Function")))))
1038 (defcustom wl-draft-config-matchone nil
1039 "*If non-nil, applied only one element of `wl-draft-config-alist'."
1044 (defcustom wl-draft-elide-ellipsis "\n[...]\n\n"
1045 "*The string which is inserted for elided text."
1049 (defcustom wl-template-alist nil
1050 "Alist of template."
1051 :type '(repeat (list (string :tag "Name")
1054 (choice (cons (sexp :tag "Field(Variable)")
1055 (sexp :tag "Value"))
1056 (sexp :tag "Function")))))
1060 (defcustom wl-template-visible-select t
1061 "*If non-nil, select template with visible."
1065 (defcustom wl-template-confirm nil
1066 "*If non-nil, require your confirmation when selected template."
1070 (defcustom wl-template-buffer-lines 7
1071 "*Lines of template buffer."
1076 (defcustom wl-draft-enable-queuing t
1077 "*Non-nil enables queued sending."
1082 (defcustom wl-draft-force-queuing nil
1083 "*Non-nil forces queued sending for mail and news."
1088 (defcustom wl-draft-force-queuing-mail nil
1089 "*Non-nil forces queued sending for mail."
1094 (defcustom wl-draft-force-queuing-news nil
1095 "*Non-nil forces queued sending for news."
1100 (defcustom wl-draft-use-cache nil
1101 "*If non-nil, sending message is cached."
1106 (defcustom wl-auto-flush-queue t
1107 "*If non-nil, sending queue is flushed when network status is toggled."
1112 (defcustom wl-draft-reply-buffer-style 'split
1114 :type '(radio (const split)
1118 (defcustom wl-draft-queue-save-variables
1119 '(wl-envelope-from wl-from
1120 wl-smtp-posting-server wl-smtp-posting-user wl-smtp-posting-port
1121 wl-smtp-authenticate-type wl-smtp-connection-type
1122 wl-pop-before-smtp-server wl-pop-before-smtp-user wl-pop-before-smtp-port
1123 wl-pop-before-smtp-stream-type wl-pop-before-smtp-authenticate-type
1124 wl-nntp-posting-server wl-nntp-posting-server
1125 wl-nntp-posting-user wl-nntp-posting-port wl-nntp-posting-stream-type)
1126 "*Saving variables in queue info."
1127 :type '(repeat (sexp :tag "Variable"))
1130 (defcustom wl-draft-sendlog t
1131 "*Keep send state in log if non-nil."
1135 (defcustom wl-draft-sendlog-max-size 20000
1136 "*Max file size of sendlog."
1140 (defcustom wl-summary-default-number-column 5
1141 "Number of columns in summary buffer."
1145 (defcustom wl-summary-number-column-alist '(("\\*.*" . 6))
1146 "Alist of folder and its number column.
1147 If no matches, 'wl-summary-default-number-column' is used.
1149 '((\"^%inbox@qmail-maildir\" . 9)
1150 (\"^-.*@news-server\" . 6))"
1151 :type '(repeat (cons (regexp :tag "Folder Regexp") integer))
1154 (defcustom wl-summary-highlight t
1155 "Non-nil forces Summary buffer to be highlighted."
1158 :group 'wl-highlight)
1160 (defcustom wl-summary-lazy-highlight (and (boundp 'window-scroll-functions)
1162 "Non-nil forces lazy summary highlighting using `window-scroll-functions'."
1165 :group 'wl-highlight)
1167 (defcustom wl-summary-highlight-partial-threshold 1000
1168 "Summary is not highlighted entirely if there are lines more than this value.
1169 Available if only `wl-summary-lazy-highlight' is nil."
1172 :group 'wl-highlight)
1174 (defcustom wl-summary-partial-highlight-above-lines 30
1175 "If Summary has lines more than `wl-summary-highlight-partial-threshold',
1176 Summary lines are highlighted partialy above current position.
1177 Available if only `wl-summary-lazy-highlight' is nil."
1180 :group 'wl-highlight)
1182 (defcustom wl-summary-cache-use t
1183 "Non-nil forces wl-summary to use cache file."
1187 (defcustom wl-summary-auto-sync-marks t
1188 "Non-nil forces to synchronize unread/important marks."
1192 (defcustom wl-summary-cache-file ".wl-summary-cache"
1193 "*Cache file for summary mode contents."
1196 (defcustom wl-summary-view-file ".wl-summary-view"
1197 "*Current summary view."
1200 (defcustom wl-thread-top-file ".wl-thread-top"
1201 "*Current thread top entity... obsolete."
1204 (defcustom wl-thread-entity-file ".wl-thread-entity"
1208 (defcustom wl-thread-entity-list-file ".wl-thread-entity-list"
1209 "*Thread top entity list."
1213 (defcustom wl-print-buffer-function 'lpr-buffer
1214 "A function to print current buffer."
1218 (defcustom wl-ps-print-buffer-function
1219 (if window-system 'ps-print-buffer-with-faces 'ps-print-buffer)
1220 "A function to print current buffer with ps-print."
1225 (defcustom wl-use-petname t
1226 "*Display petname in summary and default citation title."
1230 (defcustom wl-use-folder-petname
1232 "*List of situation using folder petname.
1233 Allowed situations are:
1234 modeline : displayed on modeline.
1235 ask-folder : displayed on minibuffer when ask folder.
1236 read-folder : can used for completion at `wl-summary-read-folder'."
1237 :type '(set (const modeline)
1239 (const read-folder))
1243 (defcustom wl-folder-petname-alist nil
1244 "A list of (realname . petname)."
1245 :type '(repeat (cons (string :tag "Realname") (string :tag "Petname")))
1248 (defcustom wl-summary-weekday-name-lang "ja"
1249 "*Language to display week day."
1250 :type '(choice (const "ja")
1254 (string :tag "Other"))
1258 (defcustom wl-message-id-use-wl-from nil
1259 "*Use `wl-from' for domain part of Message-ID if non-nil."
1263 (defcustom wl-local-domain nil
1264 "*Domain part of this client (without hostname).
1265 Set this if (system-name) does not return FQDN."
1266 :type '(choice (const :tag "Use System Name" nil)
1270 (defcustom wl-message-id-domain nil
1271 "*Specific domain part of Message-ID."
1272 :type '(choice (const :tag "Use System Name" nil)
1276 (defcustom wl-unique-id-suffix ".wl"
1277 "*Specific string in generated Message-ID
1278 which appear just before @."
1282 (defcustom wl-break-pages t
1283 "*Break Pages at ^L."
1287 (defcustom wl-message-truncate-lines default-truncate-lines
1288 "*Truncate lines in Message Buffer."
1292 (defcustom wl-draft-truncate-lines default-truncate-lines
1293 "*Truncate lines in Draft Buffer."
1298 (defcustom wl-message-scroll-amount 5
1299 "*Scroll amount by SPC key."
1303 (defcustom wl-message-window-size '(1 . 4)
1304 "*Size of summary and message window. cons cell of (Summary : Message)."
1305 :type '(cons integer integer)
1308 (defcustom wl-message-sort-field-list '("Return-Path" "Received" "^To" "^Cc"
1309 "Newsgroups" "Subject" "^From")
1310 "*Sort order of header fields. Each elements are regexp of field name."
1311 :type '(repeat (string :tag "Field Regexp"))
1315 (defcustom wl-message-ignored-field-list nil
1316 "All fields that match this list will be hidden in message buffer.
1317 Each elements are regexp of field-name."
1318 :type '(repeat (string :tag "Field Regexp"))
1322 (defcustom wl-message-visible-field-list nil
1323 "All fields that match this list will be displayed in message buffer.
1324 Each elements are regexp of field-name."
1325 :type '(repeat (string :tag "Field Regexp"))
1329 (defcustom wl-message-header-button-alist
1330 (` (("^\\(References\\|Message-Id\\|In-Reply-To\\):"
1332 0 wl-message-button-refer-article 0)
1334 "\\(<\\(url: \\)?news:\\([^>\n ]*\\)>\\)"
1335 1 wl-message-button-refer-article 3)))
1336 "Alist of headers and regexps to match buttons in message headers."
1338 (list (regexp :tag "Header")
1340 (integer :tag "Button")
1341 (function :tag "Callback")
1344 (integer :tag "Regexp group"))))
1347 (defcustom wl-message-body-button-alist
1348 '(("<mailto:[^>]+>" 0 'ignore 0 1024)
1349 ("<[^>]+@[^>]+>" 0 wl-message-button-refer-article 0 1024))
1350 "Alist of regexps to match buttons in message body."
1353 (integer :tag "Button")
1354 (function :tag "Callback")
1357 (integer :tag "Regexp group"))
1358 (integer :tag "Max Length")))
1361 (defcustom wl-folder-window-width 20
1362 "*Width of folder window."
1367 (defcustom wl-summary-recenter t
1368 "*Recenter on redisplay."
1373 (defcustom wl-folder-use-frame nil
1374 "*Use dedicated frame for folder mode if non-nil."
1378 (defcustom wl-summary-use-frame nil
1379 "*Use dedicated frame for each folder summary if non-nil."
1383 (defcustom wl-stay-folder-window nil
1384 "*Stay folder window when folder is selected if non-nil."
1388 (defcustom wl-reply-subject-prefix "Re: "
1389 "*Prefix of the subject of the replied message."
1394 (defcustom wl-draft-reply-use-address-with-full-name t
1395 "*Use address with full-name in the draft of replied message."
1400 (defcustom wl-subject-prefix-regexp "^[ \t]*\\([Rr][Ee][:>][ \t]*\\)*[ \t]*"
1401 "*Regexp matching \"Re: \" in the subject line."
1406 (defcustom wl-folder-many-unsync-threshold 70
1407 "*Folders which contains messages more than this number are highlighted
1408 with wl-highlight-folder-many-face."
1413 (defcustom wl-fcc nil
1414 "*Folder Carbon Copy."
1415 :type '(choice (const :tag "disable" nil)
1420 (defcustom wl-fcc-force-as-read nil
1421 "*If non-nil, mark copied message as read."
1426 (defcustom wl-bcc nil
1427 "*Blind Carbon Copy."
1428 :type '(choice (const :tag "disable" nil)
1433 (defcustom wl-folder-desktop-name "Desktop"
1434 "*An implicit name of the folder top entity."
1439 (defcustom wl-summary-indent-length-limit 46
1440 "*Limit of indent length for thread. Nil means unlimited"
1441 :type '(choice (const :tag "Unlimited" nil)
1446 (defcustom wl-summary-no-from-message "nobody@nowhere?"
1447 "*A string displayed in summary when no from field exists."
1451 (defcustom wl-summary-no-subject-message "(WL:No Subject in original.)"
1452 "*A string displayed in summary when no subject field exists."
1456 (defcustom wl-summary-cancel-message "I'd like to cancel my message."
1457 "*The body content of a cancel message."
1461 (defcustom wl-summary-width 80
1462 "*Set summary line width if non nil."
1463 :type '(choice (const :tag "Don't truncate" nil)
1468 (defcustom wl-summary-pick-field-default "Body"
1469 "*Default field for pick."
1470 :type '(radio (const "From")
1479 (string :tag "Other"))
1482 (defcustom wl-summary-subject-length-limit nil
1483 "*Set subject width in summary when wl-summary-width is nil.
1484 Nil means unlimited"
1485 :type '(choice (const :tag "Unlimited" nil)
1490 (defcustom wl-mime-charset 'x-ctext
1491 "*MIME Charset for summary and message."
1496 (defcustom wl-generate-mailer-string-function 'wl-generate-user-agent-string
1497 "A function for creating User-Agent field string."
1501 (defcustom wl-highlight-background-mode (if (boundp 'hilit-background-mode)
1502 (or hilit-background-mode 'dark)
1504 "*Background mode of highlight (for Old Emacsen). 'dark or 'light."
1505 :type '(radio (const dark)
1507 :group 'wl-highlight)
1509 (defcustom wl-highlight-x-face-function nil
1510 "A function to display X-Face."
1512 :group 'wl-highlight)
1514 (defcustom wl-qmail-inject-program "/var/qmail/bin/qmail-inject"
1515 "Location of the qmail-inject program."
1516 :type '(string :tag "Program")
1519 (defcustom wl-qmail-inject-args nil
1520 "Arguments passed to qmail-inject programs.
1521 This should be a list of strings, one string for each argument.
1523 For e.g., if you wish to set the envelope sender address so that bounces
1524 go to the right place or to deal with listserv's usage of that address, you
1525 might set this variable to '(\"-f\" \"you@some.where\")."
1526 :type '(repeat (string :tag "Argument"))
1529 (defcustom wl-rejected-letter-start
1530 "^[\t ]*-+[\t ]+\\(original\\|\\(\\(the \\)?unsent\\)\\) message\\( follows\\)?[\t ]+-+[\t ]*$"
1531 "Regexp specifying the beginning of the wrapper around a returned letter.
1532 This wrapper is generated by the mail system when rejecting a letter."
1536 (defcustom wl-ignored-forwarded-headers "\\(received\\|return-path\\|x-uidl\\)"
1537 "*All headers that match this regexp will be deleted when forwarding a message."
1541 (defcustom wl-ignored-resent-headers "\\(return-receipt\\|[bdf]cc\\)"
1542 "*All headers that match this regexp will be deleted when resending a message."
1546 (defcustom wl-refile-default-from-folder "+from"
1547 "*Folder name to refile by `wl-refile-guess-by-from'."
1548 :type '(string :tag "Folder")
1551 (defcustom wl-summary-auto-refile-skip-marks
1552 (list wl-summary-new-mark
1553 wl-summary-unread-uncached-mark
1554 wl-summary-unread-cached-mark)
1555 "Persistent marks to skip auto-refiling."
1556 :type '(repeat (string :tag "Mark"))
1559 (defcustom wl-summary-reserve-mark-list
1561 "If a message is already marked as temporal marks in this list,
1562 the message is not marked by any mark command."
1563 :type '(repeat (string :tag "Temp-Mark"))
1566 (defcustom wl-summary-skip-mark-list
1568 "If a message is already marked as temporal marks in this list,
1569 the message is skipped at cursor move."
1570 :type '(repeat (string :tag "Temp-Mark"))
1573 (defcustom wl-summary-incorporate-marks
1574 (list wl-summary-new-mark
1575 wl-summary-unread-uncached-mark)
1576 "Persistent marks to prefetch at `wl-summary-incorporate'."
1577 :type '(repeat (string :tag "Mark"))
1580 (defcustom wl-refile-rule-alist nil
1585 (\"teranisi@isl.ntt.co.jp\" . \"+teranisi\"))
1587 (\"^Wanderlust\" . \"+wl\")
1588 (\"^Elips\" . \"+elips\")))"
1589 :type '(repeat (list (string :tag "Field")
1591 (cons (regexp :tag "Value")
1592 (string :tag "Folder")))))
1595 (defcustom wl-strict-diff-folders nil
1596 "List of regexps matching folders of which Wanderlust seriously counts unsync messages."
1597 :type '(choice (const :tag "Off" nil)
1598 (repeat (regexp :tag "Folder Regexp")))
1601 (defcustom wl-folder-use-server-diff t
1602 "Checked unread message number on IMAP4 server.
1603 Only IMAP4 folders have an effect."
1607 (defcustom wl-force-fetch-folders nil
1608 "Non-nil forces to fetch subfolders when user opened an 'access' folder."
1609 :type '(choice (const :tag "off" nil)
1610 (const :menu-tag "on" t)
1611 (repeat (regexp :tag "Folder Regexp")))
1614 (defcustom wl-auto-check-folder-name nil
1615 "*A folder, a group or a list of folders and groups specified which
1616 will be automatically checked at the startup time."
1617 :type '(choice (string :tag "Folder")
1618 (repeat (string :tag "Folder"))
1622 (defcustom wl-auto-uncheck-folder-list '("\\$.*")
1623 "All folders that match this list won't be checked at the startup
1624 time even if they are embedded in some groups specified by
1625 wl-auto-check-folder-name.
1626 Those folders are also skipped when you check on the Desktop.
1627 This value is preceded by wl-auto-check-folder-list.
1628 Each elements are regexp of folder name."
1629 :type '(repeat (regexp :tag "Folder Regexp"))
1632 (defcustom wl-auto-check-folder-list nil
1633 "A list of patterns for exceptional folders against
1634 wl-auto-uncheck-folder-list.
1635 Each elements are regexp of folder name."
1636 :type '(repeat (regexp :tag "Folder Regexp"))
1639 (defcustom wl-show-plug-status-on-modeline t
1640 "If it is non-nil, show plugged status in modeline."
1642 :group 'wl-highlight)
1644 (defcustom wl-plug-state-indicator-on " [ON] "
1645 "String used to show plugged status ON."
1647 :group 'wl-highlight)
1649 (defcustom wl-plug-state-indicator-off " [--] "
1650 "String used to show plugged status OFF."
1652 :group 'wl-highlight)
1654 (defcustom wl-biff-check-folder-list nil
1655 "All folders that match this list are automatically checked
1656 every intervals specified by wl-biff-check-interval."
1657 :type '(repeat (regexp :tag "Folder Regexp"))
1658 :group 'wl-highlight)
1660 (defcustom wl-biff-check-interval 40
1661 "Number of seconds between updates of new mails in the mode line."
1663 :group 'wl-highlight)
1665 (defcustom wl-biff-state-indicator-on (if (and (featurep 'xemacs)
1666 (not (featurep 'mule)))
1668 (decode-coding-string
1670 (read "\"[\e$B\\\")\e(B]\"")
1674 "String used to show biff status ON."
1676 :group 'wl-highlight)
1678 (defcustom wl-biff-state-indicator-off (if (and (featurep 'xemacs)
1679 (not (featurep 'mule)))
1681 ;; Japanese short hyphen
1683 "String used to show biff status OFF."
1685 :group 'wl-highlight)
1687 (defcustom wl-mode-line-display-priority-list '(biff plug title)
1688 "Displaying order of items to be shown in modeline. The first item will
1689 be placed in the leftmost. The significant items are `biff' and `plug';
1690 otherwise, e.g. `title', corresponds to the things except for the biff
1691 staus nor the plugged status. The default order is '(biff plug title)
1692 even if the value of this option is set to nil. Here are some samples:
1694 ;; Plugged status first:
1695 \(setq wl-mode-line-display-priority-list '(plug))
1697 ;; Biff status, Title of Wanderlust, Plugged status:
1698 \(setq wl-mode-line-display-priority-list '(biff title plug))
1701 :type '(repeat (radio (const :format "%v " biff)
1702 (const :format "%v " plug)
1703 (sexp :tag "Other" :value title)))
1704 :group 'wl-highlight)
1706 (defcustom wl-interactive-send t
1707 "*If non-nil, require your confirmation when sending draft message."
1712 (defcustom wl-interactive-exit t
1713 "*If non-nil, require your confirmation when exiting WL."
1717 (defcustom wl-summary-move-order 'unread
1718 "*The order of priority when move in summary mode.
1719 If this variable is `unread', precede \"U\", \"!\", \"N\" mark.
1720 If this variable is `new', precede \"N\" mark."
1721 :type '(radio (const new)
1726 (defvar wl-summary-move-direction-downward t)
1728 (defcustom wl-summary-move-direction-toggle t
1729 "*If non-nil, search direction for the next message will be determined
1730 depends on previous search direction.
1731 It uses wl-summary-move-direction-downward as a direction flag."
1735 (defcustom wl-auto-select-first nil
1736 "*If non-nil, display selected first message when enter summary."
1741 (defcustom wl-auto-prefetch-first nil
1742 "*If non-nil, prefetch selected first message when enter summary."
1747 (defcustom wl-auto-select-next nil
1748 "*If non-nil, offer to go to the next folder from the end of the previous.
1749 If the value is the symbol `unread', go to the next folder
1750 that no unread message exists. If the value is the symbol `skip-no-unread',
1751 skip the folder that no unread message exists.
1753 See also variable `wl-summary-next-no-unread-command'."
1754 :type '(radio (const :tag "off" nil)
1757 (const skip-no-unread))
1761 (defcustom wl-message-buffer-prefetch-folder-type-list t
1762 "*All folder types that match this list prefetch next message,
1763 and reserved buffer cache."
1764 :type `(choice (const :tag "all" t)
1765 (const :tag "never" nil)
1766 (set (const localdir)
1779 (defcustom wl-message-buffer-prefetch-folder-list nil
1780 "*All folders that match this list prefetch next message,
1781 and reserved buffer cache.
1784 :type '(repeat (regexp :tag "Folder Regexp"))
1787 (defcustom wl-message-buffer-prefetch-depth 3
1788 "*Depth of buffer prefetch in summary mode."
1792 (defcustom wl-message-buffer-prefetch-idle-time 0.2
1793 "*Idle time of buffer prefetch."
1797 (defcustom wl-message-buffer-prefetch-threshold 30000
1798 "*Quit forward cache prefetching if message size is larger than this value."
1802 (defcustom wl-summary-always-sticky-folder-list nil
1803 "All folders that match this list has sticky summary.
1804 Each elements are regexp of folder name."
1805 :type '(radio (const :tag "none" nil)
1806 (const :tag "all" t)
1807 (repeat (regexp :tag "Folder Regexp")))
1810 (defcustom wl-no-save-folder-list '("^/.*$" "^\\[.*$")
1811 "All folders that match this list won't save its msgdb.
1812 Each elements are regexp of folder name."
1813 :type '(repeat (regexp :tag "Folder Regexp"))
1816 (defcustom wl-save-folder-list nil
1817 "All folders that match this list save its msgdb.
1818 Each elements are regexp of folder name."
1819 :type '(repeat (regexp :tag "Folder Regexp"))
1822 (defcustom wl-folder-mime-charset-alist
1823 '(("^-alt\\.chinese" . big5)
1824 ("^-relcom\\." . koi8-r)
1826 ("^-han\\." . euc-kr)
1827 ("@sponichi" . shift_jis)
1828 ("@2ch" . shift_jis))
1829 "Charset alist. If no match, `wl-mime-charset' is used."
1830 :type '(repeat (cons (regexp :tag "Folder Regexp") (symbol :tag "Charset")))
1834 (defcustom wl-folder-weekday-name-lang-alist
1835 '(("^-alt\\.chinese" . "en")
1836 ("^-relcom\\." . "en")
1838 ("^-han\\." . "en"))
1839 "Weekday name lang alist.
1840 If no match, `wl-summary-weekday-name-lang' is used.
1842 '((\"xemacs-beta$\" . \"en\")
1843 (\"^-fj\" . \"ja\"))"
1844 :type '(repeat (cons (regexp :tag "Folder Regexp")
1845 (choice (const "ja")
1849 (string :tag "Other"))))
1852 (defcustom wl-folder-thread-indent-set-alist
1853 '(("^-alt\\.chinese" . (2 "+" "+" "|" "-" " "))
1854 ("^-relcom\\." . (2 "+" "+" "|" "-" " "))
1855 ("^-tw\\." . (2 "+" "+" "|" "-" " "))
1856 ("^-han\\." . (2 "+" "+" "|" "-" " ")))
1857 "Thread indent set alist.
1858 If no match, following indent set is used.
1859 (wl-thread-indent-level
1860 wl-thread-have-younger-brother-str
1861 wl-thread-youngest-child-str
1862 wl-thread-vertical-str
1863 wl-thread-horizontal-str
1864 wl-thread-space-str)
1866 '((\"xemacs-beta$\" . (2 \"+\" \"+\" \"|\" \"-\" \" \")))"
1867 :type '(repeat (cons (regexp :tag "Folder Regexp")
1868 (group (integer :tag "Indent")
1869 (string :tag "Yonger Brother")
1870 (string :tag "Yonger Child")
1871 (string :tag "Vertical")
1872 (string :tag "Horizontal")
1873 (string :tag "Space"))))
1876 (defcustom wl-folder-sync-range-alist
1877 (list (cons (concat "^" (regexp-quote wl-draft-folder) "$\\|^"
1878 (regexp-quote wl-queue-folder) "$")
1880 "*Default sync range alist. If no matches, `wl-default-sync-range' is used."
1881 :type '(repeat (cons (regexp :tag "Folder Regexp")
1882 (choice (const "update")
1888 (const :tag "none" nil))))
1891 (defcustom wl-default-sync-range "update"
1892 "*Default sync range."
1893 :type '(choice (const "update")
1899 (const :tag "none" nil))
1902 (defcustom wl-ask-range t
1903 "*If non-nil, ask for a range for summary synchronization.
1904 If nil, always use default."
1908 (defcustom wl-folder-process-duplicates-alist nil
1909 "Specify process type of duplicated messages.
1910 It should be a list of cons cell like: (REGEXP . TYPE)
1911 REGEXP is a regular expression string of folder name.
1912 TYPE is one of the symbols `hide' or `read'.
1913 `hide' means hide duplicated messages.
1914 `read' means mark as read duplicated messages.
1915 If TYPE is nil, do nothing for duplicated messages."
1916 :type '(repeat (cons (regexp :tag "Folder regexp")
1917 (choice (const :tag "Hide" hide)
1918 (const :tag "Mark as read" read))))
1921 (defcustom wl-folder-move-cur-folder nil
1922 "*Non-nil, move to current folder on folder-mode when goto folder."
1926 (defcustom wl-folder-check-async t
1927 "*Check the folder asynchronous."
1931 (defcustom wl-folder-notify-deleted nil
1932 "*Non-nil, display negative number on folder-mode when message is deleted
1933 in folder. If the value is 'sync, msgdb would be synchronized."
1934 :type '(choice (const :tag "off" nil)
1939 (defcustom wl-summary-exit-next-move t
1940 "*Non-nil, move to next-unsync or next-entity when exit summary."
1944 (defcustom wl-summary-next-no-unread-command
1945 '(wl-summary-read wl-summary-down wl-summary-up)
1946 "*Command list available when the value of `wl-auto-select-next' is 'unread
1947 or 'skip-no-unread."
1948 :type '(repeat function)
1951 (defcustom wl-summary-search-via-nntp 'confirm
1952 "*Non-nil, search message via nntp after `wl-summary-jump-to-msg-by-message-id'. If the value is 'confirm, confirm before search."
1956 (defcustom wl-summary-keep-cursor-command
1957 '(wl-summary-goto-folder wl-summary-goto-last-visited-folder)
1958 "*Command list to keep cursor position when folder is changed to
1959 already existing summary."
1960 :type '(repeat function)
1963 (defcustom wl-summary-showto-folder-regexp nil
1964 "Regexp specifying the folder that shows the To (or Newsgroups) field as
1965 Sender information in summary mode."
1966 :type '(choice (const :tag "none" nil)
1970 (defcustom wl-folder-removed-mark "#<removed>"
1971 "Mark for removed folder."
1975 (defcustom wl-folder-unsubscribe-mark "#"
1976 "Mark for unsubscribe folder."
1980 (defcustom wl-delete-folder-alist '(("^-" . remove))
1981 "*Alist of folder and delete policy.
1982 Each element is (folder-regexp . policy).
1984 The policy is one of the followings:
1986 'null : remove message.
1987 string : refile to the specified folder.
1989 otherwise : refile to the `wl-trash-folder'.
1991 '((\"^%\" . \"%#mh/trash\")
1993 (\"^\\\\+\" . trash))"
1994 :type '(repeat (cons (regexp :tag "Folder Regexp")
1995 (choice :tag "Policy"
1997 (const :tag "remove(null)" null)
1999 (const :tag "trash(other)" trash)
2000 (string :tag "Folder"))))
2003 (defcustom wl-refile-policy-alist '(("^[-=']" . copy)
2005 "*List of refile policy. Each element is (FOLDER-REGEXP . POLICY).
2006 POLICY is copy or move."
2007 :type '(repeat (cons (regexp :tag "Folder Regexp")
2008 (choice (const copy)
2013 (defcustom wl-folder-hierarchy-access-folders '("^-$" "^-alt$")
2014 "*Access group REGEXPs to make hierarchy structure."
2015 :type '(repeat (string :tag "Folder"))
2018 (defcustom wl-folder-init-load-access-folders nil
2019 "*Access group folders to load folder list on `wl-folder-init'.
2020 If this variable is non-nil,
2021 `wl-folder-init-no-load-access-folders' will be ignored."
2022 :type '(repeat (regexp :tag "Folder Regexp"))
2025 (defcustom wl-folder-init-no-load-access-folders nil
2026 "*Access group folders to not load folder list on `wl-folder-init'.
2027 If `wl-folder-init-load-access-folders' is non-nil,
2028 this variable will be ignored."
2029 :type '(repeat (regexp :tag "Folder Regexp"))
2032 (defcustom wl-folder-access-subscribe-alist nil
2033 "*Subscribe folders to fetching folder entries.
2034 Each element is (group-regexp (subscribe folder-regexp ...)).
2035 If subscribe is non-nil, subscribe when match folder-regexp.
2036 If subscribe is nil, unsubscribe when match folder-regexp.
2039 '((\"^-fj$\" . (t \"^-fj\\\\.\\\\(editor\\\\|mail\\\\|net\\\\|news\\\\)\"))
2040 (\"^-comp$\" . (t \"^-comp\\\\.unix\" \"^-comp\\\\.sys\"))
2041 (\"^-$\" . (nil \"^-alt\" \"^-rec\")))"
2042 :type '(repeat (cons (regexp :tag "Folder Regexp")
2043 (list (boolean :tag "Subscribed")
2045 (regexp :tag "Folder Regexp")))))
2048 ;;; For Folder Manager
2050 (defcustom wl-interactive-save-folders t
2051 "*Non-nil require your confirmation when save folders."
2056 (defcustom wl-fldmgr-make-backup t
2057 "*Non-nil make backup file when save folders."
2061 (defcustom wl-fldmgr-folders-indent "\t"
2062 "*Indent string for folders file."
2066 (defcustom wl-fldmgr-sort-function 'wl-fldmgr-sort-standard
2067 "*A function to sort folder."
2071 (defcustom wl-fldmgr-sort-group-first t
2072 "*Non-nil Group folder is first when sort."
2076 (defcustom wl-fldmgr-add-complete-with-current-folder-list nil
2077 "*If non-nil, completion for adding folder refers current folder list."
2081 (defcustom wl-fldmgr-make-filter-default "Body"
2082 "*Default filter key while making filter on Folder."
2083 :type '(radio (const "From")
2092 (string :tag "Other"))
2095 (defcustom wl-fldmgr-allow-rename-access-group nil
2096 "*If non-nil, allow to rename folder in access group."
2100 ;;; For Expire and Archive
2102 (defcustom wl-expire-alist nil
2103 "Alist to decide a policy for expire.
2104 Each element is (folder-regexp (number or date) policy).
2106 The policy is one of the followings:
2107 'remove : remove messsage.
2108 'trash : refile `wl-trash-folder'.
2109 string : refile string folder.
2110 function : call function.
2113 '((\"^\\\\+ml/wl$\" (number 500 510) wl-expire-archive-number1 t)
2114 (\"^\\\\+ml/\" (number 300 305) wl-expire-archive-number2)
2115 (\"^\\\\+outbox$\" (number 300) \"$outbox;lha\")
2116 (\"^\\\\(\\\\+tmp\\\\|\\\\+trash\\\\)$\" (date 7) remove)
2117 (\"^\\\\+misc$\" (date 14) trash))"
2118 :type '(repeat (choice (list :tag "No-match"
2119 (regexp :tag "Folder Regexp")
2122 (regexp :tag "Folder Regexp")
2123 (list (radio :value number
2128 (repeat :inline t integer)))
2129 (choice :tag "Policy"
2133 (string :tag "folder")
2136 :tag "Arg for function"
2140 (defcustom wl-archive-alist '((".*" wl-archive-number1))
2141 "Alist to decide a policy for archive.
2142 Each element is (folder-regexp policy(function)).
2145 '((\"\\\\+work$\" wl-archive-date)
2146 (\"\\\\+ml/\" wl-archive-number1)
2147 (\".*\" wl-archive-number2))"
2148 :type '(repeat (list (regexp :tag "Folder Regexp")
2151 (sexp :tag "Argument"))))
2154 (defcustom wl-summary-expire-reserve-marks
2155 (list wl-summary-important-mark
2157 wl-summary-unread-mark
2158 wl-summary-unread-uncached-mark
2159 wl-summary-unread-cached-mark)
2160 "Permanent marks of reserved message when expire.
2161 Don't reserve temporary mark message.
2164 'all : reserved all permanent marks.
2165 'none : not reserve permanent marks.
2166 list : reserved specified permanent marks."
2167 :type '(repeat (string :tag "Mark"))
2170 (defcustom wl-expire-number-with-reserve-marks nil
2171 "If non-nil, include reserve message when expire by number."
2175 (defcustom wl-expire-add-seen-list t
2176 "*If non-nil, add seen message list when refile message at expire."
2180 (defcustom wl-expire-use-log nil
2181 "*If non-nil, write a log when expired."
2185 (defcustom wl-expire-folder-update-msgdb t
2186 "*Non-nil update summary msgdb when expire on folder mode."
2190 ;; for wl-expire-archive-{number1|number2}
2191 (defcustom wl-expire-archive-files 100
2192 "*The number of one archive folder."
2196 ;; for wl-expire-archive-{number1|number2|date}
2197 (defcustom wl-expire-archive-get-folder-function
2198 'wl-expire-archive-get-folder
2199 "*A function to get archive folder name."
2203 (defcustom wl-expire-delete-oldmsg-confirm t
2204 "*If non-nil, require your confirmation when delete old message."
2208 ;; for wl-expire-archive-get-folder
2209 (defcustom wl-expire-archive-folder-type 'zip
2210 "*Archiver type of archive folder."
2211 :type '(radio (const zip)
2217 (symbol :tag "Other"))
2220 (defcustom wl-expire-archive-folder-name-fmt "%s-%%05d;%s" ;; $folder-00100;zip
2221 "*A format string for archive folder name."
2225 (defcustom wl-expire-archive-folder-num-regexp "-\\([0-9]+\\);"
2226 "*A regexp string for archive folder name."
2230 (defcustom wl-expire-archive-date-folder-name-fmt "%s-%%04d%%02d;%s"
2231 ;; $folder-199812;zip
2232 "*A format string for archive date folder name."
2236 (defcustom wl-expire-archive-date-folder-num-regexp "-\\([0-9]+\\);"
2237 "*A regexp string for archive date folder name."
2241 (defcustom wl-expire-archive-folder-prefix nil
2242 "*Prefix for archive folder."
2243 :type '(radio (const :tag "nothing" nil)
2244 (const :tag "full" t)
2250 ;; highilght about summary
2251 (defcustom wl-highlight-max-summary-lines 10000
2252 "*If the summary is larger than this lines, don't highlight it."
2254 :group 'wl-highlight)
2256 ;; highilght about draft and message
2257 (defcustom wl-highlight-body-too t
2258 "*In addition to header, highlight the body too. if non nil."
2260 :group 'wl-highlight)
2262 (defcustom wl-highlight-message-header-alist
2263 '(("Subject[ \t]*:" . wl-highlight-message-important-header-contents)
2264 ("From[ \t]*:\\|To[ \t]*:" . wl-highlight-message-important-header-contents2)
2265 ("X-[^ \t]*:\\|User-Agent[ \t]*:" . wl-highlight-message-unimportant-header-contents))
2267 :type '(repeat (cons regexp face))
2268 :group 'wl-highlight)
2270 (defcustom wl-highlight-citation-prefix-regexp
2271 "^[>|:} ]*[>|:}]\\([^ \n>]*>\\)?\\|^[^ <\n>]*>"
2272 "All lines that match this regexp will be highlighted with
2273 `wl-highlight-message-cited-text-*' face."
2275 :group 'wl-highlight)
2277 (defcustom wl-highlight-highlight-citation-too nil
2278 "*Whether the whole citation line should go in the
2279 `wl-highlight-citation-face' face.
2280 If nil, the text matched by `wl-highlight-citation-prefix-regexp' is in the
2281 default face, and the remainder of the line is in the
2282 wl-highlight-message-cited-text face."
2284 :group 'wl-highlight)
2286 (defcustom wl-highlight-force-citation-header-regexp
2287 "^>>>.*$\\|^[ \t]*<[^>]*>[ \t]*$"
2288 "*The pattern to match the prolog of a cited block.
2289 Text in the body of a message which matches this will be displayed in
2290 the `wl-highlight-message-headers' face."
2292 :group 'wl-highlight)
2294 (defcustom wl-highlight-citation-header-regexp
2295 (concat "In article.*$\\|In message.*$\\|In the message.*$\\|"
2296 "^At[^\n]+\n[^\n]+wrote:\n\\|"
2297 "^.*\\(writes\\|wrote\\|said\\):\n")
2298 "*The pattern to match the prolog of a cited block.
2299 Text in the body of a message which matches this will be displayed in
2300 the `wl-highlight-message-headers' face."
2302 :group 'wl-highlight)
2304 (defcustom wl-highlight-max-header-size nil
2305 "*If the message header is larger than this many chars, don't highlight it.
2306 If this is nil, all headers will be highlighted."
2308 :group 'wl-highlight)
2310 (defcustom wl-highlight-max-message-size 10000
2311 "*If the message body is larger than this many chars, don't highlight it.
2312 This is to prevent us from wasting time trying to fontify things like
2313 uuencoded files and large digests. If this is nil, all messages will
2316 :group 'wl-highlight)
2318 ;; highilght about signature (of draft and message)
2319 (defcustom wl-highlight-signature-separator
2320 '("\n--+\n" "\n\n--+.*\n*\\'")
2321 "List of regexps matching signature separator.
2322 It will be verified from head to tail looking for a separator.
2323 Verification will be done from the end of the buffer.
2324 No need to specify \"^-- $\" in this list,
2325 because it is verified by default.
2326 This variable can also be a regex."
2327 :type '(repeat regexp)
2328 :group 'wl-highlight)
2330 (defcustom wl-max-signature-size 400
2331 "*If the signature is larger than this chars, don't treat it as a signature."
2333 :group 'wl-highlight)
2335 ;; highilght about mouse
2336 (defcustom wl-use-highlight-mouse-line (and window-system
2337 (>= emacs-major-version 19))
2338 "*Highlight mouse line, if non nil."
2340 :group 'wl-highlight)
2342 ;; highilght about folder
2343 (defcustom wl-highlight-folder-with-icon
2344 (or (and (featurep 'xemacs)
2347 "*Highlight folder with icon(XEmacs or Emacs 21)."
2349 :group 'wl-highlight)
2350 (defcustom wl-highlight-folder-by-numbers t
2351 "Highlight folder lines by numbers.
2352 If it is a number, only numbers will be highlighted."
2353 :type '(choice (const :tag "whole line" t)
2354 (const :tag "only numbers" 1)
2355 (const :tag "don't highlight" nil))
2356 :group 'wl-highlight)
2358 (defcustom wl-highlight-signature-search-function 'wl-highlight-signature-search
2359 "Function to search signature area in the message body."
2361 :group 'wl-highlight)
2363 (defcustom wl-use-dnd (and wl-on-xemacs
2364 (featurep 'dragdrop))
2365 "If Non-nil, support dragdrop feature in XEmacs."
2369 (defcustom wl-reset-plugged-alist t
2370 "*If non-nil, reset `elmo-plugged-alist' when startup."
2374 (defcustom wl-demo-display-logo (if (or (featurep 'xemacs)
2375 (module-installed-p 'image)
2376 (module-installed-p 'bitmap))
2378 "If it is T, show graphic logo in the startup screen. You can set it to
2379 a symbol `bitmap', `xbm' or `xpm' in order to force the image format."
2380 :type '(radio (const :tag "Off" nil)
2381 (const :tag "On (any format)" t)
2384 (const :tag "bitmap (using BITMAP-MULE)" bitmap))
2387 ;;; Internal variables
2388 (defvar wl-init nil)
2390 ;; For disconnected operations.
2391 (defvar wl-plugged-hook nil)
2392 (defvar wl-unplugged-hook nil)
2393 (defcustom wl-plugged t
2394 "*Plugged state at the startup. Nil means off-line."
2399 ;; Internal variables used to modeline identifiers.
2400 (defvar wl-modeline-plug-status nil)
2401 (defvar wl-modeline-plug-state-on wl-plug-state-indicator-on)
2402 (defvar wl-modeline-plug-state-off wl-plug-state-indicator-off)
2403 (defvar wl-modeline-biff-status nil)
2404 (defvar wl-modeline-biff-state-on wl-biff-state-indicator-on)
2405 (defvar wl-modeline-biff-state-off wl-biff-state-indicator-off)
2407 ;; Advanced thread view.
2408 (defvar wl-thread-indent-level 1
2409 "*Indent level for thread.")
2410 (defvar wl-thread-have-younger-brother-str "
\e$B(2
\e(B"
2411 "*A string for thread branch line. It should contain one character.")
2412 (defvar wl-thread-youngest-child-str "
\e$B(1
\e(B"
2413 "*A string for thread branch line. It should contain one character.")
2414 (defvar wl-thread-vertical-str "
\e$B(-
\e(B"
2415 "*A string for thread branch line. It should contain one character.")
2416 (defvar wl-thread-horizontal-str "
\e$B(,
\e(B"
2417 "*A string for thread branch line. It should contain one character.")
2418 (defvar wl-thread-space-str "
\e$B!!
\e(B"
2419 "*A string for thread branch line. It should contain one character.")
2421 (defvar wl-highlight-thread-indent-string-regexp "[^[<]*"
2422 "* A regexp string for thread indent...for highlight.")
2424 ;; folder icons. filename relative to wl-icon-directory
2425 (defvar wl-opened-group-folder-icon "opened.xpm"
2426 "*Icon file for opened group folder.")
2427 (defvar wl-closed-group-folder-icon "closed.xpm"
2428 "*Icon file for closed group folder.")
2429 (defvar wl-nntp-folder-icon "news.xpm"
2430 "*Icon file for nntp folder.")
2431 (defvar wl-imap-folder-icon "imap.xpm"
2432 "*Icon file for imap folder.")
2433 (defvar wl-pop-folder-icon "pop.xpm"
2434 "*Icon file for pop folder.")
2435 (defvar wl-localdir-folder-icon "local.xpm"
2436 "*Icon file for localdir folder.")
2437 (defvar wl-localnews-folder-icon "localnews.xpm"
2438 "*Icon file for localnews folder.")
2439 (defvar wl-internal-folder-icon "internal.xpm"
2440 "*Icon file for internal folder.")
2441 (defvar wl-multi-folder-icon "multi.xpm"
2442 "*Icon file for multi folder.")
2443 (defvar wl-filter-folder-icon "filter.xpm"
2444 "*Icon file for filter folder.")
2445 (defvar wl-archive-folder-icon "archive.xpm"
2446 "*Icon file for archive folder.")
2447 (defvar wl-pipe-folder-icon "pipe.xpm"
2448 "*Icon file for pipe folder.")
2449 (defvar wl-nmz-folder-icon "nmz.xpm"
2450 "*Icon file for namazu folder.")
2451 (defvar wl-shimbun-folder-icon "shimbun.xpm"
2452 "*Icon file for shimbun folder.")
2453 (defvar wl-maildir-folder-icon "maildir.xpm"
2454 "*Icon file for maildir folder.")
2455 (defvar wl-empty-trash-folder-icon "trash-e.xpm"
2456 "*Icon file for emptied trash folder.")
2457 (defvar wl-trash-folder-icon "trash.xpm"
2458 "*Icon file for trash folder.")
2459 (defvar wl-draft-folder-icon "draft.xpm"
2460 "*Icon file for draft folder.")
2461 (defvar wl-queue-folder-icon "queue.xpm"
2462 "*Icon file for queue folder.")
2463 (defvar wl-plugged-icon "plugged.xpm"
2464 "*Icon file for plugged state.")
2465 (defvar wl-unplugged-icon "unplugged.xpm"
2466 "*Icon file for unplugged state.")
2467 (defvar wl-biff-mail-icon "letter.xpm"
2468 "*Icon file for mail existed state.")
2469 (defvar wl-biff-nomail-icon "no-letter.xpm"
2470 "*Icon file for no mail existed state.")
2471 (defvar wl-prog-uudecode "uudecode"
2472 "*uudecode program name.")
2473 (defvar wl-prog-uudecode-arg nil
2474 "*Arguments for uudecode program.")
2475 (defvar wl-prog-uudecode-no-stdout-option t
2476 "*If non-nil, uudecode program don't have option for output to stdout.")
2479 (defvar wl-plugged-plug-on "ON")
2480 (defvar wl-plugged-plug-off "--")
2481 (defvar wl-plugged-auto-off "**")
2482 (defvar wl-plugged-server-indent 2)
2483 (defvar wl-plugged-port-indent 4)
2484 (defvar wl-plugged-queue-status-column 25)
2486 ;;;; Obsolete variables.
2488 ;; 2001-12-11: *-dir -> *-directory
2489 (elmo-define-obsolete-variable 'wl-icon-dir
2491 (elmo-define-obsolete-variable 'wl-mime-save-dir
2492 'wl-mime-save-directory)
2493 (elmo-define-obsolete-variable 'wl-score-files-dir
2494 'wl-score-files-directory)
2495 (elmo-define-obsolete-variable 'wl-tmp-dir
2496 'wl-temporary-file-directory)
2499 (elmo-define-obsolete-variable 'wl-subject-length-limit
2500 'wl-summary-subject-length-limit)
2503 (elmo-define-obsolete-variable 'wl-summary-update-confirm-threshold
2504 'elmo-folder-update-threshold)
2505 (elmo-define-obsolete-variable 'wl-fetch-confirm-threshold
2506 'elmo-message-fetch-threshold)
2508 (elmo-define-obsolete-variable 'wl-cache-prefetch-folder-type-list
2509 'wl-message-buffer-prefetch-folder-type-list)
2510 (elmo-define-obsolete-variable 'wl-cache-prefetch-folder-list
2511 'wl-message-buffer-prefetch-folder-list)
2513 ;; 2001-02-27: *-func -> *-function
2514 (elmo-define-obsolete-variable 'wl-summary-from-func
2515 'wl-summary-from-function)
2516 (elmo-define-obsolete-variable 'wl-summary-subject-func
2517 'wl-summary-subject-function)
2518 (elmo-define-obsolete-variable 'wl-summary-subject-filter-func
2519 'wl-summary-subject-filter-function)
2520 (elmo-define-obsolete-variable 'wl-draft-send-func
2521 'wl-draft-send-function)
2522 (elmo-define-obsolete-variable 'wl-draft-send-news-func
2523 'wl-draft-send-news-function)
2524 (elmo-define-obsolete-variable 'wl-draft-send-mail-func
2525 'wl-draft-send-mail-function)
2526 (elmo-define-obsolete-variable 'wl-print-buffer-func
2527 'wl-print-buffer-function)
2528 (elmo-define-obsolete-variable 'wl-ps-print-buffer-func
2529 'wl-ps-print-buffer-function)
2530 (elmo-define-obsolete-variable 'wl-generate-mailer-string-func
2531 'wl-generate-mailer-string-function)
2532 (elmo-define-obsolete-variable 'wl-highlight-x-face-func
2533 'wl-highlight-x-face-function)
2534 (elmo-define-obsolete-variable 'wl-fldmgr-sort-func
2535 'wl-fldmgr-sort-function)
2536 (elmo-define-obsolete-variable 'wl-expire-archive-get-folder-func
2537 'wl-expire-archive-get-folder-function)
2538 (elmo-define-obsolete-variable 'wl-highlight-signature-search-func
2539 'wl-highlight-signature-search-function)
2541 ;; 2000-01-25: temp mark -> target mark
2542 (elmo-define-obsolete-variable 'wl-summary-temp-above
2543 'wl-summary-target-above)
2545 ;; 1999-11-07: Unified with `wl-draft-config-alist'.
2546 (defvar wl-draft-prepared-config-alist nil)
2547 (make-obsolete-variable 'wl-draft-prepared-config-alist
2548 'wl-draft-config-alist)
2551 (elmo-define-obsolete-variable 'wl-address-filename
2553 (elmo-define-obsolete-variable 'wl-score-default-file-name
2554 'wl-score-default-file)
2558 (product-provide (provide 'wl-vars) (require 'wl-version))
2560 ;;; wl-vars.el ends here