* minor / cosmetic

This commit is contained in:
djcb
2011-12-23 19:09:03 +02:00
parent eac6b27cd2
commit 0f40dccdbd
4 changed files with 16 additions and 11 deletions

View File

@ -86,7 +86,7 @@ results, otherwise, limit number of results to
(errmsg (plist-get err :error-message))) (errmsg (plist-get err :error-message)))
(case errcode (case errcode
(4 (message "No matches for this search query.")) (4 (message "No matches for this search query."))
(t (message (format "Error %d: %s" errcode errmsg)))))) (t (message (format "Error %d: %s" errcode errmsg))))))
(defun mu4e-hdrs-update-handler (msg is-move) (defun mu4e-hdrs-update-handler (msg is-move)
"Update handler, will be called when a message has been updated "Update handler, will be called when a message has been updated
@ -355,6 +355,7 @@ after the end of the search results."
major-mode 'mu4e-hdrs-mode major-mode 'mu4e-hdrs-mode
mode-name "mm: message headers" mode-name "mm: message headers"
truncate-lines t truncate-lines t
buffer-undo-list t ;; don't record undo information
buffer-read-only t buffer-read-only t
overwrite-mode 'overwrite-mode-binary) overwrite-mode 'overwrite-mode-binary)

View File

@ -137,6 +137,7 @@ process."
;; register a function for (:info ...) sexps ;; register a function for (:info ...) sexps
(setq mu4e-proc-info-func 'mu4e-proc-info-handler) (setq mu4e-proc-info-func 'mu4e-proc-info-handler)
(when mu4e-mu-proc (when mu4e-mu-proc
(set-process-query-on-exit-flag mu4e-mu-proc nil)
(set-process-coding-system mu4e-mu-proc 'binary 'utf-8-unix) (set-process-coding-system mu4e-mu-proc 'binary 'utf-8-unix)
(set-process-filter mu4e-mu-proc 'mu4e-proc-filter) (set-process-filter mu4e-mu-proc 'mu4e-proc-filter)
(set-process-sentinel mu4e-mu-proc 'mu4e-proc-sentinel)))) (set-process-sentinel mu4e-mu-proc 'mu4e-proc-sentinel))))

View File

@ -887,6 +887,9 @@ can save attachments, and then re-attach them by hand.
conveniently read encrypted mail or check signatures (it should be possible conveniently read encrypted mail or check signatures (it should be possible
with e.g. EPA though, @inforef{Top, EasyPG Assistant, epa}.) For outgoing with e.g. EPA though, @inforef{Top, EasyPG Assistant, epa}.) For outgoing
messages, it should work though, using the built-in mechanisms. messages, it should work though, using the built-in mechanisms.
@item @emph{One cannot influence the sorting of messages}. Messages are sorted
according to thread, then descending by date. It would be nice if it could be
sorted in other ways as well.
@item @emph{Difficulties with attachments in messages with complex @item @emph{Difficulties with attachments in messages with complex
MIME-hierarchy.} While dealing with attachments usually works fine, we have MIME-hierarchy.} While dealing with attachments usually works fine, we have
found some problems with specific mails. This is an issue in @t{mu}, and it is found some problems with specific mails. This is an issue in @t{mu}, and it is

View File

@ -285,7 +285,7 @@ check_param_num (GSList *args, unsigned min, unsigned max)
#define return_if_fail_param_num(ARGS,MN,MX,USAGE) \ #define return_if_fail_param_num(ARGS,MN,MX,USAGE) \
do { \ do { \
if (!check_param_num((ARGS),(MN),(MX))) \ if (!check_param_num((ARGS),(MN),(MX))) \
return server_error(NULL,MU_ERROR_IN_PARAMETERS, \ return server_error(NULL,MU_ERROR_IN_PARAMETERS, \
(USAGE)); \ (USAGE)); \
} while (0) } while (0)