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