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