This version does *not* work with Emacs 22.
[bpt/emacs.git] / lisp / mh-e / ChangeLog
CommitLineData
f669a69d
ED
12006-02-21 Eric Ding <ericding@alum.mit.edu>
2
3 * mh-e.el (mh-invisible-header-fields-internal): Added entry
4 "X-Sasl-enc:"
5
efd5b7df
ED
62006-02-20 Eric Ding <ericding@alum.mit.edu>
7
8 * mh-e.el (mh-invisible-header-fields-internal): Added entries
9 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
10 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
11 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
12 "X-Roving-" by removing unnecessary "*" at end.
13
ae494f66
BW
142006-02-19 Bill Wohler <wohler@newt.com>
15
16 * mh-alias.el (mh-address-mail-regexp)
17 (mh-goto-address-find-address-at-point): Delete copies from
18 goto-addr.el.
19 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
20 mh-address-mail-regexp.
21 (mh-alias-add-address-under-point): Use
22 goto-address-find-address-at-point instead of
23 mh-goto-address-find-address-at-point.
24
25 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
26
27 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
28 docstring.
29 (mh-show-addr): Call goto-address unconditionally. User should use
30 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
31
803c3044
BW
322006-02-18 Bill Wohler <wohler@newt.com>
33
34 * mh-e.el (Version, mh-version): Add +cvs to version.
35
927967ee
BW
362006-02-18 Bill Wohler <wohler@newt.com>
37
38 Release MH-E version 7.92.
39
40 * mh-e.el (Version, mh-version): Update for release 7.92.
41
6e69a0bf
BW
422006-02-17 Bill Wohler <wohler@newt.com>
43
b95d0a24
BW
44 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
45 backgrounds per Mark's suggestion.
46
6e69a0bf
BW
47 * mh-utils.el (mh-image-load-path): Fix problem that images on
48 load-path or image-load-path would win over relative paths (newer
49 MH-E or Emacs distribution).
50
dccd067f
BW
512006-02-16 Bill Wohler <wohler@newt.com>
52
6d21875b
BW
53 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
54 the defface :inherit keyword is available.
55 (mh-face-data): New variable (contains all face specs) and
56 function (accessor).
57 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
58 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
59 (mh-folder-msg-number, mh-folder-refiled)
60 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
61 (mh-folder-subject, mh-folder-tick, mh-folder-to)
62 (mh-search-folder, mh-letter-header-field, mh-show-cc)
63 (mh-show-date, mh-show-from)
64 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
65 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
66 (mh-show-to, mh-show-xface, mh-speedbar-folder)
67 (mh-speedbar-folder-with-unseen-messages)
68 (mh-speedbar-selected-folder)
69 (mh-speedbar-selected-folder-with-unseen-messages): Use
70 mh-face-data.
71
dccd067f
BW
72 * mh-utils.el (mh-image-load-path): The variables image-load-path
73 or load-path would not get updated if user set mh-image-load-path.
74 Moved tests and add-to-list calls outside of cond so they are
75 applied consistently, even if they are redundant in some
76 circumstances. Efficiency isn't a concern here. Made error
77 messages more user-friendly.
78
fc0f755f
PG
792006-02-15 Peter S Galbraith <psg@debian.org>
80
81 * mh-compat.el (mh-image-search-load-path): Compatibility code.
82 Emacs 21 and XEmacs don't have `image-search-load-path'.
83
84 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
85 images are already found.
86
be397698
BW
872006-02-10 Bill Wohler <wohler@newt.com>
88
89 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
90 rather than use defun*. XEmacs cannot create a proper autoload for
91 a defun*.
92
613cd8c5
BW
932006-02-09 Bill Wohler <wohler@newt.com>
94
da01a066
BW
95 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
96 that causes an infinite loop on XEmacs.
97
613cd8c5
BW
98 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
99 argument.
100
201a821a
PG
1012006-02-08 Peter S Galbraith <psg@debian.org>
102
103 * mh-e.el (mh-invisible-header-fields-internal): Added entries
104 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
105
dc4d94d5
BW
1062006-02-04 Bill Wohler <wohler@newt.com>
107
108 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
109 has an emacsclient command that supports --eval. I had read that
110 gnudoit was deprecated in favor of gnuclient anyway.
111
7b0fed56 1122006-02-04 Eric Ding <ericding@alum.mit.edu>
39ee09ff
PG
113
114 * mh-mime.el (mh-file-mime-type-substitutions): Added entries to
7b0fed56 115 handle OpenOffice documents.
39ee09ff 116
d4ff848f
BW
1172006-02-03 Bill Wohler <wohler@newt.com>
118
119 * mh-e.el (Version, mh-version): Add +cvs to version.
120
5f627e35
BW
1212006-02-03 Bill Wohler <wohler@newt.com>
122
123 Release MH-E version 7.91.
124
125 * mh-e.el (Version, mh-version): Update for release 7.91.
126
36685bff
BW
1272006-02-03 Bill Wohler <wohler@newt.com>
128
664ca6b2
BW
129 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
130 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
131 of local variable mh-library-name.
132
36685bff
BW
133 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
134 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
135 88) with (min-colors 64) in face specifications so that MH-E still
136 looks good on systems with fewer colors (such as Eric Ding's).
137
39ee09ff 1382006-02-03 Peter S Galbraith <psg@debian.org>
e1144ff6
PG
139
140 * mh-utils.el (mh-image-load-path): New variable to optionally
141 hold the directory where MH-E images are stored. If nil, then
142 the function `mh-image-load-path' will find it. This variable
143 will be used for Debian packaging.
144 (mh-image-load-path function): Use variable `mh-image-load-path'
145 if non-nil and exists.
146
f169fdd3
MB
1472006-02-03 Mark D. Baushke <mdb@gnu.org>
148
149 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
150 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
151 errors if describe-bindings is called before tool-bar-mode is used.
152
e6e91eda
PG
1532006-02-03 Peter S Galbraith <psg@debian.org>
154
155 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
156 `mh-url-unresrved-chars'.
157
5a286ce9
BW
1582006-02-02 Bill Wohler <wohler@newt.com>
159
160 * mh-e.el (Version, mh-version): Add +cvs to version.
161
8f58061a
BW
1622006-02-02 Bill Wohler <wohler@newt.com>
163
164 Release MH-E version 7.90.
165
166 * mh-e.el (Version, mh-version): Update for release 7.90.
167
d5dc8c56
BW
1682006-02-01 Bill Wohler <wohler@newt.com>
169
92486f28
BW
170 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
171
d5dc8c56
BW
172 * mh-alias.el (mh-alias-gecos-name): Use
173 mh-replace-regexp-in-string instead of replace-regexp-in-string.
174 (crm, multi-prompt): Use mh-require instead of require.
175 (mh-goto-address-find-address-at-point): Use
176 mh-line-beginning-position and mh-line-end-position instead of
177 line-beginning-position and line-end-position. Use
178 mh-match-string-no-properties instead of
179 match-string-no-properties.
180
181 * mh-comp.el (mh-modify-header-field): Use
182 mh-line-beginning-position and mh-line-end-position instead of
183 line-beginning-position and line-end-position.
184
185 * mh-compat.el (mailabbrev): Use mh-require instead of require.
186 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
187 (mh-face-background): Make docstring consistent.
188 (mh-require, mh-cancel-timer, mh-display-color-cells)
189 (mh-line-beginning-position, mh-line-end-position)
190 (mh-match-string-no-properties, mh-replace-regexp-in-string)
191 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
192 add mh- prefix since compatibility functions should have our
193 package prefix (mh-) by Emacs convention and to avoid messing up
194 checks for the same functions in other packages.
195
196 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
197 from mh-xemacs.el and rename.
198 (mh-xargs): Use mh-line-beginning-position and
199 mh-line-end-position instead of line-beginning-position and
200 line-end-position.
201 (mh-defface-compat): Use mh-display-color-cells instead of
202 display-color-cells.
203
204 * mh-folder.el (which-func): Use mh-require instead of require.
205
206 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
207 view-mode-enter.
208
209 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
210 mh-require instead of require.
211
212 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
213 (mh-letter-next-header-field): Use mh-line-beginning-position and
214 mh-line-end-position instead of line-beginning-position and
215 line-end-position.
216
217 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
218 mh-match-string-no-properties instead of
219 match-string-no-properties.
220 (mh-narrow-to-header-field): Use mh-line-beginning-position and
221 mh-line-end-position instead of line-beginning-position and
222 line-end-position.
223
224 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
225 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
226 mh-line-beginning-position and mh-line-end-position instead of
227 line-beginning-position and line-end-position.
228
229 * mh-search.el (which-func): Use mh-require instead of require.
230 (mh-make-pick-template, mh-index-visit-folder)
231 (mh-pick-parse-search-buffer, mh-swish-next-result)
232 (mh-mairix-next-result, mh-namazu-next-result)
233 (mh-pick-next-result, mh-grep-next-result)
234 (mh-index-create-imenu-index, mh-index-match-checksum)
235 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
236 mh-line-beginning-position and mh-line-end-position instead of
237 line-beginning-position and line-end-position.
238
239 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
240 view-mode-enter.
241 (mh-folder-size-flist, mh-parse-flist-output-line)
242 (mh-add-sequence-notation): Use mh-line-beginning-position and
243 mh-line-end-position instead of line-beginning-position and
244 line-end-position.
245
246 * mh-show.el (mh-show-addr): Use mh-require instead of require.
247
248 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
249 (mh-speed-view, mh-folder-speedbar-buttons)
250 (mh-speed-highlight, mh-speed-goto-folder)
251 (mh-speed-add-buttons, mh-speed-parse-flists-output)
252 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
253 (mh-speed-add-folder): Use mh-line-beginning-position and
254 mh-line-end-position instead of line-beginning-position and
255 line-end-position.
256 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
257
258 * mh-thread.el (mh-thread-find-children)
259 (mh-thread-parse-scan-line, mh-thread-generate): Use
260 mh-line-beginning-position and mh-line-end-position instead of
261 line-beginning-position and line-end-position.
262
263 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
264 instead of display-color-cells.
265 (mh-folder-list): Use mh-replace-regexp-in-string instead of
266 replace-regexp-in-string.
267 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
268 Use mh-line-beginning-position and mh-line-end-position instead of
269 line-beginning-position and line-end-position.
270
271 * mh-comp.el (mh-send-sub): Don't find components file in current
272 directory--this seems to have been a side-effect of commenting out
273 the use of an old mh-etc variable. Improve error message.
274
06e7028b
BW
2752006-01-31 Bill Wohler <wohler@newt.com>
276
277 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
278 argument since compatibility functions should have our package
279 prefix (mh-) by Emacs convention and to avoid messing up checks
280 for the same functions in other packages. Use explicit argument
d5dc8c56 281 instead of forming name by adding mh- prefix so that one can grep
06e7028b
BW
282 and find the definition.
283
284 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
285 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
286 mh-assoc-string instead of assoc-string.
287
288 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
289 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
290 here from mh-utils.el.
291 (mh-display-completion-list): Move here from mh-comp.el.
292 (mh-face-foreground, mh-face-background): Move here from
293 mh-xface.el.
294 (mh-write-file-functions): Move here from mh-folder.el
295
296 * mh-folder.el (mh-write-file-functions-compat): Move to
297 mh-compat.el and rename to mh-write-file-functions.
298 (mh-folder-mode): Use the new name.
299
300 * mh-gnus.el (gnus-local-map-property): Rename to
301 mh-gnus-local-map-property.
302 (mm-merge-handles): Rename to mh-mm-merge-handles.
303 (mm-set-handle-multipart-parameter): Rename to
304 mh-mm-set-handle-multipart-parameter.
305 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
306 (mm-possibly-verify-or-decrypt): Rename to
307 mh-mm-possibly-verify-or-decrypt.
308 (mm-handle-multipart-ctl-parameter): Rename to
309 mh-mm-handle-multipart-ctl-parameter.
310 (mm-readable-p): Rename to mh-mm-readable-p.
311 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
312 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
313 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
314 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
315 (mml-minibuffer-read-disposition): Rename to
316 mh-mml-minibuffer-read-disposition.
317
318 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
319 instead of assoc-string.
320
321 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
322 (mh-mime-display, mh-mime-display-security)
323 (mh-insert-mime-button, mh-insert-mime-security-button)
324 (mh-handle-set-external-undisplayer)
325 (mh-mime-security-press-button, mh-mime-security-show-details)
326 (mh-mml-attach-file, mh-mime-cleanup)
327 (mh-destroy-postponed-handles): Use new mh-* names for
328 compatibility functions.
329
330 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
331 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
332 (mh-beginning-of-word): Use the new name.
333 (mh-get-field): Delete ancient alias.
334
335 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
336 and rename to mh-face-foreground
337 (mh-face-background-compat): Move to mh-compat.el
338 and rename to mh-face-background.
339 (mh-face-display-function): Use the new names.
340 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
341 instead of url-hexify-string.
342 (url-unreserved-chars): Move to mh-compat.el and rename to
343 mh-url-unreserved-chars.
344 (url-hexify-string): Move to mh-compat.el and rename to
345 mh-url-hexify-string.
346
347 * mh-letter.el (mh-complete-word): Fix bug in call to
348 mh-display-completion-list. Wrong argument was passed, so
349 completions wouldn't show highlighted prefix.
350
a2c30782
BW
3512006-01-29 Bill Wohler <wohler@newt.com>
352
fd61b9ab
BW
353 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
354 mh-adaptive-cmd-note-flag.
355
090ccc5d
BW
356 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
357 docstring. sc-cite-original is autoloaded via loaddefs.el for all
358 supported versions. In addition, the package name "sc" has been
359 made obsolete by "supercite since at least Emacs 21.
360
3bdb2567
BW
361 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
362 revealed character constants that were still strings (closes SF
363 #770772).
364
a55f450f
BW
365 * mh-comp.el (mh-letter-hide-all-skipped-fields)
366 (mh-get-header-field): Move to mh-utils.el so that you can read
367 messages without having to load mh-comp.el and mh-letter.el.
368
369 * mh-letter.el (mh-hidden-header-keymap)
370 (mh-letter-toggle-header-field-display)
371 (mh-letter-skipped-header-field-p)
372 (mh-letter-skip-leading-whitespace-in-header-field)
373 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
374 can read messages without having to load mh-comp.el and
375 mh-letter.el.
376
377 * mh-utils.el (mh-get-header-field)
378 (mh-letter-hide-all-skipped-fields)
379 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
380 (mh-letter-toggle-header-field-display)
381 (mh-letter-skip-leading-whitespace-in-header-field)
382 (mh-letter-truncate-header-field): Move here from mh-comp.el and
383 mh-letter.el so that you can read messages without having to load
384 mh-comp.el and mh-letter.el.
385
a2c30782
BW
386 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
387 least, will deliver them to us.
388
389 * mh-e.el (mh-after-commands-processed-hook)
390 (mh-before-commands-processed-hook): Specify what sort of requests
391 in docstring.
392
393 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
394 minor-mode-alias.
395
396 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
397 to shush compiler.
398 (mh-letter-mode): Remove Mail menu.
399
dda00b2c
BW
4002006-01-29 Bill Wohler <wohler@newt.com>
401
402 The Great Cleanup
403 Remove circular dependencies. mh-e.el now includes few require
404 statements and stands alone. Other files should need to require
405 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
406 such as mh-scan.el.
407 Remove unneeded require statements.
408 Remove unneeded load statements, or replace them with non-fatal
409 require statements.
410 Break out components into their own files that were often spread
411 between many files.
412 As a result, many functions that are now only used within a single
413 file no longer need to be autoloaded.
414 Rearrange and provide consistent headings.
415 Untabify.
416
417 * mh-acros.el: Update commentary to reflect current usage. Add
418 autoload cookies to all macros.
419 (mh-require-cl): Merge docstring and comment.
420 (mh-do-in-xemacs): Fix typo in docstring.
421 (assoc-string): Move to new file mh-compat.el.
422 (with-mh-folder-updating, mh-in-show-buffer)
423 (mh-do-at-event-location, mh-seq-msgs): Move here from
424 mh-utils.el.
425 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
426 from mh-seq.el.
427
428 * mh-alias.el (mh-address-mail-regexp)
429 (mh-goto-address-find-address-at-point): Move here from
430 mh-utils.el.
431 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
432
433 * mh-buffers.el: Update descriptive text.
434
435 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
436 new file mh-scan.el.
437 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
438 (mh-letter-menu, mh-letter-mode-help-messages)
439 (mh-letter-buttons-init-flag, mh-letter-mode)
440 (mh-font-lock-field-data, mh-letter-header-end)
441 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
442 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
443 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
444 (mh-filter-out-non-text, mh-insert-prefix-string)
445 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
446 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
447 (mh-letter-complete, mh-letter-complete-or-space)
448 (mh-letter-confirm-address, mh-letter-header-field-at-point)
449 (mh-letter-next-header-field-or-indent)
450 (mh-letter-next-header-field, mh-letter-previous-header-field)
451 (mh-letter-skipped-header-field-p)
452 (mh-letter-skip-leading-whitespace-in-header-field)
453 (mh-hidden-header-keymap)
454 (mh-letter-toggle-header-field-display-button)
455 (mh-letter-toggle-header-field-display)
456 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
457 file mh-letter.el.
458 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
459 (mh-pgp-support-flag, mh-x-mailer-string)
460 (mh-letter-header-field-regexp): Move to mh-e.el.
461 (mh-goto-header-field, mh-goto-header-end)
462 (mh-extract-from-header-value, mh-beginning-of-word): Move to
463 mh-utils.el.
464 (mh-insert-header-separator): Move to mh-comp.el.
465 (mh-display-completion-list-compat): Move to new file
466 mh-compat.el.
467
468 * mh-compat.el: New file.
469 (assoc-string): Move here from mh-acros.el.
470 (mh-display-completion-list): Move here from mh-comp.el.
471
472 * mh-customize.el: Move content into mh-e.el and remove.
473
474 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
475 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
476 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
477 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
478 declared here so that they can be used in docstrings.
479 (mh-sent-from-folder, mh-sent-from-msg)
480 (mh-letter-header-field-regexp, mh-pgp-support-flag)
481 (mh-x-mailer-string): Move here from mh-comp.el.
482 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
483 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
484 here from mh-seq.el.
485 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
486 (mh-previous-window-config, mh-seen-list, mh-seq-list)
487 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
488 (mh-show-folder-buffer, mh-mail-header-separator)
489 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
490 (mh-signature-separator, mh-signature-separator-regexp)
491 (mh-list-to-string, mh-list-to-string-1): Move here from
492 mh-utils.el.
493 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
494 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
495 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
496 (mh-exec-cmd-output)
497 (mh-exchange-point-and-mark-preserving-active-mark)
498 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
499 deprecated file mh-exec.el.
500 (mh-path): Move here from deprecated file mh-customize.el.
501 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
502 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
503 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
504 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
505 (mh-profile-component-value, mh-defface-compat): Move here from
506 deprecated file mh-init.el.
507 (mh-goto-next-button, mh-folder-mime-action)
508 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
509 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
510 mh-mime.el.
511 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
512 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
513 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
514 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
515 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
516 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
517 (mh-scan-cmd-note-width, mh-scan-destination-width)
518 (mh-scan-date-width, mh-scan-date-flag-width)
519 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
520 (mh-scan-field-destination-offset)
521 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
522 (mh-scan-field-subject-start-offset, mh-scan-format)
523 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
524 mh-scan.el.
525 (mh-partial-folder-mode-line-annotation)
526 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
527 (mh-generate-sequence-font-lock, mh-last-destination)
528 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
529 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
530 (mh-execute-commands, mh-first-msg, mh-header-display)
531 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
532 (mh-folder-from-address, mh-prompt-for-refile-folder)
533 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
534 (mh-previous-page, mh-previous-undeleted-msg)
535 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
536 (mh-reset-threads-and-narrowing, mh-rescan-folder)
537 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
538 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
539 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
540 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
541 (mh-folder-sequence-menu, mh-folder-message-menu)
542 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
543 (mh-write-file-functions-compat, mh-folder-mode)
544 (mh-restore-desktop-buffer, mh-scan-folder)
545 (mh-regenerate-headers, mh-generate-new-cmd-note)
546 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
547 (mh-process-or-undo-commands, mh-process-commands)
548 (mh-update-unseen, mh-delete-scan-msgs)
549 (mh-outstanding-commands-p): Move to new file mh-folder.el.
550 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
551 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
552 (mh-lessp): Move to mh-utils.el.
553 (mh-parse-flist-output-line, mh-folder-size-folder)
554 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
555 (mh-remove-sequence-notation, mh-remove-cur-notation)
556 (mh-remove-all-notation, mh-delete-seq-locally)
557 (mh-read-folder-sequences, mh-read-msg-list)
558 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
559 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
560 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
561 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
562 (mh-xemacs-flag)
563 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
564 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
565 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
566 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
567 (mh-faces, mh-alias-completion-ignore-case-flag)
568 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
569 (mh-alias-insert-file, mh-alias-insertion-location)
570 (mh-alias-local-users, mh-alias-local-users-prefix)
571 (mh-alias-passwd-gecos-comma-separator-flag)
572 (mh-new-messages-folders, mh-ticked-messages-folders)
573 (mh-large-folder, mh-recenter-summary-flag)
574 (mh-recursive-folders-flag, mh-sortm-args)
575 (mh-default-folder-for-message-function, mh-default-folder-list)
576 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
577 (mh-identity-list, mh-auto-fields-list)
578 (mh-auto-fields-prompt-flag, mh-identity-default)
579 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
580 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
581 (mh-junk-background, mh-junk-disposition, mh-junk-program)
582 (mh-compose-insertion, mh-compose-skipped-header-fields)
583 (mh-compose-space-does-completion-flag)
584 (mh-delete-yanked-msg-window-flag)
585 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
586 (mh-letter-complete-function, mh-letter-fill-column)
587 (mh-mml-method-default, mh-signature-file-name)
588 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
589 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
590 (mh-scan-format-file-check, mh-scan-format-file)
591 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
592 (mh-search-program, mh-compose-forward-as-mime-flag)
593 (mh-compose-letter-function, mh-compose-prompt-flag)
594 (mh-forward-subject-format, mh-insert-x-mailer-flag)
595 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
596 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
597 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
598 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
599 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
600 (mh-display-buttons-for-inline-parts-flag)
601 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
602 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
603 (mh-highlight-citation-style)
604 (mh-invisible-header-fields-internal)
605 (mh-delay-invisible-header-generation-flag)
606 (mh-invisible-header-fields, mh-invisible-header-fields-default)
607 (mh-invisible-header-fields-compiled, mh-invisible-headers)
608 (mh-lpr-command-format, mh-max-inline-image-height)
609 (mh-max-inline-image-width, mh-mhl-format-file)
610 (mh-mime-save-parts-default-directory, mh-print-background-flag)
611 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
612 (mh-show-use-xface-flag, mh-store-default-directory)
613 (mh-summary-height, mh-speed-update-interval)
614 (mh-show-threads-flag, mh-tool-bar-search-function)
615 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
616 (mh-before-commands-processed-hook, mh-before-quit-hook)
617 (mh-before-send-letter-hook, mh-delete-msg-hook)
618 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
619 (mh-inc-folder-hook, mh-insert-signature-hook)
620 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
621 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
622 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
623 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
624 (mh-folder-address, mh-folder-body)
625 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
626 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
627 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
628 (mh-folder-subject, mh-folder-tick, mh-folder-to)
629 (mh-search-folder, mh-letter-header-field, mh-show-cc)
630 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
631 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
632 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
633 (mh-speedbar-folder-with-unseen-messages)
634 (mh-speedbar-selected-folder)
635 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
636 deprecated file mh-customize.el.
637
638 * mh-exec.el: Move content into mh-e.el and remove.
639
640 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
641
642 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
643 mh-scan.el.
644 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
645
646 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
647 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
648 to mail-abbrev-make-syntax-table.
649
650 * mh-identity.el (mh-identity-menu): New variable for existing
651 menu.
652 (mh-identity-make-menu-no-autoload): New alias for
653 mh-identity-make-menu which can be called from mh-e.el.
654 (mh-identity-list-set): Move to mh-e.el.
655 (mh-identity-add-menu): New function
656 (mh-insert-identity): Add optional argument maybe-insert so that
657 local variable mh-identity-local does not have to be visible.
658 (mh-identity-handler-default):
659
660 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
661 rest of keymaps). Update key binding for ? to call mh-help with
662 help messages in new argument.
663 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
664 which can be called from mh-e.el.
665 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
666
667 * mh-init.el: Move content into mh-e.el and remove.
668
669 * mh-junk.el: Update requires, untabify, and add mh-autoload
670 cookies.
671
672 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
673
674 * mh-limit.el: New file. Contains display limit commands from
675 mh-mime.el.
676
677 * mh-mime.el: Rearrange for consistency with other files.
678 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
679 mh-utils.el.
680 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
681 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
682 (mh-goto-next-button): Move here from mh-e.el.
683
684 * mh-print.el: Rearrange for consistency with other files.
685
686 * mh-scan.el: New file. Contains scan line constants and utilities
687 from XXX, mh-funcs, mh-utils.el.
688
689 * mh-search.el: Rearrange for consistency with other files.
690 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
691 fields which don't exist in the saved header. Replace C-c C-f f
692 with C-c C-f m per mail-mode consistency.
693 (mh-search-mode): Use mh-set-help instead of setting
694 mh-help-messages.
695
696 * mh-seq.el (mh-thread-message, mh-thread-container)
697 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
698 (mh-thread-id-index-map, mh-thread-index-id-map)
699 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
700 (mh-thread-subject-container-hash, mh-thread-duplicates)
701 (mh-thread-history, mh-thread-body-width)
702 (mh-thread-find-msg-subject mh-thread-initialize-hash)
703 (mh-thread-initialize, mh-thread-id-container)
704 (mh-thread-remove-parent-link, mh-thread-add-link)
705 (mh-thread-ancestor-p, mh-thread-get-message-container)
706 (mh-thread-get-message, mh-thread-canonicalize-id)
707 (mh-thread-prune-subject, mh-thread-container-subject)
708 (mh-thread-rewind-pruning, mh-thread-prune-containers)
709 (mh-thread-sort-containers, mh-thread-group-by-subject)
710 (mh-thread-process-in-reply-to, mh-thread-set-tables)
711 (mh-thread-update-id-index-maps, mh-thread-generate)
712 (mh-thread-inc, mh-thread-generate-scan-lines)
713 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
714 (mh-thread-add-spaces, mh-thread-print-scan-lines)
715 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
716 (mh-thread-current-indentation-level, mh-thread-next-sibling)
717 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
718 (mh-thread-ancestor, mh-thread-find-children)
719 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
720 to new file mh-thread.el.
721 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
722 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
723 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
724 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
725 (mh-current-message-header-field, mh-narrow-to-range)
726 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
727 mh-limit.el.
728 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
729 mh-acros.el.
730 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
731 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
732 (mh-define-sequence, mh-undefine-sequence)
733 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
734 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
735 (mh-parse-flist-output-line, mh-read-folder-sequences)
736 (mh-read-msg-list, mh-notate-user-sequences)
737 (mh-remove-cur-notation, mh-add-sequence-notation)
738 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
739 from mh-e.el.
740 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
741 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
742
743 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
744
745 * mh-speed.el: Rearrange for consistency with other files.
746
747 * mh-thread.el: New file. Contains threading code from mh-seq.el.
748
749 * mh-tool-bar.el: New file. Contains tool bar creation code from
750 deprecated file mh-customize.el.
751
752 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
753 longer needed.
754 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
755 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
756 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
757 (mh-update-scan-format, mh-msg-num-width): Move to new file
758 mh-scan.el.
759 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
760 (mh-header-field-font-lock, mh-header-to-font-lock)
761 (mh-header-cc-font-lock, mh-header-subject-font-lock)
762 (mh-show-font-lock-keywords)
763 (mh-show-font-lock-keywords-with-cite)
764 (mh-show-font-lock-fontify-region)
765 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
766 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
767 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
768 (mh-show-sequence-menu, mh-show-message-menu)
769 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
770 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
771 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
772 file mh-show.el.
773 (mh-mail-header-separator, mh-signature-separator-regexp)
774 (mh-signature-separator, mh-globals-hash, mh-user-path)
775 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
776 (mh-previous-window-config, mh-current-folder mh-show-buffer)
777 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
778 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
779 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
780 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
781 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
782 Move to mh-alias.el.
783 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
784 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
785 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
786 Move to new file mh-folder.el.
787 (with-mh-folder-updating, mh-in-show-buffer)
788 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
789 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
790 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
791 Moved to mh-seq.el.
792 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
793 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
794 (mh-face-background-compat, mh-face-display-function)
795 (mh-show-xface, mh-picon-directory-list)
796 (mh-picon-existing-directory-list)
797 (mh-picon-cache, mh-picon-image-types)
798 (mh-picon-set-directory-list, mh-picon-get-image)
799 (mh-picon-file-contents, mh-picon-generate-path)
800 (mh-x-image-cache-directory, mh-x-image-scaling-function)
801 (mh-wget-executable, mh-wget-choice, mh-wget-option)
802 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
803 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
804 (mh-x-image-scale-with-convert)
805 (url-unreserved-chars, url-hexify-string)
806 (mh-x-image-url-cache-canonicalize)
807 (mh-x-image-set-download-state, mh-x-image-get-download-state)
808 (mh-x-image-url-fetch-image, mh-x-image-display)
809 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
810 (mh-x-image-url-display): Move to new file mh-xface.el.
811 (mh-logo-display): Call mh-image-load-path.
812 (mh-find-path-run, mh-find-path): Move here from deprecated file
813 mh-init.el.
814 (mh-help-messages): Now an alist of modes to an alist of messages.
815 (mh-set-help): New function used to set mh-help-messages
816 (mh-help): Adjust for new format of mh-help-messages. Add
817 help-messages argument.
818 (mh-prefix-help): Refactor to use mh-help.
819 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
820 mh-e.el.
821 (mh-clear-sub-folders-cache): New function added to avoid exposing
822 mh-sub-folders-cache variable.
823
824 * mh-xface.el: New file. Contains X-Face and Face header field
825 display routines from mh-utils.el.
826
fe778a12
BW
8272006-01-17 Bill Wohler <wohler@newt.com>
828
829 * mh-acros.el (assoc-string): Fix typo in argument.
830
8d2aa237
BW
8312006-01-16 Bill Wohler <wohler@newt.com>
832
1e4db53b
BW
833 * mh-acros.el (require): Remove defadvice of require as defadvice
834 is verboten within Emacs and our implementation was returning the
835 wrong value from require. Upcoming restructuring should make this
836 unnecessary.
837 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
838
839 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
840 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
841
842 * mh-identity.el (mh-identity-field-handler): Use it.
843
8d2aa237
BW
844 * mh-comp.el (mh-show-buffer-message-number): Replace (car
845 (read-from-string string) with (string-to-number string).
846
847 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
848 Ditto.
849
850 * mh-mime.el (mh-mml-forward-message): Ditto.
851
852 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
853 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
854 (mh-openssl-parser, mh-index-update-maps): Ditto.
855
856 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
857 (mh-thread-generate): Ditto.
858
0af7621b 8592006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
9ac2e4e5
MB
860
861 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
0af7621b
BW
862 mm- functions for proper text=flowed handling (addresses SF
863 #1273521).
9ac2e4e5 864
30f24016
BW
8652006-01-15 Bill Wohler <wohler@newt.com>
866
fc77df2c
BW
867 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
868 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
869 / g.
870
871 * mh-utils.el (mh-show-limit-map): Ditto.
872
98eab4e4
BW
873 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
874 standalone compile.
875 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
876
877 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
878 where they are used.
879
30f24016
BW
880 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
881 needed to help remove dependency on mh-utils.
882
883 * mh-exec.el: New file. Move process support routines here from
884 mh-utils.el.
885
886 * mh-init.el (mh-utils): Remove require.
887 (mh-exec): Add require.
888 (mh-profile-component, mh-profile-component-value): Move here from
889 mh-utils.el.
890
891 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
892 dependencies on mh-utils.el.
893 (mh-profile-component, mh-profile-component-value): Move to
894 mh-init.el since that's the only place that uses them. (Other than
895 mh-alias.el; I'm thinking that mh-find-path can set variable from
896 the Aliasfile component like it does the other components).
897 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
898 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
899 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
900 (defvar, mh-exec-cmd-output)
901 (mh-exchange-point-and-mark-preserving-active-mark)
902 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
903 file mh-exec.el so that mh-init.el doesn't have to depend on
904 mh-utils.el, breaking circular dependency.
905
906 * mh-alias.el:
907 * mh-customize.el:
908 * mh-e.el:
909 * mh-funcs.el:
910 * mh-gnus.el:
911 * mh-identity.el:
912 * mh-inc.el:
913 * mh-junk.el:
914 * mh-mime.el:
915 * mh-print.el:
916 * mh-search.el:
917 * mh-seq.el:
918 * mh-speed.el: Added debugging statements (commented out) around
919 requires to help find dependency loops. Will remove them when
920 issues are resolved.
921
a4d7cec3
BW
9222006-01-14 Bill Wohler <wohler@newt.com>
923
924 * mh-customize.el (mh-index): Rename group to mh-search and sort
925 group definition and options accordingly.
926 (mh-index-program): Rename to mh-search-program.
927 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
928 mh-search-p.
929 (mh-search-mode-hook): Change group from mh-index to mh-search.
930 (mh-index-folder): Rename to mh-search-folder. Change group from
931 mh-index to mh-search.
932
933 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
934 to mh-search-folder.
935
936 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
937 pick and grep are searchers too but aren't indexed.
938 (mh-index-execute-search-function): Rename to mh-search-function.
939 (mh-index-next-result-function): Rename to
940 mh-search-next-result-function.
941 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
942 (mh-search): Since redo-search-flag defaults to nil and is of
943 lesser importance, make it an optional argument and place it after
944 the folder and search-regexp arguments. Sync docstring with
945 manual.
946 (mh-search-mode-map): Autoload so that keys are shown in help even
947 before mh-search is loaded.
948 (mh-search-mode): Sync docstring with manual.
949 (mh-index-do-search): Rename argument indexer to searcher. Sync
950 docstring with manual.
951 (mh-pick-do-search): Sync docstring with manual.
952 (mh-index-p): Rename to mh-search-p.
953 (mh-indexer-choices): Rename to mh-search-choices.
954 (mh-index-choose): Rename to mh-search-choose. Rename argument
955 indexer to searcher.
956 (mh-swish++-execute-search, mh-swish-execute-search)
957 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
958 read the results" from docstring since these functions don't.
959 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
960 with manual.
961 (mh-index-generate-pretty-name): Prune -search from string so that
962 folder names for pick searches are the same as those of other
963 searches.
964
11db987f
BW
9652006-01-13 Bill Wohler <wohler@newt.com>
966
4501e6fb
BW
967 * mh-acros.el (require): Added Satyaki's comment regarding what
968 needs to happen to remove this defadvice which caused a little
969 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
970 advices `require' incorrectly).
971
11db987f
BW
972 * mh-search.el (mh-index-next-result-function): Add format to
973 docstring.
974 (mh-mairix-next-result): Use nil instead of () which doesn't stand
975 out as well.
976 (mh-pick-execute-search): Operate across all folders if no folder
977 given and recurse folder(s).
978 (mh-pick-next-result): Handle new output.
979
980 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
981 (mh-children-p, mh-folder-list): New functions.
982
44140699
BW
9832006-01-12 Bill Wohler <wohler@newt.com>
984
985 * mh-search.el: New file containing contents of mh-index.el and
986 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
987 pick. Pick no longer sets the "search" sequence. Instead, it
988 brings up a folder view that we're accustomed to. (closes SF
989 #829207).
990 (mh-index-search): Rename to mh-search.
991 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
992 the Search to Perform Search and call mh-do-search. Add Search
993 with Pick menu item.
994 (mh-do-search): Delete.
995 (mh-search-mode): Rename from mh-pick-mode.
996 (MH-Search): Rename mode from MH-Pick.
997 (mh-search-mode-map): Rename from mh-pick-mode-map.
998 (mh-search-mode-help-messages): Rename from
999 mh-pick-mode-help-messages.
1000 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1001 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1002 stay with that choice!
1003
1004 * mh-index.el:
1005 * mh-pick.el: Merge into mh-search.el and delete.
1006
1007 * mh-customize.el (mh-index-program): Change mh-index-search to
1008 mh-search in docstring.
1009 (mh-tool-bar-search-function): Change default from
1010 mh-search-folder to mh-search. Remove mh-search-folder as choice
1011 and rename mh-index-search choice to mh-search. Fix docstring.
1012 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1013 mh-search-folder to mh-search in docstring.
1014
1015 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1016 Indexed Search to Search. Use mh-search instead of
1017 mh-index-search.
1018 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1019 from mh-show-search-folder to mh-search.
1020
1021 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1022 mh-search-folder no longer creates the search sequence.
1023
1024 * mh-utils.el (mh-show-search-folder): Delete.
1025 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1026 Change s from mh-show-search-folder to mh-search.
1027 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1028 Search to Search. Use mh-search instead of mh-index-search.
1029 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1030 here from deleted mh-index.el.
1031
e1fbc812
BW
10322006-01-11 Bill Wohler <wohler@newt.com>
1033
549afb31
BW
1034 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1035 from mh-gnus.el.
1036
1037 * mh-gnus.el: Require mh-acros.
1038 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1039
1040 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1041 url-hexify-string to remove special characters from filenames
1042 (closes SF #1396499). Note that this invalidates the existing
1043 names in your cache so you might as well remove
1044 ~/Mail/.mhe-x-image-cache/* now.
1045 (url-unreserved-chars, url-hexify-string): Define if not defined.
1046 Copied from url-util.el in Emacs22 for Emacs 21.
1047
9c2cf222
BW
1048 * mh-buffers.el: New file. Contains constants and code from
1049 mh-index.el and mh-utils.el.
1050
1051 * mh-alias.el:
1052 * mh-comp.el:
1053 * mh-e.el:
1054 * mh-funcs.el:
1055 * mh-init.el:
1056 * mh-junk.el:
1057 * mh-mime.el:
1058 * mh-print.el:
1059 * mh-seq.el: Require new file mh-buffers.el.
1060
1061 * mh-index.el: Require new file mh-buffers.el.
1062 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1063 mh-buffers.el.
1064
1065 * mh-utils.el: Require new file mh-buffers.el.
1066 (mh-temp-buffer, mh-temp-fetch-buffer)
1067 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1068 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1069 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1070 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1071
00b6a079
BW
1072 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1073 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1074
191c8741
BW
10752006-01-10 Bill Wohler <wohler@newt.com>
1076
c2134792 1077 * mh-comp.el (mh-insert-letter): If you choose a different folder,
e1fbc812
BW
1078 the cur message is used. Sync docstring with manual (closes SF
1079 #1205890).
c2134792
BW
1080
1081 * mh-mime.el (mh-compose-forward): Use standard range argument
1082 instead of messages. Use more powerful mh-read-range instead of
1083 read-string. Sync docstring with manual (close SF #1205890).
1084
191c8741
BW
1085 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1086 unnecessary.
2898111c
BW
1087 (mh-index-next-folder): Don't back up a line when going backwards
1088 since this skips the current folder heading if point is on the
1089 first message after the folder heading (closes SF #1126188).
191c8741
BW
1090
1091 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1092 it.
1093 (mh-variants): Note variable isn't meant to be accessed directly;
1094 use function mh-variants instead.
1095 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1096 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1097 them. Updated to use mh-file-command-p which is more accurrate
1098 than file-executable-p which returns t for directories.
1099 (mh-file-command-p): Move here from mh-utils, since
1100 mh-variant-*-info are the only functions to use it.
1101 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1102 function mh-variants instead of variable. More robust.
1103 (mh-find-path-run): Move here from mh-utils.el. Mention that
1104 checking this variable is unnecessary.
1105 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1106 variants and an mhparam command that doesn't work if there isn't
1107 an MH profile, we can't get libdir for running install-mh. So
1108 don't bother. If there's an issue with the environment, direct the
1109 user to install MH and run install-mh (closes SF #835192). Don't
1110 read ~/.mh_profile directly. Use mh-profile-component which uses
1111 mhparam (closes SF #1016027).
1112
1113 * mh-utils.el (mh-get-profile-field): Rename to
1114 mh-profile-component-value. Add colon to search removing
1115 unnecessary addition of colon to field in mh-profile-component.
1116 (mh-profile-component): Modify call to mh-profile-component-value
1117 accordingly. Move next to mh-profile-component-value.
1118 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1119 mh-init.el. It makes sense that code that is only run once per
1120 session (more or less) is in mh-init.el rather than cluttering
1121 mh-utils.el.
1122 (mh-no-install, mh-install): Delete.
1123
1124 * mh-customize.el (mh-folder-msg-number):
1125 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1126
04f6a2d1
BW
11272006-01-09 Bill Wohler <wohler@newt.com>
1128
b981c52c
BW
1129 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1130 patch from Satyaki from SF #1016027.
1131
8f9efec8
BW
1132 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1133 message, even if cur sequence is no longer present (closes SF
1134 #1207247).
1135
b6d8f743
BW
1136 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1137 Mark's suggestion.
1138 (mh-letter-mode): Derive from mail-mode and delete code copied
1139 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1140 docstring.
1141 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1142 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1143 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1144 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1145 (mh-to-fcc): Move setting of folder argument to interactive
1146 argument as is the norm.
1147 (mh-letter-complete-function-alist): Add mail-reply-to.
1148 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1149 Mail-Followup-To, Reply-To, From).
1150
90866475
BW
1151 * mh-customize.el: Use ";; Forward definition." consistently.
1152 Comment declaration to remind programmer to update forward
1153 definition if default changes.
1154
04f6a2d1
BW
1155 * mh-funcs.el:
1156 * mh-inc.el:
1157 * mh-init.el:
1158 * mh-mime.el:
1159 * mh-seq.el:
1160 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1161 Mark's suggestion.
1162
7094eefe
BW
11632006-01-08 Bill Wohler <wohler@newt.com>
1164
1165 Removed code that was marked as Emacs 20 compatible that was
1166 easily found showing how important it is to document such
1167 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1168 peculiarities that you find. Wrapped code for shushing compiler
1169 with (eval-when-compile), sometimes moving the defvars closer to
1170 where they were used.
1171
1172 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1173 instead of mh-replace-in-string as mh-replace-in-string was
1174 replaced by a more appropriate defsubst in mh-xemacs.el.
1175
1176 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1177 eval-when-compile.
1178 (mh-file-is-vcard-p): Removed redundant test.
1179
1180 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1181 with eval-when-compile.
1182 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1183 (mh-invisible-header-fields-default): Add forward definitions.
1184 (mh-invisible-header-fields-default): Alphabetize.
1185
1186 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1187 eval-when-compile.
1188 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1189 variables.
1190 (mh-colors-available-p): Just call display-color-cells. It's on
1191 all supported Emacsen (and defaliased on XEmacs).
1192
1193 * mh-funcs.el:
1194 * mh-inc.el:
1195 * mh-init.el: Wrap compiler-shushing defvars with
1196 eval-when-compile.
1197
1198 * mh-identity.el: Don't need (mh-require-cl).
1199
1200 * mh-index.el: Don't need to load executable any more.
1201
1202 * mh-mime.el: Wrap compiler-shushing defvars with
1203 eval-when-compile.
1204 (mh-have-file-command): Initialize variable to 'undefined. Add
1205 docstring. Update function of same name accordingly. Also don't
1206 need to load executable any more.
1207 (mh-mime-content-types): Delete.
1208 (mh-minibuffer-read-type): Prompt user for type if
1209 mh-file-mime-type returns application/octet-stream. Assume we have
1210 mailcap-mime-types.
1211 (mh-mime-display): Update error message.
1212
1213 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1214 with eval-when-compile.
1215
1216 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1217 with eval-when-compile.
1218 (mh-clean-msg-header): Don't set after-change-functions to nil.
1219 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1220 instead.
1221
98b7b7ed
BW
12222006-01-07 Bill Wohler <wohler@newt.com>
1223
3af622d5
BW
1224 * mh-customize.el: Updated Faces documentation in header.
1225 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1226 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1227
98b7b7ed
BW
1228 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1229 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1230 #1399307).
1231
836f2863
MB
12322006-01-03 Mark D. Baushke <mdb@gnu.org>
1233
1234 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1235 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1236
e69d4e02
BW
12372006-01-03 Bill Wohler <wohler@newt.com>
1238
f9c53c97
BW
1239 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1240 unification. Use single sentence if possible by using semicolon.
1241 Don't end message with punctuation. Don't need format with
1242 message. Quote messages as in docstrings: use `' around symbols,
1243 \" for option choices. Don't use quotes around %s.
1244
1245 * mh-comp.el (mh-complete-word): Ditto.
1246
1247 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1248 (mh-scan-format-file-check): Ditto.
1249
1250 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1251 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1252 (mh-msg-num-width-to-column): Ditto.
1253
1254 * mh-identity.el (mh-identity-field-handler): Ditto.
1255
1256 * mh-index.el (mh-mairix-execute-search)
1257 (mh-swish-execute-search, mh-swish++-execute-search)
1258 (mh-namazu-execute-search): Ditto.
1259
1260 * mh-init.el (mh-variant-set): Ditto.
1261
1262 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1263 (mh-secure-message, mh-mime-display): Ditto.
1264
1265 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1266
1267 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1268 (mh-read-range, mh-thread-container-subject): Ditto.
1269
1270 * mh-utils.el (mh-x-image-scale-and-display)
1271 (mh-prompt-for-folder, mh-handle-process-error)
1272 (mh-list-to-string-1): Ditto.
1273
078cb314
BW
1274 * mh-comp.el (mh-reply): Use standard default notation in
1275 prompts (closes SF #1275933).
1276
1277 * mh-mime.el (mh-mime-save-parts): Ditto.
1278
1279 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1280
355ebcbf
BW
1281 * mh-customize.el (mh-folder-msg-number): Snow is actually
1282 off-white on low color displays which turns to white when bold.
1283 This is unreadable on white backgrounds. Use snow with min-colors
1284 requirement. Use cyan on low-color displays.
1285
1286 * mh-init.el (mh-defface-compat): On low-color displays, delete
1287 the high-color display rather than simply strip the min-colors
1288 requirement since the existing algorithm shadowed the desired
1289 display on low-color displays.
1290
e69d4e02
BW
1291 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1292 docstring.
1293
af435184
BW
12942006-01-02 Bill Wohler <wohler@newt.com>
1295
1296 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1297 docstring. Does this mean something in a defun?
1298
1299 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1300 Checkdoc fix.
1301
1302 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1303 so it reads better in docstring and manual. Sync docstring with
1304 manual.
1305
1306 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1307
1308 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1309
1310 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1311 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1312 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1313 (mh-letter-complete-or-space, mh-letter-confirm-address)
1314 (mh-letter-next-header-field-or-indent)
1315 (mh-letter-previous-header-field): Ditto.
1316
1317 * mh-customize.el (mh-alias-completion-ignore-case-flag)
1318 (mh-default-folder-for-message-function, mh-mml-method-default)
1319 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
1320 (mh-show-mode-hook) Ditto.
1321
1322 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
1323
1324 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
1325 (mh-store-msg, mh-store-buffer): Ditto
1326
1327 * mh-index.el (mh-index-search, mh-index-do-search)
1328 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
1329
1330 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
1331
1332 * mh-mime.el (mh-mh-compose-external-compressed-tar)
1333 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
1334 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1335 (mh-mml-secure-message-signencrypt): Ditto
1336
1337 * mh-pick.el (mh-search-folder): Ditto.
1338
1339 * mh-seq.el (mh-widen): Ditto.
1340
1341 * mh-utils.el (mh-show, mh-modify): Ditto.
1342
285d1e0c
MB
13432006-01-02 Mark D. Baushke <mdb@gnu.org>
1344
1345 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
1346
d49ed7d4
BW
13472006-01-01 Bill Wohler <wohler@newt.com>
1348
1349 * mh-customize.el: Sync docstrings with manual for faces and sort
1350 them alphabetically.
1351 (mh-faces): Move below mh-hooks.
1352 (mh-folder-faces, mh-index-faces, mh-letter-faces)
1353 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
1354 hooks.
1355 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
1356 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
1357 (mh-folder-body-face, mh-folder-cur-msg-face)
1358 (mh-folder-cur-msg-number-face, mh-folder-date-face)
1359 (mh-folder-followup-face, mh-folder-msg-number-face)
1360 (mh-folder-deleted-face, mh-folder-refiled-face)
1361 (mh-folder-subject-face, mh-folder-address-face)
1362 (mh-folder-scan-format-face, mh-folder-to-face)
1363 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
1364 (mh-show-header-face, mh-show-pgg-good-face)
1365 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
1366 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
1367 Delete.
1368 (mh-folder-cur-msg): Unused. Delete.
1369 (mh-folder-address): Use defface; inherit from mh-folder-subject.
1370 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
1371 Inherit from mh-folder-msg-number.
1372 (mh-folder-deleted): Use defface. Inherit from
1373 mh-folder-msg-number.
1374 (mh-folder-sent-to-me-hint): New face. Inherit from
1375 mh-folder-date.
1376 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
1377 Use defface. Inherit from mh-folder-followup.
1378 (mh-show-xface): Inherit from mh-show-from and highlight.
1379 (bw-face-generation, bw-toggle-faces)
1380 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
1381 variables, functions for toggling between old and new faces.
1382
1383 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
1384 eval-when-compile. We should probably do this throughout.
1385 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1386 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
1387 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1388 (mh-scan-subject-regexp): Sync docstrings with manual
1389 (mh-scan-format-regexp): Rename to
1390 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
1391 expression. Make expression more like the others (anchored at the
1392 beginning of line). Sync docstrings with manual.
1393 (mh-folder-font-lock-keywords): Use faces directly rather than
1394 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
1395 mh-scan-format-regexp, and within that expression, use faces
1396 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
1397 of mh-folder-date-face and mh-folder-scan-format-face which were
1398 misleading.
1399
1400 * mh-mime.el (mh-mime-security-button-face): Use faces directly
1401 rather than -face variables.
1402
1403 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
1404 rather than -face variables.
1405 (mh-face-foreground-compat, mh-face-background-compat): New macros.
1406 (mh-face-display-function): Use mh-face-foreground-compat and
1407 mh-face-background-compat to use inherited attributes of
1408 mh-show-xface on Emacs 22 while still working on Emacs 21.
1409
0d887b77
BW
14102005-12-28 Bill Wohler <wohler@newt.com>
1411
1412 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
1413 mh-user-agent-compose instead of mh-smail-batch.
1414
13fe29bd
BW
14152005-12-27 Bill Wohler <wohler@newt.com>
1416
1417 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
1418 suppress creation of folder if it doesn't exist.
1419
2bd87afb
SM
14202005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
1423
5a4aad03
BW
14242005-12-23 Bill Wohler <wohler@newt.com>
1425
7ba8dffd
BW
1426 * mh-e.el (mh-folders-changed): Fix typo in docstring.
1427
13fe29bd
BW
1428 Follow MH-E Developers Guide conventions. Use `' quotes for Help
1429 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
1430 everything else. Otherwise, you can accidently get links to
5a4aad03 1431 nonsense symbols.
2bd87afb 1432
d1699462
BW
14332005-12-22 Bill Wohler <wohler@newt.com>
1434
13fe29bd 1435 Follow Emacs coding conventions. Use default setting of
2dcf34f9 1436 emacs-lisp-docstring-fill-column which is 65.
2bd87afb 1437
d1699462
BW
1438 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
1439
1440 * mh-comp.el (mh-letter-mode): Use 60 column width.
1441 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
1442 with manual.
1443 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
1444 you have added a mail-citation-hook and neither are used if you
13fe29bd
BW
1445 use one of the supercite flavors of mh-yank-behavior. Sync
1446 docstrings with manual.
d1699462 1447
13fe29bd
BW
1448 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
1449 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
1450 hook. Use "Hook run by `function'..." instead of "Invoked...".
d1699462
BW
1451 Sync docstrings with manual.
1452 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
1453 mh-ins-buf-prefix isn't used if you have added a
1454 mail-citation-hook and neither are used if you use one of the
13fe29bd
BW
1455 supercite flavors of mh-yank-behavior. Sync docstrings with
1456 manual.
1457 (mail-citation-hook): Delete. Use one in sendmail.el.
d1699462
BW
1458 (mh-signature-file-name, mh-after-commands-processed-hook)
1459 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
1460 (mh-before-quit-hook, mh-before-send-letter-hook)
1461 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
1462 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
1463 (mh-letter-mode-hook)
1464 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
1465 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1466 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
13fe29bd 1467 of "Invoked...". Sync docstrings with manual.
d1699462
BW
1468
1469 * mh-e.el (mh-last-destination, mh-last-destination-folder)
1470 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
1471 (mh-delete-list, mh-refile-list, mh-folders-changed)
1472 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
1473 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
1474 (mh-mode-line-annotation, mh-sequence-notation-history)
1475 (mh-colors-available-flag): Move comment into docstring.
2bd87afb
SM
1476 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
1477 (mh-process-commands): Sync docstrings with manual.
d1699462
BW
1478 (mh-refile-msg): Small doc edit.
1479 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
1480 Rename msg argument to message.
1481
1482 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
1483
1484 * mh-e.el (mh-update-unseen): No longer say "The value of
1485 `foo-hook' is a list of functions to be called, with no arguments,
1486 ...," but rather just "The hook foo-hook is called...".
1487
2bd87afb 1488 * mh-mime.el (mh-mh-to-mime): Ditto.
d1699462
BW
1489
1490 * mh-pick.el (mh-pick-mode): Ditto.
1491
1492 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
1493 docstring.
1494 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
1495 into docstring.
13fe29bd
BW
1496 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
1497 manual.
d1699462 1498
2bd87afb 14992005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2953de8c 1500
13fe29bd
BW
1501 * mh-customize.el (mh-after-commands-processed-hook): New
1502 variable.
1503 (mh-before-commands-processed-hook): Rename
1504 mh-folder-updated-hook.
2953de8c 1505
13fe29bd
BW
1506 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
1507 mh-before-commands-processed-hook, call new
2953de8c
SG
1508 mh-after-commands-processed-hook.
1509 (mh-folders-changed): New variable (for use in
1510 mh-after-commands-processed-hook).
1511
cee9f5c6
BW
15122005-12-19 Bill Wohler <wohler@newt.com>
1513
1514 * mh-acros.el:
1515 * mh-alias.el:
1516 * mh-comp.el:
1517 * mh-customize.el:
1518 * mh-e.el:
1519 * mh-funcs.el:
1520 * mh-gnus.el:
1521 * mh-identity.el:
1522 * mh-inc.el:
1523 * mh-index.el:
1524 * mh-init.el:
1525 * mh-junk.el:
1526 * mh-mime.el:
1527 * mh-pick.el:
1528 * mh-print.el:
1529 * mh-seq.el:
1530 * mh-speed.el:
1531 * mh-utils.el:
13fe29bd
BW
1532 Follow commenting conventions. Don't use ;;; form so much, except
1533 for headings. Precede headings with page feed. This was mostly
1534 already done, so I made it a convention. Did not update copyright
cee9f5c6
BW
1535 on a couple of files since this was an insignificant change.
1536
fa4075e3
BW
15372005-12-18 Bill Wohler <wohler@newt.com>
1538
1539 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
1540 (mh-tool-bar-search-function): Sync docstrings with manual.
13fe29bd
BW
1541 (mh-tool-bar-customize): Replace toolbar with tool bar in
1542 docstring.
fa4075e3
BW
1543 (mh-tool-bar-letter-help): Fix manual reference.
1544 (mh-xemacs-use-toolbar-flag): Rename to
13fe29bd
BW
1545 mh-xemacs-use-tool-bar-flag. Initialize to
1546 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
fa4075e3 1547 (mh-xemacs-toolbar-position): Rename to
13fe29bd 1548 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
fa4075e3
BW
1549 option (redundant) and change "Same As Default Tool Bar" setting
1550 to nil. Sync docstrings with manual.
1551 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
1552 depending on context.
13fe29bd
BW
1553 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
1554 for calling set-specifier. Only look at the value of
1555 mh-xemacs-use-tool-bar-flag.
1556 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
1557 docstrings with manual.
fa4075e3
BW
1558
1559 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
1560 mh-toolbar-init.
1561
1562 * mh-e.el (mh-folder-mode): Ditto.
1563
1564 * mh-utils.el (mh-show-mode): Ditto.
1565
7a5df5a9
BW
15662005-12-15 Bill Wohler <wohler@newt.com>
1567
1568 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
1569
1570 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
1571 (mh-thread-previous-sibling, mh-thread-ancestor)
1572 (mh-thread-delete, mh-thread-refile): Ditto.
1573
6b960c10
BW
15742005-12-14 Bill Wohler <wohler@newt.com>
1575
1576 * mh-customize.el (mh-speed-flists-interval): Rename to
1577 mh-speed-update-interval.
13fe29bd
BW
1578 (mh-speed-run-flists-flag): Delete. Setting
1579 mh-speed-flists-interval to 0 accomplishes the same thing.
6b960c10 1580
13fe29bd
BW
1581 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
1582 mh-speed-update-interval instead of mh-speed-run-flists-flag.
1583 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
1584 docstrings with manual.
6b960c10 1585
97c688ed
BW
15862005-12-09 Bill Wohler <wohler@newt.com>
1587
1588 * mh-customize.el (mh-path): Move here from mh-init.el.
1589 (mh-variant): Mention that mh-path can be customized.
1590 (mh-invisible-header-fields-internal): Add X-ContentStamp,
1591 X-MAIL-INFO, and X-UNTD- from NetZero.
1592
1593 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
1594
2be362c2
BW
15952005-12-04 Bill Wohler <wohler@newt.com>
1596
f15ced66
BW
1597 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
1598 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
1599 X-Virus-Scanned.
2bd87afb 1600
13fe29bd
BW
1601 * mh-customize.el (mh-insert-signature-hook): Rename
1602 mh-letter-insert-signature-hook to mh-insert-signature-hook.
f15ced66
BW
1603
1604 * mh-comp.el (mh-insert-signature): Ditto.
1605
56128d97 1606 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
13fe29bd 1607 to nil. Remove t option. Sync docstring with manual (closes SF
56128d97
BW
1608 #831278).
1609 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
1610 users can see it, look it up in the manual's index, and discover
1611 mh-fetch-x-image-url (closes SF #831278).
a932ce45 1612
a8a47814
BW
1613 * mh-customize.el (mh-new-messages-folders): Rename from
1614 mh-index-new-messages-folders.
1615 (mh-ticked-messages-folders): Rename from
1616 mh-index-ticked-messages-folders.
2bd87afb 1617
a8a47814
BW
1618 * mh-index.el (mh-index-sequenced-messages)
1619 (mh-index-new-messages): Ditto.
1620
2be362c2 1621 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
13fe29bd 1622 in the docstrings and made usage consistent. Generally speaking,
2be362c2 1623 "messages in range" and "range of messages" is redundant and just
13fe29bd 1624 "range" can be used in most circumstances. Also ensured that
2be362c2 1625 mh-interactive-range was mentioned in all interactive functions
f15ced66
BW
1626 that use a range which describes the range argument for both users
1627 and programmers.
2be362c2
BW
1628
1629 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
1630 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
1631 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
13fe29bd
BW
1632 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
1633 Ditto.
2be362c2 1634
13fe29bd
BW
1635 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
1636 Ditto.
2be362c2
BW
1637
1638 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
1639
1640 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
1641 (mh-ps-print-msg-file, mh-print-msg): Ditto.
1642
1643 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
1644 (mh-narrow-to-range, mh-toggle-tick): Ditto.
1645
553fb735
BW
16462005-12-01 Bill Wohler <wohler@newt.com>
1647
1648 Rewrote Reading Mail chapter in manual which affected mh-show
1649 customization group and related functions.
2bd87afb 1650
553fb735
BW
1651 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
1652 instead of mh-highlight-citation-p.
1653 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
1654 I think, so use "truncated".
1655
1656 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
13fe29bd 1657 section is Folders, not Organizing. Parent of mh-folder-faces is
553fb735
BW
1658 mh-folder, not mh-show.
1659 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
1660 (mh-thread): New group that corresponds with manual's Threading
1661 chapter.
1662 (mh-letter-faces): Group's manual section is Editing Drafts, not
1663 Sending Mail.
13fe29bd
BW
1664 (mh-sortm-args): New customization variable that used to be a
1665 defvar.
553fb735
BW
1666 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
1667 Move from mh-index group to mh-folders group.
1668 (mh-alias-local-users-prefix, mh-large-folder)
1669 (mh-recursive-folders-flag, mh-before-quit-hook)
1670 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
1671 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
1672 mh-folder group.
1673 (mh-highlight-citation-style): Rename from
13fe29bd
BW
1674 mh-highlight-citation-p. Sync docstrings with manual.
1675 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
553fb735 1676 with manual.
13fe29bd
BW
1677 (mh-show-threads-flag): Move from mh-show group to mh-thread
1678 group.
553fb735
BW
1679 (mh-find-path-hook): Move from mh-show group to mh-e group.
1680 (mh-folder-updated-hook): Add to mh-folder group.
1681 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
1682 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
1683 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1684 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1685 (mh-display-buttons-for-inline-parts-flag)
1686 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1687 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1688 (mh-invisible-header-fields-default, mh-invisible-header-fields)
1689 (mh-lpr-command-format, mh-max-inline-image-height)
1690 (mh-max-inline-image-width)
1691 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1692 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1693 (mh-show-use-xface-flag, mh-store-default-directory)
1694 (mh-summary-height, mh-delete-msg-hook
1695 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2bd87afb 1696
553fb735
BW
1697 * mh-e.el
1698 (mh-scan-format-mh, mh-scan-good-msg-regexp)
1699 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
13fe29bd
BW
1700 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
1701 non-fontification instead of non-fontifying.
553fb735 1702 (mh-header-display): Use mh-mhl-format-file instead of
13fe29bd 1703 mhl-formfile. Sync docstrings with manual.
553fb735 1704 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
13fe29bd 1705 count. Sync docstrings with manual.
553fb735 1706 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
13fe29bd
BW
1707 so that message doesn't change when using this command. Sync
1708 docstrings with manual.
1709 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
1710 docstrings with manual.
1711 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
1712 to no-header. Sync docstrings with manual.
553fb735
BW
1713 (mh-ps-print-map): Delete keybindings for deleted commands
1714 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2bd87afb 1715 (mh-help-messages): Update printing help.
553fb735
BW
1716 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
1717 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
1718 (mh-prev-button, mh-folder-toggle-mime-part)
1719 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1720 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
1721 manual.
1722
13fe29bd
BW
1723 * mh-funcs.el (mh-sortm-args): Now a customization option and in
1724 mh-customize.el.
1725 (mh-pipe-msg): Rename include-headers to include-header. Sync
1726 docstrings with manual.
553fb735
BW
1727 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
1728 (mh-store-msg): Sync docstrings with manual.
1729
13fe29bd
BW
1730 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
1731 docstrings with manual.
553fb735
BW
1732 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
1733 Sync docstrings with manual.
13fe29bd
BW
1734 (mh-mm-display-part, mh-mm-inline-message): Use
1735 mh-highlight-citation-style instead of mh-highlight-citation-p.
553fb735
BW
1736 (mh-press-button): Sync docstrings with manual.
1737 (mh-display-with-external-viewer): Fix default output in
13fe29bd 1738 minibuffer. Sync docstrings with manual.
553fb735 1739
13fe29bd
BW
1740 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
1741 Delete.
553fb735
BW
1742 (mh-ps-print-color-option): Incorporate docstring from
1743 ps-print-color-p.
13fe29bd
BW
1744 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
1745 docstring.
1746 (mh-ps-spool-msg): Slimline docstring. Rename from
1747 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
1748 available.
553fb735
BW
1749 (mh-ps-print-range): Extract method from common code in
1750 mh-ps-print-msg and mh-ps-print-msg-file.
13fe29bd
BW
1751 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
1752 (mh-ps-print-msg-show): Delete. Can use either
553fb735
BW
1753 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
1754 new code in mh-ps-spool-msg.
1755 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
1756 Sync docstrings with manual.
1757 (mh-ps-print-msg, mh-ps-print-msg-file)
13fe29bd
BW
1758 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
1759 docstrings with manual.
553fb735 1760
2bd87afb 1761 * mh-utils.el (mh-show-ps-print-msg-show)
553fb735 1762 mh-show-ps-print-toggle-mime): Delete.
2bd87afb 1763 (mh-show-ps-print-map): Update accordingly.
553fb735
BW
1764 (mh-show-mode): Use mh-highlight-citation-style instead of
1765 mh-highlight-citation-p.
1766 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
1767 mhl-formfile.
13fe29bd
BW
1768 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
1769 docstrings with manual.
1770 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
1771 docstrings with manual.
553fb735
BW
1772
17732005-12-01 Bill Wohler <wohler@newt.com>
1774
1775 * mh-init.el (mh-defface-compat): Checkdoc fix.
1776
1777 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
13fe29bd
BW
1778 Bogofilter is lowercase except at beginning of sentence and in
1779 titles.
553fb735 1780
94abd6b7
BW
17812005-11-04 Bill Wohler <wohler@newt.com>
1782
6b19bd82
BW
1783 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
1784 Move to mh-init.el to minimize bulk of mh-customize.el.
1785
1786 * mh-init.el: Modify commentary since file is used for load and
1787 initialization as well as setting and getting the variant.
13fe29bd
BW
1788 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
1789 mh-customize.el.
6b19bd82 1790
13fe29bd
BW
1791 * mh-customize.el: Refactor faces. Move grayscale requirements
1792 last before t. Use uniform line breaks.
3d2efec2 1793 (mh-min-colors-defined-flag): New variable.
13fe29bd 1794 (mh-defface-compat): New function. Provides backward compatibility
3d2efec2 1795 for face specs.
2bd87afb
SM
1796 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
1797 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
3d2efec2 1798 (mh-folder-body): Use mh-defface-compat.
94abd6b7 1799
b07e0686
DN
18002005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
1801
1802 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
1803 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
1804 (mh-folder-to-face): Use the min-colors attribute instead of the
1805 type attribute.
1806
be33fce4
BW
18072005-11-03 Bill Wohler <wohler@newt.com>
1808
1809 * mh-customize.el (mh-refile-preserves-sequences-flag)
13fe29bd
BW
1810 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
1811 docstrings with manual.
be33fce4
BW
1812
1813 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
1814
2bd87afb 1815 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
be33fce4
BW
1816 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
1817 with manual.
1818
93eece98
BW
18192005-11-01 Bill Wohler <wohler@newt.com>
1820
13fe29bd
BW
1821 * mh-comp.el (mh-redist-full-contents) Convert defvar to
1822 defcustom.
b2064e08
BW
1823 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
1824 (mh-reply, mh-send, mh-send-other-window)
1825 (mh-fill-paragraph-function): Sync docstrings with manual.
13fe29bd
BW
1826 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
1827 msg argument to message (to make for a better docstring).
b2064e08
BW
1828
1829 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
13fe29bd 1830 to defcustom. Rename by adding -flag.
b2064e08
BW
1831 (mh-compose-forward-as-mime-flag)
1832 (mh-compose-letter-function, mh-forward-subject-format)
1833 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
1834 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
1835 with manual.
1836
2bd87afb 1837 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
93eece98 1838 (mh-ps-print-msg): Remove debugging messages.
2bd87afb 1839 (mh-ps-print-msg-show, mh-ps-print-msg-show)
93eece98
BW
1840 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
1841 after message per conventions.
1842
fefc5079
BW
18432005-10-30 Bill Wohler <wohler@newt.com>
1844
2bd87afb 1845 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
13fe29bd
BW
1846 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
1847 docstrings with manual.
ece9cbf7 1848
fefc5079
BW
1849 * mh-customize.el (mh-compose-space-does-completion-flag)
1850 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
1851 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
13fe29bd
BW
1852 means" to remain checkdoc clean and consistent with Emacs. I
1853 raised this issue with the Emacs developers and Stallman agrees
fefc5079
BW
1854 that "On means" should be allowed in custom docstrings but that
1855 this change requires thought and should wait until after the Emacs
1856 22 release.
1857
ec397a34
BW
18582005-10-28 Bill Wohler <wohler@newt.com>
1859
50df64d6
BW
1860 * mh-comp.el (mh-annotate-msg): Use new variable
1861 mh-scan-field-destination-offset rather than hard-coding 1.
1862
1863 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
1864 docstring.
13fe29bd
BW
1865 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
1866 functions to check input for mh-adaptive-cmd-note-flag and
50df64d6
BW
1867 mh-scan-format-file respectively.
1868 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
1869 add :set.
1870
13fe29bd
BW
1871 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
1872 destination is the -, t, b, c, or n character for Replied, To, cc,
50df64d6
BW
1873 Bcc, or Newsgroups respectively.
1874 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
1875 Call new function mh-msg-num-width-to-column to make leap between
1876 width and column more explicit.
1877 (mh-msg-num-width-to-column): New function that steals logic from
13fe29bd 1878 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
50df64d6
BW
1879 isn't t since we can't adapt the scan lines in this case.
1880 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
1881 make the documentation more clear.
1882 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
1883 column, not a width.
1884 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
13fe29bd
BW
1885 variable mh-scan-field-destination-offset rather than hard-coding
1886 1.
50df64d6
BW
1887
1888 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
1889 (mh-notate): Use new variable mh-scan-field-destination-offset
1890 rather than hard-coding 1.
1891 (mh-message-number-width): Rename to mh-msg-num-width to be
1892 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
1893
ec397a34
BW
1894 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
1895 (mail-citation-hook): Quote URLs in docstrings and precede with
13fe29bd
BW
1896 `URL'. The former will suppress checkdoc warnings, the latter will
1897 turn them into hyperlinks in Emacs 22 (I just added the code to do
1898 that today).
ec397a34
BW
1899 (mh-scan-format-file): Checkdoc fix.
1900
169a3241
BW
19012005-10-27 Bill Wohler <wohler@newt.com>
1902
e069fa61
BW
1903 * mh-customize.el (mh-adaptive-cmd-note-flag)
1904 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
1905
1906 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
1907 (mh-note-cur, mh-scan-good-msg-regexp)
1908 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1909 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1910 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1911 (mh-scan-subject-regexp, mh-scan-format-regexp)
1912 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
1913 with manual.
1914
1915 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
1916
1917 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
1918 of hard-coded string.
13fe29bd
BW
1919 (mh-mail-header-separator, mh-signature-separator-regexp): Use
1920 "regular expression" in docstring instead of regexp.
e069fa61
BW
1921 (mh-scan-msg-number-regexp)
1922 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
1923 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
1924 (mh-cmd-note): Sync docstrings with manual.
1925
3b463df0
BW
1926 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
1927 Checkdoc fixes.
1928
1929 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2bd87afb
SM
1930
1931 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
1932 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1933 (mh-mml-secure-message-signencrypt): Ditto.
169a3241 1934
4a263988
BW
19352005-10-24 Bill Wohler <wohler@newt.com>
1936
1937 * mh-gnus.el: Load mml.el in order to see if
1938 mml-minibuffer-read-disposition is defined or not.
1939
1940 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
1941 mml autoloads.
1942
97c60a38
MB
19432005-10-23 Miles Bader <miles@gnu.org>
1944
1945 * .arch-inventory: New file.
1946
9a51cf9e
BW
19472005-10-23 Bill Wohler <wohler@newt.com>
1948
13fe29bd
BW
1949 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
1950 docstring with manual.
136e0283 1951
9a51cf9e
BW
1952 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
1953 mh-alias.el and move to mh-acros.el
1954
1955 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
1956 mh-identity.el and move to mh-acros.el
1957
1958 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
1959 mh-identity.el and mh-alias.el.
1960
1961 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
1962 warning in Emacs 22.
1963
1dd9796d
SD
19642005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
1965
1966 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
1967 assoc-string (if the function is available) and falls back on
1968 assoc-ignore-case if assoc-string is not found.
1969 (mh-identity-field-handler): Use mh-assoc-ignore-case since
1970 assoc-ignore-case is a obsolete function in Emacs 22.
1971
1972 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
1973 track of whether the tool-bar in mh-folder-mode has been
1974 initialized yet.
1975 (mh-folder-mode): Initialize the tool-bar for folders the first
1976 time we get into mh-letter-mode.
1977
1978 * mh-customize.el (mh-buffer-exists-p): New function which tests
1979 presence of buffers of a given mode.
1980 (mh-tool-bar-define): New functions
1981 mh-tool-bar-folder-buttons-init and
13fe29bd 1982 mh-tool-bar-letter-buttons-init are defined. These functions are
1dd9796d
SD
1983 used to create the tool-bar from the corresponding customizable
1984 variables.
1985
1986 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
1987 keeps track of whether the tool-bar in mh-letter-mode has been
1988 initialized yet.
1989 (mh-letter-mode): Initialize the tool-bar for drafts the first
1990 time we get into mh-letter-mode.
1991
0c47b17c
BW
19922005-10-23 Bill Wohler <wohler@newt.com>
1993
13fe29bd
BW
1994 * mh-comp.el (mh-letter-menu): Rename
1995 mh-mhn-compose-external-compressed-tar to
1996 mh-mh-compose-external-compressed-tar. Rename
1997 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
1998 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
1999 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2000 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2001 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
0c47b17c
BW
2002 to 'mh.
2003 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2004 mh-mh-directive-present-p.
2005 (mh-send-letter): Rename mh-mhn-directive-present-p to
13fe29bd
BW
2006 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2007 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2008 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2009 mh-mhn-compose-external-compressed-tar to
2010 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2011 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2012 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2013 mh-mh-compose-anon-ftp. Rename
2014 mh-mhn-compose-external-compressed-tar to
2015 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2016 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
0c47b17c
BW
2017 mh-mh-compose-external-type.
2018 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2019 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
13fe29bd
BW
2020 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2021 mh-yank-from-start-of-msg to mh-yank-behavior.
0c47b17c
BW
2022 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2023 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2024 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2025 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2026 (mh-letter-complete-or-space, mh-letter-confirm-address)
2027 (mh-letter-next-header-field-or-indent)
2028 (mh-letter-previous-header-field)
13fe29bd
BW
2029 (mh-letter-toggle-header-field-display): Sync docstrings with
2030 manual.
0c47b17c 2031
13fe29bd
BW
2032 * mh-customize.el (mh-edit-mhn-hook): Rename to
2033 mh-mh-to-mime-hook.
0c47b17c
BW
2034 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2035 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2036 and user-visible values from mhn and Gnus to MH and MML.
2bd87afb 2037 (mh-before-send-letter-hook): Add 'ispell-message option.
0c47b17c
BW
2038 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2039 mh-pgp-support-flag.
2040 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2041 (mh-delete-yanked-msg-window-flag)
2042 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2043 (mh-letter-complete-function, mh-letter-fill-column)
2044 (mh-mml-method-default, mh-signature-file-name)
2045 (mh-signature-separator-flag, mh-x-face-file)
2046 (mh-yank-behavior, mail-citation-hook)
2047 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2048 with manual.
2049
2050 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2051 provided for Emacs 21 environments that lack it.
2052
2053 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2054 prompt convention.
2055 (mh-compose-forward): mh-mh-forward-message requires string arg.
2056 (mh-minibuffer-read-type): New function.
2057 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2058 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2059 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2060 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2061 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
13fe29bd
BW
2062 Rename mh-mhn-compose-external-type to
2063 mh-mh-compose-external-type.
0c47b17c 2064 (mh-mhn-compose-external-compressed-tar): Rename to
13fe29bd
BW
2065 mh-mh-compose-external-compressed-tar. Rename
2066 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2067 (mh-mhn-compose-external-type): Rename to
2068 mh-mh-compose-external-type.
2069 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2070 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
0c47b17c
BW
2071 Use correct program in message.
2072 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2073 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2074 (mh-compose-forward, mh-mh-attach-file)
2075 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2076 (mh-mh-compose-external-type, mh-mh-forward-message)
2077 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2078 mh-minibuffer-read-type.
2bd87afb 2079 (mh-mime-content-types): Move comment about only being used in
0c47b17c
BW
2080 Emacs 20 to docstring.
2081 (mh-mh-compose-external-type): Rename extra-param argument to
2082 parameters.
2bd87afb 2083 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
13fe29bd
BW
2084 (mh-mime-display-part, mh-mime-display-single): Rename
2085 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
0c47b17c
BW
2086 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2087 mh-mh-attach-file.
2088 (mh-compose-forward): Rename mh-mhn-compose-forw to
2089 mh-mh-forward-message.
2090 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2091 mh-mh-compose-type.
2092 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2093 (mh-mh-attach-file, mh-mh-compose-type)
2094 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2095 (mh-mh-compose-external-compressed-tar)
2096 (mh-mh-compose-external-type, mh-mh-forward-message)
2bd87afb 2097 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
0c47b17c
BW
2098 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2099 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2100 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2101 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2102 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2103 Sync docstrings with manual.
2104
13fe29bd
BW
2105 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2106 mh-pgp-support-flag.
0c47b17c 2107
fba3b4d8
PG
21082005-10-17 Peter S Galbraith <psg@debian.org>
2109
13fe29bd
BW
2110 * mh-identity.el (mh-identity-field-handler): Use
2111 `assoc-ignore-case' to compare against header field for mixed-case
fba3b4d8
PG
2112 "From:".
2113
ffda926c
BW
21142005-10-17 Bill Wohler <wohler@newt.com>
2115
2bd87afb 2116 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
ffda926c
BW
2117 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2118 to mail/compose, fld_open to fld-open.
13fe29bd
BW
2119 (mh-letter-tool-bar-map): Rename image file mail_send to
2120 mail/send.
ffda926c 2121
8f552dc8
BW
21222005-10-16 Bill Wohler <wohler@newt.com>
2123
79af55a7
BW
2124 * mh-comp.el (mh-display-completion-list-compat): New macro which
2125 calls `display-completion-list' correctly in older environments.
2126 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2127 argument.
2128 (mh-complete-word): Use it.
2129
8f552dc8 2130 * mh-init.el (mh-image-load-path): Use locate-library to find
13fe29bd 2131 MH-E. This simplified the code a lot. Flattened out nested
8f552dc8
BW
2132 statements even more.
2133
7c164e0c
SD
21342005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2135
2136 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2137 causes a compiler warning.
2138
2139 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2140 the message to be viewed (closes SF #1306141).
2141
f5fab556
MY
21422005-10-16 Masatake YAMATO <jet@gyve.org>
2143
13fe29bd
BW
2144 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2145 of completion to `display-completion-list'.
f5fab556 2146
2416ec64
SD
21472005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2148
2149 * mh-init.el (mh-image-load-path-called-flag): New variable which
2150 is used by mh-image-load-path so that it runs only once.
13fe29bd
BW
2151 (mh-image-load-path): Modify so that it gets run only once. Also
2152 flatten out heavily nested if statements to make it clearer.
2416ec64
SD
2153
2154 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2155 to find images used in the toolbar.
2156
2157 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2158
a9954630
BW
21592005-10-14 Bill Wohler <wohler@newt.com>
2160
2bd87afb 2161 * mh-e.el (Version, mh-version): Add +cvs to version.
a9954630 2162
5b004a34
BW
21632005-10-14 Bill Wohler <wohler@newt.com>
2164
2165 Released MH-E version 7.85.
2bd87afb
SM
2166
2167 * mh-e.el (Version, mh-version): Update for release 7.85.
2168
a10f4ace
BW
21692005-10-14 Bill Wohler <wohler@newt.com>
2170
13fe29bd
BW
2171 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2172 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2bd87afb
SM
2173 need to be indented.
2174
5b004a34 2175 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
13fe29bd
BW
2176 but the code that invoked the face had not been updated. Tick
2177 highlighting working again.
5b004a34 2178
13fe29bd
BW
2179 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2180 make-variable-buffer-local call to top level to avoid warnings in
a10f4ace
BW
2181 CVS Emacs.
2182
2bd87afb 2183 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
a10f4ace
BW
2184 with read-string.
2185
a05fcb7d 21862005-10-09 Bill Wohler <wohler@newt.com>
c727526b 2187
a05fcb7d
BW
2188 * mh-init.el (mh-image-load-path): New function that adds the path
2189 to the MH-E images to the image-load-path or load-path depending
2190 on the version of Emacs.
c727526b 2191
a05fcb7d
BW
2192 * mh-customize.el: Call mh-image-load-path just before
2193 mh-tool-bar-define so that the toolbar images can be found.
d88a70a0 2194
a05fcb7d 21952005-10-04 Bill Wohler <wohler@newt.com>
d88a70a0 2196
2bd87afb
SM
2197 * ChangeLog: Move contents into ChangeLog.1 and trim.
2198
13fe29bd 2199 * ChangeLog.1: New file. Contains old ChangeLog.
900d1698 2200
47570699 2201
a05fcb7d 2202 Copyright (C) 2005 Free Software Foundation, Inc.
e9be14aa 2203
e495eaec
BW
2204 Copying and distribution of this file, with or without modification,
2205 are permitted in any medium without royalty provided the copyright
2206 notice and this notice are preserved.
ab5796a9 2207
13fe29bd
BW
2208;; Local Variables:
2209;; sentence-end-double-space: nil
2210;; End:
2211
ab5796a9 2212;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51