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