* mu4e-proc.el: add some mu4e-prefix stuff

This commit is contained in:
djcb 2012-05-02 17:27:44 +03:00
parent b30316c6b1
commit 6a6e2ad657
1 changed files with 6 additions and 6 deletions

View File

@ -244,7 +244,7 @@ The server output is as follows:
(plist-get sexp :error)
(plist-get sexp :message)))
(t (message "Unexpected data from server [%S]" sexp)))
(t (mu4e-message "Unexpected data from server [%S]" sexp)))
(setq sexp (mu4e~proc-eat-sexp-from-buf)))))
@ -263,18 +263,18 @@ terminates."
(cond
((eq code 9) (message nil))
;;(message "the mu server process has been stopped"))
(t (message (format "mu server process received signal %d" code)))))
(t (mu4e-message (format "mu server process received signal %d" code)))))
((eq status 'exit)
(cond
((eq code 0)
(message nil)) ;; don't do anything
((eq code 11)
(message "Database is locked by another process"))
(mu4e-message "Database is locked by another process"))
((eq code 19)
(message "Database is empty or non-existent; try indexing some messages"))
(t (message (format "mu server process ended with exit code %d" code)))))
(mu4e-message "Database empty or non-existent; try indexing some messages"))
(t (mu4e-message "mu server process ended with exit code %d" code))))
(t
(message "Something bad happened to the mu server process")))))
(mu4e-message "Something bad happened to the mu server process")))))
(defun mu4e~proc-send-command (frm &rest args)
"Send as command to the mu server process; start the process if needed."