(let ((n 1)
(mbox-name nil)
+
(search-args
+
(apply 'nconc
(mapcar
(lambda (searche-request)
(if (not (string= searche-request ""))
(list "-s" searche-request)))
(split-string (concat param "," mymail/default-search-request) ",")
- ))))
+ )))
+
+ )
(while (get-file-buffer (setq mbox-name (format "/tmp/mymail-vm-%d.mbox" n)))
(setq n (+ n 1)))
(if (= (apply 'call-process
- (nconc `("mymail" nil nil nil "--output" ,mbox-name)
- search-args))
+ (nconc (list "mymail" nil nil nil "--output" mbox-name)
+ search-args))
0)
(vm-visit-folder mbox-name t)
(message "mymail failed"))
-
- ;; (shell-command (concat "mymail --quiet --output " mbox-name " " args))
- ;; (vm-visit-folder mbox-name t)
))