aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wohler2005-12-27 22:42:58 +0000
committerBill Wohler2005-12-27 22:42:58 +0000
commit13fe29bd54b51b828ff7260902aa1030b69643a9 (patch)
tree58550b6b8f2b0effdde260ac6d9ee9a321144afe
parentee79234b760e661b129de38f834b55d2b550fdfc (diff)
downloademacs-13fe29bd54b51b828ff7260902aa1030b69643a9.tar.gz
emacs-13fe29bd54b51b828ff7260902aa1030b69643a9.zip
(mh-prompt-for-folder): Use can-create argument to suppress creation
of folder if it doesn't exist.
-rw-r--r--lisp/mh-e/ChangeLog342
-rw-r--r--lisp/mh-e/mh-utils.el4
2 files changed, 187 insertions, 159 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 50341bc6736..f10b6779e9c 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,8 @@
12005-12-27 Bill Wohler <wohler@newt.com>
2
3 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
4 suppress creation of folder if it doesn't exist.
5
12005-12-27 Stefan Monnier <monnier@iro.umontreal.ca> 62005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter. 8 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
@@ -6,14 +11,14 @@
6 11
7 * mh-e.el (mh-folders-changed): Fix typo in docstring. 12 * mh-e.el (mh-folders-changed): Fix typo in docstring.
8 13
9 Follow MH-E Developers Guide conventions. Use `' quotes for Help 14 Follow MH-E Developers Guide conventions. Use `' quotes for Help
10 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for 15 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
11 everything else. Otherwise, you can accidently get links to 16 everything else. Otherwise, you can accidently get links to
12 nonsense symbols. 17 nonsense symbols.
13 18
142005-12-22 Bill Wohler <wohler@newt.com> 192005-12-22 Bill Wohler <wohler@newt.com>
15 20
16 Follow Emacs coding conventions. Use default setting of 21 Follow Emacs coding conventions. Use default setting of
17 emacs-lisp-docstring-fill-column which is 65. 22 emacs-lisp-docstring-fill-column which is 65.
18 23
19 * mh-alias.el (mh-alias-reload): Sync docstrings with manual. 24 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
@@ -23,18 +28,19 @@
23 with manual. 28 with manual.
24 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if 29 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
25 you have added a mail-citation-hook and neither are used if you 30 you have added a mail-citation-hook and neither are used if you
26 use one of the supercite flavors of mh-yank-behavior. 31 use one of the supercite flavors of mh-yank-behavior. Sync
27 Sync docstrings with manual. 32 docstrings with manual.
28 33
29 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): 34 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
30 Rename from mh-kill-folder-suppress-prompt-hook since it is an abnormal 35 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
31 hook. Use "Hook run by `function'..." instead of "Invoked...". 36 hook. Use "Hook run by `function'..." instead of "Invoked...".
32 Sync docstrings with manual. 37 Sync docstrings with manual.
33 (mh-ins-buf-prefix, mh-yank-behavior): Mention that 38 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
34 mh-ins-buf-prefix isn't used if you have added a 39 mh-ins-buf-prefix isn't used if you have added a
35 mail-citation-hook and neither are used if you use one of the 40 mail-citation-hook and neither are used if you use one of the
36 supercite flavors of mh-yank-behavior. Sync docstrings with manual. 41 supercite flavors of mh-yank-behavior. Sync docstrings with
37 (mail-citation-hook): Delete. Use one in sendmail.el. 42 manual.
43 (mail-citation-hook): Delete. Use one in sendmail.el.
38 (mh-signature-file-name, mh-after-commands-processed-hook) 44 (mh-signature-file-name, mh-after-commands-processed-hook)
39 (mh-alias-reloaded-hook, mh-before-commands-processed-hook) 45 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
40 (mh-before-quit-hook, mh-before-send-letter-hook) 46 (mh-before-quit-hook, mh-before-send-letter-hook)
@@ -44,7 +50,7 @@
44 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook) 50 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
45 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook) 51 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
46 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead 52 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
47 of "Invoked...". Sync docstrings with manual. 53 of "Invoked...". Sync docstrings with manual.
48 54
49 * mh-e.el (mh-last-destination, mh-last-destination-folder) 55 * mh-e.el (mh-last-destination, mh-last-destination-folder)
50 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker) 56 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
@@ -73,15 +79,18 @@
73 docstring. 79 docstring.
74 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment 80 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
75 into docstring. 81 into docstring.
76 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with manual. 82 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
83 manual.
77 84
782005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org> 852005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
79 86
80 * mh-customize.el (mh-after-commands-processed-hook): New variable. 87 * mh-customize.el (mh-after-commands-processed-hook): New
81 (mh-before-commands-processed-hook): Rename mh-folder-updated-hook. 88 variable.
89 (mh-before-commands-processed-hook): Rename
90 mh-folder-updated-hook.
82 91
83 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook 92 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
84 to mh-before-commands-processed-hook, call new 93 mh-before-commands-processed-hook, call new
85 mh-after-commands-processed-hook. 94 mh-after-commands-processed-hook.
86 (mh-folders-changed): New variable (for use in 95 (mh-folders-changed): New variable (for use in
87 mh-after-commands-processed-hook). 96 mh-after-commands-processed-hook).
@@ -106,31 +115,32 @@
106 * mh-seq.el: 115 * mh-seq.el:
107 * mh-speed.el: 116 * mh-speed.el:
108 * mh-utils.el: 117 * mh-utils.el:
109 Follow commenting conventions. Don't use ;;; form so much, except 118 Follow commenting conventions. Don't use ;;; form so much, except
110 for headings. Precede headings with page feed. This was mostly 119 for headings. Precede headings with page feed. This was mostly
111 already done, so I made it a convention. Did not update copyright 120 already done, so I made it a convention. Did not update copyright
112 on a couple of files since this was an insignificant change. 121 on a couple of files since this was an insignificant change.
113 122
1142005-12-18 Bill Wohler <wohler@newt.com> 1232005-12-18 Bill Wohler <wohler@newt.com>
115 124
116 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar. 125 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
117 (mh-tool-bar-search-function): Sync docstrings with manual. 126 (mh-tool-bar-search-function): Sync docstrings with manual.
118 (mh-tool-bar-customize): Replace toolbar with tool bar in docstring. 127 (mh-tool-bar-customize): Replace toolbar with tool bar in
128 docstring.
119 (mh-tool-bar-letter-help): Fix manual reference. 129 (mh-tool-bar-letter-help): Fix manual reference.
120 (mh-xemacs-use-toolbar-flag): Rename to 130 (mh-xemacs-use-toolbar-flag): Rename to
121 mh-xemacs-use-tool-bar-flag. Initialize to 131 mh-xemacs-use-tool-bar-flag. Initialize to
122 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual. 132 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
123 (mh-xemacs-toolbar-position): Rename to 133 (mh-xemacs-toolbar-position): Rename to
124 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar" 134 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
125 option (redundant) and change "Same As Default Tool Bar" setting 135 option (redundant) and change "Same As Default Tool Bar" setting
126 to nil. Sync docstrings with manual. 136 to nil. Sync docstrings with manual.
127 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar 137 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
128 depending on context. 138 depending on context.
129 (mh-toolbar-init): Rename to mh-tool-bar-init. 139 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
130 Simplify condition for calling set-specifier. 140 for calling set-specifier. Only look at the value of
131 Only look at the value of mh-xemacs-use-tool-bar-flag. 141 mh-xemacs-use-tool-bar-flag.
132 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): 142 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
133 Sync docstrings with manual. 143 docstrings with manual.
134 144
135 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of 145 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
136 mh-toolbar-init. 146 mh-toolbar-init.
@@ -151,13 +161,13 @@
151 161
152 * mh-customize.el (mh-speed-flists-interval): Rename to 162 * mh-customize.el (mh-speed-flists-interval): Rename to
153 mh-speed-update-interval. 163 mh-speed-update-interval.
154 (mh-speed-run-flists-flag): Delete. 164 (mh-speed-run-flists-flag): Delete. Setting
155 Setting mh-speed-flists-interval to 0 accomplishes the same thing. 165 mh-speed-flists-interval to 0 accomplishes the same thing.
156 166
157 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): 167 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
158 Use mh-speed-update-interval instead of mh-speed-run-flists-flag. 168 mh-speed-update-interval instead of mh-speed-run-flists-flag.
159 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): 169 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
160 Sync docstrings with manual. 170 docstrings with manual.
161 171
1622005-12-09 Bill Wohler <wohler@newt.com> 1722005-12-09 Bill Wohler <wohler@newt.com>
163 173
@@ -174,13 +184,13 @@
174 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and 184 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
175 X-Virus-Scanned. 185 X-Virus-Scanned.
176 186
177 * mh-customize.el (mh-insert-signature-hook): 187 * mh-customize.el (mh-insert-signature-hook): Rename
178 Rename mh-letter-insert-signature-hook to mh-insert-signature-hook. 188 mh-letter-insert-signature-hook to mh-insert-signature-hook.
179 189
180 * mh-comp.el (mh-insert-signature): Ditto. 190 * mh-comp.el (mh-insert-signature): Ditto.
181 191
182 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask 192 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
183 to nil. Remove t option. Sync docstring with manual (closes SF 193 to nil. Remove t option. Sync docstring with manual (closes SF
184 #831278). 194 #831278).
185 (mh-invisible-header-fields-internal): Remove X-Image-URL so that 195 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
186 users can see it, look it up in the manual's index, and discover 196 users can see it, look it up in the manual's index, and discover
@@ -195,9 +205,9 @@
195 (mh-index-new-messages): Ditto. 205 (mh-index-new-messages): Ditto.
196 206
197 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE" 207 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
198 in the docstrings and made usage consistent. Generally speaking, 208 in the docstrings and made usage consistent. Generally speaking,
199 "messages in range" and "range of messages" is redundant and just 209 "messages in range" and "range of messages" is redundant and just
200 "range" can be used in most circumstances. Also ensured that 210 "range" can be used in most circumstances. Also ensured that
201 mh-interactive-range was mentioned in all interactive functions 211 mh-interactive-range was mentioned in all interactive functions
202 that use a range which describes the range argument for both users 212 that use a range which describes the range argument for both users
203 and programmers. 213 and programmers.
@@ -205,9 +215,11 @@
205 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg) 215 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
206 (mh-refile-or-write-again, mh-rescan-folder, mh-undo) 216 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
207 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers) 217 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
208 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup): Ditto. 218 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
219 Ditto.
209 220
210 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1): Ditto. 221 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
222 Ditto.
211 223
212 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto. 224 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
213 225
@@ -217,7 +229,6 @@
217 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list) 229 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
218 (mh-narrow-to-range, mh-toggle-tick): Ditto. 230 (mh-narrow-to-range, mh-toggle-tick): Ditto.
219 231
220
2212005-12-01 Bill Wohler <wohler@newt.com> 2322005-12-01 Bill Wohler <wohler@newt.com>
222 233
223 Rewrote Reading Mail chapter in manual which affected mh-show 234 Rewrote Reading Mail chapter in manual which affected mh-show
@@ -229,14 +240,15 @@
229 I think, so use "truncated". 240 I think, so use "truncated".
230 241
231 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual 242 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
232 section is Folders, not Organizing. Parent of mh-folder-faces is 243 section is Folders, not Organizing. Parent of mh-folder-faces is
233 mh-folder, not mh-show. 244 mh-folder, not mh-show.
234 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar. 245 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
235 (mh-thread): New group that corresponds with manual's Threading 246 (mh-thread): New group that corresponds with manual's Threading
236 chapter. 247 chapter.
237 (mh-letter-faces): Group's manual section is Editing Drafts, not 248 (mh-letter-faces): Group's manual section is Editing Drafts, not
238 Sending Mail. 249 Sending Mail.
239 (mh-sortm-args): New customization variable that used to be a defvar. 250 (mh-sortm-args): New customization variable that used to be a
251 defvar.
240 (mh-index-new-messages-folders, mh-index-ticked-messages-folders): 252 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
241 Move from mh-index group to mh-folders group. 253 Move from mh-index group to mh-folders group.
242 (mh-alias-local-users-prefix, mh-large-folder) 254 (mh-alias-local-users-prefix, mh-large-folder)
@@ -245,10 +257,11 @@
245 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to 257 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
246 mh-folder group. 258 mh-folder group.
247 (mh-highlight-citation-style): Rename from 259 (mh-highlight-citation-style): Rename from
248 mh-highlight-citation-p. Sync docstrings with manual. 260 mh-highlight-citation-p. Sync docstrings with manual.
249 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings 261 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
250 with manual. 262 with manual.
251 (mh-show-threads-flag): Move from mh-show group to mh-thread group. 263 (mh-show-threads-flag): Move from mh-show group to mh-thread
264 group.
252 (mh-find-path-hook): Move from mh-show group to mh-e group. 265 (mh-find-path-hook): Move from mh-show group to mh-e group.
253 (mh-folder-updated-hook): Add to mh-folder group. 266 (mh-folder-updated-hook): Add to mh-folder group.
254 (mh-forward-hook): Move from mh-folder to mh-sending-mail group. 267 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
@@ -270,19 +283,19 @@
270 * mh-e.el 283 * mh-e.el
271 (mh-scan-format-mh, mh-scan-good-msg-regexp) 284 (mh-scan-format-mh, mh-scan-good-msg-regexp)
272 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp) 285 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
273 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): 286 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
274 Use non-fontification instead of non-fontifying. 287 non-fontification instead of non-fontifying.
275 (mh-header-display): Use mh-mhl-format-file instead of 288 (mh-header-display): Use mh-mhl-format-file instead of
276 mhl-formfile. Sync docstrings with manual. 289 mhl-formfile. Sync docstrings with manual.
277 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to 290 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
278 count. Sync docstrings with manual. 291 count. Sync docstrings with manual.
279 (mh-refile-or-write-again): Use output from mh-write-msg-to-file 292 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
280 so that message doesn't change when using this command. 293 so that message doesn't change when using this command. Sync
281 Sync docstrings with manual. 294 docstrings with manual.
282 (mh-page-msg, mh-previous-page): Rename arg to lines. 295 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
283 Sync docstrings with manual. 296 docstrings with manual.
284 (mh-write-msg-to-file): Rename msg to message. Rename no-headers 297 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
285 to no-header. Sync docstrings with manual. 298 to no-header. Sync docstrings with manual.
286 (mh-ps-print-map): Delete keybindings for deleted commands 299 (mh-ps-print-map): Delete keybindings for deleted commands
287 mh-ps-print-toggle-mime and mh-ps-print-msg-show. 300 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
288 (mh-help-messages): Update printing help. 301 (mh-help-messages): Update printing help.
@@ -293,41 +306,43 @@
293 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with 306 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
294 manual. 307 manual.
295 308
296 * mh-funcs.el (mh-sortm-args): Now a customization option and 309 * mh-funcs.el (mh-sortm-args): Now a customization option and in
297 in mh-customize.el. 310 mh-customize.el.
298 (mh-pipe-msg): Rename include-headers to include-header. 311 (mh-pipe-msg): Rename include-headers to include-header. Sync
299 Sync docstrings with manual. 312 docstrings with manual.
300 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards) 313 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
301 (mh-store-msg): Sync docstrings with manual. 314 (mh-store-msg): Sync docstrings with manual.
302 315
303 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. 316 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
304 Sync docstrings with manual. 317 docstrings with manual.
305 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp. 318 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
306 Sync docstrings with manual. 319 Sync docstrings with manual.
307 (mh-mm-display-part, mh-mm-inline-message): 320 (mh-mm-display-part, mh-mm-inline-message): Use
308 Use mh-highlight-citation-style instead of mh-highlight-citation-p. 321 mh-highlight-citation-style instead of mh-highlight-citation-p.
309 (mh-press-button): Sync docstrings with manual. 322 (mh-press-button): Sync docstrings with manual.
310 (mh-display-with-external-viewer): Fix default output in 323 (mh-display-with-external-viewer): Fix default output in
311 minibuffer. Sync docstrings with manual. 324 minibuffer. Sync docstrings with manual.
312 325
313 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime): Delete. 326 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
327 Delete.
314 (mh-ps-print-color-option): Incorporate docstring from 328 (mh-ps-print-color-option): Incorporate docstring from
315 ps-print-color-p. 329 ps-print-color-p.
316 (mh-ps-spool-buffer): Remove unused code. Fix indent. 330 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
317 Slimline docstring. 331 docstring.
318 (mh-ps-spool-msg): Slimline docstring. Rename from mh-ps-spool-a-msg. 332 (mh-ps-spool-msg): Slimline docstring. Rename from
319 Rewrite to use existing show buffer when available. 333 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
334 available.
320 (mh-ps-print-range): Extract method from common code in 335 (mh-ps-print-range): Extract method from common code in
321 mh-ps-print-msg and mh-ps-print-msg-file. 336 mh-ps-print-msg and mh-ps-print-msg-file.
322 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s". 337 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
323 (mh-ps-print-msg-show): Delete. Can use either 338 (mh-ps-print-msg-show): Delete. Can use either
324 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with 339 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
325 new code in mh-ps-spool-msg. 340 new code in mh-ps-spool-msg.
326 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile. 341 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
327 Sync docstrings with manual. 342 Sync docstrings with manual.
328 (mh-ps-print-msg, mh-ps-print-msg-file) 343 (mh-ps-print-msg, mh-ps-print-msg-file)
329 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): 344 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
330 Sync docstrings with manual. 345 docstrings with manual.
331 346
332 * mh-utils.el (mh-show-ps-print-msg-show) 347 * mh-utils.el (mh-show-ps-print-msg-show)
333 mh-show-ps-print-toggle-mime): Delete. 348 mh-show-ps-print-toggle-mime): Delete.
@@ -336,17 +351,18 @@
336 mh-highlight-citation-p. 351 mh-highlight-citation-p.
337 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of 352 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
338 mhl-formfile. 353 mhl-formfile.
339 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. 354 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
340 Sync docstrings with manual. 355 docstrings with manual.
341 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): 356 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
342 Sync docstrings with manual. 357 docstrings with manual.
343 358
3442005-12-01 Bill Wohler <wohler@newt.com> 3592005-12-01 Bill Wohler <wohler@newt.com>
345 360
346 * mh-init.el (mh-defface-compat): Checkdoc fix. 361 * mh-init.el (mh-defface-compat): Checkdoc fix.
347 362
348 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist): 363 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
349 Bogofilter is lowercase except at beginning of sentence and in titles. 364 Bogofilter is lowercase except at beginning of sentence and in
365 titles.
350 366
3512005-11-04 Bill Wohler <wohler@newt.com> 3672005-11-04 Bill Wohler <wohler@newt.com>
352 368
@@ -355,13 +371,13 @@
355 371
356 * mh-init.el: Modify commentary since file is used for load and 372 * mh-init.el: Modify commentary since file is used for load and
357 initialization as well as setting and getting the variant. 373 initialization as well as setting and getting the variant.
358 (mh-min-colors-defined-flag, mh-defface-compat): 374 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
359 Move here from mh-customize.el. 375 mh-customize.el.
360 376
361 * mh-customize.el: Refactor faces. Move grayscale requirements 377 * mh-customize.el: Refactor faces. Move grayscale requirements
362 last before t. Use uniform line breaks. 378 last before t. Use uniform line breaks.
363 (mh-min-colors-defined-flag): New variable. 379 (mh-min-colors-defined-flag): New variable.
364 (mh-defface-compat): New function. Provides backward compatibility 380 (mh-defface-compat): New function. Provides backward compatibility
365 for face specs. 381 for face specs.
366 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to) 382 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
367 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg) 383 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
@@ -377,8 +393,8 @@
3772005-11-03 Bill Wohler <wohler@newt.com> 3932005-11-03 Bill Wohler <wohler@newt.com>
378 394
379 * mh-customize.el (mh-refile-preserves-sequences-flag) 395 * mh-customize.el (mh-refile-preserves-sequences-flag)
380 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): 396 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
381 Sync docstrings with manual. 397 docstrings with manual.
382 398
383 * mh-e.el (mh-update-sequences): Sync docstrings with manual. 399 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
384 400
@@ -388,15 +404,16 @@
388 404
3892005-11-01 Bill Wohler <wohler@newt.com> 4052005-11-01 Bill Wohler <wohler@newt.com>
390 406
391 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom. 407 * mh-comp.el (mh-redist-full-contents) Convert defvar to
408 defcustom.
392 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute) 409 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
393 (mh-reply, mh-send, mh-send-other-window) 410 (mh-reply, mh-send, mh-send-other-window)
394 (mh-fill-paragraph-function): Sync docstrings with manual. 411 (mh-fill-paragraph-function): Sync docstrings with manual.
395 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): 412 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
396 Rename msg argument to message (to make for a better docstring). 413 msg argument to message (to make for a better docstring).
397 414
398 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar 415 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
399 to defcustom. Rename by adding -flag. 416 to defcustom. Rename by adding -flag.
400 (mh-compose-forward-as-mime-flag) 417 (mh-compose-forward-as-mime-flag)
401 (mh-compose-letter-function, mh-forward-subject-format) 418 (mh-compose-letter-function, mh-forward-subject-format)
402 (mh-insert-x-mailer-flag, mh-reply-default-reply-to) 419 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
@@ -412,14 +429,14 @@
4122005-10-30 Bill Wohler <wohler@newt.com> 4292005-10-30 Bill Wohler <wohler@newt.com>
413 430
414 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp) 431 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
415 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): 432 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
416 Sync docstrings with manual. 433 docstrings with manual.
417 434
418 * mh-customize.el (mh-compose-space-does-completion-flag) 435 * mh-customize.el (mh-compose-space-does-completion-flag)
419 (mh-signature-separator-flag, mh-interpret-number-as-range-flag) 436 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
420 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On 437 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
421 means" to remain checkdoc clean and consistent with Emacs. 438 means" to remain checkdoc clean and consistent with Emacs. I
422 I raised this issue with the Emacs developers and Stallman agrees 439 raised this issue with the Emacs developers and Stallman agrees
423 that "On means" should be allowed in custom docstrings but that 440 that "On means" should be allowed in custom docstrings but that
424 this change requires thought and should wait until after the Emacs 441 this change requires thought and should wait until after the Emacs
425 22 release. 442 22 release.
@@ -431,27 +448,28 @@
431 448
432 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to 449 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
433 docstring. 450 docstring.
434 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): 451 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
435 New functions to check input for mh-adaptive-cmd-note-flag and 452 functions to check input for mh-adaptive-cmd-note-flag and
436 mh-scan-format-file respectively. 453 mh-scan-format-file respectively.
437 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes, 454 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
438 add :set. 455 add :set.
439 456
440 * mh-e.el: (mh-scan-field-destination-offset): New variable. 457 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
441 The destination is the -, t, b, c, or n character for Replied, To, cc, 458 destination is the -, t, b, c, or n character for Replied, To, cc,
442 Bcc, or Newsgroups respectively. 459 Bcc, or Newsgroups respectively.
443 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note) 460 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
444 Call new function mh-msg-num-width-to-column to make leap between 461 Call new function mh-msg-num-width-to-column to make leap between
445 width and column more explicit. 462 width and column more explicit.
446 (mh-msg-num-width-to-column): New function that steals logic from 463 (mh-msg-num-width-to-column): New function that steals logic from
447 old mh-set-cmd-note. Also, throw error if mh-scan-format-file 464 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
448 isn't t since we can't adapt the scan lines in this case. 465 isn't t since we can't adapt the scan lines in this case.
449 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will 466 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
450 make the documentation more clear. 467 make the documentation more clear.
451 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a 468 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
452 column, not a width. 469 column, not a width.
453 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new 470 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
454 variable mh-scan-field-destination-offset rather than hard-coding 1. 471 variable mh-scan-field-destination-offset rather than hard-coding
472 1.
455 473
456 * mh-utils.el (mh-cmd-note) Synced docstring with manual. 474 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
457 (mh-notate): Use new variable mh-scan-field-destination-offset 475 (mh-notate): Use new variable mh-scan-field-destination-offset
@@ -461,9 +479,9 @@
461 479
462 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag) 480 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
463 (mail-citation-hook): Quote URLs in docstrings and precede with 481 (mail-citation-hook): Quote URLs in docstrings and precede with
464 `URL'. The former will suppress checkdoc warnings, the latter will 482 `URL'. The former will suppress checkdoc warnings, the latter will
465 turn them into hyperlinks in Emacs 22 (I just added the code 483 turn them into hyperlinks in Emacs 22 (I just added the code to do
466 to do that today). 484 that today).
467 (mh-scan-format-file): Checkdoc fix. 485 (mh-scan-format-file): Checkdoc fix.
468 486
4692005-10-27 Bill Wohler <wohler@newt.com> 4872005-10-27 Bill Wohler <wohler@newt.com>
@@ -484,8 +502,8 @@
484 502
485 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead 503 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
486 of hard-coded string. 504 of hard-coded string.
487 (mh-mail-header-separator, mh-signature-separator-regexp): 505 (mh-mail-header-separator, mh-signature-separator-regexp): Use
488 Use "regular expression" in docstring instead of regexp. 506 "regular expression" in docstring instead of regexp.
489 (mh-scan-msg-number-regexp) 507 (mh-scan-msg-number-regexp)
490 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp) 508 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
491 (mh-scan-msg-format-string, mh-scan-msg-search-regexp) 509 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
@@ -514,8 +532,8 @@
514 532
5152005-10-23 Bill Wohler <wohler@newt.com> 5332005-10-23 Bill Wohler <wohler@newt.com>
516 534
517 * mh-customize.el (mh-interpret-number-as-range-flag): 535 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
518 Sync docstring with manual. 536 docstring with manual.
519 537
520 * mh-identity.el (mh-assoc-ignore-case): Merge with version in 538 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
521 mh-alias.el and move to mh-acros.el 539 mh-alias.el and move to mh-acros.el
@@ -547,7 +565,7 @@
547 presence of buffers of a given mode. 565 presence of buffers of a given mode.
548 (mh-tool-bar-define): New functions 566 (mh-tool-bar-define): New functions
549 mh-tool-bar-folder-buttons-init and 567 mh-tool-bar-folder-buttons-init and
550 mh-tool-bar-letter-buttons-init are defined. These functions are 568 mh-tool-bar-letter-buttons-init are defined. These functions are
551 used to create the tool-bar from the corresponding customizable 569 used to create the tool-bar from the corresponding customizable
552 variables. 570 variables.
553 571
@@ -559,33 +577,34 @@
559 577
5602005-10-23 Bill Wohler <wohler@newt.com> 5782005-10-23 Bill Wohler <wohler@newt.com>
561 579
562 * mh-comp.el (mh-letter-menu): 580 * mh-comp.el (mh-letter-menu): Rename
563 Rename mh-mhn-compose-external-compressed-tar to 581 mh-mhn-compose-external-compressed-tar to
564 mh-mh-compose-external-compressed-tar. 582 mh-mh-compose-external-compressed-tar. Rename
565 Rename mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. 583 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
566 Rename mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p 584 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
567 to mh-mh-directive-present-p. Rename mh-revert-mhn-edit to 585 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
568 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to 586 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
569 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn 587 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
570 to 'mh. 588 to 'mh.
571 (mh-insert-signature): Rename mh-mhn-directive-present-p to 589 (mh-insert-signature): Rename mh-mhn-directive-present-p to
572 mh-mh-directive-present-p. 590 mh-mh-directive-present-p.
573 (mh-send-letter): Rename mh-mhn-directive-present-p to 591 (mh-send-letter): Rename mh-mhn-directive-present-p to
574 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime. 592 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
575 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. 593 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
576 Rename mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. 594 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
577 Rename mh-mhn-compose-external-compressed-tar to 595 mh-mhn-compose-external-compressed-tar to
578 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit 596 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
579 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to 597 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
580 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to 598 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
581 mh-mh-compose-anon-ftp. Rename mh-mhn-compose-external-compressed-tar 599 mh-mh-compose-anon-ftp. Rename
582 to mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit 600 mh-mhn-compose-external-compressed-tar to
583 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to 601 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
602 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
584 mh-mh-compose-external-type. 603 mh-mh-compose-external-type.
585 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to 604 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
586 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo. 605 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
587 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): 606 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
588 Rename mh-yank-from-start-of-msg to mh-yank-behavior. 607 mh-yank-from-start-of-msg to mh-yank-behavior.
589 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature) 608 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
590 (mh-check-whom, mh-insert-auto-fields, mh-send-letter) 609 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
591 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string) 610 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
@@ -593,9 +612,11 @@
593 (mh-letter-complete-or-space, mh-letter-confirm-address) 612 (mh-letter-complete-or-space, mh-letter-confirm-address)
594 (mh-letter-next-header-field-or-indent) 613 (mh-letter-next-header-field-or-indent)
595 (mh-letter-previous-header-field) 614 (mh-letter-previous-header-field)
596 (mh-letter-toggle-header-field-display): Sync docstrings with manual. 615 (mh-letter-toggle-header-field-display): Sync docstrings with
616 manual.
597 617
598 * mh-customize.el (mh-edit-mhn-hook): Rename to mh-mh-to-mime-hook. 618 * mh-customize.el (mh-edit-mhn-hook): Rename to
619 mh-mh-to-mime-hook.
599 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior. 620 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
600 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh 621 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
601 and user-visible values from mhn and Gnus to MH and MML. 622 and user-visible values from mhn and Gnus to MH and MML.
@@ -624,13 +645,15 @@
624 (mh-mhn-compose-forw): Rename to mh-mh-forward-message. 645 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
625 (mh-mhn-compose-type): Rename to mh-mh-compose-type. 646 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
626 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp. 647 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
627 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type. 648 Rename mh-mhn-compose-external-type to
649 mh-mh-compose-external-type.
628 (mh-mhn-compose-external-compressed-tar): Rename to 650 (mh-mhn-compose-external-compressed-tar): Rename to
629 mh-mh-compose-external-compressed-tar. 651 mh-mh-compose-external-compressed-tar. Rename
630 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type. 652 mh-mhn-compose-external-type to mh-mh-compose-external-type.
631 (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type. 653 (mh-mhn-compose-external-type): Rename to
632 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to 654 mh-mh-compose-external-type.
633 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook. 655 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
656 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
634 Use correct program in message. 657 Use correct program in message.
635 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p. 658 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
636 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p. 659 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
@@ -644,8 +667,8 @@
644 (mh-mh-compose-external-type): Rename extra-param argument to 667 (mh-mh-compose-external-type): Rename extra-param argument to
645 parameters. 668 parameters.
646 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message) 669 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
647 (mh-mime-display-part, mh-mime-display-single): 670 (mh-mime-display-part, mh-mime-display-single): Rename
648 Rename mh-gnus-pgp-support-flag to mh-pgp-support-flag. 671 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
649 (mh-compose-insertion): Rename mh-mhn-compose-insertion to 672 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
650 mh-mh-attach-file. 673 mh-mh-attach-file.
651 (mh-compose-forward): Rename mh-mhn-compose-forw to 674 (mh-compose-forward): Rename mh-mhn-compose-forw to
@@ -665,13 +688,13 @@
665 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts): 688 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
666 Sync docstrings with manual. 689 Sync docstrings with manual.
667 690
668 * mh-utils.el (mh-gnus-pgp-support-flag): 691 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
669 Rename to mh-pgp-support-flag. 692 mh-pgp-support-flag.
670 693
6712005-10-17 Peter S Galbraith <psg@debian.org> 6942005-10-17 Peter S Galbraith <psg@debian.org>
672 695
673 * mh-identity.el (mh-identity-field-handler): 696 * mh-identity.el (mh-identity-field-handler): Use
674 Use `assoc-ignore-case' to compare against header field for mixed-case 697 `assoc-ignore-case' to compare against header field for mixed-case
675 "From:". 698 "From:".
676 699
6772005-10-17 Bill Wohler <wohler@newt.com> 7002005-10-17 Bill Wohler <wohler@newt.com>
@@ -679,7 +702,8 @@
679 * mh-customize.el (mh-folder-tool-bar-map): Rename image file 702 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
680 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose 703 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
681 to mail/compose, fld_open to fld-open. 704 to mail/compose, fld_open to fld-open.
682 (mh-letter-tool-bar-map): Rename image file mail_send to mail/send. 705 (mh-letter-tool-bar-map): Rename image file mail_send to
706 mail/send.
683 707
6842005-10-16 Bill Wohler <wohler@newt.com> 7082005-10-16 Bill Wohler <wohler@newt.com>
685 709
@@ -690,7 +714,7 @@
690 (mh-complete-word): Use it. 714 (mh-complete-word): Use it.
691 715
692 * mh-init.el (mh-image-load-path): Use locate-library to find 716 * mh-init.el (mh-image-load-path): Use locate-library to find
693 MH-E. This simplified the code a lot. Flattened out nested 717 MH-E. This simplified the code a lot. Flattened out nested
694 statements even more. 718 statements even more.
695 719
6962005-10-16 Satyaki Das <satyaki@theforce.stanford.edu> 7202005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
@@ -703,15 +727,15 @@
703 727
7042005-10-16 Masatake YAMATO <jet@gyve.org> 7282005-10-16 Masatake YAMATO <jet@gyve.org>
705 729
706 * mh-comp.el (mh-complete-word): Pass the common 730 * mh-comp.el (mh-complete-word): Pass the common prefix substring
707 prefix substring of completion to `display-completion-list'. 731 of completion to `display-completion-list'.
708 732
7092005-10-15 Satyaki Das <satyaki@theforce.stanford.edu> 7332005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
710 734
711 * mh-init.el (mh-image-load-path-called-flag): New variable which 735 * mh-init.el (mh-image-load-path-called-flag): New variable which
712 is used by mh-image-load-path so that it runs only once. 736 is used by mh-image-load-path so that it runs only once.
713 (mh-image-load-path): Modify so that it gets run only once. 737 (mh-image-load-path): Modify so that it gets run only once. Also
714 Also flatten out heavily nested if statements to make it clearer. 738 flatten out heavily nested if statements to make it clearer.
715 739
716 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs 740 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
717 to find images used in the toolbar. 741 to find images used in the toolbar.
@@ -730,16 +754,16 @@
730 754
7312005-10-14 Bill Wohler <wohler@newt.com> 7552005-10-14 Bill Wohler <wohler@newt.com>
732 756
733 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: 757 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
734 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines 758 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
735 need to be indented. 759 need to be indented.
736 760
737 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick 761 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
738 but the code that invoked the face had not been updated. 762 but the code that invoked the face had not been updated. Tick
739 Tick highlighting working again. 763 highlighting working again.
740 764
741 * mh-seq.el (mh-non-seq-mode-line-annotation): 765 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
742 Move make-variable-buffer-local call to top level to avoid warnings in 766 make-variable-buffer-local call to top level to avoid warnings in
743 CVS Emacs. 767 CVS Emacs.
744 768
745 * mh-comp.el (mh-insert-letter): Replace deprecated read-input 769 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
@@ -758,7 +782,7 @@
758 782
759 * ChangeLog: Move contents into ChangeLog.1 and trim. 783 * ChangeLog: Move contents into ChangeLog.1 and trim.
760 784
761 * ChangeLog.1: New file. Contains old ChangeLog. 785 * ChangeLog.1: New file. Contains old ChangeLog.
762 786
763 787
764 Copyright (C) 2005 Free Software Foundation, Inc. 788 Copyright (C) 2005 Free Software Foundation, Inc.
@@ -767,4 +791,8 @@
767 are permitted in any medium without royalty provided the copyright 791 are permitted in any medium without royalty provided the copyright
768 notice and this notice are preserved. 792 notice and this notice are preserved.
769 793
794;; Local Variables:
795;; sentence-end-double-space: nil
796;; End:
797
770;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51 798;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51
diff --git a/lisp/mh-e/mh-utils.el b/lisp/mh-e/mh-utils.el
index 9a6c1f488fd..b5d97a2be05 100644
--- a/lisp/mh-e/mh-utils.el
+++ b/lisp/mh-e/mh-utils.el
@@ -2382,7 +2382,6 @@ optional argument DEFAULT-STRING is non-nil, use it in the prompt
2382instead of DEFAULT. If ALLOW-ROOT-FOLDER-FLAG is non-nil then the 2382instead of DEFAULT. If ALLOW-ROOT-FOLDER-FLAG is non-nil then the
2383function will accept the folder +, which means all folders when 2383function will accept the folder +, which means all folders when
2384used in searching." 2384used in searching."
2385 ;; FIXME: can-create is unused!
2386 (if (null default) 2385 (if (null default)
2387 (setq default "")) 2386 (setq default ""))
2388 (let* ((default-string (cond (default-string (format " (default %s)" default-string)) 2387 (let* ((default-string (cond (default-string (format " (default %s)" default-string))
@@ -2417,6 +2416,7 @@ used in searching."
2417 (let ((new-file-flag 2416 (let ((new-file-flag
2418 (not (file-exists-p (mh-expand-file-name folder-name))))) 2417 (not (file-exists-p (mh-expand-file-name folder-name)))))
2419 (cond ((and new-file-flag 2418 (cond ((and new-file-flag
2419 can-create
2420 (y-or-n-p 2420 (y-or-n-p
2421 (format "Folder %s does not exist. Create it? " 2421 (format "Folder %s does not exist. Create it? "
2422 folder-name))) 2422 folder-name)))
@@ -2427,7 +2427,7 @@ used in searching."
2427 (mh-speed-add-folder folder-name)) 2427 (mh-speed-add-folder folder-name))
2428 (message "Creating %s...done" folder-name)) 2428 (message "Creating %s...done" folder-name))
2429 (new-file-flag 2429 (new-file-flag
2430 (error "Folder %s is not created" folder-name)) 2430 (error "Folder %s does not exist" folder-name))
2431 ((not (file-directory-p (mh-expand-file-name folder-name))) 2431 ((not (file-directory-p (mh-expand-file-name folder-name)))
2432 (error "\"%s\" is not a directory" 2432 (error "\"%s\" is not a directory"
2433 (mh-expand-file-name folder-name))))) 2433 (mh-expand-file-name folder-name)))))