(File Name Cache): Make it clear that the cache is not persistent.
[bpt/emacs.git] / lisp / mh-e / ChangeLog
CommitLineData
83c3d14f 12006-03-27 Eric Ding <ericding@alum.mit.edu>
2e9aae14
ED
2
3 * mh-e.el (mh-invisible-header-fields-internal): Add entries
4 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail)
5
d79c9e9d
BW
62006-03-19 Bill Wohler <wohler@newt.com>
7
72cf2f2e
BW
8 * mh-comp.el (mh-reply): Sync docstring with manual.
9
d79c9e9d
BW
10 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
11 docstring.
12
1792673d
BW
132006-03-17 Bill Wohler <wohler@newt.com>
14
15 * mh-compat.el (mh-image-load-path-for-library): Minor docstring
16 fix.
17
e8b5a7ce
BW
182006-03-16 Bill Wohler <wohler@newt.com>
19
16b9a476
BW
20 * mh-comp.el (mh-send-letter): Use split-string to break up
21 mh-send-args (closes SF #1448604).
22 (mh-compose-and-send-mail): Use run-hook-with-args for
23 mh-compose-letter-function.
24
8d1ada53
BW
25 * mh-e.el (mh-list-to-string-1): Use dolist.
26
e8b5a7ce
BW
27 * mh-compat.el (mh-image-load-path-for-library): Prefer user's
28 images.
29
f875b154
BW
302006-03-15 Bill Wohler <wohler@newt.com>
31
32 * mh-compat.el (mh-image-load-path-for-library): Fix example by
33 not recommending that one binds image-load-path. Just defvar it to
34 placate compiler and only use it if previously defined.
35
36 * mh-e.el (image-load-path): Don't bind!
37
38 * mh-folder.el (mh-folder-mode): Only use image-load-path if
39 previously defined.
40
41 * mh-letter.el (mh-letter-mode): Ditto.
42
43 * mh-utils.el (mh-logo-display): Ditto.
44
44e3f440
BW
452006-03-14 Bill Wohler <wohler@newt.com>
46
47 * mh-compat.el (mh-image-load-path-for-library): Incorporate
48 changes from image-load-path-for-library, which are:
49 (image-load-path-for-library): Pass value of path rather than
50 symbol. Always return list of directories. Guarantee that image
51 directory comes first.
52
53 * mh-e.el (image-load-path): Define on those Emacsen that lack it
54 to avoid compile and run-time errors.
55
56 * mh-folder.el (mh-folder-mode): Use new idiom for setting
57 image-load-path.
58
59 * mh-letter.el (mh-letter-mode): Ditto.
60
61 * mh-utils.el (mh-logo-display): Ditto.
62
2044e8f1
BW
632006-03-12 Bill Wohler <wohler@newt.com>
64
65 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
66 #1448498).
67
0c32f8c6
BW
682006-03-10 Bill Wohler <wohler@newt.com>
69
4a732ae9
BW
70 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
71 flag to replace-in-string. This was badly needed by
72 mh-quote-pick-expr in order to properly quote subjects when using
73 / s on XEmacs (closes SF #1447598).
08f99a54
BW
74 (mh-image-load-path-for-library): Merged changes from Reiner. Add
75 no-error argument. If path t, just return directory.
4a732ae9 76
0c32f8c6
BW
77 * mh-e.el (mh-profile-component): Drop `s' from mhparam
78 -components for Mailutils compatibility (closes SF #1446985).
79
971a25ab
BW
802006-03-06 Bill Wohler <wohler@newt.com>
81
82 * mh-e.el (Version, mh-version): Add +cvs to version.
83
1af028e6
SD
842006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
85
86 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
87 handling of duplicate messages. The test in cond was too strong
88 and wasn't catching the case where origin-map was nil.
89
b1d9cef4
BW
902006-03-05 Bill Wohler <wohler@newt.com>
91
92 Release MH-E version 7.93.
93
94 * mh-e.el (Version, mh-version): Update for release 7.93.
95
fd5536d8
BW
962006-03-05 Bill Wohler <wohler@newt.com>
97
98 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
99 calling mh-image-load-path-for-library since this is the default.
100
101 * mh-letter.el (mh-letter-mode): Ditto.
102
103 * mh-utils.el (mh-logo-display): Ditto.
104
c80658b7
BW
1052006-03-04 Bill Wohler <wohler@newt.com>
106
107 * mh-compat.el (mh-image-load-path-for-library): Move here from
108 mh-utils.el and wrap with mh-defun-compat since this function will
109 be soon added to image.el.
110
111 * mh-utils.el (mh-image-load-path-for-library): Move to
112 mh-compat.el.
113 (mh-normalize-folder-name): Add return-nil-if-folder-empty
114 argument which is useful when calling mh-normalize-folder-name to
115 process the folder argument for the folders command.
116 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
117 this function more robust. It could too easily list the folders in
118 /.
119 (mh-folder-list): Fix a couple of problems pointed out by Thomas
120 Baumann. Set folder to nil if empty. Don't append "/" if folder
121 nil.
122
3fbc098d
BW
1232006-03-03 Bill Wohler <wohler@newt.com>
124
5e9edb94
BW
125 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
126 mh-image-load-path-for-library.
127
128 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
129 mh-image-load-path-for-library.
130
131 * mh-utils.el (mh-image-load-path): Rename to
132 mh-image-load-path-for-library. Add example to docstring. Rename
133 local variable mh-image-directory to image-directory. Move error
134 checks to default case in cond and simplify.
135
3fbc098d
BW
136 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
137 docstrings with manual.
138
efc27af6
BW
1392006-03-02 Bill Wohler <wohler@newt.com>
140
141 * mh-folder.el (mh-tool-bar-init): Autoload.
142 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
143 Set scoped variables image-load-path and load-path with updated
144 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
145
146 * mh-letter.el (mh-tool-bar-init): Autoload.
147 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
148 Set scoped variables image-load-path and load-path with updated
149 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
150
151 * mh-show.el (mh-tool-bar-init): Autoload.
152 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
153 GNU Emacs.
154
155 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
156 messages per conventions.
157 (mh-tool-bar-folder-buttons-init)
158 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
159 (mh-tool-bar-define call): Format.
160
c80658b7
BW
161 * mh-utils.el (mh-image-directory)
162 (mh-image-load-path-called-flag): Delete.
efc27af6
BW
163 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
164 changes are that it no longer uses/sets mh-image-directory or
165 mh-image-load-path-called-flag, and returns the updated path
166 rather than change it.
167 (mh-logo-display): Change usage of mh-image-load-path.
168
a9e22173
BW
1692006-02-28 Bill Wohler <wohler@newt.com>
170
052df334
BW
171 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
172 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
173 to subjects with special characters by quoting regular expression
174 characters in pick expression derived from existing subjects and
175 other fields (closes SF #1432548).
66b265f5
BW
176 (mh-narrow-to-subject): Remove Re: string from subject so that
177 pick can find originating message (closes SF #1438369).
052df334 178
a9e22173
BW
179 * mh-utils.el (mh-image-load-path): Rename variable to
180 mh-image-directory.
181 (mh-image-load-path): Access mh-image-directory instead of
182 mh-image-load-path.
898dda92
BW
183 (mh-folder-list): Fix problem with passing in a folder and getting
184 nothing back. Fix problem with passing in empty string and getting
185 the entire filesystem (or infinite loop). Don't append slash to
186 folder. These fixes fix problems observed with the pick search.
187 Thanks to Thomas Baumann for the help (closes SF #1435381).
052df334
BW
188 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
189 function for quoting pick regular expression characters (closes SF
190 #1432548).
a9e22173 191
a425dc3d
BW
1922006-02-27 Bill Wohler <wohler@newt.com>
193
bc4c8031
BW
194 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
195 with manual.
196
c99f6227 197 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
0659521f
BW
198 docstring about obsolete variable mh-mime-content-types.
199
abc46e90
BW
200 * mh-e.el (mh-variant): Sync docstring with manual.
201 (cus-face): Require as it is needed by mh-inherit-face-flag.
202
a425dc3d
BW
203 * mh-compat.el (mh-display-color-cells): Return 2 if
204 device-color-cells returns nil (closes SF #1436924).
205
206 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
207 mh-display-color-cells.
208
f669a69d
ED
2092006-02-21 Eric Ding <ericding@alum.mit.edu>
210
c99f6227 211 * mh-e.el (mh-invisible-header-fields-internal): Add entry
f669a69d
ED
212 "X-Sasl-enc:"
213
efd5b7df
ED
2142006-02-20 Eric Ding <ericding@alum.mit.edu>
215
c99f6227 216 * mh-e.el (mh-invisible-header-fields-internal): Add entries
efd5b7df
ED
217 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
218 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
219 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
220 "X-Roving-" by removing unnecessary "*" at end.
221
ae494f66
BW
2222006-02-19 Bill Wohler <wohler@newt.com>
223
224 * mh-alias.el (mh-address-mail-regexp)
225 (mh-goto-address-find-address-at-point): Delete copies from
226 goto-addr.el.
227 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
228 mh-address-mail-regexp.
229 (mh-alias-add-address-under-point): Use
230 goto-address-find-address-at-point instead of
231 mh-goto-address-find-address-at-point.
232
233 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
234
235 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
236 docstring.
237 (mh-show-addr): Call goto-address unconditionally. User should use
238 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
239
803c3044
BW
2402006-02-18 Bill Wohler <wohler@newt.com>
241
242 * mh-e.el (Version, mh-version): Add +cvs to version.
243
927967ee
BW
2442006-02-18 Bill Wohler <wohler@newt.com>
245
246 Release MH-E version 7.92.
247
248 * mh-e.el (Version, mh-version): Update for release 7.92.
249
6e69a0bf
BW
2502006-02-17 Bill Wohler <wohler@newt.com>
251
b95d0a24
BW
252 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
253 backgrounds per Mark's suggestion.
254
6e69a0bf
BW
255 * mh-utils.el (mh-image-load-path): Fix problem that images on
256 load-path or image-load-path would win over relative paths (newer
257 MH-E or Emacs distribution).
258
dccd067f
BW
2592006-02-16 Bill Wohler <wohler@newt.com>
260
6d21875b
BW
261 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
262 the defface :inherit keyword is available.
263 (mh-face-data): New variable (contains all face specs) and
264 function (accessor).
265 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
266 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
267 (mh-folder-msg-number, mh-folder-refiled)
268 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
269 (mh-folder-subject, mh-folder-tick, mh-folder-to)
270 (mh-search-folder, mh-letter-header-field, mh-show-cc)
271 (mh-show-date, mh-show-from)
272 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
273 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
274 (mh-show-to, mh-show-xface, mh-speedbar-folder)
275 (mh-speedbar-folder-with-unseen-messages)
276 (mh-speedbar-selected-folder)
277 (mh-speedbar-selected-folder-with-unseen-messages): Use
278 mh-face-data.
279
dccd067f
BW
280 * mh-utils.el (mh-image-load-path): The variables image-load-path
281 or load-path would not get updated if user set mh-image-load-path.
282 Moved tests and add-to-list calls outside of cond so they are
283 applied consistently, even if they are redundant in some
284 circumstances. Efficiency isn't a concern here. Made error
285 messages more user-friendly.
286
fc0f755f
PG
2872006-02-15 Peter S Galbraith <psg@debian.org>
288
289 * mh-compat.el (mh-image-search-load-path): Compatibility code.
290 Emacs 21 and XEmacs don't have `image-search-load-path'.
291
292 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
293 images are already found.
294
be397698
BW
2952006-02-10 Bill Wohler <wohler@newt.com>
296
297 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
298 rather than use defun*. XEmacs cannot create a proper autoload for
299 a defun*.
300
613cd8c5
BW
3012006-02-09 Bill Wohler <wohler@newt.com>
302
da01a066
BW
303 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
304 that causes an infinite loop on XEmacs.
305
613cd8c5
BW
306 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
307 argument.
308
201a821a
PG
3092006-02-08 Peter S Galbraith <psg@debian.org>
310
311 * mh-e.el (mh-invisible-header-fields-internal): Added entries
312 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
313
dc4d94d5
BW
3142006-02-04 Bill Wohler <wohler@newt.com>
315
316 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
317 has an emacsclient command that supports --eval. I had read that
318 gnudoit was deprecated in favor of gnuclient anyway.
319
7b0fed56 3202006-02-04 Eric Ding <ericding@alum.mit.edu>
39ee09ff 321
c99f6227 322 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
7b0fed56 323 handle OpenOffice documents.
39ee09ff 324
d4ff848f
BW
3252006-02-03 Bill Wohler <wohler@newt.com>
326
327 * mh-e.el (Version, mh-version): Add +cvs to version.
328
5f627e35
BW
3292006-02-03 Bill Wohler <wohler@newt.com>
330
331 Release MH-E version 7.91.
332
333 * mh-e.el (Version, mh-version): Update for release 7.91.
334
36685bff
BW
3352006-02-03 Bill Wohler <wohler@newt.com>
336
664ca6b2
BW
337 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
338 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
339 of local variable mh-library-name.
340
36685bff
BW
341 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
342 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
343 88) with (min-colors 64) in face specifications so that MH-E still
344 looks good on systems with fewer colors (such as Eric Ding's).
345
39ee09ff 3462006-02-03 Peter S Galbraith <psg@debian.org>
e1144ff6
PG
347
348 * mh-utils.el (mh-image-load-path): New variable to optionally
349 hold the directory where MH-E images are stored. If nil, then
350 the function `mh-image-load-path' will find it. This variable
351 will be used for Debian packaging.
352 (mh-image-load-path function): Use variable `mh-image-load-path'
353 if non-nil and exists.
354
f169fdd3
MB
3552006-02-03 Mark D. Baushke <mdb@gnu.org>
356
357 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
358 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
359 errors if describe-bindings is called before tool-bar-mode is used.
360
e6e91eda
PG
3612006-02-03 Peter S Galbraith <psg@debian.org>
362
363 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
364 `mh-url-unresrved-chars'.
365
5a286ce9
BW
3662006-02-02 Bill Wohler <wohler@newt.com>
367
368 * mh-e.el (Version, mh-version): Add +cvs to version.
369
8f58061a
BW
3702006-02-02 Bill Wohler <wohler@newt.com>
371
372 Release MH-E version 7.90.
373
374 * mh-e.el (Version, mh-version): Update for release 7.90.
375
d5dc8c56
BW
3762006-02-01 Bill Wohler <wohler@newt.com>
377
92486f28
BW
378 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
379
d5dc8c56
BW
380 * mh-alias.el (mh-alias-gecos-name): Use
381 mh-replace-regexp-in-string instead of replace-regexp-in-string.
382 (crm, multi-prompt): Use mh-require instead of require.
383 (mh-goto-address-find-address-at-point): Use
384 mh-line-beginning-position and mh-line-end-position instead of
385 line-beginning-position and line-end-position. Use
386 mh-match-string-no-properties instead of
387 match-string-no-properties.
388
389 * mh-comp.el (mh-modify-header-field): Use
390 mh-line-beginning-position and mh-line-end-position instead of
391 line-beginning-position and line-end-position.
392
393 * mh-compat.el (mailabbrev): Use mh-require instead of require.
394 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
395 (mh-face-background): Make docstring consistent.
396 (mh-require, mh-cancel-timer, mh-display-color-cells)
397 (mh-line-beginning-position, mh-line-end-position)
398 (mh-match-string-no-properties, mh-replace-regexp-in-string)
399 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
400 add mh- prefix since compatibility functions should have our
401 package prefix (mh-) by Emacs convention and to avoid messing up
402 checks for the same functions in other packages.
403
404 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
405 from mh-xemacs.el and rename.
406 (mh-xargs): Use mh-line-beginning-position and
407 mh-line-end-position instead of line-beginning-position and
408 line-end-position.
409 (mh-defface-compat): Use mh-display-color-cells instead of
410 display-color-cells.
411
412 * mh-folder.el (which-func): Use mh-require instead of require.
413
414 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
415 view-mode-enter.
416
417 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
418 mh-require instead of require.
419
420 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
421 (mh-letter-next-header-field): Use mh-line-beginning-position and
422 mh-line-end-position instead of line-beginning-position and
423 line-end-position.
424
425 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
426 mh-match-string-no-properties instead of
427 match-string-no-properties.
428 (mh-narrow-to-header-field): Use mh-line-beginning-position and
429 mh-line-end-position instead of line-beginning-position and
430 line-end-position.
431
432 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
433 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
434 mh-line-beginning-position and mh-line-end-position instead of
435 line-beginning-position and line-end-position.
436
437 * mh-search.el (which-func): Use mh-require instead of require.
438 (mh-make-pick-template, mh-index-visit-folder)
439 (mh-pick-parse-search-buffer, mh-swish-next-result)
440 (mh-mairix-next-result, mh-namazu-next-result)
441 (mh-pick-next-result, mh-grep-next-result)
442 (mh-index-create-imenu-index, mh-index-match-checksum)
443 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
444 mh-line-beginning-position and mh-line-end-position instead of
445 line-beginning-position and line-end-position.
446
447 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
448 view-mode-enter.
449 (mh-folder-size-flist, mh-parse-flist-output-line)
450 (mh-add-sequence-notation): Use mh-line-beginning-position and
451 mh-line-end-position instead of line-beginning-position and
452 line-end-position.
453
454 * mh-show.el (mh-show-addr): Use mh-require instead of require.
455
456 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
457 (mh-speed-view, mh-folder-speedbar-buttons)
458 (mh-speed-highlight, mh-speed-goto-folder)
459 (mh-speed-add-buttons, mh-speed-parse-flists-output)
460 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
461 (mh-speed-add-folder): Use mh-line-beginning-position and
462 mh-line-end-position instead of line-beginning-position and
463 line-end-position.
464 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
465
466 * mh-thread.el (mh-thread-find-children)
467 (mh-thread-parse-scan-line, mh-thread-generate): Use
468 mh-line-beginning-position and mh-line-end-position instead of
469 line-beginning-position and line-end-position.
470
471 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
472 instead of display-color-cells.
473 (mh-folder-list): Use mh-replace-regexp-in-string instead of
474 replace-regexp-in-string.
475 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
476 Use mh-line-beginning-position and mh-line-end-position instead of
477 line-beginning-position and line-end-position.
478
479 * mh-comp.el (mh-send-sub): Don't find components file in current
480 directory--this seems to have been a side-effect of commenting out
481 the use of an old mh-etc variable. Improve error message.
482
06e7028b
BW
4832006-01-31 Bill Wohler <wohler@newt.com>
484
485 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
486 argument since compatibility functions should have our package
487 prefix (mh-) by Emacs convention and to avoid messing up checks
488 for the same functions in other packages. Use explicit argument
d5dc8c56 489 instead of forming name by adding mh- prefix so that one can grep
06e7028b
BW
490 and find the definition.
491
492 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
493 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
494 mh-assoc-string instead of assoc-string.
495
496 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
497 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
498 here from mh-utils.el.
499 (mh-display-completion-list): Move here from mh-comp.el.
500 (mh-face-foreground, mh-face-background): Move here from
501 mh-xface.el.
502 (mh-write-file-functions): Move here from mh-folder.el
503
504 * mh-folder.el (mh-write-file-functions-compat): Move to
505 mh-compat.el and rename to mh-write-file-functions.
506 (mh-folder-mode): Use the new name.
507
508 * mh-gnus.el (gnus-local-map-property): Rename to
509 mh-gnus-local-map-property.
510 (mm-merge-handles): Rename to mh-mm-merge-handles.
511 (mm-set-handle-multipart-parameter): Rename to
512 mh-mm-set-handle-multipart-parameter.
513 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
514 (mm-possibly-verify-or-decrypt): Rename to
515 mh-mm-possibly-verify-or-decrypt.
516 (mm-handle-multipart-ctl-parameter): Rename to
517 mh-mm-handle-multipart-ctl-parameter.
518 (mm-readable-p): Rename to mh-mm-readable-p.
519 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
520 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
521 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
522 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
523 (mml-minibuffer-read-disposition): Rename to
524 mh-mml-minibuffer-read-disposition.
525
526 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
527 instead of assoc-string.
528
529 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
530 (mh-mime-display, mh-mime-display-security)
531 (mh-insert-mime-button, mh-insert-mime-security-button)
532 (mh-handle-set-external-undisplayer)
533 (mh-mime-security-press-button, mh-mime-security-show-details)
534 (mh-mml-attach-file, mh-mime-cleanup)
535 (mh-destroy-postponed-handles): Use new mh-* names for
536 compatibility functions.
537
538 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
539 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
540 (mh-beginning-of-word): Use the new name.
541 (mh-get-field): Delete ancient alias.
542
543 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
544 and rename to mh-face-foreground
545 (mh-face-background-compat): Move to mh-compat.el
546 and rename to mh-face-background.
547 (mh-face-display-function): Use the new names.
548 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
549 instead of url-hexify-string.
550 (url-unreserved-chars): Move to mh-compat.el and rename to
551 mh-url-unreserved-chars.
552 (url-hexify-string): Move to mh-compat.el and rename to
553 mh-url-hexify-string.
554
555 * mh-letter.el (mh-complete-word): Fix bug in call to
556 mh-display-completion-list. Wrong argument was passed, so
557 completions wouldn't show highlighted prefix.
558
a2c30782
BW
5592006-01-29 Bill Wohler <wohler@newt.com>
560
fd61b9ab
BW
561 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
562 mh-adaptive-cmd-note-flag.
563
090ccc5d
BW
564 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
565 docstring. sc-cite-original is autoloaded via loaddefs.el for all
566 supported versions. In addition, the package name "sc" has been
567 made obsolete by "supercite since at least Emacs 21.
568
3bdb2567
BW
569 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
570 revealed character constants that were still strings (closes SF
571 #770772).
572
a55f450f
BW
573 * mh-comp.el (mh-letter-hide-all-skipped-fields)
574 (mh-get-header-field): Move to mh-utils.el so that you can read
575 messages without having to load mh-comp.el and mh-letter.el.
576
577 * mh-letter.el (mh-hidden-header-keymap)
578 (mh-letter-toggle-header-field-display)
579 (mh-letter-skipped-header-field-p)
580 (mh-letter-skip-leading-whitespace-in-header-field)
581 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
582 can read messages without having to load mh-comp.el and
583 mh-letter.el.
584
585 * mh-utils.el (mh-get-header-field)
586 (mh-letter-hide-all-skipped-fields)
587 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
588 (mh-letter-toggle-header-field-display)
589 (mh-letter-skip-leading-whitespace-in-header-field)
590 (mh-letter-truncate-header-field): Move here from mh-comp.el and
591 mh-letter.el so that you can read messages without having to load
592 mh-comp.el and mh-letter.el.
593
a2c30782
BW
594 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
595 least, will deliver them to us.
596
597 * mh-e.el (mh-after-commands-processed-hook)
598 (mh-before-commands-processed-hook): Specify what sort of requests
599 in docstring.
600
601 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
602 minor-mode-alias.
603
604 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
605 to shush compiler.
606 (mh-letter-mode): Remove Mail menu.
607
dda00b2c
BW
6082006-01-29 Bill Wohler <wohler@newt.com>
609
610 The Great Cleanup
611 Remove circular dependencies. mh-e.el now includes few require
612 statements and stands alone. Other files should need to require
613 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
614 such as mh-scan.el.
615 Remove unneeded require statements.
616 Remove unneeded load statements, or replace them with non-fatal
617 require statements.
618 Break out components into their own files that were often spread
619 between many files.
620 As a result, many functions that are now only used within a single
621 file no longer need to be autoloaded.
622 Rearrange and provide consistent headings.
623 Untabify.
624
625 * mh-acros.el: Update commentary to reflect current usage. Add
626 autoload cookies to all macros.
627 (mh-require-cl): Merge docstring and comment.
628 (mh-do-in-xemacs): Fix typo in docstring.
629 (assoc-string): Move to new file mh-compat.el.
630 (with-mh-folder-updating, mh-in-show-buffer)
631 (mh-do-at-event-location, mh-seq-msgs): Move here from
632 mh-utils.el.
633 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
634 from mh-seq.el.
635
636 * mh-alias.el (mh-address-mail-regexp)
637 (mh-goto-address-find-address-at-point): Move here from
638 mh-utils.el.
639 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
640
641 * mh-buffers.el: Update descriptive text.
642
643 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
644 new file mh-scan.el.
645 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
646 (mh-letter-menu, mh-letter-mode-help-messages)
647 (mh-letter-buttons-init-flag, mh-letter-mode)
648 (mh-font-lock-field-data, mh-letter-header-end)
649 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
650 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
651 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
652 (mh-filter-out-non-text, mh-insert-prefix-string)
653 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
654 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
655 (mh-letter-complete, mh-letter-complete-or-space)
656 (mh-letter-confirm-address, mh-letter-header-field-at-point)
657 (mh-letter-next-header-field-or-indent)
658 (mh-letter-next-header-field, mh-letter-previous-header-field)
659 (mh-letter-skipped-header-field-p)
660 (mh-letter-skip-leading-whitespace-in-header-field)
661 (mh-hidden-header-keymap)
662 (mh-letter-toggle-header-field-display-button)
663 (mh-letter-toggle-header-field-display)
664 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
665 file mh-letter.el.
666 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
667 (mh-pgp-support-flag, mh-x-mailer-string)
668 (mh-letter-header-field-regexp): Move to mh-e.el.
669 (mh-goto-header-field, mh-goto-header-end)
670 (mh-extract-from-header-value, mh-beginning-of-word): Move to
671 mh-utils.el.
672 (mh-insert-header-separator): Move to mh-comp.el.
673 (mh-display-completion-list-compat): Move to new file
674 mh-compat.el.
675
676 * mh-compat.el: New file.
677 (assoc-string): Move here from mh-acros.el.
678 (mh-display-completion-list): Move here from mh-comp.el.
679
680 * mh-customize.el: Move content into mh-e.el and remove.
681
682 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
683 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
684 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
685 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
686 declared here so that they can be used in docstrings.
687 (mh-sent-from-folder, mh-sent-from-msg)
688 (mh-letter-header-field-regexp, mh-pgp-support-flag)
689 (mh-x-mailer-string): Move here from mh-comp.el.
690 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
691 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
692 here from mh-seq.el.
693 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
694 (mh-previous-window-config, mh-seen-list, mh-seq-list)
695 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
696 (mh-show-folder-buffer, mh-mail-header-separator)
697 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
698 (mh-signature-separator, mh-signature-separator-regexp)
699 (mh-list-to-string, mh-list-to-string-1): Move here from
700 mh-utils.el.
701 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
702 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
703 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
704 (mh-exec-cmd-output)
705 (mh-exchange-point-and-mark-preserving-active-mark)
706 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
707 deprecated file mh-exec.el.
708 (mh-path): Move here from deprecated file mh-customize.el.
709 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
710 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
711 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
712 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
713 (mh-profile-component-value, mh-defface-compat): Move here from
714 deprecated file mh-init.el.
715 (mh-goto-next-button, mh-folder-mime-action)
716 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
717 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
718 mh-mime.el.
719 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
720 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
721 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
722 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
723 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
724 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
725 (mh-scan-cmd-note-width, mh-scan-destination-width)
726 (mh-scan-date-width, mh-scan-date-flag-width)
727 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
728 (mh-scan-field-destination-offset)
729 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
730 (mh-scan-field-subject-start-offset, mh-scan-format)
731 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
732 mh-scan.el.
733 (mh-partial-folder-mode-line-annotation)
734 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
735 (mh-generate-sequence-font-lock, mh-last-destination)
736 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
737 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
738 (mh-execute-commands, mh-first-msg, mh-header-display)
739 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
740 (mh-folder-from-address, mh-prompt-for-refile-folder)
741 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
742 (mh-previous-page, mh-previous-undeleted-msg)
743 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
744 (mh-reset-threads-and-narrowing, mh-rescan-folder)
745 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
746 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
747 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
748 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
749 (mh-folder-sequence-menu, mh-folder-message-menu)
750 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
751 (mh-write-file-functions-compat, mh-folder-mode)
752 (mh-restore-desktop-buffer, mh-scan-folder)
753 (mh-regenerate-headers, mh-generate-new-cmd-note)
754 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
755 (mh-process-or-undo-commands, mh-process-commands)
756 (mh-update-unseen, mh-delete-scan-msgs)
757 (mh-outstanding-commands-p): Move to new file mh-folder.el.
758 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
759 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
760 (mh-lessp): Move to mh-utils.el.
761 (mh-parse-flist-output-line, mh-folder-size-folder)
762 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
763 (mh-remove-sequence-notation, mh-remove-cur-notation)
764 (mh-remove-all-notation, mh-delete-seq-locally)
765 (mh-read-folder-sequences, mh-read-msg-list)
766 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
767 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
768 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
769 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
770 (mh-xemacs-flag)
771 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
772 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
773 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
774 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
775 (mh-faces, mh-alias-completion-ignore-case-flag)
776 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
777 (mh-alias-insert-file, mh-alias-insertion-location)
778 (mh-alias-local-users, mh-alias-local-users-prefix)
779 (mh-alias-passwd-gecos-comma-separator-flag)
780 (mh-new-messages-folders, mh-ticked-messages-folders)
781 (mh-large-folder, mh-recenter-summary-flag)
782 (mh-recursive-folders-flag, mh-sortm-args)
783 (mh-default-folder-for-message-function, mh-default-folder-list)
784 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
785 (mh-identity-list, mh-auto-fields-list)
786 (mh-auto-fields-prompt-flag, mh-identity-default)
787 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
788 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
789 (mh-junk-background, mh-junk-disposition, mh-junk-program)
790 (mh-compose-insertion, mh-compose-skipped-header-fields)
791 (mh-compose-space-does-completion-flag)
792 (mh-delete-yanked-msg-window-flag)
793 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
794 (mh-letter-complete-function, mh-letter-fill-column)
795 (mh-mml-method-default, mh-signature-file-name)
796 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
797 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
798 (mh-scan-format-file-check, mh-scan-format-file)
799 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
800 (mh-search-program, mh-compose-forward-as-mime-flag)
801 (mh-compose-letter-function, mh-compose-prompt-flag)
802 (mh-forward-subject-format, mh-insert-x-mailer-flag)
803 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
804 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
805 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
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-highlight-citation-style)
812 (mh-invisible-header-fields-internal)
813 (mh-delay-invisible-header-generation-flag)
814 (mh-invisible-header-fields, mh-invisible-header-fields-default)
815 (mh-invisible-header-fields-compiled, mh-invisible-headers)
816 (mh-lpr-command-format, mh-max-inline-image-height)
817 (mh-max-inline-image-width, mh-mhl-format-file)
818 (mh-mime-save-parts-default-directory, mh-print-background-flag)
819 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
820 (mh-show-use-xface-flag, mh-store-default-directory)
821 (mh-summary-height, mh-speed-update-interval)
822 (mh-show-threads-flag, mh-tool-bar-search-function)
823 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
824 (mh-before-commands-processed-hook, mh-before-quit-hook)
825 (mh-before-send-letter-hook, mh-delete-msg-hook)
826 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
827 (mh-inc-folder-hook, mh-insert-signature-hook)
828 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
829 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
830 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
831 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
832 (mh-folder-address, mh-folder-body)
833 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
834 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
835 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
836 (mh-folder-subject, mh-folder-tick, mh-folder-to)
837 (mh-search-folder, mh-letter-header-field, mh-show-cc)
838 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
839 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
840 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
841 (mh-speedbar-folder-with-unseen-messages)
842 (mh-speedbar-selected-folder)
843 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
844 deprecated file mh-customize.el.
845
846 * mh-exec.el: Move content into mh-e.el and remove.
847
848 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
849
850 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
851 mh-scan.el.
852 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
853
854 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
855 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
856 to mail-abbrev-make-syntax-table.
857
858 * mh-identity.el (mh-identity-menu): New variable for existing
859 menu.
860 (mh-identity-make-menu-no-autoload): New alias for
861 mh-identity-make-menu which can be called from mh-e.el.
862 (mh-identity-list-set): Move to mh-e.el.
863 (mh-identity-add-menu): New function
864 (mh-insert-identity): Add optional argument maybe-insert so that
865 local variable mh-identity-local does not have to be visible.
866 (mh-identity-handler-default):
867
868 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
869 rest of keymaps). Update key binding for ? to call mh-help with
870 help messages in new argument.
871 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
872 which can be called from mh-e.el.
873 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
874
875 * mh-init.el: Move content into mh-e.el and remove.
876
877 * mh-junk.el: Update requires, untabify, and add mh-autoload
878 cookies.
879
880 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
881
882 * mh-limit.el: New file. Contains display limit commands from
883 mh-mime.el.
884
885 * mh-mime.el: Rearrange for consistency with other files.
886 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
887 mh-utils.el.
888 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
889 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
890 (mh-goto-next-button): Move here from mh-e.el.
891
892 * mh-print.el: Rearrange for consistency with other files.
893
894 * mh-scan.el: New file. Contains scan line constants and utilities
895 from XXX, mh-funcs, mh-utils.el.
896
897 * mh-search.el: Rearrange for consistency with other files.
898 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
899 fields which don't exist in the saved header. Replace C-c C-f f
900 with C-c C-f m per mail-mode consistency.
901 (mh-search-mode): Use mh-set-help instead of setting
902 mh-help-messages.
903
904 * mh-seq.el (mh-thread-message, mh-thread-container)
905 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
906 (mh-thread-id-index-map, mh-thread-index-id-map)
907 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
908 (mh-thread-subject-container-hash, mh-thread-duplicates)
909 (mh-thread-history, mh-thread-body-width)
910 (mh-thread-find-msg-subject mh-thread-initialize-hash)
911 (mh-thread-initialize, mh-thread-id-container)
912 (mh-thread-remove-parent-link, mh-thread-add-link)
913 (mh-thread-ancestor-p, mh-thread-get-message-container)
914 (mh-thread-get-message, mh-thread-canonicalize-id)
915 (mh-thread-prune-subject, mh-thread-container-subject)
916 (mh-thread-rewind-pruning, mh-thread-prune-containers)
917 (mh-thread-sort-containers, mh-thread-group-by-subject)
918 (mh-thread-process-in-reply-to, mh-thread-set-tables)
919 (mh-thread-update-id-index-maps, mh-thread-generate)
920 (mh-thread-inc, mh-thread-generate-scan-lines)
921 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
922 (mh-thread-add-spaces, mh-thread-print-scan-lines)
923 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
924 (mh-thread-current-indentation-level, mh-thread-next-sibling)
925 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
926 (mh-thread-ancestor, mh-thread-find-children)
927 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
928 to new file mh-thread.el.
929 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
930 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
931 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
932 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
933 (mh-current-message-header-field, mh-narrow-to-range)
934 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
935 mh-limit.el.
936 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
937 mh-acros.el.
938 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
939 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
940 (mh-define-sequence, mh-undefine-sequence)
941 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
942 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
943 (mh-parse-flist-output-line, mh-read-folder-sequences)
944 (mh-read-msg-list, mh-notate-user-sequences)
945 (mh-remove-cur-notation, mh-add-sequence-notation)
946 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
947 from mh-e.el.
948 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
949 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
950
951 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
952
953 * mh-speed.el: Rearrange for consistency with other files.
954
955 * mh-thread.el: New file. Contains threading code from mh-seq.el.
956
957 * mh-tool-bar.el: New file. Contains tool bar creation code from
958 deprecated file mh-customize.el.
959
960 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
961 longer needed.
962 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
963 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
964 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
965 (mh-update-scan-format, mh-msg-num-width): Move to new file
966 mh-scan.el.
967 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
968 (mh-header-field-font-lock, mh-header-to-font-lock)
969 (mh-header-cc-font-lock, mh-header-subject-font-lock)
970 (mh-show-font-lock-keywords)
971 (mh-show-font-lock-keywords-with-cite)
972 (mh-show-font-lock-fontify-region)
973 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
974 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
975 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
976 (mh-show-sequence-menu, mh-show-message-menu)
977 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
978 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
979 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
980 file mh-show.el.
981 (mh-mail-header-separator, mh-signature-separator-regexp)
982 (mh-signature-separator, mh-globals-hash, mh-user-path)
983 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
984 (mh-previous-window-config, mh-current-folder mh-show-buffer)
985 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
986 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
987 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
988 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
989 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
990 Move to mh-alias.el.
991 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
992 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
993 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
994 Move to new file mh-folder.el.
995 (with-mh-folder-updating, mh-in-show-buffer)
996 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
997 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
998 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
999 Moved to mh-seq.el.
1000 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1001 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1002 (mh-face-background-compat, mh-face-display-function)
1003 (mh-show-xface, mh-picon-directory-list)
1004 (mh-picon-existing-directory-list)
1005 (mh-picon-cache, mh-picon-image-types)
1006 (mh-picon-set-directory-list, mh-picon-get-image)
1007 (mh-picon-file-contents, mh-picon-generate-path)
1008 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1009 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1010 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1011 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1012 (mh-x-image-scale-with-convert)
1013 (url-unreserved-chars, url-hexify-string)
1014 (mh-x-image-url-cache-canonicalize)
1015 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1016 (mh-x-image-url-fetch-image, mh-x-image-display)
1017 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1018 (mh-x-image-url-display): Move to new file mh-xface.el.
1019 (mh-logo-display): Call mh-image-load-path.
1020 (mh-find-path-run, mh-find-path): Move here from deprecated file
1021 mh-init.el.
1022 (mh-help-messages): Now an alist of modes to an alist of messages.
1023 (mh-set-help): New function used to set mh-help-messages
1024 (mh-help): Adjust for new format of mh-help-messages. Add
1025 help-messages argument.
1026 (mh-prefix-help): Refactor to use mh-help.
1027 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1028 mh-e.el.
1029 (mh-clear-sub-folders-cache): New function added to avoid exposing
1030 mh-sub-folders-cache variable.
1031
1032 * mh-xface.el: New file. Contains X-Face and Face header field
1033 display routines from mh-utils.el.
1034
fe778a12
BW
10352006-01-17 Bill Wohler <wohler@newt.com>
1036
1037 * mh-acros.el (assoc-string): Fix typo in argument.
1038
8d2aa237
BW
10392006-01-16 Bill Wohler <wohler@newt.com>
1040
1e4db53b
BW
1041 * mh-acros.el (require): Remove defadvice of require as defadvice
1042 is verboten within Emacs and our implementation was returning the
1043 wrong value from require. Upcoming restructuring should make this
1044 unnecessary.
1045 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1046
1047 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
1048 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1049
1050 * mh-identity.el (mh-identity-field-handler): Use it.
1051
8d2aa237
BW
1052 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1053 (read-from-string string) with (string-to-number string).
1054
1055 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1056 Ditto.
1057
1058 * mh-mime.el (mh-mml-forward-message): Ditto.
1059
1060 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1061 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1062 (mh-openssl-parser, mh-index-update-maps): Ditto.
1063
1064 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1065 (mh-thread-generate): Ditto.
1066
0af7621b 10672006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
9ac2e4e5
MB
1068
1069 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
0af7621b
BW
1070 mm- functions for proper text=flowed handling (addresses SF
1071 #1273521).
9ac2e4e5 1072
30f24016
BW
10732006-01-15 Bill Wohler <wohler@newt.com>
1074
fc77df2c
BW
1075 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1076 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1077 / g.
1078
1079 * mh-utils.el (mh-show-limit-map): Ditto.
1080
98eab4e4
BW
1081 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1082 standalone compile.
1083 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1084
1085 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1086 where they are used.
1087
30f24016
BW
1088 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1089 needed to help remove dependency on mh-utils.
1090
1091 * mh-exec.el: New file. Move process support routines here from
1092 mh-utils.el.
1093
1094 * mh-init.el (mh-utils): Remove require.
1095 (mh-exec): Add require.
1096 (mh-profile-component, mh-profile-component-value): Move here from
1097 mh-utils.el.
1098
1099 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1100 dependencies on mh-utils.el.
1101 (mh-profile-component, mh-profile-component-value): Move to
1102 mh-init.el since that's the only place that uses them. (Other than
1103 mh-alias.el; I'm thinking that mh-find-path can set variable from
1104 the Aliasfile component like it does the other components).
1105 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1106 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1107 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1108 (defvar, mh-exec-cmd-output)
1109 (mh-exchange-point-and-mark-preserving-active-mark)
1110 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1111 file mh-exec.el so that mh-init.el doesn't have to depend on
1112 mh-utils.el, breaking circular dependency.
1113
1114 * mh-alias.el:
1115 * mh-customize.el:
1116 * mh-e.el:
1117 * mh-funcs.el:
1118 * mh-gnus.el:
1119 * mh-identity.el:
1120 * mh-inc.el:
1121 * mh-junk.el:
1122 * mh-mime.el:
1123 * mh-print.el:
1124 * mh-search.el:
1125 * mh-seq.el:
1126 * mh-speed.el: Added debugging statements (commented out) around
1127 requires to help find dependency loops. Will remove them when
1128 issues are resolved.
1129
a4d7cec3
BW
11302006-01-14 Bill Wohler <wohler@newt.com>
1131
1132 * mh-customize.el (mh-index): Rename group to mh-search and sort
1133 group definition and options accordingly.
1134 (mh-index-program): Rename to mh-search-program.
1135 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1136 mh-search-p.
1137 (mh-search-mode-hook): Change group from mh-index to mh-search.
1138 (mh-index-folder): Rename to mh-search-folder. Change group from
1139 mh-index to mh-search.
1140
1141 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1142 to mh-search-folder.
1143
1144 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1145 pick and grep are searchers too but aren't indexed.
1146 (mh-index-execute-search-function): Rename to mh-search-function.
1147 (mh-index-next-result-function): Rename to
1148 mh-search-next-result-function.
1149 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1150 (mh-search): Since redo-search-flag defaults to nil and is of
1151 lesser importance, make it an optional argument and place it after
1152 the folder and search-regexp arguments. Sync docstring with
1153 manual.
1154 (mh-search-mode-map): Autoload so that keys are shown in help even
1155 before mh-search is loaded.
1156 (mh-search-mode): Sync docstring with manual.
1157 (mh-index-do-search): Rename argument indexer to searcher. Sync
1158 docstring with manual.
1159 (mh-pick-do-search): Sync docstring with manual.
1160 (mh-index-p): Rename to mh-search-p.
1161 (mh-indexer-choices): Rename to mh-search-choices.
1162 (mh-index-choose): Rename to mh-search-choose. Rename argument
1163 indexer to searcher.
1164 (mh-swish++-execute-search, mh-swish-execute-search)
1165 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1166 read the results" from docstring since these functions don't.
1167 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1168 with manual.
1169 (mh-index-generate-pretty-name): Prune -search from string so that
1170 folder names for pick searches are the same as those of other
1171 searches.
1172
11db987f
BW
11732006-01-13 Bill Wohler <wohler@newt.com>
1174
4501e6fb
BW
1175 * mh-acros.el (require): Added Satyaki's comment regarding what
1176 needs to happen to remove this defadvice which caused a little
1177 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1178 advices `require' incorrectly).
1179
11db987f
BW
1180 * mh-search.el (mh-index-next-result-function): Add format to
1181 docstring.
1182 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1183 out as well.
1184 (mh-pick-execute-search): Operate across all folders if no folder
1185 given and recurse folder(s).
1186 (mh-pick-next-result): Handle new output.
1187
1188 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
1189 (mh-children-p, mh-folder-list): New functions.
1190
44140699
BW
11912006-01-12 Bill Wohler <wohler@newt.com>
1192
1193 * mh-search.el: New file containing contents of mh-index.el and
1194 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1195 pick. Pick no longer sets the "search" sequence. Instead, it
1196 brings up a folder view that we're accustomed to. (closes SF
1197 #829207).
1198 (mh-index-search): Rename to mh-search.
1199 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1200 the Search to Perform Search and call mh-do-search. Add Search
1201 with Pick menu item.
1202 (mh-do-search): Delete.
1203 (mh-search-mode): Rename from mh-pick-mode.
1204 (MH-Search): Rename mode from MH-Pick.
1205 (mh-search-mode-map): Rename from mh-pick-mode-map.
1206 (mh-search-mode-help-messages): Rename from
1207 mh-pick-mode-help-messages.
1208 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1209 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1210 stay with that choice!
1211
1212 * mh-index.el:
1213 * mh-pick.el: Merge into mh-search.el and delete.
1214
1215 * mh-customize.el (mh-index-program): Change mh-index-search to
1216 mh-search in docstring.
1217 (mh-tool-bar-search-function): Change default from
1218 mh-search-folder to mh-search. Remove mh-search-folder as choice
1219 and rename mh-index-search choice to mh-search. Fix docstring.
1220 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1221 mh-search-folder to mh-search in docstring.
1222
1223 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1224 Indexed Search to Search. Use mh-search instead of
1225 mh-index-search.
1226 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1227 from mh-show-search-folder to mh-search.
1228
1229 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1230 mh-search-folder no longer creates the search sequence.
1231
1232 * mh-utils.el (mh-show-search-folder): Delete.
1233 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1234 Change s from mh-show-search-folder to mh-search.
1235 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1236 Search to Search. Use mh-search instead of mh-index-search.
1237 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1238 here from deleted mh-index.el.
1239
e1fbc812
BW
12402006-01-11 Bill Wohler <wohler@newt.com>
1241
549afb31
BW
1242 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1243 from mh-gnus.el.
1244
1245 * mh-gnus.el: Require mh-acros.
1246 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1247
1248 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1249 url-hexify-string to remove special characters from filenames
1250 (closes SF #1396499). Note that this invalidates the existing
1251 names in your cache so you might as well remove
1252 ~/Mail/.mhe-x-image-cache/* now.
1253 (url-unreserved-chars, url-hexify-string): Define if not defined.
1254 Copied from url-util.el in Emacs22 for Emacs 21.
1255
9c2cf222
BW
1256 * mh-buffers.el: New file. Contains constants and code from
1257 mh-index.el and mh-utils.el.
1258
1259 * mh-alias.el:
1260 * mh-comp.el:
1261 * mh-e.el:
1262 * mh-funcs.el:
1263 * mh-init.el:
1264 * mh-junk.el:
1265 * mh-mime.el:
1266 * mh-print.el:
1267 * mh-seq.el: Require new file mh-buffers.el.
1268
1269 * mh-index.el: Require new file mh-buffers.el.
1270 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1271 mh-buffers.el.
1272
1273 * mh-utils.el: Require new file mh-buffers.el.
1274 (mh-temp-buffer, mh-temp-fetch-buffer)
1275 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1276 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1277 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1278 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1279
00b6a079
BW
1280 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1281 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1282
191c8741
BW
12832006-01-10 Bill Wohler <wohler@newt.com>
1284
c2134792 1285 * mh-comp.el (mh-insert-letter): If you choose a different folder,
e1fbc812
BW
1286 the cur message is used. Sync docstring with manual (closes SF
1287 #1205890).
c2134792
BW
1288
1289 * mh-mime.el (mh-compose-forward): Use standard range argument
1290 instead of messages. Use more powerful mh-read-range instead of
1291 read-string. Sync docstring with manual (close SF #1205890).
1292
191c8741
BW
1293 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1294 unnecessary.
2898111c
BW
1295 (mh-index-next-folder): Don't back up a line when going backwards
1296 since this skips the current folder heading if point is on the
1297 first message after the folder heading (closes SF #1126188).
191c8741
BW
1298
1299 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1300 it.
1301 (mh-variants): Note variable isn't meant to be accessed directly;
1302 use function mh-variants instead.
1303 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1304 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1305 them. Updated to use mh-file-command-p which is more accurrate
1306 than file-executable-p which returns t for directories.
1307 (mh-file-command-p): Move here from mh-utils, since
1308 mh-variant-*-info are the only functions to use it.
1309 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1310 function mh-variants instead of variable. More robust.
1311 (mh-find-path-run): Move here from mh-utils.el. Mention that
1312 checking this variable is unnecessary.
1313 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1314 variants and an mhparam command that doesn't work if there isn't
1315 an MH profile, we can't get libdir for running install-mh. So
1316 don't bother. If there's an issue with the environment, direct the
1317 user to install MH and run install-mh (closes SF #835192). Don't
1318 read ~/.mh_profile directly. Use mh-profile-component which uses
1319 mhparam (closes SF #1016027).
1320
1321 * mh-utils.el (mh-get-profile-field): Rename to
1322 mh-profile-component-value. Add colon to search removing
1323 unnecessary addition of colon to field in mh-profile-component.
1324 (mh-profile-component): Modify call to mh-profile-component-value
1325 accordingly. Move next to mh-profile-component-value.
1326 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1327 mh-init.el. It makes sense that code that is only run once per
1328 session (more or less) is in mh-init.el rather than cluttering
1329 mh-utils.el.
1330 (mh-no-install, mh-install): Delete.
1331
1332 * mh-customize.el (mh-folder-msg-number):
1333 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1334
04f6a2d1
BW
13352006-01-09 Bill Wohler <wohler@newt.com>
1336
b981c52c
BW
1337 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1338 patch from Satyaki from SF #1016027.
1339
8f9efec8
BW
1340 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1341 message, even if cur sequence is no longer present (closes SF
1342 #1207247).
1343
b6d8f743
BW
1344 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1345 Mark's suggestion.
1346 (mh-letter-mode): Derive from mail-mode and delete code copied
1347 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1348 docstring.
1349 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1350 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1351 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1352 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1353 (mh-to-fcc): Move setting of folder argument to interactive
1354 argument as is the norm.
1355 (mh-letter-complete-function-alist): Add mail-reply-to.
1356 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1357 Mail-Followup-To, Reply-To, From).
1358
90866475
BW
1359 * mh-customize.el: Use ";; Forward definition." consistently.
1360 Comment declaration to remind programmer to update forward
1361 definition if default changes.
1362
04f6a2d1
BW
1363 * mh-funcs.el:
1364 * mh-inc.el:
1365 * mh-init.el:
1366 * mh-mime.el:
1367 * mh-seq.el:
1368 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1369 Mark's suggestion.
1370
7094eefe
BW
13712006-01-08 Bill Wohler <wohler@newt.com>
1372
1373 Removed code that was marked as Emacs 20 compatible that was
1374 easily found showing how important it is to document such
1375 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1376 peculiarities that you find. Wrapped code for shushing compiler
1377 with (eval-when-compile), sometimes moving the defvars closer to
1378 where they were used.
1379
1380 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1381 instead of mh-replace-in-string as mh-replace-in-string was
1382 replaced by a more appropriate defsubst in mh-xemacs.el.
1383
1384 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1385 eval-when-compile.
1386 (mh-file-is-vcard-p): Removed redundant test.
1387
1388 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1389 with eval-when-compile.
1390 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1391 (mh-invisible-header-fields-default): Add forward definitions.
1392 (mh-invisible-header-fields-default): Alphabetize.
1393
1394 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1395 eval-when-compile.
1396 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1397 variables.
1398 (mh-colors-available-p): Just call display-color-cells. It's on
1399 all supported Emacsen (and defaliased on XEmacs).
1400
1401 * mh-funcs.el:
1402 * mh-inc.el:
1403 * mh-init.el: Wrap compiler-shushing defvars with
1404 eval-when-compile.
1405
1406 * mh-identity.el: Don't need (mh-require-cl).
1407
1408 * mh-index.el: Don't need to load executable any more.
1409
1410 * mh-mime.el: Wrap compiler-shushing defvars with
1411 eval-when-compile.
1412 (mh-have-file-command): Initialize variable to 'undefined. Add
1413 docstring. Update function of same name accordingly. Also don't
1414 need to load executable any more.
1415 (mh-mime-content-types): Delete.
1416 (mh-minibuffer-read-type): Prompt user for type if
1417 mh-file-mime-type returns application/octet-stream. Assume we have
1418 mailcap-mime-types.
1419 (mh-mime-display): Update error message.
1420
1421 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1422 with eval-when-compile.
1423
1424 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1425 with eval-when-compile.
1426 (mh-clean-msg-header): Don't set after-change-functions to nil.
1427 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1428 instead.
1429
98b7b7ed
BW
14302006-01-07 Bill Wohler <wohler@newt.com>
1431
3af622d5
BW
1432 * mh-customize.el: Updated Faces documentation in header.
1433 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1434 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1435
98b7b7ed
BW
1436 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1437 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1438 #1399307).
1439
836f2863
MB
14402006-01-03 Mark D. Baushke <mdb@gnu.org>
1441
1442 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1443 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1444
e69d4e02
BW
14452006-01-03 Bill Wohler <wohler@newt.com>
1446
f9c53c97
BW
1447 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1448 unification. Use single sentence if possible by using semicolon.
1449 Don't end message with punctuation. Don't need format with
1450 message. Quote messages as in docstrings: use `' around symbols,
1451 \" for option choices. Don't use quotes around %s.
1452
1453 * mh-comp.el (mh-complete-word): Ditto.
1454
1455 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1456 (mh-scan-format-file-check): Ditto.
1457
1458 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1459 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1460 (mh-msg-num-width-to-column): Ditto.
1461
1462 * mh-identity.el (mh-identity-field-handler): Ditto.
1463
1464 * mh-index.el (mh-mairix-execute-search)
1465 (mh-swish-execute-search, mh-swish++-execute-search)
1466 (mh-namazu-execute-search): Ditto.
1467
1468 * mh-init.el (mh-variant-set): Ditto.
1469
1470 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1471 (mh-secure-message, mh-mime-display): Ditto.
1472
1473 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1474
1475 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1476 (mh-read-range, mh-thread-container-subject): Ditto.
1477
1478 * mh-utils.el (mh-x-image-scale-and-display)
1479 (mh-prompt-for-folder, mh-handle-process-error)
1480 (mh-list-to-string-1): Ditto.
1481
078cb314
BW
1482 * mh-comp.el (mh-reply): Use standard default notation in
1483 prompts (closes SF #1275933).
1484
1485 * mh-mime.el (mh-mime-save-parts): Ditto.
1486
1487 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1488
355ebcbf
BW
1489 * mh-customize.el (mh-folder-msg-number): Snow is actually
1490 off-white on low color displays which turns to white when bold.
1491 This is unreadable on white backgrounds. Use snow with min-colors
1492 requirement. Use cyan on low-color displays.
1493
1494 * mh-init.el (mh-defface-compat): On low-color displays, delete
1495 the high-color display rather than simply strip the min-colors
1496 requirement since the existing algorithm shadowed the desired
1497 display on low-color displays.
1498
e69d4e02
BW
1499 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1500 docstring.
1501
af435184
BW
15022006-01-02 Bill Wohler <wohler@newt.com>
1503
1504 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1505 docstring. Does this mean something in a defun?
1506
1507 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1508 Checkdoc fix.
1509
1510 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1511 so it reads better in docstring and manual. Sync docstring with
1512 manual.
1513
1514 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1515
1516 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1517
1518 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1519 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1520 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1521 (mh-letter-complete-or-space, mh-letter-confirm-address)
1522 (mh-letter-next-header-field-or-indent)
1523 (mh-letter-previous-header-field): Ditto.
1524
1525 * mh-customize.el (mh-alias-completion-ignore-case-flag)
1526 (mh-default-folder-for-message-function, mh-mml-method-default)
1527 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
1528 (mh-show-mode-hook) Ditto.
1529
1530 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
1531
1532 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
1533 (mh-store-msg, mh-store-buffer): Ditto
1534
1535 * mh-index.el (mh-index-search, mh-index-do-search)
1536 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
1537
1538 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
1539
1540 * mh-mime.el (mh-mh-compose-external-compressed-tar)
1541 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
1542 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1543 (mh-mml-secure-message-signencrypt): Ditto
1544
1545 * mh-pick.el (mh-search-folder): Ditto.
1546
1547 * mh-seq.el (mh-widen): Ditto.
1548
1549 * mh-utils.el (mh-show, mh-modify): Ditto.
1550
285d1e0c
MB
15512006-01-02 Mark D. Baushke <mdb@gnu.org>
1552
1553 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
1554
d49ed7d4
BW
15552006-01-01 Bill Wohler <wohler@newt.com>
1556
1557 * mh-customize.el: Sync docstrings with manual for faces and sort
1558 them alphabetically.
1559 (mh-faces): Move below mh-hooks.
1560 (mh-folder-faces, mh-index-faces, mh-letter-faces)
1561 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
1562 hooks.
1563 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
1564 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
1565 (mh-folder-body-face, mh-folder-cur-msg-face)
1566 (mh-folder-cur-msg-number-face, mh-folder-date-face)
1567 (mh-folder-followup-face, mh-folder-msg-number-face)
1568 (mh-folder-deleted-face, mh-folder-refiled-face)
1569 (mh-folder-subject-face, mh-folder-address-face)
1570 (mh-folder-scan-format-face, mh-folder-to-face)
1571 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
1572 (mh-show-header-face, mh-show-pgg-good-face)
1573 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
1574 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
1575 Delete.
1576 (mh-folder-cur-msg): Unused. Delete.
1577 (mh-folder-address): Use defface; inherit from mh-folder-subject.
1578 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
1579 Inherit from mh-folder-msg-number.
1580 (mh-folder-deleted): Use defface. Inherit from
1581 mh-folder-msg-number.
1582 (mh-folder-sent-to-me-hint): New face. Inherit from
1583 mh-folder-date.
1584 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
1585 Use defface. Inherit from mh-folder-followup.
1586 (mh-show-xface): Inherit from mh-show-from and highlight.
1587 (bw-face-generation, bw-toggle-faces)
1588 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
1589 variables, functions for toggling between old and new faces.
1590
1591 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
1592 eval-when-compile. We should probably do this throughout.
1593 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1594 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
1595 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1596 (mh-scan-subject-regexp): Sync docstrings with manual
1597 (mh-scan-format-regexp): Rename to
1598 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
1599 expression. Make expression more like the others (anchored at the
1600 beginning of line). Sync docstrings with manual.
1601 (mh-folder-font-lock-keywords): Use faces directly rather than
1602 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
1603 mh-scan-format-regexp, and within that expression, use faces
1604 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
1605 of mh-folder-date-face and mh-folder-scan-format-face which were
1606 misleading.
1607
1608 * mh-mime.el (mh-mime-security-button-face): Use faces directly
1609 rather than -face variables.
1610
1611 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
1612 rather than -face variables.
1613 (mh-face-foreground-compat, mh-face-background-compat): New macros.
1614 (mh-face-display-function): Use mh-face-foreground-compat and
1615 mh-face-background-compat to use inherited attributes of
1616 mh-show-xface on Emacs 22 while still working on Emacs 21.
1617
0d887b77
BW
16182005-12-28 Bill Wohler <wohler@newt.com>
1619
1620 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
1621 mh-user-agent-compose instead of mh-smail-batch.
1622
13fe29bd
BW
16232005-12-27 Bill Wohler <wohler@newt.com>
1624
1625 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
1626 suppress creation of folder if it doesn't exist.
1627
2bd87afb
SM
16282005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1629
1630 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
1631
5a4aad03
BW
16322005-12-23 Bill Wohler <wohler@newt.com>
1633
7ba8dffd
BW
1634 * mh-e.el (mh-folders-changed): Fix typo in docstring.
1635
13fe29bd
BW
1636 Follow MH-E Developers Guide conventions. Use `' quotes for Help
1637 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
1638 everything else. Otherwise, you can accidently get links to
5a4aad03 1639 nonsense symbols.
2bd87afb 1640
d1699462
BW
16412005-12-22 Bill Wohler <wohler@newt.com>
1642
13fe29bd 1643 Follow Emacs coding conventions. Use default setting of
2dcf34f9 1644 emacs-lisp-docstring-fill-column which is 65.
2bd87afb 1645
d1699462
BW
1646 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
1647
1648 * mh-comp.el (mh-letter-mode): Use 60 column width.
1649 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
1650 with manual.
1651 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
1652 you have added a mail-citation-hook and neither are used if you
13fe29bd
BW
1653 use one of the supercite flavors of mh-yank-behavior. Sync
1654 docstrings with manual.
d1699462 1655
13fe29bd
BW
1656 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
1657 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
1658 hook. Use "Hook run by `function'..." instead of "Invoked...".
d1699462
BW
1659 Sync docstrings with manual.
1660 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
1661 mh-ins-buf-prefix isn't used if you have added a
1662 mail-citation-hook and neither are used if you use one of the
13fe29bd
BW
1663 supercite flavors of mh-yank-behavior. Sync docstrings with
1664 manual.
1665 (mail-citation-hook): Delete. Use one in sendmail.el.
d1699462
BW
1666 (mh-signature-file-name, mh-after-commands-processed-hook)
1667 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
1668 (mh-before-quit-hook, mh-before-send-letter-hook)
1669 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
1670 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
1671 (mh-letter-mode-hook)
1672 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
1673 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1674 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
13fe29bd 1675 of "Invoked...". Sync docstrings with manual.
d1699462
BW
1676
1677 * mh-e.el (mh-last-destination, mh-last-destination-folder)
1678 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
1679 (mh-delete-list, mh-refile-list, mh-folders-changed)
1680 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
1681 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
1682 (mh-mode-line-annotation, mh-sequence-notation-history)
1683 (mh-colors-available-flag): Move comment into docstring.
2bd87afb
SM
1684 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
1685 (mh-process-commands): Sync docstrings with manual.
d1699462
BW
1686 (mh-refile-msg): Small doc edit.
1687 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
1688 Rename msg argument to message.
1689
1690 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
1691
1692 * mh-e.el (mh-update-unseen): No longer say "The value of
1693 `foo-hook' is a list of functions to be called, with no arguments,
1694 ...," but rather just "The hook foo-hook is called...".
1695
2bd87afb 1696 * mh-mime.el (mh-mh-to-mime): Ditto.
d1699462
BW
1697
1698 * mh-pick.el (mh-pick-mode): Ditto.
1699
1700 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
1701 docstring.
1702 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
1703 into docstring.
13fe29bd
BW
1704 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
1705 manual.
d1699462 1706
2bd87afb 17072005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2953de8c 1708
13fe29bd
BW
1709 * mh-customize.el (mh-after-commands-processed-hook): New
1710 variable.
1711 (mh-before-commands-processed-hook): Rename
1712 mh-folder-updated-hook.
2953de8c 1713
13fe29bd
BW
1714 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
1715 mh-before-commands-processed-hook, call new
2953de8c
SG
1716 mh-after-commands-processed-hook.
1717 (mh-folders-changed): New variable (for use in
1718 mh-after-commands-processed-hook).
1719
cee9f5c6
BW
17202005-12-19 Bill Wohler <wohler@newt.com>
1721
1722 * mh-acros.el:
1723 * mh-alias.el:
1724 * mh-comp.el:
1725 * mh-customize.el:
1726 * mh-e.el:
1727 * mh-funcs.el:
1728 * mh-gnus.el:
1729 * mh-identity.el:
1730 * mh-inc.el:
1731 * mh-index.el:
1732 * mh-init.el:
1733 * mh-junk.el:
1734 * mh-mime.el:
1735 * mh-pick.el:
1736 * mh-print.el:
1737 * mh-seq.el:
1738 * mh-speed.el:
1739 * mh-utils.el:
13fe29bd
BW
1740 Follow commenting conventions. Don't use ;;; form so much, except
1741 for headings. Precede headings with page feed. This was mostly
1742 already done, so I made it a convention. Did not update copyright
cee9f5c6
BW
1743 on a couple of files since this was an insignificant change.
1744
fa4075e3
BW
17452005-12-18 Bill Wohler <wohler@newt.com>
1746
1747 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
1748 (mh-tool-bar-search-function): Sync docstrings with manual.
13fe29bd
BW
1749 (mh-tool-bar-customize): Replace toolbar with tool bar in
1750 docstring.
fa4075e3
BW
1751 (mh-tool-bar-letter-help): Fix manual reference.
1752 (mh-xemacs-use-toolbar-flag): Rename to
13fe29bd
BW
1753 mh-xemacs-use-tool-bar-flag. Initialize to
1754 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
fa4075e3 1755 (mh-xemacs-toolbar-position): Rename to
13fe29bd 1756 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
fa4075e3
BW
1757 option (redundant) and change "Same As Default Tool Bar" setting
1758 to nil. Sync docstrings with manual.
1759 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
1760 depending on context.
13fe29bd
BW
1761 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
1762 for calling set-specifier. Only look at the value of
1763 mh-xemacs-use-tool-bar-flag.
1764 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
1765 docstrings with manual.
fa4075e3
BW
1766
1767 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
1768 mh-toolbar-init.
1769
1770 * mh-e.el (mh-folder-mode): Ditto.
1771
1772 * mh-utils.el (mh-show-mode): Ditto.
1773
7a5df5a9
BW
17742005-12-15 Bill Wohler <wohler@newt.com>
1775
1776 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
1777
1778 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
1779 (mh-thread-previous-sibling, mh-thread-ancestor)
1780 (mh-thread-delete, mh-thread-refile): Ditto.
1781
6b960c10
BW
17822005-12-14 Bill Wohler <wohler@newt.com>
1783
1784 * mh-customize.el (mh-speed-flists-interval): Rename to
1785 mh-speed-update-interval.
13fe29bd
BW
1786 (mh-speed-run-flists-flag): Delete. Setting
1787 mh-speed-flists-interval to 0 accomplishes the same thing.
6b960c10 1788
13fe29bd
BW
1789 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
1790 mh-speed-update-interval instead of mh-speed-run-flists-flag.
1791 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
1792 docstrings with manual.
6b960c10 1793
97c688ed
BW
17942005-12-09 Bill Wohler <wohler@newt.com>
1795
1796 * mh-customize.el (mh-path): Move here from mh-init.el.
1797 (mh-variant): Mention that mh-path can be customized.
1798 (mh-invisible-header-fields-internal): Add X-ContentStamp,
1799 X-MAIL-INFO, and X-UNTD- from NetZero.
1800
1801 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
1802
2be362c2
BW
18032005-12-04 Bill Wohler <wohler@newt.com>
1804
f15ced66
BW
1805 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
1806 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
1807 X-Virus-Scanned.
2bd87afb 1808
13fe29bd
BW
1809 * mh-customize.el (mh-insert-signature-hook): Rename
1810 mh-letter-insert-signature-hook to mh-insert-signature-hook.
f15ced66
BW
1811
1812 * mh-comp.el (mh-insert-signature): Ditto.
1813
56128d97 1814 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
13fe29bd 1815 to nil. Remove t option. Sync docstring with manual (closes SF
56128d97
BW
1816 #831278).
1817 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
1818 users can see it, look it up in the manual's index, and discover
1819 mh-fetch-x-image-url (closes SF #831278).
a932ce45 1820
a8a47814
BW
1821 * mh-customize.el (mh-new-messages-folders): Rename from
1822 mh-index-new-messages-folders.
1823 (mh-ticked-messages-folders): Rename from
1824 mh-index-ticked-messages-folders.
2bd87afb 1825
a8a47814
BW
1826 * mh-index.el (mh-index-sequenced-messages)
1827 (mh-index-new-messages): Ditto.
1828
2be362c2 1829 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
13fe29bd 1830 in the docstrings and made usage consistent. Generally speaking,
2be362c2 1831 "messages in range" and "range of messages" is redundant and just
13fe29bd 1832 "range" can be used in most circumstances. Also ensured that
2be362c2 1833 mh-interactive-range was mentioned in all interactive functions
f15ced66
BW
1834 that use a range which describes the range argument for both users
1835 and programmers.
2be362c2
BW
1836
1837 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
1838 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
1839 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
13fe29bd
BW
1840 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
1841 Ditto.
2be362c2 1842
13fe29bd
BW
1843 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
1844 Ditto.
2be362c2
BW
1845
1846 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
1847
1848 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
1849 (mh-ps-print-msg-file, mh-print-msg): Ditto.
1850
1851 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
1852 (mh-narrow-to-range, mh-toggle-tick): Ditto.
1853
553fb735
BW
18542005-12-01 Bill Wohler <wohler@newt.com>
1855
1856 Rewrote Reading Mail chapter in manual which affected mh-show
1857 customization group and related functions.
2bd87afb 1858
553fb735
BW
1859 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
1860 instead of mh-highlight-citation-p.
1861 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
1862 I think, so use "truncated".
1863
1864 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
13fe29bd 1865 section is Folders, not Organizing. Parent of mh-folder-faces is
553fb735
BW
1866 mh-folder, not mh-show.
1867 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
1868 (mh-thread): New group that corresponds with manual's Threading
1869 chapter.
1870 (mh-letter-faces): Group's manual section is Editing Drafts, not
1871 Sending Mail.
13fe29bd
BW
1872 (mh-sortm-args): New customization variable that used to be a
1873 defvar.
553fb735
BW
1874 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
1875 Move from mh-index group to mh-folders group.
1876 (mh-alias-local-users-prefix, mh-large-folder)
1877 (mh-recursive-folders-flag, mh-before-quit-hook)
1878 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
1879 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
1880 mh-folder group.
1881 (mh-highlight-citation-style): Rename from
13fe29bd
BW
1882 mh-highlight-citation-p. Sync docstrings with manual.
1883 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
553fb735 1884 with manual.
13fe29bd
BW
1885 (mh-show-threads-flag): Move from mh-show group to mh-thread
1886 group.
553fb735
BW
1887 (mh-find-path-hook): Move from mh-show group to mh-e group.
1888 (mh-folder-updated-hook): Add to mh-folder group.
1889 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
1890 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
1891 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1892 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1893 (mh-display-buttons-for-inline-parts-flag)
1894 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1895 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1896 (mh-invisible-header-fields-default, mh-invisible-header-fields)
1897 (mh-lpr-command-format, mh-max-inline-image-height)
1898 (mh-max-inline-image-width)
1899 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1900 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1901 (mh-show-use-xface-flag, mh-store-default-directory)
1902 (mh-summary-height, mh-delete-msg-hook
1903 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2bd87afb 1904
553fb735
BW
1905 * mh-e.el
1906 (mh-scan-format-mh, mh-scan-good-msg-regexp)
1907 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
13fe29bd
BW
1908 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
1909 non-fontification instead of non-fontifying.
553fb735 1910 (mh-header-display): Use mh-mhl-format-file instead of
13fe29bd 1911 mhl-formfile. Sync docstrings with manual.
553fb735 1912 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
13fe29bd 1913 count. Sync docstrings with manual.
553fb735 1914 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
13fe29bd
BW
1915 so that message doesn't change when using this command. Sync
1916 docstrings with manual.
1917 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
1918 docstrings with manual.
1919 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
1920 to no-header. Sync docstrings with manual.
553fb735
BW
1921 (mh-ps-print-map): Delete keybindings for deleted commands
1922 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2bd87afb 1923 (mh-help-messages): Update printing help.
553fb735
BW
1924 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
1925 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
1926 (mh-prev-button, mh-folder-toggle-mime-part)
1927 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1928 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
1929 manual.
1930
13fe29bd
BW
1931 * mh-funcs.el (mh-sortm-args): Now a customization option and in
1932 mh-customize.el.
1933 (mh-pipe-msg): Rename include-headers to include-header. Sync
1934 docstrings with manual.
553fb735
BW
1935 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
1936 (mh-store-msg): Sync docstrings with manual.
1937
13fe29bd
BW
1938 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
1939 docstrings with manual.
553fb735
BW
1940 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
1941 Sync docstrings with manual.
13fe29bd
BW
1942 (mh-mm-display-part, mh-mm-inline-message): Use
1943 mh-highlight-citation-style instead of mh-highlight-citation-p.
553fb735
BW
1944 (mh-press-button): Sync docstrings with manual.
1945 (mh-display-with-external-viewer): Fix default output in
13fe29bd 1946 minibuffer. Sync docstrings with manual.
553fb735 1947
13fe29bd
BW
1948 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
1949 Delete.
553fb735
BW
1950 (mh-ps-print-color-option): Incorporate docstring from
1951 ps-print-color-p.
13fe29bd
BW
1952 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
1953 docstring.
1954 (mh-ps-spool-msg): Slimline docstring. Rename from
1955 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
1956 available.
553fb735
BW
1957 (mh-ps-print-range): Extract method from common code in
1958 mh-ps-print-msg and mh-ps-print-msg-file.
13fe29bd
BW
1959 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
1960 (mh-ps-print-msg-show): Delete. Can use either
553fb735
BW
1961 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
1962 new code in mh-ps-spool-msg.
1963 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
1964 Sync docstrings with manual.
1965 (mh-ps-print-msg, mh-ps-print-msg-file)
13fe29bd
BW
1966 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
1967 docstrings with manual.
553fb735 1968
2bd87afb 1969 * mh-utils.el (mh-show-ps-print-msg-show)
553fb735 1970 mh-show-ps-print-toggle-mime): Delete.
2bd87afb 1971 (mh-show-ps-print-map): Update accordingly.
553fb735
BW
1972 (mh-show-mode): Use mh-highlight-citation-style instead of
1973 mh-highlight-citation-p.
1974 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
1975 mhl-formfile.
13fe29bd
BW
1976 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
1977 docstrings with manual.
1978 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
1979 docstrings with manual.
553fb735
BW
1980
19812005-12-01 Bill Wohler <wohler@newt.com>
1982
1983 * mh-init.el (mh-defface-compat): Checkdoc fix.
1984
1985 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
13fe29bd
BW
1986 Bogofilter is lowercase except at beginning of sentence and in
1987 titles.
553fb735 1988
94abd6b7
BW
19892005-11-04 Bill Wohler <wohler@newt.com>
1990
6b19bd82
BW
1991 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
1992 Move to mh-init.el to minimize bulk of mh-customize.el.
1993
1994 * mh-init.el: Modify commentary since file is used for load and
1995 initialization as well as setting and getting the variant.
13fe29bd
BW
1996 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
1997 mh-customize.el.
6b19bd82 1998
13fe29bd
BW
1999 * mh-customize.el: Refactor faces. Move grayscale requirements
2000 last before t. Use uniform line breaks.
3d2efec2 2001 (mh-min-colors-defined-flag): New variable.
13fe29bd 2002 (mh-defface-compat): New function. Provides backward compatibility
3d2efec2 2003 for face specs.
2bd87afb
SM
2004 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2005 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
3d2efec2 2006 (mh-folder-body): Use mh-defface-compat.
94abd6b7 2007
b07e0686
DN
20082005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2009
2010 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2011 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2012 (mh-folder-to-face): Use the min-colors attribute instead of the
2013 type attribute.
2014
be33fce4
BW
20152005-11-03 Bill Wohler <wohler@newt.com>
2016
2017 * mh-customize.el (mh-refile-preserves-sequences-flag)
13fe29bd
BW
2018 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
2019 docstrings with manual.
be33fce4
BW
2020
2021 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2022
2bd87afb 2023 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
be33fce4
BW
2024 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2025 with manual.
2026
93eece98
BW
20272005-11-01 Bill Wohler <wohler@newt.com>
2028
13fe29bd
BW
2029 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2030 defcustom.
b2064e08
BW
2031 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2032 (mh-reply, mh-send, mh-send-other-window)
2033 (mh-fill-paragraph-function): Sync docstrings with manual.
13fe29bd
BW
2034 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2035 msg argument to message (to make for a better docstring).
b2064e08
BW
2036
2037 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
13fe29bd 2038 to defcustom. Rename by adding -flag.
b2064e08
BW
2039 (mh-compose-forward-as-mime-flag)
2040 (mh-compose-letter-function, mh-forward-subject-format)
2041 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2042 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2043 with manual.
2044
2bd87afb 2045 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
93eece98 2046 (mh-ps-print-msg): Remove debugging messages.
2bd87afb 2047 (mh-ps-print-msg-show, mh-ps-print-msg-show)
93eece98
BW
2048 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2049 after message per conventions.
2050
fefc5079
BW
20512005-10-30 Bill Wohler <wohler@newt.com>
2052
2bd87afb 2053 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
13fe29bd
BW
2054 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
2055 docstrings with manual.
ece9cbf7 2056
fefc5079
BW
2057 * mh-customize.el (mh-compose-space-does-completion-flag)
2058 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2059 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
13fe29bd
BW
2060 means" to remain checkdoc clean and consistent with Emacs. I
2061 raised this issue with the Emacs developers and Stallman agrees
fefc5079
BW
2062 that "On means" should be allowed in custom docstrings but that
2063 this change requires thought and should wait until after the Emacs
2064 22 release.
2065
ec397a34
BW
20662005-10-28 Bill Wohler <wohler@newt.com>
2067
50df64d6
BW
2068 * mh-comp.el (mh-annotate-msg): Use new variable
2069 mh-scan-field-destination-offset rather than hard-coding 1.
2070
2071 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2072 docstring.
13fe29bd
BW
2073 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2074 functions to check input for mh-adaptive-cmd-note-flag and
50df64d6
BW
2075 mh-scan-format-file respectively.
2076 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2077 add :set.
2078
13fe29bd
BW
2079 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
2080 destination is the -, t, b, c, or n character for Replied, To, cc,
50df64d6
BW
2081 Bcc, or Newsgroups respectively.
2082 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
2083 Call new function mh-msg-num-width-to-column to make leap between
2084 width and column more explicit.
2085 (mh-msg-num-width-to-column): New function that steals logic from
13fe29bd 2086 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
50df64d6
BW
2087 isn't t since we can't adapt the scan lines in this case.
2088 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2089 make the documentation more clear.
2090 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2091 column, not a width.
2092 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
13fe29bd
BW
2093 variable mh-scan-field-destination-offset rather than hard-coding
2094 1.
50df64d6
BW
2095
2096 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2097 (mh-notate): Use new variable mh-scan-field-destination-offset
2098 rather than hard-coding 1.
2099 (mh-message-number-width): Rename to mh-msg-num-width to be
2100 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2101
ec397a34
BW
2102 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2103 (mail-citation-hook): Quote URLs in docstrings and precede with
13fe29bd
BW
2104 `URL'. The former will suppress checkdoc warnings, the latter will
2105 turn them into hyperlinks in Emacs 22 (I just added the code to do
2106 that today).
ec397a34
BW
2107 (mh-scan-format-file): Checkdoc fix.
2108
169a3241
BW
21092005-10-27 Bill Wohler <wohler@newt.com>
2110
e069fa61
BW
2111 * mh-customize.el (mh-adaptive-cmd-note-flag)
2112 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2113
2114 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2115 (mh-note-cur, mh-scan-good-msg-regexp)
2116 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2117 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2118 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2119 (mh-scan-subject-regexp, mh-scan-format-regexp)
2120 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2121 with manual.
2122
2123 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2124
2125 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2126 of hard-coded string.
13fe29bd
BW
2127 (mh-mail-header-separator, mh-signature-separator-regexp): Use
2128 "regular expression" in docstring instead of regexp.
e069fa61
BW
2129 (mh-scan-msg-number-regexp)
2130 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2131 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2132 (mh-cmd-note): Sync docstrings with manual.
2133
3b463df0
BW
2134 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2135 Checkdoc fixes.
2136
2137 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2bd87afb
SM
2138
2139 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2140 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2141 (mh-mml-secure-message-signencrypt): Ditto.
169a3241 2142
4a263988
BW
21432005-10-24 Bill Wohler <wohler@newt.com>
2144
2145 * mh-gnus.el: Load mml.el in order to see if
2146 mml-minibuffer-read-disposition is defined or not.
2147
2148 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2149 mml autoloads.
2150
97c60a38
MB
21512005-10-23 Miles Bader <miles@gnu.org>
2152
2153 * .arch-inventory: New file.
2154
9a51cf9e
BW
21552005-10-23 Bill Wohler <wohler@newt.com>
2156
13fe29bd
BW
2157 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
2158 docstring with manual.
136e0283 2159
9a51cf9e
BW
2160 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2161 mh-alias.el and move to mh-acros.el
2162
2163 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2164 mh-identity.el and move to mh-acros.el
2165
2166 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2167 mh-identity.el and mh-alias.el.
2168
2169 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2170 warning in Emacs 22.
2171
1dd9796d
SD
21722005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2173
2174 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2175 assoc-string (if the function is available) and falls back on
2176 assoc-ignore-case if assoc-string is not found.
2177 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2178 assoc-ignore-case is a obsolete function in Emacs 22.
2179
2180 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2181 track of whether the tool-bar in mh-folder-mode has been
2182 initialized yet.
2183 (mh-folder-mode): Initialize the tool-bar for folders the first
2184 time we get into mh-letter-mode.
2185
2186 * mh-customize.el (mh-buffer-exists-p): New function which tests
2187 presence of buffers of a given mode.
2188 (mh-tool-bar-define): New functions
2189 mh-tool-bar-folder-buttons-init and
13fe29bd 2190 mh-tool-bar-letter-buttons-init are defined. These functions are
1dd9796d
SD
2191 used to create the tool-bar from the corresponding customizable
2192 variables.
2193
2194 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2195 keeps track of whether the tool-bar in mh-letter-mode has been
2196 initialized yet.
2197 (mh-letter-mode): Initialize the tool-bar for drafts the first
2198 time we get into mh-letter-mode.
2199
0c47b17c
BW
22002005-10-23 Bill Wohler <wohler@newt.com>
2201
13fe29bd
BW
2202 * mh-comp.el (mh-letter-menu): Rename
2203 mh-mhn-compose-external-compressed-tar to
2204 mh-mh-compose-external-compressed-tar. Rename
2205 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2206 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2207 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2208 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2209 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
0c47b17c
BW
2210 to 'mh.
2211 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2212 mh-mh-directive-present-p.
2213 (mh-send-letter): Rename mh-mhn-directive-present-p to
13fe29bd
BW
2214 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2215 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2216 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2217 mh-mhn-compose-external-compressed-tar to
2218 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2219 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2220 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2221 mh-mh-compose-anon-ftp. Rename
2222 mh-mhn-compose-external-compressed-tar to
2223 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2224 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
0c47b17c
BW
2225 mh-mh-compose-external-type.
2226 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2227 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
13fe29bd
BW
2228 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2229 mh-yank-from-start-of-msg to mh-yank-behavior.
0c47b17c
BW
2230 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2231 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2232 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2233 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2234 (mh-letter-complete-or-space, mh-letter-confirm-address)
2235 (mh-letter-next-header-field-or-indent)
2236 (mh-letter-previous-header-field)
13fe29bd
BW
2237 (mh-letter-toggle-header-field-display): Sync docstrings with
2238 manual.
0c47b17c 2239
13fe29bd
BW
2240 * mh-customize.el (mh-edit-mhn-hook): Rename to
2241 mh-mh-to-mime-hook.
0c47b17c
BW
2242 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2243 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2244 and user-visible values from mhn and Gnus to MH and MML.
2bd87afb 2245 (mh-before-send-letter-hook): Add 'ispell-message option.
0c47b17c
BW
2246 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2247 mh-pgp-support-flag.
2248 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2249 (mh-delete-yanked-msg-window-flag)
2250 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2251 (mh-letter-complete-function, mh-letter-fill-column)
2252 (mh-mml-method-default, mh-signature-file-name)
2253 (mh-signature-separator-flag, mh-x-face-file)
2254 (mh-yank-behavior, mail-citation-hook)
2255 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2256 with manual.
2257
2258 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2259 provided for Emacs 21 environments that lack it.
2260
2261 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2262 prompt convention.
2263 (mh-compose-forward): mh-mh-forward-message requires string arg.
2264 (mh-minibuffer-read-type): New function.
2265 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2266 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2267 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2268 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2269 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
13fe29bd
BW
2270 Rename mh-mhn-compose-external-type to
2271 mh-mh-compose-external-type.
0c47b17c 2272 (mh-mhn-compose-external-compressed-tar): Rename to
13fe29bd
BW
2273 mh-mh-compose-external-compressed-tar. Rename
2274 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2275 (mh-mhn-compose-external-type): Rename to
2276 mh-mh-compose-external-type.
2277 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2278 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
0c47b17c
BW
2279 Use correct program in message.
2280 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2281 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2282 (mh-compose-forward, mh-mh-attach-file)
2283 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2284 (mh-mh-compose-external-type, mh-mh-forward-message)
2285 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2286 mh-minibuffer-read-type.
2bd87afb 2287 (mh-mime-content-types): Move comment about only being used in
0c47b17c
BW
2288 Emacs 20 to docstring.
2289 (mh-mh-compose-external-type): Rename extra-param argument to
2290 parameters.
2bd87afb 2291 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
13fe29bd
BW
2292 (mh-mime-display-part, mh-mime-display-single): Rename
2293 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
0c47b17c
BW
2294 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2295 mh-mh-attach-file.
2296 (mh-compose-forward): Rename mh-mhn-compose-forw to
2297 mh-mh-forward-message.
2298 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2299 mh-mh-compose-type.
2300 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2301 (mh-mh-attach-file, mh-mh-compose-type)
2302 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2303 (mh-mh-compose-external-compressed-tar)
2304 (mh-mh-compose-external-type, mh-mh-forward-message)
2bd87afb 2305 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
0c47b17c
BW
2306 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2307 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2308 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2309 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2310 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2311 Sync docstrings with manual.
2312
13fe29bd
BW
2313 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2314 mh-pgp-support-flag.
0c47b17c 2315
fba3b4d8
PG
23162005-10-17 Peter S Galbraith <psg@debian.org>
2317
13fe29bd
BW
2318 * mh-identity.el (mh-identity-field-handler): Use
2319 `assoc-ignore-case' to compare against header field for mixed-case
fba3b4d8
PG
2320 "From:".
2321
ffda926c
BW
23222005-10-17 Bill Wohler <wohler@newt.com>
2323
2bd87afb 2324 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
ffda926c
BW
2325 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2326 to mail/compose, fld_open to fld-open.
13fe29bd
BW
2327 (mh-letter-tool-bar-map): Rename image file mail_send to
2328 mail/send.
ffda926c 2329
8f552dc8
BW
23302005-10-16 Bill Wohler <wohler@newt.com>
2331
79af55a7
BW
2332 * mh-comp.el (mh-display-completion-list-compat): New macro which
2333 calls `display-completion-list' correctly in older environments.
2334 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2335 argument.
2336 (mh-complete-word): Use it.
2337
8f552dc8 2338 * mh-init.el (mh-image-load-path): Use locate-library to find
13fe29bd 2339 MH-E. This simplified the code a lot. Flattened out nested
8f552dc8
BW
2340 statements even more.
2341
7c164e0c
SD
23422005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2343
2344 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2345 causes a compiler warning.
2346
2347 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2348 the message to be viewed (closes SF #1306141).
2349
f5fab556
MY
23502005-10-16 Masatake YAMATO <jet@gyve.org>
2351
13fe29bd
BW
2352 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2353 of completion to `display-completion-list'.
f5fab556 2354
2416ec64
SD
23552005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2356
2357 * mh-init.el (mh-image-load-path-called-flag): New variable which
2358 is used by mh-image-load-path so that it runs only once.
13fe29bd
BW
2359 (mh-image-load-path): Modify so that it gets run only once. Also
2360 flatten out heavily nested if statements to make it clearer.
2416ec64
SD
2361
2362 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2363 to find images used in the toolbar.
2364
2365 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2366
a9954630
BW
23672005-10-14 Bill Wohler <wohler@newt.com>
2368
2bd87afb 2369 * mh-e.el (Version, mh-version): Add +cvs to version.
a9954630 2370
5b004a34
BW
23712005-10-14 Bill Wohler <wohler@newt.com>
2372
2373 Released MH-E version 7.85.
2bd87afb
SM
2374
2375 * mh-e.el (Version, mh-version): Update for release 7.85.
2376
a10f4ace
BW
23772005-10-14 Bill Wohler <wohler@newt.com>
2378
13fe29bd
BW
2379 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2380 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2bd87afb
SM
2381 need to be indented.
2382
5b004a34 2383 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
13fe29bd
BW
2384 but the code that invoked the face had not been updated. Tick
2385 highlighting working again.
5b004a34 2386
13fe29bd
BW
2387 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2388 make-variable-buffer-local call to top level to avoid warnings in
a10f4ace
BW
2389 CVS Emacs.
2390
2bd87afb 2391 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
a10f4ace
BW
2392 with read-string.
2393
a05fcb7d 23942005-10-09 Bill Wohler <wohler@newt.com>
c727526b 2395
a05fcb7d
BW
2396 * mh-init.el (mh-image-load-path): New function that adds the path
2397 to the MH-E images to the image-load-path or load-path depending
2398 on the version of Emacs.
c727526b 2399
a05fcb7d
BW
2400 * mh-customize.el: Call mh-image-load-path just before
2401 mh-tool-bar-define so that the toolbar images can be found.
d88a70a0 2402
a05fcb7d 24032005-10-04 Bill Wohler <wohler@newt.com>
d88a70a0 2404
2bd87afb
SM
2405 * ChangeLog: Move contents into ChangeLog.1 and trim.
2406
13fe29bd 2407 * ChangeLog.1: New file. Contains old ChangeLog.
900d1698 2408
47570699 2409
a05fcb7d 2410 Copyright (C) 2005 Free Software Foundation, Inc.
e9be14aa 2411
e495eaec
BW
2412 Copying and distribution of this file, with or without modification,
2413 are permitted in any medium without royalty provided the copyright
2414 notice and this notice are preserved.
ab5796a9 2415
13fe29bd
BW
2416;; Local Variables:
2417;; sentence-end-double-space: nil
2418;; End:
2419
ab5796a9 2420;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51