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