1 2006-03-03 Bill Wohler <wohler@newt.com>
3 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
4 mh-image-load-path-for-library.
6 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
7 mh-image-load-path-for-library.
9 * mh-utils.el (mh-image-load-path): Rename to
10 mh-image-load-path-for-library. Add example to docstring. Rename
11 local variable mh-image-directory to image-directory. Move error
12 checks to default case in cond and simplify.
14 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
15 docstrings with manual.
17 2006-03-02 Bill Wohler <wohler@newt.com>
19 * mh-folder.el (mh-tool-bar-init): Autoload.
20 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
21 Set scoped variables image-load-path and load-path with updated
22 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
24 * mh-letter.el (mh-tool-bar-init): Autoload.
25 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
26 Set scoped variables image-load-path and load-path with updated
27 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
29 * mh-show.el (mh-tool-bar-init): Autoload.
30 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
33 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
34 messages per conventions.
35 (mh-tool-bar-folder-buttons-init)
36 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
37 (mh-tool-bar-define call): Format.
39 * mh-utils.el (mh-image-directory,
40 mh-image-load-path-called-flag): Delete.
41 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
42 changes are that it no longer uses/sets mh-image-directory or
43 mh-image-load-path-called-flag, and returns the updated path
44 rather than change it.
45 (mh-logo-display): Change usage of mh-image-load-path.
47 2006-02-28 Bill Wohler <wohler@newt.com>
49 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
50 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
51 to subjects with special characters by quoting regular expression
52 characters in pick expression derived from existing subjects and
53 other fields (closes SF #1432548).
54 (mh-narrow-to-subject): Remove Re: string from subject so that
55 pick can find originating message (closes SF #1438369).
57 * mh-utils.el (mh-image-load-path): Rename variable to
59 (mh-image-load-path): Access mh-image-directory instead of
61 (mh-folder-list): Fix problem with passing in a folder and getting
62 nothing back. Fix problem with passing in empty string and getting
63 the entire filesystem (or infinite loop). Don't append slash to
64 folder. These fixes fix problems observed with the pick search.
65 Thanks to Thomas Baumann for the help (closes SF #1435381).
66 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
67 function for quoting pick regular expression characters (closes SF
70 2006-02-27 Bill Wohler <wohler@newt.com>
72 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
75 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
76 docstring about obsolete variable mh-mime-content-types.
78 * mh-e.el (mh-variant): Sync docstring with manual.
79 (cus-face): Require as it is needed by mh-inherit-face-flag.
81 * mh-compat.el (mh-display-color-cells): Return 2 if
82 device-color-cells returns nil (closes SF #1436924).
84 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
85 mh-display-color-cells.
87 2006-02-21 Eric Ding <ericding@alum.mit.edu>
89 * mh-e.el (mh-invisible-header-fields-internal): Add entry
92 2006-02-20 Eric Ding <ericding@alum.mit.edu>
94 * mh-e.el (mh-invisible-header-fields-internal): Add entries
95 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
96 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
97 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
98 "X-Roving-" by removing unnecessary "*" at end.
100 2006-02-19 Bill Wohler <wohler@newt.com>
102 * mh-alias.el (mh-address-mail-regexp)
103 (mh-goto-address-find-address-at-point): Delete copies from
105 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
106 mh-address-mail-regexp.
107 (mh-alias-add-address-under-point): Use
108 goto-address-find-address-at-point instead of
109 mh-goto-address-find-address-at-point.
111 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
113 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
115 (mh-show-addr): Call goto-address unconditionally. User should use
116 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
118 2006-02-18 Bill Wohler <wohler@newt.com>
120 * mh-e.el (Version, mh-version): Add +cvs to version.
122 2006-02-18 Bill Wohler <wohler@newt.com>
124 Release MH-E version 7.92.
126 * mh-e.el (Version, mh-version): Update for release 7.92.
128 2006-02-17 Bill Wohler <wohler@newt.com>
130 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
131 backgrounds per Mark's suggestion.
133 * mh-utils.el (mh-image-load-path): Fix problem that images on
134 load-path or image-load-path would win over relative paths (newer
135 MH-E or Emacs distribution).
137 2006-02-16 Bill Wohler <wohler@newt.com>
139 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
140 the defface :inherit keyword is available.
141 (mh-face-data): New variable (contains all face specs) and
143 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
144 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
145 (mh-folder-msg-number, mh-folder-refiled)
146 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
147 (mh-folder-subject, mh-folder-tick, mh-folder-to)
148 (mh-search-folder, mh-letter-header-field, mh-show-cc)
149 (mh-show-date, mh-show-from)
150 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
151 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
152 (mh-show-to, mh-show-xface, mh-speedbar-folder)
153 (mh-speedbar-folder-with-unseen-messages)
154 (mh-speedbar-selected-folder)
155 (mh-speedbar-selected-folder-with-unseen-messages): Use
158 * mh-utils.el (mh-image-load-path): The variables image-load-path
159 or load-path would not get updated if user set mh-image-load-path.
160 Moved tests and add-to-list calls outside of cond so they are
161 applied consistently, even if they are redundant in some
162 circumstances. Efficiency isn't a concern here. Made error
163 messages more user-friendly.
165 2006-02-15 Peter S Galbraith <psg@debian.org>
167 * mh-compat.el (mh-image-search-load-path): Compatibility code.
168 Emacs 21 and XEmacs don't have `image-search-load-path'.
170 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
171 images are already found.
173 2006-02-10 Bill Wohler <wohler@newt.com>
175 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
176 rather than use defun*. XEmacs cannot create a proper autoload for
179 2006-02-09 Bill Wohler <wohler@newt.com>
181 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
182 that causes an infinite loop on XEmacs.
184 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
187 2006-02-08 Peter S Galbraith <psg@debian.org>
189 * mh-e.el (mh-invisible-header-fields-internal): Added entries
190 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
192 2006-02-04 Bill Wohler <wohler@newt.com>
194 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
195 has an emacsclient command that supports --eval. I had read that
196 gnudoit was deprecated in favor of gnuclient anyway.
198 2006-02-04 Eric Ding <ericding@alum.mit.edu>
200 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
201 handle OpenOffice documents.
203 2006-02-03 Bill Wohler <wohler@newt.com>
205 * mh-e.el (Version, mh-version): Add +cvs to version.
207 2006-02-03 Bill Wohler <wohler@newt.com>
209 Release MH-E version 7.91.
211 * mh-e.el (Version, mh-version): Update for release 7.91.
213 2006-02-03 Bill Wohler <wohler@newt.com>
215 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
216 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
217 of local variable mh-library-name.
219 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
220 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
221 88) with (min-colors 64) in face specifications so that MH-E still
222 looks good on systems with fewer colors (such as Eric Ding's).
224 2006-02-03 Peter S Galbraith <psg@debian.org>
226 * mh-utils.el (mh-image-load-path): New variable to optionally
227 hold the directory where MH-E images are stored. If nil, then
228 the function `mh-image-load-path' will find it. This variable
229 will be used for Debian packaging.
230 (mh-image-load-path function): Use variable `mh-image-load-path'
231 if non-nil and exists.
233 2006-02-03 Mark D. Baushke <mdb@gnu.org>
235 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
236 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
237 errors if describe-bindings is called before tool-bar-mode is used.
239 2006-02-03 Peter S Galbraith <psg@debian.org>
241 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
242 `mh-url-unresrved-chars'.
244 2006-02-02 Bill Wohler <wohler@newt.com>
246 * mh-e.el (Version, mh-version): Add +cvs to version.
248 2006-02-02 Bill Wohler <wohler@newt.com>
250 Release MH-E version 7.90.
252 * mh-e.el (Version, mh-version): Update for release 7.90.
254 2006-02-01 Bill Wohler <wohler@newt.com>
256 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
258 * mh-alias.el (mh-alias-gecos-name): Use
259 mh-replace-regexp-in-string instead of replace-regexp-in-string.
260 (crm, multi-prompt): Use mh-require instead of require.
261 (mh-goto-address-find-address-at-point): Use
262 mh-line-beginning-position and mh-line-end-position instead of
263 line-beginning-position and line-end-position. Use
264 mh-match-string-no-properties instead of
265 match-string-no-properties.
267 * mh-comp.el (mh-modify-header-field): Use
268 mh-line-beginning-position and mh-line-end-position instead of
269 line-beginning-position and line-end-position.
271 * mh-compat.el (mailabbrev): Use mh-require instead of require.
272 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
273 (mh-face-background): Make docstring consistent.
274 (mh-require, mh-cancel-timer, mh-display-color-cells)
275 (mh-line-beginning-position, mh-line-end-position)
276 (mh-match-string-no-properties, mh-replace-regexp-in-string)
277 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
278 add mh- prefix since compatibility functions should have our
279 package prefix (mh-) by Emacs convention and to avoid messing up
280 checks for the same functions in other packages.
282 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
283 from mh-xemacs.el and rename.
284 (mh-xargs): Use mh-line-beginning-position and
285 mh-line-end-position instead of line-beginning-position and
287 (mh-defface-compat): Use mh-display-color-cells instead of
290 * mh-folder.el (which-func): Use mh-require instead of require.
292 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
295 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
296 mh-require instead of require.
298 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
299 (mh-letter-next-header-field): Use mh-line-beginning-position and
300 mh-line-end-position instead of line-beginning-position and
303 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
304 mh-match-string-no-properties instead of
305 match-string-no-properties.
306 (mh-narrow-to-header-field): Use mh-line-beginning-position and
307 mh-line-end-position instead of line-beginning-position and
310 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
311 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
312 mh-line-beginning-position and mh-line-end-position instead of
313 line-beginning-position and line-end-position.
315 * mh-search.el (which-func): Use mh-require instead of require.
316 (mh-make-pick-template, mh-index-visit-folder)
317 (mh-pick-parse-search-buffer, mh-swish-next-result)
318 (mh-mairix-next-result, mh-namazu-next-result)
319 (mh-pick-next-result, mh-grep-next-result)
320 (mh-index-create-imenu-index, mh-index-match-checksum)
321 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
322 mh-line-beginning-position and mh-line-end-position instead of
323 line-beginning-position and line-end-position.
325 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
327 (mh-folder-size-flist, mh-parse-flist-output-line)
328 (mh-add-sequence-notation): Use mh-line-beginning-position and
329 mh-line-end-position instead of line-beginning-position and
332 * mh-show.el (mh-show-addr): Use mh-require instead of require.
334 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
335 (mh-speed-view, mh-folder-speedbar-buttons)
336 (mh-speed-highlight, mh-speed-goto-folder)
337 (mh-speed-add-buttons, mh-speed-parse-flists-output)
338 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
339 (mh-speed-add-folder): Use mh-line-beginning-position and
340 mh-line-end-position instead of line-beginning-position and
342 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
344 * mh-thread.el (mh-thread-find-children)
345 (mh-thread-parse-scan-line, mh-thread-generate): Use
346 mh-line-beginning-position and mh-line-end-position instead of
347 line-beginning-position and line-end-position.
349 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
350 instead of display-color-cells.
351 (mh-folder-list): Use mh-replace-regexp-in-string instead of
352 replace-regexp-in-string.
353 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
354 Use mh-line-beginning-position and mh-line-end-position instead of
355 line-beginning-position and line-end-position.
357 * mh-comp.el (mh-send-sub): Don't find components file in current
358 directory--this seems to have been a side-effect of commenting out
359 the use of an old mh-etc variable. Improve error message.
361 2006-01-31 Bill Wohler <wohler@newt.com>
363 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
364 argument since compatibility functions should have our package
365 prefix (mh-) by Emacs convention and to avoid messing up checks
366 for the same functions in other packages. Use explicit argument
367 instead of forming name by adding mh- prefix so that one can grep
368 and find the definition.
370 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
371 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
372 mh-assoc-string instead of assoc-string.
374 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
375 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
376 here from mh-utils.el.
377 (mh-display-completion-list): Move here from mh-comp.el.
378 (mh-face-foreground, mh-face-background): Move here from
380 (mh-write-file-functions): Move here from mh-folder.el
382 * mh-folder.el (mh-write-file-functions-compat): Move to
383 mh-compat.el and rename to mh-write-file-functions.
384 (mh-folder-mode): Use the new name.
386 * mh-gnus.el (gnus-local-map-property): Rename to
387 mh-gnus-local-map-property.
388 (mm-merge-handles): Rename to mh-mm-merge-handles.
389 (mm-set-handle-multipart-parameter): Rename to
390 mh-mm-set-handle-multipart-parameter.
391 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
392 (mm-possibly-verify-or-decrypt): Rename to
393 mh-mm-possibly-verify-or-decrypt.
394 (mm-handle-multipart-ctl-parameter): Rename to
395 mh-mm-handle-multipart-ctl-parameter.
396 (mm-readable-p): Rename to mh-mm-readable-p.
397 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
398 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
399 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
400 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
401 (mml-minibuffer-read-disposition): Rename to
402 mh-mml-minibuffer-read-disposition.
404 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
405 instead of assoc-string.
407 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
408 (mh-mime-display, mh-mime-display-security)
409 (mh-insert-mime-button, mh-insert-mime-security-button)
410 (mh-handle-set-external-undisplayer)
411 (mh-mime-security-press-button, mh-mime-security-show-details)
412 (mh-mml-attach-file, mh-mime-cleanup)
413 (mh-destroy-postponed-handles): Use new mh-* names for
414 compatibility functions.
416 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
417 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
418 (mh-beginning-of-word): Use the new name.
419 (mh-get-field): Delete ancient alias.
421 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
422 and rename to mh-face-foreground
423 (mh-face-background-compat): Move to mh-compat.el
424 and rename to mh-face-background.
425 (mh-face-display-function): Use the new names.
426 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
427 instead of url-hexify-string.
428 (url-unreserved-chars): Move to mh-compat.el and rename to
429 mh-url-unreserved-chars.
430 (url-hexify-string): Move to mh-compat.el and rename to
431 mh-url-hexify-string.
433 * mh-letter.el (mh-complete-word): Fix bug in call to
434 mh-display-completion-list. Wrong argument was passed, so
435 completions wouldn't show highlighted prefix.
437 2006-01-29 Bill Wohler <wohler@newt.com>
439 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
440 mh-adaptive-cmd-note-flag.
442 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
443 docstring. sc-cite-original is autoloaded via loaddefs.el for all
444 supported versions. In addition, the package name "sc" has been
445 made obsolete by "supercite since at least Emacs 21.
447 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
448 revealed character constants that were still strings (closes SF
451 * mh-comp.el (mh-letter-hide-all-skipped-fields)
452 (mh-get-header-field): Move to mh-utils.el so that you can read
453 messages without having to load mh-comp.el and mh-letter.el.
455 * mh-letter.el (mh-hidden-header-keymap)
456 (mh-letter-toggle-header-field-display)
457 (mh-letter-skipped-header-field-p)
458 (mh-letter-skip-leading-whitespace-in-header-field)
459 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
460 can read messages without having to load mh-comp.el and
463 * mh-utils.el (mh-get-header-field)
464 (mh-letter-hide-all-skipped-fields)
465 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
466 (mh-letter-toggle-header-field-display)
467 (mh-letter-skip-leading-whitespace-in-header-field)
468 (mh-letter-truncate-header-field): Move here from mh-comp.el and
469 mh-letter.el so that you can read messages without having to load
470 mh-comp.el and mh-letter.el.
472 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
473 least, will deliver them to us.
475 * mh-e.el (mh-after-commands-processed-hook)
476 (mh-before-commands-processed-hook): Specify what sort of requests
479 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
482 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
484 (mh-letter-mode): Remove Mail menu.
486 2006-01-29 Bill Wohler <wohler@newt.com>
489 Remove circular dependencies. mh-e.el now includes few require
490 statements and stands alone. Other files should need to require
491 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
493 Remove unneeded require statements.
494 Remove unneeded load statements, or replace them with non-fatal
496 Break out components into their own files that were often spread
498 As a result, many functions that are now only used within a single
499 file no longer need to be autoloaded.
500 Rearrange and provide consistent headings.
503 * mh-acros.el: Update commentary to reflect current usage. Add
504 autoload cookies to all macros.
505 (mh-require-cl): Merge docstring and comment.
506 (mh-do-in-xemacs): Fix typo in docstring.
507 (assoc-string): Move to new file mh-compat.el.
508 (with-mh-folder-updating, mh-in-show-buffer)
509 (mh-do-at-event-location, mh-seq-msgs): Move here from
511 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
514 * mh-alias.el (mh-address-mail-regexp)
515 (mh-goto-address-find-address-at-point): Move here from
517 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
519 * mh-buffers.el: Update descriptive text.
521 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
523 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
524 (mh-letter-menu, mh-letter-mode-help-messages)
525 (mh-letter-buttons-init-flag, mh-letter-mode)
526 (mh-font-lock-field-data, mh-letter-header-end)
527 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
528 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
529 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
530 (mh-filter-out-non-text, mh-insert-prefix-string)
531 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
532 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
533 (mh-letter-complete, mh-letter-complete-or-space)
534 (mh-letter-confirm-address, mh-letter-header-field-at-point)
535 (mh-letter-next-header-field-or-indent)
536 (mh-letter-next-header-field, mh-letter-previous-header-field)
537 (mh-letter-skipped-header-field-p)
538 (mh-letter-skip-leading-whitespace-in-header-field)
539 (mh-hidden-header-keymap)
540 (mh-letter-toggle-header-field-display-button)
541 (mh-letter-toggle-header-field-display)
542 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
544 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
545 (mh-pgp-support-flag, mh-x-mailer-string)
546 (mh-letter-header-field-regexp): Move to mh-e.el.
547 (mh-goto-header-field, mh-goto-header-end)
548 (mh-extract-from-header-value, mh-beginning-of-word): Move to
550 (mh-insert-header-separator): Move to mh-comp.el.
551 (mh-display-completion-list-compat): Move to new file
554 * mh-compat.el: New file.
555 (assoc-string): Move here from mh-acros.el.
556 (mh-display-completion-list): Move here from mh-comp.el.
558 * mh-customize.el: Move content into mh-e.el and remove.
560 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
561 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
562 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
563 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
564 declared here so that they can be used in docstrings.
565 (mh-sent-from-folder, mh-sent-from-msg)
566 (mh-letter-header-field-regexp, mh-pgp-support-flag)
567 (mh-x-mailer-string): Move here from mh-comp.el.
568 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
569 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
571 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
572 (mh-previous-window-config, mh-seen-list, mh-seq-list)
573 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
574 (mh-show-folder-buffer, mh-mail-header-separator)
575 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
576 (mh-signature-separator, mh-signature-separator-regexp)
577 (mh-list-to-string, mh-list-to-string-1): Move here from
579 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
580 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
581 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
583 (mh-exchange-point-and-mark-preserving-active-mark)
584 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
585 deprecated file mh-exec.el.
586 (mh-path): Move here from deprecated file mh-customize.el.
587 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
588 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
589 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
590 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
591 (mh-profile-component-value, mh-defface-compat): Move here from
592 deprecated file mh-init.el.
593 (mh-goto-next-button, mh-folder-mime-action)
594 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
595 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
597 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
598 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
599 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
600 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
601 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
602 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
603 (mh-scan-cmd-note-width, mh-scan-destination-width)
604 (mh-scan-date-width, mh-scan-date-flag-width)
605 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
606 (mh-scan-field-destination-offset)
607 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
608 (mh-scan-field-subject-start-offset, mh-scan-format)
609 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
611 (mh-partial-folder-mode-line-annotation)
612 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
613 (mh-generate-sequence-font-lock, mh-last-destination)
614 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
615 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
616 (mh-execute-commands, mh-first-msg, mh-header-display)
617 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
618 (mh-folder-from-address, mh-prompt-for-refile-folder)
619 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
620 (mh-previous-page, mh-previous-undeleted-msg)
621 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
622 (mh-reset-threads-and-narrowing, mh-rescan-folder)
623 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
624 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
625 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
626 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
627 (mh-folder-sequence-menu, mh-folder-message-menu)
628 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
629 (mh-write-file-functions-compat, mh-folder-mode)
630 (mh-restore-desktop-buffer, mh-scan-folder)
631 (mh-regenerate-headers, mh-generate-new-cmd-note)
632 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
633 (mh-process-or-undo-commands, mh-process-commands)
634 (mh-update-unseen, mh-delete-scan-msgs)
635 (mh-outstanding-commands-p): Move to new file mh-folder.el.
636 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
637 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
638 (mh-lessp): Move to mh-utils.el.
639 (mh-parse-flist-output-line, mh-folder-size-folder)
640 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
641 (mh-remove-sequence-notation, mh-remove-cur-notation)
642 (mh-remove-all-notation, mh-delete-seq-locally)
643 (mh-read-folder-sequences, mh-read-msg-list)
644 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
645 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
646 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
647 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
649 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
650 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
651 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
652 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
653 (mh-faces, mh-alias-completion-ignore-case-flag)
654 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
655 (mh-alias-insert-file, mh-alias-insertion-location)
656 (mh-alias-local-users, mh-alias-local-users-prefix)
657 (mh-alias-passwd-gecos-comma-separator-flag)
658 (mh-new-messages-folders, mh-ticked-messages-folders)
659 (mh-large-folder, mh-recenter-summary-flag)
660 (mh-recursive-folders-flag, mh-sortm-args)
661 (mh-default-folder-for-message-function, mh-default-folder-list)
662 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
663 (mh-identity-list, mh-auto-fields-list)
664 (mh-auto-fields-prompt-flag, mh-identity-default)
665 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
666 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
667 (mh-junk-background, mh-junk-disposition, mh-junk-program)
668 (mh-compose-insertion, mh-compose-skipped-header-fields)
669 (mh-compose-space-does-completion-flag)
670 (mh-delete-yanked-msg-window-flag)
671 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
672 (mh-letter-complete-function, mh-letter-fill-column)
673 (mh-mml-method-default, mh-signature-file-name)
674 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
675 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
676 (mh-scan-format-file-check, mh-scan-format-file)
677 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
678 (mh-search-program, mh-compose-forward-as-mime-flag)
679 (mh-compose-letter-function, mh-compose-prompt-flag)
680 (mh-forward-subject-format, mh-insert-x-mailer-flag)
681 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
682 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
683 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
684 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
685 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
686 (mh-display-buttons-for-inline-parts-flag)
687 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
688 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
689 (mh-highlight-citation-style)
690 (mh-invisible-header-fields-internal)
691 (mh-delay-invisible-header-generation-flag)
692 (mh-invisible-header-fields, mh-invisible-header-fields-default)
693 (mh-invisible-header-fields-compiled, mh-invisible-headers)
694 (mh-lpr-command-format, mh-max-inline-image-height)
695 (mh-max-inline-image-width, mh-mhl-format-file)
696 (mh-mime-save-parts-default-directory, mh-print-background-flag)
697 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
698 (mh-show-use-xface-flag, mh-store-default-directory)
699 (mh-summary-height, mh-speed-update-interval)
700 (mh-show-threads-flag, mh-tool-bar-search-function)
701 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
702 (mh-before-commands-processed-hook, mh-before-quit-hook)
703 (mh-before-send-letter-hook, mh-delete-msg-hook)
704 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
705 (mh-inc-folder-hook, mh-insert-signature-hook)
706 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
707 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
708 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
709 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
710 (mh-folder-address, mh-folder-body)
711 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
712 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
713 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
714 (mh-folder-subject, mh-folder-tick, mh-folder-to)
715 (mh-search-folder, mh-letter-header-field, mh-show-cc)
716 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
717 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
718 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
719 (mh-speedbar-folder-with-unseen-messages)
720 (mh-speedbar-selected-folder)
721 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
722 deprecated file mh-customize.el.
724 * mh-exec.el: Move content into mh-e.el and remove.
726 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
728 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
730 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
732 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
733 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
734 to mail-abbrev-make-syntax-table.
736 * mh-identity.el (mh-identity-menu): New variable for existing
738 (mh-identity-make-menu-no-autoload): New alias for
739 mh-identity-make-menu which can be called from mh-e.el.
740 (mh-identity-list-set): Move to mh-e.el.
741 (mh-identity-add-menu): New function
742 (mh-insert-identity): Add optional argument maybe-insert so that
743 local variable mh-identity-local does not have to be visible.
744 (mh-identity-handler-default):
746 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
747 rest of keymaps). Update key binding for ? to call mh-help with
748 help messages in new argument.
749 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
750 which can be called from mh-e.el.
751 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
753 * mh-init.el: Move content into mh-e.el and remove.
755 * mh-junk.el: Update requires, untabify, and add mh-autoload
758 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
760 * mh-limit.el: New file. Contains display limit commands from
763 * mh-mime.el: Rearrange for consistency with other files.
764 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
766 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
767 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
768 (mh-goto-next-button): Move here from mh-e.el.
770 * mh-print.el: Rearrange for consistency with other files.
772 * mh-scan.el: New file. Contains scan line constants and utilities
773 from XXX, mh-funcs, mh-utils.el.
775 * mh-search.el: Rearrange for consistency with other files.
776 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
777 fields which don't exist in the saved header. Replace C-c C-f f
778 with C-c C-f m per mail-mode consistency.
779 (mh-search-mode): Use mh-set-help instead of setting
782 * mh-seq.el (mh-thread-message, mh-thread-container)
783 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
784 (mh-thread-id-index-map, mh-thread-index-id-map)
785 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
786 (mh-thread-subject-container-hash, mh-thread-duplicates)
787 (mh-thread-history, mh-thread-body-width)
788 (mh-thread-find-msg-subject mh-thread-initialize-hash)
789 (mh-thread-initialize, mh-thread-id-container)
790 (mh-thread-remove-parent-link, mh-thread-add-link)
791 (mh-thread-ancestor-p, mh-thread-get-message-container)
792 (mh-thread-get-message, mh-thread-canonicalize-id)
793 (mh-thread-prune-subject, mh-thread-container-subject)
794 (mh-thread-rewind-pruning, mh-thread-prune-containers)
795 (mh-thread-sort-containers, mh-thread-group-by-subject)
796 (mh-thread-process-in-reply-to, mh-thread-set-tables)
797 (mh-thread-update-id-index-maps, mh-thread-generate)
798 (mh-thread-inc, mh-thread-generate-scan-lines)
799 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
800 (mh-thread-add-spaces, mh-thread-print-scan-lines)
801 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
802 (mh-thread-current-indentation-level, mh-thread-next-sibling)
803 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
804 (mh-thread-ancestor, mh-thread-find-children)
805 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
806 to new file mh-thread.el.
807 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
808 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
809 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
810 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
811 (mh-current-message-header-field, mh-narrow-to-range)
812 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
814 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
816 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
817 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
818 (mh-define-sequence, mh-undefine-sequence)
819 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
820 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
821 (mh-parse-flist-output-line, mh-read-folder-sequences)
822 (mh-read-msg-list, mh-notate-user-sequences)
823 (mh-remove-cur-notation, mh-add-sequence-notation)
824 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
826 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
827 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
829 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
831 * mh-speed.el: Rearrange for consistency with other files.
833 * mh-thread.el: New file. Contains threading code from mh-seq.el.
835 * mh-tool-bar.el: New file. Contains tool bar creation code from
836 deprecated file mh-customize.el.
838 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
840 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
841 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
842 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
843 (mh-update-scan-format, mh-msg-num-width): Move to new file
845 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
846 (mh-header-field-font-lock, mh-header-to-font-lock)
847 (mh-header-cc-font-lock, mh-header-subject-font-lock)
848 (mh-show-font-lock-keywords)
849 (mh-show-font-lock-keywords-with-cite)
850 (mh-show-font-lock-fontify-region)
851 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
852 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
853 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
854 (mh-show-sequence-menu, mh-show-message-menu)
855 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
856 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
857 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
859 (mh-mail-header-separator, mh-signature-separator-regexp)
860 (mh-signature-separator, mh-globals-hash, mh-user-path)
861 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
862 (mh-previous-window-config, mh-current-folder mh-show-buffer)
863 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
864 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
865 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
866 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
867 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
869 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
870 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
871 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
872 Move to new file mh-folder.el.
873 (with-mh-folder-updating, mh-in-show-buffer)
874 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
875 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
876 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
878 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
879 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
880 (mh-face-background-compat, mh-face-display-function)
881 (mh-show-xface, mh-picon-directory-list)
882 (mh-picon-existing-directory-list)
883 (mh-picon-cache, mh-picon-image-types)
884 (mh-picon-set-directory-list, mh-picon-get-image)
885 (mh-picon-file-contents, mh-picon-generate-path)
886 (mh-x-image-cache-directory, mh-x-image-scaling-function)
887 (mh-wget-executable, mh-wget-choice, mh-wget-option)
888 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
889 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
890 (mh-x-image-scale-with-convert)
891 (url-unreserved-chars, url-hexify-string)
892 (mh-x-image-url-cache-canonicalize)
893 (mh-x-image-set-download-state, mh-x-image-get-download-state)
894 (mh-x-image-url-fetch-image, mh-x-image-display)
895 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
896 (mh-x-image-url-display): Move to new file mh-xface.el.
897 (mh-logo-display): Call mh-image-load-path.
898 (mh-find-path-run, mh-find-path): Move here from deprecated file
900 (mh-help-messages): Now an alist of modes to an alist of messages.
901 (mh-set-help): New function used to set mh-help-messages
902 (mh-help): Adjust for new format of mh-help-messages. Add
903 help-messages argument.
904 (mh-prefix-help): Refactor to use mh-help.
905 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
907 (mh-clear-sub-folders-cache): New function added to avoid exposing
908 mh-sub-folders-cache variable.
910 * mh-xface.el: New file. Contains X-Face and Face header field
911 display routines from mh-utils.el.
913 2006-01-17 Bill Wohler <wohler@newt.com>
915 * mh-acros.el (assoc-string): Fix typo in argument.
917 2006-01-16 Bill Wohler <wohler@newt.com>
919 * mh-acros.el (require): Remove defadvice of require as defadvice
920 is verboten within Emacs and our implementation was returning the
921 wrong value from require. Upcoming restructuring should make this
923 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
925 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
926 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
928 * mh-identity.el (mh-identity-field-handler): Use it.
930 * mh-comp.el (mh-show-buffer-message-number): Replace (car
931 (read-from-string string) with (string-to-number string).
933 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
936 * mh-mime.el (mh-mml-forward-message): Ditto.
938 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
939 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
940 (mh-openssl-parser, mh-index-update-maps): Ditto.
942 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
943 (mh-thread-generate): Ditto.
945 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
947 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
948 mm- functions for proper text=flowed handling (addresses SF
951 2006-01-15 Bill Wohler <wohler@newt.com>
953 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
954 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
957 * mh-utils.el (mh-show-limit-map): Ditto.
959 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
961 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
963 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
966 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
967 needed to help remove dependency on mh-utils.
969 * mh-exec.el: New file. Move process support routines here from
972 * mh-init.el (mh-utils): Remove require.
973 (mh-exec): Add require.
974 (mh-profile-component, mh-profile-component-value): Move here from
977 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
978 dependencies on mh-utils.el.
979 (mh-profile-component, mh-profile-component-value): Move to
980 mh-init.el since that's the only place that uses them. (Other than
981 mh-alias.el; I'm thinking that mh-find-path can set variable from
982 the Aliasfile component like it does the other components).
983 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
984 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
985 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
986 (defvar, mh-exec-cmd-output)
987 (mh-exchange-point-and-mark-preserving-active-mark)
988 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
989 file mh-exec.el so that mh-init.el doesn't have to depend on
990 mh-utils.el, breaking circular dependency.
1004 * mh-speed.el: Added debugging statements (commented out) around
1005 requires to help find dependency loops. Will remove them when
1006 issues are resolved.
1008 2006-01-14 Bill Wohler <wohler@newt.com>
1010 * mh-customize.el (mh-index): Rename group to mh-search and sort
1011 group definition and options accordingly.
1012 (mh-index-program): Rename to mh-search-program.
1013 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1015 (mh-search-mode-hook): Change group from mh-index to mh-search.
1016 (mh-index-folder): Rename to mh-search-folder. Change group from
1017 mh-index to mh-search.
1019 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1020 to mh-search-folder.
1022 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1023 pick and grep are searchers too but aren't indexed.
1024 (mh-index-execute-search-function): Rename to mh-search-function.
1025 (mh-index-next-result-function): Rename to
1026 mh-search-next-result-function.
1027 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1028 (mh-search): Since redo-search-flag defaults to nil and is of
1029 lesser importance, make it an optional argument and place it after
1030 the folder and search-regexp arguments. Sync docstring with
1032 (mh-search-mode-map): Autoload so that keys are shown in help even
1033 before mh-search is loaded.
1034 (mh-search-mode): Sync docstring with manual.
1035 (mh-index-do-search): Rename argument indexer to searcher. Sync
1036 docstring with manual.
1037 (mh-pick-do-search): Sync docstring with manual.
1038 (mh-index-p): Rename to mh-search-p.
1039 (mh-indexer-choices): Rename to mh-search-choices.
1040 (mh-index-choose): Rename to mh-search-choose. Rename argument
1041 indexer to searcher.
1042 (mh-swish++-execute-search, mh-swish-execute-search)
1043 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1044 read the results" from docstring since these functions don't.
1045 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1047 (mh-index-generate-pretty-name): Prune -search from string so that
1048 folder names for pick searches are the same as those of other
1051 2006-01-13 Bill Wohler <wohler@newt.com>
1053 * mh-acros.el (require): Added Satyaki's comment regarding what
1054 needs to happen to remove this defadvice which caused a little
1055 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1056 advices `require' incorrectly).
1058 * mh-search.el (mh-index-next-result-function): Add format to
1060 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1062 (mh-pick-execute-search): Operate across all folders if no folder
1063 given and recurse folder(s).
1064 (mh-pick-next-result): Handle new output.
1066 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
1067 (mh-children-p, mh-folder-list): New functions.
1069 2006-01-12 Bill Wohler <wohler@newt.com>
1071 * mh-search.el: New file containing contents of mh-index.el and
1072 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1073 pick. Pick no longer sets the "search" sequence. Instead, it
1074 brings up a folder view that we're accustomed to. (closes SF
1076 (mh-index-search): Rename to mh-search.
1077 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1078 the Search to Perform Search and call mh-do-search. Add Search
1079 with Pick menu item.
1080 (mh-do-search): Delete.
1081 (mh-search-mode): Rename from mh-pick-mode.
1082 (MH-Search): Rename mode from MH-Pick.
1083 (mh-search-mode-map): Rename from mh-pick-mode-map.
1084 (mh-search-mode-help-messages): Rename from
1085 mh-pick-mode-help-messages.
1086 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1087 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1088 stay with that choice!
1091 * mh-pick.el: Merge into mh-search.el and delete.
1093 * mh-customize.el (mh-index-program): Change mh-index-search to
1094 mh-search in docstring.
1095 (mh-tool-bar-search-function): Change default from
1096 mh-search-folder to mh-search. Remove mh-search-folder as choice
1097 and rename mh-index-search choice to mh-search. Fix docstring.
1098 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1099 mh-search-folder to mh-search in docstring.
1101 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1102 Indexed Search to Search. Use mh-search instead of
1104 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1105 from mh-show-search-folder to mh-search.
1107 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1108 mh-search-folder no longer creates the search sequence.
1110 * mh-utils.el (mh-show-search-folder): Delete.
1111 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1112 Change s from mh-show-search-folder to mh-search.
1113 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1114 Search to Search. Use mh-search instead of mh-index-search.
1115 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1116 here from deleted mh-index.el.
1118 2006-01-11 Bill Wohler <wohler@newt.com>
1120 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1123 * mh-gnus.el: Require mh-acros.
1124 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1126 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1127 url-hexify-string to remove special characters from filenames
1128 (closes SF #1396499). Note that this invalidates the existing
1129 names in your cache so you might as well remove
1130 ~/Mail/.mhe-x-image-cache/* now.
1131 (url-unreserved-chars, url-hexify-string): Define if not defined.
1132 Copied from url-util.el in Emacs22 for Emacs 21.
1134 * mh-buffers.el: New file. Contains constants and code from
1135 mh-index.el and mh-utils.el.
1145 * mh-seq.el: Require new file mh-buffers.el.
1147 * mh-index.el: Require new file mh-buffers.el.
1148 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1151 * mh-utils.el: Require new file mh-buffers.el.
1152 (mh-temp-buffer, mh-temp-fetch-buffer)
1153 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1154 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1155 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1156 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1158 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1159 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1161 2006-01-10 Bill Wohler <wohler@newt.com>
1163 * mh-comp.el (mh-insert-letter): If you choose a different folder,
1164 the cur message is used. Sync docstring with manual (closes SF
1167 * mh-mime.el (mh-compose-forward): Use standard range argument
1168 instead of messages. Use more powerful mh-read-range instead of
1169 read-string. Sync docstring with manual (close SF #1205890).
1171 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1173 (mh-index-next-folder): Don't back up a line when going backwards
1174 since this skips the current folder heading if point is on the
1175 first message after the folder heading (closes SF #1126188).
1177 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1179 (mh-variants): Note variable isn't meant to be accessed directly;
1180 use function mh-variants instead.
1181 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1182 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1183 them. Updated to use mh-file-command-p which is more accurrate
1184 than file-executable-p which returns t for directories.
1185 (mh-file-command-p): Move here from mh-utils, since
1186 mh-variant-*-info are the only functions to use it.
1187 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1188 function mh-variants instead of variable. More robust.
1189 (mh-find-path-run): Move here from mh-utils.el. Mention that
1190 checking this variable is unnecessary.
1191 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1192 variants and an mhparam command that doesn't work if there isn't
1193 an MH profile, we can't get libdir for running install-mh. So
1194 don't bother. If there's an issue with the environment, direct the
1195 user to install MH and run install-mh (closes SF #835192). Don't
1196 read ~/.mh_profile directly. Use mh-profile-component which uses
1197 mhparam (closes SF #1016027).
1199 * mh-utils.el (mh-get-profile-field): Rename to
1200 mh-profile-component-value. Add colon to search removing
1201 unnecessary addition of colon to field in mh-profile-component.
1202 (mh-profile-component): Modify call to mh-profile-component-value
1203 accordingly. Move next to mh-profile-component-value.
1204 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1205 mh-init.el. It makes sense that code that is only run once per
1206 session (more or less) is in mh-init.el rather than cluttering
1208 (mh-no-install, mh-install): Delete.
1210 * mh-customize.el (mh-folder-msg-number):
1211 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1213 2006-01-09 Bill Wohler <wohler@newt.com>
1215 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1216 patch from Satyaki from SF #1016027.
1218 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1219 message, even if cur sequence is no longer present (closes SF
1222 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1224 (mh-letter-mode): Derive from mail-mode and delete code copied
1225 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1227 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1228 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1229 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1230 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1231 (mh-to-fcc): Move setting of folder argument to interactive
1232 argument as is the norm.
1233 (mh-letter-complete-function-alist): Add mail-reply-to.
1234 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1235 Mail-Followup-To, Reply-To, From).
1237 * mh-customize.el: Use ";; Forward definition." consistently.
1238 Comment declaration to remind programmer to update forward
1239 definition if default changes.
1246 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1249 2006-01-08 Bill Wohler <wohler@newt.com>
1251 Removed code that was marked as Emacs 20 compatible that was
1252 easily found showing how important it is to document such
1253 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1254 peculiarities that you find. Wrapped code for shushing compiler
1255 with (eval-when-compile), sometimes moving the defvars closer to
1256 where they were used.
1258 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1259 instead of mh-replace-in-string as mh-replace-in-string was
1260 replaced by a more appropriate defsubst in mh-xemacs.el.
1262 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1264 (mh-file-is-vcard-p): Removed redundant test.
1266 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1267 with eval-when-compile.
1268 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1269 (mh-invisible-header-fields-default): Add forward definitions.
1270 (mh-invisible-header-fields-default): Alphabetize.
1272 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1274 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1276 (mh-colors-available-p): Just call display-color-cells. It's on
1277 all supported Emacsen (and defaliased on XEmacs).
1281 * mh-init.el: Wrap compiler-shushing defvars with
1284 * mh-identity.el: Don't need (mh-require-cl).
1286 * mh-index.el: Don't need to load executable any more.
1288 * mh-mime.el: Wrap compiler-shushing defvars with
1290 (mh-have-file-command): Initialize variable to 'undefined. Add
1291 docstring. Update function of same name accordingly. Also don't
1292 need to load executable any more.
1293 (mh-mime-content-types): Delete.
1294 (mh-minibuffer-read-type): Prompt user for type if
1295 mh-file-mime-type returns application/octet-stream. Assume we have
1297 (mh-mime-display): Update error message.
1299 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1300 with eval-when-compile.
1302 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1303 with eval-when-compile.
1304 (mh-clean-msg-header): Don't set after-change-functions to nil.
1305 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1308 2006-01-07 Bill Wohler <wohler@newt.com>
1310 * mh-customize.el: Updated Faces documentation in header.
1311 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1312 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1314 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1315 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1318 2006-01-03 Mark D. Baushke <mdb@gnu.org>
1320 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1321 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1323 2006-01-03 Bill Wohler <wohler@newt.com>
1325 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1326 unification. Use single sentence if possible by using semicolon.
1327 Don't end message with punctuation. Don't need format with
1328 message. Quote messages as in docstrings: use `' around symbols,
1329 \" for option choices. Don't use quotes around %s.
1331 * mh-comp.el (mh-complete-word): Ditto.
1333 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1334 (mh-scan-format-file-check): Ditto.
1336 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1337 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1338 (mh-msg-num-width-to-column): Ditto.
1340 * mh-identity.el (mh-identity-field-handler): Ditto.
1342 * mh-index.el (mh-mairix-execute-search)
1343 (mh-swish-execute-search, mh-swish++-execute-search)
1344 (mh-namazu-execute-search): Ditto.
1346 * mh-init.el (mh-variant-set): Ditto.
1348 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1349 (mh-secure-message, mh-mime-display): Ditto.
1351 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1353 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1354 (mh-read-range, mh-thread-container-subject): Ditto.
1356 * mh-utils.el (mh-x-image-scale-and-display)
1357 (mh-prompt-for-folder, mh-handle-process-error)
1358 (mh-list-to-string-1): Ditto.
1360 * mh-comp.el (mh-reply): Use standard default notation in
1361 prompts (closes SF #1275933).
1363 * mh-mime.el (mh-mime-save-parts): Ditto.
1365 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1367 * mh-customize.el (mh-folder-msg-number): Snow is actually
1368 off-white on low color displays which turns to white when bold.
1369 This is unreadable on white backgrounds. Use snow with min-colors
1370 requirement. Use cyan on low-color displays.
1372 * mh-init.el (mh-defface-compat): On low-color displays, delete
1373 the high-color display rather than simply strip the min-colors
1374 requirement since the existing algorithm shadowed the desired
1375 display on low-color displays.
1377 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1380 2006-01-02 Bill Wohler <wohler@newt.com>
1382 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1383 docstring. Does this mean something in a defun?
1385 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1388 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1389 so it reads better in docstring and manual. Sync docstring with
1392 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1394 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1396 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1397 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1398 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1399 (mh-letter-complete-or-space, mh-letter-confirm-address)
1400 (mh-letter-next-header-field-or-indent)
1401 (mh-letter-previous-header-field): Ditto.
1403 * mh-customize.el (mh-alias-completion-ignore-case-flag)
1404 (mh-default-folder-for-message-function, mh-mml-method-default)
1405 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
1406 (mh-show-mode-hook) Ditto.
1408 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
1410 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
1411 (mh-store-msg, mh-store-buffer): Ditto
1413 * mh-index.el (mh-index-search, mh-index-do-search)
1414 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
1416 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
1418 * mh-mime.el (mh-mh-compose-external-compressed-tar)
1419 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
1420 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1421 (mh-mml-secure-message-signencrypt): Ditto
1423 * mh-pick.el (mh-search-folder): Ditto.
1425 * mh-seq.el (mh-widen): Ditto.
1427 * mh-utils.el (mh-show, mh-modify): Ditto.
1429 2006-01-02 Mark D. Baushke <mdb@gnu.org>
1431 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
1433 2006-01-01 Bill Wohler <wohler@newt.com>
1435 * mh-customize.el: Sync docstrings with manual for faces and sort
1436 them alphabetically.
1437 (mh-faces): Move below mh-hooks.
1438 (mh-folder-faces, mh-index-faces, mh-letter-faces)
1439 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
1441 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
1442 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
1443 (mh-folder-body-face, mh-folder-cur-msg-face)
1444 (mh-folder-cur-msg-number-face, mh-folder-date-face)
1445 (mh-folder-followup-face, mh-folder-msg-number-face)
1446 (mh-folder-deleted-face, mh-folder-refiled-face)
1447 (mh-folder-subject-face, mh-folder-address-face)
1448 (mh-folder-scan-format-face, mh-folder-to-face)
1449 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
1450 (mh-show-header-face, mh-show-pgg-good-face)
1451 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
1452 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
1454 (mh-folder-cur-msg): Unused. Delete.
1455 (mh-folder-address): Use defface; inherit from mh-folder-subject.
1456 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
1457 Inherit from mh-folder-msg-number.
1458 (mh-folder-deleted): Use defface. Inherit from
1459 mh-folder-msg-number.
1460 (mh-folder-sent-to-me-hint): New face. Inherit from
1462 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
1463 Use defface. Inherit from mh-folder-followup.
1464 (mh-show-xface): Inherit from mh-show-from and highlight.
1465 (bw-face-generation, bw-toggle-faces)
1466 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
1467 variables, functions for toggling between old and new faces.
1469 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
1470 eval-when-compile. We should probably do this throughout.
1471 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1472 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
1473 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1474 (mh-scan-subject-regexp): Sync docstrings with manual
1475 (mh-scan-format-regexp): Rename to
1476 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
1477 expression. Make expression more like the others (anchored at the
1478 beginning of line). Sync docstrings with manual.
1479 (mh-folder-font-lock-keywords): Use faces directly rather than
1480 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
1481 mh-scan-format-regexp, and within that expression, use faces
1482 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
1483 of mh-folder-date-face and mh-folder-scan-format-face which were
1486 * mh-mime.el (mh-mime-security-button-face): Use faces directly
1487 rather than -face variables.
1489 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
1490 rather than -face variables.
1491 (mh-face-foreground-compat, mh-face-background-compat): New macros.
1492 (mh-face-display-function): Use mh-face-foreground-compat and
1493 mh-face-background-compat to use inherited attributes of
1494 mh-show-xface on Emacs 22 while still working on Emacs 21.
1496 2005-12-28 Bill Wohler <wohler@newt.com>
1498 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
1499 mh-user-agent-compose instead of mh-smail-batch.
1501 2005-12-27 Bill Wohler <wohler@newt.com>
1503 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
1504 suppress creation of folder if it doesn't exist.
1506 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1508 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
1510 2005-12-23 Bill Wohler <wohler@newt.com>
1512 * mh-e.el (mh-folders-changed): Fix typo in docstring.
1514 Follow MH-E Developers Guide conventions. Use `' quotes for Help
1515 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
1516 everything else. Otherwise, you can accidently get links to
1519 2005-12-22 Bill Wohler <wohler@newt.com>
1521 Follow Emacs coding conventions. Use default setting of
1522 emacs-lisp-docstring-fill-column which is 65.
1524 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
1526 * mh-comp.el (mh-letter-mode): Use 60 column width.
1527 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
1529 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
1530 you have added a mail-citation-hook and neither are used if you
1531 use one of the supercite flavors of mh-yank-behavior. Sync
1532 docstrings with manual.
1534 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
1535 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
1536 hook. Use "Hook run by `function'..." instead of "Invoked...".
1537 Sync docstrings with manual.
1538 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
1539 mh-ins-buf-prefix isn't used if you have added a
1540 mail-citation-hook and neither are used if you use one of the
1541 supercite flavors of mh-yank-behavior. Sync docstrings with
1543 (mail-citation-hook): Delete. Use one in sendmail.el.
1544 (mh-signature-file-name, mh-after-commands-processed-hook)
1545 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
1546 (mh-before-quit-hook, mh-before-send-letter-hook)
1547 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
1548 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
1549 (mh-letter-mode-hook)
1550 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
1551 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1552 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
1553 of "Invoked...". Sync docstrings with manual.
1555 * mh-e.el (mh-last-destination, mh-last-destination-folder)
1556 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
1557 (mh-delete-list, mh-refile-list, mh-folders-changed)
1558 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
1559 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
1560 (mh-mode-line-annotation, mh-sequence-notation-history)
1561 (mh-colors-available-flag): Move comment into docstring.
1562 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
1563 (mh-process-commands): Sync docstrings with manual.
1564 (mh-refile-msg): Small doc edit.
1565 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
1566 Rename msg argument to message.
1568 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
1570 * mh-e.el (mh-update-unseen): No longer say "The value of
1571 `foo-hook' is a list of functions to be called, with no arguments,
1572 ...," but rather just "The hook foo-hook is called...".
1574 * mh-mime.el (mh-mh-to-mime): Ditto.
1576 * mh-pick.el (mh-pick-mode): Ditto.
1578 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
1580 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
1582 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
1585 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
1587 * mh-customize.el (mh-after-commands-processed-hook): New
1589 (mh-before-commands-processed-hook): Rename
1590 mh-folder-updated-hook.
1592 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
1593 mh-before-commands-processed-hook, call new
1594 mh-after-commands-processed-hook.
1595 (mh-folders-changed): New variable (for use in
1596 mh-after-commands-processed-hook).
1598 2005-12-19 Bill Wohler <wohler@newt.com>
1618 Follow commenting conventions. Don't use ;;; form so much, except
1619 for headings. Precede headings with page feed. This was mostly
1620 already done, so I made it a convention. Did not update copyright
1621 on a couple of files since this was an insignificant change.
1623 2005-12-18 Bill Wohler <wohler@newt.com>
1625 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
1626 (mh-tool-bar-search-function): Sync docstrings with manual.
1627 (mh-tool-bar-customize): Replace toolbar with tool bar in
1629 (mh-tool-bar-letter-help): Fix manual reference.
1630 (mh-xemacs-use-toolbar-flag): Rename to
1631 mh-xemacs-use-tool-bar-flag. Initialize to
1632 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
1633 (mh-xemacs-toolbar-position): Rename to
1634 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
1635 option (redundant) and change "Same As Default Tool Bar" setting
1636 to nil. Sync docstrings with manual.
1637 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
1638 depending on context.
1639 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
1640 for calling set-specifier. Only look at the value of
1641 mh-xemacs-use-tool-bar-flag.
1642 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
1643 docstrings with manual.
1645 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
1648 * mh-e.el (mh-folder-mode): Ditto.
1650 * mh-utils.el (mh-show-mode): Ditto.
1652 2005-12-15 Bill Wohler <wohler@newt.com>
1654 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
1656 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
1657 (mh-thread-previous-sibling, mh-thread-ancestor)
1658 (mh-thread-delete, mh-thread-refile): Ditto.
1660 2005-12-14 Bill Wohler <wohler@newt.com>
1662 * mh-customize.el (mh-speed-flists-interval): Rename to
1663 mh-speed-update-interval.
1664 (mh-speed-run-flists-flag): Delete. Setting
1665 mh-speed-flists-interval to 0 accomplishes the same thing.
1667 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
1668 mh-speed-update-interval instead of mh-speed-run-flists-flag.
1669 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
1670 docstrings with manual.
1672 2005-12-09 Bill Wohler <wohler@newt.com>
1674 * mh-customize.el (mh-path): Move here from mh-init.el.
1675 (mh-variant): Mention that mh-path can be customized.
1676 (mh-invisible-header-fields-internal): Add X-ContentStamp,
1677 X-MAIL-INFO, and X-UNTD- from NetZero.
1679 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
1681 2005-12-04 Bill Wohler <wohler@newt.com>
1683 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
1684 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
1687 * mh-customize.el (mh-insert-signature-hook): Rename
1688 mh-letter-insert-signature-hook to mh-insert-signature-hook.
1690 * mh-comp.el (mh-insert-signature): Ditto.
1692 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
1693 to nil. Remove t option. Sync docstring with manual (closes SF
1695 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
1696 users can see it, look it up in the manual's index, and discover
1697 mh-fetch-x-image-url (closes SF #831278).
1699 * mh-customize.el (mh-new-messages-folders): Rename from
1700 mh-index-new-messages-folders.
1701 (mh-ticked-messages-folders): Rename from
1702 mh-index-ticked-messages-folders.
1704 * mh-index.el (mh-index-sequenced-messages)
1705 (mh-index-new-messages): Ditto.
1707 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
1708 in the docstrings and made usage consistent. Generally speaking,
1709 "messages in range" and "range of messages" is redundant and just
1710 "range" can be used in most circumstances. Also ensured that
1711 mh-interactive-range was mentioned in all interactive functions
1712 that use a range which describes the range argument for both users
1715 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
1716 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
1717 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
1718 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
1721 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
1724 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
1726 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
1727 (mh-ps-print-msg-file, mh-print-msg): Ditto.
1729 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
1730 (mh-narrow-to-range, mh-toggle-tick): Ditto.
1732 2005-12-01 Bill Wohler <wohler@newt.com>
1734 Rewrote Reading Mail chapter in manual which affected mh-show
1735 customization group and related functions.
1737 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
1738 instead of mh-highlight-citation-p.
1739 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
1740 I think, so use "truncated".
1742 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
1743 section is Folders, not Organizing. Parent of mh-folder-faces is
1744 mh-folder, not mh-show.
1745 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
1746 (mh-thread): New group that corresponds with manual's Threading
1748 (mh-letter-faces): Group's manual section is Editing Drafts, not
1750 (mh-sortm-args): New customization variable that used to be a
1752 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
1753 Move from mh-index group to mh-folders group.
1754 (mh-alias-local-users-prefix, mh-large-folder)
1755 (mh-recursive-folders-flag, mh-before-quit-hook)
1756 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
1757 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
1759 (mh-highlight-citation-style): Rename from
1760 mh-highlight-citation-p. Sync docstrings with manual.
1761 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
1763 (mh-show-threads-flag): Move from mh-show group to mh-thread
1765 (mh-find-path-hook): Move from mh-show group to mh-e group.
1766 (mh-folder-updated-hook): Add to mh-folder group.
1767 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
1768 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
1769 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1770 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1771 (mh-display-buttons-for-inline-parts-flag)
1772 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1773 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1774 (mh-invisible-header-fields-default, mh-invisible-header-fields)
1775 (mh-lpr-command-format, mh-max-inline-image-height)
1776 (mh-max-inline-image-width)
1777 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1778 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1779 (mh-show-use-xface-flag, mh-store-default-directory)
1780 (mh-summary-height, mh-delete-msg-hook
1781 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
1784 (mh-scan-format-mh, mh-scan-good-msg-regexp)
1785 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1786 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
1787 non-fontification instead of non-fontifying.
1788 (mh-header-display): Use mh-mhl-format-file instead of
1789 mhl-formfile. Sync docstrings with manual.
1790 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
1791 count. Sync docstrings with manual.
1792 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
1793 so that message doesn't change when using this command. Sync
1794 docstrings with manual.
1795 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
1796 docstrings with manual.
1797 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
1798 to no-header. Sync docstrings with manual.
1799 (mh-ps-print-map): Delete keybindings for deleted commands
1800 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
1801 (mh-help-messages): Update printing help.
1802 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
1803 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
1804 (mh-prev-button, mh-folder-toggle-mime-part)
1805 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1806 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
1809 * mh-funcs.el (mh-sortm-args): Now a customization option and in
1811 (mh-pipe-msg): Rename include-headers to include-header. Sync
1812 docstrings with manual.
1813 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
1814 (mh-store-msg): Sync docstrings with manual.
1816 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
1817 docstrings with manual.
1818 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
1819 Sync docstrings with manual.
1820 (mh-mm-display-part, mh-mm-inline-message): Use
1821 mh-highlight-citation-style instead of mh-highlight-citation-p.
1822 (mh-press-button): Sync docstrings with manual.
1823 (mh-display-with-external-viewer): Fix default output in
1824 minibuffer. Sync docstrings with manual.
1826 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
1828 (mh-ps-print-color-option): Incorporate docstring from
1830 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
1832 (mh-ps-spool-msg): Slimline docstring. Rename from
1833 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
1835 (mh-ps-print-range): Extract method from common code in
1836 mh-ps-print-msg and mh-ps-print-msg-file.
1837 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
1838 (mh-ps-print-msg-show): Delete. Can use either
1839 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
1840 new code in mh-ps-spool-msg.
1841 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
1842 Sync docstrings with manual.
1843 (mh-ps-print-msg, mh-ps-print-msg-file)
1844 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
1845 docstrings with manual.
1847 * mh-utils.el (mh-show-ps-print-msg-show)
1848 mh-show-ps-print-toggle-mime): Delete.
1849 (mh-show-ps-print-map): Update accordingly.
1850 (mh-show-mode): Use mh-highlight-citation-style instead of
1851 mh-highlight-citation-p.
1852 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
1854 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
1855 docstrings with manual.
1856 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
1857 docstrings with manual.
1859 2005-12-01 Bill Wohler <wohler@newt.com>
1861 * mh-init.el (mh-defface-compat): Checkdoc fix.
1863 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
1864 Bogofilter is lowercase except at beginning of sentence and in
1867 2005-11-04 Bill Wohler <wohler@newt.com>
1869 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
1870 Move to mh-init.el to minimize bulk of mh-customize.el.
1872 * mh-init.el: Modify commentary since file is used for load and
1873 initialization as well as setting and getting the variant.
1874 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
1877 * mh-customize.el: Refactor faces. Move grayscale requirements
1878 last before t. Use uniform line breaks.
1879 (mh-min-colors-defined-flag): New variable.
1880 (mh-defface-compat): New function. Provides backward compatibility
1882 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
1883 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
1884 (mh-folder-body): Use mh-defface-compat.
1886 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
1888 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
1889 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
1890 (mh-folder-to-face): Use the min-colors attribute instead of the
1893 2005-11-03 Bill Wohler <wohler@newt.com>
1895 * mh-customize.el (mh-refile-preserves-sequences-flag)
1896 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
1897 docstrings with manual.
1899 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
1901 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
1902 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
1905 2005-11-01 Bill Wohler <wohler@newt.com>
1907 * mh-comp.el (mh-redist-full-contents) Convert defvar to
1909 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
1910 (mh-reply, mh-send, mh-send-other-window)
1911 (mh-fill-paragraph-function): Sync docstrings with manual.
1912 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
1913 msg argument to message (to make for a better docstring).
1915 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
1916 to defcustom. Rename by adding -flag.
1917 (mh-compose-forward-as-mime-flag)
1918 (mh-compose-letter-function, mh-forward-subject-format)
1919 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
1920 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
1923 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
1924 (mh-ps-print-msg): Remove debugging messages.
1925 (mh-ps-print-msg-show, mh-ps-print-msg-show)
1926 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
1927 after message per conventions.
1929 2005-10-30 Bill Wohler <wohler@newt.com>
1931 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1932 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
1933 docstrings with manual.
1935 * mh-customize.el (mh-compose-space-does-completion-flag)
1936 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
1937 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
1938 means" to remain checkdoc clean and consistent with Emacs. I
1939 raised this issue with the Emacs developers and Stallman agrees
1940 that "On means" should be allowed in custom docstrings but that
1941 this change requires thought and should wait until after the Emacs
1944 2005-10-28 Bill Wohler <wohler@newt.com>
1946 * mh-comp.el (mh-annotate-msg): Use new variable
1947 mh-scan-field-destination-offset rather than hard-coding 1.
1949 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
1951 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
1952 functions to check input for mh-adaptive-cmd-note-flag and
1953 mh-scan-format-file respectively.
1954 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
1957 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
1958 destination is the -, t, b, c, or n character for Replied, To, cc,
1959 Bcc, or Newsgroups respectively.
1960 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
1961 Call new function mh-msg-num-width-to-column to make leap between
1962 width and column more explicit.
1963 (mh-msg-num-width-to-column): New function that steals logic from
1964 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
1965 isn't t since we can't adapt the scan lines in this case.
1966 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
1967 make the documentation more clear.
1968 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
1969 column, not a width.
1970 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
1971 variable mh-scan-field-destination-offset rather than hard-coding
1974 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
1975 (mh-notate): Use new variable mh-scan-field-destination-offset
1976 rather than hard-coding 1.
1977 (mh-message-number-width): Rename to mh-msg-num-width to be
1978 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
1980 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
1981 (mail-citation-hook): Quote URLs in docstrings and precede with
1982 `URL'. The former will suppress checkdoc warnings, the latter will
1983 turn them into hyperlinks in Emacs 22 (I just added the code to do
1985 (mh-scan-format-file): Checkdoc fix.
1987 2005-10-27 Bill Wohler <wohler@newt.com>
1989 * mh-customize.el (mh-adaptive-cmd-note-flag)
1990 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
1992 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
1993 (mh-note-cur, mh-scan-good-msg-regexp)
1994 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1995 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1996 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1997 (mh-scan-subject-regexp, mh-scan-format-regexp)
1998 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2001 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2003 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2004 of hard-coded string.
2005 (mh-mail-header-separator, mh-signature-separator-regexp): Use
2006 "regular expression" in docstring instead of regexp.
2007 (mh-scan-msg-number-regexp)
2008 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2009 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2010 (mh-cmd-note): Sync docstrings with manual.
2012 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2015 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2017 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2018 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2019 (mh-mml-secure-message-signencrypt): Ditto.
2021 2005-10-24 Bill Wohler <wohler@newt.com>
2023 * mh-gnus.el: Load mml.el in order to see if
2024 mml-minibuffer-read-disposition is defined or not.
2026 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2029 2005-10-23 Miles Bader <miles@gnu.org>
2031 * .arch-inventory: New file.
2033 2005-10-23 Bill Wohler <wohler@newt.com>
2035 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
2036 docstring with manual.
2038 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2039 mh-alias.el and move to mh-acros.el
2041 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2042 mh-identity.el and move to mh-acros.el
2044 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2045 mh-identity.el and mh-alias.el.
2047 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2048 warning in Emacs 22.
2050 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2052 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2053 assoc-string (if the function is available) and falls back on
2054 assoc-ignore-case if assoc-string is not found.
2055 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2056 assoc-ignore-case is a obsolete function in Emacs 22.
2058 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2059 track of whether the tool-bar in mh-folder-mode has been
2061 (mh-folder-mode): Initialize the tool-bar for folders the first
2062 time we get into mh-letter-mode.
2064 * mh-customize.el (mh-buffer-exists-p): New function which tests
2065 presence of buffers of a given mode.
2066 (mh-tool-bar-define): New functions
2067 mh-tool-bar-folder-buttons-init and
2068 mh-tool-bar-letter-buttons-init are defined. These functions are
2069 used to create the tool-bar from the corresponding customizable
2072 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2073 keeps track of whether the tool-bar in mh-letter-mode has been
2075 (mh-letter-mode): Initialize the tool-bar for drafts the first
2076 time we get into mh-letter-mode.
2078 2005-10-23 Bill Wohler <wohler@newt.com>
2080 * mh-comp.el (mh-letter-menu): Rename
2081 mh-mhn-compose-external-compressed-tar to
2082 mh-mh-compose-external-compressed-tar. Rename
2083 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2084 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2085 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2086 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2087 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
2089 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2090 mh-mh-directive-present-p.
2091 (mh-send-letter): Rename mh-mhn-directive-present-p to
2092 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2093 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2094 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2095 mh-mhn-compose-external-compressed-tar to
2096 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2097 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2098 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2099 mh-mh-compose-anon-ftp. Rename
2100 mh-mhn-compose-external-compressed-tar to
2101 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2102 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2103 mh-mh-compose-external-type.
2104 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2105 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
2106 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2107 mh-yank-from-start-of-msg to mh-yank-behavior.
2108 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2109 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2110 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2111 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2112 (mh-letter-complete-or-space, mh-letter-confirm-address)
2113 (mh-letter-next-header-field-or-indent)
2114 (mh-letter-previous-header-field)
2115 (mh-letter-toggle-header-field-display): Sync docstrings with
2118 * mh-customize.el (mh-edit-mhn-hook): Rename to
2120 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2121 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2122 and user-visible values from mhn and Gnus to MH and MML.
2123 (mh-before-send-letter-hook): Add 'ispell-message option.
2124 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2125 mh-pgp-support-flag.
2126 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2127 (mh-delete-yanked-msg-window-flag)
2128 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2129 (mh-letter-complete-function, mh-letter-fill-column)
2130 (mh-mml-method-default, mh-signature-file-name)
2131 (mh-signature-separator-flag, mh-x-face-file)
2132 (mh-yank-behavior, mail-citation-hook)
2133 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2136 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2137 provided for Emacs 21 environments that lack it.
2139 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2141 (mh-compose-forward): mh-mh-forward-message requires string arg.
2142 (mh-minibuffer-read-type): New function.
2143 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2144 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2145 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2146 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2147 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
2148 Rename mh-mhn-compose-external-type to
2149 mh-mh-compose-external-type.
2150 (mh-mhn-compose-external-compressed-tar): Rename to
2151 mh-mh-compose-external-compressed-tar. Rename
2152 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2153 (mh-mhn-compose-external-type): Rename to
2154 mh-mh-compose-external-type.
2155 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2156 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
2157 Use correct program in message.
2158 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2159 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2160 (mh-compose-forward, mh-mh-attach-file)
2161 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2162 (mh-mh-compose-external-type, mh-mh-forward-message)
2163 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2164 mh-minibuffer-read-type.
2165 (mh-mime-content-types): Move comment about only being used in
2166 Emacs 20 to docstring.
2167 (mh-mh-compose-external-type): Rename extra-param argument to
2169 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
2170 (mh-mime-display-part, mh-mime-display-single): Rename
2171 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
2172 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2174 (mh-compose-forward): Rename mh-mhn-compose-forw to
2175 mh-mh-forward-message.
2176 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2178 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2179 (mh-mh-attach-file, mh-mh-compose-type)
2180 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2181 (mh-mh-compose-external-compressed-tar)
2182 (mh-mh-compose-external-type, mh-mh-forward-message)
2183 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
2184 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2185 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2186 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2187 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2188 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2189 Sync docstrings with manual.
2191 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2192 mh-pgp-support-flag.
2194 2005-10-17 Peter S Galbraith <psg@debian.org>
2196 * mh-identity.el (mh-identity-field-handler): Use
2197 `assoc-ignore-case' to compare against header field for mixed-case
2200 2005-10-17 Bill Wohler <wohler@newt.com>
2202 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
2203 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2204 to mail/compose, fld_open to fld-open.
2205 (mh-letter-tool-bar-map): Rename image file mail_send to
2208 2005-10-16 Bill Wohler <wohler@newt.com>
2210 * mh-comp.el (mh-display-completion-list-compat): New macro which
2211 calls `display-completion-list' correctly in older environments.
2212 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2214 (mh-complete-word): Use it.
2216 * mh-init.el (mh-image-load-path): Use locate-library to find
2217 MH-E. This simplified the code a lot. Flattened out nested
2218 statements even more.
2220 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2222 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2223 causes a compiler warning.
2225 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2226 the message to be viewed (closes SF #1306141).
2228 2005-10-16 Masatake YAMATO <jet@gyve.org>
2230 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2231 of completion to `display-completion-list'.
2233 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2235 * mh-init.el (mh-image-load-path-called-flag): New variable which
2236 is used by mh-image-load-path so that it runs only once.
2237 (mh-image-load-path): Modify so that it gets run only once. Also
2238 flatten out heavily nested if statements to make it clearer.
2240 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2241 to find images used in the toolbar.
2243 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2245 2005-10-14 Bill Wohler <wohler@newt.com>
2247 * mh-e.el (Version, mh-version): Add +cvs to version.
2249 2005-10-14 Bill Wohler <wohler@newt.com>
2251 Released MH-E version 7.85.
2253 * mh-e.el (Version, mh-version): Update for release 7.85.
2255 2005-10-14 Bill Wohler <wohler@newt.com>
2257 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2258 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2259 need to be indented.
2261 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
2262 but the code that invoked the face had not been updated. Tick
2263 highlighting working again.
2265 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2266 make-variable-buffer-local call to top level to avoid warnings in
2269 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
2272 2005-10-09 Bill Wohler <wohler@newt.com>
2274 * mh-init.el (mh-image-load-path): New function that adds the path
2275 to the MH-E images to the image-load-path or load-path depending
2276 on the version of Emacs.
2278 * mh-customize.el: Call mh-image-load-path just before
2279 mh-tool-bar-define so that the toolbar images can be found.
2281 2005-10-04 Bill Wohler <wohler@newt.com>
2283 * ChangeLog: Move contents into ChangeLog.1 and trim.
2285 * ChangeLog.1: New file. Contains old ChangeLog.
2288 Copyright (C) 2005 Free Software Foundation, Inc.
2290 Copying and distribution of this file, with or without modification,
2291 are permitted in any medium without royalty provided the copyright
2292 notice and this notice are preserved.
2295 ;; sentence-end-double-space: nil
2298 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51