Add arch tagline
[bpt/emacs.git] / lisp / mh-e / ChangeLog
CommitLineData
30f24016
BW
12006-01-15 Bill Wohler <wohler@newt.com>
2
98eab4e4
BW
3 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
4 standalone compile.
5 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
6
7 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
8 where they are used.
9
30f24016
BW
10 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
11 needed to help remove dependency on mh-utils.
12
13 * mh-exec.el: New file. Move process support routines here from
14 mh-utils.el.
15
16 * mh-init.el (mh-utils): Remove require.
17 (mh-exec): Add require.
18 (mh-profile-component, mh-profile-component-value): Move here from
19 mh-utils.el.
20
21 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
22 dependencies on mh-utils.el.
23 (mh-profile-component, mh-profile-component-value): Move to
24 mh-init.el since that's the only place that uses them. (Other than
25 mh-alias.el; I'm thinking that mh-find-path can set variable from
26 the Aliasfile component like it does the other components).
27 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
28 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
29 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
30 (defvar, mh-exec-cmd-output)
31 (mh-exchange-point-and-mark-preserving-active-mark)
32 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
33 file mh-exec.el so that mh-init.el doesn't have to depend on
34 mh-utils.el, breaking circular dependency.
35
36 * mh-alias.el:
37 * mh-customize.el:
38 * mh-e.el:
39 * mh-funcs.el:
40 * mh-gnus.el:
41 * mh-identity.el:
42 * mh-inc.el:
43 * mh-junk.el:
44 * mh-mime.el:
45 * mh-print.el:
46 * mh-search.el:
47 * mh-seq.el:
48 * mh-speed.el: Added debugging statements (commented out) around
49 requires to help find dependency loops. Will remove them when
50 issues are resolved.
51
a4d7cec3
BW
522006-01-14 Bill Wohler <wohler@newt.com>
53
54 * mh-customize.el (mh-index): Rename group to mh-search and sort
55 group definition and options accordingly.
56 (mh-index-program): Rename to mh-search-program.
57 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
58 mh-search-p.
59 (mh-search-mode-hook): Change group from mh-index to mh-search.
60 (mh-index-folder): Rename to mh-search-folder. Change group from
61 mh-index to mh-search.
62
63 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
64 to mh-search-folder.
65
66 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
67 pick and grep are searchers too but aren't indexed.
68 (mh-index-execute-search-function): Rename to mh-search-function.
69 (mh-index-next-result-function): Rename to
70 mh-search-next-result-function.
71 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
72 (mh-search): Since redo-search-flag defaults to nil and is of
73 lesser importance, make it an optional argument and place it after
74 the folder and search-regexp arguments. Sync docstring with
75 manual.
76 (mh-search-mode-map): Autoload so that keys are shown in help even
77 before mh-search is loaded.
78 (mh-search-mode): Sync docstring with manual.
79 (mh-index-do-search): Rename argument indexer to searcher. Sync
80 docstring with manual.
81 (mh-pick-do-search): Sync docstring with manual.
82 (mh-index-p): Rename to mh-search-p.
83 (mh-indexer-choices): Rename to mh-search-choices.
84 (mh-index-choose): Rename to mh-search-choose. Rename argument
85 indexer to searcher.
86 (mh-swish++-execute-search, mh-swish-execute-search)
87 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
88 read the results" from docstring since these functions don't.
89 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
90 with manual.
91 (mh-index-generate-pretty-name): Prune -search from string so that
92 folder names for pick searches are the same as those of other
93 searches.
94
11db987f
BW
952006-01-13 Bill Wohler <wohler@newt.com>
96
4501e6fb
BW
97 * mh-acros.el (require): Added Satyaki's comment regarding what
98 needs to happen to remove this defadvice which caused a little
99 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
100 advices `require' incorrectly).
101
11db987f
BW
102 * mh-search.el (mh-index-next-result-function): Add format to
103 docstring.
104 (mh-mairix-next-result): Use nil instead of () which doesn't stand
105 out as well.
106 (mh-pick-execute-search): Operate across all folders if no folder
107 given and recurse folder(s).
108 (mh-pick-next-result): Handle new output.
109
110 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
111 (mh-children-p, mh-folder-list): New functions.
112
44140699
BW
1132006-01-12 Bill Wohler <wohler@newt.com>
114
115 * mh-search.el: New file containing contents of mh-index.el and
116 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
117 pick. Pick no longer sets the "search" sequence. Instead, it
118 brings up a folder view that we're accustomed to. (closes SF
119 #829207).
120 (mh-index-search): Rename to mh-search.
121 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
122 the Search to Perform Search and call mh-do-search. Add Search
123 with Pick menu item.
124 (mh-do-search): Delete.
125 (mh-search-mode): Rename from mh-pick-mode.
126 (MH-Search): Rename mode from MH-Pick.
127 (mh-search-mode-map): Rename from mh-pick-mode-map.
128 (mh-search-mode-help-messages): Rename from
129 mh-pick-mode-help-messages.
130 (mh-index-choose): Don't reuse the last value of mh-indexer; when
131 mh-pick-do-search sets it to 'pick, we don't necessarily want to
132 stay with that choice!
133
134 * mh-index.el:
135 * mh-pick.el: Merge into mh-search.el and delete.
136
137 * mh-customize.el (mh-index-program): Change mh-index-search to
138 mh-search in docstring.
139 (mh-tool-bar-search-function): Change default from
140 mh-search-folder to mh-search. Remove mh-search-folder as choice
141 and rename mh-index-search choice to mh-search. Fix docstring.
142 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
143 mh-search-folder to mh-search in docstring.
144
145 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
146 Indexed Search to Search. Use mh-search instead of
147 mh-index-search.
148 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
149 from mh-show-search-folder to mh-search.
150
151 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
152 mh-search-folder no longer creates the search sequence.
153
154 * mh-utils.el (mh-show-search-folder): Delete.
155 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
156 Change s from mh-show-search-folder to mh-search.
157 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
158 Search to Search. Use mh-search instead of mh-index-search.
159 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
160 here from deleted mh-index.el.
161
e1fbc812
BW
1622006-01-11 Bill Wohler <wohler@newt.com>
163
549afb31
BW
164 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
165 from mh-gnus.el.
166
167 * mh-gnus.el: Require mh-acros.
168 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
169
170 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
171 url-hexify-string to remove special characters from filenames
172 (closes SF #1396499). Note that this invalidates the existing
173 names in your cache so you might as well remove
174 ~/Mail/.mhe-x-image-cache/* now.
175 (url-unreserved-chars, url-hexify-string): Define if not defined.
176 Copied from url-util.el in Emacs22 for Emacs 21.
177
9c2cf222
BW
178 * mh-buffers.el: New file. Contains constants and code from
179 mh-index.el and mh-utils.el.
180
181 * mh-alias.el:
182 * mh-comp.el:
183 * mh-e.el:
184 * mh-funcs.el:
185 * mh-init.el:
186 * mh-junk.el:
187 * mh-mime.el:
188 * mh-print.el:
189 * mh-seq.el: Require new file mh-buffers.el.
190
191 * mh-index.el: Require new file mh-buffers.el.
192 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
193 mh-buffers.el.
194
195 * mh-utils.el: Require new file mh-buffers.el.
196 (mh-temp-buffer, mh-temp-fetch-buffer)
197 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
198 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
199 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
200 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
201
00b6a079
BW
202 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
203 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
204
191c8741
BW
2052006-01-10 Bill Wohler <wohler@newt.com>
206
c2134792 207 * mh-comp.el (mh-insert-letter): If you choose a different folder,
e1fbc812
BW
208 the cur message is used. Sync docstring with manual (closes SF
209 #1205890).
c2134792
BW
210
211 * mh-mime.el (mh-compose-forward): Use standard range argument
212 instead of messages. Use more powerful mh-read-range instead of
213 read-string. Sync docstring with manual (close SF #1205890).
214
191c8741
BW
215 * mh-index.el (mh-index-search): Checking mh-find-path-run is
216 unnecessary.
2898111c
BW
217 (mh-index-next-folder): Don't back up a line when going backwards
218 since this skips the current folder heading if point is on the
219 first message after the folder heading (closes SF #1126188).
191c8741
BW
220
221 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
222 it.
223 (mh-variants): Note variable isn't meant to be accessed directly;
224 use function mh-variants instead.
225 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
226 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
227 them. Updated to use mh-file-command-p which is more accurrate
228 than file-executable-p which returns t for directories.
229 (mh-file-command-p): Move here from mh-utils, since
230 mh-variant-*-info are the only functions to use it.
231 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
232 function mh-variants instead of variable. More robust.
233 (mh-find-path-run): Move here from mh-utils.el. Mention that
234 checking this variable is unnecessary.
235 (mh-find-path): Move here from mh-utils.el. With the advent of MH
236 variants and an mhparam command that doesn't work if there isn't
237 an MH profile, we can't get libdir for running install-mh. So
238 don't bother. If there's an issue with the environment, direct the
239 user to install MH and run install-mh (closes SF #835192). Don't
240 read ~/.mh_profile directly. Use mh-profile-component which uses
241 mhparam (closes SF #1016027).
242
243 * mh-utils.el (mh-get-profile-field): Rename to
244 mh-profile-component-value. Add colon to search removing
245 unnecessary addition of colon to field in mh-profile-component.
246 (mh-profile-component): Modify call to mh-profile-component-value
247 accordingly. Move next to mh-profile-component-value.
248 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
249 mh-init.el. It makes sense that code that is only run once per
250 session (more or less) is in mh-init.el rather than cluttering
251 mh-utils.el.
252 (mh-no-install, mh-install): Delete.
253
254 * mh-customize.el (mh-folder-msg-number):
255 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
256
04f6a2d1
BW
2572006-01-09 Bill Wohler <wohler@newt.com>
258
b981c52c
BW
259 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
260 patch from Satyaki from SF #1016027.
261
8f9efec8
BW
262 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
263 message, even if cur sequence is no longer present (closes SF
264 #1207247).
265
b6d8f743
BW
266 * mh-comp.el: Use ";; Shush compiler." comment consistently per
267 Mark's suggestion.
268 (mh-letter-mode): Derive from mail-mode and delete code copied
269 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
270 docstring.
271 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
272 (mh-to-field-choices): For consistency with mail-mode, add "a" for
273 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
274 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
275 (mh-to-fcc): Move setting of folder argument to interactive
276 argument as is the norm.
277 (mh-letter-complete-function-alist): Add mail-reply-to.
278 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
279 Mail-Followup-To, Reply-To, From).
280
90866475
BW
281 * mh-customize.el: Use ";; Forward definition." consistently.
282 Comment declaration to remind programmer to update forward
283 definition if default changes.
284
04f6a2d1
BW
285 * mh-funcs.el:
286 * mh-inc.el:
287 * mh-init.el:
288 * mh-mime.el:
289 * mh-seq.el:
290 * mh-utils.el: Use ";; Shush compiler." comment consistently per
291 Mark's suggestion.
292
7094eefe
BW
2932006-01-08 Bill Wohler <wohler@newt.com>
294
295 Removed code that was marked as Emacs 20 compatible that was
296 easily found showing how important it is to document such
297 things (closes SF #1359240). Feel free to nuke any other Emacs 20
298 peculiarities that you find. Wrapped code for shushing compiler
299 with (eval-when-compile), sometimes moving the defvars closer to
300 where they were used.
301
302 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
303 instead of mh-replace-in-string as mh-replace-in-string was
304 replaced by a more appropriate defsubst in mh-xemacs.el.
305
306 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
307 eval-when-compile.
308 (mh-file-is-vcard-p): Removed redundant test.
309
310 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
311 with eval-when-compile.
312 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
313 (mh-invisible-header-fields-default): Add forward definitions.
314 (mh-invisible-header-fields-default): Alphabetize.
315
316 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
317 eval-when-compile.
318 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
319 variables.
320 (mh-colors-available-p): Just call display-color-cells. It's on
321 all supported Emacsen (and defaliased on XEmacs).
322
323 * mh-funcs.el:
324 * mh-inc.el:
325 * mh-init.el: Wrap compiler-shushing defvars with
326 eval-when-compile.
327
328 * mh-identity.el: Don't need (mh-require-cl).
329
330 * mh-index.el: Don't need to load executable any more.
331
332 * mh-mime.el: Wrap compiler-shushing defvars with
333 eval-when-compile.
334 (mh-have-file-command): Initialize variable to 'undefined. Add
335 docstring. Update function of same name accordingly. Also don't
336 need to load executable any more.
337 (mh-mime-content-types): Delete.
338 (mh-minibuffer-read-type): Prompt user for type if
339 mh-file-mime-type returns application/octet-stream. Assume we have
340 mailcap-mime-types.
341 (mh-mime-display): Update error message.
342
343 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
344 with eval-when-compile.
345
346 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
347 with eval-when-compile.
348 (mh-clean-msg-header): Don't set after-change-functions to nil.
349 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
350 instead.
351
98b7b7ed
BW
3522006-01-07 Bill Wohler <wohler@newt.com>
353
3af622d5
BW
354 * mh-customize.el: Updated Faces documentation in header.
355 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
356 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
357
98b7b7ed
BW
358 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
359 tags inserted by Gnus gnus-summary-mail-forward (closes SF
360 #1399307).
361
836f2863
MB
3622006-01-03 Mark D. Baushke <mdb@gnu.org>
363
364 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
365 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
366
e69d4e02
BW
3672006-01-03 Bill Wohler <wohler@newt.com>
368
f9c53c97
BW
369 * mh-alias.el (mh-alias-add-alias): Grand message and error string
370 unification. Use single sentence if possible by using semicolon.
371 Don't end message with punctuation. Don't need format with
372 message. Quote messages as in docstrings: use `' around symbols,
373 \" for option choices. Don't use quotes around %s.
374
375 * mh-comp.el (mh-complete-word): Ditto.
376
377 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
378 (mh-scan-format-file-check): Ditto.
379
380 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
381 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
382 (mh-msg-num-width-to-column): Ditto.
383
384 * mh-identity.el (mh-identity-field-handler): Ditto.
385
386 * mh-index.el (mh-mairix-execute-search)
387 (mh-swish-execute-search, mh-swish++-execute-search)
388 (mh-namazu-execute-search): Ditto.
389
390 * mh-init.el (mh-variant-set): Ditto.
391
392 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
393 (mh-secure-message, mh-mime-display): Ditto.
394
395 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
396
397 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
398 (mh-read-range, mh-thread-container-subject): Ditto.
399
400 * mh-utils.el (mh-x-image-scale-and-display)
401 (mh-prompt-for-folder, mh-handle-process-error)
402 (mh-list-to-string-1): Ditto.
403
078cb314
BW
404 * mh-comp.el (mh-reply): Use standard default notation in
405 prompts (closes SF #1275933).
406
407 * mh-mime.el (mh-mime-save-parts): Ditto.
408
409 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
410
355ebcbf
BW
411 * mh-customize.el (mh-folder-msg-number): Snow is actually
412 off-white on low color displays which turns to white when bold.
413 This is unreadable on white backgrounds. Use snow with min-colors
414 requirement. Use cyan on low-color displays.
415
416 * mh-init.el (mh-defface-compat): On low-color displays, delete
417 the high-color display rather than simply strip the min-colors
418 requirement since the existing algorithm shadowed the desired
419 display on low-color displays.
420
e69d4e02
BW
421 * mh-alias.el (mh-alias-add-alias): Remove leading * from
422 docstring.
423
af435184
BW
4242006-01-02 Bill Wohler <wohler@newt.com>
425
426 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
427 docstring. Does this mean something in a defun?
428
429 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
430 Checkdoc fix.
431
432 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
433 so it reads better in docstring and manual. Sync docstring with
434 manual.
435
436 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
437
438 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
439
440 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
441 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
442 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
443 (mh-letter-complete-or-space, mh-letter-confirm-address)
444 (mh-letter-next-header-field-or-indent)
445 (mh-letter-previous-header-field): Ditto.
446
447 * mh-customize.el (mh-alias-completion-ignore-case-flag)
448 (mh-default-folder-for-message-function, mh-mml-method-default)
449 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
450 (mh-show-mode-hook) Ditto.
451
452 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
453
454 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
455 (mh-store-msg, mh-store-buffer): Ditto
456
457 * mh-index.el (mh-index-search, mh-index-do-search)
458 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
459
460 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
461
462 * mh-mime.el (mh-mh-compose-external-compressed-tar)
463 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
464 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
465 (mh-mml-secure-message-signencrypt): Ditto
466
467 * mh-pick.el (mh-search-folder): Ditto.
468
469 * mh-seq.el (mh-widen): Ditto.
470
471 * mh-utils.el (mh-show, mh-modify): Ditto.
472
285d1e0c
MB
4732006-01-02 Mark D. Baushke <mdb@gnu.org>
474
475 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
476
d49ed7d4
BW
4772006-01-01 Bill Wohler <wohler@newt.com>
478
479 * mh-customize.el: Sync docstrings with manual for faces and sort
480 them alphabetically.
481 (mh-faces): Move below mh-hooks.
482 (mh-folder-faces, mh-index-faces, mh-letter-faces)
483 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
484 hooks.
485 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
486 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
487 (mh-folder-body-face, mh-folder-cur-msg-face)
488 (mh-folder-cur-msg-number-face, mh-folder-date-face)
489 (mh-folder-followup-face, mh-folder-msg-number-face)
490 (mh-folder-deleted-face, mh-folder-refiled-face)
491 (mh-folder-subject-face, mh-folder-address-face)
492 (mh-folder-scan-format-face, mh-folder-to-face)
493 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
494 (mh-show-header-face, mh-show-pgg-good-face)
495 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
496 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
497 Delete.
498 (mh-folder-cur-msg): Unused. Delete.
499 (mh-folder-address): Use defface; inherit from mh-folder-subject.
500 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
501 Inherit from mh-folder-msg-number.
502 (mh-folder-deleted): Use defface. Inherit from
503 mh-folder-msg-number.
504 (mh-folder-sent-to-me-hint): New face. Inherit from
505 mh-folder-date.
506 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
507 Use defface. Inherit from mh-folder-followup.
508 (mh-show-xface): Inherit from mh-show-from and highlight.
509 (bw-face-generation, bw-toggle-faces)
510 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
511 variables, functions for toggling between old and new faces.
512
513 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
514 eval-when-compile. We should probably do this throughout.
515 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
516 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
517 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
518 (mh-scan-subject-regexp): Sync docstrings with manual
519 (mh-scan-format-regexp): Rename to
520 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
521 expression. Make expression more like the others (anchored at the
522 beginning of line). Sync docstrings with manual.
523 (mh-folder-font-lock-keywords): Use faces directly rather than
524 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
525 mh-scan-format-regexp, and within that expression, use faces
526 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
527 of mh-folder-date-face and mh-folder-scan-format-face which were
528 misleading.
529
530 * mh-mime.el (mh-mime-security-button-face): Use faces directly
531 rather than -face variables.
532
533 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
534 rather than -face variables.
535 (mh-face-foreground-compat, mh-face-background-compat): New macros.
536 (mh-face-display-function): Use mh-face-foreground-compat and
537 mh-face-background-compat to use inherited attributes of
538 mh-show-xface on Emacs 22 while still working on Emacs 21.
539
0d887b77
BW
5402005-12-28 Bill Wohler <wohler@newt.com>
541
542 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
543 mh-user-agent-compose instead of mh-smail-batch.
544
13fe29bd
BW
5452005-12-27 Bill Wohler <wohler@newt.com>
546
547 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
548 suppress creation of folder if it doesn't exist.
549
2bd87afb
SM
5502005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
553
5a4aad03
BW
5542005-12-23 Bill Wohler <wohler@newt.com>
555
7ba8dffd
BW
556 * mh-e.el (mh-folders-changed): Fix typo in docstring.
557
13fe29bd
BW
558 Follow MH-E Developers Guide conventions. Use `' quotes for Help
559 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
560 everything else. Otherwise, you can accidently get links to
5a4aad03 561 nonsense symbols.
2bd87afb 562
d1699462
BW
5632005-12-22 Bill Wohler <wohler@newt.com>
564
13fe29bd 565 Follow Emacs coding conventions. Use default setting of
2dcf34f9 566 emacs-lisp-docstring-fill-column which is 65.
2bd87afb 567
d1699462
BW
568 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
569
570 * mh-comp.el (mh-letter-mode): Use 60 column width.
571 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
572 with manual.
573 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
574 you have added a mail-citation-hook and neither are used if you
13fe29bd
BW
575 use one of the supercite flavors of mh-yank-behavior. Sync
576 docstrings with manual.
d1699462 577
13fe29bd
BW
578 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
579 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
580 hook. Use "Hook run by `function'..." instead of "Invoked...".
d1699462
BW
581 Sync docstrings with manual.
582 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
583 mh-ins-buf-prefix isn't used if you have added a
584 mail-citation-hook and neither are used if you use one of the
13fe29bd
BW
585 supercite flavors of mh-yank-behavior. Sync docstrings with
586 manual.
587 (mail-citation-hook): Delete. Use one in sendmail.el.
d1699462
BW
588 (mh-signature-file-name, mh-after-commands-processed-hook)
589 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
590 (mh-before-quit-hook, mh-before-send-letter-hook)
591 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
592 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
593 (mh-letter-mode-hook)
594 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
595 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
596 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
13fe29bd 597 of "Invoked...". Sync docstrings with manual.
d1699462
BW
598
599 * mh-e.el (mh-last-destination, mh-last-destination-folder)
600 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
601 (mh-delete-list, mh-refile-list, mh-folders-changed)
602 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
603 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
604 (mh-mode-line-annotation, mh-sequence-notation-history)
605 (mh-colors-available-flag): Move comment into docstring.
2bd87afb
SM
606 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
607 (mh-process-commands): Sync docstrings with manual.
d1699462
BW
608 (mh-refile-msg): Small doc edit.
609 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
610 Rename msg argument to message.
611
612 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
613
614 * mh-e.el (mh-update-unseen): No longer say "The value of
615 `foo-hook' is a list of functions to be called, with no arguments,
616 ...," but rather just "The hook foo-hook is called...".
617
2bd87afb 618 * mh-mime.el (mh-mh-to-mime): Ditto.
d1699462
BW
619
620 * mh-pick.el (mh-pick-mode): Ditto.
621
622 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
623 docstring.
624 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
625 into docstring.
13fe29bd
BW
626 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
627 manual.
d1699462 628
2bd87afb 6292005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2953de8c 630
13fe29bd
BW
631 * mh-customize.el (mh-after-commands-processed-hook): New
632 variable.
633 (mh-before-commands-processed-hook): Rename
634 mh-folder-updated-hook.
2953de8c 635
13fe29bd
BW
636 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
637 mh-before-commands-processed-hook, call new
2953de8c
SG
638 mh-after-commands-processed-hook.
639 (mh-folders-changed): New variable (for use in
640 mh-after-commands-processed-hook).
641
cee9f5c6
BW
6422005-12-19 Bill Wohler <wohler@newt.com>
643
644 * mh-acros.el:
645 * mh-alias.el:
646 * mh-comp.el:
647 * mh-customize.el:
648 * mh-e.el:
649 * mh-funcs.el:
650 * mh-gnus.el:
651 * mh-identity.el:
652 * mh-inc.el:
653 * mh-index.el:
654 * mh-init.el:
655 * mh-junk.el:
656 * mh-mime.el:
657 * mh-pick.el:
658 * mh-print.el:
659 * mh-seq.el:
660 * mh-speed.el:
661 * mh-utils.el:
13fe29bd
BW
662 Follow commenting conventions. Don't use ;;; form so much, except
663 for headings. Precede headings with page feed. This was mostly
664 already done, so I made it a convention. Did not update copyright
cee9f5c6
BW
665 on a couple of files since this was an insignificant change.
666
fa4075e3
BW
6672005-12-18 Bill Wohler <wohler@newt.com>
668
669 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
670 (mh-tool-bar-search-function): Sync docstrings with manual.
13fe29bd
BW
671 (mh-tool-bar-customize): Replace toolbar with tool bar in
672 docstring.
fa4075e3
BW
673 (mh-tool-bar-letter-help): Fix manual reference.
674 (mh-xemacs-use-toolbar-flag): Rename to
13fe29bd
BW
675 mh-xemacs-use-tool-bar-flag. Initialize to
676 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
fa4075e3 677 (mh-xemacs-toolbar-position): Rename to
13fe29bd 678 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
fa4075e3
BW
679 option (redundant) and change "Same As Default Tool Bar" setting
680 to nil. Sync docstrings with manual.
681 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
682 depending on context.
13fe29bd
BW
683 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
684 for calling set-specifier. Only look at the value of
685 mh-xemacs-use-tool-bar-flag.
686 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
687 docstrings with manual.
fa4075e3
BW
688
689 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
690 mh-toolbar-init.
691
692 * mh-e.el (mh-folder-mode): Ditto.
693
694 * mh-utils.el (mh-show-mode): Ditto.
695
7a5df5a9
BW
6962005-12-15 Bill Wohler <wohler@newt.com>
697
698 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
699
700 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
701 (mh-thread-previous-sibling, mh-thread-ancestor)
702 (mh-thread-delete, mh-thread-refile): Ditto.
703
6b960c10
BW
7042005-12-14 Bill Wohler <wohler@newt.com>
705
706 * mh-customize.el (mh-speed-flists-interval): Rename to
707 mh-speed-update-interval.
13fe29bd
BW
708 (mh-speed-run-flists-flag): Delete. Setting
709 mh-speed-flists-interval to 0 accomplishes the same thing.
6b960c10 710
13fe29bd
BW
711 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
712 mh-speed-update-interval instead of mh-speed-run-flists-flag.
713 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
714 docstrings with manual.
6b960c10 715
97c688ed
BW
7162005-12-09 Bill Wohler <wohler@newt.com>
717
718 * mh-customize.el (mh-path): Move here from mh-init.el.
719 (mh-variant): Mention that mh-path can be customized.
720 (mh-invisible-header-fields-internal): Add X-ContentStamp,
721 X-MAIL-INFO, and X-UNTD- from NetZero.
722
723 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
724
2be362c2
BW
7252005-12-04 Bill Wohler <wohler@newt.com>
726
f15ced66
BW
727 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
728 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
729 X-Virus-Scanned.
2bd87afb 730
13fe29bd
BW
731 * mh-customize.el (mh-insert-signature-hook): Rename
732 mh-letter-insert-signature-hook to mh-insert-signature-hook.
f15ced66
BW
733
734 * mh-comp.el (mh-insert-signature): Ditto.
735
56128d97 736 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
13fe29bd 737 to nil. Remove t option. Sync docstring with manual (closes SF
56128d97
BW
738 #831278).
739 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
740 users can see it, look it up in the manual's index, and discover
741 mh-fetch-x-image-url (closes SF #831278).
a932ce45 742
a8a47814
BW
743 * mh-customize.el (mh-new-messages-folders): Rename from
744 mh-index-new-messages-folders.
745 (mh-ticked-messages-folders): Rename from
746 mh-index-ticked-messages-folders.
2bd87afb 747
a8a47814
BW
748 * mh-index.el (mh-index-sequenced-messages)
749 (mh-index-new-messages): Ditto.
750
2be362c2 751 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
13fe29bd 752 in the docstrings and made usage consistent. Generally speaking,
2be362c2 753 "messages in range" and "range of messages" is redundant and just
13fe29bd 754 "range" can be used in most circumstances. Also ensured that
2be362c2 755 mh-interactive-range was mentioned in all interactive functions
f15ced66
BW
756 that use a range which describes the range argument for both users
757 and programmers.
2be362c2
BW
758
759 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
760 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
761 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
13fe29bd
BW
762 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
763 Ditto.
2be362c2 764
13fe29bd
BW
765 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
766 Ditto.
2be362c2
BW
767
768 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
769
770 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
771 (mh-ps-print-msg-file, mh-print-msg): Ditto.
772
773 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
774 (mh-narrow-to-range, mh-toggle-tick): Ditto.
775
553fb735
BW
7762005-12-01 Bill Wohler <wohler@newt.com>
777
778 Rewrote Reading Mail chapter in manual which affected mh-show
779 customization group and related functions.
2bd87afb 780
553fb735
BW
781 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
782 instead of mh-highlight-citation-p.
783 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
784 I think, so use "truncated".
785
786 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
13fe29bd 787 section is Folders, not Organizing. Parent of mh-folder-faces is
553fb735
BW
788 mh-folder, not mh-show.
789 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
790 (mh-thread): New group that corresponds with manual's Threading
791 chapter.
792 (mh-letter-faces): Group's manual section is Editing Drafts, not
793 Sending Mail.
13fe29bd
BW
794 (mh-sortm-args): New customization variable that used to be a
795 defvar.
553fb735
BW
796 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
797 Move from mh-index group to mh-folders group.
798 (mh-alias-local-users-prefix, mh-large-folder)
799 (mh-recursive-folders-flag, mh-before-quit-hook)
800 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
801 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
802 mh-folder group.
803 (mh-highlight-citation-style): Rename from
13fe29bd
BW
804 mh-highlight-citation-p. Sync docstrings with manual.
805 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
553fb735 806 with manual.
13fe29bd
BW
807 (mh-show-threads-flag): Move from mh-show group to mh-thread
808 group.
553fb735
BW
809 (mh-find-path-hook): Move from mh-show group to mh-e group.
810 (mh-folder-updated-hook): Add to mh-folder group.
811 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
812 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
813 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
814 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
815 (mh-display-buttons-for-inline-parts-flag)
816 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
817 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
818 (mh-invisible-header-fields-default, mh-invisible-header-fields)
819 (mh-lpr-command-format, mh-max-inline-image-height)
820 (mh-max-inline-image-width)
821 (mh-mime-save-parts-default-directory, mh-print-background-flag)
822 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
823 (mh-show-use-xface-flag, mh-store-default-directory)
824 (mh-summary-height, mh-delete-msg-hook
825 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2bd87afb 826
553fb735
BW
827 * mh-e.el
828 (mh-scan-format-mh, mh-scan-good-msg-regexp)
829 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
13fe29bd
BW
830 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
831 non-fontification instead of non-fontifying.
553fb735 832 (mh-header-display): Use mh-mhl-format-file instead of
13fe29bd 833 mhl-formfile. Sync docstrings with manual.
553fb735 834 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
13fe29bd 835 count. Sync docstrings with manual.
553fb735 836 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
13fe29bd
BW
837 so that message doesn't change when using this command. Sync
838 docstrings with manual.
839 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
840 docstrings with manual.
841 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
842 to no-header. Sync docstrings with manual.
553fb735
BW
843 (mh-ps-print-map): Delete keybindings for deleted commands
844 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2bd87afb 845 (mh-help-messages): Update printing help.
553fb735
BW
846 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
847 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
848 (mh-prev-button, mh-folder-toggle-mime-part)
849 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
850 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
851 manual.
852
13fe29bd
BW
853 * mh-funcs.el (mh-sortm-args): Now a customization option and in
854 mh-customize.el.
855 (mh-pipe-msg): Rename include-headers to include-header. Sync
856 docstrings with manual.
553fb735
BW
857 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
858 (mh-store-msg): Sync docstrings with manual.
859
13fe29bd
BW
860 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
861 docstrings with manual.
553fb735
BW
862 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
863 Sync docstrings with manual.
13fe29bd
BW
864 (mh-mm-display-part, mh-mm-inline-message): Use
865 mh-highlight-citation-style instead of mh-highlight-citation-p.
553fb735
BW
866 (mh-press-button): Sync docstrings with manual.
867 (mh-display-with-external-viewer): Fix default output in
13fe29bd 868 minibuffer. Sync docstrings with manual.
553fb735 869
13fe29bd
BW
870 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
871 Delete.
553fb735
BW
872 (mh-ps-print-color-option): Incorporate docstring from
873 ps-print-color-p.
13fe29bd
BW
874 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
875 docstring.
876 (mh-ps-spool-msg): Slimline docstring. Rename from
877 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
878 available.
553fb735
BW
879 (mh-ps-print-range): Extract method from common code in
880 mh-ps-print-msg and mh-ps-print-msg-file.
13fe29bd
BW
881 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
882 (mh-ps-print-msg-show): Delete. Can use either
553fb735
BW
883 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
884 new code in mh-ps-spool-msg.
885 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
886 Sync docstrings with manual.
887 (mh-ps-print-msg, mh-ps-print-msg-file)
13fe29bd
BW
888 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
889 docstrings with manual.
553fb735 890
2bd87afb 891 * mh-utils.el (mh-show-ps-print-msg-show)
553fb735 892 mh-show-ps-print-toggle-mime): Delete.
2bd87afb 893 (mh-show-ps-print-map): Update accordingly.
553fb735
BW
894 (mh-show-mode): Use mh-highlight-citation-style instead of
895 mh-highlight-citation-p.
896 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
897 mhl-formfile.
13fe29bd
BW
898 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
899 docstrings with manual.
900 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
901 docstrings with manual.
553fb735
BW
902
9032005-12-01 Bill Wohler <wohler@newt.com>
904
905 * mh-init.el (mh-defface-compat): Checkdoc fix.
906
907 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
13fe29bd
BW
908 Bogofilter is lowercase except at beginning of sentence and in
909 titles.
553fb735 910
94abd6b7
BW
9112005-11-04 Bill Wohler <wohler@newt.com>
912
6b19bd82
BW
913 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
914 Move to mh-init.el to minimize bulk of mh-customize.el.
915
916 * mh-init.el: Modify commentary since file is used for load and
917 initialization as well as setting and getting the variant.
13fe29bd
BW
918 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
919 mh-customize.el.
6b19bd82 920
13fe29bd
BW
921 * mh-customize.el: Refactor faces. Move grayscale requirements
922 last before t. Use uniform line breaks.
3d2efec2 923 (mh-min-colors-defined-flag): New variable.
13fe29bd 924 (mh-defface-compat): New function. Provides backward compatibility
3d2efec2 925 for face specs.
2bd87afb
SM
926 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
927 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
3d2efec2 928 (mh-folder-body): Use mh-defface-compat.
94abd6b7 929
b07e0686
DN
9302005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
931
932 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
933 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
934 (mh-folder-to-face): Use the min-colors attribute instead of the
935 type attribute.
936
be33fce4
BW
9372005-11-03 Bill Wohler <wohler@newt.com>
938
939 * mh-customize.el (mh-refile-preserves-sequences-flag)
13fe29bd
BW
940 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
941 docstrings with manual.
be33fce4
BW
942
943 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
944
2bd87afb 945 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
be33fce4
BW
946 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
947 with manual.
948
93eece98
BW
9492005-11-01 Bill Wohler <wohler@newt.com>
950
13fe29bd
BW
951 * mh-comp.el (mh-redist-full-contents) Convert defvar to
952 defcustom.
b2064e08
BW
953 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
954 (mh-reply, mh-send, mh-send-other-window)
955 (mh-fill-paragraph-function): Sync docstrings with manual.
13fe29bd
BW
956 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
957 msg argument to message (to make for a better docstring).
b2064e08
BW
958
959 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
13fe29bd 960 to defcustom. Rename by adding -flag.
b2064e08
BW
961 (mh-compose-forward-as-mime-flag)
962 (mh-compose-letter-function, mh-forward-subject-format)
963 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
964 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
965 with manual.
966
2bd87afb 967 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
93eece98 968 (mh-ps-print-msg): Remove debugging messages.
2bd87afb 969 (mh-ps-print-msg-show, mh-ps-print-msg-show)
93eece98
BW
970 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
971 after message per conventions.
972
fefc5079
BW
9732005-10-30 Bill Wohler <wohler@newt.com>
974
2bd87afb 975 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
13fe29bd
BW
976 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
977 docstrings with manual.
ece9cbf7 978
fefc5079
BW
979 * mh-customize.el (mh-compose-space-does-completion-flag)
980 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
981 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
13fe29bd
BW
982 means" to remain checkdoc clean and consistent with Emacs. I
983 raised this issue with the Emacs developers and Stallman agrees
fefc5079
BW
984 that "On means" should be allowed in custom docstrings but that
985 this change requires thought and should wait until after the Emacs
986 22 release.
987
ec397a34
BW
9882005-10-28 Bill Wohler <wohler@newt.com>
989
50df64d6
BW
990 * mh-comp.el (mh-annotate-msg): Use new variable
991 mh-scan-field-destination-offset rather than hard-coding 1.
992
993 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
994 docstring.
13fe29bd
BW
995 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
996 functions to check input for mh-adaptive-cmd-note-flag and
50df64d6
BW
997 mh-scan-format-file respectively.
998 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
999 add :set.
1000
13fe29bd
BW
1001 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
1002 destination is the -, t, b, c, or n character for Replied, To, cc,
50df64d6
BW
1003 Bcc, or Newsgroups respectively.
1004 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
1005 Call new function mh-msg-num-width-to-column to make leap between
1006 width and column more explicit.
1007 (mh-msg-num-width-to-column): New function that steals logic from
13fe29bd 1008 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
50df64d6
BW
1009 isn't t since we can't adapt the scan lines in this case.
1010 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
1011 make the documentation more clear.
1012 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
1013 column, not a width.
1014 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
13fe29bd
BW
1015 variable mh-scan-field-destination-offset rather than hard-coding
1016 1.
50df64d6
BW
1017
1018 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
1019 (mh-notate): Use new variable mh-scan-field-destination-offset
1020 rather than hard-coding 1.
1021 (mh-message-number-width): Rename to mh-msg-num-width to be
1022 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
1023
ec397a34
BW
1024 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
1025 (mail-citation-hook): Quote URLs in docstrings and precede with
13fe29bd
BW
1026 `URL'. The former will suppress checkdoc warnings, the latter will
1027 turn them into hyperlinks in Emacs 22 (I just added the code to do
1028 that today).
ec397a34
BW
1029 (mh-scan-format-file): Checkdoc fix.
1030
169a3241
BW
10312005-10-27 Bill Wohler <wohler@newt.com>
1032
e069fa61
BW
1033 * mh-customize.el (mh-adaptive-cmd-note-flag)
1034 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
1035
1036 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
1037 (mh-note-cur, mh-scan-good-msg-regexp)
1038 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1039 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1040 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1041 (mh-scan-subject-regexp, mh-scan-format-regexp)
1042 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
1043 with manual.
1044
1045 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
1046
1047 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
1048 of hard-coded string.
13fe29bd
BW
1049 (mh-mail-header-separator, mh-signature-separator-regexp): Use
1050 "regular expression" in docstring instead of regexp.
e069fa61
BW
1051 (mh-scan-msg-number-regexp)
1052 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
1053 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
1054 (mh-cmd-note): Sync docstrings with manual.
1055
3b463df0
BW
1056 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
1057 Checkdoc fixes.
1058
1059 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2bd87afb
SM
1060
1061 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
1062 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1063 (mh-mml-secure-message-signencrypt): Ditto.
169a3241 1064
4a263988
BW
10652005-10-24 Bill Wohler <wohler@newt.com>
1066
1067 * mh-gnus.el: Load mml.el in order to see if
1068 mml-minibuffer-read-disposition is defined or not.
1069
1070 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
1071 mml autoloads.
1072
97c60a38
MB
10732005-10-23 Miles Bader <miles@gnu.org>
1074
1075 * .arch-inventory: New file.
1076
9a51cf9e
BW
10772005-10-23 Bill Wohler <wohler@newt.com>
1078
13fe29bd
BW
1079 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
1080 docstring with manual.
136e0283 1081
9a51cf9e
BW
1082 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
1083 mh-alias.el and move to mh-acros.el
1084
1085 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
1086 mh-identity.el and move to mh-acros.el
1087
1088 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
1089 mh-identity.el and mh-alias.el.
1090
1091 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
1092 warning in Emacs 22.
1093
1dd9796d
SD
10942005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
1095
1096 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
1097 assoc-string (if the function is available) and falls back on
1098 assoc-ignore-case if assoc-string is not found.
1099 (mh-identity-field-handler): Use mh-assoc-ignore-case since
1100 assoc-ignore-case is a obsolete function in Emacs 22.
1101
1102 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
1103 track of whether the tool-bar in mh-folder-mode has been
1104 initialized yet.
1105 (mh-folder-mode): Initialize the tool-bar for folders the first
1106 time we get into mh-letter-mode.
1107
1108 * mh-customize.el (mh-buffer-exists-p): New function which tests
1109 presence of buffers of a given mode.
1110 (mh-tool-bar-define): New functions
1111 mh-tool-bar-folder-buttons-init and
13fe29bd 1112 mh-tool-bar-letter-buttons-init are defined. These functions are
1dd9796d
SD
1113 used to create the tool-bar from the corresponding customizable
1114 variables.
1115
1116 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
1117 keeps track of whether the tool-bar in mh-letter-mode has been
1118 initialized yet.
1119 (mh-letter-mode): Initialize the tool-bar for drafts the first
1120 time we get into mh-letter-mode.
1121
0c47b17c
BW
11222005-10-23 Bill Wohler <wohler@newt.com>
1123
13fe29bd
BW
1124 * mh-comp.el (mh-letter-menu): Rename
1125 mh-mhn-compose-external-compressed-tar to
1126 mh-mh-compose-external-compressed-tar. Rename
1127 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
1128 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
1129 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
1130 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
1131 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
0c47b17c
BW
1132 to 'mh.
1133 (mh-insert-signature): Rename mh-mhn-directive-present-p to
1134 mh-mh-directive-present-p.
1135 (mh-send-letter): Rename mh-mhn-directive-present-p to
13fe29bd
BW
1136 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
1137 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
1138 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
1139 mh-mhn-compose-external-compressed-tar to
1140 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
1141 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
1142 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
1143 mh-mh-compose-anon-ftp. Rename
1144 mh-mhn-compose-external-compressed-tar to
1145 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
1146 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
0c47b17c
BW
1147 mh-mh-compose-external-type.
1148 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
1149 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
13fe29bd
BW
1150 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
1151 mh-yank-from-start-of-msg to mh-yank-behavior.
0c47b17c
BW
1152 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
1153 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
1154 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
1155 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1156 (mh-letter-complete-or-space, mh-letter-confirm-address)
1157 (mh-letter-next-header-field-or-indent)
1158 (mh-letter-previous-header-field)
13fe29bd
BW
1159 (mh-letter-toggle-header-field-display): Sync docstrings with
1160 manual.
0c47b17c 1161
13fe29bd
BW
1162 * mh-customize.el (mh-edit-mhn-hook): Rename to
1163 mh-mh-to-mime-hook.
0c47b17c
BW
1164 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
1165 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
1166 and user-visible values from mhn and Gnus to MH and MML.
2bd87afb 1167 (mh-before-send-letter-hook): Add 'ispell-message option.
0c47b17c
BW
1168 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
1169 mh-pgp-support-flag.
1170 (mh-compose-insertion, mh-compose-space-does-completion-flag)
1171 (mh-delete-yanked-msg-window-flag)
1172 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1173 (mh-letter-complete-function, mh-letter-fill-column)
1174 (mh-mml-method-default, mh-signature-file-name)
1175 (mh-signature-separator-flag, mh-x-face-file)
1176 (mh-yank-behavior, mail-citation-hook)
1177 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
1178 with manual.
1179
1180 * mh-gnus.el (mml-minibuffer-read-disposition): New function
1181 provided for Emacs 21 environments that lack it.
1182
1183 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
1184 prompt convention.
1185 (mh-compose-forward): mh-mh-forward-message requires string arg.
1186 (mh-minibuffer-read-type): New function.
1187 (mh-mhn-args): Rename to mh-mh-to-mime-args.
1188 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
1189 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
1190 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
1191 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
13fe29bd
BW
1192 Rename mh-mhn-compose-external-type to
1193 mh-mh-compose-external-type.
0c47b17c 1194 (mh-mhn-compose-external-compressed-tar): Rename to
13fe29bd
BW
1195 mh-mh-compose-external-compressed-tar. Rename
1196 mh-mhn-compose-external-type to mh-mh-compose-external-type.
1197 (mh-mhn-compose-external-type): Rename to
1198 mh-mh-compose-external-type.
1199 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
1200 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
0c47b17c
BW
1201 Use correct program in message.
1202 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
1203 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
1204 (mh-compose-forward, mh-mh-attach-file)
1205 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
1206 (mh-mh-compose-external-type, mh-mh-forward-message)
1207 (mh-mml-attach-file): Use mml-minibuffer-read-description,
1208 mh-minibuffer-read-type.
2bd87afb 1209 (mh-mime-content-types): Move comment about only being used in
0c47b17c
BW
1210 Emacs 20 to docstring.
1211 (mh-mh-compose-external-type): Rename extra-param argument to
1212 parameters.
2bd87afb 1213 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
13fe29bd
BW
1214 (mh-mime-display-part, mh-mime-display-single): Rename
1215 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
0c47b17c
BW
1216 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
1217 mh-mh-attach-file.
1218 (mh-compose-forward): Rename mh-mhn-compose-forw to
1219 mh-mh-forward-message.
1220 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
1221 mh-mh-compose-type.
1222 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
1223 (mh-mh-attach-file, mh-mh-compose-type)
1224 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
1225 (mh-mh-compose-external-compressed-tar)
1226 (mh-mh-compose-external-type, mh-mh-forward-message)
2bd87afb 1227 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
0c47b17c
BW
1228 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
1229 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
1230 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1231 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
1232 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
1233 Sync docstrings with manual.
1234
13fe29bd
BW
1235 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
1236 mh-pgp-support-flag.
0c47b17c 1237
fba3b4d8
PG
12382005-10-17 Peter S Galbraith <psg@debian.org>
1239
13fe29bd
BW
1240 * mh-identity.el (mh-identity-field-handler): Use
1241 `assoc-ignore-case' to compare against header field for mixed-case
fba3b4d8
PG
1242 "From:".
1243
ffda926c
BW
12442005-10-17 Bill Wohler <wohler@newt.com>
1245
2bd87afb 1246 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
ffda926c
BW
1247 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
1248 to mail/compose, fld_open to fld-open.
13fe29bd
BW
1249 (mh-letter-tool-bar-map): Rename image file mail_send to
1250 mail/send.
ffda926c 1251
8f552dc8
BW
12522005-10-16 Bill Wohler <wohler@newt.com>
1253
79af55a7
BW
1254 * mh-comp.el (mh-display-completion-list-compat): New macro which
1255 calls `display-completion-list' correctly in older environments.
1256 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
1257 argument.
1258 (mh-complete-word): Use it.
1259
8f552dc8 1260 * mh-init.el (mh-image-load-path): Use locate-library to find
13fe29bd 1261 MH-E. This simplified the code a lot. Flattened out nested
8f552dc8
BW
1262 statements even more.
1263
7c164e0c
SD
12642005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
1265
1266 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
1267 causes a compiler warning.
1268
1269 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
1270 the message to be viewed (closes SF #1306141).
1271
f5fab556
MY
12722005-10-16 Masatake YAMATO <jet@gyve.org>
1273
13fe29bd
BW
1274 * mh-comp.el (mh-complete-word): Pass the common prefix substring
1275 of completion to `display-completion-list'.
f5fab556 1276
2416ec64
SD
12772005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
1278
1279 * mh-init.el (mh-image-load-path-called-flag): New variable which
1280 is used by mh-image-load-path so that it runs only once.
13fe29bd
BW
1281 (mh-image-load-path): Modify so that it gets run only once. Also
1282 flatten out heavily nested if statements to make it clearer.
2416ec64
SD
1283
1284 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
1285 to find images used in the toolbar.
1286
1287 * mh-customize.el (:folder): Remove call to mh-image-load-path.
1288
a9954630
BW
12892005-10-14 Bill Wohler <wohler@newt.com>
1290
2bd87afb 1291 * mh-e.el (Version, mh-version): Add +cvs to version.
a9954630 1292
5b004a34
BW
12932005-10-14 Bill Wohler <wohler@newt.com>
1294
1295 Released MH-E version 7.85.
2bd87afb
SM
1296
1297 * mh-e.el (Version, mh-version): Update for release 7.85.
1298
a10f4ace
BW
12992005-10-14 Bill Wohler <wohler@newt.com>
1300
13fe29bd
BW
1301 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
1302 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2bd87afb
SM
1303 need to be indented.
1304
5b004a34 1305 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
13fe29bd
BW
1306 but the code that invoked the face had not been updated. Tick
1307 highlighting working again.
5b004a34 1308
13fe29bd
BW
1309 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
1310 make-variable-buffer-local call to top level to avoid warnings in
a10f4ace
BW
1311 CVS Emacs.
1312
2bd87afb 1313 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
a10f4ace
BW
1314 with read-string.
1315
a05fcb7d 13162005-10-09 Bill Wohler <wohler@newt.com>
c727526b 1317
a05fcb7d
BW
1318 * mh-init.el (mh-image-load-path): New function that adds the path
1319 to the MH-E images to the image-load-path or load-path depending
1320 on the version of Emacs.
c727526b 1321
a05fcb7d
BW
1322 * mh-customize.el: Call mh-image-load-path just before
1323 mh-tool-bar-define so that the toolbar images can be found.
d88a70a0 1324
a05fcb7d 13252005-10-04 Bill Wohler <wohler@newt.com>
d88a70a0 1326
2bd87afb
SM
1327 * ChangeLog: Move contents into ChangeLog.1 and trim.
1328
13fe29bd 1329 * ChangeLog.1: New file. Contains old ChangeLog.
900d1698 1330
47570699 1331
a05fcb7d 1332 Copyright (C) 2005 Free Software Foundation, Inc.
e9be14aa 1333
e495eaec
BW
1334 Copying and distribution of this file, with or without modification,
1335 are permitted in any medium without royalty provided the copyright
1336 notice and this notice are preserved.
ab5796a9 1337
13fe29bd
BW
1338;; Local Variables:
1339;; sentence-end-double-space: nil
1340;; End:
1341
ab5796a9 1342;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51