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