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