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