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 "An alist of format specifications that can appear in summary lines.
193 Each element is a list of following:
195 SPEC is a character for format specification.
196 STRING is an expression to get string to insert.")
198 (defcustom wl-summary-line-format "%M/%D(%W)%h:%m %t%[%17F %] %s"
199 "*A default format string for summary line of Wanderlust.
200 It may include any of the following format specifications
201 which are replaced by the given information:
203 %Y The year of the date field of the message (zero padded).
204 %M The month of the date field of the message (zero padded).
205 %D The day of the date field of the message (zero padded).
206 %W The weekday name of the date field of the message (zero padded).
207 %h The hour of the date field of the message (zero padded).
208 %m The minute of the date field of the message (zero padded).
209 %[ An open bracket. If the message thread is linked,
210 it is replaced with '<'.
211 %] A close bracket. If the message thread is linked,
212 it is replaced with '>'.
213 %c The children number of the closed message thread.
214 %f The from: field string of the message.
215 %F The children number of the closed message thread and
216 the from: field string of the message are concatenated.
217 %s The subject: field string of the message.
218 %S the size of the message (if available)."
222 (defcustom wl-folder-summary-line-format-alist nil
223 "An alist of folder name and a summary line format.
224 If no match, `wl-summary-line-format' is used.
226 '((\"^%\" . \"%M/%D(%W)%h:%m %t%[%14F %](%S) %s\")
227 (\"^@2ch\" . \"%M%/%D/%h:%m %t[%9F ]%s\")))"
228 :type '(repeat (cons (regexp :tag "Folder Regexp")
229 (string :tag "line format")))
232 (defcustom wl-summary-from-function 'wl-summary-default-from
233 "*A function for displaying sender (From: field) information."
237 (defcustom wl-summary-subject-function 'wl-summary-default-subject
238 "*A function for displaying subject."
242 (defcustom wl-summary-subject-filter-function 'wl-summary-default-subject-filter
243 "*A filter function for comparing subjects."
247 (defcustom wl-summary-search-parent-by-subject-regexp "^[ \t]*\\(\\[[^:]+[,: ][0-9]+\\]\\)?[ \t]*re[\\^[:> ]"
248 "*If message does not have in-reply-to field nor references field and
249 subject matches this regexp, search parent message by subject matching."
254 (defcustom wl-default-folder "%inbox"
255 "*Default folder used in `wl-summary-goto-folder'."
258 (defcustom wl-draft-folder "+draft"
262 (defcustom wl-trash-folder "+trash"
267 (defcustom wl-queue-folder "+queue"
272 (defcustom wl-default-spec "%"
277 (defcustom wl-insert-mail-followup-to nil
278 "*Insert Mail-Followup-To: field if non-nil."
282 (defcustom wl-insert-mail-reply-to nil
283 "*Insert Mail-Reply-To: field if non-nil."
287 (defcustom wl-insert-message-id t
288 "*Insert Message-ID: field if non-nil."
292 (defcustom wl-auto-insert-x-face t
293 "*Insert X-Face: field automatically."
297 (defcustom wl-x-face-file "~/.xface"
298 "*X-Face field is inserted using its contents.
299 If file exists and `wl-auto-insert-x-face' is non-nil."
303 (defcustom wl-subscribed-mailing-list nil
304 "*Subscribed mailing list.
305 You had better set this variable if you set 'wl-insert-mail-followup-to' as t."
306 :type '(repeat string)
311 "*Display demo at start time."
315 (defcustom wl-envelope-from nil
316 "*Envelope From used in SMTP.
317 If nil, `wl-from' is used."
318 :type '(choice (const :tag "Same as 'From' field." nil)
323 (defcustom wl-draft-additional-header-alist nil
324 "*Additional headers in the draft."
325 :type '(repeat (cons (symbol :tag "Field Name")
326 (choice (string :tag "String")
327 (function :tag "Function")))))
329 (defcustom wl-draft-add-in-reply-to t
330 "*If non-nil, message-id of the cited message is inserted to the
331 in-reply-to field of the current draft."
335 (defcustom wl-draft-add-references nil
336 "*If non-nil, message-id of the cited message is inserted to the
337 references field of the current draft."
341 (defcustom wl-draft-cite-function 'wl-default-draft-cite
342 "*A function for citation."
346 (defcustom wl-default-draft-cite-decorate-author t
347 "*If non-nil, the author of cited message is arranged by
348 `wl-summary-from-func-internal' in `wl-default-draft-cite'."
352 (defcustom wl-smtp-connection-type nil
353 "*SMTP connection type.
354 If nil, default smtp connection type is used."
355 :type '(choice (const :tag "default" nil)
356 (const :tag "Use STARTTLS" starttls)
360 (defcustom wl-smtp-posting-user nil
361 "*SMTP authentication user."
362 :type '(choice (const :tag "none" nil)
367 (defcustom wl-smtp-posting-server nil
368 "*SMTP server name to send mail (wl-draft-send-mail-with-smtp)."
369 :type '(choice (const :tag "none" nil)
374 (defcustom wl-smtp-posting-port nil
375 "*SMTP port number in `wl-smtp-posting-server'.
376 If nil, default SMTP port number(25) is used."
377 :type '(choice (const :tag "Default (25)" nil)
382 (defcustom wl-smtp-authenticate-type nil
383 "*SMTP Authentication type.
384 If nil, don't authenticate."
385 :type '(choice (const :tag "none" nil)
386 (const :tag "PLAIN" "plain")
387 (const :tag "CRAM-MD5" "cram-md5")
388 (const :tag "LOGIN" "login")
389 (string :tag "Other"))
393 (defcustom wl-pop-before-smtp-user nil
394 "*POP3 user name to send mail using POP-before-SMTP.
395 If nil, `elmo-pop3-default-user' is used.
396 To use POP-before-SMTP,
397 \(setq wl-draft-send-mail-function 'wl-draft-send-mail-with-pop-before-smtp\)"
398 :type '(choice (const :tag "none" nil)
403 (defcustom wl-pop-before-smtp-server nil
404 "*POP3 server for POP-before-SMTP.
405 If nil, `elmo-pop3-default-server' is used."
406 :type '(choice (const :tag "none" nil)
411 (defcustom wl-pop-before-smtp-port nil
412 "*POP3 port for POP-before-SMTP.
413 If nil, `elmo-pop3-default-port' is used."
414 :type '(choice (const :tag "none" nil)
419 (defcustom wl-pop-before-smtp-stream-type nil
420 "*Stream type for POP-before-SMTP.
421 If nil, `elmo-pop3-default-stream-type' is used."
425 (defcustom wl-pop-before-smtp-authenticate-type nil
426 "*Default Authentication type for POP-before-SMTP.
427 If nil, `elmo-pop3-default-authenticate-type' is used."
428 :type '(choice (const :tag "none" nil)
429 (const :tag "APOP" 'apop)
430 (const :tag "POP3" 'user))
434 (defcustom wl-nntp-posting-server nil
435 "*NNTP server name to post news.
436 If nil, `elmo-nntp-default-server' is used."
437 :type '(choice (const :tag "none" nil)
441 (defcustom wl-nntp-posting-user nil
442 "*NNTP user name to post news for authinfo.
443 If nil, `elmo-nntp-default-user' is used.
444 If nil, don't authenticate."
445 :type '(choice (const :tag "none" nil)
449 (defcustom wl-nntp-posting-port nil
450 "*NNTP port to post news.
451 If nil, `elmo-nntp-default-port' is used."
452 :type '(choice (const :tag "none" nil)
456 (defcustom wl-nntp-posting-stream-type nil
457 "*Stream type for posting Netnews.
458 If nil, `elmo-nntp-default-stream-type' is used."
462 (defcustom wl-prefetch-confirm t
463 "*Confirm prefetching if message size is larger than `wl-prefetch-threshold'."
467 (defcustom wl-prefetch-threshold 30000
468 "*Maximum size of message prefetched without confirmation.
469 If nil, all messages prefetched regardless of its size.
470 If message size is larger than this value, confirm prefetching
471 when `wl-prefetch-confirm' is non-nil."
472 :type '(choice (integer :tag "Threshold (bytes)")
473 (const :tag "No limitation" nil))
477 (defcustom wl-thread-insert-opened nil
478 "*Non-nil forces to insert thread as opened in updating."
483 (defcustom wl-thread-open-reading-thread t
484 "*Non-nil forces to open reading thread."
489 (defvar wl-folder-mode-hook nil
490 "A hook called when wanderlust folder mode is started.
491 This hook may contain the functions `wl-folder-init-icons' and
492 `wl-setup-folder' for reasons of system internal to accord facilities
493 for the Emacs variants.")
494 (defvar wl-summary-toggle-disp-on-hook nil
495 "A hook called when message is toggled.")
496 (defvar wl-summary-toggle-disp-off-hook nil
497 "A hook called when message is disappeared.")
498 (defvar wl-summary-toggle-disp-folder-on-hook nil
499 "A hook called when folder is toggled.")
500 (defvar wl-summary-toggle-disp-folder-off-hook nil
501 "A hook called when folder is disappeared.")
502 (defvar wl-summary-toggle-disp-folder-message-resumed-hook nil
503 "A hook called when message window is resumed when folder is toggled.")
504 (defvar wl-summary-mode-hook nil
505 "A hook called when summary mode is started.
506 This hook may contain the function `wl-setup-summary' for reasons of
507 system internal to accord facilities for the Emacs variants.")
509 (defvar wl-summary-prepared-pre-hook nil
510 "A hook called before the summary buffer has been generated.")
511 (defvar wl-summary-prepared-hook nil
512 "A hook called after the summary buffer has been generated.")
513 (defvar wl-summary-sync-updated-hook nil
514 "A hook called when update summary buffer.")
515 (defvar wl-summary-unread-message-hook nil
516 "A hook called when unread message is displayed.")
517 (defvar wl-summary-edit-addresses-hook nil
518 "A hook called when address book is edited.")
519 (defvar wl-summary-buffer-message-saved-hook nil
520 "A hook called when msgdb is saved.")
521 (defvar wl-summary-buffer-mark-saved-hook nil
522 "A hook called when mark is saved.")
523 (defvar wl-summary-divide-thread-when-subject-changed nil
524 "Divide thread when subject is changed.")
525 (defvar wl-init-hook nil
526 "A hook called when initialization is finished. This hook may contain
527 the functions `wl-plugged-init-icons' and `wl-biff-init-icons' for
528 reasons of system internal to accord facilities for the Emacs variants.")
530 "A hook called when Wanderlust is invoked.")
531 (defvar wl-reply-hook nil
532 "A hook called when replied.")
533 (defvar wl-mail-setup-hook nil
534 "A hook called when Draft is prepared.")
535 (defvar wl-draft-reedit-hook nil
536 "A hook called when Draft is re-edited.")
537 (defvar wl-draft-send-hook '(wl-draft-config-exec)
538 "A hook called on the draft editing buffer before sending process starts.")
539 (defvar wl-mail-send-pre-hook nil
540 "A hook called just before the mail sending process starts.")
541 (defvar wl-news-send-pre-hook nil
542 "A hook called just before the news sending process starts.")
543 (defvar wl-message-buffer-created-hook nil
544 "A hook called when Message buffer is prepared.")
545 (defvar wl-message-redisplay-hook nil
546 "A hook called when Message is displayed.")
547 (defvar wl-message-exit-hook nil
548 "A hook called when quit message.")
549 (defvar wl-summary-exit-pre-hook nil
550 "A hook called before exit summary mode.")
551 (defvar wl-summary-exit-hook nil
552 "A hook called when exit summary mode.")
553 (defvar wl-highlight-headers-hook nil
554 "A hook called when header is highlighted.")
555 (defvar wl-highlight-message-hook nil
556 "A hook called when message is highlighted.")
557 (defvar wl-save-hook nil
558 "A hook called when save summary and folder status.")
559 (defvar wl-exit-hook nil
560 "A hook called when exit wanderlust.")
561 (defvar wl-folder-suspend-hook nil
562 "A hook called when suspend wanderlust.")
563 (defvar wl-biff-notify-hook '(ding)
564 "A hook called when a biff-notification is invoked.")
565 (defvar wl-biff-unnotify-hook nil
566 "A hook called when a biff-notification is removed.")
567 (defvar wl-auto-check-folder-pre-hook nil
568 "A hook called before auto check folders.")
569 (defvar wl-auto-check-folder-hook nil
570 "A hook called when auto check folders.")
571 (defvar wl-folder-check-entity-pre-hook nil
572 "A hook called before check entity.")
573 (defvar wl-folder-check-entity-hook nil
574 "A hook called when check entity.")
575 (defvar wl-draft-config-exec-hook nil
576 "A hook called when execute header-config on draft.")
577 (defvar wl-summary-expire-pre-hook nil
578 "A hook called before expire.")
579 (defvar wl-summary-expire-hook nil
580 "A hook called when expired.")
581 (defvar wl-summary-archive-pre-hook nil
582 "A hook called before archive.")
583 (defvar wl-summary-archive-hook nil
584 "A hook called when archived.")
585 (defvar wl-summary-line-inserted-hook nil
586 "A hook called when summary line is inserted.")
587 (defvar wl-summary-insert-headers-hook nil
588 "A hook called when insert header for search header.")
589 (defvar wl-message-display-internal-hook nil
590 "A hook called when message buffer is created and message is displayed.
591 This hook may contain the functions `wl-setup-message' for
592 reasons of system internal to accord facilities for the Emacs variants.")
593 (defvar wl-thread-update-children-number-hook nil
594 "A hook called when children number is updated.")
595 (defvar wl-folder-update-access-group-hook nil
596 "A hook called when update access group folder.")
597 (defvar wl-draft-cited-hook nil
598 "A hook called after a message is cited.")
599 (defvar wl-draft-insert-x-face-field-hook nil
600 "A hook called after a x-face field is inserted.")
601 (defvar wl-template-mode-hook nil
602 "A hook called when template mode is started.")
603 (defvar wl-score-mode-hook nil
604 "A hook called when score mode is started.")
605 (defvar wl-make-plugged-hook nil
606 "A hook called when make plugged alist.")
608 (defvar wl-plugged-exit-hook nil
609 "A hook called when exit plugged mode.")
611 ;;;; functions for draft
612 (defcustom wl-draft-send-function 'wl-draft-normal-send-func
613 "A function to send message."
617 (defcustom wl-draft-send-news-function 'wl-draft-elmo-nntp-send
618 "A function to send news."
622 (defcustom wl-draft-send-mail-function 'wl-draft-send-mail-with-smtp
623 "A function to send mail.
624 Prepared candidates are 'wl-draft-send-mail-with-smtp,
625 'wl-draft-send-mail-with-qmail and 'wl-draft-send-mail-with-pop-before-smtp."
626 :type '(radio (function-item wl-draft-send-mail-with-smtp)
627 (function-item wl-draft-send-mail-with-qmail)
628 (function-item wl-draft-send-mail-with-pop-before-smtp)
629 (function :tag "Other"))
632 (defcustom wl-draft-reply-with-argument-list
633 '(("Reply-To" . (("Reply-To") nil nil))
634 ("Mail-Reply-To" . (("Mail-Reply-To") nil nil))
635 ("From" . (("From") nil nil)))
636 "Alist of cons cell of
637 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
638 'field-name' is a string.
639 'fields for ***' is a list of strings.
640 If car of each cons cell exists in original message,
641 cdr of each cons cell is used for draft message.
642 Default is for 'reply-to-author'."
643 :type '(repeat (cons (choice (string :tag "Field Name")
644 (repeat (string :tag "Field Name")))
645 (list (repeat :tag "Fields For To" string)
646 (repeat :tag "Fields For Cc" string)
647 (repeat :tag "Fields For Newsgroups" string))))
650 (defcustom wl-draft-reply-without-argument-list
651 '(("Followup-To" . (nil nil ("Followup-To")))
652 ("Mail-Followup-To" . (("Mail-Followup-To") nil ("Newsgroups")))
653 ("Reply-To" . (("Reply-To") ("To" "Cc" "From") ("Newsgroups")))
654 ("From" . (("From") ("To" "Cc") ("Newsgroups"))))
655 "Alist of cons cell of
656 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
657 'field-name' is a string.
658 'fields for ***' is a list of strings.
659 If car of each cons cell exists in original message,
660 cdr of each cons cell is used for draft message.
661 Default is for 'reply-to-all'."
662 :type '(repeat (cons (choice (string :tag "Field Name")
663 (repeat (string :tag "Field Name")))
664 (list (repeat :tag "Fields For To" string)
665 (repeat :tag "Fields For Cc" string)
666 (repeat :tag "Fields For Newsgroups" string))))
669 (defcustom wl-draft-reply-myself-with-argument-list
670 '(("Followup-To" . (("To") ("Cc") ("Followup-To")))
671 ("Newsgroups" . (("To") ("Cc") ("Newsgroups")))
672 ("From" . (("To") ("Cc") nil)))
673 "Alist of cons cell of
674 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
675 'field-name' is a string.
676 'fields for ***' is a list of strings.
677 If car of each cons cell exists in original message,
678 cdr of each cons cell is used for draft message.
679 Default is for 'reply-to-me'."
680 :type '(repeat (cons (choice (string :tag "Field Name")
681 (repeat (string :tag "Field Name")))
682 (list (repeat :tag "Fields For To" string)
683 (repeat :tag "Fields For Cc" string)
684 (repeat :tag "Fields For Newsgroups" string))))
687 (defcustom wl-draft-reply-myself-without-argument-list
688 '(("Followup-To" . (("To") ("Cc") ("Followup-To")))
689 ("Newsgroups" . (("To") ("Cc") ("Newsgroups")))
690 ("From" . (("To") ("Cc") nil)))
691 "Alist of cons cell of
692 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
693 'field-name' is a string.
694 'fields for ***' is a list of strings.
695 If car of each cons cell exists in original message,
696 cdr of each cons cell is used for draft message.
697 Default is for 'followup-to-me'."
698 :type '(repeat (cons (choice (string :tag "Field Name")
699 (repeat (string :tag "Field Name")))
700 (list (repeat :tag "Fields For To" string)
701 (repeat :tag "Fields For Cc" string)
702 (repeat :tag "Fields For Newsgroups" string))))
705 (defcustom wl-draft-always-delete-myself nil
706 "*Always delete myself from reciepient if non-nil."
710 (defcustom wl-draft-delete-myself-from-bcc-fcc nil
711 "*Do not insert bcc or fcc if To and Cc fields is a member of
712 `wl-subscribed-mailing-list'"
716 (defcustom wl-draft-resume-folder-window t
717 "*Resume folder window in `wl-draft-hide'."
721 (defcustom wl-draft-use-frame nil
722 "*Raise new frame when composing draft."
726 (defcustom wl-draft-qmail-send-plugged nil
727 "*Send mail when plugged is on, in the `wl-draft-send-mail-with-qmail'."
731 (defcustom wl-draft-remove-group-list-contents t
732 "*If non-nil, remove group list contents in `wl-draft-send-mail-with-smtp'."
737 (defcustom wl-init-file "~/.wl"
738 "*User customization setting file."
742 (defcustom wl-folders-file "~/.folders"
747 (defcustom wl-address-file "~/.addresses"
752 (defcustom wl-alias-file "~/.im/Aliases"
753 "*Alias file for completion."
757 (defcustom wl-ldap-server "localhost"
759 :type '(string :tag "Server")
763 (defcustom wl-ldap-port nil
765 :type '(choice (const :tag "Default port" nil)
770 (defcustom wl-ldap-base "c=US"
772 :type '(string :tag "Base")
776 (defcustom wl-ldap-objectclass "person"
782 (defcustom wl-use-ldap nil
783 "*If non-nil, use LDAP for address completion."
788 (defcustom wl-use-acap nil
789 "*If non-nil, use ACAP for configuration."
793 (defcustom wl-folder-info-save t
794 "If non-nil, save elmo-folder-info-alist."
798 (defcustom wl-summary-unread-mark "!"
799 "Mark for unread message."
800 :type '(string :tag "Mark")
801 :group 'wl-summary-marks)
802 (defcustom wl-summary-important-mark "$"
803 "Mark for important message."
804 :type '(string :tag "Mark")
805 :group 'wl-summary-marks)
806 (defcustom wl-summary-new-mark "N"
807 "Mark for new message."
808 :type '(string :tag "Mark")
809 :group 'wl-summary-marks)
810 (defcustom wl-summary-unread-uncached-mark "U"
811 "Mark for unread and uncached message."
812 :type '(string :tag "Mark")
813 :group 'wl-summary-marks)
814 (defcustom wl-summary-unread-cached-mark "!"
815 "Mark for unread but already cached message."
816 :type '(string :tag "Mark")
817 :group 'wl-summary-marks)
818 (defcustom wl-summary-read-uncached-mark "u"
819 "Mark for read but uncached message."
820 :type '(string :tag "Mark")
821 :group 'wl-summary-marks)
822 (defcustom wl-summary-score-over-mark "+"
823 "Score mark used for messages with high scores."
824 :type '(string :tag "Mark")
825 :group 'wl-summary-marks)
826 (defcustom wl-summary-score-below-mark "-"
827 "Score mark used for messages with low scores."
828 :type '(string :tag "Mark")
829 :group 'wl-summary-marks)
831 (defcustom wl-summary-no-mime-folder-list nil
832 "*All folders that match this list don't analysis mime."
833 :type '(repeat string)
836 (defcustom wl-summary-fix-timezone nil
837 "*Time zone of the date string in summary mode.
838 If nil, it is adjust to the default time zone information
839 \(system's default time zone or environment variable TZ\)."
840 :type '(choice (const :tag "Default time zone" nil)
844 (defcustom wl-summary-default-score 0
845 "*Default message score level.
846 All scores generated by the score files will be added to this score.
847 If this variable is nil, scoring will be disabled."
848 :type '(choice (const :tag "disable" nil)
852 (defcustom wl-summary-important-above nil
853 "*Mark all messages with a score above this variable as important.
854 This variable is local to the summary buffers."
855 :type '(choice (const :tag "off" nil)
859 (defcustom wl-summary-target-above nil
860 "*Mark all messages with a score above this variable as target.
861 This variable is local to the summary buffers."
862 :type '(choice (const :tag "off" nil)
866 (defcustom wl-summary-mark-below 0
867 "*Mark all messages with a score below this variable as read.
868 This variable is local to each summary buffer and usually set by the
873 (defcustom wl-summary-expunge-below nil
874 "All messages that have a score less than this variable will be expunged.
875 This variable is local to the summary buffers."
876 :type '(choice (const :tag "off" nil)
880 (defcustom wl-summary-score-marks
881 (list wl-summary-new-mark)
882 "Persistent marks to scoring."
883 :type '(repeat (string :tag "Mark"))
886 (defcustom wl-use-scoring t
887 "*If non-nil, enable scoring."
891 (defcustom wl-summary-rescore-partial-threshold 200
892 "*Summary is not scored entirely if there are messages more than this value.
893 In sync-all or rescan."
897 (defcustom wl-score-files-directory (concat elmo-msgdb-directory elmo-path-sep)
898 "*Name of the directory where score files will be stored.
899 (default \"~/.elmo\")."
903 (defcustom wl-score-interactive-default-score 1000
904 "*Scoring commands will raise/lower the score with this number as the default."
908 (defcustom wl-score-expiry-days 7
909 "*Number of days before unused score file entries are expired.
910 If this variable is nil, no score file entries will be expired."
911 :type '(choice (const :tag "never" nil)
915 (defcustom wl-score-update-entry-dates t
916 "*In non-nil, update matching score entry dates.
917 If this variable is nil, then score entries that provide matches
918 will be expired along with non-matching score entries."
922 (defcustom wl-score-folder-alist nil
923 "*Alist of folder regexp and score file."
924 :type '(repeat (list (regexp :tag "Folder Regexp")
927 (symbol :tag "Variable")))))
930 (defcustom wl-score-folder-alist-matchone t
931 "*If non-nil, getting only one element of `wl-score-folder-alist'."
935 (defcustom wl-score-default-file "all.SCORE"
936 "*Default score file name."
940 (defcustom wl-score-simplify-fuzzy-regexp
941 '("^[ \t]*\\[[^:]+[,: ][0-9]+\\][ \t]*")
942 "*Strings to be removed when doing fuzzy matches.
943 This can either be a regular expression or list of regular expressions."
944 :type '(repeat regexp)
947 (defcustom wl-score-header-default-entry
948 '(("number" -1000 perm =)
949 ("subject" -1000 nil nil)
950 ("from" -1000 perm s)
951 ("message-id" -1000 temp e)
952 ("references" -1000 perm e)
955 ("date" -1000 temp nil)
956 ("xref" -1000 perm s)
957 ("extra" -1000 perm s)
958 ("chars" -1000 perm >)
959 ("lines" -1000 perm >)
960 ("followup" -1000 perm s)
961 ("thread" -1000 temp s))
962 "*Default entry when insert score entry."
963 :type '(repeat (list (string :tag "Header")
964 (choice (integer :tag "Score")
965 (const :tag "Ask" nil))
966 (choice (const :tag "Permanent" perm)
967 (const :tag "Temporary" temp)
968 (const :tag "Ask" nil))
969 (choice (const :tag "Regexp string" r)
970 (const :tag "Substring" s)
971 (const :tag "fuzzy string" f)
972 (const :tag "Exact string" e)
973 (const :tag "REGEXP STRING" R)
974 (const :tag "SUBSTRING" S)
975 (const :tag "FUZZY STRING" F)
976 (const :tag "EXACT STRING" E)
977 (const :tag "less than" <)
978 (const :tag "less equal" <=)
979 (const :tag "greater than" >)
980 (const :tag "greater equal" >=)
981 (const :tag "equal" =)
982 (const :tag "Ask" nil))))
985 (defcustom wl-score-mode-mime-charset 'x-ctext
986 "*MIME Charset for score file."
990 (defcustom wl-draft-fields
991 '("To:" "Cc:" "Bcc:" "Fcc:" "Distribution:" "Organization:"
992 "Newsgroups:" "Followup-To:" "Mail-Followup-To:" "From:" "Reply-To:")
993 "Fields used in draft mode."
994 :type '(repeat (string :tag "Field"))
997 (defcustom wl-draft-config-alist nil
998 "Alist of configuration field on draft.
1000 '((\"^To: .*wl@lists.airs.net\"
1001 (\"From\" . wl-from2)
1002 (\"Organization\" . wl-organization2))
1003 (\"^To: .*hogehoge@\"
1004 (\"From\" . \"Anonymous <hogehoge@aaa.ne.jp>\")
1005 wl-my-draft-config-func-hoge))"
1006 :type '(repeat (list (sexp :tag "Match")
1009 (choice (cons (sexp :tag "Field(Variable)")
1010 (sexp :tag "Value"))
1011 (sexp :tag "Function")))))
1015 (defcustom wl-draft-config-matchone nil
1016 "*If non-nil, applied only one element of `wl-draft-config-alist'."
1021 (defcustom wl-draft-elide-ellipsis "\n[...]\n\n"
1022 "*The string which is inserted for elided text."
1026 (defcustom wl-template-alist nil
1027 "Alist of template."
1028 :type '(repeat (list (string :tag "Name")
1031 (choice (cons (sexp :tag "Field(Variable)")
1032 (sexp :tag "Value"))
1033 (sexp :tag "Function")))))
1037 (defcustom wl-template-visible-select t
1038 "*If non-nil, select template with visible."
1042 (defcustom wl-template-confirm nil
1043 "*If non-nil, require your confirmation when selected template."
1047 (defcustom wl-template-buffer-lines 7
1048 "*Lines of template buffer."
1053 (defcustom wl-draft-enable-queuing t
1054 "*Non-nil enables queued sending."
1059 (defcustom wl-draft-force-queuing nil
1060 "*Non-nil forces queued sending for mail and news."
1065 (defcustom wl-draft-force-queuing-mail nil
1066 "*Non-nil forces queued sending for mail."
1071 (defcustom wl-draft-force-queuing-news nil
1072 "*Non-nil forces queued sending for news."
1077 (defcustom wl-draft-use-cache nil
1078 "*If non-nil, sending message is cached."
1083 (defcustom wl-auto-flush-queue t
1084 "*If non-nil, sending queue is flushed when network status is toggled."
1089 (defcustom wl-draft-reply-buffer-style 'split
1091 :type '(radio (const split)
1095 (defcustom wl-draft-queue-save-variables
1096 '(wl-envelope-from wl-from
1097 wl-smtp-posting-server wl-smtp-posting-user wl-smtp-posting-port
1098 wl-smtp-authenticate-type wl-smtp-connection-type
1099 wl-pop-before-smtp-server wl-pop-before-smtp-user wl-pop-before-smtp-port
1100 wl-pop-before-smtp-stream-type wl-pop-before-smtp-authenticate-type
1101 wl-nntp-posting-server wl-nntp-posting-server
1102 wl-nntp-posting-user wl-nntp-posting-port wl-nntp-posting-stream-type)
1103 "*Saving variables in queue info."
1104 :type '(repeat (sexp :tag "Variable"))
1107 (defcustom wl-draft-sendlog t
1108 "*Keep send state in log if non-nil."
1112 (defcustom wl-draft-sendlog-max-size 20000
1113 "*Max file size of sendlog."
1117 (defcustom wl-summary-default-number-column 5
1118 "Number of columns in summary buffer."
1122 (defcustom wl-summary-number-column-alist '(("\\*.*" . 6))
1123 "Alist of folder and its number column.
1124 If no matches, 'wl-summary-default-number-column' is used.
1126 '((\"^%inbox@qmail-maildir\" . 9)
1127 (\"^-.*@news-server\" . 6))"
1128 :type '(repeat (cons (regexp :tag "Folder Regexp") integer))
1131 (defcustom wl-summary-highlight t
1132 "Non-nil forces Summary buffer to be highlighted."
1135 :group 'wl-highlight)
1137 (defcustom wl-summary-lazy-highlight (and (boundp 'window-scroll-functions)
1139 "Non-nil forces lazy summary highlighting using `window-scroll-functions'."
1142 :group 'wl-highlight)
1144 (defcustom wl-summary-highlight-partial-threshold 1000
1145 "Summary is not highlighted entirely if there are lines more than this value.
1146 Available if only `wl-summary-lazy-highlight' is nil."
1149 :group 'wl-highlight)
1151 (defcustom wl-summary-partial-highlight-above-lines 30
1152 "If Summary has lines more than `wl-summary-highlight-partial-threshold',
1153 Summary lines are highlighted partialy above current position.
1154 Available if only `wl-summary-lazy-highlight' is nil."
1157 :group 'wl-highlight)
1159 (defcustom wl-summary-cache-use t
1160 "Non-nil forces wl-summary to use cache file."
1164 (defcustom wl-summary-auto-sync-marks t
1165 "Non-nil forces to synchronize unread/important marks."
1169 (defcustom wl-summary-cache-file ".wl-summary-cache"
1170 "*Cache file for summary mode contents."
1173 (defcustom wl-summary-view-file ".wl-summary-view"
1174 "*Current summary view."
1177 (defcustom wl-thread-top-file ".wl-thread-top"
1178 "*Current thread top entity... obsolete."
1181 (defcustom wl-thread-entity-file ".wl-thread-entity"
1185 (defcustom wl-thread-entity-list-file ".wl-thread-entity-list"
1186 "*Thread top entity list."
1190 (defcustom wl-print-buffer-function 'lpr-buffer
1191 "A function to print current buffer."
1195 (defcustom wl-ps-print-buffer-function
1196 (if window-system 'ps-print-buffer-with-faces 'ps-print-buffer)
1197 "A function to print current buffer with ps-print."
1202 (defcustom wl-use-petname t
1203 "*Display petname in summary and default citation title."
1207 (defcustom wl-use-folder-petname
1209 "*List of situation using folder petname.
1210 Allowed situations are:
1211 modeline : displayed on modeline.
1212 ask-folder : displayed on minibuffer when ask folder.
1213 read-folder : can used for completion at `wl-summary-read-folder'."
1214 :type '(set (const modeline)
1216 (const read-folder))
1220 (defcustom wl-folder-petname-alist nil
1221 "A list of (realname . petname)."
1222 :type '(repeat (cons (string :tag "Realname") (string :tag "Petname")))
1225 (defcustom wl-summary-weekday-name-lang "ja"
1226 "*Language to display week day."
1227 :type '(choice (const "ja")
1231 (string :tag "Other"))
1235 (defcustom wl-message-id-use-wl-from nil
1236 "*Use `wl-from' for domain part of Message-ID if non-nil."
1240 (defcustom wl-local-domain nil
1241 "*Domain part of this client (without hostname).
1242 Set this if (system-name) does not return FQDN."
1243 :type '(choice (const :tag "Use System Name" nil)
1247 (defcustom wl-message-id-domain nil
1248 "*Specific domain part of Message-ID."
1249 :type '(choice (const :tag "Use System Name" nil)
1253 (defcustom wl-unique-id-suffix ".wl"
1254 "*Specific string in generated Message-ID
1255 which appear just before @."
1259 (defcustom wl-break-pages t
1260 "*Break Pages at ^L."
1264 (defcustom wl-message-truncate-lines default-truncate-lines
1265 "*Truncate lines in Message Buffer."
1269 (defcustom wl-draft-truncate-lines default-truncate-lines
1270 "*Truncate lines in Draft Buffer."
1275 (defcustom wl-message-scroll-amount 5
1276 "*Scroll amount by SPC key."
1280 (defcustom wl-message-window-size '(1 . 4)
1281 "*Size of summary and message window. cons cell of (Summary : Message)."
1282 :type '(cons integer integer)
1285 (defcustom wl-message-sort-field-list '("Return-Path" "Received" "^To" "^Cc"
1286 "Newsgroups" "Subject" "^From")
1287 "*Sort order of header fields. Each elements are regexp of field name."
1288 :type '(repeat (string :tag "Field Regexp"))
1292 (defcustom wl-message-ignored-field-list nil
1293 "All fields that match this list will be hidden in message buffer.
1294 Each elements are regexp of field-name."
1295 :type '(repeat (string :tag "Field Regexp"))
1299 (defcustom wl-message-visible-field-list nil
1300 "All fields that match this list will be displayed in message buffer.
1301 Each elements are regexp of field-name."
1302 :type '(repeat (string :tag "Field Regexp"))
1306 (defcustom wl-message-header-button-alist
1307 (` (("^\\(References\\|Message-Id\\|In-Reply-To\\):"
1309 0 wl-message-button-refer-article 0)
1311 "\\(<\\(url: \\)?news:\\([^>\n ]*\\)>\\)"
1312 1 wl-message-button-refer-article 3)))
1313 "Alist of headers and regexps to match buttons in message headers."
1315 (list (regexp :tag "Header")
1317 (integer :tag "Button")
1318 (function :tag "Callback")
1321 (integer :tag "Regexp group"))))
1324 (defcustom wl-message-body-button-alist
1325 '(("<mailto:[^>]+>" 0 'ignore 0 1024)
1326 ("<[^>]+@[^>]+>" 0 wl-message-button-refer-article 0 1024))
1327 "Alist of regexps to match buttons in message body."
1330 (integer :tag "Button")
1331 (function :tag "Callback")
1334 (integer :tag "Regexp group"))
1335 (integer :tag "Max Length")))
1338 (defcustom wl-folder-window-width 20
1339 "*Width of folder window."
1344 (defcustom wl-summary-recenter t
1345 "*Recenter on redisplay."
1350 (defcustom wl-folder-use-frame nil
1351 "*Use dedicated frame for folder mode if non-nil."
1355 (defcustom wl-summary-use-frame nil
1356 "*Use dedicated frame for each folder summary if non-nil."
1360 (defcustom wl-stay-folder-window nil
1361 "*Stay folder window when folder is selected if non-nil."
1365 (defcustom wl-reply-subject-prefix "Re: "
1366 "*Prefix of the subject of the replied message."
1371 (defcustom wl-draft-reply-use-address-with-full-name t
1372 "*Use address with full-name in the draft of replied message."
1377 (defcustom wl-subject-prefix-regexp "^[ \t]*\\([Rr][Ee][:>][ \t]*\\)*[ \t]*"
1378 "*Regexp matching \"Re: \" in the subject line."
1383 (defcustom wl-folder-many-unsync-threshold 70
1384 "*Folders which contains messages more than this number are highlighted
1385 with wl-highlight-folder-many-face."
1390 (defcustom wl-fcc nil
1391 "*Folder Carbon Copy."
1392 :type '(choice (const :tag "disable" nil)
1397 (defcustom wl-fcc-force-as-read nil
1398 "*If non-nil, mark copied message as read."
1403 (defcustom wl-bcc nil
1404 "*Blind Carbon Copy."
1405 :type '(choice (const :tag "disable" nil)
1410 (defcustom wl-folder-desktop-name "Desktop"
1411 "*An implicit name of the folder top entity."
1416 (defcustom wl-summary-indent-length-limit 46
1417 "*Limit of indent length for thread. Nil means unlimited"
1418 :type '(choice (const :tag "Unlimited" nil)
1423 (defcustom wl-summary-no-from-message "nobody@nowhere?"
1424 "*A string displayed in summary when no from field exists."
1428 (defcustom wl-summary-no-subject-message "(WL:No Subject in original.)"
1429 "*A string displayed in summary when no subject field exists."
1433 (defcustom wl-summary-cancel-message "I'd like to cancel my message."
1434 "*The body content of a cancel message."
1438 (defcustom wl-summary-width 80
1439 "*Set summary line width if non nil."
1440 :type '(choice (const :tag "Don't truncate" nil)
1445 (defcustom wl-summary-pick-field-default "Body"
1446 "*Default field for pick."
1447 :type '(radio (const "From")
1456 (string :tag "Other"))
1459 (defcustom wl-summary-subject-length-limit nil
1460 "*Set subject width in summary when wl-summary-width is nil.
1461 Nil means unlimited"
1462 :type '(choice (const :tag "Unlimited" nil)
1467 (defcustom wl-mime-charset 'x-ctext
1468 "*MIME Charset for summary and message."
1473 (defcustom wl-generate-mailer-string-function 'wl-generate-user-agent-string
1474 "A function for creating User-Agent field string."
1478 (defcustom wl-highlight-background-mode (if (boundp 'hilit-background-mode)
1479 (or hilit-background-mode 'dark)
1481 "*Background mode of highlight (for Old Emacsen). 'dark or 'light."
1482 :type '(radio (const dark)
1484 :group 'wl-highlight)
1486 (defcustom wl-highlight-x-face-function nil
1487 "A function to display X-Face."
1489 :group 'wl-highlight)
1491 (defcustom wl-qmail-inject-program "/var/qmail/bin/qmail-inject"
1492 "Location of the qmail-inject program."
1493 :type '(string :tag "Program")
1496 (defcustom wl-qmail-inject-args nil
1497 "Arguments passed to qmail-inject programs.
1498 This should be a list of strings, one string for each argument.
1500 For e.g., if you wish to set the envelope sender address so that bounces
1501 go to the right place or to deal with listserv's usage of that address, you
1502 might set this variable to '(\"-f\" \"you@some.where\")."
1503 :type '(repeat (string :tag "Argument"))
1506 (defcustom wl-rejected-letter-start
1507 "^[\t ]*-+[\t ]+\\(original\\|\\(\\(the \\)?unsent\\)\\) message\\( follows\\)?[\t ]+-+[\t ]*$"
1508 "Regexp specifying the beginning of the wrapper around a returned letter.
1509 This wrapper is generated by the mail system when rejecting a letter."
1513 (defcustom wl-ignored-forwarded-headers "\\(received\\|return-path\\|x-uidl\\)"
1514 "*All headers that match this regexp will be deleted when forwarding a message."
1518 (defcustom wl-ignored-resent-headers "\\(return-receipt\\|[bdf]cc\\)"
1519 "*All headers that match this regexp will be deleted when resending a message."
1523 (defcustom wl-refile-default-from-folder "+from"
1524 "*Folder name to refile by `wl-refile-guess-by-from'."
1525 :type '(string :tag "Folder")
1528 (defcustom wl-summary-auto-refile-skip-marks
1529 (list wl-summary-new-mark
1530 wl-summary-unread-uncached-mark
1531 wl-summary-unread-cached-mark)
1532 "Persistent marks to skip auto-refiling."
1533 :type '(repeat (string :tag "Mark"))
1536 (defcustom wl-summary-reserve-mark-list
1538 "If a message is already marked as temporal marks in this list,
1539 the message is not marked by any mark command."
1540 :type '(repeat (string :tag "Temp-Mark"))
1543 (defcustom wl-summary-skip-mark-list
1545 "If a message is already marked as temporal marks in this list,
1546 the message is skipped at cursor move."
1547 :type '(repeat (string :tag "Temp-Mark"))
1550 (defcustom wl-summary-incorporate-marks
1551 (list wl-summary-new-mark
1552 wl-summary-unread-uncached-mark)
1553 "Persistent marks to prefetch at `wl-summary-incorporate'."
1554 :type '(repeat (string :tag "Mark"))
1557 (defcustom wl-refile-rule-alist nil
1562 (\"teranisi@isl.ntt.co.jp\" . \"+teranisi\"))
1564 (\"^Wanderlust\" . \"+wl\")
1565 (\"^Elips\" . \"+elips\")))"
1566 :type '(repeat (list (string :tag "Field")
1568 (cons (regexp :tag "Value")
1569 (string :tag "Folder")))))
1572 (defcustom wl-strict-diff-folders nil
1573 "List of regexps matching folders of which Wanderlust seriously counts unsync messages."
1574 :type '(choice (const :tag "Off" nil)
1575 (repeat (regexp :tag "Folder Regexp")))
1578 (defcustom wl-folder-use-server-diff t
1579 "Checked unread message number on IMAP4 server.
1580 Only IMAP4 folders have an effect."
1584 (defcustom wl-force-fetch-folders nil
1585 "Non-nil forces to fetch subfolders when user opened an 'access' folder."
1586 :type '(choice (const :tag "off" nil)
1587 (const :menu-tag "on" t)
1588 (repeat (regexp :tag "Folder Regexp")))
1591 (defcustom wl-auto-check-folder-name nil
1592 "*A folder, a group or a list of folders and groups specified which
1593 will be automatically checked at the startup time."
1594 :type '(choice (string :tag "Folder")
1595 (repeat (string :tag "Folder"))
1599 (defcustom wl-auto-uncheck-folder-list '("\\$.*")
1600 "All folders that match this list won't be checked at the startup
1601 time even if they are embedded in some groups specified by
1602 wl-auto-check-folder-name.
1603 Those folders are also skipped when you check on the Desktop.
1604 This value is preceded by wl-auto-check-folder-list.
1605 Each elements are regexp of folder name."
1606 :type '(repeat (regexp :tag "Folder Regexp"))
1609 (defcustom wl-auto-check-folder-list nil
1610 "A list of patterns for exceptional folders against
1611 wl-auto-uncheck-folder-list.
1612 Each elements are regexp of folder name."
1613 :type '(repeat (regexp :tag "Folder Regexp"))
1616 (defcustom wl-show-plug-status-on-modeline t
1617 "If it is non-nil, show plugged status in modeline."
1619 :group 'wl-highlight)
1621 (defcustom wl-plug-state-indicator-on " [ON] "
1622 "String used to show plugged status ON."
1624 :group 'wl-highlight)
1626 (defcustom wl-plug-state-indicator-off " [--] "
1627 "String used to show plugged status OFF."
1629 :group 'wl-highlight)
1631 (defcustom wl-biff-check-folder-list nil
1632 "All folders that match this list are automatically checked
1633 every intervals specified by wl-biff-check-interval."
1634 :type '(repeat (regexp :tag "Folder Regexp"))
1635 :group 'wl-highlight)
1637 (defcustom wl-biff-check-interval 40
1638 "Number of seconds between updates of new mails in the mode line."
1640 :group 'wl-highlight)
1642 (defcustom wl-biff-state-indicator-on (if (and (featurep 'xemacs)
1643 (not (featurep 'mule)))
1645 (decode-coding-string
1647 (read "\"[\e$B\\\")\e(B]\"")
1651 "String used to show biff status ON."
1653 :group 'wl-highlight)
1655 (defcustom wl-biff-state-indicator-off (if (and (featurep 'xemacs)
1656 (not (featurep 'mule)))
1658 ;; Japanese short hyphen
1660 "String used to show biff status OFF."
1662 :group 'wl-highlight)
1664 (defcustom wl-mode-line-display-priority-list '(biff plug title)
1665 "Displaying order of items to be shown in modeline. The first item will
1666 be placed in the leftmost. The significant items are `biff' and `plug';
1667 otherwise, e.g. `title', corresponds to the things except for the biff
1668 staus nor the plugged status. The default order is '(biff plug title)
1669 even if the value of this option is set to nil. Here are some samples:
1671 ;; Plugged status first:
1672 \(setq wl-mode-line-display-priority-list '(plug))
1674 ;; Biff status, Title of Wanderlust, Plugged status:
1675 \(setq wl-mode-line-display-priority-list '(biff title plug))
1678 :type '(repeat (radio (const :format "%v " biff)
1679 (const :format "%v " plug)
1680 (sexp :tag "Other" :value title)))
1681 :group 'wl-highlight)
1683 (defcustom wl-interactive-send t
1684 "*If non-nil, require your confirmation when sending draft message."
1689 (defcustom wl-interactive-exit t
1690 "*If non-nil, require your confirmation when exiting WL."
1694 (defcustom wl-summary-move-order 'unread
1695 "*The order of priority when move in summary mode.
1696 If this variable is `unread', precede \"U\", \"!\", \"N\" mark.
1697 If this variable is `new', precede \"N\" mark."
1698 :type '(radio (const new)
1703 (defvar wl-summary-move-direction-downward t)
1705 (defcustom wl-summary-move-direction-toggle t
1706 "*If non-nil, search direction for the next message will be determined
1707 depends on previous search direction.
1708 It uses wl-summary-move-direction-downward as a direction flag."
1712 (defcustom wl-auto-select-first nil
1713 "*If non-nil, display selected first message when enter summary."
1718 (defcustom wl-auto-prefetch-first nil
1719 "*If non-nil, prefetch selected first message when enter summary."
1724 (defcustom wl-auto-select-next nil
1725 "*If non-nil, offer to go to the next folder from the end of the previous.
1726 If the value is the symbol `unread', go to the next folder
1727 that no unread message exists. If the value is the symbol `skip-no-unread',
1728 skip the folder that no unread message exists.
1730 See also variable `wl-summary-next-no-unread-command'."
1731 :type '(radio (const :tag "off" nil)
1734 (const skip-no-unread))
1738 (defcustom wl-message-buffer-prefetch-folder-type-list t
1739 "*All folder types that match this list prefetch next message,
1740 and reserved buffer cache."
1741 :type `(choice (const :tag "all" t)
1742 (const :tag "never" nil)
1743 (set (const localdir)
1756 (defcustom wl-message-buffer-prefetch-folder-list nil
1757 "*All folders that match this list prefetch next message,
1758 and reserved buffer cache.
1761 :type '(repeat (regexp :tag "Folder Regexp"))
1764 (defcustom wl-message-buffer-prefetch-depth 3
1765 "*Depth of buffer prefetch in summary mode."
1769 (defcustom wl-message-buffer-prefetch-idle-time 0.2
1770 "*Idle time of buffer prefetch."
1774 (defcustom wl-message-buffer-prefetch-threshold 30000
1775 "*Quit forward cache prefetching if message size is larger than this value."
1779 (defcustom wl-summary-always-sticky-folder-list nil
1780 "All folders that match this list has sticky summary.
1781 Each elements are regexp of folder name."
1782 :type '(radio (const :tag "none" nil)
1783 (const :tag "all" t)
1784 (repeat (regexp :tag "Folder Regexp")))
1787 (defcustom wl-no-save-folder-list '("^/.*$" "^\\[.*$")
1788 "All folders that match this list won't save its msgdb.
1789 Each elements are regexp of folder name."
1790 :type '(repeat (regexp :tag "Folder Regexp"))
1793 (defcustom wl-save-folder-list nil
1794 "All folders that match this list save its msgdb.
1795 Each elements are regexp of folder name."
1796 :type '(repeat (regexp :tag "Folder Regexp"))
1799 (defcustom wl-folder-mime-charset-alist
1800 '(("^-alt\\.chinese" . big5)
1801 ("^-relcom\\." . koi8-r)
1803 ("^-han\\." . euc-kr)
1804 ("@sponichi" . shift_jis)
1805 ("@2ch" . shift_jis))
1806 "Charset alist. If no match, `wl-mime-charset' is used."
1807 :type '(repeat (cons (regexp :tag "Folder Regexp") (symbol :tag "Charset")))
1811 (defcustom wl-folder-weekday-name-lang-alist
1812 '(("^-alt\\.chinese" . "en")
1813 ("^-relcom\\." . "en")
1815 ("^-han\\." . "en"))
1816 "Weekday name lang alist.
1817 If no match, `wl-summary-weekday-name-lang' is used.
1819 '((\"xemacs-beta$\" . \"en\")
1820 (\"^-fj\" . \"ja\"))"
1821 :type '(repeat (cons (regexp :tag "Folder Regexp")
1822 (choice (const "ja")
1826 (string :tag "Other"))))
1829 (defcustom wl-folder-thread-indent-set-alist
1830 '(("^-alt\\.chinese" . (2 "+" "+" "|" "-" " "))
1831 ("^-relcom\\." . (2 "+" "+" "|" "-" " "))
1832 ("^-tw\\." . (2 "+" "+" "|" "-" " "))
1833 ("^-han\\." . (2 "+" "+" "|" "-" " ")))
1834 "Thread indent set alist.
1835 If no match, following indent set is used.
1836 (wl-thread-indent-level
1837 wl-thread-have-younger-brother-str
1838 wl-thread-youngest-child-str
1839 wl-thread-vertical-str
1840 wl-thread-horizontal-str
1841 wl-thread-space-str)
1843 '((\"xemacs-beta$\" . (2 \"+\" \"+\" \"|\" \"-\" \" \")))"
1844 :type '(repeat (cons (regexp :tag "Folder Regexp")
1845 (group (integer :tag "Indent")
1846 (string :tag "Yonger Brother")
1847 (string :tag "Yonger Child")
1848 (string :tag "Vertical")
1849 (string :tag "Horizontal")
1850 (string :tag "Space"))))
1853 (defcustom wl-folder-sync-range-alist
1854 (list (cons (concat "^" (regexp-quote wl-draft-folder) "$\\|^"
1855 (regexp-quote wl-queue-folder) "$")
1857 "*Default sync range alist. If no matches, `wl-default-sync-range' is used."
1858 :type '(repeat (cons (regexp :tag "Folder Regexp")
1859 (choice (const "update")
1865 (const :tag "none" nil))))
1868 (defcustom wl-default-sync-range "update"
1869 "*Default sync range."
1870 :type '(choice (const "update")
1876 (const :tag "none" nil))
1879 (defcustom wl-ask-range t
1880 "*If non-nil, ask for a range for summary synchronization.
1881 If nil, always use default."
1885 (defcustom wl-folder-process-duplicates-alist nil
1886 "Specify process type of duplicated messages.
1887 It should be a list of cons cell like: (REGEXP . TYPE)
1888 REGEXP is a regular expression string of folder name.
1889 TYPE is one of the symbols `hide' or `read'.
1890 `hide' means hide duplicated messages.
1891 `read' means mark as read duplicated messages.
1892 If TYPE is nil, do nothing for duplicated messages."
1893 :type '(repeat (cons (regexp :tag "Folder regexp")
1894 (choice (const :tag "Hide" hide)
1895 (const :tag "Mark as read" read))))
1898 (defcustom wl-folder-move-cur-folder nil
1899 "*Non-nil, move to current folder on folder-mode when goto folder."
1903 (defcustom wl-folder-check-async t
1904 "*Check the folder asynchronous."
1908 (defcustom wl-folder-notify-deleted nil
1909 "*Non-nil, display negative number on folder-mode when message is deleted
1910 in folder. If the value is 'sync, msgdb would be synchronized."
1911 :type '(choice (const :tag "off" nil)
1916 (defcustom wl-summary-exit-next-move t
1917 "*Non-nil, move to next-unsync or next-entity when exit summary."
1921 (defcustom wl-summary-next-no-unread-command
1922 '(wl-summary-read wl-summary-down wl-summary-up)
1923 "*Command list available when the value of `wl-auto-select-next' is 'unread
1924 or 'skip-no-unread."
1925 :type '(repeat function)
1928 (defcustom wl-summary-search-via-nntp 'confirm
1929 "*Non-nil, search message via nntp after `wl-summary-jump-to-msg-by-message-id'. If the value is 'confirm, confirm before search."
1933 (defcustom wl-summary-keep-cursor-command
1934 '(wl-summary-goto-folder wl-summary-goto-last-visited-folder)
1935 "*Command list to keep cursor position when folder is changed to
1936 already existing summary."
1937 :type '(repeat function)
1940 (defcustom wl-summary-showto-folder-regexp nil
1941 "Regexp specifying the folder that shows the To (or Newsgroups) field as
1942 Sender information in summary mode."
1943 :type '(choice (const :tag "none" nil)
1947 (defcustom wl-folder-removed-mark "#<removed>"
1948 "Mark for removed folder."
1952 (defcustom wl-folder-unsubscribe-mark "#"
1953 "Mark for unsubscribe folder."
1957 (defcustom wl-delete-folder-alist '(("^-" . remove))
1958 "*Alist of folder and delete policy.
1959 Each element is (folder-regexp . policy).
1961 The policy is one of the followings:
1963 'null : remove message.
1964 string : refile to the specified folder.
1966 otherwise : refile to the `wl-trash-folder'.
1968 '((\"^%\" . \"%#mh/trash\")
1970 (\"^\\\\+\" . trash))"
1971 :type '(repeat (cons (regexp :tag "Folder Regexp")
1972 (choice :tag "Policy"
1974 (const :tag "remove(null)" null)
1976 (const :tag "trash(other)" trash)
1977 (string :tag "Folder"))))
1980 (defcustom wl-refile-policy-alist '(("^[-=']" . copy)
1982 "*List of refile policy. Each element is (FOLDER-REGEXP . POLICY).
1983 POLICY is copy or move."
1984 :type '(repeat (cons (regexp :tag "Folder Regexp")
1985 (choice (const copy)
1990 (defcustom wl-folder-hierarchy-access-folders '("^-$" "^-alt$")
1991 "*Access group REGEXPs to make hierarchy structure."
1992 :type '(repeat (string :tag "Folder"))
1995 (defcustom wl-folder-init-load-access-folders nil
1996 "*Access group folders to load folder list on `wl-folder-init'.
1997 If this variable is non-nil,
1998 `wl-folder-init-no-load-access-folders' will be ignored."
1999 :type '(repeat (regexp :tag "Folder Regexp"))
2002 (defcustom wl-folder-init-no-load-access-folders nil
2003 "*Access group folders to not load folder list on `wl-folder-init'.
2004 If `wl-folder-init-load-access-folders' is non-nil,
2005 this variable will be ignored."
2006 :type '(repeat (regexp :tag "Folder Regexp"))
2009 (defcustom wl-folder-access-subscribe-alist nil
2010 "*Subscribe folders to fetching folder entries.
2011 Each element is (group-regexp (subscribe folder-regexp ...)).
2012 If subscribe is non-nil, subscribe when match folder-regexp.
2013 If subscribe is nil, unsubscribe when match folder-regexp.
2016 '((\"^-fj$\" . (t \"^-fj\\\\.\\\\(editor\\\\|mail\\\\|net\\\\|news\\\\)\"))
2017 (\"^-comp$\" . (t \"^-comp\\\\.unix\" \"^-comp\\\\.sys\"))
2018 (\"^-$\" . (nil \"^-alt\" \"^-rec\")))"
2019 :type '(repeat (cons (regexp :tag "Folder Regexp")
2020 (list (boolean :tag "Subscribed")
2022 (regexp :tag "Folder Regexp")))))
2025 ;;; For Folder Manager
2027 (defcustom wl-interactive-save-folders t
2028 "*Non-nil require your confirmation when save folders."
2033 (defcustom wl-fldmgr-make-backup t
2034 "*Non-nil make backup file when save folders."
2038 (defcustom wl-fldmgr-folders-indent "\t"
2039 "*Indent string for folders file."
2043 (defcustom wl-fldmgr-sort-function 'wl-fldmgr-sort-standard
2044 "*A function to sort folder."
2048 (defcustom wl-fldmgr-sort-group-first t
2049 "*Non-nil Group folder is first when sort."
2053 (defcustom wl-fldmgr-add-complete-with-current-folder-list nil
2054 "*If non-nil, completion for adding folder refers current folder list."
2058 (defcustom wl-fldmgr-make-filter-default "Body"
2059 "*Default filter key while making filter on Folder."
2060 :type '(radio (const "From")
2069 (string :tag "Other"))
2072 (defcustom wl-fldmgr-allow-rename-access-group nil
2073 "*If non-nil, allow to rename folder in access group."
2077 ;;; For Expire and Archive
2079 (defcustom wl-expire-alist nil
2080 "Alist to decide a policy for expire.
2081 Each element is (folder-regexp (number or date) policy).
2083 The policy is one of the followings:
2084 'remove : remove messsage.
2085 'trash : refile `wl-trash-folder'.
2086 string : refile string folder.
2087 function : call function.
2090 '((\"^\\\\+ml/wl$\" (number 500 510) wl-expire-archive-number1 t)
2091 (\"^\\\\+ml/\" (number 300 305) wl-expire-archive-number2)
2092 (\"^\\\\+outbox$\" (number 300) \"$outbox;lha\")
2093 (\"^\\\\(\\\\+tmp\\\\|\\\\+trash\\\\)$\" (date 7) remove)
2094 (\"^\\\\+misc$\" (date 14) trash))"
2095 :type '(repeat (choice (list :tag "No-match"
2096 (regexp :tag "Folder Regexp")
2099 (regexp :tag "Folder Regexp")
2100 (list (radio :value number
2105 (repeat :inline t integer)))
2106 (choice :tag "Policy"
2110 (string :tag "folder")
2113 :tag "Arg for function"
2117 (defcustom wl-archive-alist '((".*" wl-archive-number1))
2118 "Alist to decide a policy for archive.
2119 Each element is (folder-regexp policy(function)).
2122 '((\"\\\\+work$\" wl-archive-date)
2123 (\"\\\\+ml/\" wl-archive-number1)
2124 (\".*\" wl-archive-number2))"
2125 :type '(repeat (list (regexp :tag "Folder Regexp")
2128 (sexp :tag "Argument"))))
2131 (defcustom wl-summary-expire-reserve-marks
2132 (list wl-summary-important-mark
2134 wl-summary-unread-mark
2135 wl-summary-unread-uncached-mark
2136 wl-summary-unread-cached-mark)
2137 "Permanent marks of reserved message when expire.
2138 Don't reserve temporary mark message.
2141 'all : reserved all permanent marks.
2142 'none : not reserve permanent marks.
2143 list : reserved specified permanent marks."
2144 :type '(repeat (string :tag "Mark"))
2147 (defcustom wl-expire-number-with-reserve-marks nil
2148 "If non-nil, include reserve message when expire by number."
2152 (defcustom wl-expire-add-seen-list t
2153 "*If non-nil, add seen message list when refile message at expire."
2157 (defcustom wl-expire-use-log nil
2158 "*If non-nil, write a log when expired."
2162 (defcustom wl-expire-folder-update-msgdb t
2163 "*Non-nil update summary msgdb when expire on folder mode."
2167 ;; for wl-expire-archive-{number1|number2}
2168 (defcustom wl-expire-archive-files 100
2169 "*The number of one archive folder."
2173 ;; for wl-expire-archive-{number1|number2|date}
2174 (defcustom wl-expire-archive-get-folder-function
2175 'wl-expire-archive-get-folder
2176 "*A function to get archive folder name."
2180 (defcustom wl-expire-delete-oldmsg-confirm t
2181 "*If non-nil, require your confirmation when delete old message."
2185 ;; for wl-expire-archive-get-folder
2186 (defcustom wl-expire-archive-folder-type 'zip
2187 "*Archiver type of archive folder."
2188 :type '(radio (const zip)
2194 (symbol :tag "Other"))
2197 (defcustom wl-expire-archive-folder-name-fmt "%s-%%05d;%s" ;; $folder-00100;zip
2198 "*A format string for archive folder name."
2202 (defcustom wl-expire-archive-folder-num-regexp "-\\([0-9]+\\);"
2203 "*A regexp string for archive folder name."
2207 (defcustom wl-expire-archive-date-folder-name-fmt "%s-%%04d%%02d;%s"
2208 ;; $folder-199812;zip
2209 "*A format string for archive date folder name."
2213 (defcustom wl-expire-archive-date-folder-num-regexp "-\\([0-9]+\\);"
2214 "*A regexp string for archive date folder name."
2218 (defcustom wl-expire-archive-folder-prefix nil
2219 "*Prefix for archive folder."
2220 :type '(radio (const :tag "nothing" nil)
2221 (const :tag "full" t)
2227 ;; highilght about summary
2228 (defcustom wl-highlight-max-summary-lines 10000
2229 "*If the summary is larger than this lines, don't highlight it."
2231 :group 'wl-highlight)
2233 ;; highilght about draft and message
2234 (defcustom wl-highlight-body-too t
2235 "*In addition to header, highlight the body too. if non nil."
2237 :group 'wl-highlight)
2239 (defcustom wl-highlight-message-header-alist
2240 '(("Subject[ \t]*:" . wl-highlight-message-important-header-contents)
2241 ("From[ \t]*:\\|To[ \t]*:" . wl-highlight-message-important-header-contents2)
2242 ("X-[^ \t]*:\\|User-Agent[ \t]*:" . wl-highlight-message-unimportant-header-contents))
2244 :type '(repeat (cons regexp face))
2245 :group 'wl-highlight)
2247 (defcustom wl-highlight-citation-prefix-regexp
2248 "^[>|:} ]*[>|:}]\\([^ \n>]*>\\)?\\|^[^ <\n>]*>"
2249 "All lines that match this regexp will be highlighted with
2250 `wl-highlight-message-cited-text-*' face."
2252 :group 'wl-highlight)
2254 (defcustom wl-highlight-highlight-citation-too nil
2255 "*Whether the whole citation line should go in the
2256 `wl-highlight-citation-face' face.
2257 If nil, the text matched by `wl-highlight-citation-prefix-regexp' is in the
2258 default face, and the remainder of the line is in the
2259 wl-highlight-message-cited-text face."
2261 :group 'wl-highlight)
2263 (defcustom wl-highlight-force-citation-header-regexp
2264 "^>>>.*$\\|^[ \t]*<[^>]*>[ \t]*$"
2265 "*The pattern to match the prolog of a cited block.
2266 Text in the body of a message which matches this will be displayed in
2267 the `wl-highlight-message-headers' face."
2269 :group 'wl-highlight)
2271 (defcustom wl-highlight-citation-header-regexp
2272 (concat "In article.*$\\|In message.*$\\|In the message.*$\\|"
2273 "^At[^\n]+\n[^\n]+wrote:\n\\|"
2274 "^.*\\(writes\\|wrote\\|said\\):\n")
2275 "*The pattern to match the prolog of a cited block.
2276 Text in the body of a message which matches this will be displayed in
2277 the `wl-highlight-message-headers' face."
2279 :group 'wl-highlight)
2281 (defcustom wl-highlight-max-header-size nil
2282 "*If the message header is larger than this many chars, don't highlight it.
2283 If this is nil, all headers will be highlighted."
2285 :group 'wl-highlight)
2287 (defcustom wl-highlight-max-message-size 10000
2288 "*If the message body is larger than this many chars, don't highlight it.
2289 This is to prevent us from wasting time trying to fontify things like
2290 uuencoded files and large digests. If this is nil, all messages will
2293 :group 'wl-highlight)
2295 ;; highilght about signature (of draft and message)
2296 (defcustom wl-highlight-signature-separator
2297 '("\n--+\n" "\n\n--+.*\n*\\'")
2298 "List of regexps matching signature separator.
2299 It will be verified from head to tail looking for a separator.
2300 Verification will be done from the end of the buffer.
2301 No need to specify \"^-- $\" in this list,
2302 because it is verified by default.
2303 This variable can also be a regex."
2304 :type '(repeat regexp)
2305 :group 'wl-highlight)
2307 (defcustom wl-max-signature-size 400
2308 "*If the signature is larger than this chars, don't treat it as a signature."
2310 :group 'wl-highlight)
2312 ;; highilght about mouse
2313 (defcustom wl-use-highlight-mouse-line (and window-system
2314 (>= emacs-major-version 19))
2315 "*Highlight mouse line, if non nil."
2317 :group 'wl-highlight)
2319 ;; highilght about folder
2320 (defcustom wl-highlight-folder-with-icon
2321 (or (and (featurep 'xemacs)
2324 "*Highlight folder with icon(XEmacs or Emacs 21)."
2326 :group 'wl-highlight)
2327 (defcustom wl-highlight-folder-by-numbers t
2328 "Highlight folder lines by numbers.
2329 If it is a number, only numbers will be highlighted."
2330 :type '(choice (const :tag "whole line" t)
2331 (const :tag "only numbers" 1)
2332 (const :tag "don't highlight" nil))
2333 :group 'wl-highlight)
2335 (defcustom wl-highlight-signature-search-function 'wl-highlight-signature-search
2336 "Function to search signature area in the message body."
2338 :group 'wl-highlight)
2340 (defcustom wl-use-dnd (and wl-on-xemacs
2341 (featurep 'dragdrop))
2342 "If Non-nil, support dragdrop feature in XEmacs."
2346 (defcustom wl-reset-plugged-alist t
2347 "*If non-nil, reset `elmo-plugged-alist' when startup."
2351 (defcustom wl-demo-display-logo (if (or (featurep 'xemacs)
2352 (module-installed-p 'image)
2353 (module-installed-p 'bitmap))
2355 "If it is T, show graphic logo in the startup screen. You can set it to
2356 a symbol `bitmap', `xbm' or `xpm' in order to force the image format."
2357 :type '(radio (const :tag "Off" nil)
2358 (const :tag "On (any format)" t)
2361 (const :tag "bitmap (using BITMAP-MULE)" bitmap))
2364 ;;; Internal variables
2365 (defvar wl-init nil)
2367 ;; For disconnected operations.
2368 (defvar wl-plugged-hook nil)
2369 (defvar wl-unplugged-hook nil)
2370 (defcustom wl-plugged t
2371 "*Plugged state at the startup. Nil means off-line."
2376 ;; Internal variables used to modeline identifiers.
2377 (defvar wl-modeline-plug-status nil)
2378 (defvar wl-modeline-plug-state-on wl-plug-state-indicator-on)
2379 (defvar wl-modeline-plug-state-off wl-plug-state-indicator-off)
2380 (defvar wl-modeline-biff-status nil)
2381 (defvar wl-modeline-biff-state-on wl-biff-state-indicator-on)
2382 (defvar wl-modeline-biff-state-off wl-biff-state-indicator-off)
2384 ;; Advanced thread view.
2385 (defvar wl-thread-indent-level 1
2386 "*Indent level for thread.")
2387 (defvar wl-thread-have-younger-brother-str "
\e$B(2
\e(B"
2388 "*A string for thread branch line. It should contain one character.")
2389 (defvar wl-thread-youngest-child-str "
\e$B(1
\e(B"
2390 "*A string for thread branch line. It should contain one character.")
2391 (defvar wl-thread-vertical-str "
\e$B(-
\e(B"
2392 "*A string for thread branch line. It should contain one character.")
2393 (defvar wl-thread-horizontal-str "
\e$B(,
\e(B"
2394 "*A string for thread branch line. It should contain one character.")
2395 (defvar wl-thread-space-str "
\e$B!!
\e(B"
2396 "*A string for thread branch line. It should contain one character.")
2398 (defvar wl-highlight-thread-indent-string-regexp "[^[<]*"
2399 "* A regexp string for thread indent...for highlight.")
2401 ;; folder icons. filename relative to wl-icon-directory
2402 (defvar wl-opened-group-folder-icon "opened.xpm"
2403 "*Icon file for opened group folder.")
2404 (defvar wl-closed-group-folder-icon "closed.xpm"
2405 "*Icon file for closed group folder.")
2406 (defvar wl-nntp-folder-icon "news.xpm"
2407 "*Icon file for nntp folder.")
2408 (defvar wl-imap-folder-icon "imap.xpm"
2409 "*Icon file for imap folder.")
2410 (defvar wl-pop-folder-icon "pop.xpm"
2411 "*Icon file for pop folder.")
2412 (defvar wl-localdir-folder-icon "local.xpm"
2413 "*Icon file for localdir folder.")
2414 (defvar wl-localnews-folder-icon "localnews.xpm"
2415 "*Icon file for localnews folder.")
2416 (defvar wl-internal-folder-icon "internal.xpm"
2417 "*Icon file for internal folder.")
2418 (defvar wl-multi-folder-icon "multi.xpm"
2419 "*Icon file for multi folder.")
2420 (defvar wl-filter-folder-icon "filter.xpm"
2421 "*Icon file for filter folder.")
2422 (defvar wl-archive-folder-icon "archive.xpm"
2423 "*Icon file for archive folder.")
2424 (defvar wl-pipe-folder-icon "pipe.xpm"
2425 "*Icon file for pipe folder.")
2426 (defvar wl-nmz-folder-icon "nmz.xpm"
2427 "*Icon file for namazu folder.")
2428 (defvar wl-shimbun-folder-icon "shimbun.xpm"
2429 "*Icon file for shimbun folder.")
2430 (defvar wl-maildir-folder-icon "maildir.xpm"
2431 "*Icon file for maildir folder.")
2432 (defvar wl-empty-trash-folder-icon "trash-e.xpm"
2433 "*Icon file for emptied trash folder.")
2434 (defvar wl-trash-folder-icon "trash.xpm"
2435 "*Icon file for trash folder.")
2436 (defvar wl-draft-folder-icon "draft.xpm"
2437 "*Icon file for draft folder.")
2438 (defvar wl-queue-folder-icon "queue.xpm"
2439 "*Icon file for queue folder.")
2440 (defvar wl-plugged-icon "plugged.xpm"
2441 "*Icon file for plugged state.")
2442 (defvar wl-unplugged-icon "unplugged.xpm"
2443 "*Icon file for unplugged state.")
2444 (defvar wl-biff-mail-icon "letter.xpm"
2445 "*Icon file for mail existed state.")
2446 (defvar wl-biff-nomail-icon "no-letter.xpm"
2447 "*Icon file for no mail existed state.")
2448 (defvar wl-prog-uudecode "uudecode"
2449 "*uudecode program name.")
2450 (defvar wl-prog-uudecode-arg nil
2451 "*Arguments for uudecode program.")
2452 (defvar wl-prog-uudecode-no-stdout-option t
2453 "*If non-nil, uudecode program don't have option for output to stdout.")
2456 (defvar wl-plugged-plug-on "ON")
2457 (defvar wl-plugged-plug-off "--")
2458 (defvar wl-plugged-auto-off "**")
2459 (defvar wl-plugged-server-indent 2)
2460 (defvar wl-plugged-port-indent 4)
2461 (defvar wl-plugged-queue-status-column 25)
2463 ;;;; Obsolete variables.
2465 ;; 2001-12-11: *-dir -> *-directory
2466 (elmo-define-obsolete-variable 'wl-icon-dir
2468 (elmo-define-obsolete-variable 'wl-mime-save-dir
2469 'wl-mime-save-directory)
2470 (elmo-define-obsolete-variable 'wl-score-files-dir
2471 'wl-score-files-directory)
2472 (elmo-define-obsolete-variable 'wl-tmp-dir
2473 'wl-temporary-file-directory)
2476 (elmo-define-obsolete-variable 'wl-subject-length-limit
2477 'wl-summary-subject-length-limit)
2480 (elmo-define-obsolete-variable 'wl-summary-update-confirm-threshold
2481 'elmo-folder-update-threshold)
2482 (elmo-define-obsolete-variable 'wl-fetch-confirm-threshold
2483 'elmo-message-fetch-threshold)
2485 (elmo-define-obsolete-variable 'wl-cache-prefetch-folder-type-list
2486 'wl-message-buffer-prefetch-folder-type-list)
2487 (elmo-define-obsolete-variable 'wl-cache-prefetch-folder-list
2488 'wl-message-buffer-prefetch-folder-list)
2490 ;; 2001-02-27: *-func -> *-function
2491 (elmo-define-obsolete-variable 'wl-summary-from-func
2492 'wl-summary-from-function)
2493 (elmo-define-obsolete-variable 'wl-summary-subject-func
2494 'wl-summary-subject-function)
2495 (elmo-define-obsolete-variable 'wl-summary-subject-filter-func
2496 'wl-summary-subject-filter-function)
2497 (elmo-define-obsolete-variable 'wl-draft-send-func
2498 'wl-draft-send-function)
2499 (elmo-define-obsolete-variable 'wl-draft-send-news-func
2500 'wl-draft-send-news-function)
2501 (elmo-define-obsolete-variable 'wl-draft-send-mail-func
2502 'wl-draft-send-mail-function)
2503 (elmo-define-obsolete-variable 'wl-print-buffer-func
2504 'wl-print-buffer-function)
2505 (elmo-define-obsolete-variable 'wl-ps-print-buffer-func
2506 'wl-ps-print-buffer-function)
2507 (elmo-define-obsolete-variable 'wl-generate-mailer-string-func
2508 'wl-generate-mailer-string-function)
2509 (elmo-define-obsolete-variable 'wl-highlight-x-face-func
2510 'wl-highlight-x-face-function)
2511 (elmo-define-obsolete-variable 'wl-fldmgr-sort-func
2512 'wl-fldmgr-sort-function)
2513 (elmo-define-obsolete-variable 'wl-expire-archive-get-folder-func
2514 'wl-expire-archive-get-folder-function)
2515 (elmo-define-obsolete-variable 'wl-highlight-signature-search-func
2516 'wl-highlight-signature-search-function)
2518 ;; 2000-01-25: temp mark -> target mark
2519 (elmo-define-obsolete-variable 'wl-summary-temp-above
2520 'wl-summary-target-above)
2522 ;; 1999-11-07: Unified with `wl-draft-config-alist'.
2523 (defvar wl-draft-prepared-config-alist nil)
2524 (make-obsolete-variable 'wl-draft-prepared-config-alist
2525 'wl-draft-config-alist)
2528 (elmo-define-obsolete-variable 'wl-address-filename
2530 (elmo-define-obsolete-variable 'wl-score-default-file-name
2531 'wl-score-default-file)
2535 (product-provide (provide 'wl-vars) (require 'wl-version))
2537 ;;; wl-vars.el ends here