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