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