aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wohler2005-12-15 19:32:01 +0000
committerBill Wohler2005-12-15 19:32:01 +0000
commit7a5df5a9adddc2c3229ace27783cc5de4010bcca (patch)
tree9c827b0fcb413ae2a1db7c49bf26ceb9848aa680
parent9cfeca9e068a3210eddfe07c50403a0c43126bf2 (diff)
downloademacs-7a5df5a9adddc2c3229ace27783cc5de4010bcca.tar.gz
emacs-7a5df5a9adddc2c3229ace27783cc5de4010bcca.zip
* mh-e.el (mh-delete-msg): Sync docstrings with manual.
* mh-seq.el (mh-delete-subject, mh-thread-next-sibling) (mh-thread-previous-sibling, mh-thread-ancestor) (mh-thread-delete, mh-thread-refile): Ditto.
-rw-r--r--lisp/mh-e/ChangeLog8
-rw-r--r--lisp/mh-e/mh-e.el2
-rw-r--r--lisp/mh-e/mh-seq.el41
3 files changed, 34 insertions, 17 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 6f9e343123d..33f016bb2f9 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,11 @@
12005-12-15 Bill Wohler <wohler@newt.com>
2
3 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
4
5 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
6 (mh-thread-previous-sibling, mh-thread-ancestor)
7 (mh-thread-delete, mh-thread-refile): Ditto.
8
12005-12-14 Bill Wohler <wohler@newt.com> 92005-12-14 Bill Wohler <wohler@newt.com>
2 10
3 * mh-customize.el (mh-speed-flists-interval): Rename to 11 * mh-customize.el (mh-speed-flists-interval): Rename to
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el
index c69c62bd734..b87fa4c2e3d 100644
--- a/lisp/mh-e/mh-e.el
+++ b/lisp/mh-e/mh-e.el
@@ -535,7 +535,7 @@ the Emacs interface to the MH mail system."
535;;; User executable MH-E commands: 535;;; User executable MH-E commands:
536 536
537(defun mh-delete-msg (range) 537(defun mh-delete-msg (range)
538 "Delete message\\<mh-folder-mode-map>. 538 "Delete RANGE\\<mh-folder-mode-map>.
539 539
540To mark a message for deletion, use this command. A \"D\" is placed by the 540To mark a message for deletion, use this command. A \"D\" is placed by the
541message in the scan window, and the next undeleted message is displayed. If 541message in the scan window, and the next undeleted message is displayed. If
diff --git a/lisp/mh-e/mh-seq.el b/lisp/mh-e/mh-seq.el
index fcf9c64e266..795970d3739 100644
--- a/lisp/mh-e/mh-seq.el
+++ b/lisp/mh-e/mh-seq.el
@@ -936,10 +936,12 @@ Use \\<mh-folder-mode-map>\\[mh-widen] to undo this command."
936 936
937;;;###mh-autoload 937;;;###mh-autoload
938(defun mh-delete-subject () 938(defun mh-delete-subject ()
939 "Mark all following messages with same subject to be deleted. 939 "Delete messages with same subject\\<mh-folder-mode-map>.
940This puts the messages in a sequence named subject. You can undo the last 940
941deletion marks using `mh-undo' with a prefix argument and then specifying the 941To delete messages faster, you can use this command to delete all the messages
942subject sequence." 942with the same subject as the current message. This command puts these messages
943in a sequence named \"subject\". You can undo this action by using \\[mh-undo]
944with a prefix argument and then specifying the \"subject\" sequence."
943 (interactive) 945 (interactive)
944 (let ((count (mh-subject-to-sequence nil))) 946 (let ((count (mh-subject-to-sequence nil)))
945 (cond 947 (cond
@@ -954,11 +956,15 @@ subject sequence."
954 956
955;;;###mh-autoload 957;;;###mh-autoload
956(defun mh-delete-subject-or-thread () 958(defun mh-delete-subject-or-thread ()
957 "Mark messages for deletion intelligently. 959 "Delete messages with same subject or thread\\<mh-folder-mode-map>.
958If the folder is threaded then `mh-thread-delete' is used to mark the current 960
959message and all its descendants for deletion. Otherwise `mh-delete-subject' is 961To delete messages faster, you can use this command to delete all the messages
960used to mark the current message and all messages following it with the same 962with the same subject as the current message. This command puts these messages
961subject for deletion." 963in a sequence named \"subject\". You can undo this action by using \\[mh-undo]
964with a prefix argument and then specifying the \"subject\" sequence.
965
966However, if the buffer is displaying a threaded view of the folder then this
967command behaves like \\[mh-thread-delete]."
962 (interactive) 968 (interactive)
963 (if (memq 'unthread mh-view-ops) 969 (if (memq 'unthread mh-view-ops)
964 (mh-thread-delete) 970 (mh-thread-delete)
@@ -1562,7 +1568,8 @@ MSG is the message being notated with NOTATION at OFFSET."
1562 1568
1563;;;###mh-autoload 1569;;;###mh-autoload
1564(defun mh-thread-next-sibling (&optional previous-flag) 1570(defun mh-thread-next-sibling (&optional previous-flag)
1565 "Jump to next sibling. 1571 "Display next sibling.
1572
1566With non-nil optional argument PREVIOUS-FLAG jump to the previous sibling." 1573With non-nil optional argument PREVIOUS-FLAG jump to the previous sibling."
1567 (interactive) 1574 (interactive)
1568 (cond ((not (memq 'unthread mh-view-ops)) 1575 (cond ((not (memq 'unthread mh-view-ops))
@@ -1589,7 +1596,7 @@ With non-nil optional argument PREVIOUS-FLAG jump to the previous sibling."
1589 1596
1590;;;###mh-autoload 1597;;;###mh-autoload
1591(defun mh-thread-previous-sibling () 1598(defun mh-thread-previous-sibling ()
1592 "Jump to previous sibling." 1599 "Display previous sibling."
1593 (interactive) 1600 (interactive)
1594 (mh-thread-next-sibling t)) 1601 (mh-thread-next-sibling t))
1595 1602
@@ -1610,9 +1617,11 @@ With non-nil optional argument PREVIOUS-FLAG jump to the previous sibling."
1610 1617
1611;;;###mh-autoload 1618;;;###mh-autoload
1612(defun mh-thread-ancestor (&optional thread-root-flag) 1619(defun mh-thread-ancestor (&optional thread-root-flag)
1613 "Jump to the ancestor of current message. 1620 "Display ancestor of current message.
1614If optional argument THREAD-ROOT-FLAG is non-nil then jump to the root of the 1621
1615thread tree the message belongs to." 1622If you do not care for the way a particular thread has turned, you can move up
1623the chain of messages with this command. This command can also take a prefix
1624argument THREAD-ROOT-FLAG to jump to the message that started everything."
1616 (interactive "P") 1625 (interactive "P")
1617 (beginning-of-line) 1626 (beginning-of-line)
1618 (cond ((not (memq 'unthread mh-view-ops)) 1627 (cond ((not (memq 'unthread mh-view-ops))
@@ -1656,7 +1665,7 @@ start of the region and the second is the point at the end."
1656 1665
1657;;;###mh-autoload 1666;;;###mh-autoload
1658(defun mh-thread-delete () 1667(defun mh-thread-delete ()
1659 "Mark current message and all its children for subsequent deletion." 1668 "Delete thread."
1660 (interactive) 1669 (interactive)
1661 (cond ((not (memq 'unthread mh-view-ops)) 1670 (cond ((not (memq 'unthread mh-view-ops))
1662 (error "Folder isn't threaded")) 1671 (error "Folder isn't threaded"))
@@ -1669,7 +1678,7 @@ start of the region and the second is the point at the end."
1669 1678
1670;;;###mh-autoload 1679;;;###mh-autoload
1671(defun mh-thread-refile (folder) 1680(defun mh-thread-refile (folder)
1672 "Mark current message and all its children for refiling to FOLDER." 1681 "Refile (output) thread into FOLDER."
1673 (interactive (list (intern (mh-prompt-for-refile-folder)))) 1682 (interactive (list (intern (mh-prompt-for-refile-folder))))
1674 (cond ((not (memq 'unthread mh-view-ops)) 1683 (cond ((not (memq 'unthread mh-view-ops))
1675 (error "Folder isn't threaded")) 1684 (error "Folder isn't threaded"))