1 2006-03-14 Bill Wohler <wohler@newt.com>
3 * mh-compat.el (mh-image-load-path-for-library): Incorporate
4 changes from image-load-path-for-library, which are:
5 (image-load-path-for-library): Pass value of path rather than
6 symbol. Always return list of directories. Guarantee that image
9 * mh-e.el (image-load-path): Define on those Emacsen that lack it
10 to avoid compile and run-time errors.
12 * mh-folder.el (mh-folder-mode): Use new idiom for setting
15 * mh-letter.el (mh-letter-mode): Ditto.
17 * mh-utils.el (mh-logo-display): Ditto.
19 2006-03-12 Bill Wohler <wohler@newt.com>
21 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
24 2006-03-10 Bill Wohler <wohler@newt.com>
26 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
27 flag to replace-in-string. This was badly needed by
28 mh-quote-pick-expr in order to properly quote subjects when using
29 / s on XEmacs (closes SF #1447598).
30 (mh-image-load-path-for-library): Merged changes from Reiner. Add
31 no-error argument. If path t, just return directory.
33 * mh-e.el (mh-profile-component): Drop `s' from mhparam
34 -components for Mailutils compatibility (closes SF #1446985).
36 2006-03-06 Bill Wohler <wohler@newt.com>
38 * mh-e.el (Version, mh-version): Add +cvs to version.
40 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
42 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
43 handling of duplicate messages. The test in cond was too strong
44 and wasn't catching the case where origin-map was nil.
46 2006-03-05 Bill Wohler <wohler@newt.com>
48 Release MH-E version 7.93.
50 * mh-e.el (Version, mh-version): Update for release 7.93.
52 2006-03-05 Bill Wohler <wohler@newt.com>
54 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
55 calling mh-image-load-path-for-library since this is the default.
57 * mh-letter.el (mh-letter-mode): Ditto.
59 * mh-utils.el (mh-logo-display): Ditto.
61 2006-03-04 Bill Wohler <wohler@newt.com>
63 * mh-compat.el (mh-image-load-path-for-library): Move here from
64 mh-utils.el and wrap with mh-defun-compat since this function will
65 be soon added to image.el.
67 * mh-utils.el (mh-image-load-path-for-library): Move to
69 (mh-normalize-folder-name): Add return-nil-if-folder-empty
70 argument which is useful when calling mh-normalize-folder-name to
71 process the folder argument for the folders command.
72 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
73 this function more robust. It could too easily list the folders in
75 (mh-folder-list): Fix a couple of problems pointed out by Thomas
76 Baumann. Set folder to nil if empty. Don't append "/" if folder
79 2006-03-03 Bill Wohler <wohler@newt.com>
81 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
82 mh-image-load-path-for-library.
84 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
85 mh-image-load-path-for-library.
87 * mh-utils.el (mh-image-load-path): Rename to
88 mh-image-load-path-for-library. Add example to docstring. Rename
89 local variable mh-image-directory to image-directory. Move error
90 checks to default case in cond and simplify.
92 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
93 docstrings with manual.
95 2006-03-02 Bill Wohler <wohler@newt.com>
97 * mh-folder.el (mh-tool-bar-init): Autoload.
98 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
99 Set scoped variables image-load-path and load-path with updated
100 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
102 * mh-letter.el (mh-tool-bar-init): Autoload.
103 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
104 Set scoped variables image-load-path and load-path with updated
105 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
107 * mh-show.el (mh-tool-bar-init): Autoload.
108 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
111 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
112 messages per conventions.
113 (mh-tool-bar-folder-buttons-init)
114 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
115 (mh-tool-bar-define call): Format.
117 * mh-utils.el (mh-image-directory)
118 (mh-image-load-path-called-flag): Delete.
119 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
120 changes are that it no longer uses/sets mh-image-directory or
121 mh-image-load-path-called-flag, and returns the updated path
122 rather than change it.
123 (mh-logo-display): Change usage of mh-image-load-path.
125 2006-02-28 Bill Wohler <wohler@newt.com>
127 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
128 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
129 to subjects with special characters by quoting regular expression
130 characters in pick expression derived from existing subjects and
131 other fields (closes SF #1432548).
132 (mh-narrow-to-subject): Remove Re: string from subject so that
133 pick can find originating message (closes SF #1438369).
135 * mh-utils.el (mh-image-load-path): Rename variable to
137 (mh-image-load-path): Access mh-image-directory instead of
139 (mh-folder-list): Fix problem with passing in a folder and getting
140 nothing back. Fix problem with passing in empty string and getting
141 the entire filesystem (or infinite loop). Don't append slash to
142 folder. These fixes fix problems observed with the pick search.
143 Thanks to Thomas Baumann for the help (closes SF #1435381).
144 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
145 function for quoting pick regular expression characters (closes SF
148 2006-02-27 Bill Wohler <wohler@newt.com>
150 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
153 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
154 docstring about obsolete variable mh-mime-content-types.
156 * mh-e.el (mh-variant): Sync docstring with manual.
157 (cus-face): Require as it is needed by mh-inherit-face-flag.
159 * mh-compat.el (mh-display-color-cells): Return 2 if
160 device-color-cells returns nil (closes SF #1436924).
162 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
163 mh-display-color-cells.
165 2006-02-21 Eric Ding <ericding@alum.mit.edu>
167 * mh-e.el (mh-invisible-header-fields-internal): Add entry
170 2006-02-20 Eric Ding <ericding@alum.mit.edu>
172 * mh-e.el (mh-invisible-header-fields-internal): Add entries
173 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
174 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
175 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
176 "X-Roving-" by removing unnecessary "*" at end.
178 2006-02-19 Bill Wohler <wohler@newt.com>
180 * mh-alias.el (mh-address-mail-regexp)
181 (mh-goto-address-find-address-at-point): Delete copies from
183 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
184 mh-address-mail-regexp.
185 (mh-alias-add-address-under-point): Use
186 goto-address-find-address-at-point instead of
187 mh-goto-address-find-address-at-point.
189 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
191 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
193 (mh-show-addr): Call goto-address unconditionally. User should use
194 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
196 2006-02-18 Bill Wohler <wohler@newt.com>
198 * mh-e.el (Version, mh-version): Add +cvs to version.
200 2006-02-18 Bill Wohler <wohler@newt.com>
202 Release MH-E version 7.92.
204 * mh-e.el (Version, mh-version): Update for release 7.92.
206 2006-02-17 Bill Wohler <wohler@newt.com>
208 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
209 backgrounds per Mark's suggestion.
211 * mh-utils.el (mh-image-load-path): Fix problem that images on
212 load-path or image-load-path would win over relative paths (newer
213 MH-E or Emacs distribution).
215 2006-02-16 Bill Wohler <wohler@newt.com>
217 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
218 the defface :inherit keyword is available.
219 (mh-face-data): New variable (contains all face specs) and
221 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
222 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
223 (mh-folder-msg-number, mh-folder-refiled)
224 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
225 (mh-folder-subject, mh-folder-tick, mh-folder-to)
226 (mh-search-folder, mh-letter-header-field, mh-show-cc)
227 (mh-show-date, mh-show-from)
228 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
229 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
230 (mh-show-to, mh-show-xface, mh-speedbar-folder)
231 (mh-speedbar-folder-with-unseen-messages)
232 (mh-speedbar-selected-folder)
233 (mh-speedbar-selected-folder-with-unseen-messages): Use
236 * mh-utils.el (mh-image-load-path): The variables image-load-path
237 or load-path would not get updated if user set mh-image-load-path.
238 Moved tests and add-to-list calls outside of cond so they are
239 applied consistently, even if they are redundant in some
240 circumstances. Efficiency isn't a concern here. Made error
241 messages more user-friendly.
243 2006-02-15 Peter S Galbraith <psg@debian.org>
245 * mh-compat.el (mh-image-search-load-path): Compatibility code.
246 Emacs 21 and XEmacs don't have `image-search-load-path'.
248 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
249 images are already found.
251 2006-02-10 Bill Wohler <wohler@newt.com>
253 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
254 rather than use defun*. XEmacs cannot create a proper autoload for
257 2006-02-09 Bill Wohler <wohler@newt.com>
259 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
260 that causes an infinite loop on XEmacs.
262 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
265 2006-02-08 Peter S Galbraith <psg@debian.org>
267 * mh-e.el (mh-invisible-header-fields-internal): Added entries
268 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
270 2006-02-04 Bill Wohler <wohler@newt.com>
272 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
273 has an emacsclient command that supports --eval. I had read that
274 gnudoit was deprecated in favor of gnuclient anyway.
276 2006-02-04 Eric Ding <ericding@alum.mit.edu>
278 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
279 handle OpenOffice documents.
281 2006-02-03 Bill Wohler <wohler@newt.com>
283 * mh-e.el (Version, mh-version): Add +cvs to version.
285 2006-02-03 Bill Wohler <wohler@newt.com>
287 Release MH-E version 7.91.
289 * mh-e.el (Version, mh-version): Update for release 7.91.
291 2006-02-03 Bill Wohler <wohler@newt.com>
293 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
294 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
295 of local variable mh-library-name.
297 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
298 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
299 88) with (min-colors 64) in face specifications so that MH-E still
300 looks good on systems with fewer colors (such as Eric Ding's).
302 2006-02-03 Peter S Galbraith <psg@debian.org>
304 * mh-utils.el (mh-image-load-path): New variable to optionally
305 hold the directory where MH-E images are stored. If nil, then
306 the function `mh-image-load-path' will find it. This variable
307 will be used for Debian packaging.
308 (mh-image-load-path function): Use variable `mh-image-load-path'
309 if non-nil and exists.
311 2006-02-03 Mark D. Baushke <mdb@gnu.org>
313 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
314 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
315 errors if describe-bindings is called before tool-bar-mode is used.
317 2006-02-03 Peter S Galbraith <psg@debian.org>
319 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
320 `mh-url-unresrved-chars'.
322 2006-02-02 Bill Wohler <wohler@newt.com>
324 * mh-e.el (Version, mh-version): Add +cvs to version.
326 2006-02-02 Bill Wohler <wohler@newt.com>
328 Release MH-E version 7.90.
330 * mh-e.el (Version, mh-version): Update for release 7.90.
332 2006-02-01 Bill Wohler <wohler@newt.com>
334 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
336 * mh-alias.el (mh-alias-gecos-name): Use
337 mh-replace-regexp-in-string instead of replace-regexp-in-string.
338 (crm, multi-prompt): Use mh-require instead of require.
339 (mh-goto-address-find-address-at-point): Use
340 mh-line-beginning-position and mh-line-end-position instead of
341 line-beginning-position and line-end-position. Use
342 mh-match-string-no-properties instead of
343 match-string-no-properties.
345 * mh-comp.el (mh-modify-header-field): Use
346 mh-line-beginning-position and mh-line-end-position instead of
347 line-beginning-position and line-end-position.
349 * mh-compat.el (mailabbrev): Use mh-require instead of require.
350 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
351 (mh-face-background): Make docstring consistent.
352 (mh-require, mh-cancel-timer, mh-display-color-cells)
353 (mh-line-beginning-position, mh-line-end-position)
354 (mh-match-string-no-properties, mh-replace-regexp-in-string)
355 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
356 add mh- prefix since compatibility functions should have our
357 package prefix (mh-) by Emacs convention and to avoid messing up
358 checks for the same functions in other packages.
360 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
361 from mh-xemacs.el and rename.
362 (mh-xargs): Use mh-line-beginning-position and
363 mh-line-end-position instead of line-beginning-position and
365 (mh-defface-compat): Use mh-display-color-cells instead of
368 * mh-folder.el (which-func): Use mh-require instead of require.
370 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
373 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
374 mh-require instead of require.
376 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
377 (mh-letter-next-header-field): Use mh-line-beginning-position and
378 mh-line-end-position instead of line-beginning-position and
381 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
382 mh-match-string-no-properties instead of
383 match-string-no-properties.
384 (mh-narrow-to-header-field): Use mh-line-beginning-position and
385 mh-line-end-position instead of line-beginning-position and
388 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
389 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
390 mh-line-beginning-position and mh-line-end-position instead of
391 line-beginning-position and line-end-position.
393 * mh-search.el (which-func): Use mh-require instead of require.
394 (mh-make-pick-template, mh-index-visit-folder)
395 (mh-pick-parse-search-buffer, mh-swish-next-result)
396 (mh-mairix-next-result, mh-namazu-next-result)
397 (mh-pick-next-result, mh-grep-next-result)
398 (mh-index-create-imenu-index, mh-index-match-checksum)
399 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
400 mh-line-beginning-position and mh-line-end-position instead of
401 line-beginning-position and line-end-position.
403 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
405 (mh-folder-size-flist, mh-parse-flist-output-line)
406 (mh-add-sequence-notation): Use mh-line-beginning-position and
407 mh-line-end-position instead of line-beginning-position and
410 * mh-show.el (mh-show-addr): Use mh-require instead of require.
412 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
413 (mh-speed-view, mh-folder-speedbar-buttons)
414 (mh-speed-highlight, mh-speed-goto-folder)
415 (mh-speed-add-buttons, mh-speed-parse-flists-output)
416 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
417 (mh-speed-add-folder): Use mh-line-beginning-position and
418 mh-line-end-position instead of line-beginning-position and
420 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
422 * mh-thread.el (mh-thread-find-children)
423 (mh-thread-parse-scan-line, mh-thread-generate): Use
424 mh-line-beginning-position and mh-line-end-position instead of
425 line-beginning-position and line-end-position.
427 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
428 instead of display-color-cells.
429 (mh-folder-list): Use mh-replace-regexp-in-string instead of
430 replace-regexp-in-string.
431 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
432 Use mh-line-beginning-position and mh-line-end-position instead of
433 line-beginning-position and line-end-position.
435 * mh-comp.el (mh-send-sub): Don't find components file in current
436 directory--this seems to have been a side-effect of commenting out
437 the use of an old mh-etc variable. Improve error message.
439 2006-01-31 Bill Wohler <wohler@newt.com>
441 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
442 argument since compatibility functions should have our package
443 prefix (mh-) by Emacs convention and to avoid messing up checks
444 for the same functions in other packages. Use explicit argument
445 instead of forming name by adding mh- prefix so that one can grep
446 and find the definition.
448 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
449 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
450 mh-assoc-string instead of assoc-string.
452 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
453 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
454 here from mh-utils.el.
455 (mh-display-completion-list): Move here from mh-comp.el.
456 (mh-face-foreground, mh-face-background): Move here from
458 (mh-write-file-functions): Move here from mh-folder.el
460 * mh-folder.el (mh-write-file-functions-compat): Move to
461 mh-compat.el and rename to mh-write-file-functions.
462 (mh-folder-mode): Use the new name.
464 * mh-gnus.el (gnus-local-map-property): Rename to
465 mh-gnus-local-map-property.
466 (mm-merge-handles): Rename to mh-mm-merge-handles.
467 (mm-set-handle-multipart-parameter): Rename to
468 mh-mm-set-handle-multipart-parameter.
469 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
470 (mm-possibly-verify-or-decrypt): Rename to
471 mh-mm-possibly-verify-or-decrypt.
472 (mm-handle-multipart-ctl-parameter): Rename to
473 mh-mm-handle-multipart-ctl-parameter.
474 (mm-readable-p): Rename to mh-mm-readable-p.
475 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
476 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
477 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
478 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
479 (mml-minibuffer-read-disposition): Rename to
480 mh-mml-minibuffer-read-disposition.
482 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
483 instead of assoc-string.
485 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
486 (mh-mime-display, mh-mime-display-security)
487 (mh-insert-mime-button, mh-insert-mime-security-button)
488 (mh-handle-set-external-undisplayer)
489 (mh-mime-security-press-button, mh-mime-security-show-details)
490 (mh-mml-attach-file, mh-mime-cleanup)
491 (mh-destroy-postponed-handles): Use new mh-* names for
492 compatibility functions.
494 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
495 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
496 (mh-beginning-of-word): Use the new name.
497 (mh-get-field): Delete ancient alias.
499 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
500 and rename to mh-face-foreground
501 (mh-face-background-compat): Move to mh-compat.el
502 and rename to mh-face-background.
503 (mh-face-display-function): Use the new names.
504 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
505 instead of url-hexify-string.
506 (url-unreserved-chars): Move to mh-compat.el and rename to
507 mh-url-unreserved-chars.
508 (url-hexify-string): Move to mh-compat.el and rename to
509 mh-url-hexify-string.
511 * mh-letter.el (mh-complete-word): Fix bug in call to
512 mh-display-completion-list. Wrong argument was passed, so
513 completions wouldn't show highlighted prefix.
515 2006-01-29 Bill Wohler <wohler@newt.com>
517 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
518 mh-adaptive-cmd-note-flag.
520 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
521 docstring. sc-cite-original is autoloaded via loaddefs.el for all
522 supported versions. In addition, the package name "sc" has been
523 made obsolete by "supercite since at least Emacs 21.
525 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
526 revealed character constants that were still strings (closes SF
529 * mh-comp.el (mh-letter-hide-all-skipped-fields)
530 (mh-get-header-field): Move to mh-utils.el so that you can read
531 messages without having to load mh-comp.el and mh-letter.el.
533 * mh-letter.el (mh-hidden-header-keymap)
534 (mh-letter-toggle-header-field-display)
535 (mh-letter-skipped-header-field-p)
536 (mh-letter-skip-leading-whitespace-in-header-field)
537 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
538 can read messages without having to load mh-comp.el and
541 * mh-utils.el (mh-get-header-field)
542 (mh-letter-hide-all-skipped-fields)
543 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
544 (mh-letter-toggle-header-field-display)
545 (mh-letter-skip-leading-whitespace-in-header-field)
546 (mh-letter-truncate-header-field): Move here from mh-comp.el and
547 mh-letter.el so that you can read messages without having to load
548 mh-comp.el and mh-letter.el.
550 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
551 least, will deliver them to us.
553 * mh-e.el (mh-after-commands-processed-hook)
554 (mh-before-commands-processed-hook): Specify what sort of requests
557 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
560 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
562 (mh-letter-mode): Remove Mail menu.
564 2006-01-29 Bill Wohler <wohler@newt.com>
567 Remove circular dependencies. mh-e.el now includes few require
568 statements and stands alone. Other files should need to require
569 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
571 Remove unneeded require statements.
572 Remove unneeded load statements, or replace them with non-fatal
574 Break out components into their own files that were often spread
576 As a result, many functions that are now only used within a single
577 file no longer need to be autoloaded.
578 Rearrange and provide consistent headings.
581 * mh-acros.el: Update commentary to reflect current usage. Add
582 autoload cookies to all macros.
583 (mh-require-cl): Merge docstring and comment.
584 (mh-do-in-xemacs): Fix typo in docstring.
585 (assoc-string): Move to new file mh-compat.el.
586 (with-mh-folder-updating, mh-in-show-buffer)
587 (mh-do-at-event-location, mh-seq-msgs): Move here from
589 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
592 * mh-alias.el (mh-address-mail-regexp)
593 (mh-goto-address-find-address-at-point): Move here from
595 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
597 * mh-buffers.el: Update descriptive text.
599 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
601 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
602 (mh-letter-menu, mh-letter-mode-help-messages)
603 (mh-letter-buttons-init-flag, mh-letter-mode)
604 (mh-font-lock-field-data, mh-letter-header-end)
605 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
606 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
607 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
608 (mh-filter-out-non-text, mh-insert-prefix-string)
609 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
610 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
611 (mh-letter-complete, mh-letter-complete-or-space)
612 (mh-letter-confirm-address, mh-letter-header-field-at-point)
613 (mh-letter-next-header-field-or-indent)
614 (mh-letter-next-header-field, mh-letter-previous-header-field)
615 (mh-letter-skipped-header-field-p)
616 (mh-letter-skip-leading-whitespace-in-header-field)
617 (mh-hidden-header-keymap)
618 (mh-letter-toggle-header-field-display-button)
619 (mh-letter-toggle-header-field-display)
620 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
622 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
623 (mh-pgp-support-flag, mh-x-mailer-string)
624 (mh-letter-header-field-regexp): Move to mh-e.el.
625 (mh-goto-header-field, mh-goto-header-end)
626 (mh-extract-from-header-value, mh-beginning-of-word): Move to
628 (mh-insert-header-separator): Move to mh-comp.el.
629 (mh-display-completion-list-compat): Move to new file
632 * mh-compat.el: New file.
633 (assoc-string): Move here from mh-acros.el.
634 (mh-display-completion-list): Move here from mh-comp.el.
636 * mh-customize.el: Move content into mh-e.el and remove.
638 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
639 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
640 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
641 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
642 declared here so that they can be used in docstrings.
643 (mh-sent-from-folder, mh-sent-from-msg)
644 (mh-letter-header-field-regexp, mh-pgp-support-flag)
645 (mh-x-mailer-string): Move here from mh-comp.el.
646 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
647 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
649 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
650 (mh-previous-window-config, mh-seen-list, mh-seq-list)
651 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
652 (mh-show-folder-buffer, mh-mail-header-separator)
653 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
654 (mh-signature-separator, mh-signature-separator-regexp)
655 (mh-list-to-string, mh-list-to-string-1): Move here from
657 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
658 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
659 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
661 (mh-exchange-point-and-mark-preserving-active-mark)
662 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
663 deprecated file mh-exec.el.
664 (mh-path): Move here from deprecated file mh-customize.el.
665 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
666 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
667 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
668 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
669 (mh-profile-component-value, mh-defface-compat): Move here from
670 deprecated file mh-init.el.
671 (mh-goto-next-button, mh-folder-mime-action)
672 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
673 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
675 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
676 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
677 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
678 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
679 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
680 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
681 (mh-scan-cmd-note-width, mh-scan-destination-width)
682 (mh-scan-date-width, mh-scan-date-flag-width)
683 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
684 (mh-scan-field-destination-offset)
685 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
686 (mh-scan-field-subject-start-offset, mh-scan-format)
687 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
689 (mh-partial-folder-mode-line-annotation)
690 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
691 (mh-generate-sequence-font-lock, mh-last-destination)
692 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
693 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
694 (mh-execute-commands, mh-first-msg, mh-header-display)
695 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
696 (mh-folder-from-address, mh-prompt-for-refile-folder)
697 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
698 (mh-previous-page, mh-previous-undeleted-msg)
699 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
700 (mh-reset-threads-and-narrowing, mh-rescan-folder)
701 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
702 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
703 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
704 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
705 (mh-folder-sequence-menu, mh-folder-message-menu)
706 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
707 (mh-write-file-functions-compat, mh-folder-mode)
708 (mh-restore-desktop-buffer, mh-scan-folder)
709 (mh-regenerate-headers, mh-generate-new-cmd-note)
710 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
711 (mh-process-or-undo-commands, mh-process-commands)
712 (mh-update-unseen, mh-delete-scan-msgs)
713 (mh-outstanding-commands-p): Move to new file mh-folder.el.
714 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
715 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
716 (mh-lessp): Move to mh-utils.el.
717 (mh-parse-flist-output-line, mh-folder-size-folder)
718 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
719 (mh-remove-sequence-notation, mh-remove-cur-notation)
720 (mh-remove-all-notation, mh-delete-seq-locally)
721 (mh-read-folder-sequences, mh-read-msg-list)
722 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
723 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
724 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
725 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
727 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
728 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
729 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
730 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
731 (mh-faces, mh-alias-completion-ignore-case-flag)
732 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
733 (mh-alias-insert-file, mh-alias-insertion-location)
734 (mh-alias-local-users, mh-alias-local-users-prefix)
735 (mh-alias-passwd-gecos-comma-separator-flag)
736 (mh-new-messages-folders, mh-ticked-messages-folders)
737 (mh-large-folder, mh-recenter-summary-flag)
738 (mh-recursive-folders-flag, mh-sortm-args)
739 (mh-default-folder-for-message-function, mh-default-folder-list)
740 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
741 (mh-identity-list, mh-auto-fields-list)
742 (mh-auto-fields-prompt-flag, mh-identity-default)
743 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
744 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
745 (mh-junk-background, mh-junk-disposition, mh-junk-program)
746 (mh-compose-insertion, mh-compose-skipped-header-fields)
747 (mh-compose-space-does-completion-flag)
748 (mh-delete-yanked-msg-window-flag)
749 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
750 (mh-letter-complete-function, mh-letter-fill-column)
751 (mh-mml-method-default, mh-signature-file-name)
752 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
753 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
754 (mh-scan-format-file-check, mh-scan-format-file)
755 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
756 (mh-search-program, mh-compose-forward-as-mime-flag)
757 (mh-compose-letter-function, mh-compose-prompt-flag)
758 (mh-forward-subject-format, mh-insert-x-mailer-flag)
759 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
760 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
761 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
762 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
763 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
764 (mh-display-buttons-for-inline-parts-flag)
765 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
766 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
767 (mh-highlight-citation-style)
768 (mh-invisible-header-fields-internal)
769 (mh-delay-invisible-header-generation-flag)
770 (mh-invisible-header-fields, mh-invisible-header-fields-default)
771 (mh-invisible-header-fields-compiled, mh-invisible-headers)
772 (mh-lpr-command-format, mh-max-inline-image-height)
773 (mh-max-inline-image-width, mh-mhl-format-file)
774 (mh-mime-save-parts-default-directory, mh-print-background-flag)
775 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
776 (mh-show-use-xface-flag, mh-store-default-directory)
777 (mh-summary-height, mh-speed-update-interval)
778 (mh-show-threads-flag, mh-tool-bar-search-function)
779 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
780 (mh-before-commands-processed-hook, mh-before-quit-hook)
781 (mh-before-send-letter-hook, mh-delete-msg-hook)
782 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
783 (mh-inc-folder-hook, mh-insert-signature-hook)
784 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
785 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
786 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
787 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
788 (mh-folder-address, mh-folder-body)
789 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
790 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
791 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
792 (mh-folder-subject, mh-folder-tick, mh-folder-to)
793 (mh-search-folder, mh-letter-header-field, mh-show-cc)
794 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
795 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
796 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
797 (mh-speedbar-folder-with-unseen-messages)
798 (mh-speedbar-selected-folder)
799 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
800 deprecated file mh-customize.el.
802 * mh-exec.el: Move content into mh-e.el and remove.
804 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
806 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
808 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
810 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
811 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
812 to mail-abbrev-make-syntax-table.
814 * mh-identity.el (mh-identity-menu): New variable for existing
816 (mh-identity-make-menu-no-autoload): New alias for
817 mh-identity-make-menu which can be called from mh-e.el.
818 (mh-identity-list-set): Move to mh-e.el.
819 (mh-identity-add-menu): New function
820 (mh-insert-identity): Add optional argument maybe-insert so that
821 local variable mh-identity-local does not have to be visible.
822 (mh-identity-handler-default):
824 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
825 rest of keymaps). Update key binding for ? to call mh-help with
826 help messages in new argument.
827 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
828 which can be called from mh-e.el.
829 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
831 * mh-init.el: Move content into mh-e.el and remove.
833 * mh-junk.el: Update requires, untabify, and add mh-autoload
836 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
838 * mh-limit.el: New file. Contains display limit commands from
841 * mh-mime.el: Rearrange for consistency with other files.
842 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
844 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
845 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
846 (mh-goto-next-button): Move here from mh-e.el.
848 * mh-print.el: Rearrange for consistency with other files.
850 * mh-scan.el: New file. Contains scan line constants and utilities
851 from XXX, mh-funcs, mh-utils.el.
853 * mh-search.el: Rearrange for consistency with other files.
854 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
855 fields which don't exist in the saved header. Replace C-c C-f f
856 with C-c C-f m per mail-mode consistency.
857 (mh-search-mode): Use mh-set-help instead of setting
860 * mh-seq.el (mh-thread-message, mh-thread-container)
861 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
862 (mh-thread-id-index-map, mh-thread-index-id-map)
863 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
864 (mh-thread-subject-container-hash, mh-thread-duplicates)
865 (mh-thread-history, mh-thread-body-width)
866 (mh-thread-find-msg-subject mh-thread-initialize-hash)
867 (mh-thread-initialize, mh-thread-id-container)
868 (mh-thread-remove-parent-link, mh-thread-add-link)
869 (mh-thread-ancestor-p, mh-thread-get-message-container)
870 (mh-thread-get-message, mh-thread-canonicalize-id)
871 (mh-thread-prune-subject, mh-thread-container-subject)
872 (mh-thread-rewind-pruning, mh-thread-prune-containers)
873 (mh-thread-sort-containers, mh-thread-group-by-subject)
874 (mh-thread-process-in-reply-to, mh-thread-set-tables)
875 (mh-thread-update-id-index-maps, mh-thread-generate)
876 (mh-thread-inc, mh-thread-generate-scan-lines)
877 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
878 (mh-thread-add-spaces, mh-thread-print-scan-lines)
879 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
880 (mh-thread-current-indentation-level, mh-thread-next-sibling)
881 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
882 (mh-thread-ancestor, mh-thread-find-children)
883 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
884 to new file mh-thread.el.
885 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
886 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
887 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
888 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
889 (mh-current-message-header-field, mh-narrow-to-range)
890 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
892 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
894 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
895 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
896 (mh-define-sequence, mh-undefine-sequence)
897 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
898 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
899 (mh-parse-flist-output-line, mh-read-folder-sequences)
900 (mh-read-msg-list, mh-notate-user-sequences)
901 (mh-remove-cur-notation, mh-add-sequence-notation)
902 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
904 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
905 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
907 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
909 * mh-speed.el: Rearrange for consistency with other files.
911 * mh-thread.el: New file. Contains threading code from mh-seq.el.
913 * mh-tool-bar.el: New file. Contains tool bar creation code from
914 deprecated file mh-customize.el.
916 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
918 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
919 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
920 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
921 (mh-update-scan-format, mh-msg-num-width): Move to new file
923 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
924 (mh-header-field-font-lock, mh-header-to-font-lock)
925 (mh-header-cc-font-lock, mh-header-subject-font-lock)
926 (mh-show-font-lock-keywords)
927 (mh-show-font-lock-keywords-with-cite)
928 (mh-show-font-lock-fontify-region)
929 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
930 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
931 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
932 (mh-show-sequence-menu, mh-show-message-menu)
933 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
934 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
935 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
937 (mh-mail-header-separator, mh-signature-separator-regexp)
938 (mh-signature-separator, mh-globals-hash, mh-user-path)
939 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
940 (mh-previous-window-config, mh-current-folder mh-show-buffer)
941 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
942 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
943 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
944 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
945 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
947 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
948 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
949 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
950 Move to new file mh-folder.el.
951 (with-mh-folder-updating, mh-in-show-buffer)
952 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
953 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
954 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
956 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
957 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
958 (mh-face-background-compat, mh-face-display-function)
959 (mh-show-xface, mh-picon-directory-list)
960 (mh-picon-existing-directory-list)
961 (mh-picon-cache, mh-picon-image-types)
962 (mh-picon-set-directory-list, mh-picon-get-image)
963 (mh-picon-file-contents, mh-picon-generate-path)
964 (mh-x-image-cache-directory, mh-x-image-scaling-function)
965 (mh-wget-executable, mh-wget-choice, mh-wget-option)
966 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
967 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
968 (mh-x-image-scale-with-convert)
969 (url-unreserved-chars, url-hexify-string)
970 (mh-x-image-url-cache-canonicalize)
971 (mh-x-image-set-download-state, mh-x-image-get-download-state)
972 (mh-x-image-url-fetch-image, mh-x-image-display)
973 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
974 (mh-x-image-url-display): Move to new file mh-xface.el.
975 (mh-logo-display): Call mh-image-load-path.
976 (mh-find-path-run, mh-find-path): Move here from deprecated file
978 (mh-help-messages): Now an alist of modes to an alist of messages.
979 (mh-set-help): New function used to set mh-help-messages
980 (mh-help): Adjust for new format of mh-help-messages. Add
981 help-messages argument.
982 (mh-prefix-help): Refactor to use mh-help.
983 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
985 (mh-clear-sub-folders-cache): New function added to avoid exposing
986 mh-sub-folders-cache variable.
988 * mh-xface.el: New file. Contains X-Face and Face header field
989 display routines from mh-utils.el.
991 2006-01-17 Bill Wohler <wohler@newt.com>
993 * mh-acros.el (assoc-string): Fix typo in argument.
995 2006-01-16 Bill Wohler <wohler@newt.com>
997 * mh-acros.el (require): Remove defadvice of require as defadvice
998 is verboten within Emacs and our implementation was returning the
999 wrong value from require. Upcoming restructuring should make this
1001 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1003 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
1004 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1006 * mh-identity.el (mh-identity-field-handler): Use it.
1008 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1009 (read-from-string string) with (string-to-number string).
1011 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1014 * mh-mime.el (mh-mml-forward-message): Ditto.
1016 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1017 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1018 (mh-openssl-parser, mh-index-update-maps): Ditto.
1020 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1021 (mh-thread-generate): Ditto.
1023 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1025 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1026 mm- functions for proper text=flowed handling (addresses SF
1029 2006-01-15 Bill Wohler <wohler@newt.com>
1031 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1032 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1035 * mh-utils.el (mh-show-limit-map): Ditto.
1037 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1039 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1041 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1042 where they are used.
1044 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1045 needed to help remove dependency on mh-utils.
1047 * mh-exec.el: New file. Move process support routines here from
1050 * mh-init.el (mh-utils): Remove require.
1051 (mh-exec): Add require.
1052 (mh-profile-component, mh-profile-component-value): Move here from
1055 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1056 dependencies on mh-utils.el.
1057 (mh-profile-component, mh-profile-component-value): Move to
1058 mh-init.el since that's the only place that uses them. (Other than
1059 mh-alias.el; I'm thinking that mh-find-path can set variable from
1060 the Aliasfile component like it does the other components).
1061 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1062 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1063 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1064 (defvar, mh-exec-cmd-output)
1065 (mh-exchange-point-and-mark-preserving-active-mark)
1066 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1067 file mh-exec.el so that mh-init.el doesn't have to depend on
1068 mh-utils.el, breaking circular dependency.
1082 * mh-speed.el: Added debugging statements (commented out) around
1083 requires to help find dependency loops. Will remove them when
1084 issues are resolved.
1086 2006-01-14 Bill Wohler <wohler@newt.com>
1088 * mh-customize.el (mh-index): Rename group to mh-search and sort
1089 group definition and options accordingly.
1090 (mh-index-program): Rename to mh-search-program.
1091 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1093 (mh-search-mode-hook): Change group from mh-index to mh-search.
1094 (mh-index-folder): Rename to mh-search-folder. Change group from
1095 mh-index to mh-search.
1097 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1098 to mh-search-folder.
1100 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1101 pick and grep are searchers too but aren't indexed.
1102 (mh-index-execute-search-function): Rename to mh-search-function.
1103 (mh-index-next-result-function): Rename to
1104 mh-search-next-result-function.
1105 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1106 (mh-search): Since redo-search-flag defaults to nil and is of
1107 lesser importance, make it an optional argument and place it after
1108 the folder and search-regexp arguments. Sync docstring with
1110 (mh-search-mode-map): Autoload so that keys are shown in help even
1111 before mh-search is loaded.
1112 (mh-search-mode): Sync docstring with manual.
1113 (mh-index-do-search): Rename argument indexer to searcher. Sync
1114 docstring with manual.
1115 (mh-pick-do-search): Sync docstring with manual.
1116 (mh-index-p): Rename to mh-search-p.
1117 (mh-indexer-choices): Rename to mh-search-choices.
1118 (mh-index-choose): Rename to mh-search-choose. Rename argument
1119 indexer to searcher.
1120 (mh-swish++-execute-search, mh-swish-execute-search)
1121 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1122 read the results" from docstring since these functions don't.
1123 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1125 (mh-index-generate-pretty-name): Prune -search from string so that
1126 folder names for pick searches are the same as those of other
1129 2006-01-13 Bill Wohler <wohler@newt.com>
1131 * mh-acros.el (require): Added Satyaki's comment regarding what
1132 needs to happen to remove this defadvice which caused a little
1133 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1134 advices `require' incorrectly).
1136 * mh-search.el (mh-index-next-result-function): Add format to
1138 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1140 (mh-pick-execute-search): Operate across all folders if no folder
1141 given and recurse folder(s).
1142 (mh-pick-next-result): Handle new output.
1144 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
1145 (mh-children-p, mh-folder-list): New functions.
1147 2006-01-12 Bill Wohler <wohler@newt.com>
1149 * mh-search.el: New file containing contents of mh-index.el and
1150 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1151 pick. Pick no longer sets the "search" sequence. Instead, it
1152 brings up a folder view that we're accustomed to. (closes SF
1154 (mh-index-search): Rename to mh-search.
1155 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1156 the Search to Perform Search and call mh-do-search. Add Search
1157 with Pick menu item.
1158 (mh-do-search): Delete.
1159 (mh-search-mode): Rename from mh-pick-mode.
1160 (MH-Search): Rename mode from MH-Pick.
1161 (mh-search-mode-map): Rename from mh-pick-mode-map.
1162 (mh-search-mode-help-messages): Rename from
1163 mh-pick-mode-help-messages.
1164 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1165 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1166 stay with that choice!
1169 * mh-pick.el: Merge into mh-search.el and delete.
1171 * mh-customize.el (mh-index-program): Change mh-index-search to
1172 mh-search in docstring.
1173 (mh-tool-bar-search-function): Change default from
1174 mh-search-folder to mh-search. Remove mh-search-folder as choice
1175 and rename mh-index-search choice to mh-search. Fix docstring.
1176 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1177 mh-search-folder to mh-search in docstring.
1179 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1180 Indexed Search to Search. Use mh-search instead of
1182 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1183 from mh-show-search-folder to mh-search.
1185 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1186 mh-search-folder no longer creates the search sequence.
1188 * mh-utils.el (mh-show-search-folder): Delete.
1189 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1190 Change s from mh-show-search-folder to mh-search.
1191 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1192 Search to Search. Use mh-search instead of mh-index-search.
1193 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1194 here from deleted mh-index.el.
1196 2006-01-11 Bill Wohler <wohler@newt.com>
1198 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1201 * mh-gnus.el: Require mh-acros.
1202 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1204 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1205 url-hexify-string to remove special characters from filenames
1206 (closes SF #1396499). Note that this invalidates the existing
1207 names in your cache so you might as well remove
1208 ~/Mail/.mhe-x-image-cache/* now.
1209 (url-unreserved-chars, url-hexify-string): Define if not defined.
1210 Copied from url-util.el in Emacs22 for Emacs 21.
1212 * mh-buffers.el: New file. Contains constants and code from
1213 mh-index.el and mh-utils.el.
1223 * mh-seq.el: Require new file mh-buffers.el.
1225 * mh-index.el: Require new file mh-buffers.el.
1226 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1229 * mh-utils.el: Require new file mh-buffers.el.
1230 (mh-temp-buffer, mh-temp-fetch-buffer)
1231 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1232 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1233 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1234 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1236 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1237 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1239 2006-01-10 Bill Wohler <wohler@newt.com>
1241 * mh-comp.el (mh-insert-letter): If you choose a different folder,
1242 the cur message is used. Sync docstring with manual (closes SF
1245 * mh-mime.el (mh-compose-forward): Use standard range argument
1246 instead of messages. Use more powerful mh-read-range instead of
1247 read-string. Sync docstring with manual (close SF #1205890).
1249 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1251 (mh-index-next-folder): Don't back up a line when going backwards
1252 since this skips the current folder heading if point is on the
1253 first message after the folder heading (closes SF #1126188).
1255 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1257 (mh-variants): Note variable isn't meant to be accessed directly;
1258 use function mh-variants instead.
1259 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1260 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1261 them. Updated to use mh-file-command-p which is more accurrate
1262 than file-executable-p which returns t for directories.
1263 (mh-file-command-p): Move here from mh-utils, since
1264 mh-variant-*-info are the only functions to use it.
1265 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1266 function mh-variants instead of variable. More robust.
1267 (mh-find-path-run): Move here from mh-utils.el. Mention that
1268 checking this variable is unnecessary.
1269 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1270 variants and an mhparam command that doesn't work if there isn't
1271 an MH profile, we can't get libdir for running install-mh. So
1272 don't bother. If there's an issue with the environment, direct the
1273 user to install MH and run install-mh (closes SF #835192). Don't
1274 read ~/.mh_profile directly. Use mh-profile-component which uses
1275 mhparam (closes SF #1016027).
1277 * mh-utils.el (mh-get-profile-field): Rename to
1278 mh-profile-component-value. Add colon to search removing
1279 unnecessary addition of colon to field in mh-profile-component.
1280 (mh-profile-component): Modify call to mh-profile-component-value
1281 accordingly. Move next to mh-profile-component-value.
1282 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1283 mh-init.el. It makes sense that code that is only run once per
1284 session (more or less) is in mh-init.el rather than cluttering
1286 (mh-no-install, mh-install): Delete.
1288 * mh-customize.el (mh-folder-msg-number):
1289 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1291 2006-01-09 Bill Wohler <wohler@newt.com>
1293 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1294 patch from Satyaki from SF #1016027.
1296 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1297 message, even if cur sequence is no longer present (closes SF
1300 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1302 (mh-letter-mode): Derive from mail-mode and delete code copied
1303 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1305 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1306 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1307 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1308 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1309 (mh-to-fcc): Move setting of folder argument to interactive
1310 argument as is the norm.
1311 (mh-letter-complete-function-alist): Add mail-reply-to.
1312 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1313 Mail-Followup-To, Reply-To, From).
1315 * mh-customize.el: Use ";; Forward definition." consistently.
1316 Comment declaration to remind programmer to update forward
1317 definition if default changes.
1324 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1327 2006-01-08 Bill Wohler <wohler@newt.com>
1329 Removed code that was marked as Emacs 20 compatible that was
1330 easily found showing how important it is to document such
1331 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1332 peculiarities that you find. Wrapped code for shushing compiler
1333 with (eval-when-compile), sometimes moving the defvars closer to
1334 where they were used.
1336 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1337 instead of mh-replace-in-string as mh-replace-in-string was
1338 replaced by a more appropriate defsubst in mh-xemacs.el.
1340 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1342 (mh-file-is-vcard-p): Removed redundant test.
1344 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1345 with eval-when-compile.
1346 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1347 (mh-invisible-header-fields-default): Add forward definitions.
1348 (mh-invisible-header-fields-default): Alphabetize.
1350 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1352 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1354 (mh-colors-available-p): Just call display-color-cells. It's on
1355 all supported Emacsen (and defaliased on XEmacs).
1359 * mh-init.el: Wrap compiler-shushing defvars with
1362 * mh-identity.el: Don't need (mh-require-cl).
1364 * mh-index.el: Don't need to load executable any more.
1366 * mh-mime.el: Wrap compiler-shushing defvars with
1368 (mh-have-file-command): Initialize variable to 'undefined. Add
1369 docstring. Update function of same name accordingly. Also don't
1370 need to load executable any more.
1371 (mh-mime-content-types): Delete.
1372 (mh-minibuffer-read-type): Prompt user for type if
1373 mh-file-mime-type returns application/octet-stream. Assume we have
1375 (mh-mime-display): Update error message.
1377 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1378 with eval-when-compile.
1380 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1381 with eval-when-compile.
1382 (mh-clean-msg-header): Don't set after-change-functions to nil.
1383 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1386 2006-01-07 Bill Wohler <wohler@newt.com>
1388 * mh-customize.el: Updated Faces documentation in header.
1389 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1390 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1392 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1393 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1396 2006-01-03 Mark D. Baushke <mdb@gnu.org>
1398 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1399 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1401 2006-01-03 Bill Wohler <wohler@newt.com>
1403 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1404 unification. Use single sentence if possible by using semicolon.
1405 Don't end message with punctuation. Don't need format with
1406 message. Quote messages as in docstrings: use `' around symbols,
1407 \" for option choices. Don't use quotes around %s.
1409 * mh-comp.el (mh-complete-word): Ditto.
1411 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1412 (mh-scan-format-file-check): Ditto.
1414 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1415 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1416 (mh-msg-num-width-to-column): Ditto.
1418 * mh-identity.el (mh-identity-field-handler): Ditto.
1420 * mh-index.el (mh-mairix-execute-search)
1421 (mh-swish-execute-search, mh-swish++-execute-search)
1422 (mh-namazu-execute-search): Ditto.
1424 * mh-init.el (mh-variant-set): Ditto.
1426 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1427 (mh-secure-message, mh-mime-display): Ditto.
1429 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1431 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1432 (mh-read-range, mh-thread-container-subject): Ditto.
1434 * mh-utils.el (mh-x-image-scale-and-display)
1435 (mh-prompt-for-folder, mh-handle-process-error)
1436 (mh-list-to-string-1): Ditto.
1438 * mh-comp.el (mh-reply): Use standard default notation in
1439 prompts (closes SF #1275933).
1441 * mh-mime.el (mh-mime-save-parts): Ditto.
1443 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1445 * mh-customize.el (mh-folder-msg-number): Snow is actually
1446 off-white on low color displays which turns to white when bold.
1447 This is unreadable on white backgrounds. Use snow with min-colors
1448 requirement. Use cyan on low-color displays.
1450 * mh-init.el (mh-defface-compat): On low-color displays, delete
1451 the high-color display rather than simply strip the min-colors
1452 requirement since the existing algorithm shadowed the desired
1453 display on low-color displays.
1455 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1458 2006-01-02 Bill Wohler <wohler@newt.com>
1460 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1461 docstring. Does this mean something in a defun?
1463 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1466 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1467 so it reads better in docstring and manual. Sync docstring with
1470 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1472 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1474 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1475 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1476 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1477 (mh-letter-complete-or-space, mh-letter-confirm-address)
1478 (mh-letter-next-header-field-or-indent)
1479 (mh-letter-previous-header-field): Ditto.
1481 * mh-customize.el (mh-alias-completion-ignore-case-flag)
1482 (mh-default-folder-for-message-function, mh-mml-method-default)
1483 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
1484 (mh-show-mode-hook) Ditto.
1486 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
1488 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
1489 (mh-store-msg, mh-store-buffer): Ditto
1491 * mh-index.el (mh-index-search, mh-index-do-search)
1492 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
1494 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
1496 * mh-mime.el (mh-mh-compose-external-compressed-tar)
1497 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
1498 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1499 (mh-mml-secure-message-signencrypt): Ditto
1501 * mh-pick.el (mh-search-folder): Ditto.
1503 * mh-seq.el (mh-widen): Ditto.
1505 * mh-utils.el (mh-show, mh-modify): Ditto.
1507 2006-01-02 Mark D. Baushke <mdb@gnu.org>
1509 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
1511 2006-01-01 Bill Wohler <wohler@newt.com>
1513 * mh-customize.el: Sync docstrings with manual for faces and sort
1514 them alphabetically.
1515 (mh-faces): Move below mh-hooks.
1516 (mh-folder-faces, mh-index-faces, mh-letter-faces)
1517 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
1519 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
1520 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
1521 (mh-folder-body-face, mh-folder-cur-msg-face)
1522 (mh-folder-cur-msg-number-face, mh-folder-date-face)
1523 (mh-folder-followup-face, mh-folder-msg-number-face)
1524 (mh-folder-deleted-face, mh-folder-refiled-face)
1525 (mh-folder-subject-face, mh-folder-address-face)
1526 (mh-folder-scan-format-face, mh-folder-to-face)
1527 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
1528 (mh-show-header-face, mh-show-pgg-good-face)
1529 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
1530 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
1532 (mh-folder-cur-msg): Unused. Delete.
1533 (mh-folder-address): Use defface; inherit from mh-folder-subject.
1534 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
1535 Inherit from mh-folder-msg-number.
1536 (mh-folder-deleted): Use defface. Inherit from
1537 mh-folder-msg-number.
1538 (mh-folder-sent-to-me-hint): New face. Inherit from
1540 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
1541 Use defface. Inherit from mh-folder-followup.
1542 (mh-show-xface): Inherit from mh-show-from and highlight.
1543 (bw-face-generation, bw-toggle-faces)
1544 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
1545 variables, functions for toggling between old and new faces.
1547 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
1548 eval-when-compile. We should probably do this throughout.
1549 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1550 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
1551 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1552 (mh-scan-subject-regexp): Sync docstrings with manual
1553 (mh-scan-format-regexp): Rename to
1554 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
1555 expression. Make expression more like the others (anchored at the
1556 beginning of line). Sync docstrings with manual.
1557 (mh-folder-font-lock-keywords): Use faces directly rather than
1558 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
1559 mh-scan-format-regexp, and within that expression, use faces
1560 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
1561 of mh-folder-date-face and mh-folder-scan-format-face which were
1564 * mh-mime.el (mh-mime-security-button-face): Use faces directly
1565 rather than -face variables.
1567 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
1568 rather than -face variables.
1569 (mh-face-foreground-compat, mh-face-background-compat): New macros.
1570 (mh-face-display-function): Use mh-face-foreground-compat and
1571 mh-face-background-compat to use inherited attributes of
1572 mh-show-xface on Emacs 22 while still working on Emacs 21.
1574 2005-12-28 Bill Wohler <wohler@newt.com>
1576 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
1577 mh-user-agent-compose instead of mh-smail-batch.
1579 2005-12-27 Bill Wohler <wohler@newt.com>
1581 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
1582 suppress creation of folder if it doesn't exist.
1584 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1586 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
1588 2005-12-23 Bill Wohler <wohler@newt.com>
1590 * mh-e.el (mh-folders-changed): Fix typo in docstring.
1592 Follow MH-E Developers Guide conventions. Use `' quotes for Help
1593 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
1594 everything else. Otherwise, you can accidently get links to
1597 2005-12-22 Bill Wohler <wohler@newt.com>
1599 Follow Emacs coding conventions. Use default setting of
1600 emacs-lisp-docstring-fill-column which is 65.
1602 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
1604 * mh-comp.el (mh-letter-mode): Use 60 column width.
1605 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
1607 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
1608 you have added a mail-citation-hook and neither are used if you
1609 use one of the supercite flavors of mh-yank-behavior. Sync
1610 docstrings with manual.
1612 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
1613 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
1614 hook. Use "Hook run by `function'..." instead of "Invoked...".
1615 Sync docstrings with manual.
1616 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
1617 mh-ins-buf-prefix isn't used if you have added a
1618 mail-citation-hook and neither are used if you use one of the
1619 supercite flavors of mh-yank-behavior. Sync docstrings with
1621 (mail-citation-hook): Delete. Use one in sendmail.el.
1622 (mh-signature-file-name, mh-after-commands-processed-hook)
1623 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
1624 (mh-before-quit-hook, mh-before-send-letter-hook)
1625 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
1626 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
1627 (mh-letter-mode-hook)
1628 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
1629 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1630 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
1631 of "Invoked...". Sync docstrings with manual.
1633 * mh-e.el (mh-last-destination, mh-last-destination-folder)
1634 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
1635 (mh-delete-list, mh-refile-list, mh-folders-changed)
1636 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
1637 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
1638 (mh-mode-line-annotation, mh-sequence-notation-history)
1639 (mh-colors-available-flag): Move comment into docstring.
1640 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
1641 (mh-process-commands): Sync docstrings with manual.
1642 (mh-refile-msg): Small doc edit.
1643 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
1644 Rename msg argument to message.
1646 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
1648 * mh-e.el (mh-update-unseen): No longer say "The value of
1649 `foo-hook' is a list of functions to be called, with no arguments,
1650 ...," but rather just "The hook foo-hook is called...".
1652 * mh-mime.el (mh-mh-to-mime): Ditto.
1654 * mh-pick.el (mh-pick-mode): Ditto.
1656 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
1658 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
1660 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
1663 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
1665 * mh-customize.el (mh-after-commands-processed-hook): New
1667 (mh-before-commands-processed-hook): Rename
1668 mh-folder-updated-hook.
1670 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
1671 mh-before-commands-processed-hook, call new
1672 mh-after-commands-processed-hook.
1673 (mh-folders-changed): New variable (for use in
1674 mh-after-commands-processed-hook).
1676 2005-12-19 Bill Wohler <wohler@newt.com>
1696 Follow commenting conventions. Don't use ;;; form so much, except
1697 for headings. Precede headings with page feed. This was mostly
1698 already done, so I made it a convention. Did not update copyright
1699 on a couple of files since this was an insignificant change.
1701 2005-12-18 Bill Wohler <wohler@newt.com>
1703 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
1704 (mh-tool-bar-search-function): Sync docstrings with manual.
1705 (mh-tool-bar-customize): Replace toolbar with tool bar in
1707 (mh-tool-bar-letter-help): Fix manual reference.
1708 (mh-xemacs-use-toolbar-flag): Rename to
1709 mh-xemacs-use-tool-bar-flag. Initialize to
1710 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
1711 (mh-xemacs-toolbar-position): Rename to
1712 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
1713 option (redundant) and change "Same As Default Tool Bar" setting
1714 to nil. Sync docstrings with manual.
1715 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
1716 depending on context.
1717 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
1718 for calling set-specifier. Only look at the value of
1719 mh-xemacs-use-tool-bar-flag.
1720 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
1721 docstrings with manual.
1723 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
1726 * mh-e.el (mh-folder-mode): Ditto.
1728 * mh-utils.el (mh-show-mode): Ditto.
1730 2005-12-15 Bill Wohler <wohler@newt.com>
1732 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
1734 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
1735 (mh-thread-previous-sibling, mh-thread-ancestor)
1736 (mh-thread-delete, mh-thread-refile): Ditto.
1738 2005-12-14 Bill Wohler <wohler@newt.com>
1740 * mh-customize.el (mh-speed-flists-interval): Rename to
1741 mh-speed-update-interval.
1742 (mh-speed-run-flists-flag): Delete. Setting
1743 mh-speed-flists-interval to 0 accomplishes the same thing.
1745 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
1746 mh-speed-update-interval instead of mh-speed-run-flists-flag.
1747 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
1748 docstrings with manual.
1750 2005-12-09 Bill Wohler <wohler@newt.com>
1752 * mh-customize.el (mh-path): Move here from mh-init.el.
1753 (mh-variant): Mention that mh-path can be customized.
1754 (mh-invisible-header-fields-internal): Add X-ContentStamp,
1755 X-MAIL-INFO, and X-UNTD- from NetZero.
1757 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
1759 2005-12-04 Bill Wohler <wohler@newt.com>
1761 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
1762 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
1765 * mh-customize.el (mh-insert-signature-hook): Rename
1766 mh-letter-insert-signature-hook to mh-insert-signature-hook.
1768 * mh-comp.el (mh-insert-signature): Ditto.
1770 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
1771 to nil. Remove t option. Sync docstring with manual (closes SF
1773 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
1774 users can see it, look it up in the manual's index, and discover
1775 mh-fetch-x-image-url (closes SF #831278).
1777 * mh-customize.el (mh-new-messages-folders): Rename from
1778 mh-index-new-messages-folders.
1779 (mh-ticked-messages-folders): Rename from
1780 mh-index-ticked-messages-folders.
1782 * mh-index.el (mh-index-sequenced-messages)
1783 (mh-index-new-messages): Ditto.
1785 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
1786 in the docstrings and made usage consistent. Generally speaking,
1787 "messages in range" and "range of messages" is redundant and just
1788 "range" can be used in most circumstances. Also ensured that
1789 mh-interactive-range was mentioned in all interactive functions
1790 that use a range which describes the range argument for both users
1793 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
1794 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
1795 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
1796 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
1799 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
1802 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
1804 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
1805 (mh-ps-print-msg-file, mh-print-msg): Ditto.
1807 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
1808 (mh-narrow-to-range, mh-toggle-tick): Ditto.
1810 2005-12-01 Bill Wohler <wohler@newt.com>
1812 Rewrote Reading Mail chapter in manual which affected mh-show
1813 customization group and related functions.
1815 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
1816 instead of mh-highlight-citation-p.
1817 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
1818 I think, so use "truncated".
1820 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
1821 section is Folders, not Organizing. Parent of mh-folder-faces is
1822 mh-folder, not mh-show.
1823 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
1824 (mh-thread): New group that corresponds with manual's Threading
1826 (mh-letter-faces): Group's manual section is Editing Drafts, not
1828 (mh-sortm-args): New customization variable that used to be a
1830 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
1831 Move from mh-index group to mh-folders group.
1832 (mh-alias-local-users-prefix, mh-large-folder)
1833 (mh-recursive-folders-flag, mh-before-quit-hook)
1834 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
1835 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
1837 (mh-highlight-citation-style): Rename from
1838 mh-highlight-citation-p. Sync docstrings with manual.
1839 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
1841 (mh-show-threads-flag): Move from mh-show group to mh-thread
1843 (mh-find-path-hook): Move from mh-show group to mh-e group.
1844 (mh-folder-updated-hook): Add to mh-folder group.
1845 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
1846 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
1847 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1848 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1849 (mh-display-buttons-for-inline-parts-flag)
1850 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1851 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1852 (mh-invisible-header-fields-default, mh-invisible-header-fields)
1853 (mh-lpr-command-format, mh-max-inline-image-height)
1854 (mh-max-inline-image-width)
1855 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1856 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1857 (mh-show-use-xface-flag, mh-store-default-directory)
1858 (mh-summary-height, mh-delete-msg-hook
1859 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
1862 (mh-scan-format-mh, mh-scan-good-msg-regexp)
1863 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1864 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
1865 non-fontification instead of non-fontifying.
1866 (mh-header-display): Use mh-mhl-format-file instead of
1867 mhl-formfile. Sync docstrings with manual.
1868 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
1869 count. Sync docstrings with manual.
1870 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
1871 so that message doesn't change when using this command. Sync
1872 docstrings with manual.
1873 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
1874 docstrings with manual.
1875 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
1876 to no-header. Sync docstrings with manual.
1877 (mh-ps-print-map): Delete keybindings for deleted commands
1878 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
1879 (mh-help-messages): Update printing help.
1880 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
1881 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
1882 (mh-prev-button, mh-folder-toggle-mime-part)
1883 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1884 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
1887 * mh-funcs.el (mh-sortm-args): Now a customization option and in
1889 (mh-pipe-msg): Rename include-headers to include-header. Sync
1890 docstrings with manual.
1891 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
1892 (mh-store-msg): Sync docstrings with manual.
1894 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
1895 docstrings with manual.
1896 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
1897 Sync docstrings with manual.
1898 (mh-mm-display-part, mh-mm-inline-message): Use
1899 mh-highlight-citation-style instead of mh-highlight-citation-p.
1900 (mh-press-button): Sync docstrings with manual.
1901 (mh-display-with-external-viewer): Fix default output in
1902 minibuffer. Sync docstrings with manual.
1904 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
1906 (mh-ps-print-color-option): Incorporate docstring from
1908 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
1910 (mh-ps-spool-msg): Slimline docstring. Rename from
1911 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
1913 (mh-ps-print-range): Extract method from common code in
1914 mh-ps-print-msg and mh-ps-print-msg-file.
1915 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
1916 (mh-ps-print-msg-show): Delete. Can use either
1917 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
1918 new code in mh-ps-spool-msg.
1919 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
1920 Sync docstrings with manual.
1921 (mh-ps-print-msg, mh-ps-print-msg-file)
1922 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
1923 docstrings with manual.
1925 * mh-utils.el (mh-show-ps-print-msg-show)
1926 mh-show-ps-print-toggle-mime): Delete.
1927 (mh-show-ps-print-map): Update accordingly.
1928 (mh-show-mode): Use mh-highlight-citation-style instead of
1929 mh-highlight-citation-p.
1930 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
1932 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
1933 docstrings with manual.
1934 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
1935 docstrings with manual.
1937 2005-12-01 Bill Wohler <wohler@newt.com>
1939 * mh-init.el (mh-defface-compat): Checkdoc fix.
1941 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
1942 Bogofilter is lowercase except at beginning of sentence and in
1945 2005-11-04 Bill Wohler <wohler@newt.com>
1947 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
1948 Move to mh-init.el to minimize bulk of mh-customize.el.
1950 * mh-init.el: Modify commentary since file is used for load and
1951 initialization as well as setting and getting the variant.
1952 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
1955 * mh-customize.el: Refactor faces. Move grayscale requirements
1956 last before t. Use uniform line breaks.
1957 (mh-min-colors-defined-flag): New variable.
1958 (mh-defface-compat): New function. Provides backward compatibility
1960 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
1961 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
1962 (mh-folder-body): Use mh-defface-compat.
1964 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
1966 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
1967 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
1968 (mh-folder-to-face): Use the min-colors attribute instead of the
1971 2005-11-03 Bill Wohler <wohler@newt.com>
1973 * mh-customize.el (mh-refile-preserves-sequences-flag)
1974 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
1975 docstrings with manual.
1977 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
1979 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
1980 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
1983 2005-11-01 Bill Wohler <wohler@newt.com>
1985 * mh-comp.el (mh-redist-full-contents) Convert defvar to
1987 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
1988 (mh-reply, mh-send, mh-send-other-window)
1989 (mh-fill-paragraph-function): Sync docstrings with manual.
1990 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
1991 msg argument to message (to make for a better docstring).
1993 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
1994 to defcustom. Rename by adding -flag.
1995 (mh-compose-forward-as-mime-flag)
1996 (mh-compose-letter-function, mh-forward-subject-format)
1997 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
1998 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2001 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2002 (mh-ps-print-msg): Remove debugging messages.
2003 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2004 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2005 after message per conventions.
2007 2005-10-30 Bill Wohler <wohler@newt.com>
2009 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2010 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
2011 docstrings with manual.
2013 * mh-customize.el (mh-compose-space-does-completion-flag)
2014 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2015 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2016 means" to remain checkdoc clean and consistent with Emacs. I
2017 raised this issue with the Emacs developers and Stallman agrees
2018 that "On means" should be allowed in custom docstrings but that
2019 this change requires thought and should wait until after the Emacs
2022 2005-10-28 Bill Wohler <wohler@newt.com>
2024 * mh-comp.el (mh-annotate-msg): Use new variable
2025 mh-scan-field-destination-offset rather than hard-coding 1.
2027 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2029 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2030 functions to check input for mh-adaptive-cmd-note-flag and
2031 mh-scan-format-file respectively.
2032 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2035 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
2036 destination is the -, t, b, c, or n character for Replied, To, cc,
2037 Bcc, or Newsgroups respectively.
2038 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
2039 Call new function mh-msg-num-width-to-column to make leap between
2040 width and column more explicit.
2041 (mh-msg-num-width-to-column): New function that steals logic from
2042 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2043 isn't t since we can't adapt the scan lines in this case.
2044 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2045 make the documentation more clear.
2046 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2047 column, not a width.
2048 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2049 variable mh-scan-field-destination-offset rather than hard-coding
2052 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2053 (mh-notate): Use new variable mh-scan-field-destination-offset
2054 rather than hard-coding 1.
2055 (mh-message-number-width): Rename to mh-msg-num-width to be
2056 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2058 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2059 (mail-citation-hook): Quote URLs in docstrings and precede with
2060 `URL'. The former will suppress checkdoc warnings, the latter will
2061 turn them into hyperlinks in Emacs 22 (I just added the code to do
2063 (mh-scan-format-file): Checkdoc fix.
2065 2005-10-27 Bill Wohler <wohler@newt.com>
2067 * mh-customize.el (mh-adaptive-cmd-note-flag)
2068 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2070 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2071 (mh-note-cur, mh-scan-good-msg-regexp)
2072 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2073 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2074 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2075 (mh-scan-subject-regexp, mh-scan-format-regexp)
2076 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2079 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2081 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2082 of hard-coded string.
2083 (mh-mail-header-separator, mh-signature-separator-regexp): Use
2084 "regular expression" in docstring instead of regexp.
2085 (mh-scan-msg-number-regexp)
2086 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2087 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2088 (mh-cmd-note): Sync docstrings with manual.
2090 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2093 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2095 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2096 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2097 (mh-mml-secure-message-signencrypt): Ditto.
2099 2005-10-24 Bill Wohler <wohler@newt.com>
2101 * mh-gnus.el: Load mml.el in order to see if
2102 mml-minibuffer-read-disposition is defined or not.
2104 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2107 2005-10-23 Miles Bader <miles@gnu.org>
2109 * .arch-inventory: New file.
2111 2005-10-23 Bill Wohler <wohler@newt.com>
2113 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
2114 docstring with manual.
2116 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2117 mh-alias.el and move to mh-acros.el
2119 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2120 mh-identity.el and move to mh-acros.el
2122 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2123 mh-identity.el and mh-alias.el.
2125 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2126 warning in Emacs 22.
2128 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2130 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2131 assoc-string (if the function is available) and falls back on
2132 assoc-ignore-case if assoc-string is not found.
2133 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2134 assoc-ignore-case is a obsolete function in Emacs 22.
2136 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2137 track of whether the tool-bar in mh-folder-mode has been
2139 (mh-folder-mode): Initialize the tool-bar for folders the first
2140 time we get into mh-letter-mode.
2142 * mh-customize.el (mh-buffer-exists-p): New function which tests
2143 presence of buffers of a given mode.
2144 (mh-tool-bar-define): New functions
2145 mh-tool-bar-folder-buttons-init and
2146 mh-tool-bar-letter-buttons-init are defined. These functions are
2147 used to create the tool-bar from the corresponding customizable
2150 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2151 keeps track of whether the tool-bar in mh-letter-mode has been
2153 (mh-letter-mode): Initialize the tool-bar for drafts the first
2154 time we get into mh-letter-mode.
2156 2005-10-23 Bill Wohler <wohler@newt.com>
2158 * mh-comp.el (mh-letter-menu): Rename
2159 mh-mhn-compose-external-compressed-tar to
2160 mh-mh-compose-external-compressed-tar. Rename
2161 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2162 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2163 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2164 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2165 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
2167 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2168 mh-mh-directive-present-p.
2169 (mh-send-letter): Rename mh-mhn-directive-present-p to
2170 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2171 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2172 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2173 mh-mhn-compose-external-compressed-tar to
2174 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2175 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2176 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2177 mh-mh-compose-anon-ftp. Rename
2178 mh-mhn-compose-external-compressed-tar to
2179 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2180 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2181 mh-mh-compose-external-type.
2182 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2183 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
2184 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2185 mh-yank-from-start-of-msg to mh-yank-behavior.
2186 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2187 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2188 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2189 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2190 (mh-letter-complete-or-space, mh-letter-confirm-address)
2191 (mh-letter-next-header-field-or-indent)
2192 (mh-letter-previous-header-field)
2193 (mh-letter-toggle-header-field-display): Sync docstrings with
2196 * mh-customize.el (mh-edit-mhn-hook): Rename to
2198 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2199 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2200 and user-visible values from mhn and Gnus to MH and MML.
2201 (mh-before-send-letter-hook): Add 'ispell-message option.
2202 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2203 mh-pgp-support-flag.
2204 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2205 (mh-delete-yanked-msg-window-flag)
2206 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2207 (mh-letter-complete-function, mh-letter-fill-column)
2208 (mh-mml-method-default, mh-signature-file-name)
2209 (mh-signature-separator-flag, mh-x-face-file)
2210 (mh-yank-behavior, mail-citation-hook)
2211 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2214 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2215 provided for Emacs 21 environments that lack it.
2217 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2219 (mh-compose-forward): mh-mh-forward-message requires string arg.
2220 (mh-minibuffer-read-type): New function.
2221 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2222 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2223 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2224 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2225 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
2226 Rename mh-mhn-compose-external-type to
2227 mh-mh-compose-external-type.
2228 (mh-mhn-compose-external-compressed-tar): Rename to
2229 mh-mh-compose-external-compressed-tar. Rename
2230 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2231 (mh-mhn-compose-external-type): Rename to
2232 mh-mh-compose-external-type.
2233 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2234 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
2235 Use correct program in message.
2236 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2237 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2238 (mh-compose-forward, mh-mh-attach-file)
2239 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2240 (mh-mh-compose-external-type, mh-mh-forward-message)
2241 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2242 mh-minibuffer-read-type.
2243 (mh-mime-content-types): Move comment about only being used in
2244 Emacs 20 to docstring.
2245 (mh-mh-compose-external-type): Rename extra-param argument to
2247 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
2248 (mh-mime-display-part, mh-mime-display-single): Rename
2249 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
2250 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2252 (mh-compose-forward): Rename mh-mhn-compose-forw to
2253 mh-mh-forward-message.
2254 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2256 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2257 (mh-mh-attach-file, mh-mh-compose-type)
2258 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2259 (mh-mh-compose-external-compressed-tar)
2260 (mh-mh-compose-external-type, mh-mh-forward-message)
2261 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
2262 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2263 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2264 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2265 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2266 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2267 Sync docstrings with manual.
2269 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2270 mh-pgp-support-flag.
2272 2005-10-17 Peter S Galbraith <psg@debian.org>
2274 * mh-identity.el (mh-identity-field-handler): Use
2275 `assoc-ignore-case' to compare against header field for mixed-case
2278 2005-10-17 Bill Wohler <wohler@newt.com>
2280 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
2281 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2282 to mail/compose, fld_open to fld-open.
2283 (mh-letter-tool-bar-map): Rename image file mail_send to
2286 2005-10-16 Bill Wohler <wohler@newt.com>
2288 * mh-comp.el (mh-display-completion-list-compat): New macro which
2289 calls `display-completion-list' correctly in older environments.
2290 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2292 (mh-complete-word): Use it.
2294 * mh-init.el (mh-image-load-path): Use locate-library to find
2295 MH-E. This simplified the code a lot. Flattened out nested
2296 statements even more.
2298 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2300 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2301 causes a compiler warning.
2303 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2304 the message to be viewed (closes SF #1306141).
2306 2005-10-16 Masatake YAMATO <jet@gyve.org>
2308 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2309 of completion to `display-completion-list'.
2311 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2313 * mh-init.el (mh-image-load-path-called-flag): New variable which
2314 is used by mh-image-load-path so that it runs only once.
2315 (mh-image-load-path): Modify so that it gets run only once. Also
2316 flatten out heavily nested if statements to make it clearer.
2318 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2319 to find images used in the toolbar.
2321 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2323 2005-10-14 Bill Wohler <wohler@newt.com>
2325 * mh-e.el (Version, mh-version): Add +cvs to version.
2327 2005-10-14 Bill Wohler <wohler@newt.com>
2329 Released MH-E version 7.85.
2331 * mh-e.el (Version, mh-version): Update for release 7.85.
2333 2005-10-14 Bill Wohler <wohler@newt.com>
2335 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2336 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2337 need to be indented.
2339 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
2340 but the code that invoked the face had not been updated. Tick
2341 highlighting working again.
2343 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2344 make-variable-buffer-local call to top level to avoid warnings in
2347 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
2350 2005-10-09 Bill Wohler <wohler@newt.com>
2352 * mh-init.el (mh-image-load-path): New function that adds the path
2353 to the MH-E images to the image-load-path or load-path depending
2354 on the version of Emacs.
2356 * mh-customize.el: Call mh-image-load-path just before
2357 mh-tool-bar-define so that the toolbar images can be found.
2359 2005-10-04 Bill Wohler <wohler@newt.com>
2361 * ChangeLog: Move contents into ChangeLog.1 and trim.
2363 * ChangeLog.1: New file. Contains old ChangeLog.
2366 Copyright (C) 2005 Free Software Foundation, Inc.
2368 Copying and distribution of this file, with or without modification,
2369 are permitted in any medium without royalty provided the copyright
2370 notice and this notice are preserved.
2373 ;; sentence-end-double-space: nil
2376 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51