1 2006-03-15 Bill Wohler <wohler@newt.com>
3 * mh-compat.el (mh-image-load-path-for-library): Fix example by
4 not recommending that one binds image-load-path. Just defvar it to
5 placate compiler and only use it if previously defined.
7 * mh-e.el (image-load-path): Don't bind!
9 * mh-folder.el (mh-folder-mode): Only use image-load-path if
12 * mh-letter.el (mh-letter-mode): Ditto.
14 * mh-utils.el (mh-logo-display): Ditto.
16 2006-03-14 Bill Wohler <wohler@newt.com>
18 * mh-compat.el (mh-image-load-path-for-library): Incorporate
19 changes from image-load-path-for-library, which are:
20 (image-load-path-for-library): Pass value of path rather than
21 symbol. Always return list of directories. Guarantee that image
22 directory comes first.
24 * mh-e.el (image-load-path): Define on those Emacsen that lack it
25 to avoid compile and run-time errors.
27 * mh-folder.el (mh-folder-mode): Use new idiom for setting
30 * mh-letter.el (mh-letter-mode): Ditto.
32 * mh-utils.el (mh-logo-display): Ditto.
34 2006-03-12 Bill Wohler <wohler@newt.com>
36 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
39 2006-03-10 Bill Wohler <wohler@newt.com>
41 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
42 flag to replace-in-string. This was badly needed by
43 mh-quote-pick-expr in order to properly quote subjects when using
44 / s on XEmacs (closes SF #1447598).
45 (mh-image-load-path-for-library): Merged changes from Reiner. Add
46 no-error argument. If path t, just return directory.
48 * mh-e.el (mh-profile-component): Drop `s' from mhparam
49 -components for Mailutils compatibility (closes SF #1446985).
51 2006-03-06 Bill Wohler <wohler@newt.com>
53 * mh-e.el (Version, mh-version): Add +cvs to version.
55 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
57 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
58 handling of duplicate messages. The test in cond was too strong
59 and wasn't catching the case where origin-map was nil.
61 2006-03-05 Bill Wohler <wohler@newt.com>
63 Release MH-E version 7.93.
65 * mh-e.el (Version, mh-version): Update for release 7.93.
67 2006-03-05 Bill Wohler <wohler@newt.com>
69 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
70 calling mh-image-load-path-for-library since this is the default.
72 * mh-letter.el (mh-letter-mode): Ditto.
74 * mh-utils.el (mh-logo-display): Ditto.
76 2006-03-04 Bill Wohler <wohler@newt.com>
78 * mh-compat.el (mh-image-load-path-for-library): Move here from
79 mh-utils.el and wrap with mh-defun-compat since this function will
80 be soon added to image.el.
82 * mh-utils.el (mh-image-load-path-for-library): Move to
84 (mh-normalize-folder-name): Add return-nil-if-folder-empty
85 argument which is useful when calling mh-normalize-folder-name to
86 process the folder argument for the folders command.
87 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
88 this function more robust. It could too easily list the folders in
90 (mh-folder-list): Fix a couple of problems pointed out by Thomas
91 Baumann. Set folder to nil if empty. Don't append "/" if folder
94 2006-03-03 Bill Wohler <wohler@newt.com>
96 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
97 mh-image-load-path-for-library.
99 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
100 mh-image-load-path-for-library.
102 * mh-utils.el (mh-image-load-path): Rename to
103 mh-image-load-path-for-library. Add example to docstring. Rename
104 local variable mh-image-directory to image-directory. Move error
105 checks to default case in cond and simplify.
107 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
108 docstrings with manual.
110 2006-03-02 Bill Wohler <wohler@newt.com>
112 * mh-folder.el (mh-tool-bar-init): Autoload.
113 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
114 Set scoped variables image-load-path and load-path with updated
115 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
117 * mh-letter.el (mh-tool-bar-init): Autoload.
118 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
119 Set scoped variables image-load-path and load-path with updated
120 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
122 * mh-show.el (mh-tool-bar-init): Autoload.
123 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
126 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
127 messages per conventions.
128 (mh-tool-bar-folder-buttons-init)
129 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
130 (mh-tool-bar-define call): Format.
132 * mh-utils.el (mh-image-directory)
133 (mh-image-load-path-called-flag): Delete.
134 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
135 changes are that it no longer uses/sets mh-image-directory or
136 mh-image-load-path-called-flag, and returns the updated path
137 rather than change it.
138 (mh-logo-display): Change usage of mh-image-load-path.
140 2006-02-28 Bill Wohler <wohler@newt.com>
142 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
143 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
144 to subjects with special characters by quoting regular expression
145 characters in pick expression derived from existing subjects and
146 other fields (closes SF #1432548).
147 (mh-narrow-to-subject): Remove Re: string from subject so that
148 pick can find originating message (closes SF #1438369).
150 * mh-utils.el (mh-image-load-path): Rename variable to
152 (mh-image-load-path): Access mh-image-directory instead of
154 (mh-folder-list): Fix problem with passing in a folder and getting
155 nothing back. Fix problem with passing in empty string and getting
156 the entire filesystem (or infinite loop). Don't append slash to
157 folder. These fixes fix problems observed with the pick search.
158 Thanks to Thomas Baumann for the help (closes SF #1435381).
159 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
160 function for quoting pick regular expression characters (closes SF
163 2006-02-27 Bill Wohler <wohler@newt.com>
165 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
168 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
169 docstring about obsolete variable mh-mime-content-types.
171 * mh-e.el (mh-variant): Sync docstring with manual.
172 (cus-face): Require as it is needed by mh-inherit-face-flag.
174 * mh-compat.el (mh-display-color-cells): Return 2 if
175 device-color-cells returns nil (closes SF #1436924).
177 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
178 mh-display-color-cells.
180 2006-02-21 Eric Ding <ericding@alum.mit.edu>
182 * mh-e.el (mh-invisible-header-fields-internal): Add entry
185 2006-02-20 Eric Ding <ericding@alum.mit.edu>
187 * mh-e.el (mh-invisible-header-fields-internal): Add entries
188 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
189 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
190 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
191 "X-Roving-" by removing unnecessary "*" at end.
193 2006-02-19 Bill Wohler <wohler@newt.com>
195 * mh-alias.el (mh-address-mail-regexp)
196 (mh-goto-address-find-address-at-point): Delete copies from
198 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
199 mh-address-mail-regexp.
200 (mh-alias-add-address-under-point): Use
201 goto-address-find-address-at-point instead of
202 mh-goto-address-find-address-at-point.
204 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
206 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
208 (mh-show-addr): Call goto-address unconditionally. User should use
209 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
211 2006-02-18 Bill Wohler <wohler@newt.com>
213 * mh-e.el (Version, mh-version): Add +cvs to version.
215 2006-02-18 Bill Wohler <wohler@newt.com>
217 Release MH-E version 7.92.
219 * mh-e.el (Version, mh-version): Update for release 7.92.
221 2006-02-17 Bill Wohler <wohler@newt.com>
223 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
224 backgrounds per Mark's suggestion.
226 * mh-utils.el (mh-image-load-path): Fix problem that images on
227 load-path or image-load-path would win over relative paths (newer
228 MH-E or Emacs distribution).
230 2006-02-16 Bill Wohler <wohler@newt.com>
232 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
233 the defface :inherit keyword is available.
234 (mh-face-data): New variable (contains all face specs) and
236 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
237 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
238 (mh-folder-msg-number, mh-folder-refiled)
239 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
240 (mh-folder-subject, mh-folder-tick, mh-folder-to)
241 (mh-search-folder, mh-letter-header-field, mh-show-cc)
242 (mh-show-date, mh-show-from)
243 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
244 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
245 (mh-show-to, mh-show-xface, mh-speedbar-folder)
246 (mh-speedbar-folder-with-unseen-messages)
247 (mh-speedbar-selected-folder)
248 (mh-speedbar-selected-folder-with-unseen-messages): Use
251 * mh-utils.el (mh-image-load-path): The variables image-load-path
252 or load-path would not get updated if user set mh-image-load-path.
253 Moved tests and add-to-list calls outside of cond so they are
254 applied consistently, even if they are redundant in some
255 circumstances. Efficiency isn't a concern here. Made error
256 messages more user-friendly.
258 2006-02-15 Peter S Galbraith <psg@debian.org>
260 * mh-compat.el (mh-image-search-load-path): Compatibility code.
261 Emacs 21 and XEmacs don't have `image-search-load-path'.
263 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
264 images are already found.
266 2006-02-10 Bill Wohler <wohler@newt.com>
268 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
269 rather than use defun*. XEmacs cannot create a proper autoload for
272 2006-02-09 Bill Wohler <wohler@newt.com>
274 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
275 that causes an infinite loop on XEmacs.
277 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
280 2006-02-08 Peter S Galbraith <psg@debian.org>
282 * mh-e.el (mh-invisible-header-fields-internal): Added entries
283 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
285 2006-02-04 Bill Wohler <wohler@newt.com>
287 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
288 has an emacsclient command that supports --eval. I had read that
289 gnudoit was deprecated in favor of gnuclient anyway.
291 2006-02-04 Eric Ding <ericding@alum.mit.edu>
293 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
294 handle OpenOffice documents.
296 2006-02-03 Bill Wohler <wohler@newt.com>
298 * mh-e.el (Version, mh-version): Add +cvs to version.
300 2006-02-03 Bill Wohler <wohler@newt.com>
302 Release MH-E version 7.91.
304 * mh-e.el (Version, mh-version): Update for release 7.91.
306 2006-02-03 Bill Wohler <wohler@newt.com>
308 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
309 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
310 of local variable mh-library-name.
312 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
313 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
314 88) with (min-colors 64) in face specifications so that MH-E still
315 looks good on systems with fewer colors (such as Eric Ding's).
317 2006-02-03 Peter S Galbraith <psg@debian.org>
319 * mh-utils.el (mh-image-load-path): New variable to optionally
320 hold the directory where MH-E images are stored. If nil, then
321 the function `mh-image-load-path' will find it. This variable
322 will be used for Debian packaging.
323 (mh-image-load-path function): Use variable `mh-image-load-path'
324 if non-nil and exists.
326 2006-02-03 Mark D. Baushke <mdb@gnu.org>
328 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
329 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
330 errors if describe-bindings is called before tool-bar-mode is used.
332 2006-02-03 Peter S Galbraith <psg@debian.org>
334 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
335 `mh-url-unresrved-chars'.
337 2006-02-02 Bill Wohler <wohler@newt.com>
339 * mh-e.el (Version, mh-version): Add +cvs to version.
341 2006-02-02 Bill Wohler <wohler@newt.com>
343 Release MH-E version 7.90.
345 * mh-e.el (Version, mh-version): Update for release 7.90.
347 2006-02-01 Bill Wohler <wohler@newt.com>
349 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
351 * mh-alias.el (mh-alias-gecos-name): Use
352 mh-replace-regexp-in-string instead of replace-regexp-in-string.
353 (crm, multi-prompt): Use mh-require instead of require.
354 (mh-goto-address-find-address-at-point): Use
355 mh-line-beginning-position and mh-line-end-position instead of
356 line-beginning-position and line-end-position. Use
357 mh-match-string-no-properties instead of
358 match-string-no-properties.
360 * mh-comp.el (mh-modify-header-field): Use
361 mh-line-beginning-position and mh-line-end-position instead of
362 line-beginning-position and line-end-position.
364 * mh-compat.el (mailabbrev): Use mh-require instead of require.
365 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
366 (mh-face-background): Make docstring consistent.
367 (mh-require, mh-cancel-timer, mh-display-color-cells)
368 (mh-line-beginning-position, mh-line-end-position)
369 (mh-match-string-no-properties, mh-replace-regexp-in-string)
370 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
371 add mh- prefix since compatibility functions should have our
372 package prefix (mh-) by Emacs convention and to avoid messing up
373 checks for the same functions in other packages.
375 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
376 from mh-xemacs.el and rename.
377 (mh-xargs): Use mh-line-beginning-position and
378 mh-line-end-position instead of line-beginning-position and
380 (mh-defface-compat): Use mh-display-color-cells instead of
383 * mh-folder.el (which-func): Use mh-require instead of require.
385 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
388 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
389 mh-require instead of require.
391 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
392 (mh-letter-next-header-field): Use mh-line-beginning-position and
393 mh-line-end-position instead of line-beginning-position and
396 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
397 mh-match-string-no-properties instead of
398 match-string-no-properties.
399 (mh-narrow-to-header-field): Use mh-line-beginning-position and
400 mh-line-end-position instead of line-beginning-position and
403 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
404 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
405 mh-line-beginning-position and mh-line-end-position instead of
406 line-beginning-position and line-end-position.
408 * mh-search.el (which-func): Use mh-require instead of require.
409 (mh-make-pick-template, mh-index-visit-folder)
410 (mh-pick-parse-search-buffer, mh-swish-next-result)
411 (mh-mairix-next-result, mh-namazu-next-result)
412 (mh-pick-next-result, mh-grep-next-result)
413 (mh-index-create-imenu-index, mh-index-match-checksum)
414 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
415 mh-line-beginning-position and mh-line-end-position instead of
416 line-beginning-position and line-end-position.
418 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
420 (mh-folder-size-flist, mh-parse-flist-output-line)
421 (mh-add-sequence-notation): Use mh-line-beginning-position and
422 mh-line-end-position instead of line-beginning-position and
425 * mh-show.el (mh-show-addr): Use mh-require instead of require.
427 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
428 (mh-speed-view, mh-folder-speedbar-buttons)
429 (mh-speed-highlight, mh-speed-goto-folder)
430 (mh-speed-add-buttons, mh-speed-parse-flists-output)
431 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
432 (mh-speed-add-folder): Use mh-line-beginning-position and
433 mh-line-end-position instead of line-beginning-position and
435 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
437 * mh-thread.el (mh-thread-find-children)
438 (mh-thread-parse-scan-line, mh-thread-generate): Use
439 mh-line-beginning-position and mh-line-end-position instead of
440 line-beginning-position and line-end-position.
442 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
443 instead of display-color-cells.
444 (mh-folder-list): Use mh-replace-regexp-in-string instead of
445 replace-regexp-in-string.
446 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
447 Use mh-line-beginning-position and mh-line-end-position instead of
448 line-beginning-position and line-end-position.
450 * mh-comp.el (mh-send-sub): Don't find components file in current
451 directory--this seems to have been a side-effect of commenting out
452 the use of an old mh-etc variable. Improve error message.
454 2006-01-31 Bill Wohler <wohler@newt.com>
456 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
457 argument since compatibility functions should have our package
458 prefix (mh-) by Emacs convention and to avoid messing up checks
459 for the same functions in other packages. Use explicit argument
460 instead of forming name by adding mh- prefix so that one can grep
461 and find the definition.
463 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
464 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
465 mh-assoc-string instead of assoc-string.
467 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
468 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
469 here from mh-utils.el.
470 (mh-display-completion-list): Move here from mh-comp.el.
471 (mh-face-foreground, mh-face-background): Move here from
473 (mh-write-file-functions): Move here from mh-folder.el
475 * mh-folder.el (mh-write-file-functions-compat): Move to
476 mh-compat.el and rename to mh-write-file-functions.
477 (mh-folder-mode): Use the new name.
479 * mh-gnus.el (gnus-local-map-property): Rename to
480 mh-gnus-local-map-property.
481 (mm-merge-handles): Rename to mh-mm-merge-handles.
482 (mm-set-handle-multipart-parameter): Rename to
483 mh-mm-set-handle-multipart-parameter.
484 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
485 (mm-possibly-verify-or-decrypt): Rename to
486 mh-mm-possibly-verify-or-decrypt.
487 (mm-handle-multipart-ctl-parameter): Rename to
488 mh-mm-handle-multipart-ctl-parameter.
489 (mm-readable-p): Rename to mh-mm-readable-p.
490 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
491 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
492 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
493 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
494 (mml-minibuffer-read-disposition): Rename to
495 mh-mml-minibuffer-read-disposition.
497 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
498 instead of assoc-string.
500 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
501 (mh-mime-display, mh-mime-display-security)
502 (mh-insert-mime-button, mh-insert-mime-security-button)
503 (mh-handle-set-external-undisplayer)
504 (mh-mime-security-press-button, mh-mime-security-show-details)
505 (mh-mml-attach-file, mh-mime-cleanup)
506 (mh-destroy-postponed-handles): Use new mh-* names for
507 compatibility functions.
509 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
510 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
511 (mh-beginning-of-word): Use the new name.
512 (mh-get-field): Delete ancient alias.
514 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
515 and rename to mh-face-foreground
516 (mh-face-background-compat): Move to mh-compat.el
517 and rename to mh-face-background.
518 (mh-face-display-function): Use the new names.
519 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
520 instead of url-hexify-string.
521 (url-unreserved-chars): Move to mh-compat.el and rename to
522 mh-url-unreserved-chars.
523 (url-hexify-string): Move to mh-compat.el and rename to
524 mh-url-hexify-string.
526 * mh-letter.el (mh-complete-word): Fix bug in call to
527 mh-display-completion-list. Wrong argument was passed, so
528 completions wouldn't show highlighted prefix.
530 2006-01-29 Bill Wohler <wohler@newt.com>
532 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
533 mh-adaptive-cmd-note-flag.
535 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
536 docstring. sc-cite-original is autoloaded via loaddefs.el for all
537 supported versions. In addition, the package name "sc" has been
538 made obsolete by "supercite since at least Emacs 21.
540 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
541 revealed character constants that were still strings (closes SF
544 * mh-comp.el (mh-letter-hide-all-skipped-fields)
545 (mh-get-header-field): Move to mh-utils.el so that you can read
546 messages without having to load mh-comp.el and mh-letter.el.
548 * mh-letter.el (mh-hidden-header-keymap)
549 (mh-letter-toggle-header-field-display)
550 (mh-letter-skipped-header-field-p)
551 (mh-letter-skip-leading-whitespace-in-header-field)
552 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
553 can read messages without having to load mh-comp.el and
556 * mh-utils.el (mh-get-header-field)
557 (mh-letter-hide-all-skipped-fields)
558 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
559 (mh-letter-toggle-header-field-display)
560 (mh-letter-skip-leading-whitespace-in-header-field)
561 (mh-letter-truncate-header-field): Move here from mh-comp.el and
562 mh-letter.el so that you can read messages without having to load
563 mh-comp.el and mh-letter.el.
565 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
566 least, will deliver them to us.
568 * mh-e.el (mh-after-commands-processed-hook)
569 (mh-before-commands-processed-hook): Specify what sort of requests
572 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
575 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
577 (mh-letter-mode): Remove Mail menu.
579 2006-01-29 Bill Wohler <wohler@newt.com>
582 Remove circular dependencies. mh-e.el now includes few require
583 statements and stands alone. Other files should need to require
584 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
586 Remove unneeded require statements.
587 Remove unneeded load statements, or replace them with non-fatal
589 Break out components into their own files that were often spread
591 As a result, many functions that are now only used within a single
592 file no longer need to be autoloaded.
593 Rearrange and provide consistent headings.
596 * mh-acros.el: Update commentary to reflect current usage. Add
597 autoload cookies to all macros.
598 (mh-require-cl): Merge docstring and comment.
599 (mh-do-in-xemacs): Fix typo in docstring.
600 (assoc-string): Move to new file mh-compat.el.
601 (with-mh-folder-updating, mh-in-show-buffer)
602 (mh-do-at-event-location, mh-seq-msgs): Move here from
604 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
607 * mh-alias.el (mh-address-mail-regexp)
608 (mh-goto-address-find-address-at-point): Move here from
610 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
612 * mh-buffers.el: Update descriptive text.
614 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
616 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
617 (mh-letter-menu, mh-letter-mode-help-messages)
618 (mh-letter-buttons-init-flag, mh-letter-mode)
619 (mh-font-lock-field-data, mh-letter-header-end)
620 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
621 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
622 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
623 (mh-filter-out-non-text, mh-insert-prefix-string)
624 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
625 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
626 (mh-letter-complete, mh-letter-complete-or-space)
627 (mh-letter-confirm-address, mh-letter-header-field-at-point)
628 (mh-letter-next-header-field-or-indent)
629 (mh-letter-next-header-field, mh-letter-previous-header-field)
630 (mh-letter-skipped-header-field-p)
631 (mh-letter-skip-leading-whitespace-in-header-field)
632 (mh-hidden-header-keymap)
633 (mh-letter-toggle-header-field-display-button)
634 (mh-letter-toggle-header-field-display)
635 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
637 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
638 (mh-pgp-support-flag, mh-x-mailer-string)
639 (mh-letter-header-field-regexp): Move to mh-e.el.
640 (mh-goto-header-field, mh-goto-header-end)
641 (mh-extract-from-header-value, mh-beginning-of-word): Move to
643 (mh-insert-header-separator): Move to mh-comp.el.
644 (mh-display-completion-list-compat): Move to new file
647 * mh-compat.el: New file.
648 (assoc-string): Move here from mh-acros.el.
649 (mh-display-completion-list): Move here from mh-comp.el.
651 * mh-customize.el: Move content into mh-e.el and remove.
653 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
654 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
655 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
656 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
657 declared here so that they can be used in docstrings.
658 (mh-sent-from-folder, mh-sent-from-msg)
659 (mh-letter-header-field-regexp, mh-pgp-support-flag)
660 (mh-x-mailer-string): Move here from mh-comp.el.
661 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
662 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
664 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
665 (mh-previous-window-config, mh-seen-list, mh-seq-list)
666 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
667 (mh-show-folder-buffer, mh-mail-header-separator)
668 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
669 (mh-signature-separator, mh-signature-separator-regexp)
670 (mh-list-to-string, mh-list-to-string-1): Move here from
672 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
673 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
674 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
676 (mh-exchange-point-and-mark-preserving-active-mark)
677 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
678 deprecated file mh-exec.el.
679 (mh-path): Move here from deprecated file mh-customize.el.
680 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
681 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
682 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
683 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
684 (mh-profile-component-value, mh-defface-compat): Move here from
685 deprecated file mh-init.el.
686 (mh-goto-next-button, mh-folder-mime-action)
687 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
688 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
690 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
691 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
692 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
693 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
694 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
695 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
696 (mh-scan-cmd-note-width, mh-scan-destination-width)
697 (mh-scan-date-width, mh-scan-date-flag-width)
698 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
699 (mh-scan-field-destination-offset)
700 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
701 (mh-scan-field-subject-start-offset, mh-scan-format)
702 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
704 (mh-partial-folder-mode-line-annotation)
705 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
706 (mh-generate-sequence-font-lock, mh-last-destination)
707 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
708 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
709 (mh-execute-commands, mh-first-msg, mh-header-display)
710 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
711 (mh-folder-from-address, mh-prompt-for-refile-folder)
712 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
713 (mh-previous-page, mh-previous-undeleted-msg)
714 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
715 (mh-reset-threads-and-narrowing, mh-rescan-folder)
716 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
717 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
718 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
719 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
720 (mh-folder-sequence-menu, mh-folder-message-menu)
721 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
722 (mh-write-file-functions-compat, mh-folder-mode)
723 (mh-restore-desktop-buffer, mh-scan-folder)
724 (mh-regenerate-headers, mh-generate-new-cmd-note)
725 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
726 (mh-process-or-undo-commands, mh-process-commands)
727 (mh-update-unseen, mh-delete-scan-msgs)
728 (mh-outstanding-commands-p): Move to new file mh-folder.el.
729 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
730 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
731 (mh-lessp): Move to mh-utils.el.
732 (mh-parse-flist-output-line, mh-folder-size-folder)
733 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
734 (mh-remove-sequence-notation, mh-remove-cur-notation)
735 (mh-remove-all-notation, mh-delete-seq-locally)
736 (mh-read-folder-sequences, mh-read-msg-list)
737 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
738 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
739 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
740 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
742 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
743 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
744 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
745 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
746 (mh-faces, mh-alias-completion-ignore-case-flag)
747 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
748 (mh-alias-insert-file, mh-alias-insertion-location)
749 (mh-alias-local-users, mh-alias-local-users-prefix)
750 (mh-alias-passwd-gecos-comma-separator-flag)
751 (mh-new-messages-folders, mh-ticked-messages-folders)
752 (mh-large-folder, mh-recenter-summary-flag)
753 (mh-recursive-folders-flag, mh-sortm-args)
754 (mh-default-folder-for-message-function, mh-default-folder-list)
755 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
756 (mh-identity-list, mh-auto-fields-list)
757 (mh-auto-fields-prompt-flag, mh-identity-default)
758 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
759 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
760 (mh-junk-background, mh-junk-disposition, mh-junk-program)
761 (mh-compose-insertion, mh-compose-skipped-header-fields)
762 (mh-compose-space-does-completion-flag)
763 (mh-delete-yanked-msg-window-flag)
764 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
765 (mh-letter-complete-function, mh-letter-fill-column)
766 (mh-mml-method-default, mh-signature-file-name)
767 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
768 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
769 (mh-scan-format-file-check, mh-scan-format-file)
770 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
771 (mh-search-program, mh-compose-forward-as-mime-flag)
772 (mh-compose-letter-function, mh-compose-prompt-flag)
773 (mh-forward-subject-format, mh-insert-x-mailer-flag)
774 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
775 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
776 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
777 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
778 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
779 (mh-display-buttons-for-inline-parts-flag)
780 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
781 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
782 (mh-highlight-citation-style)
783 (mh-invisible-header-fields-internal)
784 (mh-delay-invisible-header-generation-flag)
785 (mh-invisible-header-fields, mh-invisible-header-fields-default)
786 (mh-invisible-header-fields-compiled, mh-invisible-headers)
787 (mh-lpr-command-format, mh-max-inline-image-height)
788 (mh-max-inline-image-width, mh-mhl-format-file)
789 (mh-mime-save-parts-default-directory, mh-print-background-flag)
790 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
791 (mh-show-use-xface-flag, mh-store-default-directory)
792 (mh-summary-height, mh-speed-update-interval)
793 (mh-show-threads-flag, mh-tool-bar-search-function)
794 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
795 (mh-before-commands-processed-hook, mh-before-quit-hook)
796 (mh-before-send-letter-hook, mh-delete-msg-hook)
797 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
798 (mh-inc-folder-hook, mh-insert-signature-hook)
799 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
800 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
801 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
802 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
803 (mh-folder-address, mh-folder-body)
804 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
805 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
806 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
807 (mh-folder-subject, mh-folder-tick, mh-folder-to)
808 (mh-search-folder, mh-letter-header-field, mh-show-cc)
809 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
810 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
811 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
812 (mh-speedbar-folder-with-unseen-messages)
813 (mh-speedbar-selected-folder)
814 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
815 deprecated file mh-customize.el.
817 * mh-exec.el: Move content into mh-e.el and remove.
819 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
821 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
823 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
825 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
826 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
827 to mail-abbrev-make-syntax-table.
829 * mh-identity.el (mh-identity-menu): New variable for existing
831 (mh-identity-make-menu-no-autoload): New alias for
832 mh-identity-make-menu which can be called from mh-e.el.
833 (mh-identity-list-set): Move to mh-e.el.
834 (mh-identity-add-menu): New function
835 (mh-insert-identity): Add optional argument maybe-insert so that
836 local variable mh-identity-local does not have to be visible.
837 (mh-identity-handler-default):
839 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
840 rest of keymaps). Update key binding for ? to call mh-help with
841 help messages in new argument.
842 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
843 which can be called from mh-e.el.
844 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
846 * mh-init.el: Move content into mh-e.el and remove.
848 * mh-junk.el: Update requires, untabify, and add mh-autoload
851 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
853 * mh-limit.el: New file. Contains display limit commands from
856 * mh-mime.el: Rearrange for consistency with other files.
857 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
859 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
860 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
861 (mh-goto-next-button): Move here from mh-e.el.
863 * mh-print.el: Rearrange for consistency with other files.
865 * mh-scan.el: New file. Contains scan line constants and utilities
866 from XXX, mh-funcs, mh-utils.el.
868 * mh-search.el: Rearrange for consistency with other files.
869 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
870 fields which don't exist in the saved header. Replace C-c C-f f
871 with C-c C-f m per mail-mode consistency.
872 (mh-search-mode): Use mh-set-help instead of setting
875 * mh-seq.el (mh-thread-message, mh-thread-container)
876 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
877 (mh-thread-id-index-map, mh-thread-index-id-map)
878 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
879 (mh-thread-subject-container-hash, mh-thread-duplicates)
880 (mh-thread-history, mh-thread-body-width)
881 (mh-thread-find-msg-subject mh-thread-initialize-hash)
882 (mh-thread-initialize, mh-thread-id-container)
883 (mh-thread-remove-parent-link, mh-thread-add-link)
884 (mh-thread-ancestor-p, mh-thread-get-message-container)
885 (mh-thread-get-message, mh-thread-canonicalize-id)
886 (mh-thread-prune-subject, mh-thread-container-subject)
887 (mh-thread-rewind-pruning, mh-thread-prune-containers)
888 (mh-thread-sort-containers, mh-thread-group-by-subject)
889 (mh-thread-process-in-reply-to, mh-thread-set-tables)
890 (mh-thread-update-id-index-maps, mh-thread-generate)
891 (mh-thread-inc, mh-thread-generate-scan-lines)
892 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
893 (mh-thread-add-spaces, mh-thread-print-scan-lines)
894 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
895 (mh-thread-current-indentation-level, mh-thread-next-sibling)
896 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
897 (mh-thread-ancestor, mh-thread-find-children)
898 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
899 to new file mh-thread.el.
900 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
901 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
902 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
903 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
904 (mh-current-message-header-field, mh-narrow-to-range)
905 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
907 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
909 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
910 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
911 (mh-define-sequence, mh-undefine-sequence)
912 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
913 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
914 (mh-parse-flist-output-line, mh-read-folder-sequences)
915 (mh-read-msg-list, mh-notate-user-sequences)
916 (mh-remove-cur-notation, mh-add-sequence-notation)
917 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
919 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
920 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
922 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
924 * mh-speed.el: Rearrange for consistency with other files.
926 * mh-thread.el: New file. Contains threading code from mh-seq.el.
928 * mh-tool-bar.el: New file. Contains tool bar creation code from
929 deprecated file mh-customize.el.
931 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
933 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
934 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
935 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
936 (mh-update-scan-format, mh-msg-num-width): Move to new file
938 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
939 (mh-header-field-font-lock, mh-header-to-font-lock)
940 (mh-header-cc-font-lock, mh-header-subject-font-lock)
941 (mh-show-font-lock-keywords)
942 (mh-show-font-lock-keywords-with-cite)
943 (mh-show-font-lock-fontify-region)
944 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
945 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
946 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
947 (mh-show-sequence-menu, mh-show-message-menu)
948 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
949 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
950 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
952 (mh-mail-header-separator, mh-signature-separator-regexp)
953 (mh-signature-separator, mh-globals-hash, mh-user-path)
954 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
955 (mh-previous-window-config, mh-current-folder mh-show-buffer)
956 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
957 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
958 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
959 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
960 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
962 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
963 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
964 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
965 Move to new file mh-folder.el.
966 (with-mh-folder-updating, mh-in-show-buffer)
967 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
968 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
969 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
971 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
972 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
973 (mh-face-background-compat, mh-face-display-function)
974 (mh-show-xface, mh-picon-directory-list)
975 (mh-picon-existing-directory-list)
976 (mh-picon-cache, mh-picon-image-types)
977 (mh-picon-set-directory-list, mh-picon-get-image)
978 (mh-picon-file-contents, mh-picon-generate-path)
979 (mh-x-image-cache-directory, mh-x-image-scaling-function)
980 (mh-wget-executable, mh-wget-choice, mh-wget-option)
981 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
982 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
983 (mh-x-image-scale-with-convert)
984 (url-unreserved-chars, url-hexify-string)
985 (mh-x-image-url-cache-canonicalize)
986 (mh-x-image-set-download-state, mh-x-image-get-download-state)
987 (mh-x-image-url-fetch-image, mh-x-image-display)
988 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
989 (mh-x-image-url-display): Move to new file mh-xface.el.
990 (mh-logo-display): Call mh-image-load-path.
991 (mh-find-path-run, mh-find-path): Move here from deprecated file
993 (mh-help-messages): Now an alist of modes to an alist of messages.
994 (mh-set-help): New function used to set mh-help-messages
995 (mh-help): Adjust for new format of mh-help-messages. Add
996 help-messages argument.
997 (mh-prefix-help): Refactor to use mh-help.
998 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1000 (mh-clear-sub-folders-cache): New function added to avoid exposing
1001 mh-sub-folders-cache variable.
1003 * mh-xface.el: New file. Contains X-Face and Face header field
1004 display routines from mh-utils.el.
1006 2006-01-17 Bill Wohler <wohler@newt.com>
1008 * mh-acros.el (assoc-string): Fix typo in argument.
1010 2006-01-16 Bill Wohler <wohler@newt.com>
1012 * mh-acros.el (require): Remove defadvice of require as defadvice
1013 is verboten within Emacs and our implementation was returning the
1014 wrong value from require. Upcoming restructuring should make this
1016 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1018 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
1019 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1021 * mh-identity.el (mh-identity-field-handler): Use it.
1023 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1024 (read-from-string string) with (string-to-number string).
1026 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1029 * mh-mime.el (mh-mml-forward-message): Ditto.
1031 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1032 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1033 (mh-openssl-parser, mh-index-update-maps): Ditto.
1035 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1036 (mh-thread-generate): Ditto.
1038 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1040 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1041 mm- functions for proper text=flowed handling (addresses SF
1044 2006-01-15 Bill Wohler <wohler@newt.com>
1046 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1047 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1050 * mh-utils.el (mh-show-limit-map): Ditto.
1052 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1054 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1056 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1057 where they are used.
1059 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1060 needed to help remove dependency on mh-utils.
1062 * mh-exec.el: New file. Move process support routines here from
1065 * mh-init.el (mh-utils): Remove require.
1066 (mh-exec): Add require.
1067 (mh-profile-component, mh-profile-component-value): Move here from
1070 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1071 dependencies on mh-utils.el.
1072 (mh-profile-component, mh-profile-component-value): Move to
1073 mh-init.el since that's the only place that uses them. (Other than
1074 mh-alias.el; I'm thinking that mh-find-path can set variable from
1075 the Aliasfile component like it does the other components).
1076 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1077 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1078 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1079 (defvar, mh-exec-cmd-output)
1080 (mh-exchange-point-and-mark-preserving-active-mark)
1081 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1082 file mh-exec.el so that mh-init.el doesn't have to depend on
1083 mh-utils.el, breaking circular dependency.
1097 * mh-speed.el: Added debugging statements (commented out) around
1098 requires to help find dependency loops. Will remove them when
1099 issues are resolved.
1101 2006-01-14 Bill Wohler <wohler@newt.com>
1103 * mh-customize.el (mh-index): Rename group to mh-search and sort
1104 group definition and options accordingly.
1105 (mh-index-program): Rename to mh-search-program.
1106 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1108 (mh-search-mode-hook): Change group from mh-index to mh-search.
1109 (mh-index-folder): Rename to mh-search-folder. Change group from
1110 mh-index to mh-search.
1112 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1113 to mh-search-folder.
1115 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1116 pick and grep are searchers too but aren't indexed.
1117 (mh-index-execute-search-function): Rename to mh-search-function.
1118 (mh-index-next-result-function): Rename to
1119 mh-search-next-result-function.
1120 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1121 (mh-search): Since redo-search-flag defaults to nil and is of
1122 lesser importance, make it an optional argument and place it after
1123 the folder and search-regexp arguments. Sync docstring with
1125 (mh-search-mode-map): Autoload so that keys are shown in help even
1126 before mh-search is loaded.
1127 (mh-search-mode): Sync docstring with manual.
1128 (mh-index-do-search): Rename argument indexer to searcher. Sync
1129 docstring with manual.
1130 (mh-pick-do-search): Sync docstring with manual.
1131 (mh-index-p): Rename to mh-search-p.
1132 (mh-indexer-choices): Rename to mh-search-choices.
1133 (mh-index-choose): Rename to mh-search-choose. Rename argument
1134 indexer to searcher.
1135 (mh-swish++-execute-search, mh-swish-execute-search)
1136 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1137 read the results" from docstring since these functions don't.
1138 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1140 (mh-index-generate-pretty-name): Prune -search from string so that
1141 folder names for pick searches are the same as those of other
1144 2006-01-13 Bill Wohler <wohler@newt.com>
1146 * mh-acros.el (require): Added Satyaki's comment regarding what
1147 needs to happen to remove this defadvice which caused a little
1148 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1149 advices `require' incorrectly).
1151 * mh-search.el (mh-index-next-result-function): Add format to
1153 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1155 (mh-pick-execute-search): Operate across all folders if no folder
1156 given and recurse folder(s).
1157 (mh-pick-next-result): Handle new output.
1159 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
1160 (mh-children-p, mh-folder-list): New functions.
1162 2006-01-12 Bill Wohler <wohler@newt.com>
1164 * mh-search.el: New file containing contents of mh-index.el and
1165 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1166 pick. Pick no longer sets the "search" sequence. Instead, it
1167 brings up a folder view that we're accustomed to. (closes SF
1169 (mh-index-search): Rename to mh-search.
1170 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1171 the Search to Perform Search and call mh-do-search. Add Search
1172 with Pick menu item.
1173 (mh-do-search): Delete.
1174 (mh-search-mode): Rename from mh-pick-mode.
1175 (MH-Search): Rename mode from MH-Pick.
1176 (mh-search-mode-map): Rename from mh-pick-mode-map.
1177 (mh-search-mode-help-messages): Rename from
1178 mh-pick-mode-help-messages.
1179 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1180 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1181 stay with that choice!
1184 * mh-pick.el: Merge into mh-search.el and delete.
1186 * mh-customize.el (mh-index-program): Change mh-index-search to
1187 mh-search in docstring.
1188 (mh-tool-bar-search-function): Change default from
1189 mh-search-folder to mh-search. Remove mh-search-folder as choice
1190 and rename mh-index-search choice to mh-search. Fix docstring.
1191 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1192 mh-search-folder to mh-search in docstring.
1194 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1195 Indexed Search to Search. Use mh-search instead of
1197 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1198 from mh-show-search-folder to mh-search.
1200 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1201 mh-search-folder no longer creates the search sequence.
1203 * mh-utils.el (mh-show-search-folder): Delete.
1204 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1205 Change s from mh-show-search-folder to mh-search.
1206 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1207 Search to Search. Use mh-search instead of mh-index-search.
1208 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1209 here from deleted mh-index.el.
1211 2006-01-11 Bill Wohler <wohler@newt.com>
1213 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1216 * mh-gnus.el: Require mh-acros.
1217 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1219 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1220 url-hexify-string to remove special characters from filenames
1221 (closes SF #1396499). Note that this invalidates the existing
1222 names in your cache so you might as well remove
1223 ~/Mail/.mhe-x-image-cache/* now.
1224 (url-unreserved-chars, url-hexify-string): Define if not defined.
1225 Copied from url-util.el in Emacs22 for Emacs 21.
1227 * mh-buffers.el: New file. Contains constants and code from
1228 mh-index.el and mh-utils.el.
1238 * mh-seq.el: Require new file mh-buffers.el.
1240 * mh-index.el: Require new file mh-buffers.el.
1241 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1244 * mh-utils.el: Require new file mh-buffers.el.
1245 (mh-temp-buffer, mh-temp-fetch-buffer)
1246 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1247 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1248 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1249 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1251 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1252 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1254 2006-01-10 Bill Wohler <wohler@newt.com>
1256 * mh-comp.el (mh-insert-letter): If you choose a different folder,
1257 the cur message is used. Sync docstring with manual (closes SF
1260 * mh-mime.el (mh-compose-forward): Use standard range argument
1261 instead of messages. Use more powerful mh-read-range instead of
1262 read-string. Sync docstring with manual (close SF #1205890).
1264 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1266 (mh-index-next-folder): Don't back up a line when going backwards
1267 since this skips the current folder heading if point is on the
1268 first message after the folder heading (closes SF #1126188).
1270 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1272 (mh-variants): Note variable isn't meant to be accessed directly;
1273 use function mh-variants instead.
1274 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1275 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1276 them. Updated to use mh-file-command-p which is more accurrate
1277 than file-executable-p which returns t for directories.
1278 (mh-file-command-p): Move here from mh-utils, since
1279 mh-variant-*-info are the only functions to use it.
1280 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1281 function mh-variants instead of variable. More robust.
1282 (mh-find-path-run): Move here from mh-utils.el. Mention that
1283 checking this variable is unnecessary.
1284 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1285 variants and an mhparam command that doesn't work if there isn't
1286 an MH profile, we can't get libdir for running install-mh. So
1287 don't bother. If there's an issue with the environment, direct the
1288 user to install MH and run install-mh (closes SF #835192). Don't
1289 read ~/.mh_profile directly. Use mh-profile-component which uses
1290 mhparam (closes SF #1016027).
1292 * mh-utils.el (mh-get-profile-field): Rename to
1293 mh-profile-component-value. Add colon to search removing
1294 unnecessary addition of colon to field in mh-profile-component.
1295 (mh-profile-component): Modify call to mh-profile-component-value
1296 accordingly. Move next to mh-profile-component-value.
1297 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1298 mh-init.el. It makes sense that code that is only run once per
1299 session (more or less) is in mh-init.el rather than cluttering
1301 (mh-no-install, mh-install): Delete.
1303 * mh-customize.el (mh-folder-msg-number):
1304 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1306 2006-01-09 Bill Wohler <wohler@newt.com>
1308 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1309 patch from Satyaki from SF #1016027.
1311 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1312 message, even if cur sequence is no longer present (closes SF
1315 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1317 (mh-letter-mode): Derive from mail-mode and delete code copied
1318 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1320 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1321 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1322 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1323 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1324 (mh-to-fcc): Move setting of folder argument to interactive
1325 argument as is the norm.
1326 (mh-letter-complete-function-alist): Add mail-reply-to.
1327 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1328 Mail-Followup-To, Reply-To, From).
1330 * mh-customize.el: Use ";; Forward definition." consistently.
1331 Comment declaration to remind programmer to update forward
1332 definition if default changes.
1339 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1342 2006-01-08 Bill Wohler <wohler@newt.com>
1344 Removed code that was marked as Emacs 20 compatible that was
1345 easily found showing how important it is to document such
1346 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1347 peculiarities that you find. Wrapped code for shushing compiler
1348 with (eval-when-compile), sometimes moving the defvars closer to
1349 where they were used.
1351 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1352 instead of mh-replace-in-string as mh-replace-in-string was
1353 replaced by a more appropriate defsubst in mh-xemacs.el.
1355 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1357 (mh-file-is-vcard-p): Removed redundant test.
1359 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1360 with eval-when-compile.
1361 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1362 (mh-invisible-header-fields-default): Add forward definitions.
1363 (mh-invisible-header-fields-default): Alphabetize.
1365 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1367 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1369 (mh-colors-available-p): Just call display-color-cells. It's on
1370 all supported Emacsen (and defaliased on XEmacs).
1374 * mh-init.el: Wrap compiler-shushing defvars with
1377 * mh-identity.el: Don't need (mh-require-cl).
1379 * mh-index.el: Don't need to load executable any more.
1381 * mh-mime.el: Wrap compiler-shushing defvars with
1383 (mh-have-file-command): Initialize variable to 'undefined. Add
1384 docstring. Update function of same name accordingly. Also don't
1385 need to load executable any more.
1386 (mh-mime-content-types): Delete.
1387 (mh-minibuffer-read-type): Prompt user for type if
1388 mh-file-mime-type returns application/octet-stream. Assume we have
1390 (mh-mime-display): Update error message.
1392 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1393 with eval-when-compile.
1395 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1396 with eval-when-compile.
1397 (mh-clean-msg-header): Don't set after-change-functions to nil.
1398 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1401 2006-01-07 Bill Wohler <wohler@newt.com>
1403 * mh-customize.el: Updated Faces documentation in header.
1404 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1405 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1407 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1408 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1411 2006-01-03 Mark D. Baushke <mdb@gnu.org>
1413 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1414 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1416 2006-01-03 Bill Wohler <wohler@newt.com>
1418 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1419 unification. Use single sentence if possible by using semicolon.
1420 Don't end message with punctuation. Don't need format with
1421 message. Quote messages as in docstrings: use `' around symbols,
1422 \" for option choices. Don't use quotes around %s.
1424 * mh-comp.el (mh-complete-word): Ditto.
1426 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1427 (mh-scan-format-file-check): Ditto.
1429 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1430 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1431 (mh-msg-num-width-to-column): Ditto.
1433 * mh-identity.el (mh-identity-field-handler): Ditto.
1435 * mh-index.el (mh-mairix-execute-search)
1436 (mh-swish-execute-search, mh-swish++-execute-search)
1437 (mh-namazu-execute-search): Ditto.
1439 * mh-init.el (mh-variant-set): Ditto.
1441 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1442 (mh-secure-message, mh-mime-display): Ditto.
1444 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1446 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1447 (mh-read-range, mh-thread-container-subject): Ditto.
1449 * mh-utils.el (mh-x-image-scale-and-display)
1450 (mh-prompt-for-folder, mh-handle-process-error)
1451 (mh-list-to-string-1): Ditto.
1453 * mh-comp.el (mh-reply): Use standard default notation in
1454 prompts (closes SF #1275933).
1456 * mh-mime.el (mh-mime-save-parts): Ditto.
1458 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1460 * mh-customize.el (mh-folder-msg-number): Snow is actually
1461 off-white on low color displays which turns to white when bold.
1462 This is unreadable on white backgrounds. Use snow with min-colors
1463 requirement. Use cyan on low-color displays.
1465 * mh-init.el (mh-defface-compat): On low-color displays, delete
1466 the high-color display rather than simply strip the min-colors
1467 requirement since the existing algorithm shadowed the desired
1468 display on low-color displays.
1470 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1473 2006-01-02 Bill Wohler <wohler@newt.com>
1475 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1476 docstring. Does this mean something in a defun?
1478 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1481 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1482 so it reads better in docstring and manual. Sync docstring with
1485 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1487 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1489 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1490 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1491 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1492 (mh-letter-complete-or-space, mh-letter-confirm-address)
1493 (mh-letter-next-header-field-or-indent)
1494 (mh-letter-previous-header-field): Ditto.
1496 * mh-customize.el (mh-alias-completion-ignore-case-flag)
1497 (mh-default-folder-for-message-function, mh-mml-method-default)
1498 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
1499 (mh-show-mode-hook) Ditto.
1501 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
1503 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
1504 (mh-store-msg, mh-store-buffer): Ditto
1506 * mh-index.el (mh-index-search, mh-index-do-search)
1507 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
1509 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
1511 * mh-mime.el (mh-mh-compose-external-compressed-tar)
1512 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
1513 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1514 (mh-mml-secure-message-signencrypt): Ditto
1516 * mh-pick.el (mh-search-folder): Ditto.
1518 * mh-seq.el (mh-widen): Ditto.
1520 * mh-utils.el (mh-show, mh-modify): Ditto.
1522 2006-01-02 Mark D. Baushke <mdb@gnu.org>
1524 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
1526 2006-01-01 Bill Wohler <wohler@newt.com>
1528 * mh-customize.el: Sync docstrings with manual for faces and sort
1529 them alphabetically.
1530 (mh-faces): Move below mh-hooks.
1531 (mh-folder-faces, mh-index-faces, mh-letter-faces)
1532 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
1534 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
1535 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
1536 (mh-folder-body-face, mh-folder-cur-msg-face)
1537 (mh-folder-cur-msg-number-face, mh-folder-date-face)
1538 (mh-folder-followup-face, mh-folder-msg-number-face)
1539 (mh-folder-deleted-face, mh-folder-refiled-face)
1540 (mh-folder-subject-face, mh-folder-address-face)
1541 (mh-folder-scan-format-face, mh-folder-to-face)
1542 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
1543 (mh-show-header-face, mh-show-pgg-good-face)
1544 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
1545 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
1547 (mh-folder-cur-msg): Unused. Delete.
1548 (mh-folder-address): Use defface; inherit from mh-folder-subject.
1549 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
1550 Inherit from mh-folder-msg-number.
1551 (mh-folder-deleted): Use defface. Inherit from
1552 mh-folder-msg-number.
1553 (mh-folder-sent-to-me-hint): New face. Inherit from
1555 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
1556 Use defface. Inherit from mh-folder-followup.
1557 (mh-show-xface): Inherit from mh-show-from and highlight.
1558 (bw-face-generation, bw-toggle-faces)
1559 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
1560 variables, functions for toggling between old and new faces.
1562 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
1563 eval-when-compile. We should probably do this throughout.
1564 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1565 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
1566 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1567 (mh-scan-subject-regexp): Sync docstrings with manual
1568 (mh-scan-format-regexp): Rename to
1569 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
1570 expression. Make expression more like the others (anchored at the
1571 beginning of line). Sync docstrings with manual.
1572 (mh-folder-font-lock-keywords): Use faces directly rather than
1573 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
1574 mh-scan-format-regexp, and within that expression, use faces
1575 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
1576 of mh-folder-date-face and mh-folder-scan-format-face which were
1579 * mh-mime.el (mh-mime-security-button-face): Use faces directly
1580 rather than -face variables.
1582 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
1583 rather than -face variables.
1584 (mh-face-foreground-compat, mh-face-background-compat): New macros.
1585 (mh-face-display-function): Use mh-face-foreground-compat and
1586 mh-face-background-compat to use inherited attributes of
1587 mh-show-xface on Emacs 22 while still working on Emacs 21.
1589 2005-12-28 Bill Wohler <wohler@newt.com>
1591 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
1592 mh-user-agent-compose instead of mh-smail-batch.
1594 2005-12-27 Bill Wohler <wohler@newt.com>
1596 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
1597 suppress creation of folder if it doesn't exist.
1599 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1601 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
1603 2005-12-23 Bill Wohler <wohler@newt.com>
1605 * mh-e.el (mh-folders-changed): Fix typo in docstring.
1607 Follow MH-E Developers Guide conventions. Use `' quotes for Help
1608 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
1609 everything else. Otherwise, you can accidently get links to
1612 2005-12-22 Bill Wohler <wohler@newt.com>
1614 Follow Emacs coding conventions. Use default setting of
1615 emacs-lisp-docstring-fill-column which is 65.
1617 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
1619 * mh-comp.el (mh-letter-mode): Use 60 column width.
1620 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
1622 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
1623 you have added a mail-citation-hook and neither are used if you
1624 use one of the supercite flavors of mh-yank-behavior. Sync
1625 docstrings with manual.
1627 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
1628 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
1629 hook. Use "Hook run by `function'..." instead of "Invoked...".
1630 Sync docstrings with manual.
1631 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
1632 mh-ins-buf-prefix isn't used if you have added a
1633 mail-citation-hook and neither are used if you use one of the
1634 supercite flavors of mh-yank-behavior. Sync docstrings with
1636 (mail-citation-hook): Delete. Use one in sendmail.el.
1637 (mh-signature-file-name, mh-after-commands-processed-hook)
1638 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
1639 (mh-before-quit-hook, mh-before-send-letter-hook)
1640 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
1641 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
1642 (mh-letter-mode-hook)
1643 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
1644 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1645 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
1646 of "Invoked...". Sync docstrings with manual.
1648 * mh-e.el (mh-last-destination, mh-last-destination-folder)
1649 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
1650 (mh-delete-list, mh-refile-list, mh-folders-changed)
1651 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
1652 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
1653 (mh-mode-line-annotation, mh-sequence-notation-history)
1654 (mh-colors-available-flag): Move comment into docstring.
1655 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
1656 (mh-process-commands): Sync docstrings with manual.
1657 (mh-refile-msg): Small doc edit.
1658 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
1659 Rename msg argument to message.
1661 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
1663 * mh-e.el (mh-update-unseen): No longer say "The value of
1664 `foo-hook' is a list of functions to be called, with no arguments,
1665 ...," but rather just "The hook foo-hook is called...".
1667 * mh-mime.el (mh-mh-to-mime): Ditto.
1669 * mh-pick.el (mh-pick-mode): Ditto.
1671 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
1673 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
1675 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
1678 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
1680 * mh-customize.el (mh-after-commands-processed-hook): New
1682 (mh-before-commands-processed-hook): Rename
1683 mh-folder-updated-hook.
1685 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
1686 mh-before-commands-processed-hook, call new
1687 mh-after-commands-processed-hook.
1688 (mh-folders-changed): New variable (for use in
1689 mh-after-commands-processed-hook).
1691 2005-12-19 Bill Wohler <wohler@newt.com>
1711 Follow commenting conventions. Don't use ;;; form so much, except
1712 for headings. Precede headings with page feed. This was mostly
1713 already done, so I made it a convention. Did not update copyright
1714 on a couple of files since this was an insignificant change.
1716 2005-12-18 Bill Wohler <wohler@newt.com>
1718 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
1719 (mh-tool-bar-search-function): Sync docstrings with manual.
1720 (mh-tool-bar-customize): Replace toolbar with tool bar in
1722 (mh-tool-bar-letter-help): Fix manual reference.
1723 (mh-xemacs-use-toolbar-flag): Rename to
1724 mh-xemacs-use-tool-bar-flag. Initialize to
1725 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
1726 (mh-xemacs-toolbar-position): Rename to
1727 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
1728 option (redundant) and change "Same As Default Tool Bar" setting
1729 to nil. Sync docstrings with manual.
1730 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
1731 depending on context.
1732 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
1733 for calling set-specifier. Only look at the value of
1734 mh-xemacs-use-tool-bar-flag.
1735 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
1736 docstrings with manual.
1738 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
1741 * mh-e.el (mh-folder-mode): Ditto.
1743 * mh-utils.el (mh-show-mode): Ditto.
1745 2005-12-15 Bill Wohler <wohler@newt.com>
1747 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
1749 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
1750 (mh-thread-previous-sibling, mh-thread-ancestor)
1751 (mh-thread-delete, mh-thread-refile): Ditto.
1753 2005-12-14 Bill Wohler <wohler@newt.com>
1755 * mh-customize.el (mh-speed-flists-interval): Rename to
1756 mh-speed-update-interval.
1757 (mh-speed-run-flists-flag): Delete. Setting
1758 mh-speed-flists-interval to 0 accomplishes the same thing.
1760 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
1761 mh-speed-update-interval instead of mh-speed-run-flists-flag.
1762 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
1763 docstrings with manual.
1765 2005-12-09 Bill Wohler <wohler@newt.com>
1767 * mh-customize.el (mh-path): Move here from mh-init.el.
1768 (mh-variant): Mention that mh-path can be customized.
1769 (mh-invisible-header-fields-internal): Add X-ContentStamp,
1770 X-MAIL-INFO, and X-UNTD- from NetZero.
1772 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
1774 2005-12-04 Bill Wohler <wohler@newt.com>
1776 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
1777 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
1780 * mh-customize.el (mh-insert-signature-hook): Rename
1781 mh-letter-insert-signature-hook to mh-insert-signature-hook.
1783 * mh-comp.el (mh-insert-signature): Ditto.
1785 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
1786 to nil. Remove t option. Sync docstring with manual (closes SF
1788 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
1789 users can see it, look it up in the manual's index, and discover
1790 mh-fetch-x-image-url (closes SF #831278).
1792 * mh-customize.el (mh-new-messages-folders): Rename from
1793 mh-index-new-messages-folders.
1794 (mh-ticked-messages-folders): Rename from
1795 mh-index-ticked-messages-folders.
1797 * mh-index.el (mh-index-sequenced-messages)
1798 (mh-index-new-messages): Ditto.
1800 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
1801 in the docstrings and made usage consistent. Generally speaking,
1802 "messages in range" and "range of messages" is redundant and just
1803 "range" can be used in most circumstances. Also ensured that
1804 mh-interactive-range was mentioned in all interactive functions
1805 that use a range which describes the range argument for both users
1808 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
1809 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
1810 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
1811 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
1814 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
1817 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
1819 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
1820 (mh-ps-print-msg-file, mh-print-msg): Ditto.
1822 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
1823 (mh-narrow-to-range, mh-toggle-tick): Ditto.
1825 2005-12-01 Bill Wohler <wohler@newt.com>
1827 Rewrote Reading Mail chapter in manual which affected mh-show
1828 customization group and related functions.
1830 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
1831 instead of mh-highlight-citation-p.
1832 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
1833 I think, so use "truncated".
1835 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
1836 section is Folders, not Organizing. Parent of mh-folder-faces is
1837 mh-folder, not mh-show.
1838 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
1839 (mh-thread): New group that corresponds with manual's Threading
1841 (mh-letter-faces): Group's manual section is Editing Drafts, not
1843 (mh-sortm-args): New customization variable that used to be a
1845 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
1846 Move from mh-index group to mh-folders group.
1847 (mh-alias-local-users-prefix, mh-large-folder)
1848 (mh-recursive-folders-flag, mh-before-quit-hook)
1849 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
1850 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
1852 (mh-highlight-citation-style): Rename from
1853 mh-highlight-citation-p. Sync docstrings with manual.
1854 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
1856 (mh-show-threads-flag): Move from mh-show group to mh-thread
1858 (mh-find-path-hook): Move from mh-show group to mh-e group.
1859 (mh-folder-updated-hook): Add to mh-folder group.
1860 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
1861 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
1862 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1863 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1864 (mh-display-buttons-for-inline-parts-flag)
1865 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1866 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1867 (mh-invisible-header-fields-default, mh-invisible-header-fields)
1868 (mh-lpr-command-format, mh-max-inline-image-height)
1869 (mh-max-inline-image-width)
1870 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1871 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1872 (mh-show-use-xface-flag, mh-store-default-directory)
1873 (mh-summary-height, mh-delete-msg-hook
1874 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
1877 (mh-scan-format-mh, mh-scan-good-msg-regexp)
1878 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1879 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
1880 non-fontification instead of non-fontifying.
1881 (mh-header-display): Use mh-mhl-format-file instead of
1882 mhl-formfile. Sync docstrings with manual.
1883 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
1884 count. Sync docstrings with manual.
1885 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
1886 so that message doesn't change when using this command. Sync
1887 docstrings with manual.
1888 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
1889 docstrings with manual.
1890 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
1891 to no-header. Sync docstrings with manual.
1892 (mh-ps-print-map): Delete keybindings for deleted commands
1893 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
1894 (mh-help-messages): Update printing help.
1895 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
1896 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
1897 (mh-prev-button, mh-folder-toggle-mime-part)
1898 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1899 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
1902 * mh-funcs.el (mh-sortm-args): Now a customization option and in
1904 (mh-pipe-msg): Rename include-headers to include-header. Sync
1905 docstrings with manual.
1906 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
1907 (mh-store-msg): Sync docstrings with manual.
1909 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
1910 docstrings with manual.
1911 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
1912 Sync docstrings with manual.
1913 (mh-mm-display-part, mh-mm-inline-message): Use
1914 mh-highlight-citation-style instead of mh-highlight-citation-p.
1915 (mh-press-button): Sync docstrings with manual.
1916 (mh-display-with-external-viewer): Fix default output in
1917 minibuffer. Sync docstrings with manual.
1919 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
1921 (mh-ps-print-color-option): Incorporate docstring from
1923 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
1925 (mh-ps-spool-msg): Slimline docstring. Rename from
1926 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
1928 (mh-ps-print-range): Extract method from common code in
1929 mh-ps-print-msg and mh-ps-print-msg-file.
1930 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
1931 (mh-ps-print-msg-show): Delete. Can use either
1932 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
1933 new code in mh-ps-spool-msg.
1934 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
1935 Sync docstrings with manual.
1936 (mh-ps-print-msg, mh-ps-print-msg-file)
1937 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
1938 docstrings with manual.
1940 * mh-utils.el (mh-show-ps-print-msg-show)
1941 mh-show-ps-print-toggle-mime): Delete.
1942 (mh-show-ps-print-map): Update accordingly.
1943 (mh-show-mode): Use mh-highlight-citation-style instead of
1944 mh-highlight-citation-p.
1945 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
1947 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
1948 docstrings with manual.
1949 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
1950 docstrings with manual.
1952 2005-12-01 Bill Wohler <wohler@newt.com>
1954 * mh-init.el (mh-defface-compat): Checkdoc fix.
1956 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
1957 Bogofilter is lowercase except at beginning of sentence and in
1960 2005-11-04 Bill Wohler <wohler@newt.com>
1962 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
1963 Move to mh-init.el to minimize bulk of mh-customize.el.
1965 * mh-init.el: Modify commentary since file is used for load and
1966 initialization as well as setting and getting the variant.
1967 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
1970 * mh-customize.el: Refactor faces. Move grayscale requirements
1971 last before t. Use uniform line breaks.
1972 (mh-min-colors-defined-flag): New variable.
1973 (mh-defface-compat): New function. Provides backward compatibility
1975 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
1976 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
1977 (mh-folder-body): Use mh-defface-compat.
1979 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
1981 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
1982 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
1983 (mh-folder-to-face): Use the min-colors attribute instead of the
1986 2005-11-03 Bill Wohler <wohler@newt.com>
1988 * mh-customize.el (mh-refile-preserves-sequences-flag)
1989 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
1990 docstrings with manual.
1992 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
1994 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
1995 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
1998 2005-11-01 Bill Wohler <wohler@newt.com>
2000 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2002 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2003 (mh-reply, mh-send, mh-send-other-window)
2004 (mh-fill-paragraph-function): Sync docstrings with manual.
2005 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2006 msg argument to message (to make for a better docstring).
2008 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2009 to defcustom. Rename by adding -flag.
2010 (mh-compose-forward-as-mime-flag)
2011 (mh-compose-letter-function, mh-forward-subject-format)
2012 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2013 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2016 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2017 (mh-ps-print-msg): Remove debugging messages.
2018 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2019 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2020 after message per conventions.
2022 2005-10-30 Bill Wohler <wohler@newt.com>
2024 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2025 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
2026 docstrings with manual.
2028 * mh-customize.el (mh-compose-space-does-completion-flag)
2029 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2030 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2031 means" to remain checkdoc clean and consistent with Emacs. I
2032 raised this issue with the Emacs developers and Stallman agrees
2033 that "On means" should be allowed in custom docstrings but that
2034 this change requires thought and should wait until after the Emacs
2037 2005-10-28 Bill Wohler <wohler@newt.com>
2039 * mh-comp.el (mh-annotate-msg): Use new variable
2040 mh-scan-field-destination-offset rather than hard-coding 1.
2042 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2044 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2045 functions to check input for mh-adaptive-cmd-note-flag and
2046 mh-scan-format-file respectively.
2047 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2050 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
2051 destination is the -, t, b, c, or n character for Replied, To, cc,
2052 Bcc, or Newsgroups respectively.
2053 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
2054 Call new function mh-msg-num-width-to-column to make leap between
2055 width and column more explicit.
2056 (mh-msg-num-width-to-column): New function that steals logic from
2057 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2058 isn't t since we can't adapt the scan lines in this case.
2059 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2060 make the documentation more clear.
2061 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2062 column, not a width.
2063 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2064 variable mh-scan-field-destination-offset rather than hard-coding
2067 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2068 (mh-notate): Use new variable mh-scan-field-destination-offset
2069 rather than hard-coding 1.
2070 (mh-message-number-width): Rename to mh-msg-num-width to be
2071 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2073 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2074 (mail-citation-hook): Quote URLs in docstrings and precede with
2075 `URL'. The former will suppress checkdoc warnings, the latter will
2076 turn them into hyperlinks in Emacs 22 (I just added the code to do
2078 (mh-scan-format-file): Checkdoc fix.
2080 2005-10-27 Bill Wohler <wohler@newt.com>
2082 * mh-customize.el (mh-adaptive-cmd-note-flag)
2083 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2085 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2086 (mh-note-cur, mh-scan-good-msg-regexp)
2087 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2088 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2089 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2090 (mh-scan-subject-regexp, mh-scan-format-regexp)
2091 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2094 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2096 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2097 of hard-coded string.
2098 (mh-mail-header-separator, mh-signature-separator-regexp): Use
2099 "regular expression" in docstring instead of regexp.
2100 (mh-scan-msg-number-regexp)
2101 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2102 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2103 (mh-cmd-note): Sync docstrings with manual.
2105 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2108 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2110 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2111 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2112 (mh-mml-secure-message-signencrypt): Ditto.
2114 2005-10-24 Bill Wohler <wohler@newt.com>
2116 * mh-gnus.el: Load mml.el in order to see if
2117 mml-minibuffer-read-disposition is defined or not.
2119 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2122 2005-10-23 Miles Bader <miles@gnu.org>
2124 * .arch-inventory: New file.
2126 2005-10-23 Bill Wohler <wohler@newt.com>
2128 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
2129 docstring with manual.
2131 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2132 mh-alias.el and move to mh-acros.el
2134 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2135 mh-identity.el and move to mh-acros.el
2137 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2138 mh-identity.el and mh-alias.el.
2140 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2141 warning in Emacs 22.
2143 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2145 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2146 assoc-string (if the function is available) and falls back on
2147 assoc-ignore-case if assoc-string is not found.
2148 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2149 assoc-ignore-case is a obsolete function in Emacs 22.
2151 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2152 track of whether the tool-bar in mh-folder-mode has been
2154 (mh-folder-mode): Initialize the tool-bar for folders the first
2155 time we get into mh-letter-mode.
2157 * mh-customize.el (mh-buffer-exists-p): New function which tests
2158 presence of buffers of a given mode.
2159 (mh-tool-bar-define): New functions
2160 mh-tool-bar-folder-buttons-init and
2161 mh-tool-bar-letter-buttons-init are defined. These functions are
2162 used to create the tool-bar from the corresponding customizable
2165 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2166 keeps track of whether the tool-bar in mh-letter-mode has been
2168 (mh-letter-mode): Initialize the tool-bar for drafts the first
2169 time we get into mh-letter-mode.
2171 2005-10-23 Bill Wohler <wohler@newt.com>
2173 * mh-comp.el (mh-letter-menu): Rename
2174 mh-mhn-compose-external-compressed-tar to
2175 mh-mh-compose-external-compressed-tar. Rename
2176 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2177 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2178 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2179 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2180 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
2182 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2183 mh-mh-directive-present-p.
2184 (mh-send-letter): Rename mh-mhn-directive-present-p to
2185 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2186 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2187 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2188 mh-mhn-compose-external-compressed-tar to
2189 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2190 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2191 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2192 mh-mh-compose-anon-ftp. Rename
2193 mh-mhn-compose-external-compressed-tar to
2194 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2195 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2196 mh-mh-compose-external-type.
2197 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2198 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
2199 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2200 mh-yank-from-start-of-msg to mh-yank-behavior.
2201 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2202 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2203 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2204 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2205 (mh-letter-complete-or-space, mh-letter-confirm-address)
2206 (mh-letter-next-header-field-or-indent)
2207 (mh-letter-previous-header-field)
2208 (mh-letter-toggle-header-field-display): Sync docstrings with
2211 * mh-customize.el (mh-edit-mhn-hook): Rename to
2213 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2214 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2215 and user-visible values from mhn and Gnus to MH and MML.
2216 (mh-before-send-letter-hook): Add 'ispell-message option.
2217 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2218 mh-pgp-support-flag.
2219 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2220 (mh-delete-yanked-msg-window-flag)
2221 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2222 (mh-letter-complete-function, mh-letter-fill-column)
2223 (mh-mml-method-default, mh-signature-file-name)
2224 (mh-signature-separator-flag, mh-x-face-file)
2225 (mh-yank-behavior, mail-citation-hook)
2226 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2229 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2230 provided for Emacs 21 environments that lack it.
2232 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2234 (mh-compose-forward): mh-mh-forward-message requires string arg.
2235 (mh-minibuffer-read-type): New function.
2236 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2237 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2238 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2239 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2240 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
2241 Rename mh-mhn-compose-external-type to
2242 mh-mh-compose-external-type.
2243 (mh-mhn-compose-external-compressed-tar): Rename to
2244 mh-mh-compose-external-compressed-tar. Rename
2245 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2246 (mh-mhn-compose-external-type): Rename to
2247 mh-mh-compose-external-type.
2248 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2249 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
2250 Use correct program in message.
2251 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2252 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2253 (mh-compose-forward, mh-mh-attach-file)
2254 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2255 (mh-mh-compose-external-type, mh-mh-forward-message)
2256 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2257 mh-minibuffer-read-type.
2258 (mh-mime-content-types): Move comment about only being used in
2259 Emacs 20 to docstring.
2260 (mh-mh-compose-external-type): Rename extra-param argument to
2262 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
2263 (mh-mime-display-part, mh-mime-display-single): Rename
2264 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
2265 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2267 (mh-compose-forward): Rename mh-mhn-compose-forw to
2268 mh-mh-forward-message.
2269 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2271 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2272 (mh-mh-attach-file, mh-mh-compose-type)
2273 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2274 (mh-mh-compose-external-compressed-tar)
2275 (mh-mh-compose-external-type, mh-mh-forward-message)
2276 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
2277 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2278 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2279 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2280 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2281 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2282 Sync docstrings with manual.
2284 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2285 mh-pgp-support-flag.
2287 2005-10-17 Peter S Galbraith <psg@debian.org>
2289 * mh-identity.el (mh-identity-field-handler): Use
2290 `assoc-ignore-case' to compare against header field for mixed-case
2293 2005-10-17 Bill Wohler <wohler@newt.com>
2295 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
2296 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2297 to mail/compose, fld_open to fld-open.
2298 (mh-letter-tool-bar-map): Rename image file mail_send to
2301 2005-10-16 Bill Wohler <wohler@newt.com>
2303 * mh-comp.el (mh-display-completion-list-compat): New macro which
2304 calls `display-completion-list' correctly in older environments.
2305 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2307 (mh-complete-word): Use it.
2309 * mh-init.el (mh-image-load-path): Use locate-library to find
2310 MH-E. This simplified the code a lot. Flattened out nested
2311 statements even more.
2313 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2315 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2316 causes a compiler warning.
2318 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2319 the message to be viewed (closes SF #1306141).
2321 2005-10-16 Masatake YAMATO <jet@gyve.org>
2323 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2324 of completion to `display-completion-list'.
2326 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2328 * mh-init.el (mh-image-load-path-called-flag): New variable which
2329 is used by mh-image-load-path so that it runs only once.
2330 (mh-image-load-path): Modify so that it gets run only once. Also
2331 flatten out heavily nested if statements to make it clearer.
2333 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2334 to find images used in the toolbar.
2336 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2338 2005-10-14 Bill Wohler <wohler@newt.com>
2340 * mh-e.el (Version, mh-version): Add +cvs to version.
2342 2005-10-14 Bill Wohler <wohler@newt.com>
2344 Released MH-E version 7.85.
2346 * mh-e.el (Version, mh-version): Update for release 7.85.
2348 2005-10-14 Bill Wohler <wohler@newt.com>
2350 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2351 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2352 need to be indented.
2354 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
2355 but the code that invoked the face had not been updated. Tick
2356 highlighting working again.
2358 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2359 make-variable-buffer-local call to top level to avoid warnings in
2362 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
2365 2005-10-09 Bill Wohler <wohler@newt.com>
2367 * mh-init.el (mh-image-load-path): New function that adds the path
2368 to the MH-E images to the image-load-path or load-path depending
2369 on the version of Emacs.
2371 * mh-customize.el: Call mh-image-load-path just before
2372 mh-tool-bar-define so that the toolbar images can be found.
2374 2005-10-04 Bill Wohler <wohler@newt.com>
2376 * ChangeLog: Move contents into ChangeLog.1 and trim.
2378 * ChangeLog.1: New file. Contains old ChangeLog.
2381 Copyright (C) 2005 Free Software Foundation, Inc.
2383 Copying and distribution of this file, with or without modification,
2384 are permitted in any medium without royalty provided the copyright
2385 notice and this notice are preserved.
2388 ;; sentence-end-double-space: nil
2391 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51