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