Avoid crash on composition (backport from trunk).
[emacs.git] / lisp / mh-e / ChangeLog
blob1c07be301b1a3172d482bbb26841467cbe6c9823
1 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
3         * Version 23.3 released.
5 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
7         * Version 23.2 released.
9 2010-03-22  Juanma Barranquero  <lekktu@gmail.com>
11         * mh-scan.el (mh-scan-cmd-note-width): Doc fix.
12         (mh-scan-format-mh, mh-scan-body-regexp, mh-scan-cur-msg-number-regexp)
13         (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
14         (mh-scan-deleted-msg-regexp, mh-scan-good-msg-regexp)
15         (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
16         (mh-scan-msg-number-regexp, mh-scan-rcpt-regexp)
17         (mh-scan-refiled-msg-regexp, mh-scan-sent-to-me-sender-regexp)
18         (mh-scan-subject-regexp, mh-update-scan-format)
19         (mh-msg-num-width-to-column): Fix typos in docstrings.
21 2009-12-01  Bill Wohler  <wohler@newt.com>
23         * mh-search.el (mh-mairix-execute-search): Use mh vfolder_format.
24         Fix typo in database path.
25         (mh-namazu-execute-search): Specify -q in example since namazu is
26         excessively garrulous.
28 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
30         * mh-thread.el (mh-thread-set-tables):
31         * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-stealth-update):
32         (mh-speed-extract-folder-name, mh-speed-parse-flists-output):
33         (mh-speed-invalidate-map, mh-speed-add-folder):
34         * mh-show.el (mh-invalidate-show-buffer, mh-show-sequence-menu):
35         * mh-seq.el (mh-list-sequences):
36         * mh-search.el (mh-index-execute-commands, mh-index-add-to-sequence)
37         (mh-index-delete-from-sequence, mh-index-update-maps):
38         * mh-scan.el (mh-msg-num-width):
39         * mh-print.el (mh-ps-spool-buffer):
40         * mh-mime.el (mh-mime-save-parts, mh-handle-set-external-undisplayer)
41         (mh-file-mime-type):
42         * mh-letter.el (mh-yank-cur-msg):
43         * mh-funcs.el (mh-list-folders, mh-pipe-msg, mh-store-msg)
44         (mh-store-buffer):
45         * mh-folder.el (mh-modify, mh-visit-folder, mh-write-msg-to-file)
46         (mh-prompt-for-refile-folder):
47         * mh-e.el (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
48         (mh-handle-process-error, mh-variant-info):
49         * mh-comp.el (mh-forward):
50         * mh-alias.el (mh-alias-local-users, mh-alias-which-file-has-alias):
51         (mh-alias-add-alias-to-file): Use with-current-buffer.
53 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
55         * mh-e.el: Load mh-loaddefs during compilation as well.
57 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
59         * mh-e.el (mh-loaddefs): Load rather than require.
61 2009-10-06  Glenn Morris  <rgm@gnu.org>
63         * mh-show.el (mh-show-msg): Use window-full-height-p.
65 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
67         * mh-comp.el (mh-send-letter): default-buffer-file-coding-system
68         => (default-value 'buffer-file-coding-system).
70 2009-08-10  Bill Wohler  <wohler@newt.com>
72         * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
73         (mh-spamprobe-blacklist): Sync docstring with manual.
75 2009-07-22  Kevin Ryde  <user42@zip.com.au>
77         * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
78         (mh-spamprobe-blacklist): Hyperlink URLs in docstrings with URL `...'.
80 2009-06-13  Bill Wohler  <wohler@newt.com>
82         Release MH-E version 8.2.
84         * mh-e.el (Version, mh-version): Update for release 8.2.
86         * mh-seq.el (mh-folder-size-flist)
87         * mh-speed.el (mh-speed-parse-flists-output)
88         * mh-xface.el (mh-face-display-function): Remove trailing space.
90 2009-03-13  D. Goel  <deego3@gmail.com>
92         * mh-seq.el (mh-folder-size-flist): Use (values-list) in m-v call
93         to list.
95         * mh-speed.el (mh-speed-parse-flists-output): Ditto.
96         * mh-xface.el (mh-face-display-function): Ditto.
97         * mh-search.el (mh-index-parse-search-regexp): Ditto.
99         * mh-thread.el (mh-thread-generate): Ditto.
101         * mh-seq.el (mh-parse-flist-output-line): Return list rather than values.
102         We want to avoid emacs using m-v facilities.
103         (mh-folder-size-folder): Ditto.
104         (mh-parse-flist-output-line): Ditto.
105         * mh-thread.el (mh-thread-prune-subject): Ditto.
106         * mh-xface.el (mh-picon-get-image): Ditto.
107         (mh-picon-file-contents): Ditto.
108         * mh-search.el (mh-index-evaluate): Ditto.
110 2009-01-27  Bill Wohler  <wohler@newt.com>
112         * mh-funcs.el (mh-pack-folder): Fix docstring.
114         * mh-e.el (mh-pack-folder-hook): Bump package-version to 8.2.
116         * mh-gnus.el (mh-mm-merge-handles)
117         (mh-mm-set-handle-multipart-parameter, mh-mm-inline-text-vcard)
118         (mh-mml-minibuffer-read-disposition, mh-mm-save-part): Update with
119         code from Gnus 5.11 (closes SF #2235022).
121 2009-01-26  Stephen Gildea  <gildea@stop.mail-abuse.org>
123         * mh-e.el (mh-pack-folder-hook): New variable.
124         * mh-funcs.el (mh-pack-folder): Call new mh-pack-folder-hook.
126 2009-01-26  Bill Wohler  <wohler@newt.com>
128         * mh-utils.el (mh-goto-header-end): Use mh-mail-header-separator
129         instead of -* in regexp.
131         * mh-folder.el (mh-folder-mode-help-messages): Add e and t to K's
132         help.
134 2009-01-09  Glenn Morris  <rgm@gnu.org>
136         * mh-letter.el: Replace last-input-char with last-input-event.
138 2008-08-18  Bill Wohler  <wohler@newt.com>
140         Release MH-E version 8.1.
142         * mh-e.el (Version, mh-version): Update for release 8.1.
144 2008-08-11  Bill Wohler  <wohler@newt.com>
146         * mh-e.el (mh-variant-mh-info, mh-variant-nmh-info)
147         (mh-variant-set-variant, mh-variant-p, mh-profile-component)
148         (mh-variant-set, mh-variant, mh-scan-format-file): Fix typo in
149         docstring.
151         * mh-comp.el (mh-reply)
152         * mh-e.el (mh-sys-path, mh-variant-info, mh-variant-mu-mh-info)
153         (mh-variant-p, mh-profile-component, mh-variant-set, mh-variant)
154         (mh-scan-format-file)
155         * mh-folder.el (mh-regenerate-headers)
156         * mh-scan.el (mh-scan-format)
157         * mh-search.el (mh-pick-regexp-builder): Rename variant mu-mh to
158         gnu-mh and be explicit about GNU mailutils MH in docstrings (with
159         thanks to Darel Henman) (closes SF #1768928).
161 2008-08-01  Bill Wohler  <wohler@newt.com>
163         * mh-show.el (mh-show-preferred-alternative)
164         * mh-e.el (mh-annotate-msg-hook): Sync docstring with manual.
166         * mh-comp.el (mh-send-letter, mh-redistribute): Mention
167         mh-annotate-msg-hook in docstring.
169 2008-06-29  Jeffrey C Honig  <jch@honig.net>
171         * mh-e.el (mh-invisible-header-fields-internal): Add invisible
172         header fields for X-Hz (mail from Hertz), X-Proofpoint (Proofpoint
173         antivirus/anti-spam) and X-RIM (Research In Motion).
175 2008-06-20  Stephen Eglen  <stephen@gnu.org>
177         * mh-show.el (mh-defun-show-buffer): Use `...' rather than than
178         "..." in generated docstrings.
180 2008-06-12  Glenn Morris  <rgm@gnu.org>
182         * mh-seq.el (tool-bar-map): Define for compiler.
184         * mh-folder.el (mh-folder-mode):
185         * mh-letter.el (mh-letter-mode):
186         * mh-show.el (mh-show-mode): Check tool-bar-map is bound.
188 2008-06-08  John Paul Wallington  <jpw@pobox.com>
190         * mh-acros.el (toplevel): Put `doc-string-elt' properties on
191         `defun-mh' and `defmacro-mh'.
193         * mh-alias.el (mh-alias-read-address-map): Define within defvar.
195         * mh-comp.el (mh-letter-mode-syntax-table): Define within defvar.
197         * mh-letter.el (mh-complete-word): Doc fix.
199 2008-06-02  John Paul Wallington  <jpw@pobox.com>
201         * mh-e.el (mh-exec-cmd-env-daemon): Doc fix.
203 2008-06-01  John Paul Wallington  <jpw@pobox.com>
205         * mh-e.el (mh-path, mh-variant): Use dotted syntax for
206         `package-version' info.
208 2008-05-26  Jeffrey C Honig  <jch@honig.net>
210         * mh-e.el (mh-invisible-header-fields-internal): Remove Newsgroups
211         from the list.  Add Bytes, X-Campaignid, X-Country-Chain,
212         X-Declude-, X-fmx-, X-Identity, X-Mailer_, X-pair-, X-SPF-,
213         X-Usenet-Provider.
215 2008-05-23  Bill Wohler  <wohler@newt.com>
217         * mh-e.el (mh-invisible-header-fields-internal): Remove
218         DKIM-Signature as it is covered by DKIM-.  Fully qualify X-EID.
220 2008-05-19  Sergey Poznyakoff  <gray@gnu.org.ua>
222         * mh-mime.el (mh-mh-to-mime, mh-mh-to-mime-undo): Preserve modes
223         when converting to or from MIME (closes SF #1966722).
225 2008-05-19  Bill Wohler  <wohler@newt.com>
227         * mh-e.el (mh-invisible-header-fields-internal): Sort list in a
228         case-insensitive way and add comment about it.  Add many header
229         fields (closes SF #1916032).
231 2008-05-19  Xavier Maillard  <xma@gnu.org>  (tiny change)
233         * mh-utils.el (mh-find-path): Don't throw error if MH environment
234         variable is being used (closes SF #1946861).
236 2008-05-19  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
238         * mh-search.el (mh-mairix-regexp-builder): Add additional items to
239         search string to support org-mode (closes SF #1965704).
241 2008-03-18  Bill Wohler  <wohler@newt.com>
243         * mh-e.el (mh-invisible-header-fields-internal): Add Accreditor,
244         Seal-Send-Time.
245         (mh-invisible-header-fields, mh-invisible-header-fields-default):
246         Update URL to bug report for users to report ignored fields.
248 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
250         * mh-xface.el (mh-uncompface, mh-picon-file-contents):
251         Use set-buffer-multibyte...
252         (mh-face-display-function, mh-x-image-display): ...rather than bind
253         default-enable-multibyte-characters.
255 2008-02-24  Bill Wohler  <wohler@newt.com>
257         * mh-comp.el (mh-send-letter): Call split-string on mh-send-args
258         when sending synchronously too.
260 2008-02-19  Bill Wohler  <wohler@newt.com>
262         * mh-comp.el (mh-annotate-msg):
263         * mh-e.el (mh-invisible-header-fields-internal): Remove trailing
264         whitespace.
266 2008-01-30  Bill Wohler  <wohler@newt.com>
268         * mh-mime.el (mh-mml-to-mime): Don't look up sender if From
269         absent.  Fixes "Wrong type argument: stringp, nil" error.
271 2007-12-02  Glenn Morris  <rgm@gnu.org>
273         * mh-mime.el (mail-strip-quoted-names): Autoload it.
275 2007-11-17  Dan Nicolaescu  <dann@ics.uci.edu>
277         * mh-e.el (mh-xemacs-flag): Remove.
278         (mh-min-colors-defined-flag):
279         * mh-xface.el (mh-show-xface-function):
280         * mh-utils.el (mh-colors-available-p):
281         * mh-show.el (mh-show-mode):
282         * mh-gnus.el (mh-gnus-local-map-property):
283         * mh-folder.el (mh-folder-mode-map)
284         (mh-remove-xemacs-horizontal-scrollbar, mh-folder-mode):
285         * mh-comp.el (mh-insert-x-mailer): Replace uses of mh-xemacs-flag
286         with (featurep 'xemacs).
288 2007-09-11  Bill Wohler  <wohler@newt.com>
290         * mh-e.el (Version, mh-version): Add +cvs to version.
292 2007-08-25  Stephen Gildea  <gildea@stop.mail-abuse.org>
294         * mh-e.el (mh-annotate-msg-hook): New variable.
296         * mh-comp.el (mh-annotate-msg): Call new mh-annotate-msg-hook.
297         (mh-annotate-list): New variable, for mh-annotate-msg-hook.
299 2007-08-21  Jeffrey C Honig  <jch@honig.net>
301         * mh-folder.el (mh-folder-message-menu, mh-folder-mode-map): Add
302         folder mode support for mh-show-preferred-alternative (closes SF
303         #1777321).
305         * mh-show.el (mh-show-preferred-alternative)
306         (mh-show-write-message-to-file, mh-show-message-menu)
307         (mh-show-mode-map): Add mh-show-preferred-alternative (bound to
308         ":") which will show the message's preferred alternative
309         overriding the users configured preference.  Useful for showing
310         HTML when text content is lacking (closes SF #1777321).
312         * mh-e.el:
313         (mh-invisible-header-fields-internal): Exclude Fax and Phone.  Put
314         known exclusions as comments before the list and move parens to
315         separate lines to aid in sorting (closes SF #1701231).
317         * mh-mime.el (mm-decode-body): Remove explicit autoload of
318         mh-alias-expand.
320         * mh-alias.el (mh-alias-expand): Set up automatic autoload of
321         mh-alias-expand.
323 2007-08-20  Jeffrey C Honig  <jch@honig.net>
325         * mh-mime.el (message-options-set): Add missing autoloads from my
326         last change.
328         * mh-comp.el (mh-forward): When forwarding with mml, messages are
329         no longer included in reverse order (closes SF #1730393).
331         * mh-mime.el (mh-mml-forward-message): Forward messages as inline
332         attachments (closes SF #1378993).
334 2008-02-06  Richard Stallman  <rms@gnu.org>
336         * mh-seq.el (mh-make-seq, mh-seq-name): Use defsubst.
338         * mh-acros.el (mh-do-in-gnu-emacs, mh-do-in-xemacs)
339         (with-mh-folder-updating, mh-in-show-buffer)
340         (mh-iterate-on-messages-in-region, mh-iterate-on-range):
341         (mh-do-at-event-location): Add debug decls.
342         (mh-seq-msgs): Use defsubst.
344 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
346         * mh-e.el (mh-scan-format-file-check, mh-adaptive-cmd-note-flag-check):
347         * mh-xface.el (mh-x-image-url-cache-canonicalize):
348         Replace `legal' with `valid'.
350 2007-08-19  Jeffrey C Honig  <jch@honig.net>
352         * mh-e.el (mh-invisible-header-fields-internal): We want to show
353         Comments: and hide Comment:, not the other way around.
355         * mh-mime.el (mh-mml-to-mime): GPG requires e-mail addresses, not
356         aliases.  So resolve aliases before passing addresses to GPG/PGP
357         (closes SF #649226).
359         * mh-e.el (mh-invisible-header-fields-internal): Update with all
360         the entries from
361         http://people.dsv.su.se/~jpalme/ietf/mail-headers, plus some of my
362         own.  I added attributions to entries we already had that did not
363         list an RFC.
365 2007-08-08  Glenn Morris  <rgm@gnu.org>
367         * mh-folder.el, mh-letter.el, mh-show.el: Replace `iff' in
368         doc-strings and comments.
370 2007-07-25  Glenn Morris  <rgm@gnu.org>
372         * Relicense all FSF files to GPLv3 or later.
374 2007-07-11  Bill Wohler  <wohler@newt.com>
376         * mh-compat.el (mh-display-color-cells): Fix on XEmacs 21.5b28.
377         Thanks to Henrique Martins for the help (closes SF #1749774).
379 2007-06-06  Juanma Barranquero  <lekktu@gmail.com>
381         * mh-mime.el (mh-mh-directive-present-p):
382         * mh-search.el (mh-index-group-by-folder): Fix typos in docstrings.
384 2006-11-14  Bill Wohler  <wohler@newt.com>
386         * mh-xface.el (mh-x-image-url-cache-canonicalize): Add `*' to
387         reserved Windows filename characters (closes SF #1396499).
389 2006-11-13  Bill Wohler  <wohler@newt.com>
391         Release MH-E version 8.0.3.
393         * mh-e.el (Version, mh-version): Update for release 8.0.3.
395         * mh-e.el (mh-alias-local-users): Boolean docstrings should start
396         with "Non-nil means".  Perhaps this option should have a -flag
397         appended.
398         (mh-junk-background): Sync docstring with manual.
400         * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
401         (mh-spamprobe-blacklist): Sync docstring with manual.
403 2006-11-11  Stephen Gildea  <gildea@stop.mail-abuse.org>
405         * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
406         Use mh-junk-background consistently in call-process calls.
407         (mh-bogofilter-blacklist, mh-bogofilter-whitelist)
408         (mh-spamprobe-blacklist, mh-spamprobe-whitelist):
409         Use with-current-buffer so the right thing happens if
410         mh-junk-background is t (closes SF #1594802).
412         * mh-e.el (mh-junk-background): Document that On value is 0;
413         t may be used for debugging.
415 2006-11-10  Andreas Schwab  <schwab@suse.de>
417         * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
419 2006-11-10  Glenn Morris  <rgm@gnu.org>
421         * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
423 2006-09-25  Stephen Gildea  <gildea@stop.mail-abuse.org>
425         * mh-junk.el (mh-spamassassin-whitelist): Add two missing
426         quotation marks, so that the last two arguments of sa-learn
427         are separated properly (closes SF #1565460).
428         (mh-spamassassin-blacklist): In example .procmailrc, add
429         PATH element to find mhparam on Debian.
431 2006-09-24  Stephen Gildea  <gildea@stop.mail-abuse.org>
433         * mh-comp.el (mh-send-args): Initialize to "" instead of nil
434         so that we always have a valid string for split-string even if
435         nothing is added in mh-send-letter (closes SF #1564742).
437 2006-07-03  Bill Wohler  <wohler@newt.com>
439         Release MH-E version 8.0.2.
441         * mh-e.el (Version, mh-version): Update for release 8.0.2.
443 2006-07-03  Ted Phelps  <phelps@gnusto.com>  (tiny change)
445         * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
446         it refers to the icons in mh-xemacs-icon-map instead of trying to
447         declare the icons in situ.  This allows mh-tool-bar.el to be
448         compiled under XEmacs.  Remove initial value for
449         mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
450         mh-tool-bar-letter-buttons.  The MH-E icons now appear in XEmacs.
451         In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
452         This allows MH-E to be used in XEmacs in a tty (closes SF #1506846).
454 2006-07-03  Bill Wohler  <wohler@newt.com>
456         * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
457         that mh-xemacs needs functions in mh-compat.
459 2006-06-29  Bill Wohler  <wohler@newt.com>
461         * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
462         loop construct to be consistent with other loops, and because
463         edebug doesn't work without it.
465 2006-06-29  Ted Phelps  <phelps@gnusto.com>  (tiny change)
467         * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
468         redundant +s in regexp (closes SF #1514424).
470 2006-06-29  Sergey Poznyakoff  <gray@Mirddin.farlep.net>  (tiny change)
472         * mh-mime.el (mh-mime-save-parts): Add -store option to
473         mhn (closes SF #1513140).
475 2006-06-20  Bill Wohler  <wohler@newt.com>
477         Release MH-E version 8.0.1.
479         * mh-e.el (Version, mh-version): Update for release 8.0.1.
481 2006-06-15  Bill Wohler  <wohler@newt.com>
483         * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
484         suffix for folder names, as <> are illegal filename characters on
485         Windows (closes SF #1507002).
487 2006-06-05  Jacob Morzinski  <morzinski@MIT.EDU>  (tiny change)
489         * mh-comp.el (mh-send-uses-spost): New variable.
490         (mh-send-letter): Do not use -msgid and -mime if
491         mh-send-uses-spost is t (closes SF #1486726).
493 2006-06-02  Bill Wohler  <wohler@newt.com>
495         (mh-folder-exists-p): Change test from an empty buffer, to one
496         that contains the actual folder, since GNU mailutils' folder
497         command displays output if the folder doesn't exist (closes SF
498         #1499712).
500 2006-05-06  Bill Wohler  <wohler@newt.com>
502         Release MH-E version 8.0.
504         * mh-e.el (Version, mh-version): Update for release 8.0.
506 2006-05-05  Bill Wohler  <wohler@newt.com>
508         * mh-e.el: Update commentary.
510 2006-04-28  Bill Wohler  <wohler@newt.com>
512         Release MH-E version 7.95.
514         * mh-e.el (Version, mh-version): Update for release 7.95.
516 2006-04-26  Eric Ding  <ericding@alum.mit.edu>
518         * mh-e.el (mh-invisible-header-fields-internal): Add entry
519         "X-Provags-ID:".
521 2006-04-25  Bill Wohler  <wohler@newt.com>
523         * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
524         Folders returned by mh-folder-completion-function no longer need
525         adornment (closes SF #1476270).
527 2006-04-21  Bill Wohler  <wohler@newt.com>
529         * mh-e.el (Version, mh-version): Add +cvs to version.
531 2006-04-21  Bill Wohler  <wohler@newt.com>
533         Release MH-E version 7.94.
535         * mh-e.el (Version, mh-version): Update for release 7.94.
537 2006-04-21  Bill Wohler  <wohler@newt.com>
539         * mh-letter.el (mh-insert-letter): If a message number isn't
540         given, throw an error rather than using a potentially incorrect
541         message number (closes SF #1473729).  In addition, use the cur
542         message if mh-sent-from-msg is nil (when sending a message, in
543         contrast to replying).  Move conversion of int to string into
544         interactive stanza so body can assume variables are of proper
545         type.
547 2006-04-20  Bill Wohler  <wohler@newt.com>
549         * mh-tool-bar.el (image-load-path): Define to shush compiler.
550         (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
551         isn't used outside of it.
552         (mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
553         Update load-path/image-load-path before setting buttons.
554         This code used to be in mh-folder-mode/mh-letter-mode but this was
555         the wrong place since mh-tool-bar-*-buttons-init can also be called
556         when customizing the buttons.
557         (mh-tool-bar-update): New function which updates tool-bar-map in
558         all of the MH-E buffers after customizing the buttons (closes SF
559         #1452718).
560         (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
561         Call it (closes SF #1452718).
563         * mh-folder.el (mh-folder-buttons-init-flag): Delete.  Use
564         mh-folder-tool-bar-map instead.
565         (image-load-path): Delete.  No longer used.
566         (mh-folder-mode): Moved setting of image-load-path into
567         mh-tool-bar-folder-buttons-init.
569         * mh-letter.el (mh-letter-buttons-init-flag): Delete.  Use
570         mh-letter-tool-bar-map instead.
571         (image-load-path): Delete.  No longer used.
572         (mh-letter-mode): Moved setting of image-load-path into
573         mh-tool-bar-letter-buttons-init.
575         * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
576         instead of set-buffer.
578 2006-04-19  Bill Wohler  <wohler@newt.com>
580         * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
581         can permanently disable a button (such as a separator) with nil.
583 2006-04-18  Bill Wohler  <wohler@newt.com>
585         * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
586         (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
587         (mh-min-colors-defined-flag): Do not unbind these macros and
588         variables.  Nice idea, but too many nasty side-effects.  These
589         macros are needed by [Cc]ustom-make-dependencies when creating the
590         MH-E customization groups in mh-cus-load.el.  These disappeared
591         when the macros above were introduced.  Besides, if a developer
592         were to try to show the help for a macro or variable they were
593         looking at and got [No match] when they did so, that would be bad.
595 2006-04-17  Bill Wohler  <wohler@newt.com>
597         * mh-comp.el (mh-insert-x-mailer): Strip build number from
598         version in X-Mailer field (closes SF #1466481).
600         * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
601         variables and functions with the same name are found correctly by
602         find-func (invoked by clicking on the filename link in the *Help*
603         buffer).
604         (mh-defmacro-compat): Rename to defmacro-mh.  Ditto.
606         * mh-e.el (mh-defgroup): Rename to defgroup-mh.  Ditto.
607         (mh-defcustom): Rename to defcustom-mh.  Ditto.
608         (mh-defface): Rename to defface-mh.  Ditto.
609         (mh-font-lock-add-keywords): Make changes according to these
610         renamings.
612         * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
613         #1472029).
615         * mh-utils.el (mh-sub-folders-actual): Mention that folder must
616         have been processed by mh-normalize-folder-name.
617         (mh-folder-completion-function): Handle completion of folders with
618         absolute names.  Also, when flag is t, display complete folder name
619         to provide proper highlighting in Emacs 22 now that
620         minibuffer-completing-file-name is nil (closes SF #1470518).
621         (mh-folder-completing-read): No longer set
622         minibuffer-completing-file-name to t.  This was causing "Can't set
623         current directory errors" when browsing absolute file names.
624         Another benefit of this change is that SPC can be used for
625         completion again (closes SF #1470518).
627 2006-04-15  Bill Wohler  <wohler@newt.com>
629         * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
631 2006-04-14  Bill Wohler  <wohler@newt.com>
633         * mh-funcs.el (view-exit-action): No need to wrap defvar with
634         eval-when-compile when shushing compiler.
636         * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
638         * mh-seq.el (view-exit-action): Ditto.
640         * mh-show.el (font-lock-auto-fontify): Ditto.
642         * mh-utils.el (mh-speed-flists-cache): Ditto.
644         * mh-acros.el (struct, x, y): No need to wrap defvar with
645         eval-when-compile when shushing compiler, even when
646         mh-do-in-xemacs or another construct is used.
648         * mh-comp.el (sendmail-coding-system): Ditto.
650         * mh-e.el (mark-active): Ditto.
652         * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
653         (image-load-path, font-lock-defaults): Ditto.
655         * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
657         * mh-mime.el (dots, type, ov)
658         (mm-verify-function-alist, mm-decrypt-function-alist)
659         (pressed-details): Ditto.
661         * mh-search.el (pick-folder, mh-do-in-xemacs)
662         (mh-mairix-folder, mh-flists-search-folders)
663         (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
665         * mh-seq.el (tool-bar-mode): Ditto.
667         * mh-utils.el (completion-root-regexp)
668         (minibuffer-completing-file-name): Ditto.
670         * mh-xface.el (default-enable-multibyte-characters): Ditto.
672         * mh-compat.el (mh-font-lock-add-keywords): New alias for
673         font-lock-add-keywords.  Returns nil on XEmacs.
675         * mh-e.el: Add MH-E function and variable keywords such as
676         mh-defun-compat and mh-defcustom to font-lock-keywords.
678 2006-04-13  Bill Wohler  <wohler@newt.com>
680         * mh-e.el (customize-package-emacs-version-alist)
681         (mh-e, mh-alias, mh-folder, mh-folder-selection)
682         (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
683         (mh-scan-line-formats, mh-search, mh-sending-mail)
684         (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
685         (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
686         (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
687         (mh-alias-insert-file, mh-alias-insertion-location)
688         (mh-alias-local-users, mh-alias-local-users-prefix)
689         (mh-alias-passwd-gecos-comma-separator-flag)
690         (mh-new-messages-folders, mh-ticked-messages-folders)
691         (mh-large-folder, mh-recenter-summary-flag)
692         (mh-recursive-folders-flag, mh-sortm-args)
693         (mh-default-folder-for-message-function)
694         (mh-default-folder-list, mh-default-folder-must-exist-flag)
695         (mh-default-folder-prefix, mh-identity-list)
696         (mh-auto-fields-list, mh-auto-fields-prompt-flag)
697         (mh-identity-default, mh-identity-handlers, mh-inc-prog)
698         (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
699         (mh-junk-program, mh-compose-insertion)
700         (mh-compose-skipped-header-fields)
701         (mh-compose-space-does-completion-flag)
702         (mh-delete-yanked-msg-window-flag)
703         (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
704         (mh-letter-complete-function, mh-letter-fill-column)
705         (mh-mml-method-default, mh-signature-file-name)
706         (mh-signature-separator-flag, mh-x-face-file)
707         (mh-yank-behavior, mh-interpret-number-as-range-flag)
708         (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
709         (mh-search-program, mh-compose-forward-as-mime-flag)
710         (mh-compose-letter-function, mh-compose-prompt-flag)
711         (mh-forward-subject-format, mh-insert-x-mailer-flag)
712         (mh-redist-full-contents-flag, mh-reply-default-reply-to)
713         (mh-reply-show-message-flag)
714         (mh-refile-preserves-sequences-flag, mh-tick-seq)
715         (mh-update-sequences-after-mh-show-flag)
716         (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
717         (mh-decode-mime-flag)
718         (mh-display-buttons-for-alternatives-flag)
719         (mh-display-buttons-for-inline-parts-flag)
720         (mh-do-not-confirm-flag, mh-fetch-x-image-url)
721         (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
722         (mh-highlight-citation-style, mh-invisible-header-fields)
723         (mh-invisible-header-fields-default, mh-lpr-command-format)
724         (mh-max-inline-image-height, mh-max-inline-image-width)
725         (mh-mhl-format-file, mh-mime-save-parts-default-directory)
726         (mh-print-background-flag, mh-show-maximum-size)
727         (mh-show-use-xface-flag, mh-store-default-directory)
728         (mh-summary-height, mh-speed-update-interval)
729         (mh-show-threads-flag, mh-tool-bar-search-function)
730         (mh-defcustom, mh-after-commands-processed-hook)
731         (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
732         (mh-before-quit-hook, mh-before-send-letter-hook)
733         (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
734         (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
735         (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
736         (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
737         (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
738         (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
739         (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
740         (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
741         (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
742         (mh-folder-subject, mh-folder-tick, mh-folder-to)
743         (mh-letter-header-field, mh-search-folder, mh-show-cc)
744         (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
745         (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
746         (mh-show-subject, mh-show-to, mh-show-xface)
747         (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
748         (mh-speedbar-selected-folder)
749         (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
750         notation in :package-version keyword.
752 2006-04-07  Bill Wohler  <wohler@newt.com>
754         * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
755         :package-version keyword.
757 2006-03-31  Bill Wohler  <wohler@newt.com>
759         * mh-e.el (mh-strip-package-version): Move before use to avoid
760         compiler error.  Make macro, also to avoid compiler error.
761         (mh-defface-compat): Incorporate body into mh-face-data and
762         delete.
764 2006-03-30  Bill Wohler  <wohler@newt.com>
766         * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
767         remove new :package-version keyword in older settings.
768         (customize-package-emacs-version-alist): Add MH-E version to Emacs
769         version mappings.
770         (mh-e, mh-alias, mh-folder, mh-folder-selection)
771         (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
772         (mh-scan-line-formats, mh-search, mh-sending-mail)
773         (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
774         (mh-hooks, mh-faces): Add :package-version keyword to these
775         groups (closes SF #1452724).
776         (mh-alias-completion-ignore-case-flag)
777         (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
778         (mh-alias-insert-file, mh-alias-insertion-location)
779         (mh-alias-local-users, mh-alias-local-users-prefix)
780         (mh-alias-passwd-gecos-comma-separator-flag)
781         (mh-new-messages-folders, mh-ticked-messages-folders)
782         (mh-large-folder, mh-recenter-summary-flag)
783         (mh-recursive-folders-flag, mh-sortm-args)
784         (mh-default-folder-for-message-function)
785         (mh-default-folder-list, mh-default-folder-must-exist-flag)
786         (mh-default-folder-prefix, mh-identity-list)
787         (mh-auto-fields-list, mh-auto-fields-prompt-flag)
788         (mh-identity-default, mh-identity-handlers, mh-inc-prog)
789         (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
790         (mh-junk-program, mh-compose-insertion)
791         (mh-compose-skipped-header-fields)
792         (mh-compose-space-does-completion-flag)
793         (mh-delete-yanked-msg-window-flag)
794         (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
795         (mh-letter-complete-function, mh-letter-fill-column)
796         (mh-mml-method-default, mh-signature-file-name)
797         (mh-signature-separator-flag, mh-x-face-file)
798         (mh-yank-behavior, mh-interpret-number-as-range-flag)
799         (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
800         (mh-search-program, mh-compose-forward-as-mime-flag)
801         (mh-compose-letter-function, mh-compose-prompt-flag)
802         (mh-forward-subject-format, mh-insert-x-mailer-flag)
803         (mh-redist-full-contents-flag, mh-reply-default-reply-to)
804         (mh-reply-show-message-flag)
805         (mh-refile-preserves-sequences-flag, mh-tick-seq)
806         (mh-update-sequences-after-mh-show-flag)
807         (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
808         (mh-decode-mime-flag)
809         (mh-display-buttons-for-alternatives-flag)
810         (mh-display-buttons-for-inline-parts-flag)
811         (mh-do-not-confirm-flag, mh-fetch-x-image-url)
812         (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
813         (mh-highlight-citation-style, mh-invisible-header-fields)
814         (mh-invisible-header-fields-default, mh-lpr-command-format)
815         (mh-max-inline-image-height, mh-max-inline-image-width)
816         (mh-mhl-format-file, mh-mime-save-parts-default-directory)
817         (mh-print-background-flag, mh-show-maximum-size)
818         (mh-show-use-xface-flag, mh-store-default-directory)
819         (mh-summary-height, mh-speed-update-interval)
820         (mh-show-threads-flag, mh-tool-bar-search-function): Add
821         :package-version keyword to these options (closes SF #1452724).
822         (mh-after-commands-processed-hook)
823         (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
824         (mh-before-quit-hook, mh-before-send-letter-hook)
825         (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
826         (mh-forward-hook, mh-inc-folder-hook)
827         (mh-insert-signature-hook)
828         (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
829         (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
830         (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
831         (mh-unseen-updated-hook): Add :package-version keyword to these
832         hooks (closes SF #1452724).
833         (mh-min-colors-defined-flag)
834         (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
835         (mh-folder-date, mh-folder-deleted, mh-folder-followup)
836         (mh-folder-msg-number, mh-folder-refiled)
837         (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
838         (mh-folder-subject, mh-folder-tick, mh-folder-to)
839         (mh-letter-header-field, mh-search-folder, mh-show-cc)
840         (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
841         (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
842         (mh-show-subject, mh-show-to, mh-show-xface)
843         (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
844         (mh-speedbar-selected-folder)
845         (mh-speedbar-selected-folder-with-unseen-messages): : Add
846         :package-version keyword to these faces (closes SF #1452724).
848         * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
849         :package-version keywords (closes SF #1452724).
851 2006-03-28  Bill Wohler  <wohler@newt.com>
853         * mh-tool-bar.el: Use clipboard-kill-region,
854         clipboard-kill-ring-save, and clipboard-yank instead of undo,
855         kill-region, and menu-bar-kill-ring-save respectively.  In
856         MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
857         front of mh-compose-insertion to be consistent with other mailers,
858         such as Evolution.  In MH-Folder mode, move vanilla reply icon to
859         the left of the other reply icons.  Use mail/inbox icon instead of
860         mail, next-page instead of page-down, delete instead of close,
861         mail/move instead of mail/refile, data-save instead of execute,
862         mail/flag-for-followup instead of highlight, contact instead of
863         mail/alias, open instead of fld-open, zoom-out instead of widen.
865         * mh-folder.el (mh-execute-commands, mh-rescan-folder):
866         * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
868 2006-03-27  Eric Ding  <ericding@alum.mit.edu>
870         * mh-e.el (mh-invisible-header-fields-internal): Add entries
871         "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail).
873 2006-03-19  Bill Wohler  <wohler@newt.com>
875         * mh-comp.el (mh-reply): Sync docstring with manual.
877         * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
878         docstring.
880 2006-03-17  Bill Wohler  <wohler@newt.com>
882         * mh-compat.el (mh-image-load-path-for-library): Minor docstring fix.
884 2006-03-16  Bill Wohler  <wohler@newt.com>
886         * mh-comp.el (mh-send-letter): Use split-string to break up
887         mh-send-args (closes SF #1448604).
888         (mh-compose-and-send-mail): Use run-hook-with-args for
889         mh-compose-letter-function.
891         * mh-e.el (mh-list-to-string-1): Use dolist.
893         * mh-compat.el (mh-image-load-path-for-library): Prefer user's images.
895 2006-03-15  Bill Wohler  <wohler@newt.com>
897         * mh-compat.el (mh-image-load-path-for-library): Fix example by
898         not recommending that one binds image-load-path.  Just defvar it to
899         placate compiler and only use it if previously defined.
901         * mh-e.el (image-load-path): Don't bind!
903         * mh-folder.el (mh-folder-mode): Only use image-load-path if
904         previously defined.
906         * mh-letter.el (mh-letter-mode): Ditto.
908         * mh-utils.el (mh-logo-display): Ditto.
910 2006-03-14  Bill Wohler  <wohler@newt.com>
912         * mh-compat.el (mh-image-load-path-for-library): Incorporate
913         changes from image-load-path-for-library, which are:
914         (image-load-path-for-library): Pass value of path rather than
915         symbol.  Always return list of directories.  Guarantee that image
916         directory comes first.
918         * mh-e.el (image-load-path): Define on those Emacsen that lack it
919         to avoid compile and run-time errors.
921         * mh-folder.el (mh-folder-mode): Use new idiom for setting
922         image-load-path.
924         * mh-letter.el (mh-letter-mode): Ditto.
926         * mh-utils.el (mh-logo-display): Ditto.
928 2006-03-12  Bill Wohler  <wohler@newt.com>
930         * mh-utils.el (mh-folder-list): Fix docstring (closes SF
931         #1448498).
933 2006-03-10  Bill Wohler  <wohler@newt.com>
935         * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
936         flag to replace-in-string.  This was badly needed by
937         mh-quote-pick-expr in order to properly quote subjects when using
938         / s on XEmacs (closes SF #1447598).
939         (mh-image-load-path-for-library): Merged changes from Reiner.  Add
940         no-error argument.  If path t, just return directory.
942         * mh-e.el (mh-profile-component): Drop `s' from mhparam
943         -components for Mailutils compatibility (closes SF #1446985).
945 2006-03-06  Bill Wohler  <wohler@newt.com>
947         * mh-e.el (Version, mh-version): Add +cvs to version.
949 2006-03-05  Satyaki Das  <satyaki@theforce.stanford.edu>
951         * mh-search.el (mh-index-update-single-msg): Fix a bug in the
952         handling of duplicate messages.  The test in cond was too strong
953         and wasn't catching the case where origin-map was nil.
955 2006-03-05  Bill Wohler  <wohler@newt.com>
957         Release MH-E version 7.93.
959         * mh-e.el (Version, mh-version): Update for release 7.93.
961 2006-03-05  Bill Wohler  <wohler@newt.com>
963         * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
964         calling mh-image-load-path-for-library since this is the default.
966         * mh-letter.el (mh-letter-mode): Ditto.
968         * mh-utils.el (mh-logo-display): Ditto.
970 2006-03-04  Bill Wohler  <wohler@newt.com>
972         * mh-compat.el (mh-image-load-path-for-library): Move here from
973         mh-utils.el and wrap with mh-defun-compat since this function will
974         be soon added to image.el.
976         * mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
977         (mh-normalize-folder-name): Add return-nil-if-folder-empty
978         argument which is useful when calling mh-normalize-folder-name to
979         process the folder argument for the folders command.
980         (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
981         this function more robust.  It could too easily list the folders in /.
982         (mh-folder-list): Fix a couple of problems pointed out by Thomas
983         Baumann.  Set folder to nil if empty.  Don't append "/" if folder nil.
985 2006-03-03  Bill Wohler  <wohler@newt.com>
987         * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
988         mh-image-load-path-for-library.
990         * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
991         mh-image-load-path-for-library.
993         * mh-utils.el (mh-image-load-path): Rename to
994         mh-image-load-path-for-library.  Add example to docstring.  Rename
995         local variable mh-image-directory to image-directory.  Move error
996         checks to default case in cond and simplify.
998         * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
999         docstrings with manual.
1001 2006-03-02  Bill Wohler  <wohler@newt.com>
1003         * mh-folder.el (mh-tool-bar-init): Autoload.
1004         (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
1005         Set scoped variables image-load-path and load-path with updated
1006         mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
1008         * mh-letter.el (mh-tool-bar-init): Autoload.
1009         (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
1010         Set scoped variables image-load-path and load-path with updated
1011         mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
1013         * mh-show.el (mh-tool-bar-init): Autoload.
1014         (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
1015         GNU Emacs.
1017         * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
1018         messages per conventions.
1019         (mh-tool-bar-folder-buttons-init)
1020         (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
1021         (mh-tool-bar-define call): Format.
1023         * mh-utils.el (mh-image-directory)
1024         (mh-image-load-path-called-flag): Delete.
1025         (mh-image-load-path): Incorporate changes from Gnus team.  Biggest
1026         changes are that it no longer uses/sets mh-image-directory or
1027         mh-image-load-path-called-flag, and returns the updated path
1028         rather than change it.
1029         (mh-logo-display): Change usage of mh-image-load-path.
1031 2006-02-28  Bill Wohler  <wohler@newt.com>
1033         * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
1034         (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
1035         to subjects with special characters by quoting regular expression
1036         characters in pick expression derived from existing subjects and
1037         other fields (closes SF #1432548).
1038         (mh-narrow-to-subject): Remove Re: string from subject so that
1039         pick can find originating message (closes SF #1438369).
1041         * mh-utils.el (mh-image-load-path): Rename variable to
1042         mh-image-directory.
1043         (mh-image-load-path): Access mh-image-directory instead of
1044         mh-image-load-path.
1045         (mh-folder-list): Fix problem with passing in a folder and getting
1046         nothing back.  Fix problem with passing in empty string and getting
1047         the entire filesystem (or infinite loop).  Don't append slash to
1048         folder.  These fixes fix problems observed with the pick search.
1049         Thanks to Thomas Baumann for the help (closes SF #1435381).
1050         (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
1051         function for quoting pick regular expression characters (closes SF
1052         #1432548).
1054 2006-02-27  Bill Wohler  <wohler@newt.com>
1056         * mh-e.el (mh-default-folder-for-message-function): Sync docstring
1057         with manual.
1059         * mh-mime.el (mh-minibuffer-read-type): Delete comment in
1060         docstring about obsolete variable mh-mime-content-types.
1062         * mh-e.el (mh-variant): Sync docstring with manual.
1063         (cus-face): Require as it is needed by mh-inherit-face-flag.
1065         * mh-compat.el (mh-display-color-cells): Return 2 if
1066         device-color-cells returns nil (closes SF #1436924).
1068         * mh-e.el (mh-compiling-flag): Delete.  No longer needed by
1069         mh-display-color-cells.
1071 2006-02-21  Eric Ding  <ericding@alum.mit.edu>
1073         * mh-e.el (mh-invisible-header-fields-internal): Add entry
1074         "X-Sasl-enc:".
1076 2006-02-20  Eric Ding  <ericding@alum.mit.edu>
1078         * mh-e.el (mh-invisible-header-fields-internal): Add entries
1079         "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
1080         "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
1081         "X-Resolved-to:", and "X-SA-Exim".  Fixed "X-Bugzilla-" and
1082         "X-Roving-" by removing unnecessary "*" at end.
1084 2006-02-19  Bill Wohler  <wohler@newt.com>
1086         * mh-alias.el (mh-address-mail-regexp)
1087         (mh-goto-address-find-address-at-point): Delete copies from
1088         goto-addr.el.
1089         (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
1090         mh-address-mail-regexp.
1091         (mh-alias-add-address-under-point): Use
1092         goto-address-find-address-at-point instead of
1093         mh-goto-address-find-address-at-point.
1095         * mh-e.el (mh-show-use-goto-addr-flag): Delete.
1097         * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
1098         docstring.
1099         (mh-show-addr): Call goto-address unconditionally.  User should use
1100         goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
1102 2006-02-18  Bill Wohler  <wohler@newt.com>
1104         * mh-e.el (Version, mh-version): Add +cvs to version.
1106 2006-02-18  Bill Wohler  <wohler@newt.com>
1108         Release MH-E version 7.92.
1110         * mh-e.el (Version, mh-version): Update for release 7.92.
1112 2006-02-17  Bill Wohler  <wohler@newt.com>
1114         * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
1115         backgrounds per Mark's suggestion.
1117         * mh-utils.el (mh-image-load-path): Fix problem that images on
1118         load-path or image-load-path would win over relative paths (newer
1119         MH-E or Emacs distribution).
1121 2006-02-16  Bill Wohler  <wohler@newt.com>
1123         * mh-e.el (mh-inherit-face-flag): New variable.  Non-nil means that
1124         the defface :inherit keyword is available.
1125         (mh-face-data): New variable (contains all face specs) and
1126         function (accessor).
1127         (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
1128         (mh-folder-date, mh-folder-deleted, mh-folder-followup)
1129         (mh-folder-msg-number, mh-folder-refiled)
1130         (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1131         (mh-folder-subject, mh-folder-tick, mh-folder-to)
1132         (mh-search-folder, mh-letter-header-field, mh-show-cc)
1133         (mh-show-date, mh-show-from)
1134         (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
1135         (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
1136         (mh-show-to, mh-show-xface, mh-speedbar-folder)
1137         (mh-speedbar-folder-with-unseen-messages)
1138         (mh-speedbar-selected-folder)
1139         (mh-speedbar-selected-folder-with-unseen-messages):
1140         Use mh-face-data.
1142         * mh-utils.el (mh-image-load-path): The variables image-load-path
1143         or load-path would not get updated if user set mh-image-load-path.
1144         Moved tests and add-to-list calls outside of cond so they are
1145         applied consistently, even if they are redundant in some
1146         circumstances.  Efficiency isn't a concern here.  Made error
1147         messages more user-friendly.
1149 2006-02-15  Peter S Galbraith  <psg@debian.org>
1151         * mh-compat.el (mh-image-search-load-path): Compatibility code.
1152         Emacs 21 and XEmacs don't have `image-search-load-path'.
1154         * mh-utils.el (mh-image-load-path): Don't bail out on error if the
1155         images are already found.
1157 2006-02-10  Bill Wohler  <wohler@newt.com>
1159         * mh-search.el (mh-search): Wrap code in (block mh-search ...)
1160         rather than use defun*.  XEmacs cannot create a proper autoload for
1161         a defun*.
1163 2006-02-09  Bill Wohler  <wohler@newt.com>
1165         * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
1166         that causes an infinite loop on XEmacs.
1168         * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
1169         argument.
1171 2006-02-08  Peter S Galbraith  <psg@debian.org>
1173         * mh-e.el (mh-invisible-header-fields-internal): Added entries
1174         "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash".
1176 2006-02-04  Bill Wohler  <wohler@newt.com>
1178         * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
1179         has an emacsclient command that supports --eval.  I had read that
1180         gnudoit was deprecated in favor of gnuclient anyway.
1182 2006-02-04  Eric Ding  <ericding@alum.mit.edu>
1184         * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
1185         handle OpenOffice documents.
1187 2006-02-03  Bill Wohler  <wohler@newt.com>
1189         * mh-e.el (Version, mh-version): Add +cvs to version.
1191 2006-02-03  Bill Wohler  <wohler@newt.com>
1193         Release MH-E version 7.91.
1195         * mh-e.el (Version, mh-version): Update for release 7.91.
1197 2006-02-03  Bill Wohler  <wohler@newt.com>
1199         * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
1200         (mh-image-load-path): Checkdoc fix.  Docstring edits.  Reduce scope
1201         of local variable mh-library-name.
1203         * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
1204         (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
1205         88) with (min-colors 64) in face specifications so that MH-E still
1206         looks good on systems with fewer colors (such as Eric Ding's).
1208 2006-02-03  Peter S Galbraith  <psg@debian.org>
1210         * mh-utils.el (mh-image-load-path): New variable to optionally
1211         hold the directory where MH-E images are stored.  If nil, then
1212         the function `mh-image-load-path' will find it.  This variable
1213         will be used for Debian packaging.
1214         (mh-image-load-path function): Use variable `mh-image-load-path'
1215         if non-nil and exists.
1217 2006-02-03  Mark D. Baushke  <mdb@gnu.org>
1219         * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
1220         for GNU Emacs or XEmacs to avoid void-variable tool-bar-map lisp
1221         errors if describe-bindings is called before tool-bar-mode is used.
1223 2006-02-03  Peter S Galbraith  <psg@debian.org>
1225         * mh-compat.el (mh-url-unreserved-chars): Fix typo from
1226         `mh-url-unresrved-chars'.
1228 2006-02-02  Bill Wohler  <wohler@newt.com>
1230         * mh-e.el (Version, mh-version): Add +cvs to version.
1232 2006-02-02  Bill Wohler  <wohler@newt.com>
1234         Release MH-E version 7.90.
1236         * mh-e.el (Version, mh-version): Update for release 7.90.
1238 2006-02-01  Bill Wohler  <wohler@newt.com>
1240         * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
1242         * mh-alias.el (mh-alias-gecos-name): Use
1243         mh-replace-regexp-in-string instead of replace-regexp-in-string.
1244         (crm, multi-prompt): Use mh-require instead of require.
1245         (mh-goto-address-find-address-at-point): Use
1246         mh-line-beginning-position and mh-line-end-position instead of
1247         line-beginning-position and line-end-position.  Use
1248         mh-match-string-no-properties instead of
1249         match-string-no-properties.
1251         * mh-comp.el (mh-modify-header-field): Use
1252         mh-line-beginning-position and mh-line-end-position instead of
1253         line-beginning-position and line-end-position.
1255         * mh-compat.el (mailabbrev): Use mh-require instead of require.
1256         (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
1257         (mh-face-background): Make docstring consistent.
1258         (mh-require, mh-cancel-timer, mh-display-color-cells)
1259         (mh-line-beginning-position, mh-line-end-position)
1260         (mh-match-string-no-properties, mh-replace-regexp-in-string)
1261         (mh-view-mode-enter): Move definition here from mh-xemacs.el and
1262         add mh- prefix since compatibility functions should have our
1263         package prefix (mh-) by Emacs convention and to avoid messing up
1264         checks for the same functions in other packages.
1266         * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
1267         from mh-xemacs.el and rename.
1268         (mh-xargs): Use mh-line-beginning-position and
1269         mh-line-end-position instead of line-beginning-position and
1270         line-end-position.
1271         (mh-defface-compat): Use mh-display-color-cells instead of
1272         display-color-cells.
1274         * mh-folder.el (which-func): Use mh-require instead of require.
1276         * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
1277         view-mode-enter.
1279         * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml):
1280         Use mh-require instead of require.
1282         * mh-letter.el (mh-letter-header-end, mh-letter-mode)
1283         (mh-letter-next-header-field): Use mh-line-beginning-position and
1284         mh-line-end-position instead of line-beginning-position and
1285         line-end-position.
1287         * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
1288         mh-match-string-no-properties instead of
1289         match-string-no-properties.
1290         (mh-narrow-to-header-field): Use mh-line-beginning-position and
1291         mh-line-end-position instead of line-beginning-position and
1292         line-end-position.
1294         * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
1295         (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
1296         mh-line-beginning-position and mh-line-end-position instead of
1297         line-beginning-position and line-end-position.
1299         * mh-search.el (which-func): Use mh-require instead of require.
1300         (mh-make-pick-template, mh-index-visit-folder)
1301         (mh-pick-parse-search-buffer, mh-swish-next-result)
1302         (mh-mairix-next-result, mh-namazu-next-result)
1303         (mh-pick-next-result, mh-grep-next-result)
1304         (mh-index-create-imenu-index, mh-index-match-checksum)
1305         (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
1306         mh-line-beginning-position and mh-line-end-position instead of
1307         line-beginning-position and line-end-position.
1309         * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
1310         view-mode-enter.
1311         (mh-folder-size-flist, mh-parse-flist-output-line)
1312         (mh-add-sequence-notation): Use mh-line-beginning-position and
1313         mh-line-end-position instead of line-beginning-position and
1314         line-end-position.
1316         * mh-show.el (mh-show-addr): Use mh-require instead of require.
1318         * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
1319         (mh-speed-view, mh-folder-speedbar-buttons)
1320         (mh-speed-highlight, mh-speed-goto-folder)
1321         (mh-speed-add-buttons, mh-speed-parse-flists-output)
1322         (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
1323         (mh-speed-add-folder): Use mh-line-beginning-position and
1324         mh-line-end-position instead of line-beginning-position and
1325         line-end-position.
1326         (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
1328         * mh-thread.el (mh-thread-find-children)
1329         (mh-thread-parse-scan-line, mh-thread-generate): Use
1330         mh-line-beginning-position and mh-line-end-position instead of
1331         line-beginning-position and line-end-position.
1333         * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
1334         instead of display-color-cells.
1335         (mh-folder-list): Use mh-replace-regexp-in-string instead of
1336         replace-regexp-in-string.
1337         (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
1338         Use mh-line-beginning-position and mh-line-end-position instead of
1339         line-beginning-position and line-end-position.
1341         * mh-comp.el (mh-send-sub): Don't find components file in current
1342         directory--this seems to have been a side-effect of commenting out
1343         the use of an old mh-etc variable.  Improve error message.
1345 2006-01-31  Bill Wohler  <wohler@newt.com>
1347         * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
1348         argument since compatibility functions should have our package
1349         prefix (mh-) by Emacs convention and to avoid messing up checks
1350         for the same functions in other packages.  Use explicit argument
1351         instead of forming name by adding mh- prefix so that one can grep
1352         and find the definition.
1354         * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1355         (mh-alias-expand, mh-alias-minibuffer-confirm-address):
1356         Use mh-assoc-string instead of assoc-string.
1358         * mh-compat.el (assoc-string): Rename to mh-assoc-string.
1359         (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string):
1360         Move here from mh-utils.el.
1361         (mh-display-completion-list): Move here from mh-comp.el.
1362         (mh-face-foreground, mh-face-background): Move here from
1363         mh-xface.el.
1364         (mh-write-file-functions): Move here from mh-folder.el.
1366         * mh-folder.el (mh-write-file-functions-compat): Move to
1367         mh-compat.el and rename to mh-write-file-functions.
1368         (mh-folder-mode): Use the new name.
1370         * mh-gnus.el (gnus-local-map-property): Rename to
1371         mh-gnus-local-map-property.
1372         (mm-merge-handles): Rename to mh-mm-merge-handles.
1373         (mm-set-handle-multipart-parameter): Rename to
1374         mh-mm-set-handle-multipart-parameter.
1375         (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
1376         (mm-possibly-verify-or-decrypt): Rename to
1377         mh-mm-possibly-verify-or-decrypt.
1378         (mm-handle-multipart-ctl-parameter): Rename to
1379         mh-mm-handle-multipart-ctl-parameter.
1380         (mm-readable-p): Rename to mh-mm-readable-p.
1381         (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1382         (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1383         (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1384         (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1385         (mml-minibuffer-read-disposition): Rename to
1386         mh-mml-minibuffer-read-disposition.
1388         * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1389         instead of assoc-string.
1391         * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1392         (mh-mime-display, mh-mime-display-security)
1393         (mh-insert-mime-button, mh-insert-mime-security-button)
1394         (mh-handle-set-external-undisplayer)
1395         (mh-mime-security-press-button, mh-mime-security-show-details)
1396         (mh-mml-attach-file, mh-mime-cleanup)
1397         (mh-destroy-postponed-handles): Use new mh-* names for
1398         compatibility functions.
1400         * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1401         mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1402         (mh-beginning-of-word): Use the new name.
1403         (mh-get-field): Delete ancient alias.
1405         * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1406         and rename to mh-face-foreground
1407         (mh-face-background-compat): Move to mh-compat.el
1408         and rename to mh-face-background.
1409         (mh-face-display-function): Use the new names.
1410         (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1411         instead of url-hexify-string.
1412         (url-unreserved-chars): Move to mh-compat.el and rename to
1413         mh-url-unreserved-chars.
1414         (url-hexify-string): Move to mh-compat.el and rename to
1415         mh-url-hexify-string.
1417         * mh-letter.el (mh-complete-word): Fix bug in call to
1418         mh-display-completion-list.  Wrong argument was passed, so
1419         completions wouldn't show highlighted prefix.
1421 2006-01-29  Bill Wohler  <wohler@newt.com>
1423         * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1424         mh-adaptive-cmd-note-flag.
1426         * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1427         docstring.  sc-cite-original is autoloaded via loaddefs.el for all
1428         supported versions.  In addition, the package name "sc" has been
1429         made obsolete by "supercite since at least Emacs 21.
1431         * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1432         revealed character constants that were still strings (closes SF
1433         #770772).
1435         * mh-comp.el (mh-letter-hide-all-skipped-fields)
1436         (mh-get-header-field): Move to mh-utils.el so that you can read
1437         messages without having to load mh-comp.el and mh-letter.el.
1439         * mh-letter.el (mh-hidden-header-keymap)
1440         (mh-letter-toggle-header-field-display)
1441         (mh-letter-skipped-header-field-p)
1442         (mh-letter-skip-leading-whitespace-in-header-field)
1443         (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1444         can read messages without having to load mh-comp.el and
1445         mh-letter.el.
1447         * mh-utils.el (mh-get-header-field)
1448         (mh-letter-hide-all-skipped-fields)
1449         (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1450         (mh-letter-toggle-header-field-display)
1451         (mh-letter-skip-leading-whitespace-in-header-field)
1452         (mh-letter-truncate-header-field): Move here from mh-comp.el and
1453         mh-letter.el so that you can read messages without having to load
1454         mh-comp.el and mh-letter.el.
1456         * mh-comp.el (mh-insert-fields): Handle nil values.  Rmail, at
1457         least, will deliver them to us.
1459         * mh-e.el (mh-after-commands-processed-hook)
1460         (mh-before-commands-processed-hook): Specify what sort of requests
1461         in docstring.
1463         * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1464         minor-mode-alias.
1466         * mh-letter.el (mh-letter-menu): Remove.  Defvar no longer needed
1467         to shush compiler.
1468         (mh-letter-mode): Remove Mail menu.
1470 2006-01-29  Bill Wohler  <wohler@newt.com>
1472         The Great Cleanup
1473         Remove circular dependencies.  mh-e.el now includes few require
1474         statements and stands alone.  Other files should need to require
1475         mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1476         such as mh-scan.el.
1477         Remove unneeded require statements.
1478         Remove unneeded load statements, or replace them with non-fatal
1479         require statements.
1480         Break out components into their own files that were often spread
1481         between many files.
1482         As a result, many functions that are now only used within a single
1483         file no longer need to be autoloaded.
1484         Rearrange and provide consistent headings.
1485         Untabify.
1487         * mh-acros.el: Update commentary to reflect current usage.
1488         Add autoload cookies to all macros.
1489         (mh-require-cl): Merge docstring and comment.
1490         (mh-do-in-xemacs): Fix typo in docstring.
1491         (assoc-string): Move to new file mh-compat.el.
1492         (with-mh-folder-updating, mh-in-show-buffer)
1493         (mh-do-at-event-location, mh-seq-msgs): Move here from mh-utils.el.
1494         (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1495         from mh-seq.el.
1497         * mh-alias.el (mh-address-mail-regexp)
1498         (mh-goto-address-find-address-at-point): Move here from mh-utils.el.
1499         (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1501         * mh-buffers.el: Update descriptive text.
1503         * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1504         new file mh-scan.el.
1505         (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1506         (mh-letter-menu, mh-letter-mode-help-messages)
1507         (mh-letter-buttons-init-flag, mh-letter-mode)
1508         (mh-font-lock-field-data, mh-letter-header-end)
1509         (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1510         (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1511         (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1512         (mh-filter-out-non-text, mh-insert-prefix-string)
1513         (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1514         (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1515         (mh-letter-complete, mh-letter-complete-or-space)
1516         (mh-letter-confirm-address, mh-letter-header-field-at-point)
1517         (mh-letter-next-header-field-or-indent)
1518         (mh-letter-next-header-field, mh-letter-previous-header-field)
1519         (mh-letter-skipped-header-field-p)
1520         (mh-letter-skip-leading-whitespace-in-header-field)
1521         (mh-hidden-header-keymap)
1522         (mh-letter-toggle-header-field-display-button)
1523         (mh-letter-toggle-header-field-display)
1524         (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1525         file mh-letter.el.
1526         (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1527         (mh-pgp-support-flag, mh-x-mailer-string)
1528         (mh-letter-header-field-regexp): Move to mh-e.el.
1529         (mh-goto-header-field, mh-goto-header-end)
1530         (mh-extract-from-header-value, mh-beginning-of-word): Move to
1531         mh-utils.el.
1532         (mh-insert-header-separator): Move to mh-comp.el.
1533         (mh-display-completion-list-compat): Move to new file
1534         mh-compat.el.
1536         * mh-compat.el: New file.
1537         (assoc-string): Move here from mh-acros.el.
1538         (mh-display-completion-list): Move here from mh-comp.el.
1540         * mh-customize.el: Move content into mh-e.el and remove.
1542         * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1543         (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1544         (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1545         (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1546         declared here so that they can be used in docstrings.
1547         (mh-sent-from-folder, mh-sent-from-msg)
1548         (mh-letter-header-field-regexp, mh-pgp-support-flag)
1549         (mh-x-mailer-string): Move here from mh-comp.el.
1550         (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1551         (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1552         here from mh-seq.el.
1553         (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1554         (mh-previous-window-config, mh-seen-list, mh-seq-list)
1555         (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1556         (mh-show-folder-buffer, mh-mail-header-separator)
1557         (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1558         (mh-signature-separator, mh-signature-separator-regexp)
1559         (mh-list-to-string, mh-list-to-string-1): Move here from
1560         mh-utils.el.
1561         (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1562         (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1563         (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1564         (mh-exec-cmd-output)
1565         (mh-exchange-point-and-mark-preserving-active-mark)
1566         (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1567         deprecated file mh-exec.el.
1568         (mh-path): Move here from deprecated file mh-customize.el.
1569         (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1570         (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1571         (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1572         (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1573         (mh-profile-component-value, mh-defface-compat): Move here from
1574         deprecated file mh-init.el.
1575         (mh-goto-next-button, mh-folder-mime-action)
1576         (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1577         (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1578         mh-mime.el.
1579         (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1580         (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1581         (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1582         (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1583         (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1584         (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1585         (mh-scan-cmd-note-width, mh-scan-destination-width)
1586         (mh-scan-date-width, mh-scan-date-flag-width)
1587         (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1588         (mh-scan-field-destination-offset)
1589         (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1590         (mh-scan-field-subject-start-offset, mh-scan-format)
1591         (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1592         mh-scan.el.
1593         (mh-partial-folder-mode-line-annotation)
1594         (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1595         (mh-generate-sequence-font-lock, mh-last-destination)
1596         (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1597         (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1598         (mh-execute-commands, mh-first-msg, mh-header-display)
1599         (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1600         (mh-folder-from-address, mh-prompt-for-refile-folder)
1601         (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1602         (mh-previous-page, mh-previous-undeleted-msg)
1603         (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1604         (mh-reset-threads-and-narrowing, mh-rescan-folder)
1605         (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1606         (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1607         (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1608         (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1609         (mh-folder-sequence-menu, mh-folder-message-menu)
1610         (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1611         (mh-write-file-functions-compat, mh-folder-mode)
1612         (mh-restore-desktop-buffer, mh-scan-folder)
1613         (mh-regenerate-headers, mh-generate-new-cmd-note)
1614         (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1615         (mh-process-or-undo-commands, mh-process-commands)
1616         (mh-update-unseen, mh-delete-scan-msgs)
1617         (mh-outstanding-commands-p): Move to new file mh-folder.el.
1618         (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1619         (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1620         (mh-lessp): Move to mh-utils.el.
1621         (mh-parse-flist-output-line, mh-folder-size-folder)
1622         (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1623         (mh-remove-sequence-notation, mh-remove-cur-notation)
1624         (mh-remove-all-notation, mh-delete-seq-locally)
1625         (mh-read-folder-sequences, mh-read-msg-list)
1626         (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1627         (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1628         (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1629         (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1630         (mh-xemacs-flag)
1631         (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1632         (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1633         (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1634         (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1635         (mh-faces, mh-alias-completion-ignore-case-flag)
1636         (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1637         (mh-alias-insert-file, mh-alias-insertion-location)
1638         (mh-alias-local-users, mh-alias-local-users-prefix)
1639         (mh-alias-passwd-gecos-comma-separator-flag)
1640         (mh-new-messages-folders, mh-ticked-messages-folders)
1641         (mh-large-folder, mh-recenter-summary-flag)
1642         (mh-recursive-folders-flag, mh-sortm-args)
1643         (mh-default-folder-for-message-function, mh-default-folder-list)
1644         (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1645         (mh-identity-list, mh-auto-fields-list)
1646         (mh-auto-fields-prompt-flag, mh-identity-default)
1647         (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1648         (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1649         (mh-junk-background, mh-junk-disposition, mh-junk-program)
1650         (mh-compose-insertion, mh-compose-skipped-header-fields)
1651         (mh-compose-space-does-completion-flag)
1652         (mh-delete-yanked-msg-window-flag)
1653         (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1654         (mh-letter-complete-function, mh-letter-fill-column)
1655         (mh-mml-method-default, mh-signature-file-name)
1656         (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1657         (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1658         (mh-scan-format-file-check, mh-scan-format-file)
1659         (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1660         (mh-search-program, mh-compose-forward-as-mime-flag)
1661         (mh-compose-letter-function, mh-compose-prompt-flag)
1662         (mh-forward-subject-format, mh-insert-x-mailer-flag)
1663         (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1664         (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1665         (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1666         (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1667         (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1668         (mh-display-buttons-for-inline-parts-flag)
1669         (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1670         (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1671         (mh-highlight-citation-style)
1672         (mh-invisible-header-fields-internal)
1673         (mh-delay-invisible-header-generation-flag)
1674         (mh-invisible-header-fields, mh-invisible-header-fields-default)
1675         (mh-invisible-header-fields-compiled, mh-invisible-headers)
1676         (mh-lpr-command-format, mh-max-inline-image-height)
1677         (mh-max-inline-image-width, mh-mhl-format-file)
1678         (mh-mime-save-parts-default-directory, mh-print-background-flag)
1679         (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1680         (mh-show-use-xface-flag, mh-store-default-directory)
1681         (mh-summary-height, mh-speed-update-interval)
1682         (mh-show-threads-flag, mh-tool-bar-search-function)
1683         (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1684         (mh-before-commands-processed-hook, mh-before-quit-hook)
1685         (mh-before-send-letter-hook, mh-delete-msg-hook)
1686         (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1687         (mh-inc-folder-hook, mh-insert-signature-hook)
1688         (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1689         (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1690         (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1691         (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1692         (mh-folder-address, mh-folder-body)
1693         (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1694         (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1695         (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1696         (mh-folder-subject, mh-folder-tick, mh-folder-to)
1697         (mh-search-folder, mh-letter-header-field, mh-show-cc)
1698         (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1699         (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1700         (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1701         (mh-speedbar-folder-with-unseen-messages)
1702         (mh-speedbar-selected-folder)
1703         (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1704         deprecated file mh-customize.el.
1706         * mh-exec.el: Move content into mh-e.el and remove.
1708         * mh-folder.el: New file.  Contains mh-folder-mode from mh-e.el.
1710         * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1711         mh-scan.el.
1712         (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1714         * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1715         (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1716         to mail-abbrev-make-syntax-table.
1718         * mh-identity.el (mh-identity-menu): New variable for existing
1719         menu.
1720         (mh-identity-make-menu-no-autoload): New alias for
1721         mh-identity-make-menu which can be called from mh-e.el.
1722         (mh-identity-list-set): Move to mh-e.el.
1723         (mh-identity-add-menu): New function
1724         (mh-insert-identity): Add optional argument maybe-insert so that
1725         local variable mh-identity-local does not have to be visible.
1727         * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1728         rest of keymaps).  Update key binding for ? to call mh-help with
1729         help messages in new argument.
1730         (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1731         which can be called from mh-e.el.
1732         (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1734         * mh-init.el: Move content into mh-e.el and remove.
1736         * mh-junk.el: Update requires, untabify, and add mh-autoload
1737         cookies.
1739         * mh-letter.el: New file.  Contains mh-letter-mode from mh-comp.el.
1741         * mh-limit.el: New file.  Contains display limit commands from
1742         mh-mime.el.
1744         * mh-mime.el: Rearrange for consistency with other files.
1745         (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1746         mh-utils.el.
1747         (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1748         (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1749         (mh-goto-next-button): Move here from mh-e.el.
1751         * mh-print.el: Rearrange for consistency with other files.
1753         * mh-scan.el: New file.  Contains scan line constants and utilities
1754         from XXX, mh-funcs, mh-utils.el.
1756         * mh-search.el: Rearrange for consistency with other files.
1757         (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1758         fields which don't exist in the saved header.  Replace C-c C-f f
1759         with C-c C-f m per mail-mode consistency.
1760         (mh-search-mode): Use mh-set-help instead of setting
1761         mh-help-messages.
1763         * mh-seq.el (mh-thread-message, mh-thread-container)
1764         (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1765         (mh-thread-id-index-map, mh-thread-index-id-map)
1766         (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1767         (mh-thread-subject-container-hash, mh-thread-duplicates)
1768         (mh-thread-history, mh-thread-body-width)
1769         (mh-thread-find-msg-subject mh-thread-initialize-hash)
1770         (mh-thread-initialize, mh-thread-id-container)
1771         (mh-thread-remove-parent-link, mh-thread-add-link)
1772         (mh-thread-ancestor-p, mh-thread-get-message-container)
1773         (mh-thread-get-message, mh-thread-canonicalize-id)
1774         (mh-thread-prune-subject, mh-thread-container-subject)
1775         (mh-thread-rewind-pruning, mh-thread-prune-containers)
1776         (mh-thread-sort-containers, mh-thread-group-by-subject)
1777         (mh-thread-process-in-reply-to, mh-thread-set-tables)
1778         (mh-thread-update-id-index-maps, mh-thread-generate)
1779         (mh-thread-inc, mh-thread-generate-scan-lines)
1780         (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1781         (mh-thread-add-spaces, mh-thread-print-scan-lines)
1782         (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1783         (mh-thread-current-indentation-level, mh-thread-next-sibling)
1784         (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1785         (mh-thread-ancestor, mh-thread-find-children)
1786         (mh-message-id-regexp, mh-thread-delete, mh-thread-refile):
1787         Move to new file mh-thread.el.
1788         (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1789         (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1790         (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1791         (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1792         (mh-current-message-header-field, mh-narrow-to-range)
1793         (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1794         mh-limit.el.
1795         (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1796         mh-acros.el.
1797         (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1798         (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1799         (mh-define-sequence, mh-undefine-sequence)
1800         (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1801         (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1802         (mh-parse-flist-output-line, mh-read-folder-sequences)
1803         (mh-read-msg-list, mh-notate-user-sequences)
1804         (mh-remove-cur-notation, mh-add-sequence-notation)
1805         (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1806         from mh-e.el.
1807         (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1808         (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1810         * mh-show.el: New file.  Contains mh-show-mode from mh-utils.el.
1812         * mh-speed.el: Rearrange for consistency with other files.
1814         * mh-thread.el: New file.  Contains threading code from mh-seq.el.
1816         * mh-tool-bar.el: New file.  Contains tool bar creation code from
1817         deprecated file mh-customize.el.
1819         * mh-utils.el (recursive-load-depth-limit): Remove setting.
1820         No longer needed.
1821         (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1822         (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1823         (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1824         (mh-update-scan-format, mh-msg-num-width): Move to new file
1825         mh-scan.el.
1826         (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1827         (mh-header-field-font-lock, mh-header-to-font-lock)
1828         (mh-header-cc-font-lock, mh-header-subject-font-lock)
1829         (mh-show-font-lock-keywords)
1830         (mh-show-font-lock-keywords-with-cite)
1831         (mh-show-font-lock-fontify-region)
1832         (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1833         (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1834         (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1835         (mh-show-sequence-menu, mh-show-message-menu)
1836         (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1837         (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1838         (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1839         file mh-show.el.
1840         (mh-mail-header-separator, mh-signature-separator-regexp)
1841         (mh-signature-separator, mh-globals-hash, mh-user-path)
1842         (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1843         (mh-previous-window-config, mh-current-folder mh-show-buffer)
1844         (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1845         (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1846         (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1847         (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1848         (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1849         Move to mh-alias.el.
1850         (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1851         (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1852         (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1853         Move to new file mh-folder.el.
1854         (with-mh-folder-updating, mh-in-show-buffer)
1855         (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1856         (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1857         (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1858         Moved to mh-seq.el.
1859         (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1860         (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1861         (mh-face-background-compat, mh-face-display-function)
1862         (mh-show-xface, mh-picon-directory-list)
1863         (mh-picon-existing-directory-list)
1864         (mh-picon-cache, mh-picon-image-types)
1865         (mh-picon-set-directory-list, mh-picon-get-image)
1866         (mh-picon-file-contents, mh-picon-generate-path)
1867         (mh-x-image-cache-directory, mh-x-image-scaling-function)
1868         (mh-wget-executable, mh-wget-choice, mh-wget-option)
1869         (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1870         (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1871         (mh-x-image-scale-with-convert)
1872         (url-unreserved-chars, url-hexify-string)
1873         (mh-x-image-url-cache-canonicalize)
1874         (mh-x-image-set-download-state, mh-x-image-get-download-state)
1875         (mh-x-image-url-fetch-image, mh-x-image-display)
1876         (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1877         (mh-x-image-url-display): Move to new file mh-xface.el.
1878         (mh-logo-display): Call mh-image-load-path.
1879         (mh-find-path-run, mh-find-path): Move here from deprecated file
1880         mh-init.el.
1881         (mh-help-messages): Now an alist of modes to an alist of messages.
1882         (mh-set-help): New function used to set mh-help-messages
1883         (mh-help): Adjust for new format of mh-help-messages.  Add
1884         help-messages argument.
1885         (mh-prefix-help): Refactor to use mh-help.
1886         (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1887         mh-e.el.
1888         (mh-clear-sub-folders-cache): New function added to avoid exposing
1889         mh-sub-folders-cache variable.
1891         * mh-xface.el: New file.  Contains X-Face and Face header field
1892         display routines from mh-utils.el.
1894 2006-01-17  Bill Wohler  <wohler@newt.com>
1896         * mh-acros.el (assoc-string): Fix typo in argument.
1898 2006-01-16  Bill Wohler  <wohler@newt.com>
1900         * mh-acros.el (require): Remove defadvice of require as defadvice
1901         is verboten within Emacs and our implementation was returning the
1902         wrong value from require.  Upcoming restructuring should make this
1903         unnecessary.
1904         (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1906         * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1907         (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1909         * mh-identity.el (mh-identity-field-handler): Use it.
1911         * mh-comp.el (mh-show-buffer-message-number): Replace (car
1912         (read-from-string string) with (string-to-number string).
1914         * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1915         Ditto.
1917         * mh-mime.el (mh-mml-forward-message): Ditto.
1919         * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1920         (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1921         (mh-openssl-parser, mh-index-update-maps): Ditto.
1923         * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1924         (mh-thread-generate): Ditto.
1926 2006-01-16  Katsumi Yamaoka  <yamaoka@jpl.org>
1928         * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1929         mm- functions for proper text=flowed handling (addresses SF
1930         #1273521).
1932 2006-01-15  Bill Wohler  <wohler@newt.com>
1934         * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1935         mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1936         / g.
1938         * mh-utils.el (mh-show-limit-map): Ditto.
1940         * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1941         standalone compile.
1942         (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1944         * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1945         where they are used.
1947         * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1948         needed to help remove dependency on mh-utils.
1950         * mh-exec.el: New file.  Move process support routines here from
1951         mh-utils.el.
1953         * mh-init.el (mh-utils): Remove require.
1954         (mh-exec): Add require.
1955         (mh-profile-component, mh-profile-component-value): Move here from
1956         mh-utils.el.
1958         * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1959         dependencies on mh-utils.el.
1960         (mh-profile-component, mh-profile-component-value): Move to
1961         mh-init.el since that's the only place that uses them.  (Other than
1962         mh-alias.el; I'm thinking that mh-find-path can set variable from
1963         the Aliasfile component like it does the other components).
1964         (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1965         (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1966         (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1967         (defvar, mh-exec-cmd-output)
1968         (mh-exchange-point-and-mark-preserving-active-mark)
1969         (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1970         file mh-exec.el so that mh-init.el doesn't have to depend on
1971         mh-utils.el, breaking circular dependency.
1973         * mh-alias.el:
1974         * mh-customize.el:
1975         * mh-e.el:
1976         * mh-funcs.el:
1977         * mh-gnus.el:
1978         * mh-identity.el:
1979         * mh-inc.el:
1980         * mh-junk.el:
1981         * mh-mime.el:
1982         * mh-print.el:
1983         * mh-search.el:
1984         * mh-seq.el:
1985         * mh-speed.el: Added debugging statements (commented out) around
1986         requires to help find dependency loops.  Will remove them when
1987         issues are resolved.
1989 2006-01-14  Bill Wohler  <wohler@newt.com>
1991         * mh-customize.el (mh-index): Rename group to mh-search and sort
1992         group definition and options accordingly.
1993         (mh-index-program): Rename to mh-search-program.
1994         (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1995         mh-search-p.
1996         (mh-search-mode-hook): Change group from mh-index to mh-search.
1997         (mh-index-folder): Rename to mh-search-folder.  Change group from
1998         mh-index to mh-search.
2000         * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
2001         to mh-search-folder.
2003         * mh-search.el (mh-indexer) Rename to mh-searcher.  The commands
2004         pick and grep are searchers too but aren't indexed.
2005         (mh-index-execute-search-function): Rename to mh-search-function.
2006         (mh-index-next-result-function): Rename to
2007         mh-search-next-result-function.
2008         (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
2009         (mh-search): Since redo-search-flag defaults to nil and is of
2010         lesser importance, make it an optional argument and place it after
2011         the folder and search-regexp arguments.  Sync docstring with manual.
2012         (mh-search-mode-map): Autoload so that keys are shown in help even
2013         before mh-search is loaded.
2014         (mh-search-mode): Sync docstring with manual.
2015         (mh-index-do-search): Rename argument indexer to searcher.  Sync
2016         docstring with manual.
2017         (mh-pick-do-search): Sync docstring with manual.
2018         (mh-index-p): Rename to mh-search-p.
2019         (mh-indexer-choices): Rename to mh-search-choices.
2020         (mh-index-choose): Rename to mh-search-choose.  Rename argument
2021         indexer to searcher.
2022         (mh-swish++-execute-search, mh-swish-execute-search)
2023         (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
2024         read the results" from docstring since these functions don't.
2025         (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
2026         with manual.
2027         (mh-index-generate-pretty-name): Prune -search from string so that
2028         folder names for pick searches are the same as those of other
2029         searches.
2031 2006-01-13  Bill Wohler  <wohler@newt.com>
2033         * mh-acros.el (require): Added Satyaki's comment regarding what
2034         needs to happen to remove this defadvice which caused a little
2035         discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
2036         advices `require' incorrectly).
2038         * mh-search.el (mh-index-next-result-function): Add format to
2039         docstring.
2040         (mh-mairix-next-result): Use nil instead of () which doesn't stand
2041         out as well.
2042         (mh-pick-execute-search): Operate across all folders if no folder
2043         given and recurse folder(s).
2044         (mh-pick-next-result): Handle new output.
2046         * mh-utils.el (mh-collect-folder-names): Fix docstring.
2047         (mh-children-p, mh-folder-list): New functions.
2049 2006-01-12  Bill Wohler  <wohler@newt.com>
2051         * mh-search.el: New file containing contents of mh-index.el and
2052         mh-pick.el.  C-c C-c launches your mh-index-program; C-c C-p runs
2053         pick.  Pick no longer sets the "search" sequence.  Instead, it
2054         brings up a folder view that we're accustomed to.  (Closes SF
2055         #829207.)
2056         (mh-index-search): Rename to mh-search.
2057         (mh-pick-menu): Rename menu from Pick to Search.  Rename Execute
2058         the Search to Perform Search and call mh-do-search.  Add Search
2059         with Pick menu item.
2060         (mh-do-search): Delete.
2061         (mh-search-mode): Rename from mh-pick-mode.
2062         (MH-Search): Rename mode from MH-Pick.
2063         (mh-search-mode-map): Rename from mh-pick-mode-map.
2064         (mh-search-mode-help-messages): Rename from
2065         mh-pick-mode-help-messages.
2066         (mh-index-choose): Don't reuse the last value of mh-indexer; when
2067         mh-pick-do-search sets it to 'pick, we don't necessarily want to
2068         stay with that choice!
2070         * mh-index.el:
2071         * mh-pick.el: Merge into mh-search.el and delete.
2073         * mh-customize.el (mh-index-program): Change mh-index-search to
2074         mh-search in docstring.
2075         (mh-tool-bar-search-function): Change default from
2076         mh-search-folder to mh-search.  Remove mh-search-folder as choice
2077         and rename mh-index-search choice to mh-search.  Fix docstring.
2078         (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
2079         mh-search-folder to mh-search in docstring.
2081         * mh-e.el (mh-folder-folder-menu): Delete Search a Folder.  Change
2082         Indexed Search to Search.  Use mh-search instead of mh-index-search.
2083         (mh-folder-map): Delete i (mh-index-search) keybinding.  Change s
2084         from mh-show-search-folder to mh-search.
2086         * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
2087         mh-search-folder no longer creates the search sequence.
2089         * mh-utils.el (mh-show-search-folder): Delete.
2090         (mh-show-folder-map): Delete i (mh-index-search) keybinding.
2091         Change s from mh-show-search-folder to mh-search.
2092         (mh-show-folder-menu): Delete Search a Folder.  Change Indexed
2093         Search to Search.  Use mh-search instead of mh-index-search.
2094         (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell):
2095         Move here from deleted mh-index.el.
2097 2006-01-11  Bill Wohler  <wohler@newt.com>
2099         * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
2100         from mh-gnus.el.
2102         * mh-gnus.el: Require mh-acros.
2103         (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
2105         * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
2106         url-hexify-string to remove special characters from filenames
2107         (closes SF #1396499).  Note that this invalidates the existing
2108         names in your cache so you might as well remove
2109         ~/Mail/.mhe-x-image-cache/* now.
2110         (url-unreserved-chars, url-hexify-string): Define if not defined.
2111         Copied from url-util.el in Emacs22 for Emacs 21.
2113         * mh-buffers.el: New file.  Contains constants and code from
2114         mh-index.el and mh-utils.el.
2116         * mh-alias.el:
2117         * mh-comp.el:
2118         * mh-e.el:
2119         * mh-funcs.el:
2120         * mh-init.el:
2121         * mh-junk.el:
2122         * mh-mime.el:
2123         * mh-print.el:
2124         * mh-seq.el: Require new file mh-buffers.el.
2126         * mh-index.el: Require new file mh-buffers.el.
2127         (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
2128         mh-buffers.el.
2130         * mh-utils.el: Require new file mh-buffers.el.
2131         (mh-temp-buffer, mh-temp-fetch-buffer)
2132         (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
2133         (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
2134         (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
2135         (mh-truncate-log-buffer): Move to new file mh-buffers.el.
2137         * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
2138         (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
2140 2006-01-10  Bill Wohler  <wohler@newt.com>
2142         * mh-comp.el (mh-insert-letter): If you choose a different folder,
2143         the cur message is used.  Sync docstring with manual (closes SF
2144         #1205890).
2146         * mh-mime.el (mh-compose-forward): Use standard range argument
2147         instead of messages.  Use more powerful mh-read-range instead of
2148         read-string.  Sync docstring with manual (close SF #1205890).
2150         * mh-index.el (mh-index-search): Checking mh-find-path-run is
2151         unnecessary.
2152         (mh-index-next-folder): Don't back up a line when going backwards
2153         since this skips the current folder heading if point is on the
2154         first message after the folder heading (closes SF #1126188).
2156         * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses it.
2157         (mh-variants): Note variable isn't meant to be accessed directly;
2158         use function mh-variants instead.
2159         (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
2160         (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
2161         them.  Updated to use mh-file-command-p which is more accurrate
2162         than file-executable-p which returns t for directories.
2163         (mh-file-command-p): Move here from mh-utils, since
2164         mh-variant-*-info are the only functions to use it.
2165         (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
2166         function mh-variants instead of variable.  More robust.
2167         (mh-find-path-run): Move here from mh-utils.el.  Mention that
2168         checking this variable is unnecessary.
2169         (mh-find-path): Move here from mh-utils.el.  With the advent of MH
2170         variants and an mhparam command that doesn't work if there isn't
2171         an MH profile, we can't get libdir for running install-mh.  So
2172         don't bother.  If there's an issue with the environment, direct the
2173         user to install MH and run install-mh (closes SF #835192).  Don't
2174         read ~/.mh_profile directly.  Use mh-profile-component which uses
2175         mhparam (closes SF #1016027).
2177         * mh-utils.el (mh-get-profile-field): Rename to
2178         mh-profile-component-value.  Add colon to search removing
2179         unnecessary addition of colon to field in mh-profile-component.
2180         (mh-profile-component): Modify call to mh-profile-component-value
2181         accordingly.  Move next to mh-profile-component-value.
2182         (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
2183         mh-init.el.  It makes sense that code that is only run once per
2184         session (more or less) is in mh-init.el rather than cluttering
2185         mh-utils.el.
2186         (mh-no-install, mh-install): Delete.
2188         * mh-customize.el (mh-folder-msg-number):
2189         * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
2191 2006-01-09  Bill Wohler  <wohler@newt.com>
2193         * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
2194         patch from Satyaki from SF #1016027.
2196         * mh-e.el (mh-rescan-folder): Try to keep cursor at current
2197         message, even if cur sequence is no longer present (closes SF
2198         #1207247).
2200         * mh-comp.el: Use ";; Shush compiler." comment consistently per
2201         Mark's suggestion.
2202         (mh-letter-mode): Derive from mail-mode and delete code copied
2203         from mail-mode (closes SF #1385571).  Mention mail-mode-hook in
2204         docstring.
2205         (mh-fill-paragraph-function): Delete.  Handled by mail-mode.
2206         (mh-to-field-choices): For consistency with mail-mode, add "a" for
2207         "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
2208         "Reply-To:".  Change "r" to "m" for "From:" (closes SF #1400139).
2209         (mh-to-fcc): Move setting of folder argument to interactive
2210         argument as is the norm.
2211         (mh-letter-complete-function-alist): Add mail-reply-to.
2212         (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
2213         Mail-Followup-To, Reply-To, From).
2215         * mh-customize.el: Use ";; Forward definition." consistently.
2216         Comment declaration to remind programmer to update forward
2217         definition if default changes.
2219         * mh-funcs.el:
2220         * mh-inc.el:
2221         * mh-init.el:
2222         * mh-mime.el:
2223         * mh-seq.el:
2224         * mh-utils.el: Use ";; Shush compiler." comment consistently per
2225         Mark's suggestion.
2227 2006-01-08  Bill Wohler  <wohler@newt.com>
2229         Removed code that was marked as Emacs 20 compatible that was
2230         easily found showing how important it is to document such
2231         things (closes SF #1359240).  Feel free to nuke any other Emacs 20
2232         peculiarities that you find.  Wrapped code for shushing compiler
2233         with (eval-when-compile), sometimes moving the defvars closer to
2234         where they were used.
2236         * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
2237         instead of mh-replace-in-string as mh-replace-in-string was
2238         replaced by a more appropriate defsubst in mh-xemacs.el.
2240         * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
2241         eval-when-compile.
2242         (mh-file-is-vcard-p): Removed redundant test.
2244         * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
2245         with eval-when-compile.
2246         (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
2247         (mh-invisible-header-fields-default): Add forward definitions.
2248         (mh-invisible-header-fields-default): Alphabetize.
2250         * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
2251         eval-when-compile.
2252         (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
2253         variables.
2254         (mh-colors-available-p): Just call display-color-cells.  It's on
2255         all supported Emacsen (and defaliased on XEmacs).
2257         * mh-funcs.el:
2258         * mh-inc.el:
2259         * mh-init.el: Wrap compiler-shushing defvars with
2260         eval-when-compile.
2262         * mh-identity.el: Don't need (mh-require-cl).
2264         * mh-index.el: Don't need to load executable any more.
2266         * mh-mime.el: Wrap compiler-shushing defvars with
2267         eval-when-compile.
2268         (mh-have-file-command): Initialize variable to 'undefined.  Add
2269         docstring.  Update function of same name accordingly.  Also don't
2270         need to load executable any more.
2271         (mh-mime-content-types): Delete.
2272         (mh-minibuffer-read-type): Prompt user for type if
2273         mh-file-mime-type returns application/octet-stream.  Assume we have
2274         mailcap-mime-types.
2275         (mh-mime-display): Update error message.
2277         * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
2278         with eval-when-compile.
2280         * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
2281         with eval-when-compile.
2282         (mh-clean-msg-header): Don't set after-change-functions to nil.
2283         (mh-replace-in-string): Remove.  Create defsubst in mh-xemacs.el
2284         instead.
2286 2006-01-07  Bill Wohler  <wohler@newt.com>
2288         * mh-customize.el: Updated Faces documentation in header.
2289         (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
2290         X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
2292         * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
2293         tags inserted by Gnus gnus-summary-mail-forward (closes SF
2294         #1399307).
2296 2006-01-03  Mark D. Baushke  <mdb@gnu.org>
2298         * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
2299         * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
2301 2006-01-03  Bill Wohler  <wohler@newt.com>
2303         * mh-alias.el (mh-alias-add-alias): Grand message and error string
2304         unification.  Use single sentence if possible by using semicolon.
2305         Don't end message with punctuation.  Don't need format with
2306         message.  Quote messages as in docstrings: use `' around symbols,
2307         \" for option choices.  Don't use quotes around %s.
2309         * mh-comp.el (mh-complete-word): Ditto.
2311         * mh-customize.el (mh-adaptive-cmd-note-flag-check)
2312         (mh-scan-format-file-check): Ditto.
2314         * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
2315         (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
2316         (mh-msg-num-width-to-column): Ditto.
2318         * mh-identity.el (mh-identity-field-handler): Ditto.
2320         * mh-index.el (mh-mairix-execute-search)
2321         (mh-swish-execute-search, mh-swish++-execute-search)
2322         (mh-namazu-execute-search): Ditto.
2324         * mh-init.el (mh-variant-set): Ditto.
2326         * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
2327         (mh-secure-message, mh-mime-display): Ditto.
2329         * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
2331         * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
2332         (mh-read-range, mh-thread-container-subject): Ditto.
2334         * mh-utils.el (mh-x-image-scale-and-display)
2335         (mh-prompt-for-folder, mh-handle-process-error)
2336         (mh-list-to-string-1): Ditto.
2338         * mh-comp.el (mh-reply): Use standard default notation in
2339         prompts (closes SF #1275933).
2341         * mh-mime.el (mh-mime-save-parts): Ditto.
2343         * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
2345         * mh-customize.el (mh-folder-msg-number): Snow is actually
2346         off-white on low color displays which turns to white when bold.
2347         This is unreadable on white backgrounds.  Use snow with min-colors
2348         requirement.  Use cyan on low-color displays.
2350         * mh-init.el (mh-defface-compat): On low-color displays, delete
2351         the high-color display rather than simply strip the min-colors
2352         requirement since the existing algorithm shadowed the desired
2353         display on low-color displays.
2355         * mh-alias.el (mh-alias-add-alias): Remove leading * from
2356         docstring.
2358 2006-01-02  Bill Wohler  <wohler@newt.com>
2360         * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
2361         docstring.  Does this mean something in a defun?
2363         * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
2364         Checkdoc fix.
2366         * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
2367         so it reads better in docstring and manual.  Sync docstring with
2368         manual.
2370         * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
2372         * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
2374         * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
2375         (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
2376         (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2377         (mh-letter-complete-or-space, mh-letter-confirm-address)
2378         (mh-letter-next-header-field-or-indent)
2379         (mh-letter-previous-header-field): Ditto.
2381         * mh-customize.el (mh-alias-completion-ignore-case-flag)
2382         (mh-default-folder-for-message-function, mh-mml-method-default)
2383         (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2384         (mh-show-mode-hook) Ditto.
2386         * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2388         * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2389         (mh-store-msg, mh-store-buffer): Ditto.
2391         * mh-index.el (mh-index-search, mh-index-do-search)
2392         (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2394         * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2396         * mh-mime.el (mh-mh-compose-external-compressed-tar)
2397         (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2398         (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2399         (mh-mml-secure-message-signencrypt): Ditto.
2401         * mh-pick.el (mh-search-folder): Ditto.
2403         * mh-seq.el (mh-widen): Ditto.
2405         * mh-utils.el (mh-show, mh-modify): Ditto.
2407 2006-01-02  Mark D. Baushke  <mdb@gnu.org>
2409         * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2411 2006-01-01  Bill Wohler  <wohler@newt.com>
2413         * mh-customize.el: Sync docstrings with manual for faces and sort
2414         them alphabetically.
2415         (mh-faces): Move below mh-hooks.
2416         (mh-folder-faces, mh-index-faces, mh-letter-faces)
2417         (mh-show-faces, mh-speed-faces): Delete.  Organize faces like hooks.
2418         (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2419         (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2420         (mh-folder-body-face, mh-folder-cur-msg-face)
2421         (mh-folder-cur-msg-number-face, mh-folder-date-face)
2422         (mh-folder-followup-face, mh-folder-msg-number-face)
2423         (mh-folder-deleted-face, mh-folder-refiled-face)
2424         (mh-folder-subject-face, mh-folder-address-face)
2425         (mh-folder-scan-format-face, mh-folder-to-face)
2426         (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2427         (mh-show-header-face, mh-show-pgg-good-face)
2428         (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2429         (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2430         Delete.
2431         (mh-folder-cur-msg): Unused.  Delete.
2432         (mh-folder-address): Use defface; inherit from mh-folder-subject.
2433         (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2434         Inherit from mh-folder-msg-number.
2435         (mh-folder-deleted): Use defface.  Inherit from
2436         mh-folder-msg-number.
2437         (mh-folder-sent-to-me-hint): New face.  Inherit from
2438         mh-folder-date.
2439         (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2440         Use defface.  Inherit from mh-folder-followup.
2441         (mh-show-xface): Inherit from mh-show-from and highlight.
2442         (bw-face-generation, bw-toggle-faces)
2443         (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2444         variables, functions for toggling between old and new faces.
2446         * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2447         eval-when-compile.  We should probably do this throughout.
2448         (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2449         (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2450         (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2451         (mh-scan-subject-regexp): Sync docstrings with manual
2452         (mh-scan-format-regexp): Rename to
2453         mh-scan-sent-to-me-sender-regexp.  Drop date parenthesized
2454         expression.  Make expression more like the others (anchored at the
2455         beginning of line).  Sync docstrings with manual.
2456         (mh-folder-font-lock-keywords): Use faces directly rather than
2457         -face variables.  Use mh-scan-sent-to-me-sender-regexp instead of
2458         mh-scan-format-regexp, and within that expression, use faces
2459         mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2460         of mh-folder-date-face and mh-folder-scan-format-face which were
2461         misleading.
2463         * mh-mime.el (mh-mime-security-button-face): Use faces directly
2464         rather than -face variables.
2466         * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2467         rather than -face variables.
2468         (mh-face-foreground-compat, mh-face-background-compat): New macros.
2469         (mh-face-display-function): Use mh-face-foreground-compat and
2470         mh-face-background-compat to use inherited attributes of
2471         mh-show-xface on Emacs 22 while still working on Emacs 21.
2473 2005-12-28  Bill Wohler  <wohler@newt.com>
2475         * mh-comp.el (mh-e-user-agent): Move here from simple.el.
2476         Use mh-user-agent-compose instead of mh-smail-batch.
2478 2005-12-27  Bill Wohler  <wohler@newt.com>
2480         * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2481         suppress creation of folder if it doesn't exist.
2483 2005-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2485         * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2487 2005-12-23  Bill Wohler  <wohler@newt.com>
2489         * mh-e.el (mh-folders-changed): Fix typo in docstring.
2491         Follow MH-E Developers Guide conventions.  Use `' quotes for Help
2492         hyperlinks such as symbols, Info nodes, or URLs.  Use \" quotes for
2493         everything else.  Otherwise, you can accidently get links to
2494         nonsense symbols.
2496 2005-12-22  Bill Wohler  <wohler@newt.com>
2498         Follow Emacs coding conventions.  Use default setting of
2499         emacs-lisp-docstring-fill-column which is 65.
2501         * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2503         * mh-comp.el (mh-letter-mode): Use 60 column width.
2504         (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2505         with manual.
2506         (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2507         you have added a mail-citation-hook and neither are used if you
2508         use one of the supercite flavors of mh-yank-behavior.  Sync
2509         docstrings with manual.
2511         * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2512         from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2513         hook.  Use "Hook run by `function'..." instead of "Invoked...".
2514         Sync docstrings with manual.
2515         (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2516         mh-ins-buf-prefix isn't used if you have added a
2517         mail-citation-hook and neither are used if you use one of the
2518         supercite flavors of mh-yank-behavior.  Sync docstrings with manual.
2519         (mail-citation-hook): Delete.  Use one in sendmail.el.
2520         (mh-signature-file-name, mh-after-commands-processed-hook)
2521         (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2522         (mh-before-quit-hook, mh-before-send-letter-hook)
2523         (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2524         (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2525         (mh-letter-mode-hook)
2526         (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2527         (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2528         (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2529         of "Invoked...".  Sync docstrings with manual.
2531         * mh-e.el (mh-last-destination, mh-last-destination-folder)
2532         (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2533         (mh-delete-list, mh-refile-list, mh-folders-changed)
2534         (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2535         (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2536         (mh-mode-line-annotation, mh-sequence-notation-history)
2537         (mh-colors-available-flag): Move comment into docstring.
2538         (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2539         (mh-process-commands): Sync docstrings with manual.
2540         (mh-refile-msg): Small doc edit.
2541         (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2542         Rename msg argument to message.
2544         * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2546         * mh-e.el (mh-update-unseen): No longer say "The value of
2547         `foo-hook' is a list of functions to be called, with no arguments,
2548         ...," but rather just "The hook foo-hook is called...".
2550         * mh-mime.el (mh-mh-to-mime): Ditto.
2552         * mh-pick.el (mh-pick-mode): Ditto.
2554         * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2555         docstring.
2556         (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2557         into docstring.
2558         (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2559         manual.
2561 2005-12-19  Stephen Gildea  <gildea@stop.mail-abuse.org>
2563         * mh-customize.el (mh-after-commands-processed-hook): New variable.
2564         (mh-before-commands-processed-hook): Rename mh-folder-updated-hook.
2566         * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2567         mh-before-commands-processed-hook, call new
2568         mh-after-commands-processed-hook.
2569         (mh-folders-changed): New variable (for use in
2570         mh-after-commands-processed-hook).
2572 2005-12-19  Bill Wohler  <wohler@newt.com>
2574         * mh-acros.el:
2575         * mh-alias.el:
2576         * mh-comp.el:
2577         * mh-customize.el:
2578         * mh-e.el:
2579         * mh-funcs.el:
2580         * mh-gnus.el:
2581         * mh-identity.el:
2582         * mh-inc.el:
2583         * mh-index.el:
2584         * mh-init.el:
2585         * mh-junk.el:
2586         * mh-mime.el:
2587         * mh-pick.el:
2588         * mh-print.el:
2589         * mh-seq.el:
2590         * mh-speed.el:
2591         * mh-utils.el:
2592         Follow commenting conventions.  Don't use ;;; form so much, except
2593         for headings.  Precede headings with page feed.  This was mostly
2594         already done, so I made it a convention.  Did not update copyright
2595         on a couple of files since this was an insignificant change.
2597 2005-12-18  Bill Wohler  <wohler@newt.com>
2599         * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2600         (mh-tool-bar-search-function): Sync docstrings with manual.
2601         (mh-tool-bar-customize): Replace toolbar with tool bar in docstring.
2602         (mh-tool-bar-letter-help): Fix manual reference.
2603         (mh-xemacs-use-toolbar-flag): Rename to
2604         mh-xemacs-use-tool-bar-flag.  Initialize to
2605         mh-xemacs-has-tool-bar-flag.  Sync docstrings with manual.
2606         (mh-xemacs-toolbar-position): Rename to
2607         mh-xemacs-tool-bar-position.  Initialize to nil.  Drop "no tool bar"
2608         option (redundant) and change "Same As Default Tool Bar" setting
2609         to nil.  Sync docstrings with manual.
2610         (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2611         depending on context.
2612         (mh-toolbar-init): Rename to mh-tool-bar-init.  Simplify condition
2613         for calling set-specifier.  Only look at the value of
2614         mh-xemacs-use-tool-bar-flag.
2615         (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons):
2616         Sync docstrings with manual.
2618         * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2619         mh-toolbar-init.
2621         * mh-e.el (mh-folder-mode): Ditto.
2623         * mh-utils.el (mh-show-mode): Ditto.
2625 2005-12-15  Bill Wohler  <wohler@newt.com>
2627         * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2629         * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2630         (mh-thread-previous-sibling, mh-thread-ancestor)
2631         (mh-thread-delete, mh-thread-refile): Ditto.
2633 2005-12-14  Bill Wohler  <wohler@newt.com>
2635         * mh-customize.el (mh-speed-flists-interval): Rename to
2636         mh-speed-update-interval.
2637         (mh-speed-run-flists-flag): Delete.  Setting
2638         mh-speed-flists-interval to 0 accomplishes the same thing.
2640         * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2641         mh-speed-update-interval instead of mh-speed-run-flists-flag.
2642         (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2643         docstrings with manual.
2645 2005-12-09  Bill Wohler  <wohler@newt.com>
2647         * mh-customize.el (mh-path): Move here from mh-init.el.
2648         (mh-variant): Mention that mh-path can be customized.
2649         (mh-invisible-header-fields-internal): Add X-ContentStamp,
2650         X-MAIL-INFO, and X-UNTD- from NetZero.
2652         * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2654 2005-12-04  Bill Wohler  <wohler@newt.com>
2656         * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2657         (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2658         X-Virus-Scanned.
2660         * mh-customize.el (mh-insert-signature-hook): Rename
2661         mh-letter-insert-signature-hook to mh-insert-signature-hook.
2663         * mh-comp.el (mh-insert-signature): Ditto.
2665         * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2666         to nil.  Remove t option.  Sync docstring with manual (closes SF
2667         #831278).
2668         (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2669         users can see it, look it up in the manual's index, and discover
2670         mh-fetch-x-image-url (closes SF #831278).
2672         * mh-customize.el (mh-new-messages-folders): Rename from
2673         mh-index-new-messages-folders.
2674         (mh-ticked-messages-folders): Rename from
2675         mh-index-ticked-messages-folders.
2677         * mh-index.el (mh-index-sequenced-messages)
2678         (mh-index-new-messages): Ditto.
2680         * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2681         in the docstrings and made usage consistent.  Generally speaking,
2682         "messages in range" and "range of messages" is redundant and just
2683         "range" can be used in most circumstances.  Also ensured that
2684         mh-interactive-range was mentioned in all interactive functions
2685         that use a range which describes the range argument for both users
2686         and programmers.
2688         * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2689         (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2690         (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2691         (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2692         Ditto.
2694         * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2695         Ditto.
2697         * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2699         * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2700         (mh-ps-print-msg-file, mh-print-msg): Ditto.
2702         * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2703         (mh-narrow-to-range, mh-toggle-tick): Ditto.
2705 2005-12-01  Bill Wohler  <wohler@newt.com>
2707         Rewrote Reading Mail chapter in manual which affected mh-show
2708         customization group and related functions.
2710         * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2711         instead of mh-highlight-citation-p.
2712         (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2713         I think, so use "truncated".
2715         * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2716         section is Folders, not Organizing.  Parent of mh-folder-faces is
2717         mh-folder, not mh-show.
2718         (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2719         (mh-thread): New group that corresponds with manual's Threading chapter.
2720         (mh-letter-faces): Group's manual section is Editing Drafts, not
2721         Sending Mail.
2722         (mh-sortm-args): New customization variable that used to be a defvar.
2723         (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2724         Move from mh-index group to mh-folders group.
2725         (mh-alias-local-users-prefix, mh-large-folder)
2726         (mh-recursive-folders-flag, mh-before-quit-hook)
2727         (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2728         (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2729         mh-folder group.
2730         (mh-highlight-citation-style): Rename from
2731         mh-highlight-citation-p.  Sync docstrings with manual.
2732         (mh-mhl-format-file): Rename from mhl-formfile.  Sync docstrings
2733         with manual.
2734         (mh-show-threads-flag): Move from mh-show group to mh-thread
2735         group.
2736         (mh-find-path-hook): Move from mh-show group to mh-e group.
2737         (mh-folder-updated-hook): Add to mh-folder group.
2738         (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2739         (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2740         (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2741         (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2742         (mh-display-buttons-for-inline-parts-flag)
2743         (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2744         (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2745         (mh-invisible-header-fields-default, mh-invisible-header-fields)
2746         (mh-lpr-command-format, mh-max-inline-image-height)
2747         (mh-max-inline-image-width)
2748         (mh-mime-save-parts-default-directory, mh-print-background-flag)
2749         (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2750         (mh-show-use-xface-flag, mh-store-default-directory)
2751         (mh-summary-height, mh-delete-msg-hook
2752         (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2754         * mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
2755         (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2756         (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp):
2757         Use non-fontification instead of non-fontifying.
2758         (mh-header-display): Use mh-mhl-format-file instead of
2759         mhl-formfile.  Sync docstrings with manual.
2760         (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2761         count.  Sync docstrings with manual.
2762         (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2763         so that message doesn't change when using this command.  Sync
2764         docstrings with manual.
2765         (mh-page-msg, mh-previous-page): Rename arg to lines.  Sync
2766         docstrings with manual.
2767         (mh-write-msg-to-file): Rename msg to message.  Rename no-headers
2768         to no-header.  Sync docstrings with manual.
2769         (mh-ps-print-map): Delete keybindings for deleted commands
2770         mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2771         (mh-help-messages): Update printing help.
2772         (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2773         (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2774         (mh-prev-button, mh-folder-toggle-mime-part)
2775         (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2776         (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2777         manual.
2779         * mh-funcs.el (mh-sortm-args): Now a customization option and in
2780         mh-customize.el.
2781         (mh-pipe-msg): Rename include-headers to include-header.
2782         Sync docstrings with manual.
2783         (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2784         (mh-store-msg): Sync docstrings with manual.
2786         * mh-mime.el (mh-mime-save-parts): Rename arg to prompt.
2787         Sync docstrings with manual.
2788         (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2789         Sync docstrings with manual.
2790         (mh-mm-display-part, mh-mm-inline-message): Use
2791         mh-highlight-citation-style instead of mh-highlight-citation-p.
2792         (mh-press-button): Sync docstrings with manual.
2793         (mh-display-with-external-viewer): Fix default output in
2794         minibuffer.  Sync docstrings with manual.
2796         * mh-print.el (mh-ps-print-mime, mh-ps-print-toggle-mime):
2797         Delete.
2798         (mh-ps-print-color-option): Incorporate docstring from
2799         ps-print-color-p.
2800         (mh-ps-spool-buffer): Remove unused code.  Fix indent.
2801         Slimline docstring.
2802         (mh-ps-spool-msg): Slimline docstring.  Rename from
2803         mh-ps-spool-a-msg.  Rewrite to use existing show buffer when
2804         available.
2805         (mh-ps-print-range): Extract method from common code in
2806         mh-ps-print-msg and mh-ps-print-msg-file.
2807         (mh-ps-print-preprint): Clean docstring.  Use filename "mh-%s".
2808         (mh-ps-print-msg-show): Delete.  Can use either
2809         mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2810         new code in mh-ps-spool-msg.
2811         (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2812         Sync docstrings with manual.
2813         (mh-ps-print-msg, mh-ps-print-msg-file)
2814         (mh-ps-print-toggle-faces, mh-ps-print-toggle-color):
2815         Sync docstrings with manual.
2817         * mh-utils.el (mh-show-ps-print-msg-show)
2818         (mh-show-ps-print-toggle-mime): Delete.
2819         (mh-show-ps-print-map): Update accordingly.
2820         (mh-show-mode): Use mh-highlight-citation-style instead of
2821         mh-highlight-citation-p.
2822         (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2823         mhl-formfile.
2824         (mh-show): Use mh-mhl-format-file instead of mhl-formfile.
2825         Sync docstrings with manual.
2826         (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg):
2827         Sync docstrings with manual.
2829 2005-12-01  Bill Wohler  <wohler@newt.com>
2831         * mh-init.el (mh-defface-compat): Checkdoc fix.
2833         * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2834         Bogofilter is lowercase except at beginning of sentence and in
2835         titles.
2837 2005-11-04  Bill Wohler  <wohler@newt.com>
2839         * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2840         Move to mh-init.el to minimize bulk of mh-customize.el.
2842         * mh-init.el: Modify commentary since file is used for load and
2843         initialization as well as setting and getting the variant.
2844         (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2845         mh-customize.el.
2847         * mh-customize.el: Refactor faces.  Move grayscale requirements
2848         last before t.  Use uniform line breaks.
2849         (mh-min-colors-defined-flag): New variable.
2850         (mh-defface-compat): New function.  Provides backward compatibility
2851         for face specs.
2852         (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2853         (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
2854         (mh-folder-body): Use mh-defface-compat.
2856 2005-11-03  Dan Nicolaescu  <dann@ics.uci.edu>
2858         * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2859         (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2860         (mh-folder-to-face): Use the min-colors attribute instead of the
2861         type attribute.
2863 2005-11-03  Bill Wohler  <wohler@newt.com>
2865         * mh-customize.el (mh-refile-preserves-sequences-flag)
2866         (mh-tick-seq, mh-update-sequences-after-mh-show-flag):
2867         Sync docstrings with manual.
2869         * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2871         * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2872         (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2873         with manual.
2875 2005-11-01  Bill Wohler  <wohler@newt.com>
2877         * mh-comp.el (mh-redist-full-contents) Convert defvar to
2878         defcustom.
2879         (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2880         (mh-reply, mh-send, mh-send-other-window)
2881         (mh-fill-paragraph-function): Sync docstrings with manual.
2882         (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2883         msg argument to message (to make for a better docstring).
2885         * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2886         to defcustom.  Rename by adding -flag.
2887         (mh-compose-forward-as-mime-flag)
2888         (mh-compose-letter-function, mh-forward-subject-format)
2889         (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2890         (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2891         with manual.
2893         * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2894         (mh-ps-print-msg): Remove debugging messages.
2895         (mh-ps-print-msg-show, mh-ps-print-msg-show)
2896         (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2897         after message per conventions.
2899 2005-10-30  Bill Wohler  <wohler@newt.com>
2901         * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2902         (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp):
2903         Sync docstrings with manual.
2905         * mh-customize.el (mh-compose-space-does-completion-flag)
2906         (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2907         (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2908         means" to remain checkdoc clean and consistent with Emacs.  I
2909         raised this issue with the Emacs developers and Stallman agrees
2910         that "On means" should be allowed in custom docstrings but that
2911         this change requires thought and should wait until after the Emacs
2912         22 release.
2914 2005-10-28  Bill Wohler  <wohler@newt.com>
2916         * mh-comp.el (mh-annotate-msg): Use new variable
2917         mh-scan-field-destination-offset rather than hard-coding 1.
2919         * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2920         docstring.
2921         (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2922         functions to check input for mh-adaptive-cmd-note-flag and
2923         mh-scan-format-file respectively.
2924         (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2925         add :set.
2927         * mh-e.el (mh-scan-field-destination-offset): New variable.  The
2928         destination is the -, t, b, c, or n character for Replied, To, cc,
2929         Bcc, or Newsgroups respectively.
2930         (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note):
2931         Call new function mh-msg-num-width-to-column to make leap between
2932         width and column more explicit.
2933         (mh-msg-num-width-to-column): New function that steals logic from
2934         old mh-set-cmd-note.  Also, throw error if mh-scan-format-file
2935         isn't t since we can't adapt the scan lines in this case.
2936         (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2937         make the documentation more clear.
2938         (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2939         column, not a width.
2940         (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2941         variable mh-scan-field-destination-offset rather than hard-coding 1.
2943         * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2944         (mh-notate): Use new variable mh-scan-field-destination-offset
2945         rather than hard-coding 1.
2946         (mh-message-number-width): Rename to mh-msg-num-width to be
2947         consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2949         * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2950         (mail-citation-hook): Quote URLs in docstrings and precede with
2951         `URL'.  The former will suppress checkdoc warnings, the latter will
2952         turn them into hyperlinks in Emacs 22 (I just added the code to do
2953         that today).
2954         (mh-scan-format-file): Checkdoc fix.
2956 2005-10-27  Bill Wohler  <wohler@newt.com>
2958         * mh-customize.el (mh-adaptive-cmd-note-flag)
2959         (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2961         * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2962         (mh-note-cur, mh-scan-good-msg-regexp)
2963         (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2964         (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2965         (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2966         (mh-scan-subject-regexp, mh-scan-format-regexp)
2967         (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2968         with manual.
2970         * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2972         * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2973         of hard-coded string.
2974         (mh-mail-header-separator, mh-signature-separator-regexp):
2975         Use "regular expression" in docstring instead of regexp.
2976         (mh-scan-msg-number-regexp)
2977         (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2978         (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2979         (mh-cmd-note): Sync docstrings with manual.
2981         * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2982         Checkdoc fixes.
2984         * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2986         * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2987         (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2988         (mh-mml-secure-message-signencrypt): Ditto.
2990 2005-10-24  Bill Wohler  <wohler@newt.com>
2992         * mh-gnus.el: Load mml.el in order to see if
2993         mml-minibuffer-read-disposition is defined or not.
2995         * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2996         mml autoloads.
2998 2005-10-23  Miles Bader  <miles@gnu.org>
3000         * .arch-inventory: New file.
3002 2005-10-23  Bill Wohler  <wohler@newt.com>
3004         * mh-customize.el (mh-interpret-number-as-range-flag):
3005         Sync docstring with manual.
3007         * mh-identity.el (mh-assoc-ignore-case): Merge with version in
3008         mh-alias.el and move to mh-acros.el.
3010         * mh-alias.el (mh-assoc-ignore-case): Merge with version in
3011         mh-identity.el and move to mh-acros.el.
3013         * mh-acros.el (mh-assoc-ignore-case): Merge of function from
3014         mh-identity.el and mh-alias.el.
3016         * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
3017         warning in Emacs 22.
3019 2005-10-23  Satyaki Das  <satyaki@theforce.stanford.edu>
3021         * mh-identity.el (mh-assoc-ignore-case): New macro that uses
3022         assoc-string (if the function is available) and falls back on
3023         assoc-ignore-case if assoc-string is not found.
3024         (mh-identity-field-handler): Use mh-assoc-ignore-case since
3025         assoc-ignore-case is a obsolete function in Emacs 22.
3027         * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
3028         track of whether the tool-bar in mh-folder-mode has been
3029         initialized yet.
3030         (mh-folder-mode): Initialize the tool-bar for folders the first
3031         time we get into mh-letter-mode.
3033         * mh-customize.el (mh-buffer-exists-p): New function which tests
3034         presence of buffers of a given mode.
3035         (mh-tool-bar-define): New functions mh-tool-bar-folder-buttons-init and
3036         mh-tool-bar-letter-buttons-init are defined.  These functions are
3037         used to create the tool-bar from the corresponding customizable
3038         variables.
3040         * mh-comp.el (mh-letter-buttons-init-flag): New variable that
3041         keeps track of whether the tool-bar in mh-letter-mode has been
3042         initialized yet.
3043         (mh-letter-mode): Initialize the tool-bar for drafts the first
3044         time we get into mh-letter-mode.
3046 2005-10-23  Bill Wohler  <wohler@newt.com>
3048         * mh-comp.el (mh-letter-menu): Rename
3049         mh-mhn-compose-external-compressed-tar to
3050         mh-mh-compose-external-compressed-tar.  Rename
3051         mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp.  Rename
3052         mh-edit-mhn to mh-mh-to-mime.  Rename mh-mhn-directive-present-p to
3053         mh-mh-directive-present-p.  Rename mh-revert-mhn-edit to
3054         mh-mh-to-mime-undo.  Rename mh-gnus-pgp-support-flag to
3055         mh-pgp-support-flag.  Rename mh-compose-insertion value from 'mhn
3056         to 'mh.
3057         (mh-insert-signature): Rename mh-mhn-directive-present-p to
3058         mh-mh-directive-present-p.
3059         (mh-send-letter): Rename mh-mhn-directive-present-p to
3060         mh-mh-directive-present-p.  Rename mh-edit-mhn to mh-mh-to-mime.
3061         (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime.  Rename
3062         mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp.  Rename
3063         mh-mhn-compose-external-compressed-tar to
3064         mh-mh-compose-external-compressed-tar.  Rename mh-revert-mhn-edit
3065         to mh-mh-to-mime-undo.  Rename mh-mhn-compose-external-type to
3066         mh-mh-compose-external-type.  Rename mh-mhn-compose-anon-ftp to
3067         mh-mh-compose-anon-ftp.  Rename
3068         mh-mhn-compose-external-compressed-tar to
3069         mh-mh-compose-external-compressed-tar.  Rename mh-revert-mhn-edit
3070         to mh-mh-to-mime-undo.  Rename mh-mhn-compose-external-type to
3071         mh-mh-compose-external-type.
3072         (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
3073         mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
3074         (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
3075         mh-yank-from-start-of-msg to mh-yank-behavior.
3076         (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
3077         (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
3078         (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
3079         (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
3080         (mh-letter-complete-or-space, mh-letter-confirm-address)
3081         (mh-letter-next-header-field-or-indent)
3082         (mh-letter-previous-header-field)
3083         (mh-letter-toggle-header-field-display): Sync docstrings with
3084         manual.
3086         * mh-customize.el (mh-edit-mhn-hook): Rename to
3087         mh-mh-to-mime-hook.
3088         (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
3089         (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
3090         and user-visible values from mhn and Gnus to MH and MML.
3091         (mh-before-send-letter-hook): Add 'ispell-message option.
3092         (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
3093         mh-pgp-support-flag.
3094         (mh-compose-insertion, mh-compose-space-does-completion-flag)
3095         (mh-delete-yanked-msg-window-flag)
3096         (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
3097         (mh-letter-complete-function, mh-letter-fill-column)
3098         (mh-mml-method-default, mh-signature-file-name)
3099         (mh-signature-separator-flag, mh-x-face-file)
3100         (mh-yank-behavior, mail-citation-hook)
3101         (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
3102         with manual.
3104         * mh-gnus.el (mml-minibuffer-read-disposition): New function
3105         provided for Emacs 21 environments that lack it.
3107         * mh-mime.el (mh-mml-query-cryptographic-method): Use default
3108         prompt convention.
3109         (mh-compose-forward): mh-mh-forward-message requires string arg.
3110         (mh-minibuffer-read-type): New function.
3111         (mh-mhn-args): Rename to mh-mh-to-mime-args.
3112         (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
3113         (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
3114         (mh-mhn-compose-type): Rename to mh-mh-compose-type.
3115         (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
3116         Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
3117         (mh-mhn-compose-external-compressed-tar): Rename to
3118         mh-mh-compose-external-compressed-tar.  Rename
3119         mh-mhn-compose-external-type to mh-mh-compose-external-type.
3120         (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type.
3121         (mh-edit-mhn): Rename to mh-mh-to-mime.  Rename mh-mhn-args to
3122         mh-mh-to-mime-args.  Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
3123         Use correct program in message.
3124         (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
3125         (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
3126         (mh-compose-forward, mh-mh-attach-file)
3127         (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3128         (mh-mh-compose-external-type, mh-mh-forward-message)
3129         (mh-mml-attach-file): Use mml-minibuffer-read-description,
3130         mh-minibuffer-read-type.
3131         (mh-mime-content-types): Move comment about only being used in
3132         Emacs 20 to docstring.
3133         (mh-mh-compose-external-type): Rename extra-param argument to
3134         parameters.
3135         (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
3136         (mh-mime-display-part, mh-mime-display-single): Rename
3137         mh-gnus-pgp-support-flag to mh-pgp-support-flag.
3138         (mh-compose-insertion): Rename mh-mhn-compose-insertion to
3139         mh-mh-attach-file.
3140         (mh-compose-forward): Rename mh-mhn-compose-forw to
3141         mh-mh-forward-message.
3142         (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
3143         mh-mh-compose-type.
3144         (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
3145         (mh-mh-attach-file, mh-mh-compose-type)
3146         (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3147         (mh-mh-compose-external-compressed-tar)
3148         (mh-mh-compose-external-type, mh-mh-forward-message)
3149         (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
3150         (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
3151         (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
3152         (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3153         (mh-mml-directive-present-p, mh-destroy-postponed-handles)
3154         (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
3155         Sync docstrings with manual.
3157         * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
3158         mh-pgp-support-flag.
3160 2005-10-17  Peter S Galbraith  <psg@debian.org>
3162         * mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case'
3163         to compare against header field for mixed-case "From:".
3165 2005-10-17  Bill Wohler  <wohler@newt.com>
3167         * mh-customize.el (mh-folder-tool-bar-map): Rename image file
3168         left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
3169         to mail/compose, fld_open to fld-open.
3170         (mh-letter-tool-bar-map): Rename image file mail_send to
3171         mail/send.
3173 2005-10-16  Bill Wohler  <wohler@newt.com>
3175         * mh-comp.el (mh-display-completion-list-compat): New macro which
3176         calls `display-completion-list' correctly in older environments.
3177         Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
3178         argument.
3179         (mh-complete-word): Use it.
3181         * mh-init.el (mh-image-load-path): Use locate-library to find
3182         MH-E.  This simplified the code a lot.  Flattened out nested
3183         statements even more.
3185 2005-10-16  Satyaki Das  <satyaki@theforce.stanford.edu>
3187         * mh-init.el (mh-image-load-path): Remove use of pushnew since it
3188         causes a compiler warning.
3190         * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
3191         the message to be viewed (closes SF #1306141).
3193 2005-10-16  Masatake YAMATO  <jet@gyve.org>
3195         * mh-comp.el (mh-complete-word): Pass the common prefix substring
3196         of completion to `display-completion-list'.
3198 2005-10-15  Satyaki Das  <satyaki@theforce.stanford.edu>
3200         * mh-init.el (mh-image-load-path-called-flag): New variable which
3201         is used by mh-image-load-path so that it runs only once.
3202         (mh-image-load-path): Modify so that it gets run only once.  Also
3203         flatten out heavily nested if statements to make it clearer.
3205         * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
3206         to find images used in the toolbar.
3208         * mh-customize.el (:folder): Remove call to mh-image-load-path.
3210 2005-10-14  Bill Wohler  <wohler@newt.com>
3212         * mh-e.el (Version, mh-version): Add +cvs to version.
3214 2005-10-14  Bill Wohler  <wohler@newt.com>
3216         Released MH-E version 7.85.
3218         * mh-e.el (Version, mh-version): Update for release 7.85.
3220 2005-10-14  Bill Wohler  <wohler@newt.com>
3222         * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
3223         * mh-seq.el, mh-utils.el: Ran mh-unit.  Continued copyright lines
3224         need to be indented.
3226         * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
3227         but the code that invoked the face had not been updated.  Tick
3228         highlighting working again.
3230         * mh-seq.el (mh-non-seq-mode-line-annotation): Move
3231         make-variable-buffer-local call to top level to avoid warnings in
3232         CVS Emacs.
3234         * mh-comp.el (mh-insert-letter): Replace deprecated read-input
3235         with read-string.
3237 2005-10-09  Bill Wohler  <wohler@newt.com>
3239         * mh-init.el (mh-image-load-path): New function that adds the path
3240         to the MH-E images to the image-load-path or load-path depending
3241         on the version of Emacs.
3243         * mh-customize.el: Call mh-image-load-path just before
3244         mh-tool-bar-define so that the toolbar images can be found.
3246 2005-10-04  Bill Wohler  <wohler@newt.com>
3248         * ChangeLog: Move contents into ChangeLog.1 and trim.
3250         * ChangeLog.1: New file.  Contains old ChangeLog.
3253   Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011  Free Software Foundation, Inc.
3255   This file is part of GNU Emacs.
3257   GNU Emacs is free software: you can redistribute it and/or modify
3258   it under the terms of the GNU General Public License as published by
3259   the Free Software Foundation, either version 3 of the License, or
3260   (at your option) any later version.
3262   GNU Emacs is distributed in the hope that it will be useful,
3263   but WITHOUT ANY WARRANTY; without even the implied warranty of
3264   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3265   GNU General Public License for more details.
3267   You should have received a copy of the GNU General Public License
3268   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
3270 ;; Local Variables:
3271 ;; coding: utf-8
3272 ;; sentence-end-double-space: nil
3273 ;; add-log-time-zone-rule: t
3274 ;; End:
3276 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51