Merge from emacs-23; up to 2010-06-12T17:12:15Z!cyd@stupidchicken.com.
[bpt/emacs.git] / lisp / mh-e / ChangeLog
1 2011-05-10 Jim Meyering <meyering@redhat.com>
2
3 Fix doubled-word typos.
4 * mh-alias.el (mh-alias-minibuffer-confirm-address): if if -> if it
5 * mh-scan.el (mh-scan-destination-width): in in -> in
6
7 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * mh-utils.el (mh-folder-completion-function): Make it work like
10 file-name completion, so partial-completion can do its job.
11
12 * mh-letter.el (mh-letter-completion-at-point): New function, extracted
13 from mh-letter-complete
14 (mh-letter-mode, mh-letter-complete, mh-letter-complete-or-space):
15 Use it.
16 (mh-complete-word): Only use the common-substring arg when it works.
17 (mh-folder-expand-at-point):
18 * mh-alias.el (mh-alias-letter-expand-alias): Return data suitable for
19 completion-at-point-functions.
20
21 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
22
23 * mh-funcs.el (mh-undo-folder): Accept and ignore arguments,
24 for compatibility with `revert-buffer'. Doc fix. (Bug#8431)
25
26 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
27
28 * Version 23.3 released.
29
30 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
31
32 * mh-funcs.el (mh-store-msg, mh-store-buffer):
33 * mh-mime.el (mh-mime-save-parts): Use read-directory-name.
34
35 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
36
37 * mh-comp.el (mh-user-agent-compose): New arg RETURN-ACTION.
38
39 2010-11-07 Glenn Morris <rgm@gnu.org>
40
41 * mh-seq.el (mh-read-msg-list): Use point-at-eol.
42
43 2010-11-03 Glenn Morris <rgm@gnu.org>
44
45 * mh-mime.el (dots, type, ov): Avoid unnecessary declaration.
46
47 2010-05-14 Peter S Galbraith <psg@debian.org>
48
49 * mh-mime.el (mh-decode-message-subject): New function to decode
50 RFC2047 encoded Subject lines. Used for reply drafts.
51 * mh-comp.el (mh-compose-and-send-mail): Call
52 `mh-decode-message-subject' on (reply or forward) message drafts.
53
54 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
55
56 * Version 23.2 released.
57
58 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
59
60 * mh-show.el (mh-showing-mode): Move function to mh-e.el.
61 * mh-e.el (mh-showing-mode): Use define-minor-mode.
62
63 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
64
65 * mh-scan.el (mh-scan-cmd-note-width): Doc fix.
66 (mh-scan-format-mh, mh-scan-body-regexp, mh-scan-cur-msg-number-regexp)
67 (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
68 (mh-scan-deleted-msg-regexp, mh-scan-good-msg-regexp)
69 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
70 (mh-scan-msg-number-regexp, mh-scan-rcpt-regexp)
71 (mh-scan-refiled-msg-regexp, mh-scan-sent-to-me-sender-regexp)
72 (mh-scan-subject-regexp, mh-update-scan-format)
73 (mh-msg-num-width-to-column): Fix typos in docstrings.
74
75 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
76
77 * Branch for 23.2.
78
79 2009-12-01 Bill Wohler <wohler@newt.com>
80
81 * mh-search.el (mh-mairix-execute-search): Use mh vfolder_format.
82 Fix typo in database path.
83 (mh-namazu-execute-search): Specify -q in example since namazu is
84 excessively garrulous.
85
86 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * mh-thread.el (mh-thread-set-tables):
89 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-stealth-update):
90 (mh-speed-extract-folder-name, mh-speed-parse-flists-output):
91 (mh-speed-invalidate-map, mh-speed-add-folder):
92 * mh-show.el (mh-invalidate-show-buffer, mh-show-sequence-menu):
93 * mh-seq.el (mh-list-sequences):
94 * mh-search.el (mh-index-execute-commands, mh-index-add-to-sequence)
95 (mh-index-delete-from-sequence, mh-index-update-maps):
96 * mh-scan.el (mh-msg-num-width):
97 * mh-print.el (mh-ps-spool-buffer):
98 * mh-mime.el (mh-mime-save-parts, mh-handle-set-external-undisplayer)
99 (mh-file-mime-type):
100 * mh-letter.el (mh-yank-cur-msg):
101 * mh-funcs.el (mh-list-folders, mh-pipe-msg, mh-store-msg)
102 (mh-store-buffer):
103 * mh-folder.el (mh-modify, mh-visit-folder, mh-write-msg-to-file)
104 (mh-prompt-for-refile-folder):
105 * mh-e.el (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
106 (mh-handle-process-error, mh-variant-info):
107 * mh-comp.el (mh-forward):
108 * mh-alias.el (mh-alias-local-users, mh-alias-which-file-has-alias):
109 (mh-alias-add-alias-to-file): Use with-current-buffer.
110
111 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
112
113 * mh-e.el: Load mh-loaddefs during compilation as well.
114
115 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
116
117 * mh-e.el (mh-loaddefs): Load rather than require.
118
119 2009-10-06 Glenn Morris <rgm@gnu.org>
120
121 * mh-show.el (mh-show-msg): Use window-full-height-p.
122
123 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
124
125 * mh-comp.el (mh-send-letter): default-buffer-file-coding-system
126 => (default-value 'buffer-file-coding-system).
127
128 2009-08-10 Bill Wohler <wohler@newt.com>
129
130 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
131 (mh-spamprobe-blacklist): Sync docstring with manual.
132
133 2009-07-22 Kevin Ryde <user42@zip.com.au>
134
135 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
136 (mh-spamprobe-blacklist): Hyperlink URLs in docstrings with URL `...'.
137
138 2009-06-13 Bill Wohler <wohler@newt.com>
139
140 Release MH-E version 8.2.
141
142 * mh-e.el (Version, mh-version): Update for release 8.2.
143
144 * mh-seq.el (mh-folder-size-flist)
145 * mh-speed.el (mh-speed-parse-flists-output)
146 * mh-xface.el (mh-face-display-function): Remove trailing space.
147
148 2009-03-13 D. Goel <deego3@gmail.com>
149
150 * mh-seq.el (mh-folder-size-flist): Use (values-list) in m-v call
151 to list.
152
153 * mh-speed.el (mh-speed-parse-flists-output): Ditto.
154 * mh-xface.el (mh-face-display-function): Ditto.
155 * mh-search.el (mh-index-parse-search-regexp): Ditto.
156
157 * mh-thread.el (mh-thread-generate): Ditto.
158
159 * mh-seq.el (mh-parse-flist-output-line): Return list rather than values.
160 We want to avoid emacs using m-v facilities.
161 (mh-folder-size-folder): Ditto.
162 (mh-parse-flist-output-line): Ditto.
163 * mh-thread.el (mh-thread-prune-subject): Ditto.
164 * mh-xface.el (mh-picon-get-image): Ditto.
165 (mh-picon-file-contents): Ditto.
166 * mh-search.el (mh-index-evaluate): Ditto.
167
168 2009-01-27 Bill Wohler <wohler@newt.com>
169
170 * mh-funcs.el (mh-pack-folder): Fix docstring.
171
172 * mh-e.el (mh-pack-folder-hook): Bump package-version to 8.2.
173
174 * mh-gnus.el (mh-mm-merge-handles)
175 (mh-mm-set-handle-multipart-parameter, mh-mm-inline-text-vcard)
176 (mh-mml-minibuffer-read-disposition, mh-mm-save-part): Update with
177 code from Gnus 5.11 (closes SF #2235022).
178
179 2009-01-26 Stephen Gildea <gildea@stop.mail-abuse.org>
180
181 * mh-e.el (mh-pack-folder-hook): New variable.
182 * mh-funcs.el (mh-pack-folder): Call new mh-pack-folder-hook.
183
184 2009-01-26 Bill Wohler <wohler@newt.com>
185
186 * mh-utils.el (mh-goto-header-end): Use mh-mail-header-separator
187 instead of -* in regexp.
188
189 * mh-folder.el (mh-folder-mode-help-messages): Add e and t to K's
190 help.
191
192 2009-01-09 Glenn Morris <rgm@gnu.org>
193
194 * mh-letter.el: Replace last-input-char with last-input-event.
195
196 2008-08-18 Bill Wohler <wohler@newt.com>
197
198 Release MH-E version 8.1.
199
200 * mh-e.el (Version, mh-version): Update for release 8.1.
201
202 2008-08-11 Bill Wohler <wohler@newt.com>
203
204 * mh-e.el (mh-variant-mh-info, mh-variant-nmh-info)
205 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
206 (mh-variant-set, mh-variant, mh-scan-format-file): Fix typo in
207 docstring.
208
209 * mh-comp.el (mh-reply)
210 * mh-e.el (mh-sys-path, mh-variant-info, mh-variant-mu-mh-info)
211 (mh-variant-p, mh-profile-component, mh-variant-set, mh-variant)
212 (mh-scan-format-file)
213 * mh-folder.el (mh-regenerate-headers)
214 * mh-scan.el (mh-scan-format)
215 * mh-search.el (mh-pick-regexp-builder): Rename variant mu-mh to
216 gnu-mh and be explicit about GNU mailutils MH in docstrings (with
217 thanks to Darel Henman) (closes SF #1768928).
218
219 2008-08-01 Bill Wohler <wohler@newt.com>
220
221 * mh-show.el (mh-show-preferred-alternative)
222 * mh-e.el (mh-annotate-msg-hook): Sync docstring with manual.
223
224 * mh-comp.el (mh-send-letter, mh-redistribute): Mention
225 mh-annotate-msg-hook in docstring.
226
227 2008-06-29 Jeffrey C Honig <jch@honig.net>
228
229 * mh-e.el (mh-invisible-header-fields-internal): Add invisible
230 header fields for X-Hz (mail from Hertz), X-Proofpoint (Proofpoint
231 antivirus/anti-spam) and X-RIM (Research In Motion).
232
233 2008-06-20 Stephen Eglen <stephen@gnu.org>
234
235 * mh-show.el (mh-defun-show-buffer): Use `...' rather than than
236 "..." in generated docstrings.
237
238 2008-06-12 Glenn Morris <rgm@gnu.org>
239
240 * mh-seq.el (tool-bar-map): Define for compiler.
241
242 * mh-folder.el (mh-folder-mode):
243 * mh-letter.el (mh-letter-mode):
244 * mh-show.el (mh-show-mode): Check tool-bar-map is bound.
245
246 2008-06-08 John Paul Wallington <jpw@pobox.com>
247
248 * mh-acros.el (toplevel): Put `doc-string-elt' properties on
249 `defun-mh' and `defmacro-mh'.
250
251 * mh-alias.el (mh-alias-read-address-map): Define within defvar.
252
253 * mh-comp.el (mh-letter-mode-syntax-table): Define within defvar.
254
255 * mh-letter.el (mh-complete-word): Doc fix.
256
257 2008-06-02 John Paul Wallington <jpw@pobox.com>
258
259 * mh-e.el (mh-exec-cmd-env-daemon): Doc fix.
260
261 2008-06-01 John Paul Wallington <jpw@pobox.com>
262
263 * mh-e.el (mh-path, mh-variant): Use dotted syntax for
264 `package-version' info.
265
266 2008-05-26 Jeffrey C Honig <jch@honig.net>
267
268 * mh-e.el (mh-invisible-header-fields-internal): Remove Newsgroups
269 from the list. Add Bytes, X-Campaignid, X-Country-Chain,
270 X-Declude-, X-fmx-, X-Identity, X-Mailer_, X-pair-, X-SPF-,
271 X-Usenet-Provider.
272
273 2008-05-23 Bill Wohler <wohler@newt.com>
274
275 * mh-e.el (mh-invisible-header-fields-internal): Remove
276 DKIM-Signature as it is covered by DKIM-. Fully qualify X-EID.
277
278 2008-05-19 Sergey Poznyakoff <gray@gnu.org.ua>
279
280 * mh-mime.el (mh-mh-to-mime, mh-mh-to-mime-undo): Preserve modes
281 when converting to or from MIME (closes SF #1966722).
282
283 2008-05-19 Bill Wohler <wohler@newt.com>
284
285 * mh-e.el (mh-invisible-header-fields-internal): Sort list in a
286 case-insensitive way and add comment about it. Add many header
287 fields (closes SF #1916032).
288
289 2008-05-19 Xavier Maillard <xma@gnu.org> (tiny change)
290
291 * mh-utils.el (mh-find-path): Don't throw error if MH environment
292 variable is being used (closes SF #1946861).
293
294 2008-05-19 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
295
296 * mh-search.el (mh-mairix-regexp-builder): Add additional items to
297 search string to support org-mode (closes SF #1965704).
298
299 2008-03-18 Bill Wohler <wohler@newt.com>
300
301 * mh-e.el (mh-invisible-header-fields-internal): Add Accreditor,
302 Seal-Send-Time.
303 (mh-invisible-header-fields, mh-invisible-header-fields-default):
304 Update URL to bug report for users to report ignored fields.
305
306 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
307
308 * mh-xface.el (mh-uncompface, mh-picon-file-contents):
309 Use set-buffer-multibyte...
310 (mh-face-display-function, mh-x-image-display): ...rather than bind
311 default-enable-multibyte-characters.
312
313 2008-02-24 Bill Wohler <wohler@newt.com>
314
315 * mh-comp.el (mh-send-letter): Call split-string on mh-send-args
316 when sending synchronously too.
317
318 2008-02-19 Bill Wohler <wohler@newt.com>
319
320 * mh-comp.el (mh-annotate-msg):
321 * mh-e.el (mh-invisible-header-fields-internal): Remove trailing
322 whitespace.
323
324 2008-01-30 Bill Wohler <wohler@newt.com>
325
326 * mh-mime.el (mh-mml-to-mime): Don't look up sender if From
327 absent. Fixes "Wrong type argument: stringp, nil" error.
328
329 2007-12-02 Glenn Morris <rgm@gnu.org>
330
331 * mh-mime.el (mail-strip-quoted-names): Autoload it.
332
333 2007-11-17 Dan Nicolaescu <dann@ics.uci.edu>
334
335 * mh-e.el (mh-xemacs-flag): Remove.
336 (mh-min-colors-defined-flag):
337 * mh-xface.el (mh-show-xface-function):
338 * mh-utils.el (mh-colors-available-p):
339 * mh-show.el (mh-show-mode):
340 * mh-gnus.el (mh-gnus-local-map-property):
341 * mh-folder.el (mh-folder-mode-map)
342 (mh-remove-xemacs-horizontal-scrollbar, mh-folder-mode):
343 * mh-comp.el (mh-insert-x-mailer): Replace uses of mh-xemacs-flag
344 with (featurep 'xemacs).
345
346 2007-09-11 Bill Wohler <wohler@newt.com>
347
348 * mh-e.el (Version, mh-version): Add +cvs to version.
349
350 2007-08-25 Stephen Gildea <gildea@stop.mail-abuse.org>
351
352 * mh-e.el (mh-annotate-msg-hook): New variable.
353
354 * mh-comp.el (mh-annotate-msg): Call new mh-annotate-msg-hook.
355 (mh-annotate-list): New variable, for mh-annotate-msg-hook.
356
357 2007-08-21 Jeffrey C Honig <jch@honig.net>
358
359 * mh-folder.el (mh-folder-message-menu, mh-folder-mode-map): Add
360 folder mode support for mh-show-preferred-alternative (closes SF
361 #1777321).
362
363 * mh-show.el (mh-show-preferred-alternative)
364 (mh-show-write-message-to-file, mh-show-message-menu)
365 (mh-show-mode-map): Add mh-show-preferred-alternative (bound to
366 ":") which will show the message's preferred alternative
367 overriding the users configured preference. Useful for showing
368 HTML when text content is lacking (closes SF #1777321).
369
370 * mh-e.el:
371 (mh-invisible-header-fields-internal): Exclude Fax and Phone. Put
372 known exclusions as comments before the list and move parens to
373 separate lines to aid in sorting (closes SF #1701231).
374
375 * mh-mime.el (mm-decode-body): Remove explicit autoload of
376 mh-alias-expand.
377
378 * mh-alias.el (mh-alias-expand): Set up automatic autoload of
379 mh-alias-expand.
380
381 2007-08-20 Jeffrey C Honig <jch@honig.net>
382
383 * mh-mime.el (message-options-set): Add missing autoloads from my
384 last change.
385
386 * mh-comp.el (mh-forward): When forwarding with mml, messages are
387 no longer included in reverse order (closes SF #1730393).
388
389 * mh-mime.el (mh-mml-forward-message): Forward messages as inline
390 attachments (closes SF #1378993).
391
392 2008-02-06 Richard Stallman <rms@gnu.org>
393
394 * mh-seq.el (mh-make-seq, mh-seq-name): Use defsubst.
395
396 * mh-acros.el (mh-do-in-gnu-emacs, mh-do-in-xemacs)
397 (with-mh-folder-updating, mh-in-show-buffer)
398 (mh-iterate-on-messages-in-region, mh-iterate-on-range):
399 (mh-do-at-event-location): Add debug decls.
400 (mh-seq-msgs): Use defsubst.
401
402 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
403
404 * mh-e.el (mh-scan-format-file-check, mh-adaptive-cmd-note-flag-check):
405 * mh-xface.el (mh-x-image-url-cache-canonicalize):
406 Replace `legal' with `valid'.
407
408 2007-08-19 Jeffrey C Honig <jch@honig.net>
409
410 * mh-e.el (mh-invisible-header-fields-internal): We want to show
411 Comments: and hide Comment:, not the other way around.
412
413 * mh-mime.el (mh-mml-to-mime): GPG requires e-mail addresses, not
414 aliases. So resolve aliases before passing addresses to GPG/PGP
415 (closes SF #649226).
416
417 * mh-e.el (mh-invisible-header-fields-internal): Update with all
418 the entries from
419 http://people.dsv.su.se/~jpalme/ietf/mail-headers, plus some of my
420 own. I added attributions to entries we already had that did not
421 list an RFC.
422
423 2007-08-08 Glenn Morris <rgm@gnu.org>
424
425 * mh-folder.el, mh-letter.el, mh-show.el: Replace `iff' in
426 doc-strings and comments.
427
428 2007-07-25 Glenn Morris <rgm@gnu.org>
429
430 * Relicense all FSF files to GPLv3 or later.
431
432 2007-07-11 Bill Wohler <wohler@newt.com>
433
434 * mh-compat.el (mh-display-color-cells): Fix on XEmacs 21.5b28.
435 Thanks to Henrique Martins for the help (closes SF #1749774).
436
437 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
438
439 * mh-mime.el (mh-mh-directive-present-p):
440 * mh-search.el (mh-index-group-by-folder): Fix typos in docstrings.
441
442 2006-11-14 Bill Wohler <wohler@newt.com>
443
444 * mh-xface.el (mh-x-image-url-cache-canonicalize): Add `*' to
445 reserved Windows filename characters (closes SF #1396499).
446
447 2006-11-13 Bill Wohler <wohler@newt.com>
448
449 Release MH-E version 8.0.3.
450
451 * mh-e.el (Version, mh-version): Update for release 8.0.3.
452
453 * mh-e.el (mh-alias-local-users): Boolean docstrings should start
454 with "Non-nil means". Perhaps this option should have a -flag
455 appended.
456 (mh-junk-background): Sync docstring with manual.
457
458 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
459 (mh-spamprobe-blacklist): Sync docstring with manual.
460
461 2006-11-11 Stephen Gildea <gildea@stop.mail-abuse.org>
462
463 * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
464 Use mh-junk-background consistently in call-process calls.
465 (mh-bogofilter-blacklist, mh-bogofilter-whitelist)
466 (mh-spamprobe-blacklist, mh-spamprobe-whitelist):
467 Use with-current-buffer so the right thing happens if
468 mh-junk-background is t (closes SF #1594802).
469
470 * mh-e.el (mh-junk-background): Document that On value is 0;
471 t may be used for debugging.
472
473 2006-11-10 Andreas Schwab <schwab@suse.de>
474
475 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
476
477 2006-11-10 Glenn Morris <rgm@gnu.org>
478
479 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
480
481 2006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
482
483 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
484 quotation marks, so that the last two arguments of sa-learn
485 are separated properly (closes SF #1565460).
486 (mh-spamassassin-blacklist): In example .procmailrc, add
487 PATH element to find mhparam on Debian.
488
489 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
490
491 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
492 so that we always have a valid string for split-string even if
493 nothing is added in mh-send-letter (closes SF #1564742).
494
495 2006-07-03 Bill Wohler <wohler@newt.com>
496
497 Release MH-E version 8.0.2.
498
499 * mh-e.el (Version, mh-version): Update for release 8.0.2.
500
501 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
502
503 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
504 it refers to the icons in mh-xemacs-icon-map instead of trying to
505 declare the icons in situ. This allows mh-tool-bar.el to be
506 compiled under XEmacs. Remove initial value for
507 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
508 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
509 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
510 This allows MH-E to be used in XEmacs in a tty (closes SF #1506846).
511
512 2006-07-03 Bill Wohler <wohler@newt.com>
513
514 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
515 that mh-xemacs needs functions in mh-compat.
516
517 2006-06-29 Bill Wohler <wohler@newt.com>
518
519 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
520 loop construct to be consistent with other loops, and because
521 edebug doesn't work without it.
522
523 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
524
525 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
526 redundant +s in regexp (closes SF #1514424).
527
528 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
529
530 * mh-mime.el (mh-mime-save-parts): Add -store option to
531 mhn (closes SF #1513140).
532
533 2006-06-20 Bill Wohler <wohler@newt.com>
534
535 Release MH-E version 8.0.1.
536
537 * mh-e.el (Version, mh-version): Update for release 8.0.1.
538
539 2006-06-15 Bill Wohler <wohler@newt.com>
540
541 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
542 suffix for folder names, as <> are illegal filename characters on
543 Windows (closes SF #1507002).
544
545 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
546
547 * mh-comp.el (mh-send-uses-spost): New variable.
548 (mh-send-letter): Do not use -msgid and -mime if
549 mh-send-uses-spost is t (closes SF #1486726).
550
551 2006-06-02 Bill Wohler <wohler@newt.com>
552
553 * mh-search.el (mh-folder-exists-p): Change test from an empty buffer,
554 to one that contains the actual folder, since GNU mailutils' folder
555 command displays output if the folder doesn't exist (closes SF
556 #1499712).
557
558 2006-05-06 Bill Wohler <wohler@newt.com>
559
560 Release MH-E version 8.0.
561
562 * mh-e.el (Version, mh-version): Update for release 8.0.
563
564 2006-05-05 Bill Wohler <wohler@newt.com>
565
566 * mh-e.el: Update commentary.
567
568 2006-04-28 Bill Wohler <wohler@newt.com>
569
570 Release MH-E version 7.95.
571
572 * mh-e.el (Version, mh-version): Update for release 7.95.
573
574 2006-04-26 Eric Ding <ericding@alum.mit.edu>
575
576 * mh-e.el (mh-invisible-header-fields-internal): Add entry
577 "X-Provags-ID:".
578
579 2006-04-25 Bill Wohler <wohler@newt.com>
580
581 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
582 Folders returned by mh-folder-completion-function no longer need
583 adornment (closes SF #1476270).
584
585 2006-04-21 Bill Wohler <wohler@newt.com>
586
587 * mh-e.el (Version, mh-version): Add +cvs to version.
588
589 2006-04-21 Bill Wohler <wohler@newt.com>
590
591 Release MH-E version 7.94.
592
593 * mh-e.el (Version, mh-version): Update for release 7.94.
594
595 2006-04-21 Bill Wohler <wohler@newt.com>
596
597 * mh-letter.el (mh-insert-letter): If a message number isn't
598 given, throw an error rather than using a potentially incorrect
599 message number (closes SF #1473729). In addition, use the cur
600 message if mh-sent-from-msg is nil (when sending a message, in
601 contrast to replying). Move conversion of int to string into
602 interactive stanza so body can assume variables are of proper
603 type.
604
605 2006-04-20 Bill Wohler <wohler@newt.com>
606
607 * mh-tool-bar.el (image-load-path): Define to shush compiler.
608 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
609 isn't used outside of it.
610 (mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
611 Update load-path/image-load-path before setting buttons.
612 This code used to be in mh-folder-mode/mh-letter-mode but this was
613 the wrong place since mh-tool-bar-*-buttons-init can also be called
614 when customizing the buttons.
615 (mh-tool-bar-update): New function which updates tool-bar-map in
616 all of the MH-E buffers after customizing the buttons (closes SF
617 #1452718).
618 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
619 Call it (closes SF #1452718).
620
621 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
622 mh-folder-tool-bar-map instead.
623 (image-load-path): Delete. No longer used.
624 (mh-folder-mode): Moved setting of image-load-path into
625 mh-tool-bar-folder-buttons-init.
626
627 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
628 mh-letter-tool-bar-map instead.
629 (image-load-path): Delete. No longer used.
630 (mh-letter-mode): Moved setting of image-load-path into
631 mh-tool-bar-letter-buttons-init.
632
633 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
634 instead of set-buffer.
635
636 2006-04-19 Bill Wohler <wohler@newt.com>
637
638 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
639 can permanently disable a button (such as a separator) with nil.
640
641 2006-04-18 Bill Wohler <wohler@newt.com>
642
643 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
644 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
645 (mh-min-colors-defined-flag): Do not unbind these macros and
646 variables. Nice idea, but too many nasty side-effects. These
647 macros are needed by [Cc]ustom-make-dependencies when creating the
648 MH-E customization groups in mh-cus-load.el. These disappeared
649 when the macros above were introduced. Besides, if a developer
650 were to try to show the help for a macro or variable they were
651 looking at and got [No match] when they did so, that would be bad.
652
653 2006-04-17 Bill Wohler <wohler@newt.com>
654
655 * mh-comp.el (mh-insert-x-mailer): Strip build number from
656 version in X-Mailer field (closes SF #1466481).
657
658 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
659 variables and functions with the same name are found correctly by
660 find-func (invoked by clicking on the filename link in the *Help*
661 buffer).
662 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
663
664 * mh-e.el (mh-defgroup): Rename to defgroup-mh. Ditto.
665 (mh-defcustom): Rename to defcustom-mh. Ditto.
666 (mh-defface): Rename to defface-mh. Ditto.
667 (mh-font-lock-add-keywords): Make changes according to these
668 renamings.
669
670 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
671 #1472029).
672
673 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
674 have been processed by mh-normalize-folder-name.
675 (mh-folder-completion-function): Handle completion of folders with
676 absolute names. Also, when flag is t, display complete folder name
677 to provide proper highlighting in Emacs 22 now that
678 minibuffer-completing-file-name is nil (closes SF #1470518).
679 (mh-folder-completing-read): No longer set
680 minibuffer-completing-file-name to t. This was causing "Can't set
681 current directory errors" when browsing absolute file names.
682 Another benefit of this change is that SPC can be used for
683 completion again (closes SF #1470518).
684
685 2006-04-15 Bill Wohler <wohler@newt.com>
686
687 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
688
689 2006-04-14 Bill Wohler <wohler@newt.com>
690
691 * mh-funcs.el (view-exit-action): No need to wrap defvar with
692 eval-when-compile when shushing compiler.
693
694 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
695
696 * mh-seq.el (view-exit-action): Ditto.
697
698 * mh-show.el (font-lock-auto-fontify): Ditto.
699
700 * mh-utils.el (mh-speed-flists-cache): Ditto.
701
702 * mh-acros.el (struct, x, y): No need to wrap defvar with
703 eval-when-compile when shushing compiler, even when
704 mh-do-in-xemacs or another construct is used.
705
706 * mh-comp.el (sendmail-coding-system): Ditto.
707
708 * mh-e.el (mark-active): Ditto.
709
710 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
711 (image-load-path, font-lock-defaults): Ditto.
712
713 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
714
715 * mh-mime.el (dots, type, ov)
716 (mm-verify-function-alist, mm-decrypt-function-alist)
717 (pressed-details): Ditto.
718
719 * mh-search.el (pick-folder, mh-do-in-xemacs)
720 (mh-mairix-folder, mh-flists-search-folders)
721 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
722
723 * mh-seq.el (tool-bar-mode): Ditto.
724
725 * mh-utils.el (completion-root-regexp)
726 (minibuffer-completing-file-name): Ditto.
727
728 * mh-xface.el (default-enable-multibyte-characters): Ditto.
729
730 * mh-compat.el (mh-font-lock-add-keywords): New alias for
731 font-lock-add-keywords. Returns nil on XEmacs.
732
733 * mh-e.el: Add MH-E function and variable keywords such as
734 mh-defun-compat and mh-defcustom to font-lock-keywords.
735
736 2006-04-13 Bill Wohler <wohler@newt.com>
737
738 * mh-e.el (customize-package-emacs-version-alist)
739 (mh-e, mh-alias, mh-folder, mh-folder-selection)
740 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
741 (mh-scan-line-formats, mh-search, mh-sending-mail)
742 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
743 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
744 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
745 (mh-alias-insert-file, mh-alias-insertion-location)
746 (mh-alias-local-users, mh-alias-local-users-prefix)
747 (mh-alias-passwd-gecos-comma-separator-flag)
748 (mh-new-messages-folders, mh-ticked-messages-folders)
749 (mh-large-folder, mh-recenter-summary-flag)
750 (mh-recursive-folders-flag, mh-sortm-args)
751 (mh-default-folder-for-message-function)
752 (mh-default-folder-list, mh-default-folder-must-exist-flag)
753 (mh-default-folder-prefix, mh-identity-list)
754 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
755 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
756 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
757 (mh-junk-program, mh-compose-insertion)
758 (mh-compose-skipped-header-fields)
759 (mh-compose-space-does-completion-flag)
760 (mh-delete-yanked-msg-window-flag)
761 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
762 (mh-letter-complete-function, mh-letter-fill-column)
763 (mh-mml-method-default, mh-signature-file-name)
764 (mh-signature-separator-flag, mh-x-face-file)
765 (mh-yank-behavior, mh-interpret-number-as-range-flag)
766 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
767 (mh-search-program, mh-compose-forward-as-mime-flag)
768 (mh-compose-letter-function, mh-compose-prompt-flag)
769 (mh-forward-subject-format, mh-insert-x-mailer-flag)
770 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
771 (mh-reply-show-message-flag)
772 (mh-refile-preserves-sequences-flag, mh-tick-seq)
773 (mh-update-sequences-after-mh-show-flag)
774 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
775 (mh-decode-mime-flag)
776 (mh-display-buttons-for-alternatives-flag)
777 (mh-display-buttons-for-inline-parts-flag)
778 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
779 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
780 (mh-highlight-citation-style, mh-invisible-header-fields)
781 (mh-invisible-header-fields-default, mh-lpr-command-format)
782 (mh-max-inline-image-height, mh-max-inline-image-width)
783 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
784 (mh-print-background-flag, mh-show-maximum-size)
785 (mh-show-use-xface-flag, mh-store-default-directory)
786 (mh-summary-height, mh-speed-update-interval)
787 (mh-show-threads-flag, mh-tool-bar-search-function)
788 (mh-defcustom, mh-after-commands-processed-hook)
789 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
790 (mh-before-quit-hook, mh-before-send-letter-hook)
791 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
792 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
793 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
794 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
795 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
796 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
797 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
798 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
799 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
800 (mh-folder-subject, mh-folder-tick, mh-folder-to)
801 (mh-letter-header-field, mh-search-folder, mh-show-cc)
802 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
803 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
804 (mh-show-subject, mh-show-to, mh-show-xface)
805 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
806 (mh-speedbar-selected-folder)
807 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
808 notation in :package-version keyword.
809
810 2006-04-07 Bill Wohler <wohler@newt.com>
811
812 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
813 :package-version keyword.
814
815 2006-03-31 Bill Wohler <wohler@newt.com>
816
817 * mh-e.el (mh-strip-package-version): Move before use to avoid
818 compiler error. Make macro, also to avoid compiler error.
819 (mh-defface-compat): Incorporate body into mh-face-data and
820 delete.
821
822 2006-03-30 Bill Wohler <wohler@newt.com>
823
824 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
825 remove new :package-version keyword in older settings.
826 (customize-package-emacs-version-alist): Add MH-E version to Emacs
827 version mappings.
828 (mh-e, mh-alias, mh-folder, mh-folder-selection)
829 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
830 (mh-scan-line-formats, mh-search, mh-sending-mail)
831 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
832 (mh-hooks, mh-faces): Add :package-version keyword to these
833 groups (closes SF #1452724).
834 (mh-alias-completion-ignore-case-flag)
835 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
836 (mh-alias-insert-file, mh-alias-insertion-location)
837 (mh-alias-local-users, mh-alias-local-users-prefix)
838 (mh-alias-passwd-gecos-comma-separator-flag)
839 (mh-new-messages-folders, mh-ticked-messages-folders)
840 (mh-large-folder, mh-recenter-summary-flag)
841 (mh-recursive-folders-flag, mh-sortm-args)
842 (mh-default-folder-for-message-function)
843 (mh-default-folder-list, mh-default-folder-must-exist-flag)
844 (mh-default-folder-prefix, mh-identity-list)
845 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
846 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
847 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
848 (mh-junk-program, mh-compose-insertion)
849 (mh-compose-skipped-header-fields)
850 (mh-compose-space-does-completion-flag)
851 (mh-delete-yanked-msg-window-flag)
852 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
853 (mh-letter-complete-function, mh-letter-fill-column)
854 (mh-mml-method-default, mh-signature-file-name)
855 (mh-signature-separator-flag, mh-x-face-file)
856 (mh-yank-behavior, mh-interpret-number-as-range-flag)
857 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
858 (mh-search-program, mh-compose-forward-as-mime-flag)
859 (mh-compose-letter-function, mh-compose-prompt-flag)
860 (mh-forward-subject-format, mh-insert-x-mailer-flag)
861 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
862 (mh-reply-show-message-flag)
863 (mh-refile-preserves-sequences-flag, mh-tick-seq)
864 (mh-update-sequences-after-mh-show-flag)
865 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
866 (mh-decode-mime-flag)
867 (mh-display-buttons-for-alternatives-flag)
868 (mh-display-buttons-for-inline-parts-flag)
869 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
870 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
871 (mh-highlight-citation-style, mh-invisible-header-fields)
872 (mh-invisible-header-fields-default, mh-lpr-command-format)
873 (mh-max-inline-image-height, mh-max-inline-image-width)
874 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
875 (mh-print-background-flag, mh-show-maximum-size)
876 (mh-show-use-xface-flag, mh-store-default-directory)
877 (mh-summary-height, mh-speed-update-interval)
878 (mh-show-threads-flag, mh-tool-bar-search-function): Add
879 :package-version keyword to these options (closes SF #1452724).
880 (mh-after-commands-processed-hook)
881 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
882 (mh-before-quit-hook, mh-before-send-letter-hook)
883 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
884 (mh-forward-hook, mh-inc-folder-hook)
885 (mh-insert-signature-hook)
886 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
887 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
888 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
889 (mh-unseen-updated-hook): Add :package-version keyword to these
890 hooks (closes SF #1452724).
891 (mh-min-colors-defined-flag)
892 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
893 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
894 (mh-folder-msg-number, mh-folder-refiled)
895 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
896 (mh-folder-subject, mh-folder-tick, mh-folder-to)
897 (mh-letter-header-field, mh-search-folder, mh-show-cc)
898 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
899 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
900 (mh-show-subject, mh-show-to, mh-show-xface)
901 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
902 (mh-speedbar-selected-folder)
903 (mh-speedbar-selected-folder-with-unseen-messages): : Add
904 :package-version keyword to these faces (closes SF #1452724).
905
906 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
907 :package-version keywords (closes SF #1452724).
908
909 2006-03-28 Bill Wohler <wohler@newt.com>
910
911 * mh-tool-bar.el: Use clipboard-kill-region,
912 clipboard-kill-ring-save, and clipboard-yank instead of undo,
913 kill-region, and menu-bar-kill-ring-save respectively. In
914 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
915 front of mh-compose-insertion to be consistent with other mailers,
916 such as Evolution. In MH-Folder mode, move vanilla reply icon to
917 the left of the other reply icons. Use mail/inbox icon instead of
918 mail, next-page instead of page-down, delete instead of close,
919 mail/move instead of mail/refile, data-save instead of execute,
920 mail/flag-for-followup instead of highlight, contact instead of
921 mail/alias, open instead of fld-open, zoom-out instead of widen.
922
923 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
924 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
925
926 2006-03-27 Eric Ding <ericding@alum.mit.edu>
927
928 * mh-e.el (mh-invisible-header-fields-internal): Add entries
929 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail).
930
931 2006-03-19 Bill Wohler <wohler@newt.com>
932
933 * mh-comp.el (mh-reply): Sync docstring with manual.
934
935 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
936 docstring.
937
938 2006-03-17 Bill Wohler <wohler@newt.com>
939
940 * mh-compat.el (mh-image-load-path-for-library): Minor docstring fix.
941
942 2006-03-16 Bill Wohler <wohler@newt.com>
943
944 * mh-comp.el (mh-send-letter): Use split-string to break up
945 mh-send-args (closes SF #1448604).
946 (mh-compose-and-send-mail): Use run-hook-with-args for
947 mh-compose-letter-function.
948
949 * mh-e.el (mh-list-to-string-1): Use dolist.
950
951 * mh-compat.el (mh-image-load-path-for-library): Prefer user's images.
952
953 2006-03-15 Bill Wohler <wohler@newt.com>
954
955 * mh-compat.el (mh-image-load-path-for-library): Fix example by
956 not recommending that one binds image-load-path. Just defvar it to
957 placate compiler and only use it if previously defined.
958
959 * mh-e.el (image-load-path): Don't bind!
960
961 * mh-folder.el (mh-folder-mode): Only use image-load-path if
962 previously defined.
963
964 * mh-letter.el (mh-letter-mode): Ditto.
965
966 * mh-utils.el (mh-logo-display): Ditto.
967
968 2006-03-14 Bill Wohler <wohler@newt.com>
969
970 * mh-compat.el (mh-image-load-path-for-library): Incorporate
971 changes from image-load-path-for-library, which are:
972 (image-load-path-for-library): Pass value of path rather than
973 symbol. Always return list of directories. Guarantee that image
974 directory comes first.
975
976 * mh-e.el (image-load-path): Define on those Emacsen that lack it
977 to avoid compile and run-time errors.
978
979 * mh-folder.el (mh-folder-mode): Use new idiom for setting
980 image-load-path.
981
982 * mh-letter.el (mh-letter-mode): Ditto.
983
984 * mh-utils.el (mh-logo-display): Ditto.
985
986 2006-03-12 Bill Wohler <wohler@newt.com>
987
988 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
989 #1448498).
990
991 2006-03-10 Bill Wohler <wohler@newt.com>
992
993 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
994 flag to replace-in-string. This was badly needed by
995 mh-quote-pick-expr in order to properly quote subjects when using
996 / s on XEmacs (closes SF #1447598).
997 (mh-image-load-path-for-library): Merged changes from Reiner. Add
998 no-error argument. If path t, just return directory.
999
1000 * mh-e.el (mh-profile-component): Drop `s' from mhparam
1001 -components for Mailutils compatibility (closes SF #1446985).
1002
1003 2006-03-06 Bill Wohler <wohler@newt.com>
1004
1005 * mh-e.el (Version, mh-version): Add +cvs to version.
1006
1007 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
1008
1009 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
1010 handling of duplicate messages. The test in cond was too strong
1011 and wasn't catching the case where origin-map was nil.
1012
1013 2006-03-05 Bill Wohler <wohler@newt.com>
1014
1015 Release MH-E version 7.93.
1016
1017 * mh-e.el (Version, mh-version): Update for release 7.93.
1018
1019 2006-03-05 Bill Wohler <wohler@newt.com>
1020
1021 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
1022 calling mh-image-load-path-for-library since this is the default.
1023
1024 * mh-letter.el (mh-letter-mode): Ditto.
1025
1026 * mh-utils.el (mh-logo-display): Ditto.
1027
1028 2006-03-04 Bill Wohler <wohler@newt.com>
1029
1030 * mh-compat.el (mh-image-load-path-for-library): Move here from
1031 mh-utils.el and wrap with mh-defun-compat since this function will
1032 be soon added to image.el.
1033
1034 * mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
1035 (mh-normalize-folder-name): Add return-nil-if-folder-empty
1036 argument which is useful when calling mh-normalize-folder-name to
1037 process the folder argument for the folders command.
1038 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
1039 this function more robust. It could too easily list the folders in /.
1040 (mh-folder-list): Fix a couple of problems pointed out by Thomas
1041 Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
1042
1043 2006-03-03 Bill Wohler <wohler@newt.com>
1044
1045 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
1046 mh-image-load-path-for-library.
1047
1048 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
1049 mh-image-load-path-for-library.
1050
1051 * mh-utils.el (mh-image-load-path): Rename to
1052 mh-image-load-path-for-library. Add example to docstring. Rename
1053 local variable mh-image-directory to image-directory. Move error
1054 checks to default case in cond and simplify.
1055
1056 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
1057 docstrings with manual.
1058
1059 2006-03-02 Bill Wohler <wohler@newt.com>
1060
1061 * mh-folder.el (mh-tool-bar-init): Autoload.
1062 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
1063 Set scoped variables image-load-path and load-path with updated
1064 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
1065
1066 * mh-letter.el (mh-tool-bar-init): Autoload.
1067 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
1068 Set scoped variables image-load-path and load-path with updated
1069 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
1070
1071 * mh-show.el (mh-tool-bar-init): Autoload.
1072 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
1073 GNU Emacs.
1074
1075 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
1076 messages per conventions.
1077 (mh-tool-bar-folder-buttons-init)
1078 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
1079 (mh-tool-bar-define call): Format.
1080
1081 * mh-utils.el (mh-image-directory)
1082 (mh-image-load-path-called-flag): Delete.
1083 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
1084 changes are that it no longer uses/sets mh-image-directory or
1085 mh-image-load-path-called-flag, and returns the updated path
1086 rather than change it.
1087 (mh-logo-display): Change usage of mh-image-load-path.
1088
1089 2006-02-28 Bill Wohler <wohler@newt.com>
1090
1091 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
1092 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
1093 to subjects with special characters by quoting regular expression
1094 characters in pick expression derived from existing subjects and
1095 other fields (closes SF #1432548).
1096 (mh-narrow-to-subject): Remove Re: string from subject so that
1097 pick can find originating message (closes SF #1438369).
1098
1099 * mh-utils.el (mh-image-load-path): Rename variable to
1100 mh-image-directory.
1101 (mh-image-load-path): Access mh-image-directory instead of
1102 mh-image-load-path.
1103 (mh-folder-list): Fix problem with passing in a folder and getting
1104 nothing back. Fix problem with passing in empty string and getting
1105 the entire filesystem (or infinite loop). Don't append slash to
1106 folder. These fixes fix problems observed with the pick search.
1107 Thanks to Thomas Baumann for the help (closes SF #1435381).
1108 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
1109 function for quoting pick regular expression characters (closes SF
1110 #1432548).
1111
1112 2006-02-27 Bill Wohler <wohler@newt.com>
1113
1114 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
1115 with manual.
1116
1117 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
1118 docstring about obsolete variable mh-mime-content-types.
1119
1120 * mh-e.el (mh-variant): Sync docstring with manual.
1121 (cus-face): Require as it is needed by mh-inherit-face-flag.
1122
1123 * mh-compat.el (mh-display-color-cells): Return 2 if
1124 device-color-cells returns nil (closes SF #1436924).
1125
1126 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
1127 mh-display-color-cells.
1128
1129 2006-02-21 Eric Ding <ericding@alum.mit.edu>
1130
1131 * mh-e.el (mh-invisible-header-fields-internal): Add entry
1132 "X-Sasl-enc:".
1133
1134 2006-02-20 Eric Ding <ericding@alum.mit.edu>
1135
1136 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1137 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
1138 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
1139 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
1140 "X-Roving-" by removing unnecessary "*" at end.
1141
1142 2006-02-19 Bill Wohler <wohler@newt.com>
1143
1144 * mh-alias.el (mh-address-mail-regexp)
1145 (mh-goto-address-find-address-at-point): Delete copies from
1146 goto-addr.el.
1147 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
1148 mh-address-mail-regexp.
1149 (mh-alias-add-address-under-point): Use
1150 goto-address-find-address-at-point instead of
1151 mh-goto-address-find-address-at-point.
1152
1153 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
1154
1155 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
1156 docstring.
1157 (mh-show-addr): Call goto-address unconditionally. User should use
1158 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
1159
1160 2006-02-18 Bill Wohler <wohler@newt.com>
1161
1162 * mh-e.el (Version, mh-version): Add +cvs to version.
1163
1164 2006-02-18 Bill Wohler <wohler@newt.com>
1165
1166 Release MH-E version 7.92.
1167
1168 * mh-e.el (Version, mh-version): Update for release 7.92.
1169
1170 2006-02-17 Bill Wohler <wohler@newt.com>
1171
1172 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
1173 backgrounds per Mark's suggestion.
1174
1175 * mh-utils.el (mh-image-load-path): Fix problem that images on
1176 load-path or image-load-path would win over relative paths (newer
1177 MH-E or Emacs distribution).
1178
1179 2006-02-16 Bill Wohler <wohler@newt.com>
1180
1181 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
1182 the defface :inherit keyword is available.
1183 (mh-face-data): New variable (contains all face specs) and
1184 function (accessor).
1185 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
1186 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
1187 (mh-folder-msg-number, mh-folder-refiled)
1188 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1189 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1190 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1191 (mh-show-date, mh-show-from)
1192 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
1193 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
1194 (mh-show-to, mh-show-xface, mh-speedbar-folder)
1195 (mh-speedbar-folder-with-unseen-messages)
1196 (mh-speedbar-selected-folder)
1197 (mh-speedbar-selected-folder-with-unseen-messages):
1198 Use mh-face-data.
1199
1200 * mh-utils.el (mh-image-load-path): The variables image-load-path
1201 or load-path would not get updated if user set mh-image-load-path.
1202 Moved tests and add-to-list calls outside of cond so they are
1203 applied consistently, even if they are redundant in some
1204 circumstances. Efficiency isn't a concern here. Made error
1205 messages more user-friendly.
1206
1207 2006-02-15 Peter S Galbraith <psg@debian.org>
1208
1209 * mh-compat.el (mh-image-search-load-path): Compatibility code.
1210 Emacs 21 and XEmacs don't have `image-search-load-path'.
1211
1212 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
1213 images are already found.
1214
1215 2006-02-10 Bill Wohler <wohler@newt.com>
1216
1217 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
1218 rather than use defun*. XEmacs cannot create a proper autoload for
1219 a defun*.
1220
1221 2006-02-09 Bill Wohler <wohler@newt.com>
1222
1223 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
1224 that causes an infinite loop on XEmacs.
1225
1226 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
1227 argument.
1228
1229 2006-02-08 Peter S Galbraith <psg@debian.org>
1230
1231 * mh-e.el (mh-invisible-header-fields-internal): Added entries
1232 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash".
1233
1234 2006-02-04 Bill Wohler <wohler@newt.com>
1235
1236 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
1237 has an emacsclient command that supports --eval. I had read that
1238 gnudoit was deprecated in favor of gnuclient anyway.
1239
1240 2006-02-04 Eric Ding <ericding@alum.mit.edu>
1241
1242 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
1243 handle OpenOffice documents.
1244
1245 2006-02-03 Bill Wohler <wohler@newt.com>
1246
1247 * mh-e.el (Version, mh-version): Add +cvs to version.
1248
1249 2006-02-03 Bill Wohler <wohler@newt.com>
1250
1251 Release MH-E version 7.91.
1252
1253 * mh-e.el (Version, mh-version): Update for release 7.91.
1254
1255 2006-02-03 Bill Wohler <wohler@newt.com>
1256
1257 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
1258 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
1259 of local variable mh-library-name.
1260
1261 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
1262 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
1263 88) with (min-colors 64) in face specifications so that MH-E still
1264 looks good on systems with fewer colors (such as Eric Ding's).
1265
1266 2006-02-03 Peter S Galbraith <psg@debian.org>
1267
1268 * mh-utils.el (mh-image-load-path): New variable to optionally
1269 hold the directory where MH-E images are stored. If nil, then
1270 the function `mh-image-load-path' will find it. This variable
1271 will be used for Debian packaging.
1272 (mh-image-load-path function): Use variable `mh-image-load-path'
1273 if non-nil and exists.
1274
1275 2006-02-03 Mark D. Baushke <mdb@gnu.org>
1276
1277 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
1278 for GNU Emacs or XEmacs to avoid void-variable tool-bar-map lisp
1279 errors if describe-bindings is called before tool-bar-mode is used.
1280
1281 2006-02-03 Peter S Galbraith <psg@debian.org>
1282
1283 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
1284 `mh-url-unresrved-chars'.
1285
1286 2006-02-02 Bill Wohler <wohler@newt.com>
1287
1288 * mh-e.el (Version, mh-version): Add +cvs to version.
1289
1290 2006-02-02 Bill Wohler <wohler@newt.com>
1291
1292 Release MH-E version 7.90.
1293
1294 * mh-e.el (Version, mh-version): Update for release 7.90.
1295
1296 2006-02-01 Bill Wohler <wohler@newt.com>
1297
1298 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
1299
1300 * mh-alias.el (mh-alias-gecos-name): Use
1301 mh-replace-regexp-in-string instead of replace-regexp-in-string.
1302 (crm, multi-prompt): Use mh-require instead of require.
1303 (mh-goto-address-find-address-at-point): Use
1304 mh-line-beginning-position and mh-line-end-position instead of
1305 line-beginning-position and line-end-position. Use
1306 mh-match-string-no-properties instead of
1307 match-string-no-properties.
1308
1309 * mh-comp.el (mh-modify-header-field): Use
1310 mh-line-beginning-position and mh-line-end-position instead of
1311 line-beginning-position and line-end-position.
1312
1313 * mh-compat.el (mailabbrev): Use mh-require instead of require.
1314 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
1315 (mh-face-background): Make docstring consistent.
1316 (mh-require, mh-cancel-timer, mh-display-color-cells)
1317 (mh-line-beginning-position, mh-line-end-position)
1318 (mh-match-string-no-properties, mh-replace-regexp-in-string)
1319 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
1320 add mh- prefix since compatibility functions should have our
1321 package prefix (mh-) by Emacs convention and to avoid messing up
1322 checks for the same functions in other packages.
1323
1324 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
1325 from mh-xemacs.el and rename.
1326 (mh-xargs): Use mh-line-beginning-position and
1327 mh-line-end-position instead of line-beginning-position and
1328 line-end-position.
1329 (mh-defface-compat): Use mh-display-color-cells instead of
1330 display-color-cells.
1331
1332 * mh-folder.el (which-func): Use mh-require instead of require.
1333
1334 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
1335 view-mode-enter.
1336
1337 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml):
1338 Use mh-require instead of require.
1339
1340 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
1341 (mh-letter-next-header-field): Use mh-line-beginning-position and
1342 mh-line-end-position instead of line-beginning-position and
1343 line-end-position.
1344
1345 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
1346 mh-match-string-no-properties instead of
1347 match-string-no-properties.
1348 (mh-narrow-to-header-field): Use mh-line-beginning-position and
1349 mh-line-end-position instead of line-beginning-position and
1350 line-end-position.
1351
1352 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
1353 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
1354 mh-line-beginning-position and mh-line-end-position instead of
1355 line-beginning-position and line-end-position.
1356
1357 * mh-search.el (which-func): Use mh-require instead of require.
1358 (mh-make-pick-template, mh-index-visit-folder)
1359 (mh-pick-parse-search-buffer, mh-swish-next-result)
1360 (mh-mairix-next-result, mh-namazu-next-result)
1361 (mh-pick-next-result, mh-grep-next-result)
1362 (mh-index-create-imenu-index, mh-index-match-checksum)
1363 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
1364 mh-line-beginning-position and mh-line-end-position instead of
1365 line-beginning-position and line-end-position.
1366
1367 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
1368 view-mode-enter.
1369 (mh-folder-size-flist, mh-parse-flist-output-line)
1370 (mh-add-sequence-notation): Use mh-line-beginning-position and
1371 mh-line-end-position instead of line-beginning-position and
1372 line-end-position.
1373
1374 * mh-show.el (mh-show-addr): Use mh-require instead of require.
1375
1376 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
1377 (mh-speed-view, mh-folder-speedbar-buttons)
1378 (mh-speed-highlight, mh-speed-goto-folder)
1379 (mh-speed-add-buttons, mh-speed-parse-flists-output)
1380 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
1381 (mh-speed-add-folder): Use mh-line-beginning-position and
1382 mh-line-end-position instead of line-beginning-position and
1383 line-end-position.
1384 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
1385
1386 * mh-thread.el (mh-thread-find-children)
1387 (mh-thread-parse-scan-line, mh-thread-generate): Use
1388 mh-line-beginning-position and mh-line-end-position instead of
1389 line-beginning-position and line-end-position.
1390
1391 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
1392 instead of display-color-cells.
1393 (mh-folder-list): Use mh-replace-regexp-in-string instead of
1394 replace-regexp-in-string.
1395 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
1396 Use mh-line-beginning-position and mh-line-end-position instead of
1397 line-beginning-position and line-end-position.
1398
1399 * mh-comp.el (mh-send-sub): Don't find components file in current
1400 directory--this seems to have been a side-effect of commenting out
1401 the use of an old mh-etc variable. Improve error message.
1402
1403 2006-01-31 Bill Wohler <wohler@newt.com>
1404
1405 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
1406 argument since compatibility functions should have our package
1407 prefix (mh-) by Emacs convention and to avoid messing up checks
1408 for the same functions in other packages. Use explicit argument
1409 instead of forming name by adding mh- prefix so that one can grep
1410 and find the definition.
1411
1412 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1413 (mh-alias-expand, mh-alias-minibuffer-confirm-address):
1414 Use mh-assoc-string instead of assoc-string.
1415
1416 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
1417 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string):
1418 Move here from mh-utils.el.
1419 (mh-display-completion-list): Move here from mh-comp.el.
1420 (mh-face-foreground, mh-face-background): Move here from
1421 mh-xface.el.
1422 (mh-write-file-functions): Move here from mh-folder.el.
1423
1424 * mh-folder.el (mh-write-file-functions-compat): Move to
1425 mh-compat.el and rename to mh-write-file-functions.
1426 (mh-folder-mode): Use the new name.
1427
1428 * mh-gnus.el (gnus-local-map-property): Rename to
1429 mh-gnus-local-map-property.
1430 (mm-merge-handles): Rename to mh-mm-merge-handles.
1431 (mm-set-handle-multipart-parameter): Rename to
1432 mh-mm-set-handle-multipart-parameter.
1433 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
1434 (mm-possibly-verify-or-decrypt): Rename to
1435 mh-mm-possibly-verify-or-decrypt.
1436 (mm-handle-multipart-ctl-parameter): Rename to
1437 mh-mm-handle-multipart-ctl-parameter.
1438 (mm-readable-p): Rename to mh-mm-readable-p.
1439 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1440 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1441 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1442 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1443 (mml-minibuffer-read-disposition): Rename to
1444 mh-mml-minibuffer-read-disposition.
1445
1446 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1447 instead of assoc-string.
1448
1449 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1450 (mh-mime-display, mh-mime-display-security)
1451 (mh-insert-mime-button, mh-insert-mime-security-button)
1452 (mh-handle-set-external-undisplayer)
1453 (mh-mime-security-press-button, mh-mime-security-show-details)
1454 (mh-mml-attach-file, mh-mime-cleanup)
1455 (mh-destroy-postponed-handles): Use new mh-* names for
1456 compatibility functions.
1457
1458 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1459 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1460 (mh-beginning-of-word): Use the new name.
1461 (mh-get-field): Delete ancient alias.
1462
1463 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1464 and rename to mh-face-foreground.
1465 (mh-face-background-compat): Move to mh-compat.el
1466 and rename to mh-face-background.
1467 (mh-face-display-function): Use the new names.
1468 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1469 instead of url-hexify-string.
1470 (url-unreserved-chars): Move to mh-compat.el and rename to
1471 mh-url-unreserved-chars.
1472 (url-hexify-string): Move to mh-compat.el and rename to
1473 mh-url-hexify-string.
1474
1475 * mh-letter.el (mh-complete-word): Fix bug in call to
1476 mh-display-completion-list. Wrong argument was passed, so
1477 completions wouldn't show highlighted prefix.
1478
1479 2006-01-29 Bill Wohler <wohler@newt.com>
1480
1481 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1482 mh-adaptive-cmd-note-flag.
1483
1484 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1485 docstring. sc-cite-original is autoloaded via loaddefs.el for all
1486 supported versions. In addition, the package name "sc" has been
1487 made obsolete by "supercite since at least Emacs 21.
1488
1489 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1490 revealed character constants that were still strings (closes SF
1491 #770772).
1492
1493 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1494 (mh-get-header-field): Move to mh-utils.el so that you can read
1495 messages without having to load mh-comp.el and mh-letter.el.
1496
1497 * mh-letter.el (mh-hidden-header-keymap)
1498 (mh-letter-toggle-header-field-display)
1499 (mh-letter-skipped-header-field-p)
1500 (mh-letter-skip-leading-whitespace-in-header-field)
1501 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1502 can read messages without having to load mh-comp.el and
1503 mh-letter.el.
1504
1505 * mh-utils.el (mh-get-header-field)
1506 (mh-letter-hide-all-skipped-fields)
1507 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1508 (mh-letter-toggle-header-field-display)
1509 (mh-letter-skip-leading-whitespace-in-header-field)
1510 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1511 mh-letter.el so that you can read messages without having to load
1512 mh-comp.el and mh-letter.el.
1513
1514 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
1515 least, will deliver them to us.
1516
1517 * mh-e.el (mh-after-commands-processed-hook)
1518 (mh-before-commands-processed-hook): Specify what sort of requests
1519 in docstring.
1520
1521 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1522 minor-mode-alias.
1523
1524 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1525 to shush compiler.
1526 (mh-letter-mode): Remove Mail menu.
1527
1528 2006-01-29 Bill Wohler <wohler@newt.com>
1529
1530 The Great Cleanup
1531 Remove circular dependencies. mh-e.el now includes few require
1532 statements and stands alone. Other files should need to require
1533 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1534 such as mh-scan.el.
1535 Remove unneeded require statements.
1536 Remove unneeded load statements, or replace them with non-fatal
1537 require statements.
1538 Break out components into their own files that were often spread
1539 between many files.
1540 As a result, many functions that are now only used within a single
1541 file no longer need to be autoloaded.
1542 Rearrange and provide consistent headings.
1543 Untabify.
1544
1545 * mh-acros.el: Update commentary to reflect current usage.
1546 Add autoload cookies to all macros.
1547 (mh-require-cl): Merge docstring and comment.
1548 (mh-do-in-xemacs): Fix typo in docstring.
1549 (assoc-string): Move to new file mh-compat.el.
1550 (with-mh-folder-updating, mh-in-show-buffer)
1551 (mh-do-at-event-location, mh-seq-msgs): Move here from mh-utils.el.
1552 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1553 from mh-seq.el.
1554
1555 * mh-alias.el (mh-address-mail-regexp)
1556 (mh-goto-address-find-address-at-point): Move here from mh-utils.el.
1557 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1558
1559 * mh-buffers.el: Update descriptive text.
1560
1561 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1562 new file mh-scan.el.
1563 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1564 (mh-letter-menu, mh-letter-mode-help-messages)
1565 (mh-letter-buttons-init-flag, mh-letter-mode)
1566 (mh-font-lock-field-data, mh-letter-header-end)
1567 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1568 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1569 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1570 (mh-filter-out-non-text, mh-insert-prefix-string)
1571 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1572 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1573 (mh-letter-complete, mh-letter-complete-or-space)
1574 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1575 (mh-letter-next-header-field-or-indent)
1576 (mh-letter-next-header-field, mh-letter-previous-header-field)
1577 (mh-letter-skipped-header-field-p)
1578 (mh-letter-skip-leading-whitespace-in-header-field)
1579 (mh-hidden-header-keymap)
1580 (mh-letter-toggle-header-field-display-button)
1581 (mh-letter-toggle-header-field-display)
1582 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1583 file mh-letter.el.
1584 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1585 (mh-pgp-support-flag, mh-x-mailer-string)
1586 (mh-letter-header-field-regexp): Move to mh-e.el.
1587 (mh-goto-header-field, mh-goto-header-end)
1588 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1589 mh-utils.el.
1590 (mh-insert-header-separator): Move to mh-comp.el.
1591 (mh-display-completion-list-compat): Move to new file
1592 mh-compat.el.
1593
1594 * mh-compat.el: New file.
1595 (assoc-string): Move here from mh-acros.el.
1596 (mh-display-completion-list): Move here from mh-comp.el.
1597
1598 * mh-customize.el: Move content into mh-e.el and remove.
1599
1600 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1601 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1602 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1603 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1604 declared here so that they can be used in docstrings.
1605 (mh-sent-from-folder, mh-sent-from-msg)
1606 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1607 (mh-x-mailer-string): Move here from mh-comp.el.
1608 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1609 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1610 here from mh-seq.el.
1611 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1612 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1613 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1614 (mh-show-folder-buffer, mh-mail-header-separator)
1615 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1616 (mh-signature-separator, mh-signature-separator-regexp)
1617 (mh-list-to-string, mh-list-to-string-1): Move here from
1618 mh-utils.el.
1619 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1620 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1621 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1622 (mh-exec-cmd-output)
1623 (mh-exchange-point-and-mark-preserving-active-mark)
1624 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1625 deprecated file mh-exec.el.
1626 (mh-path): Move here from deprecated file mh-customize.el.
1627 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1628 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1629 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1630 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1631 (mh-profile-component-value, mh-defface-compat): Move here from
1632 deprecated file mh-init.el.
1633 (mh-goto-next-button, mh-folder-mime-action)
1634 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1635 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1636 mh-mime.el.
1637 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1638 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1639 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1640 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1641 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1642 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1643 (mh-scan-cmd-note-width, mh-scan-destination-width)
1644 (mh-scan-date-width, mh-scan-date-flag-width)
1645 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1646 (mh-scan-field-destination-offset)
1647 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1648 (mh-scan-field-subject-start-offset, mh-scan-format)
1649 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1650 mh-scan.el.
1651 (mh-partial-folder-mode-line-annotation)
1652 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1653 (mh-generate-sequence-font-lock, mh-last-destination)
1654 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1655 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1656 (mh-execute-commands, mh-first-msg, mh-header-display)
1657 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1658 (mh-folder-from-address, mh-prompt-for-refile-folder)
1659 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1660 (mh-previous-page, mh-previous-undeleted-msg)
1661 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1662 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1663 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1664 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1665 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1666 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1667 (mh-folder-sequence-menu, mh-folder-message-menu)
1668 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1669 (mh-write-file-functions-compat, mh-folder-mode)
1670 (mh-restore-desktop-buffer, mh-scan-folder)
1671 (mh-regenerate-headers, mh-generate-new-cmd-note)
1672 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1673 (mh-process-or-undo-commands, mh-process-commands)
1674 (mh-update-unseen, mh-delete-scan-msgs)
1675 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1676 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1677 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1678 (mh-lessp): Move to mh-utils.el.
1679 (mh-parse-flist-output-line, mh-folder-size-folder)
1680 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1681 (mh-remove-sequence-notation, mh-remove-cur-notation)
1682 (mh-remove-all-notation, mh-delete-seq-locally)
1683 (mh-read-folder-sequences, mh-read-msg-list)
1684 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1685 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1686 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1687 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1688 (mh-xemacs-flag)
1689 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1690 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1691 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1692 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1693 (mh-faces, mh-alias-completion-ignore-case-flag)
1694 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1695 (mh-alias-insert-file, mh-alias-insertion-location)
1696 (mh-alias-local-users, mh-alias-local-users-prefix)
1697 (mh-alias-passwd-gecos-comma-separator-flag)
1698 (mh-new-messages-folders, mh-ticked-messages-folders)
1699 (mh-large-folder, mh-recenter-summary-flag)
1700 (mh-recursive-folders-flag, mh-sortm-args)
1701 (mh-default-folder-for-message-function, mh-default-folder-list)
1702 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1703 (mh-identity-list, mh-auto-fields-list)
1704 (mh-auto-fields-prompt-flag, mh-identity-default)
1705 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1706 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1707 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1708 (mh-compose-insertion, mh-compose-skipped-header-fields)
1709 (mh-compose-space-does-completion-flag)
1710 (mh-delete-yanked-msg-window-flag)
1711 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1712 (mh-letter-complete-function, mh-letter-fill-column)
1713 (mh-mml-method-default, mh-signature-file-name)
1714 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1715 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1716 (mh-scan-format-file-check, mh-scan-format-file)
1717 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1718 (mh-search-program, mh-compose-forward-as-mime-flag)
1719 (mh-compose-letter-function, mh-compose-prompt-flag)
1720 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1721 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1722 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1723 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1724 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1725 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1726 (mh-display-buttons-for-inline-parts-flag)
1727 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1728 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1729 (mh-highlight-citation-style)
1730 (mh-invisible-header-fields-internal)
1731 (mh-delay-invisible-header-generation-flag)
1732 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1733 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1734 (mh-lpr-command-format, mh-max-inline-image-height)
1735 (mh-max-inline-image-width, mh-mhl-format-file)
1736 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1737 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1738 (mh-show-use-xface-flag, mh-store-default-directory)
1739 (mh-summary-height, mh-speed-update-interval)
1740 (mh-show-threads-flag, mh-tool-bar-search-function)
1741 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1742 (mh-before-commands-processed-hook, mh-before-quit-hook)
1743 (mh-before-send-letter-hook, mh-delete-msg-hook)
1744 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1745 (mh-inc-folder-hook, mh-insert-signature-hook)
1746 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1747 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1748 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1749 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1750 (mh-folder-address, mh-folder-body)
1751 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1752 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1753 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1754 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1755 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1756 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1757 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1758 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1759 (mh-speedbar-folder-with-unseen-messages)
1760 (mh-speedbar-selected-folder)
1761 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1762 deprecated file mh-customize.el.
1763
1764 * mh-exec.el: Move content into mh-e.el and remove.
1765
1766 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el.
1767
1768 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1769 mh-scan.el.
1770 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1771
1772 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1773 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1774 to mail-abbrev-make-syntax-table.
1775
1776 * mh-identity.el (mh-identity-menu): New variable for existing
1777 menu.
1778 (mh-identity-make-menu-no-autoload): New alias for
1779 mh-identity-make-menu which can be called from mh-e.el.
1780 (mh-identity-list-set): Move to mh-e.el.
1781 (mh-identity-add-menu): New function.
1782 (mh-insert-identity): Add optional argument maybe-insert so that
1783 local variable mh-identity-local does not have to be visible.
1784
1785 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1786 rest of keymaps). Update key binding for ? to call mh-help with
1787 help messages in new argument.
1788 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1789 which can be called from mh-e.el.
1790 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1791
1792 * mh-init.el: Move content into mh-e.el and remove.
1793
1794 * mh-junk.el: Update requires, untabify, and add mh-autoload
1795 cookies.
1796
1797 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1798
1799 * mh-limit.el: New file. Contains display limit commands from
1800 mh-mime.el.
1801
1802 * mh-mime.el: Rearrange for consistency with other files.
1803 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1804 mh-utils.el.
1805 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1806 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1807 (mh-goto-next-button): Move here from mh-e.el.
1808
1809 * mh-print.el: Rearrange for consistency with other files.
1810
1811 * mh-scan.el: New file. Contains scan line constants and utilities
1812 from XXX, mh-funcs, mh-utils.el.
1813
1814 * mh-search.el: Rearrange for consistency with other files.
1815 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1816 fields which don't exist in the saved header. Replace C-c C-f f
1817 with C-c C-f m per mail-mode consistency.
1818 (mh-search-mode): Use mh-set-help instead of setting
1819 mh-help-messages.
1820
1821 * mh-seq.el (mh-thread-message, mh-thread-container)
1822 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1823 (mh-thread-id-index-map, mh-thread-index-id-map)
1824 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1825 (mh-thread-subject-container-hash, mh-thread-duplicates)
1826 (mh-thread-history, mh-thread-body-width)
1827 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1828 (mh-thread-initialize, mh-thread-id-container)
1829 (mh-thread-remove-parent-link, mh-thread-add-link)
1830 (mh-thread-ancestor-p, mh-thread-get-message-container)
1831 (mh-thread-get-message, mh-thread-canonicalize-id)
1832 (mh-thread-prune-subject, mh-thread-container-subject)
1833 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1834 (mh-thread-sort-containers, mh-thread-group-by-subject)
1835 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1836 (mh-thread-update-id-index-maps, mh-thread-generate)
1837 (mh-thread-inc, mh-thread-generate-scan-lines)
1838 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1839 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1840 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1841 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1842 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1843 (mh-thread-ancestor, mh-thread-find-children)
1844 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile):
1845 Move to new file mh-thread.el.
1846 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1847 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1848 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1849 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1850 (mh-current-message-header-field, mh-narrow-to-range)
1851 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1852 mh-limit.el.
1853 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1854 mh-acros.el.
1855 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1856 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1857 (mh-define-sequence, mh-undefine-sequence)
1858 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1859 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1860 (mh-parse-flist-output-line, mh-read-folder-sequences)
1861 (mh-read-msg-list, mh-notate-user-sequences)
1862 (mh-remove-cur-notation, mh-add-sequence-notation)
1863 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1864 from mh-e.el.
1865 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1866 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1867
1868 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
1869
1870 * mh-speed.el: Rearrange for consistency with other files.
1871
1872 * mh-thread.el: New file. Contains threading code from mh-seq.el.
1873
1874 * mh-tool-bar.el: New file. Contains tool bar creation code from
1875 deprecated file mh-customize.el.
1876
1877 * mh-utils.el (recursive-load-depth-limit): Remove setting.
1878 No longer needed.
1879 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1880 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1881 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1882 (mh-update-scan-format, mh-msg-num-width): Move to new file
1883 mh-scan.el.
1884 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1885 (mh-header-field-font-lock, mh-header-to-font-lock)
1886 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1887 (mh-show-font-lock-keywords)
1888 (mh-show-font-lock-keywords-with-cite)
1889 (mh-show-font-lock-fontify-region)
1890 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1891 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1892 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1893 (mh-show-sequence-menu, mh-show-message-menu)
1894 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1895 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1896 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1897 file mh-show.el.
1898 (mh-mail-header-separator, mh-signature-separator-regexp)
1899 (mh-signature-separator, mh-globals-hash, mh-user-path)
1900 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1901 (mh-previous-window-config, mh-current-folder mh-show-buffer)
1902 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1903 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1904 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1905 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1906 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1907 Move to mh-alias.el.
1908 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1909 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1910 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1911 Move to new file mh-folder.el.
1912 (with-mh-folder-updating, mh-in-show-buffer)
1913 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1914 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1915 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1916 Moved to mh-seq.el.
1917 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1918 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1919 (mh-face-background-compat, mh-face-display-function)
1920 (mh-show-xface, mh-picon-directory-list)
1921 (mh-picon-existing-directory-list)
1922 (mh-picon-cache, mh-picon-image-types)
1923 (mh-picon-set-directory-list, mh-picon-get-image)
1924 (mh-picon-file-contents, mh-picon-generate-path)
1925 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1926 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1927 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1928 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1929 (mh-x-image-scale-with-convert)
1930 (url-unreserved-chars, url-hexify-string)
1931 (mh-x-image-url-cache-canonicalize)
1932 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1933 (mh-x-image-url-fetch-image, mh-x-image-display)
1934 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1935 (mh-x-image-url-display): Move to new file mh-xface.el.
1936 (mh-logo-display): Call mh-image-load-path.
1937 (mh-find-path-run, mh-find-path): Move here from deprecated file
1938 mh-init.el.
1939 (mh-help-messages): Now an alist of modes to an alist of messages.
1940 (mh-set-help): New function used to set mh-help-messages.
1941 (mh-help): Adjust for new format of mh-help-messages. Add
1942 help-messages argument.
1943 (mh-prefix-help): Refactor to use mh-help.
1944 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1945 mh-e.el.
1946 (mh-clear-sub-folders-cache): New function added to avoid exposing
1947 mh-sub-folders-cache variable.
1948
1949 * mh-xface.el: New file. Contains X-Face and Face header field
1950 display routines from mh-utils.el.
1951
1952 2006-01-17 Bill Wohler <wohler@newt.com>
1953
1954 * mh-acros.el (assoc-string): Fix typo in argument.
1955
1956 2006-01-16 Bill Wohler <wohler@newt.com>
1957
1958 * mh-acros.el (require): Remove defadvice of require as defadvice
1959 is verboten within Emacs and our implementation was returning the
1960 wrong value from require. Upcoming restructuring should make this
1961 unnecessary.
1962 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1963
1964 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1965 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1966
1967 * mh-identity.el (mh-identity-field-handler): Use it.
1968
1969 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1970 (read-from-string string) with (string-to-number string).
1971
1972 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1973 Ditto.
1974
1975 * mh-mime.el (mh-mml-forward-message): Ditto.
1976
1977 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1978 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1979 (mh-openssl-parser, mh-index-update-maps): Ditto.
1980
1981 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1982 (mh-thread-generate): Ditto.
1983
1984 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1985
1986 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1987 mm- functions for proper text=flowed handling (addresses SF
1988 #1273521).
1989
1990 2006-01-15 Bill Wohler <wohler@newt.com>
1991
1992 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1993 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1994 / g.
1995
1996 * mh-utils.el (mh-show-limit-map): Ditto.
1997
1998 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1999 standalone compile.
2000 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
2001
2002 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
2003 where they are used.
2004
2005 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
2006 needed to help remove dependency on mh-utils.
2007
2008 * mh-exec.el: New file. Move process support routines here from
2009 mh-utils.el.
2010
2011 * mh-init.el (mh-utils): Remove require.
2012 (mh-exec): Add require.
2013 (mh-profile-component, mh-profile-component-value): Move here from
2014 mh-utils.el.
2015
2016 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
2017 dependencies on mh-utils.el.
2018 (mh-profile-component, mh-profile-component-value): Move to
2019 mh-init.el since that's the only place that uses them. (Other than
2020 mh-alias.el; I'm thinking that mh-find-path can set variable from
2021 the Aliasfile component like it does the other components).
2022 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
2023 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
2024 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
2025 (defvar, mh-exec-cmd-output)
2026 (mh-exchange-point-and-mark-preserving-active-mark)
2027 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
2028 file mh-exec.el so that mh-init.el doesn't have to depend on
2029 mh-utils.el, breaking circular dependency.
2030
2031 * mh-alias.el:
2032 * mh-customize.el:
2033 * mh-e.el:
2034 * mh-funcs.el:
2035 * mh-gnus.el:
2036 * mh-identity.el:
2037 * mh-inc.el:
2038 * mh-junk.el:
2039 * mh-mime.el:
2040 * mh-print.el:
2041 * mh-search.el:
2042 * mh-seq.el:
2043 * mh-speed.el: Added debugging statements (commented out) around
2044 requires to help find dependency loops. Will remove them when
2045 issues are resolved.
2046
2047 2006-01-14 Bill Wohler <wohler@newt.com>
2048
2049 * mh-customize.el (mh-index): Rename group to mh-search and sort
2050 group definition and options accordingly.
2051 (mh-index-program): Rename to mh-search-program.
2052 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
2053 mh-search-p.
2054 (mh-search-mode-hook): Change group from mh-index to mh-search.
2055 (mh-index-folder): Rename to mh-search-folder. Change group from
2056 mh-index to mh-search.
2057
2058 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
2059 to mh-search-folder.
2060
2061 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
2062 pick and grep are searchers too but aren't indexed.
2063 (mh-index-execute-search-function): Rename to mh-search-function.
2064 (mh-index-next-result-function): Rename to
2065 mh-search-next-result-function.
2066 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
2067 (mh-search): Since redo-search-flag defaults to nil and is of
2068 lesser importance, make it an optional argument and place it after
2069 the folder and search-regexp arguments. Sync docstring with manual.
2070 (mh-search-mode-map): Autoload so that keys are shown in help even
2071 before mh-search is loaded.
2072 (mh-search-mode): Sync docstring with manual.
2073 (mh-index-do-search): Rename argument indexer to searcher. Sync
2074 docstring with manual.
2075 (mh-pick-do-search): Sync docstring with manual.
2076 (mh-index-p): Rename to mh-search-p.
2077 (mh-indexer-choices): Rename to mh-search-choices.
2078 (mh-index-choose): Rename to mh-search-choose. Rename argument
2079 indexer to searcher.
2080 (mh-swish++-execute-search, mh-swish-execute-search)
2081 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
2082 read the results" from docstring since these functions don't.
2083 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
2084 with manual.
2085 (mh-index-generate-pretty-name): Prune -search from string so that
2086 folder names for pick searches are the same as those of other
2087 searches.
2088
2089 2006-01-13 Bill Wohler <wohler@newt.com>
2090
2091 * mh-acros.el (require): Added Satyaki's comment regarding what
2092 needs to happen to remove this defadvice which caused a little
2093 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
2094 advices `require' incorrectly).
2095
2096 * mh-search.el (mh-index-next-result-function): Add format to
2097 docstring.
2098 (mh-mairix-next-result): Use nil instead of () which doesn't stand
2099 out as well.
2100 (mh-pick-execute-search): Operate across all folders if no folder
2101 given and recurse folder(s).
2102 (mh-pick-next-result): Handle new output.
2103
2104 * mh-utils.el (mh-collect-folder-names): Fix docstring.
2105 (mh-children-p, mh-folder-list): New functions.
2106
2107 2006-01-12 Bill Wohler <wohler@newt.com>
2108
2109 * mh-search.el: New file containing contents of mh-index.el and
2110 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
2111 pick. Pick no longer sets the "search" sequence. Instead, it
2112 brings up a folder view that we're accustomed to. (Closes SF
2113 #829207.)
2114 (mh-index-search): Rename to mh-search.
2115 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
2116 the Search to Perform Search and call mh-do-search. Add Search
2117 with Pick menu item.
2118 (mh-do-search): Delete.
2119 (mh-search-mode): Rename from mh-pick-mode.
2120 (MH-Search): Rename mode from MH-Pick.
2121 (mh-search-mode-map): Rename from mh-pick-mode-map.
2122 (mh-search-mode-help-messages): Rename from
2123 mh-pick-mode-help-messages.
2124 (mh-index-choose): Don't reuse the last value of mh-indexer; when
2125 mh-pick-do-search sets it to 'pick, we don't necessarily want to
2126 stay with that choice!
2127
2128 * mh-index.el:
2129 * mh-pick.el: Merge into mh-search.el and delete.
2130
2131 * mh-customize.el (mh-index-program): Change mh-index-search to
2132 mh-search in docstring.
2133 (mh-tool-bar-search-function): Change default from
2134 mh-search-folder to mh-search. Remove mh-search-folder as choice
2135 and rename mh-index-search choice to mh-search. Fix docstring.
2136 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
2137 mh-search-folder to mh-search in docstring.
2138
2139 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
2140 Indexed Search to Search. Use mh-search instead of mh-index-search.
2141 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
2142 from mh-show-search-folder to mh-search.
2143
2144 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
2145 mh-search-folder no longer creates the search sequence.
2146
2147 * mh-utils.el (mh-show-search-folder): Delete.
2148 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
2149 Change s from mh-show-search-folder to mh-search.
2150 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
2151 Search to Search. Use mh-search instead of mh-index-search.
2152 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell):
2153 Move here from deleted mh-index.el.
2154
2155 2006-01-11 Bill Wohler <wohler@newt.com>
2156
2157 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
2158 from mh-gnus.el.
2159
2160 * mh-gnus.el: Require mh-acros.
2161 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
2162
2163 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
2164 url-hexify-string to remove special characters from filenames
2165 (closes SF #1396499). Note that this invalidates the existing
2166 names in your cache so you might as well remove
2167 ~/Mail/.mhe-x-image-cache/* now.
2168 (url-unreserved-chars, url-hexify-string): Define if not defined.
2169 Copied from url-util.el in Emacs22 for Emacs 21.
2170
2171 * mh-buffers.el: New file. Contains constants and code from
2172 mh-index.el and mh-utils.el.
2173
2174 * mh-alias.el:
2175 * mh-comp.el:
2176 * mh-e.el:
2177 * mh-funcs.el:
2178 * mh-init.el:
2179 * mh-junk.el:
2180 * mh-mime.el:
2181 * mh-print.el:
2182 * mh-seq.el: Require new file mh-buffers.el.
2183
2184 * mh-index.el: Require new file mh-buffers.el.
2185 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
2186 mh-buffers.el.
2187
2188 * mh-utils.el: Require new file mh-buffers.el.
2189 (mh-temp-buffer, mh-temp-fetch-buffer)
2190 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
2191 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
2192 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
2193 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
2194
2195 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
2196 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
2197
2198 2006-01-10 Bill Wohler <wohler@newt.com>
2199
2200 * mh-comp.el (mh-insert-letter): If you choose a different folder,
2201 the cur message is used. Sync docstring with manual (closes SF
2202 #1205890).
2203
2204 * mh-mime.el (mh-compose-forward): Use standard range argument
2205 instead of messages. Use more powerful mh-read-range instead of
2206 read-string. Sync docstring with manual (close SF #1205890).
2207
2208 * mh-index.el (mh-index-search): Checking mh-find-path-run is
2209 unnecessary.
2210 (mh-index-next-folder): Don't back up a line when going backwards
2211 since this skips the current folder heading if point is on the
2212 first message after the folder heading (closes SF #1126188).
2213
2214 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses it.
2215 (mh-variants): Note variable isn't meant to be accessed directly;
2216 use function mh-variants instead.
2217 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
2218 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
2219 them. Updated to use mh-file-command-p which is more accurrate
2220 than file-executable-p which returns t for directories.
2221 (mh-file-command-p): Move here from mh-utils, since
2222 mh-variant-*-info are the only functions to use it.
2223 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
2224 function mh-variants instead of variable. More robust.
2225 (mh-find-path-run): Move here from mh-utils.el. Mention that
2226 checking this variable is unnecessary.
2227 (mh-find-path): Move here from mh-utils.el. With the advent of MH
2228 variants and an mhparam command that doesn't work if there isn't
2229 an MH profile, we can't get libdir for running install-mh. So
2230 don't bother. If there's an issue with the environment, direct the
2231 user to install MH and run install-mh (closes SF #835192). Don't
2232 read ~/.mh_profile directly. Use mh-profile-component which uses
2233 mhparam (closes SF #1016027).
2234
2235 * mh-utils.el (mh-get-profile-field): Rename to
2236 mh-profile-component-value. Add colon to search removing
2237 unnecessary addition of colon to field in mh-profile-component.
2238 (mh-profile-component): Modify call to mh-profile-component-value
2239 accordingly. Move next to mh-profile-component-value.
2240 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
2241 mh-init.el. It makes sense that code that is only run once per
2242 session (more or less) is in mh-init.el rather than cluttering
2243 mh-utils.el.
2244 (mh-no-install, mh-install): Delete.
2245
2246 * mh-customize.el (mh-folder-msg-number):
2247 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
2248
2249 2006-01-09 Bill Wohler <wohler@newt.com>
2250
2251 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
2252 patch from Satyaki from SF #1016027.
2253
2254 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
2255 message, even if cur sequence is no longer present (closes SF
2256 #1207247).
2257
2258 * mh-comp.el: Use ";; Shush compiler." comment consistently per
2259 Mark's suggestion.
2260 (mh-letter-mode): Derive from mail-mode and delete code copied
2261 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
2262 docstring.
2263 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
2264 (mh-to-field-choices): For consistency with mail-mode, add "a" for
2265 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
2266 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
2267 (mh-to-fcc): Move setting of folder argument to interactive
2268 argument as is the norm.
2269 (mh-letter-complete-function-alist): Add mail-reply-to.
2270 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
2271 Mail-Followup-To, Reply-To, From).
2272
2273 * mh-customize.el: Use ";; Forward definition." consistently.
2274 Comment declaration to remind programmer to update forward
2275 definition if default changes.
2276
2277 * mh-funcs.el:
2278 * mh-inc.el:
2279 * mh-init.el:
2280 * mh-mime.el:
2281 * mh-seq.el:
2282 * mh-utils.el: Use ";; Shush compiler." comment consistently per
2283 Mark's suggestion.
2284
2285 2006-01-08 Bill Wohler <wohler@newt.com>
2286
2287 Removed code that was marked as Emacs 20 compatible that was
2288 easily found showing how important it is to document such
2289 things (closes SF #1359240). Feel free to nuke any other Emacs 20
2290 peculiarities that you find. Wrapped code for shushing compiler
2291 with (eval-when-compile), sometimes moving the defvars closer to
2292 where they were used.
2293
2294 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
2295 instead of mh-replace-in-string as mh-replace-in-string was
2296 replaced by a more appropriate defsubst in mh-xemacs.el.
2297
2298 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
2299 eval-when-compile.
2300 (mh-file-is-vcard-p): Removed redundant test.
2301
2302 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
2303 with eval-when-compile.
2304 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
2305 (mh-invisible-header-fields-default): Add forward definitions.
2306 (mh-invisible-header-fields-default): Alphabetize.
2307
2308 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
2309 eval-when-compile.
2310 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
2311 variables.
2312 (mh-colors-available-p): Just call display-color-cells. It's on
2313 all supported Emacsen (and defaliased on XEmacs).
2314
2315 * mh-funcs.el:
2316 * mh-inc.el:
2317 * mh-init.el: Wrap compiler-shushing defvars with
2318 eval-when-compile.
2319
2320 * mh-identity.el: Don't need (mh-require-cl).
2321
2322 * mh-index.el: Don't need to load executable any more.
2323
2324 * mh-mime.el: Wrap compiler-shushing defvars with
2325 eval-when-compile.
2326 (mh-have-file-command): Initialize variable to 'undefined. Add
2327 docstring. Update function of same name accordingly. Also don't
2328 need to load executable any more.
2329 (mh-mime-content-types): Delete.
2330 (mh-minibuffer-read-type): Prompt user for type if
2331 mh-file-mime-type returns application/octet-stream. Assume we have
2332 mailcap-mime-types.
2333 (mh-mime-display): Update error message.
2334
2335 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
2336 with eval-when-compile.
2337
2338 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
2339 with eval-when-compile.
2340 (mh-clean-msg-header): Don't set after-change-functions to nil.
2341 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
2342 instead.
2343
2344 2006-01-07 Bill Wohler <wohler@newt.com>
2345
2346 * mh-customize.el: Updated Faces documentation in header.
2347 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
2348 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
2349
2350 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
2351 tags inserted by Gnus gnus-summary-mail-forward (closes SF
2352 #1399307).
2353
2354 2006-01-03 Mark D. Baushke <mdb@gnu.org>
2355
2356 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
2357 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
2358
2359 2006-01-03 Bill Wohler <wohler@newt.com>
2360
2361 * mh-alias.el (mh-alias-add-alias): Grand message and error string
2362 unification. Use single sentence if possible by using semicolon.
2363 Don't end message with punctuation. Don't need format with
2364 message. Quote messages as in docstrings: use `' around symbols,
2365 \" for option choices. Don't use quotes around %s.
2366
2367 * mh-comp.el (mh-complete-word): Ditto.
2368
2369 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
2370 (mh-scan-format-file-check): Ditto.
2371
2372 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
2373 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
2374 (mh-msg-num-width-to-column): Ditto.
2375
2376 * mh-identity.el (mh-identity-field-handler): Ditto.
2377
2378 * mh-index.el (mh-mairix-execute-search)
2379 (mh-swish-execute-search, mh-swish++-execute-search)
2380 (mh-namazu-execute-search): Ditto.
2381
2382 * mh-init.el (mh-variant-set): Ditto.
2383
2384 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
2385 (mh-secure-message, mh-mime-display): Ditto.
2386
2387 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
2388
2389 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
2390 (mh-read-range, mh-thread-container-subject): Ditto.
2391
2392 * mh-utils.el (mh-x-image-scale-and-display)
2393 (mh-prompt-for-folder, mh-handle-process-error)
2394 (mh-list-to-string-1): Ditto.
2395
2396 * mh-comp.el (mh-reply): Use standard default notation in
2397 prompts (closes SF #1275933).
2398
2399 * mh-mime.el (mh-mime-save-parts): Ditto.
2400
2401 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
2402
2403 * mh-customize.el (mh-folder-msg-number): Snow is actually
2404 off-white on low color displays which turns to white when bold.
2405 This is unreadable on white backgrounds. Use snow with min-colors
2406 requirement. Use cyan on low-color displays.
2407
2408 * mh-init.el (mh-defface-compat): On low-color displays, delete
2409 the high-color display rather than simply strip the min-colors
2410 requirement since the existing algorithm shadowed the desired
2411 display on low-color displays.
2412
2413 * mh-alias.el (mh-alias-add-alias): Remove leading * from
2414 docstring.
2415
2416 2006-01-02 Bill Wohler <wohler@newt.com>
2417
2418 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
2419 docstring. Does this mean something in a defun?
2420
2421 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
2422 Checkdoc fix.
2423
2424 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
2425 so it reads better in docstring and manual. Sync docstring with
2426 manual.
2427
2428 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
2429
2430 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
2431
2432 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
2433 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
2434 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2435 (mh-letter-complete-or-space, mh-letter-confirm-address)
2436 (mh-letter-next-header-field-or-indent)
2437 (mh-letter-previous-header-field): Ditto.
2438
2439 * mh-customize.el (mh-alias-completion-ignore-case-flag)
2440 (mh-default-folder-for-message-function, mh-mml-method-default)
2441 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2442 (mh-show-mode-hook) Ditto.
2443
2444 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2445
2446 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2447 (mh-store-msg, mh-store-buffer): Ditto.
2448
2449 * mh-index.el (mh-index-search, mh-index-do-search)
2450 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2451
2452 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2453
2454 * mh-mime.el (mh-mh-compose-external-compressed-tar)
2455 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2456 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2457 (mh-mml-secure-message-signencrypt): Ditto.
2458
2459 * mh-pick.el (mh-search-folder): Ditto.
2460
2461 * mh-seq.el (mh-widen): Ditto.
2462
2463 * mh-utils.el (mh-show, mh-modify): Ditto.
2464
2465 2006-01-02 Mark D. Baushke <mdb@gnu.org>
2466
2467 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2468
2469 2006-01-01 Bill Wohler <wohler@newt.com>
2470
2471 * mh-customize.el: Sync docstrings with manual for faces and sort
2472 them alphabetically.
2473 (mh-faces): Move below mh-hooks.
2474 (mh-folder-faces, mh-index-faces, mh-letter-faces)
2475 (mh-show-faces, mh-speed-faces): Delete. Organize faces like hooks.
2476 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2477 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2478 (mh-folder-body-face, mh-folder-cur-msg-face)
2479 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2480 (mh-folder-followup-face, mh-folder-msg-number-face)
2481 (mh-folder-deleted-face, mh-folder-refiled-face)
2482 (mh-folder-subject-face, mh-folder-address-face)
2483 (mh-folder-scan-format-face, mh-folder-to-face)
2484 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2485 (mh-show-header-face, mh-show-pgg-good-face)
2486 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2487 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2488 Delete.
2489 (mh-folder-cur-msg): Unused. Delete.
2490 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2491 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2492 Inherit from mh-folder-msg-number.
2493 (mh-folder-deleted): Use defface. Inherit from
2494 mh-folder-msg-number.
2495 (mh-folder-sent-to-me-hint): New face. Inherit from
2496 mh-folder-date.
2497 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2498 Use defface. Inherit from mh-folder-followup.
2499 (mh-show-xface): Inherit from mh-show-from and highlight.
2500 (bw-face-generation, bw-toggle-faces)
2501 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2502 variables, functions for toggling between old and new faces.
2503
2504 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2505 eval-when-compile. We should probably do this throughout.
2506 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2507 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2508 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2509 (mh-scan-subject-regexp): Sync docstrings with manual.
2510 (mh-scan-format-regexp): Rename to
2511 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
2512 expression. Make expression more like the others (anchored at the
2513 beginning of line). Sync docstrings with manual.
2514 (mh-folder-font-lock-keywords): Use faces directly rather than
2515 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
2516 mh-scan-format-regexp, and within that expression, use faces
2517 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2518 of mh-folder-date-face and mh-folder-scan-format-face which were
2519 misleading.
2520
2521 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2522 rather than -face variables.
2523
2524 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2525 rather than -face variables.
2526 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2527 (mh-face-display-function): Use mh-face-foreground-compat and
2528 mh-face-background-compat to use inherited attributes of
2529 mh-show-xface on Emacs 22 while still working on Emacs 21.
2530
2531 2005-12-28 Bill Wohler <wohler@newt.com>
2532
2533 * mh-comp.el (mh-e-user-agent): Move here from simple.el.
2534 Use mh-user-agent-compose instead of mh-smail-batch.
2535
2536 2005-12-27 Bill Wohler <wohler@newt.com>
2537
2538 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2539 suppress creation of folder if it doesn't exist.
2540
2541 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2542
2543 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2544
2545 2005-12-23 Bill Wohler <wohler@newt.com>
2546
2547 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2548
2549 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2550 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2551 everything else. Otherwise, you can accidently get links to
2552 nonsense symbols.
2553
2554 2005-12-22 Bill Wohler <wohler@newt.com>
2555
2556 Follow Emacs coding conventions. Use default setting of
2557 emacs-lisp-docstring-fill-column which is 65.
2558
2559 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2560
2561 * mh-comp.el (mh-letter-mode): Use 60 column width.
2562 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2563 with manual.
2564 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2565 you have added a mail-citation-hook and neither are used if you
2566 use one of the supercite flavors of mh-yank-behavior. Sync
2567 docstrings with manual.
2568
2569 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2570 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2571 hook. Use "Hook run by `function'..." instead of "Invoked...".
2572 Sync docstrings with manual.
2573 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2574 mh-ins-buf-prefix isn't used if you have added a
2575 mail-citation-hook and neither are used if you use one of the
2576 supercite flavors of mh-yank-behavior. Sync docstrings with manual.
2577 (mail-citation-hook): Delete. Use one in sendmail.el.
2578 (mh-signature-file-name, mh-after-commands-processed-hook)
2579 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2580 (mh-before-quit-hook, mh-before-send-letter-hook)
2581 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2582 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2583 (mh-letter-mode-hook)
2584 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2585 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2586 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2587 of "Invoked...". Sync docstrings with manual.
2588
2589 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2590 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2591 (mh-delete-list, mh-refile-list, mh-folders-changed)
2592 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2593 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2594 (mh-mode-line-annotation, mh-sequence-notation-history)
2595 (mh-colors-available-flag): Move comment into docstring.
2596 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2597 (mh-process-commands): Sync docstrings with manual.
2598 (mh-refile-msg): Small doc edit.
2599 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2600 Rename msg argument to message.
2601
2602 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2603
2604 * mh-e.el (mh-update-unseen): No longer say "The value of
2605 `foo-hook' is a list of functions to be called, with no arguments,
2606 ...," but rather just "The hook foo-hook is called...".
2607
2608 * mh-mime.el (mh-mh-to-mime): Ditto.
2609
2610 * mh-pick.el (mh-pick-mode): Ditto.
2611
2612 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2613 docstring.
2614 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2615 into docstring.
2616 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2617 manual.
2618
2619 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2620
2621 * mh-customize.el (mh-after-commands-processed-hook): New variable.
2622 (mh-before-commands-processed-hook): Rename mh-folder-updated-hook.
2623
2624 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2625 mh-before-commands-processed-hook, call new
2626 mh-after-commands-processed-hook.
2627 (mh-folders-changed): New variable (for use in
2628 mh-after-commands-processed-hook).
2629
2630 2005-12-19 Bill Wohler <wohler@newt.com>
2631
2632 * mh-acros.el:
2633 * mh-alias.el:
2634 * mh-comp.el:
2635 * mh-customize.el:
2636 * mh-e.el:
2637 * mh-funcs.el:
2638 * mh-gnus.el:
2639 * mh-identity.el:
2640 * mh-inc.el:
2641 * mh-index.el:
2642 * mh-init.el:
2643 * mh-junk.el:
2644 * mh-mime.el:
2645 * mh-pick.el:
2646 * mh-print.el:
2647 * mh-seq.el:
2648 * mh-speed.el:
2649 * mh-utils.el:
2650 Follow commenting conventions. Don't use ;;; form so much, except
2651 for headings. Precede headings with page feed. This was mostly
2652 already done, so I made it a convention. Did not update copyright
2653 on a couple of files since this was an insignificant change.
2654
2655 2005-12-18 Bill Wohler <wohler@newt.com>
2656
2657 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2658 (mh-tool-bar-search-function): Sync docstrings with manual.
2659 (mh-tool-bar-customize): Replace toolbar with tool bar in docstring.
2660 (mh-tool-bar-letter-help): Fix manual reference.
2661 (mh-xemacs-use-toolbar-flag): Rename to
2662 mh-xemacs-use-tool-bar-flag. Initialize to
2663 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2664 (mh-xemacs-toolbar-position): Rename to
2665 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2666 option (redundant) and change "Same As Default Tool Bar" setting
2667 to nil. Sync docstrings with manual.
2668 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2669 depending on context.
2670 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2671 for calling set-specifier. Only look at the value of
2672 mh-xemacs-use-tool-bar-flag.
2673 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons):
2674 Sync docstrings with manual.
2675
2676 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2677 mh-toolbar-init.
2678
2679 * mh-e.el (mh-folder-mode): Ditto.
2680
2681 * mh-utils.el (mh-show-mode): Ditto.
2682
2683 2005-12-15 Bill Wohler <wohler@newt.com>
2684
2685 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2686
2687 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2688 (mh-thread-previous-sibling, mh-thread-ancestor)
2689 (mh-thread-delete, mh-thread-refile): Ditto.
2690
2691 2005-12-14 Bill Wohler <wohler@newt.com>
2692
2693 * mh-customize.el (mh-speed-flists-interval): Rename to
2694 mh-speed-update-interval.
2695 (mh-speed-run-flists-flag): Delete. Setting
2696 mh-speed-flists-interval to 0 accomplishes the same thing.
2697
2698 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2699 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2700 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2701 docstrings with manual.
2702
2703 2005-12-09 Bill Wohler <wohler@newt.com>
2704
2705 * mh-customize.el (mh-path): Move here from mh-init.el.
2706 (mh-variant): Mention that mh-path can be customized.
2707 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2708 X-MAIL-INFO, and X-UNTD- from NetZero.
2709
2710 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2711
2712 2005-12-04 Bill Wohler <wohler@newt.com>
2713
2714 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2715 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2716 X-Virus-Scanned.
2717
2718 * mh-customize.el (mh-insert-signature-hook): Rename
2719 mh-letter-insert-signature-hook to mh-insert-signature-hook.
2720
2721 * mh-comp.el (mh-insert-signature): Ditto.
2722
2723 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2724 to nil. Remove t option. Sync docstring with manual (closes SF
2725 #831278).
2726 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2727 users can see it, look it up in the manual's index, and discover
2728 mh-fetch-x-image-url (closes SF #831278).
2729
2730 * mh-customize.el (mh-new-messages-folders): Rename from
2731 mh-index-new-messages-folders.
2732 (mh-ticked-messages-folders): Rename from
2733 mh-index-ticked-messages-folders.
2734
2735 * mh-index.el (mh-index-sequenced-messages)
2736 (mh-index-new-messages): Ditto.
2737
2738 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2739 in the docstrings and made usage consistent. Generally speaking,
2740 "messages in range" and "range of messages" is redundant and just
2741 "range" can be used in most circumstances. Also ensured that
2742 mh-interactive-range was mentioned in all interactive functions
2743 that use a range which describes the range argument for both users
2744 and programmers.
2745
2746 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2747 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2748 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2749 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2750 Ditto.
2751
2752 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2753 Ditto.
2754
2755 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2756
2757 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2758 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2759
2760 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2761 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2762
2763 2005-12-01 Bill Wohler <wohler@newt.com>
2764
2765 Rewrote Reading Mail chapter in manual which affected mh-show
2766 customization group and related functions.
2767
2768 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2769 instead of mh-highlight-citation-p.
2770 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2771 I think, so use "truncated".
2772
2773 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2774 section is Folders, not Organizing. Parent of mh-folder-faces is
2775 mh-folder, not mh-show.
2776 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2777 (mh-thread): New group that corresponds with manual's Threading chapter.
2778 (mh-letter-faces): Group's manual section is Editing Drafts, not
2779 Sending Mail.
2780 (mh-sortm-args): New customization variable that used to be a defvar.
2781 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2782 Move from mh-index group to mh-folders group.
2783 (mh-alias-local-users-prefix, mh-large-folder)
2784 (mh-recursive-folders-flag, mh-before-quit-hook)
2785 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2786 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2787 mh-folder group.
2788 (mh-highlight-citation-style): Rename from
2789 mh-highlight-citation-p. Sync docstrings with manual.
2790 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2791 with manual.
2792 (mh-show-threads-flag): Move from mh-show group to mh-thread
2793 group.
2794 (mh-find-path-hook): Move from mh-show group to mh-e group.
2795 (mh-folder-updated-hook): Add to mh-folder group.
2796 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2797 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2798 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2799 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2800 (mh-display-buttons-for-inline-parts-flag)
2801 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2802 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2803 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2804 (mh-lpr-command-format, mh-max-inline-image-height)
2805 (mh-max-inline-image-width)
2806 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2807 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2808 (mh-show-use-xface-flag, mh-store-default-directory)
2809 (mh-summary-height, mh-delete-msg-hook)
2810 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2811
2812 * mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
2813 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2814 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp):
2815 Use non-fontification instead of non-fontifying.
2816 (mh-header-display): Use mh-mhl-format-file instead of
2817 mhl-formfile. Sync docstrings with manual.
2818 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2819 count. Sync docstrings with manual.
2820 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2821 so that message doesn't change when using this command. Sync
2822 docstrings with manual.
2823 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
2824 docstrings with manual.
2825 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2826 to no-header. Sync docstrings with manual.
2827 (mh-ps-print-map): Delete keybindings for deleted commands
2828 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2829 (mh-help-messages): Update printing help.
2830 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2831 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2832 (mh-prev-button, mh-folder-toggle-mime-part)
2833 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2834 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2835 manual.
2836
2837 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2838 mh-customize.el.
2839 (mh-pipe-msg): Rename include-headers to include-header.
2840 Sync docstrings with manual.
2841 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2842 (mh-store-msg): Sync docstrings with manual.
2843
2844 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt.
2845 Sync docstrings with manual.
2846 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2847 Sync docstrings with manual.
2848 (mh-mm-display-part, mh-mm-inline-message): Use
2849 mh-highlight-citation-style instead of mh-highlight-citation-p.
2850 (mh-press-button): Sync docstrings with manual.
2851 (mh-display-with-external-viewer): Fix default output in
2852 minibuffer. Sync docstrings with manual.
2853
2854 * mh-print.el (mh-ps-print-mime, mh-ps-print-toggle-mime):
2855 Delete.
2856 (mh-ps-print-color-option): Incorporate docstring from
2857 ps-print-color-p.
2858 (mh-ps-spool-buffer): Remove unused code. Fix indent.
2859 Slimline docstring.
2860 (mh-ps-spool-msg): Slimline docstring. Rename from
2861 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
2862 available.
2863 (mh-ps-print-range): Extract method from common code in
2864 mh-ps-print-msg and mh-ps-print-msg-file.
2865 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2866 (mh-ps-print-msg-show): Delete. Can use either
2867 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2868 new code in mh-ps-spool-msg.
2869 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2870 Sync docstrings with manual.
2871 (mh-ps-print-msg, mh-ps-print-msg-file)
2872 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color):
2873 Sync docstrings with manual.
2874
2875 * mh-utils.el (mh-show-ps-print-msg-show)
2876 (mh-show-ps-print-toggle-mime): Delete.
2877 (mh-show-ps-print-map): Update accordingly.
2878 (mh-show-mode): Use mh-highlight-citation-style instead of
2879 mh-highlight-citation-p.
2880 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2881 mhl-formfile.
2882 (mh-show): Use mh-mhl-format-file instead of mhl-formfile.
2883 Sync docstrings with manual.
2884 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg):
2885 Sync docstrings with manual.
2886
2887 2005-12-01 Bill Wohler <wohler@newt.com>
2888
2889 * mh-init.el (mh-defface-compat): Checkdoc fix.
2890
2891 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2892 Bogofilter is lowercase except at beginning of sentence and in
2893 titles.
2894
2895 2005-11-04 Bill Wohler <wohler@newt.com>
2896
2897 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2898 Move to mh-init.el to minimize bulk of mh-customize.el.
2899
2900 * mh-init.el: Modify commentary since file is used for load and
2901 initialization as well as setting and getting the variant.
2902 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2903 mh-customize.el.
2904
2905 * mh-customize.el: Refactor faces. Move grayscale requirements
2906 last before t. Use uniform line breaks.
2907 (mh-min-colors-defined-flag): New variable.
2908 (mh-defface-compat): New function. Provides backward compatibility
2909 for face specs.
2910 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2911 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
2912 (mh-folder-body): Use mh-defface-compat.
2913
2914 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2915
2916 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2917 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2918 (mh-folder-to-face): Use the min-colors attribute instead of the
2919 type attribute.
2920
2921 2005-11-03 Bill Wohler <wohler@newt.com>
2922
2923 * mh-customize.el (mh-refile-preserves-sequences-flag)
2924 (mh-tick-seq, mh-update-sequences-after-mh-show-flag):
2925 Sync docstrings with manual.
2926
2927 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2928
2929 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2930 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2931 with manual.
2932
2933 2005-11-01 Bill Wohler <wohler@newt.com>
2934
2935 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2936 defcustom.
2937 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2938 (mh-reply, mh-send, mh-send-other-window)
2939 (mh-fill-paragraph-function): Sync docstrings with manual.
2940 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2941 msg argument to message (to make for a better docstring).
2942
2943 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2944 to defcustom. Rename by adding -flag.
2945 (mh-compose-forward-as-mime-flag)
2946 (mh-compose-letter-function, mh-forward-subject-format)
2947 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2948 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2949 with manual.
2950
2951 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2952 (mh-ps-print-msg): Remove debugging messages.
2953 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2954 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2955 after message per conventions.
2956
2957 2005-10-30 Bill Wohler <wohler@newt.com>
2958
2959 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2960 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp):
2961 Sync docstrings with manual.
2962
2963 * mh-customize.el (mh-compose-space-does-completion-flag)
2964 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2965 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2966 means" to remain checkdoc clean and consistent with Emacs. I
2967 raised this issue with the Emacs developers and Stallman agrees
2968 that "On means" should be allowed in custom docstrings but that
2969 this change requires thought and should wait until after the Emacs
2970 22 release.
2971
2972 2005-10-28 Bill Wohler <wohler@newt.com>
2973
2974 * mh-comp.el (mh-annotate-msg): Use new variable
2975 mh-scan-field-destination-offset rather than hard-coding 1.
2976
2977 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2978 docstring.
2979 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2980 functions to check input for mh-adaptive-cmd-note-flag and
2981 mh-scan-format-file respectively.
2982 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2983 add :set.
2984
2985 * mh-e.el (mh-scan-field-destination-offset): New variable. The
2986 destination is the -, t, b, c, or n character for Replied, To, cc,
2987 Bcc, or Newsgroups respectively.
2988 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note):
2989 Call new function mh-msg-num-width-to-column to make leap between
2990 width and column more explicit.
2991 (mh-msg-num-width-to-column): New function that steals logic from
2992 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2993 isn't t since we can't adapt the scan lines in this case.
2994 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2995 make the documentation more clear.
2996 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2997 column, not a width.
2998 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2999 variable mh-scan-field-destination-offset rather than hard-coding 1.
3000
3001 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
3002 (mh-notate): Use new variable mh-scan-field-destination-offset
3003 rather than hard-coding 1.
3004 (mh-message-number-width): Rename to mh-msg-num-width to be
3005 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
3006
3007 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
3008 (mail-citation-hook): Quote URLs in docstrings and precede with
3009 `URL'. The former will suppress checkdoc warnings, the latter will
3010 turn them into hyperlinks in Emacs 22 (I just added the code to do
3011 that today).
3012 (mh-scan-format-file): Checkdoc fix.
3013
3014 2005-10-27 Bill Wohler <wohler@newt.com>
3015
3016 * mh-customize.el (mh-adaptive-cmd-note-flag)
3017 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
3018
3019 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
3020 (mh-note-cur, mh-scan-good-msg-regexp)
3021 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
3022 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
3023 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
3024 (mh-scan-subject-regexp, mh-scan-format-regexp)
3025 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
3026 with manual.
3027
3028 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
3029
3030 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
3031 of hard-coded string.
3032 (mh-mail-header-separator, mh-signature-separator-regexp):
3033 Use "regular expression" in docstring instead of regexp.
3034 (mh-scan-msg-number-regexp)
3035 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
3036 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
3037 (mh-cmd-note): Sync docstrings with manual.
3038
3039 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
3040 Checkdoc fixes.
3041
3042 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
3043
3044 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
3045 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3046 (mh-mml-secure-message-signencrypt): Ditto.
3047
3048 2005-10-24 Bill Wohler <wohler@newt.com>
3049
3050 * mh-gnus.el: Load mml.el in order to see if
3051 mml-minibuffer-read-disposition is defined or not.
3052
3053 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
3054 mml autoloads.
3055
3056 2005-10-23 Miles Bader <miles@gnu.org>
3057
3058 * .arch-inventory: New file.
3059
3060 2005-10-23 Bill Wohler <wohler@newt.com>
3061
3062 * mh-customize.el (mh-interpret-number-as-range-flag):
3063 Sync docstring with manual.
3064
3065 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
3066 mh-alias.el and move to mh-acros.el.
3067
3068 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
3069 mh-identity.el and move to mh-acros.el.
3070
3071 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
3072 mh-identity.el and mh-alias.el.
3073
3074 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
3075 warning in Emacs 22.
3076
3077 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
3078
3079 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
3080 assoc-string (if the function is available) and falls back on
3081 assoc-ignore-case if assoc-string is not found.
3082 (mh-identity-field-handler): Use mh-assoc-ignore-case since
3083 assoc-ignore-case is a obsolete function in Emacs 22.
3084
3085 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
3086 track of whether the tool-bar in mh-folder-mode has been
3087 initialized yet.
3088 (mh-folder-mode): Initialize the tool-bar for folders the first
3089 time we get into mh-letter-mode.
3090
3091 * mh-customize.el (mh-buffer-exists-p): New function which tests
3092 presence of buffers of a given mode.
3093 (mh-tool-bar-define): New functions mh-tool-bar-folder-buttons-init and
3094 mh-tool-bar-letter-buttons-init are defined. These functions are
3095 used to create the tool-bar from the corresponding customizable
3096 variables.
3097
3098 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
3099 keeps track of whether the tool-bar in mh-letter-mode has been
3100 initialized yet.
3101 (mh-letter-mode): Initialize the tool-bar for drafts the first
3102 time we get into mh-letter-mode.
3103
3104 2005-10-23 Bill Wohler <wohler@newt.com>
3105
3106 * mh-comp.el (mh-letter-menu): Rename
3107 mh-mhn-compose-external-compressed-tar to
3108 mh-mh-compose-external-compressed-tar. Rename
3109 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3110 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
3111 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
3112 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
3113 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
3114 to 'mh.
3115 (mh-insert-signature): Rename mh-mhn-directive-present-p to
3116 mh-mh-directive-present-p.
3117 (mh-send-letter): Rename mh-mhn-directive-present-p to
3118 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
3119 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
3120 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3121 mh-mhn-compose-external-compressed-tar to
3122 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3123 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3124 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
3125 mh-mh-compose-anon-ftp. Rename
3126 mh-mhn-compose-external-compressed-tar to
3127 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3128 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3129 mh-mh-compose-external-type.
3130 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
3131 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
3132 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
3133 mh-yank-from-start-of-msg to mh-yank-behavior.
3134 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
3135 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
3136 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
3137 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
3138 (mh-letter-complete-or-space, mh-letter-confirm-address)
3139 (mh-letter-next-header-field-or-indent)
3140 (mh-letter-previous-header-field)
3141 (mh-letter-toggle-header-field-display): Sync docstrings with
3142 manual.
3143
3144 * mh-customize.el (mh-edit-mhn-hook): Rename to
3145 mh-mh-to-mime-hook.
3146 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
3147 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
3148 and user-visible values from mhn and Gnus to MH and MML.
3149 (mh-before-send-letter-hook): Add 'ispell-message option.
3150 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
3151 mh-pgp-support-flag.
3152 (mh-compose-insertion, mh-compose-space-does-completion-flag)
3153 (mh-delete-yanked-msg-window-flag)
3154 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
3155 (mh-letter-complete-function, mh-letter-fill-column)
3156 (mh-mml-method-default, mh-signature-file-name)
3157 (mh-signature-separator-flag, mh-x-face-file)
3158 (mh-yank-behavior, mail-citation-hook)
3159 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
3160 with manual.
3161
3162 * mh-gnus.el (mml-minibuffer-read-disposition): New function
3163 provided for Emacs 21 environments that lack it.
3164
3165 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
3166 prompt convention.
3167 (mh-compose-forward): mh-mh-forward-message requires string arg.
3168 (mh-minibuffer-read-type): New function.
3169 (mh-mhn-args): Rename to mh-mh-to-mime-args.
3170 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
3171 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
3172 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
3173 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
3174 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
3175 (mh-mhn-compose-external-compressed-tar): Rename to
3176 mh-mh-compose-external-compressed-tar. Rename
3177 mh-mhn-compose-external-type to mh-mh-compose-external-type.
3178 (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type.
3179 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
3180 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
3181 Use correct program in message.
3182 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
3183 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
3184 (mh-compose-forward, mh-mh-attach-file)
3185 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3186 (mh-mh-compose-external-type, mh-mh-forward-message)
3187 (mh-mml-attach-file): Use mml-minibuffer-read-description,
3188 mh-minibuffer-read-type.
3189 (mh-mime-content-types): Move comment about only being used in
3190 Emacs 20 to docstring.
3191 (mh-mh-compose-external-type): Rename extra-param argument to
3192 parameters.
3193 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
3194 (mh-mime-display-part, mh-mime-display-single): Rename
3195 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
3196 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
3197 mh-mh-attach-file.
3198 (mh-compose-forward): Rename mh-mhn-compose-forw to
3199 mh-mh-forward-message.
3200 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
3201 mh-mh-compose-type.
3202 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
3203 (mh-mh-attach-file, mh-mh-compose-type)
3204 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3205 (mh-mh-compose-external-compressed-tar)
3206 (mh-mh-compose-external-type, mh-mh-forward-message)
3207 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
3208 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
3209 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
3210 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3211 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
3212 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
3213 Sync docstrings with manual.
3214
3215 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
3216 mh-pgp-support-flag.
3217
3218 2005-10-17 Peter S Galbraith <psg@debian.org>
3219
3220 * mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case'
3221 to compare against header field for mixed-case "From:".
3222
3223 2005-10-17 Bill Wohler <wohler@newt.com>
3224
3225 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
3226 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
3227 to mail/compose, fld_open to fld-open.
3228 (mh-letter-tool-bar-map): Rename image file mail_send to
3229 mail/send.
3230
3231 2005-10-16 Bill Wohler <wohler@newt.com>
3232
3233 * mh-comp.el (mh-display-completion-list-compat): New macro which
3234 calls `display-completion-list' correctly in older environments.
3235 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
3236 argument.
3237 (mh-complete-word): Use it.
3238
3239 * mh-init.el (mh-image-load-path): Use locate-library to find
3240 MH-E. This simplified the code a lot. Flattened out nested
3241 statements even more.
3242
3243 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
3244
3245 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
3246 causes a compiler warning.
3247
3248 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
3249 the message to be viewed (closes SF #1306141).
3250
3251 2005-10-16 Masatake YAMATO <jet@gyve.org>
3252
3253 * mh-comp.el (mh-complete-word): Pass the common prefix substring
3254 of completion to `display-completion-list'.
3255
3256 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
3257
3258 * mh-init.el (mh-image-load-path-called-flag): New variable which
3259 is used by mh-image-load-path so that it runs only once.
3260 (mh-image-load-path): Modify so that it gets run only once. Also
3261 flatten out heavily nested if statements to make it clearer.
3262
3263 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
3264 to find images used in the toolbar.
3265
3266 * mh-customize.el (:folder): Remove call to mh-image-load-path.
3267
3268 2005-10-14 Bill Wohler <wohler@newt.com>
3269
3270 * mh-e.el (Version, mh-version): Add +cvs to version.
3271
3272 2005-10-14 Bill Wohler <wohler@newt.com>
3273
3274 Released MH-E version 7.85.
3275
3276 * mh-e.el (Version, mh-version): Update for release 7.85.
3277
3278 2005-10-14 Bill Wohler <wohler@newt.com>
3279
3280 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
3281 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
3282 need to be indented.
3283
3284 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
3285 but the code that invoked the face had not been updated. Tick
3286 highlighting working again.
3287
3288 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
3289 make-variable-buffer-local call to top level to avoid warnings in
3290 CVS Emacs.
3291
3292 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
3293 with read-string.
3294
3295 2005-10-09 Bill Wohler <wohler@newt.com>
3296
3297 * mh-init.el (mh-image-load-path): New function that adds the path
3298 to the MH-E images to the image-load-path or load-path depending
3299 on the version of Emacs.
3300
3301 * mh-customize.el: Call mh-image-load-path just before
3302 mh-tool-bar-define so that the toolbar images can be found.
3303
3304 2005-10-04 Bill Wohler <wohler@newt.com>
3305
3306 * ChangeLog: Move contents into ChangeLog.1 and trim.
3307
3308 * ChangeLog.1: New file. Contains old ChangeLog.
3309
3310
3311 Copyright (C) 2005-2011 Free Software Foundation, Inc.
3312
3313 This file is part of GNU Emacs.
3314
3315 GNU Emacs is free software: you can redistribute it and/or modify
3316 it under the terms of the GNU General Public License as published by
3317 the Free Software Foundation, either version 3 of the License, or
3318 (at your option) any later version.
3319
3320 GNU Emacs is distributed in the hope that it will be useful,
3321 but WITHOUT ANY WARRANTY; without even the implied warranty of
3322 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3323 GNU General Public License for more details.
3324
3325 You should have received a copy of the GNU General Public License
3326 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
3327
3328 ;; Local Variables:
3329 ;; coding: utf-8
3330 ;; sentence-end-double-space: nil
3331 ;; add-log-time-zone-rule: t
3332 ;; End:
3333