Update for MH-E release 7.95.
[bpt/emacs.git] / lisp / mh-e / ChangeLog
CommitLineData
13384ea6
ED
12006-04-26 Eric Ding <ericding@alum.mit.edu>
2
3 * mh-e.el (mh-invisible-header-fields-internal): Add entry
4 "X-Provags-ID:"
5
6a7250d8
BW
62006-04-25 Bill Wohler <wohler@newt.com>
7
8 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
9 Folders returned by mh-folder-completion-function no longer need
10 adornment (closes SF #1476270).
11
237ad507
BW
122006-04-21 Bill Wohler <wohler@newt.com>
13
14 * mh-e.el (Version, mh-version): Add +cvs to version.
15
d9ca64a9
BW
162006-04-21 Bill Wohler <wohler@newt.com>
17
18 Release MH-E version 7.94.
19
20 * mh-e.el (Version, mh-version): Update for release 7.94.
21
15855f8f
BW
222006-04-21 Bill Wohler <wohler@newt.com>
23
24 * mh-letter.el (mh-insert-letter): If a message number isn't
25 given, throw an error rather than using a potentially incorrect
26 message number (closes SF #1473729). In addition, use the cur
27 message if mh-sent-from-msg is nil (when sending a message, in
28 contrast to replying). Move conversion of int to string into
29 interactive stanza so body can assume variables are of proper
30 type.
31
d2464a9f
BW
322006-04-20 Bill Wohler <wohler@newt.com>
33
34 * mh-tool-bar.el (image-load-path): Define to shush compiler.
35 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
36 isn't used outside of it.
37 (mh-tool-bar-folder-buttons-init,
38 mh-tool-bar-letter-buttons-init): Update load-path/image-load-path
39 before setting buttons. This code used to be in
40 mh-folder-mode/mh-letter-mode but this was the wrong place since
41 mh-tool-bar-*-buttons-init can also be called when customizing the
42 buttons.
43 (mh-tool-bar-update): New function which updates tool-bar-map in
44 all of the MH-E buffers after customizing the buttons (closes SF
45 #1452718).
46 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
47 Call it (closes SF #1452718).
48
49 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
50 mh-folder-tool-bar-map instead.
51 (image-load-path): Delete. No longer used.
52 (mh-folder-mode): Moved setting of image-load-path into
53 mh-tool-bar-folder-buttons-init.
54
55 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
56 mh-letter-tool-bar-map instead.
57 (image-load-path): Delete. No longer used.
58 (mh-letter-mode): Moved setting of image-load-path into
59 mh-tool-bar-letter-buttons-init.
60
61 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
62 instead of set-buffer.
63
d36069f0
BW
642006-04-19 Bill Wohler <wohler@newt.com>
65
66 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
02195654 67 can permanently disable a button (such as a separator) with nil.
d36069f0 68
17ce6de7
BW
692006-04-18 Bill Wohler <wohler@newt.com>
70
71 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
72 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
73 (mh-min-colors-defined-flag): Do not unbind these macros and
74 variables. Nice idea, but too many nasty side-effects. These
75 macros are needed by [Cc]ustom-make-dependencies when creating the
76 MH-E customization groups in mh-cus-load.el. These disappeared
77 when the macros above were introduced. Besides, if a developer
78 were to try to show the help for a macro or variable they were
79 looking at and got [No match] when they did so, that would be bad.
80
cd35b20a
BW
812006-04-17 Bill Wohler <wohler@newt.com>
82
d5468dff
BW
83 * mh-comp.el (mh-insert-x-mailer): Strip build number from
84 version in X-Mailer field (closes SF #1466481).
85
c90c4cf1
BW
86 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
87 variables and functions with the same name are found correctly by
88 find-func (invoked by clicking on the filename link in the *Help*
89 buffer).
90 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
91 * mh-e.el: (mh-defgroup): Rename to defgroup-mh. Ditto.
92 (mh-defcustom): Rename to defcustom-mh. Ditto.
93 (mh-defface): Rename to defface-mh. Ditto.
94 (mh-font-lock-add-keywords): Make changes according to these
95 renamings.
96
97 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
98 #1472029).
99
cd35b20a
BW
100 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
101 have been processed by mh-normalize-folder-name.
102 (mh-folder-completion-function): Handle completion of folders with
103 absolute names. Also, when flag is t, display complete folder name
104 to provide proper highlighting in Emacs 22 now that
105 minibuffer-completing-file-name is nil (closes SF #1470518).
106 (mh-folder-completing-read): No longer set
107 minibuffer-completing-file-name to t. This was causing "Can't set
108 current directory errors" when browsing absolute file names.
109 Another benefit of this change is that SPC can be used for
110 completion again (closes SF #1470518).
111
21acd4c9
BW
1122006-04-15 Bill Wohler <wohler@newt.com>
113
114 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
115
30545916
BW
1162006-04-14 Bill Wohler <wohler@newt.com>
117
73e6d1af
BW
118 * mh-funcs.el (view-exit-action): No need to wrap defvar with
119 eval-when-compile when shushing compiler.
120
121 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
122
123 * mh-seq.el (view-exit-action): Ditto.
124
125 * mh-show.el (font-lock-auto-fontify): Ditto.
126
127 * mh-utils.el (mh-speed-flists-cache): Ditto
128
42f8c37f
BW
129 * mh-acros.el (struct, x, y): No need to wrap defvar with
130 eval-when-compile when shushing compiler, even when
131 mh-do-in-xemacs or another construct is used.
132
133 * mh-comp.el (sendmail-coding-system): Ditto.
134
135 * mh-e.el (mark-active): Ditto.
136
137 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
138 (image-load-path, font-lock-defaults): Ditto.
139
140 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
141
142 * mh-mime.el (dots, type, ov)
143 (mm-verify-function-alist, mm-decrypt-function-alist)
144 (pressed-details): Ditto.
145
146 * mh-search.el (pick-folder, mh-do-in-xemacs)
147 (mh-mairix-folder, mh-flists-search-folders)
148 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
149
150 * mh-seq.el (tool-bar-mode): Ditto.
151
152 * mh-utils.el (completion-root-regexp)
153 (minibuffer-completing-file-name): Ditto.
154
155 * mh-xface.el (default-enable-multibyte-characters): Ditto.
156
30545916
BW
157 * mh-compat.el (mh-font-lock-add-keywords): New alias for
158 font-lock-add-keywords. Returns nil on XEmacs.
159
160 * mh-e.el: Add MH-E function and variable keywords such as
161 mh-defun-compat and mh-defcustom to font-lock-keywords.
162
70a1d47e
BW
1632006-04-13 Bill Wohler <wohler@newt.com>
164
165 * mh-e.el (customize-package-emacs-version-alist)
166 (mh-e, mh-alias, mh-folder, mh-folder-selection)
167 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
168 (mh-scan-line-formats, mh-search, mh-sending-mail, )
169 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
170 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
171 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
172 (mh-alias-insert-file, mh-alias-insertion-location)
173 (mh-alias-local-users, mh-alias-local-users-prefix)
174 (mh-alias-passwd-gecos-comma-separator-flag)
175 (mh-new-messages-folders, mh-ticked-messages-folders)
176 (mh-large-folder, mh-recenter-summary-flag)
177 (mh-recursive-folders-flag, mh-sortm-args)
178 (mh-default-folder-for-message-function, )
179 (mh-default-folder-list, mh-default-folder-must-exist-flag)
180 (mh-default-folder-prefix, mh-identity-list)
181 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
182 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
183 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
184 (mh-junk-program, mh-compose-insertion)
185 (mh-compose-skipped-header-fields)
186 (mh-compose-space-does-completion-flag)
187 (mh-delete-yanked-msg-window-flag)
188 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
189 (mh-letter-complete-function, mh-letter-fill-column)
190 (mh-mml-method-default, mh-signature-file-name)
191 (mh-signature-separator-flag, mh-x-face-file, )
192 (mh-yank-behavior, mh-interpret-number-as-range-flag)
193 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
194 (mh-search-program, mh-compose-forward-as-mime-flag)
195 (mh-compose-letter-function, mh-compose-prompt-flag)
196 (mh-forward-subject-format, mh-insert-x-mailer-flag)
197 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
198 (mh-reply-show-message-flag, )
199 (mh-refile-preserves-sequences-flag, mh-tick-seq)
200 (mh-update-sequences-after-mh-show-flag)
201 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
202 (mh-decode-mime-flag, )
203 (mh-display-buttons-for-alternatives-flag)
204 (mh-display-buttons-for-inline-parts-flag)
205 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
206 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
207 (mh-highlight-citation-style, mh-invisible-header-fields)
208 (mh-invisible-header-fields-default, mh-lpr-command-format)
209 (mh-max-inline-image-height, mh-max-inline-image-width)
210 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
211 (mh-print-background-flag, mh-show-maximum-size)
212 (mh-show-use-xface-flag, mh-store-default-directory)
213 (mh-summary-height, mh-speed-update-interval)
214 (mh-show-threads-flag, mh-tool-bar-search-function)
215 (mh-defcustom, mh-after-commands-processed-hook)
216 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
217 (mh-before-quit-hook, mh-before-send-letter-hook)
218 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
219 (mh-forward-hook, mh-inc-folder-hook, )
220 (mh-insert-signature-hook, )
221 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
222 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
223 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
224 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
225 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
226 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
227 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
228 (mh-folder-subject, mh-folder-tick, mh-folder-to)
229 (mh-letter-header-field, mh-search-folder, mh-show-cc)
230 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
231 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
232 (mh-show-subject, mh-show-to, mh-show-xface, )
233 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
234 (mh-speedbar-selected-folder)
235 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
236 notation in :package-version keyword.
237
fde155f4
BW
2382006-04-07 Bill Wohler <wohler@newt.com>
239
240 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
241 :package-version keyword.
242
59e8810f
BW
2432006-03-31 Bill Wohler <wohler@newt.com>
244
245 * mh-e.el (mh-strip-package-version): Move before use to avoid
367c48ef
BW
246 compiler error. Make macro, also to avoid compiler error.
247 (mh-defface-compat): Incorporate body into mh-face-data and
248 delete.
59e8810f 249
23347d76
BW
2502006-03-30 Bill Wohler <wohler@newt.com>
251
252 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
253 remove new :package-version keyword in older settings.
254 (customize-package-emacs-version-alist): Add MH-E version to Emacs
255 version mappings.
256 (mh-e, mh-alias, mh-folder, mh-folder-selection)
257 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
258 (mh-scan-line-formats, mh-search, mh-sending-mail)
259 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
260 (mh-hooks, mh-faces): Add :package-version keyword to these
def27552 261 groups (closes SF #1452724).
23347d76
BW
262 (mh-alias-completion-ignore-case-flag)
263 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
264 (mh-alias-insert-file, mh-alias-insertion-location)
265 (mh-alias-local-users, mh-alias-local-users-prefix)
266 (mh-alias-passwd-gecos-comma-separator-flag)
267 (mh-new-messages-folders, mh-ticked-messages-folders)
268 (mh-large-folder, mh-recenter-summary-flag)
269 (mh-recursive-folders-flag, mh-sortm-args)
270 (mh-default-folder-for-message-function)
271 (mh-default-folder-list, mh-default-folder-must-exist-flag)
272 (mh-default-folder-prefix, mh-identity-list)
273 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
274 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
275 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
276 (mh-junk-program, mh-compose-insertion)
277 (mh-compose-skipped-header-fields)
278 (mh-compose-space-does-completion-flag)
279 (mh-delete-yanked-msg-window-flag)
280 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
281 (mh-letter-complete-function, mh-letter-fill-column)
282 (mh-mml-method-default, mh-signature-file-name)
283 (mh-signature-separator-flag, mh-x-face-file)
284 (mh-yank-behavior, mh-interpret-number-as-range-flag)
285 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
286 (mh-search-program, mh-compose-forward-as-mime-flag)
287 (mh-compose-letter-function, mh-compose-prompt-flag)
288 (mh-forward-subject-format, mh-insert-x-mailer-flag)
289 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
290 (mh-reply-show-message-flag)
291 (mh-refile-preserves-sequences-flag, mh-tick-seq)
292 (mh-update-sequences-after-mh-show-flag)
293 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
294 (mh-decode-mime-flag)
295 (mh-display-buttons-for-alternatives-flag)
296 (mh-display-buttons-for-inline-parts-flag)
297 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
298 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
299 (mh-highlight-citation-style, mh-invisible-header-fields)
300 (mh-invisible-header-fields-default, mh-lpr-command-format)
301 (mh-max-inline-image-height, mh-max-inline-image-width)
302 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
303 (mh-print-background-flag, mh-show-maximum-size)
304 (mh-show-use-xface-flag, mh-store-default-directory)
305 (mh-summary-height, mh-speed-update-interval)
306 (mh-show-threads-flag, mh-tool-bar-search-function): Add
def27552 307 :package-version keyword to these options (closes SF #1452724).
23347d76
BW
308 (mh-after-commands-processed-hook)
309 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
310 (mh-before-quit-hook, mh-before-send-letter-hook)
311 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
312 (mh-forward-hook, mh-inc-folder-hook)
313 (mh-insert-signature-hook)
314 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
315 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
316 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
317 (mh-unseen-updated-hook): Add :package-version keyword to these
def27552 318 hooks (closes SF #1452724).
23347d76
BW
319 (mh-min-colors-defined-flag)
320 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
321 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
322 (mh-folder-msg-number, mh-folder-refiled)
323 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
324 (mh-folder-subject, mh-folder-tick, mh-folder-to)
325 (mh-letter-header-field, mh-search-folder, mh-show-cc)
326 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
327 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
328 (mh-show-subject, mh-show-to, mh-show-xface)
329 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
330 (mh-speedbar-selected-folder)
331 (mh-speedbar-selected-folder-with-unseen-messages): : Add
def27552 332 :package-version keyword to these faces (closes SF #1452724).
23347d76
BW
333
334 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
def27552 335 :package-version keywords (closes SF #1452724).
23347d76 336
798b73dd
BW
3372006-03-28 Bill Wohler <wohler@newt.com>
338
84b57004
BW
339 * mh-tool-bar.el: Use clipboard-kill-region,
340 clipboard-kill-ring-save, and clipboard-yank instead of undo,
341 kill-region, and menu-bar-kill-ring-save respectively. In
342 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
343 front of mh-compose-insertion to be consistent with other mailers,
344 such as Evolution. In MH-Folder mode, move vanilla reply icon to
345 the left of the other reply icons. Use mail/inbox icon instead of
346 mail, next-page instead of page-down, delete instead of close,
347 mail/move instead of mail/refile, data-save instead of execute,
348 mail/flag-for-followup instead of highlight, contact instead of
349 mail/alias, open instead of fld-open, zoom-out instead of widen.
350
798b73dd
BW
351 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
352 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
353
83c3d14f 3542006-03-27 Eric Ding <ericding@alum.mit.edu>
2e9aae14
ED
355
356 * mh-e.el (mh-invisible-header-fields-internal): Add entries
357 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail)
358
d79c9e9d
BW
3592006-03-19 Bill Wohler <wohler@newt.com>
360
72cf2f2e
BW
361 * mh-comp.el (mh-reply): Sync docstring with manual.
362
d79c9e9d
BW
363 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
364 docstring.
365
1792673d
BW
3662006-03-17 Bill Wohler <wohler@newt.com>
367
368 * mh-compat.el (mh-image-load-path-for-library): Minor docstring
369 fix.
370
e8b5a7ce
BW
3712006-03-16 Bill Wohler <wohler@newt.com>
372
16b9a476
BW
373 * mh-comp.el (mh-send-letter): Use split-string to break up
374 mh-send-args (closes SF #1448604).
375 (mh-compose-and-send-mail): Use run-hook-with-args for
376 mh-compose-letter-function.
377
8d1ada53
BW
378 * mh-e.el (mh-list-to-string-1): Use dolist.
379
e8b5a7ce
BW
380 * mh-compat.el (mh-image-load-path-for-library): Prefer user's
381 images.
382
f875b154
BW
3832006-03-15 Bill Wohler <wohler@newt.com>
384
385 * mh-compat.el (mh-image-load-path-for-library): Fix example by
386 not recommending that one binds image-load-path. Just defvar it to
387 placate compiler and only use it if previously defined.
388
389 * mh-e.el (image-load-path): Don't bind!
390
391 * mh-folder.el (mh-folder-mode): Only use image-load-path if
392 previously defined.
393
394 * mh-letter.el (mh-letter-mode): Ditto.
395
396 * mh-utils.el (mh-logo-display): Ditto.
397
44e3f440
BW
3982006-03-14 Bill Wohler <wohler@newt.com>
399
400 * mh-compat.el (mh-image-load-path-for-library): Incorporate
401 changes from image-load-path-for-library, which are:
402 (image-load-path-for-library): Pass value of path rather than
403 symbol. Always return list of directories. Guarantee that image
404 directory comes first.
405
406 * mh-e.el (image-load-path): Define on those Emacsen that lack it
407 to avoid compile and run-time errors.
408
409 * mh-folder.el (mh-folder-mode): Use new idiom for setting
410 image-load-path.
411
412 * mh-letter.el (mh-letter-mode): Ditto.
413
414 * mh-utils.el (mh-logo-display): Ditto.
415
2044e8f1
BW
4162006-03-12 Bill Wohler <wohler@newt.com>
417
418 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
419 #1448498).
420
0c32f8c6
BW
4212006-03-10 Bill Wohler <wohler@newt.com>
422
4a732ae9
BW
423 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
424 flag to replace-in-string. This was badly needed by
425 mh-quote-pick-expr in order to properly quote subjects when using
426 / s on XEmacs (closes SF #1447598).
08f99a54
BW
427 (mh-image-load-path-for-library): Merged changes from Reiner. Add
428 no-error argument. If path t, just return directory.
4a732ae9 429
0c32f8c6
BW
430 * mh-e.el (mh-profile-component): Drop `s' from mhparam
431 -components for Mailutils compatibility (closes SF #1446985).
432
971a25ab
BW
4332006-03-06 Bill Wohler <wohler@newt.com>
434
435 * mh-e.el (Version, mh-version): Add +cvs to version.
436
1af028e6
SD
4372006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
438
439 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
440 handling of duplicate messages. The test in cond was too strong
441 and wasn't catching the case where origin-map was nil.
442
b1d9cef4
BW
4432006-03-05 Bill Wohler <wohler@newt.com>
444
445 Release MH-E version 7.93.
446
447 * mh-e.el (Version, mh-version): Update for release 7.93.
448
fd5536d8
BW
4492006-03-05 Bill Wohler <wohler@newt.com>
450
451 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
452 calling mh-image-load-path-for-library since this is the default.
453
454 * mh-letter.el (mh-letter-mode): Ditto.
455
456 * mh-utils.el (mh-logo-display): Ditto.
457
c80658b7
BW
4582006-03-04 Bill Wohler <wohler@newt.com>
459
460 * mh-compat.el (mh-image-load-path-for-library): Move here from
461 mh-utils.el and wrap with mh-defun-compat since this function will
462 be soon added to image.el.
463
464 * mh-utils.el (mh-image-load-path-for-library): Move to
465 mh-compat.el.
466 (mh-normalize-folder-name): Add return-nil-if-folder-empty
467 argument which is useful when calling mh-normalize-folder-name to
468 process the folder argument for the folders command.
469 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
470 this function more robust. It could too easily list the folders in
471 /.
472 (mh-folder-list): Fix a couple of problems pointed out by Thomas
473 Baumann. Set folder to nil if empty. Don't append "/" if folder
474 nil.
475
3fbc098d
BW
4762006-03-03 Bill Wohler <wohler@newt.com>
477
5e9edb94
BW
478 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
479 mh-image-load-path-for-library.
480
481 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
482 mh-image-load-path-for-library.
483
484 * mh-utils.el (mh-image-load-path): Rename to
485 mh-image-load-path-for-library. Add example to docstring. Rename
486 local variable mh-image-directory to image-directory. Move error
487 checks to default case in cond and simplify.
488
3fbc098d
BW
489 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
490 docstrings with manual.
491
efc27af6
BW
4922006-03-02 Bill Wohler <wohler@newt.com>
493
494 * mh-folder.el (mh-tool-bar-init): Autoload.
495 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
496 Set scoped variables image-load-path and load-path with updated
497 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
498
499 * mh-letter.el (mh-tool-bar-init): Autoload.
500 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
501 Set scoped variables image-load-path and load-path with updated
502 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
503
504 * mh-show.el (mh-tool-bar-init): Autoload.
505 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
506 GNU Emacs.
507
508 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
509 messages per conventions.
510 (mh-tool-bar-folder-buttons-init)
511 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
512 (mh-tool-bar-define call): Format.
513
c80658b7
BW
514 * mh-utils.el (mh-image-directory)
515 (mh-image-load-path-called-flag): Delete.
efc27af6
BW
516 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
517 changes are that it no longer uses/sets mh-image-directory or
518 mh-image-load-path-called-flag, and returns the updated path
519 rather than change it.
520 (mh-logo-display): Change usage of mh-image-load-path.
521
a9e22173
BW
5222006-02-28 Bill Wohler <wohler@newt.com>
523
052df334
BW
524 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
525 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
526 to subjects with special characters by quoting regular expression
527 characters in pick expression derived from existing subjects and
528 other fields (closes SF #1432548).
66b265f5
BW
529 (mh-narrow-to-subject): Remove Re: string from subject so that
530 pick can find originating message (closes SF #1438369).
052df334 531
a9e22173
BW
532 * mh-utils.el (mh-image-load-path): Rename variable to
533 mh-image-directory.
534 (mh-image-load-path): Access mh-image-directory instead of
535 mh-image-load-path.
898dda92
BW
536 (mh-folder-list): Fix problem with passing in a folder and getting
537 nothing back. Fix problem with passing in empty string and getting
538 the entire filesystem (or infinite loop). Don't append slash to
539 folder. These fixes fix problems observed with the pick search.
540 Thanks to Thomas Baumann for the help (closes SF #1435381).
052df334
BW
541 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
542 function for quoting pick regular expression characters (closes SF
543 #1432548).
a9e22173 544
a425dc3d
BW
5452006-02-27 Bill Wohler <wohler@newt.com>
546
bc4c8031
BW
547 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
548 with manual.
549
c99f6227 550 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
0659521f
BW
551 docstring about obsolete variable mh-mime-content-types.
552
abc46e90
BW
553 * mh-e.el (mh-variant): Sync docstring with manual.
554 (cus-face): Require as it is needed by mh-inherit-face-flag.
555
a425dc3d
BW
556 * mh-compat.el (mh-display-color-cells): Return 2 if
557 device-color-cells returns nil (closes SF #1436924).
558
559 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
560 mh-display-color-cells.
561
f669a69d
ED
5622006-02-21 Eric Ding <ericding@alum.mit.edu>
563
c99f6227 564 * mh-e.el (mh-invisible-header-fields-internal): Add entry
f669a69d
ED
565 "X-Sasl-enc:"
566
efd5b7df
ED
5672006-02-20 Eric Ding <ericding@alum.mit.edu>
568
c99f6227 569 * mh-e.el (mh-invisible-header-fields-internal): Add entries
efd5b7df
ED
570 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
571 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
572 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
573 "X-Roving-" by removing unnecessary "*" at end.
574
ae494f66
BW
5752006-02-19 Bill Wohler <wohler@newt.com>
576
577 * mh-alias.el (mh-address-mail-regexp)
578 (mh-goto-address-find-address-at-point): Delete copies from
579 goto-addr.el.
580 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
581 mh-address-mail-regexp.
582 (mh-alias-add-address-under-point): Use
583 goto-address-find-address-at-point instead of
584 mh-goto-address-find-address-at-point.
585
586 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
587
588 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
589 docstring.
590 (mh-show-addr): Call goto-address unconditionally. User should use
591 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
592
803c3044
BW
5932006-02-18 Bill Wohler <wohler@newt.com>
594
595 * mh-e.el (Version, mh-version): Add +cvs to version.
596
927967ee
BW
5972006-02-18 Bill Wohler <wohler@newt.com>
598
599 Release MH-E version 7.92.
600
601 * mh-e.el (Version, mh-version): Update for release 7.92.
602
6e69a0bf
BW
6032006-02-17 Bill Wohler <wohler@newt.com>
604
b95d0a24
BW
605 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
606 backgrounds per Mark's suggestion.
607
6e69a0bf
BW
608 * mh-utils.el (mh-image-load-path): Fix problem that images on
609 load-path or image-load-path would win over relative paths (newer
610 MH-E or Emacs distribution).
611
dccd067f
BW
6122006-02-16 Bill Wohler <wohler@newt.com>
613
6d21875b
BW
614 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
615 the defface :inherit keyword is available.
616 (mh-face-data): New variable (contains all face specs) and
617 function (accessor).
618 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
619 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
620 (mh-folder-msg-number, mh-folder-refiled)
621 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
622 (mh-folder-subject, mh-folder-tick, mh-folder-to)
623 (mh-search-folder, mh-letter-header-field, mh-show-cc)
624 (mh-show-date, mh-show-from)
625 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
626 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
627 (mh-show-to, mh-show-xface, mh-speedbar-folder)
628 (mh-speedbar-folder-with-unseen-messages)
629 (mh-speedbar-selected-folder)
630 (mh-speedbar-selected-folder-with-unseen-messages): Use
631 mh-face-data.
632
dccd067f
BW
633 * mh-utils.el (mh-image-load-path): The variables image-load-path
634 or load-path would not get updated if user set mh-image-load-path.
635 Moved tests and add-to-list calls outside of cond so they are
636 applied consistently, even if they are redundant in some
637 circumstances. Efficiency isn't a concern here. Made error
638 messages more user-friendly.
639
fc0f755f
PG
6402006-02-15 Peter S Galbraith <psg@debian.org>
641
642 * mh-compat.el (mh-image-search-load-path): Compatibility code.
643 Emacs 21 and XEmacs don't have `image-search-load-path'.
644
645 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
646 images are already found.
647
be397698
BW
6482006-02-10 Bill Wohler <wohler@newt.com>
649
650 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
651 rather than use defun*. XEmacs cannot create a proper autoload for
652 a defun*.
653
613cd8c5
BW
6542006-02-09 Bill Wohler <wohler@newt.com>
655
da01a066
BW
656 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
657 that causes an infinite loop on XEmacs.
658
613cd8c5
BW
659 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
660 argument.
661
201a821a
PG
6622006-02-08 Peter S Galbraith <psg@debian.org>
663
664 * mh-e.el (mh-invisible-header-fields-internal): Added entries
665 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
666
dc4d94d5
BW
6672006-02-04 Bill Wohler <wohler@newt.com>
668
669 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
670 has an emacsclient command that supports --eval. I had read that
671 gnudoit was deprecated in favor of gnuclient anyway.
672
7b0fed56 6732006-02-04 Eric Ding <ericding@alum.mit.edu>
39ee09ff 674
c99f6227 675 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
7b0fed56 676 handle OpenOffice documents.
39ee09ff 677
d4ff848f
BW
6782006-02-03 Bill Wohler <wohler@newt.com>
679
680 * mh-e.el (Version, mh-version): Add +cvs to version.
681
5f627e35
BW
6822006-02-03 Bill Wohler <wohler@newt.com>
683
684 Release MH-E version 7.91.
685
686 * mh-e.el (Version, mh-version): Update for release 7.91.
687
36685bff
BW
6882006-02-03 Bill Wohler <wohler@newt.com>
689
664ca6b2
BW
690 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
691 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
692 of local variable mh-library-name.
693
36685bff
BW
694 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
695 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
696 88) with (min-colors 64) in face specifications so that MH-E still
697 looks good on systems with fewer colors (such as Eric Ding's).
698
39ee09ff 6992006-02-03 Peter S Galbraith <psg@debian.org>
e1144ff6
PG
700
701 * mh-utils.el (mh-image-load-path): New variable to optionally
702 hold the directory where MH-E images are stored. If nil, then
703 the function `mh-image-load-path' will find it. This variable
704 will be used for Debian packaging.
705 (mh-image-load-path function): Use variable `mh-image-load-path'
706 if non-nil and exists.
707
f169fdd3
MB
7082006-02-03 Mark D. Baushke <mdb@gnu.org>
709
710 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
711 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
712 errors if describe-bindings is called before tool-bar-mode is used.
713
e6e91eda
PG
7142006-02-03 Peter S Galbraith <psg@debian.org>
715
716 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
717 `mh-url-unresrved-chars'.
718
5a286ce9
BW
7192006-02-02 Bill Wohler <wohler@newt.com>
720
721 * mh-e.el (Version, mh-version): Add +cvs to version.
722
8f58061a
BW
7232006-02-02 Bill Wohler <wohler@newt.com>
724
725 Release MH-E version 7.90.
726
727 * mh-e.el (Version, mh-version): Update for release 7.90.
728
d5dc8c56
BW
7292006-02-01 Bill Wohler <wohler@newt.com>
730
92486f28
BW
731 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
732
d5dc8c56
BW
733 * mh-alias.el (mh-alias-gecos-name): Use
734 mh-replace-regexp-in-string instead of replace-regexp-in-string.
735 (crm, multi-prompt): Use mh-require instead of require.
736 (mh-goto-address-find-address-at-point): Use
737 mh-line-beginning-position and mh-line-end-position instead of
738 line-beginning-position and line-end-position. Use
739 mh-match-string-no-properties instead of
740 match-string-no-properties.
741
742 * mh-comp.el (mh-modify-header-field): Use
743 mh-line-beginning-position and mh-line-end-position instead of
744 line-beginning-position and line-end-position.
745
746 * mh-compat.el (mailabbrev): Use mh-require instead of require.
747 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
748 (mh-face-background): Make docstring consistent.
749 (mh-require, mh-cancel-timer, mh-display-color-cells)
750 (mh-line-beginning-position, mh-line-end-position)
751 (mh-match-string-no-properties, mh-replace-regexp-in-string)
752 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
753 add mh- prefix since compatibility functions should have our
754 package prefix (mh-) by Emacs convention and to avoid messing up
755 checks for the same functions in other packages.
756
757 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
758 from mh-xemacs.el and rename.
759 (mh-xargs): Use mh-line-beginning-position and
760 mh-line-end-position instead of line-beginning-position and
761 line-end-position.
762 (mh-defface-compat): Use mh-display-color-cells instead of
763 display-color-cells.
764
765 * mh-folder.el (which-func): Use mh-require instead of require.
766
767 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
768 view-mode-enter.
769
770 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
771 mh-require instead of require.
772
773 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
774 (mh-letter-next-header-field): Use mh-line-beginning-position and
775 mh-line-end-position instead of line-beginning-position and
776 line-end-position.
777
778 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
779 mh-match-string-no-properties instead of
780 match-string-no-properties.
781 (mh-narrow-to-header-field): Use mh-line-beginning-position and
782 mh-line-end-position instead of line-beginning-position and
783 line-end-position.
784
785 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
786 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
787 mh-line-beginning-position and mh-line-end-position instead of
788 line-beginning-position and line-end-position.
789
790 * mh-search.el (which-func): Use mh-require instead of require.
791 (mh-make-pick-template, mh-index-visit-folder)
792 (mh-pick-parse-search-buffer, mh-swish-next-result)
793 (mh-mairix-next-result, mh-namazu-next-result)
794 (mh-pick-next-result, mh-grep-next-result)
795 (mh-index-create-imenu-index, mh-index-match-checksum)
796 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
797 mh-line-beginning-position and mh-line-end-position instead of
798 line-beginning-position and line-end-position.
799
800 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
801 view-mode-enter.
802 (mh-folder-size-flist, mh-parse-flist-output-line)
803 (mh-add-sequence-notation): Use mh-line-beginning-position and
804 mh-line-end-position instead of line-beginning-position and
805 line-end-position.
806
807 * mh-show.el (mh-show-addr): Use mh-require instead of require.
808
809 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
810 (mh-speed-view, mh-folder-speedbar-buttons)
811 (mh-speed-highlight, mh-speed-goto-folder)
812 (mh-speed-add-buttons, mh-speed-parse-flists-output)
813 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
814 (mh-speed-add-folder): Use mh-line-beginning-position and
815 mh-line-end-position instead of line-beginning-position and
816 line-end-position.
817 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
818
819 * mh-thread.el (mh-thread-find-children)
820 (mh-thread-parse-scan-line, mh-thread-generate): Use
821 mh-line-beginning-position and mh-line-end-position instead of
822 line-beginning-position and line-end-position.
823
824 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
825 instead of display-color-cells.
826 (mh-folder-list): Use mh-replace-regexp-in-string instead of
827 replace-regexp-in-string.
828 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
829 Use mh-line-beginning-position and mh-line-end-position instead of
830 line-beginning-position and line-end-position.
831
832 * mh-comp.el (mh-send-sub): Don't find components file in current
833 directory--this seems to have been a side-effect of commenting out
834 the use of an old mh-etc variable. Improve error message.
835
06e7028b
BW
8362006-01-31 Bill Wohler <wohler@newt.com>
837
838 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
839 argument since compatibility functions should have our package
840 prefix (mh-) by Emacs convention and to avoid messing up checks
841 for the same functions in other packages. Use explicit argument
d5dc8c56 842 instead of forming name by adding mh- prefix so that one can grep
06e7028b
BW
843 and find the definition.
844
845 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
846 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
847 mh-assoc-string instead of assoc-string.
848
849 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
850 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
851 here from mh-utils.el.
852 (mh-display-completion-list): Move here from mh-comp.el.
853 (mh-face-foreground, mh-face-background): Move here from
854 mh-xface.el.
855 (mh-write-file-functions): Move here from mh-folder.el
856
857 * mh-folder.el (mh-write-file-functions-compat): Move to
858 mh-compat.el and rename to mh-write-file-functions.
859 (mh-folder-mode): Use the new name.
860
861 * mh-gnus.el (gnus-local-map-property): Rename to
862 mh-gnus-local-map-property.
863 (mm-merge-handles): Rename to mh-mm-merge-handles.
864 (mm-set-handle-multipart-parameter): Rename to
865 mh-mm-set-handle-multipart-parameter.
866 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
867 (mm-possibly-verify-or-decrypt): Rename to
868 mh-mm-possibly-verify-or-decrypt.
869 (mm-handle-multipart-ctl-parameter): Rename to
870 mh-mm-handle-multipart-ctl-parameter.
871 (mm-readable-p): Rename to mh-mm-readable-p.
872 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
873 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
874 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
875 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
876 (mml-minibuffer-read-disposition): Rename to
877 mh-mml-minibuffer-read-disposition.
878
879 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
880 instead of assoc-string.
881
882 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
883 (mh-mime-display, mh-mime-display-security)
884 (mh-insert-mime-button, mh-insert-mime-security-button)
885 (mh-handle-set-external-undisplayer)
886 (mh-mime-security-press-button, mh-mime-security-show-details)
887 (mh-mml-attach-file, mh-mime-cleanup)
888 (mh-destroy-postponed-handles): Use new mh-* names for
889 compatibility functions.
890
891 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
892 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
893 (mh-beginning-of-word): Use the new name.
894 (mh-get-field): Delete ancient alias.
895
896 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
897 and rename to mh-face-foreground
898 (mh-face-background-compat): Move to mh-compat.el
899 and rename to mh-face-background.
900 (mh-face-display-function): Use the new names.
901 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
902 instead of url-hexify-string.
903 (url-unreserved-chars): Move to mh-compat.el and rename to
904 mh-url-unreserved-chars.
905 (url-hexify-string): Move to mh-compat.el and rename to
906 mh-url-hexify-string.
907
908 * mh-letter.el (mh-complete-word): Fix bug in call to
909 mh-display-completion-list. Wrong argument was passed, so
910 completions wouldn't show highlighted prefix.
911
a2c30782
BW
9122006-01-29 Bill Wohler <wohler@newt.com>
913
fd61b9ab
BW
914 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
915 mh-adaptive-cmd-note-flag.
916
090ccc5d
BW
917 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
918 docstring. sc-cite-original is autoloaded via loaddefs.el for all
919 supported versions. In addition, the package name "sc" has been
920 made obsolete by "supercite since at least Emacs 21.
921
3bdb2567
BW
922 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
923 revealed character constants that were still strings (closes SF
924 #770772).
925
a55f450f
BW
926 * mh-comp.el (mh-letter-hide-all-skipped-fields)
927 (mh-get-header-field): Move to mh-utils.el so that you can read
928 messages without having to load mh-comp.el and mh-letter.el.
929
930 * mh-letter.el (mh-hidden-header-keymap)
931 (mh-letter-toggle-header-field-display)
932 (mh-letter-skipped-header-field-p)
933 (mh-letter-skip-leading-whitespace-in-header-field)
934 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
935 can read messages without having to load mh-comp.el and
936 mh-letter.el.
937
938 * mh-utils.el (mh-get-header-field)
939 (mh-letter-hide-all-skipped-fields)
940 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
941 (mh-letter-toggle-header-field-display)
942 (mh-letter-skip-leading-whitespace-in-header-field)
943 (mh-letter-truncate-header-field): Move here from mh-comp.el and
944 mh-letter.el so that you can read messages without having to load
945 mh-comp.el and mh-letter.el.
946
a2c30782
BW
947 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
948 least, will deliver them to us.
949
950 * mh-e.el (mh-after-commands-processed-hook)
951 (mh-before-commands-processed-hook): Specify what sort of requests
952 in docstring.
953
954 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
955 minor-mode-alias.
956
957 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
958 to shush compiler.
959 (mh-letter-mode): Remove Mail menu.
960
dda00b2c
BW
9612006-01-29 Bill Wohler <wohler@newt.com>
962
963 The Great Cleanup
964 Remove circular dependencies. mh-e.el now includes few require
965 statements and stands alone. Other files should need to require
966 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
967 such as mh-scan.el.
968 Remove unneeded require statements.
969 Remove unneeded load statements, or replace them with non-fatal
970 require statements.
971 Break out components into their own files that were often spread
972 between many files.
973 As a result, many functions that are now only used within a single
974 file no longer need to be autoloaded.
975 Rearrange and provide consistent headings.
976 Untabify.
977
978 * mh-acros.el: Update commentary to reflect current usage. Add
979 autoload cookies to all macros.
980 (mh-require-cl): Merge docstring and comment.
981 (mh-do-in-xemacs): Fix typo in docstring.
982 (assoc-string): Move to new file mh-compat.el.
983 (with-mh-folder-updating, mh-in-show-buffer)
984 (mh-do-at-event-location, mh-seq-msgs): Move here from
985 mh-utils.el.
986 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
987 from mh-seq.el.
988
989 * mh-alias.el (mh-address-mail-regexp)
990 (mh-goto-address-find-address-at-point): Move here from
991 mh-utils.el.
992 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
993
994 * mh-buffers.el: Update descriptive text.
995
996 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
997 new file mh-scan.el.
998 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
999 (mh-letter-menu, mh-letter-mode-help-messages)
1000 (mh-letter-buttons-init-flag, mh-letter-mode)
1001 (mh-font-lock-field-data, mh-letter-header-end)
1002 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1003 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1004 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1005 (mh-filter-out-non-text, mh-insert-prefix-string)
1006 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1007 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1008 (mh-letter-complete, mh-letter-complete-or-space)
1009 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1010 (mh-letter-next-header-field-or-indent)
1011 (mh-letter-next-header-field, mh-letter-previous-header-field)
1012 (mh-letter-skipped-header-field-p)
1013 (mh-letter-skip-leading-whitespace-in-header-field)
1014 (mh-hidden-header-keymap)
1015 (mh-letter-toggle-header-field-display-button)
1016 (mh-letter-toggle-header-field-display)
1017 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1018 file mh-letter.el.
1019 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1020 (mh-pgp-support-flag, mh-x-mailer-string)
1021 (mh-letter-header-field-regexp): Move to mh-e.el.
1022 (mh-goto-header-field, mh-goto-header-end)
1023 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1024 mh-utils.el.
1025 (mh-insert-header-separator): Move to mh-comp.el.
1026 (mh-display-completion-list-compat): Move to new file
1027 mh-compat.el.
1028
1029 * mh-compat.el: New file.
1030 (assoc-string): Move here from mh-acros.el.
1031 (mh-display-completion-list): Move here from mh-comp.el.
1032
1033 * mh-customize.el: Move content into mh-e.el and remove.
1034
1035 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1036 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1037 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1038 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1039 declared here so that they can be used in docstrings.
1040 (mh-sent-from-folder, mh-sent-from-msg)
1041 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1042 (mh-x-mailer-string): Move here from mh-comp.el.
1043 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1044 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1045 here from mh-seq.el.
1046 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1047 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1048 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1049 (mh-show-folder-buffer, mh-mail-header-separator)
1050 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1051 (mh-signature-separator, mh-signature-separator-regexp)
1052 (mh-list-to-string, mh-list-to-string-1): Move here from
1053 mh-utils.el.
1054 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1055 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1056 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1057 (mh-exec-cmd-output)
1058 (mh-exchange-point-and-mark-preserving-active-mark)
1059 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1060 deprecated file mh-exec.el.
1061 (mh-path): Move here from deprecated file mh-customize.el.
1062 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1063 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1064 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1065 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1066 (mh-profile-component-value, mh-defface-compat): Move here from
1067 deprecated file mh-init.el.
1068 (mh-goto-next-button, mh-folder-mime-action)
1069 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1070 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1071 mh-mime.el.
1072 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1073 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1074 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1075 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1076 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1077 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1078 (mh-scan-cmd-note-width, mh-scan-destination-width)
1079 (mh-scan-date-width, mh-scan-date-flag-width)
1080 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1081 (mh-scan-field-destination-offset)
1082 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1083 (mh-scan-field-subject-start-offset, mh-scan-format)
1084 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1085 mh-scan.el.
1086 (mh-partial-folder-mode-line-annotation)
1087 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1088 (mh-generate-sequence-font-lock, mh-last-destination)
1089 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1090 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1091 (mh-execute-commands, mh-first-msg, mh-header-display)
1092 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1093 (mh-folder-from-address, mh-prompt-for-refile-folder)
1094 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1095 (mh-previous-page, mh-previous-undeleted-msg)
1096 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1097 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1098 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1099 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1100 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1101 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1102 (mh-folder-sequence-menu, mh-folder-message-menu)
1103 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1104 (mh-write-file-functions-compat, mh-folder-mode)
1105 (mh-restore-desktop-buffer, mh-scan-folder)
1106 (mh-regenerate-headers, mh-generate-new-cmd-note)
1107 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1108 (mh-process-or-undo-commands, mh-process-commands)
1109 (mh-update-unseen, mh-delete-scan-msgs)
1110 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1111 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1112 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1113 (mh-lessp): Move to mh-utils.el.
1114 (mh-parse-flist-output-line, mh-folder-size-folder)
1115 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1116 (mh-remove-sequence-notation, mh-remove-cur-notation)
1117 (mh-remove-all-notation, mh-delete-seq-locally)
1118 (mh-read-folder-sequences, mh-read-msg-list)
1119 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1120 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1121 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1122 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1123 (mh-xemacs-flag)
1124 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1125 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1126 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1127 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1128 (mh-faces, mh-alias-completion-ignore-case-flag)
1129 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1130 (mh-alias-insert-file, mh-alias-insertion-location)
1131 (mh-alias-local-users, mh-alias-local-users-prefix)
1132 (mh-alias-passwd-gecos-comma-separator-flag)
1133 (mh-new-messages-folders, mh-ticked-messages-folders)
1134 (mh-large-folder, mh-recenter-summary-flag)
1135 (mh-recursive-folders-flag, mh-sortm-args)
1136 (mh-default-folder-for-message-function, mh-default-folder-list)
1137 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1138 (mh-identity-list, mh-auto-fields-list)
1139 (mh-auto-fields-prompt-flag, mh-identity-default)
1140 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1141 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1142 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1143 (mh-compose-insertion, mh-compose-skipped-header-fields)
1144 (mh-compose-space-does-completion-flag)
1145 (mh-delete-yanked-msg-window-flag)
1146 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1147 (mh-letter-complete-function, mh-letter-fill-column)
1148 (mh-mml-method-default, mh-signature-file-name)
1149 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1150 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1151 (mh-scan-format-file-check, mh-scan-format-file)
1152 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1153 (mh-search-program, mh-compose-forward-as-mime-flag)
1154 (mh-compose-letter-function, mh-compose-prompt-flag)
1155 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1156 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1157 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1158 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1159 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1160 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1161 (mh-display-buttons-for-inline-parts-flag)
1162 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1163 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1164 (mh-highlight-citation-style)
1165 (mh-invisible-header-fields-internal)
1166 (mh-delay-invisible-header-generation-flag)
1167 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1168 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1169 (mh-lpr-command-format, mh-max-inline-image-height)
1170 (mh-max-inline-image-width, mh-mhl-format-file)
1171 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1172 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1173 (mh-show-use-xface-flag, mh-store-default-directory)
1174 (mh-summary-height, mh-speed-update-interval)
1175 (mh-show-threads-flag, mh-tool-bar-search-function)
1176 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1177 (mh-before-commands-processed-hook, mh-before-quit-hook)
1178 (mh-before-send-letter-hook, mh-delete-msg-hook)
1179 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1180 (mh-inc-folder-hook, mh-insert-signature-hook)
1181 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1182 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1183 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1184 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1185 (mh-folder-address, mh-folder-body)
1186 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1187 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1188 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1189 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1190 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1191 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1192 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1193 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1194 (mh-speedbar-folder-with-unseen-messages)
1195 (mh-speedbar-selected-folder)
1196 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1197 deprecated file mh-customize.el.
1198
1199 * mh-exec.el: Move content into mh-e.el and remove.
1200
1201 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
1202
1203 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1204 mh-scan.el.
1205 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1206
1207 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1208 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1209 to mail-abbrev-make-syntax-table.
1210
1211 * mh-identity.el (mh-identity-menu): New variable for existing
1212 menu.
1213 (mh-identity-make-menu-no-autoload): New alias for
1214 mh-identity-make-menu which can be called from mh-e.el.
1215 (mh-identity-list-set): Move to mh-e.el.
1216 (mh-identity-add-menu): New function
1217 (mh-insert-identity): Add optional argument maybe-insert so that
1218 local variable mh-identity-local does not have to be visible.
1219 (mh-identity-handler-default):
1220
1221 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1222 rest of keymaps). Update key binding for ? to call mh-help with
1223 help messages in new argument.
1224 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1225 which can be called from mh-e.el.
1226 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1227
1228 * mh-init.el: Move content into mh-e.el and remove.
1229
1230 * mh-junk.el: Update requires, untabify, and add mh-autoload
1231 cookies.
1232
1233 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1234
1235 * mh-limit.el: New file. Contains display limit commands from
1236 mh-mime.el.
1237
1238 * mh-mime.el: Rearrange for consistency with other files.
1239 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1240 mh-utils.el.
1241 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1242 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1243 (mh-goto-next-button): Move here from mh-e.el.
1244
1245 * mh-print.el: Rearrange for consistency with other files.
1246
1247 * mh-scan.el: New file. Contains scan line constants and utilities
1248 from XXX, mh-funcs, mh-utils.el.
1249
1250 * mh-search.el: Rearrange for consistency with other files.
1251 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1252 fields which don't exist in the saved header. Replace C-c C-f f
1253 with C-c C-f m per mail-mode consistency.
1254 (mh-search-mode): Use mh-set-help instead of setting
1255 mh-help-messages.
1256
1257 * mh-seq.el (mh-thread-message, mh-thread-container)
1258 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1259 (mh-thread-id-index-map, mh-thread-index-id-map)
1260 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1261 (mh-thread-subject-container-hash, mh-thread-duplicates)
1262 (mh-thread-history, mh-thread-body-width)
1263 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1264 (mh-thread-initialize, mh-thread-id-container)
1265 (mh-thread-remove-parent-link, mh-thread-add-link)
1266 (mh-thread-ancestor-p, mh-thread-get-message-container)
1267 (mh-thread-get-message, mh-thread-canonicalize-id)
1268 (mh-thread-prune-subject, mh-thread-container-subject)
1269 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1270 (mh-thread-sort-containers, mh-thread-group-by-subject)
1271 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1272 (mh-thread-update-id-index-maps, mh-thread-generate)
1273 (mh-thread-inc, mh-thread-generate-scan-lines)
1274 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1275 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1276 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1277 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1278 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1279 (mh-thread-ancestor, mh-thread-find-children)
1280 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
1281 to new file mh-thread.el.
1282 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1283 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1284 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1285 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1286 (mh-current-message-header-field, mh-narrow-to-range)
1287 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1288 mh-limit.el.
1289 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1290 mh-acros.el.
1291 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1292 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1293 (mh-define-sequence, mh-undefine-sequence)
1294 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1295 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1296 (mh-parse-flist-output-line, mh-read-folder-sequences)
1297 (mh-read-msg-list, mh-notate-user-sequences)
1298 (mh-remove-cur-notation, mh-add-sequence-notation)
1299 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1300 from mh-e.el.
1301 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1302 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1303
1304 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
1305
1306 * mh-speed.el: Rearrange for consistency with other files.
1307
1308 * mh-thread.el: New file. Contains threading code from mh-seq.el.
1309
1310 * mh-tool-bar.el: New file. Contains tool bar creation code from
1311 deprecated file mh-customize.el.
1312
1313 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
1314 longer needed.
1315 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1316 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1317 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1318 (mh-update-scan-format, mh-msg-num-width): Move to new file
1319 mh-scan.el.
1320 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1321 (mh-header-field-font-lock, mh-header-to-font-lock)
1322 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1323 (mh-show-font-lock-keywords)
1324 (mh-show-font-lock-keywords-with-cite)
1325 (mh-show-font-lock-fontify-region)
1326 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1327 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1328 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1329 (mh-show-sequence-menu, mh-show-message-menu)
1330 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1331 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1332 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1333 file mh-show.el.
1334 (mh-mail-header-separator, mh-signature-separator-regexp)
1335 (mh-signature-separator, mh-globals-hash, mh-user-path)
1336 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1337 (mh-previous-window-config, mh-current-folder mh-show-buffer)
1338 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1339 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1340 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1341 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1342 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1343 Move to mh-alias.el.
1344 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1345 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1346 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1347 Move to new file mh-folder.el.
1348 (with-mh-folder-updating, mh-in-show-buffer)
1349 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1350 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1351 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1352 Moved to mh-seq.el.
1353 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1354 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1355 (mh-face-background-compat, mh-face-display-function)
1356 (mh-show-xface, mh-picon-directory-list)
1357 (mh-picon-existing-directory-list)
1358 (mh-picon-cache, mh-picon-image-types)
1359 (mh-picon-set-directory-list, mh-picon-get-image)
1360 (mh-picon-file-contents, mh-picon-generate-path)
1361 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1362 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1363 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1364 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1365 (mh-x-image-scale-with-convert)
1366 (url-unreserved-chars, url-hexify-string)
1367 (mh-x-image-url-cache-canonicalize)
1368 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1369 (mh-x-image-url-fetch-image, mh-x-image-display)
1370 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1371 (mh-x-image-url-display): Move to new file mh-xface.el.
1372 (mh-logo-display): Call mh-image-load-path.
1373 (mh-find-path-run, mh-find-path): Move here from deprecated file
1374 mh-init.el.
1375 (mh-help-messages): Now an alist of modes to an alist of messages.
1376 (mh-set-help): New function used to set mh-help-messages
1377 (mh-help): Adjust for new format of mh-help-messages. Add
1378 help-messages argument.
1379 (mh-prefix-help): Refactor to use mh-help.
1380 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1381 mh-e.el.
1382 (mh-clear-sub-folders-cache): New function added to avoid exposing
1383 mh-sub-folders-cache variable.
1384
1385 * mh-xface.el: New file. Contains X-Face and Face header field
1386 display routines from mh-utils.el.
1387
fe778a12
BW
13882006-01-17 Bill Wohler <wohler@newt.com>
1389
1390 * mh-acros.el (assoc-string): Fix typo in argument.
1391
8d2aa237
BW
13922006-01-16 Bill Wohler <wohler@newt.com>
1393
1e4db53b
BW
1394 * mh-acros.el (require): Remove defadvice of require as defadvice
1395 is verboten within Emacs and our implementation was returning the
1396 wrong value from require. Upcoming restructuring should make this
1397 unnecessary.
1398 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1399
1400 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
1401 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1402
1403 * mh-identity.el (mh-identity-field-handler): Use it.
1404
8d2aa237
BW
1405 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1406 (read-from-string string) with (string-to-number string).
1407
1408 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1409 Ditto.
1410
1411 * mh-mime.el (mh-mml-forward-message): Ditto.
1412
1413 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1414 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1415 (mh-openssl-parser, mh-index-update-maps): Ditto.
1416
1417 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1418 (mh-thread-generate): Ditto.
1419
0af7621b 14202006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
9ac2e4e5
MB
1421
1422 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
0af7621b
BW
1423 mm- functions for proper text=flowed handling (addresses SF
1424 #1273521).
9ac2e4e5 1425
30f24016
BW
14262006-01-15 Bill Wohler <wohler@newt.com>
1427
fc77df2c
BW
1428 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1429 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1430 / g.
1431
1432 * mh-utils.el (mh-show-limit-map): Ditto.
1433
98eab4e4
BW
1434 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1435 standalone compile.
1436 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1437
1438 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1439 where they are used.
1440
30f24016
BW
1441 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1442 needed to help remove dependency on mh-utils.
1443
1444 * mh-exec.el: New file. Move process support routines here from
1445 mh-utils.el.
1446
1447 * mh-init.el (mh-utils): Remove require.
1448 (mh-exec): Add require.
1449 (mh-profile-component, mh-profile-component-value): Move here from
1450 mh-utils.el.
1451
1452 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1453 dependencies on mh-utils.el.
1454 (mh-profile-component, mh-profile-component-value): Move to
1455 mh-init.el since that's the only place that uses them. (Other than
1456 mh-alias.el; I'm thinking that mh-find-path can set variable from
1457 the Aliasfile component like it does the other components).
1458 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1459 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1460 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1461 (defvar, mh-exec-cmd-output)
1462 (mh-exchange-point-and-mark-preserving-active-mark)
1463 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1464 file mh-exec.el so that mh-init.el doesn't have to depend on
1465 mh-utils.el, breaking circular dependency.
1466
1467 * mh-alias.el:
1468 * mh-customize.el:
1469 * mh-e.el:
1470 * mh-funcs.el:
1471 * mh-gnus.el:
1472 * mh-identity.el:
1473 * mh-inc.el:
1474 * mh-junk.el:
1475 * mh-mime.el:
1476 * mh-print.el:
1477 * mh-search.el:
1478 * mh-seq.el:
1479 * mh-speed.el: Added debugging statements (commented out) around
1480 requires to help find dependency loops. Will remove them when
1481 issues are resolved.
1482
a4d7cec3
BW
14832006-01-14 Bill Wohler <wohler@newt.com>
1484
1485 * mh-customize.el (mh-index): Rename group to mh-search and sort
1486 group definition and options accordingly.
1487 (mh-index-program): Rename to mh-search-program.
1488 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1489 mh-search-p.
1490 (mh-search-mode-hook): Change group from mh-index to mh-search.
1491 (mh-index-folder): Rename to mh-search-folder. Change group from
1492 mh-index to mh-search.
1493
1494 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1495 to mh-search-folder.
1496
1497 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1498 pick and grep are searchers too but aren't indexed.
1499 (mh-index-execute-search-function): Rename to mh-search-function.
1500 (mh-index-next-result-function): Rename to
1501 mh-search-next-result-function.
1502 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1503 (mh-search): Since redo-search-flag defaults to nil and is of
1504 lesser importance, make it an optional argument and place it after
1505 the folder and search-regexp arguments. Sync docstring with
1506 manual.
1507 (mh-search-mode-map): Autoload so that keys are shown in help even
1508 before mh-search is loaded.
1509 (mh-search-mode): Sync docstring with manual.
1510 (mh-index-do-search): Rename argument indexer to searcher. Sync
1511 docstring with manual.
1512 (mh-pick-do-search): Sync docstring with manual.
1513 (mh-index-p): Rename to mh-search-p.
1514 (mh-indexer-choices): Rename to mh-search-choices.
1515 (mh-index-choose): Rename to mh-search-choose. Rename argument
1516 indexer to searcher.
1517 (mh-swish++-execute-search, mh-swish-execute-search)
1518 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1519 read the results" from docstring since these functions don't.
1520 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1521 with manual.
1522 (mh-index-generate-pretty-name): Prune -search from string so that
1523 folder names for pick searches are the same as those of other
1524 searches.
1525
11db987f
BW
15262006-01-13 Bill Wohler <wohler@newt.com>
1527
4501e6fb
BW
1528 * mh-acros.el (require): Added Satyaki's comment regarding what
1529 needs to happen to remove this defadvice which caused a little
1530 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1531 advices `require' incorrectly).
1532
11db987f
BW
1533 * mh-search.el (mh-index-next-result-function): Add format to
1534 docstring.
1535 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1536 out as well.
1537 (mh-pick-execute-search): Operate across all folders if no folder
1538 given and recurse folder(s).
1539 (mh-pick-next-result): Handle new output.
1540
1541 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
1542 (mh-children-p, mh-folder-list): New functions.
1543
44140699
BW
15442006-01-12 Bill Wohler <wohler@newt.com>
1545
1546 * mh-search.el: New file containing contents of mh-index.el and
1547 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1548 pick. Pick no longer sets the "search" sequence. Instead, it
1549 brings up a folder view that we're accustomed to. (closes SF
1550 #829207).
1551 (mh-index-search): Rename to mh-search.
1552 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1553 the Search to Perform Search and call mh-do-search. Add Search
1554 with Pick menu item.
1555 (mh-do-search): Delete.
1556 (mh-search-mode): Rename from mh-pick-mode.
1557 (MH-Search): Rename mode from MH-Pick.
1558 (mh-search-mode-map): Rename from mh-pick-mode-map.
1559 (mh-search-mode-help-messages): Rename from
1560 mh-pick-mode-help-messages.
1561 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1562 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1563 stay with that choice!
1564
1565 * mh-index.el:
1566 * mh-pick.el: Merge into mh-search.el and delete.
1567
1568 * mh-customize.el (mh-index-program): Change mh-index-search to
1569 mh-search in docstring.
1570 (mh-tool-bar-search-function): Change default from
1571 mh-search-folder to mh-search. Remove mh-search-folder as choice
1572 and rename mh-index-search choice to mh-search. Fix docstring.
1573 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1574 mh-search-folder to mh-search in docstring.
1575
1576 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1577 Indexed Search to Search. Use mh-search instead of
1578 mh-index-search.
1579 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1580 from mh-show-search-folder to mh-search.
1581
1582 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1583 mh-search-folder no longer creates the search sequence.
1584
1585 * mh-utils.el (mh-show-search-folder): Delete.
1586 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1587 Change s from mh-show-search-folder to mh-search.
1588 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1589 Search to Search. Use mh-search instead of mh-index-search.
1590 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1591 here from deleted mh-index.el.
1592
e1fbc812
BW
15932006-01-11 Bill Wohler <wohler@newt.com>
1594
549afb31
BW
1595 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1596 from mh-gnus.el.
1597
1598 * mh-gnus.el: Require mh-acros.
1599 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1600
1601 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1602 url-hexify-string to remove special characters from filenames
1603 (closes SF #1396499). Note that this invalidates the existing
1604 names in your cache so you might as well remove
1605 ~/Mail/.mhe-x-image-cache/* now.
1606 (url-unreserved-chars, url-hexify-string): Define if not defined.
1607 Copied from url-util.el in Emacs22 for Emacs 21.
1608
9c2cf222
BW
1609 * mh-buffers.el: New file. Contains constants and code from
1610 mh-index.el and mh-utils.el.
1611
1612 * mh-alias.el:
1613 * mh-comp.el:
1614 * mh-e.el:
1615 * mh-funcs.el:
1616 * mh-init.el:
1617 * mh-junk.el:
1618 * mh-mime.el:
1619 * mh-print.el:
1620 * mh-seq.el: Require new file mh-buffers.el.
1621
1622 * mh-index.el: Require new file mh-buffers.el.
1623 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1624 mh-buffers.el.
1625
1626 * mh-utils.el: Require new file mh-buffers.el.
1627 (mh-temp-buffer, mh-temp-fetch-buffer)
1628 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1629 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1630 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1631 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1632
00b6a079
BW
1633 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1634 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1635
191c8741
BW
16362006-01-10 Bill Wohler <wohler@newt.com>
1637
c2134792 1638 * mh-comp.el (mh-insert-letter): If you choose a different folder,
e1fbc812
BW
1639 the cur message is used. Sync docstring with manual (closes SF
1640 #1205890).
c2134792
BW
1641
1642 * mh-mime.el (mh-compose-forward): Use standard range argument
1643 instead of messages. Use more powerful mh-read-range instead of
1644 read-string. Sync docstring with manual (close SF #1205890).
1645
191c8741
BW
1646 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1647 unnecessary.
2898111c
BW
1648 (mh-index-next-folder): Don't back up a line when going backwards
1649 since this skips the current folder heading if point is on the
1650 first message after the folder heading (closes SF #1126188).
191c8741
BW
1651
1652 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1653 it.
1654 (mh-variants): Note variable isn't meant to be accessed directly;
1655 use function mh-variants instead.
1656 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1657 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1658 them. Updated to use mh-file-command-p which is more accurrate
1659 than file-executable-p which returns t for directories.
1660 (mh-file-command-p): Move here from mh-utils, since
1661 mh-variant-*-info are the only functions to use it.
1662 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1663 function mh-variants instead of variable. More robust.
1664 (mh-find-path-run): Move here from mh-utils.el. Mention that
1665 checking this variable is unnecessary.
1666 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1667 variants and an mhparam command that doesn't work if there isn't
1668 an MH profile, we can't get libdir for running install-mh. So
1669 don't bother. If there's an issue with the environment, direct the
1670 user to install MH and run install-mh (closes SF #835192). Don't
1671 read ~/.mh_profile directly. Use mh-profile-component which uses
1672 mhparam (closes SF #1016027).
1673
1674 * mh-utils.el (mh-get-profile-field): Rename to
1675 mh-profile-component-value. Add colon to search removing
1676 unnecessary addition of colon to field in mh-profile-component.
1677 (mh-profile-component): Modify call to mh-profile-component-value
1678 accordingly. Move next to mh-profile-component-value.
1679 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1680 mh-init.el. It makes sense that code that is only run once per
1681 session (more or less) is in mh-init.el rather than cluttering
1682 mh-utils.el.
1683 (mh-no-install, mh-install): Delete.
1684
1685 * mh-customize.el (mh-folder-msg-number):
1686 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1687
04f6a2d1
BW
16882006-01-09 Bill Wohler <wohler@newt.com>
1689
b981c52c
BW
1690 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1691 patch from Satyaki from SF #1016027.
1692
8f9efec8
BW
1693 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1694 message, even if cur sequence is no longer present (closes SF
1695 #1207247).
1696
b6d8f743
BW
1697 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1698 Mark's suggestion.
1699 (mh-letter-mode): Derive from mail-mode and delete code copied
1700 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1701 docstring.
1702 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1703 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1704 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1705 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1706 (mh-to-fcc): Move setting of folder argument to interactive
1707 argument as is the norm.
1708 (mh-letter-complete-function-alist): Add mail-reply-to.
1709 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1710 Mail-Followup-To, Reply-To, From).
1711
90866475
BW
1712 * mh-customize.el: Use ";; Forward definition." consistently.
1713 Comment declaration to remind programmer to update forward
1714 definition if default changes.
1715
04f6a2d1
BW
1716 * mh-funcs.el:
1717 * mh-inc.el:
1718 * mh-init.el:
1719 * mh-mime.el:
1720 * mh-seq.el:
1721 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1722 Mark's suggestion.
1723
7094eefe
BW
17242006-01-08 Bill Wohler <wohler@newt.com>
1725
1726 Removed code that was marked as Emacs 20 compatible that was
1727 easily found showing how important it is to document such
1728 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1729 peculiarities that you find. Wrapped code for shushing compiler
1730 with (eval-when-compile), sometimes moving the defvars closer to
1731 where they were used.
1732
1733 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1734 instead of mh-replace-in-string as mh-replace-in-string was
1735 replaced by a more appropriate defsubst in mh-xemacs.el.
1736
1737 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1738 eval-when-compile.
1739 (mh-file-is-vcard-p): Removed redundant test.
1740
1741 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1742 with eval-when-compile.
1743 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1744 (mh-invisible-header-fields-default): Add forward definitions.
1745 (mh-invisible-header-fields-default): Alphabetize.
1746
1747 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1748 eval-when-compile.
1749 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1750 variables.
1751 (mh-colors-available-p): Just call display-color-cells. It's on
1752 all supported Emacsen (and defaliased on XEmacs).
1753
1754 * mh-funcs.el:
1755 * mh-inc.el:
1756 * mh-init.el: Wrap compiler-shushing defvars with
1757 eval-when-compile.
1758
1759 * mh-identity.el: Don't need (mh-require-cl).
1760
1761 * mh-index.el: Don't need to load executable any more.
1762
1763 * mh-mime.el: Wrap compiler-shushing defvars with
1764 eval-when-compile.
1765 (mh-have-file-command): Initialize variable to 'undefined. Add
1766 docstring. Update function of same name accordingly. Also don't
1767 need to load executable any more.
1768 (mh-mime-content-types): Delete.
1769 (mh-minibuffer-read-type): Prompt user for type if
1770 mh-file-mime-type returns application/octet-stream. Assume we have
1771 mailcap-mime-types.
1772 (mh-mime-display): Update error message.
1773
1774 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1775 with eval-when-compile.
1776
1777 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1778 with eval-when-compile.
1779 (mh-clean-msg-header): Don't set after-change-functions to nil.
1780 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1781 instead.
1782
98b7b7ed
BW
17832006-01-07 Bill Wohler <wohler@newt.com>
1784
3af622d5
BW
1785 * mh-customize.el: Updated Faces documentation in header.
1786 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1787 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1788
98b7b7ed
BW
1789 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1790 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1791 #1399307).
1792
836f2863
MB
17932006-01-03 Mark D. Baushke <mdb@gnu.org>
1794
1795 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1796 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1797
e69d4e02
BW
17982006-01-03 Bill Wohler <wohler@newt.com>
1799
f9c53c97
BW
1800 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1801 unification. Use single sentence if possible by using semicolon.
1802 Don't end message with punctuation. Don't need format with
1803 message. Quote messages as in docstrings: use `' around symbols,
1804 \" for option choices. Don't use quotes around %s.
1805
1806 * mh-comp.el (mh-complete-word): Ditto.
1807
1808 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1809 (mh-scan-format-file-check): Ditto.
1810
1811 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1812 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1813 (mh-msg-num-width-to-column): Ditto.
1814
1815 * mh-identity.el (mh-identity-field-handler): Ditto.
1816
1817 * mh-index.el (mh-mairix-execute-search)
1818 (mh-swish-execute-search, mh-swish++-execute-search)
1819 (mh-namazu-execute-search): Ditto.
1820
1821 * mh-init.el (mh-variant-set): Ditto.
1822
1823 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1824 (mh-secure-message, mh-mime-display): Ditto.
1825
1826 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1827
1828 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1829 (mh-read-range, mh-thread-container-subject): Ditto.
1830
1831 * mh-utils.el (mh-x-image-scale-and-display)
1832 (mh-prompt-for-folder, mh-handle-process-error)
1833 (mh-list-to-string-1): Ditto.
1834
078cb314
BW
1835 * mh-comp.el (mh-reply): Use standard default notation in
1836 prompts (closes SF #1275933).
1837
1838 * mh-mime.el (mh-mime-save-parts): Ditto.
1839
1840 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1841
355ebcbf
BW
1842 * mh-customize.el (mh-folder-msg-number): Snow is actually
1843 off-white on low color displays which turns to white when bold.
1844 This is unreadable on white backgrounds. Use snow with min-colors
1845 requirement. Use cyan on low-color displays.
1846
1847 * mh-init.el (mh-defface-compat): On low-color displays, delete
1848 the high-color display rather than simply strip the min-colors
1849 requirement since the existing algorithm shadowed the desired
1850 display on low-color displays.
1851
e69d4e02
BW
1852 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1853 docstring.
1854
af435184
BW
18552006-01-02 Bill Wohler <wohler@newt.com>
1856
1857 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1858 docstring. Does this mean something in a defun?
1859
1860 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1861 Checkdoc fix.
1862
1863 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1864 so it reads better in docstring and manual. Sync docstring with
1865 manual.
1866
1867 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1868
1869 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1870
1871 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1872 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1873 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1874 (mh-letter-complete-or-space, mh-letter-confirm-address)
1875 (mh-letter-next-header-field-or-indent)
1876 (mh-letter-previous-header-field): Ditto.
1877
1878 * mh-customize.el (mh-alias-completion-ignore-case-flag)
1879 (mh-default-folder-for-message-function, mh-mml-method-default)
1880 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
1881 (mh-show-mode-hook) Ditto.
1882
1883 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
1884
1885 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
1886 (mh-store-msg, mh-store-buffer): Ditto
1887
1888 * mh-index.el (mh-index-search, mh-index-do-search)
1889 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
1890
1891 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
1892
1893 * mh-mime.el (mh-mh-compose-external-compressed-tar)
1894 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
1895 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1896 (mh-mml-secure-message-signencrypt): Ditto
1897
1898 * mh-pick.el (mh-search-folder): Ditto.
1899
1900 * mh-seq.el (mh-widen): Ditto.
1901
1902 * mh-utils.el (mh-show, mh-modify): Ditto.
1903
285d1e0c
MB
19042006-01-02 Mark D. Baushke <mdb@gnu.org>
1905
1906 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
1907
d49ed7d4
BW
19082006-01-01 Bill Wohler <wohler@newt.com>
1909
1910 * mh-customize.el: Sync docstrings with manual for faces and sort
1911 them alphabetically.
1912 (mh-faces): Move below mh-hooks.
1913 (mh-folder-faces, mh-index-faces, mh-letter-faces)
1914 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
1915 hooks.
1916 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
1917 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
1918 (mh-folder-body-face, mh-folder-cur-msg-face)
1919 (mh-folder-cur-msg-number-face, mh-folder-date-face)
1920 (mh-folder-followup-face, mh-folder-msg-number-face)
1921 (mh-folder-deleted-face, mh-folder-refiled-face)
1922 (mh-folder-subject-face, mh-folder-address-face)
1923 (mh-folder-scan-format-face, mh-folder-to-face)
1924 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
1925 (mh-show-header-face, mh-show-pgg-good-face)
1926 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
1927 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
1928 Delete.
1929 (mh-folder-cur-msg): Unused. Delete.
1930 (mh-folder-address): Use defface; inherit from mh-folder-subject.
1931 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
1932 Inherit from mh-folder-msg-number.
1933 (mh-folder-deleted): Use defface. Inherit from
1934 mh-folder-msg-number.
1935 (mh-folder-sent-to-me-hint): New face. Inherit from
1936 mh-folder-date.
1937 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
1938 Use defface. Inherit from mh-folder-followup.
1939 (mh-show-xface): Inherit from mh-show-from and highlight.
1940 (bw-face-generation, bw-toggle-faces)
1941 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
1942 variables, functions for toggling between old and new faces.
1943
1944 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
1945 eval-when-compile. We should probably do this throughout.
1946 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1947 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
1948 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1949 (mh-scan-subject-regexp): Sync docstrings with manual
1950 (mh-scan-format-regexp): Rename to
1951 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
1952 expression. Make expression more like the others (anchored at the
1953 beginning of line). Sync docstrings with manual.
1954 (mh-folder-font-lock-keywords): Use faces directly rather than
1955 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
1956 mh-scan-format-regexp, and within that expression, use faces
1957 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
1958 of mh-folder-date-face and mh-folder-scan-format-face which were
1959 misleading.
1960
1961 * mh-mime.el (mh-mime-security-button-face): Use faces directly
1962 rather than -face variables.
1963
1964 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
1965 rather than -face variables.
1966 (mh-face-foreground-compat, mh-face-background-compat): New macros.
1967 (mh-face-display-function): Use mh-face-foreground-compat and
1968 mh-face-background-compat to use inherited attributes of
1969 mh-show-xface on Emacs 22 while still working on Emacs 21.
1970
0d887b77
BW
19712005-12-28 Bill Wohler <wohler@newt.com>
1972
1973 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
1974 mh-user-agent-compose instead of mh-smail-batch.
1975
13fe29bd
BW
19762005-12-27 Bill Wohler <wohler@newt.com>
1977
1978 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
1979 suppress creation of folder if it doesn't exist.
1980
2bd87afb
SM
19812005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
1984
5a4aad03
BW
19852005-12-23 Bill Wohler <wohler@newt.com>
1986
7ba8dffd
BW
1987 * mh-e.el (mh-folders-changed): Fix typo in docstring.
1988
13fe29bd
BW
1989 Follow MH-E Developers Guide conventions. Use `' quotes for Help
1990 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
1991 everything else. Otherwise, you can accidently get links to
5a4aad03 1992 nonsense symbols.
2bd87afb 1993
d1699462
BW
19942005-12-22 Bill Wohler <wohler@newt.com>
1995
13fe29bd 1996 Follow Emacs coding conventions. Use default setting of
2dcf34f9 1997 emacs-lisp-docstring-fill-column which is 65.
2bd87afb 1998
d1699462
BW
1999 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2000
2001 * mh-comp.el (mh-letter-mode): Use 60 column width.
2002 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2003 with manual.
2004 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2005 you have added a mail-citation-hook and neither are used if you
13fe29bd
BW
2006 use one of the supercite flavors of mh-yank-behavior. Sync
2007 docstrings with manual.
d1699462 2008
13fe29bd
BW
2009 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2010 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2011 hook. Use "Hook run by `function'..." instead of "Invoked...".
d1699462
BW
2012 Sync docstrings with manual.
2013 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2014 mh-ins-buf-prefix isn't used if you have added a
2015 mail-citation-hook and neither are used if you use one of the
13fe29bd
BW
2016 supercite flavors of mh-yank-behavior. Sync docstrings with
2017 manual.
2018 (mail-citation-hook): Delete. Use one in sendmail.el.
d1699462
BW
2019 (mh-signature-file-name, mh-after-commands-processed-hook)
2020 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2021 (mh-before-quit-hook, mh-before-send-letter-hook)
2022 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2023 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2024 (mh-letter-mode-hook)
2025 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2026 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2027 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
13fe29bd 2028 of "Invoked...". Sync docstrings with manual.
d1699462
BW
2029
2030 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2031 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2032 (mh-delete-list, mh-refile-list, mh-folders-changed)
2033 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2034 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2035 (mh-mode-line-annotation, mh-sequence-notation-history)
2036 (mh-colors-available-flag): Move comment into docstring.
2bd87afb
SM
2037 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2038 (mh-process-commands): Sync docstrings with manual.
d1699462
BW
2039 (mh-refile-msg): Small doc edit.
2040 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2041 Rename msg argument to message.
2042
2043 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2044
2045 * mh-e.el (mh-update-unseen): No longer say "The value of
2046 `foo-hook' is a list of functions to be called, with no arguments,
2047 ...," but rather just "The hook foo-hook is called...".
2048
2bd87afb 2049 * mh-mime.el (mh-mh-to-mime): Ditto.
d1699462
BW
2050
2051 * mh-pick.el (mh-pick-mode): Ditto.
2052
2053 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2054 docstring.
2055 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2056 into docstring.
13fe29bd
BW
2057 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2058 manual.
d1699462 2059
2bd87afb 20602005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2953de8c 2061
13fe29bd
BW
2062 * mh-customize.el (mh-after-commands-processed-hook): New
2063 variable.
2064 (mh-before-commands-processed-hook): Rename
2065 mh-folder-updated-hook.
2953de8c 2066
13fe29bd
BW
2067 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2068 mh-before-commands-processed-hook, call new
2953de8c
SG
2069 mh-after-commands-processed-hook.
2070 (mh-folders-changed): New variable (for use in
2071 mh-after-commands-processed-hook).
2072
cee9f5c6
BW
20732005-12-19 Bill Wohler <wohler@newt.com>
2074
2075 * mh-acros.el:
2076 * mh-alias.el:
2077 * mh-comp.el:
2078 * mh-customize.el:
2079 * mh-e.el:
2080 * mh-funcs.el:
2081 * mh-gnus.el:
2082 * mh-identity.el:
2083 * mh-inc.el:
2084 * mh-index.el:
2085 * mh-init.el:
2086 * mh-junk.el:
2087 * mh-mime.el:
2088 * mh-pick.el:
2089 * mh-print.el:
2090 * mh-seq.el:
2091 * mh-speed.el:
2092 * mh-utils.el:
13fe29bd
BW
2093 Follow commenting conventions. Don't use ;;; form so much, except
2094 for headings. Precede headings with page feed. This was mostly
2095 already done, so I made it a convention. Did not update copyright
cee9f5c6
BW
2096 on a couple of files since this was an insignificant change.
2097
fa4075e3
BW
20982005-12-18 Bill Wohler <wohler@newt.com>
2099
2100 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2101 (mh-tool-bar-search-function): Sync docstrings with manual.
13fe29bd
BW
2102 (mh-tool-bar-customize): Replace toolbar with tool bar in
2103 docstring.
fa4075e3
BW
2104 (mh-tool-bar-letter-help): Fix manual reference.
2105 (mh-xemacs-use-toolbar-flag): Rename to
13fe29bd
BW
2106 mh-xemacs-use-tool-bar-flag. Initialize to
2107 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
fa4075e3 2108 (mh-xemacs-toolbar-position): Rename to
13fe29bd 2109 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
fa4075e3
BW
2110 option (redundant) and change "Same As Default Tool Bar" setting
2111 to nil. Sync docstrings with manual.
2112 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2113 depending on context.
13fe29bd
BW
2114 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2115 for calling set-specifier. Only look at the value of
2116 mh-xemacs-use-tool-bar-flag.
2117 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
2118 docstrings with manual.
fa4075e3
BW
2119
2120 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2121 mh-toolbar-init.
2122
2123 * mh-e.el (mh-folder-mode): Ditto.
2124
2125 * mh-utils.el (mh-show-mode): Ditto.
2126
7a5df5a9
BW
21272005-12-15 Bill Wohler <wohler@newt.com>
2128
2129 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2130
2131 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2132 (mh-thread-previous-sibling, mh-thread-ancestor)
2133 (mh-thread-delete, mh-thread-refile): Ditto.
2134
6b960c10
BW
21352005-12-14 Bill Wohler <wohler@newt.com>
2136
2137 * mh-customize.el (mh-speed-flists-interval): Rename to
2138 mh-speed-update-interval.
13fe29bd
BW
2139 (mh-speed-run-flists-flag): Delete. Setting
2140 mh-speed-flists-interval to 0 accomplishes the same thing.
6b960c10 2141
13fe29bd
BW
2142 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2143 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2144 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2145 docstrings with manual.
6b960c10 2146
97c688ed
BW
21472005-12-09 Bill Wohler <wohler@newt.com>
2148
2149 * mh-customize.el (mh-path): Move here from mh-init.el.
2150 (mh-variant): Mention that mh-path can be customized.
2151 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2152 X-MAIL-INFO, and X-UNTD- from NetZero.
2153
2154 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2155
2be362c2
BW
21562005-12-04 Bill Wohler <wohler@newt.com>
2157
f15ced66
BW
2158 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2159 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2160 X-Virus-Scanned.
2bd87afb 2161
13fe29bd
BW
2162 * mh-customize.el (mh-insert-signature-hook): Rename
2163 mh-letter-insert-signature-hook to mh-insert-signature-hook.
f15ced66
BW
2164
2165 * mh-comp.el (mh-insert-signature): Ditto.
2166
56128d97 2167 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
13fe29bd 2168 to nil. Remove t option. Sync docstring with manual (closes SF
56128d97
BW
2169 #831278).
2170 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2171 users can see it, look it up in the manual's index, and discover
2172 mh-fetch-x-image-url (closes SF #831278).
a932ce45 2173
a8a47814
BW
2174 * mh-customize.el (mh-new-messages-folders): Rename from
2175 mh-index-new-messages-folders.
2176 (mh-ticked-messages-folders): Rename from
2177 mh-index-ticked-messages-folders.
2bd87afb 2178
a8a47814
BW
2179 * mh-index.el (mh-index-sequenced-messages)
2180 (mh-index-new-messages): Ditto.
2181
2be362c2 2182 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
13fe29bd 2183 in the docstrings and made usage consistent. Generally speaking,
2be362c2 2184 "messages in range" and "range of messages" is redundant and just
13fe29bd 2185 "range" can be used in most circumstances. Also ensured that
2be362c2 2186 mh-interactive-range was mentioned in all interactive functions
f15ced66
BW
2187 that use a range which describes the range argument for both users
2188 and programmers.
2be362c2
BW
2189
2190 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2191 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2192 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
13fe29bd
BW
2193 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2194 Ditto.
2be362c2 2195
13fe29bd
BW
2196 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2197 Ditto.
2be362c2
BW
2198
2199 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2200
2201 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2202 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2203
2204 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2205 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2206
553fb735
BW
22072005-12-01 Bill Wohler <wohler@newt.com>
2208
2209 Rewrote Reading Mail chapter in manual which affected mh-show
2210 customization group and related functions.
2bd87afb 2211
553fb735
BW
2212 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2213 instead of mh-highlight-citation-p.
2214 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2215 I think, so use "truncated".
2216
2217 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
13fe29bd 2218 section is Folders, not Organizing. Parent of mh-folder-faces is
553fb735
BW
2219 mh-folder, not mh-show.
2220 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2221 (mh-thread): New group that corresponds with manual's Threading
2222 chapter.
2223 (mh-letter-faces): Group's manual section is Editing Drafts, not
2224 Sending Mail.
13fe29bd
BW
2225 (mh-sortm-args): New customization variable that used to be a
2226 defvar.
553fb735
BW
2227 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2228 Move from mh-index group to mh-folders group.
2229 (mh-alias-local-users-prefix, mh-large-folder)
2230 (mh-recursive-folders-flag, mh-before-quit-hook)
2231 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2232 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2233 mh-folder group.
2234 (mh-highlight-citation-style): Rename from
13fe29bd
BW
2235 mh-highlight-citation-p. Sync docstrings with manual.
2236 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
553fb735 2237 with manual.
13fe29bd
BW
2238 (mh-show-threads-flag): Move from mh-show group to mh-thread
2239 group.
553fb735
BW
2240 (mh-find-path-hook): Move from mh-show group to mh-e group.
2241 (mh-folder-updated-hook): Add to mh-folder group.
2242 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2243 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2244 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2245 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2246 (mh-display-buttons-for-inline-parts-flag)
2247 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2248 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2249 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2250 (mh-lpr-command-format, mh-max-inline-image-height)
2251 (mh-max-inline-image-width)
2252 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2253 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2254 (mh-show-use-xface-flag, mh-store-default-directory)
2255 (mh-summary-height, mh-delete-msg-hook
2256 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2bd87afb 2257
553fb735
BW
2258 * mh-e.el
2259 (mh-scan-format-mh, mh-scan-good-msg-regexp)
2260 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
13fe29bd
BW
2261 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
2262 non-fontification instead of non-fontifying.
553fb735 2263 (mh-header-display): Use mh-mhl-format-file instead of
13fe29bd 2264 mhl-formfile. Sync docstrings with manual.
553fb735 2265 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
13fe29bd 2266 count. Sync docstrings with manual.
553fb735 2267 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
13fe29bd
BW
2268 so that message doesn't change when using this command. Sync
2269 docstrings with manual.
2270 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
2271 docstrings with manual.
2272 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2273 to no-header. Sync docstrings with manual.
553fb735
BW
2274 (mh-ps-print-map): Delete keybindings for deleted commands
2275 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2bd87afb 2276 (mh-help-messages): Update printing help.
553fb735
BW
2277 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2278 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2279 (mh-prev-button, mh-folder-toggle-mime-part)
2280 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2281 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2282 manual.
2283
13fe29bd
BW
2284 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2285 mh-customize.el.
2286 (mh-pipe-msg): Rename include-headers to include-header. Sync
2287 docstrings with manual.
553fb735
BW
2288 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2289 (mh-store-msg): Sync docstrings with manual.
2290
13fe29bd
BW
2291 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
2292 docstrings with manual.
553fb735
BW
2293 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2294 Sync docstrings with manual.
13fe29bd
BW
2295 (mh-mm-display-part, mh-mm-inline-message): Use
2296 mh-highlight-citation-style instead of mh-highlight-citation-p.
553fb735
BW
2297 (mh-press-button): Sync docstrings with manual.
2298 (mh-display-with-external-viewer): Fix default output in
13fe29bd 2299 minibuffer. Sync docstrings with manual.
553fb735 2300
13fe29bd
BW
2301 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
2302 Delete.
553fb735
BW
2303 (mh-ps-print-color-option): Incorporate docstring from
2304 ps-print-color-p.
13fe29bd
BW
2305 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
2306 docstring.
2307 (mh-ps-spool-msg): Slimline docstring. Rename from
2308 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
2309 available.
553fb735
BW
2310 (mh-ps-print-range): Extract method from common code in
2311 mh-ps-print-msg and mh-ps-print-msg-file.
13fe29bd
BW
2312 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2313 (mh-ps-print-msg-show): Delete. Can use either
553fb735
BW
2314 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2315 new code in mh-ps-spool-msg.
2316 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2317 Sync docstrings with manual.
2318 (mh-ps-print-msg, mh-ps-print-msg-file)
13fe29bd
BW
2319 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
2320 docstrings with manual.
553fb735 2321
2bd87afb 2322 * mh-utils.el (mh-show-ps-print-msg-show)
553fb735 2323 mh-show-ps-print-toggle-mime): Delete.
2bd87afb 2324 (mh-show-ps-print-map): Update accordingly.
553fb735
BW
2325 (mh-show-mode): Use mh-highlight-citation-style instead of
2326 mh-highlight-citation-p.
2327 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2328 mhl-formfile.
13fe29bd
BW
2329 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
2330 docstrings with manual.
2331 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
2332 docstrings with manual.
553fb735
BW
2333
23342005-12-01 Bill Wohler <wohler@newt.com>
2335
2336 * mh-init.el (mh-defface-compat): Checkdoc fix.
2337
2338 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
13fe29bd
BW
2339 Bogofilter is lowercase except at beginning of sentence and in
2340 titles.
553fb735 2341
94abd6b7
BW
23422005-11-04 Bill Wohler <wohler@newt.com>
2343
6b19bd82
BW
2344 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2345 Move to mh-init.el to minimize bulk of mh-customize.el.
2346
2347 * mh-init.el: Modify commentary since file is used for load and
2348 initialization as well as setting and getting the variant.
13fe29bd
BW
2349 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2350 mh-customize.el.
6b19bd82 2351
13fe29bd
BW
2352 * mh-customize.el: Refactor faces. Move grayscale requirements
2353 last before t. Use uniform line breaks.
3d2efec2 2354 (mh-min-colors-defined-flag): New variable.
13fe29bd 2355 (mh-defface-compat): New function. Provides backward compatibility
3d2efec2 2356 for face specs.
2bd87afb
SM
2357 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2358 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
3d2efec2 2359 (mh-folder-body): Use mh-defface-compat.
94abd6b7 2360
b07e0686
DN
23612005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2362
2363 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2364 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2365 (mh-folder-to-face): Use the min-colors attribute instead of the
2366 type attribute.
2367
be33fce4
BW
23682005-11-03 Bill Wohler <wohler@newt.com>
2369
2370 * mh-customize.el (mh-refile-preserves-sequences-flag)
13fe29bd
BW
2371 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
2372 docstrings with manual.
be33fce4
BW
2373
2374 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2375
2bd87afb 2376 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
be33fce4
BW
2377 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2378 with manual.
2379
93eece98
BW
23802005-11-01 Bill Wohler <wohler@newt.com>
2381
13fe29bd
BW
2382 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2383 defcustom.
b2064e08
BW
2384 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2385 (mh-reply, mh-send, mh-send-other-window)
2386 (mh-fill-paragraph-function): Sync docstrings with manual.
13fe29bd
BW
2387 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2388 msg argument to message (to make for a better docstring).
b2064e08
BW
2389
2390 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
13fe29bd 2391 to defcustom. Rename by adding -flag.
b2064e08
BW
2392 (mh-compose-forward-as-mime-flag)
2393 (mh-compose-letter-function, mh-forward-subject-format)
2394 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2395 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2396 with manual.
2397
2bd87afb 2398 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
93eece98 2399 (mh-ps-print-msg): Remove debugging messages.
2bd87afb 2400 (mh-ps-print-msg-show, mh-ps-print-msg-show)
93eece98
BW
2401 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2402 after message per conventions.
2403
fefc5079
BW
24042005-10-30 Bill Wohler <wohler@newt.com>
2405
2bd87afb 2406 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
13fe29bd
BW
2407 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
2408 docstrings with manual.
ece9cbf7 2409
fefc5079
BW
2410 * mh-customize.el (mh-compose-space-does-completion-flag)
2411 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2412 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
13fe29bd
BW
2413 means" to remain checkdoc clean and consistent with Emacs. I
2414 raised this issue with the Emacs developers and Stallman agrees
fefc5079
BW
2415 that "On means" should be allowed in custom docstrings but that
2416 this change requires thought and should wait until after the Emacs
2417 22 release.
2418
ec397a34
BW
24192005-10-28 Bill Wohler <wohler@newt.com>
2420
50df64d6
BW
2421 * mh-comp.el (mh-annotate-msg): Use new variable
2422 mh-scan-field-destination-offset rather than hard-coding 1.
2423
2424 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2425 docstring.
13fe29bd
BW
2426 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2427 functions to check input for mh-adaptive-cmd-note-flag and
50df64d6
BW
2428 mh-scan-format-file respectively.
2429 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2430 add :set.
2431
13fe29bd
BW
2432 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
2433 destination is the -, t, b, c, or n character for Replied, To, cc,
50df64d6
BW
2434 Bcc, or Newsgroups respectively.
2435 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
2436 Call new function mh-msg-num-width-to-column to make leap between
2437 width and column more explicit.
2438 (mh-msg-num-width-to-column): New function that steals logic from
13fe29bd 2439 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
50df64d6
BW
2440 isn't t since we can't adapt the scan lines in this case.
2441 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2442 make the documentation more clear.
2443 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2444 column, not a width.
2445 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
13fe29bd
BW
2446 variable mh-scan-field-destination-offset rather than hard-coding
2447 1.
50df64d6
BW
2448
2449 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2450 (mh-notate): Use new variable mh-scan-field-destination-offset
2451 rather than hard-coding 1.
2452 (mh-message-number-width): Rename to mh-msg-num-width to be
2453 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2454
ec397a34
BW
2455 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2456 (mail-citation-hook): Quote URLs in docstrings and precede with
13fe29bd
BW
2457 `URL'. The former will suppress checkdoc warnings, the latter will
2458 turn them into hyperlinks in Emacs 22 (I just added the code to do
2459 that today).
ec397a34
BW
2460 (mh-scan-format-file): Checkdoc fix.
2461
169a3241
BW
24622005-10-27 Bill Wohler <wohler@newt.com>
2463
e069fa61
BW
2464 * mh-customize.el (mh-adaptive-cmd-note-flag)
2465 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2466
2467 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2468 (mh-note-cur, mh-scan-good-msg-regexp)
2469 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2470 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2471 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2472 (mh-scan-subject-regexp, mh-scan-format-regexp)
2473 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2474 with manual.
2475
2476 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2477
2478 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2479 of hard-coded string.
13fe29bd
BW
2480 (mh-mail-header-separator, mh-signature-separator-regexp): Use
2481 "regular expression" in docstring instead of regexp.
e069fa61
BW
2482 (mh-scan-msg-number-regexp)
2483 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2484 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2485 (mh-cmd-note): Sync docstrings with manual.
2486
3b463df0
BW
2487 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2488 Checkdoc fixes.
2489
2490 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2bd87afb
SM
2491
2492 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2493 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2494 (mh-mml-secure-message-signencrypt): Ditto.
169a3241 2495
4a263988
BW
24962005-10-24 Bill Wohler <wohler@newt.com>
2497
2498 * mh-gnus.el: Load mml.el in order to see if
2499 mml-minibuffer-read-disposition is defined or not.
2500
2501 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2502 mml autoloads.
2503
97c60a38
MB
25042005-10-23 Miles Bader <miles@gnu.org>
2505
2506 * .arch-inventory: New file.
2507
9a51cf9e
BW
25082005-10-23 Bill Wohler <wohler@newt.com>
2509
13fe29bd
BW
2510 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
2511 docstring with manual.
136e0283 2512
9a51cf9e
BW
2513 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2514 mh-alias.el and move to mh-acros.el
2515
2516 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2517 mh-identity.el and move to mh-acros.el
2518
2519 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2520 mh-identity.el and mh-alias.el.
2521
2522 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2523 warning in Emacs 22.
2524
1dd9796d
SD
25252005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2526
2527 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2528 assoc-string (if the function is available) and falls back on
2529 assoc-ignore-case if assoc-string is not found.
2530 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2531 assoc-ignore-case is a obsolete function in Emacs 22.
2532
2533 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2534 track of whether the tool-bar in mh-folder-mode has been
2535 initialized yet.
2536 (mh-folder-mode): Initialize the tool-bar for folders the first
2537 time we get into mh-letter-mode.
2538
2539 * mh-customize.el (mh-buffer-exists-p): New function which tests
2540 presence of buffers of a given mode.
2541 (mh-tool-bar-define): New functions
2542 mh-tool-bar-folder-buttons-init and
13fe29bd 2543 mh-tool-bar-letter-buttons-init are defined. These functions are
1dd9796d
SD
2544 used to create the tool-bar from the corresponding customizable
2545 variables.
2546
2547 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2548 keeps track of whether the tool-bar in mh-letter-mode has been
2549 initialized yet.
2550 (mh-letter-mode): Initialize the tool-bar for drafts the first
2551 time we get into mh-letter-mode.
2552
0c47b17c
BW
25532005-10-23 Bill Wohler <wohler@newt.com>
2554
13fe29bd
BW
2555 * mh-comp.el (mh-letter-menu): Rename
2556 mh-mhn-compose-external-compressed-tar to
2557 mh-mh-compose-external-compressed-tar. Rename
2558 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2559 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2560 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2561 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2562 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
0c47b17c
BW
2563 to 'mh.
2564 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2565 mh-mh-directive-present-p.
2566 (mh-send-letter): Rename mh-mhn-directive-present-p to
13fe29bd
BW
2567 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2568 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2569 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2570 mh-mhn-compose-external-compressed-tar to
2571 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2572 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2573 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2574 mh-mh-compose-anon-ftp. Rename
2575 mh-mhn-compose-external-compressed-tar to
2576 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2577 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
0c47b17c
BW
2578 mh-mh-compose-external-type.
2579 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2580 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
13fe29bd
BW
2581 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2582 mh-yank-from-start-of-msg to mh-yank-behavior.
0c47b17c
BW
2583 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2584 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2585 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2586 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2587 (mh-letter-complete-or-space, mh-letter-confirm-address)
2588 (mh-letter-next-header-field-or-indent)
2589 (mh-letter-previous-header-field)
13fe29bd
BW
2590 (mh-letter-toggle-header-field-display): Sync docstrings with
2591 manual.
0c47b17c 2592
13fe29bd
BW
2593 * mh-customize.el (mh-edit-mhn-hook): Rename to
2594 mh-mh-to-mime-hook.
0c47b17c
BW
2595 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2596 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2597 and user-visible values from mhn and Gnus to MH and MML.
2bd87afb 2598 (mh-before-send-letter-hook): Add 'ispell-message option.
0c47b17c
BW
2599 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2600 mh-pgp-support-flag.
2601 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2602 (mh-delete-yanked-msg-window-flag)
2603 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2604 (mh-letter-complete-function, mh-letter-fill-column)
2605 (mh-mml-method-default, mh-signature-file-name)
2606 (mh-signature-separator-flag, mh-x-face-file)
2607 (mh-yank-behavior, mail-citation-hook)
2608 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2609 with manual.
2610
2611 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2612 provided for Emacs 21 environments that lack it.
2613
2614 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2615 prompt convention.
2616 (mh-compose-forward): mh-mh-forward-message requires string arg.
2617 (mh-minibuffer-read-type): New function.
2618 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2619 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2620 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2621 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2622 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
13fe29bd
BW
2623 Rename mh-mhn-compose-external-type to
2624 mh-mh-compose-external-type.
0c47b17c 2625 (mh-mhn-compose-external-compressed-tar): Rename to
13fe29bd
BW
2626 mh-mh-compose-external-compressed-tar. Rename
2627 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2628 (mh-mhn-compose-external-type): Rename to
2629 mh-mh-compose-external-type.
2630 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2631 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
0c47b17c
BW
2632 Use correct program in message.
2633 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2634 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2635 (mh-compose-forward, mh-mh-attach-file)
2636 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2637 (mh-mh-compose-external-type, mh-mh-forward-message)
2638 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2639 mh-minibuffer-read-type.
2bd87afb 2640 (mh-mime-content-types): Move comment about only being used in
0c47b17c
BW
2641 Emacs 20 to docstring.
2642 (mh-mh-compose-external-type): Rename extra-param argument to
2643 parameters.
2bd87afb 2644 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
13fe29bd
BW
2645 (mh-mime-display-part, mh-mime-display-single): Rename
2646 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
0c47b17c
BW
2647 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2648 mh-mh-attach-file.
2649 (mh-compose-forward): Rename mh-mhn-compose-forw to
2650 mh-mh-forward-message.
2651 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2652 mh-mh-compose-type.
2653 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2654 (mh-mh-attach-file, mh-mh-compose-type)
2655 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2656 (mh-mh-compose-external-compressed-tar)
2657 (mh-mh-compose-external-type, mh-mh-forward-message)
2bd87afb 2658 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
0c47b17c
BW
2659 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2660 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2661 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2662 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2663 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2664 Sync docstrings with manual.
2665
13fe29bd
BW
2666 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2667 mh-pgp-support-flag.
0c47b17c 2668
fba3b4d8
PG
26692005-10-17 Peter S Galbraith <psg@debian.org>
2670
13fe29bd
BW
2671 * mh-identity.el (mh-identity-field-handler): Use
2672 `assoc-ignore-case' to compare against header field for mixed-case
fba3b4d8
PG
2673 "From:".
2674
ffda926c
BW
26752005-10-17 Bill Wohler <wohler@newt.com>
2676
2bd87afb 2677 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
ffda926c
BW
2678 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2679 to mail/compose, fld_open to fld-open.
13fe29bd
BW
2680 (mh-letter-tool-bar-map): Rename image file mail_send to
2681 mail/send.
ffda926c 2682
8f552dc8
BW
26832005-10-16 Bill Wohler <wohler@newt.com>
2684
79af55a7
BW
2685 * mh-comp.el (mh-display-completion-list-compat): New macro which
2686 calls `display-completion-list' correctly in older environments.
2687 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2688 argument.
2689 (mh-complete-word): Use it.
2690
8f552dc8 2691 * mh-init.el (mh-image-load-path): Use locate-library to find
13fe29bd 2692 MH-E. This simplified the code a lot. Flattened out nested
8f552dc8
BW
2693 statements even more.
2694
7c164e0c
SD
26952005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2696
2697 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2698 causes a compiler warning.
2699
2700 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2701 the message to be viewed (closes SF #1306141).
2702
f5fab556
MY
27032005-10-16 Masatake YAMATO <jet@gyve.org>
2704
13fe29bd
BW
2705 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2706 of completion to `display-completion-list'.
f5fab556 2707
2416ec64
SD
27082005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2709
2710 * mh-init.el (mh-image-load-path-called-flag): New variable which
2711 is used by mh-image-load-path so that it runs only once.
13fe29bd
BW
2712 (mh-image-load-path): Modify so that it gets run only once. Also
2713 flatten out heavily nested if statements to make it clearer.
2416ec64
SD
2714
2715 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2716 to find images used in the toolbar.
2717
2718 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2719
a9954630
BW
27202005-10-14 Bill Wohler <wohler@newt.com>
2721
2bd87afb 2722 * mh-e.el (Version, mh-version): Add +cvs to version.
a9954630 2723
5b004a34
BW
27242005-10-14 Bill Wohler <wohler@newt.com>
2725
2726 Released MH-E version 7.85.
2bd87afb
SM
2727
2728 * mh-e.el (Version, mh-version): Update for release 7.85.
2729
a10f4ace
BW
27302005-10-14 Bill Wohler <wohler@newt.com>
2731
13fe29bd
BW
2732 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2733 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2bd87afb
SM
2734 need to be indented.
2735
5b004a34 2736 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
13fe29bd
BW
2737 but the code that invoked the face had not been updated. Tick
2738 highlighting working again.
5b004a34 2739
13fe29bd
BW
2740 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2741 make-variable-buffer-local call to top level to avoid warnings in
a10f4ace
BW
2742 CVS Emacs.
2743
2bd87afb 2744 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
a10f4ace
BW
2745 with read-string.
2746
a05fcb7d 27472005-10-09 Bill Wohler <wohler@newt.com>
c727526b 2748
a05fcb7d
BW
2749 * mh-init.el (mh-image-load-path): New function that adds the path
2750 to the MH-E images to the image-load-path or load-path depending
2751 on the version of Emacs.
c727526b 2752
a05fcb7d
BW
2753 * mh-customize.el: Call mh-image-load-path just before
2754 mh-tool-bar-define so that the toolbar images can be found.
d88a70a0 2755
a05fcb7d 27562005-10-04 Bill Wohler <wohler@newt.com>
d88a70a0 2757
2bd87afb
SM
2758 * ChangeLog: Move contents into ChangeLog.1 and trim.
2759
13fe29bd 2760 * ChangeLog.1: New file. Contains old ChangeLog.
900d1698 2761
47570699 2762
a05fcb7d 2763 Copyright (C) 2005 Free Software Foundation, Inc.
e9be14aa 2764
e495eaec
BW
2765 Copying and distribution of this file, with or without modification,
2766 are permitted in any medium without royalty provided the copyright
2767 notice and this notice are preserved.
ab5796a9 2768
13fe29bd
BW
2769;; Local Variables:
2770;; sentence-end-double-space: nil
2771;; End:
2772
ab5796a9 2773;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51