From: Francois Fleuret Date: Sun, 15 Feb 2015 20:55:35 +0000 (+0100) Subject: Prints the content of /tmp/mymail.err in case of error. X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mymail.git;a=commitdiff_plain;h=d58f346111f8a60c9ba57bcfefc17b7bcfd6385c Prints the content of /tmp/mymail.err in case of error. --- diff --git a/mymail-vm.el b/mymail-vm.el index 08c41ad..2fbd8cd 100644 --- a/mymail-vm.el +++ b/mymail-vm.el @@ -96,5 +96,12 @@ prefaced with \\." search-args)) 0) (vm-visit-folder mbox-name t) - (message "mymail failed. See /tmp/mymail.err")) + + ;; (message "mymail failed. See /tmp/mymail.err")) + + (message (with-temp-buffer + (insert-file-contents "/tmp/mymail.err") + (replace-string "\n" " ") + (buffer-string))) + ) ))