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