;;;###mh-autoload
(defun mh-delete-subject ()
- "Mark all following messages with same subject to be deleted.
-This puts the messages in a sequence named subject. You can undo the last
-deletion marks using `mh-undo' with a prefix argument and then specifying the
-subject sequence."
+ "Delete messages with same subject\\<mh-folder-mode-map>.
+
+To delete messages faster, you can use this command to delete all the messages
+with the same subject as the current message. This command puts these messages
+in a sequence named \"subject\". You can undo this action by using \\[mh-undo]
+with a prefix argument and then specifying the \"subject\" sequence."
(interactive)
(let ((count (mh-subject-to-sequence nil)))
(cond
;;;###mh-autoload
(defun mh-delete-subject-or-thread ()
- "Mark messages for deletion intelligently.
-If the folder is threaded then `mh-thread-delete' is used to mark the current
-message and all its descendants for deletion. Otherwise `mh-delete-subject' is
-used to mark the current message and all messages following it with the same
-subject for deletion."
+ "Delete messages with same subject or thread\\<mh-folder-mode-map>.
+
+To delete messages faster, you can use this command to delete all the messages
+with the same subject as the current message. This command puts these messages
+in a sequence named \"subject\". You can undo this action by using \\[mh-undo]
+with a prefix argument and then specifying the \"subject\" sequence.
+
+However, if the buffer is displaying a threaded view of the folder then this
+command behaves like \\[mh-thread-delete]."
(interactive)
(if (memq 'unthread mh-view-ops)
(mh-thread-delete)
;;;###mh-autoload
(defun mh-thread-next-sibling (&optional previous-flag)
- "Jump to next sibling.
+ "Display next sibling.
+
With non-nil optional argument PREVIOUS-FLAG jump to the previous sibling."
(interactive)
(cond ((not (memq 'unthread mh-view-ops))
;;;###mh-autoload
(defun mh-thread-previous-sibling ()
- "Jump to previous sibling."
+ "Display previous sibling."
(interactive)
(mh-thread-next-sibling t))
;;;###mh-autoload
(defun mh-thread-ancestor (&optional thread-root-flag)
- "Jump to the ancestor of current message.
-If optional argument THREAD-ROOT-FLAG is non-nil then jump to the root of the
-thread tree the message belongs to."
+ "Display ancestor of current message.
+
+If you do not care for the way a particular thread has turned, you can move up
+the chain of messages with this command. This command can also take a prefix
+argument THREAD-ROOT-FLAG to jump to the message that started everything."
(interactive "P")
(beginning-of-line)
(cond ((not (memq 'unthread mh-view-ops))
;;;###mh-autoload
(defun mh-thread-delete ()
- "Mark current message and all its children for subsequent deletion."
+ "Delete thread."
(interactive)
(cond ((not (memq 'unthread mh-view-ops))
(error "Folder isn't threaded"))
;;;###mh-autoload
(defun mh-thread-refile (folder)
- "Mark current message and all its children for refiling to FOLDER."
+ "Refile (output) thread into FOLDER."
(interactive (list (intern (mh-prompt-for-refile-folder))))
(cond ((not (memq 'unthread mh-view-ops))
(error "Folder isn't threaded"))