1 2006-03-16 Bill Wohler <wohler@newt.com>
3 * mh-compat.el (mh-image-load-path-for-library): Prefer user's
6 2006-03-15 Bill Wohler <wohler@newt.com>
8 * mh-compat.el (mh-image-load-path-for-library): Fix example by
9 not recommending that one binds image-load-path. Just defvar it to
10 placate compiler and only use it if previously defined.
12 * mh-e.el (image-load-path): Don't bind!
14 * mh-folder.el (mh-folder-mode): Only use image-load-path if
17 * mh-letter.el (mh-letter-mode): Ditto.
19 * mh-utils.el (mh-logo-display): Ditto.
21 2006-03-14 Bill Wohler <wohler@newt.com>
23 * mh-compat.el (mh-image-load-path-for-library): Incorporate
24 changes from image-load-path-for-library, which are:
25 (image-load-path-for-library): Pass value of path rather than
26 symbol. Always return list of directories. Guarantee that image
27 directory comes first.
29 * mh-e.el (image-load-path): Define on those Emacsen that lack it
30 to avoid compile and run-time errors.
32 * mh-folder.el (mh-folder-mode): Use new idiom for setting
35 * mh-letter.el (mh-letter-mode): Ditto.
37 * mh-utils.el (mh-logo-display): Ditto.
39 2006-03-12 Bill Wohler <wohler@newt.com>
41 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
44 2006-03-10 Bill Wohler <wohler@newt.com>
46 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
47 flag to replace-in-string. This was badly needed by
48 mh-quote-pick-expr in order to properly quote subjects when using
49 / s on XEmacs (closes SF #1447598).
50 (mh-image-load-path-for-library): Merged changes from Reiner. Add
51 no-error argument. If path t, just return directory.
53 * mh-e.el (mh-profile-component): Drop `s' from mhparam
54 -components for Mailutils compatibility (closes SF #1446985).
56 2006-03-06 Bill Wohler <wohler@newt.com>
58 * mh-e.el (Version, mh-version): Add +cvs to version.
60 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
62 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
63 handling of duplicate messages. The test in cond was too strong
64 and wasn't catching the case where origin-map was nil.
66 2006-03-05 Bill Wohler <wohler@newt.com>
68 Release MH-E version 7.93.
70 * mh-e.el (Version, mh-version): Update for release 7.93.
72 2006-03-05 Bill Wohler <wohler@newt.com>
74 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
75 calling mh-image-load-path-for-library since this is the default.
77 * mh-letter.el (mh-letter-mode): Ditto.
79 * mh-utils.el (mh-logo-display): Ditto.
81 2006-03-04 Bill Wohler <wohler@newt.com>
83 * mh-compat.el (mh-image-load-path-for-library): Move here from
84 mh-utils.el and wrap with mh-defun-compat since this function will
85 be soon added to image.el.
87 * mh-utils.el (mh-image-load-path-for-library): Move to
89 (mh-normalize-folder-name): Add return-nil-if-folder-empty
90 argument which is useful when calling mh-normalize-folder-name to
91 process the folder argument for the folders command.
92 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
93 this function more robust. It could too easily list the folders in
95 (mh-folder-list): Fix a couple of problems pointed out by Thomas
96 Baumann. Set folder to nil if empty. Don't append "/" if folder
99 2006-03-03 Bill Wohler <wohler@newt.com>
101 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
102 mh-image-load-path-for-library.
104 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
105 mh-image-load-path-for-library.
107 * mh-utils.el (mh-image-load-path): Rename to
108 mh-image-load-path-for-library. Add example to docstring. Rename
109 local variable mh-image-directory to image-directory. Move error
110 checks to default case in cond and simplify.
112 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
113 docstrings with manual.
115 2006-03-02 Bill Wohler <wohler@newt.com>
117 * mh-folder.el (mh-tool-bar-init): Autoload.
118 (mh-folder-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-folder-buttons-init.
122 * mh-letter.el (mh-tool-bar-init): Autoload.
123 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
124 Set scoped variables image-load-path and load-path with updated
125 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
127 * mh-show.el (mh-tool-bar-init): Autoload.
128 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
131 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
132 messages per conventions.
133 (mh-tool-bar-folder-buttons-init)
134 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
135 (mh-tool-bar-define call): Format.
137 * mh-utils.el (mh-image-directory)
138 (mh-image-load-path-called-flag): Delete.
139 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
140 changes are that it no longer uses/sets mh-image-directory or
141 mh-image-load-path-called-flag, and returns the updated path
142 rather than change it.
143 (mh-logo-display): Change usage of mh-image-load-path.
145 2006-02-28 Bill Wohler <wohler@newt.com>
147 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
148 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
149 to subjects with special characters by quoting regular expression
150 characters in pick expression derived from existing subjects and
151 other fields (closes SF #1432548).
152 (mh-narrow-to-subject): Remove Re: string from subject so that
153 pick can find originating message (closes SF #1438369).
155 * mh-utils.el (mh-image-load-path): Rename variable to
157 (mh-image-load-path): Access mh-image-directory instead of
159 (mh-folder-list): Fix problem with passing in a folder and getting
160 nothing back. Fix problem with passing in empty string and getting
161 the entire filesystem (or infinite loop). Don't append slash to
162 folder. These fixes fix problems observed with the pick search.
163 Thanks to Thomas Baumann for the help (closes SF #1435381).
164 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
165 function for quoting pick regular expression characters (closes SF
168 2006-02-27 Bill Wohler <wohler@newt.com>
170 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
173 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
174 docstring about obsolete variable mh-mime-content-types.
176 * mh-e.el (mh-variant): Sync docstring with manual.
177 (cus-face): Require as it is needed by mh-inherit-face-flag.
179 * mh-compat.el (mh-display-color-cells): Return 2 if
180 device-color-cells returns nil (closes SF #1436924).
182 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
183 mh-display-color-cells.
185 2006-02-21 Eric Ding <ericding@alum.mit.edu>
187 * mh-e.el (mh-invisible-header-fields-internal): Add entry
190 2006-02-20 Eric Ding <ericding@alum.mit.edu>
192 * mh-e.el (mh-invisible-header-fields-internal): Add entries
193 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
194 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
195 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
196 "X-Roving-" by removing unnecessary "*" at end.
198 2006-02-19 Bill Wohler <wohler@newt.com>
200 * mh-alias.el (mh-address-mail-regexp)
201 (mh-goto-address-find-address-at-point): Delete copies from
203 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
204 mh-address-mail-regexp.
205 (mh-alias-add-address-under-point): Use
206 goto-address-find-address-at-point instead of
207 mh-goto-address-find-address-at-point.
209 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
211 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
213 (mh-show-addr): Call goto-address unconditionally. User should use
214 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
216 2006-02-18 Bill Wohler <wohler@newt.com>
218 * mh-e.el (Version, mh-version): Add +cvs to version.
220 2006-02-18 Bill Wohler <wohler@newt.com>
222 Release MH-E version 7.92.
224 * mh-e.el (Version, mh-version): Update for release 7.92.
226 2006-02-17 Bill Wohler <wohler@newt.com>
228 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
229 backgrounds per Mark's suggestion.
231 * mh-utils.el (mh-image-load-path): Fix problem that images on
232 load-path or image-load-path would win over relative paths (newer
233 MH-E or Emacs distribution).
235 2006-02-16 Bill Wohler <wohler@newt.com>
237 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
238 the defface :inherit keyword is available.
239 (mh-face-data): New variable (contains all face specs) and
241 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
242 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
243 (mh-folder-msg-number, mh-folder-refiled)
244 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
245 (mh-folder-subject, mh-folder-tick, mh-folder-to)
246 (mh-search-folder, mh-letter-header-field, mh-show-cc)
247 (mh-show-date, mh-show-from)
248 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
249 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
250 (mh-show-to, mh-show-xface, mh-speedbar-folder)
251 (mh-speedbar-folder-with-unseen-messages)
252 (mh-speedbar-selected-folder)
253 (mh-speedbar-selected-folder-with-unseen-messages): Use
256 * mh-utils.el (mh-image-load-path): The variables image-load-path
257 or load-path would not get updated if user set mh-image-load-path.
258 Moved tests and add-to-list calls outside of cond so they are
259 applied consistently, even if they are redundant in some
260 circumstances. Efficiency isn't a concern here. Made error
261 messages more user-friendly.
263 2006-02-15 Peter S Galbraith <psg@debian.org>
265 * mh-compat.el (mh-image-search-load-path): Compatibility code.
266 Emacs 21 and XEmacs don't have `image-search-load-path'.
268 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
269 images are already found.
271 2006-02-10 Bill Wohler <wohler@newt.com>
273 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
274 rather than use defun*. XEmacs cannot create a proper autoload for
277 2006-02-09 Bill Wohler <wohler@newt.com>
279 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
280 that causes an infinite loop on XEmacs.
282 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
285 2006-02-08 Peter S Galbraith <psg@debian.org>
287 * mh-e.el (mh-invisible-header-fields-internal): Added entries
288 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
290 2006-02-04 Bill Wohler <wohler@newt.com>
292 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
293 has an emacsclient command that supports --eval. I had read that
294 gnudoit was deprecated in favor of gnuclient anyway.
296 2006-02-04 Eric Ding <ericding@alum.mit.edu>
298 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
299 handle OpenOffice documents.
301 2006-02-03 Bill Wohler <wohler@newt.com>
303 * mh-e.el (Version, mh-version): Add +cvs to version.
305 2006-02-03 Bill Wohler <wohler@newt.com>
307 Release MH-E version 7.91.
309 * mh-e.el (Version, mh-version): Update for release 7.91.
311 2006-02-03 Bill Wohler <wohler@newt.com>
313 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
314 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
315 of local variable mh-library-name.
317 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
318 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
319 88) with (min-colors 64) in face specifications so that MH-E still
320 looks good on systems with fewer colors (such as Eric Ding's).
322 2006-02-03 Peter S Galbraith <psg@debian.org>
324 * mh-utils.el (mh-image-load-path): New variable to optionally
325 hold the directory where MH-E images are stored. If nil, then
326 the function `mh-image-load-path' will find it. This variable
327 will be used for Debian packaging.
328 (mh-image-load-path function): Use variable `mh-image-load-path'
329 if non-nil and exists.
331 2006-02-03 Mark D. Baushke <mdb@gnu.org>
333 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
334 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
335 errors if describe-bindings is called before tool-bar-mode is used.
337 2006-02-03 Peter S Galbraith <psg@debian.org>
339 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
340 `mh-url-unresrved-chars'.
342 2006-02-02 Bill Wohler <wohler@newt.com>
344 * mh-e.el (Version, mh-version): Add +cvs to version.
346 2006-02-02 Bill Wohler <wohler@newt.com>
348 Release MH-E version 7.90.
350 * mh-e.el (Version, mh-version): Update for release 7.90.
352 2006-02-01 Bill Wohler <wohler@newt.com>
354 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
356 * mh-alias.el (mh-alias-gecos-name): Use
357 mh-replace-regexp-in-string instead of replace-regexp-in-string.
358 (crm, multi-prompt): Use mh-require instead of require.
359 (mh-goto-address-find-address-at-point): Use
360 mh-line-beginning-position and mh-line-end-position instead of
361 line-beginning-position and line-end-position. Use
362 mh-match-string-no-properties instead of
363 match-string-no-properties.
365 * mh-comp.el (mh-modify-header-field): Use
366 mh-line-beginning-position and mh-line-end-position instead of
367 line-beginning-position and line-end-position.
369 * mh-compat.el (mailabbrev): Use mh-require instead of require.
370 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
371 (mh-face-background): Make docstring consistent.
372 (mh-require, mh-cancel-timer, mh-display-color-cells)
373 (mh-line-beginning-position, mh-line-end-position)
374 (mh-match-string-no-properties, mh-replace-regexp-in-string)
375 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
376 add mh- prefix since compatibility functions should have our
377 package prefix (mh-) by Emacs convention and to avoid messing up
378 checks for the same functions in other packages.
380 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
381 from mh-xemacs.el and rename.
382 (mh-xargs): Use mh-line-beginning-position and
383 mh-line-end-position instead of line-beginning-position and
385 (mh-defface-compat): Use mh-display-color-cells instead of
388 * mh-folder.el (which-func): Use mh-require instead of require.
390 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
393 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
394 mh-require instead of require.
396 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
397 (mh-letter-next-header-field): Use mh-line-beginning-position and
398 mh-line-end-position instead of line-beginning-position and
401 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
402 mh-match-string-no-properties instead of
403 match-string-no-properties.
404 (mh-narrow-to-header-field): Use mh-line-beginning-position and
405 mh-line-end-position instead of line-beginning-position and
408 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
409 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
410 mh-line-beginning-position and mh-line-end-position instead of
411 line-beginning-position and line-end-position.
413 * mh-search.el (which-func): Use mh-require instead of require.
414 (mh-make-pick-template, mh-index-visit-folder)
415 (mh-pick-parse-search-buffer, mh-swish-next-result)
416 (mh-mairix-next-result, mh-namazu-next-result)
417 (mh-pick-next-result, mh-grep-next-result)
418 (mh-index-create-imenu-index, mh-index-match-checksum)
419 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
420 mh-line-beginning-position and mh-line-end-position instead of
421 line-beginning-position and line-end-position.
423 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
425 (mh-folder-size-flist, mh-parse-flist-output-line)
426 (mh-add-sequence-notation): Use mh-line-beginning-position and
427 mh-line-end-position instead of line-beginning-position and
430 * mh-show.el (mh-show-addr): Use mh-require instead of require.
432 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
433 (mh-speed-view, mh-folder-speedbar-buttons)
434 (mh-speed-highlight, mh-speed-goto-folder)
435 (mh-speed-add-buttons, mh-speed-parse-flists-output)
436 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
437 (mh-speed-add-folder): Use mh-line-beginning-position and
438 mh-line-end-position instead of line-beginning-position and
440 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
442 * mh-thread.el (mh-thread-find-children)
443 (mh-thread-parse-scan-line, mh-thread-generate): Use
444 mh-line-beginning-position and mh-line-end-position instead of
445 line-beginning-position and line-end-position.
447 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
448 instead of display-color-cells.
449 (mh-folder-list): Use mh-replace-regexp-in-string instead of
450 replace-regexp-in-string.
451 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
452 Use mh-line-beginning-position and mh-line-end-position instead of
453 line-beginning-position and line-end-position.
455 * mh-comp.el (mh-send-sub): Don't find components file in current
456 directory--this seems to have been a side-effect of commenting out
457 the use of an old mh-etc variable. Improve error message.
459 2006-01-31 Bill Wohler <wohler@newt.com>
461 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
462 argument since compatibility functions should have our package
463 prefix (mh-) by Emacs convention and to avoid messing up checks
464 for the same functions in other packages. Use explicit argument
465 instead of forming name by adding mh- prefix so that one can grep
466 and find the definition.
468 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
469 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
470 mh-assoc-string instead of assoc-string.
472 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
473 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
474 here from mh-utils.el.
475 (mh-display-completion-list): Move here from mh-comp.el.
476 (mh-face-foreground, mh-face-background): Move here from
478 (mh-write-file-functions): Move here from mh-folder.el
480 * mh-folder.el (mh-write-file-functions-compat): Move to
481 mh-compat.el and rename to mh-write-file-functions.
482 (mh-folder-mode): Use the new name.
484 * mh-gnus.el (gnus-local-map-property): Rename to
485 mh-gnus-local-map-property.
486 (mm-merge-handles): Rename to mh-mm-merge-handles.
487 (mm-set-handle-multipart-parameter): Rename to
488 mh-mm-set-handle-multipart-parameter.
489 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
490 (mm-possibly-verify-or-decrypt): Rename to
491 mh-mm-possibly-verify-or-decrypt.
492 (mm-handle-multipart-ctl-parameter): Rename to
493 mh-mm-handle-multipart-ctl-parameter.
494 (mm-readable-p): Rename to mh-mm-readable-p.
495 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
496 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
497 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
498 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
499 (mml-minibuffer-read-disposition): Rename to
500 mh-mml-minibuffer-read-disposition.
502 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
503 instead of assoc-string.
505 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
506 (mh-mime-display, mh-mime-display-security)
507 (mh-insert-mime-button, mh-insert-mime-security-button)
508 (mh-handle-set-external-undisplayer)
509 (mh-mime-security-press-button, mh-mime-security-show-details)
510 (mh-mml-attach-file, mh-mime-cleanup)
511 (mh-destroy-postponed-handles): Use new mh-* names for
512 compatibility functions.
514 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
515 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
516 (mh-beginning-of-word): Use the new name.
517 (mh-get-field): Delete ancient alias.
519 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
520 and rename to mh-face-foreground
521 (mh-face-background-compat): Move to mh-compat.el
522 and rename to mh-face-background.
523 (mh-face-display-function): Use the new names.
524 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
525 instead of url-hexify-string.
526 (url-unreserved-chars): Move to mh-compat.el and rename to
527 mh-url-unreserved-chars.
528 (url-hexify-string): Move to mh-compat.el and rename to
529 mh-url-hexify-string.
531 * mh-letter.el (mh-complete-word): Fix bug in call to
532 mh-display-completion-list. Wrong argument was passed, so
533 completions wouldn't show highlighted prefix.
535 2006-01-29 Bill Wohler <wohler@newt.com>
537 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
538 mh-adaptive-cmd-note-flag.
540 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
541 docstring. sc-cite-original is autoloaded via loaddefs.el for all
542 supported versions. In addition, the package name "sc" has been
543 made obsolete by "supercite since at least Emacs 21.
545 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
546 revealed character constants that were still strings (closes SF
549 * mh-comp.el (mh-letter-hide-all-skipped-fields)
550 (mh-get-header-field): Move to mh-utils.el so that you can read
551 messages without having to load mh-comp.el and mh-letter.el.
553 * mh-letter.el (mh-hidden-header-keymap)
554 (mh-letter-toggle-header-field-display)
555 (mh-letter-skipped-header-field-p)
556 (mh-letter-skip-leading-whitespace-in-header-field)
557 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
558 can read messages without having to load mh-comp.el and
561 * mh-utils.el (mh-get-header-field)
562 (mh-letter-hide-all-skipped-fields)
563 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
564 (mh-letter-toggle-header-field-display)
565 (mh-letter-skip-leading-whitespace-in-header-field)
566 (mh-letter-truncate-header-field): Move here from mh-comp.el and
567 mh-letter.el so that you can read messages without having to load
568 mh-comp.el and mh-letter.el.
570 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
571 least, will deliver them to us.
573 * mh-e.el (mh-after-commands-processed-hook)
574 (mh-before-commands-processed-hook): Specify what sort of requests
577 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
580 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
582 (mh-letter-mode): Remove Mail menu.
584 2006-01-29 Bill Wohler <wohler@newt.com>
587 Remove circular dependencies. mh-e.el now includes few require
588 statements and stands alone. Other files should need to require
589 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
591 Remove unneeded require statements.
592 Remove unneeded load statements, or replace them with non-fatal
594 Break out components into their own files that were often spread
596 As a result, many functions that are now only used within a single
597 file no longer need to be autoloaded.
598 Rearrange and provide consistent headings.
601 * mh-acros.el: Update commentary to reflect current usage. Add
602 autoload cookies to all macros.
603 (mh-require-cl): Merge docstring and comment.
604 (mh-do-in-xemacs): Fix typo in docstring.
605 (assoc-string): Move to new file mh-compat.el.
606 (with-mh-folder-updating, mh-in-show-buffer)
607 (mh-do-at-event-location, mh-seq-msgs): Move here from
609 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
612 * mh-alias.el (mh-address-mail-regexp)
613 (mh-goto-address-find-address-at-point): Move here from
615 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
617 * mh-buffers.el: Update descriptive text.
619 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
621 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
622 (mh-letter-menu, mh-letter-mode-help-messages)
623 (mh-letter-buttons-init-flag, mh-letter-mode)
624 (mh-font-lock-field-data, mh-letter-header-end)
625 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
626 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
627 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
628 (mh-filter-out-non-text, mh-insert-prefix-string)
629 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
630 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
631 (mh-letter-complete, mh-letter-complete-or-space)
632 (mh-letter-confirm-address, mh-letter-header-field-at-point)
633 (mh-letter-next-header-field-or-indent)
634 (mh-letter-next-header-field, mh-letter-previous-header-field)
635 (mh-letter-skipped-header-field-p)
636 (mh-letter-skip-leading-whitespace-in-header-field)
637 (mh-hidden-header-keymap)
638 (mh-letter-toggle-header-field-display-button)
639 (mh-letter-toggle-header-field-display)
640 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
642 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
643 (mh-pgp-support-flag, mh-x-mailer-string)
644 (mh-letter-header-field-regexp): Move to mh-e.el.
645 (mh-goto-header-field, mh-goto-header-end)
646 (mh-extract-from-header-value, mh-beginning-of-word): Move to
648 (mh-insert-header-separator): Move to mh-comp.el.
649 (mh-display-completion-list-compat): Move to new file
652 * mh-compat.el: New file.
653 (assoc-string): Move here from mh-acros.el.
654 (mh-display-completion-list): Move here from mh-comp.el.
656 * mh-customize.el: Move content into mh-e.el and remove.
658 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
659 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
660 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
661 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
662 declared here so that they can be used in docstrings.
663 (mh-sent-from-folder, mh-sent-from-msg)
664 (mh-letter-header-field-regexp, mh-pgp-support-flag)
665 (mh-x-mailer-string): Move here from mh-comp.el.
666 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
667 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
669 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
670 (mh-previous-window-config, mh-seen-list, mh-seq-list)
671 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
672 (mh-show-folder-buffer, mh-mail-header-separator)
673 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
674 (mh-signature-separator, mh-signature-separator-regexp)
675 (mh-list-to-string, mh-list-to-string-1): Move here from
677 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
678 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
679 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
681 (mh-exchange-point-and-mark-preserving-active-mark)
682 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
683 deprecated file mh-exec.el.
684 (mh-path): Move here from deprecated file mh-customize.el.
685 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
686 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
687 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
688 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
689 (mh-profile-component-value, mh-defface-compat): Move here from
690 deprecated file mh-init.el.
691 (mh-goto-next-button, mh-folder-mime-action)
692 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
693 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
695 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
696 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
697 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
698 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
699 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
700 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
701 (mh-scan-cmd-note-width, mh-scan-destination-width)
702 (mh-scan-date-width, mh-scan-date-flag-width)
703 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
704 (mh-scan-field-destination-offset)
705 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
706 (mh-scan-field-subject-start-offset, mh-scan-format)
707 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
709 (mh-partial-folder-mode-line-annotation)
710 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
711 (mh-generate-sequence-font-lock, mh-last-destination)
712 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
713 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
714 (mh-execute-commands, mh-first-msg, mh-header-display)
715 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
716 (mh-folder-from-address, mh-prompt-for-refile-folder)
717 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
718 (mh-previous-page, mh-previous-undeleted-msg)
719 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
720 (mh-reset-threads-and-narrowing, mh-rescan-folder)
721 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
722 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
723 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
724 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
725 (mh-folder-sequence-menu, mh-folder-message-menu)
726 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
727 (mh-write-file-functions-compat, mh-folder-mode)
728 (mh-restore-desktop-buffer, mh-scan-folder)
729 (mh-regenerate-headers, mh-generate-new-cmd-note)
730 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
731 (mh-process-or-undo-commands, mh-process-commands)
732 (mh-update-unseen, mh-delete-scan-msgs)
733 (mh-outstanding-commands-p): Move to new file mh-folder.el.
734 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
735 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
736 (mh-lessp): Move to mh-utils.el.
737 (mh-parse-flist-output-line, mh-folder-size-folder)
738 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
739 (mh-remove-sequence-notation, mh-remove-cur-notation)
740 (mh-remove-all-notation, mh-delete-seq-locally)
741 (mh-read-folder-sequences, mh-read-msg-list)
742 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
743 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
744 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
745 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
747 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
748 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
749 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
750 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
751 (mh-faces, mh-alias-completion-ignore-case-flag)
752 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
753 (mh-alias-insert-file, mh-alias-insertion-location)
754 (mh-alias-local-users, mh-alias-local-users-prefix)
755 (mh-alias-passwd-gecos-comma-separator-flag)
756 (mh-new-messages-folders, mh-ticked-messages-folders)
757 (mh-large-folder, mh-recenter-summary-flag)
758 (mh-recursive-folders-flag, mh-sortm-args)
759 (mh-default-folder-for-message-function, mh-default-folder-list)
760 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
761 (mh-identity-list, mh-auto-fields-list)
762 (mh-auto-fields-prompt-flag, mh-identity-default)
763 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
764 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
765 (mh-junk-background, mh-junk-disposition, mh-junk-program)
766 (mh-compose-insertion, mh-compose-skipped-header-fields)
767 (mh-compose-space-does-completion-flag)
768 (mh-delete-yanked-msg-window-flag)
769 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
770 (mh-letter-complete-function, mh-letter-fill-column)
771 (mh-mml-method-default, mh-signature-file-name)
772 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
773 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
774 (mh-scan-format-file-check, mh-scan-format-file)
775 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
776 (mh-search-program, mh-compose-forward-as-mime-flag)
777 (mh-compose-letter-function, mh-compose-prompt-flag)
778 (mh-forward-subject-format, mh-insert-x-mailer-flag)
779 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
780 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
781 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
782 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
783 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
784 (mh-display-buttons-for-inline-parts-flag)
785 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
786 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
787 (mh-highlight-citation-style)
788 (mh-invisible-header-fields-internal)
789 (mh-delay-invisible-header-generation-flag)
790 (mh-invisible-header-fields, mh-invisible-header-fields-default)
791 (mh-invisible-header-fields-compiled, mh-invisible-headers)
792 (mh-lpr-command-format, mh-max-inline-image-height)
793 (mh-max-inline-image-width, mh-mhl-format-file)
794 (mh-mime-save-parts-default-directory, mh-print-background-flag)
795 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
796 (mh-show-use-xface-flag, mh-store-default-directory)
797 (mh-summary-height, mh-speed-update-interval)
798 (mh-show-threads-flag, mh-tool-bar-search-function)
799 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
800 (mh-before-commands-processed-hook, mh-before-quit-hook)
801 (mh-before-send-letter-hook, mh-delete-msg-hook)
802 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
803 (mh-inc-folder-hook, mh-insert-signature-hook)
804 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
805 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
806 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
807 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
808 (mh-folder-address, mh-folder-body)
809 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
810 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
811 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
812 (mh-folder-subject, mh-folder-tick, mh-folder-to)
813 (mh-search-folder, mh-letter-header-field, mh-show-cc)
814 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
815 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
816 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
817 (mh-speedbar-folder-with-unseen-messages)
818 (mh-speedbar-selected-folder)
819 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
820 deprecated file mh-customize.el.
822 * mh-exec.el: Move content into mh-e.el and remove.
824 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
826 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
828 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
830 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
831 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
832 to mail-abbrev-make-syntax-table.
834 * mh-identity.el (mh-identity-menu): New variable for existing
836 (mh-identity-make-menu-no-autoload): New alias for
837 mh-identity-make-menu which can be called from mh-e.el.
838 (mh-identity-list-set): Move to mh-e.el.
839 (mh-identity-add-menu): New function
840 (mh-insert-identity): Add optional argument maybe-insert so that
841 local variable mh-identity-local does not have to be visible.
842 (mh-identity-handler-default):
844 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
845 rest of keymaps). Update key binding for ? to call mh-help with
846 help messages in new argument.
847 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
848 which can be called from mh-e.el.
849 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
851 * mh-init.el: Move content into mh-e.el and remove.
853 * mh-junk.el: Update requires, untabify, and add mh-autoload
856 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
858 * mh-limit.el: New file. Contains display limit commands from
861 * mh-mime.el: Rearrange for consistency with other files.
862 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
864 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
865 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
866 (mh-goto-next-button): Move here from mh-e.el.
868 * mh-print.el: Rearrange for consistency with other files.
870 * mh-scan.el: New file. Contains scan line constants and utilities
871 from XXX, mh-funcs, mh-utils.el.
873 * mh-search.el: Rearrange for consistency with other files.
874 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
875 fields which don't exist in the saved header. Replace C-c C-f f
876 with C-c C-f m per mail-mode consistency.
877 (mh-search-mode): Use mh-set-help instead of setting
880 * mh-seq.el (mh-thread-message, mh-thread-container)
881 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
882 (mh-thread-id-index-map, mh-thread-index-id-map)
883 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
884 (mh-thread-subject-container-hash, mh-thread-duplicates)
885 (mh-thread-history, mh-thread-body-width)
886 (mh-thread-find-msg-subject mh-thread-initialize-hash)
887 (mh-thread-initialize, mh-thread-id-container)
888 (mh-thread-remove-parent-link, mh-thread-add-link)
889 (mh-thread-ancestor-p, mh-thread-get-message-container)
890 (mh-thread-get-message, mh-thread-canonicalize-id)
891 (mh-thread-prune-subject, mh-thread-container-subject)
892 (mh-thread-rewind-pruning, mh-thread-prune-containers)
893 (mh-thread-sort-containers, mh-thread-group-by-subject)
894 (mh-thread-process-in-reply-to, mh-thread-set-tables)
895 (mh-thread-update-id-index-maps, mh-thread-generate)
896 (mh-thread-inc, mh-thread-generate-scan-lines)
897 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
898 (mh-thread-add-spaces, mh-thread-print-scan-lines)
899 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
900 (mh-thread-current-indentation-level, mh-thread-next-sibling)
901 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
902 (mh-thread-ancestor, mh-thread-find-children)
903 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
904 to new file mh-thread.el.
905 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
906 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
907 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
908 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
909 (mh-current-message-header-field, mh-narrow-to-range)
910 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
912 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
914 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
915 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
916 (mh-define-sequence, mh-undefine-sequence)
917 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
918 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
919 (mh-parse-flist-output-line, mh-read-folder-sequences)
920 (mh-read-msg-list, mh-notate-user-sequences)
921 (mh-remove-cur-notation, mh-add-sequence-notation)
922 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
924 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
925 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
927 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
929 * mh-speed.el: Rearrange for consistency with other files.
931 * mh-thread.el: New file. Contains threading code from mh-seq.el.
933 * mh-tool-bar.el: New file. Contains tool bar creation code from
934 deprecated file mh-customize.el.
936 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
938 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
939 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
940 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
941 (mh-update-scan-format, mh-msg-num-width): Move to new file
943 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
944 (mh-header-field-font-lock, mh-header-to-font-lock)
945 (mh-header-cc-font-lock, mh-header-subject-font-lock)
946 (mh-show-font-lock-keywords)
947 (mh-show-font-lock-keywords-with-cite)
948 (mh-show-font-lock-fontify-region)
949 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
950 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
951 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
952 (mh-show-sequence-menu, mh-show-message-menu)
953 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
954 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
955 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
957 (mh-mail-header-separator, mh-signature-separator-regexp)
958 (mh-signature-separator, mh-globals-hash, mh-user-path)
959 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
960 (mh-previous-window-config, mh-current-folder mh-show-buffer)
961 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
962 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
963 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
964 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
965 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
967 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
968 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
969 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
970 Move to new file mh-folder.el.
971 (with-mh-folder-updating, mh-in-show-buffer)
972 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
973 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
974 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
976 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
977 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
978 (mh-face-background-compat, mh-face-display-function)
979 (mh-show-xface, mh-picon-directory-list)
980 (mh-picon-existing-directory-list)
981 (mh-picon-cache, mh-picon-image-types)
982 (mh-picon-set-directory-list, mh-picon-get-image)
983 (mh-picon-file-contents, mh-picon-generate-path)
984 (mh-x-image-cache-directory, mh-x-image-scaling-function)
985 (mh-wget-executable, mh-wget-choice, mh-wget-option)
986 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
987 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
988 (mh-x-image-scale-with-convert)
989 (url-unreserved-chars, url-hexify-string)
990 (mh-x-image-url-cache-canonicalize)
991 (mh-x-image-set-download-state, mh-x-image-get-download-state)
992 (mh-x-image-url-fetch-image, mh-x-image-display)
993 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
994 (mh-x-image-url-display): Move to new file mh-xface.el.
995 (mh-logo-display): Call mh-image-load-path.
996 (mh-find-path-run, mh-find-path): Move here from deprecated file
998 (mh-help-messages): Now an alist of modes to an alist of messages.
999 (mh-set-help): New function used to set mh-help-messages
1000 (mh-help): Adjust for new format of mh-help-messages. Add
1001 help-messages argument.
1002 (mh-prefix-help): Refactor to use mh-help.
1003 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1005 (mh-clear-sub-folders-cache): New function added to avoid exposing
1006 mh-sub-folders-cache variable.
1008 * mh-xface.el: New file. Contains X-Face and Face header field
1009 display routines from mh-utils.el.
1011 2006-01-17 Bill Wohler <wohler@newt.com>
1013 * mh-acros.el (assoc-string): Fix typo in argument.
1015 2006-01-16 Bill Wohler <wohler@newt.com>
1017 * mh-acros.el (require): Remove defadvice of require as defadvice
1018 is verboten within Emacs and our implementation was returning the
1019 wrong value from require. Upcoming restructuring should make this
1021 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1023 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
1024 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1026 * mh-identity.el (mh-identity-field-handler): Use it.
1028 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1029 (read-from-string string) with (string-to-number string).
1031 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1034 * mh-mime.el (mh-mml-forward-message): Ditto.
1036 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1037 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1038 (mh-openssl-parser, mh-index-update-maps): Ditto.
1040 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1041 (mh-thread-generate): Ditto.
1043 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1045 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1046 mm- functions for proper text=flowed handling (addresses SF
1049 2006-01-15 Bill Wohler <wohler@newt.com>
1051 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1052 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1055 * mh-utils.el (mh-show-limit-map): Ditto.
1057 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1059 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1061 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1062 where they are used.
1064 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1065 needed to help remove dependency on mh-utils.
1067 * mh-exec.el: New file. Move process support routines here from
1070 * mh-init.el (mh-utils): Remove require.
1071 (mh-exec): Add require.
1072 (mh-profile-component, mh-profile-component-value): Move here from
1075 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1076 dependencies on mh-utils.el.
1077 (mh-profile-component, mh-profile-component-value): Move to
1078 mh-init.el since that's the only place that uses them. (Other than
1079 mh-alias.el; I'm thinking that mh-find-path can set variable from
1080 the Aliasfile component like it does the other components).
1081 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1082 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1083 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1084 (defvar, mh-exec-cmd-output)
1085 (mh-exchange-point-and-mark-preserving-active-mark)
1086 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1087 file mh-exec.el so that mh-init.el doesn't have to depend on
1088 mh-utils.el, breaking circular dependency.
1102 * mh-speed.el: Added debugging statements (commented out) around
1103 requires to help find dependency loops. Will remove them when
1104 issues are resolved.
1106 2006-01-14 Bill Wohler <wohler@newt.com>
1108 * mh-customize.el (mh-index): Rename group to mh-search and sort
1109 group definition and options accordingly.
1110 (mh-index-program): Rename to mh-search-program.
1111 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1113 (mh-search-mode-hook): Change group from mh-index to mh-search.
1114 (mh-index-folder): Rename to mh-search-folder. Change group from
1115 mh-index to mh-search.
1117 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1118 to mh-search-folder.
1120 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1121 pick and grep are searchers too but aren't indexed.
1122 (mh-index-execute-search-function): Rename to mh-search-function.
1123 (mh-index-next-result-function): Rename to
1124 mh-search-next-result-function.
1125 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1126 (mh-search): Since redo-search-flag defaults to nil and is of
1127 lesser importance, make it an optional argument and place it after
1128 the folder and search-regexp arguments. Sync docstring with
1130 (mh-search-mode-map): Autoload so that keys are shown in help even
1131 before mh-search is loaded.
1132 (mh-search-mode): Sync docstring with manual.
1133 (mh-index-do-search): Rename argument indexer to searcher. Sync
1134 docstring with manual.
1135 (mh-pick-do-search): Sync docstring with manual.
1136 (mh-index-p): Rename to mh-search-p.
1137 (mh-indexer-choices): Rename to mh-search-choices.
1138 (mh-index-choose): Rename to mh-search-choose. Rename argument
1139 indexer to searcher.
1140 (mh-swish++-execute-search, mh-swish-execute-search)
1141 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1142 read the results" from docstring since these functions don't.
1143 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1145 (mh-index-generate-pretty-name): Prune -search from string so that
1146 folder names for pick searches are the same as those of other
1149 2006-01-13 Bill Wohler <wohler@newt.com>
1151 * mh-acros.el (require): Added Satyaki's comment regarding what
1152 needs to happen to remove this defadvice which caused a little
1153 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1154 advices `require' incorrectly).
1156 * mh-search.el (mh-index-next-result-function): Add format to
1158 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1160 (mh-pick-execute-search): Operate across all folders if no folder
1161 given and recurse folder(s).
1162 (mh-pick-next-result): Handle new output.
1164 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
1165 (mh-children-p, mh-folder-list): New functions.
1167 2006-01-12 Bill Wohler <wohler@newt.com>
1169 * mh-search.el: New file containing contents of mh-index.el and
1170 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1171 pick. Pick no longer sets the "search" sequence. Instead, it
1172 brings up a folder view that we're accustomed to. (closes SF
1174 (mh-index-search): Rename to mh-search.
1175 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1176 the Search to Perform Search and call mh-do-search. Add Search
1177 with Pick menu item.
1178 (mh-do-search): Delete.
1179 (mh-search-mode): Rename from mh-pick-mode.
1180 (MH-Search): Rename mode from MH-Pick.
1181 (mh-search-mode-map): Rename from mh-pick-mode-map.
1182 (mh-search-mode-help-messages): Rename from
1183 mh-pick-mode-help-messages.
1184 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1185 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1186 stay with that choice!
1189 * mh-pick.el: Merge into mh-search.el and delete.
1191 * mh-customize.el (mh-index-program): Change mh-index-search to
1192 mh-search in docstring.
1193 (mh-tool-bar-search-function): Change default from
1194 mh-search-folder to mh-search. Remove mh-search-folder as choice
1195 and rename mh-index-search choice to mh-search. Fix docstring.
1196 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1197 mh-search-folder to mh-search in docstring.
1199 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1200 Indexed Search to Search. Use mh-search instead of
1202 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1203 from mh-show-search-folder to mh-search.
1205 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1206 mh-search-folder no longer creates the search sequence.
1208 * mh-utils.el (mh-show-search-folder): Delete.
1209 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1210 Change s from mh-show-search-folder to mh-search.
1211 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1212 Search to Search. Use mh-search instead of mh-index-search.
1213 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1214 here from deleted mh-index.el.
1216 2006-01-11 Bill Wohler <wohler@newt.com>
1218 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1221 * mh-gnus.el: Require mh-acros.
1222 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1224 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1225 url-hexify-string to remove special characters from filenames
1226 (closes SF #1396499). Note that this invalidates the existing
1227 names in your cache so you might as well remove
1228 ~/Mail/.mhe-x-image-cache/* now.
1229 (url-unreserved-chars, url-hexify-string): Define if not defined.
1230 Copied from url-util.el in Emacs22 for Emacs 21.
1232 * mh-buffers.el: New file. Contains constants and code from
1233 mh-index.el and mh-utils.el.
1243 * mh-seq.el: Require new file mh-buffers.el.
1245 * mh-index.el: Require new file mh-buffers.el.
1246 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1249 * mh-utils.el: Require new file mh-buffers.el.
1250 (mh-temp-buffer, mh-temp-fetch-buffer)
1251 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1252 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1253 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1254 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1256 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1257 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1259 2006-01-10 Bill Wohler <wohler@newt.com>
1261 * mh-comp.el (mh-insert-letter): If you choose a different folder,
1262 the cur message is used. Sync docstring with manual (closes SF
1265 * mh-mime.el (mh-compose-forward): Use standard range argument
1266 instead of messages. Use more powerful mh-read-range instead of
1267 read-string. Sync docstring with manual (close SF #1205890).
1269 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1271 (mh-index-next-folder): Don't back up a line when going backwards
1272 since this skips the current folder heading if point is on the
1273 first message after the folder heading (closes SF #1126188).
1275 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1277 (mh-variants): Note variable isn't meant to be accessed directly;
1278 use function mh-variants instead.
1279 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1280 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1281 them. Updated to use mh-file-command-p which is more accurrate
1282 than file-executable-p which returns t for directories.
1283 (mh-file-command-p): Move here from mh-utils, since
1284 mh-variant-*-info are the only functions to use it.
1285 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1286 function mh-variants instead of variable. More robust.
1287 (mh-find-path-run): Move here from mh-utils.el. Mention that
1288 checking this variable is unnecessary.
1289 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1290 variants and an mhparam command that doesn't work if there isn't
1291 an MH profile, we can't get libdir for running install-mh. So
1292 don't bother. If there's an issue with the environment, direct the
1293 user to install MH and run install-mh (closes SF #835192). Don't
1294 read ~/.mh_profile directly. Use mh-profile-component which uses
1295 mhparam (closes SF #1016027).
1297 * mh-utils.el (mh-get-profile-field): Rename to
1298 mh-profile-component-value. Add colon to search removing
1299 unnecessary addition of colon to field in mh-profile-component.
1300 (mh-profile-component): Modify call to mh-profile-component-value
1301 accordingly. Move next to mh-profile-component-value.
1302 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1303 mh-init.el. It makes sense that code that is only run once per
1304 session (more or less) is in mh-init.el rather than cluttering
1306 (mh-no-install, mh-install): Delete.
1308 * mh-customize.el (mh-folder-msg-number):
1309 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1311 2006-01-09 Bill Wohler <wohler@newt.com>
1313 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1314 patch from Satyaki from SF #1016027.
1316 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1317 message, even if cur sequence is no longer present (closes SF
1320 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1322 (mh-letter-mode): Derive from mail-mode and delete code copied
1323 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1325 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1326 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1327 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1328 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1329 (mh-to-fcc): Move setting of folder argument to interactive
1330 argument as is the norm.
1331 (mh-letter-complete-function-alist): Add mail-reply-to.
1332 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1333 Mail-Followup-To, Reply-To, From).
1335 * mh-customize.el: Use ";; Forward definition." consistently.
1336 Comment declaration to remind programmer to update forward
1337 definition if default changes.
1344 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1347 2006-01-08 Bill Wohler <wohler@newt.com>
1349 Removed code that was marked as Emacs 20 compatible that was
1350 easily found showing how important it is to document such
1351 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1352 peculiarities that you find. Wrapped code for shushing compiler
1353 with (eval-when-compile), sometimes moving the defvars closer to
1354 where they were used.
1356 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1357 instead of mh-replace-in-string as mh-replace-in-string was
1358 replaced by a more appropriate defsubst in mh-xemacs.el.
1360 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1362 (mh-file-is-vcard-p): Removed redundant test.
1364 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1365 with eval-when-compile.
1366 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1367 (mh-invisible-header-fields-default): Add forward definitions.
1368 (mh-invisible-header-fields-default): Alphabetize.
1370 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1372 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1374 (mh-colors-available-p): Just call display-color-cells. It's on
1375 all supported Emacsen (and defaliased on XEmacs).
1379 * mh-init.el: Wrap compiler-shushing defvars with
1382 * mh-identity.el: Don't need (mh-require-cl).
1384 * mh-index.el: Don't need to load executable any more.
1386 * mh-mime.el: Wrap compiler-shushing defvars with
1388 (mh-have-file-command): Initialize variable to 'undefined. Add
1389 docstring. Update function of same name accordingly. Also don't
1390 need to load executable any more.
1391 (mh-mime-content-types): Delete.
1392 (mh-minibuffer-read-type): Prompt user for type if
1393 mh-file-mime-type returns application/octet-stream. Assume we have
1395 (mh-mime-display): Update error message.
1397 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1398 with eval-when-compile.
1400 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1401 with eval-when-compile.
1402 (mh-clean-msg-header): Don't set after-change-functions to nil.
1403 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1406 2006-01-07 Bill Wohler <wohler@newt.com>
1408 * mh-customize.el: Updated Faces documentation in header.
1409 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1410 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1412 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1413 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1416 2006-01-03 Mark D. Baushke <mdb@gnu.org>
1418 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1419 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1421 2006-01-03 Bill Wohler <wohler@newt.com>
1423 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1424 unification. Use single sentence if possible by using semicolon.
1425 Don't end message with punctuation. Don't need format with
1426 message. Quote messages as in docstrings: use `' around symbols,
1427 \" for option choices. Don't use quotes around %s.
1429 * mh-comp.el (mh-complete-word): Ditto.
1431 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1432 (mh-scan-format-file-check): Ditto.
1434 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1435 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1436 (mh-msg-num-width-to-column): Ditto.
1438 * mh-identity.el (mh-identity-field-handler): Ditto.
1440 * mh-index.el (mh-mairix-execute-search)
1441 (mh-swish-execute-search, mh-swish++-execute-search)
1442 (mh-namazu-execute-search): Ditto.
1444 * mh-init.el (mh-variant-set): Ditto.
1446 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1447 (mh-secure-message, mh-mime-display): Ditto.
1449 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1451 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1452 (mh-read-range, mh-thread-container-subject): Ditto.
1454 * mh-utils.el (mh-x-image-scale-and-display)
1455 (mh-prompt-for-folder, mh-handle-process-error)
1456 (mh-list-to-string-1): Ditto.
1458 * mh-comp.el (mh-reply): Use standard default notation in
1459 prompts (closes SF #1275933).
1461 * mh-mime.el (mh-mime-save-parts): Ditto.
1463 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1465 * mh-customize.el (mh-folder-msg-number): Snow is actually
1466 off-white on low color displays which turns to white when bold.
1467 This is unreadable on white backgrounds. Use snow with min-colors
1468 requirement. Use cyan on low-color displays.
1470 * mh-init.el (mh-defface-compat): On low-color displays, delete
1471 the high-color display rather than simply strip the min-colors
1472 requirement since the existing algorithm shadowed the desired
1473 display on low-color displays.
1475 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1478 2006-01-02 Bill Wohler <wohler@newt.com>
1480 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1481 docstring. Does this mean something in a defun?
1483 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1486 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1487 so it reads better in docstring and manual. Sync docstring with
1490 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1492 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1494 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1495 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1496 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1497 (mh-letter-complete-or-space, mh-letter-confirm-address)
1498 (mh-letter-next-header-field-or-indent)
1499 (mh-letter-previous-header-field): Ditto.
1501 * mh-customize.el (mh-alias-completion-ignore-case-flag)
1502 (mh-default-folder-for-message-function, mh-mml-method-default)
1503 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
1504 (mh-show-mode-hook) Ditto.
1506 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
1508 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
1509 (mh-store-msg, mh-store-buffer): Ditto
1511 * mh-index.el (mh-index-search, mh-index-do-search)
1512 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
1514 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
1516 * mh-mime.el (mh-mh-compose-external-compressed-tar)
1517 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
1518 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1519 (mh-mml-secure-message-signencrypt): Ditto
1521 * mh-pick.el (mh-search-folder): Ditto.
1523 * mh-seq.el (mh-widen): Ditto.
1525 * mh-utils.el (mh-show, mh-modify): Ditto.
1527 2006-01-02 Mark D. Baushke <mdb@gnu.org>
1529 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
1531 2006-01-01 Bill Wohler <wohler@newt.com>
1533 * mh-customize.el: Sync docstrings with manual for faces and sort
1534 them alphabetically.
1535 (mh-faces): Move below mh-hooks.
1536 (mh-folder-faces, mh-index-faces, mh-letter-faces)
1537 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
1539 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
1540 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
1541 (mh-folder-body-face, mh-folder-cur-msg-face)
1542 (mh-folder-cur-msg-number-face, mh-folder-date-face)
1543 (mh-folder-followup-face, mh-folder-msg-number-face)
1544 (mh-folder-deleted-face, mh-folder-refiled-face)
1545 (mh-folder-subject-face, mh-folder-address-face)
1546 (mh-folder-scan-format-face, mh-folder-to-face)
1547 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
1548 (mh-show-header-face, mh-show-pgg-good-face)
1549 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
1550 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
1552 (mh-folder-cur-msg): Unused. Delete.
1553 (mh-folder-address): Use defface; inherit from mh-folder-subject.
1554 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
1555 Inherit from mh-folder-msg-number.
1556 (mh-folder-deleted): Use defface. Inherit from
1557 mh-folder-msg-number.
1558 (mh-folder-sent-to-me-hint): New face. Inherit from
1560 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
1561 Use defface. Inherit from mh-folder-followup.
1562 (mh-show-xface): Inherit from mh-show-from and highlight.
1563 (bw-face-generation, bw-toggle-faces)
1564 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
1565 variables, functions for toggling between old and new faces.
1567 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
1568 eval-when-compile. We should probably do this throughout.
1569 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1570 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
1571 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1572 (mh-scan-subject-regexp): Sync docstrings with manual
1573 (mh-scan-format-regexp): Rename to
1574 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
1575 expression. Make expression more like the others (anchored at the
1576 beginning of line). Sync docstrings with manual.
1577 (mh-folder-font-lock-keywords): Use faces directly rather than
1578 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
1579 mh-scan-format-regexp, and within that expression, use faces
1580 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
1581 of mh-folder-date-face and mh-folder-scan-format-face which were
1584 * mh-mime.el (mh-mime-security-button-face): Use faces directly
1585 rather than -face variables.
1587 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
1588 rather than -face variables.
1589 (mh-face-foreground-compat, mh-face-background-compat): New macros.
1590 (mh-face-display-function): Use mh-face-foreground-compat and
1591 mh-face-background-compat to use inherited attributes of
1592 mh-show-xface on Emacs 22 while still working on Emacs 21.
1594 2005-12-28 Bill Wohler <wohler@newt.com>
1596 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
1597 mh-user-agent-compose instead of mh-smail-batch.
1599 2005-12-27 Bill Wohler <wohler@newt.com>
1601 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
1602 suppress creation of folder if it doesn't exist.
1604 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1606 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
1608 2005-12-23 Bill Wohler <wohler@newt.com>
1610 * mh-e.el (mh-folders-changed): Fix typo in docstring.
1612 Follow MH-E Developers Guide conventions. Use `' quotes for Help
1613 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
1614 everything else. Otherwise, you can accidently get links to
1617 2005-12-22 Bill Wohler <wohler@newt.com>
1619 Follow Emacs coding conventions. Use default setting of
1620 emacs-lisp-docstring-fill-column which is 65.
1622 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
1624 * mh-comp.el (mh-letter-mode): Use 60 column width.
1625 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
1627 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
1628 you have added a mail-citation-hook and neither are used if you
1629 use one of the supercite flavors of mh-yank-behavior. Sync
1630 docstrings with manual.
1632 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
1633 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
1634 hook. Use "Hook run by `function'..." instead of "Invoked...".
1635 Sync docstrings with manual.
1636 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
1637 mh-ins-buf-prefix isn't used if you have added a
1638 mail-citation-hook and neither are used if you use one of the
1639 supercite flavors of mh-yank-behavior. Sync docstrings with
1641 (mail-citation-hook): Delete. Use one in sendmail.el.
1642 (mh-signature-file-name, mh-after-commands-processed-hook)
1643 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
1644 (mh-before-quit-hook, mh-before-send-letter-hook)
1645 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
1646 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
1647 (mh-letter-mode-hook)
1648 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
1649 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1650 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
1651 of "Invoked...". Sync docstrings with manual.
1653 * mh-e.el (mh-last-destination, mh-last-destination-folder)
1654 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
1655 (mh-delete-list, mh-refile-list, mh-folders-changed)
1656 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
1657 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
1658 (mh-mode-line-annotation, mh-sequence-notation-history)
1659 (mh-colors-available-flag): Move comment into docstring.
1660 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
1661 (mh-process-commands): Sync docstrings with manual.
1662 (mh-refile-msg): Small doc edit.
1663 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
1664 Rename msg argument to message.
1666 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
1668 * mh-e.el (mh-update-unseen): No longer say "The value of
1669 `foo-hook' is a list of functions to be called, with no arguments,
1670 ...," but rather just "The hook foo-hook is called...".
1672 * mh-mime.el (mh-mh-to-mime): Ditto.
1674 * mh-pick.el (mh-pick-mode): Ditto.
1676 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
1678 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
1680 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
1683 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
1685 * mh-customize.el (mh-after-commands-processed-hook): New
1687 (mh-before-commands-processed-hook): Rename
1688 mh-folder-updated-hook.
1690 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
1691 mh-before-commands-processed-hook, call new
1692 mh-after-commands-processed-hook.
1693 (mh-folders-changed): New variable (for use in
1694 mh-after-commands-processed-hook).
1696 2005-12-19 Bill Wohler <wohler@newt.com>
1716 Follow commenting conventions. Don't use ;;; form so much, except
1717 for headings. Precede headings with page feed. This was mostly
1718 already done, so I made it a convention. Did not update copyright
1719 on a couple of files since this was an insignificant change.
1721 2005-12-18 Bill Wohler <wohler@newt.com>
1723 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
1724 (mh-tool-bar-search-function): Sync docstrings with manual.
1725 (mh-tool-bar-customize): Replace toolbar with tool bar in
1727 (mh-tool-bar-letter-help): Fix manual reference.
1728 (mh-xemacs-use-toolbar-flag): Rename to
1729 mh-xemacs-use-tool-bar-flag. Initialize to
1730 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
1731 (mh-xemacs-toolbar-position): Rename to
1732 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
1733 option (redundant) and change "Same As Default Tool Bar" setting
1734 to nil. Sync docstrings with manual.
1735 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
1736 depending on context.
1737 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
1738 for calling set-specifier. Only look at the value of
1739 mh-xemacs-use-tool-bar-flag.
1740 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
1741 docstrings with manual.
1743 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
1746 * mh-e.el (mh-folder-mode): Ditto.
1748 * mh-utils.el (mh-show-mode): Ditto.
1750 2005-12-15 Bill Wohler <wohler@newt.com>
1752 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
1754 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
1755 (mh-thread-previous-sibling, mh-thread-ancestor)
1756 (mh-thread-delete, mh-thread-refile): Ditto.
1758 2005-12-14 Bill Wohler <wohler@newt.com>
1760 * mh-customize.el (mh-speed-flists-interval): Rename to
1761 mh-speed-update-interval.
1762 (mh-speed-run-flists-flag): Delete. Setting
1763 mh-speed-flists-interval to 0 accomplishes the same thing.
1765 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
1766 mh-speed-update-interval instead of mh-speed-run-flists-flag.
1767 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
1768 docstrings with manual.
1770 2005-12-09 Bill Wohler <wohler@newt.com>
1772 * mh-customize.el (mh-path): Move here from mh-init.el.
1773 (mh-variant): Mention that mh-path can be customized.
1774 (mh-invisible-header-fields-internal): Add X-ContentStamp,
1775 X-MAIL-INFO, and X-UNTD- from NetZero.
1777 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
1779 2005-12-04 Bill Wohler <wohler@newt.com>
1781 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
1782 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
1785 * mh-customize.el (mh-insert-signature-hook): Rename
1786 mh-letter-insert-signature-hook to mh-insert-signature-hook.
1788 * mh-comp.el (mh-insert-signature): Ditto.
1790 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
1791 to nil. Remove t option. Sync docstring with manual (closes SF
1793 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
1794 users can see it, look it up in the manual's index, and discover
1795 mh-fetch-x-image-url (closes SF #831278).
1797 * mh-customize.el (mh-new-messages-folders): Rename from
1798 mh-index-new-messages-folders.
1799 (mh-ticked-messages-folders): Rename from
1800 mh-index-ticked-messages-folders.
1802 * mh-index.el (mh-index-sequenced-messages)
1803 (mh-index-new-messages): Ditto.
1805 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
1806 in the docstrings and made usage consistent. Generally speaking,
1807 "messages in range" and "range of messages" is redundant and just
1808 "range" can be used in most circumstances. Also ensured that
1809 mh-interactive-range was mentioned in all interactive functions
1810 that use a range which describes the range argument for both users
1813 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
1814 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
1815 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
1816 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
1819 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
1822 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
1824 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
1825 (mh-ps-print-msg-file, mh-print-msg): Ditto.
1827 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
1828 (mh-narrow-to-range, mh-toggle-tick): Ditto.
1830 2005-12-01 Bill Wohler <wohler@newt.com>
1832 Rewrote Reading Mail chapter in manual which affected mh-show
1833 customization group and related functions.
1835 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
1836 instead of mh-highlight-citation-p.
1837 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
1838 I think, so use "truncated".
1840 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
1841 section is Folders, not Organizing. Parent of mh-folder-faces is
1842 mh-folder, not mh-show.
1843 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
1844 (mh-thread): New group that corresponds with manual's Threading
1846 (mh-letter-faces): Group's manual section is Editing Drafts, not
1848 (mh-sortm-args): New customization variable that used to be a
1850 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
1851 Move from mh-index group to mh-folders group.
1852 (mh-alias-local-users-prefix, mh-large-folder)
1853 (mh-recursive-folders-flag, mh-before-quit-hook)
1854 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
1855 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
1857 (mh-highlight-citation-style): Rename from
1858 mh-highlight-citation-p. Sync docstrings with manual.
1859 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
1861 (mh-show-threads-flag): Move from mh-show group to mh-thread
1863 (mh-find-path-hook): Move from mh-show group to mh-e group.
1864 (mh-folder-updated-hook): Add to mh-folder group.
1865 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
1866 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
1867 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1868 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1869 (mh-display-buttons-for-inline-parts-flag)
1870 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1871 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1872 (mh-invisible-header-fields-default, mh-invisible-header-fields)
1873 (mh-lpr-command-format, mh-max-inline-image-height)
1874 (mh-max-inline-image-width)
1875 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1876 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1877 (mh-show-use-xface-flag, mh-store-default-directory)
1878 (mh-summary-height, mh-delete-msg-hook
1879 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
1882 (mh-scan-format-mh, mh-scan-good-msg-regexp)
1883 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1884 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
1885 non-fontification instead of non-fontifying.
1886 (mh-header-display): Use mh-mhl-format-file instead of
1887 mhl-formfile. Sync docstrings with manual.
1888 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
1889 count. Sync docstrings with manual.
1890 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
1891 so that message doesn't change when using this command. Sync
1892 docstrings with manual.
1893 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
1894 docstrings with manual.
1895 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
1896 to no-header. Sync docstrings with manual.
1897 (mh-ps-print-map): Delete keybindings for deleted commands
1898 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
1899 (mh-help-messages): Update printing help.
1900 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
1901 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
1902 (mh-prev-button, mh-folder-toggle-mime-part)
1903 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1904 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
1907 * mh-funcs.el (mh-sortm-args): Now a customization option and in
1909 (mh-pipe-msg): Rename include-headers to include-header. Sync
1910 docstrings with manual.
1911 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
1912 (mh-store-msg): Sync docstrings with manual.
1914 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
1915 docstrings with manual.
1916 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
1917 Sync docstrings with manual.
1918 (mh-mm-display-part, mh-mm-inline-message): Use
1919 mh-highlight-citation-style instead of mh-highlight-citation-p.
1920 (mh-press-button): Sync docstrings with manual.
1921 (mh-display-with-external-viewer): Fix default output in
1922 minibuffer. Sync docstrings with manual.
1924 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
1926 (mh-ps-print-color-option): Incorporate docstring from
1928 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
1930 (mh-ps-spool-msg): Slimline docstring. Rename from
1931 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
1933 (mh-ps-print-range): Extract method from common code in
1934 mh-ps-print-msg and mh-ps-print-msg-file.
1935 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
1936 (mh-ps-print-msg-show): Delete. Can use either
1937 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
1938 new code in mh-ps-spool-msg.
1939 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
1940 Sync docstrings with manual.
1941 (mh-ps-print-msg, mh-ps-print-msg-file)
1942 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
1943 docstrings with manual.
1945 * mh-utils.el (mh-show-ps-print-msg-show)
1946 mh-show-ps-print-toggle-mime): Delete.
1947 (mh-show-ps-print-map): Update accordingly.
1948 (mh-show-mode): Use mh-highlight-citation-style instead of
1949 mh-highlight-citation-p.
1950 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
1952 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
1953 docstrings with manual.
1954 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
1955 docstrings with manual.
1957 2005-12-01 Bill Wohler <wohler@newt.com>
1959 * mh-init.el (mh-defface-compat): Checkdoc fix.
1961 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
1962 Bogofilter is lowercase except at beginning of sentence and in
1965 2005-11-04 Bill Wohler <wohler@newt.com>
1967 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
1968 Move to mh-init.el to minimize bulk of mh-customize.el.
1970 * mh-init.el: Modify commentary since file is used for load and
1971 initialization as well as setting and getting the variant.
1972 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
1975 * mh-customize.el: Refactor faces. Move grayscale requirements
1976 last before t. Use uniform line breaks.
1977 (mh-min-colors-defined-flag): New variable.
1978 (mh-defface-compat): New function. Provides backward compatibility
1980 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
1981 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
1982 (mh-folder-body): Use mh-defface-compat.
1984 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
1986 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
1987 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
1988 (mh-folder-to-face): Use the min-colors attribute instead of the
1991 2005-11-03 Bill Wohler <wohler@newt.com>
1993 * mh-customize.el (mh-refile-preserves-sequences-flag)
1994 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
1995 docstrings with manual.
1997 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
1999 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2000 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2003 2005-11-01 Bill Wohler <wohler@newt.com>
2005 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2007 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2008 (mh-reply, mh-send, mh-send-other-window)
2009 (mh-fill-paragraph-function): Sync docstrings with manual.
2010 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2011 msg argument to message (to make for a better docstring).
2013 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2014 to defcustom. Rename by adding -flag.
2015 (mh-compose-forward-as-mime-flag)
2016 (mh-compose-letter-function, mh-forward-subject-format)
2017 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2018 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2021 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2022 (mh-ps-print-msg): Remove debugging messages.
2023 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2024 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2025 after message per conventions.
2027 2005-10-30 Bill Wohler <wohler@newt.com>
2029 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2030 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
2031 docstrings with manual.
2033 * mh-customize.el (mh-compose-space-does-completion-flag)
2034 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2035 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2036 means" to remain checkdoc clean and consistent with Emacs. I
2037 raised this issue with the Emacs developers and Stallman agrees
2038 that "On means" should be allowed in custom docstrings but that
2039 this change requires thought and should wait until after the Emacs
2042 2005-10-28 Bill Wohler <wohler@newt.com>
2044 * mh-comp.el (mh-annotate-msg): Use new variable
2045 mh-scan-field-destination-offset rather than hard-coding 1.
2047 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2049 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2050 functions to check input for mh-adaptive-cmd-note-flag and
2051 mh-scan-format-file respectively.
2052 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2055 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
2056 destination is the -, t, b, c, or n character for Replied, To, cc,
2057 Bcc, or Newsgroups respectively.
2058 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
2059 Call new function mh-msg-num-width-to-column to make leap between
2060 width and column more explicit.
2061 (mh-msg-num-width-to-column): New function that steals logic from
2062 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2063 isn't t since we can't adapt the scan lines in this case.
2064 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2065 make the documentation more clear.
2066 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2067 column, not a width.
2068 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2069 variable mh-scan-field-destination-offset rather than hard-coding
2072 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2073 (mh-notate): Use new variable mh-scan-field-destination-offset
2074 rather than hard-coding 1.
2075 (mh-message-number-width): Rename to mh-msg-num-width to be
2076 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2078 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2079 (mail-citation-hook): Quote URLs in docstrings and precede with
2080 `URL'. The former will suppress checkdoc warnings, the latter will
2081 turn them into hyperlinks in Emacs 22 (I just added the code to do
2083 (mh-scan-format-file): Checkdoc fix.
2085 2005-10-27 Bill Wohler <wohler@newt.com>
2087 * mh-customize.el (mh-adaptive-cmd-note-flag)
2088 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2090 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2091 (mh-note-cur, mh-scan-good-msg-regexp)
2092 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2093 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2094 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2095 (mh-scan-subject-regexp, mh-scan-format-regexp)
2096 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2099 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2101 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2102 of hard-coded string.
2103 (mh-mail-header-separator, mh-signature-separator-regexp): Use
2104 "regular expression" in docstring instead of regexp.
2105 (mh-scan-msg-number-regexp)
2106 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2107 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2108 (mh-cmd-note): Sync docstrings with manual.
2110 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2113 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2115 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2116 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2117 (mh-mml-secure-message-signencrypt): Ditto.
2119 2005-10-24 Bill Wohler <wohler@newt.com>
2121 * mh-gnus.el: Load mml.el in order to see if
2122 mml-minibuffer-read-disposition is defined or not.
2124 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2127 2005-10-23 Miles Bader <miles@gnu.org>
2129 * .arch-inventory: New file.
2131 2005-10-23 Bill Wohler <wohler@newt.com>
2133 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
2134 docstring with manual.
2136 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2137 mh-alias.el and move to mh-acros.el
2139 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2140 mh-identity.el and move to mh-acros.el
2142 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2143 mh-identity.el and mh-alias.el.
2145 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2146 warning in Emacs 22.
2148 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2150 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2151 assoc-string (if the function is available) and falls back on
2152 assoc-ignore-case if assoc-string is not found.
2153 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2154 assoc-ignore-case is a obsolete function in Emacs 22.
2156 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2157 track of whether the tool-bar in mh-folder-mode has been
2159 (mh-folder-mode): Initialize the tool-bar for folders the first
2160 time we get into mh-letter-mode.
2162 * mh-customize.el (mh-buffer-exists-p): New function which tests
2163 presence of buffers of a given mode.
2164 (mh-tool-bar-define): New functions
2165 mh-tool-bar-folder-buttons-init and
2166 mh-tool-bar-letter-buttons-init are defined. These functions are
2167 used to create the tool-bar from the corresponding customizable
2170 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2171 keeps track of whether the tool-bar in mh-letter-mode has been
2173 (mh-letter-mode): Initialize the tool-bar for drafts the first
2174 time we get into mh-letter-mode.
2176 2005-10-23 Bill Wohler <wohler@newt.com>
2178 * mh-comp.el (mh-letter-menu): Rename
2179 mh-mhn-compose-external-compressed-tar to
2180 mh-mh-compose-external-compressed-tar. Rename
2181 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2182 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2183 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2184 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2185 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
2187 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2188 mh-mh-directive-present-p.
2189 (mh-send-letter): Rename mh-mhn-directive-present-p to
2190 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2191 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2192 mh-mhn-compose-anon-ftp to 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. Rename mh-mhn-compose-anon-ftp to
2197 mh-mh-compose-anon-ftp. Rename
2198 mh-mhn-compose-external-compressed-tar to
2199 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2200 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2201 mh-mh-compose-external-type.
2202 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2203 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
2204 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2205 mh-yank-from-start-of-msg to mh-yank-behavior.
2206 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2207 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2208 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2209 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2210 (mh-letter-complete-or-space, mh-letter-confirm-address)
2211 (mh-letter-next-header-field-or-indent)
2212 (mh-letter-previous-header-field)
2213 (mh-letter-toggle-header-field-display): Sync docstrings with
2216 * mh-customize.el (mh-edit-mhn-hook): Rename to
2218 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2219 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2220 and user-visible values from mhn and Gnus to MH and MML.
2221 (mh-before-send-letter-hook): Add 'ispell-message option.
2222 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2223 mh-pgp-support-flag.
2224 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2225 (mh-delete-yanked-msg-window-flag)
2226 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2227 (mh-letter-complete-function, mh-letter-fill-column)
2228 (mh-mml-method-default, mh-signature-file-name)
2229 (mh-signature-separator-flag, mh-x-face-file)
2230 (mh-yank-behavior, mail-citation-hook)
2231 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2234 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2235 provided for Emacs 21 environments that lack it.
2237 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2239 (mh-compose-forward): mh-mh-forward-message requires string arg.
2240 (mh-minibuffer-read-type): New function.
2241 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2242 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2243 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2244 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2245 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
2246 Rename mh-mhn-compose-external-type to
2247 mh-mh-compose-external-type.
2248 (mh-mhn-compose-external-compressed-tar): Rename to
2249 mh-mh-compose-external-compressed-tar. Rename
2250 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2251 (mh-mhn-compose-external-type): Rename to
2252 mh-mh-compose-external-type.
2253 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2254 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
2255 Use correct program in message.
2256 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2257 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2258 (mh-compose-forward, mh-mh-attach-file)
2259 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2260 (mh-mh-compose-external-type, mh-mh-forward-message)
2261 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2262 mh-minibuffer-read-type.
2263 (mh-mime-content-types): Move comment about only being used in
2264 Emacs 20 to docstring.
2265 (mh-mh-compose-external-type): Rename extra-param argument to
2267 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
2268 (mh-mime-display-part, mh-mime-display-single): Rename
2269 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
2270 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2272 (mh-compose-forward): Rename mh-mhn-compose-forw to
2273 mh-mh-forward-message.
2274 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2276 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2277 (mh-mh-attach-file, mh-mh-compose-type)
2278 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2279 (mh-mh-compose-external-compressed-tar)
2280 (mh-mh-compose-external-type, mh-mh-forward-message)
2281 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
2282 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2283 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2284 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2285 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2286 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2287 Sync docstrings with manual.
2289 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2290 mh-pgp-support-flag.
2292 2005-10-17 Peter S Galbraith <psg@debian.org>
2294 * mh-identity.el (mh-identity-field-handler): Use
2295 `assoc-ignore-case' to compare against header field for mixed-case
2298 2005-10-17 Bill Wohler <wohler@newt.com>
2300 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
2301 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2302 to mail/compose, fld_open to fld-open.
2303 (mh-letter-tool-bar-map): Rename image file mail_send to
2306 2005-10-16 Bill Wohler <wohler@newt.com>
2308 * mh-comp.el (mh-display-completion-list-compat): New macro which
2309 calls `display-completion-list' correctly in older environments.
2310 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2312 (mh-complete-word): Use it.
2314 * mh-init.el (mh-image-load-path): Use locate-library to find
2315 MH-E. This simplified the code a lot. Flattened out nested
2316 statements even more.
2318 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2320 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2321 causes a compiler warning.
2323 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2324 the message to be viewed (closes SF #1306141).
2326 2005-10-16 Masatake YAMATO <jet@gyve.org>
2328 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2329 of completion to `display-completion-list'.
2331 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2333 * mh-init.el (mh-image-load-path-called-flag): New variable which
2334 is used by mh-image-load-path so that it runs only once.
2335 (mh-image-load-path): Modify so that it gets run only once. Also
2336 flatten out heavily nested if statements to make it clearer.
2338 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2339 to find images used in the toolbar.
2341 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2343 2005-10-14 Bill Wohler <wohler@newt.com>
2345 * mh-e.el (Version, mh-version): Add +cvs to version.
2347 2005-10-14 Bill Wohler <wohler@newt.com>
2349 Released MH-E version 7.85.
2351 * mh-e.el (Version, mh-version): Update for release 7.85.
2353 2005-10-14 Bill Wohler <wohler@newt.com>
2355 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2356 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2357 need to be indented.
2359 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
2360 but the code that invoked the face had not been updated. Tick
2361 highlighting working again.
2363 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2364 make-variable-buffer-local call to top level to avoid warnings in
2367 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
2370 2005-10-09 Bill Wohler <wohler@newt.com>
2372 * mh-init.el (mh-image-load-path): New function that adds the path
2373 to the MH-E images to the image-load-path or load-path depending
2374 on the version of Emacs.
2376 * mh-customize.el: Call mh-image-load-path just before
2377 mh-tool-bar-define so that the toolbar images can be found.
2379 2005-10-04 Bill Wohler <wohler@newt.com>
2381 * ChangeLog: Move contents into ChangeLog.1 and trim.
2383 * ChangeLog.1: New file. Contains old ChangeLog.
2386 Copyright (C) 2005 Free Software Foundation, Inc.
2388 Copying and distribution of this file, with or without modification,
2389 are permitted in any medium without royalty provided the copyright
2390 notice and this notice are preserved.
2393 ;; sentence-end-double-space: nil
2396 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51