aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wohler2005-12-04 22:34:49 +0000
committerBill Wohler2005-12-04 22:34:49 +0000
commit2be362c2d561922b4c6603630165d8ef5e30a894 (patch)
treee2cc2277b682cedce57ef9e007e96a18501b0f15
parent7b18d88fe2382d1fbc5f3a1d202c3d3efb7a93fe (diff)
downloademacs-2be362c2d561922b4c6603630165d8ef5e30a894.tar.gz
emacs-2be362c2d561922b4c6603630165d8ef5e30a894.zip
* mh-comp.el (mh-forward): Went over all uses of the word "RANGE" in
the docstrings and made usage consistent. Generally speaking, "messages in range" and "range of messages" is redundant and just "range" can be used in most circumstances. Also ensured that mh-interactive-range was mentioned in all interactive functions that use a range which describes the range argument for both users and programmers. * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg) (mh-refile-or-write-again, mh-rescan-folder, mh-undo) (mh-visit-folder, mh-scan-folder, mh-regenerate-headers) (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup): Ditto. * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1): Ditto. * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto. * mh-print.el (mh-ps-print-range, mh-ps-print-msg) (mh-ps-print-msg-file, mh-print-msg): Ditto. * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list) (mh-narrow-to-range, mh-toggle-tick): Ditto.
-rw-r--r--lisp/mh-e/ChangeLog27
-rw-r--r--lisp/mh-e/mh-comp.el7
-rw-r--r--lisp/mh-e/mh-e.el105
-rw-r--r--lisp/mh-e/mh-funcs.el27
-rw-r--r--lisp/mh-e/mh-junk.el18
-rw-r--r--lisp/mh-e/mh-print.el9
-rw-r--r--lisp/mh-e/mh-seq.el21
7 files changed, 149 insertions, 65 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 746157e6e51..780b5cd067e 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,30 @@
12005-12-04 Bill Wohler <wohler@newt.com>
2
3 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
4 in the docstrings and made usage consistent. Generally speaking,
5 "messages in range" and "range of messages" is redundant and just
6 "range" can be used in most circumstances. Also ensured that
7 mh-interactive-range was mentioned in all interactive functions
8 that use a range which describes the range argument for both
9 users and programmers.
10
11 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
12 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
13 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
14 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
15 Ditto.
16
17 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
18 Ditto.
19
20 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
21
22 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
23 (mh-ps-print-msg-file, mh-print-msg): Ditto.
24
25 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
26 (mh-narrow-to-range, mh-toggle-tick): Ditto.
27
12005-12-01 Bill Wohler <wohler@newt.com> 282005-12-01 Bill Wohler <wohler@newt.com>
2 29
3 Rewrote Reading Mail chapter in manual which affected mh-show 30 Rewrote Reading Mail chapter in manual which affected mh-show
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el
index d8d8b48d74d..4a812d6822c 100644
--- a/lisp/mh-e/mh-comp.el
+++ b/lisp/mh-e/mh-comp.el
@@ -327,18 +327,15 @@ See also `mh-send'."
327 327
328;;;###mh-autoload 328;;;###mh-autoload
329(defun mh-forward (to cc &optional range) 329(defun mh-forward (to cc &optional range)
330 "Forward message(s). 330 "Forward message.
331 331
332You are prompted for the TO and CC recipients. You are given a draft to edit 332You are prompted for the TO and CC recipients. You are given a draft to edit
333that looks like it would if you had run the MH command \"forw\". You are given 333that looks like it would if you had run the MH command \"forw\". You are given
334a chance to add some text. 334a chance to add some text.
335 335
336You can forward several messages by using a RANGE. All of the messages in the 336You can forward several messages by using a RANGE. Check the documentation of
337range are inserted into your draft. Check the documentation of
338`mh-interactive-range' to see how RANGE is read in interactive use. 337`mh-interactive-range' to see how RANGE is read in interactive use.
339 338
340The default message is the current message.
341
342See also `mh-compose-forward-as-mime-flag', `mh-forward-subject-format', 339See also `mh-compose-forward-as-mime-flag', `mh-forward-subject-format',
343and `mh-send'." 340and `mh-send'."
344 (interactive (list (mh-interactive-read-address "To: ") 341 (interactive (list (mh-interactive-read-address "To: ")
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el
index 86d9bbfcddf..c69c62bd734 100644
--- a/lisp/mh-e/mh-e.el
+++ b/lisp/mh-e/mh-e.el
@@ -552,11 +552,10 @@ interactive use."
552 (if (looking-at mh-scan-deleted-msg-regexp) (mh-next-msg))) 552 (if (looking-at mh-scan-deleted-msg-regexp) (mh-next-msg)))
553 553
554(defun mh-delete-msg-no-motion (range) 554(defun mh-delete-msg-no-motion (range)
555 "Delete message, don't move to next message. 555 "Delete RANGE, don't move to next message.
556 556
557This command marks the message (or messages in RANGE) for deletion but leaves 557This command marks the RANGE for deletion but leaves the cursor at the current
558the cursor at the current message in case you wish to perform other operations 558message in case you wish to perform other operations on the message.
559on the message.
560 559
561Check the documentation of `mh-interactive-range' to see how RANGE is read in 560Check the documentation of `mh-interactive-range' to see how RANGE is read in
562interactive use." 561interactive use."
@@ -744,14 +743,20 @@ The default folder name is generated by the option
744 t)) 743 t))
745 744
746(defun mh-refile-msg (range folder &optional dont-update-last-destination-flag) 745(defun mh-refile-msg (range folder &optional dont-update-last-destination-flag)
747 "Refile RANGE into FOLDER. 746 "Refile (output) RANGE into FOLDER.
747
748You are prompted for the folder name. Note that this command can also be used
749to create folders. If you specify a folder that does not exist, you will be
750prompted to create it.
751
752The hook `mh-refile-msg-hook' is called after a message is marked to be
753refiled.
748 754
749Check the documentation of `mh-interactive-range' to see how RANGE is read in 755Check the documentation of `mh-interactive-range' to see how RANGE is read in
750interactive use. 756interactive use.
751 757
752If optional argument DONT-UPDATE-LAST-DESTINATION-FLAG is non-nil then the 758If DONT-UPDATE-LAST-DESTINATION-FLAG is non-nil, then the variables
753variables `mh-last-destination' and `mh-last-destination-folder' are not 759`mh-last-destination' and `mh-last-destination-folder' are not updated."
754updated."
755 (interactive (list (mh-interactive-range "Refile") 760 (interactive (list (mh-interactive-range "Refile")
756 (intern (mh-prompt-for-refile-folder)))) 761 (intern (mh-prompt-for-refile-folder))))
757 (unless dont-update-last-destination-flag 762 (unless dont-update-last-destination-flag
@@ -765,7 +770,7 @@ updated."
765 "Repeat last output command. 770 "Repeat last output command.
766 771
767If you are refiling several messages into the same folder, you can use this 772If you are refiling several messages into the same folder, you can use this
768command to repeat the last refile or write. Or, you can use a range. 773command to repeat the last refile or write. You can use a range.
769 774
770Check the documentation of `mh-interactive-range' to see how RANGE is read in 775Check the documentation of `mh-interactive-range' to see how RANGE is read in
771interactive use. 776interactive use.
@@ -1054,11 +1059,19 @@ Also removes all content from the folder buffer."
1054 (let ((buffer-read-only nil)) (erase-buffer))) 1059 (let ((buffer-read-only nil)) (erase-buffer)))
1055 1060
1056(defun mh-rescan-folder (&optional range dont-exec-pending) 1061(defun mh-rescan-folder (&optional range dont-exec-pending)
1057 "Rescan a folder after optionally processing the outstanding commands. 1062 "Rescan folder\\<mh-folder-mode-map>.
1058If optional prefix argument RANGE is provided, prompt for the range of 1063
1059messages to display. Otherwise show the entire folder. 1064This command is useful to grab all messages in your \"+inbox\" after
1060If optional argument DONT-EXEC-PENDING is non-nil then pending deletes and 1065processing your new mail for the first time. If you don't want to rescan the
1061refiles aren't carried out." 1066entire folder, this command will accept a RANGE. Check the documentation of
1067`mh-interactive-range' to see how RANGE is read in interactive use.
1068
1069This command will ask if you want to process refiles or deletes first and then
1070either run \\[mh-execute-commands] for you or undo the pending refiles and
1071deletes, which are lost.
1072
1073In a program, the processing of outstanding commands is not performed if
1074DONT-EXEC-PENDING is non-nil."
1062 (interactive (list (if current-prefix-arg 1075 (interactive (list (if current-prefix-arg
1063 (mh-read-range "Rescan" mh-current-folder t nil t 1076 (mh-read-range "Rescan" mh-current-folder t nil t
1064 mh-interpret-number-as-range-flag) 1077 mh-interpret-number-as-range-flag)
@@ -1109,7 +1122,12 @@ can be made with the command \\[mh-refile-or-write-again]."
1109 (mh-show))) 1122 (mh-show)))
1110 1123
1111(defun mh-undo (range) 1124(defun mh-undo (range)
1112 "Undo the pending deletion or refile of the specified RANGE. 1125 "Undo pending deletes or refiles in RANGE.
1126
1127If you've deleted a message or refiled it, but changed your mind, you can
1128cancel the action before you've executed it. Use this command to undo a refile
1129on or deletion of a single message. You can also undo refiles and deletes for
1130messages that are found in a given RANGE.
1113 1131
1114Check the documentation of `mh-interactive-range' to see how RANGE is read in 1132Check the documentation of `mh-interactive-range' to see how RANGE is read in
1115interactive use." 1133interactive use."
@@ -1254,17 +1272,29 @@ used to avoid problems in corner cases involving folders whose names end with a
1254 (mh-folder-size-folder folder))) 1272 (mh-folder-size-folder folder)))
1255 1273
1256(defun mh-visit-folder (folder &optional range index-data) 1274(defun mh-visit-folder (folder &optional range index-data)
1257 "Visit FOLDER and display RANGE of messages. 1275 "Visit FOLDER.
1258Do not call this function from outside MH-E; see \\[mh-rmail] instead. 1276
1277When you want to read the messages that you have refiled into folders, use
1278this command to visit the folder. You are prompted for the folder name.
1279
1280The folder buffer will show just unseen messages if there are any; otherwise,
1281it will show all the messages in the buffer as long there are fewer than
1282`mh-large-folder' messages. If there are more, then you are prompted for a
1283range of messages to scan.
1284
1285You can provide a prefix argument in order to specify a RANGE of messages to
1286show when you visit the folder. In this case, regions are not used to specify
1287the range and `mh-large-folder' is ignored. Check the documentation of
1288`mh-interactive-range' to see how RANGE is read in interactive use.
1259 1289
1260If RANGE is nil (the default if it is omitted when called non-interactively), 1290Note that this command can also be used to create folders. If you specify a
1261then all messages in FOLDER are displayed. 1291folder that does not exist, you will be prompted to create it.
1262 1292
1263If an index buffer is being created then INDEX-DATA is used to initialize the 1293Do not call this function from outside MH-E; use \\[mh-rmail] instead.
1264index buffer specific data structures.
1265 1294
1266A prefix argument will cause a prompt for the RANGE of messages 1295If, in a program, RANGE is nil (the default), then all messages in FOLDER are
1267regardless of the size of the `mh-large-folder' variable." 1296displayed. If an index buffer is being created then INDEX-DATA is used to
1297initialize the index buffer specific data structures."
1268 (interactive (let ((folder-name (mh-prompt-for-folder "Visit" mh-inbox t))) 1298 (interactive (let ((folder-name (mh-prompt-for-folder "Visit" mh-inbox t)))
1269 (list folder-name 1299 (list folder-name
1270 (mh-read-range "Scan" folder-name t nil 1300 (mh-read-range "Scan" folder-name t nil
@@ -1762,10 +1792,15 @@ DESKTOP-BUFFER-MISC holds a list of miscellaneous info used by the
1762 '(mh-folder-mode . mh-restore-desktop-buffer))) 1792 '(mh-folder-mode . mh-restore-desktop-buffer)))
1763 1793
1764(defun mh-scan-folder (folder range &optional dont-exec-pending) 1794(defun mh-scan-folder (folder range &optional dont-exec-pending)
1765 "Scan the FOLDER over the RANGE. 1795 "Scan FOLDER over RANGE.
1766If the optional argument DONT-EXEC-PENDING is non-nil then pending deletes and 1796
1767refiles aren't carried out. 1797After the scan is performed, switch to the buffer associated with FOLDER.
1768Return in the folder's buffer." 1798
1799Check the documentation of `mh-interactive-range' to see how RANGE is read in
1800interactive use.
1801
1802The processing of outstanding commands is not performed if DONT-EXEC-PENDING
1803is non-nil."
1769 (when (stringp range) 1804 (when (stringp range)
1770 (setq range (delete "" (split-string range "[ \t\n]")))) 1805 (setq range (delete "" (split-string range "[ \t\n]"))))
1771 (cond ((null (get-buffer folder)) 1806 (cond ((null (get-buffer folder))
@@ -1804,7 +1839,7 @@ Note that columns in Emacs start with 0."
1804 (setq mh-cmd-note column)) 1839 (setq mh-cmd-note column))
1805 1840
1806(defun mh-regenerate-headers (range &optional update) 1841(defun mh-regenerate-headers (range &optional update)
1807 "Scan folder over range RANGE. 1842 "Scan folder over RANGE.
1808If UPDATE, append the scan lines, otherwise replace." 1843If UPDATE, append the scan lines, otherwise replace."
1809 (let ((folder mh-current-folder) 1844 (let ((folder mh-current-folder)
1810 (range (if (and range (atom range)) (list range) range)) 1845 (range (if (and range (atom range)) (list range) range))
@@ -2331,9 +2366,10 @@ Expands ranges into set of individual numbers."
2331 msgs)) 2366 msgs))
2332 2367
2333(defun mh-notate-user-sequences (&optional range) 2368(defun mh-notate-user-sequences (&optional range)
2334 "Mark user-defined sequences in the messages specified by RANGE. 2369 "Mark user-defined sequences in RANGE.
2335The optional argument RANGE can be a message number, a list of message 2370
2336numbers, a sequence, a region in a cons cell. If nil all messages are notated." 2371Check the documentation of `mh-interactive-range' to see how RANGE is read in
2372interactive use; if nil all messages are notated."
2337 (unless range 2373 (unless range
2338 (setq range (cons (point-min) (point-max)))) 2374 (setq range (cons (point-min) (point-max))))
2339 (let ((seqs mh-seq-list) 2375 (let ((seqs mh-seq-list)
@@ -2366,8 +2402,7 @@ numbers, a sequence, a region in a cons cell. If nil all messages are notated."
2366Check the documentation of `mh-interactive-range' to see how RANGE is read in 2402Check the documentation of `mh-interactive-range' to see how RANGE is read in
2367interactive use. 2403interactive use.
2368 2404
2369Optional third arg INTERNAL-FLAG non-nil means do not inform MH of the 2405In a program, non-nil INTERNAL-FLAG means do not inform MH of the change."
2370change."
2371 (interactive (list (mh-interactive-range "Delete") 2406 (interactive (list (mh-interactive-range "Delete")
2372 (mh-read-seq-default "Delete from" t) 2407 (mh-read-seq-default "Delete from" t)
2373 nil)) 2408 nil))
@@ -2393,9 +2428,9 @@ change."
2393 (apply #'mh-speed-flists t folders-changed))))) 2428 (apply #'mh-speed-flists t folders-changed)))))
2394 2429
2395(defun mh-catchup (range) 2430(defun mh-catchup (range)
2396 "Delete RANGE from the `mh-unseen-seq' sequence. 2431 "Delete RANGE from the \"unseen\" sequence.
2397 2432
2398Check the document of `mh-interactive-range' to see how RANGE is read in 2433Check the documentation of `mh-interactive-range' to see how RANGE is read in
2399interactive use." 2434interactive use."
2400 (interactive (list (mh-interactive-range "Catchup" 2435 (interactive (list (mh-interactive-range "Catchup"
2401 (cons (point-min) (point-max))))) 2436 (cons (point-min) (point-max)))))
diff --git a/lisp/mh-e/mh-funcs.el b/lisp/mh-e/mh-funcs.el
index 4f9adbe970b..ca2f7333eb8 100644
--- a/lisp/mh-e/mh-funcs.el
+++ b/lisp/mh-e/mh-funcs.el
@@ -79,7 +79,14 @@ field yourself."
79 79
80;;;###mh-autoload 80;;;###mh-autoload
81(defun mh-copy-msg (range folder) 81(defun mh-copy-msg (range folder)
82 "Copy the specified RANGE to another FOLDER without deleting them. 82 "Copy RANGE to FOLDER\\<mh-folder-mode-map>.
83
84If you wish to copy a message to another folder, you can use this command
85\(see the \"-link\" argument to \"refile\"). Like the command
86\\[mh-refile-msg], this command prompts you for the name of the target folder
87and you can specify a range. Note that unlike the command \\[mh-refile-msg],
88the copy takes place immediately. The original copy remains in the current
89folder.
83 90
84Check the documentation of `mh-interactive-range' to see how RANGE is read in 91Check the documentation of `mh-interactive-range' to see how RANGE is read in
85interactive use." 92interactive use."
@@ -156,10 +163,16 @@ Display the results only if something went wrong."
156 163
157;;;###mh-autoload 164;;;###mh-autoload
158(defun mh-pack-folder (range) 165(defun mh-pack-folder (range)
159 "Renumber the messages of a folder to be 1..n. 166 "Pack folder\\<mh-folder-mode-map>.
160First, offer to execute any outstanding commands for the current folder. If 167
161optional prefix argument provided, prompt for the RANGE of messages to display 168This command packs the folder, removing gaps from the numbering sequence. If
162after packing. Otherwise, show the entire folder." 169you don't want to rescan the entire folder afterward, this command will accept
170a RANGE. Check the documentation of `mh-interactive-range' to see how RANGE is
171read in interactive use.
172
173This command will ask if you want to process refiles or deletes first and then
174either run \\[mh-execute-commands] for you or undo the pending refiles and
175deletes, which are lost."
163 (interactive (list (if current-prefix-arg 176 (interactive (list (if current-prefix-arg
164 (mh-read-range "Scan" mh-current-folder t nil t 177 (mh-read-range "Scan" mh-current-folder t nil t
165 mh-interpret-number-as-range-flag) 178 mh-interpret-number-as-range-flag)
@@ -175,8 +188,8 @@ after packing. Otherwise, show the entire folder."
175 188
176(defun mh-pack-folder-1 (range) 189(defun mh-pack-folder-1 (range)
177 "Close and pack the current folder. 190 "Close and pack the current folder.
178Display the given RANGE of messages after packing. If RANGE is nil, show the 191
179entire folder." 192Display RANGE after packing, or the entire folder if RANGE is nil."
180 (mh-process-or-undo-commands mh-current-folder) 193 (mh-process-or-undo-commands mh-current-folder)
181 (message "Packing folder...") 194 (message "Packing folder...")
182 (mh-set-folder-modified-p t) ; lock folder while packing 195 (mh-set-folder-modified-p t) ; lock folder while packing
diff --git a/lisp/mh-e/mh-junk.el b/lisp/mh-e/mh-junk.el
index 54d21db443a..5cbc7b77b47 100644
--- a/lisp/mh-e/mh-junk.el
+++ b/lisp/mh-e/mh-junk.el
@@ -41,9 +41,12 @@
41(defun mh-junk-blacklist (range) 41(defun mh-junk-blacklist (range)
42 "Blacklist RANGE as spam. 42 "Blacklist RANGE as spam.
43 43
44This command trains the spam program in use (see the `mh-junk-program' option) 44This command trains the spam program in use (see the option `mh-junk-program')
45with the content of the range (see `mh-interactive-range') and then handles 45with the content of RANGE and then handles the message(s) as specified by the
46the message(s) as specified by the `mh-junk-disposition' option. 46option `mh-junk-disposition'.
47
48Check the documentation of `mh-interactive-range' to see how RANGE is read in
49interactive use.
47 50
48For more information about using your particular spam fighting program, see: 51For more information about using your particular spam fighting program, see:
49 52
@@ -77,11 +80,12 @@ For more information about using your particular spam fighting program, see:
77(defun mh-junk-whitelist (range) 80(defun mh-junk-whitelist (range)
78 "Whitelist RANGE as ham. 81 "Whitelist RANGE as ham.
79 82
80This command reclassifies a range of messages (see `mh-interactive-range') as 83This command reclassifies the RANGE as ham if it were incorrectly classified
81ham if it were incorrectly classified as spam. It then refiles the message 84as spam (see the option `mh-junk-program'). It then refiles the message into
82into the `+inbox' folder. 85the \"+inbox\" folder.
83 86
84The `mh-junk-program' option specifies the spam program in use." 87Check the documentation of `mh-interactive-range' to see how RANGE is read in
88interactive use."
85 (interactive (list (mh-interactive-range "Whitelist"))) 89 (interactive (list (mh-interactive-range "Whitelist")))
86 (let ((whitelist-func (nth 2 (assoc mh-junk-choice mh-junk-function-alist)))) 90 (let ((whitelist-func (nth 2 (assoc mh-junk-choice mh-junk-function-alist))))
87 (unless whitelist-func 91 (unless whitelist-func
diff --git a/lisp/mh-e/mh-print.el b/lisp/mh-e/mh-print.el
index 8cf91f08d74..cc35926aecc 100644
--- a/lisp/mh-e/mh-print.el
+++ b/lisp/mh-e/mh-print.el
@@ -88,7 +88,8 @@ Sensible choices are the functions `ps-spool-buffer' and
88 (kill-buffer buffer))))) 88 (kill-buffer buffer)))))
89 89
90(defun mh-ps-print-range (range file) 90(defun mh-ps-print-range (range file)
91 "Print the messages in RANGE to FILE. 91 "Print RANGE to FILE.
92
92This is the function that actually does the work. 93This is the function that actually does the work.
93If FILE is nil, then the messages are spooled to the printer." 94If FILE is nil, then the messages are spooled to the printer."
94 (mh-iterate-on-range msg range 95 (mh-iterate-on-range msg range
@@ -105,7 +106,7 @@ Pass along the PREFIX-ARG to it."
105 106
106;;;###mh-autoload 107;;;###mh-autoload
107(defun mh-ps-print-msg (range) 108(defun mh-ps-print-msg (range)
108 "Print the messages in RANGE\\<mh-folder-mode-map>. 109 "Print RANGE\\<mh-folder-mode-map>.
109 110
110Check the documentation of `mh-interactive-range' to see how RANGE is read in 111Check the documentation of `mh-interactive-range' to see how RANGE is read in
111interactive use. 112interactive use.
@@ -126,7 +127,7 @@ and \\[mh-ps-print-toggle-faces]."
126 127
127;;;###mh-autoload 128;;;###mh-autoload
128(defun mh-ps-print-msg-file (range file) 129(defun mh-ps-print-msg-file (range file)
129 "Print the messages in RANGE to FILE\\<mh-folder-mode-map>. 130 "Print RANGE to FILE\\<mh-folder-mode-map>.
130 131
131Check the documentation of `mh-interactive-range' to see how RANGE is read in 132Check the documentation of `mh-interactive-range' to see how RANGE is read in
132interactive use. 133interactive use.
@@ -185,7 +186,7 @@ best. You change this setting permanently by customizing the option
185;;; Old non-PS based printing 186;;; Old non-PS based printing
186;;;###mh-autoload 187;;;###mh-autoload
187(defun mh-print-msg (range) 188(defun mh-print-msg (range)
188 "Print the messages in RANGE the old fashioned way\\<mh-folder-mode-map>. 189 "Print RANGE the old fashioned way\\<mh-folder-mode-map>.
189 190
190The message is formatted with \"mhl\" (see option `mh-mhl-format-file') and 191The message is formatted with \"mhl\" (see option `mh-mhl-format-file') and
191printed with the \"lpr\" command (see option `mh-lpr-command-format'). 192printed with the \"lpr\" command (see option `mh-lpr-command-format').
diff --git a/lisp/mh-e/mh-seq.el b/lisp/mh-e/mh-seq.el
index 6dbb5f26c07..fcf9c64e266 100644
--- a/lisp/mh-e/mh-seq.el
+++ b/lisp/mh-e/mh-seq.el
@@ -273,10 +273,16 @@ When you want to widen the view to all your messages again, use \\[mh-widen]."
273 273
274;;;###mh-autoload 274;;;###mh-autoload
275(defun mh-put-msg-in-seq (range sequence) 275(defun mh-put-msg-in-seq (range sequence)
276 "Add RANGE to SEQUENCE. 276 "Add RANGE to SEQUENCE\\<mh-folder-mode-map>.
277 277
278Check the documentation of `mh-interactive-range' to see how RANGE is read in 278To place a message in a sequence, use this command to do it manually, or use
279interactive use." 279the MH command \"pick\" or the MH-E version of \"pick\", \\[mh-search-folder],
280which create a sequence automatically.
281
282Give this command a RANGE and you can add all the messages in a sequence to
283another sequence (for example, \"\\[universal-argument] \\[mh-put-msg-in-seq]
284SourceSequence RET DestSequence RET\"). Check the documentation of
285`mh-interactive-range' to see how RANGE is read in interactive use."
280 (interactive (list (mh-interactive-range "Add messages from") 286 (interactive (list (mh-interactive-range "Add messages from")
281 (mh-read-seq-default "Add to" nil))) 287 (mh-read-seq-default "Add to" nil)))
282 (unless (mh-valid-seq-p sequence) 288 (unless (mh-valid-seq-p sequence)
@@ -661,8 +667,9 @@ in order to provide a uniform interface to MH-E functions."
661;;;###mh-autoload 667;;;###mh-autoload
662(defun mh-range-to-msg-list (range) 668(defun mh-range-to-msg-list (range)
663 "Return a list of messages for RANGE. 669 "Return a list of messages for RANGE.
664RANGE can be a message number, a list of message numbers, a sequence, or 670
665a region in a cons cell." 671Check the documentation of `mh-interactive-range' to see how RANGE is read in
672interactive use."
666 (let (msg-list) 673 (let (msg-list)
667 (mh-iterate-on-range msg range 674 (mh-iterate-on-range msg range
668 (push msg msg-list)) 675 (push msg msg-list))
@@ -915,7 +922,7 @@ The MH command pick is used to do the match."
915 922
916;;;###mh-autoload 923;;;###mh-autoload
917(defun mh-narrow-to-range (range) 924(defun mh-narrow-to-range (range)
918 "Limit to messages in RANGE. 925 "Limit to RANGE.
919 926
920Check the documentation of `mh-interactive-range' to see how RANGE is read in 927Check the documentation of `mh-interactive-range' to see how RANGE is read in
921interactive use. 928interactive use.
@@ -1679,7 +1686,7 @@ start of the region and the second is the point at the end."
1679 1686
1680;;;###mh-autoload 1687;;;###mh-autoload
1681(defun mh-toggle-tick (range) 1688(defun mh-toggle-tick (range)
1682 "Toggle tick mark of all messages in RANGE. 1689 "Toggle tick mark of RANGE.
1683 1690
1684This command adds messages to the \"tick\" sequence (which you can customize 1691This command adds messages to the \"tick\" sequence (which you can customize
1685via the option `mh-tick-seq'). This sequence can be viewed later with the 1692via the option `mh-tick-seq'). This sequence can be viewed later with the