1 2006-01-15 Bill Wohler <wohler@newt.com>
3 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
5 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
7 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
10 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
11 needed to help remove dependency on mh-utils.
13 * mh-exec.el: New file. Move process support routines here from
16 * mh-init.el (mh-utils): Remove require.
17 (mh-exec): Add require.
18 (mh-profile-component, mh-profile-component-value): Move here from
21 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
22 dependencies on mh-utils.el.
23 (mh-profile-component, mh-profile-component-value): Move to
24 mh-init.el since that's the only place that uses them. (Other than
25 mh-alias.el; I'm thinking that mh-find-path can set variable from
26 the Aliasfile component like it does the other components).
27 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
28 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
29 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
30 (defvar, mh-exec-cmd-output)
31 (mh-exchange-point-and-mark-preserving-active-mark)
32 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
33 file mh-exec.el so that mh-init.el doesn't have to depend on
34 mh-utils.el, breaking circular dependency.
48 * mh-speed.el: Added debugging statements (commented out) around
49 requires to help find dependency loops. Will remove them when
52 2006-01-14 Bill Wohler <wohler@newt.com>
54 * mh-customize.el (mh-index): Rename group to mh-search and sort
55 group definition and options accordingly.
56 (mh-index-program): Rename to mh-search-program.
57 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
59 (mh-search-mode-hook): Change group from mh-index to mh-search.
60 (mh-index-folder): Rename to mh-search-folder. Change group from
61 mh-index to mh-search.
63 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
66 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
67 pick and grep are searchers too but aren't indexed.
68 (mh-index-execute-search-function): Rename to mh-search-function.
69 (mh-index-next-result-function): Rename to
70 mh-search-next-result-function.
71 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
72 (mh-search): Since redo-search-flag defaults to nil and is of
73 lesser importance, make it an optional argument and place it after
74 the folder and search-regexp arguments. Sync docstring with
76 (mh-search-mode-map): Autoload so that keys are shown in help even
77 before mh-search is loaded.
78 (mh-search-mode): Sync docstring with manual.
79 (mh-index-do-search): Rename argument indexer to searcher. Sync
80 docstring with manual.
81 (mh-pick-do-search): Sync docstring with manual.
82 (mh-index-p): Rename to mh-search-p.
83 (mh-indexer-choices): Rename to mh-search-choices.
84 (mh-index-choose): Rename to mh-search-choose. Rename argument
86 (mh-swish++-execute-search, mh-swish-execute-search)
87 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
88 read the results" from docstring since these functions don't.
89 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
91 (mh-index-generate-pretty-name): Prune -search from string so that
92 folder names for pick searches are the same as those of other
95 2006-01-13 Bill Wohler <wohler@newt.com>
97 * mh-acros.el (require): Added Satyaki's comment regarding what
98 needs to happen to remove this defadvice which caused a little
99 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
100 advices `require' incorrectly).
102 * mh-search.el (mh-index-next-result-function): Add format to
104 (mh-mairix-next-result): Use nil instead of () which doesn't stand
106 (mh-pick-execute-search): Operate across all folders if no folder
107 given and recurse folder(s).
108 (mh-pick-next-result): Handle new output.
110 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
111 (mh-children-p, mh-folder-list): New functions.
113 2006-01-12 Bill Wohler <wohler@newt.com>
115 * mh-search.el: New file containing contents of mh-index.el and
116 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
117 pick. Pick no longer sets the "search" sequence. Instead, it
118 brings up a folder view that we're accustomed to. (closes SF
120 (mh-index-search): Rename to mh-search.
121 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
122 the Search to Perform Search and call mh-do-search. Add Search
124 (mh-do-search): Delete.
125 (mh-search-mode): Rename from mh-pick-mode.
126 (MH-Search): Rename mode from MH-Pick.
127 (mh-search-mode-map): Rename from mh-pick-mode-map.
128 (mh-search-mode-help-messages): Rename from
129 mh-pick-mode-help-messages.
130 (mh-index-choose): Don't reuse the last value of mh-indexer; when
131 mh-pick-do-search sets it to 'pick, we don't necessarily want to
132 stay with that choice!
135 * mh-pick.el: Merge into mh-search.el and delete.
137 * mh-customize.el (mh-index-program): Change mh-index-search to
138 mh-search in docstring.
139 (mh-tool-bar-search-function): Change default from
140 mh-search-folder to mh-search. Remove mh-search-folder as choice
141 and rename mh-index-search choice to mh-search. Fix docstring.
142 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
143 mh-search-folder to mh-search in docstring.
145 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
146 Indexed Search to Search. Use mh-search instead of
148 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
149 from mh-show-search-folder to mh-search.
151 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
152 mh-search-folder no longer creates the search sequence.
154 * mh-utils.el (mh-show-search-folder): Delete.
155 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
156 Change s from mh-show-search-folder to mh-search.
157 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
158 Search to Search. Use mh-search instead of mh-index-search.
159 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
160 here from deleted mh-index.el.
162 2006-01-11 Bill Wohler <wohler@newt.com>
164 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
167 * mh-gnus.el: Require mh-acros.
168 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
170 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
171 url-hexify-string to remove special characters from filenames
172 (closes SF #1396499). Note that this invalidates the existing
173 names in your cache so you might as well remove
174 ~/Mail/.mhe-x-image-cache/* now.
175 (url-unreserved-chars, url-hexify-string): Define if not defined.
176 Copied from url-util.el in Emacs22 for Emacs 21.
178 * mh-buffers.el: New file. Contains constants and code from
179 mh-index.el and mh-utils.el.
189 * mh-seq.el: Require new file mh-buffers.el.
191 * mh-index.el: Require new file mh-buffers.el.
192 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
195 * mh-utils.el: Require new file mh-buffers.el.
196 (mh-temp-buffer, mh-temp-fetch-buffer)
197 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
198 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
199 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
200 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
202 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
203 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
205 2006-01-10 Bill Wohler <wohler@newt.com>
207 * mh-comp.el (mh-insert-letter): If you choose a different folder,
208 the cur message is used. Sync docstring with manual (closes SF
211 * mh-mime.el (mh-compose-forward): Use standard range argument
212 instead of messages. Use more powerful mh-read-range instead of
213 read-string. Sync docstring with manual (close SF #1205890).
215 * mh-index.el (mh-index-search): Checking mh-find-path-run is
217 (mh-index-next-folder): Don't back up a line when going backwards
218 since this skips the current folder heading if point is on the
219 first message after the folder heading (closes SF #1126188).
221 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
223 (mh-variants): Note variable isn't meant to be accessed directly;
224 use function mh-variants instead.
225 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
226 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
227 them. Updated to use mh-file-command-p which is more accurrate
228 than file-executable-p which returns t for directories.
229 (mh-file-command-p): Move here from mh-utils, since
230 mh-variant-*-info are the only functions to use it.
231 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
232 function mh-variants instead of variable. More robust.
233 (mh-find-path-run): Move here from mh-utils.el. Mention that
234 checking this variable is unnecessary.
235 (mh-find-path): Move here from mh-utils.el. With the advent of MH
236 variants and an mhparam command that doesn't work if there isn't
237 an MH profile, we can't get libdir for running install-mh. So
238 don't bother. If there's an issue with the environment, direct the
239 user to install MH and run install-mh (closes SF #835192). Don't
240 read ~/.mh_profile directly. Use mh-profile-component which uses
241 mhparam (closes SF #1016027).
243 * mh-utils.el (mh-get-profile-field): Rename to
244 mh-profile-component-value. Add colon to search removing
245 unnecessary addition of colon to field in mh-profile-component.
246 (mh-profile-component): Modify call to mh-profile-component-value
247 accordingly. Move next to mh-profile-component-value.
248 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
249 mh-init.el. It makes sense that code that is only run once per
250 session (more or less) is in mh-init.el rather than cluttering
252 (mh-no-install, mh-install): Delete.
254 * mh-customize.el (mh-folder-msg-number):
255 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
257 2006-01-09 Bill Wohler <wohler@newt.com>
259 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
260 patch from Satyaki from SF #1016027.
262 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
263 message, even if cur sequence is no longer present (closes SF
266 * mh-comp.el: Use ";; Shush compiler." comment consistently per
268 (mh-letter-mode): Derive from mail-mode and delete code copied
269 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
271 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
272 (mh-to-field-choices): For consistency with mail-mode, add "a" for
273 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
274 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
275 (mh-to-fcc): Move setting of folder argument to interactive
276 argument as is the norm.
277 (mh-letter-complete-function-alist): Add mail-reply-to.
278 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
279 Mail-Followup-To, Reply-To, From).
281 * mh-customize.el: Use ";; Forward definition." consistently.
282 Comment declaration to remind programmer to update forward
283 definition if default changes.
290 * mh-utils.el: Use ";; Shush compiler." comment consistently per
293 2006-01-08 Bill Wohler <wohler@newt.com>
295 Removed code that was marked as Emacs 20 compatible that was
296 easily found showing how important it is to document such
297 things (closes SF #1359240). Feel free to nuke any other Emacs 20
298 peculiarities that you find. Wrapped code for shushing compiler
299 with (eval-when-compile), sometimes moving the defvars closer to
300 where they were used.
302 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
303 instead of mh-replace-in-string as mh-replace-in-string was
304 replaced by a more appropriate defsubst in mh-xemacs.el.
306 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
308 (mh-file-is-vcard-p): Removed redundant test.
310 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
311 with eval-when-compile.
312 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
313 (mh-invisible-header-fields-default): Add forward definitions.
314 (mh-invisible-header-fields-default): Alphabetize.
316 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
318 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
320 (mh-colors-available-p): Just call display-color-cells. It's on
321 all supported Emacsen (and defaliased on XEmacs).
325 * mh-init.el: Wrap compiler-shushing defvars with
328 * mh-identity.el: Don't need (mh-require-cl).
330 * mh-index.el: Don't need to load executable any more.
332 * mh-mime.el: Wrap compiler-shushing defvars with
334 (mh-have-file-command): Initialize variable to 'undefined. Add
335 docstring. Update function of same name accordingly. Also don't
336 need to load executable any more.
337 (mh-mime-content-types): Delete.
338 (mh-minibuffer-read-type): Prompt user for type if
339 mh-file-mime-type returns application/octet-stream. Assume we have
341 (mh-mime-display): Update error message.
343 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
344 with eval-when-compile.
346 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
347 with eval-when-compile.
348 (mh-clean-msg-header): Don't set after-change-functions to nil.
349 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
352 2006-01-07 Bill Wohler <wohler@newt.com>
354 * mh-customize.el: Updated Faces documentation in header.
355 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
356 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
358 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
359 tags inserted by Gnus gnus-summary-mail-forward (closes SF
362 2006-01-03 Mark D. Baushke <mdb@gnu.org>
364 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
365 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
367 2006-01-03 Bill Wohler <wohler@newt.com>
369 * mh-alias.el (mh-alias-add-alias): Grand message and error string
370 unification. Use single sentence if possible by using semicolon.
371 Don't end message with punctuation. Don't need format with
372 message. Quote messages as in docstrings: use `' around symbols,
373 \" for option choices. Don't use quotes around %s.
375 * mh-comp.el (mh-complete-word): Ditto.
377 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
378 (mh-scan-format-file-check): Ditto.
380 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
381 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
382 (mh-msg-num-width-to-column): Ditto.
384 * mh-identity.el (mh-identity-field-handler): Ditto.
386 * mh-index.el (mh-mairix-execute-search)
387 (mh-swish-execute-search, mh-swish++-execute-search)
388 (mh-namazu-execute-search): Ditto.
390 * mh-init.el (mh-variant-set): Ditto.
392 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
393 (mh-secure-message, mh-mime-display): Ditto.
395 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
397 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
398 (mh-read-range, mh-thread-container-subject): Ditto.
400 * mh-utils.el (mh-x-image-scale-and-display)
401 (mh-prompt-for-folder, mh-handle-process-error)
402 (mh-list-to-string-1): Ditto.
404 * mh-comp.el (mh-reply): Use standard default notation in
405 prompts (closes SF #1275933).
407 * mh-mime.el (mh-mime-save-parts): Ditto.
409 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
411 * mh-customize.el (mh-folder-msg-number): Snow is actually
412 off-white on low color displays which turns to white when bold.
413 This is unreadable on white backgrounds. Use snow with min-colors
414 requirement. Use cyan on low-color displays.
416 * mh-init.el (mh-defface-compat): On low-color displays, delete
417 the high-color display rather than simply strip the min-colors
418 requirement since the existing algorithm shadowed the desired
419 display on low-color displays.
421 * mh-alias.el (mh-alias-add-alias): Remove leading * from
424 2006-01-02 Bill Wohler <wohler@newt.com>
426 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
427 docstring. Does this mean something in a defun?
429 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
432 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
433 so it reads better in docstring and manual. Sync docstring with
436 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
438 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
440 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
441 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
442 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
443 (mh-letter-complete-or-space, mh-letter-confirm-address)
444 (mh-letter-next-header-field-or-indent)
445 (mh-letter-previous-header-field): Ditto.
447 * mh-customize.el (mh-alias-completion-ignore-case-flag)
448 (mh-default-folder-for-message-function, mh-mml-method-default)
449 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
450 (mh-show-mode-hook) Ditto.
452 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
454 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
455 (mh-store-msg, mh-store-buffer): Ditto
457 * mh-index.el (mh-index-search, mh-index-do-search)
458 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
460 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
462 * mh-mime.el (mh-mh-compose-external-compressed-tar)
463 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
464 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
465 (mh-mml-secure-message-signencrypt): Ditto
467 * mh-pick.el (mh-search-folder): Ditto.
469 * mh-seq.el (mh-widen): Ditto.
471 * mh-utils.el (mh-show, mh-modify): Ditto.
473 2006-01-02 Mark D. Baushke <mdb@gnu.org>
475 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
477 2006-01-01 Bill Wohler <wohler@newt.com>
479 * mh-customize.el: Sync docstrings with manual for faces and sort
481 (mh-faces): Move below mh-hooks.
482 (mh-folder-faces, mh-index-faces, mh-letter-faces)
483 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
485 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
486 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
487 (mh-folder-body-face, mh-folder-cur-msg-face)
488 (mh-folder-cur-msg-number-face, mh-folder-date-face)
489 (mh-folder-followup-face, mh-folder-msg-number-face)
490 (mh-folder-deleted-face, mh-folder-refiled-face)
491 (mh-folder-subject-face, mh-folder-address-face)
492 (mh-folder-scan-format-face, mh-folder-to-face)
493 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
494 (mh-show-header-face, mh-show-pgg-good-face)
495 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
496 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
498 (mh-folder-cur-msg): Unused. Delete.
499 (mh-folder-address): Use defface; inherit from mh-folder-subject.
500 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
501 Inherit from mh-folder-msg-number.
502 (mh-folder-deleted): Use defface. Inherit from
503 mh-folder-msg-number.
504 (mh-folder-sent-to-me-hint): New face. Inherit from
506 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
507 Use defface. Inherit from mh-folder-followup.
508 (mh-show-xface): Inherit from mh-show-from and highlight.
509 (bw-face-generation, bw-toggle-faces)
510 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
511 variables, functions for toggling between old and new faces.
513 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
514 eval-when-compile. We should probably do this throughout.
515 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
516 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
517 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
518 (mh-scan-subject-regexp): Sync docstrings with manual
519 (mh-scan-format-regexp): Rename to
520 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
521 expression. Make expression more like the others (anchored at the
522 beginning of line). Sync docstrings with manual.
523 (mh-folder-font-lock-keywords): Use faces directly rather than
524 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
525 mh-scan-format-regexp, and within that expression, use faces
526 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
527 of mh-folder-date-face and mh-folder-scan-format-face which were
530 * mh-mime.el (mh-mime-security-button-face): Use faces directly
531 rather than -face variables.
533 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
534 rather than -face variables.
535 (mh-face-foreground-compat, mh-face-background-compat): New macros.
536 (mh-face-display-function): Use mh-face-foreground-compat and
537 mh-face-background-compat to use inherited attributes of
538 mh-show-xface on Emacs 22 while still working on Emacs 21.
540 2005-12-28 Bill Wohler <wohler@newt.com>
542 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
543 mh-user-agent-compose instead of mh-smail-batch.
545 2005-12-27 Bill Wohler <wohler@newt.com>
547 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
548 suppress creation of folder if it doesn't exist.
550 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
552 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
554 2005-12-23 Bill Wohler <wohler@newt.com>
556 * mh-e.el (mh-folders-changed): Fix typo in docstring.
558 Follow MH-E Developers Guide conventions. Use `' quotes for Help
559 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
560 everything else. Otherwise, you can accidently get links to
563 2005-12-22 Bill Wohler <wohler@newt.com>
565 Follow Emacs coding conventions. Use default setting of
566 emacs-lisp-docstring-fill-column which is 65.
568 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
570 * mh-comp.el (mh-letter-mode): Use 60 column width.
571 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
573 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
574 you have added a mail-citation-hook and neither are used if you
575 use one of the supercite flavors of mh-yank-behavior. Sync
576 docstrings with manual.
578 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
579 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
580 hook. Use "Hook run by `function'..." instead of "Invoked...".
581 Sync docstrings with manual.
582 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
583 mh-ins-buf-prefix isn't used if you have added a
584 mail-citation-hook and neither are used if you use one of the
585 supercite flavors of mh-yank-behavior. Sync docstrings with
587 (mail-citation-hook): Delete. Use one in sendmail.el.
588 (mh-signature-file-name, mh-after-commands-processed-hook)
589 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
590 (mh-before-quit-hook, mh-before-send-letter-hook)
591 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
592 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
593 (mh-letter-mode-hook)
594 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
595 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
596 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
597 of "Invoked...". Sync docstrings with manual.
599 * mh-e.el (mh-last-destination, mh-last-destination-folder)
600 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
601 (mh-delete-list, mh-refile-list, mh-folders-changed)
602 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
603 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
604 (mh-mode-line-annotation, mh-sequence-notation-history)
605 (mh-colors-available-flag): Move comment into docstring.
606 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
607 (mh-process-commands): Sync docstrings with manual.
608 (mh-refile-msg): Small doc edit.
609 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
610 Rename msg argument to message.
612 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
614 * mh-e.el (mh-update-unseen): No longer say "The value of
615 `foo-hook' is a list of functions to be called, with no arguments,
616 ...," but rather just "The hook foo-hook is called...".
618 * mh-mime.el (mh-mh-to-mime): Ditto.
620 * mh-pick.el (mh-pick-mode): Ditto.
622 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
624 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
626 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
629 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
631 * mh-customize.el (mh-after-commands-processed-hook): New
633 (mh-before-commands-processed-hook): Rename
634 mh-folder-updated-hook.
636 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
637 mh-before-commands-processed-hook, call new
638 mh-after-commands-processed-hook.
639 (mh-folders-changed): New variable (for use in
640 mh-after-commands-processed-hook).
642 2005-12-19 Bill Wohler <wohler@newt.com>
662 Follow commenting conventions. Don't use ;;; form so much, except
663 for headings. Precede headings with page feed. This was mostly
664 already done, so I made it a convention. Did not update copyright
665 on a couple of files since this was an insignificant change.
667 2005-12-18 Bill Wohler <wohler@newt.com>
669 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
670 (mh-tool-bar-search-function): Sync docstrings with manual.
671 (mh-tool-bar-customize): Replace toolbar with tool bar in
673 (mh-tool-bar-letter-help): Fix manual reference.
674 (mh-xemacs-use-toolbar-flag): Rename to
675 mh-xemacs-use-tool-bar-flag. Initialize to
676 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
677 (mh-xemacs-toolbar-position): Rename to
678 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
679 option (redundant) and change "Same As Default Tool Bar" setting
680 to nil. Sync docstrings with manual.
681 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
682 depending on context.
683 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
684 for calling set-specifier. Only look at the value of
685 mh-xemacs-use-tool-bar-flag.
686 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
687 docstrings with manual.
689 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
692 * mh-e.el (mh-folder-mode): Ditto.
694 * mh-utils.el (mh-show-mode): Ditto.
696 2005-12-15 Bill Wohler <wohler@newt.com>
698 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
700 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
701 (mh-thread-previous-sibling, mh-thread-ancestor)
702 (mh-thread-delete, mh-thread-refile): Ditto.
704 2005-12-14 Bill Wohler <wohler@newt.com>
706 * mh-customize.el (mh-speed-flists-interval): Rename to
707 mh-speed-update-interval.
708 (mh-speed-run-flists-flag): Delete. Setting
709 mh-speed-flists-interval to 0 accomplishes the same thing.
711 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
712 mh-speed-update-interval instead of mh-speed-run-flists-flag.
713 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
714 docstrings with manual.
716 2005-12-09 Bill Wohler <wohler@newt.com>
718 * mh-customize.el (mh-path): Move here from mh-init.el.
719 (mh-variant): Mention that mh-path can be customized.
720 (mh-invisible-header-fields-internal): Add X-ContentStamp,
721 X-MAIL-INFO, and X-UNTD- from NetZero.
723 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
725 2005-12-04 Bill Wohler <wohler@newt.com>
727 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
728 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
731 * mh-customize.el (mh-insert-signature-hook): Rename
732 mh-letter-insert-signature-hook to mh-insert-signature-hook.
734 * mh-comp.el (mh-insert-signature): Ditto.
736 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
737 to nil. Remove t option. Sync docstring with manual (closes SF
739 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
740 users can see it, look it up in the manual's index, and discover
741 mh-fetch-x-image-url (closes SF #831278).
743 * mh-customize.el (mh-new-messages-folders): Rename from
744 mh-index-new-messages-folders.
745 (mh-ticked-messages-folders): Rename from
746 mh-index-ticked-messages-folders.
748 * mh-index.el (mh-index-sequenced-messages)
749 (mh-index-new-messages): Ditto.
751 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
752 in the docstrings and made usage consistent. Generally speaking,
753 "messages in range" and "range of messages" is redundant and just
754 "range" can be used in most circumstances. Also ensured that
755 mh-interactive-range was mentioned in all interactive functions
756 that use a range which describes the range argument for both users
759 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
760 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
761 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
762 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
765 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
768 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
770 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
771 (mh-ps-print-msg-file, mh-print-msg): Ditto.
773 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
774 (mh-narrow-to-range, mh-toggle-tick): Ditto.
776 2005-12-01 Bill Wohler <wohler@newt.com>
778 Rewrote Reading Mail chapter in manual which affected mh-show
779 customization group and related functions.
781 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
782 instead of mh-highlight-citation-p.
783 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
784 I think, so use "truncated".
786 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
787 section is Folders, not Organizing. Parent of mh-folder-faces is
788 mh-folder, not mh-show.
789 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
790 (mh-thread): New group that corresponds with manual's Threading
792 (mh-letter-faces): Group's manual section is Editing Drafts, not
794 (mh-sortm-args): New customization variable that used to be a
796 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
797 Move from mh-index group to mh-folders group.
798 (mh-alias-local-users-prefix, mh-large-folder)
799 (mh-recursive-folders-flag, mh-before-quit-hook)
800 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
801 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
803 (mh-highlight-citation-style): Rename from
804 mh-highlight-citation-p. Sync docstrings with manual.
805 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
807 (mh-show-threads-flag): Move from mh-show group to mh-thread
809 (mh-find-path-hook): Move from mh-show group to mh-e group.
810 (mh-folder-updated-hook): Add to mh-folder group.
811 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
812 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
813 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
814 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
815 (mh-display-buttons-for-inline-parts-flag)
816 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
817 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
818 (mh-invisible-header-fields-default, mh-invisible-header-fields)
819 (mh-lpr-command-format, mh-max-inline-image-height)
820 (mh-max-inline-image-width)
821 (mh-mime-save-parts-default-directory, mh-print-background-flag)
822 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
823 (mh-show-use-xface-flag, mh-store-default-directory)
824 (mh-summary-height, mh-delete-msg-hook
825 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
828 (mh-scan-format-mh, mh-scan-good-msg-regexp)
829 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
830 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
831 non-fontification instead of non-fontifying.
832 (mh-header-display): Use mh-mhl-format-file instead of
833 mhl-formfile. Sync docstrings with manual.
834 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
835 count. Sync docstrings with manual.
836 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
837 so that message doesn't change when using this command. Sync
838 docstrings with manual.
839 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
840 docstrings with manual.
841 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
842 to no-header. Sync docstrings with manual.
843 (mh-ps-print-map): Delete keybindings for deleted commands
844 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
845 (mh-help-messages): Update printing help.
846 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
847 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
848 (mh-prev-button, mh-folder-toggle-mime-part)
849 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
850 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
853 * mh-funcs.el (mh-sortm-args): Now a customization option and in
855 (mh-pipe-msg): Rename include-headers to include-header. Sync
856 docstrings with manual.
857 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
858 (mh-store-msg): Sync docstrings with manual.
860 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
861 docstrings with manual.
862 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
863 Sync docstrings with manual.
864 (mh-mm-display-part, mh-mm-inline-message): Use
865 mh-highlight-citation-style instead of mh-highlight-citation-p.
866 (mh-press-button): Sync docstrings with manual.
867 (mh-display-with-external-viewer): Fix default output in
868 minibuffer. Sync docstrings with manual.
870 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
872 (mh-ps-print-color-option): Incorporate docstring from
874 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
876 (mh-ps-spool-msg): Slimline docstring. Rename from
877 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
879 (mh-ps-print-range): Extract method from common code in
880 mh-ps-print-msg and mh-ps-print-msg-file.
881 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
882 (mh-ps-print-msg-show): Delete. Can use either
883 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
884 new code in mh-ps-spool-msg.
885 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
886 Sync docstrings with manual.
887 (mh-ps-print-msg, mh-ps-print-msg-file)
888 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
889 docstrings with manual.
891 * mh-utils.el (mh-show-ps-print-msg-show)
892 mh-show-ps-print-toggle-mime): Delete.
893 (mh-show-ps-print-map): Update accordingly.
894 (mh-show-mode): Use mh-highlight-citation-style instead of
895 mh-highlight-citation-p.
896 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
898 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
899 docstrings with manual.
900 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
901 docstrings with manual.
903 2005-12-01 Bill Wohler <wohler@newt.com>
905 * mh-init.el (mh-defface-compat): Checkdoc fix.
907 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
908 Bogofilter is lowercase except at beginning of sentence and in
911 2005-11-04 Bill Wohler <wohler@newt.com>
913 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
914 Move to mh-init.el to minimize bulk of mh-customize.el.
916 * mh-init.el: Modify commentary since file is used for load and
917 initialization as well as setting and getting the variant.
918 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
921 * mh-customize.el: Refactor faces. Move grayscale requirements
922 last before t. Use uniform line breaks.
923 (mh-min-colors-defined-flag): New variable.
924 (mh-defface-compat): New function. Provides backward compatibility
926 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
927 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
928 (mh-folder-body): Use mh-defface-compat.
930 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
932 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
933 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
934 (mh-folder-to-face): Use the min-colors attribute instead of the
937 2005-11-03 Bill Wohler <wohler@newt.com>
939 * mh-customize.el (mh-refile-preserves-sequences-flag)
940 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
941 docstrings with manual.
943 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
945 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
946 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
949 2005-11-01 Bill Wohler <wohler@newt.com>
951 * mh-comp.el (mh-redist-full-contents) Convert defvar to
953 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
954 (mh-reply, mh-send, mh-send-other-window)
955 (mh-fill-paragraph-function): Sync docstrings with manual.
956 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
957 msg argument to message (to make for a better docstring).
959 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
960 to defcustom. Rename by adding -flag.
961 (mh-compose-forward-as-mime-flag)
962 (mh-compose-letter-function, mh-forward-subject-format)
963 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
964 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
967 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
968 (mh-ps-print-msg): Remove debugging messages.
969 (mh-ps-print-msg-show, mh-ps-print-msg-show)
970 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
971 after message per conventions.
973 2005-10-30 Bill Wohler <wohler@newt.com>
975 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
976 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
977 docstrings with manual.
979 * mh-customize.el (mh-compose-space-does-completion-flag)
980 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
981 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
982 means" to remain checkdoc clean and consistent with Emacs. I
983 raised this issue with the Emacs developers and Stallman agrees
984 that "On means" should be allowed in custom docstrings but that
985 this change requires thought and should wait until after the Emacs
988 2005-10-28 Bill Wohler <wohler@newt.com>
990 * mh-comp.el (mh-annotate-msg): Use new variable
991 mh-scan-field-destination-offset rather than hard-coding 1.
993 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
995 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
996 functions to check input for mh-adaptive-cmd-note-flag and
997 mh-scan-format-file respectively.
998 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
1001 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
1002 destination is the -, t, b, c, or n character for Replied, To, cc,
1003 Bcc, or Newsgroups respectively.
1004 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
1005 Call new function mh-msg-num-width-to-column to make leap between
1006 width and column more explicit.
1007 (mh-msg-num-width-to-column): New function that steals logic from
1008 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
1009 isn't t since we can't adapt the scan lines in this case.
1010 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
1011 make the documentation more clear.
1012 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
1013 column, not a width.
1014 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
1015 variable mh-scan-field-destination-offset rather than hard-coding
1018 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
1019 (mh-notate): Use new variable mh-scan-field-destination-offset
1020 rather than hard-coding 1.
1021 (mh-message-number-width): Rename to mh-msg-num-width to be
1022 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
1024 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
1025 (mail-citation-hook): Quote URLs in docstrings and precede with
1026 `URL'. The former will suppress checkdoc warnings, the latter will
1027 turn them into hyperlinks in Emacs 22 (I just added the code to do
1029 (mh-scan-format-file): Checkdoc fix.
1031 2005-10-27 Bill Wohler <wohler@newt.com>
1033 * mh-customize.el (mh-adaptive-cmd-note-flag)
1034 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
1036 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
1037 (mh-note-cur, mh-scan-good-msg-regexp)
1038 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1039 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1040 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1041 (mh-scan-subject-regexp, mh-scan-format-regexp)
1042 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
1045 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
1047 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
1048 of hard-coded string.
1049 (mh-mail-header-separator, mh-signature-separator-regexp): Use
1050 "regular expression" in docstring instead of regexp.
1051 (mh-scan-msg-number-regexp)
1052 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
1053 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
1054 (mh-cmd-note): Sync docstrings with manual.
1056 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
1059 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
1061 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
1062 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1063 (mh-mml-secure-message-signencrypt): Ditto.
1065 2005-10-24 Bill Wohler <wohler@newt.com>
1067 * mh-gnus.el: Load mml.el in order to see if
1068 mml-minibuffer-read-disposition is defined or not.
1070 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
1073 2005-10-23 Miles Bader <miles@gnu.org>
1075 * .arch-inventory: New file.
1077 2005-10-23 Bill Wohler <wohler@newt.com>
1079 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
1080 docstring with manual.
1082 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
1083 mh-alias.el and move to mh-acros.el
1085 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
1086 mh-identity.el and move to mh-acros.el
1088 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
1089 mh-identity.el and mh-alias.el.
1091 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
1092 warning in Emacs 22.
1094 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
1096 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
1097 assoc-string (if the function is available) and falls back on
1098 assoc-ignore-case if assoc-string is not found.
1099 (mh-identity-field-handler): Use mh-assoc-ignore-case since
1100 assoc-ignore-case is a obsolete function in Emacs 22.
1102 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
1103 track of whether the tool-bar in mh-folder-mode has been
1105 (mh-folder-mode): Initialize the tool-bar for folders the first
1106 time we get into mh-letter-mode.
1108 * mh-customize.el (mh-buffer-exists-p): New function which tests
1109 presence of buffers of a given mode.
1110 (mh-tool-bar-define): New functions
1111 mh-tool-bar-folder-buttons-init and
1112 mh-tool-bar-letter-buttons-init are defined. These functions are
1113 used to create the tool-bar from the corresponding customizable
1116 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
1117 keeps track of whether the tool-bar in mh-letter-mode has been
1119 (mh-letter-mode): Initialize the tool-bar for drafts the first
1120 time we get into mh-letter-mode.
1122 2005-10-23 Bill Wohler <wohler@newt.com>
1124 * mh-comp.el (mh-letter-menu): Rename
1125 mh-mhn-compose-external-compressed-tar to
1126 mh-mh-compose-external-compressed-tar. Rename
1127 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
1128 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
1129 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
1130 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
1131 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
1133 (mh-insert-signature): Rename mh-mhn-directive-present-p to
1134 mh-mh-directive-present-p.
1135 (mh-send-letter): Rename mh-mhn-directive-present-p to
1136 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
1137 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
1138 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
1139 mh-mhn-compose-external-compressed-tar to
1140 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
1141 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
1142 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
1143 mh-mh-compose-anon-ftp. Rename
1144 mh-mhn-compose-external-compressed-tar to
1145 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
1146 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
1147 mh-mh-compose-external-type.
1148 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
1149 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
1150 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
1151 mh-yank-from-start-of-msg to mh-yank-behavior.
1152 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
1153 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
1154 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
1155 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1156 (mh-letter-complete-or-space, mh-letter-confirm-address)
1157 (mh-letter-next-header-field-or-indent)
1158 (mh-letter-previous-header-field)
1159 (mh-letter-toggle-header-field-display): Sync docstrings with
1162 * mh-customize.el (mh-edit-mhn-hook): Rename to
1164 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
1165 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
1166 and user-visible values from mhn and Gnus to MH and MML.
1167 (mh-before-send-letter-hook): Add 'ispell-message option.
1168 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
1169 mh-pgp-support-flag.
1170 (mh-compose-insertion, mh-compose-space-does-completion-flag)
1171 (mh-delete-yanked-msg-window-flag)
1172 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1173 (mh-letter-complete-function, mh-letter-fill-column)
1174 (mh-mml-method-default, mh-signature-file-name)
1175 (mh-signature-separator-flag, mh-x-face-file)
1176 (mh-yank-behavior, mail-citation-hook)
1177 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
1180 * mh-gnus.el (mml-minibuffer-read-disposition): New function
1181 provided for Emacs 21 environments that lack it.
1183 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
1185 (mh-compose-forward): mh-mh-forward-message requires string arg.
1186 (mh-minibuffer-read-type): New function.
1187 (mh-mhn-args): Rename to mh-mh-to-mime-args.
1188 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
1189 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
1190 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
1191 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
1192 Rename mh-mhn-compose-external-type to
1193 mh-mh-compose-external-type.
1194 (mh-mhn-compose-external-compressed-tar): Rename to
1195 mh-mh-compose-external-compressed-tar. Rename
1196 mh-mhn-compose-external-type to mh-mh-compose-external-type.
1197 (mh-mhn-compose-external-type): Rename to
1198 mh-mh-compose-external-type.
1199 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
1200 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
1201 Use correct program in message.
1202 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
1203 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
1204 (mh-compose-forward, mh-mh-attach-file)
1205 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
1206 (mh-mh-compose-external-type, mh-mh-forward-message)
1207 (mh-mml-attach-file): Use mml-minibuffer-read-description,
1208 mh-minibuffer-read-type.
1209 (mh-mime-content-types): Move comment about only being used in
1210 Emacs 20 to docstring.
1211 (mh-mh-compose-external-type): Rename extra-param argument to
1213 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
1214 (mh-mime-display-part, mh-mime-display-single): Rename
1215 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
1216 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
1218 (mh-compose-forward): Rename mh-mhn-compose-forw to
1219 mh-mh-forward-message.
1220 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
1222 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
1223 (mh-mh-attach-file, mh-mh-compose-type)
1224 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
1225 (mh-mh-compose-external-compressed-tar)
1226 (mh-mh-compose-external-type, mh-mh-forward-message)
1227 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
1228 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
1229 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
1230 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1231 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
1232 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
1233 Sync docstrings with manual.
1235 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
1236 mh-pgp-support-flag.
1238 2005-10-17 Peter S Galbraith <psg@debian.org>
1240 * mh-identity.el (mh-identity-field-handler): Use
1241 `assoc-ignore-case' to compare against header field for mixed-case
1244 2005-10-17 Bill Wohler <wohler@newt.com>
1246 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
1247 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
1248 to mail/compose, fld_open to fld-open.
1249 (mh-letter-tool-bar-map): Rename image file mail_send to
1252 2005-10-16 Bill Wohler <wohler@newt.com>
1254 * mh-comp.el (mh-display-completion-list-compat): New macro which
1255 calls `display-completion-list' correctly in older environments.
1256 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
1258 (mh-complete-word): Use it.
1260 * mh-init.el (mh-image-load-path): Use locate-library to find
1261 MH-E. This simplified the code a lot. Flattened out nested
1262 statements even more.
1264 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
1266 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
1267 causes a compiler warning.
1269 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
1270 the message to be viewed (closes SF #1306141).
1272 2005-10-16 Masatake YAMATO <jet@gyve.org>
1274 * mh-comp.el (mh-complete-word): Pass the common prefix substring
1275 of completion to `display-completion-list'.
1277 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
1279 * mh-init.el (mh-image-load-path-called-flag): New variable which
1280 is used by mh-image-load-path so that it runs only once.
1281 (mh-image-load-path): Modify so that it gets run only once. Also
1282 flatten out heavily nested if statements to make it clearer.
1284 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
1285 to find images used in the toolbar.
1287 * mh-customize.el (:folder): Remove call to mh-image-load-path.
1289 2005-10-14 Bill Wohler <wohler@newt.com>
1291 * mh-e.el (Version, mh-version): Add +cvs to version.
1293 2005-10-14 Bill Wohler <wohler@newt.com>
1295 Released MH-E version 7.85.
1297 * mh-e.el (Version, mh-version): Update for release 7.85.
1299 2005-10-14 Bill Wohler <wohler@newt.com>
1301 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
1302 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
1303 need to be indented.
1305 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
1306 but the code that invoked the face had not been updated. Tick
1307 highlighting working again.
1309 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
1310 make-variable-buffer-local call to top level to avoid warnings in
1313 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
1316 2005-10-09 Bill Wohler <wohler@newt.com>
1318 * mh-init.el (mh-image-load-path): New function that adds the path
1319 to the MH-E images to the image-load-path or load-path depending
1320 on the version of Emacs.
1322 * mh-customize.el: Call mh-image-load-path just before
1323 mh-tool-bar-define so that the toolbar images can be found.
1325 2005-10-04 Bill Wohler <wohler@newt.com>
1327 * ChangeLog: Move contents into ChangeLog.1 and trim.
1329 * ChangeLog.1: New file. Contains old ChangeLog.
1332 Copyright (C) 2005 Free Software Foundation, Inc.
1334 Copying and distribution of this file, with or without modification,
1335 are permitted in any medium without royalty provided the copyright
1336 notice and this notice are preserved.
1339 ;; sentence-end-double-space: nil
1342 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51