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 (?c (if wl-thr-children-number
195 (concat "+" (number-to-string wl-thr-children-number) ":")
198 (if wl-thr-children-number
199 (concat "+" (number-to-string wl-thr-children-number) ":")
202 (wl-summary-line-from)))
203 (?f (wl-summary-line-from))
204 (?# (wl-summary-line-list-count)))
205 "An alist of format specifications that can appear in summary lines.
206 Each element is a list of following:
208 SPEC is a character for format specification.
209 STRING is an expression to get string to insert.")
211 (defcustom wl-summary-line-format "%M/%D(%W)%h:%m %t%[%17(%c %f%) %] %s"
212 "*A default format string for summary line of Wanderlust.
213 It may include any of the following format specifications
214 which are replaced by the given information:
216 %Y The year of the date field of the message (zero padded).
217 %M The month of the date field of the message (zero padded).
218 %D The day of the date field of the message (zero padded).
219 %W The weekday name of the date field of the message (zero padded).
220 %h The hour of the date field of the message (zero padded).
221 %m The minute of the date field of the message (zero padded).
222 %[ An open bracket. If the message thread is linked,
223 it is replaced with '<'.
224 %] A close bracket. If the message thread is linked,
225 it is replaced with '>'.
226 %c The children number of the closed message thread.
227 %f The from: field string of the message.
228 %F The children number of the closed message thread and
229 the from: field string of the message are concatenated.
230 %s The subject: field string of the message.
231 %S the size of the message (if available)."
235 (defcustom wl-folder-summary-line-format-alist nil
236 "An alist of folder name and a summary line format.
237 If no match, `wl-summary-line-format' is used.
239 '((\"^%\" . \"%M/%D(%W)%h:%m %t%[%14F %](%S) %s\")
240 (\"^@2ch\" . \"%M%/%D/%h:%m %t[%9F ]%s\")))"
241 :type '(repeat (cons (regexp :tag "Folder Regexp")
242 (string :tag "line format")))
245 (defcustom wl-summary-from-function 'wl-summary-default-from
246 "*A function for displaying sender (From: field) information."
250 (defcustom wl-summary-subject-function 'wl-summary-default-subject
251 "*A function for displaying subject."
255 (defcustom wl-summary-subject-filter-function 'wl-summary-default-subject-filter
256 "*A filter function for comparing subjects."
260 (defcustom wl-summary-search-parent-by-subject-regexp "^[ \t]*\\(\\[[^:]+[,: ][0-9]+\\]\\)?[ \t]*re[\\^[:> ]"
261 "*If message does not have in-reply-to field nor references field and
262 subject matches this regexp, search parent message by subject matching."
267 (defcustom wl-default-folder "%inbox"
268 "*Default folder used in `wl-summary-goto-folder'."
271 (defcustom wl-draft-folder "+draft"
275 (defcustom wl-trash-folder "+trash"
280 (defcustom wl-queue-folder "+queue"
285 (defcustom wl-default-spec "%"
290 (defcustom wl-insert-mail-followup-to nil
291 "*Insert Mail-Followup-To: field if non-nil."
295 (defcustom wl-insert-mail-reply-to nil
296 "*Insert Mail-Reply-To: field if non-nil."
300 (defcustom wl-insert-message-id t
301 "*Insert Message-ID: field if non-nil."
305 (defcustom wl-auto-insert-x-face t
306 "*Insert X-Face: field automatically."
310 (defcustom wl-x-face-file "~/.xface"
311 "*X-Face field is inserted using its contents.
312 If file exists and `wl-auto-insert-x-face' is non-nil."
316 (defcustom wl-subscribed-mailing-list nil
317 "*Subscribed mailing list.
318 You had better set this variable if you set 'wl-insert-mail-followup-to' as t."
319 :type '(repeat string)
324 "*Display demo at start time."
328 (defcustom wl-envelope-from nil
329 "*Envelope From used in SMTP.
330 If nil, `wl-from' is used."
331 :type '(choice (const :tag "Same as 'From' field." nil)
336 (defcustom wl-draft-additional-header-alist nil
337 "*Additional headers in the draft."
338 :type '(repeat (cons (symbol :tag "Field Name")
339 (choice (string :tag "String")
340 (function :tag "Function")))))
342 (defcustom wl-draft-add-in-reply-to t
343 "*If non-nil, message-id of the cited message is inserted to the
344 in-reply-to field of the current draft."
348 (defcustom wl-draft-add-references nil
349 "*If non-nil, message-id of the cited message is inserted to the
350 references field of the current draft."
354 (defcustom wl-draft-cite-function 'wl-default-draft-cite
355 "*A function for citation."
359 (defcustom wl-default-draft-cite-decorate-author t
360 "*If non-nil, the author of cited message is arranged by
361 `wl-summary-from-func-internal' in `wl-default-draft-cite'."
365 (defcustom wl-smtp-connection-type nil
366 "*SMTP connection type.
367 If nil, default smtp connection type is used."
368 :type '(choice (const :tag "default" nil)
369 (const :tag "Use STARTTLS" starttls)
373 (defcustom wl-smtp-posting-user nil
374 "*SMTP authentication user."
375 :type '(choice (const :tag "none" nil)
380 (defcustom wl-smtp-posting-server nil
381 "*SMTP server name to send mail (wl-draft-send-mail-with-smtp)."
382 :type '(choice (const :tag "none" nil)
387 (defcustom wl-smtp-posting-port nil
388 "*SMTP port number in `wl-smtp-posting-server'.
389 If nil, default SMTP port number(25) is used."
390 :type '(choice (const :tag "Default (25)" nil)
395 (defcustom wl-smtp-authenticate-type nil
396 "*SMTP Authentication type.
397 If nil, don't authenticate."
398 :type '(choice (const :tag "none" nil)
399 (const :tag "PLAIN" "plain")
400 (const :tag "CRAM-MD5" "cram-md5")
401 (const :tag "LOGIN" "login")
402 (string :tag "Other"))
406 (defcustom wl-pop-before-smtp-user nil
407 "*POP3 user name to send mail using POP-before-SMTP.
408 If nil, `elmo-pop3-default-user' is used.
409 To use POP-before-SMTP,
410 \(setq wl-draft-send-mail-function 'wl-draft-send-mail-with-pop-before-smtp\)"
411 :type '(choice (const :tag "none" nil)
416 (defcustom wl-pop-before-smtp-server nil
417 "*POP3 server for POP-before-SMTP.
418 If nil, `elmo-pop3-default-server' is used."
419 :type '(choice (const :tag "none" nil)
424 (defcustom wl-pop-before-smtp-port nil
425 "*POP3 port for POP-before-SMTP.
426 If nil, `elmo-pop3-default-port' is used."
427 :type '(choice (const :tag "none" nil)
432 (defcustom wl-pop-before-smtp-stream-type nil
433 "*Stream type for POP-before-SMTP.
434 If nil, `elmo-pop3-default-stream-type' is used."
438 (defcustom wl-pop-before-smtp-authenticate-type nil
439 "*Default Authentication type for POP-before-SMTP.
440 If nil, `elmo-pop3-default-authenticate-type' is used."
441 :type '(choice (const :tag "none" nil)
442 (const :tag "APOP" 'apop)
443 (const :tag "POP3" 'user))
447 (defcustom wl-nntp-posting-server nil
448 "*NNTP server name to post news.
449 If nil, `elmo-nntp-default-server' is used."
450 :type '(choice (const :tag "none" nil)
454 (defcustom wl-nntp-posting-user nil
455 "*NNTP user name to post news for authinfo.
456 If nil, `elmo-nntp-default-user' is used.
457 If nil, don't authenticate."
458 :type '(choice (const :tag "none" nil)
462 (defcustom wl-nntp-posting-port nil
463 "*NNTP port to post news.
464 If nil, `elmo-nntp-default-port' is used."
465 :type '(choice (const :tag "none" nil)
469 (defcustom wl-nntp-posting-stream-type nil
470 "*Stream type for posting Netnews.
471 If nil, `elmo-nntp-default-stream-type' is used."
475 (defcustom wl-prefetch-confirm t
476 "*Confirm prefetching if message size is larger than `wl-prefetch-threshold'."
480 (defcustom wl-prefetch-threshold 30000
481 "*Maximum size of message prefetched without confirmation.
482 If nil, all messages prefetched regardless of its size.
483 If message size is larger than this value, confirm prefetching
484 when `wl-prefetch-confirm' is non-nil."
485 :type '(choice (integer :tag "Threshold (bytes)")
486 (const :tag "No limitation" nil))
490 (defcustom wl-thread-insert-opened nil
491 "*Non-nil forces to insert thread as opened in updating."
496 (defcustom wl-thread-open-reading-thread t
497 "*Non-nil forces to open reading thread."
502 (defvar wl-folder-mode-hook nil
503 "A hook called when wanderlust folder mode is started.
504 This hook may contain the functions `wl-folder-init-icons' and
505 `wl-setup-folder' for reasons of system internal to accord facilities
506 for the Emacs variants.")
507 (defvar wl-summary-toggle-disp-on-hook nil
508 "A hook called when message is toggled.")
509 (defvar wl-summary-toggle-disp-off-hook nil
510 "A hook called when message is disappeared.")
511 (defvar wl-summary-toggle-disp-folder-on-hook nil
512 "A hook called when folder is toggled.")
513 (defvar wl-summary-toggle-disp-folder-off-hook nil
514 "A hook called when folder is disappeared.")
515 (defvar wl-summary-toggle-disp-folder-message-resumed-hook nil
516 "A hook called when message window is resumed when folder is toggled.")
517 (defvar wl-summary-mode-hook nil
518 "A hook called when summary mode is started.
519 This hook may contain the function `wl-setup-summary' for reasons of
520 system internal to accord facilities for the Emacs variants.")
522 (defvar wl-summary-prepared-pre-hook nil
523 "A hook called before the summary buffer has been generated.")
524 (defvar wl-summary-prepared-hook nil
525 "A hook called after the summary buffer has been generated.")
526 (defvar wl-summary-sync-updated-hook nil
527 "A hook called when update summary buffer.")
528 (defvar wl-summary-unread-message-hook nil
529 "A hook called when unread message is displayed.")
530 (defvar wl-summary-edit-addresses-hook nil
531 "A hook called when address book is edited.")
532 (defvar wl-summary-buffer-message-saved-hook nil
533 "A hook called when msgdb is saved.")
534 (defvar wl-summary-buffer-mark-saved-hook nil
535 "A hook called when mark is saved.")
536 (defvar wl-summary-divide-thread-when-subject-changed nil
537 "Divide thread when subject is changed.")
538 (defvar wl-init-hook nil
539 "A hook called when initialization is finished. This hook may contain
540 the functions `wl-plugged-init-icons' and `wl-biff-init-icons' for
541 reasons of system internal to accord facilities for the Emacs variants.")
543 "A hook called when Wanderlust is invoked.")
544 (defvar wl-reply-hook nil
545 "A hook called when replied.")
546 (defvar wl-mail-setup-hook nil
547 "A hook called when Draft is prepared.")
548 (defvar wl-draft-reedit-hook nil
549 "A hook called when Draft is re-edited.")
550 (defvar wl-draft-send-hook '(wl-draft-config-exec)
551 "A hook called on the draft editing buffer before sending process starts.")
552 (defvar wl-mail-send-pre-hook nil
553 "A hook called just before the mail sending process starts.")
554 (defvar wl-news-send-pre-hook nil
555 "A hook called just before the news sending process starts.")
556 (defvar wl-message-buffer-created-hook nil
557 "A hook called when Message buffer is prepared.")
558 (defvar wl-message-redisplay-hook nil
559 "A hook called when Message is displayed.")
560 (defvar wl-message-exit-hook nil
561 "A hook called when quit message.")
562 (defvar wl-summary-exit-pre-hook nil
563 "A hook called before exit summary mode.")
564 (defvar wl-summary-exit-hook nil
565 "A hook called when exit summary mode.")
566 (defvar wl-highlight-headers-hook nil
567 "A hook called when header is highlighted.")
568 (defvar wl-highlight-message-hook nil
569 "A hook called when message is highlighted.")
570 (defvar wl-save-hook nil
571 "A hook called when save summary and folder status.")
572 (defvar wl-exit-hook nil
573 "A hook called when exit wanderlust.")
574 (defvar wl-folder-suspend-hook nil
575 "A hook called when suspend wanderlust.")
576 (defvar wl-biff-notify-hook '(ding)
577 "A hook called when a biff-notification is invoked.")
578 (defvar wl-biff-unnotify-hook nil
579 "A hook called when a biff-notification is removed.")
580 (defvar wl-auto-check-folder-pre-hook nil
581 "A hook called before auto check folders.")
582 (defvar wl-auto-check-folder-hook nil
583 "A hook called when auto check folders.")
584 (defvar wl-folder-check-entity-pre-hook nil
585 "A hook called before check entity.")
586 (defvar wl-folder-check-entity-hook nil
587 "A hook called when check entity.")
588 (defvar wl-draft-config-exec-hook nil
589 "A hook called when execute header-config on draft.")
590 (defvar wl-summary-expire-pre-hook nil
591 "A hook called before expire.")
592 (defvar wl-summary-expire-hook nil
593 "A hook called when expired.")
594 (defvar wl-summary-archive-pre-hook nil
595 "A hook called before archive.")
596 (defvar wl-summary-archive-hook nil
597 "A hook called when archived.")
598 (defvar wl-summary-line-inserted-hook nil
599 "A hook called when summary line is inserted.")
600 (defvar wl-summary-insert-headers-hook nil
601 "A hook called when insert header for search header.")
602 (defvar wl-message-display-internal-hook nil
603 "A hook called when message buffer is created and message is displayed.
604 This hook may contain the functions `wl-setup-message' for
605 reasons of system internal to accord facilities for the Emacs variants.")
606 (defvar wl-thread-update-children-number-hook nil
607 "A hook called when children number is updated.")
608 (defvar wl-folder-update-access-group-hook nil
609 "A hook called when update access group folder.")
610 (defvar wl-draft-cited-hook nil
611 "A hook called after a message is cited.")
612 (defvar wl-draft-insert-x-face-field-hook nil
613 "A hook called after a x-face field is inserted.")
614 (defvar wl-template-mode-hook nil
615 "A hook called when template mode is started.")
616 (defvar wl-score-mode-hook nil
617 "A hook called when score mode is started.")
618 (defvar wl-make-plugged-hook nil
619 "A hook called when make plugged alist.")
621 (defvar wl-plugged-exit-hook nil
622 "A hook called when exit plugged mode.")
624 ;;;; functions for draft
625 (defcustom wl-draft-send-function 'wl-draft-normal-send-func
626 "A function to send message."
630 (defcustom wl-draft-send-news-function 'wl-draft-elmo-nntp-send
631 "A function to send news."
635 (defcustom wl-draft-send-mail-function 'wl-draft-send-mail-with-smtp
636 "A function to send mail.
637 Prepared candidates are 'wl-draft-send-mail-with-smtp,
638 'wl-draft-send-mail-with-qmail and 'wl-draft-send-mail-with-pop-before-smtp."
639 :type '(radio (function-item wl-draft-send-mail-with-smtp)
640 (function-item wl-draft-send-mail-with-qmail)
641 (function-item wl-draft-send-mail-with-pop-before-smtp)
642 (function :tag "Other"))
645 (defcustom wl-draft-reply-with-argument-list
646 '(("Reply-To" . (("Reply-To") nil nil))
647 ("Mail-Reply-To" . (("Mail-Reply-To") nil nil))
648 ("From" . (("From") nil nil)))
649 "Alist of cons cell of
650 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
651 'field-name' is a string.
652 'fields for ***' is a list of strings.
653 If car of each cons cell exists in original message,
654 cdr of each cons cell is used for draft message.
655 Default is for 'reply-to-author'."
656 :type '(repeat (cons (choice (string :tag "Field Name")
657 (repeat (string :tag "Field Name")))
658 (list (repeat :tag "Fields For To" string)
659 (repeat :tag "Fields For Cc" string)
660 (repeat :tag "Fields For Newsgroups" string))))
663 (defcustom wl-draft-reply-without-argument-list
664 '(("Followup-To" . (nil nil ("Followup-To")))
665 ("Mail-Followup-To" . (("Mail-Followup-To") nil ("Newsgroups")))
666 ("Reply-To" . (("Reply-To") ("To" "Cc" "From") ("Newsgroups")))
667 ("From" . (("From") ("To" "Cc") ("Newsgroups"))))
668 "Alist of cons cell of
669 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
670 'field-name' is a string.
671 'fields for ***' is a list of strings.
672 If car of each cons cell exists in original message,
673 cdr of each cons cell is used for draft message.
674 Default is for 'reply-to-all'."
675 :type '(repeat (cons (choice (string :tag "Field Name")
676 (repeat (string :tag "Field Name")))
677 (list (repeat :tag "Fields For To" string)
678 (repeat :tag "Fields For Cc" string)
679 (repeat :tag "Fields For Newsgroups" string))))
682 (defcustom wl-draft-reply-myself-with-argument-list
683 '(("Followup-To" . (("To") ("Cc") ("Followup-To")))
684 ("Newsgroups" . (("To") ("Cc") ("Newsgroups")))
685 ("From" . (("To") ("Cc") nil)))
686 "Alist of cons cell of
687 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
688 'field-name' is a string.
689 'fields for ***' is a list of strings.
690 If car of each cons cell exists in original message,
691 cdr of each cons cell is used for draft message.
692 Default is for 'reply-to-me'."
693 :type '(repeat (cons (choice (string :tag "Field Name")
694 (repeat (string :tag "Field Name")))
695 (list (repeat :tag "Fields For To" string)
696 (repeat :tag "Fields For Cc" string)
697 (repeat :tag "Fields For Newsgroups" string))))
700 (defcustom wl-draft-reply-myself-without-argument-list
701 '(("Followup-To" . (("To") ("Cc") ("Followup-To")))
702 ("Newsgroups" . (("To") ("Cc") ("Newsgroups")))
703 ("From" . (("To") ("Cc") nil)))
704 "Alist of cons cell of
705 ('field-name' . ('fields for To' 'fields for Cc' 'fields for Newsgroups'))
706 'field-name' is a string.
707 'fields for ***' is a list of strings.
708 If car of each cons cell exists in original message,
709 cdr of each cons cell is used for draft message.
710 Default is for 'followup-to-me'."
711 :type '(repeat (cons (choice (string :tag "Field Name")
712 (repeat (string :tag "Field Name")))
713 (list (repeat :tag "Fields For To" string)
714 (repeat :tag "Fields For Cc" string)
715 (repeat :tag "Fields For Newsgroups" string))))
718 (defcustom wl-draft-always-delete-myself nil
719 "*Always delete myself from reciepient if non-nil."
723 (defcustom wl-draft-delete-myself-from-bcc-fcc nil
724 "*Do not insert bcc or fcc if To and Cc fields is a member of
725 `wl-subscribed-mailing-list'"
729 (defcustom wl-draft-resume-folder-window t
730 "*Resume folder window in `wl-draft-hide'."
734 (defcustom wl-draft-use-frame nil
735 "*Raise new frame when composing draft."
739 (defcustom wl-draft-qmail-send-plugged nil
740 "*Send mail when plugged is on, in the `wl-draft-send-mail-with-qmail'."
744 (defcustom wl-draft-remove-group-list-contents t
745 "*If non-nil, remove group list contents in `wl-draft-send-mail-with-smtp'."
750 (defcustom wl-init-file "~/.wl"
751 "*User customization setting file."
755 (defcustom wl-folders-file "~/.folders"
760 (defcustom wl-address-file "~/.addresses"
765 (defcustom wl-alias-file "~/.im/Aliases"
766 "*Alias file for completion."
770 (defcustom wl-ldap-server "localhost"
772 :type '(string :tag "Server")
776 (defcustom wl-ldap-port nil
778 :type '(choice (const :tag "Default port" nil)
783 (defcustom wl-ldap-base "c=US"
785 :type '(string :tag "Base")
789 (defcustom wl-ldap-objectclass "person"
795 (defcustom wl-use-ldap nil
796 "*If non-nil, use LDAP for address completion."
801 (defcustom wl-use-acap nil
802 "*If non-nil, use ACAP for configuration."
806 (defcustom wl-folder-info-save t
807 "If non-nil, save elmo-folder-info-alist."
811 (defcustom wl-summary-unread-mark "!"
812 "Mark for unread message."
813 :type '(string :tag "Mark")
814 :group 'wl-summary-marks)
815 (defcustom wl-summary-important-mark "$"
816 "Mark for important message."
817 :type '(string :tag "Mark")
818 :group 'wl-summary-marks)
819 (defcustom wl-summary-new-mark "N"
820 "Mark for new message."
821 :type '(string :tag "Mark")
822 :group 'wl-summary-marks)
823 (defcustom wl-summary-unread-uncached-mark "U"
824 "Mark for unread and uncached message."
825 :type '(string :tag "Mark")
826 :group 'wl-summary-marks)
827 (defcustom wl-summary-unread-cached-mark "!"
828 "Mark for unread but already cached message."
829 :type '(string :tag "Mark")
830 :group 'wl-summary-marks)
831 (defcustom wl-summary-read-uncached-mark "u"
832 "Mark for read but uncached message."
833 :type '(string :tag "Mark")
834 :group 'wl-summary-marks)
835 (defcustom wl-summary-score-over-mark "+"
836 "Score mark used for messages with high scores."
837 :type '(string :tag "Mark")
838 :group 'wl-summary-marks)
839 (defcustom wl-summary-score-below-mark "-"
840 "Score mark used for messages with low scores."
841 :type '(string :tag "Mark")
842 :group 'wl-summary-marks)
844 (defcustom wl-summary-no-mime-folder-list nil
845 "*All folders that match this list don't analysis mime."
846 :type '(repeat string)
849 (defcustom wl-summary-fix-timezone nil
850 "*Time zone of the date string in summary mode.
851 If nil, it is adjust to the default time zone information
852 \(system's default time zone or environment variable TZ\)."
853 :type '(choice (const :tag "Default time zone" nil)
857 (defcustom wl-summary-default-score 0
858 "*Default message score level.
859 All scores generated by the score files will be added to this score.
860 If this variable is nil, scoring will be disabled."
861 :type '(choice (const :tag "disable" nil)
865 (defcustom wl-summary-important-above nil
866 "*Mark all messages with a score above this variable as important.
867 This variable is local to the summary buffers."
868 :type '(choice (const :tag "off" nil)
872 (defcustom wl-summary-target-above nil
873 "*Mark all messages with a score above this variable as target.
874 This variable is local to the summary buffers."
875 :type '(choice (const :tag "off" nil)
879 (defcustom wl-summary-mark-below 0
880 "*Mark all messages with a score below this variable as read.
881 This variable is local to each summary buffer and usually set by the
886 (defcustom wl-summary-expunge-below nil
887 "All messages that have a score less than this variable will be expunged.
888 This variable is local to the summary buffers."
889 :type '(choice (const :tag "off" nil)
893 (defcustom wl-summary-score-marks
894 (list wl-summary-new-mark)
895 "Persistent marks to scoring."
896 :type '(repeat (string :tag "Mark"))
899 (defcustom wl-use-scoring t
900 "*If non-nil, enable scoring."
904 (defcustom wl-summary-rescore-partial-threshold 200
905 "*Summary is not scored entirely if there are messages more than this value.
906 In sync-all or rescan."
910 (defcustom wl-score-files-directory (concat elmo-msgdb-directory elmo-path-sep)
911 "*Name of the directory where score files will be stored.
912 (default \"~/.elmo\")."
916 (defcustom wl-score-interactive-default-score 1000
917 "*Scoring commands will raise/lower the score with this number as the default."
921 (defcustom wl-score-expiry-days 7
922 "*Number of days before unused score file entries are expired.
923 If this variable is nil, no score file entries will be expired."
924 :type '(choice (const :tag "never" nil)
928 (defcustom wl-score-update-entry-dates t
929 "*In non-nil, update matching score entry dates.
930 If this variable is nil, then score entries that provide matches
931 will be expired along with non-matching score entries."
935 (defcustom wl-score-folder-alist nil
936 "*Alist of folder regexp and score file."
937 :type '(repeat (list (regexp :tag "Folder Regexp")
940 (symbol :tag "Variable")))))
943 (defcustom wl-score-folder-alist-matchone t
944 "*If non-nil, getting only one element of `wl-score-folder-alist'."
948 (defcustom wl-score-default-file "all.SCORE"
949 "*Default score file name."
953 (defcustom wl-score-simplify-fuzzy-regexp
954 '("^[ \t]*\\[[^:]+[,: ][0-9]+\\][ \t]*")
955 "*Strings to be removed when doing fuzzy matches.
956 This can either be a regular expression or list of regular expressions."
957 :type '(repeat regexp)
960 (defcustom wl-score-header-default-entry
961 '(("number" -1000 perm =)
962 ("subject" -1000 nil nil)
963 ("from" -1000 perm s)
964 ("message-id" -1000 temp e)
965 ("references" -1000 perm e)
968 ("date" -1000 temp nil)
969 ("xref" -1000 perm s)
970 ("extra" -1000 perm s)
971 ("chars" -1000 perm >)
972 ("lines" -1000 perm >)
973 ("followup" -1000 perm s)
974 ("thread" -1000 temp s))
975 "*Default entry when insert score entry."
976 :type '(repeat (list (string :tag "Header")
977 (choice (integer :tag "Score")
978 (const :tag "Ask" nil))
979 (choice (const :tag "Permanent" perm)
980 (const :tag "Temporary" temp)
981 (const :tag "Ask" nil))
982 (choice (const :tag "Regexp string" r)
983 (const :tag "Substring" s)
984 (const :tag "fuzzy string" f)
985 (const :tag "Exact string" e)
986 (const :tag "REGEXP STRING" R)
987 (const :tag "SUBSTRING" S)
988 (const :tag "FUZZY STRING" F)
989 (const :tag "EXACT STRING" E)
990 (const :tag "less than" <)
991 (const :tag "less equal" <=)
992 (const :tag "greater than" >)
993 (const :tag "greater equal" >=)
994 (const :tag "equal" =)
995 (const :tag "Ask" nil))))
998 (defcustom wl-score-mode-mime-charset 'x-ctext
999 "*MIME Charset for score file."
1003 (defcustom wl-draft-fields
1004 '("To:" "Cc:" "Bcc:" "Fcc:" "Distribution:" "Organization:"
1005 "Newsgroups:" "Followup-To:" "Mail-Followup-To:" "From:" "Reply-To:")
1006 "Fields used in draft mode."
1007 :type '(repeat (string :tag "Field"))
1010 (defcustom wl-draft-config-alist nil
1011 "Alist of configuration field on draft.
1013 '((\"^To: .*wl@lists.airs.net\"
1014 (\"From\" . wl-from2)
1015 (\"Organization\" . wl-organization2))
1016 (\"^To: .*hogehoge@\"
1017 (\"From\" . \"Anonymous <hogehoge@aaa.ne.jp>\")
1018 wl-my-draft-config-func-hoge))"
1019 :type '(repeat (list (sexp :tag "Match")
1022 (choice (cons (sexp :tag "Field(Variable)")
1023 (sexp :tag "Value"))
1024 (sexp :tag "Function")))))
1028 (defcustom wl-draft-config-matchone nil
1029 "*If non-nil, applied only one element of `wl-draft-config-alist'."
1034 (defcustom wl-draft-elide-ellipsis "\n[...]\n\n"
1035 "*The string which is inserted for elided text."
1039 (defcustom wl-template-alist nil
1040 "Alist of template."
1041 :type '(repeat (list (string :tag "Name")
1044 (choice (cons (sexp :tag "Field(Variable)")
1045 (sexp :tag "Value"))
1046 (sexp :tag "Function")))))
1050 (defcustom wl-template-visible-select t
1051 "*If non-nil, select template with visible."
1055 (defcustom wl-template-confirm nil
1056 "*If non-nil, require your confirmation when selected template."
1060 (defcustom wl-template-buffer-lines 7
1061 "*Lines of template buffer."
1066 (defcustom wl-draft-enable-queuing t
1067 "*Non-nil enables queued sending."
1072 (defcustom wl-draft-force-queuing nil
1073 "*Non-nil forces queued sending for mail and news."
1078 (defcustom wl-draft-force-queuing-mail nil
1079 "*Non-nil forces queued sending for mail."
1084 (defcustom wl-draft-force-queuing-news nil
1085 "*Non-nil forces queued sending for news."
1090 (defcustom wl-draft-use-cache nil
1091 "*If non-nil, sending message is cached."
1096 (defcustom wl-auto-flush-queue t
1097 "*If non-nil, sending queue is flushed when network status is toggled."
1102 (defcustom wl-draft-reply-buffer-style 'split
1104 :type '(radio (const split)
1108 (defcustom wl-draft-queue-save-variables
1109 '(wl-envelope-from wl-from
1110 wl-smtp-posting-server wl-smtp-posting-user wl-smtp-posting-port
1111 wl-smtp-authenticate-type wl-smtp-connection-type
1112 wl-pop-before-smtp-server wl-pop-before-smtp-user wl-pop-before-smtp-port
1113 wl-pop-before-smtp-stream-type wl-pop-before-smtp-authenticate-type
1114 wl-nntp-posting-server wl-nntp-posting-server
1115 wl-nntp-posting-user wl-nntp-posting-port wl-nntp-posting-stream-type)
1116 "*Saving variables in queue info."
1117 :type '(repeat (sexp :tag "Variable"))
1120 (defcustom wl-draft-sendlog t
1121 "*Keep send state in log if non-nil."
1125 (defcustom wl-draft-sendlog-max-size 20000
1126 "*Max file size of sendlog."
1130 (defcustom wl-summary-default-number-column 5
1131 "Number of columns in summary buffer."
1135 (defcustom wl-summary-number-column-alist '(("\\*.*" . 6))
1136 "Alist of folder and its number column.
1137 If no matches, 'wl-summary-default-number-column' is used.
1139 '((\"^%inbox@qmail-maildir\" . 9)
1140 (\"^-.*@news-server\" . 6))"
1141 :type '(repeat (cons (regexp :tag "Folder Regexp") integer))
1144 (defcustom wl-summary-highlight t
1145 "Non-nil forces Summary buffer to be highlighted."
1148 :group 'wl-highlight)
1150 (defcustom wl-summary-lazy-highlight (and (boundp 'window-scroll-functions)
1152 "Non-nil forces lazy summary highlighting using `window-scroll-functions'."
1155 :group 'wl-highlight)
1157 (defcustom wl-summary-highlight-partial-threshold 1000
1158 "Summary is not highlighted entirely if there are lines more than this value.
1159 Available if only `wl-summary-lazy-highlight' is nil."
1162 :group 'wl-highlight)
1164 (defcustom wl-summary-partial-highlight-above-lines 30
1165 "If Summary has lines more than `wl-summary-highlight-partial-threshold',
1166 Summary lines are highlighted partialy above current position.
1167 Available if only `wl-summary-lazy-highlight' is nil."
1170 :group 'wl-highlight)
1172 (defcustom wl-summary-cache-use t
1173 "Non-nil forces wl-summary to use cache file."
1177 (defcustom wl-summary-auto-sync-marks t
1178 "Non-nil forces to synchronize unread/important marks."
1182 (defcustom wl-summary-cache-file ".wl-summary-cache"
1183 "*Cache file for summary mode contents."
1186 (defcustom wl-summary-view-file ".wl-summary-view"
1187 "*Current summary view."
1190 (defcustom wl-thread-top-file ".wl-thread-top"
1191 "*Current thread top entity... obsolete."
1194 (defcustom wl-thread-entity-file ".wl-thread-entity"
1198 (defcustom wl-thread-entity-list-file ".wl-thread-entity-list"
1199 "*Thread top entity list."
1203 (defcustom wl-print-buffer-function 'lpr-buffer
1204 "A function to print current buffer."
1208 (defcustom wl-ps-print-buffer-function
1209 (if window-system 'ps-print-buffer-with-faces 'ps-print-buffer)
1210 "A function to print current buffer with ps-print."
1215 (defcustom wl-use-petname t
1216 "*Display petname in summary and default citation title."
1220 (defcustom wl-use-folder-petname
1222 "*List of situation using folder petname.
1223 Allowed situations are:
1224 modeline : displayed on modeline.
1225 ask-folder : displayed on minibuffer when ask folder.
1226 read-folder : can used for completion at `wl-summary-read-folder'."
1227 :type '(set (const modeline)
1229 (const read-folder))
1233 (defcustom wl-folder-petname-alist nil
1234 "A list of (realname . petname)."
1235 :type '(repeat (cons (string :tag "Realname") (string :tag "Petname")))
1238 (defcustom wl-summary-weekday-name-lang "ja"
1239 "*Language to display week day."
1240 :type '(choice (const "ja")
1244 (string :tag "Other"))
1248 (defcustom wl-message-id-use-wl-from nil
1249 "*Use `wl-from' for domain part of Message-ID if non-nil."
1253 (defcustom wl-local-domain nil
1254 "*Domain part of this client (without hostname).
1255 Set this if (system-name) does not return FQDN."
1256 :type '(choice (const :tag "Use System Name" nil)
1260 (defcustom wl-message-id-domain nil
1261 "*Specific domain part of Message-ID."
1262 :type '(choice (const :tag "Use System Name" nil)
1266 (defcustom wl-unique-id-suffix ".wl"
1267 "*Specific string in generated Message-ID
1268 which appear just before @."
1272 (defcustom wl-break-pages t
1273 "*Break Pages at ^L."
1277 (defcustom wl-message-truncate-lines default-truncate-lines
1278 "*Truncate lines in Message Buffer."
1282 (defcustom wl-draft-truncate-lines default-truncate-lines
1283 "*Truncate lines in Draft Buffer."
1288 (defcustom wl-message-scroll-amount 5
1289 "*Scroll amount by SPC key."
1293 (defcustom wl-message-window-size '(1 . 4)
1294 "*Size of summary and message window. cons cell of (Summary : Message)."
1295 :type '(cons integer integer)
1298 (defcustom wl-message-sort-field-list '("Return-Path" "Received" "^To" "^Cc"
1299 "Newsgroups" "Subject" "^From")
1300 "*Sort order of header fields. Each elements are regexp of field name."
1301 :type '(repeat (string :tag "Field Regexp"))
1305 (defcustom wl-message-ignored-field-list nil
1306 "All fields that match this list will be hidden in message buffer.
1307 Each elements are regexp of field-name."
1308 :type '(repeat (string :tag "Field Regexp"))
1312 (defcustom wl-message-visible-field-list nil
1313 "All fields that match this list will be displayed in message buffer.
1314 Each elements are regexp of field-name."
1315 :type '(repeat (string :tag "Field Regexp"))
1319 (defcustom wl-message-header-button-alist
1320 (` (("^\\(References\\|Message-Id\\|In-Reply-To\\):"
1322 0 wl-message-button-refer-article 0)
1324 "\\(<\\(url: \\)?news:\\([^>\n ]*\\)>\\)"
1325 1 wl-message-button-refer-article 3)))
1326 "Alist of headers and regexps to match buttons in message headers."
1328 (list (regexp :tag "Header")
1330 (integer :tag "Button")
1331 (function :tag "Callback")
1334 (integer :tag "Regexp group"))))
1337 (defcustom wl-message-body-button-alist
1338 '(("<mailto:[^>]+>" 0 'ignore 0 1024)
1339 ("<[^>]+@[^>]+>" 0 wl-message-button-refer-article 0 1024))
1340 "Alist of regexps to match buttons in message body."
1343 (integer :tag "Button")
1344 (function :tag "Callback")
1347 (integer :tag "Regexp group"))
1348 (integer :tag "Max Length")))
1351 (defcustom wl-folder-window-width 20
1352 "*Width of folder window."
1357 (defcustom wl-summary-recenter t
1358 "*Recenter on redisplay."
1363 (defcustom wl-folder-use-frame nil
1364 "*Use dedicated frame for folder mode if non-nil."
1368 (defcustom wl-summary-use-frame nil
1369 "*Use dedicated frame for each folder summary if non-nil."
1373 (defcustom wl-stay-folder-window nil
1374 "*Stay folder window when folder is selected if non-nil."
1378 (defcustom wl-reply-subject-prefix "Re: "
1379 "*Prefix of the subject of the replied message."
1384 (defcustom wl-draft-reply-use-address-with-full-name t
1385 "*Use address with full-name in the draft of replied message."
1390 (defcustom wl-subject-prefix-regexp "^[ \t]*\\([Rr][Ee][:>][ \t]*\\)*[ \t]*"
1391 "*Regexp matching \"Re: \" in the subject line."
1396 (defcustom wl-folder-many-unsync-threshold 70
1397 "*Folders which contains messages more than this number are highlighted
1398 with wl-highlight-folder-many-face."
1403 (defcustom wl-fcc nil
1404 "*Folder Carbon Copy."
1405 :type '(choice (const :tag "disable" nil)
1410 (defcustom wl-fcc-force-as-read nil
1411 "*If non-nil, mark copied message as read."
1416 (defcustom wl-bcc nil
1417 "*Blind Carbon Copy."
1418 :type '(choice (const :tag "disable" nil)
1423 (defcustom wl-folder-desktop-name "Desktop"
1424 "*An implicit name of the folder top entity."
1429 (defcustom wl-summary-indent-length-limit 46
1430 "*Limit of indent length for thread. Nil means unlimited"
1431 :type '(choice (const :tag "Unlimited" nil)
1436 (defcustom wl-summary-no-from-message "nobody@nowhere?"
1437 "*A string displayed in summary when no from field exists."
1441 (defcustom wl-summary-no-subject-message "(WL:No Subject in original.)"
1442 "*A string displayed in summary when no subject field exists."
1446 (defcustom wl-summary-cancel-message "I'd like to cancel my message."
1447 "*The body content of a cancel message."
1451 (defcustom wl-summary-width 80
1452 "*Set summary line width if non nil."
1453 :type '(choice (const :tag "Don't truncate" nil)
1458 (defcustom wl-summary-pick-field-default "Body"
1459 "*Default field for pick."
1460 :type '(radio (const "From")
1469 (string :tag "Other"))
1472 (defcustom wl-summary-subject-length-limit nil
1473 "*Set subject width in summary when wl-summary-width is nil.
1474 Nil means unlimited"
1475 :type '(choice (const :tag "Unlimited" nil)
1480 (defcustom wl-mime-charset 'x-ctext
1481 "*MIME Charset for summary and message."
1486 (defcustom wl-generate-mailer-string-function 'wl-generate-user-agent-string
1487 "A function for creating User-Agent field string."
1491 (defcustom wl-highlight-background-mode (if (boundp 'hilit-background-mode)
1492 (or hilit-background-mode 'dark)
1494 "*Background mode of highlight (for Old Emacsen). 'dark or 'light."
1495 :type '(radio (const dark)
1497 :group 'wl-highlight)
1499 (defcustom wl-highlight-x-face-function nil
1500 "A function to display X-Face."
1502 :group 'wl-highlight)
1504 (defcustom wl-qmail-inject-program "/var/qmail/bin/qmail-inject"
1505 "Location of the qmail-inject program."
1506 :type '(string :tag "Program")
1509 (defcustom wl-qmail-inject-args nil
1510 "Arguments passed to qmail-inject programs.
1511 This should be a list of strings, one string for each argument.
1513 For e.g., if you wish to set the envelope sender address so that bounces
1514 go to the right place or to deal with listserv's usage of that address, you
1515 might set this variable to '(\"-f\" \"you@some.where\")."
1516 :type '(repeat (string :tag "Argument"))
1519 (defcustom wl-rejected-letter-start
1520 "^[\t ]*-+[\t ]+\\(original\\|\\(\\(the \\)?unsent\\)\\) message\\( follows\\)?[\t ]+-+[\t ]*$"
1521 "Regexp specifying the beginning of the wrapper around a returned letter.
1522 This wrapper is generated by the mail system when rejecting a letter."
1526 (defcustom wl-ignored-forwarded-headers "\\(received\\|return-path\\|x-uidl\\)"
1527 "*All headers that match this regexp will be deleted when forwarding a message."
1531 (defcustom wl-ignored-resent-headers "\\(return-receipt\\|[bdf]cc\\)"
1532 "*All headers that match this regexp will be deleted when resending a message."
1536 (defcustom wl-refile-default-from-folder "+from"
1537 "*Folder name to refile by `wl-refile-guess-by-from'."
1538 :type '(string :tag "Folder")
1541 (defcustom wl-summary-auto-refile-skip-marks
1542 (list wl-summary-new-mark
1543 wl-summary-unread-uncached-mark
1544 wl-summary-unread-cached-mark)
1545 "Persistent marks to skip auto-refiling."
1546 :type '(repeat (string :tag "Mark"))
1549 (defcustom wl-summary-reserve-mark-list
1551 "If a message is already marked as temporal marks in this list,
1552 the message is not marked by any mark command."
1553 :type '(repeat (string :tag "Temp-Mark"))
1556 (defcustom wl-summary-skip-mark-list
1558 "If a message is already marked as temporal marks in this list,
1559 the message is skipped at cursor move."
1560 :type '(repeat (string :tag "Temp-Mark"))
1563 (defcustom wl-summary-incorporate-marks
1564 (list wl-summary-new-mark
1565 wl-summary-unread-uncached-mark)
1566 "Persistent marks to prefetch at `wl-summary-incorporate'."
1567 :type '(repeat (string :tag "Mark"))
1570 (defcustom wl-refile-rule-alist nil
1575 (\"teranisi@isl.ntt.co.jp\" . \"+teranisi\"))
1577 (\"^Wanderlust\" . \"+wl\")
1578 (\"^Elips\" . \"+elips\")))"
1579 :type '(repeat (list (string :tag "Field")
1581 (cons (regexp :tag "Value")
1582 (string :tag "Folder")))))
1585 (defcustom wl-strict-diff-folders nil
1586 "List of regexps matching folders of which Wanderlust seriously counts unsync messages."
1587 :type '(choice (const :tag "Off" nil)
1588 (repeat (regexp :tag "Folder Regexp")))
1591 (defcustom wl-folder-use-server-diff t
1592 "Checked unread message number on IMAP4 server.
1593 Only IMAP4 folders have an effect."
1597 (defcustom wl-force-fetch-folders nil
1598 "Non-nil forces to fetch subfolders when user opened an 'access' folder."
1599 :type '(choice (const :tag "off" nil)
1600 (const :menu-tag "on" t)
1601 (repeat (regexp :tag "Folder Regexp")))
1604 (defcustom wl-auto-check-folder-name nil
1605 "*A folder, a group or a list of folders and groups specified which
1606 will be automatically checked at the startup time."
1607 :type '(choice (string :tag "Folder")
1608 (repeat (string :tag "Folder"))
1612 (defcustom wl-auto-uncheck-folder-list '("\\$.*")
1613 "All folders that match this list won't be checked at the startup
1614 time even if they are embedded in some groups specified by
1615 wl-auto-check-folder-name.
1616 Those folders are also skipped when you check on the Desktop.
1617 This value is preceded by wl-auto-check-folder-list.
1618 Each elements are regexp of folder name."
1619 :type '(repeat (regexp :tag "Folder Regexp"))
1622 (defcustom wl-auto-check-folder-list nil
1623 "A list of patterns for exceptional folders against
1624 wl-auto-uncheck-folder-list.
1625 Each elements are regexp of folder name."
1626 :type '(repeat (regexp :tag "Folder Regexp"))
1629 (defcustom wl-show-plug-status-on-modeline t
1630 "If it is non-nil, show plugged status in modeline."
1632 :group 'wl-highlight)
1634 (defcustom wl-plug-state-indicator-on " [ON] "
1635 "String used to show plugged status ON."
1637 :group 'wl-highlight)
1639 (defcustom wl-plug-state-indicator-off " [--] "
1640 "String used to show plugged status OFF."
1642 :group 'wl-highlight)
1644 (defcustom wl-biff-check-folder-list nil
1645 "All folders that match this list are automatically checked
1646 every intervals specified by wl-biff-check-interval."
1647 :type '(repeat (regexp :tag "Folder Regexp"))
1648 :group 'wl-highlight)
1650 (defcustom wl-biff-check-interval 40
1651 "Number of seconds between updates of new mails in the mode line."
1653 :group 'wl-highlight)
1655 (defcustom wl-biff-state-indicator-on (if (and (featurep 'xemacs)
1656 (not (featurep 'mule)))
1658 (decode-coding-string
1660 (read "\"[\e$B\\\")\e(B]\"")
1664 "String used to show biff status ON."
1666 :group 'wl-highlight)
1668 (defcustom wl-biff-state-indicator-off (if (and (featurep 'xemacs)
1669 (not (featurep 'mule)))
1671 ;; Japanese short hyphen
1673 "String used to show biff status OFF."
1675 :group 'wl-highlight)
1677 (defcustom wl-mode-line-display-priority-list '(biff plug title)
1678 "Displaying order of items to be shown in modeline. The first item will
1679 be placed in the leftmost. The significant items are `biff' and `plug';
1680 otherwise, e.g. `title', corresponds to the things except for the biff
1681 staus nor the plugged status. The default order is '(biff plug title)
1682 even if the value of this option is set to nil. Here are some samples:
1684 ;; Plugged status first:
1685 \(setq wl-mode-line-display-priority-list '(plug))
1687 ;; Biff status, Title of Wanderlust, Plugged status:
1688 \(setq wl-mode-line-display-priority-list '(biff title plug))
1691 :type '(repeat (radio (const :format "%v " biff)
1692 (const :format "%v " plug)
1693 (sexp :tag "Other" :value title)))
1694 :group 'wl-highlight)
1696 (defcustom wl-interactive-send t
1697 "*If non-nil, require your confirmation when sending draft message."
1702 (defcustom wl-interactive-exit t
1703 "*If non-nil, require your confirmation when exiting WL."
1707 (defcustom wl-summary-move-order 'unread
1708 "*The order of priority when move in summary mode.
1709 If this variable is `unread', precede \"U\", \"!\", \"N\" mark.
1710 If this variable is `new', precede \"N\" mark."
1711 :type '(radio (const new)
1716 (defvar wl-summary-move-direction-downward t)
1718 (defcustom wl-summary-move-direction-toggle t
1719 "*If non-nil, search direction for the next message will be determined
1720 depends on previous search direction.
1721 It uses wl-summary-move-direction-downward as a direction flag."
1725 (defcustom wl-auto-select-first nil
1726 "*If non-nil, display selected first message when enter summary."
1731 (defcustom wl-auto-prefetch-first nil
1732 "*If non-nil, prefetch selected first message when enter summary."
1737 (defcustom wl-auto-select-next nil
1738 "*If non-nil, offer to go to the next folder from the end of the previous.
1739 If the value is the symbol `unread', go to the next folder
1740 that no unread message exists. If the value is the symbol `skip-no-unread',
1741 skip the folder that no unread message exists.
1743 See also variable `wl-summary-next-no-unread-command'."
1744 :type '(radio (const :tag "off" nil)
1747 (const skip-no-unread))
1751 (defcustom wl-message-buffer-prefetch-folder-type-list t
1752 "*All folder types that match this list prefetch next message,
1753 and reserved buffer cache."
1754 :type `(choice (const :tag "all" t)
1755 (const :tag "never" nil)
1756 (set (const localdir)
1769 (defcustom wl-message-buffer-prefetch-folder-list nil
1770 "*All folders that match this list prefetch next message,
1771 and reserved buffer cache.
1774 :type '(repeat (regexp :tag "Folder Regexp"))
1777 (defcustom wl-message-buffer-prefetch-depth 3
1778 "*Depth of buffer prefetch in summary mode."
1782 (defcustom wl-message-buffer-prefetch-idle-time 0.2
1783 "*Idle time of buffer prefetch."
1787 (defcustom wl-message-buffer-prefetch-threshold 30000
1788 "*Quit forward cache prefetching if message size is larger than this value."
1792 (defcustom wl-summary-always-sticky-folder-list nil
1793 "All folders that match this list has sticky summary.
1794 Each elements are regexp of folder name."
1795 :type '(radio (const :tag "none" nil)
1796 (const :tag "all" t)
1797 (repeat (regexp :tag "Folder Regexp")))
1800 (defcustom wl-no-save-folder-list '("^/.*$" "^\\[.*$")
1801 "All folders that match this list won't save its msgdb.
1802 Each elements are regexp of folder name."
1803 :type '(repeat (regexp :tag "Folder Regexp"))
1806 (defcustom wl-save-folder-list nil
1807 "All folders that match this list save its msgdb.
1808 Each elements are regexp of folder name."
1809 :type '(repeat (regexp :tag "Folder Regexp"))
1812 (defcustom wl-folder-mime-charset-alist
1813 '(("^-alt\\.chinese" . big5)
1814 ("^-relcom\\." . koi8-r)
1816 ("^-han\\." . euc-kr)
1817 ("@sponichi" . shift_jis)
1818 ("@2ch" . shift_jis))
1819 "Charset alist. If no match, `wl-mime-charset' is used."
1820 :type '(repeat (cons (regexp :tag "Folder Regexp") (symbol :tag "Charset")))
1824 (defcustom wl-folder-weekday-name-lang-alist
1825 '(("^-alt\\.chinese" . "en")
1826 ("^-relcom\\." . "en")
1828 ("^-han\\." . "en"))
1829 "Weekday name lang alist.
1830 If no match, `wl-summary-weekday-name-lang' is used.
1832 '((\"xemacs-beta$\" . \"en\")
1833 (\"^-fj\" . \"ja\"))"
1834 :type '(repeat (cons (regexp :tag "Folder Regexp")
1835 (choice (const "ja")
1839 (string :tag "Other"))))
1842 (defcustom wl-folder-thread-indent-set-alist
1843 '(("^-alt\\.chinese" . (2 "+" "+" "|" "-" " "))
1844 ("^-relcom\\." . (2 "+" "+" "|" "-" " "))
1845 ("^-tw\\." . (2 "+" "+" "|" "-" " "))
1846 ("^-han\\." . (2 "+" "+" "|" "-" " ")))
1847 "Thread indent set alist.
1848 If no match, following indent set is used.
1849 (wl-thread-indent-level
1850 wl-thread-have-younger-brother-str
1851 wl-thread-youngest-child-str
1852 wl-thread-vertical-str
1853 wl-thread-horizontal-str
1854 wl-thread-space-str)
1856 '((\"xemacs-beta$\" . (2 \"+\" \"+\" \"|\" \"-\" \" \")))"
1857 :type '(repeat (cons (regexp :tag "Folder Regexp")
1858 (group (integer :tag "Indent")
1859 (string :tag "Yonger Brother")
1860 (string :tag "Yonger Child")
1861 (string :tag "Vertical")
1862 (string :tag "Horizontal")
1863 (string :tag "Space"))))
1866 (defcustom wl-folder-sync-range-alist
1867 (list (cons (concat "^" (regexp-quote wl-draft-folder) "$\\|^"
1868 (regexp-quote wl-queue-folder) "$")
1870 "*Default sync range alist. If no matches, `wl-default-sync-range' is used."
1871 :type '(repeat (cons (regexp :tag "Folder Regexp")
1872 (choice (const "update")
1878 (const :tag "none" nil))))
1881 (defcustom wl-default-sync-range "update"
1882 "*Default sync range."
1883 :type '(choice (const "update")
1889 (const :tag "none" nil))
1892 (defcustom wl-ask-range t
1893 "*If non-nil, ask for a range for summary synchronization.
1894 If nil, always use default."
1898 (defcustom wl-folder-process-duplicates-alist nil
1899 "Specify process type of duplicated messages.
1900 It should be a list of cons cell like: (REGEXP . TYPE)
1901 REGEXP is a regular expression string of folder name.
1902 TYPE is one of the symbols `hide' or `read'.
1903 `hide' means hide duplicated messages.
1904 `read' means mark as read duplicated messages.
1905 If TYPE is nil, do nothing for duplicated messages."
1906 :type '(repeat (cons (regexp :tag "Folder regexp")
1907 (choice (const :tag "Hide" hide)
1908 (const :tag "Mark as read" read))))
1911 (defcustom wl-folder-move-cur-folder nil
1912 "*Non-nil, move to current folder on folder-mode when goto folder."
1916 (defcustom wl-folder-check-async t
1917 "*Check the folder asynchronous."
1921 (defcustom wl-folder-notify-deleted nil
1922 "*Non-nil, display negative number on folder-mode when message is deleted
1923 in folder. If the value is 'sync, msgdb would be synchronized."
1924 :type '(choice (const :tag "off" nil)
1929 (defcustom wl-summary-exit-next-move t
1930 "*Non-nil, move to next-unsync or next-entity when exit summary."
1934 (defcustom wl-summary-next-no-unread-command
1935 '(wl-summary-read wl-summary-down wl-summary-up)
1936 "*Command list available when the value of `wl-auto-select-next' is 'unread
1937 or 'skip-no-unread."
1938 :type '(repeat function)
1941 (defcustom wl-summary-search-via-nntp 'confirm
1942 "*Non-nil, search message via nntp after `wl-summary-jump-to-msg-by-message-id'. If the value is 'confirm, confirm before search."
1946 (defcustom wl-summary-keep-cursor-command
1947 '(wl-summary-goto-folder wl-summary-goto-last-visited-folder)
1948 "*Command list to keep cursor position when folder is changed to
1949 already existing summary."
1950 :type '(repeat function)
1953 (defcustom wl-summary-showto-folder-regexp nil
1954 "Regexp specifying the folder that shows the To (or Newsgroups) field as
1955 Sender information in summary mode."
1956 :type '(choice (const :tag "none" nil)
1960 (defcustom wl-folder-removed-mark "#<removed>"
1961 "Mark for removed folder."
1965 (defcustom wl-folder-unsubscribe-mark "#"
1966 "Mark for unsubscribe folder."
1970 (defcustom wl-delete-folder-alist '(("^-" . remove))
1971 "*Alist of folder and delete policy.
1972 Each element is (folder-regexp . policy).
1974 The policy is one of the followings:
1976 'null : remove message.
1977 string : refile to the specified folder.
1979 otherwise : refile to the `wl-trash-folder'.
1981 '((\"^%\" . \"%#mh/trash\")
1983 (\"^\\\\+\" . trash))"
1984 :type '(repeat (cons (regexp :tag "Folder Regexp")
1985 (choice :tag "Policy"
1987 (const :tag "remove(null)" null)
1989 (const :tag "trash(other)" trash)
1990 (string :tag "Folder"))))
1993 (defcustom wl-refile-policy-alist '(("^[-=']" . copy)
1995 "*List of refile policy. Each element is (FOLDER-REGEXP . POLICY).
1996 POLICY is copy or move."
1997 :type '(repeat (cons (regexp :tag "Folder Regexp")
1998 (choice (const copy)
2003 (defcustom wl-folder-hierarchy-access-folders '("^-$" "^-alt$")
2004 "*Access group REGEXPs to make hierarchy structure."
2005 :type '(repeat (string :tag "Folder"))
2008 (defcustom wl-folder-init-load-access-folders nil
2009 "*Access group folders to load folder list on `wl-folder-init'.
2010 If this variable is non-nil,
2011 `wl-folder-init-no-load-access-folders' will be ignored."
2012 :type '(repeat (regexp :tag "Folder Regexp"))
2015 (defcustom wl-folder-init-no-load-access-folders nil
2016 "*Access group folders to not load folder list on `wl-folder-init'.
2017 If `wl-folder-init-load-access-folders' is non-nil,
2018 this variable will be ignored."
2019 :type '(repeat (regexp :tag "Folder Regexp"))
2022 (defcustom wl-folder-access-subscribe-alist nil
2023 "*Subscribe folders to fetching folder entries.
2024 Each element is (group-regexp (subscribe folder-regexp ...)).
2025 If subscribe is non-nil, subscribe when match folder-regexp.
2026 If subscribe is nil, unsubscribe when match folder-regexp.
2029 '((\"^-fj$\" . (t \"^-fj\\\\.\\\\(editor\\\\|mail\\\\|net\\\\|news\\\\)\"))
2030 (\"^-comp$\" . (t \"^-comp\\\\.unix\" \"^-comp\\\\.sys\"))
2031 (\"^-$\" . (nil \"^-alt\" \"^-rec\")))"
2032 :type '(repeat (cons (regexp :tag "Folder Regexp")
2033 (list (boolean :tag "Subscribed")
2035 (regexp :tag "Folder Regexp")))))
2038 ;;; For Folder Manager
2040 (defcustom wl-interactive-save-folders t
2041 "*Non-nil require your confirmation when save folders."
2046 (defcustom wl-fldmgr-make-backup t
2047 "*Non-nil make backup file when save folders."
2051 (defcustom wl-fldmgr-folders-indent "\t"
2052 "*Indent string for folders file."
2056 (defcustom wl-fldmgr-sort-function 'wl-fldmgr-sort-standard
2057 "*A function to sort folder."
2061 (defcustom wl-fldmgr-sort-group-first t
2062 "*Non-nil Group folder is first when sort."
2066 (defcustom wl-fldmgr-add-complete-with-current-folder-list nil
2067 "*If non-nil, completion for adding folder refers current folder list."
2071 (defcustom wl-fldmgr-make-filter-default "Body"
2072 "*Default filter key while making filter on Folder."
2073 :type '(radio (const "From")
2082 (string :tag "Other"))
2085 (defcustom wl-fldmgr-allow-rename-access-group nil
2086 "*If non-nil, allow to rename folder in access group."
2090 ;;; For Expire and Archive
2092 (defcustom wl-expire-alist nil
2093 "Alist to decide a policy for expire.
2094 Each element is (folder-regexp (number or date) policy).
2096 The policy is one of the followings:
2097 'remove : remove messsage.
2098 'trash : refile `wl-trash-folder'.
2099 string : refile string folder.
2100 function : call function.
2103 '((\"^\\\\+ml/wl$\" (number 500 510) wl-expire-archive-number1 t)
2104 (\"^\\\\+ml/\" (number 300 305) wl-expire-archive-number2)
2105 (\"^\\\\+outbox$\" (number 300) \"$outbox;lha\")
2106 (\"^\\\\(\\\\+tmp\\\\|\\\\+trash\\\\)$\" (date 7) remove)
2107 (\"^\\\\+misc$\" (date 14) trash))"
2108 :type '(repeat (choice (list :tag "No-match"
2109 (regexp :tag "Folder Regexp")
2112 (regexp :tag "Folder Regexp")
2113 (list (radio :value number
2118 (repeat :inline t integer)))
2119 (choice :tag "Policy"
2123 (string :tag "folder")
2126 :tag "Arg for function"
2130 (defcustom wl-archive-alist '((".*" wl-archive-number1))
2131 "Alist to decide a policy for archive.
2132 Each element is (folder-regexp policy(function)).
2135 '((\"\\\\+work$\" wl-archive-date)
2136 (\"\\\\+ml/\" wl-archive-number1)
2137 (\".*\" wl-archive-number2))"
2138 :type '(repeat (list (regexp :tag "Folder Regexp")
2141 (sexp :tag "Argument"))))
2144 (defcustom wl-summary-expire-reserve-marks
2145 (list wl-summary-important-mark
2147 wl-summary-unread-mark
2148 wl-summary-unread-uncached-mark
2149 wl-summary-unread-cached-mark)
2150 "Permanent marks of reserved message when expire.
2151 Don't reserve temporary mark message.
2154 'all : reserved all permanent marks.
2155 'none : not reserve permanent marks.
2156 list : reserved specified permanent marks."
2157 :type '(repeat (string :tag "Mark"))
2160 (defcustom wl-expire-number-with-reserve-marks nil
2161 "If non-nil, include reserve message when expire by number."
2165 (defcustom wl-expire-add-seen-list t
2166 "*If non-nil, add seen message list when refile message at expire."
2170 (defcustom wl-expire-use-log nil
2171 "*If non-nil, write a log when expired."
2175 (defcustom wl-expire-folder-update-msgdb t
2176 "*Non-nil update summary msgdb when expire on folder mode."
2180 ;; for wl-expire-archive-{number1|number2}
2181 (defcustom wl-expire-archive-files 100
2182 "*The number of one archive folder."
2186 ;; for wl-expire-archive-{number1|number2|date}
2187 (defcustom wl-expire-archive-get-folder-function
2188 'wl-expire-archive-get-folder
2189 "*A function to get archive folder name."
2193 (defcustom wl-expire-delete-oldmsg-confirm t
2194 "*If non-nil, require your confirmation when delete old message."
2198 ;; for wl-expire-archive-get-folder
2199 (defcustom wl-expire-archive-folder-type 'zip
2200 "*Archiver type of archive folder."
2201 :type '(radio (const zip)
2207 (symbol :tag "Other"))
2210 (defcustom wl-expire-archive-folder-name-fmt "%s-%%05d;%s" ;; $folder-00100;zip
2211 "*A format string for archive folder name."
2215 (defcustom wl-expire-archive-folder-num-regexp "-\\([0-9]+\\);"
2216 "*A regexp string for archive folder name."
2220 (defcustom wl-expire-archive-date-folder-name-fmt "%s-%%04d%%02d;%s"
2221 ;; $folder-199812;zip
2222 "*A format string for archive date folder name."
2226 (defcustom wl-expire-archive-date-folder-num-regexp "-\\([0-9]+\\);"
2227 "*A regexp string for archive date folder name."
2231 (defcustom wl-expire-archive-folder-prefix nil
2232 "*Prefix for archive folder."
2233 :type '(radio (const :tag "nothing" nil)
2234 (const :tag "full" t)
2240 ;; highilght about summary
2241 (defcustom wl-highlight-max-summary-lines 10000
2242 "*If the summary is larger than this lines, don't highlight it."
2244 :group 'wl-highlight)
2246 ;; highilght about draft and message
2247 (defcustom wl-highlight-body-too t
2248 "*In addition to header, highlight the body too. if non nil."
2250 :group 'wl-highlight)
2252 (defcustom wl-highlight-message-header-alist
2253 '(("Subject[ \t]*:" . wl-highlight-message-important-header-contents)
2254 ("From[ \t]*:\\|To[ \t]*:" . wl-highlight-message-important-header-contents2)
2255 ("X-[^ \t]*:\\|User-Agent[ \t]*:" . wl-highlight-message-unimportant-header-contents))
2257 :type '(repeat (cons regexp face))
2258 :group 'wl-highlight)
2260 (defcustom wl-highlight-citation-prefix-regexp
2261 "^[>|:} ]*[>|:}]\\([^ \n>]*>\\)?\\|^[^ <\n>]*>"
2262 "All lines that match this regexp will be highlighted with
2263 `wl-highlight-message-cited-text-*' face."
2265 :group 'wl-highlight)
2267 (defcustom wl-highlight-highlight-citation-too nil
2268 "*Whether the whole citation line should go in the
2269 `wl-highlight-citation-face' face.
2270 If nil, the text matched by `wl-highlight-citation-prefix-regexp' is in the
2271 default face, and the remainder of the line is in the
2272 wl-highlight-message-cited-text face."
2274 :group 'wl-highlight)
2276 (defcustom wl-highlight-force-citation-header-regexp
2277 "^>>>.*$\\|^[ \t]*<[^>]*>[ \t]*$"
2278 "*The pattern to match the prolog of a cited block.
2279 Text in the body of a message which matches this will be displayed in
2280 the `wl-highlight-message-headers' face."
2282 :group 'wl-highlight)
2284 (defcustom wl-highlight-citation-header-regexp
2285 (concat "In article.*$\\|In message.*$\\|In the message.*$\\|"
2286 "^At[^\n]+\n[^\n]+wrote:\n\\|"
2287 "^.*\\(writes\\|wrote\\|said\\):\n")
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-max-header-size nil
2295 "*If the message header is larger than this many chars, don't highlight it.
2296 If this is nil, all headers will be highlighted."
2298 :group 'wl-highlight)
2300 (defcustom wl-highlight-max-message-size 10000
2301 "*If the message body is larger than this many chars, don't highlight it.
2302 This is to prevent us from wasting time trying to fontify things like
2303 uuencoded files and large digests. If this is nil, all messages will
2306 :group 'wl-highlight)
2308 ;; highilght about signature (of draft and message)
2309 (defcustom wl-highlight-signature-separator
2310 '("\n--+\n" "\n\n--+.*\n*\\'")
2311 "List of regexps matching signature separator.
2312 It will be verified from head to tail looking for a separator.
2313 Verification will be done from the end of the buffer.
2314 No need to specify \"^-- $\" in this list,
2315 because it is verified by default.
2316 This variable can also be a regex."
2317 :type '(repeat regexp)
2318 :group 'wl-highlight)
2320 (defcustom wl-max-signature-size 400
2321 "*If the signature is larger than this chars, don't treat it as a signature."
2323 :group 'wl-highlight)
2325 ;; highilght about mouse
2326 (defcustom wl-use-highlight-mouse-line (and window-system
2327 (>= emacs-major-version 19))
2328 "*Highlight mouse line, if non nil."
2330 :group 'wl-highlight)
2332 ;; highilght about folder
2333 (defcustom wl-highlight-folder-with-icon
2334 (or (and (featurep 'xemacs)
2337 "*Highlight folder with icon(XEmacs or Emacs 21)."
2339 :group 'wl-highlight)
2340 (defcustom wl-highlight-folder-by-numbers t
2341 "Highlight folder lines by numbers.
2342 If it is a number, only numbers will be highlighted."
2343 :type '(choice (const :tag "whole line" t)
2344 (const :tag "only numbers" 1)
2345 (const :tag "don't highlight" nil))
2346 :group 'wl-highlight)
2348 (defcustom wl-highlight-signature-search-function 'wl-highlight-signature-search
2349 "Function to search signature area in the message body."
2351 :group 'wl-highlight)
2353 (defcustom wl-use-dnd (and wl-on-xemacs
2354 (featurep 'dragdrop))
2355 "If Non-nil, support dragdrop feature in XEmacs."
2359 (defcustom wl-reset-plugged-alist t
2360 "*If non-nil, reset `elmo-plugged-alist' when startup."
2364 (defcustom wl-demo-display-logo (if (or (featurep 'xemacs)
2365 (module-installed-p 'image)
2366 (module-installed-p 'bitmap))
2368 "If it is T, show graphic logo in the startup screen. You can set it to
2369 a symbol `bitmap', `xbm' or `xpm' in order to force the image format."
2370 :type '(radio (const :tag "Off" nil)
2371 (const :tag "On (any format)" t)
2374 (const :tag "bitmap (using BITMAP-MULE)" bitmap))
2377 ;;; Internal variables
2378 (defvar wl-init nil)
2380 ;; For disconnected operations.
2381 (defvar wl-plugged-hook nil)
2382 (defvar wl-unplugged-hook nil)
2383 (defcustom wl-plugged t
2384 "*Plugged state at the startup. Nil means off-line."
2389 ;; Internal variables used to modeline identifiers.
2390 (defvar wl-modeline-plug-status nil)
2391 (defvar wl-modeline-plug-state-on wl-plug-state-indicator-on)
2392 (defvar wl-modeline-plug-state-off wl-plug-state-indicator-off)
2393 (defvar wl-modeline-biff-status nil)
2394 (defvar wl-modeline-biff-state-on wl-biff-state-indicator-on)
2395 (defvar wl-modeline-biff-state-off wl-biff-state-indicator-off)
2397 ;; Advanced thread view.
2398 (defvar wl-thread-indent-level 1
2399 "*Indent level for thread.")
2400 (defvar wl-thread-have-younger-brother-str "
\e$B(2
\e(B"
2401 "*A string for thread branch line. It should contain one character.")
2402 (defvar wl-thread-youngest-child-str "
\e$B(1
\e(B"
2403 "*A string for thread branch line. It should contain one character.")
2404 (defvar wl-thread-vertical-str "
\e$B(-
\e(B"
2405 "*A string for thread branch line. It should contain one character.")
2406 (defvar wl-thread-horizontal-str "
\e$B(,
\e(B"
2407 "*A string for thread branch line. It should contain one character.")
2408 (defvar wl-thread-space-str "
\e$B!!
\e(B"
2409 "*A string for thread branch line. It should contain one character.")
2411 (defvar wl-highlight-thread-indent-string-regexp "[^[<]*"
2412 "* A regexp string for thread indent...for highlight.")
2414 ;; folder icons. filename relative to wl-icon-directory
2415 (defvar wl-opened-group-folder-icon "opened.xpm"
2416 "*Icon file for opened group folder.")
2417 (defvar wl-closed-group-folder-icon "closed.xpm"
2418 "*Icon file for closed group folder.")
2419 (defvar wl-nntp-folder-icon "news.xpm"
2420 "*Icon file for nntp folder.")
2421 (defvar wl-imap-folder-icon "imap.xpm"
2422 "*Icon file for imap folder.")
2423 (defvar wl-pop-folder-icon "pop.xpm"
2424 "*Icon file for pop folder.")
2425 (defvar wl-localdir-folder-icon "local.xpm"
2426 "*Icon file for localdir folder.")
2427 (defvar wl-localnews-folder-icon "localnews.xpm"
2428 "*Icon file for localnews folder.")
2429 (defvar wl-internal-folder-icon "internal.xpm"
2430 "*Icon file for internal folder.")
2431 (defvar wl-multi-folder-icon "multi.xpm"
2432 "*Icon file for multi folder.")
2433 (defvar wl-filter-folder-icon "filter.xpm"
2434 "*Icon file for filter folder.")
2435 (defvar wl-archive-folder-icon "archive.xpm"
2436 "*Icon file for archive folder.")
2437 (defvar wl-pipe-folder-icon "pipe.xpm"
2438 "*Icon file for pipe folder.")
2439 (defvar wl-nmz-folder-icon "nmz.xpm"
2440 "*Icon file for namazu folder.")
2441 (defvar wl-shimbun-folder-icon "shimbun.xpm"
2442 "*Icon file for shimbun folder.")
2443 (defvar wl-maildir-folder-icon "maildir.xpm"
2444 "*Icon file for maildir folder.")
2445 (defvar wl-empty-trash-folder-icon "trash-e.xpm"
2446 "*Icon file for emptied trash folder.")
2447 (defvar wl-trash-folder-icon "trash.xpm"
2448 "*Icon file for trash folder.")
2449 (defvar wl-draft-folder-icon "draft.xpm"
2450 "*Icon file for draft folder.")
2451 (defvar wl-queue-folder-icon "queue.xpm"
2452 "*Icon file for queue folder.")
2453 (defvar wl-plugged-icon "plugged.xpm"
2454 "*Icon file for plugged state.")
2455 (defvar wl-unplugged-icon "unplugged.xpm"
2456 "*Icon file for unplugged state.")
2457 (defvar wl-biff-mail-icon "letter.xpm"
2458 "*Icon file for mail existed state.")
2459 (defvar wl-biff-nomail-icon "no-letter.xpm"
2460 "*Icon file for no mail existed state.")
2461 (defvar wl-prog-uudecode "uudecode"
2462 "*uudecode program name.")
2463 (defvar wl-prog-uudecode-arg nil
2464 "*Arguments for uudecode program.")
2465 (defvar wl-prog-uudecode-no-stdout-option t
2466 "*If non-nil, uudecode program don't have option for output to stdout.")
2469 (defvar wl-plugged-plug-on "ON")
2470 (defvar wl-plugged-plug-off "--")
2471 (defvar wl-plugged-auto-off "**")
2472 (defvar wl-plugged-server-indent 2)
2473 (defvar wl-plugged-port-indent 4)
2474 (defvar wl-plugged-queue-status-column 25)
2476 ;;;; Obsolete variables.
2478 ;; 2001-12-11: *-dir -> *-directory
2479 (elmo-define-obsolete-variable 'wl-icon-dir
2481 (elmo-define-obsolete-variable 'wl-mime-save-dir
2482 'wl-mime-save-directory)
2483 (elmo-define-obsolete-variable 'wl-score-files-dir
2484 'wl-score-files-directory)
2485 (elmo-define-obsolete-variable 'wl-tmp-dir
2486 'wl-temporary-file-directory)
2489 (elmo-define-obsolete-variable 'wl-subject-length-limit
2490 'wl-summary-subject-length-limit)
2493 (elmo-define-obsolete-variable 'wl-summary-update-confirm-threshold
2494 'elmo-folder-update-threshold)
2495 (elmo-define-obsolete-variable 'wl-fetch-confirm-threshold
2496 'elmo-message-fetch-threshold)
2498 (elmo-define-obsolete-variable 'wl-cache-prefetch-folder-type-list
2499 'wl-message-buffer-prefetch-folder-type-list)
2500 (elmo-define-obsolete-variable 'wl-cache-prefetch-folder-list
2501 'wl-message-buffer-prefetch-folder-list)
2503 ;; 2001-02-27: *-func -> *-function
2504 (elmo-define-obsolete-variable 'wl-summary-from-func
2505 'wl-summary-from-function)
2506 (elmo-define-obsolete-variable 'wl-summary-subject-func
2507 'wl-summary-subject-function)
2508 (elmo-define-obsolete-variable 'wl-summary-subject-filter-func
2509 'wl-summary-subject-filter-function)
2510 (elmo-define-obsolete-variable 'wl-draft-send-func
2511 'wl-draft-send-function)
2512 (elmo-define-obsolete-variable 'wl-draft-send-news-func
2513 'wl-draft-send-news-function)
2514 (elmo-define-obsolete-variable 'wl-draft-send-mail-func
2515 'wl-draft-send-mail-function)
2516 (elmo-define-obsolete-variable 'wl-print-buffer-func
2517 'wl-print-buffer-function)
2518 (elmo-define-obsolete-variable 'wl-ps-print-buffer-func
2519 'wl-ps-print-buffer-function)
2520 (elmo-define-obsolete-variable 'wl-generate-mailer-string-func
2521 'wl-generate-mailer-string-function)
2522 (elmo-define-obsolete-variable 'wl-highlight-x-face-func
2523 'wl-highlight-x-face-function)
2524 (elmo-define-obsolete-variable 'wl-fldmgr-sort-func
2525 'wl-fldmgr-sort-function)
2526 (elmo-define-obsolete-variable 'wl-expire-archive-get-folder-func
2527 'wl-expire-archive-get-folder-function)
2528 (elmo-define-obsolete-variable 'wl-highlight-signature-search-func
2529 'wl-highlight-signature-search-function)
2531 ;; 2000-01-25: temp mark -> target mark
2532 (elmo-define-obsolete-variable 'wl-summary-temp-above
2533 'wl-summary-target-above)
2535 ;; 1999-11-07: Unified with `wl-draft-config-alist'.
2536 (defvar wl-draft-prepared-config-alist nil)
2537 (make-obsolete-variable 'wl-draft-prepared-config-alist
2538 'wl-draft-config-alist)
2541 (elmo-define-obsolete-variable 'wl-address-filename
2543 (elmo-define-obsolete-variable 'wl-score-default-file-name
2544 'wl-score-default-file)
2548 (product-provide (provide 'wl-vars) (require 'wl-version))
2550 ;;; wl-vars.el ends here