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