1 2011-07-17 Bill Wohler <wohler@newt.com>
3 Release MH-E version 8.2.93.
5 * mh-e.el (Version, mh-version): Update for release 8.2.93.
7 * mh-compat.el (mh-pop-to-buffer-same-window): Delete.
8 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
9 (mh-make-folder): Revert to switch-to-buffer, as the Emacs folks
10 decided that it was fine to use it in programs.
12 2011-07-16 Bill Wohler <wohler@newt.com>
14 Release MH-E version 8.2.92.
16 * mh-e.el (Version, mh-version): Update for release 8.2.92.
18 2011-07-12 Bill Wohler <wohler@newt.com>
20 Release MH-E version 8.2.91.
22 * mh-e.el (Version, mh-version): Update for release 8.2.91.
24 * mh-compat.el (mh-pop-to-buffer-same-window): Add compatibility
25 function to call switch-to-buffer on systems that lack
26 pop-to-buffer-same-window.
27 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
28 (mh-make-folder): Call mh-pop-to-buffer-same-window instead of
29 switch-to-buffer. The previous change which used pop-to-buffer
30 produced the wrong behavior.
32 2011-07-12 Henrique Martins <henrique@martins.cc> (tiny change)
34 * mh-xface.el (mh-picon-get-image): Remove quote from block
36 * mh-mime.el (mh-mh-directive-present-p): Ditto.
38 2011-07-10 Bill Wohler <wohler@newt.com>
40 Release MH-E version 8.2.90.
42 * mh-e.el (Version, mh-version): Update for release 8.2.90.
44 * mh-utils.el (mh-sub-folders-actual): Remove FIXME question.
46 * mh-mime.el (mh-decode-message-subject): Fix case of Subject.
48 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
49 (mh-make-folder): Replace calls to switch-to-buffer with of
50 pop-to-buffer. The former is intended for interactive use only and
51 generates warnings in Emacs 24.
53 2011-07-09 Bill Wohler <wohler@newt.com>
55 * mh-speed.el (mh-speed-toggle,mh-speed-view): Document "ignored"
56 arguments to keep checkdoc happy.
58 * mh-search.el (mh-flists-execute): Ditto.
60 * mh-funcs.el (mh-undo-folder): Ditto.
62 * mh-comp.el (mh-user-agent-compose): Ditto.
64 * mh-xface.el (mh-face-to-png, mh-uncompface)
65 (mh-picon-file-contents): Only call set-buffer-multibyte if it
66 exists, which it doesn't in XEmacs.
68 2011-07-04 Bill Wohler <wohler@newt.com>
70 * mh-e.el: Just require mh-loaddefs since loading it in an
71 eval-and-compile block causes compilation errors in XEmacs.
73 * mh-acros.el, mh-comp.el, mh-e.el, mh-folder.el, mh-letter.el:
74 * mh-mime.el, mh-search.el, mh-seq.el: Shush XEmacs compiler in
75 mh-do-in-xemacs block.
77 * mh-compat.el (mh-window-full-height-p): Add compatibility
79 * mh-show.el (mh-show-msg): Use it, and avoid compiler warning on
82 * mh-letter.el (mh-letter-mode-map, mh-letter-complete)
83 (mh-complete-word): Remove FIXME comments since these functions
84 are still needed in other Emacsen. However, they can probably
85 stand to be generalized like completion-at-point.
86 (mh-letter-complete-or-space): Remove unused variable.
88 2011-07-03 Bill Wohler <wohler@newt.com>
90 * mh-compat.el (mh-test-completion): Add compatibility function
92 * mh-alias.el (mh-alias-letter-expand-alias): Use it, and avoid
93 compiler warning on XEmacs.
96 * mh-mime.el: Shush XEmacs compiler in mh-do-in-xemacs block.
98 * mh-folder.el: Use boundp instead of fboundp when testing
99 existence of desktop-buffer-mode-handlers.
101 2011-05-10 Jim Meyering <meyering@redhat.com>
103 Fix doubled-word typos.
104 * mh-alias.el (mh-alias-minibuffer-confirm-address): if if -> if it
105 * mh-scan.el (mh-scan-destination-width): in in -> in
107 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
109 * mh-utils.el (mh-folder-completion-function): Make it work like
110 file-name completion, so partial-completion can do its job.
112 * mh-letter.el (mh-letter-completion-at-point): New function, extracted
113 from mh-letter-complete
114 (mh-letter-mode, mh-letter-complete, mh-letter-complete-or-space):
116 (mh-complete-word): Only use the common-substring arg when it works.
117 (mh-folder-expand-at-point):
118 * mh-alias.el (mh-alias-letter-expand-alias): Return data suitable for
119 completion-at-point-functions.
121 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
123 * mh-funcs.el (mh-undo-folder): Accept and ignore arguments,
124 for compatibility with `revert-buffer'. Doc fix. (Bug#8431)
126 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
128 * Version 23.3 released.
130 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
132 * mh-funcs.el (mh-store-msg, mh-store-buffer):
133 * mh-mime.el (mh-mime-save-parts): Use read-directory-name.
135 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
137 * mh-comp.el (mh-user-agent-compose): New arg RETURN-ACTION.
139 2010-11-07 Glenn Morris <rgm@gnu.org>
141 * mh-seq.el (mh-read-msg-list): Use point-at-eol.
143 2010-11-03 Glenn Morris <rgm@gnu.org>
145 * mh-mime.el (dots, type, ov): Avoid unnecessary declaration.
147 2010-05-14 Peter S Galbraith <psg@debian.org>
149 * mh-mime.el (mh-decode-message-subject): New function to decode
150 RFC2047 encoded Subject lines. Used for reply drafts.
151 * mh-comp.el (mh-compose-and-send-mail): Call
152 `mh-decode-message-subject' on (reply or forward) message drafts.
154 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
156 * Version 23.2 released.
158 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
160 * mh-show.el (mh-showing-mode): Move function to mh-e.el.
161 * mh-e.el (mh-showing-mode): Use define-minor-mode.
163 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
165 * mh-scan.el (mh-scan-cmd-note-width): Doc fix.
166 (mh-scan-format-mh, mh-scan-body-regexp, mh-scan-cur-msg-number-regexp)
167 (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
168 (mh-scan-deleted-msg-regexp, mh-scan-good-msg-regexp)
169 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
170 (mh-scan-msg-number-regexp, mh-scan-rcpt-regexp)
171 (mh-scan-refiled-msg-regexp, mh-scan-sent-to-me-sender-regexp)
172 (mh-scan-subject-regexp, mh-update-scan-format)
173 (mh-msg-num-width-to-column): Fix typos in docstrings.
175 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
179 2009-12-01 Bill Wohler <wohler@newt.com>
181 * mh-search.el (mh-mairix-execute-search): Use mh vfolder_format.
182 Fix typo in database path.
183 (mh-namazu-execute-search): Specify -q in example since namazu is
184 excessively garrulous.
186 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
188 * mh-thread.el (mh-thread-set-tables):
189 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-stealth-update):
190 (mh-speed-extract-folder-name, mh-speed-parse-flists-output):
191 (mh-speed-invalidate-map, mh-speed-add-folder):
192 * mh-show.el (mh-invalidate-show-buffer, mh-show-sequence-menu):
193 * mh-seq.el (mh-list-sequences):
194 * mh-search.el (mh-index-execute-commands, mh-index-add-to-sequence)
195 (mh-index-delete-from-sequence, mh-index-update-maps):
196 * mh-scan.el (mh-msg-num-width):
197 * mh-print.el (mh-ps-spool-buffer):
198 * mh-mime.el (mh-mime-save-parts, mh-handle-set-external-undisplayer)
200 * mh-letter.el (mh-yank-cur-msg):
201 * mh-funcs.el (mh-list-folders, mh-pipe-msg, mh-store-msg)
203 * mh-folder.el (mh-modify, mh-visit-folder, mh-write-msg-to-file)
204 (mh-prompt-for-refile-folder):
205 * mh-e.el (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
206 (mh-handle-process-error, mh-variant-info):
207 * mh-comp.el (mh-forward):
208 * mh-alias.el (mh-alias-local-users, mh-alias-which-file-has-alias):
209 (mh-alias-add-alias-to-file): Use with-current-buffer.
211 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
213 * mh-e.el: Load mh-loaddefs during compilation as well.
215 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
217 * mh-e.el (mh-loaddefs): Load rather than require.
219 2009-10-06 Glenn Morris <rgm@gnu.org>
221 * mh-show.el (mh-show-msg): Use window-full-height-p.
223 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
225 * mh-comp.el (mh-send-letter): default-buffer-file-coding-system
226 => (default-value 'buffer-file-coding-system).
228 2009-08-10 Bill Wohler <wohler@newt.com>
230 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
231 (mh-spamprobe-blacklist): Sync docstring with manual.
233 2009-07-22 Kevin Ryde <user42@zip.com.au>
235 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
236 (mh-spamprobe-blacklist): Hyperlink URLs in docstrings with URL `...'.
238 2009-06-13 Bill Wohler <wohler@newt.com>
240 Release MH-E version 8.2.
242 * mh-e.el (Version, mh-version): Update for release 8.2.
244 * mh-seq.el (mh-folder-size-flist)
245 * mh-speed.el (mh-speed-parse-flists-output)
246 * mh-xface.el (mh-face-display-function): Remove trailing space.
248 2009-03-13 D. Goel <deego3@gmail.com>
250 * mh-seq.el (mh-folder-size-flist): Use (values-list) in m-v call
253 * mh-speed.el (mh-speed-parse-flists-output): Ditto.
254 * mh-xface.el (mh-face-display-function): Ditto.
255 * mh-search.el (mh-index-parse-search-regexp): Ditto.
257 * mh-thread.el (mh-thread-generate): Ditto.
259 * mh-seq.el (mh-parse-flist-output-line): Return list rather than values.
260 We want to avoid emacs using m-v facilities.
261 (mh-folder-size-folder): Ditto.
262 (mh-parse-flist-output-line): Ditto.
263 * mh-thread.el (mh-thread-prune-subject): Ditto.
264 * mh-xface.el (mh-picon-get-image): Ditto.
265 (mh-picon-file-contents): Ditto.
266 * mh-search.el (mh-index-evaluate): Ditto.
268 2009-01-27 Bill Wohler <wohler@newt.com>
270 * mh-funcs.el (mh-pack-folder): Fix docstring.
272 * mh-e.el (mh-pack-folder-hook): Bump package-version to 8.2.
274 * mh-gnus.el (mh-mm-merge-handles)
275 (mh-mm-set-handle-multipart-parameter, mh-mm-inline-text-vcard)
276 (mh-mml-minibuffer-read-disposition, mh-mm-save-part): Update with
277 code from Gnus 5.11 (closes SF #2235022).
279 2009-01-26 Stephen Gildea <gildea@stop.mail-abuse.org>
281 * mh-e.el (mh-pack-folder-hook): New variable.
282 * mh-funcs.el (mh-pack-folder): Call new mh-pack-folder-hook.
284 2009-01-26 Bill Wohler <wohler@newt.com>
286 * mh-utils.el (mh-goto-header-end): Use mh-mail-header-separator
287 instead of -* in regexp.
289 * mh-folder.el (mh-folder-mode-help-messages): Add e and t to K's
292 2009-01-09 Glenn Morris <rgm@gnu.org>
294 * mh-letter.el: Replace last-input-char with last-input-event.
296 2008-08-18 Bill Wohler <wohler@newt.com>
298 Release MH-E version 8.1.
300 * mh-e.el (Version, mh-version): Update for release 8.1.
302 2008-08-11 Bill Wohler <wohler@newt.com>
304 * mh-e.el (mh-variant-mh-info, mh-variant-nmh-info)
305 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
306 (mh-variant-set, mh-variant, mh-scan-format-file): Fix typo in
309 * mh-comp.el (mh-reply)
310 * mh-e.el (mh-sys-path, mh-variant-info, mh-variant-mu-mh-info)
311 (mh-variant-p, mh-profile-component, mh-variant-set, mh-variant)
312 (mh-scan-format-file)
313 * mh-folder.el (mh-regenerate-headers)
314 * mh-scan.el (mh-scan-format)
315 * mh-search.el (mh-pick-regexp-builder): Rename variant mu-mh to
316 gnu-mh and be explicit about GNU mailutils MH in docstrings (with
317 thanks to Darel Henman) (closes SF #1768928).
319 2008-08-01 Bill Wohler <wohler@newt.com>
321 * mh-show.el (mh-show-preferred-alternative)
322 * mh-e.el (mh-annotate-msg-hook): Sync docstring with manual.
324 * mh-comp.el (mh-send-letter, mh-redistribute): Mention
325 mh-annotate-msg-hook in docstring.
327 2008-06-29 Jeffrey C Honig <jch@honig.net>
329 * mh-e.el (mh-invisible-header-fields-internal): Add invisible
330 header fields for X-Hz (mail from Hertz), X-Proofpoint (Proofpoint
331 antivirus/anti-spam) and X-RIM (Research In Motion).
333 2008-06-20 Stephen Eglen <stephen@gnu.org>
335 * mh-show.el (mh-defun-show-buffer): Use `...' rather than than
336 "..." in generated docstrings.
338 2008-06-12 Glenn Morris <rgm@gnu.org>
340 * mh-seq.el (tool-bar-map): Define for compiler.
342 * mh-folder.el (mh-folder-mode):
343 * mh-letter.el (mh-letter-mode):
344 * mh-show.el (mh-show-mode): Check tool-bar-map is bound.
346 2008-06-08 John Paul Wallington <jpw@pobox.com>
348 * mh-acros.el (toplevel): Put `doc-string-elt' properties on
349 `defun-mh' and `defmacro-mh'.
351 * mh-alias.el (mh-alias-read-address-map): Define within defvar.
353 * mh-comp.el (mh-letter-mode-syntax-table): Define within defvar.
355 * mh-letter.el (mh-complete-word): Doc fix.
357 2008-06-02 John Paul Wallington <jpw@pobox.com>
359 * mh-e.el (mh-exec-cmd-env-daemon): Doc fix.
361 2008-06-01 John Paul Wallington <jpw@pobox.com>
363 * mh-e.el (mh-path, mh-variant): Use dotted syntax for
364 `package-version' info.
366 2008-05-26 Jeffrey C Honig <jch@honig.net>
368 * mh-e.el (mh-invisible-header-fields-internal): Remove Newsgroups
369 from the list. Add Bytes, X-Campaignid, X-Country-Chain,
370 X-Declude-, X-fmx-, X-Identity, X-Mailer_, X-pair-, X-SPF-,
373 2008-05-23 Bill Wohler <wohler@newt.com>
375 * mh-e.el (mh-invisible-header-fields-internal): Remove
376 DKIM-Signature as it is covered by DKIM-. Fully qualify X-EID.
378 2008-05-19 Sergey Poznyakoff <gray@gnu.org.ua>
380 * mh-mime.el (mh-mh-to-mime, mh-mh-to-mime-undo): Preserve modes
381 when converting to or from MIME (closes SF #1966722).
383 2008-05-19 Bill Wohler <wohler@newt.com>
385 * mh-e.el (mh-invisible-header-fields-internal): Sort list in a
386 case-insensitive way and add comment about it. Add many header
387 fields (closes SF #1916032).
389 2008-05-19 Xavier Maillard <xma@gnu.org> (tiny change)
391 * mh-utils.el (mh-find-path): Don't throw error if MH environment
392 variable is being used (closes SF #1946861).
394 2008-05-19 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
396 * mh-search.el (mh-mairix-regexp-builder): Add additional items to
397 search string to support org-mode (closes SF #1965704).
399 2008-03-18 Bill Wohler <wohler@newt.com>
401 * mh-e.el (mh-invisible-header-fields-internal): Add Accreditor,
403 (mh-invisible-header-fields, mh-invisible-header-fields-default):
404 Update URL to bug report for users to report ignored fields.
406 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
408 * mh-xface.el (mh-uncompface, mh-picon-file-contents):
409 Use set-buffer-multibyte...
410 (mh-face-display-function, mh-x-image-display): ...rather than bind
411 default-enable-multibyte-characters.
413 2008-02-24 Bill Wohler <wohler@newt.com>
415 * mh-comp.el (mh-send-letter): Call split-string on mh-send-args
416 when sending synchronously too.
418 2008-02-19 Bill Wohler <wohler@newt.com>
420 * mh-comp.el (mh-annotate-msg):
421 * mh-e.el (mh-invisible-header-fields-internal): Remove trailing
424 2008-01-30 Bill Wohler <wohler@newt.com>
426 * mh-mime.el (mh-mml-to-mime): Don't look up sender if From
427 absent. Fixes "Wrong type argument: stringp, nil" error.
429 2007-12-02 Glenn Morris <rgm@gnu.org>
431 * mh-mime.el (mail-strip-quoted-names): Autoload it.
433 2007-11-17 Dan Nicolaescu <dann@ics.uci.edu>
435 * mh-e.el (mh-xemacs-flag): Remove.
436 (mh-min-colors-defined-flag):
437 * mh-xface.el (mh-show-xface-function):
438 * mh-utils.el (mh-colors-available-p):
439 * mh-show.el (mh-show-mode):
440 * mh-gnus.el (mh-gnus-local-map-property):
441 * mh-folder.el (mh-folder-mode-map)
442 (mh-remove-xemacs-horizontal-scrollbar, mh-folder-mode):
443 * mh-comp.el (mh-insert-x-mailer): Replace uses of mh-xemacs-flag
444 with (featurep 'xemacs).
446 2007-09-11 Bill Wohler <wohler@newt.com>
448 * mh-e.el (Version, mh-version): Add +cvs to version.
450 2007-08-25 Stephen Gildea <gildea@stop.mail-abuse.org>
452 * mh-e.el (mh-annotate-msg-hook): New variable.
454 * mh-comp.el (mh-annotate-msg): Call new mh-annotate-msg-hook.
455 (mh-annotate-list): New variable, for mh-annotate-msg-hook.
457 2007-08-21 Jeffrey C Honig <jch@honig.net>
459 * mh-folder.el (mh-folder-message-menu, mh-folder-mode-map): Add
460 folder mode support for mh-show-preferred-alternative (closes SF
463 * mh-show.el (mh-show-preferred-alternative)
464 (mh-show-write-message-to-file, mh-show-message-menu)
465 (mh-show-mode-map): Add mh-show-preferred-alternative (bound to
466 ":") which will show the message's preferred alternative
467 overriding the users configured preference. Useful for showing
468 HTML when text content is lacking (closes SF #1777321).
471 (mh-invisible-header-fields-internal): Exclude Fax and Phone. Put
472 known exclusions as comments before the list and move parens to
473 separate lines to aid in sorting (closes SF #1701231).
475 * mh-mime.el (mm-decode-body): Remove explicit autoload of
478 * mh-alias.el (mh-alias-expand): Set up automatic autoload of
481 2007-08-20 Jeffrey C Honig <jch@honig.net>
483 * mh-mime.el (message-options-set): Add missing autoloads from my
486 * mh-comp.el (mh-forward): When forwarding with mml, messages are
487 no longer included in reverse order (closes SF #1730393).
489 * mh-mime.el (mh-mml-forward-message): Forward messages as inline
490 attachments (closes SF #1378993).
492 2008-02-06 Richard Stallman <rms@gnu.org>
494 * mh-seq.el (mh-make-seq, mh-seq-name): Use defsubst.
496 * mh-acros.el (mh-do-in-gnu-emacs, mh-do-in-xemacs)
497 (with-mh-folder-updating, mh-in-show-buffer)
498 (mh-iterate-on-messages-in-region, mh-iterate-on-range):
499 (mh-do-at-event-location): Add debug decls.
500 (mh-seq-msgs): Use defsubst.
502 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
504 * mh-e.el (mh-scan-format-file-check, mh-adaptive-cmd-note-flag-check):
505 * mh-xface.el (mh-x-image-url-cache-canonicalize):
506 Replace `legal' with `valid'.
508 2007-08-19 Jeffrey C Honig <jch@honig.net>
510 * mh-e.el (mh-invisible-header-fields-internal): We want to show
511 Comments: and hide Comment:, not the other way around.
513 * mh-mime.el (mh-mml-to-mime): GPG requires e-mail addresses, not
514 aliases. So resolve aliases before passing addresses to GPG/PGP
517 * mh-e.el (mh-invisible-header-fields-internal): Update with all
519 http://people.dsv.su.se/~jpalme/ietf/mail-headers, plus some of my
520 own. I added attributions to entries we already had that did not
523 2007-08-08 Glenn Morris <rgm@gnu.org>
525 * mh-folder.el, mh-letter.el, mh-show.el: Replace `iff' in
526 doc-strings and comments.
528 2007-07-25 Glenn Morris <rgm@gnu.org>
530 * Relicense all FSF files to GPLv3 or later.
532 2007-07-11 Bill Wohler <wohler@newt.com>
534 * mh-compat.el (mh-display-color-cells): Fix on XEmacs 21.5b28.
535 Thanks to Henrique Martins for the help (closes SF #1749774).
537 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
539 * mh-mime.el (mh-mh-directive-present-p):
540 * mh-search.el (mh-index-group-by-folder): Fix typos in docstrings.
542 2006-11-14 Bill Wohler <wohler@newt.com>
544 * mh-xface.el (mh-x-image-url-cache-canonicalize): Add `*' to
545 reserved Windows filename characters (closes SF #1396499).
547 2006-11-13 Bill Wohler <wohler@newt.com>
549 Release MH-E version 8.0.3.
551 * mh-e.el (Version, mh-version): Update for release 8.0.3.
553 * mh-e.el (mh-alias-local-users): Boolean docstrings should start
554 with "Non-nil means". Perhaps this option should have a -flag
556 (mh-junk-background): Sync docstring with manual.
558 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
559 (mh-spamprobe-blacklist): Sync docstring with manual.
561 2006-11-11 Stephen Gildea <gildea@stop.mail-abuse.org>
563 * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
564 Use mh-junk-background consistently in call-process calls.
565 (mh-bogofilter-blacklist, mh-bogofilter-whitelist)
566 (mh-spamprobe-blacklist, mh-spamprobe-whitelist):
567 Use with-current-buffer so the right thing happens if
568 mh-junk-background is t (closes SF #1594802).
570 * mh-e.el (mh-junk-background): Document that On value is 0;
571 t may be used for debugging.
573 2006-11-10 Andreas Schwab <schwab@suse.de>
575 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
577 2006-11-10 Glenn Morris <rgm@gnu.org>
579 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
581 2006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
583 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
584 quotation marks, so that the last two arguments of sa-learn
585 are separated properly (closes SF #1565460).
586 (mh-spamassassin-blacklist): In example .procmailrc, add
587 PATH element to find mhparam on Debian.
589 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
591 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
592 so that we always have a valid string for split-string even if
593 nothing is added in mh-send-letter (closes SF #1564742).
595 2006-07-03 Bill Wohler <wohler@newt.com>
597 Release MH-E version 8.0.2.
599 * mh-e.el (Version, mh-version): Update for release 8.0.2.
601 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
603 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
604 it refers to the icons in mh-xemacs-icon-map instead of trying to
605 declare the icons in situ. This allows mh-tool-bar.el to be
606 compiled under XEmacs. Remove initial value for
607 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
608 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
609 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
610 This allows MH-E to be used in XEmacs in a tty (closes SF #1506846).
612 2006-07-03 Bill Wohler <wohler@newt.com>
614 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
615 that mh-xemacs needs functions in mh-compat.
617 2006-06-29 Bill Wohler <wohler@newt.com>
619 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
620 loop construct to be consistent with other loops, and because
621 edebug doesn't work without it.
623 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
625 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
626 redundant +s in regexp (closes SF #1514424).
628 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
630 * mh-mime.el (mh-mime-save-parts): Add -store option to
631 mhn (closes SF #1513140).
633 2006-06-20 Bill Wohler <wohler@newt.com>
635 Release MH-E version 8.0.1.
637 * mh-e.el (Version, mh-version): Update for release 8.0.1.
639 2006-06-15 Bill Wohler <wohler@newt.com>
641 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
642 suffix for folder names, as <> are illegal filename characters on
643 Windows (closes SF #1507002).
645 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
647 * mh-comp.el (mh-send-uses-spost): New variable.
648 (mh-send-letter): Do not use -msgid and -mime if
649 mh-send-uses-spost is t (closes SF #1486726).
651 2006-06-02 Bill Wohler <wohler@newt.com>
653 * mh-search.el (mh-folder-exists-p): Change test from an empty buffer,
654 to one that contains the actual folder, since GNU mailutils' folder
655 command displays output if the folder doesn't exist (closes SF
658 2006-05-06 Bill Wohler <wohler@newt.com>
660 Release MH-E version 8.0.
662 * mh-e.el (Version, mh-version): Update for release 8.0.
664 2006-05-05 Bill Wohler <wohler@newt.com>
666 * mh-e.el: Update commentary.
668 2006-04-28 Bill Wohler <wohler@newt.com>
670 Release MH-E version 7.95.
672 * mh-e.el (Version, mh-version): Update for release 7.95.
674 2006-04-26 Eric Ding <ericding@alum.mit.edu>
676 * mh-e.el (mh-invisible-header-fields-internal): Add entry
679 2006-04-25 Bill Wohler <wohler@newt.com>
681 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
682 Folders returned by mh-folder-completion-function no longer need
683 adornment (closes SF #1476270).
685 2006-04-21 Bill Wohler <wohler@newt.com>
687 * mh-e.el (Version, mh-version): Add +cvs to version.
689 2006-04-21 Bill Wohler <wohler@newt.com>
691 Release MH-E version 7.94.
693 * mh-e.el (Version, mh-version): Update for release 7.94.
695 2006-04-21 Bill Wohler <wohler@newt.com>
697 * mh-letter.el (mh-insert-letter): If a message number isn't
698 given, throw an error rather than using a potentially incorrect
699 message number (closes SF #1473729). In addition, use the cur
700 message if mh-sent-from-msg is nil (when sending a message, in
701 contrast to replying). Move conversion of int to string into
702 interactive stanza so body can assume variables are of proper
705 2006-04-20 Bill Wohler <wohler@newt.com>
707 * mh-tool-bar.el (image-load-path): Define to shush compiler.
708 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
709 isn't used outside of it.
710 (mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
711 Update load-path/image-load-path before setting buttons.
712 This code used to be in mh-folder-mode/mh-letter-mode but this was
713 the wrong place since mh-tool-bar-*-buttons-init can also be called
714 when customizing the buttons.
715 (mh-tool-bar-update): New function which updates tool-bar-map in
716 all of the MH-E buffers after customizing the buttons (closes SF
718 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
719 Call it (closes SF #1452718).
721 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
722 mh-folder-tool-bar-map instead.
723 (image-load-path): Delete. No longer used.
724 (mh-folder-mode): Moved setting of image-load-path into
725 mh-tool-bar-folder-buttons-init.
727 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
728 mh-letter-tool-bar-map instead.
729 (image-load-path): Delete. No longer used.
730 (mh-letter-mode): Moved setting of image-load-path into
731 mh-tool-bar-letter-buttons-init.
733 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
734 instead of set-buffer.
736 2006-04-19 Bill Wohler <wohler@newt.com>
738 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
739 can permanently disable a button (such as a separator) with nil.
741 2006-04-18 Bill Wohler <wohler@newt.com>
743 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
744 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
745 (mh-min-colors-defined-flag): Do not unbind these macros and
746 variables. Nice idea, but too many nasty side-effects. These
747 macros are needed by [Cc]ustom-make-dependencies when creating the
748 MH-E customization groups in mh-cus-load.el. These disappeared
749 when the macros above were introduced. Besides, if a developer
750 were to try to show the help for a macro or variable they were
751 looking at and got [No match] when they did so, that would be bad.
753 2006-04-17 Bill Wohler <wohler@newt.com>
755 * mh-comp.el (mh-insert-x-mailer): Strip build number from
756 version in X-Mailer field (closes SF #1466481).
758 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
759 variables and functions with the same name are found correctly by
760 find-func (invoked by clicking on the filename link in the *Help*
762 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
764 * mh-e.el (mh-defgroup): Rename to defgroup-mh. Ditto.
765 (mh-defcustom): Rename to defcustom-mh. Ditto.
766 (mh-defface): Rename to defface-mh. Ditto.
767 (mh-font-lock-add-keywords): Make changes according to these
770 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
773 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
774 have been processed by mh-normalize-folder-name.
775 (mh-folder-completion-function): Handle completion of folders with
776 absolute names. Also, when flag is t, display complete folder name
777 to provide proper highlighting in Emacs 22 now that
778 minibuffer-completing-file-name is nil (closes SF #1470518).
779 (mh-folder-completing-read): No longer set
780 minibuffer-completing-file-name to t. This was causing "Can't set
781 current directory errors" when browsing absolute file names.
782 Another benefit of this change is that SPC can be used for
783 completion again (closes SF #1470518).
785 2006-04-15 Bill Wohler <wohler@newt.com>
787 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
789 2006-04-14 Bill Wohler <wohler@newt.com>
791 * mh-funcs.el (view-exit-action): No need to wrap defvar with
792 eval-when-compile when shushing compiler.
794 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
796 * mh-seq.el (view-exit-action): Ditto.
798 * mh-show.el (font-lock-auto-fontify): Ditto.
800 * mh-utils.el (mh-speed-flists-cache): Ditto.
802 * mh-acros.el (struct, x, y): No need to wrap defvar with
803 eval-when-compile when shushing compiler, even when
804 mh-do-in-xemacs or another construct is used.
806 * mh-comp.el (sendmail-coding-system): Ditto.
808 * mh-e.el (mark-active): Ditto.
810 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
811 (image-load-path, font-lock-defaults): Ditto.
813 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
815 * mh-mime.el (dots, type, ov)
816 (mm-verify-function-alist, mm-decrypt-function-alist)
817 (pressed-details): Ditto.
819 * mh-search.el (pick-folder, mh-do-in-xemacs)
820 (mh-mairix-folder, mh-flists-search-folders)
821 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
823 * mh-seq.el (tool-bar-mode): Ditto.
825 * mh-utils.el (completion-root-regexp)
826 (minibuffer-completing-file-name): Ditto.
828 * mh-xface.el (default-enable-multibyte-characters): Ditto.
830 * mh-compat.el (mh-font-lock-add-keywords): New alias for
831 font-lock-add-keywords. Returns nil on XEmacs.
833 * mh-e.el: Add MH-E function and variable keywords such as
834 mh-defun-compat and mh-defcustom to font-lock-keywords.
836 2006-04-13 Bill Wohler <wohler@newt.com>
838 * mh-e.el (customize-package-emacs-version-alist)
839 (mh-e, mh-alias, mh-folder, mh-folder-selection)
840 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
841 (mh-scan-line-formats, mh-search, mh-sending-mail)
842 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
843 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
844 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
845 (mh-alias-insert-file, mh-alias-insertion-location)
846 (mh-alias-local-users, mh-alias-local-users-prefix)
847 (mh-alias-passwd-gecos-comma-separator-flag)
848 (mh-new-messages-folders, mh-ticked-messages-folders)
849 (mh-large-folder, mh-recenter-summary-flag)
850 (mh-recursive-folders-flag, mh-sortm-args)
851 (mh-default-folder-for-message-function)
852 (mh-default-folder-list, mh-default-folder-must-exist-flag)
853 (mh-default-folder-prefix, mh-identity-list)
854 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
855 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
856 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
857 (mh-junk-program, mh-compose-insertion)
858 (mh-compose-skipped-header-fields)
859 (mh-compose-space-does-completion-flag)
860 (mh-delete-yanked-msg-window-flag)
861 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
862 (mh-letter-complete-function, mh-letter-fill-column)
863 (mh-mml-method-default, mh-signature-file-name)
864 (mh-signature-separator-flag, mh-x-face-file)
865 (mh-yank-behavior, mh-interpret-number-as-range-flag)
866 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
867 (mh-search-program, mh-compose-forward-as-mime-flag)
868 (mh-compose-letter-function, mh-compose-prompt-flag)
869 (mh-forward-subject-format, mh-insert-x-mailer-flag)
870 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
871 (mh-reply-show-message-flag)
872 (mh-refile-preserves-sequences-flag, mh-tick-seq)
873 (mh-update-sequences-after-mh-show-flag)
874 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
875 (mh-decode-mime-flag)
876 (mh-display-buttons-for-alternatives-flag)
877 (mh-display-buttons-for-inline-parts-flag)
878 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
879 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
880 (mh-highlight-citation-style, mh-invisible-header-fields)
881 (mh-invisible-header-fields-default, mh-lpr-command-format)
882 (mh-max-inline-image-height, mh-max-inline-image-width)
883 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
884 (mh-print-background-flag, mh-show-maximum-size)
885 (mh-show-use-xface-flag, mh-store-default-directory)
886 (mh-summary-height, mh-speed-update-interval)
887 (mh-show-threads-flag, mh-tool-bar-search-function)
888 (mh-defcustom, mh-after-commands-processed-hook)
889 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
890 (mh-before-quit-hook, mh-before-send-letter-hook)
891 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
892 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
893 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
894 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
895 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
896 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
897 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
898 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
899 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
900 (mh-folder-subject, mh-folder-tick, mh-folder-to)
901 (mh-letter-header-field, mh-search-folder, mh-show-cc)
902 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
903 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
904 (mh-show-subject, mh-show-to, mh-show-xface)
905 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
906 (mh-speedbar-selected-folder)
907 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
908 notation in :package-version keyword.
910 2006-04-07 Bill Wohler <wohler@newt.com>
912 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
913 :package-version keyword.
915 2006-03-31 Bill Wohler <wohler@newt.com>
917 * mh-e.el (mh-strip-package-version): Move before use to avoid
918 compiler error. Make macro, also to avoid compiler error.
919 (mh-defface-compat): Incorporate body into mh-face-data and
922 2006-03-30 Bill Wohler <wohler@newt.com>
924 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
925 remove new :package-version keyword in older settings.
926 (customize-package-emacs-version-alist): Add MH-E version to Emacs
928 (mh-e, mh-alias, mh-folder, mh-folder-selection)
929 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
930 (mh-scan-line-formats, mh-search, mh-sending-mail)
931 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
932 (mh-hooks, mh-faces): Add :package-version keyword to these
933 groups (closes SF #1452724).
934 (mh-alias-completion-ignore-case-flag)
935 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
936 (mh-alias-insert-file, mh-alias-insertion-location)
937 (mh-alias-local-users, mh-alias-local-users-prefix)
938 (mh-alias-passwd-gecos-comma-separator-flag)
939 (mh-new-messages-folders, mh-ticked-messages-folders)
940 (mh-large-folder, mh-recenter-summary-flag)
941 (mh-recursive-folders-flag, mh-sortm-args)
942 (mh-default-folder-for-message-function)
943 (mh-default-folder-list, mh-default-folder-must-exist-flag)
944 (mh-default-folder-prefix, mh-identity-list)
945 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
946 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
947 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
948 (mh-junk-program, mh-compose-insertion)
949 (mh-compose-skipped-header-fields)
950 (mh-compose-space-does-completion-flag)
951 (mh-delete-yanked-msg-window-flag)
952 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
953 (mh-letter-complete-function, mh-letter-fill-column)
954 (mh-mml-method-default, mh-signature-file-name)
955 (mh-signature-separator-flag, mh-x-face-file)
956 (mh-yank-behavior, mh-interpret-number-as-range-flag)
957 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
958 (mh-search-program, mh-compose-forward-as-mime-flag)
959 (mh-compose-letter-function, mh-compose-prompt-flag)
960 (mh-forward-subject-format, mh-insert-x-mailer-flag)
961 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
962 (mh-reply-show-message-flag)
963 (mh-refile-preserves-sequences-flag, mh-tick-seq)
964 (mh-update-sequences-after-mh-show-flag)
965 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
966 (mh-decode-mime-flag)
967 (mh-display-buttons-for-alternatives-flag)
968 (mh-display-buttons-for-inline-parts-flag)
969 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
970 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
971 (mh-highlight-citation-style, mh-invisible-header-fields)
972 (mh-invisible-header-fields-default, mh-lpr-command-format)
973 (mh-max-inline-image-height, mh-max-inline-image-width)
974 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
975 (mh-print-background-flag, mh-show-maximum-size)
976 (mh-show-use-xface-flag, mh-store-default-directory)
977 (mh-summary-height, mh-speed-update-interval)
978 (mh-show-threads-flag, mh-tool-bar-search-function): Add
979 :package-version keyword to these options (closes SF #1452724).
980 (mh-after-commands-processed-hook)
981 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
982 (mh-before-quit-hook, mh-before-send-letter-hook)
983 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
984 (mh-forward-hook, mh-inc-folder-hook)
985 (mh-insert-signature-hook)
986 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
987 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
988 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
989 (mh-unseen-updated-hook): Add :package-version keyword to these
990 hooks (closes SF #1452724).
991 (mh-min-colors-defined-flag)
992 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
993 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
994 (mh-folder-msg-number, mh-folder-refiled)
995 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
996 (mh-folder-subject, mh-folder-tick, mh-folder-to)
997 (mh-letter-header-field, mh-search-folder, mh-show-cc)
998 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
999 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1000 (mh-show-subject, mh-show-to, mh-show-xface)
1001 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
1002 (mh-speedbar-selected-folder)
1003 (mh-speedbar-selected-folder-with-unseen-messages): : Add
1004 :package-version keyword to these faces (closes SF #1452724).
1006 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
1007 :package-version keywords (closes SF #1452724).
1009 2006-03-28 Bill Wohler <wohler@newt.com>
1011 * mh-tool-bar.el: Use clipboard-kill-region,
1012 clipboard-kill-ring-save, and clipboard-yank instead of undo,
1013 kill-region, and menu-bar-kill-ring-save respectively. In
1014 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
1015 front of mh-compose-insertion to be consistent with other mailers,
1016 such as Evolution. In MH-Folder mode, move vanilla reply icon to
1017 the left of the other reply icons. Use mail/inbox icon instead of
1018 mail, next-page instead of page-down, delete instead of close,
1019 mail/move instead of mail/refile, data-save instead of execute,
1020 mail/flag-for-followup instead of highlight, contact instead of
1021 mail/alias, open instead of fld-open, zoom-out instead of widen.
1023 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
1024 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
1026 2006-03-27 Eric Ding <ericding@alum.mit.edu>
1028 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1029 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail).
1031 2006-03-19 Bill Wohler <wohler@newt.com>
1033 * mh-comp.el (mh-reply): Sync docstring with manual.
1035 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
1038 2006-03-17 Bill Wohler <wohler@newt.com>
1040 * mh-compat.el (mh-image-load-path-for-library): Minor docstring fix.
1042 2006-03-16 Bill Wohler <wohler@newt.com>
1044 * mh-comp.el (mh-send-letter): Use split-string to break up
1045 mh-send-args (closes SF #1448604).
1046 (mh-compose-and-send-mail): Use run-hook-with-args for
1047 mh-compose-letter-function.
1049 * mh-e.el (mh-list-to-string-1): Use dolist.
1051 * mh-compat.el (mh-image-load-path-for-library): Prefer user's images.
1053 2006-03-15 Bill Wohler <wohler@newt.com>
1055 * mh-compat.el (mh-image-load-path-for-library): Fix example by
1056 not recommending that one binds image-load-path. Just defvar it to
1057 placate compiler and only use it if previously defined.
1059 * mh-e.el (image-load-path): Don't bind!
1061 * mh-folder.el (mh-folder-mode): Only use image-load-path if
1064 * mh-letter.el (mh-letter-mode): Ditto.
1066 * mh-utils.el (mh-logo-display): Ditto.
1068 2006-03-14 Bill Wohler <wohler@newt.com>
1070 * mh-compat.el (mh-image-load-path-for-library): Incorporate
1071 changes from image-load-path-for-library, which are:
1072 (image-load-path-for-library): Pass value of path rather than
1073 symbol. Always return list of directories. Guarantee that image
1074 directory comes first.
1076 * mh-e.el (image-load-path): Define on those Emacsen that lack it
1077 to avoid compile and run-time errors.
1079 * mh-folder.el (mh-folder-mode): Use new idiom for setting
1082 * mh-letter.el (mh-letter-mode): Ditto.
1084 * mh-utils.el (mh-logo-display): Ditto.
1086 2006-03-12 Bill Wohler <wohler@newt.com>
1088 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
1091 2006-03-10 Bill Wohler <wohler@newt.com>
1093 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
1094 flag to replace-in-string. This was badly needed by
1095 mh-quote-pick-expr in order to properly quote subjects when using
1096 / s on XEmacs (closes SF #1447598).
1097 (mh-image-load-path-for-library): Merged changes from Reiner. Add
1098 no-error argument. If path t, just return directory.
1100 * mh-e.el (mh-profile-component): Drop `s' from mhparam
1101 -components for Mailutils compatibility (closes SF #1446985).
1103 2006-03-06 Bill Wohler <wohler@newt.com>
1105 * mh-e.el (Version, mh-version): Add +cvs to version.
1107 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
1109 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
1110 handling of duplicate messages. The test in cond was too strong
1111 and wasn't catching the case where origin-map was nil.
1113 2006-03-05 Bill Wohler <wohler@newt.com>
1115 Release MH-E version 7.93.
1117 * mh-e.el (Version, mh-version): Update for release 7.93.
1119 2006-03-05 Bill Wohler <wohler@newt.com>
1121 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
1122 calling mh-image-load-path-for-library since this is the default.
1124 * mh-letter.el (mh-letter-mode): Ditto.
1126 * mh-utils.el (mh-logo-display): Ditto.
1128 2006-03-04 Bill Wohler <wohler@newt.com>
1130 * mh-compat.el (mh-image-load-path-for-library): Move here from
1131 mh-utils.el and wrap with mh-defun-compat since this function will
1132 be soon added to image.el.
1134 * mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
1135 (mh-normalize-folder-name): Add return-nil-if-folder-empty
1136 argument which is useful when calling mh-normalize-folder-name to
1137 process the folder argument for the folders command.
1138 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
1139 this function more robust. It could too easily list the folders in /.
1140 (mh-folder-list): Fix a couple of problems pointed out by Thomas
1141 Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
1143 2006-03-03 Bill Wohler <wohler@newt.com>
1145 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
1146 mh-image-load-path-for-library.
1148 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
1149 mh-image-load-path-for-library.
1151 * mh-utils.el (mh-image-load-path): Rename to
1152 mh-image-load-path-for-library. Add example to docstring. Rename
1153 local variable mh-image-directory to image-directory. Move error
1154 checks to default case in cond and simplify.
1156 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
1157 docstrings with manual.
1159 2006-03-02 Bill Wohler <wohler@newt.com>
1161 * mh-folder.el (mh-tool-bar-init): Autoload.
1162 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
1163 Set scoped variables image-load-path and load-path with updated
1164 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
1166 * mh-letter.el (mh-tool-bar-init): Autoload.
1167 (mh-letter-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-letter-buttons-init.
1171 * mh-show.el (mh-tool-bar-init): Autoload.
1172 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
1175 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
1176 messages per conventions.
1177 (mh-tool-bar-folder-buttons-init)
1178 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
1179 (mh-tool-bar-define call): Format.
1181 * mh-utils.el (mh-image-directory)
1182 (mh-image-load-path-called-flag): Delete.
1183 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
1184 changes are that it no longer uses/sets mh-image-directory or
1185 mh-image-load-path-called-flag, and returns the updated path
1186 rather than change it.
1187 (mh-logo-display): Change usage of mh-image-load-path.
1189 2006-02-28 Bill Wohler <wohler@newt.com>
1191 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
1192 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
1193 to subjects with special characters by quoting regular expression
1194 characters in pick expression derived from existing subjects and
1195 other fields (closes SF #1432548).
1196 (mh-narrow-to-subject): Remove Re: string from subject so that
1197 pick can find originating message (closes SF #1438369).
1199 * mh-utils.el (mh-image-load-path): Rename variable to
1201 (mh-image-load-path): Access mh-image-directory instead of
1203 (mh-folder-list): Fix problem with passing in a folder and getting
1204 nothing back. Fix problem with passing in empty string and getting
1205 the entire filesystem (or infinite loop). Don't append slash to
1206 folder. These fixes fix problems observed with the pick search.
1207 Thanks to Thomas Baumann for the help (closes SF #1435381).
1208 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
1209 function for quoting pick regular expression characters (closes SF
1212 2006-02-27 Bill Wohler <wohler@newt.com>
1214 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
1217 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
1218 docstring about obsolete variable mh-mime-content-types.
1220 * mh-e.el (mh-variant): Sync docstring with manual.
1221 (cus-face): Require as it is needed by mh-inherit-face-flag.
1223 * mh-compat.el (mh-display-color-cells): Return 2 if
1224 device-color-cells returns nil (closes SF #1436924).
1226 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
1227 mh-display-color-cells.
1229 2006-02-21 Eric Ding <ericding@alum.mit.edu>
1231 * mh-e.el (mh-invisible-header-fields-internal): Add entry
1234 2006-02-20 Eric Ding <ericding@alum.mit.edu>
1236 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1237 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
1238 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
1239 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
1240 "X-Roving-" by removing unnecessary "*" at end.
1242 2006-02-19 Bill Wohler <wohler@newt.com>
1244 * mh-alias.el (mh-address-mail-regexp)
1245 (mh-goto-address-find-address-at-point): Delete copies from
1247 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
1248 mh-address-mail-regexp.
1249 (mh-alias-add-address-under-point): Use
1250 goto-address-find-address-at-point instead of
1251 mh-goto-address-find-address-at-point.
1253 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
1255 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
1257 (mh-show-addr): Call goto-address unconditionally. User should use
1258 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
1260 2006-02-18 Bill Wohler <wohler@newt.com>
1262 * mh-e.el (Version, mh-version): Add +cvs to version.
1264 2006-02-18 Bill Wohler <wohler@newt.com>
1266 Release MH-E version 7.92.
1268 * mh-e.el (Version, mh-version): Update for release 7.92.
1270 2006-02-17 Bill Wohler <wohler@newt.com>
1272 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
1273 backgrounds per Mark's suggestion.
1275 * mh-utils.el (mh-image-load-path): Fix problem that images on
1276 load-path or image-load-path would win over relative paths (newer
1277 MH-E or Emacs distribution).
1279 2006-02-16 Bill Wohler <wohler@newt.com>
1281 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
1282 the defface :inherit keyword is available.
1283 (mh-face-data): New variable (contains all face specs) and
1284 function (accessor).
1285 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
1286 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
1287 (mh-folder-msg-number, mh-folder-refiled)
1288 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1289 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1290 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1291 (mh-show-date, mh-show-from)
1292 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
1293 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
1294 (mh-show-to, mh-show-xface, mh-speedbar-folder)
1295 (mh-speedbar-folder-with-unseen-messages)
1296 (mh-speedbar-selected-folder)
1297 (mh-speedbar-selected-folder-with-unseen-messages):
1300 * mh-utils.el (mh-image-load-path): The variables image-load-path
1301 or load-path would not get updated if user set mh-image-load-path.
1302 Moved tests and add-to-list calls outside of cond so they are
1303 applied consistently, even if they are redundant in some
1304 circumstances. Efficiency isn't a concern here. Made error
1305 messages more user-friendly.
1307 2006-02-15 Peter S Galbraith <psg@debian.org>
1309 * mh-compat.el (mh-image-search-load-path): Compatibility code.
1310 Emacs 21 and XEmacs don't have `image-search-load-path'.
1312 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
1313 images are already found.
1315 2006-02-10 Bill Wohler <wohler@newt.com>
1317 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
1318 rather than use defun*. XEmacs cannot create a proper autoload for
1321 2006-02-09 Bill Wohler <wohler@newt.com>
1323 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
1324 that causes an infinite loop on XEmacs.
1326 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
1329 2006-02-08 Peter S Galbraith <psg@debian.org>
1331 * mh-e.el (mh-invisible-header-fields-internal): Added entries
1332 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash".
1334 2006-02-04 Bill Wohler <wohler@newt.com>
1336 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
1337 has an emacsclient command that supports --eval. I had read that
1338 gnudoit was deprecated in favor of gnuclient anyway.
1340 2006-02-04 Eric Ding <ericding@alum.mit.edu>
1342 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
1343 handle OpenOffice documents.
1345 2006-02-03 Bill Wohler <wohler@newt.com>
1347 * mh-e.el (Version, mh-version): Add +cvs to version.
1349 2006-02-03 Bill Wohler <wohler@newt.com>
1351 Release MH-E version 7.91.
1353 * mh-e.el (Version, mh-version): Update for release 7.91.
1355 2006-02-03 Bill Wohler <wohler@newt.com>
1357 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
1358 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
1359 of local variable mh-library-name.
1361 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
1362 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
1363 88) with (min-colors 64) in face specifications so that MH-E still
1364 looks good on systems with fewer colors (such as Eric Ding's).
1366 2006-02-03 Peter S Galbraith <psg@debian.org>
1368 * mh-utils.el (mh-image-load-path): New variable to optionally
1369 hold the directory where MH-E images are stored. If nil, then
1370 the function `mh-image-load-path' will find it. This variable
1371 will be used for Debian packaging.
1372 (mh-image-load-path function): Use variable `mh-image-load-path'
1373 if non-nil and exists.
1375 2006-02-03 Mark D. Baushke <mdb@gnu.org>
1377 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
1378 for GNU Emacs or XEmacs to avoid void-variable tool-bar-map lisp
1379 errors if describe-bindings is called before tool-bar-mode is used.
1381 2006-02-03 Peter S Galbraith <psg@debian.org>
1383 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
1384 `mh-url-unresrved-chars'.
1386 2006-02-02 Bill Wohler <wohler@newt.com>
1388 * mh-e.el (Version, mh-version): Add +cvs to version.
1390 2006-02-02 Bill Wohler <wohler@newt.com>
1392 Release MH-E version 7.90.
1394 * mh-e.el (Version, mh-version): Update for release 7.90.
1396 2006-02-01 Bill Wohler <wohler@newt.com>
1398 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
1400 * mh-alias.el (mh-alias-gecos-name): Use
1401 mh-replace-regexp-in-string instead of replace-regexp-in-string.
1402 (crm, multi-prompt): Use mh-require instead of require.
1403 (mh-goto-address-find-address-at-point): Use
1404 mh-line-beginning-position and mh-line-end-position instead of
1405 line-beginning-position and line-end-position. Use
1406 mh-match-string-no-properties instead of
1407 match-string-no-properties.
1409 * mh-comp.el (mh-modify-header-field): Use
1410 mh-line-beginning-position and mh-line-end-position instead of
1411 line-beginning-position and line-end-position.
1413 * mh-compat.el (mailabbrev): Use mh-require instead of require.
1414 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
1415 (mh-face-background): Make docstring consistent.
1416 (mh-require, mh-cancel-timer, mh-display-color-cells)
1417 (mh-line-beginning-position, mh-line-end-position)
1418 (mh-match-string-no-properties, mh-replace-regexp-in-string)
1419 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
1420 add mh- prefix since compatibility functions should have our
1421 package prefix (mh-) by Emacs convention and to avoid messing up
1422 checks for the same functions in other packages.
1424 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
1425 from mh-xemacs.el and rename.
1426 (mh-xargs): Use mh-line-beginning-position and
1427 mh-line-end-position instead of line-beginning-position and
1429 (mh-defface-compat): Use mh-display-color-cells instead of
1430 display-color-cells.
1432 * mh-folder.el (which-func): Use mh-require instead of require.
1434 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
1437 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml):
1438 Use mh-require instead of require.
1440 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
1441 (mh-letter-next-header-field): Use mh-line-beginning-position and
1442 mh-line-end-position instead of line-beginning-position and
1445 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
1446 mh-match-string-no-properties instead of
1447 match-string-no-properties.
1448 (mh-narrow-to-header-field): Use mh-line-beginning-position and
1449 mh-line-end-position instead of line-beginning-position and
1452 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
1453 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
1454 mh-line-beginning-position and mh-line-end-position instead of
1455 line-beginning-position and line-end-position.
1457 * mh-search.el (which-func): Use mh-require instead of require.
1458 (mh-make-pick-template, mh-index-visit-folder)
1459 (mh-pick-parse-search-buffer, mh-swish-next-result)
1460 (mh-mairix-next-result, mh-namazu-next-result)
1461 (mh-pick-next-result, mh-grep-next-result)
1462 (mh-index-create-imenu-index, mh-index-match-checksum)
1463 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
1464 mh-line-beginning-position and mh-line-end-position instead of
1465 line-beginning-position and line-end-position.
1467 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
1469 (mh-folder-size-flist, mh-parse-flist-output-line)
1470 (mh-add-sequence-notation): Use mh-line-beginning-position and
1471 mh-line-end-position instead of line-beginning-position and
1474 * mh-show.el (mh-show-addr): Use mh-require instead of require.
1476 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
1477 (mh-speed-view, mh-folder-speedbar-buttons)
1478 (mh-speed-highlight, mh-speed-goto-folder)
1479 (mh-speed-add-buttons, mh-speed-parse-flists-output)
1480 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
1481 (mh-speed-add-folder): Use mh-line-beginning-position and
1482 mh-line-end-position instead of line-beginning-position and
1484 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
1486 * mh-thread.el (mh-thread-find-children)
1487 (mh-thread-parse-scan-line, mh-thread-generate): Use
1488 mh-line-beginning-position and mh-line-end-position instead of
1489 line-beginning-position and line-end-position.
1491 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
1492 instead of display-color-cells.
1493 (mh-folder-list): Use mh-replace-regexp-in-string instead of
1494 replace-regexp-in-string.
1495 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
1496 Use mh-line-beginning-position and mh-line-end-position instead of
1497 line-beginning-position and line-end-position.
1499 * mh-comp.el (mh-send-sub): Don't find components file in current
1500 directory--this seems to have been a side-effect of commenting out
1501 the use of an old mh-etc variable. Improve error message.
1503 2006-01-31 Bill Wohler <wohler@newt.com>
1505 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
1506 argument since compatibility functions should have our package
1507 prefix (mh-) by Emacs convention and to avoid messing up checks
1508 for the same functions in other packages. Use explicit argument
1509 instead of forming name by adding mh- prefix so that one can grep
1510 and find the definition.
1512 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1513 (mh-alias-expand, mh-alias-minibuffer-confirm-address):
1514 Use mh-assoc-string instead of assoc-string.
1516 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
1517 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string):
1518 Move here from mh-utils.el.
1519 (mh-display-completion-list): Move here from mh-comp.el.
1520 (mh-face-foreground, mh-face-background): Move here from
1522 (mh-write-file-functions): Move here from mh-folder.el.
1524 * mh-folder.el (mh-write-file-functions-compat): Move to
1525 mh-compat.el and rename to mh-write-file-functions.
1526 (mh-folder-mode): Use the new name.
1528 * mh-gnus.el (gnus-local-map-property): Rename to
1529 mh-gnus-local-map-property.
1530 (mm-merge-handles): Rename to mh-mm-merge-handles.
1531 (mm-set-handle-multipart-parameter): Rename to
1532 mh-mm-set-handle-multipart-parameter.
1533 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
1534 (mm-possibly-verify-or-decrypt): Rename to
1535 mh-mm-possibly-verify-or-decrypt.
1536 (mm-handle-multipart-ctl-parameter): Rename to
1537 mh-mm-handle-multipart-ctl-parameter.
1538 (mm-readable-p): Rename to mh-mm-readable-p.
1539 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1540 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1541 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1542 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1543 (mml-minibuffer-read-disposition): Rename to
1544 mh-mml-minibuffer-read-disposition.
1546 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1547 instead of assoc-string.
1549 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1550 (mh-mime-display, mh-mime-display-security)
1551 (mh-insert-mime-button, mh-insert-mime-security-button)
1552 (mh-handle-set-external-undisplayer)
1553 (mh-mime-security-press-button, mh-mime-security-show-details)
1554 (mh-mml-attach-file, mh-mime-cleanup)
1555 (mh-destroy-postponed-handles): Use new mh-* names for
1556 compatibility functions.
1558 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1559 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1560 (mh-beginning-of-word): Use the new name.
1561 (mh-get-field): Delete ancient alias.
1563 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1564 and rename to mh-face-foreground.
1565 (mh-face-background-compat): Move to mh-compat.el
1566 and rename to mh-face-background.
1567 (mh-face-display-function): Use the new names.
1568 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1569 instead of url-hexify-string.
1570 (url-unreserved-chars): Move to mh-compat.el and rename to
1571 mh-url-unreserved-chars.
1572 (url-hexify-string): Move to mh-compat.el and rename to
1573 mh-url-hexify-string.
1575 * mh-letter.el (mh-complete-word): Fix bug in call to
1576 mh-display-completion-list. Wrong argument was passed, so
1577 completions wouldn't show highlighted prefix.
1579 2006-01-29 Bill Wohler <wohler@newt.com>
1581 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1582 mh-adaptive-cmd-note-flag.
1584 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1585 docstring. sc-cite-original is autoloaded via loaddefs.el for all
1586 supported versions. In addition, the package name "sc" has been
1587 made obsolete by "supercite since at least Emacs 21.
1589 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1590 revealed character constants that were still strings (closes SF
1593 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1594 (mh-get-header-field): Move to mh-utils.el so that you can read
1595 messages without having to load mh-comp.el and mh-letter.el.
1597 * mh-letter.el (mh-hidden-header-keymap)
1598 (mh-letter-toggle-header-field-display)
1599 (mh-letter-skipped-header-field-p)
1600 (mh-letter-skip-leading-whitespace-in-header-field)
1601 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1602 can read messages without having to load mh-comp.el and
1605 * mh-utils.el (mh-get-header-field)
1606 (mh-letter-hide-all-skipped-fields)
1607 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1608 (mh-letter-toggle-header-field-display)
1609 (mh-letter-skip-leading-whitespace-in-header-field)
1610 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1611 mh-letter.el so that you can read messages without having to load
1612 mh-comp.el and mh-letter.el.
1614 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
1615 least, will deliver them to us.
1617 * mh-e.el (mh-after-commands-processed-hook)
1618 (mh-before-commands-processed-hook): Specify what sort of requests
1621 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1624 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1626 (mh-letter-mode): Remove Mail menu.
1628 2006-01-29 Bill Wohler <wohler@newt.com>
1631 Remove circular dependencies. mh-e.el now includes few require
1632 statements and stands alone. Other files should need to require
1633 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1635 Remove unneeded require statements.
1636 Remove unneeded load statements, or replace them with non-fatal
1638 Break out components into their own files that were often spread
1640 As a result, many functions that are now only used within a single
1641 file no longer need to be autoloaded.
1642 Rearrange and provide consistent headings.
1645 * mh-acros.el: Update commentary to reflect current usage.
1646 Add autoload cookies to all macros.
1647 (mh-require-cl): Merge docstring and comment.
1648 (mh-do-in-xemacs): Fix typo in docstring.
1649 (assoc-string): Move to new file mh-compat.el.
1650 (with-mh-folder-updating, mh-in-show-buffer)
1651 (mh-do-at-event-location, mh-seq-msgs): Move here from mh-utils.el.
1652 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1655 * mh-alias.el (mh-address-mail-regexp)
1656 (mh-goto-address-find-address-at-point): Move here from mh-utils.el.
1657 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1659 * mh-buffers.el: Update descriptive text.
1661 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1662 new file mh-scan.el.
1663 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1664 (mh-letter-menu, mh-letter-mode-help-messages)
1665 (mh-letter-buttons-init-flag, mh-letter-mode)
1666 (mh-font-lock-field-data, mh-letter-header-end)
1667 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1668 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1669 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1670 (mh-filter-out-non-text, mh-insert-prefix-string)
1671 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1672 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1673 (mh-letter-complete, mh-letter-complete-or-space)
1674 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1675 (mh-letter-next-header-field-or-indent)
1676 (mh-letter-next-header-field, mh-letter-previous-header-field)
1677 (mh-letter-skipped-header-field-p)
1678 (mh-letter-skip-leading-whitespace-in-header-field)
1679 (mh-hidden-header-keymap)
1680 (mh-letter-toggle-header-field-display-button)
1681 (mh-letter-toggle-header-field-display)
1682 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1684 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1685 (mh-pgp-support-flag, mh-x-mailer-string)
1686 (mh-letter-header-field-regexp): Move to mh-e.el.
1687 (mh-goto-header-field, mh-goto-header-end)
1688 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1690 (mh-insert-header-separator): Move to mh-comp.el.
1691 (mh-display-completion-list-compat): Move to new file
1694 * mh-compat.el: New file.
1695 (assoc-string): Move here from mh-acros.el.
1696 (mh-display-completion-list): Move here from mh-comp.el.
1698 * mh-customize.el: Move content into mh-e.el and remove.
1700 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1701 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1702 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1703 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1704 declared here so that they can be used in docstrings.
1705 (mh-sent-from-folder, mh-sent-from-msg)
1706 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1707 (mh-x-mailer-string): Move here from mh-comp.el.
1708 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1709 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1710 here from mh-seq.el.
1711 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1712 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1713 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1714 (mh-show-folder-buffer, mh-mail-header-separator)
1715 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1716 (mh-signature-separator, mh-signature-separator-regexp)
1717 (mh-list-to-string, mh-list-to-string-1): Move here from
1719 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1720 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1721 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1722 (mh-exec-cmd-output)
1723 (mh-exchange-point-and-mark-preserving-active-mark)
1724 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1725 deprecated file mh-exec.el.
1726 (mh-path): Move here from deprecated file mh-customize.el.
1727 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1728 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1729 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1730 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1731 (mh-profile-component-value, mh-defface-compat): Move here from
1732 deprecated file mh-init.el.
1733 (mh-goto-next-button, mh-folder-mime-action)
1734 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1735 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1737 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1738 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1739 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1740 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1741 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1742 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1743 (mh-scan-cmd-note-width, mh-scan-destination-width)
1744 (mh-scan-date-width, mh-scan-date-flag-width)
1745 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1746 (mh-scan-field-destination-offset)
1747 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1748 (mh-scan-field-subject-start-offset, mh-scan-format)
1749 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1751 (mh-partial-folder-mode-line-annotation)
1752 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1753 (mh-generate-sequence-font-lock, mh-last-destination)
1754 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1755 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1756 (mh-execute-commands, mh-first-msg, mh-header-display)
1757 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1758 (mh-folder-from-address, mh-prompt-for-refile-folder)
1759 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1760 (mh-previous-page, mh-previous-undeleted-msg)
1761 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1762 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1763 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1764 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1765 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1766 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1767 (mh-folder-sequence-menu, mh-folder-message-menu)
1768 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1769 (mh-write-file-functions-compat, mh-folder-mode)
1770 (mh-restore-desktop-buffer, mh-scan-folder)
1771 (mh-regenerate-headers, mh-generate-new-cmd-note)
1772 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1773 (mh-process-or-undo-commands, mh-process-commands)
1774 (mh-update-unseen, mh-delete-scan-msgs)
1775 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1776 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1777 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1778 (mh-lessp): Move to mh-utils.el.
1779 (mh-parse-flist-output-line, mh-folder-size-folder)
1780 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1781 (mh-remove-sequence-notation, mh-remove-cur-notation)
1782 (mh-remove-all-notation, mh-delete-seq-locally)
1783 (mh-read-folder-sequences, mh-read-msg-list)
1784 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1785 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1786 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1787 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1789 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1790 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1791 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1792 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1793 (mh-faces, mh-alias-completion-ignore-case-flag)
1794 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1795 (mh-alias-insert-file, mh-alias-insertion-location)
1796 (mh-alias-local-users, mh-alias-local-users-prefix)
1797 (mh-alias-passwd-gecos-comma-separator-flag)
1798 (mh-new-messages-folders, mh-ticked-messages-folders)
1799 (mh-large-folder, mh-recenter-summary-flag)
1800 (mh-recursive-folders-flag, mh-sortm-args)
1801 (mh-default-folder-for-message-function, mh-default-folder-list)
1802 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1803 (mh-identity-list, mh-auto-fields-list)
1804 (mh-auto-fields-prompt-flag, mh-identity-default)
1805 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1806 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1807 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1808 (mh-compose-insertion, mh-compose-skipped-header-fields)
1809 (mh-compose-space-does-completion-flag)
1810 (mh-delete-yanked-msg-window-flag)
1811 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1812 (mh-letter-complete-function, mh-letter-fill-column)
1813 (mh-mml-method-default, mh-signature-file-name)
1814 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1815 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1816 (mh-scan-format-file-check, mh-scan-format-file)
1817 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1818 (mh-search-program, mh-compose-forward-as-mime-flag)
1819 (mh-compose-letter-function, mh-compose-prompt-flag)
1820 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1821 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1822 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1823 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1824 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1825 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1826 (mh-display-buttons-for-inline-parts-flag)
1827 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1828 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1829 (mh-highlight-citation-style)
1830 (mh-invisible-header-fields-internal)
1831 (mh-delay-invisible-header-generation-flag)
1832 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1833 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1834 (mh-lpr-command-format, mh-max-inline-image-height)
1835 (mh-max-inline-image-width, mh-mhl-format-file)
1836 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1837 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1838 (mh-show-use-xface-flag, mh-store-default-directory)
1839 (mh-summary-height, mh-speed-update-interval)
1840 (mh-show-threads-flag, mh-tool-bar-search-function)
1841 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1842 (mh-before-commands-processed-hook, mh-before-quit-hook)
1843 (mh-before-send-letter-hook, mh-delete-msg-hook)
1844 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1845 (mh-inc-folder-hook, mh-insert-signature-hook)
1846 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1847 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1848 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1849 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1850 (mh-folder-address, mh-folder-body)
1851 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1852 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1853 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1854 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1855 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1856 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1857 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1858 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1859 (mh-speedbar-folder-with-unseen-messages)
1860 (mh-speedbar-selected-folder)
1861 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1862 deprecated file mh-customize.el.
1864 * mh-exec.el: Move content into mh-e.el and remove.
1866 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el.
1868 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1870 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1872 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1873 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1874 to mail-abbrev-make-syntax-table.
1876 * mh-identity.el (mh-identity-menu): New variable for existing
1878 (mh-identity-make-menu-no-autoload): New alias for
1879 mh-identity-make-menu which can be called from mh-e.el.
1880 (mh-identity-list-set): Move to mh-e.el.
1881 (mh-identity-add-menu): New function.
1882 (mh-insert-identity): Add optional argument maybe-insert so that
1883 local variable mh-identity-local does not have to be visible.
1885 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1886 rest of keymaps). Update key binding for ? to call mh-help with
1887 help messages in new argument.
1888 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1889 which can be called from mh-e.el.
1890 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1892 * mh-init.el: Move content into mh-e.el and remove.
1894 * mh-junk.el: Update requires, untabify, and add mh-autoload
1897 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1899 * mh-limit.el: New file. Contains display limit commands from
1902 * mh-mime.el: Rearrange for consistency with other files.
1903 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1905 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1906 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1907 (mh-goto-next-button): Move here from mh-e.el.
1909 * mh-print.el: Rearrange for consistency with other files.
1911 * mh-scan.el: New file. Contains scan line constants and utilities
1912 from XXX, mh-funcs, mh-utils.el.
1914 * mh-search.el: Rearrange for consistency with other files.
1915 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1916 fields which don't exist in the saved header. Replace C-c C-f f
1917 with C-c C-f m per mail-mode consistency.
1918 (mh-search-mode): Use mh-set-help instead of setting
1921 * mh-seq.el (mh-thread-message, mh-thread-container)
1922 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1923 (mh-thread-id-index-map, mh-thread-index-id-map)
1924 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1925 (mh-thread-subject-container-hash, mh-thread-duplicates)
1926 (mh-thread-history, mh-thread-body-width)
1927 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1928 (mh-thread-initialize, mh-thread-id-container)
1929 (mh-thread-remove-parent-link, mh-thread-add-link)
1930 (mh-thread-ancestor-p, mh-thread-get-message-container)
1931 (mh-thread-get-message, mh-thread-canonicalize-id)
1932 (mh-thread-prune-subject, mh-thread-container-subject)
1933 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1934 (mh-thread-sort-containers, mh-thread-group-by-subject)
1935 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1936 (mh-thread-update-id-index-maps, mh-thread-generate)
1937 (mh-thread-inc, mh-thread-generate-scan-lines)
1938 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1939 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1940 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1941 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1942 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1943 (mh-thread-ancestor, mh-thread-find-children)
1944 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile):
1945 Move to new file mh-thread.el.
1946 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1947 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1948 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1949 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1950 (mh-current-message-header-field, mh-narrow-to-range)
1951 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1953 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1955 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1956 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1957 (mh-define-sequence, mh-undefine-sequence)
1958 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1959 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1960 (mh-parse-flist-output-line, mh-read-folder-sequences)
1961 (mh-read-msg-list, mh-notate-user-sequences)
1962 (mh-remove-cur-notation, mh-add-sequence-notation)
1963 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1965 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1966 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1968 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
1970 * mh-speed.el: Rearrange for consistency with other files.
1972 * mh-thread.el: New file. Contains threading code from mh-seq.el.
1974 * mh-tool-bar.el: New file. Contains tool bar creation code from
1975 deprecated file mh-customize.el.
1977 * mh-utils.el (recursive-load-depth-limit): Remove setting.
1979 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1980 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1981 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1982 (mh-update-scan-format, mh-msg-num-width): Move to new file
1984 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1985 (mh-header-field-font-lock, mh-header-to-font-lock)
1986 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1987 (mh-show-font-lock-keywords)
1988 (mh-show-font-lock-keywords-with-cite)
1989 (mh-show-font-lock-fontify-region)
1990 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1991 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1992 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1993 (mh-show-sequence-menu, mh-show-message-menu)
1994 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1995 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1996 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1998 (mh-mail-header-separator, mh-signature-separator-regexp)
1999 (mh-signature-separator, mh-globals-hash, mh-user-path)
2000 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
2001 (mh-previous-window-config, mh-current-folder mh-show-buffer)
2002 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
2003 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
2004 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
2005 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
2006 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
2007 Move to mh-alias.el.
2008 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
2009 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
2010 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
2011 Move to new file mh-folder.el.
2012 (with-mh-folder-updating, mh-in-show-buffer)
2013 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
2014 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
2015 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
2017 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
2018 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
2019 (mh-face-background-compat, mh-face-display-function)
2020 (mh-show-xface, mh-picon-directory-list)
2021 (mh-picon-existing-directory-list)
2022 (mh-picon-cache, mh-picon-image-types)
2023 (mh-picon-set-directory-list, mh-picon-get-image)
2024 (mh-picon-file-contents, mh-picon-generate-path)
2025 (mh-x-image-cache-directory, mh-x-image-scaling-function)
2026 (mh-wget-executable, mh-wget-choice, mh-wget-option)
2027 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
2028 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
2029 (mh-x-image-scale-with-convert)
2030 (url-unreserved-chars, url-hexify-string)
2031 (mh-x-image-url-cache-canonicalize)
2032 (mh-x-image-set-download-state, mh-x-image-get-download-state)
2033 (mh-x-image-url-fetch-image, mh-x-image-display)
2034 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
2035 (mh-x-image-url-display): Move to new file mh-xface.el.
2036 (mh-logo-display): Call mh-image-load-path.
2037 (mh-find-path-run, mh-find-path): Move here from deprecated file
2039 (mh-help-messages): Now an alist of modes to an alist of messages.
2040 (mh-set-help): New function used to set mh-help-messages.
2041 (mh-help): Adjust for new format of mh-help-messages. Add
2042 help-messages argument.
2043 (mh-prefix-help): Refactor to use mh-help.
2044 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
2046 (mh-clear-sub-folders-cache): New function added to avoid exposing
2047 mh-sub-folders-cache variable.
2049 * mh-xface.el: New file. Contains X-Face and Face header field
2050 display routines from mh-utils.el.
2052 2006-01-17 Bill Wohler <wohler@newt.com>
2054 * mh-acros.el (assoc-string): Fix typo in argument.
2056 2006-01-16 Bill Wohler <wohler@newt.com>
2058 * mh-acros.el (require): Remove defadvice of require as defadvice
2059 is verboten within Emacs and our implementation was returning the
2060 wrong value from require. Upcoming restructuring should make this
2062 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
2064 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
2065 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
2067 * mh-identity.el (mh-identity-field-handler): Use it.
2069 * mh-comp.el (mh-show-buffer-message-number): Replace (car
2070 (read-from-string string) with (string-to-number string).
2072 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
2075 * mh-mime.el (mh-mml-forward-message): Ditto.
2077 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
2078 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
2079 (mh-openssl-parser, mh-index-update-maps): Ditto.
2081 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
2082 (mh-thread-generate): Ditto.
2084 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
2086 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
2087 mm- functions for proper text=flowed handling (addresses SF
2090 2006-01-15 Bill Wohler <wohler@newt.com>
2092 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
2093 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
2096 * mh-utils.el (mh-show-limit-map): Ditto.
2098 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
2100 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
2102 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
2103 where they are used.
2105 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
2106 needed to help remove dependency on mh-utils.
2108 * mh-exec.el: New file. Move process support routines here from
2111 * mh-init.el (mh-utils): Remove require.
2112 (mh-exec): Add require.
2113 (mh-profile-component, mh-profile-component-value): Move here from
2116 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
2117 dependencies on mh-utils.el.
2118 (mh-profile-component, mh-profile-component-value): Move to
2119 mh-init.el since that's the only place that uses them. (Other than
2120 mh-alias.el; I'm thinking that mh-find-path can set variable from
2121 the Aliasfile component like it does the other components).
2122 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
2123 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
2124 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
2125 (defvar, mh-exec-cmd-output)
2126 (mh-exchange-point-and-mark-preserving-active-mark)
2127 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
2128 file mh-exec.el so that mh-init.el doesn't have to depend on
2129 mh-utils.el, breaking circular dependency.
2143 * mh-speed.el: Added debugging statements (commented out) around
2144 requires to help find dependency loops. Will remove them when
2145 issues are resolved.
2147 2006-01-14 Bill Wohler <wohler@newt.com>
2149 * mh-customize.el (mh-index): Rename group to mh-search and sort
2150 group definition and options accordingly.
2151 (mh-index-program): Rename to mh-search-program.
2152 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
2154 (mh-search-mode-hook): Change group from mh-index to mh-search.
2155 (mh-index-folder): Rename to mh-search-folder. Change group from
2156 mh-index to mh-search.
2158 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
2159 to mh-search-folder.
2161 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
2162 pick and grep are searchers too but aren't indexed.
2163 (mh-index-execute-search-function): Rename to mh-search-function.
2164 (mh-index-next-result-function): Rename to
2165 mh-search-next-result-function.
2166 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
2167 (mh-search): Since redo-search-flag defaults to nil and is of
2168 lesser importance, make it an optional argument and place it after
2169 the folder and search-regexp arguments. Sync docstring with manual.
2170 (mh-search-mode-map): Autoload so that keys are shown in help even
2171 before mh-search is loaded.
2172 (mh-search-mode): Sync docstring with manual.
2173 (mh-index-do-search): Rename argument indexer to searcher. Sync
2174 docstring with manual.
2175 (mh-pick-do-search): Sync docstring with manual.
2176 (mh-index-p): Rename to mh-search-p.
2177 (mh-indexer-choices): Rename to mh-search-choices.
2178 (mh-index-choose): Rename to mh-search-choose. Rename argument
2179 indexer to searcher.
2180 (mh-swish++-execute-search, mh-swish-execute-search)
2181 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
2182 read the results" from docstring since these functions don't.
2183 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
2185 (mh-index-generate-pretty-name): Prune -search from string so that
2186 folder names for pick searches are the same as those of other
2189 2006-01-13 Bill Wohler <wohler@newt.com>
2191 * mh-acros.el (require): Added Satyaki's comment regarding what
2192 needs to happen to remove this defadvice which caused a little
2193 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
2194 advices `require' incorrectly).
2196 * mh-search.el (mh-index-next-result-function): Add format to
2198 (mh-mairix-next-result): Use nil instead of () which doesn't stand
2200 (mh-pick-execute-search): Operate across all folders if no folder
2201 given and recurse folder(s).
2202 (mh-pick-next-result): Handle new output.
2204 * mh-utils.el (mh-collect-folder-names): Fix docstring.
2205 (mh-children-p, mh-folder-list): New functions.
2207 2006-01-12 Bill Wohler <wohler@newt.com>
2209 * mh-search.el: New file containing contents of mh-index.el and
2210 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
2211 pick. Pick no longer sets the "search" sequence. Instead, it
2212 brings up a folder view that we're accustomed to. (Closes SF
2214 (mh-index-search): Rename to mh-search.
2215 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
2216 the Search to Perform Search and call mh-do-search. Add Search
2217 with Pick menu item.
2218 (mh-do-search): Delete.
2219 (mh-search-mode): Rename from mh-pick-mode.
2220 (MH-Search): Rename mode from MH-Pick.
2221 (mh-search-mode-map): Rename from mh-pick-mode-map.
2222 (mh-search-mode-help-messages): Rename from
2223 mh-pick-mode-help-messages.
2224 (mh-index-choose): Don't reuse the last value of mh-indexer; when
2225 mh-pick-do-search sets it to 'pick, we don't necessarily want to
2226 stay with that choice!
2229 * mh-pick.el: Merge into mh-search.el and delete.
2231 * mh-customize.el (mh-index-program): Change mh-index-search to
2232 mh-search in docstring.
2233 (mh-tool-bar-search-function): Change default from
2234 mh-search-folder to mh-search. Remove mh-search-folder as choice
2235 and rename mh-index-search choice to mh-search. Fix docstring.
2236 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
2237 mh-search-folder to mh-search in docstring.
2239 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
2240 Indexed Search to Search. Use mh-search instead of mh-index-search.
2241 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
2242 from mh-show-search-folder to mh-search.
2244 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
2245 mh-search-folder no longer creates the search sequence.
2247 * mh-utils.el (mh-show-search-folder): Delete.
2248 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
2249 Change s from mh-show-search-folder to mh-search.
2250 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
2251 Search to Search. Use mh-search instead of mh-index-search.
2252 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell):
2253 Move here from deleted mh-index.el.
2255 2006-01-11 Bill Wohler <wohler@newt.com>
2257 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
2260 * mh-gnus.el: Require mh-acros.
2261 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
2263 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
2264 url-hexify-string to remove special characters from filenames
2265 (closes SF #1396499). Note that this invalidates the existing
2266 names in your cache so you might as well remove
2267 ~/Mail/.mhe-x-image-cache/* now.
2268 (url-unreserved-chars, url-hexify-string): Define if not defined.
2269 Copied from url-util.el in Emacs22 for Emacs 21.
2271 * mh-buffers.el: New file. Contains constants and code from
2272 mh-index.el and mh-utils.el.
2282 * mh-seq.el: Require new file mh-buffers.el.
2284 * mh-index.el: Require new file mh-buffers.el.
2285 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
2288 * mh-utils.el: Require new file mh-buffers.el.
2289 (mh-temp-buffer, mh-temp-fetch-buffer)
2290 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
2291 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
2292 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
2293 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
2295 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
2296 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
2298 2006-01-10 Bill Wohler <wohler@newt.com>
2300 * mh-comp.el (mh-insert-letter): If you choose a different folder,
2301 the cur message is used. Sync docstring with manual (closes SF
2304 * mh-mime.el (mh-compose-forward): Use standard range argument
2305 instead of messages. Use more powerful mh-read-range instead of
2306 read-string. Sync docstring with manual (close SF #1205890).
2308 * mh-index.el (mh-index-search): Checking mh-find-path-run is
2310 (mh-index-next-folder): Don't back up a line when going backwards
2311 since this skips the current folder heading if point is on the
2312 first message after the folder heading (closes SF #1126188).
2314 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses it.
2315 (mh-variants): Note variable isn't meant to be accessed directly;
2316 use function mh-variants instead.
2317 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
2318 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
2319 them. Updated to use mh-file-command-p which is more accurrate
2320 than file-executable-p which returns t for directories.
2321 (mh-file-command-p): Move here from mh-utils, since
2322 mh-variant-*-info are the only functions to use it.
2323 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
2324 function mh-variants instead of variable. More robust.
2325 (mh-find-path-run): Move here from mh-utils.el. Mention that
2326 checking this variable is unnecessary.
2327 (mh-find-path): Move here from mh-utils.el. With the advent of MH
2328 variants and an mhparam command that doesn't work if there isn't
2329 an MH profile, we can't get libdir for running install-mh. So
2330 don't bother. If there's an issue with the environment, direct the
2331 user to install MH and run install-mh (closes SF #835192). Don't
2332 read ~/.mh_profile directly. Use mh-profile-component which uses
2333 mhparam (closes SF #1016027).
2335 * mh-utils.el (mh-get-profile-field): Rename to
2336 mh-profile-component-value. Add colon to search removing
2337 unnecessary addition of colon to field in mh-profile-component.
2338 (mh-profile-component): Modify call to mh-profile-component-value
2339 accordingly. Move next to mh-profile-component-value.
2340 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
2341 mh-init.el. It makes sense that code that is only run once per
2342 session (more or less) is in mh-init.el rather than cluttering
2344 (mh-no-install, mh-install): Delete.
2346 * mh-customize.el (mh-folder-msg-number):
2347 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
2349 2006-01-09 Bill Wohler <wohler@newt.com>
2351 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
2352 patch from Satyaki from SF #1016027.
2354 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
2355 message, even if cur sequence is no longer present (closes SF
2358 * mh-comp.el: Use ";; Shush compiler." comment consistently per
2360 (mh-letter-mode): Derive from mail-mode and delete code copied
2361 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
2363 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
2364 (mh-to-field-choices): For consistency with mail-mode, add "a" for
2365 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
2366 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
2367 (mh-to-fcc): Move setting of folder argument to interactive
2368 argument as is the norm.
2369 (mh-letter-complete-function-alist): Add mail-reply-to.
2370 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
2371 Mail-Followup-To, Reply-To, From).
2373 * mh-customize.el: Use ";; Forward definition." consistently.
2374 Comment declaration to remind programmer to update forward
2375 definition if default changes.
2382 * mh-utils.el: Use ";; Shush compiler." comment consistently per
2385 2006-01-08 Bill Wohler <wohler@newt.com>
2387 Removed code that was marked as Emacs 20 compatible that was
2388 easily found showing how important it is to document such
2389 things (closes SF #1359240). Feel free to nuke any other Emacs 20
2390 peculiarities that you find. Wrapped code for shushing compiler
2391 with (eval-when-compile), sometimes moving the defvars closer to
2392 where they were used.
2394 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
2395 instead of mh-replace-in-string as mh-replace-in-string was
2396 replaced by a more appropriate defsubst in mh-xemacs.el.
2398 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
2400 (mh-file-is-vcard-p): Removed redundant test.
2402 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
2403 with eval-when-compile.
2404 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
2405 (mh-invisible-header-fields-default): Add forward definitions.
2406 (mh-invisible-header-fields-default): Alphabetize.
2408 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
2410 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
2412 (mh-colors-available-p): Just call display-color-cells. It's on
2413 all supported Emacsen (and defaliased on XEmacs).
2417 * mh-init.el: Wrap compiler-shushing defvars with
2420 * mh-identity.el: Don't need (mh-require-cl).
2422 * mh-index.el: Don't need to load executable any more.
2424 * mh-mime.el: Wrap compiler-shushing defvars with
2426 (mh-have-file-command): Initialize variable to 'undefined. Add
2427 docstring. Update function of same name accordingly. Also don't
2428 need to load executable any more.
2429 (mh-mime-content-types): Delete.
2430 (mh-minibuffer-read-type): Prompt user for type if
2431 mh-file-mime-type returns application/octet-stream. Assume we have
2433 (mh-mime-display): Update error message.
2435 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
2436 with eval-when-compile.
2438 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
2439 with eval-when-compile.
2440 (mh-clean-msg-header): Don't set after-change-functions to nil.
2441 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
2444 2006-01-07 Bill Wohler <wohler@newt.com>
2446 * mh-customize.el: Updated Faces documentation in header.
2447 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
2448 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
2450 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
2451 tags inserted by Gnus gnus-summary-mail-forward (closes SF
2454 2006-01-03 Mark D. Baushke <mdb@gnu.org>
2456 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
2457 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
2459 2006-01-03 Bill Wohler <wohler@newt.com>
2461 * mh-alias.el (mh-alias-add-alias): Grand message and error string
2462 unification. Use single sentence if possible by using semicolon.
2463 Don't end message with punctuation. Don't need format with
2464 message. Quote messages as in docstrings: use `' around symbols,
2465 \" for option choices. Don't use quotes around %s.
2467 * mh-comp.el (mh-complete-word): Ditto.
2469 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
2470 (mh-scan-format-file-check): Ditto.
2472 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
2473 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
2474 (mh-msg-num-width-to-column): Ditto.
2476 * mh-identity.el (mh-identity-field-handler): Ditto.
2478 * mh-index.el (mh-mairix-execute-search)
2479 (mh-swish-execute-search, mh-swish++-execute-search)
2480 (mh-namazu-execute-search): Ditto.
2482 * mh-init.el (mh-variant-set): Ditto.
2484 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
2485 (mh-secure-message, mh-mime-display): Ditto.
2487 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
2489 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
2490 (mh-read-range, mh-thread-container-subject): Ditto.
2492 * mh-utils.el (mh-x-image-scale-and-display)
2493 (mh-prompt-for-folder, mh-handle-process-error)
2494 (mh-list-to-string-1): Ditto.
2496 * mh-comp.el (mh-reply): Use standard default notation in
2497 prompts (closes SF #1275933).
2499 * mh-mime.el (mh-mime-save-parts): Ditto.
2501 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
2503 * mh-customize.el (mh-folder-msg-number): Snow is actually
2504 off-white on low color displays which turns to white when bold.
2505 This is unreadable on white backgrounds. Use snow with min-colors
2506 requirement. Use cyan on low-color displays.
2508 * mh-init.el (mh-defface-compat): On low-color displays, delete
2509 the high-color display rather than simply strip the min-colors
2510 requirement since the existing algorithm shadowed the desired
2511 display on low-color displays.
2513 * mh-alias.el (mh-alias-add-alias): Remove leading * from
2516 2006-01-02 Bill Wohler <wohler@newt.com>
2518 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
2519 docstring. Does this mean something in a defun?
2521 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
2524 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
2525 so it reads better in docstring and manual. Sync docstring with
2528 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
2530 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
2532 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
2533 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
2534 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2535 (mh-letter-complete-or-space, mh-letter-confirm-address)
2536 (mh-letter-next-header-field-or-indent)
2537 (mh-letter-previous-header-field): Ditto.
2539 * mh-customize.el (mh-alias-completion-ignore-case-flag)
2540 (mh-default-folder-for-message-function, mh-mml-method-default)
2541 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2542 (mh-show-mode-hook) Ditto.
2544 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2546 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2547 (mh-store-msg, mh-store-buffer): Ditto.
2549 * mh-index.el (mh-index-search, mh-index-do-search)
2550 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2552 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2554 * mh-mime.el (mh-mh-compose-external-compressed-tar)
2555 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2556 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2557 (mh-mml-secure-message-signencrypt): Ditto.
2559 * mh-pick.el (mh-search-folder): Ditto.
2561 * mh-seq.el (mh-widen): Ditto.
2563 * mh-utils.el (mh-show, mh-modify): Ditto.
2565 2006-01-02 Mark D. Baushke <mdb@gnu.org>
2567 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2569 2006-01-01 Bill Wohler <wohler@newt.com>
2571 * mh-customize.el: Sync docstrings with manual for faces and sort
2572 them alphabetically.
2573 (mh-faces): Move below mh-hooks.
2574 (mh-folder-faces, mh-index-faces, mh-letter-faces)
2575 (mh-show-faces, mh-speed-faces): Delete. Organize faces like hooks.
2576 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2577 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2578 (mh-folder-body-face, mh-folder-cur-msg-face)
2579 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2580 (mh-folder-followup-face, mh-folder-msg-number-face)
2581 (mh-folder-deleted-face, mh-folder-refiled-face)
2582 (mh-folder-subject-face, mh-folder-address-face)
2583 (mh-folder-scan-format-face, mh-folder-to-face)
2584 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2585 (mh-show-header-face, mh-show-pgg-good-face)
2586 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2587 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2589 (mh-folder-cur-msg): Unused. Delete.
2590 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2591 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2592 Inherit from mh-folder-msg-number.
2593 (mh-folder-deleted): Use defface. Inherit from
2594 mh-folder-msg-number.
2595 (mh-folder-sent-to-me-hint): New face. Inherit from
2597 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2598 Use defface. Inherit from mh-folder-followup.
2599 (mh-show-xface): Inherit from mh-show-from and highlight.
2600 (bw-face-generation, bw-toggle-faces)
2601 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2602 variables, functions for toggling between old and new faces.
2604 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2605 eval-when-compile. We should probably do this throughout.
2606 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2607 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2608 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2609 (mh-scan-subject-regexp): Sync docstrings with manual.
2610 (mh-scan-format-regexp): Rename to
2611 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
2612 expression. Make expression more like the others (anchored at the
2613 beginning of line). Sync docstrings with manual.
2614 (mh-folder-font-lock-keywords): Use faces directly rather than
2615 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
2616 mh-scan-format-regexp, and within that expression, use faces
2617 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2618 of mh-folder-date-face and mh-folder-scan-format-face which were
2621 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2622 rather than -face variables.
2624 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2625 rather than -face variables.
2626 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2627 (mh-face-display-function): Use mh-face-foreground-compat and
2628 mh-face-background-compat to use inherited attributes of
2629 mh-show-xface on Emacs 22 while still working on Emacs 21.
2631 2005-12-28 Bill Wohler <wohler@newt.com>
2633 * mh-comp.el (mh-e-user-agent): Move here from simple.el.
2634 Use mh-user-agent-compose instead of mh-smail-batch.
2636 2005-12-27 Bill Wohler <wohler@newt.com>
2638 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2639 suppress creation of folder if it doesn't exist.
2641 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2643 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2645 2005-12-23 Bill Wohler <wohler@newt.com>
2647 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2649 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2650 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2651 everything else. Otherwise, you can accidently get links to
2654 2005-12-22 Bill Wohler <wohler@newt.com>
2656 Follow Emacs coding conventions. Use default setting of
2657 emacs-lisp-docstring-fill-column which is 65.
2659 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2661 * mh-comp.el (mh-letter-mode): Use 60 column width.
2662 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2664 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2665 you have added a mail-citation-hook and neither are used if you
2666 use one of the supercite flavors of mh-yank-behavior. Sync
2667 docstrings with manual.
2669 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2670 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2671 hook. Use "Hook run by `function'..." instead of "Invoked...".
2672 Sync docstrings with manual.
2673 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2674 mh-ins-buf-prefix isn't used if you have added a
2675 mail-citation-hook and neither are used if you use one of the
2676 supercite flavors of mh-yank-behavior. Sync docstrings with manual.
2677 (mail-citation-hook): Delete. Use one in sendmail.el.
2678 (mh-signature-file-name, mh-after-commands-processed-hook)
2679 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2680 (mh-before-quit-hook, mh-before-send-letter-hook)
2681 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2682 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2683 (mh-letter-mode-hook)
2684 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2685 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2686 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2687 of "Invoked...". Sync docstrings with manual.
2689 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2690 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2691 (mh-delete-list, mh-refile-list, mh-folders-changed)
2692 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2693 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2694 (mh-mode-line-annotation, mh-sequence-notation-history)
2695 (mh-colors-available-flag): Move comment into docstring.
2696 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2697 (mh-process-commands): Sync docstrings with manual.
2698 (mh-refile-msg): Small doc edit.
2699 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2700 Rename msg argument to message.
2702 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2704 * mh-e.el (mh-update-unseen): No longer say "The value of
2705 `foo-hook' is a list of functions to be called, with no arguments,
2706 ...," but rather just "The hook foo-hook is called...".
2708 * mh-mime.el (mh-mh-to-mime): Ditto.
2710 * mh-pick.el (mh-pick-mode): Ditto.
2712 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2714 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2716 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2719 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2721 * mh-customize.el (mh-after-commands-processed-hook): New variable.
2722 (mh-before-commands-processed-hook): Rename mh-folder-updated-hook.
2724 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2725 mh-before-commands-processed-hook, call new
2726 mh-after-commands-processed-hook.
2727 (mh-folders-changed): New variable (for use in
2728 mh-after-commands-processed-hook).
2730 2005-12-19 Bill Wohler <wohler@newt.com>
2750 Follow commenting conventions. Don't use ;;; form so much, except
2751 for headings. Precede headings with page feed. This was mostly
2752 already done, so I made it a convention. Did not update copyright
2753 on a couple of files since this was an insignificant change.
2755 2005-12-18 Bill Wohler <wohler@newt.com>
2757 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2758 (mh-tool-bar-search-function): Sync docstrings with manual.
2759 (mh-tool-bar-customize): Replace toolbar with tool bar in docstring.
2760 (mh-tool-bar-letter-help): Fix manual reference.
2761 (mh-xemacs-use-toolbar-flag): Rename to
2762 mh-xemacs-use-tool-bar-flag. Initialize to
2763 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2764 (mh-xemacs-toolbar-position): Rename to
2765 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2766 option (redundant) and change "Same As Default Tool Bar" setting
2767 to nil. Sync docstrings with manual.
2768 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2769 depending on context.
2770 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2771 for calling set-specifier. Only look at the value of
2772 mh-xemacs-use-tool-bar-flag.
2773 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons):
2774 Sync docstrings with manual.
2776 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2779 * mh-e.el (mh-folder-mode): Ditto.
2781 * mh-utils.el (mh-show-mode): Ditto.
2783 2005-12-15 Bill Wohler <wohler@newt.com>
2785 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2787 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2788 (mh-thread-previous-sibling, mh-thread-ancestor)
2789 (mh-thread-delete, mh-thread-refile): Ditto.
2791 2005-12-14 Bill Wohler <wohler@newt.com>
2793 * mh-customize.el (mh-speed-flists-interval): Rename to
2794 mh-speed-update-interval.
2795 (mh-speed-run-flists-flag): Delete. Setting
2796 mh-speed-flists-interval to 0 accomplishes the same thing.
2798 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2799 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2800 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2801 docstrings with manual.
2803 2005-12-09 Bill Wohler <wohler@newt.com>
2805 * mh-customize.el (mh-path): Move here from mh-init.el.
2806 (mh-variant): Mention that mh-path can be customized.
2807 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2808 X-MAIL-INFO, and X-UNTD- from NetZero.
2810 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2812 2005-12-04 Bill Wohler <wohler@newt.com>
2814 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2815 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2818 * mh-customize.el (mh-insert-signature-hook): Rename
2819 mh-letter-insert-signature-hook to mh-insert-signature-hook.
2821 * mh-comp.el (mh-insert-signature): Ditto.
2823 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2824 to nil. Remove t option. Sync docstring with manual (closes SF
2826 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2827 users can see it, look it up in the manual's index, and discover
2828 mh-fetch-x-image-url (closes SF #831278).
2830 * mh-customize.el (mh-new-messages-folders): Rename from
2831 mh-index-new-messages-folders.
2832 (mh-ticked-messages-folders): Rename from
2833 mh-index-ticked-messages-folders.
2835 * mh-index.el (mh-index-sequenced-messages)
2836 (mh-index-new-messages): Ditto.
2838 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2839 in the docstrings and made usage consistent. Generally speaking,
2840 "messages in range" and "range of messages" is redundant and just
2841 "range" can be used in most circumstances. Also ensured that
2842 mh-interactive-range was mentioned in all interactive functions
2843 that use a range which describes the range argument for both users
2846 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2847 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2848 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2849 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2852 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2855 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2857 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2858 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2860 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2861 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2863 2005-12-01 Bill Wohler <wohler@newt.com>
2865 Rewrote Reading Mail chapter in manual which affected mh-show
2866 customization group and related functions.
2868 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2869 instead of mh-highlight-citation-p.
2870 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2871 I think, so use "truncated".
2873 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2874 section is Folders, not Organizing. Parent of mh-folder-faces is
2875 mh-folder, not mh-show.
2876 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2877 (mh-thread): New group that corresponds with manual's Threading chapter.
2878 (mh-letter-faces): Group's manual section is Editing Drafts, not
2880 (mh-sortm-args): New customization variable that used to be a defvar.
2881 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2882 Move from mh-index group to mh-folders group.
2883 (mh-alias-local-users-prefix, mh-large-folder)
2884 (mh-recursive-folders-flag, mh-before-quit-hook)
2885 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2886 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2888 (mh-highlight-citation-style): Rename from
2889 mh-highlight-citation-p. Sync docstrings with manual.
2890 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2892 (mh-show-threads-flag): Move from mh-show group to mh-thread
2894 (mh-find-path-hook): Move from mh-show group to mh-e group.
2895 (mh-folder-updated-hook): Add to mh-folder group.
2896 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2897 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2898 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2899 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2900 (mh-display-buttons-for-inline-parts-flag)
2901 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2902 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2903 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2904 (mh-lpr-command-format, mh-max-inline-image-height)
2905 (mh-max-inline-image-width)
2906 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2907 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2908 (mh-show-use-xface-flag, mh-store-default-directory)
2909 (mh-summary-height, mh-delete-msg-hook)
2910 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2912 * mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
2913 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2914 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp):
2915 Use non-fontification instead of non-fontifying.
2916 (mh-header-display): Use mh-mhl-format-file instead of
2917 mhl-formfile. Sync docstrings with manual.
2918 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2919 count. Sync docstrings with manual.
2920 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2921 so that message doesn't change when using this command. Sync
2922 docstrings with manual.
2923 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
2924 docstrings with manual.
2925 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2926 to no-header. Sync docstrings with manual.
2927 (mh-ps-print-map): Delete keybindings for deleted commands
2928 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2929 (mh-help-messages): Update printing help.
2930 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2931 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2932 (mh-prev-button, mh-folder-toggle-mime-part)
2933 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2934 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2937 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2939 (mh-pipe-msg): Rename include-headers to include-header.
2940 Sync docstrings with manual.
2941 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2942 (mh-store-msg): Sync docstrings with manual.
2944 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt.
2945 Sync docstrings with manual.
2946 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2947 Sync docstrings with manual.
2948 (mh-mm-display-part, mh-mm-inline-message): Use
2949 mh-highlight-citation-style instead of mh-highlight-citation-p.
2950 (mh-press-button): Sync docstrings with manual.
2951 (mh-display-with-external-viewer): Fix default output in
2952 minibuffer. Sync docstrings with manual.
2954 * mh-print.el (mh-ps-print-mime, mh-ps-print-toggle-mime):
2956 (mh-ps-print-color-option): Incorporate docstring from
2958 (mh-ps-spool-buffer): Remove unused code. Fix indent.
2960 (mh-ps-spool-msg): Slimline docstring. Rename from
2961 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
2963 (mh-ps-print-range): Extract method from common code in
2964 mh-ps-print-msg and mh-ps-print-msg-file.
2965 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2966 (mh-ps-print-msg-show): Delete. Can use either
2967 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2968 new code in mh-ps-spool-msg.
2969 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2970 Sync docstrings with manual.
2971 (mh-ps-print-msg, mh-ps-print-msg-file)
2972 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color):
2973 Sync docstrings with manual.
2975 * mh-utils.el (mh-show-ps-print-msg-show)
2976 (mh-show-ps-print-toggle-mime): Delete.
2977 (mh-show-ps-print-map): Update accordingly.
2978 (mh-show-mode): Use mh-highlight-citation-style instead of
2979 mh-highlight-citation-p.
2980 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2982 (mh-show): Use mh-mhl-format-file instead of mhl-formfile.
2983 Sync docstrings with manual.
2984 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg):
2985 Sync docstrings with manual.
2987 2005-12-01 Bill Wohler <wohler@newt.com>
2989 * mh-init.el (mh-defface-compat): Checkdoc fix.
2991 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2992 Bogofilter is lowercase except at beginning of sentence and in
2995 2005-11-04 Bill Wohler <wohler@newt.com>
2997 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2998 Move to mh-init.el to minimize bulk of mh-customize.el.
3000 * mh-init.el: Modify commentary since file is used for load and
3001 initialization as well as setting and getting the variant.
3002 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
3005 * mh-customize.el: Refactor faces. Move grayscale requirements
3006 last before t. Use uniform line breaks.
3007 (mh-min-colors-defined-flag): New variable.
3008 (mh-defface-compat): New function. Provides backward compatibility
3010 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
3011 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
3012 (mh-folder-body): Use mh-defface-compat.
3014 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
3016 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
3017 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
3018 (mh-folder-to-face): Use the min-colors attribute instead of the
3021 2005-11-03 Bill Wohler <wohler@newt.com>
3023 * mh-customize.el (mh-refile-preserves-sequences-flag)
3024 (mh-tick-seq, mh-update-sequences-after-mh-show-flag):
3025 Sync docstrings with manual.
3027 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
3029 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
3030 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
3033 2005-11-01 Bill Wohler <wohler@newt.com>
3035 * mh-comp.el (mh-redist-full-contents) Convert defvar to
3037 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
3038 (mh-reply, mh-send, mh-send-other-window)
3039 (mh-fill-paragraph-function): Sync docstrings with manual.
3040 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
3041 msg argument to message (to make for a better docstring).
3043 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
3044 to defcustom. Rename by adding -flag.
3045 (mh-compose-forward-as-mime-flag)
3046 (mh-compose-letter-function, mh-forward-subject-format)
3047 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
3048 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
3051 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
3052 (mh-ps-print-msg): Remove debugging messages.
3053 (mh-ps-print-msg-show, mh-ps-print-msg-show)
3054 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
3055 after message per conventions.
3057 2005-10-30 Bill Wohler <wohler@newt.com>
3059 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
3060 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp):
3061 Sync docstrings with manual.
3063 * mh-customize.el (mh-compose-space-does-completion-flag)
3064 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
3065 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
3066 means" to remain checkdoc clean and consistent with Emacs. I
3067 raised this issue with the Emacs developers and Stallman agrees
3068 that "On means" should be allowed in custom docstrings but that
3069 this change requires thought and should wait until after the Emacs
3072 2005-10-28 Bill Wohler <wohler@newt.com>
3074 * mh-comp.el (mh-annotate-msg): Use new variable
3075 mh-scan-field-destination-offset rather than hard-coding 1.
3077 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
3079 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
3080 functions to check input for mh-adaptive-cmd-note-flag and
3081 mh-scan-format-file respectively.
3082 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
3085 * mh-e.el (mh-scan-field-destination-offset): New variable. The
3086 destination is the -, t, b, c, or n character for Replied, To, cc,
3087 Bcc, or Newsgroups respectively.
3088 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note):
3089 Call new function mh-msg-num-width-to-column to make leap between
3090 width and column more explicit.
3091 (mh-msg-num-width-to-column): New function that steals logic from
3092 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
3093 isn't t since we can't adapt the scan lines in this case.
3094 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
3095 make the documentation more clear.
3096 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
3097 column, not a width.
3098 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
3099 variable mh-scan-field-destination-offset rather than hard-coding 1.
3101 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
3102 (mh-notate): Use new variable mh-scan-field-destination-offset
3103 rather than hard-coding 1.
3104 (mh-message-number-width): Rename to mh-msg-num-width to be
3105 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
3107 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
3108 (mail-citation-hook): Quote URLs in docstrings and precede with
3109 `URL'. The former will suppress checkdoc warnings, the latter will
3110 turn them into hyperlinks in Emacs 22 (I just added the code to do
3112 (mh-scan-format-file): Checkdoc fix.
3114 2005-10-27 Bill Wohler <wohler@newt.com>
3116 * mh-customize.el (mh-adaptive-cmd-note-flag)
3117 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
3119 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
3120 (mh-note-cur, mh-scan-good-msg-regexp)
3121 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
3122 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
3123 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
3124 (mh-scan-subject-regexp, mh-scan-format-regexp)
3125 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
3128 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
3130 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
3131 of hard-coded string.
3132 (mh-mail-header-separator, mh-signature-separator-regexp):
3133 Use "regular expression" in docstring instead of regexp.
3134 (mh-scan-msg-number-regexp)
3135 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
3136 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
3137 (mh-cmd-note): Sync docstrings with manual.
3139 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
3142 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
3144 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
3145 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3146 (mh-mml-secure-message-signencrypt): Ditto.
3148 2005-10-24 Bill Wohler <wohler@newt.com>
3150 * mh-gnus.el: Load mml.el in order to see if
3151 mml-minibuffer-read-disposition is defined or not.
3153 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
3156 2005-10-23 Miles Bader <miles@gnu.org>
3158 * .arch-inventory: New file.
3160 2005-10-23 Bill Wohler <wohler@newt.com>
3162 * mh-customize.el (mh-interpret-number-as-range-flag):
3163 Sync docstring with manual.
3165 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
3166 mh-alias.el and move to mh-acros.el.
3168 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
3169 mh-identity.el and move to mh-acros.el.
3171 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
3172 mh-identity.el and mh-alias.el.
3174 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
3175 warning in Emacs 22.
3177 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
3179 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
3180 assoc-string (if the function is available) and falls back on
3181 assoc-ignore-case if assoc-string is not found.
3182 (mh-identity-field-handler): Use mh-assoc-ignore-case since
3183 assoc-ignore-case is a obsolete function in Emacs 22.
3185 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
3186 track of whether the tool-bar in mh-folder-mode has been
3188 (mh-folder-mode): Initialize the tool-bar for folders the first
3189 time we get into mh-letter-mode.
3191 * mh-customize.el (mh-buffer-exists-p): New function which tests
3192 presence of buffers of a given mode.
3193 (mh-tool-bar-define): New functions mh-tool-bar-folder-buttons-init and
3194 mh-tool-bar-letter-buttons-init are defined. These functions are
3195 used to create the tool-bar from the corresponding customizable
3198 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
3199 keeps track of whether the tool-bar in mh-letter-mode has been
3201 (mh-letter-mode): Initialize the tool-bar for drafts the first
3202 time we get into mh-letter-mode.
3204 2005-10-23 Bill Wohler <wohler@newt.com>
3206 * mh-comp.el (mh-letter-menu): Rename
3207 mh-mhn-compose-external-compressed-tar to
3208 mh-mh-compose-external-compressed-tar. Rename
3209 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3210 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
3211 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
3212 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
3213 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
3215 (mh-insert-signature): Rename mh-mhn-directive-present-p to
3216 mh-mh-directive-present-p.
3217 (mh-send-letter): Rename mh-mhn-directive-present-p to
3218 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
3219 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
3220 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3221 mh-mhn-compose-external-compressed-tar to
3222 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3223 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3224 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
3225 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.
3230 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
3231 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
3232 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
3233 mh-yank-from-start-of-msg to mh-yank-behavior.
3234 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
3235 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
3236 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
3237 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
3238 (mh-letter-complete-or-space, mh-letter-confirm-address)
3239 (mh-letter-next-header-field-or-indent)
3240 (mh-letter-previous-header-field)
3241 (mh-letter-toggle-header-field-display): Sync docstrings with
3244 * mh-customize.el (mh-edit-mhn-hook): Rename to
3246 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
3247 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
3248 and user-visible values from mhn and Gnus to MH and MML.
3249 (mh-before-send-letter-hook): Add 'ispell-message option.
3250 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
3251 mh-pgp-support-flag.
3252 (mh-compose-insertion, mh-compose-space-does-completion-flag)
3253 (mh-delete-yanked-msg-window-flag)
3254 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
3255 (mh-letter-complete-function, mh-letter-fill-column)
3256 (mh-mml-method-default, mh-signature-file-name)
3257 (mh-signature-separator-flag, mh-x-face-file)
3258 (mh-yank-behavior, mail-citation-hook)
3259 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
3262 * mh-gnus.el (mml-minibuffer-read-disposition): New function
3263 provided for Emacs 21 environments that lack it.
3265 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
3267 (mh-compose-forward): mh-mh-forward-message requires string arg.
3268 (mh-minibuffer-read-type): New function.
3269 (mh-mhn-args): Rename to mh-mh-to-mime-args.
3270 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
3271 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
3272 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
3273 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
3274 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
3275 (mh-mhn-compose-external-compressed-tar): Rename to
3276 mh-mh-compose-external-compressed-tar. Rename
3277 mh-mhn-compose-external-type to mh-mh-compose-external-type.
3278 (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type.
3279 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
3280 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
3281 Use correct program in message.
3282 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
3283 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
3284 (mh-compose-forward, mh-mh-attach-file)
3285 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3286 (mh-mh-compose-external-type, mh-mh-forward-message)
3287 (mh-mml-attach-file): Use mml-minibuffer-read-description,
3288 mh-minibuffer-read-type.
3289 (mh-mime-content-types): Move comment about only being used in
3290 Emacs 20 to docstring.
3291 (mh-mh-compose-external-type): Rename extra-param argument to
3293 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
3294 (mh-mime-display-part, mh-mime-display-single): Rename
3295 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
3296 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
3298 (mh-compose-forward): Rename mh-mhn-compose-forw to
3299 mh-mh-forward-message.
3300 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
3302 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
3303 (mh-mh-attach-file, mh-mh-compose-type)
3304 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3305 (mh-mh-compose-external-compressed-tar)
3306 (mh-mh-compose-external-type, mh-mh-forward-message)
3307 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
3308 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
3309 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
3310 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3311 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
3312 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
3313 Sync docstrings with manual.
3315 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
3316 mh-pgp-support-flag.
3318 2005-10-17 Peter S Galbraith <psg@debian.org>
3320 * mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case'
3321 to compare against header field for mixed-case "From:".
3323 2005-10-17 Bill Wohler <wohler@newt.com>
3325 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
3326 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
3327 to mail/compose, fld_open to fld-open.
3328 (mh-letter-tool-bar-map): Rename image file mail_send to
3331 2005-10-16 Bill Wohler <wohler@newt.com>
3333 * mh-comp.el (mh-display-completion-list-compat): New macro which
3334 calls `display-completion-list' correctly in older environments.
3335 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
3337 (mh-complete-word): Use it.
3339 * mh-init.el (mh-image-load-path): Use locate-library to find
3340 MH-E. This simplified the code a lot. Flattened out nested
3341 statements even more.
3343 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
3345 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
3346 causes a compiler warning.
3348 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
3349 the message to be viewed (closes SF #1306141).
3351 2005-10-16 Masatake YAMATO <jet@gyve.org>
3353 * mh-comp.el (mh-complete-word): Pass the common prefix substring
3354 of completion to `display-completion-list'.
3356 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
3358 * mh-init.el (mh-image-load-path-called-flag): New variable which
3359 is used by mh-image-load-path so that it runs only once.
3360 (mh-image-load-path): Modify so that it gets run only once. Also
3361 flatten out heavily nested if statements to make it clearer.
3363 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
3364 to find images used in the toolbar.
3366 * mh-customize.el (:folder): Remove call to mh-image-load-path.
3368 2005-10-14 Bill Wohler <wohler@newt.com>
3370 * mh-e.el (Version, mh-version): Add +cvs to version.
3372 2005-10-14 Bill Wohler <wohler@newt.com>
3374 Released MH-E version 7.85.
3376 * mh-e.el (Version, mh-version): Update for release 7.85.
3378 2005-10-14 Bill Wohler <wohler@newt.com>
3380 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
3381 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
3382 need to be indented.
3384 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
3385 but the code that invoked the face had not been updated. Tick
3386 highlighting working again.
3388 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
3389 make-variable-buffer-local call to top level to avoid warnings in
3392 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
3395 2005-10-09 Bill Wohler <wohler@newt.com>
3397 * mh-init.el (mh-image-load-path): New function that adds the path
3398 to the MH-E images to the image-load-path or load-path depending
3399 on the version of Emacs.
3401 * mh-customize.el: Call mh-image-load-path just before
3402 mh-tool-bar-define so that the toolbar images can be found.
3404 2005-10-04 Bill Wohler <wohler@newt.com>
3406 * ChangeLog: Move contents into ChangeLog.1 and trim.
3408 * ChangeLog.1: New file. Contains old ChangeLog.
3411 Copyright (C) 2005-2011 Free Software Foundation, Inc.
3413 This file is part of GNU Emacs.
3415 GNU Emacs is free software: you can redistribute it and/or modify
3416 it under the terms of the GNU General Public License as published by
3417 the Free Software Foundation, either version 3 of the License, or
3418 (at your option) any later version.
3420 GNU Emacs is distributed in the hope that it will be useful,
3421 but WITHOUT ANY WARRANTY; without even the implied warranty of
3422 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3423 GNU General Public License for more details.
3425 You should have received a copy of the GNU General Public License
3426 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
3430 ;; sentence-end-double-space: nil
3431 ;; add-log-time-zone-rule: t