-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; This program is free software: you can redistribute it and/or modify ;;
-;; it under the terms of the version 3 of the GNU General Public License ;;
-;; as published by the Free Software Foundation. ;;
-;; ;;
-;; This program is distributed in the hope that it will be useful, but ;;
-;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;
-;; General Public License for more details. ;;
-;; ;;
-;; You should have received a copy of the GNU General Public License ;;
-;; along with this program. If not, see <http://www.gnu.org/licenses/>. ;;
-;; ;;
-;; Written by and Copyright (C) Francois Fleuret ;;
-;; Contact <francois.fleuret@idiap.ch> for comments & bug reports ;;
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-;; mymail-el
-
-(setq mymail-history-file ("~/.mymail-el-history"))
-
-;; (setq mymail-history '("p francois.fleuret,f 2013"))
+;; Copyright (c) 2013 Francois Fleuret
+;; Written by Francois Fleuret <francois@fleuret.org>
+;;
+;; This file is part of mymail.
+;;
+;; mymail is free software: you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License version 3 as
+;; published by the Free Software Foundation.
+;;
+;; mymail is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with mymail. If not, see <http://www.gnu.org/licenses/>.
+
+;; You may want to add
+;;
+;; (add-to-list 'recentf-exclude "/tmp/mymail-vm-.*\.mbox")
+;;
+;; to your .emacs
+;;
+;; I also use
+;;
+;; (define-key vm-summary-mode-map "\\" 'mymail/vm-visit-folder)
+;;
+;; So that pressing "\" in the summary start a search with mymail
+
+(defgroup mymail ()
+ "Command to visit a folder built on-the-fly with mymail"
+ :version "0.9.8")
+
+(defcustom mymail/default-additional-search-requests ""
+ "Comma-separated list of search requests to add to any search"
+ :type 'string
+ :group 'mymail)
+
+(defcustom mymail/default-search-request nil
+ "Default request to use in place of the empty search"
+ :type 'string
+ :group 'mymail)