1 2006-01-17 Bill Wohler <wohler@newt.com>
3 * mh-acros.el (assoc-string): Fix typo in argument.
5 2006-01-16 Bill Wohler <wohler@newt.com>
7 * mh-acros.el (require): Remove defadvice of require as defadvice
8 is verboten within Emacs and our implementation was returning the
9 wrong value from require. Upcoming restructuring should make this
11 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
13 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
14 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
16 * mh-identity.el (mh-identity-field-handler): Use it.
18 * mh-comp.el (mh-show-buffer-message-number): Replace (car
19 (read-from-string string) with (string-to-number string).
21 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
24 * mh-mime.el (mh-mml-forward-message): Ditto.
26 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
27 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
28 (mh-openssl-parser, mh-index-update-maps): Ditto.
30 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
31 (mh-thread-generate): Ditto.
33 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
35 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
36 mm- functions for proper text=flowed handling (addresses SF
39 2006-01-15 Bill Wohler <wohler@newt.com>
41 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
42 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
45 * mh-utils.el (mh-show-limit-map): Ditto.
47 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
49 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
51 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
54 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
55 needed to help remove dependency on mh-utils.
57 * mh-exec.el: New file. Move process support routines here from
60 * mh-init.el (mh-utils): Remove require.
61 (mh-exec): Add require.
62 (mh-profile-component, mh-profile-component-value): Move here from
65 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
66 dependencies on mh-utils.el.
67 (mh-profile-component, mh-profile-component-value): Move to
68 mh-init.el since that's the only place that uses them. (Other than
69 mh-alias.el; I'm thinking that mh-find-path can set variable from
70 the Aliasfile component like it does the other components).
71 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
72 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
73 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
74 (defvar, mh-exec-cmd-output)
75 (mh-exchange-point-and-mark-preserving-active-mark)
76 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
77 file mh-exec.el so that mh-init.el doesn't have to depend on
78 mh-utils.el, breaking circular dependency.
92 * mh-speed.el: Added debugging statements (commented out) around
93 requires to help find dependency loops. Will remove them when
96 2006-01-14 Bill Wohler <wohler@newt.com>
98 * mh-customize.el (mh-index): Rename group to mh-search and sort
99 group definition and options accordingly.
100 (mh-index-program): Rename to mh-search-program.
101 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
103 (mh-search-mode-hook): Change group from mh-index to mh-search.
104 (mh-index-folder): Rename to mh-search-folder. Change group from
105 mh-index to mh-search.
107 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
110 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
111 pick and grep are searchers too but aren't indexed.
112 (mh-index-execute-search-function): Rename to mh-search-function.
113 (mh-index-next-result-function): Rename to
114 mh-search-next-result-function.
115 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
116 (mh-search): Since redo-search-flag defaults to nil and is of
117 lesser importance, make it an optional argument and place it after
118 the folder and search-regexp arguments. Sync docstring with
120 (mh-search-mode-map): Autoload so that keys are shown in help even
121 before mh-search is loaded.
122 (mh-search-mode): Sync docstring with manual.
123 (mh-index-do-search): Rename argument indexer to searcher. Sync
124 docstring with manual.
125 (mh-pick-do-search): Sync docstring with manual.
126 (mh-index-p): Rename to mh-search-p.
127 (mh-indexer-choices): Rename to mh-search-choices.
128 (mh-index-choose): Rename to mh-search-choose. Rename argument
130 (mh-swish++-execute-search, mh-swish-execute-search)
131 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
132 read the results" from docstring since these functions don't.
133 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
135 (mh-index-generate-pretty-name): Prune -search from string so that
136 folder names for pick searches are the same as those of other
139 2006-01-13 Bill Wohler <wohler@newt.com>
141 * mh-acros.el (require): Added Satyaki's comment regarding what
142 needs to happen to remove this defadvice which caused a little
143 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
144 advices `require' incorrectly).
146 * mh-search.el (mh-index-next-result-function): Add format to
148 (mh-mairix-next-result): Use nil instead of () which doesn't stand
150 (mh-pick-execute-search): Operate across all folders if no folder
151 given and recurse folder(s).
152 (mh-pick-next-result): Handle new output.
154 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
155 (mh-children-p, mh-folder-list): New functions.
157 2006-01-12 Bill Wohler <wohler@newt.com>
159 * mh-search.el: New file containing contents of mh-index.el and
160 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
161 pick. Pick no longer sets the "search" sequence. Instead, it
162 brings up a folder view that we're accustomed to. (closes SF
164 (mh-index-search): Rename to mh-search.
165 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
166 the Search to Perform Search and call mh-do-search. Add Search
168 (mh-do-search): Delete.
169 (mh-search-mode): Rename from mh-pick-mode.
170 (MH-Search): Rename mode from MH-Pick.
171 (mh-search-mode-map): Rename from mh-pick-mode-map.
172 (mh-search-mode-help-messages): Rename from
173 mh-pick-mode-help-messages.
174 (mh-index-choose): Don't reuse the last value of mh-indexer; when
175 mh-pick-do-search sets it to 'pick, we don't necessarily want to
176 stay with that choice!
179 * mh-pick.el: Merge into mh-search.el and delete.
181 * mh-customize.el (mh-index-program): Change mh-index-search to
182 mh-search in docstring.
183 (mh-tool-bar-search-function): Change default from
184 mh-search-folder to mh-search. Remove mh-search-folder as choice
185 and rename mh-index-search choice to mh-search. Fix docstring.
186 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
187 mh-search-folder to mh-search in docstring.
189 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
190 Indexed Search to Search. Use mh-search instead of
192 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
193 from mh-show-search-folder to mh-search.
195 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
196 mh-search-folder no longer creates the search sequence.
198 * mh-utils.el (mh-show-search-folder): Delete.
199 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
200 Change s from mh-show-search-folder to mh-search.
201 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
202 Search to Search. Use mh-search instead of mh-index-search.
203 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
204 here from deleted mh-index.el.
206 2006-01-11 Bill Wohler <wohler@newt.com>
208 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
211 * mh-gnus.el: Require mh-acros.
212 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
214 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
215 url-hexify-string to remove special characters from filenames
216 (closes SF #1396499). Note that this invalidates the existing
217 names in your cache so you might as well remove
218 ~/Mail/.mhe-x-image-cache/* now.
219 (url-unreserved-chars, url-hexify-string): Define if not defined.
220 Copied from url-util.el in Emacs22 for Emacs 21.
222 * mh-buffers.el: New file. Contains constants and code from
223 mh-index.el and mh-utils.el.
233 * mh-seq.el: Require new file mh-buffers.el.
235 * mh-index.el: Require new file mh-buffers.el.
236 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
239 * mh-utils.el: Require new file mh-buffers.el.
240 (mh-temp-buffer, mh-temp-fetch-buffer)
241 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
242 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
243 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
244 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
246 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
247 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
249 2006-01-10 Bill Wohler <wohler@newt.com>
251 * mh-comp.el (mh-insert-letter): If you choose a different folder,
252 the cur message is used. Sync docstring with manual (closes SF
255 * mh-mime.el (mh-compose-forward): Use standard range argument
256 instead of messages. Use more powerful mh-read-range instead of
257 read-string. Sync docstring with manual (close SF #1205890).
259 * mh-index.el (mh-index-search): Checking mh-find-path-run is
261 (mh-index-next-folder): Don't back up a line when going backwards
262 since this skips the current folder heading if point is on the
263 first message after the folder heading (closes SF #1126188).
265 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
267 (mh-variants): Note variable isn't meant to be accessed directly;
268 use function mh-variants instead.
269 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
270 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
271 them. Updated to use mh-file-command-p which is more accurrate
272 than file-executable-p which returns t for directories.
273 (mh-file-command-p): Move here from mh-utils, since
274 mh-variant-*-info are the only functions to use it.
275 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
276 function mh-variants instead of variable. More robust.
277 (mh-find-path-run): Move here from mh-utils.el. Mention that
278 checking this variable is unnecessary.
279 (mh-find-path): Move here from mh-utils.el. With the advent of MH
280 variants and an mhparam command that doesn't work if there isn't
281 an MH profile, we can't get libdir for running install-mh. So
282 don't bother. If there's an issue with the environment, direct the
283 user to install MH and run install-mh (closes SF #835192). Don't
284 read ~/.mh_profile directly. Use mh-profile-component which uses
285 mhparam (closes SF #1016027).
287 * mh-utils.el (mh-get-profile-field): Rename to
288 mh-profile-component-value. Add colon to search removing
289 unnecessary addition of colon to field in mh-profile-component.
290 (mh-profile-component): Modify call to mh-profile-component-value
291 accordingly. Move next to mh-profile-component-value.
292 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
293 mh-init.el. It makes sense that code that is only run once per
294 session (more or less) is in mh-init.el rather than cluttering
296 (mh-no-install, mh-install): Delete.
298 * mh-customize.el (mh-folder-msg-number):
299 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
301 2006-01-09 Bill Wohler <wohler@newt.com>
303 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
304 patch from Satyaki from SF #1016027.
306 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
307 message, even if cur sequence is no longer present (closes SF
310 * mh-comp.el: Use ";; Shush compiler." comment consistently per
312 (mh-letter-mode): Derive from mail-mode and delete code copied
313 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
315 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
316 (mh-to-field-choices): For consistency with mail-mode, add "a" for
317 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
318 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
319 (mh-to-fcc): Move setting of folder argument to interactive
320 argument as is the norm.
321 (mh-letter-complete-function-alist): Add mail-reply-to.
322 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
323 Mail-Followup-To, Reply-To, From).
325 * mh-customize.el: Use ";; Forward definition." consistently.
326 Comment declaration to remind programmer to update forward
327 definition if default changes.
334 * mh-utils.el: Use ";; Shush compiler." comment consistently per
337 2006-01-08 Bill Wohler <wohler@newt.com>
339 Removed code that was marked as Emacs 20 compatible that was
340 easily found showing how important it is to document such
341 things (closes SF #1359240). Feel free to nuke any other Emacs 20
342 peculiarities that you find. Wrapped code for shushing compiler
343 with (eval-when-compile), sometimes moving the defvars closer to
344 where they were used.
346 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
347 instead of mh-replace-in-string as mh-replace-in-string was
348 replaced by a more appropriate defsubst in mh-xemacs.el.
350 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
352 (mh-file-is-vcard-p): Removed redundant test.
354 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
355 with eval-when-compile.
356 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
357 (mh-invisible-header-fields-default): Add forward definitions.
358 (mh-invisible-header-fields-default): Alphabetize.
360 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
362 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
364 (mh-colors-available-p): Just call display-color-cells. It's on
365 all supported Emacsen (and defaliased on XEmacs).
369 * mh-init.el: Wrap compiler-shushing defvars with
372 * mh-identity.el: Don't need (mh-require-cl).
374 * mh-index.el: Don't need to load executable any more.
376 * mh-mime.el: Wrap compiler-shushing defvars with
378 (mh-have-file-command): Initialize variable to 'undefined. Add
379 docstring. Update function of same name accordingly. Also don't
380 need to load executable any more.
381 (mh-mime-content-types): Delete.
382 (mh-minibuffer-read-type): Prompt user for type if
383 mh-file-mime-type returns application/octet-stream. Assume we have
385 (mh-mime-display): Update error message.
387 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
388 with eval-when-compile.
390 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
391 with eval-when-compile.
392 (mh-clean-msg-header): Don't set after-change-functions to nil.
393 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
396 2006-01-07 Bill Wohler <wohler@newt.com>
398 * mh-customize.el: Updated Faces documentation in header.
399 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
400 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
402 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
403 tags inserted by Gnus gnus-summary-mail-forward (closes SF
406 2006-01-03 Mark D. Baushke <mdb@gnu.org>
408 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
409 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
411 2006-01-03 Bill Wohler <wohler@newt.com>
413 * mh-alias.el (mh-alias-add-alias): Grand message and error string
414 unification. Use single sentence if possible by using semicolon.
415 Don't end message with punctuation. Don't need format with
416 message. Quote messages as in docstrings: use `' around symbols,
417 \" for option choices. Don't use quotes around %s.
419 * mh-comp.el (mh-complete-word): Ditto.
421 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
422 (mh-scan-format-file-check): Ditto.
424 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
425 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
426 (mh-msg-num-width-to-column): Ditto.
428 * mh-identity.el (mh-identity-field-handler): Ditto.
430 * mh-index.el (mh-mairix-execute-search)
431 (mh-swish-execute-search, mh-swish++-execute-search)
432 (mh-namazu-execute-search): Ditto.
434 * mh-init.el (mh-variant-set): Ditto.
436 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
437 (mh-secure-message, mh-mime-display): Ditto.
439 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
441 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
442 (mh-read-range, mh-thread-container-subject): Ditto.
444 * mh-utils.el (mh-x-image-scale-and-display)
445 (mh-prompt-for-folder, mh-handle-process-error)
446 (mh-list-to-string-1): Ditto.
448 * mh-comp.el (mh-reply): Use standard default notation in
449 prompts (closes SF #1275933).
451 * mh-mime.el (mh-mime-save-parts): Ditto.
453 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
455 * mh-customize.el (mh-folder-msg-number): Snow is actually
456 off-white on low color displays which turns to white when bold.
457 This is unreadable on white backgrounds. Use snow with min-colors
458 requirement. Use cyan on low-color displays.
460 * mh-init.el (mh-defface-compat): On low-color displays, delete
461 the high-color display rather than simply strip the min-colors
462 requirement since the existing algorithm shadowed the desired
463 display on low-color displays.
465 * mh-alias.el (mh-alias-add-alias): Remove leading * from
468 2006-01-02 Bill Wohler <wohler@newt.com>
470 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
471 docstring. Does this mean something in a defun?
473 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
476 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
477 so it reads better in docstring and manual. Sync docstring with
480 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
482 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
484 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
485 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
486 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
487 (mh-letter-complete-or-space, mh-letter-confirm-address)
488 (mh-letter-next-header-field-or-indent)
489 (mh-letter-previous-header-field): Ditto.
491 * mh-customize.el (mh-alias-completion-ignore-case-flag)
492 (mh-default-folder-for-message-function, mh-mml-method-default)
493 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
494 (mh-show-mode-hook) Ditto.
496 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
498 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
499 (mh-store-msg, mh-store-buffer): Ditto
501 * mh-index.el (mh-index-search, mh-index-do-search)
502 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
504 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
506 * mh-mime.el (mh-mh-compose-external-compressed-tar)
507 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
508 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
509 (mh-mml-secure-message-signencrypt): Ditto
511 * mh-pick.el (mh-search-folder): Ditto.
513 * mh-seq.el (mh-widen): Ditto.
515 * mh-utils.el (mh-show, mh-modify): Ditto.
517 2006-01-02 Mark D. Baushke <mdb@gnu.org>
519 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
521 2006-01-01 Bill Wohler <wohler@newt.com>
523 * mh-customize.el: Sync docstrings with manual for faces and sort
525 (mh-faces): Move below mh-hooks.
526 (mh-folder-faces, mh-index-faces, mh-letter-faces)
527 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
529 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
530 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
531 (mh-folder-body-face, mh-folder-cur-msg-face)
532 (mh-folder-cur-msg-number-face, mh-folder-date-face)
533 (mh-folder-followup-face, mh-folder-msg-number-face)
534 (mh-folder-deleted-face, mh-folder-refiled-face)
535 (mh-folder-subject-face, mh-folder-address-face)
536 (mh-folder-scan-format-face, mh-folder-to-face)
537 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
538 (mh-show-header-face, mh-show-pgg-good-face)
539 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
540 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
542 (mh-folder-cur-msg): Unused. Delete.
543 (mh-folder-address): Use defface; inherit from mh-folder-subject.
544 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
545 Inherit from mh-folder-msg-number.
546 (mh-folder-deleted): Use defface. Inherit from
547 mh-folder-msg-number.
548 (mh-folder-sent-to-me-hint): New face. Inherit from
550 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
551 Use defface. Inherit from mh-folder-followup.
552 (mh-show-xface): Inherit from mh-show-from and highlight.
553 (bw-face-generation, bw-toggle-faces)
554 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
555 variables, functions for toggling between old and new faces.
557 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
558 eval-when-compile. We should probably do this throughout.
559 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
560 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
561 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
562 (mh-scan-subject-regexp): Sync docstrings with manual
563 (mh-scan-format-regexp): Rename to
564 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
565 expression. Make expression more like the others (anchored at the
566 beginning of line). Sync docstrings with manual.
567 (mh-folder-font-lock-keywords): Use faces directly rather than
568 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
569 mh-scan-format-regexp, and within that expression, use faces
570 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
571 of mh-folder-date-face and mh-folder-scan-format-face which were
574 * mh-mime.el (mh-mime-security-button-face): Use faces directly
575 rather than -face variables.
577 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
578 rather than -face variables.
579 (mh-face-foreground-compat, mh-face-background-compat): New macros.
580 (mh-face-display-function): Use mh-face-foreground-compat and
581 mh-face-background-compat to use inherited attributes of
582 mh-show-xface on Emacs 22 while still working on Emacs 21.
584 2005-12-28 Bill Wohler <wohler@newt.com>
586 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
587 mh-user-agent-compose instead of mh-smail-batch.
589 2005-12-27 Bill Wohler <wohler@newt.com>
591 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
592 suppress creation of folder if it doesn't exist.
594 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
596 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
598 2005-12-23 Bill Wohler <wohler@newt.com>
600 * mh-e.el (mh-folders-changed): Fix typo in docstring.
602 Follow MH-E Developers Guide conventions. Use `' quotes for Help
603 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
604 everything else. Otherwise, you can accidently get links to
607 2005-12-22 Bill Wohler <wohler@newt.com>
609 Follow Emacs coding conventions. Use default setting of
610 emacs-lisp-docstring-fill-column which is 65.
612 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
614 * mh-comp.el (mh-letter-mode): Use 60 column width.
615 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
617 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
618 you have added a mail-citation-hook and neither are used if you
619 use one of the supercite flavors of mh-yank-behavior. Sync
620 docstrings with manual.
622 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
623 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
624 hook. Use "Hook run by `function'..." instead of "Invoked...".
625 Sync docstrings with manual.
626 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
627 mh-ins-buf-prefix isn't used if you have added a
628 mail-citation-hook and neither are used if you use one of the
629 supercite flavors of mh-yank-behavior. Sync docstrings with
631 (mail-citation-hook): Delete. Use one in sendmail.el.
632 (mh-signature-file-name, mh-after-commands-processed-hook)
633 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
634 (mh-before-quit-hook, mh-before-send-letter-hook)
635 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
636 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
637 (mh-letter-mode-hook)
638 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
639 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
640 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
641 of "Invoked...". Sync docstrings with manual.
643 * mh-e.el (mh-last-destination, mh-last-destination-folder)
644 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
645 (mh-delete-list, mh-refile-list, mh-folders-changed)
646 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
647 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
648 (mh-mode-line-annotation, mh-sequence-notation-history)
649 (mh-colors-available-flag): Move comment into docstring.
650 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
651 (mh-process-commands): Sync docstrings with manual.
652 (mh-refile-msg): Small doc edit.
653 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
654 Rename msg argument to message.
656 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
658 * mh-e.el (mh-update-unseen): No longer say "The value of
659 `foo-hook' is a list of functions to be called, with no arguments,
660 ...," but rather just "The hook foo-hook is called...".
662 * mh-mime.el (mh-mh-to-mime): Ditto.
664 * mh-pick.el (mh-pick-mode): Ditto.
666 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
668 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
670 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
673 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
675 * mh-customize.el (mh-after-commands-processed-hook): New
677 (mh-before-commands-processed-hook): Rename
678 mh-folder-updated-hook.
680 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
681 mh-before-commands-processed-hook, call new
682 mh-after-commands-processed-hook.
683 (mh-folders-changed): New variable (for use in
684 mh-after-commands-processed-hook).
686 2005-12-19 Bill Wohler <wohler@newt.com>
706 Follow commenting conventions. Don't use ;;; form so much, except
707 for headings. Precede headings with page feed. This was mostly
708 already done, so I made it a convention. Did not update copyright
709 on a couple of files since this was an insignificant change.
711 2005-12-18 Bill Wohler <wohler@newt.com>
713 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
714 (mh-tool-bar-search-function): Sync docstrings with manual.
715 (mh-tool-bar-customize): Replace toolbar with tool bar in
717 (mh-tool-bar-letter-help): Fix manual reference.
718 (mh-xemacs-use-toolbar-flag): Rename to
719 mh-xemacs-use-tool-bar-flag. Initialize to
720 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
721 (mh-xemacs-toolbar-position): Rename to
722 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
723 option (redundant) and change "Same As Default Tool Bar" setting
724 to nil. Sync docstrings with manual.
725 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
726 depending on context.
727 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
728 for calling set-specifier. Only look at the value of
729 mh-xemacs-use-tool-bar-flag.
730 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
731 docstrings with manual.
733 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
736 * mh-e.el (mh-folder-mode): Ditto.
738 * mh-utils.el (mh-show-mode): Ditto.
740 2005-12-15 Bill Wohler <wohler@newt.com>
742 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
744 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
745 (mh-thread-previous-sibling, mh-thread-ancestor)
746 (mh-thread-delete, mh-thread-refile): Ditto.
748 2005-12-14 Bill Wohler <wohler@newt.com>
750 * mh-customize.el (mh-speed-flists-interval): Rename to
751 mh-speed-update-interval.
752 (mh-speed-run-flists-flag): Delete. Setting
753 mh-speed-flists-interval to 0 accomplishes the same thing.
755 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
756 mh-speed-update-interval instead of mh-speed-run-flists-flag.
757 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
758 docstrings with manual.
760 2005-12-09 Bill Wohler <wohler@newt.com>
762 * mh-customize.el (mh-path): Move here from mh-init.el.
763 (mh-variant): Mention that mh-path can be customized.
764 (mh-invisible-header-fields-internal): Add X-ContentStamp,
765 X-MAIL-INFO, and X-UNTD- from NetZero.
767 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
769 2005-12-04 Bill Wohler <wohler@newt.com>
771 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
772 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
775 * mh-customize.el (mh-insert-signature-hook): Rename
776 mh-letter-insert-signature-hook to mh-insert-signature-hook.
778 * mh-comp.el (mh-insert-signature): Ditto.
780 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
781 to nil. Remove t option. Sync docstring with manual (closes SF
783 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
784 users can see it, look it up in the manual's index, and discover
785 mh-fetch-x-image-url (closes SF #831278).
787 * mh-customize.el (mh-new-messages-folders): Rename from
788 mh-index-new-messages-folders.
789 (mh-ticked-messages-folders): Rename from
790 mh-index-ticked-messages-folders.
792 * mh-index.el (mh-index-sequenced-messages)
793 (mh-index-new-messages): Ditto.
795 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
796 in the docstrings and made usage consistent. Generally speaking,
797 "messages in range" and "range of messages" is redundant and just
798 "range" can be used in most circumstances. Also ensured that
799 mh-interactive-range was mentioned in all interactive functions
800 that use a range which describes the range argument for both users
803 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
804 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
805 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
806 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
809 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
812 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
814 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
815 (mh-ps-print-msg-file, mh-print-msg): Ditto.
817 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
818 (mh-narrow-to-range, mh-toggle-tick): Ditto.
820 2005-12-01 Bill Wohler <wohler@newt.com>
822 Rewrote Reading Mail chapter in manual which affected mh-show
823 customization group and related functions.
825 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
826 instead of mh-highlight-citation-p.
827 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
828 I think, so use "truncated".
830 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
831 section is Folders, not Organizing. Parent of mh-folder-faces is
832 mh-folder, not mh-show.
833 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
834 (mh-thread): New group that corresponds with manual's Threading
836 (mh-letter-faces): Group's manual section is Editing Drafts, not
838 (mh-sortm-args): New customization variable that used to be a
840 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
841 Move from mh-index group to mh-folders group.
842 (mh-alias-local-users-prefix, mh-large-folder)
843 (mh-recursive-folders-flag, mh-before-quit-hook)
844 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
845 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
847 (mh-highlight-citation-style): Rename from
848 mh-highlight-citation-p. Sync docstrings with manual.
849 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
851 (mh-show-threads-flag): Move from mh-show group to mh-thread
853 (mh-find-path-hook): Move from mh-show group to mh-e group.
854 (mh-folder-updated-hook): Add to mh-folder group.
855 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
856 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
857 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
858 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
859 (mh-display-buttons-for-inline-parts-flag)
860 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
861 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
862 (mh-invisible-header-fields-default, mh-invisible-header-fields)
863 (mh-lpr-command-format, mh-max-inline-image-height)
864 (mh-max-inline-image-width)
865 (mh-mime-save-parts-default-directory, mh-print-background-flag)
866 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
867 (mh-show-use-xface-flag, mh-store-default-directory)
868 (mh-summary-height, mh-delete-msg-hook
869 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
872 (mh-scan-format-mh, mh-scan-good-msg-regexp)
873 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
874 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
875 non-fontification instead of non-fontifying.
876 (mh-header-display): Use mh-mhl-format-file instead of
877 mhl-formfile. Sync docstrings with manual.
878 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
879 count. Sync docstrings with manual.
880 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
881 so that message doesn't change when using this command. Sync
882 docstrings with manual.
883 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
884 docstrings with manual.
885 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
886 to no-header. Sync docstrings with manual.
887 (mh-ps-print-map): Delete keybindings for deleted commands
888 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
889 (mh-help-messages): Update printing help.
890 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
891 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
892 (mh-prev-button, mh-folder-toggle-mime-part)
893 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
894 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
897 * mh-funcs.el (mh-sortm-args): Now a customization option and in
899 (mh-pipe-msg): Rename include-headers to include-header. Sync
900 docstrings with manual.
901 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
902 (mh-store-msg): Sync docstrings with manual.
904 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
905 docstrings with manual.
906 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
907 Sync docstrings with manual.
908 (mh-mm-display-part, mh-mm-inline-message): Use
909 mh-highlight-citation-style instead of mh-highlight-citation-p.
910 (mh-press-button): Sync docstrings with manual.
911 (mh-display-with-external-viewer): Fix default output in
912 minibuffer. Sync docstrings with manual.
914 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
916 (mh-ps-print-color-option): Incorporate docstring from
918 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
920 (mh-ps-spool-msg): Slimline docstring. Rename from
921 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
923 (mh-ps-print-range): Extract method from common code in
924 mh-ps-print-msg and mh-ps-print-msg-file.
925 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
926 (mh-ps-print-msg-show): Delete. Can use either
927 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
928 new code in mh-ps-spool-msg.
929 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
930 Sync docstrings with manual.
931 (mh-ps-print-msg, mh-ps-print-msg-file)
932 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
933 docstrings with manual.
935 * mh-utils.el (mh-show-ps-print-msg-show)
936 mh-show-ps-print-toggle-mime): Delete.
937 (mh-show-ps-print-map): Update accordingly.
938 (mh-show-mode): Use mh-highlight-citation-style instead of
939 mh-highlight-citation-p.
940 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
942 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
943 docstrings with manual.
944 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
945 docstrings with manual.
947 2005-12-01 Bill Wohler <wohler@newt.com>
949 * mh-init.el (mh-defface-compat): Checkdoc fix.
951 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
952 Bogofilter is lowercase except at beginning of sentence and in
955 2005-11-04 Bill Wohler <wohler@newt.com>
957 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
958 Move to mh-init.el to minimize bulk of mh-customize.el.
960 * mh-init.el: Modify commentary since file is used for load and
961 initialization as well as setting and getting the variant.
962 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
965 * mh-customize.el: Refactor faces. Move grayscale requirements
966 last before t. Use uniform line breaks.
967 (mh-min-colors-defined-flag): New variable.
968 (mh-defface-compat): New function. Provides backward compatibility
970 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
971 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
972 (mh-folder-body): Use mh-defface-compat.
974 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
976 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
977 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
978 (mh-folder-to-face): Use the min-colors attribute instead of the
981 2005-11-03 Bill Wohler <wohler@newt.com>
983 * mh-customize.el (mh-refile-preserves-sequences-flag)
984 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
985 docstrings with manual.
987 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
989 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
990 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
993 2005-11-01 Bill Wohler <wohler@newt.com>
995 * mh-comp.el (mh-redist-full-contents) Convert defvar to
997 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
998 (mh-reply, mh-send, mh-send-other-window)
999 (mh-fill-paragraph-function): Sync docstrings with manual.
1000 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
1001 msg argument to message (to make for a better docstring).
1003 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
1004 to defcustom. Rename by adding -flag.
1005 (mh-compose-forward-as-mime-flag)
1006 (mh-compose-letter-function, mh-forward-subject-format)
1007 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
1008 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
1011 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
1012 (mh-ps-print-msg): Remove debugging messages.
1013 (mh-ps-print-msg-show, mh-ps-print-msg-show)
1014 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
1015 after message per conventions.
1017 2005-10-30 Bill Wohler <wohler@newt.com>
1019 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1020 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
1021 docstrings with manual.
1023 * mh-customize.el (mh-compose-space-does-completion-flag)
1024 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
1025 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
1026 means" to remain checkdoc clean and consistent with Emacs. I
1027 raised this issue with the Emacs developers and Stallman agrees
1028 that "On means" should be allowed in custom docstrings but that
1029 this change requires thought and should wait until after the Emacs
1032 2005-10-28 Bill Wohler <wohler@newt.com>
1034 * mh-comp.el (mh-annotate-msg): Use new variable
1035 mh-scan-field-destination-offset rather than hard-coding 1.
1037 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
1039 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
1040 functions to check input for mh-adaptive-cmd-note-flag and
1041 mh-scan-format-file respectively.
1042 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
1045 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
1046 destination is the -, t, b, c, or n character for Replied, To, cc,
1047 Bcc, or Newsgroups respectively.
1048 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
1049 Call new function mh-msg-num-width-to-column to make leap between
1050 width and column more explicit.
1051 (mh-msg-num-width-to-column): New function that steals logic from
1052 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
1053 isn't t since we can't adapt the scan lines in this case.
1054 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
1055 make the documentation more clear.
1056 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
1057 column, not a width.
1058 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
1059 variable mh-scan-field-destination-offset rather than hard-coding
1062 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
1063 (mh-notate): Use new variable mh-scan-field-destination-offset
1064 rather than hard-coding 1.
1065 (mh-message-number-width): Rename to mh-msg-num-width to be
1066 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
1068 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
1069 (mail-citation-hook): Quote URLs in docstrings and precede with
1070 `URL'. The former will suppress checkdoc warnings, the latter will
1071 turn them into hyperlinks in Emacs 22 (I just added the code to do
1073 (mh-scan-format-file): Checkdoc fix.
1075 2005-10-27 Bill Wohler <wohler@newt.com>
1077 * mh-customize.el (mh-adaptive-cmd-note-flag)
1078 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
1080 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
1081 (mh-note-cur, mh-scan-good-msg-regexp)
1082 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1083 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1084 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1085 (mh-scan-subject-regexp, mh-scan-format-regexp)
1086 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
1089 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
1091 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
1092 of hard-coded string.
1093 (mh-mail-header-separator, mh-signature-separator-regexp): Use
1094 "regular expression" in docstring instead of regexp.
1095 (mh-scan-msg-number-regexp)
1096 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
1097 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
1098 (mh-cmd-note): Sync docstrings with manual.
1100 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
1103 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
1105 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
1106 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1107 (mh-mml-secure-message-signencrypt): Ditto.
1109 2005-10-24 Bill Wohler <wohler@newt.com>
1111 * mh-gnus.el: Load mml.el in order to see if
1112 mml-minibuffer-read-disposition is defined or not.
1114 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
1117 2005-10-23 Miles Bader <miles@gnu.org>
1119 * .arch-inventory: New file.
1121 2005-10-23 Bill Wohler <wohler@newt.com>
1123 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
1124 docstring with manual.
1126 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
1127 mh-alias.el and move to mh-acros.el
1129 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
1130 mh-identity.el and move to mh-acros.el
1132 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
1133 mh-identity.el and mh-alias.el.
1135 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
1136 warning in Emacs 22.
1138 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
1140 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
1141 assoc-string (if the function is available) and falls back on
1142 assoc-ignore-case if assoc-string is not found.
1143 (mh-identity-field-handler): Use mh-assoc-ignore-case since
1144 assoc-ignore-case is a obsolete function in Emacs 22.
1146 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
1147 track of whether the tool-bar in mh-folder-mode has been
1149 (mh-folder-mode): Initialize the tool-bar for folders the first
1150 time we get into mh-letter-mode.
1152 * mh-customize.el (mh-buffer-exists-p): New function which tests
1153 presence of buffers of a given mode.
1154 (mh-tool-bar-define): New functions
1155 mh-tool-bar-folder-buttons-init and
1156 mh-tool-bar-letter-buttons-init are defined. These functions are
1157 used to create the tool-bar from the corresponding customizable
1160 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
1161 keeps track of whether the tool-bar in mh-letter-mode has been
1163 (mh-letter-mode): Initialize the tool-bar for drafts the first
1164 time we get into mh-letter-mode.
1166 2005-10-23 Bill Wohler <wohler@newt.com>
1168 * mh-comp.el (mh-letter-menu): Rename
1169 mh-mhn-compose-external-compressed-tar to
1170 mh-mh-compose-external-compressed-tar. Rename
1171 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
1172 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
1173 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
1174 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
1175 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
1177 (mh-insert-signature): Rename mh-mhn-directive-present-p to
1178 mh-mh-directive-present-p.
1179 (mh-send-letter): Rename mh-mhn-directive-present-p to
1180 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
1181 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
1182 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
1183 mh-mhn-compose-external-compressed-tar to
1184 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
1185 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
1186 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
1187 mh-mh-compose-anon-ftp. Rename
1188 mh-mhn-compose-external-compressed-tar to
1189 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
1190 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
1191 mh-mh-compose-external-type.
1192 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
1193 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
1194 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
1195 mh-yank-from-start-of-msg to mh-yank-behavior.
1196 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
1197 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
1198 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
1199 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1200 (mh-letter-complete-or-space, mh-letter-confirm-address)
1201 (mh-letter-next-header-field-or-indent)
1202 (mh-letter-previous-header-field)
1203 (mh-letter-toggle-header-field-display): Sync docstrings with
1206 * mh-customize.el (mh-edit-mhn-hook): Rename to
1208 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
1209 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
1210 and user-visible values from mhn and Gnus to MH and MML.
1211 (mh-before-send-letter-hook): Add 'ispell-message option.
1212 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
1213 mh-pgp-support-flag.
1214 (mh-compose-insertion, mh-compose-space-does-completion-flag)
1215 (mh-delete-yanked-msg-window-flag)
1216 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1217 (mh-letter-complete-function, mh-letter-fill-column)
1218 (mh-mml-method-default, mh-signature-file-name)
1219 (mh-signature-separator-flag, mh-x-face-file)
1220 (mh-yank-behavior, mail-citation-hook)
1221 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
1224 * mh-gnus.el (mml-minibuffer-read-disposition): New function
1225 provided for Emacs 21 environments that lack it.
1227 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
1229 (mh-compose-forward): mh-mh-forward-message requires string arg.
1230 (mh-minibuffer-read-type): New function.
1231 (mh-mhn-args): Rename to mh-mh-to-mime-args.
1232 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
1233 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
1234 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
1235 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
1236 Rename mh-mhn-compose-external-type to
1237 mh-mh-compose-external-type.
1238 (mh-mhn-compose-external-compressed-tar): Rename to
1239 mh-mh-compose-external-compressed-tar. Rename
1240 mh-mhn-compose-external-type to mh-mh-compose-external-type.
1241 (mh-mhn-compose-external-type): Rename to
1242 mh-mh-compose-external-type.
1243 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
1244 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
1245 Use correct program in message.
1246 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
1247 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
1248 (mh-compose-forward, mh-mh-attach-file)
1249 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
1250 (mh-mh-compose-external-type, mh-mh-forward-message)
1251 (mh-mml-attach-file): Use mml-minibuffer-read-description,
1252 mh-minibuffer-read-type.
1253 (mh-mime-content-types): Move comment about only being used in
1254 Emacs 20 to docstring.
1255 (mh-mh-compose-external-type): Rename extra-param argument to
1257 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
1258 (mh-mime-display-part, mh-mime-display-single): Rename
1259 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
1260 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
1262 (mh-compose-forward): Rename mh-mhn-compose-forw to
1263 mh-mh-forward-message.
1264 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
1266 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
1267 (mh-mh-attach-file, mh-mh-compose-type)
1268 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
1269 (mh-mh-compose-external-compressed-tar)
1270 (mh-mh-compose-external-type, mh-mh-forward-message)
1271 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
1272 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
1273 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
1274 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1275 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
1276 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
1277 Sync docstrings with manual.
1279 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
1280 mh-pgp-support-flag.
1282 2005-10-17 Peter S Galbraith <psg@debian.org>
1284 * mh-identity.el (mh-identity-field-handler): Use
1285 `assoc-ignore-case' to compare against header field for mixed-case
1288 2005-10-17 Bill Wohler <wohler@newt.com>
1290 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
1291 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
1292 to mail/compose, fld_open to fld-open.
1293 (mh-letter-tool-bar-map): Rename image file mail_send to
1296 2005-10-16 Bill Wohler <wohler@newt.com>
1298 * mh-comp.el (mh-display-completion-list-compat): New macro which
1299 calls `display-completion-list' correctly in older environments.
1300 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
1302 (mh-complete-word): Use it.
1304 * mh-init.el (mh-image-load-path): Use locate-library to find
1305 MH-E. This simplified the code a lot. Flattened out nested
1306 statements even more.
1308 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
1310 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
1311 causes a compiler warning.
1313 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
1314 the message to be viewed (closes SF #1306141).
1316 2005-10-16 Masatake YAMATO <jet@gyve.org>
1318 * mh-comp.el (mh-complete-word): Pass the common prefix substring
1319 of completion to `display-completion-list'.
1321 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
1323 * mh-init.el (mh-image-load-path-called-flag): New variable which
1324 is used by mh-image-load-path so that it runs only once.
1325 (mh-image-load-path): Modify so that it gets run only once. Also
1326 flatten out heavily nested if statements to make it clearer.
1328 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
1329 to find images used in the toolbar.
1331 * mh-customize.el (:folder): Remove call to mh-image-load-path.
1333 2005-10-14 Bill Wohler <wohler@newt.com>
1335 * mh-e.el (Version, mh-version): Add +cvs to version.
1337 2005-10-14 Bill Wohler <wohler@newt.com>
1339 Released MH-E version 7.85.
1341 * mh-e.el (Version, mh-version): Update for release 7.85.
1343 2005-10-14 Bill Wohler <wohler@newt.com>
1345 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
1346 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
1347 need to be indented.
1349 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
1350 but the code that invoked the face had not been updated. Tick
1351 highlighting working again.
1353 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
1354 make-variable-buffer-local call to top level to avoid warnings in
1357 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
1360 2005-10-09 Bill Wohler <wohler@newt.com>
1362 * mh-init.el (mh-image-load-path): New function that adds the path
1363 to the MH-E images to the image-load-path or load-path depending
1364 on the version of Emacs.
1366 * mh-customize.el: Call mh-image-load-path just before
1367 mh-tool-bar-define so that the toolbar images can be found.
1369 2005-10-04 Bill Wohler <wohler@newt.com>
1371 * ChangeLog: Move contents into ChangeLog.1 and trim.
1373 * ChangeLog.1: New file. Contains old ChangeLog.
1376 Copyright (C) 2005 Free Software Foundation, Inc.
1378 Copying and distribution of this file, with or without modification,
1379 are permitted in any medium without royalty provided the copyright
1380 notice and this notice are preserved.
1383 ;; sentence-end-double-space: nil
1386 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51