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