1 2006-03-19 Bill Wohler <wohler@newt.com>
3 * mh-comp.el (mh-reply): Sync docstring with manual.
5 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
8 2006-03-17 Bill Wohler <wohler@newt.com>
10 * mh-compat.el (mh-image-load-path-for-library): Minor docstring
13 2006-03-16 Bill Wohler <wohler@newt.com>
15 * mh-comp.el (mh-send-letter): Use split-string to break up
16 mh-send-args (closes SF #1448604).
17 (mh-compose-and-send-mail): Use run-hook-with-args for
18 mh-compose-letter-function.
20 * mh-e.el (mh-list-to-string-1): Use dolist.
22 * mh-compat.el (mh-image-load-path-for-library): Prefer user's
25 2006-03-15 Bill Wohler <wohler@newt.com>
27 * mh-compat.el (mh-image-load-path-for-library): Fix example by
28 not recommending that one binds image-load-path. Just defvar it to
29 placate compiler and only use it if previously defined.
31 * mh-e.el (image-load-path): Don't bind!
33 * mh-folder.el (mh-folder-mode): Only use image-load-path if
36 * mh-letter.el (mh-letter-mode): Ditto.
38 * mh-utils.el (mh-logo-display): Ditto.
40 2006-03-14 Bill Wohler <wohler@newt.com>
42 * mh-compat.el (mh-image-load-path-for-library): Incorporate
43 changes from image-load-path-for-library, which are:
44 (image-load-path-for-library): Pass value of path rather than
45 symbol. Always return list of directories. Guarantee that image
46 directory comes first.
48 * mh-e.el (image-load-path): Define on those Emacsen that lack it
49 to avoid compile and run-time errors.
51 * mh-folder.el (mh-folder-mode): Use new idiom for setting
54 * mh-letter.el (mh-letter-mode): Ditto.
56 * mh-utils.el (mh-logo-display): Ditto.
58 2006-03-12 Bill Wohler <wohler@newt.com>
60 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
63 2006-03-10 Bill Wohler <wohler@newt.com>
65 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
66 flag to replace-in-string. This was badly needed by
67 mh-quote-pick-expr in order to properly quote subjects when using
68 / s on XEmacs (closes SF #1447598).
69 (mh-image-load-path-for-library): Merged changes from Reiner. Add
70 no-error argument. If path t, just return directory.
72 * mh-e.el (mh-profile-component): Drop `s' from mhparam
73 -components for Mailutils compatibility (closes SF #1446985).
75 2006-03-06 Bill Wohler <wohler@newt.com>
77 * mh-e.el (Version, mh-version): Add +cvs to version.
79 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
81 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
82 handling of duplicate messages. The test in cond was too strong
83 and wasn't catching the case where origin-map was nil.
85 2006-03-05 Bill Wohler <wohler@newt.com>
87 Release MH-E version 7.93.
89 * mh-e.el (Version, mh-version): Update for release 7.93.
91 2006-03-05 Bill Wohler <wohler@newt.com>
93 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
94 calling mh-image-load-path-for-library since this is the default.
96 * mh-letter.el (mh-letter-mode): Ditto.
98 * mh-utils.el (mh-logo-display): Ditto.
100 2006-03-04 Bill Wohler <wohler@newt.com>
102 * mh-compat.el (mh-image-load-path-for-library): Move here from
103 mh-utils.el and wrap with mh-defun-compat since this function will
104 be soon added to image.el.
106 * mh-utils.el (mh-image-load-path-for-library): Move to
108 (mh-normalize-folder-name): Add return-nil-if-folder-empty
109 argument which is useful when calling mh-normalize-folder-name to
110 process the folder argument for the folders command.
111 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
112 this function more robust. It could too easily list the folders in
114 (mh-folder-list): Fix a couple of problems pointed out by Thomas
115 Baumann. Set folder to nil if empty. Don't append "/" if folder
118 2006-03-03 Bill Wohler <wohler@newt.com>
120 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
121 mh-image-load-path-for-library.
123 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
124 mh-image-load-path-for-library.
126 * mh-utils.el (mh-image-load-path): Rename to
127 mh-image-load-path-for-library. Add example to docstring. Rename
128 local variable mh-image-directory to image-directory. Move error
129 checks to default case in cond and simplify.
131 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
132 docstrings with manual.
134 2006-03-02 Bill Wohler <wohler@newt.com>
136 * mh-folder.el (mh-tool-bar-init): Autoload.
137 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
138 Set scoped variables image-load-path and load-path with updated
139 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
141 * mh-letter.el (mh-tool-bar-init): Autoload.
142 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
143 Set scoped variables image-load-path and load-path with updated
144 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
146 * mh-show.el (mh-tool-bar-init): Autoload.
147 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
150 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
151 messages per conventions.
152 (mh-tool-bar-folder-buttons-init)
153 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
154 (mh-tool-bar-define call): Format.
156 * mh-utils.el (mh-image-directory)
157 (mh-image-load-path-called-flag): Delete.
158 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
159 changes are that it no longer uses/sets mh-image-directory or
160 mh-image-load-path-called-flag, and returns the updated path
161 rather than change it.
162 (mh-logo-display): Change usage of mh-image-load-path.
164 2006-02-28 Bill Wohler <wohler@newt.com>
166 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
167 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
168 to subjects with special characters by quoting regular expression
169 characters in pick expression derived from existing subjects and
170 other fields (closes SF #1432548).
171 (mh-narrow-to-subject): Remove Re: string from subject so that
172 pick can find originating message (closes SF #1438369).
174 * mh-utils.el (mh-image-load-path): Rename variable to
176 (mh-image-load-path): Access mh-image-directory instead of
178 (mh-folder-list): Fix problem with passing in a folder and getting
179 nothing back. Fix problem with passing in empty string and getting
180 the entire filesystem (or infinite loop). Don't append slash to
181 folder. These fixes fix problems observed with the pick search.
182 Thanks to Thomas Baumann for the help (closes SF #1435381).
183 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
184 function for quoting pick regular expression characters (closes SF
187 2006-02-27 Bill Wohler <wohler@newt.com>
189 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
192 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
193 docstring about obsolete variable mh-mime-content-types.
195 * mh-e.el (mh-variant): Sync docstring with manual.
196 (cus-face): Require as it is needed by mh-inherit-face-flag.
198 * mh-compat.el (mh-display-color-cells): Return 2 if
199 device-color-cells returns nil (closes SF #1436924).
201 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
202 mh-display-color-cells.
204 2006-02-21 Eric Ding <ericding@alum.mit.edu>
206 * mh-e.el (mh-invisible-header-fields-internal): Add entry
209 2006-02-20 Eric Ding <ericding@alum.mit.edu>
211 * mh-e.el (mh-invisible-header-fields-internal): Add entries
212 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
213 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
214 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
215 "X-Roving-" by removing unnecessary "*" at end.
217 2006-02-19 Bill Wohler <wohler@newt.com>
219 * mh-alias.el (mh-address-mail-regexp)
220 (mh-goto-address-find-address-at-point): Delete copies from
222 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
223 mh-address-mail-regexp.
224 (mh-alias-add-address-under-point): Use
225 goto-address-find-address-at-point instead of
226 mh-goto-address-find-address-at-point.
228 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
230 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
232 (mh-show-addr): Call goto-address unconditionally. User should use
233 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
235 2006-02-18 Bill Wohler <wohler@newt.com>
237 * mh-e.el (Version, mh-version): Add +cvs to version.
239 2006-02-18 Bill Wohler <wohler@newt.com>
241 Release MH-E version 7.92.
243 * mh-e.el (Version, mh-version): Update for release 7.92.
245 2006-02-17 Bill Wohler <wohler@newt.com>
247 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
248 backgrounds per Mark's suggestion.
250 * mh-utils.el (mh-image-load-path): Fix problem that images on
251 load-path or image-load-path would win over relative paths (newer
252 MH-E or Emacs distribution).
254 2006-02-16 Bill Wohler <wohler@newt.com>
256 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
257 the defface :inherit keyword is available.
258 (mh-face-data): New variable (contains all face specs) and
260 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
261 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
262 (mh-folder-msg-number, mh-folder-refiled)
263 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
264 (mh-folder-subject, mh-folder-tick, mh-folder-to)
265 (mh-search-folder, mh-letter-header-field, mh-show-cc)
266 (mh-show-date, mh-show-from)
267 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
268 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
269 (mh-show-to, mh-show-xface, mh-speedbar-folder)
270 (mh-speedbar-folder-with-unseen-messages)
271 (mh-speedbar-selected-folder)
272 (mh-speedbar-selected-folder-with-unseen-messages): Use
275 * mh-utils.el (mh-image-load-path): The variables image-load-path
276 or load-path would not get updated if user set mh-image-load-path.
277 Moved tests and add-to-list calls outside of cond so they are
278 applied consistently, even if they are redundant in some
279 circumstances. Efficiency isn't a concern here. Made error
280 messages more user-friendly.
282 2006-02-15 Peter S Galbraith <psg@debian.org>
284 * mh-compat.el (mh-image-search-load-path): Compatibility code.
285 Emacs 21 and XEmacs don't have `image-search-load-path'.
287 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
288 images are already found.
290 2006-02-10 Bill Wohler <wohler@newt.com>
292 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
293 rather than use defun*. XEmacs cannot create a proper autoload for
296 2006-02-09 Bill Wohler <wohler@newt.com>
298 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
299 that causes an infinite loop on XEmacs.
301 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
304 2006-02-08 Peter S Galbraith <psg@debian.org>
306 * mh-e.el (mh-invisible-header-fields-internal): Added entries
307 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
309 2006-02-04 Bill Wohler <wohler@newt.com>
311 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
312 has an emacsclient command that supports --eval. I had read that
313 gnudoit was deprecated in favor of gnuclient anyway.
315 2006-02-04 Eric Ding <ericding@alum.mit.edu>
317 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
318 handle OpenOffice documents.
320 2006-02-03 Bill Wohler <wohler@newt.com>
322 * mh-e.el (Version, mh-version): Add +cvs to version.
324 2006-02-03 Bill Wohler <wohler@newt.com>
326 Release MH-E version 7.91.
328 * mh-e.el (Version, mh-version): Update for release 7.91.
330 2006-02-03 Bill Wohler <wohler@newt.com>
332 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
333 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
334 of local variable mh-library-name.
336 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
337 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
338 88) with (min-colors 64) in face specifications so that MH-E still
339 looks good on systems with fewer colors (such as Eric Ding's).
341 2006-02-03 Peter S Galbraith <psg@debian.org>
343 * mh-utils.el (mh-image-load-path): New variable to optionally
344 hold the directory where MH-E images are stored. If nil, then
345 the function `mh-image-load-path' will find it. This variable
346 will be used for Debian packaging.
347 (mh-image-load-path function): Use variable `mh-image-load-path'
348 if non-nil and exists.
350 2006-02-03 Mark D. Baushke <mdb@gnu.org>
352 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
353 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
354 errors if describe-bindings is called before tool-bar-mode is used.
356 2006-02-03 Peter S Galbraith <psg@debian.org>
358 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
359 `mh-url-unresrved-chars'.
361 2006-02-02 Bill Wohler <wohler@newt.com>
363 * mh-e.el (Version, mh-version): Add +cvs to version.
365 2006-02-02 Bill Wohler <wohler@newt.com>
367 Release MH-E version 7.90.
369 * mh-e.el (Version, mh-version): Update for release 7.90.
371 2006-02-01 Bill Wohler <wohler@newt.com>
373 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
375 * mh-alias.el (mh-alias-gecos-name): Use
376 mh-replace-regexp-in-string instead of replace-regexp-in-string.
377 (crm, multi-prompt): Use mh-require instead of require.
378 (mh-goto-address-find-address-at-point): Use
379 mh-line-beginning-position and mh-line-end-position instead of
380 line-beginning-position and line-end-position. Use
381 mh-match-string-no-properties instead of
382 match-string-no-properties.
384 * mh-comp.el (mh-modify-header-field): Use
385 mh-line-beginning-position and mh-line-end-position instead of
386 line-beginning-position and line-end-position.
388 * mh-compat.el (mailabbrev): Use mh-require instead of require.
389 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
390 (mh-face-background): Make docstring consistent.
391 (mh-require, mh-cancel-timer, mh-display-color-cells)
392 (mh-line-beginning-position, mh-line-end-position)
393 (mh-match-string-no-properties, mh-replace-regexp-in-string)
394 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
395 add mh- prefix since compatibility functions should have our
396 package prefix (mh-) by Emacs convention and to avoid messing up
397 checks for the same functions in other packages.
399 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
400 from mh-xemacs.el and rename.
401 (mh-xargs): Use mh-line-beginning-position and
402 mh-line-end-position instead of line-beginning-position and
404 (mh-defface-compat): Use mh-display-color-cells instead of
407 * mh-folder.el (which-func): Use mh-require instead of require.
409 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
412 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
413 mh-require instead of require.
415 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
416 (mh-letter-next-header-field): Use mh-line-beginning-position and
417 mh-line-end-position instead of line-beginning-position and
420 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
421 mh-match-string-no-properties instead of
422 match-string-no-properties.
423 (mh-narrow-to-header-field): Use mh-line-beginning-position and
424 mh-line-end-position instead of line-beginning-position and
427 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
428 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
429 mh-line-beginning-position and mh-line-end-position instead of
430 line-beginning-position and line-end-position.
432 * mh-search.el (which-func): Use mh-require instead of require.
433 (mh-make-pick-template, mh-index-visit-folder)
434 (mh-pick-parse-search-buffer, mh-swish-next-result)
435 (mh-mairix-next-result, mh-namazu-next-result)
436 (mh-pick-next-result, mh-grep-next-result)
437 (mh-index-create-imenu-index, mh-index-match-checksum)
438 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
439 mh-line-beginning-position and mh-line-end-position instead of
440 line-beginning-position and line-end-position.
442 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
444 (mh-folder-size-flist, mh-parse-flist-output-line)
445 (mh-add-sequence-notation): Use mh-line-beginning-position and
446 mh-line-end-position instead of line-beginning-position and
449 * mh-show.el (mh-show-addr): Use mh-require instead of require.
451 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
452 (mh-speed-view, mh-folder-speedbar-buttons)
453 (mh-speed-highlight, mh-speed-goto-folder)
454 (mh-speed-add-buttons, mh-speed-parse-flists-output)
455 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
456 (mh-speed-add-folder): Use mh-line-beginning-position and
457 mh-line-end-position instead of line-beginning-position and
459 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
461 * mh-thread.el (mh-thread-find-children)
462 (mh-thread-parse-scan-line, mh-thread-generate): Use
463 mh-line-beginning-position and mh-line-end-position instead of
464 line-beginning-position and line-end-position.
466 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
467 instead of display-color-cells.
468 (mh-folder-list): Use mh-replace-regexp-in-string instead of
469 replace-regexp-in-string.
470 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
471 Use mh-line-beginning-position and mh-line-end-position instead of
472 line-beginning-position and line-end-position.
474 * mh-comp.el (mh-send-sub): Don't find components file in current
475 directory--this seems to have been a side-effect of commenting out
476 the use of an old mh-etc variable. Improve error message.
478 2006-01-31 Bill Wohler <wohler@newt.com>
480 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
481 argument since compatibility functions should have our package
482 prefix (mh-) by Emacs convention and to avoid messing up checks
483 for the same functions in other packages. Use explicit argument
484 instead of forming name by adding mh- prefix so that one can grep
485 and find the definition.
487 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
488 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
489 mh-assoc-string instead of assoc-string.
491 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
492 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
493 here from mh-utils.el.
494 (mh-display-completion-list): Move here from mh-comp.el.
495 (mh-face-foreground, mh-face-background): Move here from
497 (mh-write-file-functions): Move here from mh-folder.el
499 * mh-folder.el (mh-write-file-functions-compat): Move to
500 mh-compat.el and rename to mh-write-file-functions.
501 (mh-folder-mode): Use the new name.
503 * mh-gnus.el (gnus-local-map-property): Rename to
504 mh-gnus-local-map-property.
505 (mm-merge-handles): Rename to mh-mm-merge-handles.
506 (mm-set-handle-multipart-parameter): Rename to
507 mh-mm-set-handle-multipart-parameter.
508 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
509 (mm-possibly-verify-or-decrypt): Rename to
510 mh-mm-possibly-verify-or-decrypt.
511 (mm-handle-multipart-ctl-parameter): Rename to
512 mh-mm-handle-multipart-ctl-parameter.
513 (mm-readable-p): Rename to mh-mm-readable-p.
514 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
515 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
516 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
517 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
518 (mml-minibuffer-read-disposition): Rename to
519 mh-mml-minibuffer-read-disposition.
521 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
522 instead of assoc-string.
524 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
525 (mh-mime-display, mh-mime-display-security)
526 (mh-insert-mime-button, mh-insert-mime-security-button)
527 (mh-handle-set-external-undisplayer)
528 (mh-mime-security-press-button, mh-mime-security-show-details)
529 (mh-mml-attach-file, mh-mime-cleanup)
530 (mh-destroy-postponed-handles): Use new mh-* names for
531 compatibility functions.
533 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
534 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
535 (mh-beginning-of-word): Use the new name.
536 (mh-get-field): Delete ancient alias.
538 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
539 and rename to mh-face-foreground
540 (mh-face-background-compat): Move to mh-compat.el
541 and rename to mh-face-background.
542 (mh-face-display-function): Use the new names.
543 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
544 instead of url-hexify-string.
545 (url-unreserved-chars): Move to mh-compat.el and rename to
546 mh-url-unreserved-chars.
547 (url-hexify-string): Move to mh-compat.el and rename to
548 mh-url-hexify-string.
550 * mh-letter.el (mh-complete-word): Fix bug in call to
551 mh-display-completion-list. Wrong argument was passed, so
552 completions wouldn't show highlighted prefix.
554 2006-01-29 Bill Wohler <wohler@newt.com>
556 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
557 mh-adaptive-cmd-note-flag.
559 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
560 docstring. sc-cite-original is autoloaded via loaddefs.el for all
561 supported versions. In addition, the package name "sc" has been
562 made obsolete by "supercite since at least Emacs 21.
564 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
565 revealed character constants that were still strings (closes SF
568 * mh-comp.el (mh-letter-hide-all-skipped-fields)
569 (mh-get-header-field): Move to mh-utils.el so that you can read
570 messages without having to load mh-comp.el and mh-letter.el.
572 * mh-letter.el (mh-hidden-header-keymap)
573 (mh-letter-toggle-header-field-display)
574 (mh-letter-skipped-header-field-p)
575 (mh-letter-skip-leading-whitespace-in-header-field)
576 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
577 can read messages without having to load mh-comp.el and
580 * mh-utils.el (mh-get-header-field)
581 (mh-letter-hide-all-skipped-fields)
582 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
583 (mh-letter-toggle-header-field-display)
584 (mh-letter-skip-leading-whitespace-in-header-field)
585 (mh-letter-truncate-header-field): Move here from mh-comp.el and
586 mh-letter.el so that you can read messages without having to load
587 mh-comp.el and mh-letter.el.
589 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
590 least, will deliver them to us.
592 * mh-e.el (mh-after-commands-processed-hook)
593 (mh-before-commands-processed-hook): Specify what sort of requests
596 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
599 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
601 (mh-letter-mode): Remove Mail menu.
603 2006-01-29 Bill Wohler <wohler@newt.com>
606 Remove circular dependencies. mh-e.el now includes few require
607 statements and stands alone. Other files should need to require
608 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
610 Remove unneeded require statements.
611 Remove unneeded load statements, or replace them with non-fatal
613 Break out components into their own files that were often spread
615 As a result, many functions that are now only used within a single
616 file no longer need to be autoloaded.
617 Rearrange and provide consistent headings.
620 * mh-acros.el: Update commentary to reflect current usage. Add
621 autoload cookies to all macros.
622 (mh-require-cl): Merge docstring and comment.
623 (mh-do-in-xemacs): Fix typo in docstring.
624 (assoc-string): Move to new file mh-compat.el.
625 (with-mh-folder-updating, mh-in-show-buffer)
626 (mh-do-at-event-location, mh-seq-msgs): Move here from
628 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
631 * mh-alias.el (mh-address-mail-regexp)
632 (mh-goto-address-find-address-at-point): Move here from
634 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
636 * mh-buffers.el: Update descriptive text.
638 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
640 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
641 (mh-letter-menu, mh-letter-mode-help-messages)
642 (mh-letter-buttons-init-flag, mh-letter-mode)
643 (mh-font-lock-field-data, mh-letter-header-end)
644 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
645 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
646 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
647 (mh-filter-out-non-text, mh-insert-prefix-string)
648 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
649 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
650 (mh-letter-complete, mh-letter-complete-or-space)
651 (mh-letter-confirm-address, mh-letter-header-field-at-point)
652 (mh-letter-next-header-field-or-indent)
653 (mh-letter-next-header-field, mh-letter-previous-header-field)
654 (mh-letter-skipped-header-field-p)
655 (mh-letter-skip-leading-whitespace-in-header-field)
656 (mh-hidden-header-keymap)
657 (mh-letter-toggle-header-field-display-button)
658 (mh-letter-toggle-header-field-display)
659 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
661 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
662 (mh-pgp-support-flag, mh-x-mailer-string)
663 (mh-letter-header-field-regexp): Move to mh-e.el.
664 (mh-goto-header-field, mh-goto-header-end)
665 (mh-extract-from-header-value, mh-beginning-of-word): Move to
667 (mh-insert-header-separator): Move to mh-comp.el.
668 (mh-display-completion-list-compat): Move to new file
671 * mh-compat.el: New file.
672 (assoc-string): Move here from mh-acros.el.
673 (mh-display-completion-list): Move here from mh-comp.el.
675 * mh-customize.el: Move content into mh-e.el and remove.
677 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
678 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
679 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
680 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
681 declared here so that they can be used in docstrings.
682 (mh-sent-from-folder, mh-sent-from-msg)
683 (mh-letter-header-field-regexp, mh-pgp-support-flag)
684 (mh-x-mailer-string): Move here from mh-comp.el.
685 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
686 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
688 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
689 (mh-previous-window-config, mh-seen-list, mh-seq-list)
690 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
691 (mh-show-folder-buffer, mh-mail-header-separator)
692 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
693 (mh-signature-separator, mh-signature-separator-regexp)
694 (mh-list-to-string, mh-list-to-string-1): Move here from
696 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
697 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
698 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
700 (mh-exchange-point-and-mark-preserving-active-mark)
701 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
702 deprecated file mh-exec.el.
703 (mh-path): Move here from deprecated file mh-customize.el.
704 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
705 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
706 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
707 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
708 (mh-profile-component-value, mh-defface-compat): Move here from
709 deprecated file mh-init.el.
710 (mh-goto-next-button, mh-folder-mime-action)
711 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
712 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
714 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
715 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
716 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
717 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
718 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
719 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
720 (mh-scan-cmd-note-width, mh-scan-destination-width)
721 (mh-scan-date-width, mh-scan-date-flag-width)
722 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
723 (mh-scan-field-destination-offset)
724 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
725 (mh-scan-field-subject-start-offset, mh-scan-format)
726 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
728 (mh-partial-folder-mode-line-annotation)
729 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
730 (mh-generate-sequence-font-lock, mh-last-destination)
731 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
732 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
733 (mh-execute-commands, mh-first-msg, mh-header-display)
734 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
735 (mh-folder-from-address, mh-prompt-for-refile-folder)
736 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
737 (mh-previous-page, mh-previous-undeleted-msg)
738 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
739 (mh-reset-threads-and-narrowing, mh-rescan-folder)
740 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
741 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
742 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
743 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
744 (mh-folder-sequence-menu, mh-folder-message-menu)
745 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
746 (mh-write-file-functions-compat, mh-folder-mode)
747 (mh-restore-desktop-buffer, mh-scan-folder)
748 (mh-regenerate-headers, mh-generate-new-cmd-note)
749 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
750 (mh-process-or-undo-commands, mh-process-commands)
751 (mh-update-unseen, mh-delete-scan-msgs)
752 (mh-outstanding-commands-p): Move to new file mh-folder.el.
753 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
754 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
755 (mh-lessp): Move to mh-utils.el.
756 (mh-parse-flist-output-line, mh-folder-size-folder)
757 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
758 (mh-remove-sequence-notation, mh-remove-cur-notation)
759 (mh-remove-all-notation, mh-delete-seq-locally)
760 (mh-read-folder-sequences, mh-read-msg-list)
761 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
762 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
763 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
764 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
766 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
767 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
768 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
769 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
770 (mh-faces, mh-alias-completion-ignore-case-flag)
771 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
772 (mh-alias-insert-file, mh-alias-insertion-location)
773 (mh-alias-local-users, mh-alias-local-users-prefix)
774 (mh-alias-passwd-gecos-comma-separator-flag)
775 (mh-new-messages-folders, mh-ticked-messages-folders)
776 (mh-large-folder, mh-recenter-summary-flag)
777 (mh-recursive-folders-flag, mh-sortm-args)
778 (mh-default-folder-for-message-function, mh-default-folder-list)
779 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
780 (mh-identity-list, mh-auto-fields-list)
781 (mh-auto-fields-prompt-flag, mh-identity-default)
782 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
783 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
784 (mh-junk-background, mh-junk-disposition, mh-junk-program)
785 (mh-compose-insertion, mh-compose-skipped-header-fields)
786 (mh-compose-space-does-completion-flag)
787 (mh-delete-yanked-msg-window-flag)
788 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
789 (mh-letter-complete-function, mh-letter-fill-column)
790 (mh-mml-method-default, mh-signature-file-name)
791 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
792 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
793 (mh-scan-format-file-check, mh-scan-format-file)
794 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
795 (mh-search-program, mh-compose-forward-as-mime-flag)
796 (mh-compose-letter-function, mh-compose-prompt-flag)
797 (mh-forward-subject-format, mh-insert-x-mailer-flag)
798 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
799 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
800 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
801 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
802 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
803 (mh-display-buttons-for-inline-parts-flag)
804 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
805 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
806 (mh-highlight-citation-style)
807 (mh-invisible-header-fields-internal)
808 (mh-delay-invisible-header-generation-flag)
809 (mh-invisible-header-fields, mh-invisible-header-fields-default)
810 (mh-invisible-header-fields-compiled, mh-invisible-headers)
811 (mh-lpr-command-format, mh-max-inline-image-height)
812 (mh-max-inline-image-width, mh-mhl-format-file)
813 (mh-mime-save-parts-default-directory, mh-print-background-flag)
814 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
815 (mh-show-use-xface-flag, mh-store-default-directory)
816 (mh-summary-height, mh-speed-update-interval)
817 (mh-show-threads-flag, mh-tool-bar-search-function)
818 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
819 (mh-before-commands-processed-hook, mh-before-quit-hook)
820 (mh-before-send-letter-hook, mh-delete-msg-hook)
821 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
822 (mh-inc-folder-hook, mh-insert-signature-hook)
823 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
824 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
825 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
826 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
827 (mh-folder-address, mh-folder-body)
828 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
829 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
830 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
831 (mh-folder-subject, mh-folder-tick, mh-folder-to)
832 (mh-search-folder, mh-letter-header-field, mh-show-cc)
833 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
834 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
835 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
836 (mh-speedbar-folder-with-unseen-messages)
837 (mh-speedbar-selected-folder)
838 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
839 deprecated file mh-customize.el.
841 * mh-exec.el: Move content into mh-e.el and remove.
843 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
845 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
847 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
849 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
850 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
851 to mail-abbrev-make-syntax-table.
853 * mh-identity.el (mh-identity-menu): New variable for existing
855 (mh-identity-make-menu-no-autoload): New alias for
856 mh-identity-make-menu which can be called from mh-e.el.
857 (mh-identity-list-set): Move to mh-e.el.
858 (mh-identity-add-menu): New function
859 (mh-insert-identity): Add optional argument maybe-insert so that
860 local variable mh-identity-local does not have to be visible.
861 (mh-identity-handler-default):
863 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
864 rest of keymaps). Update key binding for ? to call mh-help with
865 help messages in new argument.
866 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
867 which can be called from mh-e.el.
868 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
870 * mh-init.el: Move content into mh-e.el and remove.
872 * mh-junk.el: Update requires, untabify, and add mh-autoload
875 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
877 * mh-limit.el: New file. Contains display limit commands from
880 * mh-mime.el: Rearrange for consistency with other files.
881 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
883 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
884 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
885 (mh-goto-next-button): Move here from mh-e.el.
887 * mh-print.el: Rearrange for consistency with other files.
889 * mh-scan.el: New file. Contains scan line constants and utilities
890 from XXX, mh-funcs, mh-utils.el.
892 * mh-search.el: Rearrange for consistency with other files.
893 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
894 fields which don't exist in the saved header. Replace C-c C-f f
895 with C-c C-f m per mail-mode consistency.
896 (mh-search-mode): Use mh-set-help instead of setting
899 * mh-seq.el (mh-thread-message, mh-thread-container)
900 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
901 (mh-thread-id-index-map, mh-thread-index-id-map)
902 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
903 (mh-thread-subject-container-hash, mh-thread-duplicates)
904 (mh-thread-history, mh-thread-body-width)
905 (mh-thread-find-msg-subject mh-thread-initialize-hash)
906 (mh-thread-initialize, mh-thread-id-container)
907 (mh-thread-remove-parent-link, mh-thread-add-link)
908 (mh-thread-ancestor-p, mh-thread-get-message-container)
909 (mh-thread-get-message, mh-thread-canonicalize-id)
910 (mh-thread-prune-subject, mh-thread-container-subject)
911 (mh-thread-rewind-pruning, mh-thread-prune-containers)
912 (mh-thread-sort-containers, mh-thread-group-by-subject)
913 (mh-thread-process-in-reply-to, mh-thread-set-tables)
914 (mh-thread-update-id-index-maps, mh-thread-generate)
915 (mh-thread-inc, mh-thread-generate-scan-lines)
916 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
917 (mh-thread-add-spaces, mh-thread-print-scan-lines)
918 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
919 (mh-thread-current-indentation-level, mh-thread-next-sibling)
920 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
921 (mh-thread-ancestor, mh-thread-find-children)
922 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
923 to new file mh-thread.el.
924 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
925 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
926 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
927 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
928 (mh-current-message-header-field, mh-narrow-to-range)
929 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
931 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
933 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
934 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
935 (mh-define-sequence, mh-undefine-sequence)
936 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
937 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
938 (mh-parse-flist-output-line, mh-read-folder-sequences)
939 (mh-read-msg-list, mh-notate-user-sequences)
940 (mh-remove-cur-notation, mh-add-sequence-notation)
941 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
943 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
944 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
946 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
948 * mh-speed.el: Rearrange for consistency with other files.
950 * mh-thread.el: New file. Contains threading code from mh-seq.el.
952 * mh-tool-bar.el: New file. Contains tool bar creation code from
953 deprecated file mh-customize.el.
955 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
957 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
958 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
959 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
960 (mh-update-scan-format, mh-msg-num-width): Move to new file
962 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
963 (mh-header-field-font-lock, mh-header-to-font-lock)
964 (mh-header-cc-font-lock, mh-header-subject-font-lock)
965 (mh-show-font-lock-keywords)
966 (mh-show-font-lock-keywords-with-cite)
967 (mh-show-font-lock-fontify-region)
968 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
969 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
970 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
971 (mh-show-sequence-menu, mh-show-message-menu)
972 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
973 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
974 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
976 (mh-mail-header-separator, mh-signature-separator-regexp)
977 (mh-signature-separator, mh-globals-hash, mh-user-path)
978 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
979 (mh-previous-window-config, mh-current-folder mh-show-buffer)
980 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
981 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
982 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
983 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
984 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
986 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
987 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
988 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
989 Move to new file mh-folder.el.
990 (with-mh-folder-updating, mh-in-show-buffer)
991 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
992 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
993 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
995 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
996 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
997 (mh-face-background-compat, mh-face-display-function)
998 (mh-show-xface, mh-picon-directory-list)
999 (mh-picon-existing-directory-list)
1000 (mh-picon-cache, mh-picon-image-types)
1001 (mh-picon-set-directory-list, mh-picon-get-image)
1002 (mh-picon-file-contents, mh-picon-generate-path)
1003 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1004 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1005 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1006 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1007 (mh-x-image-scale-with-convert)
1008 (url-unreserved-chars, url-hexify-string)
1009 (mh-x-image-url-cache-canonicalize)
1010 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1011 (mh-x-image-url-fetch-image, mh-x-image-display)
1012 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1013 (mh-x-image-url-display): Move to new file mh-xface.el.
1014 (mh-logo-display): Call mh-image-load-path.
1015 (mh-find-path-run, mh-find-path): Move here from deprecated file
1017 (mh-help-messages): Now an alist of modes to an alist of messages.
1018 (mh-set-help): New function used to set mh-help-messages
1019 (mh-help): Adjust for new format of mh-help-messages. Add
1020 help-messages argument.
1021 (mh-prefix-help): Refactor to use mh-help.
1022 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1024 (mh-clear-sub-folders-cache): New function added to avoid exposing
1025 mh-sub-folders-cache variable.
1027 * mh-xface.el: New file. Contains X-Face and Face header field
1028 display routines from mh-utils.el.
1030 2006-01-17 Bill Wohler <wohler@newt.com>
1032 * mh-acros.el (assoc-string): Fix typo in argument.
1034 2006-01-16 Bill Wohler <wohler@newt.com>
1036 * mh-acros.el (require): Remove defadvice of require as defadvice
1037 is verboten within Emacs and our implementation was returning the
1038 wrong value from require. Upcoming restructuring should make this
1040 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1042 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
1043 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1045 * mh-identity.el (mh-identity-field-handler): Use it.
1047 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1048 (read-from-string string) with (string-to-number string).
1050 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1053 * mh-mime.el (mh-mml-forward-message): Ditto.
1055 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1056 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1057 (mh-openssl-parser, mh-index-update-maps): Ditto.
1059 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1060 (mh-thread-generate): Ditto.
1062 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1064 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1065 mm- functions for proper text=flowed handling (addresses SF
1068 2006-01-15 Bill Wohler <wohler@newt.com>
1070 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1071 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1074 * mh-utils.el (mh-show-limit-map): Ditto.
1076 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1078 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1080 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1081 where they are used.
1083 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1084 needed to help remove dependency on mh-utils.
1086 * mh-exec.el: New file. Move process support routines here from
1089 * mh-init.el (mh-utils): Remove require.
1090 (mh-exec): Add require.
1091 (mh-profile-component, mh-profile-component-value): Move here from
1094 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1095 dependencies on mh-utils.el.
1096 (mh-profile-component, mh-profile-component-value): Move to
1097 mh-init.el since that's the only place that uses them. (Other than
1098 mh-alias.el; I'm thinking that mh-find-path can set variable from
1099 the Aliasfile component like it does the other components).
1100 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1101 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1102 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1103 (defvar, mh-exec-cmd-output)
1104 (mh-exchange-point-and-mark-preserving-active-mark)
1105 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1106 file mh-exec.el so that mh-init.el doesn't have to depend on
1107 mh-utils.el, breaking circular dependency.
1121 * mh-speed.el: Added debugging statements (commented out) around
1122 requires to help find dependency loops. Will remove them when
1123 issues are resolved.
1125 2006-01-14 Bill Wohler <wohler@newt.com>
1127 * mh-customize.el (mh-index): Rename group to mh-search and sort
1128 group definition and options accordingly.
1129 (mh-index-program): Rename to mh-search-program.
1130 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1132 (mh-search-mode-hook): Change group from mh-index to mh-search.
1133 (mh-index-folder): Rename to mh-search-folder. Change group from
1134 mh-index to mh-search.
1136 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1137 to mh-search-folder.
1139 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1140 pick and grep are searchers too but aren't indexed.
1141 (mh-index-execute-search-function): Rename to mh-search-function.
1142 (mh-index-next-result-function): Rename to
1143 mh-search-next-result-function.
1144 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1145 (mh-search): Since redo-search-flag defaults to nil and is of
1146 lesser importance, make it an optional argument and place it after
1147 the folder and search-regexp arguments. Sync docstring with
1149 (mh-search-mode-map): Autoload so that keys are shown in help even
1150 before mh-search is loaded.
1151 (mh-search-mode): Sync docstring with manual.
1152 (mh-index-do-search): Rename argument indexer to searcher. Sync
1153 docstring with manual.
1154 (mh-pick-do-search): Sync docstring with manual.
1155 (mh-index-p): Rename to mh-search-p.
1156 (mh-indexer-choices): Rename to mh-search-choices.
1157 (mh-index-choose): Rename to mh-search-choose. Rename argument
1158 indexer to searcher.
1159 (mh-swish++-execute-search, mh-swish-execute-search)
1160 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1161 read the results" from docstring since these functions don't.
1162 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1164 (mh-index-generate-pretty-name): Prune -search from string so that
1165 folder names for pick searches are the same as those of other
1168 2006-01-13 Bill Wohler <wohler@newt.com>
1170 * mh-acros.el (require): Added Satyaki's comment regarding what
1171 needs to happen to remove this defadvice which caused a little
1172 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1173 advices `require' incorrectly).
1175 * mh-search.el (mh-index-next-result-function): Add format to
1177 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1179 (mh-pick-execute-search): Operate across all folders if no folder
1180 given and recurse folder(s).
1181 (mh-pick-next-result): Handle new output.
1183 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
1184 (mh-children-p, mh-folder-list): New functions.
1186 2006-01-12 Bill Wohler <wohler@newt.com>
1188 * mh-search.el: New file containing contents of mh-index.el and
1189 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1190 pick. Pick no longer sets the "search" sequence. Instead, it
1191 brings up a folder view that we're accustomed to. (closes SF
1193 (mh-index-search): Rename to mh-search.
1194 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1195 the Search to Perform Search and call mh-do-search. Add Search
1196 with Pick menu item.
1197 (mh-do-search): Delete.
1198 (mh-search-mode): Rename from mh-pick-mode.
1199 (MH-Search): Rename mode from MH-Pick.
1200 (mh-search-mode-map): Rename from mh-pick-mode-map.
1201 (mh-search-mode-help-messages): Rename from
1202 mh-pick-mode-help-messages.
1203 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1204 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1205 stay with that choice!
1208 * mh-pick.el: Merge into mh-search.el and delete.
1210 * mh-customize.el (mh-index-program): Change mh-index-search to
1211 mh-search in docstring.
1212 (mh-tool-bar-search-function): Change default from
1213 mh-search-folder to mh-search. Remove mh-search-folder as choice
1214 and rename mh-index-search choice to mh-search. Fix docstring.
1215 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1216 mh-search-folder to mh-search in docstring.
1218 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1219 Indexed Search to Search. Use mh-search instead of
1221 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1222 from mh-show-search-folder to mh-search.
1224 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1225 mh-search-folder no longer creates the search sequence.
1227 * mh-utils.el (mh-show-search-folder): Delete.
1228 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1229 Change s from mh-show-search-folder to mh-search.
1230 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1231 Search to Search. Use mh-search instead of mh-index-search.
1232 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1233 here from deleted mh-index.el.
1235 2006-01-11 Bill Wohler <wohler@newt.com>
1237 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1240 * mh-gnus.el: Require mh-acros.
1241 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1243 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1244 url-hexify-string to remove special characters from filenames
1245 (closes SF #1396499). Note that this invalidates the existing
1246 names in your cache so you might as well remove
1247 ~/Mail/.mhe-x-image-cache/* now.
1248 (url-unreserved-chars, url-hexify-string): Define if not defined.
1249 Copied from url-util.el in Emacs22 for Emacs 21.
1251 * mh-buffers.el: New file. Contains constants and code from
1252 mh-index.el and mh-utils.el.
1262 * mh-seq.el: Require new file mh-buffers.el.
1264 * mh-index.el: Require new file mh-buffers.el.
1265 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1268 * mh-utils.el: Require new file mh-buffers.el.
1269 (mh-temp-buffer, mh-temp-fetch-buffer)
1270 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1271 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1272 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1273 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1275 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1276 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1278 2006-01-10 Bill Wohler <wohler@newt.com>
1280 * mh-comp.el (mh-insert-letter): If you choose a different folder,
1281 the cur message is used. Sync docstring with manual (closes SF
1284 * mh-mime.el (mh-compose-forward): Use standard range argument
1285 instead of messages. Use more powerful mh-read-range instead of
1286 read-string. Sync docstring with manual (close SF #1205890).
1288 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1290 (mh-index-next-folder): Don't back up a line when going backwards
1291 since this skips the current folder heading if point is on the
1292 first message after the folder heading (closes SF #1126188).
1294 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1296 (mh-variants): Note variable isn't meant to be accessed directly;
1297 use function mh-variants instead.
1298 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1299 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1300 them. Updated to use mh-file-command-p which is more accurrate
1301 than file-executable-p which returns t for directories.
1302 (mh-file-command-p): Move here from mh-utils, since
1303 mh-variant-*-info are the only functions to use it.
1304 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1305 function mh-variants instead of variable. More robust.
1306 (mh-find-path-run): Move here from mh-utils.el. Mention that
1307 checking this variable is unnecessary.
1308 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1309 variants and an mhparam command that doesn't work if there isn't
1310 an MH profile, we can't get libdir for running install-mh. So
1311 don't bother. If there's an issue with the environment, direct the
1312 user to install MH and run install-mh (closes SF #835192). Don't
1313 read ~/.mh_profile directly. Use mh-profile-component which uses
1314 mhparam (closes SF #1016027).
1316 * mh-utils.el (mh-get-profile-field): Rename to
1317 mh-profile-component-value. Add colon to search removing
1318 unnecessary addition of colon to field in mh-profile-component.
1319 (mh-profile-component): Modify call to mh-profile-component-value
1320 accordingly. Move next to mh-profile-component-value.
1321 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1322 mh-init.el. It makes sense that code that is only run once per
1323 session (more or less) is in mh-init.el rather than cluttering
1325 (mh-no-install, mh-install): Delete.
1327 * mh-customize.el (mh-folder-msg-number):
1328 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1330 2006-01-09 Bill Wohler <wohler@newt.com>
1332 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1333 patch from Satyaki from SF #1016027.
1335 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1336 message, even if cur sequence is no longer present (closes SF
1339 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1341 (mh-letter-mode): Derive from mail-mode and delete code copied
1342 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1344 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1345 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1346 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1347 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1348 (mh-to-fcc): Move setting of folder argument to interactive
1349 argument as is the norm.
1350 (mh-letter-complete-function-alist): Add mail-reply-to.
1351 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1352 Mail-Followup-To, Reply-To, From).
1354 * mh-customize.el: Use ";; Forward definition." consistently.
1355 Comment declaration to remind programmer to update forward
1356 definition if default changes.
1363 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1366 2006-01-08 Bill Wohler <wohler@newt.com>
1368 Removed code that was marked as Emacs 20 compatible that was
1369 easily found showing how important it is to document such
1370 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1371 peculiarities that you find. Wrapped code for shushing compiler
1372 with (eval-when-compile), sometimes moving the defvars closer to
1373 where they were used.
1375 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1376 instead of mh-replace-in-string as mh-replace-in-string was
1377 replaced by a more appropriate defsubst in mh-xemacs.el.
1379 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1381 (mh-file-is-vcard-p): Removed redundant test.
1383 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1384 with eval-when-compile.
1385 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1386 (mh-invisible-header-fields-default): Add forward definitions.
1387 (mh-invisible-header-fields-default): Alphabetize.
1389 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1391 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1393 (mh-colors-available-p): Just call display-color-cells. It's on
1394 all supported Emacsen (and defaliased on XEmacs).
1398 * mh-init.el: Wrap compiler-shushing defvars with
1401 * mh-identity.el: Don't need (mh-require-cl).
1403 * mh-index.el: Don't need to load executable any more.
1405 * mh-mime.el: Wrap compiler-shushing defvars with
1407 (mh-have-file-command): Initialize variable to 'undefined. Add
1408 docstring. Update function of same name accordingly. Also don't
1409 need to load executable any more.
1410 (mh-mime-content-types): Delete.
1411 (mh-minibuffer-read-type): Prompt user for type if
1412 mh-file-mime-type returns application/octet-stream. Assume we have
1414 (mh-mime-display): Update error message.
1416 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1417 with eval-when-compile.
1419 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1420 with eval-when-compile.
1421 (mh-clean-msg-header): Don't set after-change-functions to nil.
1422 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1425 2006-01-07 Bill Wohler <wohler@newt.com>
1427 * mh-customize.el: Updated Faces documentation in header.
1428 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1429 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1431 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1432 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1435 2006-01-03 Mark D. Baushke <mdb@gnu.org>
1437 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1438 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1440 2006-01-03 Bill Wohler <wohler@newt.com>
1442 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1443 unification. Use single sentence if possible by using semicolon.
1444 Don't end message with punctuation. Don't need format with
1445 message. Quote messages as in docstrings: use `' around symbols,
1446 \" for option choices. Don't use quotes around %s.
1448 * mh-comp.el (mh-complete-word): Ditto.
1450 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1451 (mh-scan-format-file-check): Ditto.
1453 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1454 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1455 (mh-msg-num-width-to-column): Ditto.
1457 * mh-identity.el (mh-identity-field-handler): Ditto.
1459 * mh-index.el (mh-mairix-execute-search)
1460 (mh-swish-execute-search, mh-swish++-execute-search)
1461 (mh-namazu-execute-search): Ditto.
1463 * mh-init.el (mh-variant-set): Ditto.
1465 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1466 (mh-secure-message, mh-mime-display): Ditto.
1468 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1470 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1471 (mh-read-range, mh-thread-container-subject): Ditto.
1473 * mh-utils.el (mh-x-image-scale-and-display)
1474 (mh-prompt-for-folder, mh-handle-process-error)
1475 (mh-list-to-string-1): Ditto.
1477 * mh-comp.el (mh-reply): Use standard default notation in
1478 prompts (closes SF #1275933).
1480 * mh-mime.el (mh-mime-save-parts): Ditto.
1482 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1484 * mh-customize.el (mh-folder-msg-number): Snow is actually
1485 off-white on low color displays which turns to white when bold.
1486 This is unreadable on white backgrounds. Use snow with min-colors
1487 requirement. Use cyan on low-color displays.
1489 * mh-init.el (mh-defface-compat): On low-color displays, delete
1490 the high-color display rather than simply strip the min-colors
1491 requirement since the existing algorithm shadowed the desired
1492 display on low-color displays.
1494 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1497 2006-01-02 Bill Wohler <wohler@newt.com>
1499 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1500 docstring. Does this mean something in a defun?
1502 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1505 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1506 so it reads better in docstring and manual. Sync docstring with
1509 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1511 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1513 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1514 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1515 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1516 (mh-letter-complete-or-space, mh-letter-confirm-address)
1517 (mh-letter-next-header-field-or-indent)
1518 (mh-letter-previous-header-field): Ditto.
1520 * mh-customize.el (mh-alias-completion-ignore-case-flag)
1521 (mh-default-folder-for-message-function, mh-mml-method-default)
1522 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
1523 (mh-show-mode-hook) Ditto.
1525 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
1527 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
1528 (mh-store-msg, mh-store-buffer): Ditto
1530 * mh-index.el (mh-index-search, mh-index-do-search)
1531 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
1533 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
1535 * mh-mime.el (mh-mh-compose-external-compressed-tar)
1536 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
1537 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1538 (mh-mml-secure-message-signencrypt): Ditto
1540 * mh-pick.el (mh-search-folder): Ditto.
1542 * mh-seq.el (mh-widen): Ditto.
1544 * mh-utils.el (mh-show, mh-modify): Ditto.
1546 2006-01-02 Mark D. Baushke <mdb@gnu.org>
1548 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
1550 2006-01-01 Bill Wohler <wohler@newt.com>
1552 * mh-customize.el: Sync docstrings with manual for faces and sort
1553 them alphabetically.
1554 (mh-faces): Move below mh-hooks.
1555 (mh-folder-faces, mh-index-faces, mh-letter-faces)
1556 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
1558 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
1559 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
1560 (mh-folder-body-face, mh-folder-cur-msg-face)
1561 (mh-folder-cur-msg-number-face, mh-folder-date-face)
1562 (mh-folder-followup-face, mh-folder-msg-number-face)
1563 (mh-folder-deleted-face, mh-folder-refiled-face)
1564 (mh-folder-subject-face, mh-folder-address-face)
1565 (mh-folder-scan-format-face, mh-folder-to-face)
1566 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
1567 (mh-show-header-face, mh-show-pgg-good-face)
1568 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
1569 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
1571 (mh-folder-cur-msg): Unused. Delete.
1572 (mh-folder-address): Use defface; inherit from mh-folder-subject.
1573 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
1574 Inherit from mh-folder-msg-number.
1575 (mh-folder-deleted): Use defface. Inherit from
1576 mh-folder-msg-number.
1577 (mh-folder-sent-to-me-hint): New face. Inherit from
1579 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
1580 Use defface. Inherit from mh-folder-followup.
1581 (mh-show-xface): Inherit from mh-show-from and highlight.
1582 (bw-face-generation, bw-toggle-faces)
1583 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
1584 variables, functions for toggling between old and new faces.
1586 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
1587 eval-when-compile. We should probably do this throughout.
1588 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1589 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
1590 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1591 (mh-scan-subject-regexp): Sync docstrings with manual
1592 (mh-scan-format-regexp): Rename to
1593 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
1594 expression. Make expression more like the others (anchored at the
1595 beginning of line). Sync docstrings with manual.
1596 (mh-folder-font-lock-keywords): Use faces directly rather than
1597 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
1598 mh-scan-format-regexp, and within that expression, use faces
1599 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
1600 of mh-folder-date-face and mh-folder-scan-format-face which were
1603 * mh-mime.el (mh-mime-security-button-face): Use faces directly
1604 rather than -face variables.
1606 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
1607 rather than -face variables.
1608 (mh-face-foreground-compat, mh-face-background-compat): New macros.
1609 (mh-face-display-function): Use mh-face-foreground-compat and
1610 mh-face-background-compat to use inherited attributes of
1611 mh-show-xface on Emacs 22 while still working on Emacs 21.
1613 2005-12-28 Bill Wohler <wohler@newt.com>
1615 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
1616 mh-user-agent-compose instead of mh-smail-batch.
1618 2005-12-27 Bill Wohler <wohler@newt.com>
1620 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
1621 suppress creation of folder if it doesn't exist.
1623 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1625 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
1627 2005-12-23 Bill Wohler <wohler@newt.com>
1629 * mh-e.el (mh-folders-changed): Fix typo in docstring.
1631 Follow MH-E Developers Guide conventions. Use `' quotes for Help
1632 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
1633 everything else. Otherwise, you can accidently get links to
1636 2005-12-22 Bill Wohler <wohler@newt.com>
1638 Follow Emacs coding conventions. Use default setting of
1639 emacs-lisp-docstring-fill-column which is 65.
1641 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
1643 * mh-comp.el (mh-letter-mode): Use 60 column width.
1644 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
1646 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
1647 you have added a mail-citation-hook and neither are used if you
1648 use one of the supercite flavors of mh-yank-behavior. Sync
1649 docstrings with manual.
1651 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
1652 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
1653 hook. Use "Hook run by `function'..." instead of "Invoked...".
1654 Sync docstrings with manual.
1655 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
1656 mh-ins-buf-prefix isn't used if you have added a
1657 mail-citation-hook and neither are used if you use one of the
1658 supercite flavors of mh-yank-behavior. Sync docstrings with
1660 (mail-citation-hook): Delete. Use one in sendmail.el.
1661 (mh-signature-file-name, mh-after-commands-processed-hook)
1662 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
1663 (mh-before-quit-hook, mh-before-send-letter-hook)
1664 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
1665 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
1666 (mh-letter-mode-hook)
1667 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
1668 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1669 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
1670 of "Invoked...". Sync docstrings with manual.
1672 * mh-e.el (mh-last-destination, mh-last-destination-folder)
1673 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
1674 (mh-delete-list, mh-refile-list, mh-folders-changed)
1675 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
1676 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
1677 (mh-mode-line-annotation, mh-sequence-notation-history)
1678 (mh-colors-available-flag): Move comment into docstring.
1679 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
1680 (mh-process-commands): Sync docstrings with manual.
1681 (mh-refile-msg): Small doc edit.
1682 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
1683 Rename msg argument to message.
1685 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
1687 * mh-e.el (mh-update-unseen): No longer say "The value of
1688 `foo-hook' is a list of functions to be called, with no arguments,
1689 ...," but rather just "The hook foo-hook is called...".
1691 * mh-mime.el (mh-mh-to-mime): Ditto.
1693 * mh-pick.el (mh-pick-mode): Ditto.
1695 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
1697 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
1699 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
1702 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
1704 * mh-customize.el (mh-after-commands-processed-hook): New
1706 (mh-before-commands-processed-hook): Rename
1707 mh-folder-updated-hook.
1709 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
1710 mh-before-commands-processed-hook, call new
1711 mh-after-commands-processed-hook.
1712 (mh-folders-changed): New variable (for use in
1713 mh-after-commands-processed-hook).
1715 2005-12-19 Bill Wohler <wohler@newt.com>
1735 Follow commenting conventions. Don't use ;;; form so much, except
1736 for headings. Precede headings with page feed. This was mostly
1737 already done, so I made it a convention. Did not update copyright
1738 on a couple of files since this was an insignificant change.
1740 2005-12-18 Bill Wohler <wohler@newt.com>
1742 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
1743 (mh-tool-bar-search-function): Sync docstrings with manual.
1744 (mh-tool-bar-customize): Replace toolbar with tool bar in
1746 (mh-tool-bar-letter-help): Fix manual reference.
1747 (mh-xemacs-use-toolbar-flag): Rename to
1748 mh-xemacs-use-tool-bar-flag. Initialize to
1749 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
1750 (mh-xemacs-toolbar-position): Rename to
1751 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
1752 option (redundant) and change "Same As Default Tool Bar" setting
1753 to nil. Sync docstrings with manual.
1754 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
1755 depending on context.
1756 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
1757 for calling set-specifier. Only look at the value of
1758 mh-xemacs-use-tool-bar-flag.
1759 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
1760 docstrings with manual.
1762 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
1765 * mh-e.el (mh-folder-mode): Ditto.
1767 * mh-utils.el (mh-show-mode): Ditto.
1769 2005-12-15 Bill Wohler <wohler@newt.com>
1771 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
1773 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
1774 (mh-thread-previous-sibling, mh-thread-ancestor)
1775 (mh-thread-delete, mh-thread-refile): Ditto.
1777 2005-12-14 Bill Wohler <wohler@newt.com>
1779 * mh-customize.el (mh-speed-flists-interval): Rename to
1780 mh-speed-update-interval.
1781 (mh-speed-run-flists-flag): Delete. Setting
1782 mh-speed-flists-interval to 0 accomplishes the same thing.
1784 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
1785 mh-speed-update-interval instead of mh-speed-run-flists-flag.
1786 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
1787 docstrings with manual.
1789 2005-12-09 Bill Wohler <wohler@newt.com>
1791 * mh-customize.el (mh-path): Move here from mh-init.el.
1792 (mh-variant): Mention that mh-path can be customized.
1793 (mh-invisible-header-fields-internal): Add X-ContentStamp,
1794 X-MAIL-INFO, and X-UNTD- from NetZero.
1796 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
1798 2005-12-04 Bill Wohler <wohler@newt.com>
1800 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
1801 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
1804 * mh-customize.el (mh-insert-signature-hook): Rename
1805 mh-letter-insert-signature-hook to mh-insert-signature-hook.
1807 * mh-comp.el (mh-insert-signature): Ditto.
1809 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
1810 to nil. Remove t option. Sync docstring with manual (closes SF
1812 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
1813 users can see it, look it up in the manual's index, and discover
1814 mh-fetch-x-image-url (closes SF #831278).
1816 * mh-customize.el (mh-new-messages-folders): Rename from
1817 mh-index-new-messages-folders.
1818 (mh-ticked-messages-folders): Rename from
1819 mh-index-ticked-messages-folders.
1821 * mh-index.el (mh-index-sequenced-messages)
1822 (mh-index-new-messages): Ditto.
1824 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
1825 in the docstrings and made usage consistent. Generally speaking,
1826 "messages in range" and "range of messages" is redundant and just
1827 "range" can be used in most circumstances. Also ensured that
1828 mh-interactive-range was mentioned in all interactive functions
1829 that use a range which describes the range argument for both users
1832 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
1833 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
1834 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
1835 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
1838 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
1841 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
1843 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
1844 (mh-ps-print-msg-file, mh-print-msg): Ditto.
1846 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
1847 (mh-narrow-to-range, mh-toggle-tick): Ditto.
1849 2005-12-01 Bill Wohler <wohler@newt.com>
1851 Rewrote Reading Mail chapter in manual which affected mh-show
1852 customization group and related functions.
1854 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
1855 instead of mh-highlight-citation-p.
1856 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
1857 I think, so use "truncated".
1859 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
1860 section is Folders, not Organizing. Parent of mh-folder-faces is
1861 mh-folder, not mh-show.
1862 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
1863 (mh-thread): New group that corresponds with manual's Threading
1865 (mh-letter-faces): Group's manual section is Editing Drafts, not
1867 (mh-sortm-args): New customization variable that used to be a
1869 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
1870 Move from mh-index group to mh-folders group.
1871 (mh-alias-local-users-prefix, mh-large-folder)
1872 (mh-recursive-folders-flag, mh-before-quit-hook)
1873 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
1874 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
1876 (mh-highlight-citation-style): Rename from
1877 mh-highlight-citation-p. Sync docstrings with manual.
1878 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
1880 (mh-show-threads-flag): Move from mh-show group to mh-thread
1882 (mh-find-path-hook): Move from mh-show group to mh-e group.
1883 (mh-folder-updated-hook): Add to mh-folder group.
1884 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
1885 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
1886 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1887 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1888 (mh-display-buttons-for-inline-parts-flag)
1889 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1890 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1891 (mh-invisible-header-fields-default, mh-invisible-header-fields)
1892 (mh-lpr-command-format, mh-max-inline-image-height)
1893 (mh-max-inline-image-width)
1894 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1895 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1896 (mh-show-use-xface-flag, mh-store-default-directory)
1897 (mh-summary-height, mh-delete-msg-hook
1898 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
1901 (mh-scan-format-mh, mh-scan-good-msg-regexp)
1902 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1903 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
1904 non-fontification instead of non-fontifying.
1905 (mh-header-display): Use mh-mhl-format-file instead of
1906 mhl-formfile. Sync docstrings with manual.
1907 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
1908 count. Sync docstrings with manual.
1909 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
1910 so that message doesn't change when using this command. Sync
1911 docstrings with manual.
1912 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
1913 docstrings with manual.
1914 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
1915 to no-header. Sync docstrings with manual.
1916 (mh-ps-print-map): Delete keybindings for deleted commands
1917 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
1918 (mh-help-messages): Update printing help.
1919 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
1920 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
1921 (mh-prev-button, mh-folder-toggle-mime-part)
1922 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1923 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
1926 * mh-funcs.el (mh-sortm-args): Now a customization option and in
1928 (mh-pipe-msg): Rename include-headers to include-header. Sync
1929 docstrings with manual.
1930 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
1931 (mh-store-msg): Sync docstrings with manual.
1933 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
1934 docstrings with manual.
1935 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
1936 Sync docstrings with manual.
1937 (mh-mm-display-part, mh-mm-inline-message): Use
1938 mh-highlight-citation-style instead of mh-highlight-citation-p.
1939 (mh-press-button): Sync docstrings with manual.
1940 (mh-display-with-external-viewer): Fix default output in
1941 minibuffer. Sync docstrings with manual.
1943 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
1945 (mh-ps-print-color-option): Incorporate docstring from
1947 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
1949 (mh-ps-spool-msg): Slimline docstring. Rename from
1950 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
1952 (mh-ps-print-range): Extract method from common code in
1953 mh-ps-print-msg and mh-ps-print-msg-file.
1954 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
1955 (mh-ps-print-msg-show): Delete. Can use either
1956 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
1957 new code in mh-ps-spool-msg.
1958 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
1959 Sync docstrings with manual.
1960 (mh-ps-print-msg, mh-ps-print-msg-file)
1961 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
1962 docstrings with manual.
1964 * mh-utils.el (mh-show-ps-print-msg-show)
1965 mh-show-ps-print-toggle-mime): Delete.
1966 (mh-show-ps-print-map): Update accordingly.
1967 (mh-show-mode): Use mh-highlight-citation-style instead of
1968 mh-highlight-citation-p.
1969 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
1971 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
1972 docstrings with manual.
1973 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
1974 docstrings with manual.
1976 2005-12-01 Bill Wohler <wohler@newt.com>
1978 * mh-init.el (mh-defface-compat): Checkdoc fix.
1980 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
1981 Bogofilter is lowercase except at beginning of sentence and in
1984 2005-11-04 Bill Wohler <wohler@newt.com>
1986 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
1987 Move to mh-init.el to minimize bulk of mh-customize.el.
1989 * mh-init.el: Modify commentary since file is used for load and
1990 initialization as well as setting and getting the variant.
1991 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
1994 * mh-customize.el: Refactor faces. Move grayscale requirements
1995 last before t. Use uniform line breaks.
1996 (mh-min-colors-defined-flag): New variable.
1997 (mh-defface-compat): New function. Provides backward compatibility
1999 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2000 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
2001 (mh-folder-body): Use mh-defface-compat.
2003 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2005 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2006 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2007 (mh-folder-to-face): Use the min-colors attribute instead of the
2010 2005-11-03 Bill Wohler <wohler@newt.com>
2012 * mh-customize.el (mh-refile-preserves-sequences-flag)
2013 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
2014 docstrings with manual.
2016 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2018 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2019 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2022 2005-11-01 Bill Wohler <wohler@newt.com>
2024 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2026 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2027 (mh-reply, mh-send, mh-send-other-window)
2028 (mh-fill-paragraph-function): Sync docstrings with manual.
2029 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2030 msg argument to message (to make for a better docstring).
2032 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2033 to defcustom. Rename by adding -flag.
2034 (mh-compose-forward-as-mime-flag)
2035 (mh-compose-letter-function, mh-forward-subject-format)
2036 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2037 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2040 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2041 (mh-ps-print-msg): Remove debugging messages.
2042 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2043 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2044 after message per conventions.
2046 2005-10-30 Bill Wohler <wohler@newt.com>
2048 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2049 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
2050 docstrings with manual.
2052 * mh-customize.el (mh-compose-space-does-completion-flag)
2053 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2054 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2055 means" to remain checkdoc clean and consistent with Emacs. I
2056 raised this issue with the Emacs developers and Stallman agrees
2057 that "On means" should be allowed in custom docstrings but that
2058 this change requires thought and should wait until after the Emacs
2061 2005-10-28 Bill Wohler <wohler@newt.com>
2063 * mh-comp.el (mh-annotate-msg): Use new variable
2064 mh-scan-field-destination-offset rather than hard-coding 1.
2066 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2068 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2069 functions to check input for mh-adaptive-cmd-note-flag and
2070 mh-scan-format-file respectively.
2071 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2074 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
2075 destination is the -, t, b, c, or n character for Replied, To, cc,
2076 Bcc, or Newsgroups respectively.
2077 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
2078 Call new function mh-msg-num-width-to-column to make leap between
2079 width and column more explicit.
2080 (mh-msg-num-width-to-column): New function that steals logic from
2081 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2082 isn't t since we can't adapt the scan lines in this case.
2083 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2084 make the documentation more clear.
2085 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2086 column, not a width.
2087 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2088 variable mh-scan-field-destination-offset rather than hard-coding
2091 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2092 (mh-notate): Use new variable mh-scan-field-destination-offset
2093 rather than hard-coding 1.
2094 (mh-message-number-width): Rename to mh-msg-num-width to be
2095 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2097 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2098 (mail-citation-hook): Quote URLs in docstrings and precede with
2099 `URL'. The former will suppress checkdoc warnings, the latter will
2100 turn them into hyperlinks in Emacs 22 (I just added the code to do
2102 (mh-scan-format-file): Checkdoc fix.
2104 2005-10-27 Bill Wohler <wohler@newt.com>
2106 * mh-customize.el (mh-adaptive-cmd-note-flag)
2107 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2109 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2110 (mh-note-cur, mh-scan-good-msg-regexp)
2111 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2112 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2113 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2114 (mh-scan-subject-regexp, mh-scan-format-regexp)
2115 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2118 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2120 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2121 of hard-coded string.
2122 (mh-mail-header-separator, mh-signature-separator-regexp): Use
2123 "regular expression" in docstring instead of regexp.
2124 (mh-scan-msg-number-regexp)
2125 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2126 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2127 (mh-cmd-note): Sync docstrings with manual.
2129 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2132 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2134 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2135 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2136 (mh-mml-secure-message-signencrypt): Ditto.
2138 2005-10-24 Bill Wohler <wohler@newt.com>
2140 * mh-gnus.el: Load mml.el in order to see if
2141 mml-minibuffer-read-disposition is defined or not.
2143 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2146 2005-10-23 Miles Bader <miles@gnu.org>
2148 * .arch-inventory: New file.
2150 2005-10-23 Bill Wohler <wohler@newt.com>
2152 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
2153 docstring with manual.
2155 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2156 mh-alias.el and move to mh-acros.el
2158 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2159 mh-identity.el and move to mh-acros.el
2161 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2162 mh-identity.el and mh-alias.el.
2164 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2165 warning in Emacs 22.
2167 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2169 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2170 assoc-string (if the function is available) and falls back on
2171 assoc-ignore-case if assoc-string is not found.
2172 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2173 assoc-ignore-case is a obsolete function in Emacs 22.
2175 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2176 track of whether the tool-bar in mh-folder-mode has been
2178 (mh-folder-mode): Initialize the tool-bar for folders the first
2179 time we get into mh-letter-mode.
2181 * mh-customize.el (mh-buffer-exists-p): New function which tests
2182 presence of buffers of a given mode.
2183 (mh-tool-bar-define): New functions
2184 mh-tool-bar-folder-buttons-init and
2185 mh-tool-bar-letter-buttons-init are defined. These functions are
2186 used to create the tool-bar from the corresponding customizable
2189 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2190 keeps track of whether the tool-bar in mh-letter-mode has been
2192 (mh-letter-mode): Initialize the tool-bar for drafts the first
2193 time we get into mh-letter-mode.
2195 2005-10-23 Bill Wohler <wohler@newt.com>
2197 * mh-comp.el (mh-letter-menu): Rename
2198 mh-mhn-compose-external-compressed-tar to
2199 mh-mh-compose-external-compressed-tar. Rename
2200 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2201 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2202 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2203 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2204 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
2206 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2207 mh-mh-directive-present-p.
2208 (mh-send-letter): Rename mh-mhn-directive-present-p to
2209 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2210 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2211 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2212 mh-mhn-compose-external-compressed-tar to
2213 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2214 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2215 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2216 mh-mh-compose-anon-ftp. Rename
2217 mh-mhn-compose-external-compressed-tar to
2218 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2219 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2220 mh-mh-compose-external-type.
2221 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2222 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
2223 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2224 mh-yank-from-start-of-msg to mh-yank-behavior.
2225 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2226 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2227 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2228 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2229 (mh-letter-complete-or-space, mh-letter-confirm-address)
2230 (mh-letter-next-header-field-or-indent)
2231 (mh-letter-previous-header-field)
2232 (mh-letter-toggle-header-field-display): Sync docstrings with
2235 * mh-customize.el (mh-edit-mhn-hook): Rename to
2237 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2238 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2239 and user-visible values from mhn and Gnus to MH and MML.
2240 (mh-before-send-letter-hook): Add 'ispell-message option.
2241 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2242 mh-pgp-support-flag.
2243 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2244 (mh-delete-yanked-msg-window-flag)
2245 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2246 (mh-letter-complete-function, mh-letter-fill-column)
2247 (mh-mml-method-default, mh-signature-file-name)
2248 (mh-signature-separator-flag, mh-x-face-file)
2249 (mh-yank-behavior, mail-citation-hook)
2250 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2253 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2254 provided for Emacs 21 environments that lack it.
2256 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2258 (mh-compose-forward): mh-mh-forward-message requires string arg.
2259 (mh-minibuffer-read-type): New function.
2260 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2261 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2262 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2263 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2264 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
2265 Rename mh-mhn-compose-external-type to
2266 mh-mh-compose-external-type.
2267 (mh-mhn-compose-external-compressed-tar): Rename to
2268 mh-mh-compose-external-compressed-tar. Rename
2269 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2270 (mh-mhn-compose-external-type): Rename to
2271 mh-mh-compose-external-type.
2272 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2273 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
2274 Use correct program in message.
2275 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2276 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2277 (mh-compose-forward, mh-mh-attach-file)
2278 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2279 (mh-mh-compose-external-type, mh-mh-forward-message)
2280 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2281 mh-minibuffer-read-type.
2282 (mh-mime-content-types): Move comment about only being used in
2283 Emacs 20 to docstring.
2284 (mh-mh-compose-external-type): Rename extra-param argument to
2286 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
2287 (mh-mime-display-part, mh-mime-display-single): Rename
2288 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
2289 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2291 (mh-compose-forward): Rename mh-mhn-compose-forw to
2292 mh-mh-forward-message.
2293 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2295 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2296 (mh-mh-attach-file, mh-mh-compose-type)
2297 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2298 (mh-mh-compose-external-compressed-tar)
2299 (mh-mh-compose-external-type, mh-mh-forward-message)
2300 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
2301 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2302 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2303 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2304 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2305 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2306 Sync docstrings with manual.
2308 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2309 mh-pgp-support-flag.
2311 2005-10-17 Peter S Galbraith <psg@debian.org>
2313 * mh-identity.el (mh-identity-field-handler): Use
2314 `assoc-ignore-case' to compare against header field for mixed-case
2317 2005-10-17 Bill Wohler <wohler@newt.com>
2319 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
2320 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2321 to mail/compose, fld_open to fld-open.
2322 (mh-letter-tool-bar-map): Rename image file mail_send to
2325 2005-10-16 Bill Wohler <wohler@newt.com>
2327 * mh-comp.el (mh-display-completion-list-compat): New macro which
2328 calls `display-completion-list' correctly in older environments.
2329 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2331 (mh-complete-word): Use it.
2333 * mh-init.el (mh-image-load-path): Use locate-library to find
2334 MH-E. This simplified the code a lot. Flattened out nested
2335 statements even more.
2337 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2339 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2340 causes a compiler warning.
2342 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2343 the message to be viewed (closes SF #1306141).
2345 2005-10-16 Masatake YAMATO <jet@gyve.org>
2347 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2348 of completion to `display-completion-list'.
2350 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2352 * mh-init.el (mh-image-load-path-called-flag): New variable which
2353 is used by mh-image-load-path so that it runs only once.
2354 (mh-image-load-path): Modify so that it gets run only once. Also
2355 flatten out heavily nested if statements to make it clearer.
2357 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2358 to find images used in the toolbar.
2360 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2362 2005-10-14 Bill Wohler <wohler@newt.com>
2364 * mh-e.el (Version, mh-version): Add +cvs to version.
2366 2005-10-14 Bill Wohler <wohler@newt.com>
2368 Released MH-E version 7.85.
2370 * mh-e.el (Version, mh-version): Update for release 7.85.
2372 2005-10-14 Bill Wohler <wohler@newt.com>
2374 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2375 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2376 need to be indented.
2378 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
2379 but the code that invoked the face had not been updated. Tick
2380 highlighting working again.
2382 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2383 make-variable-buffer-local call to top level to avoid warnings in
2386 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
2389 2005-10-09 Bill Wohler <wohler@newt.com>
2391 * mh-init.el (mh-image-load-path): New function that adds the path
2392 to the MH-E images to the image-load-path or load-path depending
2393 on the version of Emacs.
2395 * mh-customize.el: Call mh-image-load-path just before
2396 mh-tool-bar-define so that the toolbar images can be found.
2398 2005-10-04 Bill Wohler <wohler@newt.com>
2400 * ChangeLog: Move contents into ChangeLog.1 and trim.
2402 * ChangeLog.1: New file. Contains old ChangeLog.
2405 Copyright (C) 2005 Free Software Foundation, Inc.
2407 Copying and distribution of this file, with or without modification,
2408 are permitted in any medium without royalty provided the copyright
2409 notice and this notice are preserved.
2412 ;; sentence-end-double-space: nil
2415 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51