.
[bpt/emacs.git] / lisp / mh-e / ChangeLog
CommitLineData
30f24016
BW
12006-01-15 Bill Wohler <wohler@newt.com>
2
3 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
4 needed to help remove dependency on mh-utils.
5
6 * mh-exec.el: New file. Move process support routines here from
7 mh-utils.el.
8
9 * mh-init.el (mh-utils): Remove require.
10 (mh-exec): Add require.
11 (mh-profile-component, mh-profile-component-value): Move here from
12 mh-utils.el.
13
14 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
15 dependencies on mh-utils.el.
16 (mh-profile-component, mh-profile-component-value): Move to
17 mh-init.el since that's the only place that uses them. (Other than
18 mh-alias.el; I'm thinking that mh-find-path can set variable from
19 the Aliasfile component like it does the other components).
20 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
21 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
22 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
23 (defvar, mh-exec-cmd-output)
24 (mh-exchange-point-and-mark-preserving-active-mark)
25 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
26 file mh-exec.el so that mh-init.el doesn't have to depend on
27 mh-utils.el, breaking circular dependency.
28
29 * mh-alias.el:
30 * mh-customize.el:
31 * mh-e.el:
32 * mh-funcs.el:
33 * mh-gnus.el:
34 * mh-identity.el:
35 * mh-inc.el:
36 * mh-junk.el:
37 * mh-mime.el:
38 * mh-print.el:
39 * mh-search.el:
40 * mh-seq.el:
41 * mh-speed.el: Added debugging statements (commented out) around
42 requires to help find dependency loops. Will remove them when
43 issues are resolved.
44
a4d7cec3
BW
452006-01-14 Bill Wohler <wohler@newt.com>
46
47 * mh-customize.el (mh-index): Rename group to mh-search and sort
48 group definition and options accordingly.
49 (mh-index-program): Rename to mh-search-program.
50 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
51 mh-search-p.
52 (mh-search-mode-hook): Change group from mh-index to mh-search.
53 (mh-index-folder): Rename to mh-search-folder. Change group from
54 mh-index to mh-search.
55
56 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
57 to mh-search-folder.
58
59 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
60 pick and grep are searchers too but aren't indexed.
61 (mh-index-execute-search-function): Rename to mh-search-function.
62 (mh-index-next-result-function): Rename to
63 mh-search-next-result-function.
64 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
65 (mh-search): Since redo-search-flag defaults to nil and is of
66 lesser importance, make it an optional argument and place it after
67 the folder and search-regexp arguments. Sync docstring with
68 manual.
69 (mh-search-mode-map): Autoload so that keys are shown in help even
70 before mh-search is loaded.
71 (mh-search-mode): Sync docstring with manual.
72 (mh-index-do-search): Rename argument indexer to searcher. Sync
73 docstring with manual.
74 (mh-pick-do-search): Sync docstring with manual.
75 (mh-index-p): Rename to mh-search-p.
76 (mh-indexer-choices): Rename to mh-search-choices.
77 (mh-index-choose): Rename to mh-search-choose. Rename argument
78 indexer to searcher.
79 (mh-swish++-execute-search, mh-swish-execute-search)
80 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
81 read the results" from docstring since these functions don't.
82 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
83 with manual.
84 (mh-index-generate-pretty-name): Prune -search from string so that
85 folder names for pick searches are the same as those of other
86 searches.
87
11db987f
BW
882006-01-13 Bill Wohler <wohler@newt.com>
89
4501e6fb
BW
90 * mh-acros.el (require): Added Satyaki's comment regarding what
91 needs to happen to remove this defadvice which caused a little
92 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
93 advices `require' incorrectly).
94
11db987f
BW
95 * mh-search.el (mh-index-next-result-function): Add format to
96 docstring.
97 (mh-mairix-next-result): Use nil instead of () which doesn't stand
98 out as well.
99 (mh-pick-execute-search): Operate across all folders if no folder
100 given and recurse folder(s).
101 (mh-pick-next-result): Handle new output.
102
103 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
104 (mh-children-p, mh-folder-list): New functions.
105
44140699
BW
1062006-01-12 Bill Wohler <wohler@newt.com>
107
108 * mh-search.el: New file containing contents of mh-index.el and
109 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
110 pick. Pick no longer sets the "search" sequence. Instead, it
111 brings up a folder view that we're accustomed to. (closes SF
112 #829207).
113 (mh-index-search): Rename to mh-search.
114 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
115 the Search to Perform Search and call mh-do-search. Add Search
116 with Pick menu item.
117 (mh-do-search): Delete.
118 (mh-search-mode): Rename from mh-pick-mode.
119 (MH-Search): Rename mode from MH-Pick.
120 (mh-search-mode-map): Rename from mh-pick-mode-map.
121 (mh-search-mode-help-messages): Rename from
122 mh-pick-mode-help-messages.
123 (mh-index-choose): Don't reuse the last value of mh-indexer; when
124 mh-pick-do-search sets it to 'pick, we don't necessarily want to
125 stay with that choice!
126
127 * mh-index.el:
128 * mh-pick.el: Merge into mh-search.el and delete.
129
130 * mh-customize.el (mh-index-program): Change mh-index-search to
131 mh-search in docstring.
132 (mh-tool-bar-search-function): Change default from
133 mh-search-folder to mh-search. Remove mh-search-folder as choice
134 and rename mh-index-search choice to mh-search. Fix docstring.
135 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
136 mh-search-folder to mh-search in docstring.
137
138 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
139 Indexed Search to Search. Use mh-search instead of
140 mh-index-search.
141 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
142 from mh-show-search-folder to mh-search.
143
144 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
145 mh-search-folder no longer creates the search sequence.
146
147 * mh-utils.el (mh-show-search-folder): Delete.
148 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
149 Change s from mh-show-search-folder to mh-search.
150 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
151 Search to Search. Use mh-search instead of mh-index-search.
152 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
153 here from deleted mh-index.el.
154
e1fbc812
BW
1552006-01-11 Bill Wohler <wohler@newt.com>
156
549afb31
BW
157 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
158 from mh-gnus.el.
159
160 * mh-gnus.el: Require mh-acros.
161 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
162
163 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
164 url-hexify-string to remove special characters from filenames
165 (closes SF #1396499). Note that this invalidates the existing
166 names in your cache so you might as well remove
167 ~/Mail/.mhe-x-image-cache/* now.
168 (url-unreserved-chars, url-hexify-string): Define if not defined.
169 Copied from url-util.el in Emacs22 for Emacs 21.
170
9c2cf222
BW
171 * mh-buffers.el: New file. Contains constants and code from
172 mh-index.el and mh-utils.el.
173
174 * mh-alias.el:
175 * mh-comp.el:
176 * mh-e.el:
177 * mh-funcs.el:
178 * mh-init.el:
179 * mh-junk.el:
180 * mh-mime.el:
181 * mh-print.el:
182 * mh-seq.el: Require new file mh-buffers.el.
183
184 * mh-index.el: Require new file mh-buffers.el.
185 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
186 mh-buffers.el.
187
188 * mh-utils.el: Require new file mh-buffers.el.
189 (mh-temp-buffer, mh-temp-fetch-buffer)
190 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
191 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
192 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
193 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
194
00b6a079
BW
195 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
196 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
197
191c8741
BW
1982006-01-10 Bill Wohler <wohler@newt.com>
199
c2134792 200 * mh-comp.el (mh-insert-letter): If you choose a different folder,
e1fbc812
BW
201 the cur message is used. Sync docstring with manual (closes SF
202 #1205890).
c2134792
BW
203
204 * mh-mime.el (mh-compose-forward): Use standard range argument
205 instead of messages. Use more powerful mh-read-range instead of
206 read-string. Sync docstring with manual (close SF #1205890).
207
191c8741
BW
208 * mh-index.el (mh-index-search): Checking mh-find-path-run is
209 unnecessary.
2898111c
BW
210 (mh-index-next-folder): Don't back up a line when going backwards
211 since this skips the current folder heading if point is on the
212 first message after the folder heading (closes SF #1126188).
191c8741
BW
213
214 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
215 it.
216 (mh-variants): Note variable isn't meant to be accessed directly;
217 use function mh-variants instead.
218 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
219 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
220 them. Updated to use mh-file-command-p which is more accurrate
221 than file-executable-p which returns t for directories.
222 (mh-file-command-p): Move here from mh-utils, since
223 mh-variant-*-info are the only functions to use it.
224 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
225 function mh-variants instead of variable. More robust.
226 (mh-find-path-run): Move here from mh-utils.el. Mention that
227 checking this variable is unnecessary.
228 (mh-find-path): Move here from mh-utils.el. With the advent of MH
229 variants and an mhparam command that doesn't work if there isn't
230 an MH profile, we can't get libdir for running install-mh. So
231 don't bother. If there's an issue with the environment, direct the
232 user to install MH and run install-mh (closes SF #835192). Don't
233 read ~/.mh_profile directly. Use mh-profile-component which uses
234 mhparam (closes SF #1016027).
235
236 * mh-utils.el (mh-get-profile-field): Rename to
237 mh-profile-component-value. Add colon to search removing
238 unnecessary addition of colon to field in mh-profile-component.
239 (mh-profile-component): Modify call to mh-profile-component-value
240 accordingly. Move next to mh-profile-component-value.
241 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
242 mh-init.el. It makes sense that code that is only run once per
243 session (more or less) is in mh-init.el rather than cluttering
244 mh-utils.el.
245 (mh-no-install, mh-install): Delete.
246
247 * mh-customize.el (mh-folder-msg-number):
248 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
249
04f6a2d1
BW
2502006-01-09 Bill Wohler <wohler@newt.com>
251
b981c52c
BW
252 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
253 patch from Satyaki from SF #1016027.
254
8f9efec8
BW
255 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
256 message, even if cur sequence is no longer present (closes SF
257 #1207247).
258
b6d8f743
BW
259 * mh-comp.el: Use ";; Shush compiler." comment consistently per
260 Mark's suggestion.
261 (mh-letter-mode): Derive from mail-mode and delete code copied
262 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
263 docstring.
264 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
265 (mh-to-field-choices): For consistency with mail-mode, add "a" for
266 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
267 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
268 (mh-to-fcc): Move setting of folder argument to interactive
269 argument as is the norm.
270 (mh-letter-complete-function-alist): Add mail-reply-to.
271 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
272 Mail-Followup-To, Reply-To, From).
273
90866475
BW
274 * mh-customize.el: Use ";; Forward definition." consistently.
275 Comment declaration to remind programmer to update forward
276 definition if default changes.
277
04f6a2d1
BW
278 * mh-funcs.el:
279 * mh-inc.el:
280 * mh-init.el:
281 * mh-mime.el:
282 * mh-seq.el:
283 * mh-utils.el: Use ";; Shush compiler." comment consistently per
284 Mark's suggestion.
285
7094eefe
BW
2862006-01-08 Bill Wohler <wohler@newt.com>
287
288 Removed code that was marked as Emacs 20 compatible that was
289 easily found showing how important it is to document such
290 things (closes SF #1359240). Feel free to nuke any other Emacs 20
291 peculiarities that you find. Wrapped code for shushing compiler
292 with (eval-when-compile), sometimes moving the defvars closer to
293 where they were used.
294
295 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
296 instead of mh-replace-in-string as mh-replace-in-string was
297 replaced by a more appropriate defsubst in mh-xemacs.el.
298
299 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
300 eval-when-compile.
301 (mh-file-is-vcard-p): Removed redundant test.
302
303 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
304 with eval-when-compile.
305 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
306 (mh-invisible-header-fields-default): Add forward definitions.
307 (mh-invisible-header-fields-default): Alphabetize.
308
309 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
310 eval-when-compile.
311 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
312 variables.
313 (mh-colors-available-p): Just call display-color-cells. It's on
314 all supported Emacsen (and defaliased on XEmacs).
315
316 * mh-funcs.el:
317 * mh-inc.el:
318 * mh-init.el: Wrap compiler-shushing defvars with
319 eval-when-compile.
320
321 * mh-identity.el: Don't need (mh-require-cl).
322
323 * mh-index.el: Don't need to load executable any more.
324
325 * mh-mime.el: Wrap compiler-shushing defvars with
326 eval-when-compile.
327 (mh-have-file-command): Initialize variable to 'undefined. Add
328 docstring. Update function of same name accordingly. Also don't
329 need to load executable any more.
330 (mh-mime-content-types): Delete.
331 (mh-minibuffer-read-type): Prompt user for type if
332 mh-file-mime-type returns application/octet-stream. Assume we have
333 mailcap-mime-types.
334 (mh-mime-display): Update error message.
335
336 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
337 with eval-when-compile.
338
339 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
340 with eval-when-compile.
341 (mh-clean-msg-header): Don't set after-change-functions to nil.
342 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
343 instead.
344
98b7b7ed
BW
3452006-01-07 Bill Wohler <wohler@newt.com>
346
3af622d5
BW
347 * mh-customize.el: Updated Faces documentation in header.
348 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
349 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
350
98b7b7ed
BW
351 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
352 tags inserted by Gnus gnus-summary-mail-forward (closes SF
353 #1399307).
354
836f2863
MB
3552006-01-03 Mark D. Baushke <mdb@gnu.org>
356
357 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
358 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
359
e69d4e02
BW
3602006-01-03 Bill Wohler <wohler@newt.com>
361
f9c53c97
BW
362 * mh-alias.el (mh-alias-add-alias): Grand message and error string
363 unification. Use single sentence if possible by using semicolon.
364 Don't end message with punctuation. Don't need format with
365 message. Quote messages as in docstrings: use `' around symbols,
366 \" for option choices. Don't use quotes around %s.
367
368 * mh-comp.el (mh-complete-word): Ditto.
369
370 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
371 (mh-scan-format-file-check): Ditto.
372
373 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
374 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
375 (mh-msg-num-width-to-column): Ditto.
376
377 * mh-identity.el (mh-identity-field-handler): Ditto.
378
379 * mh-index.el (mh-mairix-execute-search)
380 (mh-swish-execute-search, mh-swish++-execute-search)
381 (mh-namazu-execute-search): Ditto.
382
383 * mh-init.el (mh-variant-set): Ditto.
384
385 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
386 (mh-secure-message, mh-mime-display): Ditto.
387
388 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
389
390 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
391 (mh-read-range, mh-thread-container-subject): Ditto.
392
393 * mh-utils.el (mh-x-image-scale-and-display)
394 (mh-prompt-for-folder, mh-handle-process-error)
395 (mh-list-to-string-1): Ditto.
396
078cb314
BW
397 * mh-comp.el (mh-reply): Use standard default notation in
398 prompts (closes SF #1275933).
399
400 * mh-mime.el (mh-mime-save-parts): Ditto.
401
402 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
403
355ebcbf
BW
404 * mh-customize.el (mh-folder-msg-number): Snow is actually
405 off-white on low color displays which turns to white when bold.
406 This is unreadable on white backgrounds. Use snow with min-colors
407 requirement. Use cyan on low-color displays.
408
409 * mh-init.el (mh-defface-compat): On low-color displays, delete
410 the high-color display rather than simply strip the min-colors
411 requirement since the existing algorithm shadowed the desired
412 display on low-color displays.
413
e69d4e02
BW
414 * mh-alias.el (mh-alias-add-alias): Remove leading * from
415 docstring.
416
af435184
BW
4172006-01-02 Bill Wohler <wohler@newt.com>
418
419 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
420 docstring. Does this mean something in a defun?
421
422 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
423 Checkdoc fix.
424
425 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
426 so it reads better in docstring and manual. Sync docstring with
427 manual.
428
429 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
430
431 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
432
433 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
434 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
435 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
436 (mh-letter-complete-or-space, mh-letter-confirm-address)
437 (mh-letter-next-header-field-or-indent)
438 (mh-letter-previous-header-field): Ditto.
439
440 * mh-customize.el (mh-alias-completion-ignore-case-flag)
441 (mh-default-folder-for-message-function, mh-mml-method-default)
442 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
443 (mh-show-mode-hook) Ditto.
444
445 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
446
447 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
448 (mh-store-msg, mh-store-buffer): Ditto
449
450 * mh-index.el (mh-index-search, mh-index-do-search)
451 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
452
453 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
454
455 * mh-mime.el (mh-mh-compose-external-compressed-tar)
456 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
457 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
458 (mh-mml-secure-message-signencrypt): Ditto
459
460 * mh-pick.el (mh-search-folder): Ditto.
461
462 * mh-seq.el (mh-widen): Ditto.
463
464 * mh-utils.el (mh-show, mh-modify): Ditto.
465
285d1e0c
MB
4662006-01-02 Mark D. Baushke <mdb@gnu.org>
467
468 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
469
d49ed7d4
BW
4702006-01-01 Bill Wohler <wohler@newt.com>
471
472 * mh-customize.el: Sync docstrings with manual for faces and sort
473 them alphabetically.
474 (mh-faces): Move below mh-hooks.
475 (mh-folder-faces, mh-index-faces, mh-letter-faces)
476 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
477 hooks.
478 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
479 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
480 (mh-folder-body-face, mh-folder-cur-msg-face)
481 (mh-folder-cur-msg-number-face, mh-folder-date-face)
482 (mh-folder-followup-face, mh-folder-msg-number-face)
483 (mh-folder-deleted-face, mh-folder-refiled-face)
484 (mh-folder-subject-face, mh-folder-address-face)
485 (mh-folder-scan-format-face, mh-folder-to-face)
486 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
487 (mh-show-header-face, mh-show-pgg-good-face)
488 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
489 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
490 Delete.
491 (mh-folder-cur-msg): Unused. Delete.
492 (mh-folder-address): Use defface; inherit from mh-folder-subject.
493 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
494 Inherit from mh-folder-msg-number.
495 (mh-folder-deleted): Use defface. Inherit from
496 mh-folder-msg-number.
497 (mh-folder-sent-to-me-hint): New face. Inherit from
498 mh-folder-date.
499 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
500 Use defface. Inherit from mh-folder-followup.
501 (mh-show-xface): Inherit from mh-show-from and highlight.
502 (bw-face-generation, bw-toggle-faces)
503 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
504 variables, functions for toggling between old and new faces.
505
506 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
507 eval-when-compile. We should probably do this throughout.
508 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
509 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
510 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
511 (mh-scan-subject-regexp): Sync docstrings with manual
512 (mh-scan-format-regexp): Rename to
513 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
514 expression. Make expression more like the others (anchored at the
515 beginning of line). Sync docstrings with manual.
516 (mh-folder-font-lock-keywords): Use faces directly rather than
517 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
518 mh-scan-format-regexp, and within that expression, use faces
519 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
520 of mh-folder-date-face and mh-folder-scan-format-face which were
521 misleading.
522
523 * mh-mime.el (mh-mime-security-button-face): Use faces directly
524 rather than -face variables.
525
526 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
527 rather than -face variables.
528 (mh-face-foreground-compat, mh-face-background-compat): New macros.
529 (mh-face-display-function): Use mh-face-foreground-compat and
530 mh-face-background-compat to use inherited attributes of
531 mh-show-xface on Emacs 22 while still working on Emacs 21.
532
0d887b77
BW
5332005-12-28 Bill Wohler <wohler@newt.com>
534
535 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
536 mh-user-agent-compose instead of mh-smail-batch.
537
13fe29bd
BW
5382005-12-27 Bill Wohler <wohler@newt.com>
539
540 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
541 suppress creation of folder if it doesn't exist.
542
2bd87afb
SM
5432005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
544
545 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
546
5a4aad03
BW
5472005-12-23 Bill Wohler <wohler@newt.com>
548
7ba8dffd
BW
549 * mh-e.el (mh-folders-changed): Fix typo in docstring.
550
13fe29bd
BW
551 Follow MH-E Developers Guide conventions. Use `' quotes for Help
552 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
553 everything else. Otherwise, you can accidently get links to
5a4aad03 554 nonsense symbols.
2bd87afb 555
d1699462
BW
5562005-12-22 Bill Wohler <wohler@newt.com>
557
13fe29bd 558 Follow Emacs coding conventions. Use default setting of
2dcf34f9 559 emacs-lisp-docstring-fill-column which is 65.
2bd87afb 560
d1699462
BW
561 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
562
563 * mh-comp.el (mh-letter-mode): Use 60 column width.
564 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
565 with manual.
566 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
567 you have added a mail-citation-hook and neither are used if you
13fe29bd
BW
568 use one of the supercite flavors of mh-yank-behavior. Sync
569 docstrings with manual.
d1699462 570
13fe29bd
BW
571 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
572 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
573 hook. Use "Hook run by `function'..." instead of "Invoked...".
d1699462
BW
574 Sync docstrings with manual.
575 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
576 mh-ins-buf-prefix isn't used if you have added a
577 mail-citation-hook and neither are used if you use one of the
13fe29bd
BW
578 supercite flavors of mh-yank-behavior. Sync docstrings with
579 manual.
580 (mail-citation-hook): Delete. Use one in sendmail.el.
d1699462
BW
581 (mh-signature-file-name, mh-after-commands-processed-hook)
582 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
583 (mh-before-quit-hook, mh-before-send-letter-hook)
584 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
585 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
586 (mh-letter-mode-hook)
587 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
588 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
589 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
13fe29bd 590 of "Invoked...". Sync docstrings with manual.
d1699462
BW
591
592 * mh-e.el (mh-last-destination, mh-last-destination-folder)
593 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
594 (mh-delete-list, mh-refile-list, mh-folders-changed)
595 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
596 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
597 (mh-mode-line-annotation, mh-sequence-notation-history)
598 (mh-colors-available-flag): Move comment into docstring.
2bd87afb
SM
599 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
600 (mh-process-commands): Sync docstrings with manual.
d1699462
BW
601 (mh-refile-msg): Small doc edit.
602 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
603 Rename msg argument to message.
604
605 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
606
607 * mh-e.el (mh-update-unseen): No longer say "The value of
608 `foo-hook' is a list of functions to be called, with no arguments,
609 ...," but rather just "The hook foo-hook is called...".
610
2bd87afb 611 * mh-mime.el (mh-mh-to-mime): Ditto.
d1699462
BW
612
613 * mh-pick.el (mh-pick-mode): Ditto.
614
615 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
616 docstring.
617 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
618 into docstring.
13fe29bd
BW
619 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
620 manual.
d1699462 621
2bd87afb 6222005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2953de8c 623
13fe29bd
BW
624 * mh-customize.el (mh-after-commands-processed-hook): New
625 variable.
626 (mh-before-commands-processed-hook): Rename
627 mh-folder-updated-hook.
2953de8c 628
13fe29bd
BW
629 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
630 mh-before-commands-processed-hook, call new
2953de8c
SG
631 mh-after-commands-processed-hook.
632 (mh-folders-changed): New variable (for use in
633 mh-after-commands-processed-hook).
634
cee9f5c6
BW
6352005-12-19 Bill Wohler <wohler@newt.com>
636
637 * mh-acros.el:
638 * mh-alias.el:
639 * mh-comp.el:
640 * mh-customize.el:
641 * mh-e.el:
642 * mh-funcs.el:
643 * mh-gnus.el:
644 * mh-identity.el:
645 * mh-inc.el:
646 * mh-index.el:
647 * mh-init.el:
648 * mh-junk.el:
649 * mh-mime.el:
650 * mh-pick.el:
651 * mh-print.el:
652 * mh-seq.el:
653 * mh-speed.el:
654 * mh-utils.el:
13fe29bd
BW
655 Follow commenting conventions. Don't use ;;; form so much, except
656 for headings. Precede headings with page feed. This was mostly
657 already done, so I made it a convention. Did not update copyright
cee9f5c6
BW
658 on a couple of files since this was an insignificant change.
659
fa4075e3
BW
6602005-12-18 Bill Wohler <wohler@newt.com>
661
662 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
663 (mh-tool-bar-search-function): Sync docstrings with manual.
13fe29bd
BW
664 (mh-tool-bar-customize): Replace toolbar with tool bar in
665 docstring.
fa4075e3
BW
666 (mh-tool-bar-letter-help): Fix manual reference.
667 (mh-xemacs-use-toolbar-flag): Rename to
13fe29bd
BW
668 mh-xemacs-use-tool-bar-flag. Initialize to
669 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
fa4075e3 670 (mh-xemacs-toolbar-position): Rename to
13fe29bd 671 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
fa4075e3
BW
672 option (redundant) and change "Same As Default Tool Bar" setting
673 to nil. Sync docstrings with manual.
674 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
675 depending on context.
13fe29bd
BW
676 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
677 for calling set-specifier. Only look at the value of
678 mh-xemacs-use-tool-bar-flag.
679 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
680 docstrings with manual.
fa4075e3
BW
681
682 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
683 mh-toolbar-init.
684
685 * mh-e.el (mh-folder-mode): Ditto.
686
687 * mh-utils.el (mh-show-mode): Ditto.
688
7a5df5a9
BW
6892005-12-15 Bill Wohler <wohler@newt.com>
690
691 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
692
693 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
694 (mh-thread-previous-sibling, mh-thread-ancestor)
695 (mh-thread-delete, mh-thread-refile): Ditto.
696
6b960c10
BW
6972005-12-14 Bill Wohler <wohler@newt.com>
698
699 * mh-customize.el (mh-speed-flists-interval): Rename to
700 mh-speed-update-interval.
13fe29bd
BW
701 (mh-speed-run-flists-flag): Delete. Setting
702 mh-speed-flists-interval to 0 accomplishes the same thing.
6b960c10 703
13fe29bd
BW
704 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
705 mh-speed-update-interval instead of mh-speed-run-flists-flag.
706 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
707 docstrings with manual.
6b960c10 708
97c688ed
BW
7092005-12-09 Bill Wohler <wohler@newt.com>
710
711 * mh-customize.el (mh-path): Move here from mh-init.el.
712 (mh-variant): Mention that mh-path can be customized.
713 (mh-invisible-header-fields-internal): Add X-ContentStamp,
714 X-MAIL-INFO, and X-UNTD- from NetZero.
715
716 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
717
2be362c2
BW
7182005-12-04 Bill Wohler <wohler@newt.com>
719
f15ced66
BW
720 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
721 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
722 X-Virus-Scanned.
2bd87afb 723
13fe29bd
BW
724 * mh-customize.el (mh-insert-signature-hook): Rename
725 mh-letter-insert-signature-hook to mh-insert-signature-hook.
f15ced66
BW
726
727 * mh-comp.el (mh-insert-signature): Ditto.
728
56128d97 729 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
13fe29bd 730 to nil. Remove t option. Sync docstring with manual (closes SF
56128d97
BW
731 #831278).
732 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
733 users can see it, look it up in the manual's index, and discover
734 mh-fetch-x-image-url (closes SF #831278).
a932ce45 735
a8a47814
BW
736 * mh-customize.el (mh-new-messages-folders): Rename from
737 mh-index-new-messages-folders.
738 (mh-ticked-messages-folders): Rename from
739 mh-index-ticked-messages-folders.
2bd87afb 740
a8a47814
BW
741 * mh-index.el (mh-index-sequenced-messages)
742 (mh-index-new-messages): Ditto.
743
2be362c2 744 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
13fe29bd 745 in the docstrings and made usage consistent. Generally speaking,
2be362c2 746 "messages in range" and "range of messages" is redundant and just
13fe29bd 747 "range" can be used in most circumstances. Also ensured that
2be362c2 748 mh-interactive-range was mentioned in all interactive functions
f15ced66
BW
749 that use a range which describes the range argument for both users
750 and programmers.
2be362c2
BW
751
752 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
753 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
754 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
13fe29bd
BW
755 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
756 Ditto.
2be362c2 757
13fe29bd
BW
758 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
759 Ditto.
2be362c2
BW
760
761 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
762
763 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
764 (mh-ps-print-msg-file, mh-print-msg): Ditto.
765
766 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
767 (mh-narrow-to-range, mh-toggle-tick): Ditto.
768
553fb735
BW
7692005-12-01 Bill Wohler <wohler@newt.com>
770
771 Rewrote Reading Mail chapter in manual which affected mh-show
772 customization group and related functions.
2bd87afb 773
553fb735
BW
774 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
775 instead of mh-highlight-citation-p.
776 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
777 I think, so use "truncated".
778
779 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
13fe29bd 780 section is Folders, not Organizing. Parent of mh-folder-faces is
553fb735
BW
781 mh-folder, not mh-show.
782 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
783 (mh-thread): New group that corresponds with manual's Threading
784 chapter.
785 (mh-letter-faces): Group's manual section is Editing Drafts, not
786 Sending Mail.
13fe29bd
BW
787 (mh-sortm-args): New customization variable that used to be a
788 defvar.
553fb735
BW
789 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
790 Move from mh-index group to mh-folders group.
791 (mh-alias-local-users-prefix, mh-large-folder)
792 (mh-recursive-folders-flag, mh-before-quit-hook)
793 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
794 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
795 mh-folder group.
796 (mh-highlight-citation-style): Rename from
13fe29bd
BW
797 mh-highlight-citation-p. Sync docstrings with manual.
798 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
553fb735 799 with manual.
13fe29bd
BW
800 (mh-show-threads-flag): Move from mh-show group to mh-thread
801 group.
553fb735
BW
802 (mh-find-path-hook): Move from mh-show group to mh-e group.
803 (mh-folder-updated-hook): Add to mh-folder group.
804 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
805 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
806 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
807 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
808 (mh-display-buttons-for-inline-parts-flag)
809 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
810 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
811 (mh-invisible-header-fields-default, mh-invisible-header-fields)
812 (mh-lpr-command-format, mh-max-inline-image-height)
813 (mh-max-inline-image-width)
814 (mh-mime-save-parts-default-directory, mh-print-background-flag)
815 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
816 (mh-show-use-xface-flag, mh-store-default-directory)
817 (mh-summary-height, mh-delete-msg-hook
818 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2bd87afb 819
553fb735
BW
820 * mh-e.el
821 (mh-scan-format-mh, mh-scan-good-msg-regexp)
822 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
13fe29bd
BW
823 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
824 non-fontification instead of non-fontifying.
553fb735 825 (mh-header-display): Use mh-mhl-format-file instead of
13fe29bd 826 mhl-formfile. Sync docstrings with manual.
553fb735 827 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
13fe29bd 828 count. Sync docstrings with manual.
553fb735 829 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
13fe29bd
BW
830 so that message doesn't change when using this command. Sync
831 docstrings with manual.
832 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
833 docstrings with manual.
834 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
835 to no-header. Sync docstrings with manual.
553fb735
BW
836 (mh-ps-print-map): Delete keybindings for deleted commands
837 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2bd87afb 838 (mh-help-messages): Update printing help.
553fb735
BW
839 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
840 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
841 (mh-prev-button, mh-folder-toggle-mime-part)
842 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
843 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
844 manual.
845
13fe29bd
BW
846 * mh-funcs.el (mh-sortm-args): Now a customization option and in
847 mh-customize.el.
848 (mh-pipe-msg): Rename include-headers to include-header. Sync
849 docstrings with manual.
553fb735
BW
850 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
851 (mh-store-msg): Sync docstrings with manual.
852
13fe29bd
BW
853 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
854 docstrings with manual.
553fb735
BW
855 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
856 Sync docstrings with manual.
13fe29bd
BW
857 (mh-mm-display-part, mh-mm-inline-message): Use
858 mh-highlight-citation-style instead of mh-highlight-citation-p.
553fb735
BW
859 (mh-press-button): Sync docstrings with manual.
860 (mh-display-with-external-viewer): Fix default output in
13fe29bd 861 minibuffer. Sync docstrings with manual.
553fb735 862
13fe29bd
BW
863 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
864 Delete.
553fb735
BW
865 (mh-ps-print-color-option): Incorporate docstring from
866 ps-print-color-p.
13fe29bd
BW
867 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
868 docstring.
869 (mh-ps-spool-msg): Slimline docstring. Rename from
870 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
871 available.
553fb735
BW
872 (mh-ps-print-range): Extract method from common code in
873 mh-ps-print-msg and mh-ps-print-msg-file.
13fe29bd
BW
874 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
875 (mh-ps-print-msg-show): Delete. Can use either
553fb735
BW
876 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
877 new code in mh-ps-spool-msg.
878 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
879 Sync docstrings with manual.
880 (mh-ps-print-msg, mh-ps-print-msg-file)
13fe29bd
BW
881 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
882 docstrings with manual.
553fb735 883
2bd87afb 884 * mh-utils.el (mh-show-ps-print-msg-show)
553fb735 885 mh-show-ps-print-toggle-mime): Delete.
2bd87afb 886 (mh-show-ps-print-map): Update accordingly.
553fb735
BW
887 (mh-show-mode): Use mh-highlight-citation-style instead of
888 mh-highlight-citation-p.
889 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
890 mhl-formfile.
13fe29bd
BW
891 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
892 docstrings with manual.
893 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
894 docstrings with manual.
553fb735
BW
895
8962005-12-01 Bill Wohler <wohler@newt.com>
897
898 * mh-init.el (mh-defface-compat): Checkdoc fix.
899
900 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
13fe29bd
BW
901 Bogofilter is lowercase except at beginning of sentence and in
902 titles.
553fb735 903
94abd6b7
BW
9042005-11-04 Bill Wohler <wohler@newt.com>
905
6b19bd82
BW
906 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
907 Move to mh-init.el to minimize bulk of mh-customize.el.
908
909 * mh-init.el: Modify commentary since file is used for load and
910 initialization as well as setting and getting the variant.
13fe29bd
BW
911 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
912 mh-customize.el.
6b19bd82 913
13fe29bd
BW
914 * mh-customize.el: Refactor faces. Move grayscale requirements
915 last before t. Use uniform line breaks.
3d2efec2 916 (mh-min-colors-defined-flag): New variable.
13fe29bd 917 (mh-defface-compat): New function. Provides backward compatibility
3d2efec2 918 for face specs.
2bd87afb
SM
919 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
920 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
3d2efec2 921 (mh-folder-body): Use mh-defface-compat.
94abd6b7 922
b07e0686
DN
9232005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
924
925 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
926 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
927 (mh-folder-to-face): Use the min-colors attribute instead of the
928 type attribute.
929
be33fce4
BW
9302005-11-03 Bill Wohler <wohler@newt.com>
931
932 * mh-customize.el (mh-refile-preserves-sequences-flag)
13fe29bd
BW
933 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
934 docstrings with manual.
be33fce4
BW
935
936 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
937
2bd87afb 938 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
be33fce4
BW
939 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
940 with manual.
941
93eece98
BW
9422005-11-01 Bill Wohler <wohler@newt.com>
943
13fe29bd
BW
944 * mh-comp.el (mh-redist-full-contents) Convert defvar to
945 defcustom.
b2064e08
BW
946 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
947 (mh-reply, mh-send, mh-send-other-window)
948 (mh-fill-paragraph-function): Sync docstrings with manual.
13fe29bd
BW
949 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
950 msg argument to message (to make for a better docstring).
b2064e08
BW
951
952 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
13fe29bd 953 to defcustom. Rename by adding -flag.
b2064e08
BW
954 (mh-compose-forward-as-mime-flag)
955 (mh-compose-letter-function, mh-forward-subject-format)
956 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
957 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
958 with manual.
959
2bd87afb 960 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
93eece98 961 (mh-ps-print-msg): Remove debugging messages.
2bd87afb 962 (mh-ps-print-msg-show, mh-ps-print-msg-show)
93eece98
BW
963 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
964 after message per conventions.
965
fefc5079
BW
9662005-10-30 Bill Wohler <wohler@newt.com>
967
2bd87afb 968 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
13fe29bd
BW
969 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
970 docstrings with manual.
ece9cbf7 971
fefc5079
BW
972 * mh-customize.el (mh-compose-space-does-completion-flag)
973 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
974 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
13fe29bd
BW
975 means" to remain checkdoc clean and consistent with Emacs. I
976 raised this issue with the Emacs developers and Stallman agrees
fefc5079
BW
977 that "On means" should be allowed in custom docstrings but that
978 this change requires thought and should wait until after the Emacs
979 22 release.
980
ec397a34
BW
9812005-10-28 Bill Wohler <wohler@newt.com>
982
50df64d6
BW
983 * mh-comp.el (mh-annotate-msg): Use new variable
984 mh-scan-field-destination-offset rather than hard-coding 1.
985
986 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
987 docstring.
13fe29bd
BW
988 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
989 functions to check input for mh-adaptive-cmd-note-flag and
50df64d6
BW
990 mh-scan-format-file respectively.
991 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
992 add :set.
993
13fe29bd
BW
994 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
995 destination is the -, t, b, c, or n character for Replied, To, cc,
50df64d6
BW
996 Bcc, or Newsgroups respectively.
997 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
998 Call new function mh-msg-num-width-to-column to make leap between
999 width and column more explicit.
1000 (mh-msg-num-width-to-column): New function that steals logic from
13fe29bd 1001 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
50df64d6
BW
1002 isn't t since we can't adapt the scan lines in this case.
1003 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
1004 make the documentation more clear.
1005 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
1006 column, not a width.
1007 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
13fe29bd
BW
1008 variable mh-scan-field-destination-offset rather than hard-coding
1009 1.
50df64d6
BW
1010
1011 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
1012 (mh-notate): Use new variable mh-scan-field-destination-offset
1013 rather than hard-coding 1.
1014 (mh-message-number-width): Rename to mh-msg-num-width to be
1015 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
1016
ec397a34
BW
1017 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
1018 (mail-citation-hook): Quote URLs in docstrings and precede with
13fe29bd
BW
1019 `URL'. The former will suppress checkdoc warnings, the latter will
1020 turn them into hyperlinks in Emacs 22 (I just added the code to do
1021 that today).
ec397a34
BW
1022 (mh-scan-format-file): Checkdoc fix.
1023
169a3241
BW
10242005-10-27 Bill Wohler <wohler@newt.com>
1025
e069fa61
BW
1026 * mh-customize.el (mh-adaptive-cmd-note-flag)
1027 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
1028
1029 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
1030 (mh-note-cur, mh-scan-good-msg-regexp)
1031 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1032 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1033 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1034 (mh-scan-subject-regexp, mh-scan-format-regexp)
1035 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
1036 with manual.
1037
1038 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
1039
1040 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
1041 of hard-coded string.
13fe29bd
BW
1042 (mh-mail-header-separator, mh-signature-separator-regexp): Use
1043 "regular expression" in docstring instead of regexp.
e069fa61
BW
1044 (mh-scan-msg-number-regexp)
1045 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
1046 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
1047 (mh-cmd-note): Sync docstrings with manual.
1048
3b463df0
BW
1049 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
1050 Checkdoc fixes.
1051
1052 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2bd87afb
SM
1053
1054 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
1055 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1056 (mh-mml-secure-message-signencrypt): Ditto.
169a3241 1057
4a263988
BW
10582005-10-24 Bill Wohler <wohler@newt.com>
1059
1060 * mh-gnus.el: Load mml.el in order to see if
1061 mml-minibuffer-read-disposition is defined or not.
1062
1063 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
1064 mml autoloads.
1065
97c60a38
MB
10662005-10-23 Miles Bader <miles@gnu.org>
1067
1068 * .arch-inventory: New file.
1069
9a51cf9e
BW
10702005-10-23 Bill Wohler <wohler@newt.com>
1071
13fe29bd
BW
1072 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
1073 docstring with manual.
136e0283 1074
9a51cf9e
BW
1075 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
1076 mh-alias.el and move to mh-acros.el
1077
1078 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
1079 mh-identity.el and move to mh-acros.el
1080
1081 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
1082 mh-identity.el and mh-alias.el.
1083
1084 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
1085 warning in Emacs 22.
1086
1dd9796d
SD
10872005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
1088
1089 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
1090 assoc-string (if the function is available) and falls back on
1091 assoc-ignore-case if assoc-string is not found.
1092 (mh-identity-field-handler): Use mh-assoc-ignore-case since
1093 assoc-ignore-case is a obsolete function in Emacs 22.
1094
1095 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
1096 track of whether the tool-bar in mh-folder-mode has been
1097 initialized yet.
1098 (mh-folder-mode): Initialize the tool-bar for folders the first
1099 time we get into mh-letter-mode.
1100
1101 * mh-customize.el (mh-buffer-exists-p): New function which tests
1102 presence of buffers of a given mode.
1103 (mh-tool-bar-define): New functions
1104 mh-tool-bar-folder-buttons-init and
13fe29bd 1105 mh-tool-bar-letter-buttons-init are defined. These functions are
1dd9796d
SD
1106 used to create the tool-bar from the corresponding customizable
1107 variables.
1108
1109 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
1110 keeps track of whether the tool-bar in mh-letter-mode has been
1111 initialized yet.
1112 (mh-letter-mode): Initialize the tool-bar for drafts the first
1113 time we get into mh-letter-mode.
1114
0c47b17c
BW
11152005-10-23 Bill Wohler <wohler@newt.com>
1116
13fe29bd
BW
1117 * mh-comp.el (mh-letter-menu): Rename
1118 mh-mhn-compose-external-compressed-tar to
1119 mh-mh-compose-external-compressed-tar. Rename
1120 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
1121 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
1122 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
1123 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
1124 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
0c47b17c
BW
1125 to 'mh.
1126 (mh-insert-signature): Rename mh-mhn-directive-present-p to
1127 mh-mh-directive-present-p.
1128 (mh-send-letter): Rename mh-mhn-directive-present-p to
13fe29bd
BW
1129 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
1130 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
1131 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
1132 mh-mhn-compose-external-compressed-tar to
1133 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
1134 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
1135 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
1136 mh-mh-compose-anon-ftp. Rename
1137 mh-mhn-compose-external-compressed-tar to
1138 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
1139 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
0c47b17c
BW
1140 mh-mh-compose-external-type.
1141 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
1142 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
13fe29bd
BW
1143 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
1144 mh-yank-from-start-of-msg to mh-yank-behavior.
0c47b17c
BW
1145 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
1146 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
1147 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
1148 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1149 (mh-letter-complete-or-space, mh-letter-confirm-address)
1150 (mh-letter-next-header-field-or-indent)
1151 (mh-letter-previous-header-field)
13fe29bd
BW
1152 (mh-letter-toggle-header-field-display): Sync docstrings with
1153 manual.
0c47b17c 1154
13fe29bd
BW
1155 * mh-customize.el (mh-edit-mhn-hook): Rename to
1156 mh-mh-to-mime-hook.
0c47b17c
BW
1157 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
1158 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
1159 and user-visible values from mhn and Gnus to MH and MML.
2bd87afb 1160 (mh-before-send-letter-hook): Add 'ispell-message option.
0c47b17c
BW
1161 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
1162 mh-pgp-support-flag.
1163 (mh-compose-insertion, mh-compose-space-does-completion-flag)
1164 (mh-delete-yanked-msg-window-flag)
1165 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1166 (mh-letter-complete-function, mh-letter-fill-column)
1167 (mh-mml-method-default, mh-signature-file-name)
1168 (mh-signature-separator-flag, mh-x-face-file)
1169 (mh-yank-behavior, mail-citation-hook)
1170 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
1171 with manual.
1172
1173 * mh-gnus.el (mml-minibuffer-read-disposition): New function
1174 provided for Emacs 21 environments that lack it.
1175
1176 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
1177 prompt convention.
1178 (mh-compose-forward): mh-mh-forward-message requires string arg.
1179 (mh-minibuffer-read-type): New function.
1180 (mh-mhn-args): Rename to mh-mh-to-mime-args.
1181 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
1182 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
1183 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
1184 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
13fe29bd
BW
1185 Rename mh-mhn-compose-external-type to
1186 mh-mh-compose-external-type.
0c47b17c 1187 (mh-mhn-compose-external-compressed-tar): Rename to
13fe29bd
BW
1188 mh-mh-compose-external-compressed-tar. Rename
1189 mh-mhn-compose-external-type to mh-mh-compose-external-type.
1190 (mh-mhn-compose-external-type): Rename to
1191 mh-mh-compose-external-type.
1192 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
1193 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
0c47b17c
BW
1194 Use correct program in message.
1195 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
1196 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
1197 (mh-compose-forward, mh-mh-attach-file)
1198 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
1199 (mh-mh-compose-external-type, mh-mh-forward-message)
1200 (mh-mml-attach-file): Use mml-minibuffer-read-description,
1201 mh-minibuffer-read-type.
2bd87afb 1202 (mh-mime-content-types): Move comment about only being used in
0c47b17c
BW
1203 Emacs 20 to docstring.
1204 (mh-mh-compose-external-type): Rename extra-param argument to
1205 parameters.
2bd87afb 1206 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
13fe29bd
BW
1207 (mh-mime-display-part, mh-mime-display-single): Rename
1208 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
0c47b17c
BW
1209 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
1210 mh-mh-attach-file.
1211 (mh-compose-forward): Rename mh-mhn-compose-forw to
1212 mh-mh-forward-message.
1213 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
1214 mh-mh-compose-type.
1215 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
1216 (mh-mh-attach-file, mh-mh-compose-type)
1217 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
1218 (mh-mh-compose-external-compressed-tar)
1219 (mh-mh-compose-external-type, mh-mh-forward-message)
2bd87afb 1220 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
0c47b17c
BW
1221 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
1222 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
1223 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1224 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
1225 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
1226 Sync docstrings with manual.
1227
13fe29bd
BW
1228 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
1229 mh-pgp-support-flag.
0c47b17c 1230
fba3b4d8
PG
12312005-10-17 Peter S Galbraith <psg@debian.org>
1232
13fe29bd
BW
1233 * mh-identity.el (mh-identity-field-handler): Use
1234 `assoc-ignore-case' to compare against header field for mixed-case
fba3b4d8
PG
1235 "From:".
1236
ffda926c
BW
12372005-10-17 Bill Wohler <wohler@newt.com>
1238
2bd87afb 1239 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
ffda926c
BW
1240 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
1241 to mail/compose, fld_open to fld-open.
13fe29bd
BW
1242 (mh-letter-tool-bar-map): Rename image file mail_send to
1243 mail/send.
ffda926c 1244
8f552dc8
BW
12452005-10-16 Bill Wohler <wohler@newt.com>
1246
79af55a7
BW
1247 * mh-comp.el (mh-display-completion-list-compat): New macro which
1248 calls `display-completion-list' correctly in older environments.
1249 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
1250 argument.
1251 (mh-complete-word): Use it.
1252
8f552dc8 1253 * mh-init.el (mh-image-load-path): Use locate-library to find
13fe29bd 1254 MH-E. This simplified the code a lot. Flattened out nested
8f552dc8
BW
1255 statements even more.
1256
7c164e0c
SD
12572005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
1258
1259 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
1260 causes a compiler warning.
1261
1262 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
1263 the message to be viewed (closes SF #1306141).
1264
f5fab556
MY
12652005-10-16 Masatake YAMATO <jet@gyve.org>
1266
13fe29bd
BW
1267 * mh-comp.el (mh-complete-word): Pass the common prefix substring
1268 of completion to `display-completion-list'.
f5fab556 1269
2416ec64
SD
12702005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
1271
1272 * mh-init.el (mh-image-load-path-called-flag): New variable which
1273 is used by mh-image-load-path so that it runs only once.
13fe29bd
BW
1274 (mh-image-load-path): Modify so that it gets run only once. Also
1275 flatten out heavily nested if statements to make it clearer.
2416ec64
SD
1276
1277 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
1278 to find images used in the toolbar.
1279
1280 * mh-customize.el (:folder): Remove call to mh-image-load-path.
1281
a9954630
BW
12822005-10-14 Bill Wohler <wohler@newt.com>
1283
2bd87afb 1284 * mh-e.el (Version, mh-version): Add +cvs to version.
a9954630 1285
5b004a34
BW
12862005-10-14 Bill Wohler <wohler@newt.com>
1287
1288 Released MH-E version 7.85.
2bd87afb
SM
1289
1290 * mh-e.el (Version, mh-version): Update for release 7.85.
1291
a10f4ace
BW
12922005-10-14 Bill Wohler <wohler@newt.com>
1293
13fe29bd
BW
1294 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
1295 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2bd87afb
SM
1296 need to be indented.
1297
5b004a34 1298 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
13fe29bd
BW
1299 but the code that invoked the face had not been updated. Tick
1300 highlighting working again.
5b004a34 1301
13fe29bd
BW
1302 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
1303 make-variable-buffer-local call to top level to avoid warnings in
a10f4ace
BW
1304 CVS Emacs.
1305
2bd87afb 1306 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
a10f4ace
BW
1307 with read-string.
1308
a05fcb7d 13092005-10-09 Bill Wohler <wohler@newt.com>
c727526b 1310
a05fcb7d
BW
1311 * mh-init.el (mh-image-load-path): New function that adds the path
1312 to the MH-E images to the image-load-path or load-path depending
1313 on the version of Emacs.
c727526b 1314
a05fcb7d
BW
1315 * mh-customize.el: Call mh-image-load-path just before
1316 mh-tool-bar-define so that the toolbar images can be found.
d88a70a0 1317
a05fcb7d 13182005-10-04 Bill Wohler <wohler@newt.com>
d88a70a0 1319
2bd87afb
SM
1320 * ChangeLog: Move contents into ChangeLog.1 and trim.
1321
13fe29bd 1322 * ChangeLog.1: New file. Contains old ChangeLog.
900d1698 1323
47570699 1324
a05fcb7d 1325 Copyright (C) 2005 Free Software Foundation, Inc.
e9be14aa 1326
e495eaec
BW
1327 Copying and distribution of this file, with or without modification,
1328 are permitted in any medium without royalty provided the copyright
1329 notice and this notice are preserved.
ab5796a9 1330
13fe29bd
BW
1331;; Local Variables:
1332;; sentence-end-double-space: nil
1333;; End:
1334
ab5796a9 1335;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51