projects
/
mymail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0ac726a
)
Cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Wed, 6 Feb 2013 07:52:19 +0000
(08:52 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Wed, 6 Feb 2013 07:52:19 +0000
(08:52 +0100)
mymail-vm.el
patch
|
blob
|
history
diff --git
a/mymail-vm.el
b/mymail-vm.el
index
07ed864
..
f424c85
100644
(file)
--- a/
mymail-vm.el
+++ b/
mymail-vm.el
@@
-28,25
+28,26
@@
(let ((n 1)
(mbox-name nil)
(let ((n 1)
(mbox-name nil)
+
(search-args
(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) ",")
(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
(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"))
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)
))
))