Mercurial > emacs
diff lisp/mh-e/mh-e.el @ 68013:bbc0e52abce5
* mh-alias.el (mh-alias-add-alias): Grand message and error string
unification. Use single sentence if possible by using semicolon. Don't
end message with punctuation. Don't need format with message. Quote
messages as in docstrings: use `' around symbols, \" for option
choices. Don't use quotes around %s.
* mh-comp.el (mh-complete-word): Ditto.
* mh-customize.el (mh-adaptive-cmd-note-flag-check)
(mh-scan-format-file-check): Ditto.
* mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
(mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
(mh-msg-num-width-to-column): Ditto.
* mh-identity.el (mh-identity-field-handler): Ditto.
* mh-index.el (mh-mairix-execute-search)
(mh-swish-execute-search, mh-swish++-execute-search)
(mh-namazu-execute-search): Ditto.
* mh-init.el (mh-variant-set): Ditto.
* mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
(mh-secure-message, mh-mime-display): Ditto.
* mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
* mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
(mh-read-range, mh-thread-container-subject): Ditto.
* mh-utils.el (mh-x-image-scale-and-display)
(mh-prompt-for-folder, mh-handle-process-error)
(mh-list-to-string-1): Ditto.
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Wed, 04 Jan 2006 02:08:12 +0000 |
parents | 7882fc7df359 |
children | 82d5232a099c |
line wrap: on
line diff
--- a/lisp/mh-e/mh-e.el Wed Jan 04 01:03:20 2006 +0000 +++ b/lisp/mh-e/mh-e.el Wed Jan 04 02:08:12 2006 +0000 @@ -904,8 +904,7 @@ (error "No previous refile or write")) (cond ((eq (car mh-last-destination) 'refile) (mh-refile-msg range (cdr mh-last-destination)) - (message "%s" (format "Destination folder: %s" - (cdr mh-last-destination)))) + (message "Destination folder: %s" (cdr mh-last-destination))) (t (mh-iterate-on-range msg range (apply 'mh-write-msg-to-file msg (cdr mh-last-destination))) @@ -1005,7 +1004,7 @@ many unread messages to skip." (interactive "p") (unless (> count 0) - (error "The function mh-previous-unread-msg expects positive argument")) + (error "The function `mh-previous-unread-msg' expects positive argument")) (setq count (1- count)) (let ((unread-sequence (cdr (assoc mh-unseen-seq mh-seq-list))) (cur-msg (mh-get-msg-num nil))) @@ -1527,7 +1526,7 @@ (beginning-of-line) (setq message (mh-get-msg-num t))) (if (looking-at mh-scan-refiled-msg-regexp) - (error "Message %d is refiled. Undo refile before deleting" message)) + (error "Message %d is refiled; undo refile before deleting" message)) (if (looking-at mh-scan-deleted-msg-regexp) nil (mh-set-folder-modified-p t) @@ -1547,10 +1546,10 @@ (beginning-of-line) (setq message (mh-get-msg-num t))) (cond ((looking-at mh-scan-deleted-msg-regexp) - (error "Message %d is deleted. Undo delete before moving" message)) + (error "Message %d is deleted; undo delete before moving" message)) ((looking-at mh-scan-refiled-msg-regexp) (if (y-or-n-p - (format "Message %d already refiled. Copy to %s as well? " + (format "Message %d already refiled; copy to %s as well? " message folder)) (mh-exec-cmd "refile" (mh-get-msg-num t) "-link" "-src" mh-current-folder @@ -1581,7 +1580,7 @@ many unread messages to skip." (interactive "p") (unless (> count 0) - (error "The function mh-next-unread-msg expects positive argument")) + (error "The function `mh-next-unread-msg' expects positive argument")) (setq count (1- count)) (let ((unread-sequence (reverse (cdr (assoc mh-unseen-seq mh-seq-list)))) (cur-msg (mh-get-msg-num nil))) @@ -1989,8 +1988,8 @@ comes after that." (if (eq mh-scan-format-file t) (max (1+ width) 2) - (error "%s %s" "Can't call mh-msg-num-width-to-column" - "when mh-scan-format-file is not t"))) + (error "%s %s" "Can't call `mh-msg-num-width-to-column' when" + "`mh-scan-format-file' is not set to \"Use MH-E scan Format\""))) (defun mh-set-cmd-note (column) "Set `mh-cmd-note' to COLUMN.