X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=elmo%2Felmo-vars.el;h=160fea55615ed6a3e2c2dbc18a2934735feab913;hb=9041da3cb714676c25dad85e6cd4a80b3755d4c8;hp=62945c36bfb36ee911047b9cc33b6814f203d17d;hpb=41b590709e48c0b5e5987c292cc6eea0c9649fe8;p=elisp%2Fwanderlust.git diff --git a/elmo/elmo-vars.el b/elmo/elmo-vars.el index 62945c3..160fea5 100644 --- a/elmo/elmo-vars.el +++ b/elmo/elmo-vars.el @@ -278,6 +278,13 @@ For disconnected operations.") (defvar elmo-strict-diff-folder-list nil "List of regexps of folder name which should be checked its diff strictly.") +(defcustom elmo-msgdb-prefer-in-reply-to-for-parent nil + "*Non-nil to prefer In-Reply-To header for finding parent message on thread, +rather than References header." + :type 'boolean + :group 'elmo + :group 'elmo-setting) + (defcustom elmo-msgdb-extra-fields nil "Extra fields for msgdb." :type '(repeat string) @@ -435,6 +442,43 @@ Arguments for this function are NAME, BUFFER, HOST and SERVICE.") :type 'symbol :group 'elmo) +(defcustom elmo-mailing-list-name-spec-list + '(x-ml-name + (x-sequence "^\\([^ ]+\\)") + (subject "^\\s(\\(\\S)+\\)[ :][0-9]+\\s)[ \t]*") + (list-post "]+\\)-return-[0-9]+-") + (delivered-to "^mailing list \\([^@]+\\)@")) + "*List of spec to extract mailing list name from field value." + :type '(repeat + (choice (symbol :tag "Field Name") + (list (symbol :tag "Field Name") + (repeat + :inline symbol + (choice regexp + (cons regexp + (integer :tag "Match Index"))))))) + :group 'elmo) + +(defcustom elmo-mailing-list-count-spec-list + '(x-mail-count + x-ml-count + (x-sequence "^[^ ]+ \\([^ ]+\\)") + (subject "^\\s(\\S)+[ :]\\([0-9]+\\)\\s)[ \t]*") + (return-path "^<[^@>]+-return-\\([0-9]+\\)-")) + "*List of spec to extract mailing list count from field value." + :type '(repeat + (choice (symbol :tag "Field Name") + (list (symbol :tag "Field Name") + (repeat + :inline symbol + (choice regexp + (cons regexp + (integer :tag "Match Index"))))))) + :group 'elmo) + (require 'product) (product-provide (provide 'elmo-vars) (require 'elmo-version))