1 2011-07-30 Bill Wohler <wohler@newt.com>
3 * mh-show.el (mh-unvisit-file): Clarify language in yes-or-no-p
6 2011-07-17 Bill Wohler <wohler@newt.com>
8 Release MH-E version 8.2.93.
10 * mh-e.el (Version, mh-version): Update for release 8.2.93.
12 * mh-compat.el (mh-pop-to-buffer-same-window): Delete.
13 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
14 (mh-make-folder): Revert to switch-to-buffer, as the Emacs folks
15 decided that it was fine to use it in programs.
17 2011-07-16 Bill Wohler <wohler@newt.com>
19 Release MH-E version 8.2.92.
21 * mh-e.el (Version, mh-version): Update for release 8.2.92.
23 2011-07-12 Bill Wohler <wohler@newt.com>
25 Release MH-E version 8.2.91.
27 * mh-e.el (Version, mh-version): Update for release 8.2.91.
29 * mh-compat.el (mh-pop-to-buffer-same-window): Add compatibility
30 function to call switch-to-buffer on systems that lack
31 pop-to-buffer-same-window.
32 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
33 (mh-make-folder): Call mh-pop-to-buffer-same-window instead of
34 switch-to-buffer. The previous change which used pop-to-buffer
35 produced the wrong behavior.
37 2011-07-12 Henrique Martins <henrique@martins.cc> (tiny change)
39 * mh-xface.el (mh-picon-get-image): Remove quote from block
41 * mh-mime.el (mh-mh-directive-present-p): Ditto.
43 2011-07-10 Bill Wohler <wohler@newt.com>
45 Release MH-E version 8.2.90.
47 * mh-e.el (Version, mh-version): Update for release 8.2.90.
49 * mh-utils.el (mh-sub-folders-actual): Remove FIXME question.
51 * mh-mime.el (mh-decode-message-subject): Fix case of Subject.
53 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
54 (mh-make-folder): Replace calls to switch-to-buffer with of
55 pop-to-buffer. The former is intended for interactive use only and
56 generates warnings in Emacs 24.
58 2011-07-09 Bill Wohler <wohler@newt.com>
60 * mh-speed.el (mh-speed-toggle,mh-speed-view): Document "ignored"
61 arguments to keep checkdoc happy.
63 * mh-search.el (mh-flists-execute): Ditto.
65 * mh-funcs.el (mh-undo-folder): Ditto.
67 * mh-comp.el (mh-user-agent-compose): Ditto.
69 * mh-xface.el (mh-face-to-png, mh-uncompface)
70 (mh-picon-file-contents): Only call set-buffer-multibyte if it
71 exists, which it doesn't in XEmacs.
73 2011-07-04 Bill Wohler <wohler@newt.com>
75 * mh-e.el: Just require mh-loaddefs since loading it in an
76 eval-and-compile block causes compilation errors in XEmacs.
78 * mh-acros.el, mh-comp.el, mh-e.el, mh-folder.el, mh-letter.el:
79 * mh-mime.el, mh-search.el, mh-seq.el: Shush XEmacs compiler in
80 mh-do-in-xemacs block.
82 * mh-compat.el (mh-window-full-height-p): Add compatibility
84 * mh-show.el (mh-show-msg): Use it, and avoid compiler warning on
87 * mh-letter.el (mh-letter-mode-map, mh-letter-complete)
88 (mh-complete-word): Remove FIXME comments since these functions
89 are still needed in other Emacsen. However, they can probably
90 stand to be generalized like completion-at-point.
91 (mh-letter-complete-or-space): Remove unused variable.
93 2011-07-03 Bill Wohler <wohler@newt.com>
95 * mh-compat.el (mh-test-completion): Add compatibility function
97 * mh-alias.el (mh-alias-letter-expand-alias): Use it, and avoid
98 compiler warning on XEmacs.
101 * mh-mime.el: Shush XEmacs compiler in mh-do-in-xemacs block.
103 * mh-folder.el: Use boundp instead of fboundp when testing
104 existence of desktop-buffer-mode-handlers.
106 2011-05-10 Jim Meyering <meyering@redhat.com>
108 Fix doubled-word typos.
109 * mh-alias.el (mh-alias-minibuffer-confirm-address): if if -> if it
110 * mh-scan.el (mh-scan-destination-width): in in -> in
112 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
114 * mh-utils.el (mh-folder-completion-function): Make it work like
115 file-name completion, so partial-completion can do its job.
117 * mh-letter.el (mh-letter-completion-at-point): New function, extracted
118 from mh-letter-complete
119 (mh-letter-mode, mh-letter-complete, mh-letter-complete-or-space):
121 (mh-complete-word): Only use the common-substring arg when it works.
122 (mh-folder-expand-at-point):
123 * mh-alias.el (mh-alias-letter-expand-alias): Return data suitable for
124 completion-at-point-functions.
126 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
128 * mh-funcs.el (mh-undo-folder): Accept and ignore arguments,
129 for compatibility with `revert-buffer'. Doc fix. (Bug#8431)
131 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
133 * Version 23.3 released.
135 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
137 * mh-funcs.el (mh-store-msg, mh-store-buffer):
138 * mh-mime.el (mh-mime-save-parts): Use read-directory-name.
140 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
142 * mh-comp.el (mh-user-agent-compose): New arg RETURN-ACTION.
144 2010-11-07 Glenn Morris <rgm@gnu.org>
146 * mh-seq.el (mh-read-msg-list): Use point-at-eol.
148 2010-11-03 Glenn Morris <rgm@gnu.org>
150 * mh-mime.el (dots, type, ov): Avoid unnecessary declaration.
152 2010-05-14 Peter S Galbraith <psg@debian.org>
154 * mh-mime.el (mh-decode-message-subject): New function to decode
155 RFC2047 encoded Subject lines. Used for reply drafts.
156 * mh-comp.el (mh-compose-and-send-mail): Call
157 `mh-decode-message-subject' on (reply or forward) message drafts.
159 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
161 * Version 23.2 released.
163 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
165 * mh-show.el (mh-showing-mode): Move function to mh-e.el.
166 * mh-e.el (mh-showing-mode): Use define-minor-mode.
168 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
170 * mh-scan.el (mh-scan-cmd-note-width): Doc fix.
171 (mh-scan-format-mh, mh-scan-body-regexp, mh-scan-cur-msg-number-regexp)
172 (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
173 (mh-scan-deleted-msg-regexp, mh-scan-good-msg-regexp)
174 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
175 (mh-scan-msg-number-regexp, mh-scan-rcpt-regexp)
176 (mh-scan-refiled-msg-regexp, mh-scan-sent-to-me-sender-regexp)
177 (mh-scan-subject-regexp, mh-update-scan-format)
178 (mh-msg-num-width-to-column): Fix typos in docstrings.
180 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
184 2009-12-01 Bill Wohler <wohler@newt.com>
186 * mh-search.el (mh-mairix-execute-search): Use mh vfolder_format.
187 Fix typo in database path.
188 (mh-namazu-execute-search): Specify -q in example since namazu is
189 excessively garrulous.
191 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
193 * mh-thread.el (mh-thread-set-tables):
194 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-stealth-update):
195 (mh-speed-extract-folder-name, mh-speed-parse-flists-output):
196 (mh-speed-invalidate-map, mh-speed-add-folder):
197 * mh-show.el (mh-invalidate-show-buffer, mh-show-sequence-menu):
198 * mh-seq.el (mh-list-sequences):
199 * mh-search.el (mh-index-execute-commands, mh-index-add-to-sequence)
200 (mh-index-delete-from-sequence, mh-index-update-maps):
201 * mh-scan.el (mh-msg-num-width):
202 * mh-print.el (mh-ps-spool-buffer):
203 * mh-mime.el (mh-mime-save-parts, mh-handle-set-external-undisplayer)
205 * mh-letter.el (mh-yank-cur-msg):
206 * mh-funcs.el (mh-list-folders, mh-pipe-msg, mh-store-msg)
208 * mh-folder.el (mh-modify, mh-visit-folder, mh-write-msg-to-file)
209 (mh-prompt-for-refile-folder):
210 * mh-e.el (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
211 (mh-handle-process-error, mh-variant-info):
212 * mh-comp.el (mh-forward):
213 * mh-alias.el (mh-alias-local-users, mh-alias-which-file-has-alias):
214 (mh-alias-add-alias-to-file): Use with-current-buffer.
216 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
218 * mh-e.el: Load mh-loaddefs during compilation as well.
220 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
222 * mh-e.el (mh-loaddefs): Load rather than require.
224 2009-10-06 Glenn Morris <rgm@gnu.org>
226 * mh-show.el (mh-show-msg): Use window-full-height-p.
228 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
230 * mh-comp.el (mh-send-letter): default-buffer-file-coding-system
231 => (default-value 'buffer-file-coding-system).
233 2009-08-10 Bill Wohler <wohler@newt.com>
235 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
236 (mh-spamprobe-blacklist): Sync docstring with manual.
238 2009-07-22 Kevin Ryde <user42@zip.com.au>
240 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
241 (mh-spamprobe-blacklist): Hyperlink URLs in docstrings with URL `...'.
243 2009-06-13 Bill Wohler <wohler@newt.com>
245 Release MH-E version 8.2.
247 * mh-e.el (Version, mh-version): Update for release 8.2.
249 * mh-seq.el (mh-folder-size-flist)
250 * mh-speed.el (mh-speed-parse-flists-output)
251 * mh-xface.el (mh-face-display-function): Remove trailing space.
253 2009-03-13 D. Goel <deego3@gmail.com>
255 * mh-seq.el (mh-folder-size-flist): Use (values-list) in m-v call
258 * mh-speed.el (mh-speed-parse-flists-output): Ditto.
259 * mh-xface.el (mh-face-display-function): Ditto.
260 * mh-search.el (mh-index-parse-search-regexp): Ditto.
262 * mh-thread.el (mh-thread-generate): Ditto.
264 * mh-seq.el (mh-parse-flist-output-line): Return list rather than values.
265 We want to avoid emacs using m-v facilities.
266 (mh-folder-size-folder): Ditto.
267 (mh-parse-flist-output-line): Ditto.
268 * mh-thread.el (mh-thread-prune-subject): Ditto.
269 * mh-xface.el (mh-picon-get-image): Ditto.
270 (mh-picon-file-contents): Ditto.
271 * mh-search.el (mh-index-evaluate): Ditto.
273 2009-01-27 Bill Wohler <wohler@newt.com>
275 * mh-funcs.el (mh-pack-folder): Fix docstring.
277 * mh-e.el (mh-pack-folder-hook): Bump package-version to 8.2.
279 * mh-gnus.el (mh-mm-merge-handles)
280 (mh-mm-set-handle-multipart-parameter, mh-mm-inline-text-vcard)
281 (mh-mml-minibuffer-read-disposition, mh-mm-save-part): Update with
282 code from Gnus 5.11 (closes SF #2235022).
284 2009-01-26 Stephen Gildea <gildea@stop.mail-abuse.org>
286 * mh-e.el (mh-pack-folder-hook): New variable.
287 * mh-funcs.el (mh-pack-folder): Call new mh-pack-folder-hook.
289 2009-01-26 Bill Wohler <wohler@newt.com>
291 * mh-utils.el (mh-goto-header-end): Use mh-mail-header-separator
292 instead of -* in regexp.
294 * mh-folder.el (mh-folder-mode-help-messages): Add e and t to K's
297 2009-01-09 Glenn Morris <rgm@gnu.org>
299 * mh-letter.el: Replace last-input-char with last-input-event.
301 2008-08-18 Bill Wohler <wohler@newt.com>
303 Release MH-E version 8.1.
305 * mh-e.el (Version, mh-version): Update for release 8.1.
307 2008-08-11 Bill Wohler <wohler@newt.com>
309 * mh-e.el (mh-variant-mh-info, mh-variant-nmh-info)
310 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
311 (mh-variant-set, mh-variant, mh-scan-format-file): Fix typo in
314 * mh-comp.el (mh-reply)
315 * mh-e.el (mh-sys-path, mh-variant-info, mh-variant-mu-mh-info)
316 (mh-variant-p, mh-profile-component, mh-variant-set, mh-variant)
317 (mh-scan-format-file)
318 * mh-folder.el (mh-regenerate-headers)
319 * mh-scan.el (mh-scan-format)
320 * mh-search.el (mh-pick-regexp-builder): Rename variant mu-mh to
321 gnu-mh and be explicit about GNU mailutils MH in docstrings (with
322 thanks to Darel Henman) (closes SF #1768928).
324 2008-08-01 Bill Wohler <wohler@newt.com>
326 * mh-show.el (mh-show-preferred-alternative)
327 * mh-e.el (mh-annotate-msg-hook): Sync docstring with manual.
329 * mh-comp.el (mh-send-letter, mh-redistribute): Mention
330 mh-annotate-msg-hook in docstring.
332 2008-06-29 Jeffrey C Honig <jch@honig.net>
334 * mh-e.el (mh-invisible-header-fields-internal): Add invisible
335 header fields for X-Hz (mail from Hertz), X-Proofpoint (Proofpoint
336 antivirus/anti-spam) and X-RIM (Research In Motion).
338 2008-06-20 Stephen Eglen <stephen@gnu.org>
340 * mh-show.el (mh-defun-show-buffer): Use `...' rather than than
341 "..." in generated docstrings.
343 2008-06-12 Glenn Morris <rgm@gnu.org>
345 * mh-seq.el (tool-bar-map): Define for compiler.
347 * mh-folder.el (mh-folder-mode):
348 * mh-letter.el (mh-letter-mode):
349 * mh-show.el (mh-show-mode): Check tool-bar-map is bound.
351 2008-06-08 John Paul Wallington <jpw@pobox.com>
353 * mh-acros.el (toplevel): Put `doc-string-elt' properties on
354 `defun-mh' and `defmacro-mh'.
356 * mh-alias.el (mh-alias-read-address-map): Define within defvar.
358 * mh-comp.el (mh-letter-mode-syntax-table): Define within defvar.
360 * mh-letter.el (mh-complete-word): Doc fix.
362 2008-06-02 John Paul Wallington <jpw@pobox.com>
364 * mh-e.el (mh-exec-cmd-env-daemon): Doc fix.
366 2008-06-01 John Paul Wallington <jpw@pobox.com>
368 * mh-e.el (mh-path, mh-variant): Use dotted syntax for
369 `package-version' info.
371 2008-05-26 Jeffrey C Honig <jch@honig.net>
373 * mh-e.el (mh-invisible-header-fields-internal): Remove Newsgroups
374 from the list. Add Bytes, X-Campaignid, X-Country-Chain,
375 X-Declude-, X-fmx-, X-Identity, X-Mailer_, X-pair-, X-SPF-,
378 2008-05-23 Bill Wohler <wohler@newt.com>
380 * mh-e.el (mh-invisible-header-fields-internal): Remove
381 DKIM-Signature as it is covered by DKIM-. Fully qualify X-EID.
383 2008-05-19 Sergey Poznyakoff <gray@gnu.org.ua>
385 * mh-mime.el (mh-mh-to-mime, mh-mh-to-mime-undo): Preserve modes
386 when converting to or from MIME (closes SF #1966722).
388 2008-05-19 Bill Wohler <wohler@newt.com>
390 * mh-e.el (mh-invisible-header-fields-internal): Sort list in a
391 case-insensitive way and add comment about it. Add many header
392 fields (closes SF #1916032).
394 2008-05-19 Xavier Maillard <xma@gnu.org> (tiny change)
396 * mh-utils.el (mh-find-path): Don't throw error if MH environment
397 variable is being used (closes SF #1946861).
399 2008-05-19 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
401 * mh-search.el (mh-mairix-regexp-builder): Add additional items to
402 search string to support org-mode (closes SF #1965704).
404 2008-03-18 Bill Wohler <wohler@newt.com>
406 * mh-e.el (mh-invisible-header-fields-internal): Add Accreditor,
408 (mh-invisible-header-fields, mh-invisible-header-fields-default):
409 Update URL to bug report for users to report ignored fields.
411 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
413 * mh-xface.el (mh-uncompface, mh-picon-file-contents):
414 Use set-buffer-multibyte...
415 (mh-face-display-function, mh-x-image-display): ...rather than bind
416 default-enable-multibyte-characters.
418 2008-02-24 Bill Wohler <wohler@newt.com>
420 * mh-comp.el (mh-send-letter): Call split-string on mh-send-args
421 when sending synchronously too.
423 2008-02-19 Bill Wohler <wohler@newt.com>
425 * mh-comp.el (mh-annotate-msg):
426 * mh-e.el (mh-invisible-header-fields-internal): Remove trailing
429 2008-01-30 Bill Wohler <wohler@newt.com>
431 * mh-mime.el (mh-mml-to-mime): Don't look up sender if From
432 absent. Fixes "Wrong type argument: stringp, nil" error.
434 2007-12-02 Glenn Morris <rgm@gnu.org>
436 * mh-mime.el (mail-strip-quoted-names): Autoload it.
438 2007-11-17 Dan Nicolaescu <dann@ics.uci.edu>
440 * mh-e.el (mh-xemacs-flag): Remove.
441 (mh-min-colors-defined-flag):
442 * mh-xface.el (mh-show-xface-function):
443 * mh-utils.el (mh-colors-available-p):
444 * mh-show.el (mh-show-mode):
445 * mh-gnus.el (mh-gnus-local-map-property):
446 * mh-folder.el (mh-folder-mode-map)
447 (mh-remove-xemacs-horizontal-scrollbar, mh-folder-mode):
448 * mh-comp.el (mh-insert-x-mailer): Replace uses of mh-xemacs-flag
449 with (featurep 'xemacs).
451 2007-09-11 Bill Wohler <wohler@newt.com>
453 * mh-e.el (Version, mh-version): Add +cvs to version.
455 2007-08-25 Stephen Gildea <gildea@stop.mail-abuse.org>
457 * mh-e.el (mh-annotate-msg-hook): New variable.
459 * mh-comp.el (mh-annotate-msg): Call new mh-annotate-msg-hook.
460 (mh-annotate-list): New variable, for mh-annotate-msg-hook.
462 2007-08-21 Jeffrey C Honig <jch@honig.net>
464 * mh-folder.el (mh-folder-message-menu, mh-folder-mode-map): Add
465 folder mode support for mh-show-preferred-alternative (closes SF
468 * mh-show.el (mh-show-preferred-alternative)
469 (mh-show-write-message-to-file, mh-show-message-menu)
470 (mh-show-mode-map): Add mh-show-preferred-alternative (bound to
471 ":") which will show the message's preferred alternative
472 overriding the users configured preference. Useful for showing
473 HTML when text content is lacking (closes SF #1777321).
476 (mh-invisible-header-fields-internal): Exclude Fax and Phone. Put
477 known exclusions as comments before the list and move parens to
478 separate lines to aid in sorting (closes SF #1701231).
480 * mh-mime.el (mm-decode-body): Remove explicit autoload of
483 * mh-alias.el (mh-alias-expand): Set up automatic autoload of
486 2007-08-20 Jeffrey C Honig <jch@honig.net>
488 * mh-mime.el (message-options-set): Add missing autoloads from my
491 * mh-comp.el (mh-forward): When forwarding with mml, messages are
492 no longer included in reverse order (closes SF #1730393).
494 * mh-mime.el (mh-mml-forward-message): Forward messages as inline
495 attachments (closes SF #1378993).
497 2008-02-06 Richard Stallman <rms@gnu.org>
499 * mh-seq.el (mh-make-seq, mh-seq-name): Use defsubst.
501 * mh-acros.el (mh-do-in-gnu-emacs, mh-do-in-xemacs)
502 (with-mh-folder-updating, mh-in-show-buffer)
503 (mh-iterate-on-messages-in-region, mh-iterate-on-range):
504 (mh-do-at-event-location): Add debug decls.
505 (mh-seq-msgs): Use defsubst.
507 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
509 * mh-e.el (mh-scan-format-file-check, mh-adaptive-cmd-note-flag-check):
510 * mh-xface.el (mh-x-image-url-cache-canonicalize):
511 Replace `legal' with `valid'.
513 2007-08-19 Jeffrey C Honig <jch@honig.net>
515 * mh-e.el (mh-invisible-header-fields-internal): We want to show
516 Comments: and hide Comment:, not the other way around.
518 * mh-mime.el (mh-mml-to-mime): GPG requires e-mail addresses, not
519 aliases. So resolve aliases before passing addresses to GPG/PGP
522 * mh-e.el (mh-invisible-header-fields-internal): Update with all
524 http://people.dsv.su.se/~jpalme/ietf/mail-headers, plus some of my
525 own. I added attributions to entries we already had that did not
528 2007-08-08 Glenn Morris <rgm@gnu.org>
530 * mh-folder.el, mh-letter.el, mh-show.el: Replace `iff' in
531 doc-strings and comments.
533 2007-07-25 Glenn Morris <rgm@gnu.org>
535 * Relicense all FSF files to GPLv3 or later.
537 2007-07-11 Bill Wohler <wohler@newt.com>
539 * mh-compat.el (mh-display-color-cells): Fix on XEmacs 21.5b28.
540 Thanks to Henrique Martins for the help (closes SF #1749774).
542 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
544 * mh-mime.el (mh-mh-directive-present-p):
545 * mh-search.el (mh-index-group-by-folder): Fix typos in docstrings.
547 2006-11-14 Bill Wohler <wohler@newt.com>
549 * mh-xface.el (mh-x-image-url-cache-canonicalize): Add `*' to
550 reserved Windows filename characters (closes SF #1396499).
552 2006-11-13 Bill Wohler <wohler@newt.com>
554 Release MH-E version 8.0.3.
556 * mh-e.el (Version, mh-version): Update for release 8.0.3.
558 * mh-e.el (mh-alias-local-users): Boolean docstrings should start
559 with "Non-nil means". Perhaps this option should have a -flag
561 (mh-junk-background): Sync docstring with manual.
563 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
564 (mh-spamprobe-blacklist): Sync docstring with manual.
566 2006-11-11 Stephen Gildea <gildea@stop.mail-abuse.org>
568 * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
569 Use mh-junk-background consistently in call-process calls.
570 (mh-bogofilter-blacklist, mh-bogofilter-whitelist)
571 (mh-spamprobe-blacklist, mh-spamprobe-whitelist):
572 Use with-current-buffer so the right thing happens if
573 mh-junk-background is t (closes SF #1594802).
575 * mh-e.el (mh-junk-background): Document that On value is 0;
576 t may be used for debugging.
578 2006-11-10 Andreas Schwab <schwab@suse.de>
580 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
582 2006-11-10 Glenn Morris <rgm@gnu.org>
584 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
586 2006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
588 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
589 quotation marks, so that the last two arguments of sa-learn
590 are separated properly (closes SF #1565460).
591 (mh-spamassassin-blacklist): In example .procmailrc, add
592 PATH element to find mhparam on Debian.
594 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
596 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
597 so that we always have a valid string for split-string even if
598 nothing is added in mh-send-letter (closes SF #1564742).
600 2006-07-03 Bill Wohler <wohler@newt.com>
602 Release MH-E version 8.0.2.
604 * mh-e.el (Version, mh-version): Update for release 8.0.2.
606 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
608 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
609 it refers to the icons in mh-xemacs-icon-map instead of trying to
610 declare the icons in situ. This allows mh-tool-bar.el to be
611 compiled under XEmacs. Remove initial value for
612 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
613 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
614 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
615 This allows MH-E to be used in XEmacs in a tty (closes SF #1506846).
617 2006-07-03 Bill Wohler <wohler@newt.com>
619 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
620 that mh-xemacs needs functions in mh-compat.
622 2006-06-29 Bill Wohler <wohler@newt.com>
624 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
625 loop construct to be consistent with other loops, and because
626 edebug doesn't work without it.
628 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
630 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
631 redundant +s in regexp (closes SF #1514424).
633 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
635 * mh-mime.el (mh-mime-save-parts): Add -store option to
636 mhn (closes SF #1513140).
638 2006-06-20 Bill Wohler <wohler@newt.com>
640 Release MH-E version 8.0.1.
642 * mh-e.el (Version, mh-version): Update for release 8.0.1.
644 2006-06-15 Bill Wohler <wohler@newt.com>
646 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
647 suffix for folder names, as <> are illegal filename characters on
648 Windows (closes SF #1507002).
650 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
652 * mh-comp.el (mh-send-uses-spost): New variable.
653 (mh-send-letter): Do not use -msgid and -mime if
654 mh-send-uses-spost is t (closes SF #1486726).
656 2006-06-02 Bill Wohler <wohler@newt.com>
658 * mh-search.el (mh-folder-exists-p): Change test from an empty buffer,
659 to one that contains the actual folder, since GNU mailutils' folder
660 command displays output if the folder doesn't exist (closes SF
663 2006-05-06 Bill Wohler <wohler@newt.com>
665 Release MH-E version 8.0.
667 * mh-e.el (Version, mh-version): Update for release 8.0.
669 2006-05-05 Bill Wohler <wohler@newt.com>
671 * mh-e.el: Update commentary.
673 2006-04-28 Bill Wohler <wohler@newt.com>
675 Release MH-E version 7.95.
677 * mh-e.el (Version, mh-version): Update for release 7.95.
679 2006-04-26 Eric Ding <ericding@alum.mit.edu>
681 * mh-e.el (mh-invisible-header-fields-internal): Add entry
684 2006-04-25 Bill Wohler <wohler@newt.com>
686 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
687 Folders returned by mh-folder-completion-function no longer need
688 adornment (closes SF #1476270).
690 2006-04-21 Bill Wohler <wohler@newt.com>
692 * mh-e.el (Version, mh-version): Add +cvs to version.
694 2006-04-21 Bill Wohler <wohler@newt.com>
696 Release MH-E version 7.94.
698 * mh-e.el (Version, mh-version): Update for release 7.94.
700 2006-04-21 Bill Wohler <wohler@newt.com>
702 * mh-letter.el (mh-insert-letter): If a message number isn't
703 given, throw an error rather than using a potentially incorrect
704 message number (closes SF #1473729). In addition, use the cur
705 message if mh-sent-from-msg is nil (when sending a message, in
706 contrast to replying). Move conversion of int to string into
707 interactive stanza so body can assume variables are of proper
710 2006-04-20 Bill Wohler <wohler@newt.com>
712 * mh-tool-bar.el (image-load-path): Define to shush compiler.
713 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
714 isn't used outside of it.
715 (mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
716 Update load-path/image-load-path before setting buttons.
717 This code used to be in mh-folder-mode/mh-letter-mode but this was
718 the wrong place since mh-tool-bar-*-buttons-init can also be called
719 when customizing the buttons.
720 (mh-tool-bar-update): New function which updates tool-bar-map in
721 all of the MH-E buffers after customizing the buttons (closes SF
723 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
724 Call it (closes SF #1452718).
726 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
727 mh-folder-tool-bar-map instead.
728 (image-load-path): Delete. No longer used.
729 (mh-folder-mode): Moved setting of image-load-path into
730 mh-tool-bar-folder-buttons-init.
732 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
733 mh-letter-tool-bar-map instead.
734 (image-load-path): Delete. No longer used.
735 (mh-letter-mode): Moved setting of image-load-path into
736 mh-tool-bar-letter-buttons-init.
738 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
739 instead of set-buffer.
741 2006-04-19 Bill Wohler <wohler@newt.com>
743 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
744 can permanently disable a button (such as a separator) with nil.
746 2006-04-18 Bill Wohler <wohler@newt.com>
748 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
749 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
750 (mh-min-colors-defined-flag): Do not unbind these macros and
751 variables. Nice idea, but too many nasty side-effects. These
752 macros are needed by [Cc]ustom-make-dependencies when creating the
753 MH-E customization groups in mh-cus-load.el. These disappeared
754 when the macros above were introduced. Besides, if a developer
755 were to try to show the help for a macro or variable they were
756 looking at and got [No match] when they did so, that would be bad.
758 2006-04-17 Bill Wohler <wohler@newt.com>
760 * mh-comp.el (mh-insert-x-mailer): Strip build number from
761 version in X-Mailer field (closes SF #1466481).
763 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
764 variables and functions with the same name are found correctly by
765 find-func (invoked by clicking on the filename link in the *Help*
767 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
769 * mh-e.el (mh-defgroup): Rename to defgroup-mh. Ditto.
770 (mh-defcustom): Rename to defcustom-mh. Ditto.
771 (mh-defface): Rename to defface-mh. Ditto.
772 (mh-font-lock-add-keywords): Make changes according to these
775 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
778 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
779 have been processed by mh-normalize-folder-name.
780 (mh-folder-completion-function): Handle completion of folders with
781 absolute names. Also, when flag is t, display complete folder name
782 to provide proper highlighting in Emacs 22 now that
783 minibuffer-completing-file-name is nil (closes SF #1470518).
784 (mh-folder-completing-read): No longer set
785 minibuffer-completing-file-name to t. This was causing "Can't set
786 current directory errors" when browsing absolute file names.
787 Another benefit of this change is that SPC can be used for
788 completion again (closes SF #1470518).
790 2006-04-15 Bill Wohler <wohler@newt.com>
792 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
794 2006-04-14 Bill Wohler <wohler@newt.com>
796 * mh-funcs.el (view-exit-action): No need to wrap defvar with
797 eval-when-compile when shushing compiler.
799 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
801 * mh-seq.el (view-exit-action): Ditto.
803 * mh-show.el (font-lock-auto-fontify): Ditto.
805 * mh-utils.el (mh-speed-flists-cache): Ditto.
807 * mh-acros.el (struct, x, y): No need to wrap defvar with
808 eval-when-compile when shushing compiler, even when
809 mh-do-in-xemacs or another construct is used.
811 * mh-comp.el (sendmail-coding-system): Ditto.
813 * mh-e.el (mark-active): Ditto.
815 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
816 (image-load-path, font-lock-defaults): Ditto.
818 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
820 * mh-mime.el (dots, type, ov)
821 (mm-verify-function-alist, mm-decrypt-function-alist)
822 (pressed-details): Ditto.
824 * mh-search.el (pick-folder, mh-do-in-xemacs)
825 (mh-mairix-folder, mh-flists-search-folders)
826 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
828 * mh-seq.el (tool-bar-mode): Ditto.
830 * mh-utils.el (completion-root-regexp)
831 (minibuffer-completing-file-name): Ditto.
833 * mh-xface.el (default-enable-multibyte-characters): Ditto.
835 * mh-compat.el (mh-font-lock-add-keywords): New alias for
836 font-lock-add-keywords. Returns nil on XEmacs.
838 * mh-e.el: Add MH-E function and variable keywords such as
839 mh-defun-compat and mh-defcustom to font-lock-keywords.
841 2006-04-13 Bill Wohler <wohler@newt.com>
843 * mh-e.el (customize-package-emacs-version-alist)
844 (mh-e, mh-alias, mh-folder, mh-folder-selection)
845 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
846 (mh-scan-line-formats, mh-search, mh-sending-mail)
847 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
848 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
849 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
850 (mh-alias-insert-file, mh-alias-insertion-location)
851 (mh-alias-local-users, mh-alias-local-users-prefix)
852 (mh-alias-passwd-gecos-comma-separator-flag)
853 (mh-new-messages-folders, mh-ticked-messages-folders)
854 (mh-large-folder, mh-recenter-summary-flag)
855 (mh-recursive-folders-flag, mh-sortm-args)
856 (mh-default-folder-for-message-function)
857 (mh-default-folder-list, mh-default-folder-must-exist-flag)
858 (mh-default-folder-prefix, mh-identity-list)
859 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
860 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
861 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
862 (mh-junk-program, mh-compose-insertion)
863 (mh-compose-skipped-header-fields)
864 (mh-compose-space-does-completion-flag)
865 (mh-delete-yanked-msg-window-flag)
866 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
867 (mh-letter-complete-function, mh-letter-fill-column)
868 (mh-mml-method-default, mh-signature-file-name)
869 (mh-signature-separator-flag, mh-x-face-file)
870 (mh-yank-behavior, mh-interpret-number-as-range-flag)
871 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
872 (mh-search-program, mh-compose-forward-as-mime-flag)
873 (mh-compose-letter-function, mh-compose-prompt-flag)
874 (mh-forward-subject-format, mh-insert-x-mailer-flag)
875 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
876 (mh-reply-show-message-flag)
877 (mh-refile-preserves-sequences-flag, mh-tick-seq)
878 (mh-update-sequences-after-mh-show-flag)
879 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
880 (mh-decode-mime-flag)
881 (mh-display-buttons-for-alternatives-flag)
882 (mh-display-buttons-for-inline-parts-flag)
883 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
884 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
885 (mh-highlight-citation-style, mh-invisible-header-fields)
886 (mh-invisible-header-fields-default, mh-lpr-command-format)
887 (mh-max-inline-image-height, mh-max-inline-image-width)
888 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
889 (mh-print-background-flag, mh-show-maximum-size)
890 (mh-show-use-xface-flag, mh-store-default-directory)
891 (mh-summary-height, mh-speed-update-interval)
892 (mh-show-threads-flag, mh-tool-bar-search-function)
893 (mh-defcustom, mh-after-commands-processed-hook)
894 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
895 (mh-before-quit-hook, mh-before-send-letter-hook)
896 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
897 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
898 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
899 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
900 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
901 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
902 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
903 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
904 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
905 (mh-folder-subject, mh-folder-tick, mh-folder-to)
906 (mh-letter-header-field, mh-search-folder, mh-show-cc)
907 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
908 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
909 (mh-show-subject, mh-show-to, mh-show-xface)
910 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
911 (mh-speedbar-selected-folder)
912 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
913 notation in :package-version keyword.
915 2006-04-07 Bill Wohler <wohler@newt.com>
917 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
918 :package-version keyword.
920 2006-03-31 Bill Wohler <wohler@newt.com>
922 * mh-e.el (mh-strip-package-version): Move before use to avoid
923 compiler error. Make macro, also to avoid compiler error.
924 (mh-defface-compat): Incorporate body into mh-face-data and
927 2006-03-30 Bill Wohler <wohler@newt.com>
929 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
930 remove new :package-version keyword in older settings.
931 (customize-package-emacs-version-alist): Add MH-E version to Emacs
933 (mh-e, mh-alias, mh-folder, mh-folder-selection)
934 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
935 (mh-scan-line-formats, mh-search, mh-sending-mail)
936 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
937 (mh-hooks, mh-faces): Add :package-version keyword to these
938 groups (closes SF #1452724).
939 (mh-alias-completion-ignore-case-flag)
940 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
941 (mh-alias-insert-file, mh-alias-insertion-location)
942 (mh-alias-local-users, mh-alias-local-users-prefix)
943 (mh-alias-passwd-gecos-comma-separator-flag)
944 (mh-new-messages-folders, mh-ticked-messages-folders)
945 (mh-large-folder, mh-recenter-summary-flag)
946 (mh-recursive-folders-flag, mh-sortm-args)
947 (mh-default-folder-for-message-function)
948 (mh-default-folder-list, mh-default-folder-must-exist-flag)
949 (mh-default-folder-prefix, mh-identity-list)
950 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
951 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
952 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
953 (mh-junk-program, mh-compose-insertion)
954 (mh-compose-skipped-header-fields)
955 (mh-compose-space-does-completion-flag)
956 (mh-delete-yanked-msg-window-flag)
957 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
958 (mh-letter-complete-function, mh-letter-fill-column)
959 (mh-mml-method-default, mh-signature-file-name)
960 (mh-signature-separator-flag, mh-x-face-file)
961 (mh-yank-behavior, mh-interpret-number-as-range-flag)
962 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
963 (mh-search-program, mh-compose-forward-as-mime-flag)
964 (mh-compose-letter-function, mh-compose-prompt-flag)
965 (mh-forward-subject-format, mh-insert-x-mailer-flag)
966 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
967 (mh-reply-show-message-flag)
968 (mh-refile-preserves-sequences-flag, mh-tick-seq)
969 (mh-update-sequences-after-mh-show-flag)
970 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
971 (mh-decode-mime-flag)
972 (mh-display-buttons-for-alternatives-flag)
973 (mh-display-buttons-for-inline-parts-flag)
974 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
975 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
976 (mh-highlight-citation-style, mh-invisible-header-fields)
977 (mh-invisible-header-fields-default, mh-lpr-command-format)
978 (mh-max-inline-image-height, mh-max-inline-image-width)
979 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
980 (mh-print-background-flag, mh-show-maximum-size)
981 (mh-show-use-xface-flag, mh-store-default-directory)
982 (mh-summary-height, mh-speed-update-interval)
983 (mh-show-threads-flag, mh-tool-bar-search-function): Add
984 :package-version keyword to these options (closes SF #1452724).
985 (mh-after-commands-processed-hook)
986 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
987 (mh-before-quit-hook, mh-before-send-letter-hook)
988 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
989 (mh-forward-hook, mh-inc-folder-hook)
990 (mh-insert-signature-hook)
991 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
992 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
993 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
994 (mh-unseen-updated-hook): Add :package-version keyword to these
995 hooks (closes SF #1452724).
996 (mh-min-colors-defined-flag)
997 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
998 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
999 (mh-folder-msg-number, mh-folder-refiled)
1000 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1001 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1002 (mh-letter-header-field, mh-search-folder, mh-show-cc)
1003 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1004 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1005 (mh-show-subject, mh-show-to, mh-show-xface)
1006 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
1007 (mh-speedbar-selected-folder)
1008 (mh-speedbar-selected-folder-with-unseen-messages): : Add
1009 :package-version keyword to these faces (closes SF #1452724).
1011 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
1012 :package-version keywords (closes SF #1452724).
1014 2006-03-28 Bill Wohler <wohler@newt.com>
1016 * mh-tool-bar.el: Use clipboard-kill-region,
1017 clipboard-kill-ring-save, and clipboard-yank instead of undo,
1018 kill-region, and menu-bar-kill-ring-save respectively. In
1019 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
1020 front of mh-compose-insertion to be consistent with other mailers,
1021 such as Evolution. In MH-Folder mode, move vanilla reply icon to
1022 the left of the other reply icons. Use mail/inbox icon instead of
1023 mail, next-page instead of page-down, delete instead of close,
1024 mail/move instead of mail/refile, data-save instead of execute,
1025 mail/flag-for-followup instead of highlight, contact instead of
1026 mail/alias, open instead of fld-open, zoom-out instead of widen.
1028 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
1029 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
1031 2006-03-27 Eric Ding <ericding@alum.mit.edu>
1033 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1034 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail).
1036 2006-03-19 Bill Wohler <wohler@newt.com>
1038 * mh-comp.el (mh-reply): Sync docstring with manual.
1040 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
1043 2006-03-17 Bill Wohler <wohler@newt.com>
1045 * mh-compat.el (mh-image-load-path-for-library): Minor docstring fix.
1047 2006-03-16 Bill Wohler <wohler@newt.com>
1049 * mh-comp.el (mh-send-letter): Use split-string to break up
1050 mh-send-args (closes SF #1448604).
1051 (mh-compose-and-send-mail): Use run-hook-with-args for
1052 mh-compose-letter-function.
1054 * mh-e.el (mh-list-to-string-1): Use dolist.
1056 * mh-compat.el (mh-image-load-path-for-library): Prefer user's images.
1058 2006-03-15 Bill Wohler <wohler@newt.com>
1060 * mh-compat.el (mh-image-load-path-for-library): Fix example by
1061 not recommending that one binds image-load-path. Just defvar it to
1062 placate compiler and only use it if previously defined.
1064 * mh-e.el (image-load-path): Don't bind!
1066 * mh-folder.el (mh-folder-mode): Only use image-load-path if
1069 * mh-letter.el (mh-letter-mode): Ditto.
1071 * mh-utils.el (mh-logo-display): Ditto.
1073 2006-03-14 Bill Wohler <wohler@newt.com>
1075 * mh-compat.el (mh-image-load-path-for-library): Incorporate
1076 changes from image-load-path-for-library, which are:
1077 (image-load-path-for-library): Pass value of path rather than
1078 symbol. Always return list of directories. Guarantee that image
1079 directory comes first.
1081 * mh-e.el (image-load-path): Define on those Emacsen that lack it
1082 to avoid compile and run-time errors.
1084 * mh-folder.el (mh-folder-mode): Use new idiom for setting
1087 * mh-letter.el (mh-letter-mode): Ditto.
1089 * mh-utils.el (mh-logo-display): Ditto.
1091 2006-03-12 Bill Wohler <wohler@newt.com>
1093 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
1096 2006-03-10 Bill Wohler <wohler@newt.com>
1098 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
1099 flag to replace-in-string. This was badly needed by
1100 mh-quote-pick-expr in order to properly quote subjects when using
1101 / s on XEmacs (closes SF #1447598).
1102 (mh-image-load-path-for-library): Merged changes from Reiner. Add
1103 no-error argument. If path t, just return directory.
1105 * mh-e.el (mh-profile-component): Drop `s' from mhparam
1106 -components for Mailutils compatibility (closes SF #1446985).
1108 2006-03-06 Bill Wohler <wohler@newt.com>
1110 * mh-e.el (Version, mh-version): Add +cvs to version.
1112 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
1114 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
1115 handling of duplicate messages. The test in cond was too strong
1116 and wasn't catching the case where origin-map was nil.
1118 2006-03-05 Bill Wohler <wohler@newt.com>
1120 Release MH-E version 7.93.
1122 * mh-e.el (Version, mh-version): Update for release 7.93.
1124 2006-03-05 Bill Wohler <wohler@newt.com>
1126 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
1127 calling mh-image-load-path-for-library since this is the default.
1129 * mh-letter.el (mh-letter-mode): Ditto.
1131 * mh-utils.el (mh-logo-display): Ditto.
1133 2006-03-04 Bill Wohler <wohler@newt.com>
1135 * mh-compat.el (mh-image-load-path-for-library): Move here from
1136 mh-utils.el and wrap with mh-defun-compat since this function will
1137 be soon added to image.el.
1139 * mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
1140 (mh-normalize-folder-name): Add return-nil-if-folder-empty
1141 argument which is useful when calling mh-normalize-folder-name to
1142 process the folder argument for the folders command.
1143 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
1144 this function more robust. It could too easily list the folders in /.
1145 (mh-folder-list): Fix a couple of problems pointed out by Thomas
1146 Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
1148 2006-03-03 Bill Wohler <wohler@newt.com>
1150 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
1151 mh-image-load-path-for-library.
1153 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
1154 mh-image-load-path-for-library.
1156 * mh-utils.el (mh-image-load-path): Rename to
1157 mh-image-load-path-for-library. Add example to docstring. Rename
1158 local variable mh-image-directory to image-directory. Move error
1159 checks to default case in cond and simplify.
1161 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
1162 docstrings with manual.
1164 2006-03-02 Bill Wohler <wohler@newt.com>
1166 * mh-folder.el (mh-tool-bar-init): Autoload.
1167 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
1168 Set scoped variables image-load-path and load-path with updated
1169 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
1171 * mh-letter.el (mh-tool-bar-init): Autoload.
1172 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
1173 Set scoped variables image-load-path and load-path with updated
1174 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
1176 * mh-show.el (mh-tool-bar-init): Autoload.
1177 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
1180 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
1181 messages per conventions.
1182 (mh-tool-bar-folder-buttons-init)
1183 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
1184 (mh-tool-bar-define call): Format.
1186 * mh-utils.el (mh-image-directory)
1187 (mh-image-load-path-called-flag): Delete.
1188 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
1189 changes are that it no longer uses/sets mh-image-directory or
1190 mh-image-load-path-called-flag, and returns the updated path
1191 rather than change it.
1192 (mh-logo-display): Change usage of mh-image-load-path.
1194 2006-02-28 Bill Wohler <wohler@newt.com>
1196 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
1197 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
1198 to subjects with special characters by quoting regular expression
1199 characters in pick expression derived from existing subjects and
1200 other fields (closes SF #1432548).
1201 (mh-narrow-to-subject): Remove Re: string from subject so that
1202 pick can find originating message (closes SF #1438369).
1204 * mh-utils.el (mh-image-load-path): Rename variable to
1206 (mh-image-load-path): Access mh-image-directory instead of
1208 (mh-folder-list): Fix problem with passing in a folder and getting
1209 nothing back. Fix problem with passing in empty string and getting
1210 the entire filesystem (or infinite loop). Don't append slash to
1211 folder. These fixes fix problems observed with the pick search.
1212 Thanks to Thomas Baumann for the help (closes SF #1435381).
1213 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
1214 function for quoting pick regular expression characters (closes SF
1217 2006-02-27 Bill Wohler <wohler@newt.com>
1219 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
1222 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
1223 docstring about obsolete variable mh-mime-content-types.
1225 * mh-e.el (mh-variant): Sync docstring with manual.
1226 (cus-face): Require as it is needed by mh-inherit-face-flag.
1228 * mh-compat.el (mh-display-color-cells): Return 2 if
1229 device-color-cells returns nil (closes SF #1436924).
1231 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
1232 mh-display-color-cells.
1234 2006-02-21 Eric Ding <ericding@alum.mit.edu>
1236 * mh-e.el (mh-invisible-header-fields-internal): Add entry
1239 2006-02-20 Eric Ding <ericding@alum.mit.edu>
1241 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1242 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
1243 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
1244 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
1245 "X-Roving-" by removing unnecessary "*" at end.
1247 2006-02-19 Bill Wohler <wohler@newt.com>
1249 * mh-alias.el (mh-address-mail-regexp)
1250 (mh-goto-address-find-address-at-point): Delete copies from
1252 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
1253 mh-address-mail-regexp.
1254 (mh-alias-add-address-under-point): Use
1255 goto-address-find-address-at-point instead of
1256 mh-goto-address-find-address-at-point.
1258 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
1260 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
1262 (mh-show-addr): Call goto-address unconditionally. User should use
1263 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
1265 2006-02-18 Bill Wohler <wohler@newt.com>
1267 * mh-e.el (Version, mh-version): Add +cvs to version.
1269 2006-02-18 Bill Wohler <wohler@newt.com>
1271 Release MH-E version 7.92.
1273 * mh-e.el (Version, mh-version): Update for release 7.92.
1275 2006-02-17 Bill Wohler <wohler@newt.com>
1277 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
1278 backgrounds per Mark's suggestion.
1280 * mh-utils.el (mh-image-load-path): Fix problem that images on
1281 load-path or image-load-path would win over relative paths (newer
1282 MH-E or Emacs distribution).
1284 2006-02-16 Bill Wohler <wohler@newt.com>
1286 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
1287 the defface :inherit keyword is available.
1288 (mh-face-data): New variable (contains all face specs) and
1289 function (accessor).
1290 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
1291 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
1292 (mh-folder-msg-number, mh-folder-refiled)
1293 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1294 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1295 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1296 (mh-show-date, mh-show-from)
1297 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
1298 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
1299 (mh-show-to, mh-show-xface, mh-speedbar-folder)
1300 (mh-speedbar-folder-with-unseen-messages)
1301 (mh-speedbar-selected-folder)
1302 (mh-speedbar-selected-folder-with-unseen-messages):
1305 * mh-utils.el (mh-image-load-path): The variables image-load-path
1306 or load-path would not get updated if user set mh-image-load-path.
1307 Moved tests and add-to-list calls outside of cond so they are
1308 applied consistently, even if they are redundant in some
1309 circumstances. Efficiency isn't a concern here. Made error
1310 messages more user-friendly.
1312 2006-02-15 Peter S Galbraith <psg@debian.org>
1314 * mh-compat.el (mh-image-search-load-path): Compatibility code.
1315 Emacs 21 and XEmacs don't have `image-search-load-path'.
1317 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
1318 images are already found.
1320 2006-02-10 Bill Wohler <wohler@newt.com>
1322 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
1323 rather than use defun*. XEmacs cannot create a proper autoload for
1326 2006-02-09 Bill Wohler <wohler@newt.com>
1328 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
1329 that causes an infinite loop on XEmacs.
1331 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
1334 2006-02-08 Peter S Galbraith <psg@debian.org>
1336 * mh-e.el (mh-invisible-header-fields-internal): Added entries
1337 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash".
1339 2006-02-04 Bill Wohler <wohler@newt.com>
1341 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
1342 has an emacsclient command that supports --eval. I had read that
1343 gnudoit was deprecated in favor of gnuclient anyway.
1345 2006-02-04 Eric Ding <ericding@alum.mit.edu>
1347 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
1348 handle OpenOffice documents.
1350 2006-02-03 Bill Wohler <wohler@newt.com>
1352 * mh-e.el (Version, mh-version): Add +cvs to version.
1354 2006-02-03 Bill Wohler <wohler@newt.com>
1356 Release MH-E version 7.91.
1358 * mh-e.el (Version, mh-version): Update for release 7.91.
1360 2006-02-03 Bill Wohler <wohler@newt.com>
1362 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
1363 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
1364 of local variable mh-library-name.
1366 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
1367 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
1368 88) with (min-colors 64) in face specifications so that MH-E still
1369 looks good on systems with fewer colors (such as Eric Ding's).
1371 2006-02-03 Peter S Galbraith <psg@debian.org>
1373 * mh-utils.el (mh-image-load-path): New variable to optionally
1374 hold the directory where MH-E images are stored. If nil, then
1375 the function `mh-image-load-path' will find it. This variable
1376 will be used for Debian packaging.
1377 (mh-image-load-path function): Use variable `mh-image-load-path'
1378 if non-nil and exists.
1380 2006-02-03 Mark D. Baushke <mdb@gnu.org>
1382 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
1383 for GNU Emacs or XEmacs to avoid void-variable tool-bar-map lisp
1384 errors if describe-bindings is called before tool-bar-mode is used.
1386 2006-02-03 Peter S Galbraith <psg@debian.org>
1388 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
1389 `mh-url-unresrved-chars'.
1391 2006-02-02 Bill Wohler <wohler@newt.com>
1393 * mh-e.el (Version, mh-version): Add +cvs to version.
1395 2006-02-02 Bill Wohler <wohler@newt.com>
1397 Release MH-E version 7.90.
1399 * mh-e.el (Version, mh-version): Update for release 7.90.
1401 2006-02-01 Bill Wohler <wohler@newt.com>
1403 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
1405 * mh-alias.el (mh-alias-gecos-name): Use
1406 mh-replace-regexp-in-string instead of replace-regexp-in-string.
1407 (crm, multi-prompt): Use mh-require instead of require.
1408 (mh-goto-address-find-address-at-point): Use
1409 mh-line-beginning-position and mh-line-end-position instead of
1410 line-beginning-position and line-end-position. Use
1411 mh-match-string-no-properties instead of
1412 match-string-no-properties.
1414 * mh-comp.el (mh-modify-header-field): Use
1415 mh-line-beginning-position and mh-line-end-position instead of
1416 line-beginning-position and line-end-position.
1418 * mh-compat.el (mailabbrev): Use mh-require instead of require.
1419 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
1420 (mh-face-background): Make docstring consistent.
1421 (mh-require, mh-cancel-timer, mh-display-color-cells)
1422 (mh-line-beginning-position, mh-line-end-position)
1423 (mh-match-string-no-properties, mh-replace-regexp-in-string)
1424 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
1425 add mh- prefix since compatibility functions should have our
1426 package prefix (mh-) by Emacs convention and to avoid messing up
1427 checks for the same functions in other packages.
1429 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
1430 from mh-xemacs.el and rename.
1431 (mh-xargs): Use mh-line-beginning-position and
1432 mh-line-end-position instead of line-beginning-position and
1434 (mh-defface-compat): Use mh-display-color-cells instead of
1435 display-color-cells.
1437 * mh-folder.el (which-func): Use mh-require instead of require.
1439 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
1442 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml):
1443 Use mh-require instead of require.
1445 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
1446 (mh-letter-next-header-field): Use mh-line-beginning-position and
1447 mh-line-end-position instead of line-beginning-position and
1450 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
1451 mh-match-string-no-properties instead of
1452 match-string-no-properties.
1453 (mh-narrow-to-header-field): Use mh-line-beginning-position and
1454 mh-line-end-position instead of line-beginning-position and
1457 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
1458 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
1459 mh-line-beginning-position and mh-line-end-position instead of
1460 line-beginning-position and line-end-position.
1462 * mh-search.el (which-func): Use mh-require instead of require.
1463 (mh-make-pick-template, mh-index-visit-folder)
1464 (mh-pick-parse-search-buffer, mh-swish-next-result)
1465 (mh-mairix-next-result, mh-namazu-next-result)
1466 (mh-pick-next-result, mh-grep-next-result)
1467 (mh-index-create-imenu-index, mh-index-match-checksum)
1468 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
1469 mh-line-beginning-position and mh-line-end-position instead of
1470 line-beginning-position and line-end-position.
1472 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
1474 (mh-folder-size-flist, mh-parse-flist-output-line)
1475 (mh-add-sequence-notation): Use mh-line-beginning-position and
1476 mh-line-end-position instead of line-beginning-position and
1479 * mh-show.el (mh-show-addr): Use mh-require instead of require.
1481 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
1482 (mh-speed-view, mh-folder-speedbar-buttons)
1483 (mh-speed-highlight, mh-speed-goto-folder)
1484 (mh-speed-add-buttons, mh-speed-parse-flists-output)
1485 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
1486 (mh-speed-add-folder): Use mh-line-beginning-position and
1487 mh-line-end-position instead of line-beginning-position and
1489 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
1491 * mh-thread.el (mh-thread-find-children)
1492 (mh-thread-parse-scan-line, mh-thread-generate): Use
1493 mh-line-beginning-position and mh-line-end-position instead of
1494 line-beginning-position and line-end-position.
1496 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
1497 instead of display-color-cells.
1498 (mh-folder-list): Use mh-replace-regexp-in-string instead of
1499 replace-regexp-in-string.
1500 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
1501 Use mh-line-beginning-position and mh-line-end-position instead of
1502 line-beginning-position and line-end-position.
1504 * mh-comp.el (mh-send-sub): Don't find components file in current
1505 directory--this seems to have been a side-effect of commenting out
1506 the use of an old mh-etc variable. Improve error message.
1508 2006-01-31 Bill Wohler <wohler@newt.com>
1510 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
1511 argument since compatibility functions should have our package
1512 prefix (mh-) by Emacs convention and to avoid messing up checks
1513 for the same functions in other packages. Use explicit argument
1514 instead of forming name by adding mh- prefix so that one can grep
1515 and find the definition.
1517 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1518 (mh-alias-expand, mh-alias-minibuffer-confirm-address):
1519 Use mh-assoc-string instead of assoc-string.
1521 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
1522 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string):
1523 Move here from mh-utils.el.
1524 (mh-display-completion-list): Move here from mh-comp.el.
1525 (mh-face-foreground, mh-face-background): Move here from
1527 (mh-write-file-functions): Move here from mh-folder.el.
1529 * mh-folder.el (mh-write-file-functions-compat): Move to
1530 mh-compat.el and rename to mh-write-file-functions.
1531 (mh-folder-mode): Use the new name.
1533 * mh-gnus.el (gnus-local-map-property): Rename to
1534 mh-gnus-local-map-property.
1535 (mm-merge-handles): Rename to mh-mm-merge-handles.
1536 (mm-set-handle-multipart-parameter): Rename to
1537 mh-mm-set-handle-multipart-parameter.
1538 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
1539 (mm-possibly-verify-or-decrypt): Rename to
1540 mh-mm-possibly-verify-or-decrypt.
1541 (mm-handle-multipart-ctl-parameter): Rename to
1542 mh-mm-handle-multipart-ctl-parameter.
1543 (mm-readable-p): Rename to mh-mm-readable-p.
1544 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1545 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1546 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1547 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1548 (mml-minibuffer-read-disposition): Rename to
1549 mh-mml-minibuffer-read-disposition.
1551 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1552 instead of assoc-string.
1554 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1555 (mh-mime-display, mh-mime-display-security)
1556 (mh-insert-mime-button, mh-insert-mime-security-button)
1557 (mh-handle-set-external-undisplayer)
1558 (mh-mime-security-press-button, mh-mime-security-show-details)
1559 (mh-mml-attach-file, mh-mime-cleanup)
1560 (mh-destroy-postponed-handles): Use new mh-* names for
1561 compatibility functions.
1563 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1564 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1565 (mh-beginning-of-word): Use the new name.
1566 (mh-get-field): Delete ancient alias.
1568 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1569 and rename to mh-face-foreground.
1570 (mh-face-background-compat): Move to mh-compat.el
1571 and rename to mh-face-background.
1572 (mh-face-display-function): Use the new names.
1573 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1574 instead of url-hexify-string.
1575 (url-unreserved-chars): Move to mh-compat.el and rename to
1576 mh-url-unreserved-chars.
1577 (url-hexify-string): Move to mh-compat.el and rename to
1578 mh-url-hexify-string.
1580 * mh-letter.el (mh-complete-word): Fix bug in call to
1581 mh-display-completion-list. Wrong argument was passed, so
1582 completions wouldn't show highlighted prefix.
1584 2006-01-29 Bill Wohler <wohler@newt.com>
1586 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1587 mh-adaptive-cmd-note-flag.
1589 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1590 docstring. sc-cite-original is autoloaded via loaddefs.el for all
1591 supported versions. In addition, the package name "sc" has been
1592 made obsolete by "supercite since at least Emacs 21.
1594 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1595 revealed character constants that were still strings (closes SF
1598 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1599 (mh-get-header-field): Move to mh-utils.el so that you can read
1600 messages without having to load mh-comp.el and mh-letter.el.
1602 * mh-letter.el (mh-hidden-header-keymap)
1603 (mh-letter-toggle-header-field-display)
1604 (mh-letter-skipped-header-field-p)
1605 (mh-letter-skip-leading-whitespace-in-header-field)
1606 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1607 can read messages without having to load mh-comp.el and
1610 * mh-utils.el (mh-get-header-field)
1611 (mh-letter-hide-all-skipped-fields)
1612 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1613 (mh-letter-toggle-header-field-display)
1614 (mh-letter-skip-leading-whitespace-in-header-field)
1615 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1616 mh-letter.el so that you can read messages without having to load
1617 mh-comp.el and mh-letter.el.
1619 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
1620 least, will deliver them to us.
1622 * mh-e.el (mh-after-commands-processed-hook)
1623 (mh-before-commands-processed-hook): Specify what sort of requests
1626 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1629 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1631 (mh-letter-mode): Remove Mail menu.
1633 2006-01-29 Bill Wohler <wohler@newt.com>
1636 Remove circular dependencies. mh-e.el now includes few require
1637 statements and stands alone. Other files should need to require
1638 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1640 Remove unneeded require statements.
1641 Remove unneeded load statements, or replace them with non-fatal
1643 Break out components into their own files that were often spread
1645 As a result, many functions that are now only used within a single
1646 file no longer need to be autoloaded.
1647 Rearrange and provide consistent headings.
1650 * mh-acros.el: Update commentary to reflect current usage.
1651 Add autoload cookies to all macros.
1652 (mh-require-cl): Merge docstring and comment.
1653 (mh-do-in-xemacs): Fix typo in docstring.
1654 (assoc-string): Move to new file mh-compat.el.
1655 (with-mh-folder-updating, mh-in-show-buffer)
1656 (mh-do-at-event-location, mh-seq-msgs): Move here from mh-utils.el.
1657 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1660 * mh-alias.el (mh-address-mail-regexp)
1661 (mh-goto-address-find-address-at-point): Move here from mh-utils.el.
1662 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1664 * mh-buffers.el: Update descriptive text.
1666 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1667 new file mh-scan.el.
1668 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1669 (mh-letter-menu, mh-letter-mode-help-messages)
1670 (mh-letter-buttons-init-flag, mh-letter-mode)
1671 (mh-font-lock-field-data, mh-letter-header-end)
1672 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1673 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1674 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1675 (mh-filter-out-non-text, mh-insert-prefix-string)
1676 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1677 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1678 (mh-letter-complete, mh-letter-complete-or-space)
1679 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1680 (mh-letter-next-header-field-or-indent)
1681 (mh-letter-next-header-field, mh-letter-previous-header-field)
1682 (mh-letter-skipped-header-field-p)
1683 (mh-letter-skip-leading-whitespace-in-header-field)
1684 (mh-hidden-header-keymap)
1685 (mh-letter-toggle-header-field-display-button)
1686 (mh-letter-toggle-header-field-display)
1687 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1689 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1690 (mh-pgp-support-flag, mh-x-mailer-string)
1691 (mh-letter-header-field-regexp): Move to mh-e.el.
1692 (mh-goto-header-field, mh-goto-header-end)
1693 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1695 (mh-insert-header-separator): Move to mh-comp.el.
1696 (mh-display-completion-list-compat): Move to new file
1699 * mh-compat.el: New file.
1700 (assoc-string): Move here from mh-acros.el.
1701 (mh-display-completion-list): Move here from mh-comp.el.
1703 * mh-customize.el: Move content into mh-e.el and remove.
1705 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1706 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1707 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1708 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1709 declared here so that they can be used in docstrings.
1710 (mh-sent-from-folder, mh-sent-from-msg)
1711 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1712 (mh-x-mailer-string): Move here from mh-comp.el.
1713 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1714 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1715 here from mh-seq.el.
1716 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1717 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1718 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1719 (mh-show-folder-buffer, mh-mail-header-separator)
1720 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1721 (mh-signature-separator, mh-signature-separator-regexp)
1722 (mh-list-to-string, mh-list-to-string-1): Move here from
1724 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1725 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1726 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1727 (mh-exec-cmd-output)
1728 (mh-exchange-point-and-mark-preserving-active-mark)
1729 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1730 deprecated file mh-exec.el.
1731 (mh-path): Move here from deprecated file mh-customize.el.
1732 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1733 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1734 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1735 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1736 (mh-profile-component-value, mh-defface-compat): Move here from
1737 deprecated file mh-init.el.
1738 (mh-goto-next-button, mh-folder-mime-action)
1739 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1740 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1742 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1743 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1744 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1745 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1746 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1747 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1748 (mh-scan-cmd-note-width, mh-scan-destination-width)
1749 (mh-scan-date-width, mh-scan-date-flag-width)
1750 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1751 (mh-scan-field-destination-offset)
1752 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1753 (mh-scan-field-subject-start-offset, mh-scan-format)
1754 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1756 (mh-partial-folder-mode-line-annotation)
1757 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1758 (mh-generate-sequence-font-lock, mh-last-destination)
1759 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1760 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1761 (mh-execute-commands, mh-first-msg, mh-header-display)
1762 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1763 (mh-folder-from-address, mh-prompt-for-refile-folder)
1764 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1765 (mh-previous-page, mh-previous-undeleted-msg)
1766 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1767 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1768 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1769 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1770 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1771 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1772 (mh-folder-sequence-menu, mh-folder-message-menu)
1773 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1774 (mh-write-file-functions-compat, mh-folder-mode)
1775 (mh-restore-desktop-buffer, mh-scan-folder)
1776 (mh-regenerate-headers, mh-generate-new-cmd-note)
1777 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1778 (mh-process-or-undo-commands, mh-process-commands)
1779 (mh-update-unseen, mh-delete-scan-msgs)
1780 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1781 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1782 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1783 (mh-lessp): Move to mh-utils.el.
1784 (mh-parse-flist-output-line, mh-folder-size-folder)
1785 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1786 (mh-remove-sequence-notation, mh-remove-cur-notation)
1787 (mh-remove-all-notation, mh-delete-seq-locally)
1788 (mh-read-folder-sequences, mh-read-msg-list)
1789 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1790 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1791 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1792 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1794 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1795 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1796 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1797 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1798 (mh-faces, mh-alias-completion-ignore-case-flag)
1799 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1800 (mh-alias-insert-file, mh-alias-insertion-location)
1801 (mh-alias-local-users, mh-alias-local-users-prefix)
1802 (mh-alias-passwd-gecos-comma-separator-flag)
1803 (mh-new-messages-folders, mh-ticked-messages-folders)
1804 (mh-large-folder, mh-recenter-summary-flag)
1805 (mh-recursive-folders-flag, mh-sortm-args)
1806 (mh-default-folder-for-message-function, mh-default-folder-list)
1807 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1808 (mh-identity-list, mh-auto-fields-list)
1809 (mh-auto-fields-prompt-flag, mh-identity-default)
1810 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1811 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1812 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1813 (mh-compose-insertion, mh-compose-skipped-header-fields)
1814 (mh-compose-space-does-completion-flag)
1815 (mh-delete-yanked-msg-window-flag)
1816 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1817 (mh-letter-complete-function, mh-letter-fill-column)
1818 (mh-mml-method-default, mh-signature-file-name)
1819 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1820 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1821 (mh-scan-format-file-check, mh-scan-format-file)
1822 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1823 (mh-search-program, mh-compose-forward-as-mime-flag)
1824 (mh-compose-letter-function, mh-compose-prompt-flag)
1825 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1826 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1827 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1828 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1829 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1830 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1831 (mh-display-buttons-for-inline-parts-flag)
1832 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1833 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1834 (mh-highlight-citation-style)
1835 (mh-invisible-header-fields-internal)
1836 (mh-delay-invisible-header-generation-flag)
1837 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1838 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1839 (mh-lpr-command-format, mh-max-inline-image-height)
1840 (mh-max-inline-image-width, mh-mhl-format-file)
1841 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1842 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1843 (mh-show-use-xface-flag, mh-store-default-directory)
1844 (mh-summary-height, mh-speed-update-interval)
1845 (mh-show-threads-flag, mh-tool-bar-search-function)
1846 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1847 (mh-before-commands-processed-hook, mh-before-quit-hook)
1848 (mh-before-send-letter-hook, mh-delete-msg-hook)
1849 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1850 (mh-inc-folder-hook, mh-insert-signature-hook)
1851 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1852 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1853 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1854 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1855 (mh-folder-address, mh-folder-body)
1856 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1857 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1858 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1859 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1860 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1861 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1862 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1863 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1864 (mh-speedbar-folder-with-unseen-messages)
1865 (mh-speedbar-selected-folder)
1866 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1867 deprecated file mh-customize.el.
1869 * mh-exec.el: Move content into mh-e.el and remove.
1871 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el.
1873 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1875 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1877 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1878 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1879 to mail-abbrev-make-syntax-table.
1881 * mh-identity.el (mh-identity-menu): New variable for existing
1883 (mh-identity-make-menu-no-autoload): New alias for
1884 mh-identity-make-menu which can be called from mh-e.el.
1885 (mh-identity-list-set): Move to mh-e.el.
1886 (mh-identity-add-menu): New function.
1887 (mh-insert-identity): Add optional argument maybe-insert so that
1888 local variable mh-identity-local does not have to be visible.
1890 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1891 rest of keymaps). Update key binding for ? to call mh-help with
1892 help messages in new argument.
1893 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1894 which can be called from mh-e.el.
1895 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1897 * mh-init.el: Move content into mh-e.el and remove.
1899 * mh-junk.el: Update requires, untabify, and add mh-autoload
1902 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1904 * mh-limit.el: New file. Contains display limit commands from
1907 * mh-mime.el: Rearrange for consistency with other files.
1908 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1910 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1911 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1912 (mh-goto-next-button): Move here from mh-e.el.
1914 * mh-print.el: Rearrange for consistency with other files.
1916 * mh-scan.el: New file. Contains scan line constants and utilities
1917 from XXX, mh-funcs, mh-utils.el.
1919 * mh-search.el: Rearrange for consistency with other files.
1920 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1921 fields which don't exist in the saved header. Replace C-c C-f f
1922 with C-c C-f m per mail-mode consistency.
1923 (mh-search-mode): Use mh-set-help instead of setting
1926 * mh-seq.el (mh-thread-message, mh-thread-container)
1927 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1928 (mh-thread-id-index-map, mh-thread-index-id-map)
1929 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1930 (mh-thread-subject-container-hash, mh-thread-duplicates)
1931 (mh-thread-history, mh-thread-body-width)
1932 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1933 (mh-thread-initialize, mh-thread-id-container)
1934 (mh-thread-remove-parent-link, mh-thread-add-link)
1935 (mh-thread-ancestor-p, mh-thread-get-message-container)
1936 (mh-thread-get-message, mh-thread-canonicalize-id)
1937 (mh-thread-prune-subject, mh-thread-container-subject)
1938 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1939 (mh-thread-sort-containers, mh-thread-group-by-subject)
1940 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1941 (mh-thread-update-id-index-maps, mh-thread-generate)
1942 (mh-thread-inc, mh-thread-generate-scan-lines)
1943 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1944 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1945 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1946 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1947 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1948 (mh-thread-ancestor, mh-thread-find-children)
1949 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile):
1950 Move to new file mh-thread.el.
1951 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1952 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1953 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1954 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1955 (mh-current-message-header-field, mh-narrow-to-range)
1956 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1958 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1960 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1961 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1962 (mh-define-sequence, mh-undefine-sequence)
1963 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1964 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1965 (mh-parse-flist-output-line, mh-read-folder-sequences)
1966 (mh-read-msg-list, mh-notate-user-sequences)
1967 (mh-remove-cur-notation, mh-add-sequence-notation)
1968 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1970 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1971 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1973 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
1975 * mh-speed.el: Rearrange for consistency with other files.
1977 * mh-thread.el: New file. Contains threading code from mh-seq.el.
1979 * mh-tool-bar.el: New file. Contains tool bar creation code from
1980 deprecated file mh-customize.el.
1982 * mh-utils.el (recursive-load-depth-limit): Remove setting.
1984 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1985 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1986 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1987 (mh-update-scan-format, mh-msg-num-width): Move to new file
1989 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1990 (mh-header-field-font-lock, mh-header-to-font-lock)
1991 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1992 (mh-show-font-lock-keywords)
1993 (mh-show-font-lock-keywords-with-cite)
1994 (mh-show-font-lock-fontify-region)
1995 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1996 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1997 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1998 (mh-show-sequence-menu, mh-show-message-menu)
1999 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
2000 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
2001 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
2003 (mh-mail-header-separator, mh-signature-separator-regexp)
2004 (mh-signature-separator, mh-globals-hash, mh-user-path)
2005 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
2006 (mh-previous-window-config, mh-current-folder mh-show-buffer)
2007 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
2008 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
2009 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
2010 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
2011 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
2012 Move to mh-alias.el.
2013 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
2014 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
2015 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
2016 Move to new file mh-folder.el.
2017 (with-mh-folder-updating, mh-in-show-buffer)
2018 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
2019 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
2020 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
2022 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
2023 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
2024 (mh-face-background-compat, mh-face-display-function)
2025 (mh-show-xface, mh-picon-directory-list)
2026 (mh-picon-existing-directory-list)
2027 (mh-picon-cache, mh-picon-image-types)
2028 (mh-picon-set-directory-list, mh-picon-get-image)
2029 (mh-picon-file-contents, mh-picon-generate-path)
2030 (mh-x-image-cache-directory, mh-x-image-scaling-function)
2031 (mh-wget-executable, mh-wget-choice, mh-wget-option)
2032 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
2033 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
2034 (mh-x-image-scale-with-convert)
2035 (url-unreserved-chars, url-hexify-string)
2036 (mh-x-image-url-cache-canonicalize)
2037 (mh-x-image-set-download-state, mh-x-image-get-download-state)
2038 (mh-x-image-url-fetch-image, mh-x-image-display)
2039 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
2040 (mh-x-image-url-display): Move to new file mh-xface.el.
2041 (mh-logo-display): Call mh-image-load-path.
2042 (mh-find-path-run, mh-find-path): Move here from deprecated file
2044 (mh-help-messages): Now an alist of modes to an alist of messages.
2045 (mh-set-help): New function used to set mh-help-messages.
2046 (mh-help): Adjust for new format of mh-help-messages. Add
2047 help-messages argument.
2048 (mh-prefix-help): Refactor to use mh-help.
2049 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
2051 (mh-clear-sub-folders-cache): New function added to avoid exposing
2052 mh-sub-folders-cache variable.
2054 * mh-xface.el: New file. Contains X-Face and Face header field
2055 display routines from mh-utils.el.
2057 2006-01-17 Bill Wohler <wohler@newt.com>
2059 * mh-acros.el (assoc-string): Fix typo in argument.
2061 2006-01-16 Bill Wohler <wohler@newt.com>
2063 * mh-acros.el (require): Remove defadvice of require as defadvice
2064 is verboten within Emacs and our implementation was returning the
2065 wrong value from require. Upcoming restructuring should make this
2067 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
2069 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
2070 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
2072 * mh-identity.el (mh-identity-field-handler): Use it.
2074 * mh-comp.el (mh-show-buffer-message-number): Replace (car
2075 (read-from-string string) with (string-to-number string).
2077 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
2080 * mh-mime.el (mh-mml-forward-message): Ditto.
2082 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
2083 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
2084 (mh-openssl-parser, mh-index-update-maps): Ditto.
2086 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
2087 (mh-thread-generate): Ditto.
2089 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
2091 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
2092 mm- functions for proper text=flowed handling (addresses SF
2095 2006-01-15 Bill Wohler <wohler@newt.com>
2097 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
2098 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
2101 * mh-utils.el (mh-show-limit-map): Ditto.
2103 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
2105 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
2107 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
2108 where they are used.
2110 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
2111 needed to help remove dependency on mh-utils.
2113 * mh-exec.el: New file. Move process support routines here from
2116 * mh-init.el (mh-utils): Remove require.
2117 (mh-exec): Add require.
2118 (mh-profile-component, mh-profile-component-value): Move here from
2121 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
2122 dependencies on mh-utils.el.
2123 (mh-profile-component, mh-profile-component-value): Move to
2124 mh-init.el since that's the only place that uses them. (Other than
2125 mh-alias.el; I'm thinking that mh-find-path can set variable from
2126 the Aliasfile component like it does the other components).
2127 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
2128 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
2129 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
2130 (defvar, mh-exec-cmd-output)
2131 (mh-exchange-point-and-mark-preserving-active-mark)
2132 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
2133 file mh-exec.el so that mh-init.el doesn't have to depend on
2134 mh-utils.el, breaking circular dependency.
2148 * mh-speed.el: Added debugging statements (commented out) around
2149 requires to help find dependency loops. Will remove them when
2150 issues are resolved.
2152 2006-01-14 Bill Wohler <wohler@newt.com>
2154 * mh-customize.el (mh-index): Rename group to mh-search and sort
2155 group definition and options accordingly.
2156 (mh-index-program): Rename to mh-search-program.
2157 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
2159 (mh-search-mode-hook): Change group from mh-index to mh-search.
2160 (mh-index-folder): Rename to mh-search-folder. Change group from
2161 mh-index to mh-search.
2163 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
2164 to mh-search-folder.
2166 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
2167 pick and grep are searchers too but aren't indexed.
2168 (mh-index-execute-search-function): Rename to mh-search-function.
2169 (mh-index-next-result-function): Rename to
2170 mh-search-next-result-function.
2171 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
2172 (mh-search): Since redo-search-flag defaults to nil and is of
2173 lesser importance, make it an optional argument and place it after
2174 the folder and search-regexp arguments. Sync docstring with manual.
2175 (mh-search-mode-map): Autoload so that keys are shown in help even
2176 before mh-search is loaded.
2177 (mh-search-mode): Sync docstring with manual.
2178 (mh-index-do-search): Rename argument indexer to searcher. Sync
2179 docstring with manual.
2180 (mh-pick-do-search): Sync docstring with manual.
2181 (mh-index-p): Rename to mh-search-p.
2182 (mh-indexer-choices): Rename to mh-search-choices.
2183 (mh-index-choose): Rename to mh-search-choose. Rename argument
2184 indexer to searcher.
2185 (mh-swish++-execute-search, mh-swish-execute-search)
2186 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
2187 read the results" from docstring since these functions don't.
2188 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
2190 (mh-index-generate-pretty-name): Prune -search from string so that
2191 folder names for pick searches are the same as those of other
2194 2006-01-13 Bill Wohler <wohler@newt.com>
2196 * mh-acros.el (require): Added Satyaki's comment regarding what
2197 needs to happen to remove this defadvice which caused a little
2198 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
2199 advices `require' incorrectly).
2201 * mh-search.el (mh-index-next-result-function): Add format to
2203 (mh-mairix-next-result): Use nil instead of () which doesn't stand
2205 (mh-pick-execute-search): Operate across all folders if no folder
2206 given and recurse folder(s).
2207 (mh-pick-next-result): Handle new output.
2209 * mh-utils.el (mh-collect-folder-names): Fix docstring.
2210 (mh-children-p, mh-folder-list): New functions.
2212 2006-01-12 Bill Wohler <wohler@newt.com>
2214 * mh-search.el: New file containing contents of mh-index.el and
2215 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
2216 pick. Pick no longer sets the "search" sequence. Instead, it
2217 brings up a folder view that we're accustomed to. (Closes SF
2219 (mh-index-search): Rename to mh-search.
2220 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
2221 the Search to Perform Search and call mh-do-search. Add Search
2222 with Pick menu item.
2223 (mh-do-search): Delete.
2224 (mh-search-mode): Rename from mh-pick-mode.
2225 (MH-Search): Rename mode from MH-Pick.
2226 (mh-search-mode-map): Rename from mh-pick-mode-map.
2227 (mh-search-mode-help-messages): Rename from
2228 mh-pick-mode-help-messages.
2229 (mh-index-choose): Don't reuse the last value of mh-indexer; when
2230 mh-pick-do-search sets it to 'pick, we don't necessarily want to
2231 stay with that choice!
2234 * mh-pick.el: Merge into mh-search.el and delete.
2236 * mh-customize.el (mh-index-program): Change mh-index-search to
2237 mh-search in docstring.
2238 (mh-tool-bar-search-function): Change default from
2239 mh-search-folder to mh-search. Remove mh-search-folder as choice
2240 and rename mh-index-search choice to mh-search. Fix docstring.
2241 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
2242 mh-search-folder to mh-search in docstring.
2244 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
2245 Indexed Search to Search. Use mh-search instead of mh-index-search.
2246 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
2247 from mh-show-search-folder to mh-search.
2249 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
2250 mh-search-folder no longer creates the search sequence.
2252 * mh-utils.el (mh-show-search-folder): Delete.
2253 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
2254 Change s from mh-show-search-folder to mh-search.
2255 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
2256 Search to Search. Use mh-search instead of mh-index-search.
2257 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell):
2258 Move here from deleted mh-index.el.
2260 2006-01-11 Bill Wohler <wohler@newt.com>
2262 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
2265 * mh-gnus.el: Require mh-acros.
2266 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
2268 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
2269 url-hexify-string to remove special characters from filenames
2270 (closes SF #1396499). Note that this invalidates the existing
2271 names in your cache so you might as well remove
2272 ~/Mail/.mhe-x-image-cache/* now.
2273 (url-unreserved-chars, url-hexify-string): Define if not defined.
2274 Copied from url-util.el in Emacs22 for Emacs 21.
2276 * mh-buffers.el: New file. Contains constants and code from
2277 mh-index.el and mh-utils.el.
2287 * mh-seq.el: Require new file mh-buffers.el.
2289 * mh-index.el: Require new file mh-buffers.el.
2290 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
2293 * mh-utils.el: Require new file mh-buffers.el.
2294 (mh-temp-buffer, mh-temp-fetch-buffer)
2295 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
2296 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
2297 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
2298 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
2300 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
2301 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
2303 2006-01-10 Bill Wohler <wohler@newt.com>
2305 * mh-comp.el (mh-insert-letter): If you choose a different folder,
2306 the cur message is used. Sync docstring with manual (closes SF
2309 * mh-mime.el (mh-compose-forward): Use standard range argument
2310 instead of messages. Use more powerful mh-read-range instead of
2311 read-string. Sync docstring with manual (close SF #1205890).
2313 * mh-index.el (mh-index-search): Checking mh-find-path-run is
2315 (mh-index-next-folder): Don't back up a line when going backwards
2316 since this skips the current folder heading if point is on the
2317 first message after the folder heading (closes SF #1126188).
2319 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses it.
2320 (mh-variants): Note variable isn't meant to be accessed directly;
2321 use function mh-variants instead.
2322 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
2323 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
2324 them. Updated to use mh-file-command-p which is more accurrate
2325 than file-executable-p which returns t for directories.
2326 (mh-file-command-p): Move here from mh-utils, since
2327 mh-variant-*-info are the only functions to use it.
2328 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
2329 function mh-variants instead of variable. More robust.
2330 (mh-find-path-run): Move here from mh-utils.el. Mention that
2331 checking this variable is unnecessary.
2332 (mh-find-path): Move here from mh-utils.el. With the advent of MH
2333 variants and an mhparam command that doesn't work if there isn't
2334 an MH profile, we can't get libdir for running install-mh. So
2335 don't bother. If there's an issue with the environment, direct the
2336 user to install MH and run install-mh (closes SF #835192). Don't
2337 read ~/.mh_profile directly. Use mh-profile-component which uses
2338 mhparam (closes SF #1016027).
2340 * mh-utils.el (mh-get-profile-field): Rename to
2341 mh-profile-component-value. Add colon to search removing
2342 unnecessary addition of colon to field in mh-profile-component.
2343 (mh-profile-component): Modify call to mh-profile-component-value
2344 accordingly. Move next to mh-profile-component-value.
2345 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
2346 mh-init.el. It makes sense that code that is only run once per
2347 session (more or less) is in mh-init.el rather than cluttering
2349 (mh-no-install, mh-install): Delete.
2351 * mh-customize.el (mh-folder-msg-number):
2352 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
2354 2006-01-09 Bill Wohler <wohler@newt.com>
2356 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
2357 patch from Satyaki from SF #1016027.
2359 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
2360 message, even if cur sequence is no longer present (closes SF
2363 * mh-comp.el: Use ";; Shush compiler." comment consistently per
2365 (mh-letter-mode): Derive from mail-mode and delete code copied
2366 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
2368 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
2369 (mh-to-field-choices): For consistency with mail-mode, add "a" for
2370 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
2371 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
2372 (mh-to-fcc): Move setting of folder argument to interactive
2373 argument as is the norm.
2374 (mh-letter-complete-function-alist): Add mail-reply-to.
2375 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
2376 Mail-Followup-To, Reply-To, From).
2378 * mh-customize.el: Use ";; Forward definition." consistently.
2379 Comment declaration to remind programmer to update forward
2380 definition if default changes.
2387 * mh-utils.el: Use ";; Shush compiler." comment consistently per
2390 2006-01-08 Bill Wohler <wohler@newt.com>
2392 Removed code that was marked as Emacs 20 compatible that was
2393 easily found showing how important it is to document such
2394 things (closes SF #1359240). Feel free to nuke any other Emacs 20
2395 peculiarities that you find. Wrapped code for shushing compiler
2396 with (eval-when-compile), sometimes moving the defvars closer to
2397 where they were used.
2399 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
2400 instead of mh-replace-in-string as mh-replace-in-string was
2401 replaced by a more appropriate defsubst in mh-xemacs.el.
2403 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
2405 (mh-file-is-vcard-p): Removed redundant test.
2407 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
2408 with eval-when-compile.
2409 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
2410 (mh-invisible-header-fields-default): Add forward definitions.
2411 (mh-invisible-header-fields-default): Alphabetize.
2413 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
2415 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
2417 (mh-colors-available-p): Just call display-color-cells. It's on
2418 all supported Emacsen (and defaliased on XEmacs).
2422 * mh-init.el: Wrap compiler-shushing defvars with
2425 * mh-identity.el: Don't need (mh-require-cl).
2427 * mh-index.el: Don't need to load executable any more.
2429 * mh-mime.el: Wrap compiler-shushing defvars with
2431 (mh-have-file-command): Initialize variable to 'undefined. Add
2432 docstring. Update function of same name accordingly. Also don't
2433 need to load executable any more.
2434 (mh-mime-content-types): Delete.
2435 (mh-minibuffer-read-type): Prompt user for type if
2436 mh-file-mime-type returns application/octet-stream. Assume we have
2438 (mh-mime-display): Update error message.
2440 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
2441 with eval-when-compile.
2443 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
2444 with eval-when-compile.
2445 (mh-clean-msg-header): Don't set after-change-functions to nil.
2446 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
2449 2006-01-07 Bill Wohler <wohler@newt.com>
2451 * mh-customize.el: Updated Faces documentation in header.
2452 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
2453 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
2455 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
2456 tags inserted by Gnus gnus-summary-mail-forward (closes SF
2459 2006-01-03 Mark D. Baushke <mdb@gnu.org>
2461 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
2462 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
2464 2006-01-03 Bill Wohler <wohler@newt.com>
2466 * mh-alias.el (mh-alias-add-alias): Grand message and error string
2467 unification. Use single sentence if possible by using semicolon.
2468 Don't end message with punctuation. Don't need format with
2469 message. Quote messages as in docstrings: use `' around symbols,
2470 \" for option choices. Don't use quotes around %s.
2472 * mh-comp.el (mh-complete-word): Ditto.
2474 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
2475 (mh-scan-format-file-check): Ditto.
2477 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
2478 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
2479 (mh-msg-num-width-to-column): Ditto.
2481 * mh-identity.el (mh-identity-field-handler): Ditto.
2483 * mh-index.el (mh-mairix-execute-search)
2484 (mh-swish-execute-search, mh-swish++-execute-search)
2485 (mh-namazu-execute-search): Ditto.
2487 * mh-init.el (mh-variant-set): Ditto.
2489 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
2490 (mh-secure-message, mh-mime-display): Ditto.
2492 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
2494 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
2495 (mh-read-range, mh-thread-container-subject): Ditto.
2497 * mh-utils.el (mh-x-image-scale-and-display)
2498 (mh-prompt-for-folder, mh-handle-process-error)
2499 (mh-list-to-string-1): Ditto.
2501 * mh-comp.el (mh-reply): Use standard default notation in
2502 prompts (closes SF #1275933).
2504 * mh-mime.el (mh-mime-save-parts): Ditto.
2506 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
2508 * mh-customize.el (mh-folder-msg-number): Snow is actually
2509 off-white on low color displays which turns to white when bold.
2510 This is unreadable on white backgrounds. Use snow with min-colors
2511 requirement. Use cyan on low-color displays.
2513 * mh-init.el (mh-defface-compat): On low-color displays, delete
2514 the high-color display rather than simply strip the min-colors
2515 requirement since the existing algorithm shadowed the desired
2516 display on low-color displays.
2518 * mh-alias.el (mh-alias-add-alias): Remove leading * from
2521 2006-01-02 Bill Wohler <wohler@newt.com>
2523 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
2524 docstring. Does this mean something in a defun?
2526 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
2529 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
2530 so it reads better in docstring and manual. Sync docstring with
2533 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
2535 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
2537 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
2538 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
2539 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2540 (mh-letter-complete-or-space, mh-letter-confirm-address)
2541 (mh-letter-next-header-field-or-indent)
2542 (mh-letter-previous-header-field): Ditto.
2544 * mh-customize.el (mh-alias-completion-ignore-case-flag)
2545 (mh-default-folder-for-message-function, mh-mml-method-default)
2546 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2547 (mh-show-mode-hook) Ditto.
2549 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2551 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2552 (mh-store-msg, mh-store-buffer): Ditto.
2554 * mh-index.el (mh-index-search, mh-index-do-search)
2555 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2557 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2559 * mh-mime.el (mh-mh-compose-external-compressed-tar)
2560 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2561 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2562 (mh-mml-secure-message-signencrypt): Ditto.
2564 * mh-pick.el (mh-search-folder): Ditto.
2566 * mh-seq.el (mh-widen): Ditto.
2568 * mh-utils.el (mh-show, mh-modify): Ditto.
2570 2006-01-02 Mark D. Baushke <mdb@gnu.org>
2572 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2574 2006-01-01 Bill Wohler <wohler@newt.com>
2576 * mh-customize.el: Sync docstrings with manual for faces and sort
2577 them alphabetically.
2578 (mh-faces): Move below mh-hooks.
2579 (mh-folder-faces, mh-index-faces, mh-letter-faces)
2580 (mh-show-faces, mh-speed-faces): Delete. Organize faces like hooks.
2581 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2582 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2583 (mh-folder-body-face, mh-folder-cur-msg-face)
2584 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2585 (mh-folder-followup-face, mh-folder-msg-number-face)
2586 (mh-folder-deleted-face, mh-folder-refiled-face)
2587 (mh-folder-subject-face, mh-folder-address-face)
2588 (mh-folder-scan-format-face, mh-folder-to-face)
2589 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2590 (mh-show-header-face, mh-show-pgg-good-face)
2591 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2592 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2594 (mh-folder-cur-msg): Unused. Delete.
2595 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2596 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2597 Inherit from mh-folder-msg-number.
2598 (mh-folder-deleted): Use defface. Inherit from
2599 mh-folder-msg-number.
2600 (mh-folder-sent-to-me-hint): New face. Inherit from
2602 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2603 Use defface. Inherit from mh-folder-followup.
2604 (mh-show-xface): Inherit from mh-show-from and highlight.
2605 (bw-face-generation, bw-toggle-faces)
2606 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2607 variables, functions for toggling between old and new faces.
2609 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2610 eval-when-compile. We should probably do this throughout.
2611 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2612 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2613 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2614 (mh-scan-subject-regexp): Sync docstrings with manual.
2615 (mh-scan-format-regexp): Rename to
2616 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
2617 expression. Make expression more like the others (anchored at the
2618 beginning of line). Sync docstrings with manual.
2619 (mh-folder-font-lock-keywords): Use faces directly rather than
2620 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
2621 mh-scan-format-regexp, and within that expression, use faces
2622 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2623 of mh-folder-date-face and mh-folder-scan-format-face which were
2626 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2627 rather than -face variables.
2629 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2630 rather than -face variables.
2631 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2632 (mh-face-display-function): Use mh-face-foreground-compat and
2633 mh-face-background-compat to use inherited attributes of
2634 mh-show-xface on Emacs 22 while still working on Emacs 21.
2636 2005-12-28 Bill Wohler <wohler@newt.com>
2638 * mh-comp.el (mh-e-user-agent): Move here from simple.el.
2639 Use mh-user-agent-compose instead of mh-smail-batch.
2641 2005-12-27 Bill Wohler <wohler@newt.com>
2643 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2644 suppress creation of folder if it doesn't exist.
2646 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2648 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2650 2005-12-23 Bill Wohler <wohler@newt.com>
2652 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2654 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2655 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2656 everything else. Otherwise, you can accidently get links to
2659 2005-12-22 Bill Wohler <wohler@newt.com>
2661 Follow Emacs coding conventions. Use default setting of
2662 emacs-lisp-docstring-fill-column which is 65.
2664 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2666 * mh-comp.el (mh-letter-mode): Use 60 column width.
2667 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2669 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2670 you have added a mail-citation-hook and neither are used if you
2671 use one of the supercite flavors of mh-yank-behavior. Sync
2672 docstrings with manual.
2674 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2675 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2676 hook. Use "Hook run by `function'..." instead of "Invoked...".
2677 Sync docstrings with manual.
2678 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2679 mh-ins-buf-prefix isn't used if you have added a
2680 mail-citation-hook and neither are used if you use one of the
2681 supercite flavors of mh-yank-behavior. Sync docstrings with manual.
2682 (mail-citation-hook): Delete. Use one in sendmail.el.
2683 (mh-signature-file-name, mh-after-commands-processed-hook)
2684 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2685 (mh-before-quit-hook, mh-before-send-letter-hook)
2686 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2687 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2688 (mh-letter-mode-hook)
2689 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2690 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2691 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2692 of "Invoked...". Sync docstrings with manual.
2694 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2695 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2696 (mh-delete-list, mh-refile-list, mh-folders-changed)
2697 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2698 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2699 (mh-mode-line-annotation, mh-sequence-notation-history)
2700 (mh-colors-available-flag): Move comment into docstring.
2701 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2702 (mh-process-commands): Sync docstrings with manual.
2703 (mh-refile-msg): Small doc edit.
2704 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2705 Rename msg argument to message.
2707 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2709 * mh-e.el (mh-update-unseen): No longer say "The value of
2710 `foo-hook' is a list of functions to be called, with no arguments,
2711 ...," but rather just "The hook foo-hook is called...".
2713 * mh-mime.el (mh-mh-to-mime): Ditto.
2715 * mh-pick.el (mh-pick-mode): Ditto.
2717 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2719 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2721 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2724 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2726 * mh-customize.el (mh-after-commands-processed-hook): New variable.
2727 (mh-before-commands-processed-hook): Rename mh-folder-updated-hook.
2729 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2730 mh-before-commands-processed-hook, call new
2731 mh-after-commands-processed-hook.
2732 (mh-folders-changed): New variable (for use in
2733 mh-after-commands-processed-hook).
2735 2005-12-19 Bill Wohler <wohler@newt.com>
2755 Follow commenting conventions. Don't use ;;; form so much, except
2756 for headings. Precede headings with page feed. This was mostly
2757 already done, so I made it a convention. Did not update copyright
2758 on a couple of files since this was an insignificant change.
2760 2005-12-18 Bill Wohler <wohler@newt.com>
2762 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2763 (mh-tool-bar-search-function): Sync docstrings with manual.
2764 (mh-tool-bar-customize): Replace toolbar with tool bar in docstring.
2765 (mh-tool-bar-letter-help): Fix manual reference.
2766 (mh-xemacs-use-toolbar-flag): Rename to
2767 mh-xemacs-use-tool-bar-flag. Initialize to
2768 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2769 (mh-xemacs-toolbar-position): Rename to
2770 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2771 option (redundant) and change "Same As Default Tool Bar" setting
2772 to nil. Sync docstrings with manual.
2773 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2774 depending on context.
2775 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2776 for calling set-specifier. Only look at the value of
2777 mh-xemacs-use-tool-bar-flag.
2778 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons):
2779 Sync docstrings with manual.
2781 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2784 * mh-e.el (mh-folder-mode): Ditto.
2786 * mh-utils.el (mh-show-mode): Ditto.
2788 2005-12-15 Bill Wohler <wohler@newt.com>
2790 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2792 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2793 (mh-thread-previous-sibling, mh-thread-ancestor)
2794 (mh-thread-delete, mh-thread-refile): Ditto.
2796 2005-12-14 Bill Wohler <wohler@newt.com>
2798 * mh-customize.el (mh-speed-flists-interval): Rename to
2799 mh-speed-update-interval.
2800 (mh-speed-run-flists-flag): Delete. Setting
2801 mh-speed-flists-interval to 0 accomplishes the same thing.
2803 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2804 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2805 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2806 docstrings with manual.
2808 2005-12-09 Bill Wohler <wohler@newt.com>
2810 * mh-customize.el (mh-path): Move here from mh-init.el.
2811 (mh-variant): Mention that mh-path can be customized.
2812 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2813 X-MAIL-INFO, and X-UNTD- from NetZero.
2815 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2817 2005-12-04 Bill Wohler <wohler@newt.com>
2819 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2820 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2823 * mh-customize.el (mh-insert-signature-hook): Rename
2824 mh-letter-insert-signature-hook to mh-insert-signature-hook.
2826 * mh-comp.el (mh-insert-signature): Ditto.
2828 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2829 to nil. Remove t option. Sync docstring with manual (closes SF
2831 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2832 users can see it, look it up in the manual's index, and discover
2833 mh-fetch-x-image-url (closes SF #831278).
2835 * mh-customize.el (mh-new-messages-folders): Rename from
2836 mh-index-new-messages-folders.
2837 (mh-ticked-messages-folders): Rename from
2838 mh-index-ticked-messages-folders.
2840 * mh-index.el (mh-index-sequenced-messages)
2841 (mh-index-new-messages): Ditto.
2843 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2844 in the docstrings and made usage consistent. Generally speaking,
2845 "messages in range" and "range of messages" is redundant and just
2846 "range" can be used in most circumstances. Also ensured that
2847 mh-interactive-range was mentioned in all interactive functions
2848 that use a range which describes the range argument for both users
2851 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2852 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2853 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2854 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2857 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2860 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2862 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2863 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2865 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2866 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2868 2005-12-01 Bill Wohler <wohler@newt.com>
2870 Rewrote Reading Mail chapter in manual which affected mh-show
2871 customization group and related functions.
2873 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2874 instead of mh-highlight-citation-p.
2875 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2876 I think, so use "truncated".
2878 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2879 section is Folders, not Organizing. Parent of mh-folder-faces is
2880 mh-folder, not mh-show.
2881 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2882 (mh-thread): New group that corresponds with manual's Threading chapter.
2883 (mh-letter-faces): Group's manual section is Editing Drafts, not
2885 (mh-sortm-args): New customization variable that used to be a defvar.
2886 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2887 Move from mh-index group to mh-folders group.
2888 (mh-alias-local-users-prefix, mh-large-folder)
2889 (mh-recursive-folders-flag, mh-before-quit-hook)
2890 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2891 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2893 (mh-highlight-citation-style): Rename from
2894 mh-highlight-citation-p. Sync docstrings with manual.
2895 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2897 (mh-show-threads-flag): Move from mh-show group to mh-thread
2899 (mh-find-path-hook): Move from mh-show group to mh-e group.
2900 (mh-folder-updated-hook): Add to mh-folder group.
2901 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2902 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2903 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2904 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2905 (mh-display-buttons-for-inline-parts-flag)
2906 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2907 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2908 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2909 (mh-lpr-command-format, mh-max-inline-image-height)
2910 (mh-max-inline-image-width)
2911 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2912 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2913 (mh-show-use-xface-flag, mh-store-default-directory)
2914 (mh-summary-height, mh-delete-msg-hook)
2915 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2917 * mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
2918 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2919 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp):
2920 Use non-fontification instead of non-fontifying.
2921 (mh-header-display): Use mh-mhl-format-file instead of
2922 mhl-formfile. Sync docstrings with manual.
2923 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2924 count. Sync docstrings with manual.
2925 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2926 so that message doesn't change when using this command. Sync
2927 docstrings with manual.
2928 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
2929 docstrings with manual.
2930 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2931 to no-header. Sync docstrings with manual.
2932 (mh-ps-print-map): Delete keybindings for deleted commands
2933 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2934 (mh-help-messages): Update printing help.
2935 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2936 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2937 (mh-prev-button, mh-folder-toggle-mime-part)
2938 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2939 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2942 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2944 (mh-pipe-msg): Rename include-headers to include-header.
2945 Sync docstrings with manual.
2946 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2947 (mh-store-msg): Sync docstrings with manual.
2949 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt.
2950 Sync docstrings with manual.
2951 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2952 Sync docstrings with manual.
2953 (mh-mm-display-part, mh-mm-inline-message): Use
2954 mh-highlight-citation-style instead of mh-highlight-citation-p.
2955 (mh-press-button): Sync docstrings with manual.
2956 (mh-display-with-external-viewer): Fix default output in
2957 minibuffer. Sync docstrings with manual.
2959 * mh-print.el (mh-ps-print-mime, mh-ps-print-toggle-mime):
2961 (mh-ps-print-color-option): Incorporate docstring from
2963 (mh-ps-spool-buffer): Remove unused code. Fix indent.
2965 (mh-ps-spool-msg): Slimline docstring. Rename from
2966 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
2968 (mh-ps-print-range): Extract method from common code in
2969 mh-ps-print-msg and mh-ps-print-msg-file.
2970 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2971 (mh-ps-print-msg-show): Delete. Can use either
2972 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2973 new code in mh-ps-spool-msg.
2974 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2975 Sync docstrings with manual.
2976 (mh-ps-print-msg, mh-ps-print-msg-file)
2977 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color):
2978 Sync docstrings with manual.
2980 * mh-utils.el (mh-show-ps-print-msg-show)
2981 (mh-show-ps-print-toggle-mime): Delete.
2982 (mh-show-ps-print-map): Update accordingly.
2983 (mh-show-mode): Use mh-highlight-citation-style instead of
2984 mh-highlight-citation-p.
2985 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2987 (mh-show): Use mh-mhl-format-file instead of mhl-formfile.
2988 Sync docstrings with manual.
2989 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg):
2990 Sync docstrings with manual.
2992 2005-12-01 Bill Wohler <wohler@newt.com>
2994 * mh-init.el (mh-defface-compat): Checkdoc fix.
2996 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2997 Bogofilter is lowercase except at beginning of sentence and in
3000 2005-11-04 Bill Wohler <wohler@newt.com>
3002 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
3003 Move to mh-init.el to minimize bulk of mh-customize.el.
3005 * mh-init.el: Modify commentary since file is used for load and
3006 initialization as well as setting and getting the variant.
3007 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
3010 * mh-customize.el: Refactor faces. Move grayscale requirements
3011 last before t. Use uniform line breaks.
3012 (mh-min-colors-defined-flag): New variable.
3013 (mh-defface-compat): New function. Provides backward compatibility
3015 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
3016 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
3017 (mh-folder-body): Use mh-defface-compat.
3019 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
3021 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
3022 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
3023 (mh-folder-to-face): Use the min-colors attribute instead of the
3026 2005-11-03 Bill Wohler <wohler@newt.com>
3028 * mh-customize.el (mh-refile-preserves-sequences-flag)
3029 (mh-tick-seq, mh-update-sequences-after-mh-show-flag):
3030 Sync docstrings with manual.
3032 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
3034 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
3035 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
3038 2005-11-01 Bill Wohler <wohler@newt.com>
3040 * mh-comp.el (mh-redist-full-contents) Convert defvar to
3042 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
3043 (mh-reply, mh-send, mh-send-other-window)
3044 (mh-fill-paragraph-function): Sync docstrings with manual.
3045 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
3046 msg argument to message (to make for a better docstring).
3048 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
3049 to defcustom. Rename by adding -flag.
3050 (mh-compose-forward-as-mime-flag)
3051 (mh-compose-letter-function, mh-forward-subject-format)
3052 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
3053 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
3056 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
3057 (mh-ps-print-msg): Remove debugging messages.
3058 (mh-ps-print-msg-show, mh-ps-print-msg-show)
3059 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
3060 after message per conventions.
3062 2005-10-30 Bill Wohler <wohler@newt.com>
3064 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
3065 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp):
3066 Sync docstrings with manual.
3068 * mh-customize.el (mh-compose-space-does-completion-flag)
3069 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
3070 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
3071 means" to remain checkdoc clean and consistent with Emacs. I
3072 raised this issue with the Emacs developers and Stallman agrees
3073 that "On means" should be allowed in custom docstrings but that
3074 this change requires thought and should wait until after the Emacs
3077 2005-10-28 Bill Wohler <wohler@newt.com>
3079 * mh-comp.el (mh-annotate-msg): Use new variable
3080 mh-scan-field-destination-offset rather than hard-coding 1.
3082 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
3084 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
3085 functions to check input for mh-adaptive-cmd-note-flag and
3086 mh-scan-format-file respectively.
3087 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
3090 * mh-e.el (mh-scan-field-destination-offset): New variable. The
3091 destination is the -, t, b, c, or n character for Replied, To, cc,
3092 Bcc, or Newsgroups respectively.
3093 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note):
3094 Call new function mh-msg-num-width-to-column to make leap between
3095 width and column more explicit.
3096 (mh-msg-num-width-to-column): New function that steals logic from
3097 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
3098 isn't t since we can't adapt the scan lines in this case.
3099 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
3100 make the documentation more clear.
3101 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
3102 column, not a width.
3103 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
3104 variable mh-scan-field-destination-offset rather than hard-coding 1.
3106 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
3107 (mh-notate): Use new variable mh-scan-field-destination-offset
3108 rather than hard-coding 1.
3109 (mh-message-number-width): Rename to mh-msg-num-width to be
3110 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
3112 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
3113 (mail-citation-hook): Quote URLs in docstrings and precede with
3114 `URL'. The former will suppress checkdoc warnings, the latter will
3115 turn them into hyperlinks in Emacs 22 (I just added the code to do
3117 (mh-scan-format-file): Checkdoc fix.
3119 2005-10-27 Bill Wohler <wohler@newt.com>
3121 * mh-customize.el (mh-adaptive-cmd-note-flag)
3122 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
3124 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
3125 (mh-note-cur, mh-scan-good-msg-regexp)
3126 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
3127 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
3128 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
3129 (mh-scan-subject-regexp, mh-scan-format-regexp)
3130 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
3133 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
3135 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
3136 of hard-coded string.
3137 (mh-mail-header-separator, mh-signature-separator-regexp):
3138 Use "regular expression" in docstring instead of regexp.
3139 (mh-scan-msg-number-regexp)
3140 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
3141 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
3142 (mh-cmd-note): Sync docstrings with manual.
3144 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
3147 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
3149 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
3150 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3151 (mh-mml-secure-message-signencrypt): Ditto.
3153 2005-10-24 Bill Wohler <wohler@newt.com>
3155 * mh-gnus.el: Load mml.el in order to see if
3156 mml-minibuffer-read-disposition is defined or not.
3158 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
3161 2005-10-23 Miles Bader <miles@gnu.org>
3163 * .arch-inventory: New file.
3165 2005-10-23 Bill Wohler <wohler@newt.com>
3167 * mh-customize.el (mh-interpret-number-as-range-flag):
3168 Sync docstring with manual.
3170 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
3171 mh-alias.el and move to mh-acros.el.
3173 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
3174 mh-identity.el and move to mh-acros.el.
3176 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
3177 mh-identity.el and mh-alias.el.
3179 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
3180 warning in Emacs 22.
3182 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
3184 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
3185 assoc-string (if the function is available) and falls back on
3186 assoc-ignore-case if assoc-string is not found.
3187 (mh-identity-field-handler): Use mh-assoc-ignore-case since
3188 assoc-ignore-case is a obsolete function in Emacs 22.
3190 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
3191 track of whether the tool-bar in mh-folder-mode has been
3193 (mh-folder-mode): Initialize the tool-bar for folders the first
3194 time we get into mh-letter-mode.
3196 * mh-customize.el (mh-buffer-exists-p): New function which tests
3197 presence of buffers of a given mode.
3198 (mh-tool-bar-define): New functions mh-tool-bar-folder-buttons-init and
3199 mh-tool-bar-letter-buttons-init are defined. These functions are
3200 used to create the tool-bar from the corresponding customizable
3203 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
3204 keeps track of whether the tool-bar in mh-letter-mode has been
3206 (mh-letter-mode): Initialize the tool-bar for drafts the first
3207 time we get into mh-letter-mode.
3209 2005-10-23 Bill Wohler <wohler@newt.com>
3211 * mh-comp.el (mh-letter-menu): Rename
3212 mh-mhn-compose-external-compressed-tar to
3213 mh-mh-compose-external-compressed-tar. Rename
3214 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3215 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
3216 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
3217 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
3218 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
3220 (mh-insert-signature): Rename mh-mhn-directive-present-p to
3221 mh-mh-directive-present-p.
3222 (mh-send-letter): Rename mh-mhn-directive-present-p to
3223 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
3224 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
3225 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3226 mh-mhn-compose-external-compressed-tar to
3227 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3228 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3229 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
3230 mh-mh-compose-anon-ftp. Rename
3231 mh-mhn-compose-external-compressed-tar to
3232 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3233 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3234 mh-mh-compose-external-type.
3235 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
3236 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
3237 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
3238 mh-yank-from-start-of-msg to mh-yank-behavior.
3239 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
3240 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
3241 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
3242 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
3243 (mh-letter-complete-or-space, mh-letter-confirm-address)
3244 (mh-letter-next-header-field-or-indent)
3245 (mh-letter-previous-header-field)
3246 (mh-letter-toggle-header-field-display): Sync docstrings with
3249 * mh-customize.el (mh-edit-mhn-hook): Rename to
3251 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
3252 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
3253 and user-visible values from mhn and Gnus to MH and MML.
3254 (mh-before-send-letter-hook): Add 'ispell-message option.
3255 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
3256 mh-pgp-support-flag.
3257 (mh-compose-insertion, mh-compose-space-does-completion-flag)
3258 (mh-delete-yanked-msg-window-flag)
3259 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
3260 (mh-letter-complete-function, mh-letter-fill-column)
3261 (mh-mml-method-default, mh-signature-file-name)
3262 (mh-signature-separator-flag, mh-x-face-file)
3263 (mh-yank-behavior, mail-citation-hook)
3264 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
3267 * mh-gnus.el (mml-minibuffer-read-disposition): New function
3268 provided for Emacs 21 environments that lack it.
3270 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
3272 (mh-compose-forward): mh-mh-forward-message requires string arg.
3273 (mh-minibuffer-read-type): New function.
3274 (mh-mhn-args): Rename to mh-mh-to-mime-args.
3275 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
3276 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
3277 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
3278 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
3279 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
3280 (mh-mhn-compose-external-compressed-tar): Rename to
3281 mh-mh-compose-external-compressed-tar. Rename
3282 mh-mhn-compose-external-type to mh-mh-compose-external-type.
3283 (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type.
3284 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
3285 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
3286 Use correct program in message.
3287 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
3288 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
3289 (mh-compose-forward, mh-mh-attach-file)
3290 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3291 (mh-mh-compose-external-type, mh-mh-forward-message)
3292 (mh-mml-attach-file): Use mml-minibuffer-read-description,
3293 mh-minibuffer-read-type.
3294 (mh-mime-content-types): Move comment about only being used in
3295 Emacs 20 to docstring.
3296 (mh-mh-compose-external-type): Rename extra-param argument to
3298 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
3299 (mh-mime-display-part, mh-mime-display-single): Rename
3300 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
3301 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
3303 (mh-compose-forward): Rename mh-mhn-compose-forw to
3304 mh-mh-forward-message.
3305 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
3307 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
3308 (mh-mh-attach-file, mh-mh-compose-type)
3309 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3310 (mh-mh-compose-external-compressed-tar)
3311 (mh-mh-compose-external-type, mh-mh-forward-message)
3312 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
3313 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
3314 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
3315 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3316 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
3317 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
3318 Sync docstrings with manual.
3320 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
3321 mh-pgp-support-flag.
3323 2005-10-17 Peter S Galbraith <psg@debian.org>
3325 * mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case'
3326 to compare against header field for mixed-case "From:".
3328 2005-10-17 Bill Wohler <wohler@newt.com>
3330 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
3331 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
3332 to mail/compose, fld_open to fld-open.
3333 (mh-letter-tool-bar-map): Rename image file mail_send to
3336 2005-10-16 Bill Wohler <wohler@newt.com>
3338 * mh-comp.el (mh-display-completion-list-compat): New macro which
3339 calls `display-completion-list' correctly in older environments.
3340 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
3342 (mh-complete-word): Use it.
3344 * mh-init.el (mh-image-load-path): Use locate-library to find
3345 MH-E. This simplified the code a lot. Flattened out nested
3346 statements even more.
3348 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
3350 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
3351 causes a compiler warning.
3353 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
3354 the message to be viewed (closes SF #1306141).
3356 2005-10-16 Masatake YAMATO <jet@gyve.org>
3358 * mh-comp.el (mh-complete-word): Pass the common prefix substring
3359 of completion to `display-completion-list'.
3361 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
3363 * mh-init.el (mh-image-load-path-called-flag): New variable which
3364 is used by mh-image-load-path so that it runs only once.
3365 (mh-image-load-path): Modify so that it gets run only once. Also
3366 flatten out heavily nested if statements to make it clearer.
3368 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
3369 to find images used in the toolbar.
3371 * mh-customize.el (:folder): Remove call to mh-image-load-path.
3373 2005-10-14 Bill Wohler <wohler@newt.com>
3375 * mh-e.el (Version, mh-version): Add +cvs to version.
3377 2005-10-14 Bill Wohler <wohler@newt.com>
3379 Released MH-E version 7.85.
3381 * mh-e.el (Version, mh-version): Update for release 7.85.
3383 2005-10-14 Bill Wohler <wohler@newt.com>
3385 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
3386 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
3387 need to be indented.
3389 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
3390 but the code that invoked the face had not been updated. Tick
3391 highlighting working again.
3393 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
3394 make-variable-buffer-local call to top level to avoid warnings in
3397 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
3400 2005-10-09 Bill Wohler <wohler@newt.com>
3402 * mh-init.el (mh-image-load-path): New function that adds the path
3403 to the MH-E images to the image-load-path or load-path depending
3404 on the version of Emacs.
3406 * mh-customize.el: Call mh-image-load-path just before
3407 mh-tool-bar-define so that the toolbar images can be found.
3409 2005-10-04 Bill Wohler <wohler@newt.com>
3411 * ChangeLog: Move contents into ChangeLog.1 and trim.
3413 * ChangeLog.1: New file. Contains old ChangeLog.
3416 Copyright (C) 2005-2011 Free Software Foundation, Inc.
3418 This file is part of GNU Emacs.
3420 GNU Emacs is free software: you can redistribute it and/or modify
3421 it under the terms of the GNU General Public License as published by
3422 the Free Software Foundation, either version 3 of the License, or
3423 (at your option) any later version.
3425 GNU Emacs is distributed in the hope that it will be useful,
3426 but WITHOUT ANY WARRANTY; without even the implied warranty of
3427 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3428 GNU General Public License for more details.
3430 You should have received a copy of the GNU General Public License
3431 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
3435 ;; sentence-end-double-space: nil
3436 ;; add-log-time-zone-rule: t