* elmo-imap4.el (elmo-imap4-parse-address-list)
[elisp/wanderlust.git] / elmo / elmo-vars.el
index ef20639..badbce5 100644 (file)
@@ -32,8 +32,8 @@
 
 ;; silence byte compiler
 (eval-when-compile
-  (defun-maybe dynamic-link (a))
-  (defun-maybe dynamic-call (a b)))
+  (defalias-maybe 'dynamic-link 'ignore)
+  (defalias-maybe 'dynamic-call 'ignore))
 
 ;; bind colon keywords for old Emacsen.
 (dont-compile
@@ -396,6 +396,12 @@ Arguments for this function are NAME, BUFFER, HOST and SERVICE.")
        (and (eq system-type 'windows-nt) (not (featurep 'meadow)))))
   "Your file system has link count, or not.")
 
+(defvar elmo-use-hardlink
+  ;; Any Emacsen may have add-name-to-file(), because loadup.el
+  ;; requires it. :-p Check make-symbolic-link() instead.
+  (fboundp 'make-symbolic-link)
+  "Hardlink is available on your file system, or not.")
+
 (defvar elmo-weekday-name-en '["Sun" "Mon" "Tue" "Wed" "Thu" "Fri" "Sat"])
 (defvar elmo-weekday-name-ja '["\e$BF|\e(B" "\e$B7n\e(B" "\e$B2P\e(B" "\e$B?e\e(B" "\e$BLZ\e(B" "\e$B6b\e(B" "\e$BEZ\e(B"])
 (defvar elmo-weekday-name-fr '["Dim" "Lun" "Mar" "Mer" "Jeu" "Ven" "Sam"])
@@ -421,18 +427,9 @@ Arguments for this function are NAME, BUFFER, HOST and SERVICE.")
 (defvar elmo-use-decoded-cache (featurep 'xemacs)
   "Use cache of decoded mime charset string.")
 
-(defvar elmo-display-progress-threshold 20
-  "*Displaying progress gauge if number of messages are more than this value.")
-
 (defvar elmo-inhibit-number-mapping nil
   "Global switch to inhibit number mapping (e.g. Inhibit UIDL on POP3).")
 
-(defvar elmo-display-retrieval-progress-threshold 30000
-  "*Don't display progress if the message size is smaller than this value.")
-
-(defvar elmo-inhibit-display-retrieval-progress nil
-  "Global switch to inhibit display progress of each message's retrieval.")
-
 (defvar elmo-dop-queue nil
   "Global variable for storing disconnected operation queues.")
 
@@ -447,7 +444,7 @@ Arguments for this function are NAME, BUFFER, HOST and SERVICE.")
     (x-sequence "^\\([^ ]+\\)")
     (subject "^\\s(\\(\\S)+\\)[ :][0-9]+\\s)[ \t]*")
     (list-post "<mailto:\\(.+\\)@")
-    (list-id ("\\(<\\|^\\)\\([^.]+\\)\\." . 2))
+    (list-id "<\\([^.]+\\)\\." "^\\([^.]+\\)\\.")
     (mailing-list ("\\(^\\|; \\)contact \\([^@]+\\)-[^-@]+@" . 2))
     (return-path "^<\\([^@>]+\\)-return-[0-9]+-")
     (delivered-to "^mailing list \\([^@]+\\)@"))
@@ -455,9 +452,11 @@ Arguments for this function are NAME, BUFFER, HOST and SERVICE.")
   :type '(repeat
          (choice (symbol :tag "Field Name")
                  (list (symbol :tag "Field Name")
-                       (choice regexp
-                               (cons regexp
-                                     (integer :tag "Match Index"))))))
+                       (repeat
+                        :inline symbol
+                        (choice regexp
+                                (cons regexp
+                                      (integer :tag "Match Index")))))))
   :group 'elmo)
 
 (defcustom elmo-mailing-list-count-spec-list
@@ -470,9 +469,11 @@ Arguments for this function are NAME, BUFFER, HOST and SERVICE.")
   :type '(repeat
          (choice (symbol :tag "Field Name")
                  (list (symbol :tag "Field Name")
-                       (choice regexp
-                               (cons regexp
-                                     (integer :tag "Match Index"))))))
+                       (repeat
+                        :inline symbol
+                        (choice regexp
+                                (cons regexp
+                                      (integer :tag "Match Index")))))))
   :group 'elmo)
 
 (require 'product)