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