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