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