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