Nuke arch-tags.
[emacs.git] / lisp / mh-e / ChangeLog
blobe4250cbb793004988293f45f913bc75f10730de0
1 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
3         * mh-comp.el (mh-user-agent-compose): New arg RETURN-ACTION.
5 2010-11-07  Glenn Morris  <rgm@gnu.org>
7         * mh-seq.el (mh-read-msg-list): Use point-at-eol.
9 2010-11-03  Glenn Morris  <rgm@gnu.org>
11         * mh-mime.el (dots, type, ov): Avoid unnecessary declaration.
13 2010-05-14  Peter S Galbraith  <psg@debian.org>
15         * mh-mime.el (mh-decode-message-subject): New function to decode
16         RFC2047 encoded Subject lines. Used for reply drafts.
17         * mh-comp.el (mh-compose-and-send-mail): Call
18         `mh-decode-message-subject' on (reply or forward) message drafts.
20 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
22         * Version 23.2 released.
24 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
26         * mh-show.el (mh-showing-mode): Move function to mh-e.el.
27         * mh-e.el (mh-showing-mode): Use define-minor-mode.
29 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
31         * mh-scan.el (mh-scan-cmd-note-width): Doc fix.
32         (mh-scan-format-mh, mh-scan-body-regexp, mh-scan-cur-msg-number-regexp)
33         (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
34         (mh-scan-deleted-msg-regexp, mh-scan-good-msg-regexp)
35         (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
36         (mh-scan-msg-number-regexp, mh-scan-rcpt-regexp)
37         (mh-scan-refiled-msg-regexp, mh-scan-sent-to-me-sender-regexp)
38         (mh-scan-subject-regexp, mh-update-scan-format)
39         (mh-msg-num-width-to-column): Fix typos in docstrings.
41 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
43         * Branch for 23.2.
45 2009-12-01  Bill Wohler  <wohler@newt.com>
47         * mh-search.el (mh-mairix-execute-search): Use mh vfolder_format.
48         Fix typo in database path.
49         (mh-namazu-execute-search): Specify -q in example since namazu is
50         excessively garrulous.
52 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
54         * mh-thread.el (mh-thread-set-tables):
55         * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-stealth-update):
56         (mh-speed-extract-folder-name, mh-speed-parse-flists-output):
57         (mh-speed-invalidate-map, mh-speed-add-folder):
58         * mh-show.el (mh-invalidate-show-buffer, mh-show-sequence-menu):
59         * mh-seq.el (mh-list-sequences):
60         * mh-search.el (mh-index-execute-commands, mh-index-add-to-sequence)
61         (mh-index-delete-from-sequence, mh-index-update-maps):
62         * mh-scan.el (mh-msg-num-width):
63         * mh-print.el (mh-ps-spool-buffer):
64         * mh-mime.el (mh-mime-save-parts, mh-handle-set-external-undisplayer)
65         (mh-file-mime-type):
66         * mh-letter.el (mh-yank-cur-msg):
67         * mh-funcs.el (mh-list-folders, mh-pipe-msg, mh-store-msg)
68         (mh-store-buffer):
69         * mh-folder.el (mh-modify, mh-visit-folder, mh-write-msg-to-file)
70         (mh-prompt-for-refile-folder):
71         * mh-e.el (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
72         (mh-handle-process-error, mh-variant-info):
73         * mh-comp.el (mh-forward):
74         * mh-alias.el (mh-alias-local-users, mh-alias-which-file-has-alias):
75         (mh-alias-add-alias-to-file): Use with-current-buffer.
77 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
79         * mh-e.el: Load mh-loaddefs during compilation as well.
81 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
83         * mh-e.el (mh-loaddefs): Load rather than require.
85 2009-10-06  Glenn Morris  <rgm@gnu.org>
87         * mh-show.el (mh-show-msg): Use window-full-height-p.
89 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
91         * mh-comp.el (mh-send-letter): default-buffer-file-coding-system
92         => (default-value 'buffer-file-coding-system).
94 2009-08-10  Bill Wohler  <wohler@newt.com>
96         * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
97         (mh-spamprobe-blacklist): Sync docstring with manual.
99 2009-07-22  Kevin Ryde  <user42@zip.com.au>
101         * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
102         (mh-spamprobe-blacklist): Hyperlink URLs in docstrings with URL `...'.
104 2009-06-13  Bill Wohler  <wohler@newt.com>
106         Release MH-E version 8.2.
108         * mh-e.el (Version, mh-version): Update for release 8.2.
110         * mh-seq.el (mh-folder-size-flist)
111         * mh-speed.el (mh-speed-parse-flists-output)
112         * mh-xface.el (mh-face-display-function): Remove trailing space.
114 2009-03-13  D. Goel  <deego3@gmail.com>
116         * mh-seq.el (mh-folder-size-flist): Use (values-list) in m-v call
117         to list.
119         * mh-speed.el (mh-speed-parse-flists-output): Ditto.
120         * mh-xface.el (mh-face-display-function): Ditto.
121         * mh-search.el (mh-index-parse-search-regexp): Ditto.
123         * mh-thread.el (mh-thread-generate): Ditto.
125         * mh-seq.el (mh-parse-flist-output-line): Return list rather than values.
126         We want to avoid emacs using m-v facilities.
127         (mh-folder-size-folder): Ditto.
128         (mh-parse-flist-output-line): Ditto.
129         * mh-thread.el (mh-thread-prune-subject): Ditto.
130         * mh-xface.el (mh-picon-get-image): Ditto.
131         (mh-picon-file-contents): Ditto.
132         * mh-search.el (mh-index-evaluate): Ditto.
134 2009-01-27  Bill Wohler  <wohler@newt.com>
136         * mh-funcs.el (mh-pack-folder): Fix docstring.
138         * mh-e.el (mh-pack-folder-hook): Bump package-version to 8.2.
140         * mh-gnus.el (mh-mm-merge-handles)
141         (mh-mm-set-handle-multipart-parameter, mh-mm-inline-text-vcard)
142         (mh-mml-minibuffer-read-disposition, mh-mm-save-part): Update with
143         code from Gnus 5.11 (closes SF #2235022).
145 2009-01-26  Stephen Gildea  <gildea@stop.mail-abuse.org>
147         * mh-e.el (mh-pack-folder-hook): New variable.
148         * mh-funcs.el (mh-pack-folder): Call new mh-pack-folder-hook.
150 2009-01-26  Bill Wohler  <wohler@newt.com>
152         * mh-utils.el (mh-goto-header-end): Use mh-mail-header-separator
153         instead of -* in regexp.
155         * mh-folder.el (mh-folder-mode-help-messages): Add e and t to K's
156         help.
158 2009-01-09  Glenn Morris  <rgm@gnu.org>
160         * mh-letter.el: Replace last-input-char with last-input-event.
162 2008-08-18  Bill Wohler  <wohler@newt.com>
164         Release MH-E version 8.1.
166         * mh-e.el (Version, mh-version): Update for release 8.1.
168 2008-08-11  Bill Wohler  <wohler@newt.com>
170         * mh-e.el (mh-variant-mh-info, mh-variant-nmh-info)
171         (mh-variant-set-variant, mh-variant-p, mh-profile-component)
172         (mh-variant-set, mh-variant, mh-scan-format-file): Fix typo in
173         docstring.
175         * mh-comp.el (mh-reply)
176         * mh-e.el (mh-sys-path, mh-variant-info, mh-variant-mu-mh-info)
177         (mh-variant-p, mh-profile-component, mh-variant-set, mh-variant)
178         (mh-scan-format-file)
179         * mh-folder.el (mh-regenerate-headers)
180         * mh-scan.el (mh-scan-format)
181         * mh-search.el (mh-pick-regexp-builder): Rename variant mu-mh to
182         gnu-mh and be explicit about GNU mailutils MH in docstrings (with
183         thanks to Darel Henman) (closes SF #1768928).
185 2008-08-01  Bill Wohler  <wohler@newt.com>
187         * mh-show.el (mh-show-preferred-alternative)
188         * mh-e.el (mh-annotate-msg-hook): Sync docstring with manual.
190         * mh-comp.el (mh-send-letter, mh-redistribute): Mention
191         mh-annotate-msg-hook in docstring.
193 2008-06-29  Jeffrey C Honig  <jch@honig.net>
195         * mh-e.el (mh-invisible-header-fields-internal): Add invisible
196         header fields for X-Hz (mail from Hertz), X-Proofpoint (Proofpoint
197         antivirus/anti-spam) and X-RIM (Research In Motion).
199 2008-06-20  Stephen Eglen  <stephen@gnu.org>
201         * mh-show.el (mh-defun-show-buffer): Use `...' rather than than
202         "..." in generated docstrings.
204 2008-06-12  Glenn Morris  <rgm@gnu.org>
206         * mh-seq.el (tool-bar-map): Define for compiler.
208         * mh-folder.el (mh-folder-mode):
209         * mh-letter.el (mh-letter-mode):
210         * mh-show.el (mh-show-mode): Check tool-bar-map is bound.
212 2008-06-08  John Paul Wallington  <jpw@pobox.com>
214         * mh-acros.el (toplevel): Put `doc-string-elt' properties on
215         `defun-mh' and `defmacro-mh'.
217         * mh-alias.el (mh-alias-read-address-map): Define within defvar.
219         * mh-comp.el (mh-letter-mode-syntax-table): Define within defvar.
221         * mh-letter.el (mh-complete-word): Doc fix.
223 2008-06-02  John Paul Wallington  <jpw@pobox.com>
225         * mh-e.el (mh-exec-cmd-env-daemon): Doc fix.
227 2008-06-01  John Paul Wallington  <jpw@pobox.com>
229         * mh-e.el (mh-path, mh-variant): Use dotted syntax for
230         `package-version' info.
232 2008-05-26  Jeffrey C Honig  <jch@honig.net>
234         * mh-e.el (mh-invisible-header-fields-internal): Remove Newsgroups
235         from the list.  Add Bytes, X-Campaignid, X-Country-Chain,
236         X-Declude-, X-fmx-, X-Identity, X-Mailer_, X-pair-, X-SPF-,
237         X-Usenet-Provider.
239 2008-05-23  Bill Wohler  <wohler@newt.com>
241         * mh-e.el (mh-invisible-header-fields-internal): Remove
242         DKIM-Signature as it is covered by DKIM-.  Fully qualify X-EID.
244 2008-05-19  Sergey Poznyakoff  <gray@gnu.org.ua>
246         * mh-mime.el (mh-mh-to-mime, mh-mh-to-mime-undo): Preserve modes
247         when converting to or from MIME (closes SF #1966722).
249 2008-05-19  Bill Wohler  <wohler@newt.com>
251         * mh-e.el (mh-invisible-header-fields-internal): Sort list in a
252         case-insensitive way and add comment about it.  Add many header
253         fields (closes SF #1916032).
255 2008-05-19  Xavier Maillard  <xma@gnu.org>  (tiny change)
257         * mh-utils.el (mh-find-path): Don't throw error if MH environment
258         variable is being used (closes SF #1946861).
260 2008-05-19  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
262         * mh-search.el (mh-mairix-regexp-builder): Add additional items to
263         search string to support org-mode (closes SF #1965704).
265 2008-03-18  Bill Wohler  <wohler@newt.com>
267         * mh-e.el (mh-invisible-header-fields-internal): Add Accreditor,
268         Seal-Send-Time.
269         (mh-invisible-header-fields, mh-invisible-header-fields-default):
270         Update URL to bug report for users to report ignored fields.
272 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
274         * mh-xface.el (mh-uncompface, mh-picon-file-contents):
275         Use set-buffer-multibyte...
276         (mh-face-display-function, mh-x-image-display): ...rather than bind
277         default-enable-multibyte-characters.
279 2008-02-24  Bill Wohler  <wohler@newt.com>
281         * mh-comp.el (mh-send-letter): Call split-string on mh-send-args
282         when sending synchronously too.
284 2008-02-19  Bill Wohler  <wohler@newt.com>
286         * mh-comp.el (mh-annotate-msg):
287         * mh-e.el (mh-invisible-header-fields-internal): Remove trailing
288         whitespace.
290 2008-01-30  Bill Wohler  <wohler@newt.com>
292         * mh-mime.el (mh-mml-to-mime): Don't look up sender if From
293         absent.  Fixes "Wrong type argument: stringp, nil" error.
295 2007-12-02  Glenn Morris  <rgm@gnu.org>
297         * mh-mime.el (mail-strip-quoted-names): Autoload it.
299 2007-11-17  Dan Nicolaescu  <dann@ics.uci.edu>
301         * mh-e.el (mh-xemacs-flag): Remove.
302         (mh-min-colors-defined-flag):
303         * mh-xface.el (mh-show-xface-function):
304         * mh-utils.el (mh-colors-available-p):
305         * mh-show.el (mh-show-mode):
306         * mh-gnus.el (mh-gnus-local-map-property):
307         * mh-folder.el (mh-folder-mode-map)
308         (mh-remove-xemacs-horizontal-scrollbar, mh-folder-mode):
309         * mh-comp.el (mh-insert-x-mailer): Replace uses of mh-xemacs-flag
310         with (featurep 'xemacs).
312 2007-09-11  Bill Wohler  <wohler@newt.com>
314         * mh-e.el (Version, mh-version): Add +cvs to version.
316 2007-08-25  Stephen Gildea  <gildea@stop.mail-abuse.org>
318         * mh-e.el (mh-annotate-msg-hook): New variable.
320         * mh-comp.el (mh-annotate-msg): Call new mh-annotate-msg-hook.
321         (mh-annotate-list): New variable, for mh-annotate-msg-hook.
323 2007-08-21  Jeffrey C Honig  <jch@honig.net>
325         * mh-folder.el (mh-folder-message-menu, mh-folder-mode-map): Add
326         folder mode support for mh-show-preferred-alternative (closes SF
327         #1777321).
329         * mh-show.el (mh-show-preferred-alternative)
330         (mh-show-write-message-to-file, mh-show-message-menu)
331         (mh-show-mode-map): Add mh-show-preferred-alternative (bound to
332         ":") which will show the message's preferred alternative
333         overriding the users configured preference.  Useful for showing
334         HTML when text content is lacking (closes SF #1777321).
336         * mh-e.el:
337         (mh-invisible-header-fields-internal): Exclude Fax and Phone.  Put
338         known exclusions as comments before the list and move parens to
339         separate lines to aid in sorting (closes SF #1701231).
341         * mh-mime.el (mm-decode-body): Remove explicit autoload of
342         mh-alias-expand.
344         * mh-alias.el (mh-alias-expand): Set up automatic autoload of
345         mh-alias-expand.
347 2007-08-20  Jeffrey C Honig  <jch@honig.net>
349         * mh-mime.el (message-options-set): Add missing autoloads from my
350         last change.
352         * mh-comp.el (mh-forward): When forwarding with mml, messages are
353         no longer included in reverse order (closes SF #1730393).
355         * mh-mime.el (mh-mml-forward-message): Forward messages as inline
356         attachments (closes SF #1378993).
358 2008-02-06  Richard Stallman  <rms@gnu.org>
360         * mh-seq.el (mh-make-seq, mh-seq-name): Use defsubst.
362         * mh-acros.el (mh-do-in-gnu-emacs, mh-do-in-xemacs)
363         (with-mh-folder-updating, mh-in-show-buffer)
364         (mh-iterate-on-messages-in-region, mh-iterate-on-range):
365         (mh-do-at-event-location): Add debug decls.
366         (mh-seq-msgs): Use defsubst.
368 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
370         * mh-e.el (mh-scan-format-file-check, mh-adaptive-cmd-note-flag-check):
371         * mh-xface.el (mh-x-image-url-cache-canonicalize):
372         Replace `legal' with `valid'.
374 2007-08-19  Jeffrey C Honig  <jch@honig.net>
376         * mh-e.el (mh-invisible-header-fields-internal): We want to show
377         Comments: and hide Comment:, not the other way around.
379         * mh-mime.el (mh-mml-to-mime): GPG requires e-mail addresses, not
380         aliases.  So resolve aliases before passing addresses to GPG/PGP
381         (closes SF #649226).
383         * mh-e.el (mh-invisible-header-fields-internal): Update with all
384         the entries from
385         http://people.dsv.su.se/~jpalme/ietf/mail-headers, plus some of my
386         own.  I added attributions to entries we already had that did not
387         list an RFC.
389 2007-08-08  Glenn Morris  <rgm@gnu.org>
391         * mh-folder.el, mh-letter.el, mh-show.el: Replace `iff' in
392         doc-strings and comments.
394 2007-07-25  Glenn Morris  <rgm@gnu.org>
396         * Relicense all FSF files to GPLv3 or later.
398 2007-07-11  Bill Wohler  <wohler@newt.com>
400         * mh-compat.el (mh-display-color-cells): Fix on XEmacs 21.5b28.
401         Thanks to Henrique Martins for the help (closes SF #1749774).
403 2007-06-06  Juanma Barranquero  <lekktu@gmail.com>
405         * mh-mime.el (mh-mh-directive-present-p):
406         * mh-search.el (mh-index-group-by-folder): Fix typos in docstrings.
408 2006-11-14  Bill Wohler  <wohler@newt.com>
410         * mh-xface.el (mh-x-image-url-cache-canonicalize): Add `*' to
411         reserved Windows filename characters (closes SF #1396499).
413 2006-11-13  Bill Wohler  <wohler@newt.com>
415         Release MH-E version 8.0.3.
417         * mh-e.el (Version, mh-version): Update for release 8.0.3.
419         * mh-e.el (mh-alias-local-users): Boolean docstrings should start
420         with "Non-nil means".  Perhaps this option should have a -flag
421         appended.
422         (mh-junk-background): Sync docstring with manual.
424         * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
425         (mh-spamprobe-blacklist): Sync docstring with manual.
427 2006-11-11  Stephen Gildea  <gildea@stop.mail-abuse.org>
429         * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
430         Use mh-junk-background consistently in call-process calls.
431         (mh-bogofilter-blacklist, mh-bogofilter-whitelist)
432         (mh-spamprobe-blacklist, mh-spamprobe-whitelist):
433         Use with-current-buffer so the right thing happens if
434         mh-junk-background is t (closes SF #1594802).
436         * mh-e.el (mh-junk-background): Document that On value is 0;
437         t may be used for debugging.
439 2006-11-10  Andreas Schwab  <schwab@suse.de>
441         * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
443 2006-11-10  Glenn Morris  <rgm@gnu.org>
445         * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
447 2006-09-25  Stephen Gildea  <gildea@stop.mail-abuse.org>
449         * mh-junk.el (mh-spamassassin-whitelist): Add two missing
450         quotation marks, so that the last two arguments of sa-learn
451         are separated properly (closes SF #1565460).
452         (mh-spamassassin-blacklist): In example .procmailrc, add
453         PATH element to find mhparam on Debian.
455 2006-09-24  Stephen Gildea  <gildea@stop.mail-abuse.org>
457         * mh-comp.el (mh-send-args): Initialize to "" instead of nil
458         so that we always have a valid string for split-string even if
459         nothing is added in mh-send-letter (closes SF #1564742).
461 2006-07-03  Bill Wohler  <wohler@newt.com>
463         Release MH-E version 8.0.2.
465         * mh-e.el (Version, mh-version): Update for release 8.0.2.
467 2006-07-03  Ted Phelps  <phelps@gnusto.com>  (tiny change)
469         * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
470         it refers to the icons in mh-xemacs-icon-map instead of trying to
471         declare the icons in situ.  This allows mh-tool-bar.el to be
472         compiled under XEmacs.  Remove initial value for
473         mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
474         mh-tool-bar-letter-buttons.  The MH-E icons now appear in XEmacs.
475         In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
476         This allows MH-E to be used in XEmacs in a tty (closes SF #1506846).
478 2006-07-03  Bill Wohler  <wohler@newt.com>
480         * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
481         that mh-xemacs needs functions in mh-compat.
483 2006-06-29  Bill Wohler  <wohler@newt.com>
485         * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
486         loop construct to be consistent with other loops, and because
487         edebug doesn't work without it.
489 2006-06-29  Ted Phelps  <phelps@gnusto.com>  (tiny change)
491         * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
492         redundant +s in regexp (closes SF #1514424).
494 2006-06-29  Sergey Poznyakoff  <gray@Mirddin.farlep.net>  (tiny change)
496         * mh-mime.el (mh-mime-save-parts): Add -store option to
497         mhn (closes SF #1513140).
499 2006-06-20  Bill Wohler  <wohler@newt.com>
501         Release MH-E version 8.0.1.
503         * mh-e.el (Version, mh-version): Update for release 8.0.1.
505 2006-06-15  Bill Wohler  <wohler@newt.com>
507         * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
508         suffix for folder names, as <> are illegal filename characters on
509         Windows (closes SF #1507002).
511 2006-06-05  Jacob Morzinski  <morzinski@MIT.EDU>  (tiny change)
513         * mh-comp.el (mh-send-uses-spost): New variable.
514         (mh-send-letter): Do not use -msgid and -mime if
515         mh-send-uses-spost is t (closes SF #1486726).
517 2006-06-02  Bill Wohler  <wohler@newt.com>
519         * mh-search.el (mh-folder-exists-p): Change test from an empty buffer,
520         to one that contains the actual folder, since GNU mailutils' folder
521         command displays output if the folder doesn't exist (closes SF
522         #1499712).
524 2006-05-06  Bill Wohler  <wohler@newt.com>
526         Release MH-E version 8.0.
528         * mh-e.el (Version, mh-version): Update for release 8.0.
530 2006-05-05  Bill Wohler  <wohler@newt.com>
532         * mh-e.el: Update commentary.
534 2006-04-28  Bill Wohler  <wohler@newt.com>
536         Release MH-E version 7.95.
538         * mh-e.el (Version, mh-version): Update for release 7.95.
540 2006-04-26  Eric Ding  <ericding@alum.mit.edu>
542         * mh-e.el (mh-invisible-header-fields-internal): Add entry
543         "X-Provags-ID:".
545 2006-04-25  Bill Wohler  <wohler@newt.com>
547         * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
548         Folders returned by mh-folder-completion-function no longer need
549         adornment (closes SF #1476270).
551 2006-04-21  Bill Wohler  <wohler@newt.com>
553         * mh-e.el (Version, mh-version): Add +cvs to version.
555 2006-04-21  Bill Wohler  <wohler@newt.com>
557         Release MH-E version 7.94.
559         * mh-e.el (Version, mh-version): Update for release 7.94.
561 2006-04-21  Bill Wohler  <wohler@newt.com>
563         * mh-letter.el (mh-insert-letter): If a message number isn't
564         given, throw an error rather than using a potentially incorrect
565         message number (closes SF #1473729).  In addition, use the cur
566         message if mh-sent-from-msg is nil (when sending a message, in
567         contrast to replying).  Move conversion of int to string into
568         interactive stanza so body can assume variables are of proper
569         type.
571 2006-04-20  Bill Wohler  <wohler@newt.com>
573         * mh-tool-bar.el (image-load-path): Define to shush compiler.
574         (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
575         isn't used outside of it.
576         (mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
577         Update load-path/image-load-path before setting buttons.
578         This code used to be in mh-folder-mode/mh-letter-mode but this was
579         the wrong place since mh-tool-bar-*-buttons-init can also be called
580         when customizing the buttons.
581         (mh-tool-bar-update): New function which updates tool-bar-map in
582         all of the MH-E buffers after customizing the buttons (closes SF
583         #1452718).
584         (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
585         Call it (closes SF #1452718).
587         * mh-folder.el (mh-folder-buttons-init-flag): Delete.  Use
588         mh-folder-tool-bar-map instead.
589         (image-load-path): Delete.  No longer used.
590         (mh-folder-mode): Moved setting of image-load-path into
591         mh-tool-bar-folder-buttons-init.
593         * mh-letter.el (mh-letter-buttons-init-flag): Delete.  Use
594         mh-letter-tool-bar-map instead.
595         (image-load-path): Delete.  No longer used.
596         (mh-letter-mode): Moved setting of image-load-path into
597         mh-tool-bar-letter-buttons-init.
599         * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
600         instead of set-buffer.
602 2006-04-19  Bill Wohler  <wohler@newt.com>
604         * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
605         can permanently disable a button (such as a separator) with nil.
607 2006-04-18  Bill Wohler  <wohler@newt.com>
609         * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
610         (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
611         (mh-min-colors-defined-flag): Do not unbind these macros and
612         variables.  Nice idea, but too many nasty side-effects.  These
613         macros are needed by [Cc]ustom-make-dependencies when creating the
614         MH-E customization groups in mh-cus-load.el.  These disappeared
615         when the macros above were introduced.  Besides, if a developer
616         were to try to show the help for a macro or variable they were
617         looking at and got [No match] when they did so, that would be bad.
619 2006-04-17  Bill Wohler  <wohler@newt.com>
621         * mh-comp.el (mh-insert-x-mailer): Strip build number from
622         version in X-Mailer field (closes SF #1466481).
624         * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
625         variables and functions with the same name are found correctly by
626         find-func (invoked by clicking on the filename link in the *Help*
627         buffer).
628         (mh-defmacro-compat): Rename to defmacro-mh.  Ditto.
630         * mh-e.el (mh-defgroup): Rename to defgroup-mh.  Ditto.
631         (mh-defcustom): Rename to defcustom-mh.  Ditto.
632         (mh-defface): Rename to defface-mh.  Ditto.
633         (mh-font-lock-add-keywords): Make changes according to these
634         renamings.
636         * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
637         #1472029).
639         * mh-utils.el (mh-sub-folders-actual): Mention that folder must
640         have been processed by mh-normalize-folder-name.
641         (mh-folder-completion-function): Handle completion of folders with
642         absolute names.  Also, when flag is t, display complete folder name
643         to provide proper highlighting in Emacs 22 now that
644         minibuffer-completing-file-name is nil (closes SF #1470518).
645         (mh-folder-completing-read): No longer set
646         minibuffer-completing-file-name to t.  This was causing "Can't set
647         current directory errors" when browsing absolute file names.
648         Another benefit of this change is that SPC can be used for
649         completion again (closes SF #1470518).
651 2006-04-15  Bill Wohler  <wohler@newt.com>
653         * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
655 2006-04-14  Bill Wohler  <wohler@newt.com>
657         * mh-funcs.el (view-exit-action): No need to wrap defvar with
658         eval-when-compile when shushing compiler.
660         * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
662         * mh-seq.el (view-exit-action): Ditto.
664         * mh-show.el (font-lock-auto-fontify): Ditto.
666         * mh-utils.el (mh-speed-flists-cache): Ditto.
668         * mh-acros.el (struct, x, y): No need to wrap defvar with
669         eval-when-compile when shushing compiler, even when
670         mh-do-in-xemacs or another construct is used.
672         * mh-comp.el (sendmail-coding-system): Ditto.
674         * mh-e.el (mark-active): Ditto.
676         * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
677         (image-load-path, font-lock-defaults): Ditto.
679         * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
681         * mh-mime.el (dots, type, ov)
682         (mm-verify-function-alist, mm-decrypt-function-alist)
683         (pressed-details): Ditto.
685         * mh-search.el (pick-folder, mh-do-in-xemacs)
686         (mh-mairix-folder, mh-flists-search-folders)
687         (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
689         * mh-seq.el (tool-bar-mode): Ditto.
691         * mh-utils.el (completion-root-regexp)
692         (minibuffer-completing-file-name): Ditto.
694         * mh-xface.el (default-enable-multibyte-characters): Ditto.
696         * mh-compat.el (mh-font-lock-add-keywords): New alias for
697         font-lock-add-keywords.  Returns nil on XEmacs.
699         * mh-e.el: Add MH-E function and variable keywords such as
700         mh-defun-compat and mh-defcustom to font-lock-keywords.
702 2006-04-13  Bill Wohler  <wohler@newt.com>
704         * mh-e.el (customize-package-emacs-version-alist)
705         (mh-e, mh-alias, mh-folder, mh-folder-selection)
706         (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
707         (mh-scan-line-formats, mh-search, mh-sending-mail)
708         (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
709         (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
710         (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
711         (mh-alias-insert-file, mh-alias-insertion-location)
712         (mh-alias-local-users, mh-alias-local-users-prefix)
713         (mh-alias-passwd-gecos-comma-separator-flag)
714         (mh-new-messages-folders, mh-ticked-messages-folders)
715         (mh-large-folder, mh-recenter-summary-flag)
716         (mh-recursive-folders-flag, mh-sortm-args)
717         (mh-default-folder-for-message-function)
718         (mh-default-folder-list, mh-default-folder-must-exist-flag)
719         (mh-default-folder-prefix, mh-identity-list)
720         (mh-auto-fields-list, mh-auto-fields-prompt-flag)
721         (mh-identity-default, mh-identity-handlers, mh-inc-prog)
722         (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
723         (mh-junk-program, mh-compose-insertion)
724         (mh-compose-skipped-header-fields)
725         (mh-compose-space-does-completion-flag)
726         (mh-delete-yanked-msg-window-flag)
727         (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
728         (mh-letter-complete-function, mh-letter-fill-column)
729         (mh-mml-method-default, mh-signature-file-name)
730         (mh-signature-separator-flag, mh-x-face-file)
731         (mh-yank-behavior, mh-interpret-number-as-range-flag)
732         (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
733         (mh-search-program, mh-compose-forward-as-mime-flag)
734         (mh-compose-letter-function, mh-compose-prompt-flag)
735         (mh-forward-subject-format, mh-insert-x-mailer-flag)
736         (mh-redist-full-contents-flag, mh-reply-default-reply-to)
737         (mh-reply-show-message-flag)
738         (mh-refile-preserves-sequences-flag, mh-tick-seq)
739         (mh-update-sequences-after-mh-show-flag)
740         (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
741         (mh-decode-mime-flag)
742         (mh-display-buttons-for-alternatives-flag)
743         (mh-display-buttons-for-inline-parts-flag)
744         (mh-do-not-confirm-flag, mh-fetch-x-image-url)
745         (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
746         (mh-highlight-citation-style, mh-invisible-header-fields)
747         (mh-invisible-header-fields-default, mh-lpr-command-format)
748         (mh-max-inline-image-height, mh-max-inline-image-width)
749         (mh-mhl-format-file, mh-mime-save-parts-default-directory)
750         (mh-print-background-flag, mh-show-maximum-size)
751         (mh-show-use-xface-flag, mh-store-default-directory)
752         (mh-summary-height, mh-speed-update-interval)
753         (mh-show-threads-flag, mh-tool-bar-search-function)
754         (mh-defcustom, mh-after-commands-processed-hook)
755         (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
756         (mh-before-quit-hook, mh-before-send-letter-hook)
757         (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
758         (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
759         (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
760         (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
761         (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
762         (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
763         (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
764         (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
765         (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
766         (mh-folder-subject, mh-folder-tick, mh-folder-to)
767         (mh-letter-header-field, mh-search-folder, mh-show-cc)
768         (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
769         (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
770         (mh-show-subject, mh-show-to, mh-show-xface)
771         (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
772         (mh-speedbar-selected-folder)
773         (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
774         notation in :package-version keyword.
776 2006-04-07  Bill Wohler  <wohler@newt.com>
778         * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
779         :package-version keyword.
781 2006-03-31  Bill Wohler  <wohler@newt.com>
783         * mh-e.el (mh-strip-package-version): Move before use to avoid
784         compiler error.  Make macro, also to avoid compiler error.
785         (mh-defface-compat): Incorporate body into mh-face-data and
786         delete.
788 2006-03-30  Bill Wohler  <wohler@newt.com>
790         * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
791         remove new :package-version keyword in older settings.
792         (customize-package-emacs-version-alist): Add MH-E version to Emacs
793         version mappings.
794         (mh-e, mh-alias, mh-folder, mh-folder-selection)
795         (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
796         (mh-scan-line-formats, mh-search, mh-sending-mail)
797         (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
798         (mh-hooks, mh-faces): Add :package-version keyword to these
799         groups (closes SF #1452724).
800         (mh-alias-completion-ignore-case-flag)
801         (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
802         (mh-alias-insert-file, mh-alias-insertion-location)
803         (mh-alias-local-users, mh-alias-local-users-prefix)
804         (mh-alias-passwd-gecos-comma-separator-flag)
805         (mh-new-messages-folders, mh-ticked-messages-folders)
806         (mh-large-folder, mh-recenter-summary-flag)
807         (mh-recursive-folders-flag, mh-sortm-args)
808         (mh-default-folder-for-message-function)
809         (mh-default-folder-list, mh-default-folder-must-exist-flag)
810         (mh-default-folder-prefix, mh-identity-list)
811         (mh-auto-fields-list, mh-auto-fields-prompt-flag)
812         (mh-identity-default, mh-identity-handlers, mh-inc-prog)
813         (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
814         (mh-junk-program, mh-compose-insertion)
815         (mh-compose-skipped-header-fields)
816         (mh-compose-space-does-completion-flag)
817         (mh-delete-yanked-msg-window-flag)
818         (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
819         (mh-letter-complete-function, mh-letter-fill-column)
820         (mh-mml-method-default, mh-signature-file-name)
821         (mh-signature-separator-flag, mh-x-face-file)
822         (mh-yank-behavior, mh-interpret-number-as-range-flag)
823         (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
824         (mh-search-program, mh-compose-forward-as-mime-flag)
825         (mh-compose-letter-function, mh-compose-prompt-flag)
826         (mh-forward-subject-format, mh-insert-x-mailer-flag)
827         (mh-redist-full-contents-flag, mh-reply-default-reply-to)
828         (mh-reply-show-message-flag)
829         (mh-refile-preserves-sequences-flag, mh-tick-seq)
830         (mh-update-sequences-after-mh-show-flag)
831         (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
832         (mh-decode-mime-flag)
833         (mh-display-buttons-for-alternatives-flag)
834         (mh-display-buttons-for-inline-parts-flag)
835         (mh-do-not-confirm-flag, mh-fetch-x-image-url)
836         (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
837         (mh-highlight-citation-style, mh-invisible-header-fields)
838         (mh-invisible-header-fields-default, mh-lpr-command-format)
839         (mh-max-inline-image-height, mh-max-inline-image-width)
840         (mh-mhl-format-file, mh-mime-save-parts-default-directory)
841         (mh-print-background-flag, mh-show-maximum-size)
842         (mh-show-use-xface-flag, mh-store-default-directory)
843         (mh-summary-height, mh-speed-update-interval)
844         (mh-show-threads-flag, mh-tool-bar-search-function): Add
845         :package-version keyword to these options (closes SF #1452724).
846         (mh-after-commands-processed-hook)
847         (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
848         (mh-before-quit-hook, mh-before-send-letter-hook)
849         (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
850         (mh-forward-hook, mh-inc-folder-hook)
851         (mh-insert-signature-hook)
852         (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
853         (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
854         (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
855         (mh-unseen-updated-hook): Add :package-version keyword to these
856         hooks (closes SF #1452724).
857         (mh-min-colors-defined-flag)
858         (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
859         (mh-folder-date, mh-folder-deleted, mh-folder-followup)
860         (mh-folder-msg-number, mh-folder-refiled)
861         (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
862         (mh-folder-subject, mh-folder-tick, mh-folder-to)
863         (mh-letter-header-field, mh-search-folder, mh-show-cc)
864         (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
865         (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
866         (mh-show-subject, mh-show-to, mh-show-xface)
867         (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
868         (mh-speedbar-selected-folder)
869         (mh-speedbar-selected-folder-with-unseen-messages): : Add
870         :package-version keyword to these faces (closes SF #1452724).
872         * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
873         :package-version keywords (closes SF #1452724).
875 2006-03-28  Bill Wohler  <wohler@newt.com>
877         * mh-tool-bar.el: Use clipboard-kill-region,
878         clipboard-kill-ring-save, and clipboard-yank instead of undo,
879         kill-region, and menu-bar-kill-ring-save respectively.  In
880         MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
881         front of mh-compose-insertion to be consistent with other mailers,
882         such as Evolution.  In MH-Folder mode, move vanilla reply icon to
883         the left of the other reply icons.  Use mail/inbox icon instead of
884         mail, next-page instead of page-down, delete instead of close,
885         mail/move instead of mail/refile, data-save instead of execute,
886         mail/flag-for-followup instead of highlight, contact instead of
887         mail/alias, open instead of fld-open, zoom-out instead of widen.
889         * mh-folder.el (mh-execute-commands, mh-rescan-folder):
890         * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
892 2006-03-27  Eric Ding  <ericding@alum.mit.edu>
894         * mh-e.el (mh-invisible-header-fields-internal): Add entries
895         "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail).
897 2006-03-19  Bill Wohler  <wohler@newt.com>
899         * mh-comp.el (mh-reply): Sync docstring with manual.
901         * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
902         docstring.
904 2006-03-17  Bill Wohler  <wohler@newt.com>
906         * mh-compat.el (mh-image-load-path-for-library): Minor docstring fix.
908 2006-03-16  Bill Wohler  <wohler@newt.com>
910         * mh-comp.el (mh-send-letter): Use split-string to break up
911         mh-send-args (closes SF #1448604).
912         (mh-compose-and-send-mail): Use run-hook-with-args for
913         mh-compose-letter-function.
915         * mh-e.el (mh-list-to-string-1): Use dolist.
917         * mh-compat.el (mh-image-load-path-for-library): Prefer user's images.
919 2006-03-15  Bill Wohler  <wohler@newt.com>
921         * mh-compat.el (mh-image-load-path-for-library): Fix example by
922         not recommending that one binds image-load-path.  Just defvar it to
923         placate compiler and only use it if previously defined.
925         * mh-e.el (image-load-path): Don't bind!
927         * mh-folder.el (mh-folder-mode): Only use image-load-path if
928         previously defined.
930         * mh-letter.el (mh-letter-mode): Ditto.
932         * mh-utils.el (mh-logo-display): Ditto.
934 2006-03-14  Bill Wohler  <wohler@newt.com>
936         * mh-compat.el (mh-image-load-path-for-library): Incorporate
937         changes from image-load-path-for-library, which are:
938         (image-load-path-for-library): Pass value of path rather than
939         symbol.  Always return list of directories.  Guarantee that image
940         directory comes first.
942         * mh-e.el (image-load-path): Define on those Emacsen that lack it
943         to avoid compile and run-time errors.
945         * mh-folder.el (mh-folder-mode): Use new idiom for setting
946         image-load-path.
948         * mh-letter.el (mh-letter-mode): Ditto.
950         * mh-utils.el (mh-logo-display): Ditto.
952 2006-03-12  Bill Wohler  <wohler@newt.com>
954         * mh-utils.el (mh-folder-list): Fix docstring (closes SF
955         #1448498).
957 2006-03-10  Bill Wohler  <wohler@newt.com>
959         * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
960         flag to replace-in-string.  This was badly needed by
961         mh-quote-pick-expr in order to properly quote subjects when using
962         / s on XEmacs (closes SF #1447598).
963         (mh-image-load-path-for-library): Merged changes from Reiner.  Add
964         no-error argument.  If path t, just return directory.
966         * mh-e.el (mh-profile-component): Drop `s' from mhparam
967         -components for Mailutils compatibility (closes SF #1446985).
969 2006-03-06  Bill Wohler  <wohler@newt.com>
971         * mh-e.el (Version, mh-version): Add +cvs to version.
973 2006-03-05  Satyaki Das  <satyaki@theforce.stanford.edu>
975         * mh-search.el (mh-index-update-single-msg): Fix a bug in the
976         handling of duplicate messages.  The test in cond was too strong
977         and wasn't catching the case where origin-map was nil.
979 2006-03-05  Bill Wohler  <wohler@newt.com>
981         Release MH-E version 7.93.
983         * mh-e.el (Version, mh-version): Update for release 7.93.
985 2006-03-05  Bill Wohler  <wohler@newt.com>
987         * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
988         calling mh-image-load-path-for-library since this is the default.
990         * mh-letter.el (mh-letter-mode): Ditto.
992         * mh-utils.el (mh-logo-display): Ditto.
994 2006-03-04  Bill Wohler  <wohler@newt.com>
996         * mh-compat.el (mh-image-load-path-for-library): Move here from
997         mh-utils.el and wrap with mh-defun-compat since this function will
998         be soon added to image.el.
1000         * mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
1001         (mh-normalize-folder-name): Add return-nil-if-folder-empty
1002         argument which is useful when calling mh-normalize-folder-name to
1003         process the folder argument for the folders command.
1004         (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
1005         this function more robust.  It could too easily list the folders in /.
1006         (mh-folder-list): Fix a couple of problems pointed out by Thomas
1007         Baumann.  Set folder to nil if empty.  Don't append "/" if folder nil.
1009 2006-03-03  Bill Wohler  <wohler@newt.com>
1011         * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
1012         mh-image-load-path-for-library.
1014         * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
1015         mh-image-load-path-for-library.
1017         * mh-utils.el (mh-image-load-path): Rename to
1018         mh-image-load-path-for-library.  Add example to docstring.  Rename
1019         local variable mh-image-directory to image-directory.  Move error
1020         checks to default case in cond and simplify.
1022         * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
1023         docstrings with manual.
1025 2006-03-02  Bill Wohler  <wohler@newt.com>
1027         * mh-folder.el (mh-tool-bar-init): Autoload.
1028         (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
1029         Set scoped variables image-load-path and load-path with updated
1030         mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
1032         * mh-letter.el (mh-tool-bar-init): Autoload.
1033         (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
1034         Set scoped variables image-load-path and load-path with updated
1035         mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
1037         * mh-show.el (mh-tool-bar-init): Autoload.
1038         (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
1039         GNU Emacs.
1041         * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
1042         messages per conventions.
1043         (mh-tool-bar-folder-buttons-init)
1044         (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
1045         (mh-tool-bar-define call): Format.
1047         * mh-utils.el (mh-image-directory)
1048         (mh-image-load-path-called-flag): Delete.
1049         (mh-image-load-path): Incorporate changes from Gnus team.  Biggest
1050         changes are that it no longer uses/sets mh-image-directory or
1051         mh-image-load-path-called-flag, and returns the updated path
1052         rather than change it.
1053         (mh-logo-display): Change usage of mh-image-load-path.
1055 2006-02-28  Bill Wohler  <wohler@newt.com>
1057         * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
1058         (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
1059         to subjects with special characters by quoting regular expression
1060         characters in pick expression derived from existing subjects and
1061         other fields (closes SF #1432548).
1062         (mh-narrow-to-subject): Remove Re: string from subject so that
1063         pick can find originating message (closes SF #1438369).
1065         * mh-utils.el (mh-image-load-path): Rename variable to
1066         mh-image-directory.
1067         (mh-image-load-path): Access mh-image-directory instead of
1068         mh-image-load-path.
1069         (mh-folder-list): Fix problem with passing in a folder and getting
1070         nothing back.  Fix problem with passing in empty string and getting
1071         the entire filesystem (or infinite loop).  Don't append slash to
1072         folder.  These fixes fix problems observed with the pick search.
1073         Thanks to Thomas Baumann for the help (closes SF #1435381).
1074         (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
1075         function for quoting pick regular expression characters (closes SF
1076         #1432548).
1078 2006-02-27  Bill Wohler  <wohler@newt.com>
1080         * mh-e.el (mh-default-folder-for-message-function): Sync docstring
1081         with manual.
1083         * mh-mime.el (mh-minibuffer-read-type): Delete comment in
1084         docstring about obsolete variable mh-mime-content-types.
1086         * mh-e.el (mh-variant): Sync docstring with manual.
1087         (cus-face): Require as it is needed by mh-inherit-face-flag.
1089         * mh-compat.el (mh-display-color-cells): Return 2 if
1090         device-color-cells returns nil (closes SF #1436924).
1092         * mh-e.el (mh-compiling-flag): Delete.  No longer needed by
1093         mh-display-color-cells.
1095 2006-02-21  Eric Ding  <ericding@alum.mit.edu>
1097         * mh-e.el (mh-invisible-header-fields-internal): Add entry
1098         "X-Sasl-enc:".
1100 2006-02-20  Eric Ding  <ericding@alum.mit.edu>
1102         * mh-e.el (mh-invisible-header-fields-internal): Add entries
1103         "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
1104         "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
1105         "X-Resolved-to:", and "X-SA-Exim".  Fixed "X-Bugzilla-" and
1106         "X-Roving-" by removing unnecessary "*" at end.
1108 2006-02-19  Bill Wohler  <wohler@newt.com>
1110         * mh-alias.el (mh-address-mail-regexp)
1111         (mh-goto-address-find-address-at-point): Delete copies from
1112         goto-addr.el.
1113         (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
1114         mh-address-mail-regexp.
1115         (mh-alias-add-address-under-point): Use
1116         goto-address-find-address-at-point instead of
1117         mh-goto-address-find-address-at-point.
1119         * mh-e.el (mh-show-use-goto-addr-flag): Delete.
1121         * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
1122         docstring.
1123         (mh-show-addr): Call goto-address unconditionally.  User should use
1124         goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
1126 2006-02-18  Bill Wohler  <wohler@newt.com>
1128         * mh-e.el (Version, mh-version): Add +cvs to version.
1130 2006-02-18  Bill Wohler  <wohler@newt.com>
1132         Release MH-E version 7.92.
1134         * mh-e.el (Version, mh-version): Update for release 7.92.
1136 2006-02-17  Bill Wohler  <wohler@newt.com>
1138         * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
1139         backgrounds per Mark's suggestion.
1141         * mh-utils.el (mh-image-load-path): Fix problem that images on
1142         load-path or image-load-path would win over relative paths (newer
1143         MH-E or Emacs distribution).
1145 2006-02-16  Bill Wohler  <wohler@newt.com>
1147         * mh-e.el (mh-inherit-face-flag): New variable.  Non-nil means that
1148         the defface :inherit keyword is available.
1149         (mh-face-data): New variable (contains all face specs) and
1150         function (accessor).
1151         (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
1152         (mh-folder-date, mh-folder-deleted, mh-folder-followup)
1153         (mh-folder-msg-number, mh-folder-refiled)
1154         (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1155         (mh-folder-subject, mh-folder-tick, mh-folder-to)
1156         (mh-search-folder, mh-letter-header-field, mh-show-cc)
1157         (mh-show-date, mh-show-from)
1158         (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
1159         (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
1160         (mh-show-to, mh-show-xface, mh-speedbar-folder)
1161         (mh-speedbar-folder-with-unseen-messages)
1162         (mh-speedbar-selected-folder)
1163         (mh-speedbar-selected-folder-with-unseen-messages):
1164         Use mh-face-data.
1166         * mh-utils.el (mh-image-load-path): The variables image-load-path
1167         or load-path would not get updated if user set mh-image-load-path.
1168         Moved tests and add-to-list calls outside of cond so they are
1169         applied consistently, even if they are redundant in some
1170         circumstances.  Efficiency isn't a concern here.  Made error
1171         messages more user-friendly.
1173 2006-02-15  Peter S Galbraith  <psg@debian.org>
1175         * mh-compat.el (mh-image-search-load-path): Compatibility code.
1176         Emacs 21 and XEmacs don't have `image-search-load-path'.
1178         * mh-utils.el (mh-image-load-path): Don't bail out on error if the
1179         images are already found.
1181 2006-02-10  Bill Wohler  <wohler@newt.com>
1183         * mh-search.el (mh-search): Wrap code in (block mh-search ...)
1184         rather than use defun*.  XEmacs cannot create a proper autoload for
1185         a defun*.
1187 2006-02-09  Bill Wohler  <wohler@newt.com>
1189         * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
1190         that causes an infinite loop on XEmacs.
1192         * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
1193         argument.
1195 2006-02-08  Peter S Galbraith  <psg@debian.org>
1197         * mh-e.el (mh-invisible-header-fields-internal): Added entries
1198         "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash".
1200 2006-02-04  Bill Wohler  <wohler@newt.com>
1202         * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
1203         has an emacsclient command that supports --eval.  I had read that
1204         gnudoit was deprecated in favor of gnuclient anyway.
1206 2006-02-04  Eric Ding  <ericding@alum.mit.edu>
1208         * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
1209         handle OpenOffice documents.
1211 2006-02-03  Bill Wohler  <wohler@newt.com>
1213         * mh-e.el (Version, mh-version): Add +cvs to version.
1215 2006-02-03  Bill Wohler  <wohler@newt.com>
1217         Release MH-E version 7.91.
1219         * mh-e.el (Version, mh-version): Update for release 7.91.
1221 2006-02-03  Bill Wohler  <wohler@newt.com>
1223         * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
1224         (mh-image-load-path): Checkdoc fix.  Docstring edits.  Reduce scope
1225         of local variable mh-library-name.
1227         * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
1228         (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
1229         88) with (min-colors 64) in face specifications so that MH-E still
1230         looks good on systems with fewer colors (such as Eric Ding's).
1232 2006-02-03  Peter S Galbraith  <psg@debian.org>
1234         * mh-utils.el (mh-image-load-path): New variable to optionally
1235         hold the directory where MH-E images are stored.  If nil, then
1236         the function `mh-image-load-path' will find it.  This variable
1237         will be used for Debian packaging.
1238         (mh-image-load-path function): Use variable `mh-image-load-path'
1239         if non-nil and exists.
1241 2006-02-03  Mark D. Baushke  <mdb@gnu.org>
1243         * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
1244         for GNU Emacs or XEmacs to avoid void-variable tool-bar-map lisp
1245         errors if describe-bindings is called before tool-bar-mode is used.
1247 2006-02-03  Peter S Galbraith  <psg@debian.org>
1249         * mh-compat.el (mh-url-unreserved-chars): Fix typo from
1250         `mh-url-unresrved-chars'.
1252 2006-02-02  Bill Wohler  <wohler@newt.com>
1254         * mh-e.el (Version, mh-version): Add +cvs to version.
1256 2006-02-02  Bill Wohler  <wohler@newt.com>
1258         Release MH-E version 7.90.
1260         * mh-e.el (Version, mh-version): Update for release 7.90.
1262 2006-02-01  Bill Wohler  <wohler@newt.com>
1264         * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
1266         * mh-alias.el (mh-alias-gecos-name): Use
1267         mh-replace-regexp-in-string instead of replace-regexp-in-string.
1268         (crm, multi-prompt): Use mh-require instead of require.
1269         (mh-goto-address-find-address-at-point): Use
1270         mh-line-beginning-position and mh-line-end-position instead of
1271         line-beginning-position and line-end-position.  Use
1272         mh-match-string-no-properties instead of
1273         match-string-no-properties.
1275         * mh-comp.el (mh-modify-header-field): Use
1276         mh-line-beginning-position and mh-line-end-position instead of
1277         line-beginning-position and line-end-position.
1279         * mh-compat.el (mailabbrev): Use mh-require instead of require.
1280         (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
1281         (mh-face-background): Make docstring consistent.
1282         (mh-require, mh-cancel-timer, mh-display-color-cells)
1283         (mh-line-beginning-position, mh-line-end-position)
1284         (mh-match-string-no-properties, mh-replace-regexp-in-string)
1285         (mh-view-mode-enter): Move definition here from mh-xemacs.el and
1286         add mh- prefix since compatibility functions should have our
1287         package prefix (mh-) by Emacs convention and to avoid messing up
1288         checks for the same functions in other packages.
1290         * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
1291         from mh-xemacs.el and rename.
1292         (mh-xargs): Use mh-line-beginning-position and
1293         mh-line-end-position instead of line-beginning-position and
1294         line-end-position.
1295         (mh-defface-compat): Use mh-display-color-cells instead of
1296         display-color-cells.
1298         * mh-folder.el (which-func): Use mh-require instead of require.
1300         * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
1301         view-mode-enter.
1303         * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml):
1304         Use mh-require instead of require.
1306         * mh-letter.el (mh-letter-header-end, mh-letter-mode)
1307         (mh-letter-next-header-field): Use mh-line-beginning-position and
1308         mh-line-end-position instead of line-beginning-position and
1309         line-end-position.
1311         * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
1312         mh-match-string-no-properties instead of
1313         match-string-no-properties.
1314         (mh-narrow-to-header-field): Use mh-line-beginning-position and
1315         mh-line-end-position instead of line-beginning-position and
1316         line-end-position.
1318         * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
1319         (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
1320         mh-line-beginning-position and mh-line-end-position instead of
1321         line-beginning-position and line-end-position.
1323         * mh-search.el (which-func): Use mh-require instead of require.
1324         (mh-make-pick-template, mh-index-visit-folder)
1325         (mh-pick-parse-search-buffer, mh-swish-next-result)
1326         (mh-mairix-next-result, mh-namazu-next-result)
1327         (mh-pick-next-result, mh-grep-next-result)
1328         (mh-index-create-imenu-index, mh-index-match-checksum)
1329         (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
1330         mh-line-beginning-position and mh-line-end-position instead of
1331         line-beginning-position and line-end-position.
1333         * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
1334         view-mode-enter.
1335         (mh-folder-size-flist, mh-parse-flist-output-line)
1336         (mh-add-sequence-notation): Use mh-line-beginning-position and
1337         mh-line-end-position instead of line-beginning-position and
1338         line-end-position.
1340         * mh-show.el (mh-show-addr): Use mh-require instead of require.
1342         * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
1343         (mh-speed-view, mh-folder-speedbar-buttons)
1344         (mh-speed-highlight, mh-speed-goto-folder)
1345         (mh-speed-add-buttons, mh-speed-parse-flists-output)
1346         (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
1347         (mh-speed-add-folder): Use mh-line-beginning-position and
1348         mh-line-end-position instead of line-beginning-position and
1349         line-end-position.
1350         (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
1352         * mh-thread.el (mh-thread-find-children)
1353         (mh-thread-parse-scan-line, mh-thread-generate): Use
1354         mh-line-beginning-position and mh-line-end-position instead of
1355         line-beginning-position and line-end-position.
1357         * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
1358         instead of display-color-cells.
1359         (mh-folder-list): Use mh-replace-regexp-in-string instead of
1360         replace-regexp-in-string.
1361         (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
1362         Use mh-line-beginning-position and mh-line-end-position instead of
1363         line-beginning-position and line-end-position.
1365         * mh-comp.el (mh-send-sub): Don't find components file in current
1366         directory--this seems to have been a side-effect of commenting out
1367         the use of an old mh-etc variable.  Improve error message.
1369 2006-01-31  Bill Wohler  <wohler@newt.com>
1371         * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
1372         argument since compatibility functions should have our package
1373         prefix (mh-) by Emacs convention and to avoid messing up checks
1374         for the same functions in other packages.  Use explicit argument
1375         instead of forming name by adding mh- prefix so that one can grep
1376         and find the definition.
1378         * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1379         (mh-alias-expand, mh-alias-minibuffer-confirm-address):
1380         Use mh-assoc-string instead of assoc-string.
1382         * mh-compat.el (assoc-string): Rename to mh-assoc-string.
1383         (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string):
1384         Move here from mh-utils.el.
1385         (mh-display-completion-list): Move here from mh-comp.el.
1386         (mh-face-foreground, mh-face-background): Move here from
1387         mh-xface.el.
1388         (mh-write-file-functions): Move here from mh-folder.el.
1390         * mh-folder.el (mh-write-file-functions-compat): Move to
1391         mh-compat.el and rename to mh-write-file-functions.
1392         (mh-folder-mode): Use the new name.
1394         * mh-gnus.el (gnus-local-map-property): Rename to
1395         mh-gnus-local-map-property.
1396         (mm-merge-handles): Rename to mh-mm-merge-handles.
1397         (mm-set-handle-multipart-parameter): Rename to
1398         mh-mm-set-handle-multipart-parameter.
1399         (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
1400         (mm-possibly-verify-or-decrypt): Rename to
1401         mh-mm-possibly-verify-or-decrypt.
1402         (mm-handle-multipart-ctl-parameter): Rename to
1403         mh-mm-handle-multipart-ctl-parameter.
1404         (mm-readable-p): Rename to mh-mm-readable-p.
1405         (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1406         (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1407         (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1408         (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1409         (mml-minibuffer-read-disposition): Rename to
1410         mh-mml-minibuffer-read-disposition.
1412         * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1413         instead of assoc-string.
1415         * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1416         (mh-mime-display, mh-mime-display-security)
1417         (mh-insert-mime-button, mh-insert-mime-security-button)
1418         (mh-handle-set-external-undisplayer)
1419         (mh-mime-security-press-button, mh-mime-security-show-details)
1420         (mh-mml-attach-file, mh-mime-cleanup)
1421         (mh-destroy-postponed-handles): Use new mh-* names for
1422         compatibility functions.
1424         * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1425         mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1426         (mh-beginning-of-word): Use the new name.
1427         (mh-get-field): Delete ancient alias.
1429         * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1430         and rename to mh-face-foreground.
1431         (mh-face-background-compat): Move to mh-compat.el
1432         and rename to mh-face-background.
1433         (mh-face-display-function): Use the new names.
1434         (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1435         instead of url-hexify-string.
1436         (url-unreserved-chars): Move to mh-compat.el and rename to
1437         mh-url-unreserved-chars.
1438         (url-hexify-string): Move to mh-compat.el and rename to
1439         mh-url-hexify-string.
1441         * mh-letter.el (mh-complete-word): Fix bug in call to
1442         mh-display-completion-list.  Wrong argument was passed, so
1443         completions wouldn't show highlighted prefix.
1445 2006-01-29  Bill Wohler  <wohler@newt.com>
1447         * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1448         mh-adaptive-cmd-note-flag.
1450         * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1451         docstring.  sc-cite-original is autoloaded via loaddefs.el for all
1452         supported versions.  In addition, the package name "sc" has been
1453         made obsolete by "supercite since at least Emacs 21.
1455         * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1456         revealed character constants that were still strings (closes SF
1457         #770772).
1459         * mh-comp.el (mh-letter-hide-all-skipped-fields)
1460         (mh-get-header-field): Move to mh-utils.el so that you can read
1461         messages without having to load mh-comp.el and mh-letter.el.
1463         * mh-letter.el (mh-hidden-header-keymap)
1464         (mh-letter-toggle-header-field-display)
1465         (mh-letter-skipped-header-field-p)
1466         (mh-letter-skip-leading-whitespace-in-header-field)
1467         (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1468         can read messages without having to load mh-comp.el and
1469         mh-letter.el.
1471         * mh-utils.el (mh-get-header-field)
1472         (mh-letter-hide-all-skipped-fields)
1473         (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1474         (mh-letter-toggle-header-field-display)
1475         (mh-letter-skip-leading-whitespace-in-header-field)
1476         (mh-letter-truncate-header-field): Move here from mh-comp.el and
1477         mh-letter.el so that you can read messages without having to load
1478         mh-comp.el and mh-letter.el.
1480         * mh-comp.el (mh-insert-fields): Handle nil values.  Rmail, at
1481         least, will deliver them to us.
1483         * mh-e.el (mh-after-commands-processed-hook)
1484         (mh-before-commands-processed-hook): Specify what sort of requests
1485         in docstring.
1487         * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1488         minor-mode-alias.
1490         * mh-letter.el (mh-letter-menu): Remove.  Defvar no longer needed
1491         to shush compiler.
1492         (mh-letter-mode): Remove Mail menu.
1494 2006-01-29  Bill Wohler  <wohler@newt.com>
1496         The Great Cleanup
1497         Remove circular dependencies.  mh-e.el now includes few require
1498         statements and stands alone.  Other files should need to require
1499         mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1500         such as mh-scan.el.
1501         Remove unneeded require statements.
1502         Remove unneeded load statements, or replace them with non-fatal
1503         require statements.
1504         Break out components into their own files that were often spread
1505         between many files.
1506         As a result, many functions that are now only used within a single
1507         file no longer need to be autoloaded.
1508         Rearrange and provide consistent headings.
1509         Untabify.
1511         * mh-acros.el: Update commentary to reflect current usage.
1512         Add autoload cookies to all macros.
1513         (mh-require-cl): Merge docstring and comment.
1514         (mh-do-in-xemacs): Fix typo in docstring.
1515         (assoc-string): Move to new file mh-compat.el.
1516         (with-mh-folder-updating, mh-in-show-buffer)
1517         (mh-do-at-event-location, mh-seq-msgs): Move here from mh-utils.el.
1518         (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1519         from mh-seq.el.
1521         * mh-alias.el (mh-address-mail-regexp)
1522         (mh-goto-address-find-address-at-point): Move here from mh-utils.el.
1523         (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1525         * mh-buffers.el: Update descriptive text.
1527         * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1528         new file mh-scan.el.
1529         (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1530         (mh-letter-menu, mh-letter-mode-help-messages)
1531         (mh-letter-buttons-init-flag, mh-letter-mode)
1532         (mh-font-lock-field-data, mh-letter-header-end)
1533         (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1534         (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1535         (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1536         (mh-filter-out-non-text, mh-insert-prefix-string)
1537         (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1538         (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1539         (mh-letter-complete, mh-letter-complete-or-space)
1540         (mh-letter-confirm-address, mh-letter-header-field-at-point)
1541         (mh-letter-next-header-field-or-indent)
1542         (mh-letter-next-header-field, mh-letter-previous-header-field)
1543         (mh-letter-skipped-header-field-p)
1544         (mh-letter-skip-leading-whitespace-in-header-field)
1545         (mh-hidden-header-keymap)
1546         (mh-letter-toggle-header-field-display-button)
1547         (mh-letter-toggle-header-field-display)
1548         (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1549         file mh-letter.el.
1550         (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1551         (mh-pgp-support-flag, mh-x-mailer-string)
1552         (mh-letter-header-field-regexp): Move to mh-e.el.
1553         (mh-goto-header-field, mh-goto-header-end)
1554         (mh-extract-from-header-value, mh-beginning-of-word): Move to
1555         mh-utils.el.
1556         (mh-insert-header-separator): Move to mh-comp.el.
1557         (mh-display-completion-list-compat): Move to new file
1558         mh-compat.el.
1560         * mh-compat.el: New file.
1561         (assoc-string): Move here from mh-acros.el.
1562         (mh-display-completion-list): Move here from mh-comp.el.
1564         * mh-customize.el: Move content into mh-e.el and remove.
1566         * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1567         (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1568         (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1569         (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1570         declared here so that they can be used in docstrings.
1571         (mh-sent-from-folder, mh-sent-from-msg)
1572         (mh-letter-header-field-regexp, mh-pgp-support-flag)
1573         (mh-x-mailer-string): Move here from mh-comp.el.
1574         (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1575         (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1576         here from mh-seq.el.
1577         (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1578         (mh-previous-window-config, mh-seen-list, mh-seq-list)
1579         (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1580         (mh-show-folder-buffer, mh-mail-header-separator)
1581         (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1582         (mh-signature-separator, mh-signature-separator-regexp)
1583         (mh-list-to-string, mh-list-to-string-1): Move here from
1584         mh-utils.el.
1585         (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1586         (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1587         (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1588         (mh-exec-cmd-output)
1589         (mh-exchange-point-and-mark-preserving-active-mark)
1590         (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1591         deprecated file mh-exec.el.
1592         (mh-path): Move here from deprecated file mh-customize.el.
1593         (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1594         (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1595         (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1596         (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1597         (mh-profile-component-value, mh-defface-compat): Move here from
1598         deprecated file mh-init.el.
1599         (mh-goto-next-button, mh-folder-mime-action)
1600         (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1601         (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1602         mh-mime.el.
1603         (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1604         (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1605         (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1606         (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1607         (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1608         (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1609         (mh-scan-cmd-note-width, mh-scan-destination-width)
1610         (mh-scan-date-width, mh-scan-date-flag-width)
1611         (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1612         (mh-scan-field-destination-offset)
1613         (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1614         (mh-scan-field-subject-start-offset, mh-scan-format)
1615         (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1616         mh-scan.el.
1617         (mh-partial-folder-mode-line-annotation)
1618         (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1619         (mh-generate-sequence-font-lock, mh-last-destination)
1620         (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1621         (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1622         (mh-execute-commands, mh-first-msg, mh-header-display)
1623         (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1624         (mh-folder-from-address, mh-prompt-for-refile-folder)
1625         (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1626         (mh-previous-page, mh-previous-undeleted-msg)
1627         (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1628         (mh-reset-threads-and-narrowing, mh-rescan-folder)
1629         (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1630         (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1631         (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1632         (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1633         (mh-folder-sequence-menu, mh-folder-message-menu)
1634         (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1635         (mh-write-file-functions-compat, mh-folder-mode)
1636         (mh-restore-desktop-buffer, mh-scan-folder)
1637         (mh-regenerate-headers, mh-generate-new-cmd-note)
1638         (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1639         (mh-process-or-undo-commands, mh-process-commands)
1640         (mh-update-unseen, mh-delete-scan-msgs)
1641         (mh-outstanding-commands-p): Move to new file mh-folder.el.
1642         (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1643         (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1644         (mh-lessp): Move to mh-utils.el.
1645         (mh-parse-flist-output-line, mh-folder-size-folder)
1646         (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1647         (mh-remove-sequence-notation, mh-remove-cur-notation)
1648         (mh-remove-all-notation, mh-delete-seq-locally)
1649         (mh-read-folder-sequences, mh-read-msg-list)
1650         (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1651         (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1652         (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1653         (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1654         (mh-xemacs-flag)
1655         (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1656         (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1657         (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1658         (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1659         (mh-faces, mh-alias-completion-ignore-case-flag)
1660         (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1661         (mh-alias-insert-file, mh-alias-insertion-location)
1662         (mh-alias-local-users, mh-alias-local-users-prefix)
1663         (mh-alias-passwd-gecos-comma-separator-flag)
1664         (mh-new-messages-folders, mh-ticked-messages-folders)
1665         (mh-large-folder, mh-recenter-summary-flag)
1666         (mh-recursive-folders-flag, mh-sortm-args)
1667         (mh-default-folder-for-message-function, mh-default-folder-list)
1668         (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1669         (mh-identity-list, mh-auto-fields-list)
1670         (mh-auto-fields-prompt-flag, mh-identity-default)
1671         (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1672         (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1673         (mh-junk-background, mh-junk-disposition, mh-junk-program)
1674         (mh-compose-insertion, mh-compose-skipped-header-fields)
1675         (mh-compose-space-does-completion-flag)
1676         (mh-delete-yanked-msg-window-flag)
1677         (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1678         (mh-letter-complete-function, mh-letter-fill-column)
1679         (mh-mml-method-default, mh-signature-file-name)
1680         (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1681         (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1682         (mh-scan-format-file-check, mh-scan-format-file)
1683         (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1684         (mh-search-program, mh-compose-forward-as-mime-flag)
1685         (mh-compose-letter-function, mh-compose-prompt-flag)
1686         (mh-forward-subject-format, mh-insert-x-mailer-flag)
1687         (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1688         (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1689         (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1690         (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1691         (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1692         (mh-display-buttons-for-inline-parts-flag)
1693         (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1694         (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1695         (mh-highlight-citation-style)
1696         (mh-invisible-header-fields-internal)
1697         (mh-delay-invisible-header-generation-flag)
1698         (mh-invisible-header-fields, mh-invisible-header-fields-default)
1699         (mh-invisible-header-fields-compiled, mh-invisible-headers)
1700         (mh-lpr-command-format, mh-max-inline-image-height)
1701         (mh-max-inline-image-width, mh-mhl-format-file)
1702         (mh-mime-save-parts-default-directory, mh-print-background-flag)
1703         (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1704         (mh-show-use-xface-flag, mh-store-default-directory)
1705         (mh-summary-height, mh-speed-update-interval)
1706         (mh-show-threads-flag, mh-tool-bar-search-function)
1707         (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1708         (mh-before-commands-processed-hook, mh-before-quit-hook)
1709         (mh-before-send-letter-hook, mh-delete-msg-hook)
1710         (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1711         (mh-inc-folder-hook, mh-insert-signature-hook)
1712         (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1713         (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1714         (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1715         (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1716         (mh-folder-address, mh-folder-body)
1717         (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1718         (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1719         (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1720         (mh-folder-subject, mh-folder-tick, mh-folder-to)
1721         (mh-search-folder, mh-letter-header-field, mh-show-cc)
1722         (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1723         (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1724         (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1725         (mh-speedbar-folder-with-unseen-messages)
1726         (mh-speedbar-selected-folder)
1727         (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1728         deprecated file mh-customize.el.
1730         * mh-exec.el: Move content into mh-e.el and remove.
1732         * mh-folder.el: New file.  Contains mh-folder-mode from mh-e.el.
1734         * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1735         mh-scan.el.
1736         (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1738         * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1739         (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1740         to mail-abbrev-make-syntax-table.
1742         * mh-identity.el (mh-identity-menu): New variable for existing
1743         menu.
1744         (mh-identity-make-menu-no-autoload): New alias for
1745         mh-identity-make-menu which can be called from mh-e.el.
1746         (mh-identity-list-set): Move to mh-e.el.
1747         (mh-identity-add-menu): New function.
1748         (mh-insert-identity): Add optional argument maybe-insert so that
1749         local variable mh-identity-local does not have to be visible.
1751         * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1752         rest of keymaps).  Update key binding for ? to call mh-help with
1753         help messages in new argument.
1754         (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1755         which can be called from mh-e.el.
1756         (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1758         * mh-init.el: Move content into mh-e.el and remove.
1760         * mh-junk.el: Update requires, untabify, and add mh-autoload
1761         cookies.
1763         * mh-letter.el: New file.  Contains mh-letter-mode from mh-comp.el.
1765         * mh-limit.el: New file.  Contains display limit commands from
1766         mh-mime.el.
1768         * mh-mime.el: Rearrange for consistency with other files.
1769         (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1770         mh-utils.el.
1771         (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1772         (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1773         (mh-goto-next-button): Move here from mh-e.el.
1775         * mh-print.el: Rearrange for consistency with other files.
1777         * mh-scan.el: New file.  Contains scan line constants and utilities
1778         from XXX, mh-funcs, mh-utils.el.
1780         * mh-search.el: Rearrange for consistency with other files.
1781         (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1782         fields which don't exist in the saved header.  Replace C-c C-f f
1783         with C-c C-f m per mail-mode consistency.
1784         (mh-search-mode): Use mh-set-help instead of setting
1785         mh-help-messages.
1787         * mh-seq.el (mh-thread-message, mh-thread-container)
1788         (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1789         (mh-thread-id-index-map, mh-thread-index-id-map)
1790         (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1791         (mh-thread-subject-container-hash, mh-thread-duplicates)
1792         (mh-thread-history, mh-thread-body-width)
1793         (mh-thread-find-msg-subject mh-thread-initialize-hash)
1794         (mh-thread-initialize, mh-thread-id-container)
1795         (mh-thread-remove-parent-link, mh-thread-add-link)
1796         (mh-thread-ancestor-p, mh-thread-get-message-container)
1797         (mh-thread-get-message, mh-thread-canonicalize-id)
1798         (mh-thread-prune-subject, mh-thread-container-subject)
1799         (mh-thread-rewind-pruning, mh-thread-prune-containers)
1800         (mh-thread-sort-containers, mh-thread-group-by-subject)
1801         (mh-thread-process-in-reply-to, mh-thread-set-tables)
1802         (mh-thread-update-id-index-maps, mh-thread-generate)
1803         (mh-thread-inc, mh-thread-generate-scan-lines)
1804         (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1805         (mh-thread-add-spaces, mh-thread-print-scan-lines)
1806         (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1807         (mh-thread-current-indentation-level, mh-thread-next-sibling)
1808         (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1809         (mh-thread-ancestor, mh-thread-find-children)
1810         (mh-message-id-regexp, mh-thread-delete, mh-thread-refile):
1811         Move to new file mh-thread.el.
1812         (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1813         (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1814         (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1815         (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1816         (mh-current-message-header-field, mh-narrow-to-range)
1817         (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1818         mh-limit.el.
1819         (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1820         mh-acros.el.
1821         (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1822         (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1823         (mh-define-sequence, mh-undefine-sequence)
1824         (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1825         (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1826         (mh-parse-flist-output-line, mh-read-folder-sequences)
1827         (mh-read-msg-list, mh-notate-user-sequences)
1828         (mh-remove-cur-notation, mh-add-sequence-notation)
1829         (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1830         from mh-e.el.
1831         (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1832         (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1834         * mh-show.el: New file.  Contains mh-show-mode from mh-utils.el.
1836         * mh-speed.el: Rearrange for consistency with other files.
1838         * mh-thread.el: New file.  Contains threading code from mh-seq.el.
1840         * mh-tool-bar.el: New file.  Contains tool bar creation code from
1841         deprecated file mh-customize.el.
1843         * mh-utils.el (recursive-load-depth-limit): Remove setting.
1844         No longer needed.
1845         (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1846         (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1847         (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1848         (mh-update-scan-format, mh-msg-num-width): Move to new file
1849         mh-scan.el.
1850         (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1851         (mh-header-field-font-lock, mh-header-to-font-lock)
1852         (mh-header-cc-font-lock, mh-header-subject-font-lock)
1853         (mh-show-font-lock-keywords)
1854         (mh-show-font-lock-keywords-with-cite)
1855         (mh-show-font-lock-fontify-region)
1856         (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1857         (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1858         (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1859         (mh-show-sequence-menu, mh-show-message-menu)
1860         (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1861         (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1862         (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1863         file mh-show.el.
1864         (mh-mail-header-separator, mh-signature-separator-regexp)
1865         (mh-signature-separator, mh-globals-hash, mh-user-path)
1866         (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1867         (mh-previous-window-config, mh-current-folder mh-show-buffer)
1868         (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1869         (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1870         (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1871         (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1872         (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1873         Move to mh-alias.el.
1874         (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1875         (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1876         (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1877         Move to new file mh-folder.el.
1878         (with-mh-folder-updating, mh-in-show-buffer)
1879         (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1880         (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1881         (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1882         Moved to mh-seq.el.
1883         (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1884         (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1885         (mh-face-background-compat, mh-face-display-function)
1886         (mh-show-xface, mh-picon-directory-list)
1887         (mh-picon-existing-directory-list)
1888         (mh-picon-cache, mh-picon-image-types)
1889         (mh-picon-set-directory-list, mh-picon-get-image)
1890         (mh-picon-file-contents, mh-picon-generate-path)
1891         (mh-x-image-cache-directory, mh-x-image-scaling-function)
1892         (mh-wget-executable, mh-wget-choice, mh-wget-option)
1893         (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1894         (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1895         (mh-x-image-scale-with-convert)
1896         (url-unreserved-chars, url-hexify-string)
1897         (mh-x-image-url-cache-canonicalize)
1898         (mh-x-image-set-download-state, mh-x-image-get-download-state)
1899         (mh-x-image-url-fetch-image, mh-x-image-display)
1900         (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1901         (mh-x-image-url-display): Move to new file mh-xface.el.
1902         (mh-logo-display): Call mh-image-load-path.
1903         (mh-find-path-run, mh-find-path): Move here from deprecated file
1904         mh-init.el.
1905         (mh-help-messages): Now an alist of modes to an alist of messages.
1906         (mh-set-help): New function used to set mh-help-messages.
1907         (mh-help): Adjust for new format of mh-help-messages.  Add
1908         help-messages argument.
1909         (mh-prefix-help): Refactor to use mh-help.
1910         (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1911         mh-e.el.
1912         (mh-clear-sub-folders-cache): New function added to avoid exposing
1913         mh-sub-folders-cache variable.
1915         * mh-xface.el: New file.  Contains X-Face and Face header field
1916         display routines from mh-utils.el.
1918 2006-01-17  Bill Wohler  <wohler@newt.com>
1920         * mh-acros.el (assoc-string): Fix typo in argument.
1922 2006-01-16  Bill Wohler  <wohler@newt.com>
1924         * mh-acros.el (require): Remove defadvice of require as defadvice
1925         is verboten within Emacs and our implementation was returning the
1926         wrong value from require.  Upcoming restructuring should make this
1927         unnecessary.
1928         (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1930         * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1931         (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1933         * mh-identity.el (mh-identity-field-handler): Use it.
1935         * mh-comp.el (mh-show-buffer-message-number): Replace (car
1936         (read-from-string string) with (string-to-number string).
1938         * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1939         Ditto.
1941         * mh-mime.el (mh-mml-forward-message): Ditto.
1943         * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1944         (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1945         (mh-openssl-parser, mh-index-update-maps): Ditto.
1947         * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1948         (mh-thread-generate): Ditto.
1950 2006-01-16  Katsumi Yamaoka  <yamaoka@jpl.org>
1952         * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1953         mm- functions for proper text=flowed handling (addresses SF
1954         #1273521).
1956 2006-01-15  Bill Wohler  <wohler@newt.com>
1958         * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1959         mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1960         / g.
1962         * mh-utils.el (mh-show-limit-map): Ditto.
1964         * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1965         standalone compile.
1966         (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1968         * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1969         where they are used.
1971         * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1972         needed to help remove dependency on mh-utils.
1974         * mh-exec.el: New file.  Move process support routines here from
1975         mh-utils.el.
1977         * mh-init.el (mh-utils): Remove require.
1978         (mh-exec): Add require.
1979         (mh-profile-component, mh-profile-component-value): Move here from
1980         mh-utils.el.
1982         * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1983         dependencies on mh-utils.el.
1984         (mh-profile-component, mh-profile-component-value): Move to
1985         mh-init.el since that's the only place that uses them.  (Other than
1986         mh-alias.el; I'm thinking that mh-find-path can set variable from
1987         the Aliasfile component like it does the other components).
1988         (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1989         (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1990         (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1991         (defvar, mh-exec-cmd-output)
1992         (mh-exchange-point-and-mark-preserving-active-mark)
1993         (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1994         file mh-exec.el so that mh-init.el doesn't have to depend on
1995         mh-utils.el, breaking circular dependency.
1997         * mh-alias.el:
1998         * mh-customize.el:
1999         * mh-e.el:
2000         * mh-funcs.el:
2001         * mh-gnus.el:
2002         * mh-identity.el:
2003         * mh-inc.el:
2004         * mh-junk.el:
2005         * mh-mime.el:
2006         * mh-print.el:
2007         * mh-search.el:
2008         * mh-seq.el:
2009         * mh-speed.el: Added debugging statements (commented out) around
2010         requires to help find dependency loops.  Will remove them when
2011         issues are resolved.
2013 2006-01-14  Bill Wohler  <wohler@newt.com>
2015         * mh-customize.el (mh-index): Rename group to mh-search and sort
2016         group definition and options accordingly.
2017         (mh-index-program): Rename to mh-search-program.
2018         (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
2019         mh-search-p.
2020         (mh-search-mode-hook): Change group from mh-index to mh-search.
2021         (mh-index-folder): Rename to mh-search-folder.  Change group from
2022         mh-index to mh-search.
2024         * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
2025         to mh-search-folder.
2027         * mh-search.el (mh-indexer) Rename to mh-searcher.  The commands
2028         pick and grep are searchers too but aren't indexed.
2029         (mh-index-execute-search-function): Rename to mh-search-function.
2030         (mh-index-next-result-function): Rename to
2031         mh-search-next-result-function.
2032         (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
2033         (mh-search): Since redo-search-flag defaults to nil and is of
2034         lesser importance, make it an optional argument and place it after
2035         the folder and search-regexp arguments.  Sync docstring with manual.
2036         (mh-search-mode-map): Autoload so that keys are shown in help even
2037         before mh-search is loaded.
2038         (mh-search-mode): Sync docstring with manual.
2039         (mh-index-do-search): Rename argument indexer to searcher.  Sync
2040         docstring with manual.
2041         (mh-pick-do-search): Sync docstring with manual.
2042         (mh-index-p): Rename to mh-search-p.
2043         (mh-indexer-choices): Rename to mh-search-choices.
2044         (mh-index-choose): Rename to mh-search-choose.  Rename argument
2045         indexer to searcher.
2046         (mh-swish++-execute-search, mh-swish-execute-search)
2047         (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
2048         read the results" from docstring since these functions don't.
2049         (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
2050         with manual.
2051         (mh-index-generate-pretty-name): Prune -search from string so that
2052         folder names for pick searches are the same as those of other
2053         searches.
2055 2006-01-13  Bill Wohler  <wohler@newt.com>
2057         * mh-acros.el (require): Added Satyaki's comment regarding what
2058         needs to happen to remove this defadvice which caused a little
2059         discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
2060         advices `require' incorrectly).
2062         * mh-search.el (mh-index-next-result-function): Add format to
2063         docstring.
2064         (mh-mairix-next-result): Use nil instead of () which doesn't stand
2065         out as well.
2066         (mh-pick-execute-search): Operate across all folders if no folder
2067         given and recurse folder(s).
2068         (mh-pick-next-result): Handle new output.
2070         * mh-utils.el (mh-collect-folder-names): Fix docstring.
2071         (mh-children-p, mh-folder-list): New functions.
2073 2006-01-12  Bill Wohler  <wohler@newt.com>
2075         * mh-search.el: New file containing contents of mh-index.el and
2076         mh-pick.el.  C-c C-c launches your mh-index-program; C-c C-p runs
2077         pick.  Pick no longer sets the "search" sequence.  Instead, it
2078         brings up a folder view that we're accustomed to.  (Closes SF
2079         #829207.)
2080         (mh-index-search): Rename to mh-search.
2081         (mh-pick-menu): Rename menu from Pick to Search.  Rename Execute
2082         the Search to Perform Search and call mh-do-search.  Add Search
2083         with Pick menu item.
2084         (mh-do-search): Delete.
2085         (mh-search-mode): Rename from mh-pick-mode.
2086         (MH-Search): Rename mode from MH-Pick.
2087         (mh-search-mode-map): Rename from mh-pick-mode-map.
2088         (mh-search-mode-help-messages): Rename from
2089         mh-pick-mode-help-messages.
2090         (mh-index-choose): Don't reuse the last value of mh-indexer; when
2091         mh-pick-do-search sets it to 'pick, we don't necessarily want to
2092         stay with that choice!
2094         * mh-index.el:
2095         * mh-pick.el: Merge into mh-search.el and delete.
2097         * mh-customize.el (mh-index-program): Change mh-index-search to
2098         mh-search in docstring.
2099         (mh-tool-bar-search-function): Change default from
2100         mh-search-folder to mh-search.  Remove mh-search-folder as choice
2101         and rename mh-index-search choice to mh-search.  Fix docstring.
2102         (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
2103         mh-search-folder to mh-search in docstring.
2105         * mh-e.el (mh-folder-folder-menu): Delete Search a Folder.  Change
2106         Indexed Search to Search.  Use mh-search instead of mh-index-search.
2107         (mh-folder-map): Delete i (mh-index-search) keybinding.  Change s
2108         from mh-show-search-folder to mh-search.
2110         * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
2111         mh-search-folder no longer creates the search sequence.
2113         * mh-utils.el (mh-show-search-folder): Delete.
2114         (mh-show-folder-map): Delete i (mh-index-search) keybinding.
2115         Change s from mh-show-search-folder to mh-search.
2116         (mh-show-folder-menu): Delete Search a Folder.  Change Indexed
2117         Search to Search.  Use mh-search instead of mh-index-search.
2118         (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell):
2119         Move here from deleted mh-index.el.
2121 2006-01-11  Bill Wohler  <wohler@newt.com>
2123         * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
2124         from mh-gnus.el.
2126         * mh-gnus.el: Require mh-acros.
2127         (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
2129         * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
2130         url-hexify-string to remove special characters from filenames
2131         (closes SF #1396499).  Note that this invalidates the existing
2132         names in your cache so you might as well remove
2133         ~/Mail/.mhe-x-image-cache/* now.
2134         (url-unreserved-chars, url-hexify-string): Define if not defined.
2135         Copied from url-util.el in Emacs22 for Emacs 21.
2137         * mh-buffers.el: New file.  Contains constants and code from
2138         mh-index.el and mh-utils.el.
2140         * mh-alias.el:
2141         * mh-comp.el:
2142         * mh-e.el:
2143         * mh-funcs.el:
2144         * mh-init.el:
2145         * mh-junk.el:
2146         * mh-mime.el:
2147         * mh-print.el:
2148         * mh-seq.el: Require new file mh-buffers.el.
2150         * mh-index.el: Require new file mh-buffers.el.
2151         (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
2152         mh-buffers.el.
2154         * mh-utils.el: Require new file mh-buffers.el.
2155         (mh-temp-buffer, mh-temp-fetch-buffer)
2156         (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
2157         (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
2158         (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
2159         (mh-truncate-log-buffer): Move to new file mh-buffers.el.
2161         * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
2162         (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
2164 2006-01-10  Bill Wohler  <wohler@newt.com>
2166         * mh-comp.el (mh-insert-letter): If you choose a different folder,
2167         the cur message is used.  Sync docstring with manual (closes SF
2168         #1205890).
2170         * mh-mime.el (mh-compose-forward): Use standard range argument
2171         instead of messages.  Use more powerful mh-read-range instead of
2172         read-string.  Sync docstring with manual (close SF #1205890).
2174         * mh-index.el (mh-index-search): Checking mh-find-path-run is
2175         unnecessary.
2176         (mh-index-next-folder): Don't back up a line when going backwards
2177         since this skips the current folder heading if point is on the
2178         first message after the folder heading (closes SF #1126188).
2180         * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses it.
2181         (mh-variants): Note variable isn't meant to be accessed directly;
2182         use function mh-variants instead.
2183         (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
2184         (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
2185         them.  Updated to use mh-file-command-p which is more accurrate
2186         than file-executable-p which returns t for directories.
2187         (mh-file-command-p): Move here from mh-utils, since
2188         mh-variant-*-info are the only functions to use it.
2189         (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
2190         function mh-variants instead of variable.  More robust.
2191         (mh-find-path-run): Move here from mh-utils.el.  Mention that
2192         checking this variable is unnecessary.
2193         (mh-find-path): Move here from mh-utils.el.  With the advent of MH
2194         variants and an mhparam command that doesn't work if there isn't
2195         an MH profile, we can't get libdir for running install-mh.  So
2196         don't bother.  If there's an issue with the environment, direct the
2197         user to install MH and run install-mh (closes SF #835192).  Don't
2198         read ~/.mh_profile directly.  Use mh-profile-component which uses
2199         mhparam (closes SF #1016027).
2201         * mh-utils.el (mh-get-profile-field): Rename to
2202         mh-profile-component-value.  Add colon to search removing
2203         unnecessary addition of colon to field in mh-profile-component.
2204         (mh-profile-component): Modify call to mh-profile-component-value
2205         accordingly.  Move next to mh-profile-component-value.
2206         (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
2207         mh-init.el.  It makes sense that code that is only run once per
2208         session (more or less) is in mh-init.el rather than cluttering
2209         mh-utils.el.
2210         (mh-no-install, mh-install): Delete.
2212         * mh-customize.el (mh-folder-msg-number):
2213         * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
2215 2006-01-09  Bill Wohler  <wohler@newt.com>
2217         * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
2218         patch from Satyaki from SF #1016027.
2220         * mh-e.el (mh-rescan-folder): Try to keep cursor at current
2221         message, even if cur sequence is no longer present (closes SF
2222         #1207247).
2224         * mh-comp.el: Use ";; Shush compiler." comment consistently per
2225         Mark's suggestion.
2226         (mh-letter-mode): Derive from mail-mode and delete code copied
2227         from mail-mode (closes SF #1385571).  Mention mail-mode-hook in
2228         docstring.
2229         (mh-fill-paragraph-function): Delete.  Handled by mail-mode.
2230         (mh-to-field-choices): For consistency with mail-mode, add "a" for
2231         "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
2232         "Reply-To:".  Change "r" to "m" for "From:" (closes SF #1400139).
2233         (mh-to-fcc): Move setting of folder argument to interactive
2234         argument as is the norm.
2235         (mh-letter-complete-function-alist): Add mail-reply-to.
2236         (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
2237         Mail-Followup-To, Reply-To, From).
2239         * mh-customize.el: Use ";; Forward definition." consistently.
2240         Comment declaration to remind programmer to update forward
2241         definition if default changes.
2243         * mh-funcs.el:
2244         * mh-inc.el:
2245         * mh-init.el:
2246         * mh-mime.el:
2247         * mh-seq.el:
2248         * mh-utils.el: Use ";; Shush compiler." comment consistently per
2249         Mark's suggestion.
2251 2006-01-08  Bill Wohler  <wohler@newt.com>
2253         Removed code that was marked as Emacs 20 compatible that was
2254         easily found showing how important it is to document such
2255         things (closes SF #1359240).  Feel free to nuke any other Emacs 20
2256         peculiarities that you find.  Wrapped code for shushing compiler
2257         with (eval-when-compile), sometimes moving the defvars closer to
2258         where they were used.
2260         * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
2261         instead of mh-replace-in-string as mh-replace-in-string was
2262         replaced by a more appropriate defsubst in mh-xemacs.el.
2264         * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
2265         eval-when-compile.
2266         (mh-file-is-vcard-p): Removed redundant test.
2268         * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
2269         with eval-when-compile.
2270         (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
2271         (mh-invisible-header-fields-default): Add forward definitions.
2272         (mh-invisible-header-fields-default): Alphabetize.
2274         * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
2275         eval-when-compile.
2276         (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
2277         variables.
2278         (mh-colors-available-p): Just call display-color-cells.  It's on
2279         all supported Emacsen (and defaliased on XEmacs).
2281         * mh-funcs.el:
2282         * mh-inc.el:
2283         * mh-init.el: Wrap compiler-shushing defvars with
2284         eval-when-compile.
2286         * mh-identity.el: Don't need (mh-require-cl).
2288         * mh-index.el: Don't need to load executable any more.
2290         * mh-mime.el: Wrap compiler-shushing defvars with
2291         eval-when-compile.
2292         (mh-have-file-command): Initialize variable to 'undefined.  Add
2293         docstring.  Update function of same name accordingly.  Also don't
2294         need to load executable any more.
2295         (mh-mime-content-types): Delete.
2296         (mh-minibuffer-read-type): Prompt user for type if
2297         mh-file-mime-type returns application/octet-stream.  Assume we have
2298         mailcap-mime-types.
2299         (mh-mime-display): Update error message.
2301         * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
2302         with eval-when-compile.
2304         * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
2305         with eval-when-compile.
2306         (mh-clean-msg-header): Don't set after-change-functions to nil.
2307         (mh-replace-in-string): Remove.  Create defsubst in mh-xemacs.el
2308         instead.
2310 2006-01-07  Bill Wohler  <wohler@newt.com>
2312         * mh-customize.el: Updated Faces documentation in header.
2313         (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
2314         X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
2316         * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
2317         tags inserted by Gnus gnus-summary-mail-forward (closes SF
2318         #1399307).
2320 2006-01-03  Mark D. Baushke  <mdb@gnu.org>
2322         * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
2323         * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
2325 2006-01-03  Bill Wohler  <wohler@newt.com>
2327         * mh-alias.el (mh-alias-add-alias): Grand message and error string
2328         unification.  Use single sentence if possible by using semicolon.
2329         Don't end message with punctuation.  Don't need format with
2330         message.  Quote messages as in docstrings: use `' around symbols,
2331         \" for option choices.  Don't use quotes around %s.
2333         * mh-comp.el (mh-complete-word): Ditto.
2335         * mh-customize.el (mh-adaptive-cmd-note-flag-check)
2336         (mh-scan-format-file-check): Ditto.
2338         * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
2339         (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
2340         (mh-msg-num-width-to-column): Ditto.
2342         * mh-identity.el (mh-identity-field-handler): Ditto.
2344         * mh-index.el (mh-mairix-execute-search)
2345         (mh-swish-execute-search, mh-swish++-execute-search)
2346         (mh-namazu-execute-search): Ditto.
2348         * mh-init.el (mh-variant-set): Ditto.
2350         * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
2351         (mh-secure-message, mh-mime-display): Ditto.
2353         * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
2355         * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
2356         (mh-read-range, mh-thread-container-subject): Ditto.
2358         * mh-utils.el (mh-x-image-scale-and-display)
2359         (mh-prompt-for-folder, mh-handle-process-error)
2360         (mh-list-to-string-1): Ditto.
2362         * mh-comp.el (mh-reply): Use standard default notation in
2363         prompts (closes SF #1275933).
2365         * mh-mime.el (mh-mime-save-parts): Ditto.
2367         * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
2369         * mh-customize.el (mh-folder-msg-number): Snow is actually
2370         off-white on low color displays which turns to white when bold.
2371         This is unreadable on white backgrounds.  Use snow with min-colors
2372         requirement.  Use cyan on low-color displays.
2374         * mh-init.el (mh-defface-compat): On low-color displays, delete
2375         the high-color display rather than simply strip the min-colors
2376         requirement since the existing algorithm shadowed the desired
2377         display on low-color displays.
2379         * mh-alias.el (mh-alias-add-alias): Remove leading * from
2380         docstring.
2382 2006-01-02  Bill Wohler  <wohler@newt.com>
2384         * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
2385         docstring.  Does this mean something in a defun?
2387         * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
2388         Checkdoc fix.
2390         * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
2391         so it reads better in docstring and manual.  Sync docstring with
2392         manual.
2394         * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
2396         * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
2398         * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
2399         (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
2400         (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2401         (mh-letter-complete-or-space, mh-letter-confirm-address)
2402         (mh-letter-next-header-field-or-indent)
2403         (mh-letter-previous-header-field): Ditto.
2405         * mh-customize.el (mh-alias-completion-ignore-case-flag)
2406         (mh-default-folder-for-message-function, mh-mml-method-default)
2407         (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2408         (mh-show-mode-hook) Ditto.
2410         * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2412         * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2413         (mh-store-msg, mh-store-buffer): Ditto.
2415         * mh-index.el (mh-index-search, mh-index-do-search)
2416         (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2418         * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2420         * mh-mime.el (mh-mh-compose-external-compressed-tar)
2421         (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2422         (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2423         (mh-mml-secure-message-signencrypt): Ditto.
2425         * mh-pick.el (mh-search-folder): Ditto.
2427         * mh-seq.el (mh-widen): Ditto.
2429         * mh-utils.el (mh-show, mh-modify): Ditto.
2431 2006-01-02  Mark D. Baushke  <mdb@gnu.org>
2433         * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2435 2006-01-01  Bill Wohler  <wohler@newt.com>
2437         * mh-customize.el: Sync docstrings with manual for faces and sort
2438         them alphabetically.
2439         (mh-faces): Move below mh-hooks.
2440         (mh-folder-faces, mh-index-faces, mh-letter-faces)
2441         (mh-show-faces, mh-speed-faces): Delete.  Organize faces like hooks.
2442         (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2443         (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2444         (mh-folder-body-face, mh-folder-cur-msg-face)
2445         (mh-folder-cur-msg-number-face, mh-folder-date-face)
2446         (mh-folder-followup-face, mh-folder-msg-number-face)
2447         (mh-folder-deleted-face, mh-folder-refiled-face)
2448         (mh-folder-subject-face, mh-folder-address-face)
2449         (mh-folder-scan-format-face, mh-folder-to-face)
2450         (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2451         (mh-show-header-face, mh-show-pgg-good-face)
2452         (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2453         (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2454         Delete.
2455         (mh-folder-cur-msg): Unused.  Delete.
2456         (mh-folder-address): Use defface; inherit from mh-folder-subject.
2457         (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2458         Inherit from mh-folder-msg-number.
2459         (mh-folder-deleted): Use defface.  Inherit from
2460         mh-folder-msg-number.
2461         (mh-folder-sent-to-me-hint): New face.  Inherit from
2462         mh-folder-date.
2463         (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2464         Use defface.  Inherit from mh-folder-followup.
2465         (mh-show-xface): Inherit from mh-show-from and highlight.
2466         (bw-face-generation, bw-toggle-faces)
2467         (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2468         variables, functions for toggling between old and new faces.
2470         * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2471         eval-when-compile.  We should probably do this throughout.
2472         (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2473         (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2474         (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2475         (mh-scan-subject-regexp): Sync docstrings with manual.
2476         (mh-scan-format-regexp): Rename to
2477         mh-scan-sent-to-me-sender-regexp.  Drop date parenthesized
2478         expression.  Make expression more like the others (anchored at the
2479         beginning of line).  Sync docstrings with manual.
2480         (mh-folder-font-lock-keywords): Use faces directly rather than
2481         -face variables.  Use mh-scan-sent-to-me-sender-regexp instead of
2482         mh-scan-format-regexp, and within that expression, use faces
2483         mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2484         of mh-folder-date-face and mh-folder-scan-format-face which were
2485         misleading.
2487         * mh-mime.el (mh-mime-security-button-face): Use faces directly
2488         rather than -face variables.
2490         * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2491         rather than -face variables.
2492         (mh-face-foreground-compat, mh-face-background-compat): New macros.
2493         (mh-face-display-function): Use mh-face-foreground-compat and
2494         mh-face-background-compat to use inherited attributes of
2495         mh-show-xface on Emacs 22 while still working on Emacs 21.
2497 2005-12-28  Bill Wohler  <wohler@newt.com>
2499         * mh-comp.el (mh-e-user-agent): Move here from simple.el.
2500         Use mh-user-agent-compose instead of mh-smail-batch.
2502 2005-12-27  Bill Wohler  <wohler@newt.com>
2504         * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2505         suppress creation of folder if it doesn't exist.
2507 2005-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2509         * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2511 2005-12-23  Bill Wohler  <wohler@newt.com>
2513         * mh-e.el (mh-folders-changed): Fix typo in docstring.
2515         Follow MH-E Developers Guide conventions.  Use `' quotes for Help
2516         hyperlinks such as symbols, Info nodes, or URLs.  Use \" quotes for
2517         everything else.  Otherwise, you can accidently get links to
2518         nonsense symbols.
2520 2005-12-22  Bill Wohler  <wohler@newt.com>
2522         Follow Emacs coding conventions.  Use default setting of
2523         emacs-lisp-docstring-fill-column which is 65.
2525         * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2527         * mh-comp.el (mh-letter-mode): Use 60 column width.
2528         (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2529         with manual.
2530         (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2531         you have added a mail-citation-hook and neither are used if you
2532         use one of the supercite flavors of mh-yank-behavior.  Sync
2533         docstrings with manual.
2535         * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2536         from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2537         hook.  Use "Hook run by `function'..." instead of "Invoked...".
2538         Sync docstrings with manual.
2539         (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2540         mh-ins-buf-prefix isn't used if you have added a
2541         mail-citation-hook and neither are used if you use one of the
2542         supercite flavors of mh-yank-behavior.  Sync docstrings with manual.
2543         (mail-citation-hook): Delete.  Use one in sendmail.el.
2544         (mh-signature-file-name, mh-after-commands-processed-hook)
2545         (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2546         (mh-before-quit-hook, mh-before-send-letter-hook)
2547         (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2548         (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2549         (mh-letter-mode-hook)
2550         (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2551         (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2552         (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2553         of "Invoked...".  Sync docstrings with manual.
2555         * mh-e.el (mh-last-destination, mh-last-destination-folder)
2556         (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2557         (mh-delete-list, mh-refile-list, mh-folders-changed)
2558         (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2559         (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2560         (mh-mode-line-annotation, mh-sequence-notation-history)
2561         (mh-colors-available-flag): Move comment into docstring.
2562         (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2563         (mh-process-commands): Sync docstrings with manual.
2564         (mh-refile-msg): Small doc edit.
2565         (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2566         Rename msg argument to message.
2568         * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2570         * mh-e.el (mh-update-unseen): No longer say "The value of
2571         `foo-hook' is a list of functions to be called, with no arguments,
2572         ...," but rather just "The hook foo-hook is called...".
2574         * mh-mime.el (mh-mh-to-mime): Ditto.
2576         * mh-pick.el (mh-pick-mode): Ditto.
2578         * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2579         docstring.
2580         (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2581         into docstring.
2582         (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2583         manual.
2585 2005-12-19  Stephen Gildea  <gildea@stop.mail-abuse.org>
2587         * mh-customize.el (mh-after-commands-processed-hook): New variable.
2588         (mh-before-commands-processed-hook): Rename mh-folder-updated-hook.
2590         * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2591         mh-before-commands-processed-hook, call new
2592         mh-after-commands-processed-hook.
2593         (mh-folders-changed): New variable (for use in
2594         mh-after-commands-processed-hook).
2596 2005-12-19  Bill Wohler  <wohler@newt.com>
2598         * mh-acros.el:
2599         * mh-alias.el:
2600         * mh-comp.el:
2601         * mh-customize.el:
2602         * mh-e.el:
2603         * mh-funcs.el:
2604         * mh-gnus.el:
2605         * mh-identity.el:
2606         * mh-inc.el:
2607         * mh-index.el:
2608         * mh-init.el:
2609         * mh-junk.el:
2610         * mh-mime.el:
2611         * mh-pick.el:
2612         * mh-print.el:
2613         * mh-seq.el:
2614         * mh-speed.el:
2615         * mh-utils.el:
2616         Follow commenting conventions.  Don't use ;;; form so much, except
2617         for headings.  Precede headings with page feed.  This was mostly
2618         already done, so I made it a convention.  Did not update copyright
2619         on a couple of files since this was an insignificant change.
2621 2005-12-18  Bill Wohler  <wohler@newt.com>
2623         * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2624         (mh-tool-bar-search-function): Sync docstrings with manual.
2625         (mh-tool-bar-customize): Replace toolbar with tool bar in docstring.
2626         (mh-tool-bar-letter-help): Fix manual reference.
2627         (mh-xemacs-use-toolbar-flag): Rename to
2628         mh-xemacs-use-tool-bar-flag.  Initialize to
2629         mh-xemacs-has-tool-bar-flag.  Sync docstrings with manual.
2630         (mh-xemacs-toolbar-position): Rename to
2631         mh-xemacs-tool-bar-position.  Initialize to nil.  Drop "no tool bar"
2632         option (redundant) and change "Same As Default Tool Bar" setting
2633         to nil.  Sync docstrings with manual.
2634         (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2635         depending on context.
2636         (mh-toolbar-init): Rename to mh-tool-bar-init.  Simplify condition
2637         for calling set-specifier.  Only look at the value of
2638         mh-xemacs-use-tool-bar-flag.
2639         (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons):
2640         Sync docstrings with manual.
2642         * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2643         mh-toolbar-init.
2645         * mh-e.el (mh-folder-mode): Ditto.
2647         * mh-utils.el (mh-show-mode): Ditto.
2649 2005-12-15  Bill Wohler  <wohler@newt.com>
2651         * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2653         * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2654         (mh-thread-previous-sibling, mh-thread-ancestor)
2655         (mh-thread-delete, mh-thread-refile): Ditto.
2657 2005-12-14  Bill Wohler  <wohler@newt.com>
2659         * mh-customize.el (mh-speed-flists-interval): Rename to
2660         mh-speed-update-interval.
2661         (mh-speed-run-flists-flag): Delete.  Setting
2662         mh-speed-flists-interval to 0 accomplishes the same thing.
2664         * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2665         mh-speed-update-interval instead of mh-speed-run-flists-flag.
2666         (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2667         docstrings with manual.
2669 2005-12-09  Bill Wohler  <wohler@newt.com>
2671         * mh-customize.el (mh-path): Move here from mh-init.el.
2672         (mh-variant): Mention that mh-path can be customized.
2673         (mh-invisible-header-fields-internal): Add X-ContentStamp,
2674         X-MAIL-INFO, and X-UNTD- from NetZero.
2676         * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2678 2005-12-04  Bill Wohler  <wohler@newt.com>
2680         * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2681         (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2682         X-Virus-Scanned.
2684         * mh-customize.el (mh-insert-signature-hook): Rename
2685         mh-letter-insert-signature-hook to mh-insert-signature-hook.
2687         * mh-comp.el (mh-insert-signature): Ditto.
2689         * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2690         to nil.  Remove t option.  Sync docstring with manual (closes SF
2691         #831278).
2692         (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2693         users can see it, look it up in the manual's index, and discover
2694         mh-fetch-x-image-url (closes SF #831278).
2696         * mh-customize.el (mh-new-messages-folders): Rename from
2697         mh-index-new-messages-folders.
2698         (mh-ticked-messages-folders): Rename from
2699         mh-index-ticked-messages-folders.
2701         * mh-index.el (mh-index-sequenced-messages)
2702         (mh-index-new-messages): Ditto.
2704         * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2705         in the docstrings and made usage consistent.  Generally speaking,
2706         "messages in range" and "range of messages" is redundant and just
2707         "range" can be used in most circumstances.  Also ensured that
2708         mh-interactive-range was mentioned in all interactive functions
2709         that use a range which describes the range argument for both users
2710         and programmers.
2712         * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2713         (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2714         (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2715         (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2716         Ditto.
2718         * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2719         Ditto.
2721         * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2723         * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2724         (mh-ps-print-msg-file, mh-print-msg): Ditto.
2726         * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2727         (mh-narrow-to-range, mh-toggle-tick): Ditto.
2729 2005-12-01  Bill Wohler  <wohler@newt.com>
2731         Rewrote Reading Mail chapter in manual which affected mh-show
2732         customization group and related functions.
2734         * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2735         instead of mh-highlight-citation-p.
2736         (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2737         I think, so use "truncated".
2739         * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2740         section is Folders, not Organizing.  Parent of mh-folder-faces is
2741         mh-folder, not mh-show.
2742         (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2743         (mh-thread): New group that corresponds with manual's Threading chapter.
2744         (mh-letter-faces): Group's manual section is Editing Drafts, not
2745         Sending Mail.
2746         (mh-sortm-args): New customization variable that used to be a defvar.
2747         (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2748         Move from mh-index group to mh-folders group.
2749         (mh-alias-local-users-prefix, mh-large-folder)
2750         (mh-recursive-folders-flag, mh-before-quit-hook)
2751         (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2752         (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2753         mh-folder group.
2754         (mh-highlight-citation-style): Rename from
2755         mh-highlight-citation-p.  Sync docstrings with manual.
2756         (mh-mhl-format-file): Rename from mhl-formfile.  Sync docstrings
2757         with manual.
2758         (mh-show-threads-flag): Move from mh-show group to mh-thread
2759         group.
2760         (mh-find-path-hook): Move from mh-show group to mh-e group.
2761         (mh-folder-updated-hook): Add to mh-folder group.
2762         (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2763         (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2764         (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2765         (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2766         (mh-display-buttons-for-inline-parts-flag)
2767         (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2768         (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2769         (mh-invisible-header-fields-default, mh-invisible-header-fields)
2770         (mh-lpr-command-format, mh-max-inline-image-height)
2771         (mh-max-inline-image-width)
2772         (mh-mime-save-parts-default-directory, mh-print-background-flag)
2773         (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2774         (mh-show-use-xface-flag, mh-store-default-directory)
2775         (mh-summary-height, mh-delete-msg-hook)
2776         (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2778         * mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
2779         (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2780         (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp):
2781         Use non-fontification instead of non-fontifying.
2782         (mh-header-display): Use mh-mhl-format-file instead of
2783         mhl-formfile.  Sync docstrings with manual.
2784         (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2785         count.  Sync docstrings with manual.
2786         (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2787         so that message doesn't change when using this command.  Sync
2788         docstrings with manual.
2789         (mh-page-msg, mh-previous-page): Rename arg to lines.  Sync
2790         docstrings with manual.
2791         (mh-write-msg-to-file): Rename msg to message.  Rename no-headers
2792         to no-header.  Sync docstrings with manual.
2793         (mh-ps-print-map): Delete keybindings for deleted commands
2794         mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2795         (mh-help-messages): Update printing help.
2796         (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2797         (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2798         (mh-prev-button, mh-folder-toggle-mime-part)
2799         (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2800         (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2801         manual.
2803         * mh-funcs.el (mh-sortm-args): Now a customization option and in
2804         mh-customize.el.
2805         (mh-pipe-msg): Rename include-headers to include-header.
2806         Sync docstrings with manual.
2807         (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2808         (mh-store-msg): Sync docstrings with manual.
2810         * mh-mime.el (mh-mime-save-parts): Rename arg to prompt.
2811         Sync docstrings with manual.
2812         (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2813         Sync docstrings with manual.
2814         (mh-mm-display-part, mh-mm-inline-message): Use
2815         mh-highlight-citation-style instead of mh-highlight-citation-p.
2816         (mh-press-button): Sync docstrings with manual.
2817         (mh-display-with-external-viewer): Fix default output in
2818         minibuffer.  Sync docstrings with manual.
2820         * mh-print.el (mh-ps-print-mime, mh-ps-print-toggle-mime):
2821         Delete.
2822         (mh-ps-print-color-option): Incorporate docstring from
2823         ps-print-color-p.
2824         (mh-ps-spool-buffer): Remove unused code.  Fix indent.
2825         Slimline docstring.
2826         (mh-ps-spool-msg): Slimline docstring.  Rename from
2827         mh-ps-spool-a-msg.  Rewrite to use existing show buffer when
2828         available.
2829         (mh-ps-print-range): Extract method from common code in
2830         mh-ps-print-msg and mh-ps-print-msg-file.
2831         (mh-ps-print-preprint): Clean docstring.  Use filename "mh-%s".
2832         (mh-ps-print-msg-show): Delete.  Can use either
2833         mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2834         new code in mh-ps-spool-msg.
2835         (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2836         Sync docstrings with manual.
2837         (mh-ps-print-msg, mh-ps-print-msg-file)
2838         (mh-ps-print-toggle-faces, mh-ps-print-toggle-color):
2839         Sync docstrings with manual.
2841         * mh-utils.el (mh-show-ps-print-msg-show)
2842         (mh-show-ps-print-toggle-mime): Delete.
2843         (mh-show-ps-print-map): Update accordingly.
2844         (mh-show-mode): Use mh-highlight-citation-style instead of
2845         mh-highlight-citation-p.
2846         (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2847         mhl-formfile.
2848         (mh-show): Use mh-mhl-format-file instead of mhl-formfile.
2849         Sync docstrings with manual.
2850         (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg):
2851         Sync docstrings with manual.
2853 2005-12-01  Bill Wohler  <wohler@newt.com>
2855         * mh-init.el (mh-defface-compat): Checkdoc fix.
2857         * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2858         Bogofilter is lowercase except at beginning of sentence and in
2859         titles.
2861 2005-11-04  Bill Wohler  <wohler@newt.com>
2863         * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2864         Move to mh-init.el to minimize bulk of mh-customize.el.
2866         * mh-init.el: Modify commentary since file is used for load and
2867         initialization as well as setting and getting the variant.
2868         (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2869         mh-customize.el.
2871         * mh-customize.el: Refactor faces.  Move grayscale requirements
2872         last before t.  Use uniform line breaks.
2873         (mh-min-colors-defined-flag): New variable.
2874         (mh-defface-compat): New function.  Provides backward compatibility
2875         for face specs.
2876         (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2877         (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
2878         (mh-folder-body): Use mh-defface-compat.
2880 2005-11-03  Dan Nicolaescu  <dann@ics.uci.edu>
2882         * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2883         (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2884         (mh-folder-to-face): Use the min-colors attribute instead of the
2885         type attribute.
2887 2005-11-03  Bill Wohler  <wohler@newt.com>
2889         * mh-customize.el (mh-refile-preserves-sequences-flag)
2890         (mh-tick-seq, mh-update-sequences-after-mh-show-flag):
2891         Sync docstrings with manual.
2893         * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2895         * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2896         (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2897         with manual.
2899 2005-11-01  Bill Wohler  <wohler@newt.com>
2901         * mh-comp.el (mh-redist-full-contents) Convert defvar to
2902         defcustom.
2903         (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2904         (mh-reply, mh-send, mh-send-other-window)
2905         (mh-fill-paragraph-function): Sync docstrings with manual.
2906         (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2907         msg argument to message (to make for a better docstring).
2909         * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2910         to defcustom.  Rename by adding -flag.
2911         (mh-compose-forward-as-mime-flag)
2912         (mh-compose-letter-function, mh-forward-subject-format)
2913         (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2914         (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2915         with manual.
2917         * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2918         (mh-ps-print-msg): Remove debugging messages.
2919         (mh-ps-print-msg-show, mh-ps-print-msg-show)
2920         (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2921         after message per conventions.
2923 2005-10-30  Bill Wohler  <wohler@newt.com>
2925         * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2926         (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp):
2927         Sync docstrings with manual.
2929         * mh-customize.el (mh-compose-space-does-completion-flag)
2930         (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2931         (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2932         means" to remain checkdoc clean and consistent with Emacs.  I
2933         raised this issue with the Emacs developers and Stallman agrees
2934         that "On means" should be allowed in custom docstrings but that
2935         this change requires thought and should wait until after the Emacs
2936         22 release.
2938 2005-10-28  Bill Wohler  <wohler@newt.com>
2940         * mh-comp.el (mh-annotate-msg): Use new variable
2941         mh-scan-field-destination-offset rather than hard-coding 1.
2943         * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2944         docstring.
2945         (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2946         functions to check input for mh-adaptive-cmd-note-flag and
2947         mh-scan-format-file respectively.
2948         (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2949         add :set.
2951         * mh-e.el (mh-scan-field-destination-offset): New variable.  The
2952         destination is the -, t, b, c, or n character for Replied, To, cc,
2953         Bcc, or Newsgroups respectively.
2954         (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note):
2955         Call new function mh-msg-num-width-to-column to make leap between
2956         width and column more explicit.
2957         (mh-msg-num-width-to-column): New function that steals logic from
2958         old mh-set-cmd-note.  Also, throw error if mh-scan-format-file
2959         isn't t since we can't adapt the scan lines in this case.
2960         (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2961         make the documentation more clear.
2962         (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2963         column, not a width.
2964         (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2965         variable mh-scan-field-destination-offset rather than hard-coding 1.
2967         * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2968         (mh-notate): Use new variable mh-scan-field-destination-offset
2969         rather than hard-coding 1.
2970         (mh-message-number-width): Rename to mh-msg-num-width to be
2971         consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2973         * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2974         (mail-citation-hook): Quote URLs in docstrings and precede with
2975         `URL'.  The former will suppress checkdoc warnings, the latter will
2976         turn them into hyperlinks in Emacs 22 (I just added the code to do
2977         that today).
2978         (mh-scan-format-file): Checkdoc fix.
2980 2005-10-27  Bill Wohler  <wohler@newt.com>
2982         * mh-customize.el (mh-adaptive-cmd-note-flag)
2983         (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2985         * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2986         (mh-note-cur, mh-scan-good-msg-regexp)
2987         (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2988         (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2989         (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2990         (mh-scan-subject-regexp, mh-scan-format-regexp)
2991         (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2992         with manual.
2994         * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2996         * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2997         of hard-coded string.
2998         (mh-mail-header-separator, mh-signature-separator-regexp):
2999         Use "regular expression" in docstring instead of regexp.
3000         (mh-scan-msg-number-regexp)
3001         (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
3002         (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
3003         (mh-cmd-note): Sync docstrings with manual.
3005         * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
3006         Checkdoc fixes.
3008         * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
3010         * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
3011         (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3012         (mh-mml-secure-message-signencrypt): Ditto.
3014 2005-10-24  Bill Wohler  <wohler@newt.com>
3016         * mh-gnus.el: Load mml.el in order to see if
3017         mml-minibuffer-read-disposition is defined or not.
3019         * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
3020         mml autoloads.
3022 2005-10-23  Miles Bader  <miles@gnu.org>
3024         * .arch-inventory: New file.
3026 2005-10-23  Bill Wohler  <wohler@newt.com>
3028         * mh-customize.el (mh-interpret-number-as-range-flag):
3029         Sync docstring with manual.
3031         * mh-identity.el (mh-assoc-ignore-case): Merge with version in
3032         mh-alias.el and move to mh-acros.el.
3034         * mh-alias.el (mh-assoc-ignore-case): Merge with version in
3035         mh-identity.el and move to mh-acros.el.
3037         * mh-acros.el (mh-assoc-ignore-case): Merge of function from
3038         mh-identity.el and mh-alias.el.
3040         * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
3041         warning in Emacs 22.
3043 2005-10-23  Satyaki Das  <satyaki@theforce.stanford.edu>
3045         * mh-identity.el (mh-assoc-ignore-case): New macro that uses
3046         assoc-string (if the function is available) and falls back on
3047         assoc-ignore-case if assoc-string is not found.
3048         (mh-identity-field-handler): Use mh-assoc-ignore-case since
3049         assoc-ignore-case is a obsolete function in Emacs 22.
3051         * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
3052         track of whether the tool-bar in mh-folder-mode has been
3053         initialized yet.
3054         (mh-folder-mode): Initialize the tool-bar for folders the first
3055         time we get into mh-letter-mode.
3057         * mh-customize.el (mh-buffer-exists-p): New function which tests
3058         presence of buffers of a given mode.
3059         (mh-tool-bar-define): New functions mh-tool-bar-folder-buttons-init and
3060         mh-tool-bar-letter-buttons-init are defined.  These functions are
3061         used to create the tool-bar from the corresponding customizable
3062         variables.
3064         * mh-comp.el (mh-letter-buttons-init-flag): New variable that
3065         keeps track of whether the tool-bar in mh-letter-mode has been
3066         initialized yet.
3067         (mh-letter-mode): Initialize the tool-bar for drafts the first
3068         time we get into mh-letter-mode.
3070 2005-10-23  Bill Wohler  <wohler@newt.com>
3072         * mh-comp.el (mh-letter-menu): Rename
3073         mh-mhn-compose-external-compressed-tar to
3074         mh-mh-compose-external-compressed-tar.  Rename
3075         mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp.  Rename
3076         mh-edit-mhn to mh-mh-to-mime.  Rename mh-mhn-directive-present-p to
3077         mh-mh-directive-present-p.  Rename mh-revert-mhn-edit to
3078         mh-mh-to-mime-undo.  Rename mh-gnus-pgp-support-flag to
3079         mh-pgp-support-flag.  Rename mh-compose-insertion value from 'mhn
3080         to 'mh.
3081         (mh-insert-signature): Rename mh-mhn-directive-present-p to
3082         mh-mh-directive-present-p.
3083         (mh-send-letter): Rename mh-mhn-directive-present-p to
3084         mh-mh-directive-present-p.  Rename mh-edit-mhn to mh-mh-to-mime.
3085         (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime.  Rename
3086         mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp.  Rename
3087         mh-mhn-compose-external-compressed-tar to
3088         mh-mh-compose-external-compressed-tar.  Rename mh-revert-mhn-edit
3089         to mh-mh-to-mime-undo.  Rename mh-mhn-compose-external-type to
3090         mh-mh-compose-external-type.  Rename mh-mhn-compose-anon-ftp to
3091         mh-mh-compose-anon-ftp.  Rename
3092         mh-mhn-compose-external-compressed-tar to
3093         mh-mh-compose-external-compressed-tar.  Rename mh-revert-mhn-edit
3094         to mh-mh-to-mime-undo.  Rename mh-mhn-compose-external-type to
3095         mh-mh-compose-external-type.
3096         (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
3097         mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
3098         (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
3099         mh-yank-from-start-of-msg to mh-yank-behavior.
3100         (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
3101         (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
3102         (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
3103         (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
3104         (mh-letter-complete-or-space, mh-letter-confirm-address)
3105         (mh-letter-next-header-field-or-indent)
3106         (mh-letter-previous-header-field)
3107         (mh-letter-toggle-header-field-display): Sync docstrings with
3108         manual.
3110         * mh-customize.el (mh-edit-mhn-hook): Rename to
3111         mh-mh-to-mime-hook.
3112         (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
3113         (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
3114         and user-visible values from mhn and Gnus to MH and MML.
3115         (mh-before-send-letter-hook): Add 'ispell-message option.
3116         (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
3117         mh-pgp-support-flag.
3118         (mh-compose-insertion, mh-compose-space-does-completion-flag)
3119         (mh-delete-yanked-msg-window-flag)
3120         (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
3121         (mh-letter-complete-function, mh-letter-fill-column)
3122         (mh-mml-method-default, mh-signature-file-name)
3123         (mh-signature-separator-flag, mh-x-face-file)
3124         (mh-yank-behavior, mail-citation-hook)
3125         (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
3126         with manual.
3128         * mh-gnus.el (mml-minibuffer-read-disposition): New function
3129         provided for Emacs 21 environments that lack it.
3131         * mh-mime.el (mh-mml-query-cryptographic-method): Use default
3132         prompt convention.
3133         (mh-compose-forward): mh-mh-forward-message requires string arg.
3134         (mh-minibuffer-read-type): New function.
3135         (mh-mhn-args): Rename to mh-mh-to-mime-args.
3136         (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
3137         (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
3138         (mh-mhn-compose-type): Rename to mh-mh-compose-type.
3139         (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
3140         Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
3141         (mh-mhn-compose-external-compressed-tar): Rename to
3142         mh-mh-compose-external-compressed-tar.  Rename
3143         mh-mhn-compose-external-type to mh-mh-compose-external-type.
3144         (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type.
3145         (mh-edit-mhn): Rename to mh-mh-to-mime.  Rename mh-mhn-args to
3146         mh-mh-to-mime-args.  Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
3147         Use correct program in message.
3148         (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
3149         (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
3150         (mh-compose-forward, mh-mh-attach-file)
3151         (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3152         (mh-mh-compose-external-type, mh-mh-forward-message)
3153         (mh-mml-attach-file): Use mml-minibuffer-read-description,
3154         mh-minibuffer-read-type.
3155         (mh-mime-content-types): Move comment about only being used in
3156         Emacs 20 to docstring.
3157         (mh-mh-compose-external-type): Rename extra-param argument to
3158         parameters.
3159         (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
3160         (mh-mime-display-part, mh-mime-display-single): Rename
3161         mh-gnus-pgp-support-flag to mh-pgp-support-flag.
3162         (mh-compose-insertion): Rename mh-mhn-compose-insertion to
3163         mh-mh-attach-file.
3164         (mh-compose-forward): Rename mh-mhn-compose-forw to
3165         mh-mh-forward-message.
3166         (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
3167         mh-mh-compose-type.
3168         (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
3169         (mh-mh-attach-file, mh-mh-compose-type)
3170         (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3171         (mh-mh-compose-external-compressed-tar)
3172         (mh-mh-compose-external-type, mh-mh-forward-message)
3173         (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
3174         (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
3175         (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
3176         (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3177         (mh-mml-directive-present-p, mh-destroy-postponed-handles)
3178         (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
3179         Sync docstrings with manual.
3181         * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
3182         mh-pgp-support-flag.
3184 2005-10-17  Peter S Galbraith  <psg@debian.org>
3186         * mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case'
3187         to compare against header field for mixed-case "From:".
3189 2005-10-17  Bill Wohler  <wohler@newt.com>
3191         * mh-customize.el (mh-folder-tool-bar-map): Rename image file
3192         left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
3193         to mail/compose, fld_open to fld-open.
3194         (mh-letter-tool-bar-map): Rename image file mail_send to
3195         mail/send.
3197 2005-10-16  Bill Wohler  <wohler@newt.com>
3199         * mh-comp.el (mh-display-completion-list-compat): New macro which
3200         calls `display-completion-list' correctly in older environments.
3201         Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
3202         argument.
3203         (mh-complete-word): Use it.
3205         * mh-init.el (mh-image-load-path): Use locate-library to find
3206         MH-E.  This simplified the code a lot.  Flattened out nested
3207         statements even more.
3209 2005-10-16  Satyaki Das  <satyaki@theforce.stanford.edu>
3211         * mh-init.el (mh-image-load-path): Remove use of pushnew since it
3212         causes a compiler warning.
3214         * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
3215         the message to be viewed (closes SF #1306141).
3217 2005-10-16  Masatake YAMATO  <jet@gyve.org>
3219         * mh-comp.el (mh-complete-word): Pass the common prefix substring
3220         of completion to `display-completion-list'.
3222 2005-10-15  Satyaki Das  <satyaki@theforce.stanford.edu>
3224         * mh-init.el (mh-image-load-path-called-flag): New variable which
3225         is used by mh-image-load-path so that it runs only once.
3226         (mh-image-load-path): Modify so that it gets run only once.  Also
3227         flatten out heavily nested if statements to make it clearer.
3229         * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
3230         to find images used in the toolbar.
3232         * mh-customize.el (:folder): Remove call to mh-image-load-path.
3234 2005-10-14  Bill Wohler  <wohler@newt.com>
3236         * mh-e.el (Version, mh-version): Add +cvs to version.
3238 2005-10-14  Bill Wohler  <wohler@newt.com>
3240         Released MH-E version 7.85.
3242         * mh-e.el (Version, mh-version): Update for release 7.85.
3244 2005-10-14  Bill Wohler  <wohler@newt.com>
3246         * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
3247         * mh-seq.el, mh-utils.el: Ran mh-unit.  Continued copyright lines
3248         need to be indented.
3250         * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
3251         but the code that invoked the face had not been updated.  Tick
3252         highlighting working again.
3254         * mh-seq.el (mh-non-seq-mode-line-annotation): Move
3255         make-variable-buffer-local call to top level to avoid warnings in
3256         CVS Emacs.
3258         * mh-comp.el (mh-insert-letter): Replace deprecated read-input
3259         with read-string.
3261 2005-10-09  Bill Wohler  <wohler@newt.com>
3263         * mh-init.el (mh-image-load-path): New function that adds the path
3264         to the MH-E images to the image-load-path or load-path depending
3265         on the version of Emacs.
3267         * mh-customize.el: Call mh-image-load-path just before
3268         mh-tool-bar-define so that the toolbar images can be found.
3270 2005-10-04  Bill Wohler  <wohler@newt.com>
3272         * ChangeLog: Move contents into ChangeLog.1 and trim.
3274         * ChangeLog.1: New file.  Contains old ChangeLog.
3277   Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011  Free Software Foundation, Inc.
3279   This file is part of GNU Emacs.
3281   GNU Emacs is free software: you can redistribute it and/or modify
3282   it under the terms of the GNU General Public License as published by
3283   the Free Software Foundation, either version 3 of the License, or
3284   (at your option) any later version.
3286   GNU Emacs is distributed in the hope that it will be useful,
3287   but WITHOUT ANY WARRANTY; without even the implied warranty of
3288   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3289   GNU General Public License for more details.
3291   You should have received a copy of the GNU General Public License
3292   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
3294 ;; Local Variables:
3295 ;; coding: utf-8
3296 ;; sentence-end-double-space: nil
3297 ;; add-log-time-zone-rule: t
3298 ;; End: