1 2006-01-16 Bill Wohler <wohler@newt.com>
3 * mh-acros.el (require): Remove defadvice of require as defadvice
4 is verboten within Emacs and our implementation was returning the
5 wrong value from require. Upcoming restructuring should make this
7 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
9 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
10 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
12 * mh-identity.el (mh-identity-field-handler): Use it.
14 * mh-comp.el (mh-show-buffer-message-number): Replace (car
15 (read-from-string string) with (string-to-number string).
17 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
20 * mh-mime.el (mh-mml-forward-message): Ditto.
22 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
23 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
24 (mh-openssl-parser, mh-index-update-maps): Ditto.
26 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
27 (mh-thread-generate): Ditto.
29 2006-01-16 Mark D. Baushke <mdb@gnu.org>
31 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
32 mm- functions for proper text=flowed handling (closes SF
33 #1273521). Patch contributed by Katsumi Yamaoka <yamaoka@jpl.org>.
35 2006-01-15 Bill Wohler <wohler@newt.com>
37 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
38 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
41 * mh-utils.el (mh-show-limit-map): Ditto.
43 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
45 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
47 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
50 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
51 needed to help remove dependency on mh-utils.
53 * mh-exec.el: New file. Move process support routines here from
56 * mh-init.el (mh-utils): Remove require.
57 (mh-exec): Add require.
58 (mh-profile-component, mh-profile-component-value): Move here from
61 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
62 dependencies on mh-utils.el.
63 (mh-profile-component, mh-profile-component-value): Move to
64 mh-init.el since that's the only place that uses them. (Other than
65 mh-alias.el; I'm thinking that mh-find-path can set variable from
66 the Aliasfile component like it does the other components).
67 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
68 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
69 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
70 (defvar, mh-exec-cmd-output)
71 (mh-exchange-point-and-mark-preserving-active-mark)
72 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
73 file mh-exec.el so that mh-init.el doesn't have to depend on
74 mh-utils.el, breaking circular dependency.
88 * mh-speed.el: Added debugging statements (commented out) around
89 requires to help find dependency loops. Will remove them when
92 2006-01-14 Bill Wohler <wohler@newt.com>
94 * mh-customize.el (mh-index): Rename group to mh-search and sort
95 group definition and options accordingly.
96 (mh-index-program): Rename to mh-search-program.
97 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
99 (mh-search-mode-hook): Change group from mh-index to mh-search.
100 (mh-index-folder): Rename to mh-search-folder. Change group from
101 mh-index to mh-search.
103 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
106 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
107 pick and grep are searchers too but aren't indexed.
108 (mh-index-execute-search-function): Rename to mh-search-function.
109 (mh-index-next-result-function): Rename to
110 mh-search-next-result-function.
111 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
112 (mh-search): Since redo-search-flag defaults to nil and is of
113 lesser importance, make it an optional argument and place it after
114 the folder and search-regexp arguments. Sync docstring with
116 (mh-search-mode-map): Autoload so that keys are shown in help even
117 before mh-search is loaded.
118 (mh-search-mode): Sync docstring with manual.
119 (mh-index-do-search): Rename argument indexer to searcher. Sync
120 docstring with manual.
121 (mh-pick-do-search): Sync docstring with manual.
122 (mh-index-p): Rename to mh-search-p.
123 (mh-indexer-choices): Rename to mh-search-choices.
124 (mh-index-choose): Rename to mh-search-choose. Rename argument
126 (mh-swish++-execute-search, mh-swish-execute-search)
127 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
128 read the results" from docstring since these functions don't.
129 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
131 (mh-index-generate-pretty-name): Prune -search from string so that
132 folder names for pick searches are the same as those of other
135 2006-01-13 Bill Wohler <wohler@newt.com>
137 * mh-acros.el (require): Added Satyaki's comment regarding what
138 needs to happen to remove this defadvice which caused a little
139 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
140 advices `require' incorrectly).
142 * mh-search.el (mh-index-next-result-function): Add format to
144 (mh-mairix-next-result): Use nil instead of () which doesn't stand
146 (mh-pick-execute-search): Operate across all folders if no folder
147 given and recurse folder(s).
148 (mh-pick-next-result): Handle new output.
150 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
151 (mh-children-p, mh-folder-list): New functions.
153 2006-01-12 Bill Wohler <wohler@newt.com>
155 * mh-search.el: New file containing contents of mh-index.el and
156 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
157 pick. Pick no longer sets the "search" sequence. Instead, it
158 brings up a folder view that we're accustomed to. (closes SF
160 (mh-index-search): Rename to mh-search.
161 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
162 the Search to Perform Search and call mh-do-search. Add Search
164 (mh-do-search): Delete.
165 (mh-search-mode): Rename from mh-pick-mode.
166 (MH-Search): Rename mode from MH-Pick.
167 (mh-search-mode-map): Rename from mh-pick-mode-map.
168 (mh-search-mode-help-messages): Rename from
169 mh-pick-mode-help-messages.
170 (mh-index-choose): Don't reuse the last value of mh-indexer; when
171 mh-pick-do-search sets it to 'pick, we don't necessarily want to
172 stay with that choice!
175 * mh-pick.el: Merge into mh-search.el and delete.
177 * mh-customize.el (mh-index-program): Change mh-index-search to
178 mh-search in docstring.
179 (mh-tool-bar-search-function): Change default from
180 mh-search-folder to mh-search. Remove mh-search-folder as choice
181 and rename mh-index-search choice to mh-search. Fix docstring.
182 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
183 mh-search-folder to mh-search in docstring.
185 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
186 Indexed Search to Search. Use mh-search instead of
188 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
189 from mh-show-search-folder to mh-search.
191 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
192 mh-search-folder no longer creates the search sequence.
194 * mh-utils.el (mh-show-search-folder): Delete.
195 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
196 Change s from mh-show-search-folder to mh-search.
197 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
198 Search to Search. Use mh-search instead of mh-index-search.
199 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
200 here from deleted mh-index.el.
202 2006-01-11 Bill Wohler <wohler@newt.com>
204 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
207 * mh-gnus.el: Require mh-acros.
208 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
210 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
211 url-hexify-string to remove special characters from filenames
212 (closes SF #1396499). Note that this invalidates the existing
213 names in your cache so you might as well remove
214 ~/Mail/.mhe-x-image-cache/* now.
215 (url-unreserved-chars, url-hexify-string): Define if not defined.
216 Copied from url-util.el in Emacs22 for Emacs 21.
218 * mh-buffers.el: New file. Contains constants and code from
219 mh-index.el and mh-utils.el.
229 * mh-seq.el: Require new file mh-buffers.el.
231 * mh-index.el: Require new file mh-buffers.el.
232 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
235 * mh-utils.el: Require new file mh-buffers.el.
236 (mh-temp-buffer, mh-temp-fetch-buffer)
237 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
238 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
239 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
240 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
242 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
243 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
245 2006-01-10 Bill Wohler <wohler@newt.com>
247 * mh-comp.el (mh-insert-letter): If you choose a different folder,
248 the cur message is used. Sync docstring with manual (closes SF
251 * mh-mime.el (mh-compose-forward): Use standard range argument
252 instead of messages. Use more powerful mh-read-range instead of
253 read-string. Sync docstring with manual (close SF #1205890).
255 * mh-index.el (mh-index-search): Checking mh-find-path-run is
257 (mh-index-next-folder): Don't back up a line when going backwards
258 since this skips the current folder heading if point is on the
259 first message after the folder heading (closes SF #1126188).
261 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
263 (mh-variants): Note variable isn't meant to be accessed directly;
264 use function mh-variants instead.
265 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
266 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
267 them. Updated to use mh-file-command-p which is more accurrate
268 than file-executable-p which returns t for directories.
269 (mh-file-command-p): Move here from mh-utils, since
270 mh-variant-*-info are the only functions to use it.
271 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
272 function mh-variants instead of variable. More robust.
273 (mh-find-path-run): Move here from mh-utils.el. Mention that
274 checking this variable is unnecessary.
275 (mh-find-path): Move here from mh-utils.el. With the advent of MH
276 variants and an mhparam command that doesn't work if there isn't
277 an MH profile, we can't get libdir for running install-mh. So
278 don't bother. If there's an issue with the environment, direct the
279 user to install MH and run install-mh (closes SF #835192). Don't
280 read ~/.mh_profile directly. Use mh-profile-component which uses
281 mhparam (closes SF #1016027).
283 * mh-utils.el (mh-get-profile-field): Rename to
284 mh-profile-component-value. Add colon to search removing
285 unnecessary addition of colon to field in mh-profile-component.
286 (mh-profile-component): Modify call to mh-profile-component-value
287 accordingly. Move next to mh-profile-component-value.
288 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
289 mh-init.el. It makes sense that code that is only run once per
290 session (more or less) is in mh-init.el rather than cluttering
292 (mh-no-install, mh-install): Delete.
294 * mh-customize.el (mh-folder-msg-number):
295 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
297 2006-01-09 Bill Wohler <wohler@newt.com>
299 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
300 patch from Satyaki from SF #1016027.
302 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
303 message, even if cur sequence is no longer present (closes SF
306 * mh-comp.el: Use ";; Shush compiler." comment consistently per
308 (mh-letter-mode): Derive from mail-mode and delete code copied
309 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
311 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
312 (mh-to-field-choices): For consistency with mail-mode, add "a" for
313 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
314 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
315 (mh-to-fcc): Move setting of folder argument to interactive
316 argument as is the norm.
317 (mh-letter-complete-function-alist): Add mail-reply-to.
318 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
319 Mail-Followup-To, Reply-To, From).
321 * mh-customize.el: Use ";; Forward definition." consistently.
322 Comment declaration to remind programmer to update forward
323 definition if default changes.
330 * mh-utils.el: Use ";; Shush compiler." comment consistently per
333 2006-01-08 Bill Wohler <wohler@newt.com>
335 Removed code that was marked as Emacs 20 compatible that was
336 easily found showing how important it is to document such
337 things (closes SF #1359240). Feel free to nuke any other Emacs 20
338 peculiarities that you find. Wrapped code for shushing compiler
339 with (eval-when-compile), sometimes moving the defvars closer to
340 where they were used.
342 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
343 instead of mh-replace-in-string as mh-replace-in-string was
344 replaced by a more appropriate defsubst in mh-xemacs.el.
346 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
348 (mh-file-is-vcard-p): Removed redundant test.
350 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
351 with eval-when-compile.
352 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
353 (mh-invisible-header-fields-default): Add forward definitions.
354 (mh-invisible-header-fields-default): Alphabetize.
356 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
358 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
360 (mh-colors-available-p): Just call display-color-cells. It's on
361 all supported Emacsen (and defaliased on XEmacs).
365 * mh-init.el: Wrap compiler-shushing defvars with
368 * mh-identity.el: Don't need (mh-require-cl).
370 * mh-index.el: Don't need to load executable any more.
372 * mh-mime.el: Wrap compiler-shushing defvars with
374 (mh-have-file-command): Initialize variable to 'undefined. Add
375 docstring. Update function of same name accordingly. Also don't
376 need to load executable any more.
377 (mh-mime-content-types): Delete.
378 (mh-minibuffer-read-type): Prompt user for type if
379 mh-file-mime-type returns application/octet-stream. Assume we have
381 (mh-mime-display): Update error message.
383 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
384 with eval-when-compile.
386 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
387 with eval-when-compile.
388 (mh-clean-msg-header): Don't set after-change-functions to nil.
389 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
392 2006-01-07 Bill Wohler <wohler@newt.com>
394 * mh-customize.el: Updated Faces documentation in header.
395 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
396 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
398 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
399 tags inserted by Gnus gnus-summary-mail-forward (closes SF
402 2006-01-03 Mark D. Baushke <mdb@gnu.org>
404 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
405 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
407 2006-01-03 Bill Wohler <wohler@newt.com>
409 * mh-alias.el (mh-alias-add-alias): Grand message and error string
410 unification. Use single sentence if possible by using semicolon.
411 Don't end message with punctuation. Don't need format with
412 message. Quote messages as in docstrings: use `' around symbols,
413 \" for option choices. Don't use quotes around %s.
415 * mh-comp.el (mh-complete-word): Ditto.
417 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
418 (mh-scan-format-file-check): Ditto.
420 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
421 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
422 (mh-msg-num-width-to-column): Ditto.
424 * mh-identity.el (mh-identity-field-handler): Ditto.
426 * mh-index.el (mh-mairix-execute-search)
427 (mh-swish-execute-search, mh-swish++-execute-search)
428 (mh-namazu-execute-search): Ditto.
430 * mh-init.el (mh-variant-set): Ditto.
432 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
433 (mh-secure-message, mh-mime-display): Ditto.
435 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
437 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
438 (mh-read-range, mh-thread-container-subject): Ditto.
440 * mh-utils.el (mh-x-image-scale-and-display)
441 (mh-prompt-for-folder, mh-handle-process-error)
442 (mh-list-to-string-1): Ditto.
444 * mh-comp.el (mh-reply): Use standard default notation in
445 prompts (closes SF #1275933).
447 * mh-mime.el (mh-mime-save-parts): Ditto.
449 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
451 * mh-customize.el (mh-folder-msg-number): Snow is actually
452 off-white on low color displays which turns to white when bold.
453 This is unreadable on white backgrounds. Use snow with min-colors
454 requirement. Use cyan on low-color displays.
456 * mh-init.el (mh-defface-compat): On low-color displays, delete
457 the high-color display rather than simply strip the min-colors
458 requirement since the existing algorithm shadowed the desired
459 display on low-color displays.
461 * mh-alias.el (mh-alias-add-alias): Remove leading * from
464 2006-01-02 Bill Wohler <wohler@newt.com>
466 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
467 docstring. Does this mean something in a defun?
469 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
472 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
473 so it reads better in docstring and manual. Sync docstring with
476 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
478 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
480 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
481 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
482 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
483 (mh-letter-complete-or-space, mh-letter-confirm-address)
484 (mh-letter-next-header-field-or-indent)
485 (mh-letter-previous-header-field): Ditto.
487 * mh-customize.el (mh-alias-completion-ignore-case-flag)
488 (mh-default-folder-for-message-function, mh-mml-method-default)
489 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
490 (mh-show-mode-hook) Ditto.
492 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
494 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
495 (mh-store-msg, mh-store-buffer): Ditto
497 * mh-index.el (mh-index-search, mh-index-do-search)
498 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
500 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
502 * mh-mime.el (mh-mh-compose-external-compressed-tar)
503 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
504 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
505 (mh-mml-secure-message-signencrypt): Ditto
507 * mh-pick.el (mh-search-folder): Ditto.
509 * mh-seq.el (mh-widen): Ditto.
511 * mh-utils.el (mh-show, mh-modify): Ditto.
513 2006-01-02 Mark D. Baushke <mdb@gnu.org>
515 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
517 2006-01-01 Bill Wohler <wohler@newt.com>
519 * mh-customize.el: Sync docstrings with manual for faces and sort
521 (mh-faces): Move below mh-hooks.
522 (mh-folder-faces, mh-index-faces, mh-letter-faces)
523 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
525 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
526 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
527 (mh-folder-body-face, mh-folder-cur-msg-face)
528 (mh-folder-cur-msg-number-face, mh-folder-date-face)
529 (mh-folder-followup-face, mh-folder-msg-number-face)
530 (mh-folder-deleted-face, mh-folder-refiled-face)
531 (mh-folder-subject-face, mh-folder-address-face)
532 (mh-folder-scan-format-face, mh-folder-to-face)
533 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
534 (mh-show-header-face, mh-show-pgg-good-face)
535 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
536 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
538 (mh-folder-cur-msg): Unused. Delete.
539 (mh-folder-address): Use defface; inherit from mh-folder-subject.
540 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
541 Inherit from mh-folder-msg-number.
542 (mh-folder-deleted): Use defface. Inherit from
543 mh-folder-msg-number.
544 (mh-folder-sent-to-me-hint): New face. Inherit from
546 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
547 Use defface. Inherit from mh-folder-followup.
548 (mh-show-xface): Inherit from mh-show-from and highlight.
549 (bw-face-generation, bw-toggle-faces)
550 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
551 variables, functions for toggling between old and new faces.
553 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
554 eval-when-compile. We should probably do this throughout.
555 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
556 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
557 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
558 (mh-scan-subject-regexp): Sync docstrings with manual
559 (mh-scan-format-regexp): Rename to
560 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
561 expression. Make expression more like the others (anchored at the
562 beginning of line). Sync docstrings with manual.
563 (mh-folder-font-lock-keywords): Use faces directly rather than
564 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
565 mh-scan-format-regexp, and within that expression, use faces
566 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
567 of mh-folder-date-face and mh-folder-scan-format-face which were
570 * mh-mime.el (mh-mime-security-button-face): Use faces directly
571 rather than -face variables.
573 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
574 rather than -face variables.
575 (mh-face-foreground-compat, mh-face-background-compat): New macros.
576 (mh-face-display-function): Use mh-face-foreground-compat and
577 mh-face-background-compat to use inherited attributes of
578 mh-show-xface on Emacs 22 while still working on Emacs 21.
580 2005-12-28 Bill Wohler <wohler@newt.com>
582 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
583 mh-user-agent-compose instead of mh-smail-batch.
585 2005-12-27 Bill Wohler <wohler@newt.com>
587 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
588 suppress creation of folder if it doesn't exist.
590 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
592 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
594 2005-12-23 Bill Wohler <wohler@newt.com>
596 * mh-e.el (mh-folders-changed): Fix typo in docstring.
598 Follow MH-E Developers Guide conventions. Use `' quotes for Help
599 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
600 everything else. Otherwise, you can accidently get links to
603 2005-12-22 Bill Wohler <wohler@newt.com>
605 Follow Emacs coding conventions. Use default setting of
606 emacs-lisp-docstring-fill-column which is 65.
608 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
610 * mh-comp.el (mh-letter-mode): Use 60 column width.
611 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
613 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
614 you have added a mail-citation-hook and neither are used if you
615 use one of the supercite flavors of mh-yank-behavior. Sync
616 docstrings with manual.
618 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
619 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
620 hook. Use "Hook run by `function'..." instead of "Invoked...".
621 Sync docstrings with manual.
622 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
623 mh-ins-buf-prefix isn't used if you have added a
624 mail-citation-hook and neither are used if you use one of the
625 supercite flavors of mh-yank-behavior. Sync docstrings with
627 (mail-citation-hook): Delete. Use one in sendmail.el.
628 (mh-signature-file-name, mh-after-commands-processed-hook)
629 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
630 (mh-before-quit-hook, mh-before-send-letter-hook)
631 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
632 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
633 (mh-letter-mode-hook)
634 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
635 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
636 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
637 of "Invoked...". Sync docstrings with manual.
639 * mh-e.el (mh-last-destination, mh-last-destination-folder)
640 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
641 (mh-delete-list, mh-refile-list, mh-folders-changed)
642 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
643 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
644 (mh-mode-line-annotation, mh-sequence-notation-history)
645 (mh-colors-available-flag): Move comment into docstring.
646 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
647 (mh-process-commands): Sync docstrings with manual.
648 (mh-refile-msg): Small doc edit.
649 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
650 Rename msg argument to message.
652 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
654 * mh-e.el (mh-update-unseen): No longer say "The value of
655 `foo-hook' is a list of functions to be called, with no arguments,
656 ...," but rather just "The hook foo-hook is called...".
658 * mh-mime.el (mh-mh-to-mime): Ditto.
660 * mh-pick.el (mh-pick-mode): Ditto.
662 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
664 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
666 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
669 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
671 * mh-customize.el (mh-after-commands-processed-hook): New
673 (mh-before-commands-processed-hook): Rename
674 mh-folder-updated-hook.
676 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
677 mh-before-commands-processed-hook, call new
678 mh-after-commands-processed-hook.
679 (mh-folders-changed): New variable (for use in
680 mh-after-commands-processed-hook).
682 2005-12-19 Bill Wohler <wohler@newt.com>
702 Follow commenting conventions. Don't use ;;; form so much, except
703 for headings. Precede headings with page feed. This was mostly
704 already done, so I made it a convention. Did not update copyright
705 on a couple of files since this was an insignificant change.
707 2005-12-18 Bill Wohler <wohler@newt.com>
709 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
710 (mh-tool-bar-search-function): Sync docstrings with manual.
711 (mh-tool-bar-customize): Replace toolbar with tool bar in
713 (mh-tool-bar-letter-help): Fix manual reference.
714 (mh-xemacs-use-toolbar-flag): Rename to
715 mh-xemacs-use-tool-bar-flag. Initialize to
716 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
717 (mh-xemacs-toolbar-position): Rename to
718 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
719 option (redundant) and change "Same As Default Tool Bar" setting
720 to nil. Sync docstrings with manual.
721 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
722 depending on context.
723 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
724 for calling set-specifier. Only look at the value of
725 mh-xemacs-use-tool-bar-flag.
726 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
727 docstrings with manual.
729 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
732 * mh-e.el (mh-folder-mode): Ditto.
734 * mh-utils.el (mh-show-mode): Ditto.
736 2005-12-15 Bill Wohler <wohler@newt.com>
738 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
740 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
741 (mh-thread-previous-sibling, mh-thread-ancestor)
742 (mh-thread-delete, mh-thread-refile): Ditto.
744 2005-12-14 Bill Wohler <wohler@newt.com>
746 * mh-customize.el (mh-speed-flists-interval): Rename to
747 mh-speed-update-interval.
748 (mh-speed-run-flists-flag): Delete. Setting
749 mh-speed-flists-interval to 0 accomplishes the same thing.
751 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
752 mh-speed-update-interval instead of mh-speed-run-flists-flag.
753 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
754 docstrings with manual.
756 2005-12-09 Bill Wohler <wohler@newt.com>
758 * mh-customize.el (mh-path): Move here from mh-init.el.
759 (mh-variant): Mention that mh-path can be customized.
760 (mh-invisible-header-fields-internal): Add X-ContentStamp,
761 X-MAIL-INFO, and X-UNTD- from NetZero.
763 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
765 2005-12-04 Bill Wohler <wohler@newt.com>
767 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
768 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
771 * mh-customize.el (mh-insert-signature-hook): Rename
772 mh-letter-insert-signature-hook to mh-insert-signature-hook.
774 * mh-comp.el (mh-insert-signature): Ditto.
776 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
777 to nil. Remove t option. Sync docstring with manual (closes SF
779 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
780 users can see it, look it up in the manual's index, and discover
781 mh-fetch-x-image-url (closes SF #831278).
783 * mh-customize.el (mh-new-messages-folders): Rename from
784 mh-index-new-messages-folders.
785 (mh-ticked-messages-folders): Rename from
786 mh-index-ticked-messages-folders.
788 * mh-index.el (mh-index-sequenced-messages)
789 (mh-index-new-messages): Ditto.
791 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
792 in the docstrings and made usage consistent. Generally speaking,
793 "messages in range" and "range of messages" is redundant and just
794 "range" can be used in most circumstances. Also ensured that
795 mh-interactive-range was mentioned in all interactive functions
796 that use a range which describes the range argument for both users
799 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
800 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
801 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
802 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
805 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
808 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
810 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
811 (mh-ps-print-msg-file, mh-print-msg): Ditto.
813 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
814 (mh-narrow-to-range, mh-toggle-tick): Ditto.
816 2005-12-01 Bill Wohler <wohler@newt.com>
818 Rewrote Reading Mail chapter in manual which affected mh-show
819 customization group and related functions.
821 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
822 instead of mh-highlight-citation-p.
823 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
824 I think, so use "truncated".
826 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
827 section is Folders, not Organizing. Parent of mh-folder-faces is
828 mh-folder, not mh-show.
829 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
830 (mh-thread): New group that corresponds with manual's Threading
832 (mh-letter-faces): Group's manual section is Editing Drafts, not
834 (mh-sortm-args): New customization variable that used to be a
836 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
837 Move from mh-index group to mh-folders group.
838 (mh-alias-local-users-prefix, mh-large-folder)
839 (mh-recursive-folders-flag, mh-before-quit-hook)
840 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
841 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
843 (mh-highlight-citation-style): Rename from
844 mh-highlight-citation-p. Sync docstrings with manual.
845 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
847 (mh-show-threads-flag): Move from mh-show group to mh-thread
849 (mh-find-path-hook): Move from mh-show group to mh-e group.
850 (mh-folder-updated-hook): Add to mh-folder group.
851 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
852 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
853 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
854 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
855 (mh-display-buttons-for-inline-parts-flag)
856 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
857 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
858 (mh-invisible-header-fields-default, mh-invisible-header-fields)
859 (mh-lpr-command-format, mh-max-inline-image-height)
860 (mh-max-inline-image-width)
861 (mh-mime-save-parts-default-directory, mh-print-background-flag)
862 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
863 (mh-show-use-xface-flag, mh-store-default-directory)
864 (mh-summary-height, mh-delete-msg-hook
865 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
868 (mh-scan-format-mh, mh-scan-good-msg-regexp)
869 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
870 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
871 non-fontification instead of non-fontifying.
872 (mh-header-display): Use mh-mhl-format-file instead of
873 mhl-formfile. Sync docstrings with manual.
874 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
875 count. Sync docstrings with manual.
876 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
877 so that message doesn't change when using this command. Sync
878 docstrings with manual.
879 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
880 docstrings with manual.
881 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
882 to no-header. Sync docstrings with manual.
883 (mh-ps-print-map): Delete keybindings for deleted commands
884 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
885 (mh-help-messages): Update printing help.
886 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
887 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
888 (mh-prev-button, mh-folder-toggle-mime-part)
889 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
890 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
893 * mh-funcs.el (mh-sortm-args): Now a customization option and in
895 (mh-pipe-msg): Rename include-headers to include-header. Sync
896 docstrings with manual.
897 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
898 (mh-store-msg): Sync docstrings with manual.
900 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
901 docstrings with manual.
902 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
903 Sync docstrings with manual.
904 (mh-mm-display-part, mh-mm-inline-message): Use
905 mh-highlight-citation-style instead of mh-highlight-citation-p.
906 (mh-press-button): Sync docstrings with manual.
907 (mh-display-with-external-viewer): Fix default output in
908 minibuffer. Sync docstrings with manual.
910 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
912 (mh-ps-print-color-option): Incorporate docstring from
914 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
916 (mh-ps-spool-msg): Slimline docstring. Rename from
917 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
919 (mh-ps-print-range): Extract method from common code in
920 mh-ps-print-msg and mh-ps-print-msg-file.
921 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
922 (mh-ps-print-msg-show): Delete. Can use either
923 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
924 new code in mh-ps-spool-msg.
925 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
926 Sync docstrings with manual.
927 (mh-ps-print-msg, mh-ps-print-msg-file)
928 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
929 docstrings with manual.
931 * mh-utils.el (mh-show-ps-print-msg-show)
932 mh-show-ps-print-toggle-mime): Delete.
933 (mh-show-ps-print-map): Update accordingly.
934 (mh-show-mode): Use mh-highlight-citation-style instead of
935 mh-highlight-citation-p.
936 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
938 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
939 docstrings with manual.
940 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
941 docstrings with manual.
943 2005-12-01 Bill Wohler <wohler@newt.com>
945 * mh-init.el (mh-defface-compat): Checkdoc fix.
947 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
948 Bogofilter is lowercase except at beginning of sentence and in
951 2005-11-04 Bill Wohler <wohler@newt.com>
953 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
954 Move to mh-init.el to minimize bulk of mh-customize.el.
956 * mh-init.el: Modify commentary since file is used for load and
957 initialization as well as setting and getting the variant.
958 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
961 * mh-customize.el: Refactor faces. Move grayscale requirements
962 last before t. Use uniform line breaks.
963 (mh-min-colors-defined-flag): New variable.
964 (mh-defface-compat): New function. Provides backward compatibility
966 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
967 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
968 (mh-folder-body): Use mh-defface-compat.
970 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
972 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
973 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
974 (mh-folder-to-face): Use the min-colors attribute instead of the
977 2005-11-03 Bill Wohler <wohler@newt.com>
979 * mh-customize.el (mh-refile-preserves-sequences-flag)
980 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
981 docstrings with manual.
983 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
985 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
986 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
989 2005-11-01 Bill Wohler <wohler@newt.com>
991 * mh-comp.el (mh-redist-full-contents) Convert defvar to
993 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
994 (mh-reply, mh-send, mh-send-other-window)
995 (mh-fill-paragraph-function): Sync docstrings with manual.
996 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
997 msg argument to message (to make for a better docstring).
999 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
1000 to defcustom. Rename by adding -flag.
1001 (mh-compose-forward-as-mime-flag)
1002 (mh-compose-letter-function, mh-forward-subject-format)
1003 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
1004 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
1007 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
1008 (mh-ps-print-msg): Remove debugging messages.
1009 (mh-ps-print-msg-show, mh-ps-print-msg-show)
1010 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
1011 after message per conventions.
1013 2005-10-30 Bill Wohler <wohler@newt.com>
1015 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1016 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
1017 docstrings with manual.
1019 * mh-customize.el (mh-compose-space-does-completion-flag)
1020 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
1021 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
1022 means" to remain checkdoc clean and consistent with Emacs. I
1023 raised this issue with the Emacs developers and Stallman agrees
1024 that "On means" should be allowed in custom docstrings but that
1025 this change requires thought and should wait until after the Emacs
1028 2005-10-28 Bill Wohler <wohler@newt.com>
1030 * mh-comp.el (mh-annotate-msg): Use new variable
1031 mh-scan-field-destination-offset rather than hard-coding 1.
1033 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
1035 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
1036 functions to check input for mh-adaptive-cmd-note-flag and
1037 mh-scan-format-file respectively.
1038 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
1041 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
1042 destination is the -, t, b, c, or n character for Replied, To, cc,
1043 Bcc, or Newsgroups respectively.
1044 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
1045 Call new function mh-msg-num-width-to-column to make leap between
1046 width and column more explicit.
1047 (mh-msg-num-width-to-column): New function that steals logic from
1048 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
1049 isn't t since we can't adapt the scan lines in this case.
1050 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
1051 make the documentation more clear.
1052 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
1053 column, not a width.
1054 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
1055 variable mh-scan-field-destination-offset rather than hard-coding
1058 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
1059 (mh-notate): Use new variable mh-scan-field-destination-offset
1060 rather than hard-coding 1.
1061 (mh-message-number-width): Rename to mh-msg-num-width to be
1062 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
1064 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
1065 (mail-citation-hook): Quote URLs in docstrings and precede with
1066 `URL'. The former will suppress checkdoc warnings, the latter will
1067 turn them into hyperlinks in Emacs 22 (I just added the code to do
1069 (mh-scan-format-file): Checkdoc fix.
1071 2005-10-27 Bill Wohler <wohler@newt.com>
1073 * mh-customize.el (mh-adaptive-cmd-note-flag)
1074 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
1076 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
1077 (mh-note-cur, mh-scan-good-msg-regexp)
1078 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1079 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1080 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1081 (mh-scan-subject-regexp, mh-scan-format-regexp)
1082 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
1085 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
1087 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
1088 of hard-coded string.
1089 (mh-mail-header-separator, mh-signature-separator-regexp): Use
1090 "regular expression" in docstring instead of regexp.
1091 (mh-scan-msg-number-regexp)
1092 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
1093 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
1094 (mh-cmd-note): Sync docstrings with manual.
1096 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
1099 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
1101 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
1102 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1103 (mh-mml-secure-message-signencrypt): Ditto.
1105 2005-10-24 Bill Wohler <wohler@newt.com>
1107 * mh-gnus.el: Load mml.el in order to see if
1108 mml-minibuffer-read-disposition is defined or not.
1110 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
1113 2005-10-23 Miles Bader <miles@gnu.org>
1115 * .arch-inventory: New file.
1117 2005-10-23 Bill Wohler <wohler@newt.com>
1119 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
1120 docstring with manual.
1122 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
1123 mh-alias.el and move to mh-acros.el
1125 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
1126 mh-identity.el and move to mh-acros.el
1128 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
1129 mh-identity.el and mh-alias.el.
1131 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
1132 warning in Emacs 22.
1134 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
1136 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
1137 assoc-string (if the function is available) and falls back on
1138 assoc-ignore-case if assoc-string is not found.
1139 (mh-identity-field-handler): Use mh-assoc-ignore-case since
1140 assoc-ignore-case is a obsolete function in Emacs 22.
1142 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
1143 track of whether the tool-bar in mh-folder-mode has been
1145 (mh-folder-mode): Initialize the tool-bar for folders the first
1146 time we get into mh-letter-mode.
1148 * mh-customize.el (mh-buffer-exists-p): New function which tests
1149 presence of buffers of a given mode.
1150 (mh-tool-bar-define): New functions
1151 mh-tool-bar-folder-buttons-init and
1152 mh-tool-bar-letter-buttons-init are defined. These functions are
1153 used to create the tool-bar from the corresponding customizable
1156 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
1157 keeps track of whether the tool-bar in mh-letter-mode has been
1159 (mh-letter-mode): Initialize the tool-bar for drafts the first
1160 time we get into mh-letter-mode.
1162 2005-10-23 Bill Wohler <wohler@newt.com>
1164 * mh-comp.el (mh-letter-menu): Rename
1165 mh-mhn-compose-external-compressed-tar to
1166 mh-mh-compose-external-compressed-tar. Rename
1167 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
1168 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
1169 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
1170 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
1171 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
1173 (mh-insert-signature): Rename mh-mhn-directive-present-p to
1174 mh-mh-directive-present-p.
1175 (mh-send-letter): Rename mh-mhn-directive-present-p to
1176 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
1177 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
1178 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
1179 mh-mhn-compose-external-compressed-tar to
1180 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
1181 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
1182 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
1183 mh-mh-compose-anon-ftp. Rename
1184 mh-mhn-compose-external-compressed-tar to
1185 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
1186 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
1187 mh-mh-compose-external-type.
1188 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
1189 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
1190 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
1191 mh-yank-from-start-of-msg to mh-yank-behavior.
1192 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
1193 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
1194 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
1195 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1196 (mh-letter-complete-or-space, mh-letter-confirm-address)
1197 (mh-letter-next-header-field-or-indent)
1198 (mh-letter-previous-header-field)
1199 (mh-letter-toggle-header-field-display): Sync docstrings with
1202 * mh-customize.el (mh-edit-mhn-hook): Rename to
1204 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
1205 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
1206 and user-visible values from mhn and Gnus to MH and MML.
1207 (mh-before-send-letter-hook): Add 'ispell-message option.
1208 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
1209 mh-pgp-support-flag.
1210 (mh-compose-insertion, mh-compose-space-does-completion-flag)
1211 (mh-delete-yanked-msg-window-flag)
1212 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1213 (mh-letter-complete-function, mh-letter-fill-column)
1214 (mh-mml-method-default, mh-signature-file-name)
1215 (mh-signature-separator-flag, mh-x-face-file)
1216 (mh-yank-behavior, mail-citation-hook)
1217 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
1220 * mh-gnus.el (mml-minibuffer-read-disposition): New function
1221 provided for Emacs 21 environments that lack it.
1223 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
1225 (mh-compose-forward): mh-mh-forward-message requires string arg.
1226 (mh-minibuffer-read-type): New function.
1227 (mh-mhn-args): Rename to mh-mh-to-mime-args.
1228 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
1229 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
1230 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
1231 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
1232 Rename mh-mhn-compose-external-type to
1233 mh-mh-compose-external-type.
1234 (mh-mhn-compose-external-compressed-tar): Rename to
1235 mh-mh-compose-external-compressed-tar. Rename
1236 mh-mhn-compose-external-type to mh-mh-compose-external-type.
1237 (mh-mhn-compose-external-type): Rename to
1238 mh-mh-compose-external-type.
1239 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
1240 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
1241 Use correct program in message.
1242 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
1243 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
1244 (mh-compose-forward, mh-mh-attach-file)
1245 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
1246 (mh-mh-compose-external-type, mh-mh-forward-message)
1247 (mh-mml-attach-file): Use mml-minibuffer-read-description,
1248 mh-minibuffer-read-type.
1249 (mh-mime-content-types): Move comment about only being used in
1250 Emacs 20 to docstring.
1251 (mh-mh-compose-external-type): Rename extra-param argument to
1253 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
1254 (mh-mime-display-part, mh-mime-display-single): Rename
1255 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
1256 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
1258 (mh-compose-forward): Rename mh-mhn-compose-forw to
1259 mh-mh-forward-message.
1260 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
1262 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
1263 (mh-mh-attach-file, mh-mh-compose-type)
1264 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
1265 (mh-mh-compose-external-compressed-tar)
1266 (mh-mh-compose-external-type, mh-mh-forward-message)
1267 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
1268 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
1269 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
1270 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1271 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
1272 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
1273 Sync docstrings with manual.
1275 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
1276 mh-pgp-support-flag.
1278 2005-10-17 Peter S Galbraith <psg@debian.org>
1280 * mh-identity.el (mh-identity-field-handler): Use
1281 `assoc-ignore-case' to compare against header field for mixed-case
1284 2005-10-17 Bill Wohler <wohler@newt.com>
1286 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
1287 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
1288 to mail/compose, fld_open to fld-open.
1289 (mh-letter-tool-bar-map): Rename image file mail_send to
1292 2005-10-16 Bill Wohler <wohler@newt.com>
1294 * mh-comp.el (mh-display-completion-list-compat): New macro which
1295 calls `display-completion-list' correctly in older environments.
1296 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
1298 (mh-complete-word): Use it.
1300 * mh-init.el (mh-image-load-path): Use locate-library to find
1301 MH-E. This simplified the code a lot. Flattened out nested
1302 statements even more.
1304 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
1306 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
1307 causes a compiler warning.
1309 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
1310 the message to be viewed (closes SF #1306141).
1312 2005-10-16 Masatake YAMATO <jet@gyve.org>
1314 * mh-comp.el (mh-complete-word): Pass the common prefix substring
1315 of completion to `display-completion-list'.
1317 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
1319 * mh-init.el (mh-image-load-path-called-flag): New variable which
1320 is used by mh-image-load-path so that it runs only once.
1321 (mh-image-load-path): Modify so that it gets run only once. Also
1322 flatten out heavily nested if statements to make it clearer.
1324 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
1325 to find images used in the toolbar.
1327 * mh-customize.el (:folder): Remove call to mh-image-load-path.
1329 2005-10-14 Bill Wohler <wohler@newt.com>
1331 * mh-e.el (Version, mh-version): Add +cvs to version.
1333 2005-10-14 Bill Wohler <wohler@newt.com>
1335 Released MH-E version 7.85.
1337 * mh-e.el (Version, mh-version): Update for release 7.85.
1339 2005-10-14 Bill Wohler <wohler@newt.com>
1341 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
1342 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
1343 need to be indented.
1345 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
1346 but the code that invoked the face had not been updated. Tick
1347 highlighting working again.
1349 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
1350 make-variable-buffer-local call to top level to avoid warnings in
1353 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
1356 2005-10-09 Bill Wohler <wohler@newt.com>
1358 * mh-init.el (mh-image-load-path): New function that adds the path
1359 to the MH-E images to the image-load-path or load-path depending
1360 on the version of Emacs.
1362 * mh-customize.el: Call mh-image-load-path just before
1363 mh-tool-bar-define so that the toolbar images can be found.
1365 2005-10-04 Bill Wohler <wohler@newt.com>
1367 * ChangeLog: Move contents into ChangeLog.1 and trim.
1369 * ChangeLog.1: New file. Contains old ChangeLog.
1372 Copyright (C) 2005 Free Software Foundation, Inc.
1374 Copying and distribution of this file, with or without modification,
1375 are permitted in any medium without royalty provided the copyright
1376 notice and this notice are preserved.
1379 ;; sentence-end-double-space: nil
1382 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51