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