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