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