1 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3 * mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
5 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7 * mh-utils.el (minibuffer-completing-file-name): Don't declare, unused.
9 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11 * mh-folder.el (top): Check whether which-func-modes is t before
12 adding mh-folder-mode.
14 2011-11-20 Bill Wohler <wohler@newt.com>
16 * Release MH-E version 8.3.1.
18 * mh-e.el (Version, mh-version): Update for release 8.3.1.
20 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
22 * mh-utils.el (mh-folder-list): Fix typo.
23 (mh-children-p): Move part of the docstring to a comment.
25 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
27 * mh-search.el (mh-pick-parse-search-buffer): Fix typo.
29 2011-09-20 Bill Wohler <wohler@newt.com>
31 Release MH-E version 8.3.
33 * mh-e.el (Version, mh-version): Update for release 8.3.
35 2011-07-30 Bill Wohler <wohler@newt.com>
37 * mh-show.el (mh-unvisit-file): Clarify language in yes-or-no-p
40 2011-07-17 Bill Wohler <wohler@newt.com>
42 Release MH-E version 8.2.93.
44 * mh-e.el (Version, mh-version): Update for release 8.2.93.
46 * mh-compat.el (mh-pop-to-buffer-same-window): Delete.
47 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
48 (mh-make-folder): Revert to switch-to-buffer, as the Emacs folks
49 decided that it was fine to use it in programs.
51 2011-07-16 Bill Wohler <wohler@newt.com>
53 Release MH-E version 8.2.92.
55 * mh-e.el (Version, mh-version): Update for release 8.2.92.
57 2011-07-12 Bill Wohler <wohler@newt.com>
59 Release MH-E version 8.2.91.
61 * mh-e.el (Version, mh-version): Update for release 8.2.91.
63 * mh-compat.el (mh-pop-to-buffer-same-window): Add compatibility
64 function to call switch-to-buffer on systems that lack
65 pop-to-buffer-same-window.
66 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
67 (mh-make-folder): Call mh-pop-to-buffer-same-window instead of
68 switch-to-buffer. The previous change which used pop-to-buffer
69 produced the wrong behavior.
71 2011-07-12 Henrique Martins <henrique@martins.cc> (tiny change)
73 * mh-xface.el (mh-picon-get-image): Remove quote from block
75 * mh-mime.el (mh-mh-directive-present-p): Ditto.
77 2011-07-10 Bill Wohler <wohler@newt.com>
79 Release MH-E version 8.2.90.
81 * mh-e.el (Version, mh-version): Update for release 8.2.90.
83 * mh-utils.el (mh-sub-folders-actual): Remove FIXME question.
85 * mh-mime.el (mh-decode-message-subject): Fix case of Subject.
87 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
88 (mh-make-folder): Replace calls to switch-to-buffer with of
89 pop-to-buffer. The former is intended for interactive use only
90 and generates warnings in Emacs 24.
92 2011-07-09 Bill Wohler <wohler@newt.com>
94 * mh-speed.el (mh-speed-toggle,mh-speed-view): Document "ignored"
95 arguments to keep checkdoc happy.
97 * mh-search.el (mh-flists-execute): Ditto.
99 * mh-funcs.el (mh-undo-folder): Ditto.
101 * mh-comp.el (mh-user-agent-compose): Ditto.
103 * mh-xface.el (mh-face-to-png, mh-uncompface)
104 (mh-picon-file-contents): Only call set-buffer-multibyte if it
105 exists, which it doesn't in XEmacs.
107 2011-07-04 Bill Wohler <wohler@newt.com>
109 * mh-e.el: Just require mh-loaddefs since loading it in an
110 eval-and-compile block causes compilation errors in XEmacs.
112 * mh-acros.el, mh-comp.el, mh-e.el, mh-folder.el, mh-letter.el:
113 * mh-mime.el, mh-search.el, mh-seq.el: Shush XEmacs compiler in
114 mh-do-in-xemacs block.
116 * mh-compat.el (mh-window-full-height-p): Add compatibility
118 * mh-show.el (mh-show-msg): Use it, and avoid compiler warning on
121 * mh-letter.el (mh-letter-mode-map, mh-letter-complete)
122 (mh-complete-word): Remove FIXME comments since these functions
123 are still needed in other Emacsen. However, they can probably
124 stand to be generalized like completion-at-point.
125 (mh-letter-complete-or-space): Remove unused variable.
127 2011-07-03 Bill Wohler <wohler@newt.com>
129 * mh-compat.el (mh-test-completion): Add compatibility function
131 * mh-alias.el (mh-alias-letter-expand-alias): Use it, and avoid
132 compiler warning on XEmacs.
135 * mh-mime.el: Shush XEmacs compiler in mh-do-in-xemacs block.
137 * mh-folder.el: Use boundp instead of fboundp when testing
138 existence of desktop-buffer-mode-handlers (closes SF #1510145).
140 2011-05-10 Jim Meyering <meyering@redhat.com>
142 Fix doubled-word typos.
143 * mh-alias.el (mh-alias-minibuffer-confirm-address): if if -> if it
144 * mh-scan.el (mh-scan-destination-width): in in -> in
146 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
148 * mh-utils.el (mh-folder-completion-function): Make it work like
149 file-name completion, so partial-completion can do its job.
151 * mh-letter.el (mh-letter-completion-at-point): New function, extracted
152 from mh-letter-complete
153 (mh-letter-mode, mh-letter-complete, mh-letter-complete-or-space):
155 (mh-complete-word): Only use the common-substring arg when it works.
156 (mh-folder-expand-at-point):
157 * mh-alias.el (mh-alias-letter-expand-alias): Return data suitable for
158 completion-at-point-functions.
160 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
162 * mh-funcs.el (mh-undo-folder): Accept and ignore arguments,
163 for compatibility with `revert-buffer'. Doc fix. (Bug#8431)
165 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
167 * Version 23.3 released.
169 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
171 * mh-funcs.el (mh-store-msg, mh-store-buffer):
172 * mh-mime.el (mh-mime-save-parts): Use read-directory-name.
174 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
176 * mh-comp.el (mh-user-agent-compose): New arg RETURN-ACTION.
178 2010-11-07 Glenn Morris <rgm@gnu.org>
180 * mh-seq.el (mh-read-msg-list): Use point-at-eol.
182 2010-11-03 Glenn Morris <rgm@gnu.org>
184 * mh-mime.el (dots, type, ov): Avoid unnecessary declaration.
186 2010-05-14 Peter S Galbraith <psg@debian.org>
188 * mh-mime.el (mh-decode-message-subject): New function to decode
189 RFC2047 encoded Subject lines. Used for reply drafts.
190 * mh-comp.el (mh-compose-and-send-mail):
191 Call `mh-decode-message-subject' on (reply or forward) message drafts.
193 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
195 * Version 23.2 released.
197 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
199 * mh-show.el (mh-showing-mode): Move function to mh-e.el.
200 * mh-e.el (mh-showing-mode): Use define-minor-mode.
202 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
204 * mh-scan.el (mh-scan-cmd-note-width): Doc fix.
205 (mh-scan-format-mh, mh-scan-body-regexp, mh-scan-cur-msg-number-regexp)
206 (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
207 (mh-scan-deleted-msg-regexp, mh-scan-good-msg-regexp)
208 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
209 (mh-scan-msg-number-regexp, mh-scan-rcpt-regexp)
210 (mh-scan-refiled-msg-regexp, mh-scan-sent-to-me-sender-regexp)
211 (mh-scan-subject-regexp, mh-update-scan-format)
212 (mh-msg-num-width-to-column): Fix typos in docstrings.
214 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
218 2009-12-01 Bill Wohler <wohler@newt.com>
220 * mh-search.el (mh-mairix-execute-search): Use mh vfolder_format.
221 Fix typo in database path.
222 (mh-namazu-execute-search): Specify -q in example since namazu is
223 excessively garrulous.
225 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
227 * mh-thread.el (mh-thread-set-tables):
228 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-stealth-update):
229 (mh-speed-extract-folder-name, mh-speed-parse-flists-output):
230 (mh-speed-invalidate-map, mh-speed-add-folder):
231 * mh-show.el (mh-invalidate-show-buffer, mh-show-sequence-menu):
232 * mh-seq.el (mh-list-sequences):
233 * mh-search.el (mh-index-execute-commands, mh-index-add-to-sequence)
234 (mh-index-delete-from-sequence, mh-index-update-maps):
235 * mh-scan.el (mh-msg-num-width):
236 * mh-print.el (mh-ps-spool-buffer):
237 * mh-mime.el (mh-mime-save-parts, mh-handle-set-external-undisplayer)
239 * mh-letter.el (mh-yank-cur-msg):
240 * mh-funcs.el (mh-list-folders, mh-pipe-msg, mh-store-msg)
242 * mh-folder.el (mh-modify, mh-visit-folder, mh-write-msg-to-file)
243 (mh-prompt-for-refile-folder):
244 * mh-e.el (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
245 (mh-handle-process-error, mh-variant-info):
246 * mh-comp.el (mh-forward):
247 * mh-alias.el (mh-alias-local-users, mh-alias-which-file-has-alias):
248 (mh-alias-add-alias-to-file): Use with-current-buffer (closes SF
251 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
253 * mh-e.el: Load mh-loaddefs during compilation as well.
255 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
257 * mh-e.el (mh-loaddefs): Load rather than require.
259 2009-10-06 Glenn Morris <rgm@gnu.org>
261 * mh-show.el (mh-show-msg): Use window-full-height-p.
263 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
265 * mh-comp.el (mh-send-letter): default-buffer-file-coding-system
266 => (default-value 'buffer-file-coding-system).
268 2009-08-10 Bill Wohler <wohler@newt.com>
270 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
271 (mh-spamprobe-blacklist): Sync docstring with manual.
273 2009-07-22 Kevin Ryde <user42@zip.com.au>
275 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
276 (mh-spamprobe-blacklist): Hyperlink URLs in docstrings with URL `...'.
278 2009-06-13 Bill Wohler <wohler@newt.com>
280 Release MH-E version 8.2.
282 * mh-e.el (Version, mh-version): Update for release 8.2.
284 * mh-seq.el (mh-folder-size-flist)
285 * mh-speed.el (mh-speed-parse-flists-output)
286 * mh-xface.el (mh-face-display-function): Remove trailing space.
288 2009-03-13 D. Goel <deego3@gmail.com>
290 * mh-seq.el (mh-folder-size-flist): Use (values-list) in m-v call
293 * mh-speed.el (mh-speed-parse-flists-output): Ditto.
294 * mh-xface.el (mh-face-display-function): Ditto.
295 * mh-search.el (mh-index-parse-search-regexp): Ditto.
297 * mh-thread.el (mh-thread-generate): Ditto.
299 * mh-seq.el (mh-parse-flist-output-line): Return list rather than values.
300 We want to avoid emacs using m-v facilities.
301 (mh-folder-size-folder): Ditto.
302 (mh-parse-flist-output-line): Ditto.
303 * mh-thread.el (mh-thread-prune-subject): Ditto.
304 * mh-xface.el (mh-picon-get-image): Ditto.
305 (mh-picon-file-contents): Ditto.
306 * mh-search.el (mh-index-evaluate): Ditto.
308 2009-01-27 Bill Wohler <wohler@newt.com>
310 * mh-funcs.el (mh-pack-folder): Fix docstring.
312 * mh-e.el (mh-pack-folder-hook): Bump package-version to 8.2.
314 * mh-gnus.el (mh-mm-merge-handles)
315 (mh-mm-set-handle-multipart-parameter, mh-mm-inline-text-vcard)
316 (mh-mml-minibuffer-read-disposition, mh-mm-save-part): Update with
317 code from Gnus 5.11 (closes SF #2235022).
319 2009-01-26 Stephen Gildea <gildea@stop.mail-abuse.org>
321 * mh-e.el (mh-pack-folder-hook): New variable.
322 * mh-funcs.el (mh-pack-folder): Call new mh-pack-folder-hook.
324 2009-01-26 Bill Wohler <wohler@newt.com>
326 * mh-utils.el (mh-goto-header-end): Use mh-mail-header-separator
327 instead of -* in regexp.
329 * mh-folder.el (mh-folder-mode-help-messages): Add e and t to K's
332 2009-01-09 Glenn Morris <rgm@gnu.org>
334 * mh-letter.el: Replace last-input-char with last-input-event.
336 2008-08-18 Bill Wohler <wohler@newt.com>
338 Release MH-E version 8.1.
340 * mh-e.el (Version, mh-version): Update for release 8.1.
342 2008-08-11 Bill Wohler <wohler@newt.com>
344 * mh-e.el (mh-variant-mh-info, mh-variant-nmh-info)
345 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
346 (mh-variant-set, mh-variant, mh-scan-format-file): Fix typo in
349 * mh-comp.el (mh-reply)
350 * mh-e.el (mh-sys-path, mh-variant-info, mh-variant-mu-mh-info)
351 (mh-variant-p, mh-profile-component, mh-variant-set, mh-variant)
352 (mh-scan-format-file)
353 * mh-folder.el (mh-regenerate-headers)
354 * mh-scan.el (mh-scan-format)
355 * mh-search.el (mh-pick-regexp-builder): Rename variant mu-mh to
356 gnu-mh and be explicit about GNU mailutils MH in docstrings (with
357 thanks to Darel Henman) (closes SF #1768928).
359 2008-08-01 Bill Wohler <wohler@newt.com>
361 * mh-show.el (mh-show-preferred-alternative)
362 * mh-e.el (mh-annotate-msg-hook): Sync docstring with manual.
364 * mh-comp.el (mh-send-letter, mh-redistribute):
365 Mention mh-annotate-msg-hook in docstring.
367 2008-06-29 Jeffrey C Honig <jch@honig.net>
369 * mh-e.el (mh-invisible-header-fields-internal): Add invisible
370 header fields for X-Hz (mail from Hertz), X-Proofpoint (Proofpoint
371 antivirus/anti-spam) and X-RIM (Research In Motion).
373 2008-06-20 Stephen Eglen <stephen@gnu.org>
375 * mh-show.el (mh-defun-show-buffer): Use `...' rather than
376 "..." in generated docstrings.
378 2008-06-12 Glenn Morris <rgm@gnu.org>
380 * mh-seq.el (tool-bar-map): Define for compiler.
382 * mh-folder.el (mh-folder-mode):
383 * mh-letter.el (mh-letter-mode):
384 * mh-show.el (mh-show-mode): Check tool-bar-map is bound.
386 2008-06-08 John Paul Wallington <jpw@pobox.com>
388 * mh-acros.el (toplevel): Put `doc-string-elt' properties on
389 `defun-mh' and `defmacro-mh'.
391 * mh-alias.el (mh-alias-read-address-map): Define within defvar.
393 * mh-comp.el (mh-letter-mode-syntax-table): Define within defvar.
395 * mh-letter.el (mh-complete-word): Doc fix.
397 2008-06-02 John Paul Wallington <jpw@pobox.com>
399 * mh-e.el (mh-exec-cmd-env-daemon): Doc fix.
401 2008-06-01 John Paul Wallington <jpw@pobox.com>
403 * mh-e.el (mh-path, mh-variant): Use dotted syntax for
404 `package-version' info.
406 2008-05-26 Jeffrey C Honig <jch@honig.net>
408 * mh-e.el (mh-invisible-header-fields-internal): Remove Newsgroups
409 from the list. Add Bytes, X-Campaignid, X-Country-Chain,
410 X-Declude-, X-fmx-, X-Identity, X-Mailer_, X-pair-, X-SPF-,
413 2008-05-23 Bill Wohler <wohler@newt.com>
415 * mh-e.el (mh-invisible-header-fields-internal):
416 Remove DKIM-Signature as it is covered by DKIM-. Fully qualify X-EID.
418 2008-05-19 Sergey Poznyakoff <gray@gnu.org.ua>
420 * mh-mime.el (mh-mh-to-mime, mh-mh-to-mime-undo): Preserve modes
421 when converting to or from MIME (closes SF #1966722).
423 2008-05-19 Bill Wohler <wohler@newt.com>
425 * mh-e.el (mh-invisible-header-fields-internal): Sort list in a
426 case-insensitive way and add comment about it. Add many header
427 fields (closes SF #1916032).
429 2008-05-19 Xavier Maillard <xma@gnu.org> (tiny change)
431 * mh-utils.el (mh-find-path): Don't throw error if MH environment
432 variable is being used (closes SF #1946861).
434 2008-05-19 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
436 * mh-search.el (mh-mairix-regexp-builder): Add additional items to
437 search string to support org-mode (closes SF #1965704).
439 2008-03-18 Bill Wohler <wohler@newt.com>
441 * mh-e.el (mh-invisible-header-fields-internal): Add Accreditor,
443 (mh-invisible-header-fields, mh-invisible-header-fields-default):
444 Update URL to bug report for users to report ignored fields.
446 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
448 * mh-xface.el (mh-uncompface, mh-picon-file-contents):
449 Use set-buffer-multibyte...
450 (mh-face-display-function, mh-x-image-display): ...rather than bind
451 default-enable-multibyte-characters.
453 2008-02-24 Bill Wohler <wohler@newt.com>
455 * mh-comp.el (mh-send-letter): Call split-string on mh-send-args
456 when sending synchronously too.
458 2008-02-19 Bill Wohler <wohler@newt.com>
460 * mh-comp.el (mh-annotate-msg):
461 * mh-e.el (mh-invisible-header-fields-internal): Remove trailing
464 2008-01-30 Bill Wohler <wohler@newt.com>
466 * mh-mime.el (mh-mml-to-mime): Don't look up sender if From
467 absent. Fixes "Wrong type argument: stringp, nil" error.
469 2007-12-02 Glenn Morris <rgm@gnu.org>
471 * mh-mime.el (mail-strip-quoted-names): Autoload it.
473 2007-11-17 Dan Nicolaescu <dann@ics.uci.edu>
475 * mh-e.el (mh-xemacs-flag): Remove.
476 (mh-min-colors-defined-flag):
477 * mh-xface.el (mh-show-xface-function):
478 * mh-utils.el (mh-colors-available-p):
479 * mh-show.el (mh-show-mode):
480 * mh-gnus.el (mh-gnus-local-map-property):
481 * mh-folder.el (mh-folder-mode-map)
482 (mh-remove-xemacs-horizontal-scrollbar, mh-folder-mode):
483 * mh-comp.el (mh-insert-x-mailer): Replace uses of mh-xemacs-flag
484 with (featurep 'xemacs).
486 2007-09-11 Bill Wohler <wohler@newt.com>
488 * mh-e.el (Version, mh-version): Add +cvs to version.
490 2007-08-25 Stephen Gildea <gildea@stop.mail-abuse.org>
492 * mh-e.el (mh-annotate-msg-hook): New variable.
494 * mh-comp.el (mh-annotate-msg): Call new mh-annotate-msg-hook.
495 (mh-annotate-list): New variable, for mh-annotate-msg-hook.
497 2007-08-21 Jeffrey C Honig <jch@honig.net>
499 * mh-folder.el (mh-folder-message-menu, mh-folder-mode-map):
500 Add folder mode support for mh-show-preferred-alternative (closes SF
503 * mh-show.el (mh-show-preferred-alternative)
504 (mh-show-write-message-to-file, mh-show-message-menu)
505 (mh-show-mode-map): Add mh-show-preferred-alternative (bound to
506 ":") which will show the message's preferred alternative
507 overriding the users configured preference. Useful for showing
508 HTML when text content is lacking (closes SF #1777321).
511 (mh-invisible-header-fields-internal): Exclude Fax and Phone.
512 Put known exclusions as comments before the list and move parens to
513 separate lines to aid in sorting (closes SF #1701231).
515 * mh-mime.el (mm-decode-body): Remove explicit autoload of
518 * mh-alias.el (mh-alias-expand): Set up automatic autoload of
521 2007-08-20 Jeffrey C Honig <jch@honig.net>
523 * mh-mime.el (message-options-set): Add missing autoloads from my
526 * mh-comp.el (mh-forward): When forwarding with mml, messages are
527 no longer included in reverse order (closes SF #1730393).
529 * mh-mime.el (mh-mml-forward-message): Forward messages as inline
530 attachments (closes SF #1378993).
532 2008-02-06 Richard Stallman <rms@gnu.org>
534 * mh-seq.el (mh-make-seq, mh-seq-name): Use defsubst.
536 * mh-acros.el (mh-do-in-gnu-emacs, mh-do-in-xemacs)
537 (with-mh-folder-updating, mh-in-show-buffer)
538 (mh-iterate-on-messages-in-region, mh-iterate-on-range):
539 (mh-do-at-event-location): Add debug decls.
540 (mh-seq-msgs): Use defsubst.
542 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
544 * mh-e.el (mh-scan-format-file-check, mh-adaptive-cmd-note-flag-check):
545 * mh-xface.el (mh-x-image-url-cache-canonicalize):
546 Replace `legal' with `valid'.
548 2007-08-19 Jeffrey C Honig <jch@honig.net>
550 * mh-e.el (mh-invisible-header-fields-internal): We want to show
551 Comments: and hide Comment:, not the other way around.
553 * mh-mime.el (mh-mml-to-mime): GPG requires e-mail addresses, not
554 aliases. So resolve aliases before passing addresses to GPG/PGP
557 * mh-e.el (mh-invisible-header-fields-internal): Update with all
559 http://people.dsv.su.se/~jpalme/ietf/mail-headers, plus some of my
560 own. I added attributions to entries we already had that did not
563 2007-08-08 Glenn Morris <rgm@gnu.org>
565 * mh-folder.el, mh-letter.el, mh-show.el: Replace `iff' in
566 doc-strings and comments.
568 2007-07-25 Glenn Morris <rgm@gnu.org>
570 * Relicense all FSF files to GPLv3 or later.
572 2007-07-11 Bill Wohler <wohler@newt.com>
574 * mh-compat.el (mh-display-color-cells): Fix on XEmacs 21.5b28.
575 Thanks to Henrique Martins for the help (closes SF #1749774).
577 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
579 * mh-mime.el (mh-mh-directive-present-p):
580 * mh-search.el (mh-index-group-by-folder): Fix typos in docstrings.
582 2006-11-14 Bill Wohler <wohler@newt.com>
584 * mh-xface.el (mh-x-image-url-cache-canonicalize): Add `*' to
585 reserved Windows filename characters (closes SF #1396499).
587 2006-11-13 Bill Wohler <wohler@newt.com>
589 Release MH-E version 8.0.3.
591 * mh-e.el (Version, mh-version): Update for release 8.0.3.
593 * mh-e.el (mh-alias-local-users): Boolean docstrings should start
594 with "Non-nil means". Perhaps this option should have a -flag
596 (mh-junk-background): Sync docstring with manual.
598 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
599 (mh-spamprobe-blacklist): Sync docstring with manual.
601 2006-11-11 Stephen Gildea <gildea@stop.mail-abuse.org>
603 * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
604 Use mh-junk-background consistently in call-process calls.
605 (mh-bogofilter-blacklist, mh-bogofilter-whitelist)
606 (mh-spamprobe-blacklist, mh-spamprobe-whitelist):
607 Use with-current-buffer so the right thing happens if
608 mh-junk-background is t (closes SF #1594802).
610 * mh-e.el (mh-junk-background): Document that On value is 0;
611 t may be used for debugging.
613 2006-11-10 Andreas Schwab <schwab@suse.de>
615 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
617 2006-11-10 Glenn Morris <rgm@gnu.org>
619 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
621 2006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
623 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
624 quotation marks, so that the last two arguments of sa-learn
625 are separated properly (closes SF #1565460).
626 (mh-spamassassin-blacklist): In example .procmailrc, add
627 PATH element to find mhparam on Debian.
629 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
631 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
632 so that we always have a valid string for split-string even if
633 nothing is added in mh-send-letter (closes SF #1564742).
635 2006-07-03 Bill Wohler <wohler@newt.com>
637 Release MH-E version 8.0.2.
639 * mh-e.el (Version, mh-version): Update for release 8.0.2.
641 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
643 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
644 it refers to the icons in mh-xemacs-icon-map instead of trying to
645 declare the icons in situ. This allows mh-tool-bar.el to be
646 compiled under XEmacs. Remove initial value for
647 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
648 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
649 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
650 This allows MH-E to be used in XEmacs in a tty (closes SF #1506846).
652 2006-07-03 Bill Wohler <wohler@newt.com>
654 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
655 that mh-xemacs needs functions in mh-compat.
657 2006-06-29 Bill Wohler <wohler@newt.com>
659 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
660 loop construct to be consistent with other loops, and because
661 edebug doesn't work without it.
663 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
665 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
666 redundant +s in regexp (closes SF #1514424).
668 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
670 * mh-mime.el (mh-mime-save-parts): Add -store option to
671 mhn (closes SF #1513140).
673 2006-06-20 Bill Wohler <wohler@newt.com>
675 Release MH-E version 8.0.1.
677 * mh-e.el (Version, mh-version): Update for release 8.0.1.
679 2006-06-15 Bill Wohler <wohler@newt.com>
681 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
682 suffix for folder names, as <> are illegal filename characters on
683 Windows (closes SF #1507002).
685 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
687 * mh-comp.el (mh-send-uses-spost): New variable.
688 (mh-send-letter): Do not use -msgid and -mime if
689 mh-send-uses-spost is t (closes SF #1486726).
691 2006-06-02 Bill Wohler <wohler@newt.com>
693 * mh-search.el (mh-folder-exists-p): Change test from an empty buffer,
694 to one that contains the actual folder, since GNU mailutils' folder
695 command displays output if the folder doesn't exist (closes SF
698 2006-05-06 Bill Wohler <wohler@newt.com>
700 Release MH-E version 8.0.
702 * mh-e.el (Version, mh-version): Update for release 8.0.
704 2006-05-05 Bill Wohler <wohler@newt.com>
706 * mh-e.el: Update commentary.
708 2006-04-28 Bill Wohler <wohler@newt.com>
710 Release MH-E version 7.95.
712 * mh-e.el (Version, mh-version): Update for release 7.95.
714 2006-04-26 Eric Ding <ericding@alum.mit.edu>
716 * mh-e.el (mh-invisible-header-fields-internal): Add entry
719 2006-04-25 Bill Wohler <wohler@newt.com>
721 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
722 Folders returned by mh-folder-completion-function no longer need
723 adornment (closes SF #1476270).
725 2006-04-21 Bill Wohler <wohler@newt.com>
727 * mh-e.el (Version, mh-version): Add +cvs to version.
729 2006-04-21 Bill Wohler <wohler@newt.com>
731 Release MH-E version 7.94.
733 * mh-e.el (Version, mh-version): Update for release 7.94.
735 2006-04-21 Bill Wohler <wohler@newt.com>
737 * mh-letter.el (mh-insert-letter): If a message number isn't
738 given, throw an error rather than using a potentially incorrect
739 message number (closes SF #1473729). In addition, use the cur
740 message if mh-sent-from-msg is nil (when sending a message, in
741 contrast to replying). Move conversion of int to string into
742 interactive stanza so body can assume variables are of proper
745 2006-04-20 Bill Wohler <wohler@newt.com>
747 * mh-tool-bar.el (image-load-path): Define to shush compiler.
748 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
749 isn't used outside of it.
750 (mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
751 Update load-path/image-load-path before setting buttons.
752 This code used to be in mh-folder-mode/mh-letter-mode but this was
753 the wrong place since mh-tool-bar-*-buttons-init can also be called
754 when customizing the buttons.
755 (mh-tool-bar-update): New function which updates tool-bar-map in
756 all of the MH-E buffers after customizing the buttons (closes SF
758 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
759 Call it (closes SF #1452718).
761 * mh-folder.el (mh-folder-buttons-init-flag): Delete.
762 Use mh-folder-tool-bar-map instead.
763 (image-load-path): Delete. No longer used.
764 (mh-folder-mode): Move setting of image-load-path into
765 mh-tool-bar-folder-buttons-init.
767 * mh-letter.el (mh-letter-buttons-init-flag): Delete.
768 Use mh-letter-tool-bar-map instead.
769 (image-load-path): Delete. No longer used.
770 (mh-letter-mode): Move setting of image-load-path into
771 mh-tool-bar-letter-buttons-init.
773 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
774 instead of set-buffer.
776 2006-04-19 Bill Wohler <wohler@newt.com>
778 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
779 can permanently disable a button (such as a separator) with nil.
781 2006-04-18 Bill Wohler <wohler@newt.com>
783 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
784 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
785 (mh-min-colors-defined-flag): Do not unbind these macros and
786 variables. Nice idea, but too many nasty side-effects. These
787 macros are needed by [Cc]ustom-make-dependencies when creating the
788 MH-E customization groups in mh-cus-load.el. These disappeared
789 when the macros above were introduced. Besides, if a developer
790 were to try to show the help for a macro or variable they were
791 looking at and got [No match] when they did so, that would be bad.
793 2006-04-17 Bill Wohler <wohler@newt.com>
795 * mh-comp.el (mh-insert-x-mailer): Strip build number from
796 version in X-Mailer field (closes SF #1466481).
798 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
799 variables and functions with the same name are found correctly by
800 find-func (invoked by clicking on the filename link in the *Help*
802 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
804 * mh-e.el (mh-defgroup): Rename to defgroup-mh. Ditto.
805 (mh-defcustom): Rename to defcustom-mh. Ditto.
806 (mh-defface): Rename to defface-mh. Ditto.
807 (mh-font-lock-add-keywords): Make changes according to these
810 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
813 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
814 have been processed by mh-normalize-folder-name.
815 (mh-folder-completion-function): Handle completion of folders with
816 absolute names. Also, when flag is t, display complete folder name
817 to provide proper highlighting in Emacs 22 now that
818 minibuffer-completing-file-name is nil (closes SF #1470518).
819 (mh-folder-completing-read): No longer set
820 minibuffer-completing-file-name to t. This was causing "Can't set
821 current directory errors" when browsing absolute file names.
822 Another benefit of this change is that SPC can be used for
823 completion again (closes SF #1470518).
825 2006-04-15 Bill Wohler <wohler@newt.com>
827 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
829 2006-04-14 Bill Wohler <wohler@newt.com>
831 * mh-funcs.el (view-exit-action): No need to wrap defvar with
832 eval-when-compile when shushing compiler.
834 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
836 * mh-seq.el (view-exit-action): Ditto.
838 * mh-show.el (font-lock-auto-fontify): Ditto.
840 * mh-utils.el (mh-speed-flists-cache): Ditto.
842 * mh-acros.el (struct, x, y): No need to wrap defvar with
843 eval-when-compile when shushing compiler, even when
844 mh-do-in-xemacs or another construct is used.
846 * mh-comp.el (sendmail-coding-system): Ditto.
848 * mh-e.el (mark-active): Ditto.
850 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
851 (image-load-path, font-lock-defaults): Ditto.
853 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
855 * mh-mime.el (dots, type, ov)
856 (mm-verify-function-alist, mm-decrypt-function-alist)
857 (pressed-details): Ditto.
859 * mh-search.el (pick-folder, mh-do-in-xemacs)
860 (mh-mairix-folder, mh-flists-search-folders)
861 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
863 * mh-seq.el (tool-bar-mode): Ditto.
865 * mh-utils.el (completion-root-regexp)
866 (minibuffer-completing-file-name): Ditto.
868 * mh-xface.el (default-enable-multibyte-characters): Ditto.
870 * mh-compat.el (mh-font-lock-add-keywords): New alias for
871 font-lock-add-keywords. Returns nil on XEmacs.
873 * mh-e.el: Add MH-E function and variable keywords such as
874 mh-defun-compat and mh-defcustom to font-lock-keywords.
876 2006-04-13 Bill Wohler <wohler@newt.com>
878 * mh-e.el (customize-package-emacs-version-alist)
879 (mh-e, mh-alias, mh-folder, mh-folder-selection)
880 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
881 (mh-scan-line-formats, mh-search, mh-sending-mail)
882 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
883 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
884 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
885 (mh-alias-insert-file, mh-alias-insertion-location)
886 (mh-alias-local-users, mh-alias-local-users-prefix)
887 (mh-alias-passwd-gecos-comma-separator-flag)
888 (mh-new-messages-folders, mh-ticked-messages-folders)
889 (mh-large-folder, mh-recenter-summary-flag)
890 (mh-recursive-folders-flag, mh-sortm-args)
891 (mh-default-folder-for-message-function)
892 (mh-default-folder-list, mh-default-folder-must-exist-flag)
893 (mh-default-folder-prefix, mh-identity-list)
894 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
895 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
896 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
897 (mh-junk-program, mh-compose-insertion)
898 (mh-compose-skipped-header-fields)
899 (mh-compose-space-does-completion-flag)
900 (mh-delete-yanked-msg-window-flag)
901 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
902 (mh-letter-complete-function, mh-letter-fill-column)
903 (mh-mml-method-default, mh-signature-file-name)
904 (mh-signature-separator-flag, mh-x-face-file)
905 (mh-yank-behavior, mh-interpret-number-as-range-flag)
906 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
907 (mh-search-program, mh-compose-forward-as-mime-flag)
908 (mh-compose-letter-function, mh-compose-prompt-flag)
909 (mh-forward-subject-format, mh-insert-x-mailer-flag)
910 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
911 (mh-reply-show-message-flag)
912 (mh-refile-preserves-sequences-flag, mh-tick-seq)
913 (mh-update-sequences-after-mh-show-flag)
914 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
915 (mh-decode-mime-flag)
916 (mh-display-buttons-for-alternatives-flag)
917 (mh-display-buttons-for-inline-parts-flag)
918 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
919 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
920 (mh-highlight-citation-style, mh-invisible-header-fields)
921 (mh-invisible-header-fields-default, mh-lpr-command-format)
922 (mh-max-inline-image-height, mh-max-inline-image-width)
923 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
924 (mh-print-background-flag, mh-show-maximum-size)
925 (mh-show-use-xface-flag, mh-store-default-directory)
926 (mh-summary-height, mh-speed-update-interval)
927 (mh-show-threads-flag, mh-tool-bar-search-function)
928 (mh-defcustom, mh-after-commands-processed-hook)
929 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
930 (mh-before-quit-hook, mh-before-send-letter-hook)
931 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
932 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
933 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
934 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
935 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
936 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
937 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
938 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
939 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
940 (mh-folder-subject, mh-folder-tick, mh-folder-to)
941 (mh-letter-header-field, mh-search-folder, mh-show-cc)
942 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
943 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
944 (mh-show-subject, mh-show-to, mh-show-xface)
945 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
946 (mh-speedbar-selected-folder)
947 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
948 notation in :package-version keyword.
950 2006-04-07 Bill Wohler <wohler@newt.com>
952 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
953 :package-version keyword.
955 2006-03-31 Bill Wohler <wohler@newt.com>
957 * mh-e.el (mh-strip-package-version): Move before use to avoid
958 compiler error. Make macro, also to avoid compiler error.
959 (mh-defface-compat): Incorporate body into mh-face-data and
962 2006-03-30 Bill Wohler <wohler@newt.com>
964 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
965 remove new :package-version keyword in older settings.
966 (customize-package-emacs-version-alist): Add MH-E version to Emacs
968 (mh-e, mh-alias, mh-folder, mh-folder-selection)
969 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
970 (mh-scan-line-formats, mh-search, mh-sending-mail)
971 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
972 (mh-hooks, mh-faces): Add :package-version keyword to these
973 groups (closes SF #1452724).
974 (mh-alias-completion-ignore-case-flag)
975 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
976 (mh-alias-insert-file, mh-alias-insertion-location)
977 (mh-alias-local-users, mh-alias-local-users-prefix)
978 (mh-alias-passwd-gecos-comma-separator-flag)
979 (mh-new-messages-folders, mh-ticked-messages-folders)
980 (mh-large-folder, mh-recenter-summary-flag)
981 (mh-recursive-folders-flag, mh-sortm-args)
982 (mh-default-folder-for-message-function)
983 (mh-default-folder-list, mh-default-folder-must-exist-flag)
984 (mh-default-folder-prefix, mh-identity-list)
985 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
986 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
987 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
988 (mh-junk-program, mh-compose-insertion)
989 (mh-compose-skipped-header-fields)
990 (mh-compose-space-does-completion-flag)
991 (mh-delete-yanked-msg-window-flag)
992 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
993 (mh-letter-complete-function, mh-letter-fill-column)
994 (mh-mml-method-default, mh-signature-file-name)
995 (mh-signature-separator-flag, mh-x-face-file)
996 (mh-yank-behavior, mh-interpret-number-as-range-flag)
997 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
998 (mh-search-program, mh-compose-forward-as-mime-flag)
999 (mh-compose-letter-function, mh-compose-prompt-flag)
1000 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1001 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1002 (mh-reply-show-message-flag)
1003 (mh-refile-preserves-sequences-flag, mh-tick-seq)
1004 (mh-update-sequences-after-mh-show-flag)
1005 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1006 (mh-decode-mime-flag)
1007 (mh-display-buttons-for-alternatives-flag)
1008 (mh-display-buttons-for-inline-parts-flag)
1009 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1010 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1011 (mh-highlight-citation-style, mh-invisible-header-fields)
1012 (mh-invisible-header-fields-default, mh-lpr-command-format)
1013 (mh-max-inline-image-height, mh-max-inline-image-width)
1014 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
1015 (mh-print-background-flag, mh-show-maximum-size)
1016 (mh-show-use-xface-flag, mh-store-default-directory)
1017 (mh-summary-height, mh-speed-update-interval)
1018 (mh-show-threads-flag, mh-tool-bar-search-function):
1019 Add :package-version keyword to these options (closes SF #1452724).
1020 (mh-after-commands-processed-hook)
1021 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
1022 (mh-before-quit-hook, mh-before-send-letter-hook)
1023 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
1024 (mh-forward-hook, mh-inc-folder-hook)
1025 (mh-insert-signature-hook)
1026 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1027 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1028 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1029 (mh-unseen-updated-hook): Add :package-version keyword to these
1030 hooks (closes SF #1452724).
1031 (mh-min-colors-defined-flag)
1032 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
1033 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
1034 (mh-folder-msg-number, mh-folder-refiled)
1035 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1036 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1037 (mh-letter-header-field, mh-search-folder, mh-show-cc)
1038 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1039 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1040 (mh-show-subject, mh-show-to, mh-show-xface)
1041 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
1042 (mh-speedbar-selected-folder)
1043 (mh-speedbar-selected-folder-with-unseen-messages): : Add
1044 :package-version keyword to these faces (closes SF #1452724).
1046 * mh-tool-bar.el (mh-tool-bar-define): Add commented-out
1047 :package-version keywords (closes SF #1452724).
1049 2006-03-28 Bill Wohler <wohler@newt.com>
1051 * mh-tool-bar.el: Use clipboard-kill-region,
1052 clipboard-kill-ring-save, and clipboard-yank instead of undo,
1053 kill-region, and menu-bar-kill-ring-save respectively.
1054 In MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
1055 front of mh-compose-insertion to be consistent with other mailers,
1056 such as Evolution. In MH-Folder mode, move vanilla reply icon to
1057 the left of the other reply icons. Use mail/inbox icon instead of
1058 mail, next-page instead of page-down, delete instead of close,
1059 mail/move instead of mail/refile, data-save instead of execute,
1060 mail/flag-for-followup instead of highlight, contact instead of
1061 mail/alias, open instead of fld-open, zoom-out instead of widen.
1063 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
1064 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
1066 2006-03-27 Eric Ding <ericding@alum.mit.edu>
1068 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1069 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail).
1071 2006-03-19 Bill Wohler <wohler@newt.com>
1073 * mh-comp.el (mh-reply): Sync docstring with manual.
1075 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
1078 2006-03-17 Bill Wohler <wohler@newt.com>
1080 * mh-compat.el (mh-image-load-path-for-library): Minor docstring fix.
1082 2006-03-16 Bill Wohler <wohler@newt.com>
1084 * mh-comp.el (mh-send-letter): Use split-string to break up
1085 mh-send-args (closes SF #1448604).
1086 (mh-compose-and-send-mail): Use run-hook-with-args for
1087 mh-compose-letter-function.
1089 * mh-e.el (mh-list-to-string-1): Use dolist.
1091 * mh-compat.el (mh-image-load-path-for-library): Prefer user's images.
1093 2006-03-15 Bill Wohler <wohler@newt.com>
1095 * mh-compat.el (mh-image-load-path-for-library): Fix example by
1096 not recommending that one binds image-load-path. Just defvar it to
1097 placate compiler and only use it if previously defined.
1099 * mh-e.el (image-load-path): Don't bind!
1101 * mh-folder.el (mh-folder-mode): Only use image-load-path if
1104 * mh-letter.el (mh-letter-mode): Ditto.
1106 * mh-utils.el (mh-logo-display): Ditto.
1108 2006-03-14 Bill Wohler <wohler@newt.com>
1110 * mh-compat.el (mh-image-load-path-for-library):
1111 Incorporate changes from image-load-path-for-library, which are:
1112 (image-load-path-for-library): Pass value of path rather than
1113 symbol. Always return list of directories. Guarantee that image
1114 directory comes first.
1116 * mh-e.el (image-load-path): Define on those Emacsen that lack it
1117 to avoid compile and run-time errors.
1119 * mh-folder.el (mh-folder-mode): Use new idiom for setting
1122 * mh-letter.el (mh-letter-mode): Ditto.
1124 * mh-utils.el (mh-logo-display): Ditto.
1126 2006-03-12 Bill Wohler <wohler@newt.com>
1128 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
1131 2006-03-10 Bill Wohler <wohler@newt.com>
1133 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
1134 flag to replace-in-string. This was badly needed by
1135 mh-quote-pick-expr in order to properly quote subjects when using
1136 / s on XEmacs (closes SF #1447598).
1137 (mh-image-load-path-for-library): Merged changes from Reiner.
1138 Add no-error argument. If path t, just return directory.
1140 * mh-e.el (mh-profile-component): Drop `s' from mhparam
1141 -components for Mailutils compatibility (closes SF #1446985).
1143 2006-03-06 Bill Wohler <wohler@newt.com>
1145 * mh-e.el (Version, mh-version): Add +cvs to version.
1147 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
1149 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
1150 handling of duplicate messages. The test in cond was too strong
1151 and wasn't catching the case where origin-map was nil.
1153 2006-03-05 Bill Wohler <wohler@newt.com>
1155 Release MH-E version 7.93.
1157 * mh-e.el (Version, mh-version): Update for release 7.93.
1159 2006-03-05 Bill Wohler <wohler@newt.com>
1161 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
1162 calling mh-image-load-path-for-library since this is the default.
1164 * mh-letter.el (mh-letter-mode): Ditto.
1166 * mh-utils.el (mh-logo-display): Ditto.
1168 2006-03-04 Bill Wohler <wohler@newt.com>
1170 * mh-compat.el (mh-image-load-path-for-library): Move here from
1171 mh-utils.el and wrap with mh-defun-compat since this function will
1172 be soon added to image.el.
1174 * mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
1175 (mh-normalize-folder-name): Add return-nil-if-folder-empty
1176 argument which is useful when calling mh-normalize-folder-name to
1177 process the folder argument for the folders command.
1178 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
1179 this function more robust. It could too easily list the folders in /.
1180 (mh-folder-list): Fix a couple of problems pointed out by Thomas
1181 Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
1183 2006-03-03 Bill Wohler <wohler@newt.com>
1185 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
1186 mh-image-load-path-for-library.
1188 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
1189 mh-image-load-path-for-library.
1191 * mh-utils.el (mh-image-load-path): Rename to
1192 mh-image-load-path-for-library. Add example to docstring. Rename
1193 local variable mh-image-directory to image-directory. Move error
1194 checks to default case in cond and simplify.
1196 * mh-comp.el (mh-send-letter, mh-insert-auto-fields):
1197 Sync docstrings with manual.
1199 2006-03-02 Bill Wohler <wohler@newt.com>
1201 * mh-folder.el (mh-tool-bar-init): Autoload.
1202 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
1203 Set scoped variables image-load-path and load-path with updated
1204 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
1206 * mh-letter.el (mh-tool-bar-init): Autoload.
1207 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
1208 Set scoped variables image-load-path and load-path with updated
1209 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
1211 * mh-show.el (mh-tool-bar-init): Autoload.
1212 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
1215 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
1216 messages per conventions.
1217 (mh-tool-bar-folder-buttons-init)
1218 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
1219 (mh-tool-bar-define call): Format.
1221 * mh-utils.el (mh-image-directory)
1222 (mh-image-load-path-called-flag): Delete.
1223 (mh-image-load-path): Incorporate changes from Gnus team.
1224 Biggest changes are that it no longer uses/sets mh-image-directory or
1225 mh-image-load-path-called-flag, and returns the updated path
1226 rather than change it.
1227 (mh-logo-display): Change usage of mh-image-load-path.
1229 2006-02-28 Bill Wohler <wohler@newt.com>
1231 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
1232 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
1233 to subjects with special characters by quoting regular expression
1234 characters in pick expression derived from existing subjects and
1235 other fields (closes SF #1432548).
1236 (mh-narrow-to-subject): Remove Re: string from subject so that
1237 pick can find originating message (closes SF #1438369).
1239 * mh-utils.el (mh-image-load-path): Rename variable to
1241 (mh-image-load-path): Access mh-image-directory instead of
1243 (mh-folder-list): Fix problem with passing in a folder and getting
1244 nothing back. Fix problem with passing in empty string and getting
1245 the entire filesystem (or infinite loop). Don't append slash to
1246 folder. These fixes fix problems observed with the pick search.
1247 Thanks to Thomas Baumann for the help (closes SF #1435381).
1248 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
1249 function for quoting pick regular expression characters (closes SF
1252 2006-02-27 Bill Wohler <wohler@newt.com>
1254 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
1257 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
1258 docstring about obsolete variable mh-mime-content-types.
1260 * mh-e.el (mh-variant): Sync docstring with manual.
1261 (cus-face): Require as it is needed by mh-inherit-face-flag.
1263 * mh-compat.el (mh-display-color-cells): Return 2 if
1264 device-color-cells returns nil (closes SF #1436924).
1266 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
1267 mh-display-color-cells.
1269 2006-02-21 Eric Ding <ericding@alum.mit.edu>
1271 * mh-e.el (mh-invisible-header-fields-internal): Add entry
1274 2006-02-20 Eric Ding <ericding@alum.mit.edu>
1276 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1277 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
1278 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
1279 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
1280 "X-Roving-" by removing unnecessary "*" at end.
1282 2006-02-19 Bill Wohler <wohler@newt.com>
1284 * mh-alias.el (mh-address-mail-regexp)
1285 (mh-goto-address-find-address-at-point): Delete copies from
1287 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
1288 mh-address-mail-regexp.
1289 (mh-alias-add-address-under-point):
1290 Use goto-address-find-address-at-point instead of
1291 mh-goto-address-find-address-at-point.
1293 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
1295 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
1297 (mh-show-addr): Call goto-address unconditionally. User should use
1298 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
1300 2006-02-18 Bill Wohler <wohler@newt.com>
1302 * mh-e.el (Version, mh-version): Add +cvs to version.
1304 2006-02-18 Bill Wohler <wohler@newt.com>
1306 Release MH-E version 7.92.
1308 * mh-e.el (Version, mh-version): Update for release 7.92.
1310 2006-02-17 Bill Wohler <wohler@newt.com>
1312 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
1313 backgrounds per Mark's suggestion.
1315 * mh-utils.el (mh-image-load-path): Fix problem that images on
1316 load-path or image-load-path would win over relative paths (newer
1317 MH-E or Emacs distribution).
1319 2006-02-16 Bill Wohler <wohler@newt.com>
1321 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
1322 the defface :inherit keyword is available.
1323 (mh-face-data): New variable (contains all face specs) and
1324 function (accessor).
1325 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
1326 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
1327 (mh-folder-msg-number, mh-folder-refiled)
1328 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1329 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1330 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1331 (mh-show-date, mh-show-from)
1332 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
1333 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
1334 (mh-show-to, mh-show-xface, mh-speedbar-folder)
1335 (mh-speedbar-folder-with-unseen-messages)
1336 (mh-speedbar-selected-folder)
1337 (mh-speedbar-selected-folder-with-unseen-messages):
1340 * mh-utils.el (mh-image-load-path): The variables image-load-path
1341 or load-path would not get updated if user set mh-image-load-path.
1342 Moved tests and add-to-list calls outside of cond so they are
1343 applied consistently, even if they are redundant in some
1344 circumstances. Efficiency isn't a concern here. Made error
1345 messages more user-friendly.
1347 2006-02-15 Peter S Galbraith <psg@debian.org>
1349 * mh-compat.el (mh-image-search-load-path): Compatibility code.
1350 Emacs 21 and XEmacs don't have `image-search-load-path'.
1352 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
1353 images are already found.
1355 2006-02-10 Bill Wohler <wohler@newt.com>
1357 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
1358 rather than use defun*. XEmacs cannot create a proper autoload for
1361 2006-02-09 Bill Wohler <wohler@newt.com>
1363 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
1364 that causes an infinite loop on XEmacs.
1366 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
1369 2006-02-08 Peter S Galbraith <psg@debian.org>
1371 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1372 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash".
1374 2006-02-04 Bill Wohler <wohler@newt.com>
1376 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
1377 has an emacsclient command that supports --eval. I had read that
1378 gnudoit was deprecated in favor of gnuclient anyway.
1380 2006-02-04 Eric Ding <ericding@alum.mit.edu>
1382 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
1383 handle OpenOffice documents.
1385 2006-02-03 Bill Wohler <wohler@newt.com>
1387 * mh-e.el (Version, mh-version): Add +cvs to version.
1389 2006-02-03 Bill Wohler <wohler@newt.com>
1391 Release MH-E version 7.91.
1393 * mh-e.el (Version, mh-version): Update for release 7.91.
1395 2006-02-03 Bill Wohler <wohler@newt.com>
1397 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
1398 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
1399 of local variable mh-library-name.
1401 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
1402 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
1403 88) with (min-colors 64) in face specifications so that MH-E still
1404 looks good on systems with fewer colors (such as Eric Ding's).
1406 2006-02-03 Peter S Galbraith <psg@debian.org>
1408 * mh-utils.el (mh-image-load-path): New variable to optionally
1409 hold the directory where MH-E images are stored. If nil, then
1410 the function `mh-image-load-path' will find it. This variable
1411 will be used for Debian packaging.
1412 (mh-image-load-path function): Use variable `mh-image-load-path'
1413 if non-nil and exists.
1415 2006-02-03 Mark D. Baushke <mdb@gnu.org>
1417 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
1418 for GNU Emacs or XEmacs to avoid void-variable tool-bar-map lisp
1419 errors if describe-bindings is called before tool-bar-mode is used.
1421 2006-02-03 Peter S Galbraith <psg@debian.org>
1423 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
1424 `mh-url-unresrved-chars'.
1426 2006-02-02 Bill Wohler <wohler@newt.com>
1428 * mh-e.el (Version, mh-version): Add +cvs to version.
1430 2006-02-02 Bill Wohler <wohler@newt.com>
1432 Release MH-E version 7.90.
1434 * mh-e.el (Version, mh-version): Update for release 7.90.
1436 2006-02-01 Bill Wohler <wohler@newt.com>
1438 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
1440 * mh-alias.el (mh-alias-gecos-name):
1441 Use mh-replace-regexp-in-string instead of replace-regexp-in-string.
1442 (crm, multi-prompt): Use mh-require instead of require.
1443 (mh-goto-address-find-address-at-point):
1444 Use mh-line-beginning-position and mh-line-end-position instead of
1445 line-beginning-position and line-end-position.
1446 Use mh-match-string-no-properties instead of
1447 match-string-no-properties.
1449 * mh-comp.el (mh-modify-header-field):
1450 Use mh-line-beginning-position and mh-line-end-position instead of
1451 line-beginning-position and line-end-position.
1453 * mh-compat.el (mailabbrev): Use mh-require instead of require.
1454 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
1455 (mh-face-background): Make docstring consistent.
1456 (mh-require, mh-cancel-timer, mh-display-color-cells)
1457 (mh-line-beginning-position, mh-line-end-position)
1458 (mh-match-string-no-properties, mh-replace-regexp-in-string)
1459 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
1460 add mh- prefix since compatibility functions should have our
1461 package prefix (mh-) by Emacs convention and to avoid messing up
1462 checks for the same functions in other packages.
1464 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
1465 from mh-xemacs.el and rename.
1466 (mh-xargs): Use mh-line-beginning-position and
1467 mh-line-end-position instead of line-beginning-position and
1469 (mh-defface-compat): Use mh-display-color-cells instead of
1470 display-color-cells.
1472 * mh-folder.el (which-func): Use mh-require instead of require.
1474 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
1477 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml):
1478 Use mh-require instead of require.
1480 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
1481 (mh-letter-next-header-field): Use mh-line-beginning-position and
1482 mh-line-end-position instead of line-beginning-position and
1485 * mh-limit.el (mh-subject-to-sequence-unthreaded):
1486 Use mh-match-string-no-properties instead of
1487 match-string-no-properties.
1488 (mh-narrow-to-header-field): Use mh-line-beginning-position and
1489 mh-line-end-position instead of line-beginning-position and
1492 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
1493 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p):
1494 Use mh-line-beginning-position and mh-line-end-position instead of
1495 line-beginning-position and line-end-position.
1497 * mh-search.el (which-func): Use mh-require instead of require.
1498 (mh-make-pick-template, mh-index-visit-folder)
1499 (mh-pick-parse-search-buffer, mh-swish-next-result)
1500 (mh-mairix-next-result, mh-namazu-next-result)
1501 (mh-pick-next-result, mh-grep-next-result)
1502 (mh-index-create-imenu-index, mh-index-match-checksum)
1503 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps):
1504 Use mh-line-beginning-position and mh-line-end-position instead of
1505 line-beginning-position and line-end-position.
1507 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
1509 (mh-folder-size-flist, mh-parse-flist-output-line)
1510 (mh-add-sequence-notation): Use mh-line-beginning-position and
1511 mh-line-end-position instead of line-beginning-position and
1514 * mh-show.el (mh-show-addr): Use mh-require instead of require.
1516 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
1517 (mh-speed-view, mh-folder-speedbar-buttons)
1518 (mh-speed-highlight, mh-speed-goto-folder)
1519 (mh-speed-add-buttons, mh-speed-parse-flists-output)
1520 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
1521 (mh-speed-add-folder): Use mh-line-beginning-position and
1522 mh-line-end-position instead of line-beginning-position and
1524 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
1526 * mh-thread.el (mh-thread-find-children)
1527 (mh-thread-parse-scan-line, mh-thread-generate):
1528 Use mh-line-beginning-position and mh-line-end-position instead of
1529 line-beginning-position and line-end-position.
1531 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
1532 instead of display-color-cells.
1533 (mh-folder-list): Use mh-replace-regexp-in-string instead of
1534 replace-regexp-in-string.
1535 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
1536 Use mh-line-beginning-position and mh-line-end-position instead of
1537 line-beginning-position and line-end-position.
1539 * mh-comp.el (mh-send-sub): Don't find components file in current
1540 directory--this seems to have been a side-effect of commenting out
1541 the use of an old mh-etc variable. Improve error message.
1543 2006-01-31 Bill Wohler <wohler@newt.com>
1545 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
1546 argument since compatibility functions should have our package
1547 prefix (mh-) by Emacs convention and to avoid messing up checks
1548 for the same functions in other packages. Use explicit argument
1549 instead of forming name by adding mh- prefix so that one can grep
1550 and find the definition.
1552 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1553 (mh-alias-expand, mh-alias-minibuffer-confirm-address):
1554 Use mh-assoc-string instead of assoc-string.
1556 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
1557 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string):
1558 Move here from mh-utils.el.
1559 (mh-display-completion-list): Move here from mh-comp.el.
1560 (mh-face-foreground, mh-face-background): Move here from
1562 (mh-write-file-functions): Move here from mh-folder.el.
1564 * mh-folder.el (mh-write-file-functions-compat): Move to
1565 mh-compat.el and rename to mh-write-file-functions.
1566 (mh-folder-mode): Use the new name.
1568 * mh-gnus.el (gnus-local-map-property): Rename to
1569 mh-gnus-local-map-property.
1570 (mm-merge-handles): Rename to mh-mm-merge-handles.
1571 (mm-set-handle-multipart-parameter): Rename to
1572 mh-mm-set-handle-multipart-parameter.
1573 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
1574 (mm-possibly-verify-or-decrypt): Rename to
1575 mh-mm-possibly-verify-or-decrypt.
1576 (mm-handle-multipart-ctl-parameter): Rename to
1577 mh-mm-handle-multipart-ctl-parameter.
1578 (mm-readable-p): Rename to mh-mm-readable-p.
1579 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1580 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1581 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1582 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1583 (mml-minibuffer-read-disposition): Rename to
1584 mh-mml-minibuffer-read-disposition.
1586 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1587 instead of assoc-string.
1589 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1590 (mh-mime-display, mh-mime-display-security)
1591 (mh-insert-mime-button, mh-insert-mime-security-button)
1592 (mh-handle-set-external-undisplayer)
1593 (mh-mime-security-press-button, mh-mime-security-show-details)
1594 (mh-mml-attach-file, mh-mime-cleanup)
1595 (mh-destroy-postponed-handles): Use new mh-* names for
1596 compatibility functions.
1598 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1599 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1600 (mh-beginning-of-word): Use the new name.
1601 (mh-get-field): Delete ancient alias.
1603 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1604 and rename to mh-face-foreground.
1605 (mh-face-background-compat): Move to mh-compat.el
1606 and rename to mh-face-background.
1607 (mh-face-display-function): Use the new names.
1608 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1609 instead of url-hexify-string.
1610 (url-unreserved-chars): Move to mh-compat.el and rename to
1611 mh-url-unreserved-chars.
1612 (url-hexify-string): Move to mh-compat.el and rename to
1613 mh-url-hexify-string.
1615 * mh-letter.el (mh-complete-word): Fix bug in call to
1616 mh-display-completion-list. Wrong argument was passed, so
1617 completions wouldn't show highlighted prefix.
1619 2006-01-29 Bill Wohler <wohler@newt.com>
1621 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1622 mh-adaptive-cmd-note-flag.
1624 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1625 docstring. sc-cite-original is autoloaded via loaddefs.el for all
1626 supported versions. In addition, the package name "sc" has been
1627 made obsolete by "supercite since at least Emacs 21.
1629 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1630 revealed character constants that were still strings (closes SF
1633 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1634 (mh-get-header-field): Move to mh-utils.el so that you can read
1635 messages without having to load mh-comp.el and mh-letter.el.
1637 * mh-letter.el (mh-hidden-header-keymap)
1638 (mh-letter-toggle-header-field-display)
1639 (mh-letter-skipped-header-field-p)
1640 (mh-letter-skip-leading-whitespace-in-header-field)
1641 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1642 can read messages without having to load mh-comp.el and
1645 * mh-utils.el (mh-get-header-field)
1646 (mh-letter-hide-all-skipped-fields)
1647 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1648 (mh-letter-toggle-header-field-display)
1649 (mh-letter-skip-leading-whitespace-in-header-field)
1650 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1651 mh-letter.el so that you can read messages without having to load
1652 mh-comp.el and mh-letter.el.
1654 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
1655 least, will deliver them to us.
1657 * mh-e.el (mh-after-commands-processed-hook)
1658 (mh-before-commands-processed-hook): Specify what sort of requests
1661 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1664 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1666 (mh-letter-mode): Remove Mail menu.
1668 2006-01-29 Bill Wohler <wohler@newt.com>
1671 Remove circular dependencies. mh-e.el now includes few require
1672 statements and stands alone. Other files should need to require
1673 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1675 Remove unneeded require statements.
1676 Remove unneeded load statements, or replace them with non-fatal
1678 Break out components into their own files that were often spread
1680 As a result, many functions that are now only used within a single
1681 file no longer need to be autoloaded.
1682 Rearrange and provide consistent headings.
1685 * mh-acros.el: Update commentary to reflect current usage.
1686 Add autoload cookies to all macros.
1687 (mh-require-cl): Merge docstring and comment.
1688 (mh-do-in-xemacs): Fix typo in docstring.
1689 (assoc-string): Move to new file mh-compat.el.
1690 (with-mh-folder-updating, mh-in-show-buffer)
1691 (mh-do-at-event-location, mh-seq-msgs): Move here from mh-utils.el.
1692 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1695 * mh-alias.el (mh-address-mail-regexp)
1696 (mh-goto-address-find-address-at-point): Move here from mh-utils.el.
1697 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1699 * mh-buffers.el: Update descriptive text.
1701 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1702 new file mh-scan.el.
1703 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1704 (mh-letter-menu, mh-letter-mode-help-messages)
1705 (mh-letter-buttons-init-flag, mh-letter-mode)
1706 (mh-font-lock-field-data, mh-letter-header-end)
1707 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1708 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1709 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1710 (mh-filter-out-non-text, mh-insert-prefix-string)
1711 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1712 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1713 (mh-letter-complete, mh-letter-complete-or-space)
1714 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1715 (mh-letter-next-header-field-or-indent)
1716 (mh-letter-next-header-field, mh-letter-previous-header-field)
1717 (mh-letter-skipped-header-field-p)
1718 (mh-letter-skip-leading-whitespace-in-header-field)
1719 (mh-hidden-header-keymap)
1720 (mh-letter-toggle-header-field-display-button)
1721 (mh-letter-toggle-header-field-display)
1722 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1724 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1725 (mh-pgp-support-flag, mh-x-mailer-string)
1726 (mh-letter-header-field-regexp): Move to mh-e.el.
1727 (mh-goto-header-field, mh-goto-header-end)
1728 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1730 (mh-insert-header-separator): Move to mh-comp.el.
1731 (mh-display-completion-list-compat): Move to new file
1734 * mh-compat.el: New file.
1735 (assoc-string): Move here from mh-acros.el.
1736 (mh-display-completion-list): Move here from mh-comp.el.
1738 * mh-customize.el: Move content into mh-e.el and remove.
1740 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1741 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1742 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1743 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1744 declared here so that they can be used in docstrings.
1745 (mh-sent-from-folder, mh-sent-from-msg)
1746 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1747 (mh-x-mailer-string): Move here from mh-comp.el.
1748 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1749 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack):
1750 Move here from mh-seq.el.
1751 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1752 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1753 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1754 (mh-show-folder-buffer, mh-mail-header-separator)
1755 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1756 (mh-signature-separator, mh-signature-separator-regexp)
1757 (mh-list-to-string, mh-list-to-string-1): Move here from
1759 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1760 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1761 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1762 (mh-exec-cmd-output)
1763 (mh-exchange-point-and-mark-preserving-active-mark)
1764 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1765 deprecated file mh-exec.el.
1766 (mh-path): Move here from deprecated file mh-customize.el.
1767 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1768 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1769 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1770 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1771 (mh-profile-component-value, mh-defface-compat): Move here from
1772 deprecated file mh-init.el.
1773 (mh-goto-next-button, mh-folder-mime-action)
1774 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1775 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1777 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1778 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1779 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1780 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1781 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1782 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1783 (mh-scan-cmd-note-width, mh-scan-destination-width)
1784 (mh-scan-date-width, mh-scan-date-flag-width)
1785 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1786 (mh-scan-field-destination-offset)
1787 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1788 (mh-scan-field-subject-start-offset, mh-scan-format)
1789 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1791 (mh-partial-folder-mode-line-annotation)
1792 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1793 (mh-generate-sequence-font-lock, mh-last-destination)
1794 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1795 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1796 (mh-execute-commands, mh-first-msg, mh-header-display)
1797 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1798 (mh-folder-from-address, mh-prompt-for-refile-folder)
1799 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1800 (mh-previous-page, mh-previous-undeleted-msg)
1801 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1802 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1803 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1804 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1805 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1806 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1807 (mh-folder-sequence-menu, mh-folder-message-menu)
1808 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1809 (mh-write-file-functions-compat, mh-folder-mode)
1810 (mh-restore-desktop-buffer, mh-scan-folder)
1811 (mh-regenerate-headers, mh-generate-new-cmd-note)
1812 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1813 (mh-process-or-undo-commands, mh-process-commands)
1814 (mh-update-unseen, mh-delete-scan-msgs)
1815 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1816 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1817 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1818 (mh-lessp): Move to mh-utils.el.
1819 (mh-parse-flist-output-line, mh-folder-size-folder)
1820 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1821 (mh-remove-sequence-notation, mh-remove-cur-notation)
1822 (mh-remove-all-notation, mh-delete-seq-locally)
1823 (mh-read-folder-sequences, mh-read-msg-list)
1824 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1825 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1826 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1827 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1829 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1830 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1831 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1832 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1833 (mh-faces, mh-alias-completion-ignore-case-flag)
1834 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1835 (mh-alias-insert-file, mh-alias-insertion-location)
1836 (mh-alias-local-users, mh-alias-local-users-prefix)
1837 (mh-alias-passwd-gecos-comma-separator-flag)
1838 (mh-new-messages-folders, mh-ticked-messages-folders)
1839 (mh-large-folder, mh-recenter-summary-flag)
1840 (mh-recursive-folders-flag, mh-sortm-args)
1841 (mh-default-folder-for-message-function, mh-default-folder-list)
1842 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1843 (mh-identity-list, mh-auto-fields-list)
1844 (mh-auto-fields-prompt-flag, mh-identity-default)
1845 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1846 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1847 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1848 (mh-compose-insertion, mh-compose-skipped-header-fields)
1849 (mh-compose-space-does-completion-flag)
1850 (mh-delete-yanked-msg-window-flag)
1851 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1852 (mh-letter-complete-function, mh-letter-fill-column)
1853 (mh-mml-method-default, mh-signature-file-name)
1854 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1855 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1856 (mh-scan-format-file-check, mh-scan-format-file)
1857 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1858 (mh-search-program, mh-compose-forward-as-mime-flag)
1859 (mh-compose-letter-function, mh-compose-prompt-flag)
1860 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1861 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1862 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1863 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1864 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1865 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1866 (mh-display-buttons-for-inline-parts-flag)
1867 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1868 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1869 (mh-highlight-citation-style)
1870 (mh-invisible-header-fields-internal)
1871 (mh-delay-invisible-header-generation-flag)
1872 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1873 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1874 (mh-lpr-command-format, mh-max-inline-image-height)
1875 (mh-max-inline-image-width, mh-mhl-format-file)
1876 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1877 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1878 (mh-show-use-xface-flag, mh-store-default-directory)
1879 (mh-summary-height, mh-speed-update-interval)
1880 (mh-show-threads-flag, mh-tool-bar-search-function)
1881 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1882 (mh-before-commands-processed-hook, mh-before-quit-hook)
1883 (mh-before-send-letter-hook, mh-delete-msg-hook)
1884 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1885 (mh-inc-folder-hook, mh-insert-signature-hook)
1886 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1887 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1888 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1889 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1890 (mh-folder-address, mh-folder-body)
1891 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1892 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1893 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1894 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1895 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1896 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1897 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1898 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1899 (mh-speedbar-folder-with-unseen-messages)
1900 (mh-speedbar-selected-folder)
1901 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1902 deprecated file mh-customize.el.
1904 * mh-exec.el: Move content into mh-e.el and remove.
1906 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el.
1908 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1910 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1912 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1913 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1914 to mail-abbrev-make-syntax-table.
1916 * mh-identity.el (mh-identity-menu): New variable for existing
1918 (mh-identity-make-menu-no-autoload): New alias for
1919 mh-identity-make-menu which can be called from mh-e.el.
1920 (mh-identity-list-set): Move to mh-e.el.
1921 (mh-identity-add-menu): New function.
1922 (mh-insert-identity): Add optional argument maybe-insert so that
1923 local variable mh-identity-local does not have to be visible.
1925 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1926 rest of keymaps). Update key binding for ? to call mh-help with
1927 help messages in new argument.
1928 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1929 which can be called from mh-e.el.
1930 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1932 * mh-init.el: Move content into mh-e.el and remove.
1934 * mh-junk.el: Update requires, untabify, and add mh-autoload
1937 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1939 * mh-limit.el: New file. Contains display limit commands from
1942 * mh-mime.el: Rearrange for consistency with other files.
1943 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1945 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1946 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1947 (mh-goto-next-button): Move here from mh-e.el.
1949 * mh-print.el: Rearrange for consistency with other files.
1951 * mh-scan.el: New file. Contains scan line constants and utilities
1952 from XXX, mh-funcs, mh-utils.el.
1954 * mh-search.el: Rearrange for consistency with other files.
1955 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1956 fields which don't exist in the saved header. Replace C-c C-f f
1957 with C-c C-f m per mail-mode consistency.
1958 (mh-search-mode): Use mh-set-help instead of setting
1961 * mh-seq.el (mh-thread-message, mh-thread-container)
1962 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1963 (mh-thread-id-index-map, mh-thread-index-id-map)
1964 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1965 (mh-thread-subject-container-hash, mh-thread-duplicates)
1966 (mh-thread-history, mh-thread-body-width)
1967 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1968 (mh-thread-initialize, mh-thread-id-container)
1969 (mh-thread-remove-parent-link, mh-thread-add-link)
1970 (mh-thread-ancestor-p, mh-thread-get-message-container)
1971 (mh-thread-get-message, mh-thread-canonicalize-id)
1972 (mh-thread-prune-subject, mh-thread-container-subject)
1973 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1974 (mh-thread-sort-containers, mh-thread-group-by-subject)
1975 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1976 (mh-thread-update-id-index-maps, mh-thread-generate)
1977 (mh-thread-inc, mh-thread-generate-scan-lines)
1978 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1979 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1980 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1981 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1982 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1983 (mh-thread-ancestor, mh-thread-find-children)
1984 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile):
1985 Move to new file mh-thread.el.
1986 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1987 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1988 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1989 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1990 (mh-current-message-header-field, mh-narrow-to-range)
1991 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1993 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1995 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1996 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1997 (mh-define-sequence, mh-undefine-sequence)
1998 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1999 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
2000 (mh-parse-flist-output-line, mh-read-folder-sequences)
2001 (mh-read-msg-list, mh-notate-user-sequences)
2002 (mh-remove-cur-notation, mh-add-sequence-notation)
2003 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
2005 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
2006 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
2008 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
2010 * mh-speed.el: Rearrange for consistency with other files.
2012 * mh-thread.el: New file. Contains threading code from mh-seq.el.
2014 * mh-tool-bar.el: New file. Contains tool bar creation code from
2015 deprecated file mh-customize.el.
2017 * mh-utils.el (recursive-load-depth-limit): Remove setting.
2019 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
2020 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
2021 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
2022 (mh-update-scan-format, mh-msg-num-width): Move to new file
2024 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
2025 (mh-header-field-font-lock, mh-header-to-font-lock)
2026 (mh-header-cc-font-lock, mh-header-subject-font-lock)
2027 (mh-show-font-lock-keywords)
2028 (mh-show-font-lock-keywords-with-cite)
2029 (mh-show-font-lock-fontify-region)
2030 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
2031 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
2032 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
2033 (mh-show-sequence-menu, mh-show-message-menu)
2034 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
2035 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
2036 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
2038 (mh-mail-header-separator, mh-signature-separator-regexp)
2039 (mh-signature-separator, mh-globals-hash, mh-user-path)
2040 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
2041 (mh-previous-window-config, mh-current-folder mh-show-buffer)
2042 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
2043 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
2044 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
2045 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
2046 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
2047 Move to mh-alias.el.
2048 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
2049 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
2050 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
2051 Move to new file mh-folder.el.
2052 (with-mh-folder-updating, mh-in-show-buffer)
2053 (mh-do-at-event-location, mh-seq-msgs): Move to mh-acros.el.
2054 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
2055 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
2057 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
2058 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
2059 (mh-face-background-compat, mh-face-display-function)
2060 (mh-show-xface, mh-picon-directory-list)
2061 (mh-picon-existing-directory-list)
2062 (mh-picon-cache, mh-picon-image-types)
2063 (mh-picon-set-directory-list, mh-picon-get-image)
2064 (mh-picon-file-contents, mh-picon-generate-path)
2065 (mh-x-image-cache-directory, mh-x-image-scaling-function)
2066 (mh-wget-executable, mh-wget-choice, mh-wget-option)
2067 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
2068 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
2069 (mh-x-image-scale-with-convert)
2070 (url-unreserved-chars, url-hexify-string)
2071 (mh-x-image-url-cache-canonicalize)
2072 (mh-x-image-set-download-state, mh-x-image-get-download-state)
2073 (mh-x-image-url-fetch-image, mh-x-image-display)
2074 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
2075 (mh-x-image-url-display): Move to new file mh-xface.el.
2076 (mh-logo-display): Call mh-image-load-path.
2077 (mh-find-path-run, mh-find-path): Move here from deprecated file
2079 (mh-help-messages): Now an alist of modes to an alist of messages.
2080 (mh-set-help): New function used to set mh-help-messages.
2081 (mh-help): Adjust for new format of mh-help-messages.
2082 Add help-messages argument.
2083 (mh-prefix-help): Refactor to use mh-help.
2084 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
2086 (mh-clear-sub-folders-cache): New function added to avoid exposing
2087 mh-sub-folders-cache variable.
2089 * mh-xface.el: New file. Contains X-Face and Face header field
2090 display routines from mh-utils.el.
2092 2006-01-17 Bill Wohler <wohler@newt.com>
2094 * mh-acros.el (assoc-string): Fix typo in argument.
2096 2006-01-16 Bill Wohler <wohler@newt.com>
2098 * mh-acros.el (require): Remove defadvice of require as defadvice
2099 is verboten within Emacs and our implementation was returning the
2100 wrong value from require. Upcoming restructuring should make this
2102 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
2104 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
2105 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
2107 * mh-identity.el (mh-identity-field-handler): Use it.
2109 * mh-comp.el (mh-show-buffer-message-number): Replace (car
2110 (read-from-string string) with (string-to-number string).
2112 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
2115 * mh-mime.el (mh-mml-forward-message): Ditto.
2117 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
2118 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
2119 (mh-openssl-parser, mh-index-update-maps): Ditto.
2121 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
2122 (mh-thread-generate): Ditto.
2124 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
2126 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
2127 mm- functions for proper text=flowed handling (addresses SF
2130 2006-01-15 Bill Wohler <wohler@newt.com>
2132 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
2133 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
2136 * mh-utils.el (mh-show-limit-map): Ditto.
2138 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
2140 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
2142 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
2143 where they are used.
2145 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
2146 needed to help remove dependency on mh-utils.
2148 * mh-exec.el: New file. Move process support routines here from
2151 * mh-init.el (mh-utils): Remove require.
2152 (mh-exec): Add require.
2153 (mh-profile-component, mh-profile-component-value): Move here from
2156 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
2157 dependencies on mh-utils.el.
2158 (mh-profile-component, mh-profile-component-value): Move to
2159 mh-init.el since that's the only place that uses them. (Other than
2160 mh-alias.el; I'm thinking that mh-find-path can set variable from
2161 the Aliasfile component like it does the other components).
2162 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
2163 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
2164 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
2165 (defvar, mh-exec-cmd-output)
2166 (mh-exchange-point-and-mark-preserving-active-mark)
2167 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
2168 file mh-exec.el so that mh-init.el doesn't have to depend on
2169 mh-utils.el, breaking circular dependency.
2183 * mh-speed.el: Added debugging statements (commented out) around
2184 requires to help find dependency loops. Will remove them when
2185 issues are resolved.
2187 2006-01-14 Bill Wohler <wohler@newt.com>
2189 * mh-customize.el (mh-index): Rename group to mh-search and sort
2190 group definition and options accordingly.
2191 (mh-index-program): Rename to mh-search-program.
2192 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
2194 (mh-search-mode-hook): Change group from mh-index to mh-search.
2195 (mh-index-folder): Rename to mh-search-folder. Change group from
2196 mh-index to mh-search.
2198 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
2199 to mh-search-folder.
2201 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
2202 pick and grep are searchers too but aren't indexed.
2203 (mh-index-execute-search-function): Rename to mh-search-function.
2204 (mh-index-next-result-function): Rename to
2205 mh-search-next-result-function.
2206 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
2207 (mh-search): Since redo-search-flag defaults to nil and is of
2208 lesser importance, make it an optional argument and place it after
2209 the folder and search-regexp arguments. Sync docstring with manual.
2210 (mh-search-mode-map): Autoload so that keys are shown in help even
2211 before mh-search is loaded.
2212 (mh-search-mode): Sync docstring with manual.
2213 (mh-index-do-search): Rename argument indexer to searcher.
2214 Sync docstring with manual.
2215 (mh-pick-do-search): Sync docstring with manual.
2216 (mh-index-p): Rename to mh-search-p.
2217 (mh-indexer-choices): Rename to mh-search-choices.
2218 (mh-index-choose): Rename to mh-search-choose. Rename argument
2219 indexer to searcher.
2220 (mh-swish++-execute-search, mh-swish-execute-search)
2221 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
2222 read the results" from docstring since these functions don't.
2223 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
2225 (mh-index-generate-pretty-name): Prune -search from string so that
2226 folder names for pick searches are the same as those of other
2229 2006-01-13 Bill Wohler <wohler@newt.com>
2231 * mh-acros.el (require): Add Satyaki's comment regarding what
2232 needs to happen to remove this defadvice which caused a little
2233 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
2234 advices `require' incorrectly).
2236 * mh-search.el (mh-index-next-result-function): Add format to
2238 (mh-mairix-next-result): Use nil instead of () which doesn't stand
2240 (mh-pick-execute-search): Operate across all folders if no folder
2241 given and recurse folder(s).
2242 (mh-pick-next-result): Handle new output.
2244 * mh-utils.el (mh-collect-folder-names): Fix docstring.
2245 (mh-children-p, mh-folder-list): New functions.
2247 2006-01-12 Bill Wohler <wohler@newt.com>
2249 * mh-search.el: New file containing contents of mh-index.el and
2250 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
2251 pick. Pick no longer sets the "search" sequence. Instead, it
2252 brings up a folder view that we're accustomed to. (Closes SF
2254 (mh-index-search): Rename to mh-search.
2255 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
2256 the Search to Perform Search and call mh-do-search. Add Search
2257 with Pick menu item.
2258 (mh-do-search): Delete.
2259 (mh-search-mode): Rename from mh-pick-mode.
2260 (MH-Search): Rename mode from MH-Pick.
2261 (mh-search-mode-map): Rename from mh-pick-mode-map.
2262 (mh-search-mode-help-messages): Rename from
2263 mh-pick-mode-help-messages.
2264 (mh-index-choose): Don't reuse the last value of mh-indexer; when
2265 mh-pick-do-search sets it to 'pick, we don't necessarily want to
2266 stay with that choice!
2269 * mh-pick.el: Merge into mh-search.el and delete.
2271 * mh-customize.el (mh-index-program): Change mh-index-search to
2272 mh-search in docstring.
2273 (mh-tool-bar-search-function): Change default from
2274 mh-search-folder to mh-search. Remove mh-search-folder as choice
2275 and rename mh-index-search choice to mh-search. Fix docstring.
2276 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
2277 mh-search-folder to mh-search in docstring.
2279 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
2280 Indexed Search to Search. Use mh-search instead of mh-index-search.
2281 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
2282 from mh-show-search-folder to mh-search.
2284 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
2285 mh-search-folder no longer creates the search sequence.
2287 * mh-utils.el (mh-show-search-folder): Delete.
2288 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
2289 Change s from mh-show-search-folder to mh-search.
2290 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
2291 Search to Search. Use mh-search instead of mh-index-search.
2292 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell):
2293 Move here from deleted mh-index.el.
2295 2006-01-11 Bill Wohler <wohler@newt.com>
2297 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
2300 * mh-gnus.el: Require mh-acros.
2301 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
2303 * mh-utils.el (mh-x-image-url-cache-canonicalize):
2304 Use url-hexify-string to remove special characters from filenames
2305 (closes SF #1396499). Note that this invalidates the existing
2306 names in your cache so you might as well remove
2307 ~/Mail/.mhe-x-image-cache/* now.
2308 (url-unreserved-chars, url-hexify-string): Define if not defined.
2309 Copied from url-util.el in Emacs22 for Emacs 21.
2311 * mh-buffers.el: New file. Contains constants and code from
2312 mh-index.el and mh-utils.el.
2322 * mh-seq.el: Require new file mh-buffers.el.
2324 * mh-index.el: Require new file mh-buffers.el.
2325 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
2328 * mh-utils.el: Require new file mh-buffers.el.
2329 (mh-temp-buffer, mh-temp-fetch-buffer)
2330 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
2331 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
2332 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
2333 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
2335 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
2336 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
2338 2006-01-10 Bill Wohler <wohler@newt.com>
2340 * mh-comp.el (mh-insert-letter): If you choose a different folder,
2341 the cur message is used. Sync docstring with manual (closes SF
2344 * mh-mime.el (mh-compose-forward): Use standard range argument
2345 instead of messages. Use more powerful mh-read-range instead of
2346 read-string. Sync docstring with manual (close SF #1205890).
2348 * mh-index.el (mh-index-search): Checking mh-find-path-run is
2350 (mh-index-next-folder): Don't back up a line when going backwards
2351 since this skips the current folder heading if point is on the
2352 first message after the folder heading (closes SF #1126188).
2354 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses it.
2355 (mh-variants): Note variable isn't meant to be accessed directly;
2356 use function mh-variants instead.
2357 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
2358 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
2359 them. Updated to use mh-file-command-p which is more accurrate
2360 than file-executable-p which returns t for directories.
2361 (mh-file-command-p): Move here from mh-utils, since
2362 mh-variant-*-info are the only functions to use it.
2363 (mh-variant-set, mh-variant-set-variant, mh-variant-p):
2364 Use function mh-variants instead of variable. More robust.
2365 (mh-find-path-run): Move here from mh-utils.el. Mention that
2366 checking this variable is unnecessary.
2367 (mh-find-path): Move here from mh-utils.el. With the advent of MH
2368 variants and an mhparam command that doesn't work if there isn't
2369 an MH profile, we can't get libdir for running install-mh.
2370 So don't bother. If there's an issue with the environment, direct the
2371 user to install MH and run install-mh (closes SF #835192).
2372 Don't read ~/.mh_profile directly. Use mh-profile-component which uses
2373 mhparam (closes SF #1016027).
2375 * mh-utils.el (mh-get-profile-field): Rename to
2376 mh-profile-component-value. Add colon to search removing
2377 unnecessary addition of colon to field in mh-profile-component.
2378 (mh-profile-component): Modify call to mh-profile-component-value
2379 accordingly. Move next to mh-profile-component-value.
2380 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
2381 mh-init.el. It makes sense that code that is only run once per
2382 session (more or less) is in mh-init.el rather than cluttering
2384 (mh-no-install, mh-install): Delete.
2386 * mh-customize.el (mh-folder-msg-number):
2387 * mh-mime.el (mh-file-mime-type): Remove trailing whitespace.
2389 2006-01-09 Bill Wohler <wohler@newt.com>
2391 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info):
2392 Applied patch from Satyaki from SF #1016027.
2394 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
2395 message, even if cur sequence is no longer present (closes SF
2398 * mh-comp.el: Use ";; Shush compiler." comment consistently per
2400 (mh-letter-mode): Derive from mail-mode and delete code copied
2401 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
2403 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
2404 (mh-to-field-choices): For consistency with mail-mode, add "a" for
2405 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
2406 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
2407 (mh-to-fcc): Move setting of folder argument to interactive
2408 argument as is the norm.
2409 (mh-letter-complete-function-alist): Add mail-reply-to.
2410 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
2411 Mail-Followup-To, Reply-To, From).
2413 * mh-customize.el: Use ";; Forward definition." consistently.
2414 Comment declaration to remind programmer to update forward
2415 definition if default changes.
2422 * mh-utils.el: Use ";; Shush compiler." comment consistently per
2425 2006-01-08 Bill Wohler <wohler@newt.com>
2427 Removed code that was marked as Emacs 20 compatible that was
2428 easily found showing how important it is to document such
2429 things (closes SF #1359240). Feel free to nuke any other Emacs 20
2430 peculiarities that you find. Wrapped code for shushing compiler
2431 with (eval-when-compile), sometimes moving the defvars closer to
2432 where they were used.
2434 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
2435 instead of mh-replace-in-string as mh-replace-in-string was
2436 replaced by a more appropriate defsubst in mh-xemacs.el.
2438 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
2440 (mh-file-is-vcard-p): Remove redundant test.
2442 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
2443 with eval-when-compile.
2444 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
2445 (mh-invisible-header-fields-default): Add forward definitions.
2446 (mh-invisible-header-fields-default): Alphabetize.
2448 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
2450 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
2452 (mh-colors-available-p): Just call display-color-cells. It's on
2453 all supported Emacsen (and defaliased on XEmacs).
2457 * mh-init.el: Wrap compiler-shushing defvars with
2460 * mh-identity.el: Don't need (mh-require-cl).
2462 * mh-index.el: Don't need to load executable any more.
2464 * mh-mime.el: Wrap compiler-shushing defvars with
2466 (mh-have-file-command): Initialize variable to 'undefined.
2467 Add docstring. Update function of same name accordingly. Also don't
2468 need to load executable any more.
2469 (mh-mime-content-types): Delete.
2470 (mh-minibuffer-read-type): Prompt user for type if
2471 mh-file-mime-type returns application/octet-stream. Assume we have
2473 (mh-mime-display): Update error message.
2475 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
2476 with eval-when-compile.
2478 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
2479 with eval-when-compile.
2480 (mh-clean-msg-header): Don't set after-change-functions to nil.
2481 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
2484 2006-01-07 Bill Wohler <wohler@newt.com>
2486 * mh-customize.el: Updated Faces documentation in header.
2487 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
2488 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
2490 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
2491 tags inserted by Gnus gnus-summary-mail-forward (closes SF
2494 2006-01-03 Mark D. Baushke <mdb@gnu.org>
2496 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
2497 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
2499 2006-01-03 Bill Wohler <wohler@newt.com>
2501 * mh-alias.el (mh-alias-add-alias): Grand message and error string
2502 unification. Use single sentence if possible by using semicolon.
2503 Don't end message with punctuation. Don't need format with
2504 message. Quote messages as in docstrings: use `' around symbols,
2505 \" for option choices. Don't use quotes around %s.
2507 * mh-comp.el (mh-complete-word): Ditto.
2509 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
2510 (mh-scan-format-file-check): Ditto.
2512 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
2513 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
2514 (mh-msg-num-width-to-column): Ditto.
2516 * mh-identity.el (mh-identity-field-handler): Ditto.
2518 * mh-index.el (mh-mairix-execute-search)
2519 (mh-swish-execute-search, mh-swish++-execute-search)
2520 (mh-namazu-execute-search): Ditto.
2522 * mh-init.el (mh-variant-set): Ditto.
2524 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
2525 (mh-secure-message, mh-mime-display): Ditto.
2527 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
2529 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
2530 (mh-read-range, mh-thread-container-subject): Ditto.
2532 * mh-utils.el (mh-x-image-scale-and-display)
2533 (mh-prompt-for-folder, mh-handle-process-error)
2534 (mh-list-to-string-1): Ditto.
2536 * mh-comp.el (mh-reply): Use standard default notation in
2537 prompts (closes SF #1275933).
2539 * mh-mime.el (mh-mime-save-parts): Ditto.
2541 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
2543 * mh-customize.el (mh-folder-msg-number): Snow is actually
2544 off-white on low color displays which turns to white when bold.
2545 This is unreadable on white backgrounds. Use snow with min-colors
2546 requirement. Use cyan on low-color displays.
2548 * mh-init.el (mh-defface-compat): On low-color displays, delete
2549 the high-color display rather than simply strip the min-colors
2550 requirement since the existing algorithm shadowed the desired
2551 display on low-color displays.
2553 * mh-alias.el (mh-alias-add-alias): Remove leading * from
2556 2006-01-02 Bill Wohler <wohler@newt.com>
2558 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
2559 docstring. Does this mean something in a defun?
2561 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
2564 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
2565 so it reads better in docstring and manual. Sync docstring with
2568 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
2570 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
2572 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
2573 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
2574 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2575 (mh-letter-complete-or-space, mh-letter-confirm-address)
2576 (mh-letter-next-header-field-or-indent)
2577 (mh-letter-previous-header-field): Ditto.
2579 * mh-customize.el (mh-alias-completion-ignore-case-flag)
2580 (mh-default-folder-for-message-function, mh-mml-method-default)
2581 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2582 (mh-show-mode-hook) Ditto.
2584 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2586 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2587 (mh-store-msg, mh-store-buffer): Ditto.
2589 * mh-index.el (mh-index-search, mh-index-do-search)
2590 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2592 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2594 * mh-mime.el (mh-mh-compose-external-compressed-tar)
2595 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2596 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2597 (mh-mml-secure-message-signencrypt): Ditto.
2599 * mh-pick.el (mh-search-folder): Ditto.
2601 * mh-seq.el (mh-widen): Ditto.
2603 * mh-utils.el (mh-show, mh-modify): Ditto.
2605 2006-01-02 Mark D. Baushke <mdb@gnu.org>
2607 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2609 2006-01-01 Bill Wohler <wohler@newt.com>
2611 * mh-customize.el: Sync docstrings with manual for faces and sort
2612 them alphabetically.
2613 (mh-faces): Move below mh-hooks.
2614 (mh-folder-faces, mh-index-faces, mh-letter-faces)
2615 (mh-show-faces, mh-speed-faces): Delete. Organize faces like hooks.
2616 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2617 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2618 (mh-folder-body-face, mh-folder-cur-msg-face)
2619 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2620 (mh-folder-followup-face, mh-folder-msg-number-face)
2621 (mh-folder-deleted-face, mh-folder-refiled-face)
2622 (mh-folder-subject-face, mh-folder-address-face)
2623 (mh-folder-scan-format-face, mh-folder-to-face)
2624 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2625 (mh-show-header-face, mh-show-pgg-good-face)
2626 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2627 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2629 (mh-folder-cur-msg): Unused. Delete.
2630 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2631 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2632 Inherit from mh-folder-msg-number.
2633 (mh-folder-deleted): Use defface. Inherit from
2634 mh-folder-msg-number.
2635 (mh-folder-sent-to-me-hint): New face. Inherit from
2637 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2638 Use defface. Inherit from mh-folder-followup.
2639 (mh-show-xface): Inherit from mh-show-from and highlight.
2640 (bw-face-generation, bw-toggle-faces)
2641 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2642 variables, functions for toggling between old and new faces.
2644 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2645 eval-when-compile. We should probably do this throughout.
2646 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2647 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2648 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2649 (mh-scan-subject-regexp): Sync docstrings with manual.
2650 (mh-scan-format-regexp): Rename to
2651 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
2652 expression. Make expression more like the others (anchored at the
2653 beginning of line). Sync docstrings with manual.
2654 (mh-folder-font-lock-keywords): Use faces directly rather than
2655 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
2656 mh-scan-format-regexp, and within that expression, use faces
2657 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2658 of mh-folder-date-face and mh-folder-scan-format-face which were
2661 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2662 rather than -face variables.
2664 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2665 rather than -face variables.
2666 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2667 (mh-face-display-function): Use mh-face-foreground-compat and
2668 mh-face-background-compat to use inherited attributes of
2669 mh-show-xface on Emacs 22 while still working on Emacs 21.
2671 2005-12-28 Bill Wohler <wohler@newt.com>
2673 * mh-comp.el (mh-e-user-agent): Move here from simple.el.
2674 Use mh-user-agent-compose instead of mh-smail-batch.
2676 2005-12-27 Bill Wohler <wohler@newt.com>
2678 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2679 suppress creation of folder if it doesn't exist.
2681 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2683 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2685 2005-12-23 Bill Wohler <wohler@newt.com>
2687 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2689 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2690 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2691 everything else. Otherwise, you can accidentally get links to
2694 2005-12-22 Bill Wohler <wohler@newt.com>
2696 Follow Emacs coding conventions. Use default setting of
2697 emacs-lisp-docstring-fill-column which is 65.
2699 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2701 * mh-comp.el (mh-letter-mode): Use 60 column width.
2702 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2704 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2705 you have added a mail-citation-hook and neither are used if you
2706 use one of the supercite flavors of mh-yank-behavior.
2707 Sync docstrings with manual.
2709 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks):
2710 Rename from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2711 hook. Use "Hook run by `function'..." instead of "Invoked...".
2712 Sync docstrings with manual.
2713 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2714 mh-ins-buf-prefix isn't used if you have added a
2715 mail-citation-hook and neither are used if you use one of the
2716 supercite flavors of mh-yank-behavior. Sync docstrings with manual.
2717 (mail-citation-hook): Delete. Use one in sendmail.el.
2718 (mh-signature-file-name, mh-after-commands-processed-hook)
2719 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2720 (mh-before-quit-hook, mh-before-send-letter-hook)
2721 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2722 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2723 (mh-letter-mode-hook)
2724 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2725 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2726 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2727 of "Invoked...". Sync docstrings with manual.
2729 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2730 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2731 (mh-delete-list, mh-refile-list, mh-folders-changed)
2732 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2733 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2734 (mh-mode-line-annotation, mh-sequence-notation-history)
2735 (mh-colors-available-flag): Move comment into docstring.
2736 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2737 (mh-process-commands): Sync docstrings with manual.
2738 (mh-refile-msg): Small doc edit.
2739 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2740 Rename msg argument to message.
2742 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2744 * mh-e.el (mh-update-unseen): No longer say "The value of
2745 `foo-hook' is a list of functions to be called, with no arguments,
2746 ...," but rather just "The hook foo-hook is called...".
2748 * mh-mime.el (mh-mh-to-mime): Ditto.
2750 * mh-pick.el (mh-pick-mode): Ditto.
2752 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2754 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2756 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2759 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2761 * mh-customize.el (mh-after-commands-processed-hook): New variable.
2762 (mh-before-commands-processed-hook): Rename mh-folder-updated-hook.
2764 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2765 mh-before-commands-processed-hook, call new
2766 mh-after-commands-processed-hook.
2767 (mh-folders-changed): New variable (for use in
2768 mh-after-commands-processed-hook).
2770 2005-12-19 Bill Wohler <wohler@newt.com>
2790 Follow commenting conventions. Don't use ;;; form so much, except
2791 for headings. Precede headings with page feed. This was mostly
2792 already done, so I made it a convention. Did not update copyright
2793 on a couple of files since this was an insignificant change.
2795 2005-12-18 Bill Wohler <wohler@newt.com>
2797 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2798 (mh-tool-bar-search-function): Sync docstrings with manual.
2799 (mh-tool-bar-customize): Replace toolbar with tool bar in docstring.
2800 (mh-tool-bar-letter-help): Fix manual reference.
2801 (mh-xemacs-use-toolbar-flag): Rename to
2802 mh-xemacs-use-tool-bar-flag. Initialize to
2803 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2804 (mh-xemacs-toolbar-position): Rename to
2805 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2806 option (redundant) and change "Same As Default Tool Bar" setting
2807 to nil. Sync docstrings with manual.
2808 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2809 depending on context.
2810 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2811 for calling set-specifier. Only look at the value of
2812 mh-xemacs-use-tool-bar-flag.
2813 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons):
2814 Sync docstrings with manual.
2816 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2819 * mh-e.el (mh-folder-mode): Ditto.
2821 * mh-utils.el (mh-show-mode): Ditto.
2823 2005-12-15 Bill Wohler <wohler@newt.com>
2825 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2827 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2828 (mh-thread-previous-sibling, mh-thread-ancestor)
2829 (mh-thread-delete, mh-thread-refile): Ditto.
2831 2005-12-14 Bill Wohler <wohler@newt.com>
2833 * mh-customize.el (mh-speed-flists-interval): Rename to
2834 mh-speed-update-interval.
2835 (mh-speed-run-flists-flag): Delete.
2836 Setting mh-speed-flists-interval to 0 accomplishes the same thing.
2838 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists):
2839 Use mh-speed-update-interval instead of mh-speed-run-flists-flag.
2840 (mh-speed-toggle, mh-speed-view, mh-speed-refresh):
2841 Sync docstrings with manual.
2843 2005-12-09 Bill Wohler <wohler@newt.com>
2845 * mh-customize.el (mh-path): Move here from mh-init.el.
2846 (mh-variant): Mention that mh-path can be customized.
2847 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2848 X-MAIL-INFO, and X-UNTD- from NetZero.
2850 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2852 2005-12-04 Bill Wohler <wohler@newt.com>
2854 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2855 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2858 * mh-customize.el (mh-insert-signature-hook):
2859 Rename mh-letter-insert-signature-hook to mh-insert-signature-hook.
2861 * mh-comp.el (mh-insert-signature): Ditto.
2863 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2864 to nil. Remove t option. Sync docstring with manual (closes SF
2866 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2867 users can see it, look it up in the manual's index, and discover
2868 mh-fetch-x-image-url (closes SF #831278).
2870 * mh-customize.el (mh-new-messages-folders): Rename from
2871 mh-index-new-messages-folders.
2872 (mh-ticked-messages-folders): Rename from
2873 mh-index-ticked-messages-folders.
2875 * mh-index.el (mh-index-sequenced-messages)
2876 (mh-index-new-messages): Ditto.
2878 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2879 in the docstrings and made usage consistent. Generally speaking,
2880 "messages in range" and "range of messages" is redundant and just
2881 "range" can be used in most circumstances. Also ensured that
2882 mh-interactive-range was mentioned in all interactive functions
2883 that use a range which describes the range argument for both users
2886 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2887 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2888 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2889 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2892 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2895 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2897 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2898 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2900 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2901 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2903 2005-12-01 Bill Wohler <wohler@newt.com>
2905 Rewrote Reading Mail chapter in manual which affected mh-show
2906 customization group and related functions.
2908 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2909 instead of mh-highlight-citation-p.
2910 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2911 I think, so use "truncated".
2913 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2914 section is Folders, not Organizing. Parent of mh-folder-faces is
2915 mh-folder, not mh-show.
2916 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2917 (mh-thread): New group that corresponds with manual's Threading chapter.
2918 (mh-letter-faces): Group's manual section is Editing Drafts, not
2920 (mh-sortm-args): New customization variable that used to be a defvar.
2921 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2922 Move from mh-index group to mh-folders group.
2923 (mh-alias-local-users-prefix, mh-large-folder)
2924 (mh-recursive-folders-flag, mh-before-quit-hook)
2925 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2926 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2928 (mh-highlight-citation-style): Rename from
2929 mh-highlight-citation-p. Sync docstrings with manual.
2930 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2932 (mh-show-threads-flag): Move from mh-show group to mh-thread
2934 (mh-find-path-hook): Move from mh-show group to mh-e group.
2935 (mh-folder-updated-hook): Add to mh-folder group.
2936 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2937 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2938 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2939 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2940 (mh-display-buttons-for-inline-parts-flag)
2941 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2942 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2943 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2944 (mh-lpr-command-format, mh-max-inline-image-height)
2945 (mh-max-inline-image-width)
2946 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2947 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2948 (mh-show-use-xface-flag, mh-store-default-directory)
2949 (mh-summary-height, mh-delete-msg-hook)
2950 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2952 * mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
2953 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2954 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp):
2955 Use non-fontification instead of non-fontifying.
2956 (mh-header-display): Use mh-mhl-format-file instead of
2957 mhl-formfile. Sync docstrings with manual.
2958 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2959 count. Sync docstrings with manual.
2960 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2961 so that message doesn't change when using this command.
2962 Sync docstrings with manual.
2963 (mh-page-msg, mh-previous-page): Rename arg to lines.
2964 Sync docstrings with manual.
2965 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2966 to no-header. Sync docstrings with manual.
2967 (mh-ps-print-map): Delete keybindings for deleted commands
2968 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2969 (mh-help-messages): Update printing help.
2970 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2971 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2972 (mh-prev-button, mh-folder-toggle-mime-part)
2973 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2974 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2977 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2979 (mh-pipe-msg): Rename include-headers to include-header.
2980 Sync docstrings with manual.
2981 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2982 (mh-store-msg): Sync docstrings with manual.
2984 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt.
2985 Sync docstrings with manual.
2986 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2987 Sync docstrings with manual.
2988 (mh-mm-display-part, mh-mm-inline-message):
2989 Use mh-highlight-citation-style instead of mh-highlight-citation-p.
2990 (mh-press-button): Sync docstrings with manual.
2991 (mh-display-with-external-viewer): Fix default output in
2992 minibuffer. Sync docstrings with manual.
2994 * mh-print.el (mh-ps-print-mime, mh-ps-print-toggle-mime):
2996 (mh-ps-print-color-option): Incorporate docstring from
2998 (mh-ps-spool-buffer): Remove unused code. Fix indent.
3000 (mh-ps-spool-msg): Slimline docstring. Rename from
3001 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
3003 (mh-ps-print-range): Extract method from common code in
3004 mh-ps-print-msg and mh-ps-print-msg-file.
3005 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
3006 (mh-ps-print-msg-show): Delete. Can use either
3007 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
3008 new code in mh-ps-spool-msg.
3009 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
3010 Sync docstrings with manual.
3011 (mh-ps-print-msg, mh-ps-print-msg-file)
3012 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color):
3013 Sync docstrings with manual.
3015 * mh-utils.el (mh-show-ps-print-msg-show)
3016 (mh-show-ps-print-toggle-mime): Delete.
3017 (mh-show-ps-print-map): Update accordingly.
3018 (mh-show-mode): Use mh-highlight-citation-style instead of
3019 mh-highlight-citation-p.
3020 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
3022 (mh-show): Use mh-mhl-format-file instead of mhl-formfile.
3023 Sync docstrings with manual.
3024 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg):
3025 Sync docstrings with manual.
3027 2005-12-01 Bill Wohler <wohler@newt.com>
3029 * mh-init.el (mh-defface-compat): Checkdoc fix.
3031 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
3032 Bogofilter is lowercase except at beginning of sentence and in
3035 2005-11-04 Bill Wohler <wohler@newt.com>
3037 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
3038 Move to mh-init.el to minimize bulk of mh-customize.el.
3040 * mh-init.el: Modify commentary since file is used for load and
3041 initialization as well as setting and getting the variant.
3042 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
3045 * mh-customize.el: Refactor faces. Move grayscale requirements
3046 last before t. Use uniform line breaks.
3047 (mh-min-colors-defined-flag): New variable.
3048 (mh-defface-compat): New function. Provides backward compatibility
3050 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
3051 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
3052 (mh-folder-body): Use mh-defface-compat.
3054 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
3056 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
3057 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
3058 (mh-folder-to-face): Use the min-colors attribute instead of the
3061 2005-11-03 Bill Wohler <wohler@newt.com>
3063 * mh-customize.el (mh-refile-preserves-sequences-flag)
3064 (mh-tick-seq, mh-update-sequences-after-mh-show-flag):
3065 Sync docstrings with manual.
3067 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
3069 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
3070 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
3073 2005-11-01 Bill Wohler <wohler@newt.com>
3075 * mh-comp.el (mh-redist-full-contents) Convert defvar to
3077 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
3078 (mh-reply, mh-send, mh-send-other-window)
3079 (mh-fill-paragraph-function): Sync docstrings with manual.
3080 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute):
3081 Rename msg argument to message (to make for a better docstring).
3083 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
3084 to defcustom. Rename by adding -flag.
3085 (mh-compose-forward-as-mime-flag)
3086 (mh-compose-letter-function, mh-forward-subject-format)
3087 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
3088 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
3091 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
3092 (mh-ps-print-msg): Remove debugging messages.
3093 (mh-ps-print-msg-show, mh-ps-print-msg-show)
3094 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
3095 after message per conventions.
3097 2005-10-30 Bill Wohler <wohler@newt.com>
3099 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
3100 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp):
3101 Sync docstrings with manual.
3103 * mh-customize.el (mh-compose-space-does-completion-flag)
3104 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
3105 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
3106 means" to remain checkdoc clean and consistent with Emacs.
3107 I raised this issue with the Emacs developers and Stallman agrees
3108 that "On means" should be allowed in custom docstrings but that
3109 this change requires thought and should wait until after the Emacs
3112 2005-10-28 Bill Wohler <wohler@newt.com>
3114 * mh-comp.el (mh-annotate-msg): Use new variable
3115 mh-scan-field-destination-offset rather than hard-coding 1.
3117 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
3119 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check):
3120 New functions to check input for mh-adaptive-cmd-note-flag and
3121 mh-scan-format-file respectively.
3122 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
3125 * mh-e.el (mh-scan-field-destination-offset): New variable.
3126 The destination is the -, t, b, c, or n character for Replied, To, cc,
3127 Bcc, or Newsgroups respectively.
3128 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note):
3129 Call new function mh-msg-num-width-to-column to make leap between
3130 width and column more explicit.
3131 (mh-msg-num-width-to-column): New function that steals logic from
3132 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
3133 isn't t since we can't adapt the scan lines in this case.
3134 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
3135 make the documentation more clear.
3136 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
3137 column, not a width.
3138 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
3139 variable mh-scan-field-destination-offset rather than hard-coding 1.
3141 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
3142 (mh-notate): Use new variable mh-scan-field-destination-offset
3143 rather than hard-coding 1.
3144 (mh-message-number-width): Rename to mh-msg-num-width to be
3145 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
3147 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
3148 (mail-citation-hook): Quote URLs in docstrings and precede with
3149 `URL'. The former will suppress checkdoc warnings, the latter will
3150 turn them into hyperlinks in Emacs 22 (I just added the code to do
3152 (mh-scan-format-file): Checkdoc fix.
3154 2005-10-27 Bill Wohler <wohler@newt.com>
3156 * mh-customize.el (mh-adaptive-cmd-note-flag)
3157 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
3159 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
3160 (mh-note-cur, mh-scan-good-msg-regexp)
3161 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
3162 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
3163 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
3164 (mh-scan-subject-regexp, mh-scan-format-regexp)
3165 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
3168 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
3170 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
3171 of hard-coded string.
3172 (mh-mail-header-separator, mh-signature-separator-regexp):
3173 Use "regular expression" in docstring instead of regexp.
3174 (mh-scan-msg-number-regexp)
3175 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
3176 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
3177 (mh-cmd-note): Sync docstrings with manual.
3179 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
3182 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
3184 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
3185 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3186 (mh-mml-secure-message-signencrypt): Ditto.
3188 2005-10-24 Bill Wohler <wohler@newt.com>
3190 * mh-gnus.el: Load mml.el in order to see if
3191 mml-minibuffer-read-disposition is defined or not.
3193 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
3196 2005-10-23 Miles Bader <miles@gnu.org>
3198 * .arch-inventory: New file.
3200 2005-10-23 Bill Wohler <wohler@newt.com>
3202 * mh-customize.el (mh-interpret-number-as-range-flag):
3203 Sync docstring with manual.
3205 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
3206 mh-alias.el and move to mh-acros.el.
3208 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
3209 mh-identity.el and move to mh-acros.el.
3211 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
3212 mh-identity.el and mh-alias.el.
3214 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
3215 warning in Emacs 22.
3217 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
3219 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
3220 assoc-string (if the function is available) and falls back on
3221 assoc-ignore-case if assoc-string is not found.
3222 (mh-identity-field-handler): Use mh-assoc-ignore-case since
3223 assoc-ignore-case is a obsolete function in Emacs 22.
3225 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
3226 track of whether the tool-bar in mh-folder-mode has been
3228 (mh-folder-mode): Initialize the tool-bar for folders the first
3229 time we get into mh-letter-mode.
3231 * mh-customize.el (mh-buffer-exists-p): New function which tests
3232 presence of buffers of a given mode.
3233 (mh-tool-bar-define): New functions mh-tool-bar-folder-buttons-init and
3234 mh-tool-bar-letter-buttons-init are defined. These functions are
3235 used to create the tool-bar from the corresponding customizable
3238 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
3239 keeps track of whether the tool-bar in mh-letter-mode has been
3241 (mh-letter-mode): Initialize the tool-bar for drafts the first
3242 time we get into mh-letter-mode.
3244 2005-10-23 Bill Wohler <wohler@newt.com>
3246 * mh-comp.el (mh-letter-menu):
3247 Rename mh-mhn-compose-external-compressed-tar to
3248 mh-mh-compose-external-compressed-tar.
3249 Rename mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3250 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
3251 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
3252 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
3253 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
3255 (mh-insert-signature): Rename mh-mhn-directive-present-p to
3256 mh-mh-directive-present-p.
3257 (mh-send-letter): Rename mh-mhn-directive-present-p to
3258 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
3259 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime.
3260 Rename mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp.
3261 Rename mh-mhn-compose-external-compressed-tar to
3262 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3263 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3264 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
3265 mh-mh-compose-anon-ftp.
3266 Rename mh-mhn-compose-external-compressed-tar to
3267 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3268 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3269 mh-mh-compose-external-type.
3270 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
3271 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
3272 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string):
3273 Rename mh-yank-from-start-of-msg to mh-yank-behavior.
3274 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
3275 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
3276 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
3277 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
3278 (mh-letter-complete-or-space, mh-letter-confirm-address)
3279 (mh-letter-next-header-field-or-indent)
3280 (mh-letter-previous-header-field)
3281 (mh-letter-toggle-header-field-display): Sync docstrings with
3284 * mh-customize.el (mh-edit-mhn-hook): Rename to
3286 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
3287 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
3288 and user-visible values from mhn and Gnus to MH and MML.
3289 (mh-before-send-letter-hook): Add 'ispell-message option.
3290 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
3291 mh-pgp-support-flag.
3292 (mh-compose-insertion, mh-compose-space-does-completion-flag)
3293 (mh-delete-yanked-msg-window-flag)
3294 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
3295 (mh-letter-complete-function, mh-letter-fill-column)
3296 (mh-mml-method-default, mh-signature-file-name)
3297 (mh-signature-separator-flag, mh-x-face-file)
3298 (mh-yank-behavior, mail-citation-hook)
3299 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
3302 * mh-gnus.el (mml-minibuffer-read-disposition): New function
3303 provided for Emacs 21 environments that lack it.
3305 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
3307 (mh-compose-forward): mh-mh-forward-message requires string arg.
3308 (mh-minibuffer-read-type): New function.
3309 (mh-mhn-args): Rename to mh-mh-to-mime-args.
3310 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
3311 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
3312 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
3313 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
3314 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
3315 (mh-mhn-compose-external-compressed-tar): Rename to
3316 mh-mh-compose-external-compressed-tar.
3317 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
3318 (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type.
3319 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
3320 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
3321 Use correct program in message.
3322 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
3323 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
3324 (mh-compose-forward, mh-mh-attach-file)
3325 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3326 (mh-mh-compose-external-type, mh-mh-forward-message)
3327 (mh-mml-attach-file): Use mml-minibuffer-read-description,
3328 mh-minibuffer-read-type.
3329 (mh-mime-content-types): Move comment about only being used in
3330 Emacs 20 to docstring.
3331 (mh-mh-compose-external-type): Rename extra-param argument to
3333 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
3334 (mh-mime-display-part, mh-mime-display-single):
3335 Rename mh-gnus-pgp-support-flag to mh-pgp-support-flag.
3336 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
3338 (mh-compose-forward): Rename mh-mhn-compose-forw to
3339 mh-mh-forward-message.
3340 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
3342 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
3343 (mh-mh-attach-file, mh-mh-compose-type)
3344 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3345 (mh-mh-compose-external-compressed-tar)
3346 (mh-mh-compose-external-type, mh-mh-forward-message)
3347 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
3348 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
3349 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
3350 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3351 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
3352 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
3353 Sync docstrings with manual.
3355 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
3356 mh-pgp-support-flag.
3358 2005-10-17 Peter S Galbraith <psg@debian.org>
3360 * mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case'
3361 to compare against header field for mixed-case "From:".
3363 2005-10-17 Bill Wohler <wohler@newt.com>
3365 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
3366 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
3367 to mail/compose, fld_open to fld-open.
3368 (mh-letter-tool-bar-map): Rename image file mail_send to
3371 2005-10-16 Bill Wohler <wohler@newt.com>
3373 * mh-comp.el (mh-display-completion-list-compat): New macro which
3374 calls `display-completion-list' correctly in older environments.
3375 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
3377 (mh-complete-word): Use it.
3379 * mh-init.el (mh-image-load-path): Use locate-library to find
3380 MH-E. This simplified the code a lot. Flattened out nested
3381 statements even more.
3383 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
3385 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
3386 causes a compiler warning.
3388 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
3389 the message to be viewed (closes SF #1306141).
3391 2005-10-16 Masatake YAMATO <jet@gyve.org>
3393 * mh-comp.el (mh-complete-word): Pass the common prefix substring
3394 of completion to `display-completion-list'.
3396 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
3398 * mh-init.el (mh-image-load-path-called-flag): New variable which
3399 is used by mh-image-load-path so that it runs only once.
3400 (mh-image-load-path): Modify so that it gets run only once.
3401 Also flatten out heavily nested if statements to make it clearer.
3403 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
3404 to find images used in the toolbar.
3406 * mh-customize.el (:folder): Remove call to mh-image-load-path.
3408 2005-10-14 Bill Wohler <wohler@newt.com>
3410 * mh-e.el (Version, mh-version): Add +cvs to version.
3412 2005-10-14 Bill Wohler <wohler@newt.com>
3414 Released MH-E version 7.85.
3416 * mh-e.el (Version, mh-version): Update for release 7.85.
3418 2005-10-14 Bill Wohler <wohler@newt.com>
3420 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
3421 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
3422 need to be indented.
3424 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
3425 but the code that invoked the face had not been updated.
3426 Tick highlighting working again.
3428 * mh-seq.el (mh-non-seq-mode-line-annotation):
3429 Move make-variable-buffer-local call to top level to avoid warnings in
3432 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
3435 2005-10-09 Bill Wohler <wohler@newt.com>
3437 * mh-init.el (mh-image-load-path): New function that adds the path
3438 to the MH-E images to the image-load-path or load-path depending
3439 on the version of Emacs.
3441 * mh-customize.el: Call mh-image-load-path just before
3442 mh-tool-bar-define so that the toolbar images can be found.
3444 2005-10-04 Bill Wohler <wohler@newt.com>
3446 * ChangeLog: Move contents into ChangeLog.1 and trim.
3448 * ChangeLog.1: New file. Contains old ChangeLog.
3451 Copyright (C) 2005-2012 Free Software Foundation, Inc.
3453 This file is part of GNU Emacs.
3455 GNU Emacs is free software: you can redistribute it and/or modify
3456 it under the terms of the GNU General Public License as published by
3457 the Free Software Foundation, either version 3 of the License, or
3458 (at your option) any later version.
3460 GNU Emacs is distributed in the hope that it will be useful,
3461 but WITHOUT ANY WARRANTY; without even the implied warranty of
3462 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3463 GNU General Public License for more details.
3465 You should have received a copy of the GNU General Public License
3466 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
3470 ;; sentence-end-double-space: nil
3471 ;; add-log-time-zone-rule: t