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