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