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