1 2011-09-20 Bill Wohler <wohler@newt.com>
3 Release MH-E version 8.3.
5 * mh-e.el (Version, mh-version): Update for release 8.3.
7 2011-07-30 Bill Wohler <wohler@newt.com>
9 * mh-show.el (mh-unvisit-file): Clarify language in yes-or-no-p
12 2011-07-17 Bill Wohler <wohler@newt.com>
14 Release MH-E version 8.2.93.
16 * mh-e.el (Version, mh-version): Update for release 8.2.93.
18 * mh-compat.el (mh-pop-to-buffer-same-window): Delete.
19 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
20 (mh-make-folder): Revert to switch-to-buffer, as the Emacs folks
21 decided that it was fine to use it in programs.
23 2011-07-16 Bill Wohler <wohler@newt.com>
25 Release MH-E version 8.2.92.
27 * mh-e.el (Version, mh-version): Update for release 8.2.92.
29 2011-07-12 Bill Wohler <wohler@newt.com>
31 Release MH-E version 8.2.91.
33 * mh-e.el (Version, mh-version): Update for release 8.2.91.
35 * mh-compat.el (mh-pop-to-buffer-same-window): Add compatibility
36 function to call switch-to-buffer on systems that lack
37 pop-to-buffer-same-window.
38 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
39 (mh-make-folder): Call mh-pop-to-buffer-same-window instead of
40 switch-to-buffer. The previous change which used pop-to-buffer
41 produced the wrong behavior.
43 2011-07-12 Henrique Martins <henrique@martins.cc> (tiny change)
45 * mh-xface.el (mh-picon-get-image): Remove quote from block
47 * mh-mime.el (mh-mh-directive-present-p): Ditto.
49 2011-07-10 Bill Wohler <wohler@newt.com>
51 Release MH-E version 8.2.90.
53 * mh-e.el (Version, mh-version): Update for release 8.2.90.
55 * mh-utils.el (mh-sub-folders-actual): Remove FIXME question.
57 * mh-mime.el (mh-decode-message-subject): Fix case of Subject.
59 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
60 (mh-make-folder): Replace calls to switch-to-buffer with of
61 pop-to-buffer. The former is intended for interactive use only and
62 generates warnings in Emacs 24.
64 2011-07-09 Bill Wohler <wohler@newt.com>
66 * mh-speed.el (mh-speed-toggle,mh-speed-view): Document "ignored"
67 arguments to keep checkdoc happy.
69 * mh-search.el (mh-flists-execute): Ditto.
71 * mh-funcs.el (mh-undo-folder): Ditto.
73 * mh-comp.el (mh-user-agent-compose): Ditto.
75 * mh-xface.el (mh-face-to-png, mh-uncompface)
76 (mh-picon-file-contents): Only call set-buffer-multibyte if it
77 exists, which it doesn't in XEmacs.
79 2011-07-04 Bill Wohler <wohler@newt.com>
81 * mh-e.el: Just require mh-loaddefs since loading it in an
82 eval-and-compile block causes compilation errors in XEmacs.
84 * mh-acros.el, mh-comp.el, mh-e.el, mh-folder.el, mh-letter.el:
85 * mh-mime.el, mh-search.el, mh-seq.el: Shush XEmacs compiler in
86 mh-do-in-xemacs block.
88 * mh-compat.el (mh-window-full-height-p): Add compatibility
90 * mh-show.el (mh-show-msg): Use it, and avoid compiler warning on
93 * mh-letter.el (mh-letter-mode-map, mh-letter-complete)
94 (mh-complete-word): Remove FIXME comments since these functions
95 are still needed in other Emacsen. However, they can probably
96 stand to be generalized like completion-at-point.
97 (mh-letter-complete-or-space): Remove unused variable.
99 2011-07-03 Bill Wohler <wohler@newt.com>
101 * mh-compat.el (mh-test-completion): Add compatibility function
103 * mh-alias.el (mh-alias-letter-expand-alias): Use it, and avoid
104 compiler warning on XEmacs.
107 * mh-mime.el: Shush XEmacs compiler in mh-do-in-xemacs block.
109 * mh-folder.el: Use boundp instead of fboundp when testing
110 existence of desktop-buffer-mode-handlers.
112 2011-05-10 Jim Meyering <meyering@redhat.com>
114 Fix doubled-word typos.
115 * mh-alias.el (mh-alias-minibuffer-confirm-address): if if -> if it
116 * mh-scan.el (mh-scan-destination-width): in in -> in
118 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
120 * mh-utils.el (mh-folder-completion-function): Make it work like
121 file-name completion, so partial-completion can do its job.
123 * mh-letter.el (mh-letter-completion-at-point): New function, extracted
124 from mh-letter-complete
125 (mh-letter-mode, mh-letter-complete, mh-letter-complete-or-space):
127 (mh-complete-word): Only use the common-substring arg when it works.
128 (mh-folder-expand-at-point):
129 * mh-alias.el (mh-alias-letter-expand-alias): Return data suitable for
130 completion-at-point-functions.
132 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
134 * mh-funcs.el (mh-undo-folder): Accept and ignore arguments,
135 for compatibility with `revert-buffer'. Doc fix. (Bug#8431)
137 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
139 * Version 23.3 released.
141 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
143 * mh-funcs.el (mh-store-msg, mh-store-buffer):
144 * mh-mime.el (mh-mime-save-parts): Use read-directory-name.
146 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
148 * mh-comp.el (mh-user-agent-compose): New arg RETURN-ACTION.
150 2010-11-07 Glenn Morris <rgm@gnu.org>
152 * mh-seq.el (mh-read-msg-list): Use point-at-eol.
154 2010-11-03 Glenn Morris <rgm@gnu.org>
156 * mh-mime.el (dots, type, ov): Avoid unnecessary declaration.
158 2010-05-14 Peter S Galbraith <psg@debian.org>
160 * mh-mime.el (mh-decode-message-subject): New function to decode
161 RFC2047 encoded Subject lines. Used for reply drafts.
162 * mh-comp.el (mh-compose-and-send-mail): Call
163 `mh-decode-message-subject' on (reply or forward) message drafts.
165 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
167 * Version 23.2 released.
169 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
171 * mh-show.el (mh-showing-mode): Move function to mh-e.el.
172 * mh-e.el (mh-showing-mode): Use define-minor-mode.
174 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
176 * mh-scan.el (mh-scan-cmd-note-width): Doc fix.
177 (mh-scan-format-mh, mh-scan-body-regexp, mh-scan-cur-msg-number-regexp)
178 (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
179 (mh-scan-deleted-msg-regexp, mh-scan-good-msg-regexp)
180 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
181 (mh-scan-msg-number-regexp, mh-scan-rcpt-regexp)
182 (mh-scan-refiled-msg-regexp, mh-scan-sent-to-me-sender-regexp)
183 (mh-scan-subject-regexp, mh-update-scan-format)
184 (mh-msg-num-width-to-column): Fix typos in docstrings.
186 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
190 2009-12-01 Bill Wohler <wohler@newt.com>
192 * mh-search.el (mh-mairix-execute-search): Use mh vfolder_format.
193 Fix typo in database path.
194 (mh-namazu-execute-search): Specify -q in example since namazu is
195 excessively garrulous.
197 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
199 * mh-thread.el (mh-thread-set-tables):
200 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-stealth-update):
201 (mh-speed-extract-folder-name, mh-speed-parse-flists-output):
202 (mh-speed-invalidate-map, mh-speed-add-folder):
203 * mh-show.el (mh-invalidate-show-buffer, mh-show-sequence-menu):
204 * mh-seq.el (mh-list-sequences):
205 * mh-search.el (mh-index-execute-commands, mh-index-add-to-sequence)
206 (mh-index-delete-from-sequence, mh-index-update-maps):
207 * mh-scan.el (mh-msg-num-width):
208 * mh-print.el (mh-ps-spool-buffer):
209 * mh-mime.el (mh-mime-save-parts, mh-handle-set-external-undisplayer)
211 * mh-letter.el (mh-yank-cur-msg):
212 * mh-funcs.el (mh-list-folders, mh-pipe-msg, mh-store-msg)
214 * mh-folder.el (mh-modify, mh-visit-folder, mh-write-msg-to-file)
215 (mh-prompt-for-refile-folder):
216 * mh-e.el (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
217 (mh-handle-process-error, mh-variant-info):
218 * mh-comp.el (mh-forward):
219 * mh-alias.el (mh-alias-local-users, mh-alias-which-file-has-alias):
220 (mh-alias-add-alias-to-file): Use with-current-buffer.
222 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
224 * mh-e.el: Load mh-loaddefs during compilation as well.
226 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
228 * mh-e.el (mh-loaddefs): Load rather than require.
230 2009-10-06 Glenn Morris <rgm@gnu.org>
232 * mh-show.el (mh-show-msg): Use window-full-height-p.
234 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
236 * mh-comp.el (mh-send-letter): default-buffer-file-coding-system
237 => (default-value 'buffer-file-coding-system).
239 2009-08-10 Bill Wohler <wohler@newt.com>
241 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
242 (mh-spamprobe-blacklist): Sync docstring with manual.
244 2009-07-22 Kevin Ryde <user42@zip.com.au>
246 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
247 (mh-spamprobe-blacklist): Hyperlink URLs in docstrings with URL `...'.
249 2009-06-13 Bill Wohler <wohler@newt.com>
251 Release MH-E version 8.2.
253 * mh-e.el (Version, mh-version): Update for release 8.2.
255 * mh-seq.el (mh-folder-size-flist)
256 * mh-speed.el (mh-speed-parse-flists-output)
257 * mh-xface.el (mh-face-display-function): Remove trailing space.
259 2009-03-13 D. Goel <deego3@gmail.com>
261 * mh-seq.el (mh-folder-size-flist): Use (values-list) in m-v call
264 * mh-speed.el (mh-speed-parse-flists-output): Ditto.
265 * mh-xface.el (mh-face-display-function): Ditto.
266 * mh-search.el (mh-index-parse-search-regexp): Ditto.
268 * mh-thread.el (mh-thread-generate): Ditto.
270 * mh-seq.el (mh-parse-flist-output-line): Return list rather than values.
271 We want to avoid emacs using m-v facilities.
272 (mh-folder-size-folder): Ditto.
273 (mh-parse-flist-output-line): Ditto.
274 * mh-thread.el (mh-thread-prune-subject): Ditto.
275 * mh-xface.el (mh-picon-get-image): Ditto.
276 (mh-picon-file-contents): Ditto.
277 * mh-search.el (mh-index-evaluate): Ditto.
279 2009-01-27 Bill Wohler <wohler@newt.com>
281 * mh-funcs.el (mh-pack-folder): Fix docstring.
283 * mh-e.el (mh-pack-folder-hook): Bump package-version to 8.2.
285 * mh-gnus.el (mh-mm-merge-handles)
286 (mh-mm-set-handle-multipart-parameter, mh-mm-inline-text-vcard)
287 (mh-mml-minibuffer-read-disposition, mh-mm-save-part): Update with
288 code from Gnus 5.11 (closes SF #2235022).
290 2009-01-26 Stephen Gildea <gildea@stop.mail-abuse.org>
292 * mh-e.el (mh-pack-folder-hook): New variable.
293 * mh-funcs.el (mh-pack-folder): Call new mh-pack-folder-hook.
295 2009-01-26 Bill Wohler <wohler@newt.com>
297 * mh-utils.el (mh-goto-header-end): Use mh-mail-header-separator
298 instead of -* in regexp.
300 * mh-folder.el (mh-folder-mode-help-messages): Add e and t to K's
303 2009-01-09 Glenn Morris <rgm@gnu.org>
305 * mh-letter.el: Replace last-input-char with last-input-event.
307 2008-08-18 Bill Wohler <wohler@newt.com>
309 Release MH-E version 8.1.
311 * mh-e.el (Version, mh-version): Update for release 8.1.
313 2008-08-11 Bill Wohler <wohler@newt.com>
315 * mh-e.el (mh-variant-mh-info, mh-variant-nmh-info)
316 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
317 (mh-variant-set, mh-variant, mh-scan-format-file): Fix typo in
320 * mh-comp.el (mh-reply)
321 * mh-e.el (mh-sys-path, mh-variant-info, mh-variant-mu-mh-info)
322 (mh-variant-p, mh-profile-component, mh-variant-set, mh-variant)
323 (mh-scan-format-file)
324 * mh-folder.el (mh-regenerate-headers)
325 * mh-scan.el (mh-scan-format)
326 * mh-search.el (mh-pick-regexp-builder): Rename variant mu-mh to
327 gnu-mh and be explicit about GNU mailutils MH in docstrings (with
328 thanks to Darel Henman) (closes SF #1768928).
330 2008-08-01 Bill Wohler <wohler@newt.com>
332 * mh-show.el (mh-show-preferred-alternative)
333 * mh-e.el (mh-annotate-msg-hook): Sync docstring with manual.
335 * mh-comp.el (mh-send-letter, mh-redistribute): Mention
336 mh-annotate-msg-hook in docstring.
338 2008-06-29 Jeffrey C Honig <jch@honig.net>
340 * mh-e.el (mh-invisible-header-fields-internal): Add invisible
341 header fields for X-Hz (mail from Hertz), X-Proofpoint (Proofpoint
342 antivirus/anti-spam) and X-RIM (Research In Motion).
344 2008-06-20 Stephen Eglen <stephen@gnu.org>
346 * mh-show.el (mh-defun-show-buffer): Use `...' rather than than
347 "..." in generated docstrings.
349 2008-06-12 Glenn Morris <rgm@gnu.org>
351 * mh-seq.el (tool-bar-map): Define for compiler.
353 * mh-folder.el (mh-folder-mode):
354 * mh-letter.el (mh-letter-mode):
355 * mh-show.el (mh-show-mode): Check tool-bar-map is bound.
357 2008-06-08 John Paul Wallington <jpw@pobox.com>
359 * mh-acros.el (toplevel): Put `doc-string-elt' properties on
360 `defun-mh' and `defmacro-mh'.
362 * mh-alias.el (mh-alias-read-address-map): Define within defvar.
364 * mh-comp.el (mh-letter-mode-syntax-table): Define within defvar.
366 * mh-letter.el (mh-complete-word): Doc fix.
368 2008-06-02 John Paul Wallington <jpw@pobox.com>
370 * mh-e.el (mh-exec-cmd-env-daemon): Doc fix.
372 2008-06-01 John Paul Wallington <jpw@pobox.com>
374 * mh-e.el (mh-path, mh-variant): Use dotted syntax for
375 `package-version' info.
377 2008-05-26 Jeffrey C Honig <jch@honig.net>
379 * mh-e.el (mh-invisible-header-fields-internal): Remove Newsgroups
380 from the list. Add Bytes, X-Campaignid, X-Country-Chain,
381 X-Declude-, X-fmx-, X-Identity, X-Mailer_, X-pair-, X-SPF-,
384 2008-05-23 Bill Wohler <wohler@newt.com>
386 * mh-e.el (mh-invisible-header-fields-internal): Remove
387 DKIM-Signature as it is covered by DKIM-. Fully qualify X-EID.
389 2008-05-19 Sergey Poznyakoff <gray@gnu.org.ua>
391 * mh-mime.el (mh-mh-to-mime, mh-mh-to-mime-undo): Preserve modes
392 when converting to or from MIME (closes SF #1966722).
394 2008-05-19 Bill Wohler <wohler@newt.com>
396 * mh-e.el (mh-invisible-header-fields-internal): Sort list in a
397 case-insensitive way and add comment about it. Add many header
398 fields (closes SF #1916032).
400 2008-05-19 Xavier Maillard <xma@gnu.org> (tiny change)
402 * mh-utils.el (mh-find-path): Don't throw error if MH environment
403 variable is being used (closes SF #1946861).
405 2008-05-19 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
407 * mh-search.el (mh-mairix-regexp-builder): Add additional items to
408 search string to support org-mode (closes SF #1965704).
410 2008-03-18 Bill Wohler <wohler@newt.com>
412 * mh-e.el (mh-invisible-header-fields-internal): Add Accreditor,
414 (mh-invisible-header-fields, mh-invisible-header-fields-default):
415 Update URL to bug report for users to report ignored fields.
417 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
419 * mh-xface.el (mh-uncompface, mh-picon-file-contents):
420 Use set-buffer-multibyte...
421 (mh-face-display-function, mh-x-image-display): ...rather than bind
422 default-enable-multibyte-characters.
424 2008-02-24 Bill Wohler <wohler@newt.com>
426 * mh-comp.el (mh-send-letter): Call split-string on mh-send-args
427 when sending synchronously too.
429 2008-02-19 Bill Wohler <wohler@newt.com>
431 * mh-comp.el (mh-annotate-msg):
432 * mh-e.el (mh-invisible-header-fields-internal): Remove trailing
435 2008-01-30 Bill Wohler <wohler@newt.com>
437 * mh-mime.el (mh-mml-to-mime): Don't look up sender if From
438 absent. Fixes "Wrong type argument: stringp, nil" error.
440 2007-12-02 Glenn Morris <rgm@gnu.org>
442 * mh-mime.el (mail-strip-quoted-names): Autoload it.
444 2007-11-17 Dan Nicolaescu <dann@ics.uci.edu>
446 * mh-e.el (mh-xemacs-flag): Remove.
447 (mh-min-colors-defined-flag):
448 * mh-xface.el (mh-show-xface-function):
449 * mh-utils.el (mh-colors-available-p):
450 * mh-show.el (mh-show-mode):
451 * mh-gnus.el (mh-gnus-local-map-property):
452 * mh-folder.el (mh-folder-mode-map)
453 (mh-remove-xemacs-horizontal-scrollbar, mh-folder-mode):
454 * mh-comp.el (mh-insert-x-mailer): Replace uses of mh-xemacs-flag
455 with (featurep 'xemacs).
457 2007-09-11 Bill Wohler <wohler@newt.com>
459 * mh-e.el (Version, mh-version): Add +cvs to version.
461 2007-08-25 Stephen Gildea <gildea@stop.mail-abuse.org>
463 * mh-e.el (mh-annotate-msg-hook): New variable.
465 * mh-comp.el (mh-annotate-msg): Call new mh-annotate-msg-hook.
466 (mh-annotate-list): New variable, for mh-annotate-msg-hook.
468 2007-08-21 Jeffrey C Honig <jch@honig.net>
470 * mh-folder.el (mh-folder-message-menu, mh-folder-mode-map): Add
471 folder mode support for mh-show-preferred-alternative (closes SF
474 * mh-show.el (mh-show-preferred-alternative)
475 (mh-show-write-message-to-file, mh-show-message-menu)
476 (mh-show-mode-map): Add mh-show-preferred-alternative (bound to
477 ":") which will show the message's preferred alternative
478 overriding the users configured preference. Useful for showing
479 HTML when text content is lacking (closes SF #1777321).
482 (mh-invisible-header-fields-internal): Exclude Fax and Phone. Put
483 known exclusions as comments before the list and move parens to
484 separate lines to aid in sorting (closes SF #1701231).
486 * mh-mime.el (mm-decode-body): Remove explicit autoload of
489 * mh-alias.el (mh-alias-expand): Set up automatic autoload of
492 2007-08-20 Jeffrey C Honig <jch@honig.net>
494 * mh-mime.el (message-options-set): Add missing autoloads from my
497 * mh-comp.el (mh-forward): When forwarding with mml, messages are
498 no longer included in reverse order (closes SF #1730393).
500 * mh-mime.el (mh-mml-forward-message): Forward messages as inline
501 attachments (closes SF #1378993).
503 2008-02-06 Richard Stallman <rms@gnu.org>
505 * mh-seq.el (mh-make-seq, mh-seq-name): Use defsubst.
507 * mh-acros.el (mh-do-in-gnu-emacs, mh-do-in-xemacs)
508 (with-mh-folder-updating, mh-in-show-buffer)
509 (mh-iterate-on-messages-in-region, mh-iterate-on-range):
510 (mh-do-at-event-location): Add debug decls.
511 (mh-seq-msgs): Use defsubst.
513 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
515 * mh-e.el (mh-scan-format-file-check, mh-adaptive-cmd-note-flag-check):
516 * mh-xface.el (mh-x-image-url-cache-canonicalize):
517 Replace `legal' with `valid'.
519 2007-08-19 Jeffrey C Honig <jch@honig.net>
521 * mh-e.el (mh-invisible-header-fields-internal): We want to show
522 Comments: and hide Comment:, not the other way around.
524 * mh-mime.el (mh-mml-to-mime): GPG requires e-mail addresses, not
525 aliases. So resolve aliases before passing addresses to GPG/PGP
528 * mh-e.el (mh-invisible-header-fields-internal): Update with all
530 http://people.dsv.su.se/~jpalme/ietf/mail-headers, plus some of my
531 own. I added attributions to entries we already had that did not
534 2007-08-08 Glenn Morris <rgm@gnu.org>
536 * mh-folder.el, mh-letter.el, mh-show.el: Replace `iff' in
537 doc-strings and comments.
539 2007-07-25 Glenn Morris <rgm@gnu.org>
541 * Relicense all FSF files to GPLv3 or later.
543 2007-07-11 Bill Wohler <wohler@newt.com>
545 * mh-compat.el (mh-display-color-cells): Fix on XEmacs 21.5b28.
546 Thanks to Henrique Martins for the help (closes SF #1749774).
548 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
550 * mh-mime.el (mh-mh-directive-present-p):
551 * mh-search.el (mh-index-group-by-folder): Fix typos in docstrings.
553 2006-11-14 Bill Wohler <wohler@newt.com>
555 * mh-xface.el (mh-x-image-url-cache-canonicalize): Add `*' to
556 reserved Windows filename characters (closes SF #1396499).
558 2006-11-13 Bill Wohler <wohler@newt.com>
560 Release MH-E version 8.0.3.
562 * mh-e.el (Version, mh-version): Update for release 8.0.3.
564 * mh-e.el (mh-alias-local-users): Boolean docstrings should start
565 with "Non-nil means". Perhaps this option should have a -flag
567 (mh-junk-background): Sync docstring with manual.
569 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
570 (mh-spamprobe-blacklist): Sync docstring with manual.
572 2006-11-11 Stephen Gildea <gildea@stop.mail-abuse.org>
574 * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
575 Use mh-junk-background consistently in call-process calls.
576 (mh-bogofilter-blacklist, mh-bogofilter-whitelist)
577 (mh-spamprobe-blacklist, mh-spamprobe-whitelist):
578 Use with-current-buffer so the right thing happens if
579 mh-junk-background is t (closes SF #1594802).
581 * mh-e.el (mh-junk-background): Document that On value is 0;
582 t may be used for debugging.
584 2006-11-10 Andreas Schwab <schwab@suse.de>
586 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
588 2006-11-10 Glenn Morris <rgm@gnu.org>
590 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
592 2006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
594 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
595 quotation marks, so that the last two arguments of sa-learn
596 are separated properly (closes SF #1565460).
597 (mh-spamassassin-blacklist): In example .procmailrc, add
598 PATH element to find mhparam on Debian.
600 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
602 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
603 so that we always have a valid string for split-string even if
604 nothing is added in mh-send-letter (closes SF #1564742).
606 2006-07-03 Bill Wohler <wohler@newt.com>
608 Release MH-E version 8.0.2.
610 * mh-e.el (Version, mh-version): Update for release 8.0.2.
612 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
614 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
615 it refers to the icons in mh-xemacs-icon-map instead of trying to
616 declare the icons in situ. This allows mh-tool-bar.el to be
617 compiled under XEmacs. Remove initial value for
618 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
619 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
620 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
621 This allows MH-E to be used in XEmacs in a tty (closes SF #1506846).
623 2006-07-03 Bill Wohler <wohler@newt.com>
625 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
626 that mh-xemacs needs functions in mh-compat.
628 2006-06-29 Bill Wohler <wohler@newt.com>
630 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
631 loop construct to be consistent with other loops, and because
632 edebug doesn't work without it.
634 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
636 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
637 redundant +s in regexp (closes SF #1514424).
639 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
641 * mh-mime.el (mh-mime-save-parts): Add -store option to
642 mhn (closes SF #1513140).
644 2006-06-20 Bill Wohler <wohler@newt.com>
646 Release MH-E version 8.0.1.
648 * mh-e.el (Version, mh-version): Update for release 8.0.1.
650 2006-06-15 Bill Wohler <wohler@newt.com>
652 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
653 suffix for folder names, as <> are illegal filename characters on
654 Windows (closes SF #1507002).
656 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
658 * mh-comp.el (mh-send-uses-spost): New variable.
659 (mh-send-letter): Do not use -msgid and -mime if
660 mh-send-uses-spost is t (closes SF #1486726).
662 2006-06-02 Bill Wohler <wohler@newt.com>
664 * mh-search.el (mh-folder-exists-p): Change test from an empty buffer,
665 to one that contains the actual folder, since GNU mailutils' folder
666 command displays output if the folder doesn't exist (closes SF
669 2006-05-06 Bill Wohler <wohler@newt.com>
671 Release MH-E version 8.0.
673 * mh-e.el (Version, mh-version): Update for release 8.0.
675 2006-05-05 Bill Wohler <wohler@newt.com>
677 * mh-e.el: Update commentary.
679 2006-04-28 Bill Wohler <wohler@newt.com>
681 Release MH-E version 7.95.
683 * mh-e.el (Version, mh-version): Update for release 7.95.
685 2006-04-26 Eric Ding <ericding@alum.mit.edu>
687 * mh-e.el (mh-invisible-header-fields-internal): Add entry
690 2006-04-25 Bill Wohler <wohler@newt.com>
692 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
693 Folders returned by mh-folder-completion-function no longer need
694 adornment (closes SF #1476270).
696 2006-04-21 Bill Wohler <wohler@newt.com>
698 * mh-e.el (Version, mh-version): Add +cvs to version.
700 2006-04-21 Bill Wohler <wohler@newt.com>
702 Release MH-E version 7.94.
704 * mh-e.el (Version, mh-version): Update for release 7.94.
706 2006-04-21 Bill Wohler <wohler@newt.com>
708 * mh-letter.el (mh-insert-letter): If a message number isn't
709 given, throw an error rather than using a potentially incorrect
710 message number (closes SF #1473729). In addition, use the cur
711 message if mh-sent-from-msg is nil (when sending a message, in
712 contrast to replying). Move conversion of int to string into
713 interactive stanza so body can assume variables are of proper
716 2006-04-20 Bill Wohler <wohler@newt.com>
718 * mh-tool-bar.el (image-load-path): Define to shush compiler.
719 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
720 isn't used outside of it.
721 (mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
722 Update load-path/image-load-path before setting buttons.
723 This code used to be in mh-folder-mode/mh-letter-mode but this was
724 the wrong place since mh-tool-bar-*-buttons-init can also be called
725 when customizing the buttons.
726 (mh-tool-bar-update): New function which updates tool-bar-map in
727 all of the MH-E buffers after customizing the buttons (closes SF
729 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
730 Call it (closes SF #1452718).
732 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
733 mh-folder-tool-bar-map instead.
734 (image-load-path): Delete. No longer used.
735 (mh-folder-mode): Moved setting of image-load-path into
736 mh-tool-bar-folder-buttons-init.
738 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
739 mh-letter-tool-bar-map instead.
740 (image-load-path): Delete. No longer used.
741 (mh-letter-mode): Moved setting of image-load-path into
742 mh-tool-bar-letter-buttons-init.
744 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
745 instead of set-buffer.
747 2006-04-19 Bill Wohler <wohler@newt.com>
749 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
750 can permanently disable a button (such as a separator) with nil.
752 2006-04-18 Bill Wohler <wohler@newt.com>
754 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
755 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
756 (mh-min-colors-defined-flag): Do not unbind these macros and
757 variables. Nice idea, but too many nasty side-effects. These
758 macros are needed by [Cc]ustom-make-dependencies when creating the
759 MH-E customization groups in mh-cus-load.el. These disappeared
760 when the macros above were introduced. Besides, if a developer
761 were to try to show the help for a macro or variable they were
762 looking at and got [No match] when they did so, that would be bad.
764 2006-04-17 Bill Wohler <wohler@newt.com>
766 * mh-comp.el (mh-insert-x-mailer): Strip build number from
767 version in X-Mailer field (closes SF #1466481).
769 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
770 variables and functions with the same name are found correctly by
771 find-func (invoked by clicking on the filename link in the *Help*
773 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
775 * mh-e.el (mh-defgroup): Rename to defgroup-mh. Ditto.
776 (mh-defcustom): Rename to defcustom-mh. Ditto.
777 (mh-defface): Rename to defface-mh. Ditto.
778 (mh-font-lock-add-keywords): Make changes according to these
781 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
784 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
785 have been processed by mh-normalize-folder-name.
786 (mh-folder-completion-function): Handle completion of folders with
787 absolute names. Also, when flag is t, display complete folder name
788 to provide proper highlighting in Emacs 22 now that
789 minibuffer-completing-file-name is nil (closes SF #1470518).
790 (mh-folder-completing-read): No longer set
791 minibuffer-completing-file-name to t. This was causing "Can't set
792 current directory errors" when browsing absolute file names.
793 Another benefit of this change is that SPC can be used for
794 completion again (closes SF #1470518).
796 2006-04-15 Bill Wohler <wohler@newt.com>
798 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
800 2006-04-14 Bill Wohler <wohler@newt.com>
802 * mh-funcs.el (view-exit-action): No need to wrap defvar with
803 eval-when-compile when shushing compiler.
805 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
807 * mh-seq.el (view-exit-action): Ditto.
809 * mh-show.el (font-lock-auto-fontify): Ditto.
811 * mh-utils.el (mh-speed-flists-cache): Ditto.
813 * mh-acros.el (struct, x, y): No need to wrap defvar with
814 eval-when-compile when shushing compiler, even when
815 mh-do-in-xemacs or another construct is used.
817 * mh-comp.el (sendmail-coding-system): Ditto.
819 * mh-e.el (mark-active): Ditto.
821 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
822 (image-load-path, font-lock-defaults): Ditto.
824 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
826 * mh-mime.el (dots, type, ov)
827 (mm-verify-function-alist, mm-decrypt-function-alist)
828 (pressed-details): Ditto.
830 * mh-search.el (pick-folder, mh-do-in-xemacs)
831 (mh-mairix-folder, mh-flists-search-folders)
832 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
834 * mh-seq.el (tool-bar-mode): Ditto.
836 * mh-utils.el (completion-root-regexp)
837 (minibuffer-completing-file-name): Ditto.
839 * mh-xface.el (default-enable-multibyte-characters): Ditto.
841 * mh-compat.el (mh-font-lock-add-keywords): New alias for
842 font-lock-add-keywords. Returns nil on XEmacs.
844 * mh-e.el: Add MH-E function and variable keywords such as
845 mh-defun-compat and mh-defcustom to font-lock-keywords.
847 2006-04-13 Bill Wohler <wohler@newt.com>
849 * mh-e.el (customize-package-emacs-version-alist)
850 (mh-e, mh-alias, mh-folder, mh-folder-selection)
851 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
852 (mh-scan-line-formats, mh-search, mh-sending-mail)
853 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
854 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
855 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
856 (mh-alias-insert-file, mh-alias-insertion-location)
857 (mh-alias-local-users, mh-alias-local-users-prefix)
858 (mh-alias-passwd-gecos-comma-separator-flag)
859 (mh-new-messages-folders, mh-ticked-messages-folders)
860 (mh-large-folder, mh-recenter-summary-flag)
861 (mh-recursive-folders-flag, mh-sortm-args)
862 (mh-default-folder-for-message-function)
863 (mh-default-folder-list, mh-default-folder-must-exist-flag)
864 (mh-default-folder-prefix, mh-identity-list)
865 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
866 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
867 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
868 (mh-junk-program, mh-compose-insertion)
869 (mh-compose-skipped-header-fields)
870 (mh-compose-space-does-completion-flag)
871 (mh-delete-yanked-msg-window-flag)
872 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
873 (mh-letter-complete-function, mh-letter-fill-column)
874 (mh-mml-method-default, mh-signature-file-name)
875 (mh-signature-separator-flag, mh-x-face-file)
876 (mh-yank-behavior, mh-interpret-number-as-range-flag)
877 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
878 (mh-search-program, mh-compose-forward-as-mime-flag)
879 (mh-compose-letter-function, mh-compose-prompt-flag)
880 (mh-forward-subject-format, mh-insert-x-mailer-flag)
881 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
882 (mh-reply-show-message-flag)
883 (mh-refile-preserves-sequences-flag, mh-tick-seq)
884 (mh-update-sequences-after-mh-show-flag)
885 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
886 (mh-decode-mime-flag)
887 (mh-display-buttons-for-alternatives-flag)
888 (mh-display-buttons-for-inline-parts-flag)
889 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
890 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
891 (mh-highlight-citation-style, mh-invisible-header-fields)
892 (mh-invisible-header-fields-default, mh-lpr-command-format)
893 (mh-max-inline-image-height, mh-max-inline-image-width)
894 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
895 (mh-print-background-flag, mh-show-maximum-size)
896 (mh-show-use-xface-flag, mh-store-default-directory)
897 (mh-summary-height, mh-speed-update-interval)
898 (mh-show-threads-flag, mh-tool-bar-search-function)
899 (mh-defcustom, mh-after-commands-processed-hook)
900 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
901 (mh-before-quit-hook, mh-before-send-letter-hook)
902 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
903 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
904 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
905 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
906 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
907 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
908 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
909 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
910 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
911 (mh-folder-subject, mh-folder-tick, mh-folder-to)
912 (mh-letter-header-field, mh-search-folder, mh-show-cc)
913 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
914 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
915 (mh-show-subject, mh-show-to, mh-show-xface)
916 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
917 (mh-speedbar-selected-folder)
918 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
919 notation in :package-version keyword.
921 2006-04-07 Bill Wohler <wohler@newt.com>
923 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
924 :package-version keyword.
926 2006-03-31 Bill Wohler <wohler@newt.com>
928 * mh-e.el (mh-strip-package-version): Move before use to avoid
929 compiler error. Make macro, also to avoid compiler error.
930 (mh-defface-compat): Incorporate body into mh-face-data and
933 2006-03-30 Bill Wohler <wohler@newt.com>
935 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
936 remove new :package-version keyword in older settings.
937 (customize-package-emacs-version-alist): Add MH-E version to Emacs
939 (mh-e, mh-alias, mh-folder, mh-folder-selection)
940 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
941 (mh-scan-line-formats, mh-search, mh-sending-mail)
942 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
943 (mh-hooks, mh-faces): Add :package-version keyword to these
944 groups (closes SF #1452724).
945 (mh-alias-completion-ignore-case-flag)
946 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
947 (mh-alias-insert-file, mh-alias-insertion-location)
948 (mh-alias-local-users, mh-alias-local-users-prefix)
949 (mh-alias-passwd-gecos-comma-separator-flag)
950 (mh-new-messages-folders, mh-ticked-messages-folders)
951 (mh-large-folder, mh-recenter-summary-flag)
952 (mh-recursive-folders-flag, mh-sortm-args)
953 (mh-default-folder-for-message-function)
954 (mh-default-folder-list, mh-default-folder-must-exist-flag)
955 (mh-default-folder-prefix, mh-identity-list)
956 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
957 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
958 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
959 (mh-junk-program, mh-compose-insertion)
960 (mh-compose-skipped-header-fields)
961 (mh-compose-space-does-completion-flag)
962 (mh-delete-yanked-msg-window-flag)
963 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
964 (mh-letter-complete-function, mh-letter-fill-column)
965 (mh-mml-method-default, mh-signature-file-name)
966 (mh-signature-separator-flag, mh-x-face-file)
967 (mh-yank-behavior, mh-interpret-number-as-range-flag)
968 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
969 (mh-search-program, mh-compose-forward-as-mime-flag)
970 (mh-compose-letter-function, mh-compose-prompt-flag)
971 (mh-forward-subject-format, mh-insert-x-mailer-flag)
972 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
973 (mh-reply-show-message-flag)
974 (mh-refile-preserves-sequences-flag, mh-tick-seq)
975 (mh-update-sequences-after-mh-show-flag)
976 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
977 (mh-decode-mime-flag)
978 (mh-display-buttons-for-alternatives-flag)
979 (mh-display-buttons-for-inline-parts-flag)
980 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
981 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
982 (mh-highlight-citation-style, mh-invisible-header-fields)
983 (mh-invisible-header-fields-default, mh-lpr-command-format)
984 (mh-max-inline-image-height, mh-max-inline-image-width)
985 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
986 (mh-print-background-flag, mh-show-maximum-size)
987 (mh-show-use-xface-flag, mh-store-default-directory)
988 (mh-summary-height, mh-speed-update-interval)
989 (mh-show-threads-flag, mh-tool-bar-search-function): Add
990 :package-version keyword to these options (closes SF #1452724).
991 (mh-after-commands-processed-hook)
992 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
993 (mh-before-quit-hook, mh-before-send-letter-hook)
994 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
995 (mh-forward-hook, mh-inc-folder-hook)
996 (mh-insert-signature-hook)
997 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
998 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
999 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1000 (mh-unseen-updated-hook): Add :package-version keyword to these
1001 hooks (closes SF #1452724).
1002 (mh-min-colors-defined-flag)
1003 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
1004 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
1005 (mh-folder-msg-number, mh-folder-refiled)
1006 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1007 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1008 (mh-letter-header-field, mh-search-folder, mh-show-cc)
1009 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1010 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1011 (mh-show-subject, mh-show-to, mh-show-xface)
1012 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
1013 (mh-speedbar-selected-folder)
1014 (mh-speedbar-selected-folder-with-unseen-messages): : Add
1015 :package-version keyword to these faces (closes SF #1452724).
1017 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
1018 :package-version keywords (closes SF #1452724).
1020 2006-03-28 Bill Wohler <wohler@newt.com>
1022 * mh-tool-bar.el: Use clipboard-kill-region,
1023 clipboard-kill-ring-save, and clipboard-yank instead of undo,
1024 kill-region, and menu-bar-kill-ring-save respectively. In
1025 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
1026 front of mh-compose-insertion to be consistent with other mailers,
1027 such as Evolution. In MH-Folder mode, move vanilla reply icon to
1028 the left of the other reply icons. Use mail/inbox icon instead of
1029 mail, next-page instead of page-down, delete instead of close,
1030 mail/move instead of mail/refile, data-save instead of execute,
1031 mail/flag-for-followup instead of highlight, contact instead of
1032 mail/alias, open instead of fld-open, zoom-out instead of widen.
1034 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
1035 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
1037 2006-03-27 Eric Ding <ericding@alum.mit.edu>
1039 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1040 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail).
1042 2006-03-19 Bill Wohler <wohler@newt.com>
1044 * mh-comp.el (mh-reply): Sync docstring with manual.
1046 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
1049 2006-03-17 Bill Wohler <wohler@newt.com>
1051 * mh-compat.el (mh-image-load-path-for-library): Minor docstring fix.
1053 2006-03-16 Bill Wohler <wohler@newt.com>
1055 * mh-comp.el (mh-send-letter): Use split-string to break up
1056 mh-send-args (closes SF #1448604).
1057 (mh-compose-and-send-mail): Use run-hook-with-args for
1058 mh-compose-letter-function.
1060 * mh-e.el (mh-list-to-string-1): Use dolist.
1062 * mh-compat.el (mh-image-load-path-for-library): Prefer user's images.
1064 2006-03-15 Bill Wohler <wohler@newt.com>
1066 * mh-compat.el (mh-image-load-path-for-library): Fix example by
1067 not recommending that one binds image-load-path. Just defvar it to
1068 placate compiler and only use it if previously defined.
1070 * mh-e.el (image-load-path): Don't bind!
1072 * mh-folder.el (mh-folder-mode): Only use image-load-path if
1075 * mh-letter.el (mh-letter-mode): Ditto.
1077 * mh-utils.el (mh-logo-display): Ditto.
1079 2006-03-14 Bill Wohler <wohler@newt.com>
1081 * mh-compat.el (mh-image-load-path-for-library): Incorporate
1082 changes from image-load-path-for-library, which are:
1083 (image-load-path-for-library): Pass value of path rather than
1084 symbol. Always return list of directories. Guarantee that image
1085 directory comes first.
1087 * mh-e.el (image-load-path): Define on those Emacsen that lack it
1088 to avoid compile and run-time errors.
1090 * mh-folder.el (mh-folder-mode): Use new idiom for setting
1093 * mh-letter.el (mh-letter-mode): Ditto.
1095 * mh-utils.el (mh-logo-display): Ditto.
1097 2006-03-12 Bill Wohler <wohler@newt.com>
1099 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
1102 2006-03-10 Bill Wohler <wohler@newt.com>
1104 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
1105 flag to replace-in-string. This was badly needed by
1106 mh-quote-pick-expr in order to properly quote subjects when using
1107 / s on XEmacs (closes SF #1447598).
1108 (mh-image-load-path-for-library): Merged changes from Reiner. Add
1109 no-error argument. If path t, just return directory.
1111 * mh-e.el (mh-profile-component): Drop `s' from mhparam
1112 -components for Mailutils compatibility (closes SF #1446985).
1114 2006-03-06 Bill Wohler <wohler@newt.com>
1116 * mh-e.el (Version, mh-version): Add +cvs to version.
1118 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
1120 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
1121 handling of duplicate messages. The test in cond was too strong
1122 and wasn't catching the case where origin-map was nil.
1124 2006-03-05 Bill Wohler <wohler@newt.com>
1126 Release MH-E version 7.93.
1128 * mh-e.el (Version, mh-version): Update for release 7.93.
1130 2006-03-05 Bill Wohler <wohler@newt.com>
1132 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
1133 calling mh-image-load-path-for-library since this is the default.
1135 * mh-letter.el (mh-letter-mode): Ditto.
1137 * mh-utils.el (mh-logo-display): Ditto.
1139 2006-03-04 Bill Wohler <wohler@newt.com>
1141 * mh-compat.el (mh-image-load-path-for-library): Move here from
1142 mh-utils.el and wrap with mh-defun-compat since this function will
1143 be soon added to image.el.
1145 * mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
1146 (mh-normalize-folder-name): Add return-nil-if-folder-empty
1147 argument which is useful when calling mh-normalize-folder-name to
1148 process the folder argument for the folders command.
1149 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
1150 this function more robust. It could too easily list the folders in /.
1151 (mh-folder-list): Fix a couple of problems pointed out by Thomas
1152 Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
1154 2006-03-03 Bill Wohler <wohler@newt.com>
1156 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
1157 mh-image-load-path-for-library.
1159 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
1160 mh-image-load-path-for-library.
1162 * mh-utils.el (mh-image-load-path): Rename to
1163 mh-image-load-path-for-library. Add example to docstring. Rename
1164 local variable mh-image-directory to image-directory. Move error
1165 checks to default case in cond and simplify.
1167 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
1168 docstrings with manual.
1170 2006-03-02 Bill Wohler <wohler@newt.com>
1172 * mh-folder.el (mh-tool-bar-init): Autoload.
1173 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
1174 Set scoped variables image-load-path and load-path with updated
1175 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
1177 * mh-letter.el (mh-tool-bar-init): Autoload.
1178 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
1179 Set scoped variables image-load-path and load-path with updated
1180 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
1182 * mh-show.el (mh-tool-bar-init): Autoload.
1183 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
1186 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
1187 messages per conventions.
1188 (mh-tool-bar-folder-buttons-init)
1189 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
1190 (mh-tool-bar-define call): Format.
1192 * mh-utils.el (mh-image-directory)
1193 (mh-image-load-path-called-flag): Delete.
1194 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
1195 changes are that it no longer uses/sets mh-image-directory or
1196 mh-image-load-path-called-flag, and returns the updated path
1197 rather than change it.
1198 (mh-logo-display): Change usage of mh-image-load-path.
1200 2006-02-28 Bill Wohler <wohler@newt.com>
1202 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
1203 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
1204 to subjects with special characters by quoting regular expression
1205 characters in pick expression derived from existing subjects and
1206 other fields (closes SF #1432548).
1207 (mh-narrow-to-subject): Remove Re: string from subject so that
1208 pick can find originating message (closes SF #1438369).
1210 * mh-utils.el (mh-image-load-path): Rename variable to
1212 (mh-image-load-path): Access mh-image-directory instead of
1214 (mh-folder-list): Fix problem with passing in a folder and getting
1215 nothing back. Fix problem with passing in empty string and getting
1216 the entire filesystem (or infinite loop). Don't append slash to
1217 folder. These fixes fix problems observed with the pick search.
1218 Thanks to Thomas Baumann for the help (closes SF #1435381).
1219 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
1220 function for quoting pick regular expression characters (closes SF
1223 2006-02-27 Bill Wohler <wohler@newt.com>
1225 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
1228 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
1229 docstring about obsolete variable mh-mime-content-types.
1231 * mh-e.el (mh-variant): Sync docstring with manual.
1232 (cus-face): Require as it is needed by mh-inherit-face-flag.
1234 * mh-compat.el (mh-display-color-cells): Return 2 if
1235 device-color-cells returns nil (closes SF #1436924).
1237 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
1238 mh-display-color-cells.
1240 2006-02-21 Eric Ding <ericding@alum.mit.edu>
1242 * mh-e.el (mh-invisible-header-fields-internal): Add entry
1245 2006-02-20 Eric Ding <ericding@alum.mit.edu>
1247 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1248 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
1249 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
1250 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
1251 "X-Roving-" by removing unnecessary "*" at end.
1253 2006-02-19 Bill Wohler <wohler@newt.com>
1255 * mh-alias.el (mh-address-mail-regexp)
1256 (mh-goto-address-find-address-at-point): Delete copies from
1258 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
1259 mh-address-mail-regexp.
1260 (mh-alias-add-address-under-point): Use
1261 goto-address-find-address-at-point instead of
1262 mh-goto-address-find-address-at-point.
1264 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
1266 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
1268 (mh-show-addr): Call goto-address unconditionally. User should use
1269 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
1271 2006-02-18 Bill Wohler <wohler@newt.com>
1273 * mh-e.el (Version, mh-version): Add +cvs to version.
1275 2006-02-18 Bill Wohler <wohler@newt.com>
1277 Release MH-E version 7.92.
1279 * mh-e.el (Version, mh-version): Update for release 7.92.
1281 2006-02-17 Bill Wohler <wohler@newt.com>
1283 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
1284 backgrounds per Mark's suggestion.
1286 * mh-utils.el (mh-image-load-path): Fix problem that images on
1287 load-path or image-load-path would win over relative paths (newer
1288 MH-E or Emacs distribution).
1290 2006-02-16 Bill Wohler <wohler@newt.com>
1292 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
1293 the defface :inherit keyword is available.
1294 (mh-face-data): New variable (contains all face specs) and
1295 function (accessor).
1296 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
1297 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
1298 (mh-folder-msg-number, mh-folder-refiled)
1299 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1300 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1301 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1302 (mh-show-date, mh-show-from)
1303 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
1304 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
1305 (mh-show-to, mh-show-xface, mh-speedbar-folder)
1306 (mh-speedbar-folder-with-unseen-messages)
1307 (mh-speedbar-selected-folder)
1308 (mh-speedbar-selected-folder-with-unseen-messages):
1311 * mh-utils.el (mh-image-load-path): The variables image-load-path
1312 or load-path would not get updated if user set mh-image-load-path.
1313 Moved tests and add-to-list calls outside of cond so they are
1314 applied consistently, even if they are redundant in some
1315 circumstances. Efficiency isn't a concern here. Made error
1316 messages more user-friendly.
1318 2006-02-15 Peter S Galbraith <psg@debian.org>
1320 * mh-compat.el (mh-image-search-load-path): Compatibility code.
1321 Emacs 21 and XEmacs don't have `image-search-load-path'.
1323 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
1324 images are already found.
1326 2006-02-10 Bill Wohler <wohler@newt.com>
1328 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
1329 rather than use defun*. XEmacs cannot create a proper autoload for
1332 2006-02-09 Bill Wohler <wohler@newt.com>
1334 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
1335 that causes an infinite loop on XEmacs.
1337 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
1340 2006-02-08 Peter S Galbraith <psg@debian.org>
1342 * mh-e.el (mh-invisible-header-fields-internal): Added entries
1343 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash".
1345 2006-02-04 Bill Wohler <wohler@newt.com>
1347 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
1348 has an emacsclient command that supports --eval. I had read that
1349 gnudoit was deprecated in favor of gnuclient anyway.
1351 2006-02-04 Eric Ding <ericding@alum.mit.edu>
1353 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
1354 handle OpenOffice documents.
1356 2006-02-03 Bill Wohler <wohler@newt.com>
1358 * mh-e.el (Version, mh-version): Add +cvs to version.
1360 2006-02-03 Bill Wohler <wohler@newt.com>
1362 Release MH-E version 7.91.
1364 * mh-e.el (Version, mh-version): Update for release 7.91.
1366 2006-02-03 Bill Wohler <wohler@newt.com>
1368 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
1369 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
1370 of local variable mh-library-name.
1372 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
1373 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
1374 88) with (min-colors 64) in face specifications so that MH-E still
1375 looks good on systems with fewer colors (such as Eric Ding's).
1377 2006-02-03 Peter S Galbraith <psg@debian.org>
1379 * mh-utils.el (mh-image-load-path): New variable to optionally
1380 hold the directory where MH-E images are stored. If nil, then
1381 the function `mh-image-load-path' will find it. This variable
1382 will be used for Debian packaging.
1383 (mh-image-load-path function): Use variable `mh-image-load-path'
1384 if non-nil and exists.
1386 2006-02-03 Mark D. Baushke <mdb@gnu.org>
1388 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
1389 for GNU Emacs or XEmacs to avoid void-variable tool-bar-map lisp
1390 errors if describe-bindings is called before tool-bar-mode is used.
1392 2006-02-03 Peter S Galbraith <psg@debian.org>
1394 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
1395 `mh-url-unresrved-chars'.
1397 2006-02-02 Bill Wohler <wohler@newt.com>
1399 * mh-e.el (Version, mh-version): Add +cvs to version.
1401 2006-02-02 Bill Wohler <wohler@newt.com>
1403 Release MH-E version 7.90.
1405 * mh-e.el (Version, mh-version): Update for release 7.90.
1407 2006-02-01 Bill Wohler <wohler@newt.com>
1409 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
1411 * mh-alias.el (mh-alias-gecos-name): Use
1412 mh-replace-regexp-in-string instead of replace-regexp-in-string.
1413 (crm, multi-prompt): Use mh-require instead of require.
1414 (mh-goto-address-find-address-at-point): Use
1415 mh-line-beginning-position and mh-line-end-position instead of
1416 line-beginning-position and line-end-position. Use
1417 mh-match-string-no-properties instead of
1418 match-string-no-properties.
1420 * mh-comp.el (mh-modify-header-field): Use
1421 mh-line-beginning-position and mh-line-end-position instead of
1422 line-beginning-position and line-end-position.
1424 * mh-compat.el (mailabbrev): Use mh-require instead of require.
1425 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
1426 (mh-face-background): Make docstring consistent.
1427 (mh-require, mh-cancel-timer, mh-display-color-cells)
1428 (mh-line-beginning-position, mh-line-end-position)
1429 (mh-match-string-no-properties, mh-replace-regexp-in-string)
1430 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
1431 add mh- prefix since compatibility functions should have our
1432 package prefix (mh-) by Emacs convention and to avoid messing up
1433 checks for the same functions in other packages.
1435 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
1436 from mh-xemacs.el and rename.
1437 (mh-xargs): Use mh-line-beginning-position and
1438 mh-line-end-position instead of line-beginning-position and
1440 (mh-defface-compat): Use mh-display-color-cells instead of
1441 display-color-cells.
1443 * mh-folder.el (which-func): Use mh-require instead of require.
1445 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
1448 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml):
1449 Use mh-require instead of require.
1451 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
1452 (mh-letter-next-header-field): Use mh-line-beginning-position and
1453 mh-line-end-position instead of line-beginning-position and
1456 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
1457 mh-match-string-no-properties instead of
1458 match-string-no-properties.
1459 (mh-narrow-to-header-field): Use mh-line-beginning-position and
1460 mh-line-end-position instead of line-beginning-position and
1463 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
1464 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
1465 mh-line-beginning-position and mh-line-end-position instead of
1466 line-beginning-position and line-end-position.
1468 * mh-search.el (which-func): Use mh-require instead of require.
1469 (mh-make-pick-template, mh-index-visit-folder)
1470 (mh-pick-parse-search-buffer, mh-swish-next-result)
1471 (mh-mairix-next-result, mh-namazu-next-result)
1472 (mh-pick-next-result, mh-grep-next-result)
1473 (mh-index-create-imenu-index, mh-index-match-checksum)
1474 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
1475 mh-line-beginning-position and mh-line-end-position instead of
1476 line-beginning-position and line-end-position.
1478 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
1480 (mh-folder-size-flist, mh-parse-flist-output-line)
1481 (mh-add-sequence-notation): Use mh-line-beginning-position and
1482 mh-line-end-position instead of line-beginning-position and
1485 * mh-show.el (mh-show-addr): Use mh-require instead of require.
1487 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
1488 (mh-speed-view, mh-folder-speedbar-buttons)
1489 (mh-speed-highlight, mh-speed-goto-folder)
1490 (mh-speed-add-buttons, mh-speed-parse-flists-output)
1491 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
1492 (mh-speed-add-folder): Use mh-line-beginning-position and
1493 mh-line-end-position instead of line-beginning-position and
1495 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
1497 * mh-thread.el (mh-thread-find-children)
1498 (mh-thread-parse-scan-line, mh-thread-generate): Use
1499 mh-line-beginning-position and mh-line-end-position instead of
1500 line-beginning-position and line-end-position.
1502 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
1503 instead of display-color-cells.
1504 (mh-folder-list): Use mh-replace-regexp-in-string instead of
1505 replace-regexp-in-string.
1506 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
1507 Use mh-line-beginning-position and mh-line-end-position instead of
1508 line-beginning-position and line-end-position.
1510 * mh-comp.el (mh-send-sub): Don't find components file in current
1511 directory--this seems to have been a side-effect of commenting out
1512 the use of an old mh-etc variable. Improve error message.
1514 2006-01-31 Bill Wohler <wohler@newt.com>
1516 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
1517 argument since compatibility functions should have our package
1518 prefix (mh-) by Emacs convention and to avoid messing up checks
1519 for the same functions in other packages. Use explicit argument
1520 instead of forming name by adding mh- prefix so that one can grep
1521 and find the definition.
1523 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1524 (mh-alias-expand, mh-alias-minibuffer-confirm-address):
1525 Use mh-assoc-string instead of assoc-string.
1527 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
1528 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string):
1529 Move here from mh-utils.el.
1530 (mh-display-completion-list): Move here from mh-comp.el.
1531 (mh-face-foreground, mh-face-background): Move here from
1533 (mh-write-file-functions): Move here from mh-folder.el.
1535 * mh-folder.el (mh-write-file-functions-compat): Move to
1536 mh-compat.el and rename to mh-write-file-functions.
1537 (mh-folder-mode): Use the new name.
1539 * mh-gnus.el (gnus-local-map-property): Rename to
1540 mh-gnus-local-map-property.
1541 (mm-merge-handles): Rename to mh-mm-merge-handles.
1542 (mm-set-handle-multipart-parameter): Rename to
1543 mh-mm-set-handle-multipart-parameter.
1544 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
1545 (mm-possibly-verify-or-decrypt): Rename to
1546 mh-mm-possibly-verify-or-decrypt.
1547 (mm-handle-multipart-ctl-parameter): Rename to
1548 mh-mm-handle-multipart-ctl-parameter.
1549 (mm-readable-p): Rename to mh-mm-readable-p.
1550 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1551 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1552 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1553 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1554 (mml-minibuffer-read-disposition): Rename to
1555 mh-mml-minibuffer-read-disposition.
1557 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1558 instead of assoc-string.
1560 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1561 (mh-mime-display, mh-mime-display-security)
1562 (mh-insert-mime-button, mh-insert-mime-security-button)
1563 (mh-handle-set-external-undisplayer)
1564 (mh-mime-security-press-button, mh-mime-security-show-details)
1565 (mh-mml-attach-file, mh-mime-cleanup)
1566 (mh-destroy-postponed-handles): Use new mh-* names for
1567 compatibility functions.
1569 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1570 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1571 (mh-beginning-of-word): Use the new name.
1572 (mh-get-field): Delete ancient alias.
1574 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1575 and rename to mh-face-foreground.
1576 (mh-face-background-compat): Move to mh-compat.el
1577 and rename to mh-face-background.
1578 (mh-face-display-function): Use the new names.
1579 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1580 instead of url-hexify-string.
1581 (url-unreserved-chars): Move to mh-compat.el and rename to
1582 mh-url-unreserved-chars.
1583 (url-hexify-string): Move to mh-compat.el and rename to
1584 mh-url-hexify-string.
1586 * mh-letter.el (mh-complete-word): Fix bug in call to
1587 mh-display-completion-list. Wrong argument was passed, so
1588 completions wouldn't show highlighted prefix.
1590 2006-01-29 Bill Wohler <wohler@newt.com>
1592 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1593 mh-adaptive-cmd-note-flag.
1595 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1596 docstring. sc-cite-original is autoloaded via loaddefs.el for all
1597 supported versions. In addition, the package name "sc" has been
1598 made obsolete by "supercite since at least Emacs 21.
1600 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1601 revealed character constants that were still strings (closes SF
1604 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1605 (mh-get-header-field): Move to mh-utils.el so that you can read
1606 messages without having to load mh-comp.el and mh-letter.el.
1608 * mh-letter.el (mh-hidden-header-keymap)
1609 (mh-letter-toggle-header-field-display)
1610 (mh-letter-skipped-header-field-p)
1611 (mh-letter-skip-leading-whitespace-in-header-field)
1612 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1613 can read messages without having to load mh-comp.el and
1616 * mh-utils.el (mh-get-header-field)
1617 (mh-letter-hide-all-skipped-fields)
1618 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1619 (mh-letter-toggle-header-field-display)
1620 (mh-letter-skip-leading-whitespace-in-header-field)
1621 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1622 mh-letter.el so that you can read messages without having to load
1623 mh-comp.el and mh-letter.el.
1625 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
1626 least, will deliver them to us.
1628 * mh-e.el (mh-after-commands-processed-hook)
1629 (mh-before-commands-processed-hook): Specify what sort of requests
1632 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1635 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1637 (mh-letter-mode): Remove Mail menu.
1639 2006-01-29 Bill Wohler <wohler@newt.com>
1642 Remove circular dependencies. mh-e.el now includes few require
1643 statements and stands alone. Other files should need to require
1644 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1646 Remove unneeded require statements.
1647 Remove unneeded load statements, or replace them with non-fatal
1649 Break out components into their own files that were often spread
1651 As a result, many functions that are now only used within a single
1652 file no longer need to be autoloaded.
1653 Rearrange and provide consistent headings.
1656 * mh-acros.el: Update commentary to reflect current usage.
1657 Add autoload cookies to all macros.
1658 (mh-require-cl): Merge docstring and comment.
1659 (mh-do-in-xemacs): Fix typo in docstring.
1660 (assoc-string): Move to new file mh-compat.el.
1661 (with-mh-folder-updating, mh-in-show-buffer)
1662 (mh-do-at-event-location, mh-seq-msgs): Move here from mh-utils.el.
1663 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1666 * mh-alias.el (mh-address-mail-regexp)
1667 (mh-goto-address-find-address-at-point): Move here from mh-utils.el.
1668 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1670 * mh-buffers.el: Update descriptive text.
1672 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1673 new file mh-scan.el.
1674 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1675 (mh-letter-menu, mh-letter-mode-help-messages)
1676 (mh-letter-buttons-init-flag, mh-letter-mode)
1677 (mh-font-lock-field-data, mh-letter-header-end)
1678 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1679 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1680 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1681 (mh-filter-out-non-text, mh-insert-prefix-string)
1682 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1683 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1684 (mh-letter-complete, mh-letter-complete-or-space)
1685 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1686 (mh-letter-next-header-field-or-indent)
1687 (mh-letter-next-header-field, mh-letter-previous-header-field)
1688 (mh-letter-skipped-header-field-p)
1689 (mh-letter-skip-leading-whitespace-in-header-field)
1690 (mh-hidden-header-keymap)
1691 (mh-letter-toggle-header-field-display-button)
1692 (mh-letter-toggle-header-field-display)
1693 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1695 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1696 (mh-pgp-support-flag, mh-x-mailer-string)
1697 (mh-letter-header-field-regexp): Move to mh-e.el.
1698 (mh-goto-header-field, mh-goto-header-end)
1699 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1701 (mh-insert-header-separator): Move to mh-comp.el.
1702 (mh-display-completion-list-compat): Move to new file
1705 * mh-compat.el: New file.
1706 (assoc-string): Move here from mh-acros.el.
1707 (mh-display-completion-list): Move here from mh-comp.el.
1709 * mh-customize.el: Move content into mh-e.el and remove.
1711 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1712 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1713 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1714 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1715 declared here so that they can be used in docstrings.
1716 (mh-sent-from-folder, mh-sent-from-msg)
1717 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1718 (mh-x-mailer-string): Move here from mh-comp.el.
1719 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1720 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1721 here from mh-seq.el.
1722 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1723 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1724 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1725 (mh-show-folder-buffer, mh-mail-header-separator)
1726 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1727 (mh-signature-separator, mh-signature-separator-regexp)
1728 (mh-list-to-string, mh-list-to-string-1): Move here from
1730 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1731 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1732 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1733 (mh-exec-cmd-output)
1734 (mh-exchange-point-and-mark-preserving-active-mark)
1735 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1736 deprecated file mh-exec.el.
1737 (mh-path): Move here from deprecated file mh-customize.el.
1738 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1739 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1740 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1741 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1742 (mh-profile-component-value, mh-defface-compat): Move here from
1743 deprecated file mh-init.el.
1744 (mh-goto-next-button, mh-folder-mime-action)
1745 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1746 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1748 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1749 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1750 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1751 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1752 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1753 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1754 (mh-scan-cmd-note-width, mh-scan-destination-width)
1755 (mh-scan-date-width, mh-scan-date-flag-width)
1756 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1757 (mh-scan-field-destination-offset)
1758 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1759 (mh-scan-field-subject-start-offset, mh-scan-format)
1760 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1762 (mh-partial-folder-mode-line-annotation)
1763 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1764 (mh-generate-sequence-font-lock, mh-last-destination)
1765 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1766 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1767 (mh-execute-commands, mh-first-msg, mh-header-display)
1768 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1769 (mh-folder-from-address, mh-prompt-for-refile-folder)
1770 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1771 (mh-previous-page, mh-previous-undeleted-msg)
1772 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1773 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1774 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1775 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1776 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1777 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1778 (mh-folder-sequence-menu, mh-folder-message-menu)
1779 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1780 (mh-write-file-functions-compat, mh-folder-mode)
1781 (mh-restore-desktop-buffer, mh-scan-folder)
1782 (mh-regenerate-headers, mh-generate-new-cmd-note)
1783 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1784 (mh-process-or-undo-commands, mh-process-commands)
1785 (mh-update-unseen, mh-delete-scan-msgs)
1786 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1787 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1788 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1789 (mh-lessp): Move to mh-utils.el.
1790 (mh-parse-flist-output-line, mh-folder-size-folder)
1791 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1792 (mh-remove-sequence-notation, mh-remove-cur-notation)
1793 (mh-remove-all-notation, mh-delete-seq-locally)
1794 (mh-read-folder-sequences, mh-read-msg-list)
1795 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1796 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1797 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1798 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1800 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1801 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1802 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1803 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1804 (mh-faces, mh-alias-completion-ignore-case-flag)
1805 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1806 (mh-alias-insert-file, mh-alias-insertion-location)
1807 (mh-alias-local-users, mh-alias-local-users-prefix)
1808 (mh-alias-passwd-gecos-comma-separator-flag)
1809 (mh-new-messages-folders, mh-ticked-messages-folders)
1810 (mh-large-folder, mh-recenter-summary-flag)
1811 (mh-recursive-folders-flag, mh-sortm-args)
1812 (mh-default-folder-for-message-function, mh-default-folder-list)
1813 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1814 (mh-identity-list, mh-auto-fields-list)
1815 (mh-auto-fields-prompt-flag, mh-identity-default)
1816 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1817 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1818 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1819 (mh-compose-insertion, mh-compose-skipped-header-fields)
1820 (mh-compose-space-does-completion-flag)
1821 (mh-delete-yanked-msg-window-flag)
1822 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1823 (mh-letter-complete-function, mh-letter-fill-column)
1824 (mh-mml-method-default, mh-signature-file-name)
1825 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1826 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1827 (mh-scan-format-file-check, mh-scan-format-file)
1828 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1829 (mh-search-program, mh-compose-forward-as-mime-flag)
1830 (mh-compose-letter-function, mh-compose-prompt-flag)
1831 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1832 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1833 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1834 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1835 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1836 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1837 (mh-display-buttons-for-inline-parts-flag)
1838 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1839 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1840 (mh-highlight-citation-style)
1841 (mh-invisible-header-fields-internal)
1842 (mh-delay-invisible-header-generation-flag)
1843 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1844 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1845 (mh-lpr-command-format, mh-max-inline-image-height)
1846 (mh-max-inline-image-width, mh-mhl-format-file)
1847 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1848 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1849 (mh-show-use-xface-flag, mh-store-default-directory)
1850 (mh-summary-height, mh-speed-update-interval)
1851 (mh-show-threads-flag, mh-tool-bar-search-function)
1852 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1853 (mh-before-commands-processed-hook, mh-before-quit-hook)
1854 (mh-before-send-letter-hook, mh-delete-msg-hook)
1855 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1856 (mh-inc-folder-hook, mh-insert-signature-hook)
1857 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1858 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1859 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1860 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1861 (mh-folder-address, mh-folder-body)
1862 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1863 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1864 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1865 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1866 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1867 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1868 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1869 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1870 (mh-speedbar-folder-with-unseen-messages)
1871 (mh-speedbar-selected-folder)
1872 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1873 deprecated file mh-customize.el.
1875 * mh-exec.el: Move content into mh-e.el and remove.
1877 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el.
1879 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1881 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1883 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1884 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1885 to mail-abbrev-make-syntax-table.
1887 * mh-identity.el (mh-identity-menu): New variable for existing
1889 (mh-identity-make-menu-no-autoload): New alias for
1890 mh-identity-make-menu which can be called from mh-e.el.
1891 (mh-identity-list-set): Move to mh-e.el.
1892 (mh-identity-add-menu): New function.
1893 (mh-insert-identity): Add optional argument maybe-insert so that
1894 local variable mh-identity-local does not have to be visible.
1896 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1897 rest of keymaps). Update key binding for ? to call mh-help with
1898 help messages in new argument.
1899 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1900 which can be called from mh-e.el.
1901 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1903 * mh-init.el: Move content into mh-e.el and remove.
1905 * mh-junk.el: Update requires, untabify, and add mh-autoload
1908 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1910 * mh-limit.el: New file. Contains display limit commands from
1913 * mh-mime.el: Rearrange for consistency with other files.
1914 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1916 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1917 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1918 (mh-goto-next-button): Move here from mh-e.el.
1920 * mh-print.el: Rearrange for consistency with other files.
1922 * mh-scan.el: New file. Contains scan line constants and utilities
1923 from XXX, mh-funcs, mh-utils.el.
1925 * mh-search.el: Rearrange for consistency with other files.
1926 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1927 fields which don't exist in the saved header. Replace C-c C-f f
1928 with C-c C-f m per mail-mode consistency.
1929 (mh-search-mode): Use mh-set-help instead of setting
1932 * mh-seq.el (mh-thread-message, mh-thread-container)
1933 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1934 (mh-thread-id-index-map, mh-thread-index-id-map)
1935 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1936 (mh-thread-subject-container-hash, mh-thread-duplicates)
1937 (mh-thread-history, mh-thread-body-width)
1938 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1939 (mh-thread-initialize, mh-thread-id-container)
1940 (mh-thread-remove-parent-link, mh-thread-add-link)
1941 (mh-thread-ancestor-p, mh-thread-get-message-container)
1942 (mh-thread-get-message, mh-thread-canonicalize-id)
1943 (mh-thread-prune-subject, mh-thread-container-subject)
1944 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1945 (mh-thread-sort-containers, mh-thread-group-by-subject)
1946 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1947 (mh-thread-update-id-index-maps, mh-thread-generate)
1948 (mh-thread-inc, mh-thread-generate-scan-lines)
1949 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1950 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1951 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1952 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1953 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1954 (mh-thread-ancestor, mh-thread-find-children)
1955 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile):
1956 Move to new file mh-thread.el.
1957 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1958 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1959 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1960 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1961 (mh-current-message-header-field, mh-narrow-to-range)
1962 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1964 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1966 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1967 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1968 (mh-define-sequence, mh-undefine-sequence)
1969 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1970 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1971 (mh-parse-flist-output-line, mh-read-folder-sequences)
1972 (mh-read-msg-list, mh-notate-user-sequences)
1973 (mh-remove-cur-notation, mh-add-sequence-notation)
1974 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1976 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1977 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1979 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
1981 * mh-speed.el: Rearrange for consistency with other files.
1983 * mh-thread.el: New file. Contains threading code from mh-seq.el.
1985 * mh-tool-bar.el: New file. Contains tool bar creation code from
1986 deprecated file mh-customize.el.
1988 * mh-utils.el (recursive-load-depth-limit): Remove setting.
1990 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1991 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1992 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1993 (mh-update-scan-format, mh-msg-num-width): Move to new file
1995 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1996 (mh-header-field-font-lock, mh-header-to-font-lock)
1997 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1998 (mh-show-font-lock-keywords)
1999 (mh-show-font-lock-keywords-with-cite)
2000 (mh-show-font-lock-fontify-region)
2001 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
2002 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
2003 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
2004 (mh-show-sequence-menu, mh-show-message-menu)
2005 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
2006 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
2007 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
2009 (mh-mail-header-separator, mh-signature-separator-regexp)
2010 (mh-signature-separator, mh-globals-hash, mh-user-path)
2011 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
2012 (mh-previous-window-config, mh-current-folder mh-show-buffer)
2013 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
2014 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
2015 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
2016 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
2017 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
2018 Move to mh-alias.el.
2019 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
2020 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
2021 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
2022 Move to new file mh-folder.el.
2023 (with-mh-folder-updating, mh-in-show-buffer)
2024 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
2025 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
2026 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
2028 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
2029 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
2030 (mh-face-background-compat, mh-face-display-function)
2031 (mh-show-xface, mh-picon-directory-list)
2032 (mh-picon-existing-directory-list)
2033 (mh-picon-cache, mh-picon-image-types)
2034 (mh-picon-set-directory-list, mh-picon-get-image)
2035 (mh-picon-file-contents, mh-picon-generate-path)
2036 (mh-x-image-cache-directory, mh-x-image-scaling-function)
2037 (mh-wget-executable, mh-wget-choice, mh-wget-option)
2038 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
2039 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
2040 (mh-x-image-scale-with-convert)
2041 (url-unreserved-chars, url-hexify-string)
2042 (mh-x-image-url-cache-canonicalize)
2043 (mh-x-image-set-download-state, mh-x-image-get-download-state)
2044 (mh-x-image-url-fetch-image, mh-x-image-display)
2045 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
2046 (mh-x-image-url-display): Move to new file mh-xface.el.
2047 (mh-logo-display): Call mh-image-load-path.
2048 (mh-find-path-run, mh-find-path): Move here from deprecated file
2050 (mh-help-messages): Now an alist of modes to an alist of messages.
2051 (mh-set-help): New function used to set mh-help-messages.
2052 (mh-help): Adjust for new format of mh-help-messages. Add
2053 help-messages argument.
2054 (mh-prefix-help): Refactor to use mh-help.
2055 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
2057 (mh-clear-sub-folders-cache): New function added to avoid exposing
2058 mh-sub-folders-cache variable.
2060 * mh-xface.el: New file. Contains X-Face and Face header field
2061 display routines from mh-utils.el.
2063 2006-01-17 Bill Wohler <wohler@newt.com>
2065 * mh-acros.el (assoc-string): Fix typo in argument.
2067 2006-01-16 Bill Wohler <wohler@newt.com>
2069 * mh-acros.el (require): Remove defadvice of require as defadvice
2070 is verboten within Emacs and our implementation was returning the
2071 wrong value from require. Upcoming restructuring should make this
2073 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
2075 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
2076 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
2078 * mh-identity.el (mh-identity-field-handler): Use it.
2080 * mh-comp.el (mh-show-buffer-message-number): Replace (car
2081 (read-from-string string) with (string-to-number string).
2083 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
2086 * mh-mime.el (mh-mml-forward-message): Ditto.
2088 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
2089 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
2090 (mh-openssl-parser, mh-index-update-maps): Ditto.
2092 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
2093 (mh-thread-generate): Ditto.
2095 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
2097 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
2098 mm- functions for proper text=flowed handling (addresses SF
2101 2006-01-15 Bill Wohler <wohler@newt.com>
2103 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
2104 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
2107 * mh-utils.el (mh-show-limit-map): Ditto.
2109 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
2111 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
2113 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
2114 where they are used.
2116 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
2117 needed to help remove dependency on mh-utils.
2119 * mh-exec.el: New file. Move process support routines here from
2122 * mh-init.el (mh-utils): Remove require.
2123 (mh-exec): Add require.
2124 (mh-profile-component, mh-profile-component-value): Move here from
2127 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
2128 dependencies on mh-utils.el.
2129 (mh-profile-component, mh-profile-component-value): Move to
2130 mh-init.el since that's the only place that uses them. (Other than
2131 mh-alias.el; I'm thinking that mh-find-path can set variable from
2132 the Aliasfile component like it does the other components).
2133 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
2134 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
2135 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
2136 (defvar, mh-exec-cmd-output)
2137 (mh-exchange-point-and-mark-preserving-active-mark)
2138 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
2139 file mh-exec.el so that mh-init.el doesn't have to depend on
2140 mh-utils.el, breaking circular dependency.
2154 * mh-speed.el: Added debugging statements (commented out) around
2155 requires to help find dependency loops. Will remove them when
2156 issues are resolved.
2158 2006-01-14 Bill Wohler <wohler@newt.com>
2160 * mh-customize.el (mh-index): Rename group to mh-search and sort
2161 group definition and options accordingly.
2162 (mh-index-program): Rename to mh-search-program.
2163 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
2165 (mh-search-mode-hook): Change group from mh-index to mh-search.
2166 (mh-index-folder): Rename to mh-search-folder. Change group from
2167 mh-index to mh-search.
2169 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
2170 to mh-search-folder.
2172 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
2173 pick and grep are searchers too but aren't indexed.
2174 (mh-index-execute-search-function): Rename to mh-search-function.
2175 (mh-index-next-result-function): Rename to
2176 mh-search-next-result-function.
2177 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
2178 (mh-search): Since redo-search-flag defaults to nil and is of
2179 lesser importance, make it an optional argument and place it after
2180 the folder and search-regexp arguments. Sync docstring with manual.
2181 (mh-search-mode-map): Autoload so that keys are shown in help even
2182 before mh-search is loaded.
2183 (mh-search-mode): Sync docstring with manual.
2184 (mh-index-do-search): Rename argument indexer to searcher. Sync
2185 docstring with manual.
2186 (mh-pick-do-search): Sync docstring with manual.
2187 (mh-index-p): Rename to mh-search-p.
2188 (mh-indexer-choices): Rename to mh-search-choices.
2189 (mh-index-choose): Rename to mh-search-choose. Rename argument
2190 indexer to searcher.
2191 (mh-swish++-execute-search, mh-swish-execute-search)
2192 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
2193 read the results" from docstring since these functions don't.
2194 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
2196 (mh-index-generate-pretty-name): Prune -search from string so that
2197 folder names for pick searches are the same as those of other
2200 2006-01-13 Bill Wohler <wohler@newt.com>
2202 * mh-acros.el (require): Added Satyaki's comment regarding what
2203 needs to happen to remove this defadvice which caused a little
2204 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
2205 advices `require' incorrectly).
2207 * mh-search.el (mh-index-next-result-function): Add format to
2209 (mh-mairix-next-result): Use nil instead of () which doesn't stand
2211 (mh-pick-execute-search): Operate across all folders if no folder
2212 given and recurse folder(s).
2213 (mh-pick-next-result): Handle new output.
2215 * mh-utils.el (mh-collect-folder-names): Fix docstring.
2216 (mh-children-p, mh-folder-list): New functions.
2218 2006-01-12 Bill Wohler <wohler@newt.com>
2220 * mh-search.el: New file containing contents of mh-index.el and
2221 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
2222 pick. Pick no longer sets the "search" sequence. Instead, it
2223 brings up a folder view that we're accustomed to. (Closes SF
2225 (mh-index-search): Rename to mh-search.
2226 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
2227 the Search to Perform Search and call mh-do-search. Add Search
2228 with Pick menu item.
2229 (mh-do-search): Delete.
2230 (mh-search-mode): Rename from mh-pick-mode.
2231 (MH-Search): Rename mode from MH-Pick.
2232 (mh-search-mode-map): Rename from mh-pick-mode-map.
2233 (mh-search-mode-help-messages): Rename from
2234 mh-pick-mode-help-messages.
2235 (mh-index-choose): Don't reuse the last value of mh-indexer; when
2236 mh-pick-do-search sets it to 'pick, we don't necessarily want to
2237 stay with that choice!
2240 * mh-pick.el: Merge into mh-search.el and delete.
2242 * mh-customize.el (mh-index-program): Change mh-index-search to
2243 mh-search in docstring.
2244 (mh-tool-bar-search-function): Change default from
2245 mh-search-folder to mh-search. Remove mh-search-folder as choice
2246 and rename mh-index-search choice to mh-search. Fix docstring.
2247 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
2248 mh-search-folder to mh-search in docstring.
2250 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
2251 Indexed Search to Search. Use mh-search instead of mh-index-search.
2252 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
2253 from mh-show-search-folder to mh-search.
2255 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
2256 mh-search-folder no longer creates the search sequence.
2258 * mh-utils.el (mh-show-search-folder): Delete.
2259 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
2260 Change s from mh-show-search-folder to mh-search.
2261 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
2262 Search to Search. Use mh-search instead of mh-index-search.
2263 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell):
2264 Move here from deleted mh-index.el.
2266 2006-01-11 Bill Wohler <wohler@newt.com>
2268 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
2271 * mh-gnus.el: Require mh-acros.
2272 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
2274 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
2275 url-hexify-string to remove special characters from filenames
2276 (closes SF #1396499). Note that this invalidates the existing
2277 names in your cache so you might as well remove
2278 ~/Mail/.mhe-x-image-cache/* now.
2279 (url-unreserved-chars, url-hexify-string): Define if not defined.
2280 Copied from url-util.el in Emacs22 for Emacs 21.
2282 * mh-buffers.el: New file. Contains constants and code from
2283 mh-index.el and mh-utils.el.
2293 * mh-seq.el: Require new file mh-buffers.el.
2295 * mh-index.el: Require new file mh-buffers.el.
2296 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
2299 * mh-utils.el: Require new file mh-buffers.el.
2300 (mh-temp-buffer, mh-temp-fetch-buffer)
2301 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
2302 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
2303 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
2304 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
2306 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
2307 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
2309 2006-01-10 Bill Wohler <wohler@newt.com>
2311 * mh-comp.el (mh-insert-letter): If you choose a different folder,
2312 the cur message is used. Sync docstring with manual (closes SF
2315 * mh-mime.el (mh-compose-forward): Use standard range argument
2316 instead of messages. Use more powerful mh-read-range instead of
2317 read-string. Sync docstring with manual (close SF #1205890).
2319 * mh-index.el (mh-index-search): Checking mh-find-path-run is
2321 (mh-index-next-folder): Don't back up a line when going backwards
2322 since this skips the current folder heading if point is on the
2323 first message after the folder heading (closes SF #1126188).
2325 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses it.
2326 (mh-variants): Note variable isn't meant to be accessed directly;
2327 use function mh-variants instead.
2328 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
2329 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
2330 them. Updated to use mh-file-command-p which is more accurrate
2331 than file-executable-p which returns t for directories.
2332 (mh-file-command-p): Move here from mh-utils, since
2333 mh-variant-*-info are the only functions to use it.
2334 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
2335 function mh-variants instead of variable. More robust.
2336 (mh-find-path-run): Move here from mh-utils.el. Mention that
2337 checking this variable is unnecessary.
2338 (mh-find-path): Move here from mh-utils.el. With the advent of MH
2339 variants and an mhparam command that doesn't work if there isn't
2340 an MH profile, we can't get libdir for running install-mh. So
2341 don't bother. If there's an issue with the environment, direct the
2342 user to install MH and run install-mh (closes SF #835192). Don't
2343 read ~/.mh_profile directly. Use mh-profile-component which uses
2344 mhparam (closes SF #1016027).
2346 * mh-utils.el (mh-get-profile-field): Rename to
2347 mh-profile-component-value. Add colon to search removing
2348 unnecessary addition of colon to field in mh-profile-component.
2349 (mh-profile-component): Modify call to mh-profile-component-value
2350 accordingly. Move next to mh-profile-component-value.
2351 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
2352 mh-init.el. It makes sense that code that is only run once per
2353 session (more or less) is in mh-init.el rather than cluttering
2355 (mh-no-install, mh-install): Delete.
2357 * mh-customize.el (mh-folder-msg-number):
2358 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
2360 2006-01-09 Bill Wohler <wohler@newt.com>
2362 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
2363 patch from Satyaki from SF #1016027.
2365 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
2366 message, even if cur sequence is no longer present (closes SF
2369 * mh-comp.el: Use ";; Shush compiler." comment consistently per
2371 (mh-letter-mode): Derive from mail-mode and delete code copied
2372 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
2374 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
2375 (mh-to-field-choices): For consistency with mail-mode, add "a" for
2376 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
2377 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
2378 (mh-to-fcc): Move setting of folder argument to interactive
2379 argument as is the norm.
2380 (mh-letter-complete-function-alist): Add mail-reply-to.
2381 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
2382 Mail-Followup-To, Reply-To, From).
2384 * mh-customize.el: Use ";; Forward definition." consistently.
2385 Comment declaration to remind programmer to update forward
2386 definition if default changes.
2393 * mh-utils.el: Use ";; Shush compiler." comment consistently per
2396 2006-01-08 Bill Wohler <wohler@newt.com>
2398 Removed code that was marked as Emacs 20 compatible that was
2399 easily found showing how important it is to document such
2400 things (closes SF #1359240). Feel free to nuke any other Emacs 20
2401 peculiarities that you find. Wrapped code for shushing compiler
2402 with (eval-when-compile), sometimes moving the defvars closer to
2403 where they were used.
2405 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
2406 instead of mh-replace-in-string as mh-replace-in-string was
2407 replaced by a more appropriate defsubst in mh-xemacs.el.
2409 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
2411 (mh-file-is-vcard-p): Removed redundant test.
2413 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
2414 with eval-when-compile.
2415 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
2416 (mh-invisible-header-fields-default): Add forward definitions.
2417 (mh-invisible-header-fields-default): Alphabetize.
2419 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
2421 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
2423 (mh-colors-available-p): Just call display-color-cells. It's on
2424 all supported Emacsen (and defaliased on XEmacs).
2428 * mh-init.el: Wrap compiler-shushing defvars with
2431 * mh-identity.el: Don't need (mh-require-cl).
2433 * mh-index.el: Don't need to load executable any more.
2435 * mh-mime.el: Wrap compiler-shushing defvars with
2437 (mh-have-file-command): Initialize variable to 'undefined. Add
2438 docstring. Update function of same name accordingly. Also don't
2439 need to load executable any more.
2440 (mh-mime-content-types): Delete.
2441 (mh-minibuffer-read-type): Prompt user for type if
2442 mh-file-mime-type returns application/octet-stream. Assume we have
2444 (mh-mime-display): Update error message.
2446 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
2447 with eval-when-compile.
2449 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
2450 with eval-when-compile.
2451 (mh-clean-msg-header): Don't set after-change-functions to nil.
2452 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
2455 2006-01-07 Bill Wohler <wohler@newt.com>
2457 * mh-customize.el: Updated Faces documentation in header.
2458 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
2459 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
2461 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
2462 tags inserted by Gnus gnus-summary-mail-forward (closes SF
2465 2006-01-03 Mark D. Baushke <mdb@gnu.org>
2467 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
2468 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
2470 2006-01-03 Bill Wohler <wohler@newt.com>
2472 * mh-alias.el (mh-alias-add-alias): Grand message and error string
2473 unification. Use single sentence if possible by using semicolon.
2474 Don't end message with punctuation. Don't need format with
2475 message. Quote messages as in docstrings: use `' around symbols,
2476 \" for option choices. Don't use quotes around %s.
2478 * mh-comp.el (mh-complete-word): Ditto.
2480 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
2481 (mh-scan-format-file-check): Ditto.
2483 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
2484 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
2485 (mh-msg-num-width-to-column): Ditto.
2487 * mh-identity.el (mh-identity-field-handler): Ditto.
2489 * mh-index.el (mh-mairix-execute-search)
2490 (mh-swish-execute-search, mh-swish++-execute-search)
2491 (mh-namazu-execute-search): Ditto.
2493 * mh-init.el (mh-variant-set): Ditto.
2495 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
2496 (mh-secure-message, mh-mime-display): Ditto.
2498 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
2500 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
2501 (mh-read-range, mh-thread-container-subject): Ditto.
2503 * mh-utils.el (mh-x-image-scale-and-display)
2504 (mh-prompt-for-folder, mh-handle-process-error)
2505 (mh-list-to-string-1): Ditto.
2507 * mh-comp.el (mh-reply): Use standard default notation in
2508 prompts (closes SF #1275933).
2510 * mh-mime.el (mh-mime-save-parts): Ditto.
2512 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
2514 * mh-customize.el (mh-folder-msg-number): Snow is actually
2515 off-white on low color displays which turns to white when bold.
2516 This is unreadable on white backgrounds. Use snow with min-colors
2517 requirement. Use cyan on low-color displays.
2519 * mh-init.el (mh-defface-compat): On low-color displays, delete
2520 the high-color display rather than simply strip the min-colors
2521 requirement since the existing algorithm shadowed the desired
2522 display on low-color displays.
2524 * mh-alias.el (mh-alias-add-alias): Remove leading * from
2527 2006-01-02 Bill Wohler <wohler@newt.com>
2529 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
2530 docstring. Does this mean something in a defun?
2532 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
2535 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
2536 so it reads better in docstring and manual. Sync docstring with
2539 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
2541 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
2543 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
2544 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
2545 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2546 (mh-letter-complete-or-space, mh-letter-confirm-address)
2547 (mh-letter-next-header-field-or-indent)
2548 (mh-letter-previous-header-field): Ditto.
2550 * mh-customize.el (mh-alias-completion-ignore-case-flag)
2551 (mh-default-folder-for-message-function, mh-mml-method-default)
2552 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2553 (mh-show-mode-hook) Ditto.
2555 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2557 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2558 (mh-store-msg, mh-store-buffer): Ditto.
2560 * mh-index.el (mh-index-search, mh-index-do-search)
2561 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2563 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2565 * mh-mime.el (mh-mh-compose-external-compressed-tar)
2566 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2567 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2568 (mh-mml-secure-message-signencrypt): Ditto.
2570 * mh-pick.el (mh-search-folder): Ditto.
2572 * mh-seq.el (mh-widen): Ditto.
2574 * mh-utils.el (mh-show, mh-modify): Ditto.
2576 2006-01-02 Mark D. Baushke <mdb@gnu.org>
2578 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2580 2006-01-01 Bill Wohler <wohler@newt.com>
2582 * mh-customize.el: Sync docstrings with manual for faces and sort
2583 them alphabetically.
2584 (mh-faces): Move below mh-hooks.
2585 (mh-folder-faces, mh-index-faces, mh-letter-faces)
2586 (mh-show-faces, mh-speed-faces): Delete. Organize faces like hooks.
2587 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2588 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2589 (mh-folder-body-face, mh-folder-cur-msg-face)
2590 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2591 (mh-folder-followup-face, mh-folder-msg-number-face)
2592 (mh-folder-deleted-face, mh-folder-refiled-face)
2593 (mh-folder-subject-face, mh-folder-address-face)
2594 (mh-folder-scan-format-face, mh-folder-to-face)
2595 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2596 (mh-show-header-face, mh-show-pgg-good-face)
2597 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2598 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2600 (mh-folder-cur-msg): Unused. Delete.
2601 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2602 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2603 Inherit from mh-folder-msg-number.
2604 (mh-folder-deleted): Use defface. Inherit from
2605 mh-folder-msg-number.
2606 (mh-folder-sent-to-me-hint): New face. Inherit from
2608 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2609 Use defface. Inherit from mh-folder-followup.
2610 (mh-show-xface): Inherit from mh-show-from and highlight.
2611 (bw-face-generation, bw-toggle-faces)
2612 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2613 variables, functions for toggling between old and new faces.
2615 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2616 eval-when-compile. We should probably do this throughout.
2617 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2618 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2619 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2620 (mh-scan-subject-regexp): Sync docstrings with manual.
2621 (mh-scan-format-regexp): Rename to
2622 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
2623 expression. Make expression more like the others (anchored at the
2624 beginning of line). Sync docstrings with manual.
2625 (mh-folder-font-lock-keywords): Use faces directly rather than
2626 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
2627 mh-scan-format-regexp, and within that expression, use faces
2628 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2629 of mh-folder-date-face and mh-folder-scan-format-face which were
2632 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2633 rather than -face variables.
2635 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2636 rather than -face variables.
2637 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2638 (mh-face-display-function): Use mh-face-foreground-compat and
2639 mh-face-background-compat to use inherited attributes of
2640 mh-show-xface on Emacs 22 while still working on Emacs 21.
2642 2005-12-28 Bill Wohler <wohler@newt.com>
2644 * mh-comp.el (mh-e-user-agent): Move here from simple.el.
2645 Use mh-user-agent-compose instead of mh-smail-batch.
2647 2005-12-27 Bill Wohler <wohler@newt.com>
2649 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2650 suppress creation of folder if it doesn't exist.
2652 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2654 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2656 2005-12-23 Bill Wohler <wohler@newt.com>
2658 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2660 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2661 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2662 everything else. Otherwise, you can accidently get links to
2665 2005-12-22 Bill Wohler <wohler@newt.com>
2667 Follow Emacs coding conventions. Use default setting of
2668 emacs-lisp-docstring-fill-column which is 65.
2670 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2672 * mh-comp.el (mh-letter-mode): Use 60 column width.
2673 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2675 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2676 you have added a mail-citation-hook and neither are used if you
2677 use one of the supercite flavors of mh-yank-behavior. Sync
2678 docstrings with manual.
2680 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2681 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2682 hook. Use "Hook run by `function'..." instead of "Invoked...".
2683 Sync docstrings with manual.
2684 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2685 mh-ins-buf-prefix isn't used if you have added a
2686 mail-citation-hook and neither are used if you use one of the
2687 supercite flavors of mh-yank-behavior. Sync docstrings with manual.
2688 (mail-citation-hook): Delete. Use one in sendmail.el.
2689 (mh-signature-file-name, mh-after-commands-processed-hook)
2690 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2691 (mh-before-quit-hook, mh-before-send-letter-hook)
2692 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2693 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2694 (mh-letter-mode-hook)
2695 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2696 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2697 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2698 of "Invoked...". Sync docstrings with manual.
2700 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2701 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2702 (mh-delete-list, mh-refile-list, mh-folders-changed)
2703 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2704 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2705 (mh-mode-line-annotation, mh-sequence-notation-history)
2706 (mh-colors-available-flag): Move comment into docstring.
2707 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2708 (mh-process-commands): Sync docstrings with manual.
2709 (mh-refile-msg): Small doc edit.
2710 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2711 Rename msg argument to message.
2713 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2715 * mh-e.el (mh-update-unseen): No longer say "The value of
2716 `foo-hook' is a list of functions to be called, with no arguments,
2717 ...," but rather just "The hook foo-hook is called...".
2719 * mh-mime.el (mh-mh-to-mime): Ditto.
2721 * mh-pick.el (mh-pick-mode): Ditto.
2723 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2725 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2727 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2730 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2732 * mh-customize.el (mh-after-commands-processed-hook): New variable.
2733 (mh-before-commands-processed-hook): Rename mh-folder-updated-hook.
2735 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2736 mh-before-commands-processed-hook, call new
2737 mh-after-commands-processed-hook.
2738 (mh-folders-changed): New variable (for use in
2739 mh-after-commands-processed-hook).
2741 2005-12-19 Bill Wohler <wohler@newt.com>
2761 Follow commenting conventions. Don't use ;;; form so much, except
2762 for headings. Precede headings with page feed. This was mostly
2763 already done, so I made it a convention. Did not update copyright
2764 on a couple of files since this was an insignificant change.
2766 2005-12-18 Bill Wohler <wohler@newt.com>
2768 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2769 (mh-tool-bar-search-function): Sync docstrings with manual.
2770 (mh-tool-bar-customize): Replace toolbar with tool bar in docstring.
2771 (mh-tool-bar-letter-help): Fix manual reference.
2772 (mh-xemacs-use-toolbar-flag): Rename to
2773 mh-xemacs-use-tool-bar-flag. Initialize to
2774 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2775 (mh-xemacs-toolbar-position): Rename to
2776 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2777 option (redundant) and change "Same As Default Tool Bar" setting
2778 to nil. Sync docstrings with manual.
2779 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2780 depending on context.
2781 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2782 for calling set-specifier. Only look at the value of
2783 mh-xemacs-use-tool-bar-flag.
2784 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons):
2785 Sync docstrings with manual.
2787 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2790 * mh-e.el (mh-folder-mode): Ditto.
2792 * mh-utils.el (mh-show-mode): Ditto.
2794 2005-12-15 Bill Wohler <wohler@newt.com>
2796 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2798 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2799 (mh-thread-previous-sibling, mh-thread-ancestor)
2800 (mh-thread-delete, mh-thread-refile): Ditto.
2802 2005-12-14 Bill Wohler <wohler@newt.com>
2804 * mh-customize.el (mh-speed-flists-interval): Rename to
2805 mh-speed-update-interval.
2806 (mh-speed-run-flists-flag): Delete. Setting
2807 mh-speed-flists-interval to 0 accomplishes the same thing.
2809 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2810 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2811 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2812 docstrings with manual.
2814 2005-12-09 Bill Wohler <wohler@newt.com>
2816 * mh-customize.el (mh-path): Move here from mh-init.el.
2817 (mh-variant): Mention that mh-path can be customized.
2818 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2819 X-MAIL-INFO, and X-UNTD- from NetZero.
2821 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2823 2005-12-04 Bill Wohler <wohler@newt.com>
2825 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2826 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2829 * mh-customize.el (mh-insert-signature-hook): Rename
2830 mh-letter-insert-signature-hook to mh-insert-signature-hook.
2832 * mh-comp.el (mh-insert-signature): Ditto.
2834 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2835 to nil. Remove t option. Sync docstring with manual (closes SF
2837 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2838 users can see it, look it up in the manual's index, and discover
2839 mh-fetch-x-image-url (closes SF #831278).
2841 * mh-customize.el (mh-new-messages-folders): Rename from
2842 mh-index-new-messages-folders.
2843 (mh-ticked-messages-folders): Rename from
2844 mh-index-ticked-messages-folders.
2846 * mh-index.el (mh-index-sequenced-messages)
2847 (mh-index-new-messages): Ditto.
2849 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2850 in the docstrings and made usage consistent. Generally speaking,
2851 "messages in range" and "range of messages" is redundant and just
2852 "range" can be used in most circumstances. Also ensured that
2853 mh-interactive-range was mentioned in all interactive functions
2854 that use a range which describes the range argument for both users
2857 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2858 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2859 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2860 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2863 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2866 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2868 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2869 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2871 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2872 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2874 2005-12-01 Bill Wohler <wohler@newt.com>
2876 Rewrote Reading Mail chapter in manual which affected mh-show
2877 customization group and related functions.
2879 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2880 instead of mh-highlight-citation-p.
2881 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2882 I think, so use "truncated".
2884 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2885 section is Folders, not Organizing. Parent of mh-folder-faces is
2886 mh-folder, not mh-show.
2887 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2888 (mh-thread): New group that corresponds with manual's Threading chapter.
2889 (mh-letter-faces): Group's manual section is Editing Drafts, not
2891 (mh-sortm-args): New customization variable that used to be a defvar.
2892 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2893 Move from mh-index group to mh-folders group.
2894 (mh-alias-local-users-prefix, mh-large-folder)
2895 (mh-recursive-folders-flag, mh-before-quit-hook)
2896 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2897 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2899 (mh-highlight-citation-style): Rename from
2900 mh-highlight-citation-p. Sync docstrings with manual.
2901 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2903 (mh-show-threads-flag): Move from mh-show group to mh-thread
2905 (mh-find-path-hook): Move from mh-show group to mh-e group.
2906 (mh-folder-updated-hook): Add to mh-folder group.
2907 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2908 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2909 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2910 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2911 (mh-display-buttons-for-inline-parts-flag)
2912 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2913 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2914 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2915 (mh-lpr-command-format, mh-max-inline-image-height)
2916 (mh-max-inline-image-width)
2917 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2918 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2919 (mh-show-use-xface-flag, mh-store-default-directory)
2920 (mh-summary-height, mh-delete-msg-hook)
2921 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2923 * mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
2924 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2925 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp):
2926 Use non-fontification instead of non-fontifying.
2927 (mh-header-display): Use mh-mhl-format-file instead of
2928 mhl-formfile. Sync docstrings with manual.
2929 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2930 count. Sync docstrings with manual.
2931 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2932 so that message doesn't change when using this command. Sync
2933 docstrings with manual.
2934 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
2935 docstrings with manual.
2936 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2937 to no-header. Sync docstrings with manual.
2938 (mh-ps-print-map): Delete keybindings for deleted commands
2939 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2940 (mh-help-messages): Update printing help.
2941 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2942 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2943 (mh-prev-button, mh-folder-toggle-mime-part)
2944 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2945 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2948 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2950 (mh-pipe-msg): Rename include-headers to include-header.
2951 Sync docstrings with manual.
2952 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2953 (mh-store-msg): Sync docstrings with manual.
2955 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt.
2956 Sync docstrings with manual.
2957 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2958 Sync docstrings with manual.
2959 (mh-mm-display-part, mh-mm-inline-message): Use
2960 mh-highlight-citation-style instead of mh-highlight-citation-p.
2961 (mh-press-button): Sync docstrings with manual.
2962 (mh-display-with-external-viewer): Fix default output in
2963 minibuffer. Sync docstrings with manual.
2965 * mh-print.el (mh-ps-print-mime, mh-ps-print-toggle-mime):
2967 (mh-ps-print-color-option): Incorporate docstring from
2969 (mh-ps-spool-buffer): Remove unused code. Fix indent.
2971 (mh-ps-spool-msg): Slimline docstring. Rename from
2972 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
2974 (mh-ps-print-range): Extract method from common code in
2975 mh-ps-print-msg and mh-ps-print-msg-file.
2976 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2977 (mh-ps-print-msg-show): Delete. Can use either
2978 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2979 new code in mh-ps-spool-msg.
2980 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2981 Sync docstrings with manual.
2982 (mh-ps-print-msg, mh-ps-print-msg-file)
2983 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color):
2984 Sync docstrings with manual.
2986 * mh-utils.el (mh-show-ps-print-msg-show)
2987 (mh-show-ps-print-toggle-mime): Delete.
2988 (mh-show-ps-print-map): Update accordingly.
2989 (mh-show-mode): Use mh-highlight-citation-style instead of
2990 mh-highlight-citation-p.
2991 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2993 (mh-show): Use mh-mhl-format-file instead of mhl-formfile.
2994 Sync docstrings with manual.
2995 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg):
2996 Sync docstrings with manual.
2998 2005-12-01 Bill Wohler <wohler@newt.com>
3000 * mh-init.el (mh-defface-compat): Checkdoc fix.
3002 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
3003 Bogofilter is lowercase except at beginning of sentence and in
3006 2005-11-04 Bill Wohler <wohler@newt.com>
3008 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
3009 Move to mh-init.el to minimize bulk of mh-customize.el.
3011 * mh-init.el: Modify commentary since file is used for load and
3012 initialization as well as setting and getting the variant.
3013 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
3016 * mh-customize.el: Refactor faces. Move grayscale requirements
3017 last before t. Use uniform line breaks.
3018 (mh-min-colors-defined-flag): New variable.
3019 (mh-defface-compat): New function. Provides backward compatibility
3021 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
3022 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
3023 (mh-folder-body): Use mh-defface-compat.
3025 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
3027 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
3028 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
3029 (mh-folder-to-face): Use the min-colors attribute instead of the
3032 2005-11-03 Bill Wohler <wohler@newt.com>
3034 * mh-customize.el (mh-refile-preserves-sequences-flag)
3035 (mh-tick-seq, mh-update-sequences-after-mh-show-flag):
3036 Sync docstrings with manual.
3038 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
3040 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
3041 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
3044 2005-11-01 Bill Wohler <wohler@newt.com>
3046 * mh-comp.el (mh-redist-full-contents) Convert defvar to
3048 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
3049 (mh-reply, mh-send, mh-send-other-window)
3050 (mh-fill-paragraph-function): Sync docstrings with manual.
3051 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
3052 msg argument to message (to make for a better docstring).
3054 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
3055 to defcustom. Rename by adding -flag.
3056 (mh-compose-forward-as-mime-flag)
3057 (mh-compose-letter-function, mh-forward-subject-format)
3058 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
3059 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
3062 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
3063 (mh-ps-print-msg): Remove debugging messages.
3064 (mh-ps-print-msg-show, mh-ps-print-msg-show)
3065 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
3066 after message per conventions.
3068 2005-10-30 Bill Wohler <wohler@newt.com>
3070 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
3071 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp):
3072 Sync docstrings with manual.
3074 * mh-customize.el (mh-compose-space-does-completion-flag)
3075 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
3076 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
3077 means" to remain checkdoc clean and consistent with Emacs. I
3078 raised this issue with the Emacs developers and Stallman agrees
3079 that "On means" should be allowed in custom docstrings but that
3080 this change requires thought and should wait until after the Emacs
3083 2005-10-28 Bill Wohler <wohler@newt.com>
3085 * mh-comp.el (mh-annotate-msg): Use new variable
3086 mh-scan-field-destination-offset rather than hard-coding 1.
3088 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
3090 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
3091 functions to check input for mh-adaptive-cmd-note-flag and
3092 mh-scan-format-file respectively.
3093 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
3096 * mh-e.el (mh-scan-field-destination-offset): New variable. The
3097 destination is the -, t, b, c, or n character for Replied, To, cc,
3098 Bcc, or Newsgroups respectively.
3099 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note):
3100 Call new function mh-msg-num-width-to-column to make leap between
3101 width and column more explicit.
3102 (mh-msg-num-width-to-column): New function that steals logic from
3103 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
3104 isn't t since we can't adapt the scan lines in this case.
3105 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
3106 make the documentation more clear.
3107 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
3108 column, not a width.
3109 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
3110 variable mh-scan-field-destination-offset rather than hard-coding 1.
3112 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
3113 (mh-notate): Use new variable mh-scan-field-destination-offset
3114 rather than hard-coding 1.
3115 (mh-message-number-width): Rename to mh-msg-num-width to be
3116 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
3118 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
3119 (mail-citation-hook): Quote URLs in docstrings and precede with
3120 `URL'. The former will suppress checkdoc warnings, the latter will
3121 turn them into hyperlinks in Emacs 22 (I just added the code to do
3123 (mh-scan-format-file): Checkdoc fix.
3125 2005-10-27 Bill Wohler <wohler@newt.com>
3127 * mh-customize.el (mh-adaptive-cmd-note-flag)
3128 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
3130 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
3131 (mh-note-cur, mh-scan-good-msg-regexp)
3132 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
3133 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
3134 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
3135 (mh-scan-subject-regexp, mh-scan-format-regexp)
3136 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
3139 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
3141 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
3142 of hard-coded string.
3143 (mh-mail-header-separator, mh-signature-separator-regexp):
3144 Use "regular expression" in docstring instead of regexp.
3145 (mh-scan-msg-number-regexp)
3146 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
3147 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
3148 (mh-cmd-note): Sync docstrings with manual.
3150 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
3153 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
3155 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
3156 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3157 (mh-mml-secure-message-signencrypt): Ditto.
3159 2005-10-24 Bill Wohler <wohler@newt.com>
3161 * mh-gnus.el: Load mml.el in order to see if
3162 mml-minibuffer-read-disposition is defined or not.
3164 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
3167 2005-10-23 Miles Bader <miles@gnu.org>
3169 * .arch-inventory: New file.
3171 2005-10-23 Bill Wohler <wohler@newt.com>
3173 * mh-customize.el (mh-interpret-number-as-range-flag):
3174 Sync docstring with manual.
3176 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
3177 mh-alias.el and move to mh-acros.el.
3179 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
3180 mh-identity.el and move to mh-acros.el.
3182 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
3183 mh-identity.el and mh-alias.el.
3185 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
3186 warning in Emacs 22.
3188 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
3190 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
3191 assoc-string (if the function is available) and falls back on
3192 assoc-ignore-case if assoc-string is not found.
3193 (mh-identity-field-handler): Use mh-assoc-ignore-case since
3194 assoc-ignore-case is a obsolete function in Emacs 22.
3196 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
3197 track of whether the tool-bar in mh-folder-mode has been
3199 (mh-folder-mode): Initialize the tool-bar for folders the first
3200 time we get into mh-letter-mode.
3202 * mh-customize.el (mh-buffer-exists-p): New function which tests
3203 presence of buffers of a given mode.
3204 (mh-tool-bar-define): New functions mh-tool-bar-folder-buttons-init and
3205 mh-tool-bar-letter-buttons-init are defined. These functions are
3206 used to create the tool-bar from the corresponding customizable
3209 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
3210 keeps track of whether the tool-bar in mh-letter-mode has been
3212 (mh-letter-mode): Initialize the tool-bar for drafts the first
3213 time we get into mh-letter-mode.
3215 2005-10-23 Bill Wohler <wohler@newt.com>
3217 * mh-comp.el (mh-letter-menu): Rename
3218 mh-mhn-compose-external-compressed-tar to
3219 mh-mh-compose-external-compressed-tar. Rename
3220 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3221 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
3222 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
3223 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
3224 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
3226 (mh-insert-signature): Rename mh-mhn-directive-present-p to
3227 mh-mh-directive-present-p.
3228 (mh-send-letter): Rename mh-mhn-directive-present-p to
3229 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
3230 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
3231 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3232 mh-mhn-compose-external-compressed-tar to
3233 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3234 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3235 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
3236 mh-mh-compose-anon-ftp. Rename
3237 mh-mhn-compose-external-compressed-tar to
3238 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3239 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3240 mh-mh-compose-external-type.
3241 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
3242 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
3243 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
3244 mh-yank-from-start-of-msg to mh-yank-behavior.
3245 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
3246 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
3247 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
3248 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
3249 (mh-letter-complete-or-space, mh-letter-confirm-address)
3250 (mh-letter-next-header-field-or-indent)
3251 (mh-letter-previous-header-field)
3252 (mh-letter-toggle-header-field-display): Sync docstrings with
3255 * mh-customize.el (mh-edit-mhn-hook): Rename to
3257 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
3258 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
3259 and user-visible values from mhn and Gnus to MH and MML.
3260 (mh-before-send-letter-hook): Add 'ispell-message option.
3261 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
3262 mh-pgp-support-flag.
3263 (mh-compose-insertion, mh-compose-space-does-completion-flag)
3264 (mh-delete-yanked-msg-window-flag)
3265 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
3266 (mh-letter-complete-function, mh-letter-fill-column)
3267 (mh-mml-method-default, mh-signature-file-name)
3268 (mh-signature-separator-flag, mh-x-face-file)
3269 (mh-yank-behavior, mail-citation-hook)
3270 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
3273 * mh-gnus.el (mml-minibuffer-read-disposition): New function
3274 provided for Emacs 21 environments that lack it.
3276 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
3278 (mh-compose-forward): mh-mh-forward-message requires string arg.
3279 (mh-minibuffer-read-type): New function.
3280 (mh-mhn-args): Rename to mh-mh-to-mime-args.
3281 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
3282 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
3283 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
3284 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
3285 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
3286 (mh-mhn-compose-external-compressed-tar): Rename to
3287 mh-mh-compose-external-compressed-tar. Rename
3288 mh-mhn-compose-external-type to mh-mh-compose-external-type.
3289 (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type.
3290 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
3291 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
3292 Use correct program in message.
3293 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
3294 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
3295 (mh-compose-forward, mh-mh-attach-file)
3296 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3297 (mh-mh-compose-external-type, mh-mh-forward-message)
3298 (mh-mml-attach-file): Use mml-minibuffer-read-description,
3299 mh-minibuffer-read-type.
3300 (mh-mime-content-types): Move comment about only being used in
3301 Emacs 20 to docstring.
3302 (mh-mh-compose-external-type): Rename extra-param argument to
3304 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
3305 (mh-mime-display-part, mh-mime-display-single): Rename
3306 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
3307 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
3309 (mh-compose-forward): Rename mh-mhn-compose-forw to
3310 mh-mh-forward-message.
3311 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
3313 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
3314 (mh-mh-attach-file, mh-mh-compose-type)
3315 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3316 (mh-mh-compose-external-compressed-tar)
3317 (mh-mh-compose-external-type, mh-mh-forward-message)
3318 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
3319 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
3320 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
3321 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3322 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
3323 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
3324 Sync docstrings with manual.
3326 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
3327 mh-pgp-support-flag.
3329 2005-10-17 Peter S Galbraith <psg@debian.org>
3331 * mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case'
3332 to compare against header field for mixed-case "From:".
3334 2005-10-17 Bill Wohler <wohler@newt.com>
3336 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
3337 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
3338 to mail/compose, fld_open to fld-open.
3339 (mh-letter-tool-bar-map): Rename image file mail_send to
3342 2005-10-16 Bill Wohler <wohler@newt.com>
3344 * mh-comp.el (mh-display-completion-list-compat): New macro which
3345 calls `display-completion-list' correctly in older environments.
3346 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
3348 (mh-complete-word): Use it.
3350 * mh-init.el (mh-image-load-path): Use locate-library to find
3351 MH-E. This simplified the code a lot. Flattened out nested
3352 statements even more.
3354 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
3356 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
3357 causes a compiler warning.
3359 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
3360 the message to be viewed (closes SF #1306141).
3362 2005-10-16 Masatake YAMATO <jet@gyve.org>
3364 * mh-comp.el (mh-complete-word): Pass the common prefix substring
3365 of completion to `display-completion-list'.
3367 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
3369 * mh-init.el (mh-image-load-path-called-flag): New variable which
3370 is used by mh-image-load-path so that it runs only once.
3371 (mh-image-load-path): Modify so that it gets run only once. Also
3372 flatten out heavily nested if statements to make it clearer.
3374 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
3375 to find images used in the toolbar.
3377 * mh-customize.el (:folder): Remove call to mh-image-load-path.
3379 2005-10-14 Bill Wohler <wohler@newt.com>
3381 * mh-e.el (Version, mh-version): Add +cvs to version.
3383 2005-10-14 Bill Wohler <wohler@newt.com>
3385 Released MH-E version 7.85.
3387 * mh-e.el (Version, mh-version): Update for release 7.85.
3389 2005-10-14 Bill Wohler <wohler@newt.com>
3391 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
3392 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
3393 need to be indented.
3395 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
3396 but the code that invoked the face had not been updated. Tick
3397 highlighting working again.
3399 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
3400 make-variable-buffer-local call to top level to avoid warnings in
3403 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
3406 2005-10-09 Bill Wohler <wohler@newt.com>
3408 * mh-init.el (mh-image-load-path): New function that adds the path
3409 to the MH-E images to the image-load-path or load-path depending
3410 on the version of Emacs.
3412 * mh-customize.el: Call mh-image-load-path just before
3413 mh-tool-bar-define so that the toolbar images can be found.
3415 2005-10-04 Bill Wohler <wohler@newt.com>
3417 * ChangeLog: Move contents into ChangeLog.1 and trim.
3419 * ChangeLog.1: New file. Contains old ChangeLog.
3422 Copyright (C) 2005-2011 Free Software Foundation, Inc.
3424 This file is part of GNU Emacs.
3426 GNU Emacs is free software: you can redistribute it and/or modify
3427 it under the terms of the GNU General Public License as published by
3428 the Free Software Foundation, either version 3 of the License, or
3429 (at your option) any later version.
3431 GNU Emacs is distributed in the hope that it will be useful,
3432 but WITHOUT ANY WARRANTY; without even the implied warranty of
3433 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3434 GNU General Public License for more details.
3436 You should have received a copy of the GNU General Public License
3437 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
3441 ;; sentence-end-double-space: nil
3442 ;; add-log-time-zone-rule: t