Removed files. New speedbar image files are in etc/images/ezimage
[bpt/emacs.git] / lisp / mh-e / ChangeLog
CommitLineData
d88a70a0
RF
12005-09-24 Emilio C. Lopes <eclig@gmx.net>
2
3 * mh-mime.el (mh-compose-forward, mh-mhn-compose-forw):
4 * mh-comp.el (mh-insert-letter):
5 * mh-utils.el (mh-prompt-for-folder):
6 Follow convention for reading with the minibuffer.
7
900d1698
JB
82005-09-19 Juanma Barranquero <lekktu@gmail.com>
9
10 * mh-print.el (mh-ps-print-msg-show): Fix misplaced parenthesis in
11 previous change.
47570699 12
900d1698 132005-09-18 D Goel <deego@gnufans.org>
47570699
DG
14
15 * mh-alias.el (mh-alias-ali): Fix `message' call: first arg
16 should be a format spec.
900d1698
JB
17
18 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
19 (mh-ps-print-msg, mh-ps-print-msg-show): Ditto.
47570699
DG
20
21 * mh-mime.el (mh-toggle-mh-decode-mime-flag): Ditto.
47570699 22
900d1698 23 * mh-index.el (mh-index-sequenced-messages): Ditto.
47570699
DG
24
25 * mh-e.el (mh-refile-or-write-again, mh-page-msg): Ditto.
26
27 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist)
28 (mh-spamassassin-blacklist, mh-spamassassin-whitelist): Ditto.
29
e95e5f81
DN
302005-08-15 Dan Nicolaescu <dann@ics.uci.edu>
31
32 * mh-customize.el: Do not use face-alias compatibility for
33 faces that did not appear in the previous Emacs release.
34
e6de37c5 352005-08-10 Lars Hansen <larsh@soem.dk>
900d1698 36
e6de37c5
LH
37 * mh-e.el: Add handler to desktop-buffer-mode-handlers.
38 (mh-restore-desktop-buffer): Remove autoload cookie.
39 (mh-folder-mode): Add autoload cookie.
40
a0ec7a4a
LK
412005-07-04 Lute Kamstra <lute@gnu.org>
42
43 Update FSF's address in GPL notices.
44
06266fbb
LK
452005-06-17 Lute Kamstra <lute@gnu.org>
46
47 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
48 (mh-folder-cur-msg-number-face): New backward-compatibility
49 aliases for renamed faces.
50
44d55491
MB
512005-06-17 Miles Bader <miles@gnu.org>
52
53 * mh-customize.el (mh-folder-body, mh-folder-cur-msg)
54 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-followup)
55 (mh-folder-msg-number, mh-folder-refiled, mh-folder-subject)
56 (mh-folder-tick, mh-folder-to, mh-index-folder)
57 (mh-letter-header-field, mh-show-cc, mh-show-date)
58 (mh-show-header, mh-show-pgg-good, mh-show-pgg-unknown)
59 (mh-show-pgg-bad, mh-show-signature, mh-show-to, mh-show-from)
60 (mh-show-xface, mh-speedbar-folder, mh-speedbar-selected-folder)
61 (mh-speedbar-folder-with-unseen-messages)
62 (mh-speedbar-selected-folder-with-unseen-messages)
63 (mh-folder-msg-number, mh-folder-subject, mh-folder-followup)
64 (mh-folder-subject): Remove "-face" suffix from face names.
65 (mh-folder-body, mh-folder-cur-msg, mh-folder-cur-msg-number)
66 (mh-folder-date-face, mh-folder-followup-face)
67 (mh-folder-msg-number-face, mh-folder-refiled-face)
68 (mh-folder-subject-face, mh-folder-tick-face, mh-folder-to-face)
69 (mh-index-folder-face, mh-letter-header-field-face)
70 (mh-show-cc-face, mh-show-date-face, mh-show-header-face)
71 (mh-show-pgg-good-face, mh-show-pgg-unknown-face)
72 (mh-show-pgg-bad-face, mh-show-signature-face, mh-show-to-face)
73 (mh-show-from-face, mh-show-xface-face, mh-speedbar-folder-face)
74 (mh-speedbar-selected-folder-face)
75 (mh-speedbar-folder-with-unseen-messages-face)
99580cde 76 (mh-speedbar-selected-folder-with-unseen-messages-face):
44d55491
MB
77 New backward-compatibility aliases for renamed faces.
78 (mh-folder-body-face, mh-folder-cur-msg-face)
79 (mh-folder-cur-msg-number-face, mh-folder-date-face)
80 (mh-folder-followup-face, mh-folder-msg-number-face)
81 (mh-folder-deleted-face, mh-folder-refiled-face)
82 (mh-folder-subject-face, mh-folder-address-face)
83 (mh-folder-scan-format-face, mh-folder-to-face)
84 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
85 (mh-show-header-face, mh-show-pgg-good-face)
86 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
87 (mh-show-to-face, mh-show-from-face, mh-show-subject-face)
88 (mh-speedbar-folder-with-unseen-messages)
99580cde 89 (mh-speedbar-selected-folder-with-unseen-messages):
44d55491
MB
90 Use renamed MH-E faces.
91
92 * mh-utils.el (mh-letter-font-lock-keywords)
93 (mh-face-display-function): Use renamed MH-E faces.
94 * mh-speed.el (mh-folder-speedbar-buttons)
95 (mh-speed-update-current-folder, mh-speed-normal-face)
96 (mh-speed-bold-face, mh-speed-add-buttons)
97 (mh-speed-invalidate-map): Likewise.
98 * mh-mime.el (mh-signature-highlight): Likewise.
99
cc398b83
JB
1002005-06-16 Juanma Barranquero <lekktu@gmail.com>
101
102 * mh-comp.el (mh-send-sub):
103 * mh-identity.el (mh-identity-field-handler):
104 * mh-mime.el (mh-secure-message):
105 Don't use `format' on `error' arguments.
106
0b46b379
JB
1072005-06-14 Juanma Barranquero <lekktu@gmail.com>
108
109 * mh-mime.el (mh-secure-message): Follow error conventions.
110
e495eaec 1112005-05-28 Bill Wohler <wohler@newt.com>
4b66bdf0 112
e495eaec 113 Released MH-E version 7.84.
4b66bdf0 114
e495eaec
BW
115 * MH-E-NEWS, README: Updated for release 7.84.
116
117 * mh-e.el (Version, mh-version): Updated for release 7.84.
118
1192005-05-28 Bill Wohler <wohler@newt.com>
120
121 * mh-e.el, mh-comp.el: Don't autoload Info-goto-node. It's not
122 used, and if it were, the code should use the info function
123 instead.
124
125 Use full year in copyright notices (for example, 2005, not 05).
126
127 * Makefile (mh-loaddefs.el, mh-e-autoloads.el): Added 2005 to
128 copyright notice.
129
130 * mh-inc.el: Use three ;;; to precede Local Variables to be
131 consistent with other files. Will have to ask Stefan Monnier why
132 he changed it.
133
134 * README: This version of MH-E to appear in GNU Emacs 22.1, not
135 21.5.
136
137 * ChangeLog: The * in a ChangeLog entry must only be used before a
138 filename.
139
140 Fixed compilation warnings in CVS Emacs. This included using
141 "public" functions instead of "private" ones (info instead of
142 Info-goto-node, view-mode-enter instead of view-mode), and
143 removing a customization group that didn't have a parent group. In
144 addition, string-to-int was recently deprecated; use
145 string-to-number instead.
146
147 * mh-customize.el (Info-goto-node): Deleted autoload.
148 (mh-e): Deleted mh group. Use single mh-e group instead.
149 (mh-tool-bar-folder-help, mh-tool-bar-letter-help): Use info
150 instead of Info-goto-node.
151
152 * mh-e.el (mh-read-msg-list): string-to-int deprecated; use
153 string-to-number.
154
155 * mh-funcs.el (mh-list-folders): Use view-mode-enter instead of
156 view-mode.
157
158 * mh-seq.el (mh-list-sequences): Use view-mode-enter instead of
159 view-mode.
160
161 * mh-utils.el (mh-get-msg-num): string-to-int deprecated; use
162 string-to-number.
163
164 Merged in changes from CVS Emacs including:
165
166 * mh-utils.el (mh-show-mode):
167 * mh-pick.el (mh-pick-mode): Remove spurious run-hooks. Lute
168 Kamstra <lute@gnu.org> 2005-05-26.
169
1702005-05-25 Bill Wohler <wohler@newt.com>
171
172 Merged in changes from CVS Emacs including:
ea81d57e
DN
173
174 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
e495eaec
BW
175 high number of colors displays. Dan Nicolaescu <dann@ics.uci.edu>
176 2005-04-08.
177
178 * mh-e.el, mh-identity.el, mh-mime.el: Replace `legal' with
179 `valid'. Replace `illegal' with `invalid'. Werner Lemberg
180 <wl@gnu.org> 2005-03-25.
181
182 * mh-inc.el (mh-inc-spool-list): Correctly declare the external
183 var. Stefan <monnier@iro.umontreal.ca> 2004-09-07.
ea81d57e 184
e495eaec 1852005-05-18 Bill Wohler <wohler@newt.com>
88a34f43 186
e495eaec
BW
187 * mh-comp.el (mh-reply): Mention use of mh-repl-group-formfile in
188 docstring.
88a34f43 189
e495eaec 1902005-05-05 Bill Wohler <wohler@newt.com>
7bd10db5 191
e495eaec 192 * mh-e.el (Version, mh-version): Added +cvs to release number.
7bd10db5 193
e495eaec 1942005-05-05 Bill Wohler <wohler@newt.com>
0c6ec103 195
e495eaec 196 Released MH-E version 7.83.
0c6ec103 197
e495eaec
BW
198 * MH-E-NEWS, README: Updated for release 7.83.
199
200 * mh-e.el (Version, mh-version): Updated for release 7.83.
201
2022005-05-05 Bill Wohler <wohler@newt.com>
203
204 * README: To appear in Emacs 21.5, since 21.4 was released (but
205 without the latest MH-E).
206
207 * release-utils (usage): Added --variable-changes.
208
2092005-05-04 Bill Wohler <wohler@newt.com>
210
211 * mh-customize.el (*-face): Made docstrings consistent.
212
213 * mh-seq.el (mh-pick-args-list): Extracted function for turning
214 string of pick arguments to list. Fixed list so that multi-word
215 arguments were put in a single string (closes SF #1122655).
216 (mh-edit-pick-expr): Use it.
217
218 * mh-unit.el (mh-unit): Since 21.4 snuck out but didn't contain
219 updated lm-verify, don't run lm-verify on versions before 21.5.
220 (mh-unit-test-pick-args-list): Added.
221
222 * mh-customize.el (mh-yank-from-start-of-msg): Use headline
223 capitalization. Changed wording of some choices to be more consistent.
224 (mh-invisible-header-fields-internal): Added fields from usa.net.
225
2262005-04-24 Satyaki Das <satyaki@theforce.stanford.edu>
227
228 * mh-mime.el (mh-mime-security-button-face): New function which
229 determines the face to use to colorize encrypted or signed emails.
230 (mh-insert-mime-security-button): Modified to colorize the button
231 differently based on whether the signature was valid or not,
232 whether the decryption was successful or not, etc.
233
234 * mh-customize.el (mh-show-pgg-good-face)
235 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face): Faces added to
236 highlight buttons introduced for encrpted or signed MIME parts.
237
2382005-03-19 Bill Wohler <wohler@newt.com>
239
240 * mh-customize.el (mh-mml-method-default): Sorted alphabetically.
241 (mh-insert-x-mailer-flag, mh-reply-show-message-flag): Moved from
242 mh-letter group to mh-sending-mail group. The writing of the
243 documentation revealed that these options were misplaced.
244
2452005-03-17 Bill Wohler <wohler@newt.com>
246
247 * mh-customize.el (mh-junk-background): Put in alphabetical order.
248 Synced with manual.
249 (mh-junk-program): Use double-quotes on non-symbols.
250
251 * mh-pick.el: (mh-search-folder): Synced docstrings with manual.
252
253 * mh-index.el: (mh-index-search, mh-pick-execute-search)
254 (mh-grep-execute-search, mh-mairix-execute-search)
255 (mh-swish-execute-search, mh-swish++-execute-search)
256 (mh-namazu-execute-search): Synced docstrings with manual. Note
257 that I'm now grabbing the output of an Info buffer which is why
258 the indents on the examples has changed a bit. If we all use that
259 methodology in the future, we shouldn't produce as many gratuitous
260 diffs. I also noticed that `grep' and `search' became links to
261 unrelated things, so let's use double-quotes for quoting
262 non-symbols in the docstrings.
263
264 * mh-customize.el (mh-index-new-messages-folders)
265 (mh-index-ticked-messages-folders): Synced docstrings with manual.
266
2672005-02-16 Satyaki Das <satyaki@theforce.stanford.edu>
268
269 * mh-index.el (mh-swish-execute-search): Simplify the indexing
270 recipe for swish. Thanks to Eric Jensen for the suggestion.
271
2722005-02-11 Satyaki Das <satyaki@theforce.stanford.edu>
273
274 * mh-index.el (mh-swish-execute-search)
275 (mh-swish++-execute-search): Make the indexing recipes better.
276 (mh-swish-next-result): The indexer might find matches in files
277 that aren't messages. Make the function handle that case
278 gracefully.
279
2802005-02-07 Bill Wohler <wohler@newt.com>
eccf9613 281
e495eaec
BW
282 * mh-customize.el (mh-inc-prog, mh-inc-spool-list): Synced
283 docstrings with manual.
284
2852005-02-06 Bill Wohler <wohler@newt.com>
286
287 * mh-junk.el (mh-spamassassin-blacklist): Removed trailing
288 whitespace.
289
290 * mh-e.el (mh-refile-or-write-again): Checkdoc fix.
291
292 * mh-identity.el (mh-identity-list-set)
293 (mh-identity-field-handler, mh-identity-handler-gpg-identity)
294 (mh-identity-handler-signature)
295 (mh-identity-handler-attribution-verb)
296 (mh-identity-handler-default, mh-identity-handler-top): Docstring
297 editing.
298
299 * mh-customize.el (mh-identity-list, mh-auto-fields-list)
300 (mh-identity-default, mh-identity-handlers): Synced docstrings
301 with manual.
302
3032005-02-03 Bill Wohler <wohler@newt.com>
304
305 * mh-xemacs.el (define-behavior 'mh): Moved Ben's code here from
306 mh-e.el and added standard documentation.
307
308 * mh-e.el: Received patch from Ben Wing <ben@666.com> to add
309 define-behavior on XEmacs.
310
3112005-01-28 Jeffrey C Honig <jch@honig.net>
312
313 * mh-customize.el (mh-invisible-header-fields-internal): Added
314 X-Evolution header added by Evolution mai client.
315
3162005-01-18 Bill Wohler <wohler@newt.com>
317
318 * mh-customize.el (mh-invisible-header-fields-internal): Added
319 DomainKey-Signature (http://antispam.yahoo.com/domainkeys/).
320 There's a Comment field that goes with it, but I thought it was
321 too general to add.
322
3232005-01-06 Bill Wohler <wohler@newt.com>
324
325 * mh-junk.el (mh-spamassassin-blacklist): Fixed typo to fix an
326 error when junking spamassassin mail when mh-junk-background is
327 turned on.
328
3292004-12-25 Satyaki Das <satyaki@theforce.stanford.edu>
330
331 * mh-utils.el (mh-show-unquote-From): Make the buffer writable
332 before trying to change it (closes SF #1089870).
333
334 * mh-comp.el (mh-complete-word): Fix a typo in a variable
335 name (closes SF #1089870)
336
3372004-11-28 Jeffrey C Honig <jch@honig.net>
338
339 * mh-comp.el (mh-complete-word): Kill the *Completions* buffer in
340 any cases where we belive we are done with it. Not perfect, but
341 better than just leaving it around.
342
3432004-11-08 Satyaki Das <satyaki@theforce.stanford.edu>
344
345 * mh-acros.el (mh-funcall-if-exists): In XEmacs, presence of a
346 function at compile time doesn't guarantee it's existence at run
347 time. So make the macro handle that situation better.
348
3492004-11-05 Satyaki Das <satyaki@theforce.stanford.edu>
350
351 * mh-acros.el (advice): Load advice, since it isn't loaded in
352 XEmacs causing compilation problems.
353
3542004-10-24 Satyaki Das <satyaki@theforce.stanford.edu>
355
356 * mh-index.el (mh-mairix-execute-search)
357 (mh-mairix-regexp-builder): Update the interface to mairix so that
358 it will work with versions of mairix 0.12 and later.
359
360 * mh-funcs.el (mh-rmf-daemon): Avoid using
361 beginning-of-buffer since it clobbers the mark and it was pointed
362 out on the Emacs developers list to be the wrong thing to do.
363
364 * mh-e.el (mh-inc-folder): Only remove the window on the show
365 buffer. This means if the user has BBDB enabled then the window
366 displaying BBDB information isn't clobbered.
367 (mh-refile-or-write-again): Don't use the function
368 interactive-p. There was a long thread on the Emacs developers
369 list where it was pointed out that it is incorrect to use this
370 function most of the time.
371
372 * mh-comp.el (autoload): Don't set auto-mode-alist. This could
373 screw things up for users that don't use MH-E (closes SF #1032353).
374
3752004-10-13 Satyaki Das <satyaki@theforce.stanford.edu>
376
377 * mh-e.el (mh-refile-or-write-again): Generalize the function to
378 work on a range of messages (closes SF #1046330).
379
3802004-09-02 Satyaki Das <satyaki@theforce.stanford.edu>
381
382 * mh-e.el (mh-process-commands): The concurrent execution of mark
383 and refile can cause problems since both the commands change the
384 current folder. This change avoids that by getting rid of the
385 concurrency. Another change covers the corner case where we refile
386 messages to a previously empty folder. Before the modification
387 sequences weren't preserved even if the appropriate flag was
388 set. That is no longer the case.
389
3902004-08-26 Satyaki Das <satyaki@theforce.stanford.edu>
391
392 * mh-e.el (mh-get-new-mail): Also, update the unseen sequence from
393 disk. Otherwise, the new messages aren't highlighted.
394
395 * mh-seq.el (mh-thread-inc): Fix a bug which appears when inc is
396 run in a narrowed folder. The user sequence notation was getting
397 lost. The change fixes that.
398
399 * mh-e.el (mh-get-new-mail): Make inc more efficient by reusing
400 the existing user sequence notation and deleted/refiled notation.
401
4022004-08-24 Bill Wohler <wohler@newt.com>
403
404 * mh-e.el (Version, mh-version): Added +cvs to release number.
405
4062004-08-24 Bill Wohler <wohler@newt.com>
407
408 Released MH-E version 7.82.
0c6ec103 409
eccf9613 410 * MH-E-NEWS, README: Updated for release 7.82.
0c6ec103 411
e495eaec 412 * mh-e.el (Version, mh-version): Updated for release 7.82.
eccf9613
BW
413
4142004-08-24 Bill Wohler <wohler@newt.com>
415
0c6ec103 416 * mh-init.el (mh-variant-set): Change MH to mh as that's what is
eccf9613 417 emitted by `mh-variant-mh-info' (closes SF #1014781).
0c6ec103 418 (mh-variant-p): Add mu-mh to docstring.
eccf9613
BW
419
4202004-08-23 Satyaki Das <satyaki@theforce.stanford.edu>
421
422 * mh-acros.el (mh-require-cl): Remove unneeded autoloads.
423 (require): Add an advice to the function so that at compile time
424 the uncompiled file is loaded. This avoids compilation problems
425 when built in the Emacs tree.
426
427 * mh-mime.el (mh-identity-pgg-default-user-id): Defvar the
428 variable, to avoid compiler warnings.
429
430 * mh-e.el (mh-seq): Load mh-seq since functions defined there are
431 used here. Without this, the state mh-seq.elc would be loaded.
432
433 * mh-customize.el (mh-init, mh-identity): Load mh-init and
434 mh-identity at compile time manually, before the corresponding
435 stale elc files get autoloaded.
436
4372004-08-21 Bill Wohler <wohler@newt.com>
438
0c6ec103 439 * mh-e.el (Version, mh-version): Add +cvs to release number.
eccf9613 440
d103d8b3
BW
4412004-08-21 Bill Wohler <wohler@newt.com>
442
e495eaec 443 Released MH-E version 7.81.
0c6ec103 444
d103d8b3 445 * MH-E-NEWS, README: Updated for release 7.81.
0c6ec103 446
e495eaec 447 * mh-e.el (Version, mh-version): Updated for release 7.81.
d103d8b3
BW
448
4492004-08-21 Bill Wohler <wohler@newt.com>
450
451 * release-utils (variable_changes): Check for checked-out
0c6ec103
SM
452 directory before proceeding. Remove temporary files.
453 Rename --variable-update flag to --variable-changes.
d103d8b3
BW
454
4552004-08-16 Mark D. Baushke <mdb@gnu.org>
456
457 * mh-mime.el (mh-toggle-mh-decode-mime-flag: New function.
458 * mh-e.el (mh-help-messages): Add [;] help string for it.
459 (mh-folder-mode-map): Add ";" key binding for it.
460
4612004-08-15 Satyaki Das <satyaki@theforce.stanford.edu>
462
463 * mh-acros.el (mh-defstruct): Distinguishing structures created
464 by mh-defstruct just based on the number of fields is not
465 sufficient, since both the mh-thread-message and
466 mh-thread-container structures have the same length.
467
4682004-08-15 Mark D. Baushke <mdb@gnu.org>
469
470 * mh-customize.el (mh-identity-handlers): Use ":default" instead of
471 "default" to avoid problems with "Default:" as a user defined field.
472 * mh-identity.el (mh-identity-field-handler): Ditto.
473
4742004-08-15 Bill Wohler <wohler@newt.com>
475
476 * mh-e.el (Version, mh-version): Added +cvs to release number.
477
f0d73c14
BW
4782004-08-15 Bill Wohler <wohler@newt.com>
479
e495eaec 480 Released MH-E version 7.4.80.
e9be14aa 481
f0d73c14 482 * MH-E-NEWS, README: Updated for release 7.4.80.
e9be14aa 483
f0d73c14 484 * mh-e.el (Version, mh-version): Updated for release 7.4.80.
e9be14aa 485
f0d73c14
BW
4862004-08-15 Bill Wohler <wohler@newt.com>
487
488 * mh-funcs.el, mh-gnus.el, mh-inc.el, mh-init.el, mh-junk.el,
489 mh-pick.el, mh-print.el, mh-xemacs.el: Added 2004 to Copyright.
490
491 * mh-acros.el, mh-alias.el: Checkdoc fixes.
e9be14aa 492
f0d73c14
BW
4932004-08-12 Satyaki Das <satyaki@theforce.stanford.edu>
494
495 * mh-acros.el (cl): Load cl in this file. That is all right, since
496 this file is only used at compile time, and so cl doesn't get
497 loaded at run time. This avoids problems with stale *.elc files
498 present in the Emacs source tree during compilation.
499 (mh-defstruct): Modify it to make it more CL like and in the
500 process simplify it a bit. This makes the argument list of the
501 constructor compatible with the previous version, thereby avoiding
502 a compilation error when an old version of mh-seq.elc is present.
503
504 * mh-seq.el (mh-thread-id-container, mh-thread-get-message)
505 (mh-thread-get-message-container): Revert back to the CL style
506 of using keyword arguments, since the mh-defstruct now produces
507 code compatible to such usage.
508
5092004-08-11 Satyaki Das <satyaki@theforce.stanford.edu>
510
511 * mh-acros.el (mh-defstruct, mh-require-cl): Checkdoc fixes.
512
513 * mh-utils.el (message-tokenize-header, message-fetch-field): Add
514 autoloads.
515 (mh-folder-completing-read): Make the folder completion look
516 better with CVS Emacs.
517
518 * mh-init.el (mh-variant-set): Remove dead code.
519
5202004-08-11 Bill Wohler <wohler@newt.com>
521
522 * *.el: Use the following at the top of each file which seems to
523 do a good job of suppressing compilation warnings in 21.3 and CVS
524 Emacs (21.4). This replaces (require 'cl) or (require
525 'utils) (mh-require-cl) calls:
e9be14aa 526
f0d73c14
BW
527 (eval-when-compile (require 'mh-acros))
528 (mh-require-cl)
529
5302004-08-10 Bill Wohler <wohler@newt.com>
531
532 * release-utils (DESCRIPTION): Added one.
533 (FILES, SEE ALSO, VERSION): Deleted empty and incorrect sections.
534
535 * mh-e.el (mh-colors-available-p): Call x-display-color-cells with
536 mh-funcall-if-exists since it no longer seems to be defined in
537 GNU Emacs 21.4.
538
5392004-08-10 Satyaki Das <satyaki@theforce.stanford.edu>
540
541 * mh-speed.el (mh-process-kill-without-query, mh-speed-flists):
542 Avoid a compiler warning in versions of Emacs where
543 process-kill-without-query is a deprecated function.
544
545 * mh-seq.el (mh-thread-message, mh-thread-container): Use
546 mh-defstruct instead of defstruct.
e9be14aa 547 (mh-thread-id-container, mh-thread-get-message-container)
f0d73c14
BW
548 (mh-thread-get-message): Use the slightly different structure
549 constructor function.
550
551 * mh-acros.el (mh-defstruct): New macro which is a partial
552 replacement of the defstruct in CL.
553 (no-byte-compile): Don't compile the file since it isn't loaded at
554 run time, so efficiency isn't an issue.
555
556 * mh-utils.el (mh-buffer-data): Use mh-defstruct instead of
557 defstruct.
558
5592004-08-09 Satyaki Das <satyaki@theforce.stanford.edu>
560
561 * mh-funcs.el, mh-junk.el, mh-print.el: Use mh-require-cl to avoid
562 compilation warnings in Emacs-21.3.
563
564 * mh-acros.el (mh-require-cl): Add autoloads of CL functions used.
565
5662004-08-09 Bill Wohler <wohler@newt.com>
567
568 * mh-customize.el (mh-show-use-xface-flag): Mention that `fetch' and
569 `curl' are supported as well.
570
5712004-08-08 Bill Wohler <wohler@newt.com>
572
573 * mh-xemacs.el (mh-xemacs-has-toolbar-flag): Checkdoc fixes.
574
575 * mh-mime.el (mh-display-with-external-viewer): Checkdoc fixes.
576
577 * mh-identity.el: (mh-identity-attribution-verb-end): Stripped
578 trailing space; checkdoc fixes.
579
580 * mh-e.el (mh-restore-desktop-buffer): Checkdoc fixes.
581
582 * mh-customize.el: (mh-inc-spool-list,
583 mh-compose-forward-as-mime-flag, defcustom): Stripped trailing
584 space; checkdoc fixes.
585
586 * mh-comp.el (mh-reply): Stripped trailing space.
587
588 * mh-unit.el (mh-unit-files): Added mh-acros.el and mh-gnus.el.
589 (mh-unit): Don't lm-verify pre-21.4. Save buffers before killing
590 since we might have done some editing.
591
592 * import-emacs: Deleted. Functionality subsumed by release-utils.
593
594 * release-utils: New script. Performs import-emacs functionality
595 and displays new and deleted options.
596
597 * Makefile (import-emacs): Call release-utils instead of
598 import-emacs.
599
600 * mh-funcs.el (mh-undo-folder): Removed deprecated `ignore'
601 argument.
602
603 * mh-e.el (mh-scan-date-regexp): Deleted as Peter claims it is
604 obsolete.
605 (mh-folder-font-lock-keywords): Removed reference to deleted
606 variable `mh-scan-date-regexp'.
607
608 * mh-customize.el (mh-auto-fields-prompt-flag): Made reference to
609 `mh-auto-fileds-lists'.
610 (mh-forward-hook): Fixed docstring typo.
611
6122004-08-07 Bill Wohler <wohler@newt.com>
613
614 * mh-acros.el: New file. Currently holds macros needed by
615 mh-customize.el but is planned to hold all macros to avoid
616 dependency problems when compiling.
617
618 * mh-utils.el (mh-xemacs-flag): Defined in mh-customize.el now.
619 (mh-require-cl, mh-do-in-gnu-emacs, mh-do-in-xemacs)
620 (mh-funcall-if-exists, mh-make-local-hook, mh-mark-active-p):
621 Moved to new file mh-acros.el.
622
623 * mh-customize.el: Require mh-acros and cl only when compiling and
624 mh-loaddefs at runtime instead of mh-utils.
625 (mh-xemacs-flag): Define it here instead of mh-utils.el.
626
627 * Makefile (MH-E-SRC): Added mh-acros.el.
628
629 * mh-gnus.el (default-enable-multibyte-characters): Don't define
630 any more. It doesn't seem to be needed.
631
632 * mh-customize.el (mh-junk-background): New variable. If on, spam
633 programs are run in background. Running in foreground can be slow.
634 Defaults to nil to spare machines with little memory.
635
e9be14aa
KS
636 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
637 (mh-bogofilter-whitelist, mh-spamprobe-blacklist)
f0d73c14
BW
638 (mh-spamprobe-whitelist): Use new option mh-junk-background.
639
6402004-07-25 Satyaki Das <satyaki@theforce.stanford.edu>
641
642 * mh-utils.el (mh-folder-completing-read): In recent CVS Emacs,
643 the first letter of the possible choices in the completion buffer
644 is highlighted. The change is needed for this feature to work
645 during folder name completion. This is not entirely sufficient,
646 since the leading "+" in folder names is still mishandled. A patch
647 is required in Emacs itself to address that.
648
6492004-07-22 Mark D. Baushke <mdb@gnu.org>
650
651 * mh-e.el (recursive-load-depth-limit): Move
652 recursive-load-depth-limit code to ...
653 * mh-utils.el (recursive-load-depth-limit): ... here to avoid
654 problems compiling mh-utils.el and mh-alias.el with gnus-5.10.6
655 under emacs-21.1. Use eval-and-compile instead of eval-when.
656
6572004-07-20 Bill Wohler <wohler@newt.com>
658
659 * mh-customize.el (mh-invisible-header-fields-internal): Added
660 header fields emitted by T-Mobile picture phones (X-Mms-*, and
661 commented out X-Operator field saying it's like X-Mailer).
e9be14aa 662
f0d73c14
BW
6632004-07-12 Bill Wohler <wohler@newt.com>
664
665 * mh-gnus.el: Set local variables indent-tabs-mode and
666 sentence-end-double-space to nil.
667
668 * mh-customize.el: Checkpoint from option docstring updates and
669 manual synchronization from last summer. For the options listed
670 below, docstring was usually completely rewritten. Use "on"
671 instead of "t" in docstring to match what is seen in customization
672 buffer. Use headline capitalization. Standardize on "Auto-detect"
673 text when option has that capibility.
674 (mh): Since we work on more than one type of Emacs, use Emacs
675 instead of GNU Emacs. Prefer GNU mailutils over GNU Mailutils.
676 (mh-variant): s/Autodetect at startup/Auto-detect/.
677 (mh-alias-insertion-location): s/Sorted
678 alphabetically/Alphabetical/. s/At the top of file/Top/. s/At the
679 bottom of file/Bottom/.
680 (mh-alias-local-users-prefix): s/Use login instead of real
681 name/Use Login/.
682 (mh-identity-list): Sorted values by fields, attribution,
683 signature, GPG key.
684 (mh-auto-fields-list): Missing quote.
685 (mh-compose-insertion): s/Use Gnus/Gnus/. s/Use mhn/mhn/.
686 (mh-compose-space-does-completion-flag): s/SPACE/<SPC>/.
687 (mh-extract-from-attribution-verb): Since we have French, added
688 German too ;-).
689 (mh-letter-complete-function): Mention default in docstring.
690 (mh-invisible-header-fields-internal): Added X-ELNK-Trace from
691 Earthlink.
692 (mh-alias-flash-on-comma, mh-alias-insert-file)
693 (mh-alias-passwd-gecos-comma-separator-flag)
694 (mh-recenter-summary-flag, mh-default-folder-for-message-function)
695 (mh-default-folder-must-exist-flag, mh-index-program)
696 (mh-index-ticked-messages-folders, mh-ins-buf-prefix)
697 (mh-delete-yanked-msg-window-flag, mh-identity-default): See
698 summary above.
699
700 * mh-init.el (mh-variant-set, mh-sys-path, mh-variant-mu-mh-info):
701 Prefer GNU mailutils over GNU Mailutils MH.
e9be14aa 702
f0d73c14
BW
703 * mh-comp.el (sc-cite-original, mh-smail, mh-smail-batch)
704 (mh-edit-again, mh-extract-rejected-mail, mh-forward)
705 (mh-smail-other-window, mh-reply, mh-send, mh-send-other-window):
706 Use `mh-send' instead of \\[mh-send]] since links in the docstring
707 are more useful than a key sequence in these cases. Use "See also"
708 instead of "See also documentation for".
709
e495eaec 710 Merged in 7.4.4 changes, described below.
f0d73c14
BW
711
712 * mh-e.el (Version, mh-version): Set to 7.4.4+cvs.
713
a66894d8
BW
7142004-07-10 Bill Wohler <wohler@newt.com>
715
e495eaec 716 Released MH-E version 7.4.4.
a66894d8
BW
717
718 * MH-E-NEWS, README: Updated for release 7.4.4.
719
720 * mh-e.el (Version, mh-version): Updated for release 7.4.4.
e9be14aa
KS
721
722 This patch release contains the following patches:
a66894d8
BW
723
724 * mh-xemacs.el: New file from concatenation of mh-xemacs-compat.el
725 and mh-xemacs-icons.el which were removed since their names
726 exceeded DOS 8+3 limits.
727
728 * Makefile:
729 (mh-e-autoloads.el): Add target to make `mh-e-autoloads.el', a
730 file containg usual entry commands into MH-E to be used for users
731 installing MH-E separately from Emacs.
732 (XEMACS_LOADDEFS_FILE): New. Used to generate mh-loaddefs.el
733 in XEmacs.
734 (XEMACS_LOADDEFS_COOKIE): Ditto.
735 (XEMACS_LOADDEFS_PKG_NAME): Ditto.
736 (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner build
737 environment.
738 (MH-E-SRC): Moved mh-xemacs.el to new variable MH-E-XEMACS-SRC.
739 (MH-E-XEMACS-SRC): New variable to hold XEmacs source files.
740 (MH-E-XEMACS-OBJ): New variable to hold XEmacs object files.
741 (clean): Moved XEmacs-specific code to clean-xemacs.
742 (xemacs): Added clean-xemacs prerequisite. Moved down to XEmacs
743 section of file. Add target to build mh-loaddefs.el in XEmacs
744 (loaddefs-xemacs): New rule to build mh-loaddefs.el in XEmacs.
745 (clean-xemacs): New target to remove XEmacs-specific files.
746 (compile-xemacs): New. It allows for the '-no-autoloads' option
747 and byte-compiles all the source files with a single instance of
748 XEmacs.
749 (dist): Added $(MH-E-XEMACS-SRC) to tarball.
750 (AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and
751 'AUTOLOAD_FILE'.
752 (AUTOLOAD_PACKAGE_NAME): New.
753 (AUTOLOAD_FILE): New.
754 (all): Don't set $EMACS_HOME if building with XEmacs.
755 (xemacs): Use 'compile-xemacs' instead of 'compile'.
756 (auto-autoloads.elc): Use new $AUTOLOAD_* vars and allow for
757 '-no-autoloads'.
758 (custom-load.elc): Allow for '-no-autoloads'.
759
760 * mh-e.el: Don't require mh-xemacs-compat which no longer exists.
761 The XEmacs stuff gets required by mh-customize.el which is
762 required by mh-utils.el which is required by mh-e.el. This all
763 happens before mh-xemacs-compat was required, so all should be
764 well.
765 (mh-restore-desktop-buffer): Move from desktop.el. Add Parameters.
766 (mh-restore-desktop-buffer): Delete with-no-warnings.
767 (mh-folder-mode): Bind desktop-save-buffer to t.
768 (Courtesy Lars Hansen).
769
770 * mh-alias.el (mh-assoc-ignore-case): New macro to use
771 assoc-string when available (Emacs 21.4+); assoc-ignore-case
772 otherwise.
773 (mh-alias-reload, mh-alias-expand,
774 mh-alias-minibuffer-confirm-address): Use it.
775
776 * mh-seq.el: Added mh-autoload to mh-read-seq-default.
777
778 * mh-utils.el (mh-require-cl): The Emacs coding conventions
779 require that the cl package not be required at runtime. However,
780 the cl package in versions of Emacs prior to 21.4 left cl routines
781 in their macro expansions. Use mh-require-cl to provide the cl
f0d73c14 782 routines in the best way possible (closes SF #930012).
a66894d8
BW
783 (require 'mouse): To shush compiler.
784
e495eaec 785 Use new function mh-require-cl throughout.
e9be14aa 786
e495eaec 787 Add arch taglines (courtesy Miles Bader).
e9be14aa 788
a66894d8
BW
789 * mh-unit.el (mh-unit-files): Replaced mh-xemacs-compat.el and
790 mh-xemacs-icons.el with mh-xemacs.el.
791
792 * import-emacs: Also grab the ChangeLog.
793
794 * *.pbm: Regenerated using GIMP to be consistent with other Emacs
795 icons.
796 1. Edit .xpm image in GIMP.
797 2. Image > Mode > Indexed. Check Use Black/White Palette and No
798 Color Dithering.
799 3. File > Save As file.xbm.
800 4. Run xbmtopbm < file.xbm > file.pbm.
801 Thanks to jan.h.d@swipnet.se for the help.
802
f0d73c14
BW
8032004-07-07 Stephen Gildea
804
e9be14aa 805 * mh-customize.el (mh-invisible-header-fields-internal):
f0d73c14
BW
806 Add X-Greylist, X-Source*, and X-WebTV-Signature.
807 Replace specific X-Spam-* headers with general pattern.
e9be14aa 808
f0d73c14
BW
8092004-06-15 Bill Wohler <wohler@newt.com>
810
811 * README: Vladimir Ivanovic reports that mh-rmail works with
812 XEmacs 21.5.17, so updated requirements text accordingly (closes
813 SF #644321).
814
8152004-05-12 Satyaki Das <satyaki@theforce.stanford.edu>
816
817 * mh-utils.el (mh-mail-header-end): Replace call to
818 rfc822-goto-eoh with something that allows From_ lines in the mail
819 header.
820
8212004-04-14 Bill Wohler <wohler@newt.com>
822
823 * mh-utils.el (mh-show-mouse): s/EVENT/event/. Thanks to John Paul
824 Wallington <jpw@gnu.org> for pointing this out.
825
8262004-04-12 Satyaki Das <satyaki@theforce.stanford.edu>
827
828 * mh-e.el (mh-folder-size-flist): Add -showzero option so that the
829 parsing code doesn't get confused by the presence of -noshowzero
830 in the user's .mh_profile (closes SF #933954).
831
8322004-04-07 Satyaki Das <satyaki@theforce.stanford.edu>
833
e9be14aa 834 * mh-mime.el (mh-insert-mime-button)
f0d73c14
BW
835 (mh-insert-mime-security-button): Add evaporate property to
836 overlays used in MIME part buttons. This avoids problems with
837 CVS Emacs.
838
8392004-03-16 Satyaki Das <satyaki@theforce.stanford.edu>
840
841 * mh-e.el (mh-folder-from-address): Go to the end of buffer if the
842 re-search-forward fails (closes SF #917096).
843
8442004-02-02 Satyaki Das <satyaki@theforce.stanford.edu>
845
846 * mh-customize.el (mh-compose-forward-as-mime-flag): New user
847 customizable variable that controls whether messages are forwarded
848 as MIME attachments (closes SF #827203).
849
850 * mh-comp.el (mh-forward): Call forw with -mime option only if
851 mh-compose-forward-as-mime-flag is non-nil.
852
8532003-12-26 Jeffrey C Honig <jch@honig.net>
854
e9be14aa
KS
855 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist)
856 (mh-spamassassin-blacklist, mh-spamassassin-blacklist)
857 (mh-spamassassin-blacklist, mh-spamassassin-whitelist)
858 (mh-spamassassin-whitelist, mh-bogofilter-blacklist)
f0d73c14
BW
859 (mh-spamprobe-blacklist): Add progress messages. Change "Couldn't"
860 to "Unable" in error messages. Run bogofilter and spamprobe in
861 the foreground to prevent a large number of processes from
862 swamping the system.
863
8642003-12-25 Satyaki Das <satyaki@theforce.stanford.edu>
865
866 * mh-e.el (mh-prompt-for-refile-folder): Marking the whole folder
867 and then refiling all messages throws an error, since this
868 function expects point to be on a valid scan line. The change
869 relaxes this requirement, thereby avoiding the above problem.
870
8712003-12-14 Satyaki Das <satyaki@theforce.stanford.edu>
872
873 * mh-comp.el (mh-ascii-buffer-p): New function that checks if a
874 buffer is entirely composed of ASCII.
875 (mh-send-letter): Encode the draft if it contains non-ASCII
876 characters.
877
8782003-12-12 Satyaki Das <satyaki@theforce.stanford.edu>
879
880 * mh-customize.el (mh-invisible-headers): Keep only unique fields
881 in list of header fields to hide. This avoids problems in XEmacs.
882
8832003-12-10 Satyaki Das <satyaki@theforce.stanford.edu>
884
885 * mh-seq.el (mh-thread-print-scan-lines): The imenu index was not
886 getting created for threaded index buffers. The change fixes this.
887
888 * mh-index.el (mh-index-insert-folder-headers): Always create the
889 imenu index.
890 (mh-index-create-imenu-index): Set which-func-mode to t. If
891 which-function-mode is turned on after the folder buffer has been
892 prepared, display of the folder info was being inhibited. The
893 change fixes that.
894
8952003-12-09 Satyaki Das <satyakid@stanford.edu>
896
897 * mh-comp.el (mh-letter-mode): Setup mh-mail-header-separator
898 based on draft contents.
899 (mh-letter-mode, mh-letter-mail-header-end-marker)
900 (mh-letter-header-end): Remove use of the variable
901 mh-letter-mail-header-end-marker. Instead use
902 mh-mail-header-separator. This avoids problems in font locking
903 draft buffers (closes SF #855479).
904
9052003-12-09 Satyaki Das <satyakid@stanford.edu>
906
907 * mh-index.el (mh-index-insert-folder-headers): Modified so that
908 imenu--index-alist is updated.
909 (mh-index-create-imenu-index): New function that generates an
910 index usable by imenu. This adds which-func-mode support to index
911 folders (closes SF #855520).
912
913 * mh-e.el (which-func, which-func-modes): Tell which-func that
914 mh-folder-mode supports it.
915 (mh-folder-mode): Add support for imenu.
916
9172003-11-22 Peter S Galbraith <psg@debian.org>
918
919 * Makefile: renamed mh-startup.el to mh-e-autoloads.el
920
921 * README: renamed mh-startup.el to mh-e-autoloads.el
922
923 * .cvsignore: Added mh-e-autoloads.el
924
a66894d8
BW
9252003-11-18 Bill Wohler <wohler@newt.com>
926
e495eaec 927 Released MH-E version 7.4.3.
a66894d8
BW
928
929 * MH-E-NEWS, README: Updated for release 7.4.3.
930
931 * mh-e.el (Version, mh-version): Updated for release 7.4.3.
e9be14aa 932
99580cde 933 This patch release contains the following two patches:
e9be14aa 934
a66894d8
BW
935 * mh-identity.el (mh-identity-make-menu): Removed condition on
936 mh-auto-fields-list. Use it to enable or disable menu item
937 instead.
938
939 * mh-customize.el (mh-identity-list): Removed defvar and moved
940 defcustom before mh-auto-fields-list so that defvar wouldn't
941 clobber user's customization settings.
942
f0d73c14 9432003-11-17 Jeffrey C Honig <jch@honig.net>
a66894d8 944
f0d73c14
BW
945 * mh-print.el (mh-print-msg): Do not print a message on deprecated
946 usage, the bindings have been removed.
a66894d8 947
f0d73c14
BW
948 * mh-e.el (mh-folder-mode-map): Remove "l" binding for
949 mh-print-msg.
a66894d8 950
f0d73c14
BW
951 * mh-utils.el (mh-show-mode-map): Remove "l" binding for
952 mh-print-msg.
a66894d8 953
f0d73c14 9542003-11-16 Satyaki Das <satyakid@stanford.edu>
a66894d8 955
f0d73c14
BW
956 * mh-comp.el (mh-beginning-of-word): Use the function
957 mh-mail-abbrev-make-syntax-table instead of the function
958 mail-abbrev-make-syntax-table.
959
960 * mh-gnus.el (mh-mail-abbrev-make-syntax-table): Add a wrapper
961 function that calls mail-abbrev-make-syntax-table if available.
962 This is needed so that MH-E built with CVS Emacs will work with
963 released versions of Emacs21 and vice versa.
964
9652003-11-14 Peter S Galbraith <psg@debian.org>
966
967 * mh-customize.el (mh-invisible-header-fields-internal): Add
968 "X-NAI-Spam-" and "X-Spam-Report:".
969
9702003-11-14 Mark D. Baushke <mdb@gnu.org>
971
e9be14aa 972 * mh-customize.el (mh-invisible-header-fields-internal):
f0d73c14
BW
973 Add X-AntiAbuse and X-MailScanner.
974 (Patch from Stephen Gildea.)
e9be14aa 975
f0d73c14
BW
9762003-11-13 Peter S Galbraith <psg@debian.org>
977
978 * mh-identity.el (mh-identity-handler-attribution-verb): New
979 function. A new Identity handler for the attribution verb (e.g.
980 "wrote:") to allow for different identities to use different
981 languages.
982 (mh-identity-insert-attribution-verb): New function. Insert the
983 attribution verb, placing special markers so it can be deleted and
984 replaced later.
985 (mh-identity-attribution-verb-start): New variable. Holds the
986 marker for the start of the attribution verb.
987 (mh-identity-attribution-verb-end): New variable. Holds the
988 marker for the end of the attribution verb.
989
990 * mh-customize.el (mh-identity-handlers): Add new
991 ":attribution-verb" tag for the attribution-verb handler.
992 (mh-identity-list): Idem.
993
994 * mh-comp.el (mh-yank-cur-msg): Insert attribution verb using
995 mh-identity-insert-attribution-verb.
996 (mh-extract-from-attribution): Extract only the name from the From
997 line, without appending `mh-extract-from-attribution-verb' since
998 markers need to be inserted around that now.
999
10002003-11-12 Bill Wohler <wohler@newt.com>
1001
1002 * mh-e.el (mh-rmail, mh-nmail): Well, actually, we run in both GNU
1003 Emacs and XEmacs, so removed the "GNU" in the docstrings unless
1004 one is strictly talking about GNU Emacs.
1005
1006 * mh-comp.el (mh-smail, mh-smail-batch, mh-smail-other-window):
1007 Ditto.
1008
10092003-11-11 Bill Wohler <wohler@newt.com>
1010
1011 * mh-customize.el (mh-customize): Minor docstring change.
1012 (mh, mh-e): The short description for MH-E is: The GNU Emacs
1013 Interface to the MH Mail System. Therefore, updated docstrings
1014 accordingly.
1015
1016 * mh-comp.el (mh-smail, mh-smail-batch, mh-smail-other-window):
1017 Ditto.
1018
1019 * mh-e.el (mh-rmail, mh-nmail): Ditto.
1020
10212003-11-10 Satyaki Das <satyakid@stanford.edu>
1022
1023 * mh-mime.el (mh-mml-to-mime): In case errors happen in
1024 mml-to-mime, restore contents of the draft buffer (closes SF
1025 #839303).
1026
10272003-11-07 Bill Wohler <wohler@newt.com>
1028
1029 * mh-customize.el (mh-letter-mode-hook): Moved to mh-sending-mail
1030 group (where it is now documented in the manual).
1031 (mh-pick-mode-hook): Moved to mh-index group (where it is now
1032 documented in the manual).
1033
1034 * mh-loaddefs.el: Deleted per our discussion on mh-e-devel. No
1035 more conflicts! No more check-ins! Anyone pulling CVS MH-E is
1036 expected to compile. This file shall be added to the tarball so
1037 that users of the distribution are not.
1038
10392003-11-07 Mark D. Baushke <mdb@gnu.org>
1040
1041 * mh-loaddefs.el: Regenerated.
1042
1043 * mh-customize.el (mh-forward-hook): Define new hook.
1044 * mh-comp.el (mh-forward): Use it.
1045
10462003-11-07 Satyaki Das <satyakid@stanford.edu>
1047
1048 * mh-loaddefs.el: Regenerated.
1049
1050 * mh-utils.el (mh-show-toggle-mime-buttons)
1051 (mh-show-display-with-external-viewer): New interactive functions
1052 callable from the show buffer.
1053 (mh-show-mime-map): Add bindings for "K t" and "K e".
1054 (mh-show-msg): Propagate change to
1055 mh-display-buttons-for-inline-parts-flag to the show buffer.
1056
1057 * mh-mime.el (mh-display-with-external-viewer): New interactive
1058 function to display MIME parts with external viewer (closes SF
1059 #839318).
1060
1061 * mh-e.el (mh-folder-mode): Make the variable
1062 mh-display-buttons-for-inline-parts-flag buffer-local so that
1063 display of MIME buttons can be toggled.
1064 (mh-toggle-mime-buttons): New interactive function to toggle
1065 display of MIME buttons.
1066 (mh-mime-map): Modified to add bindings for "K t" and "K e".
1067
10682003-11-04 Steve Youngs <sryoungs@bigpond.net.au>
1069
e495eaec
BW
1070 * Makefile (XEMACS_LOADDEFS_FILE): New. Used to generate
1071 mh-loaddefs.el in XEmacs.
f0d73c14
BW
1072 (XEMACS_LOADDEFS_COOKIE): Ditto.
1073 (XEMACS_LOADDEFS_PKG_NAME): Ditto.
1074 (xemacs): Add target to build mh-loaddefs.el in XEmacs
1075 (clean-xemacs): Remove `mh-loaddefs.el*'
1076 (loaddefs-xemacs): New rule to build mh-loaddefs.el in XEmacs.
1077
10782003-11-02 Peter S Galbraith <psg@debian.org>
1079
1080 * mh-init.el (mh-variant-set-variant): Reset `mh-x-mailer-string'
1081 when we select an MH variant.
1082
10832003-11-02 Jeffrey C Honig <jch@honig.net>
1084
e9be14aa 1085 * mh-loaddefs.el: Regenerated.
f0d73c14
BW
1086
1087 * mh-funcs.el (mh-print-msg): Move to mh-print.el.
1088
1089 * mh-e.el (mh-folder-mode-map): Add mh-print-msg ("l") back, it
1090 will print a message that this usage is deprecated.
1091
e9be14aa 1092 * mh-print.el (require, mh-ps-print-msg, mh-ps-print-msg-file):
f0d73c14
BW
1093 Require mh-funcs for mh-note-printed. PS print functions were not
1094 setting the printed notation. Move mh-print-msg here for
1095 consistency. Print message if mh-print-msg invoked via deprecated
1096 key binding.
1097
10982003-11-01 Peter S Galbraith <psg@debian.org>
1099
1100 * Makefile: Add target to make `mh-startup.el', a file containg
1101 usual entry commands into MH-E to be used for users installing
1102 MH-E separately from Emacs.
1103
1104 * README: Document the above for users.
1105
11062003-10-29 Jeffrey C Honig <jch@honig.net>
1107
1108 * mh-utils.el (mh-show-ps-print-map): Add "?" and "l" to
1109 mh-show-ps-print-map.
1110
1111 * mh-e.el (mh-ps-print-map, mh-help-messages): Add "?" and "l" to
1112 mh-ps-print-map. Add "l" to help message.
1113
11142003-10-27 Bill Wohler <wohler@newt.com>
1115
1116 * Makefile (MH-E-SRC): Moved mh-xemacs.el to new variable
1117 MH-E-XEMACS-SRC.
1118 (MH-E-XEMACS-SRC): New variable to hold XEmacs source files.
1119 (MH-E-XEMACS-OBJ): New variable to hold XEmacs object files.
1120 (clean): Moved XEmacs-specific code to clean-xemacs.
1121 (xemacs): Added clean-xemacs prerequisite. Moved down to
1122 XEmacs section of file.
1123 (clean-xemacs): New target to remove XEmacs-specific files.
1124 (compile-xemacs): Added $(MH-E-XEMACS-SRC) prerequisite.
1125 (dist): Added $(MH-E-XEMACS-SRC) to tarball.
1126
11272003-10-27 Satyaki Das <satyakid@stanford.edu>
1128
1129 * mh-loaddefs.el: Regenerated.
1130
1131 * mh-index.el (mh-indexer-choices): Remove option for the non-free
1132 glimpse indexer (closes SF #831276).
1133 (mh-glimpse-binary, mh-glimpse-directory)
1134 (mh-glimpse-execute-search, mh-glimpse-next-result): Functions
1135 and variables to implement glimpse support are removed.
1136
1137 * mh-customize.el (mh-index-program): Remove option for glimpse.
1138
11392003-10-24 Satyaki Das <satyakid@stanford.edu>
1140
1141 * mh-customize.el: Remove top-level test for toolbar enabled
1142 XEmacs since it is not needed.
1143 (mh-tool-bar-define): Add test for XEmacs toolbar in the functions
1144 mh-toolbar-init, mh-tool-bar-letter-buttons-set and
1145 mh-tool-bar-folder-buttons-set. This enables proper compilation
1146 irrespective of whether the XEmacs was built with toolbar support
1147 or not.
1148
1149 * mh-comp.el (mh-letter-mode): Remove conditional since it is not
1150 needed.
1151
1152 * mh-e.el (mh-folder-mode): Same as above.
1153
1154 * mh-utils.el (mh-show-mode): Same as above.
1155
1156 * mh-xemacs.el (mh-xemacs-icon-map): Remove condition on toolbar
1157 presence since we want the build to work if XEmacs without
1158 toolbars is used during compilation.
1159
11602003-10-23 Bill Wohler <wohler@newt.com>
1161
1162 * mh-customize.el: The Great Reorganization. Sorted groups
1163 alphabetically. Aligned variables in customization groups with
1164 manual sections. Group docstrings changed to match manual chapter
1165 titles.
1166
11672003-10-22 Satyaki Das <satyakid@stanford.edu>
1168
1169 * mh-speed.el (timer): Avoid compiler warning in XEmacs.
1170
11712003-10-22 Steve Youngs <sryoungs@bigpond.net.au>
1172
1173 * Makefile (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner
1174 build environment.
1175 (AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and
1176 'AUTOLOAD_FILE'.
1177 (AUTOLOAD_PACKAGE_NAME): New.
1178 (AUTOLOAD_FILE): New.
1179 (all): Don't set $EMACS_HOME if building with XEmacs.
1180 (xemacs): Use 'compile-xemacs' instead of 'compile'.
1181 (auto-autoloads.elc): Use new $AUTOLOAD_* vars and allow for
1182 '-no-autoloads'.
1183 (custom-load.elc): Allow for '-no-autoloads'.
1184 (compile-xemacs): New. It allows for the '-no-autoloads' option
1185 and byte-compiles all the source files with a single instance of
e9be14aa 1186 XEmacs.
f0d73c14
BW
1187
1188 * mh-e.el (mh-folder-mode): Only load the toolbar in XEmacs if
1189 toolbar support is available.
1190
1191 * mh-comp.el (mh-letter-mode): Only load the toolbar in XEmacs if
1192 toolbar support is available.
1193
1194 * mh-customize.el: Require 'mh-xemacs' at toplevel when
1195 'mh-xemacs-flag' is non-nil.
1196 Wrap all the toolbar code in a test that is true if using
1197 GNU/Emacs or a toolbar-enabled XEmacs.
1198
1199 * mh-print.el (mh-ps-spool-a-msg): Comment out
1200 `clean-message-header-flag' because it isn't used anywhere.
1201
1202 * mh-utils.el (mh-show-mode): Only load the toolbar in XEmacs if
1203 toolbar support is available.
1204
1205 * mh-xemacs.el: Autoload `regexp-opt', `customize-group',
1206 `view-mode', `with-electric-help', `pp', `sort-numeric-fields',
1207 `reverse-region', and `goto-address' at compile time.
1208 (mh-xemacs-has-toolbar-flag): New. This is non-nil when XEmacs
1209 has toolbar support.
1210 (mh-xemacs-toolbar-*-icon): Use it.
1211
12122003-10-21 Mark D. Baushke <mdb@gnu.org>
1213
1214 * mh-identity.el (mh-identity-field-handler): Fields that begin
1215 with ":" must have an mh-identity-handler defined or the user
1216 gets an error.
1217
12182003-10-17 Peter S Galbraith <psg@debian.org>
1219
1220 * mh-customize.el (mh-identity-list): This change affects users!
1221 The keyword "signature" becomes ":signature". The recently added
1222 keyword "pgg-default-user-id" becomes ":pgg-default-user-id".
1223 (mh-auto-fields-list): The keyword "Identity" becomes ":identity".
1224 (mh-identity-handlers): Idem for signature and pgg-default-user-id.
1225
1226 * mh-comp.el (mh-insert-auto-fields): Idem for Identity.
1227
12282003-10-17 Peter S Galbraith <psg@debian.org>
1229
1230 * mh-xemacs.el: Add eval-and-compile call to (load "toolbar" t t) to
1231 make sure `toolbar-make-button-list' is defined. We can't use
1232 require because Emacs doesn't have this library.
1233
12342003-10-16 Bill Wohler <wohler@newt.com>
1235
1236 * mh-customize.el (mh-signature-file-name)
1237 (mh-letter-insert-signature-hook): Merge docstring with manual.
1238
1239 * mh-comp.el (mh-file-is-vcard-p): Checkdoc fix.
1240 (mh-insert-signature): Merge docstring with manual.
1241
1242 * mh-customize.el (mh-junk): Changed manual link in defgroup from
1243 Customizing mh-e to Junk.
1244 (mh-junk-function-alist): Moved SpamAssassin to first in list on
1245 the hunch that it is the most popular and should be chosen if
1246 other anti-spam programs exist.
1247 (mh-junk-mail-folder): Since the variable can accept values other
1248 than folder names, renamed to mh-junk-disposition to more
1249 accurately reflect the content. Merge docstring with manual.
1250 (mh-junk-program): Moved SpamAssassin to the top of the menu for
1251 the same reason presented in mh-junk-function-alist. Also, fixed
1252 case of spam programs to match official usage. Merge docstring
1253 with manual.
1254
1255 * mh-junk.el (mh-junk-blacklist):
1256 s/mh-junk-mail-folder/mh-junk-disposition/. Merge docstring with
1257 manual.
1258 (mh-junk-whitelist): Merge docstring with manual.
1259 (mh-bogofilter-blacklist): No longer suggest using automatic
1260 classification so use -s instead of -Ns.
1261 (mh-bogofilter-whitelist): No longer suggest using automatic
1262 classification so use -n instead of -Sn.
1263 (mh-spamassassin-blacklist, mh-spamassassin-whitelist): Merge
1264 docstring with manual. Moved spamassassin functions to top of file
1265 so functions appear in same order that they are presented in menu.
1266
12672003-10-09 Peter S Galbraith <psg@debian.org>
1268
1269 * mh-customize.el (mail-citation-hook): Moved from mh-comp.el and
e9be14aa 1270 made into a defcustom.
f0d73c14
BW
1271
12722003-10-09 Satyaki Das <satyakid@stanford.edu>
1273
1274 * mh-loaddefs.el: Regenerated.
1275
1276 * mh-comp.el (mh-get-header-field): Add autoload cookie.
1277
1278 * mh-utils.el (mh-show-ps-print-toggle-mime)
1279 (mh-show-ps-print-toggle-color, mh-show-ps-print-toggle-faces)
1280 (mh-show-ps-print-msg-file, mh-show-ps-print-msg)
1281 (mh-show-ps-print-msg-show): New interactive functions callable
1282 from the show buffer.
1283 (mh-show-ps-print-map): New key map for printing.
1284
1285 * mh-e.el (mh-folder-mode-map): Remove key binding for
1286 mh-print-msg.
1287 (mh-ps-print-map): Add new key map for printing.
1288
1289 * Makefile (MH-E-SRC): Add mh-print.el.
1290
12912003-10-07 Satyaki Das <satyakid@stanford.edu>
1292
1293 * mh-utils.el (mh-x-image-url-fetch-image): In XEmacs,
1294 make-temp-file is not present. So to avoid security problems, use
1295 a temporary file in the user's home directory. This avoids issues
1296 in creating files in a world-writable directory.
1297
1298 * mh-mime.el (mh-signature-highlight): In Emacs, arrange for the
1299 overlay to be freed when it is no longer needed. Also, implement
1300 signature highlighting in XEmacs.
1301
13022003-10-05 Satyaki Das <satyakid@stanford.edu>
1303
1304 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Respect the
1305 value of `mm-verify-option' and `mm-decrypt-option'.
1306 (mh-mime-display-security): Rearrange code a bit to avoid too many
1307 new lines being inserted when message verification/decryption is
1308 carried out while the message is being read. Also use the
1309 point-m{in|ax}-marker functions to make the function easier to read.
1310 (mh-mime-security-press-button): Extend the function so that the
1311 user can verify/decrypt messages while reading them.
1312
1313 * mh-gnus.el (mm-possibly-verify-or-decrypt): Added to avoid
1314 compiler warning with old Gnus.
1315
1316 * mh-utils.el (mh-x-image-url-sane-p): New function which checks
1317 if the URL in X-Image-URL is something we can handle.
1318 (mh-x-image-url-display): Don't display image if the URL looks
1319 malformed.
1320
13212003-10-04 Mark D Baushke <mdb@gnu.org>
1322
1323 * mh-comp.el (mh-letter-menu): Simplify menu heading.
1324
13252003-10-03 Mark D Baushke <mdb@gnu.org>
1326
1327 * mh-mime.el (mh-mml-query-cryptographic-method): Avoid
1328 revisionist history and still provide a good default.
1329
1330 * mh-comp.el (mh-letter-menu): Remove the Disable Security
1331 parenthetical comment.
1332
1333 * mh-loaddefs.el: Regenerated.
e9be14aa 1334
f0d73c14
BW
1335 * mh-customize.el (mh-mml-method-default): What method should be
1336 used in secure directives.
e9be14aa 1337
f0d73c14
BW
1338 * mh-mime.el (mh-secure-message): New function used to generate
1339 the mml security tags.
1340 (mh-mml-unsecure-message): New wrapper function around
1341 mml-unsecure-messages.
1342 (mh-mml-secure-message-sign-pgpmime): Remove function.
1343 (mh-mml-secure-message-encrypt-pgpmime): Ditto.
1344 (mh-mml-cryptographic-method-history): New variable.
1345 (mh-mml-query-cryptographic-method): New function.
1346 (mh-mml-secure-message-encrypt): Ditto.
1347 (mh-mml-secure-message-signencrypt): Ditto.
1348 (mh-mml-secure-message-sign): Ditto.
1349
1350 * mh-comp.el (mh-letter-menu, mh-letter-mode-help-messages,
1351 (mh-letter-mode-map): Update to use new functions.
1352
13532003-09-26 Satyaki Das <satyakid@stanford.edu>
1354
1355 * mh-seq.el (mh-interactive-range): The function has been
1356 extended so that it now takes a default result to return if no
1357 interactive prefix arg is given and no region is active.
1358
1359 * mh-e.el (mh-add-sequence-notation): If transient-mark-mode is
1360 on, then the active region is deactivated based on whether a user
1361 sequence or a internal sequence is being notated. The change
1362 removes this inconsistency.
1363 (mh-catchup, mh-folder-map): A new interactive function to mark
1364 messages as read has been added and bound to "F c" in the folder
1365 mode.
1366
1367 * mh-utils.el (mh-show-catchup, mh-show-folder-map): New
1368 interactive function callable from show mode buffers has been
1369 bound to "F c".
1370
13712003-09-24 Bill Wohler <wohler@newt.com>
1372
1373 * mh-customize.el (mh-clean-message-header-flag)
1374 (mh-invisible-header-fields-default, mh-invisible-header-fields):
1375 Merge docstring with manual.
1376
13772003-09-24 Mark D. Baushke <mdb@gnu.org>
1378
1379 * mh-junk.el (mh-junk-blacklist): Junked messages should be put
1380 into the mh-seen-list to avoid propagating the unseen sequence
1381 into the spam folder.
1382
1383 * mh-loaddefs.el: Regenerated.
1384
1385 * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Add an optional
1386 dontsign argument to remove an existing secure message directive.
1387 Update the docstring -- this fuction does not allow for
1388 encrypt/sign, just sign directives.
1389
1390 * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Use
1391 mml-insert-tag directly to provide a sender if
1392 mh-identity-pgg-default-user-id is set.
1393 (mh-mml-secure-message-encrypt-pgpmime): Use mml-insert-tag
1394 directly to provide a sender if this message is to be both signed
1395 and encrypted and mh-identity-pgg-default-user-id is set.
1396
13972003-09-23 Bill Wohler <wohler@newt.com>
1398
1399 * mh-alias.el (Commentary): Removed as it is now in the manual.
1400 (mh-alias-system-aliases): Moved here from mh-customize.el. By
1401 definition, "system" definitions are not user-visible, and user
1402 filenames are in the the Aliasfile: profile component, so this
1403 variable really shouldn't be a defcustom
1404 (mh-alias-tstamp, mh-alias-filenames, mh-alias-reload)
1405 (mh-alias-add-alias, mh-alias-grab-from-field)
1406 (mh-alias-add-address-under-point, mh-alias-apropos): Merge
1407 docstring with manual.
1408 (mh-alias-reload-maybe): Minor comment update.
1409 (mh-alias-insert-file): Merge docstring with manual. Removed
1410 "[press TAB]" from prompt since users should know about completion
1411 and space can be used as well.
1412 (mh-alias-for-from-p): No longer returns a surprising result (t if
1413 there was **not** an alias for the From field) if the From header
1414 field is missing. This function now returns what you would expect
1415 a function of this name to return. Renamed from
1416 mh-alias-from-has-no-alias-p since negatives in the function name
1417 make logic harder to follow.
1418 (mh-alias-add-alias-to-file): Merge docstring with manual.
1419 Improved verbiage of prompt. Aliases are now inserted "[b]efore"
1420 or "[a]fter" the existing alias instead of "[i]nsert" or
1421 "[a]ppend." Note how the new usage flows better.
1422
1423 * mh-customize.el (mh-alias): Changed manual link in defgroup from
1424 Customizing mh-e to Aliases.
1425 (mh-alias-grab-from-field button): mh-alias-from-has-no-alias-p
1426 renamed to mh-alias-for-from-p and no longer returns surprising
1427 value if there isn't a From field. Therefore, enable button if
1428 there is a From header field and mh-alias-for-from-p returns nil.
1429 (mh-letter-complete-function)
1430 (mh-alias-completion-ignore-case-flag, mh-alias-flash-on-comma)
1431 (mh-alias-insert-file, mh-alias-insertion-location)
1432 (mh-alias-local-users, mh-alias-local-users-prefix)
1433 (mh-alias-passwd-gecos-comma-separator-flag): Merge docstring with
1434 manual.
1435 (mh-alias-system-aliases): Moved to mh-alias.el.
1436
1437 * mh-comp.el (mh-letter-complete-function-alist): Removed comment
1438 about making this customizable since I didn't think it seemed
1439 appropriate in the manual.
1440 (mh-letter-complete): Merge docstring with manual.
1441
14422003-09-23 Satyaki Das <satyakid@stanford.edu>
1443
1444 * mh-speed.el (mh-speed-flists): When exiting emacs, don't ask if
1445 the flists process should be killed.
1446
1447 * mh-e.el (mh-folder-message-menu): Enable undo menu entry only
1448 if something can be undone.
1449
1450 * mh-customize.el (undo): Enable undo button only if something
1451 can be undone.
1452
14532003-09-22 Peter S Galbraith <psg@debian.org>
1454
1455 * mh-customize.el (mh-identity-handlers): New defcustom. Alist of
1456 Handler functions for mh-identity (downcased) fields.
e9be14aa 1457 (mh-identity-list): Add support for pgg-default-user-id.
f0d73c14
BW
1458
1459 * mh-identity.el (mh-insert-identity): Modified to use
1460 `mh-identity-handlers', adding hacking flexibility for those who
1461 might need it.
1462 (mh-identity-field-handler): New function. Return the handler for
1463 a FIELD or nil if none set. The field name is downcased.
1464 (mh-identity-handler-gpg-identity): New function; handler for pgg
1465 pgp identities. It sets a buffer-local value for
1466 `mh-pgg-default-user-id' which must be handled by mh-send-letter.
1467 (mh-identity-pgg-default-user-id): New buffer-local variable to
1468 hold the requested key ID.
1469 (mh-identity-handler-signature): New function; handler t insert
1470 and remove signature files.
1471 (mh-identity-handler-default): New function; the default handler
1472 to insert or remove generic field.
1473 (mh-identity-handler-top): Insert a field at the top of the
1474 header.
1475 (mh-identity-handler-bottom): Insert a field at the bottom of the
1476 header.
1477 (mh-header-field-delete): Make more robust wrt the field having a
1478 trailing colon or not.
1479 (mh-identity-make-menu): Add a "Customize Identities" menu entry.
e9be14aa 1480
f0d73c14
BW
1481 * mh-loaddefs.el: Regenerated.
1482
14832003-09-21 Peter S Galbraith <psg@debian.org>
1484
1485 * mh-init.el (mh-variant-set): Bug fix for mh-variant long names
1486 with version numbers.
1487
1488 * mh-e.el (mh-scan-format): patch from Sergey Poznyakoff.
e9be14aa 1489 GNU mailutils now supports the %(decode) format
f0d73c14
BW
1490
14912003-09-20 Satyaki Das <satyakid@stanford.edu>
1492
1493 * mh-gnus.el (mh-mm-text-html-renderer): New function to query
1494 which HTML renderer is being used by Gnus.
1495
1496 * mh-mime.el (mh-signature-highlight): Renderers used to display
1497 HTML parts garble the signature separator in various ways. The
1498 function has been modified to take that into account.
1499 (mh-mime-display-single, mh-mm-display-part): Pass the new
1500 optional argument to `mh-signature-highlight'.
1501
15022003-09-19 Mark D. Baushke <mdb@gnu.org>
1503
1504 * mh-mime.el (mh-have-file-command, mh-file-mime-type): Made an
1505 mh-autoload as they are used in mh-comp.el.
1506
1507 * mh-loaddefs.el: Regenerated.
1508
15092003-09-18 Peter S Galbraith <psg@debian.org>
1510
1511 * mh-comp.el (mh-insert-fields): Make sure field has a colon.
1512
15132003-09-18 Satyaki Das <satyakid@stanford.edu>
1514
1515 * mh-seq.el (mh-toggle-tick): Don't hardcode the name of the tick
1516 sequencence in the function. This would have caused improper
1517 highlighting of the tick sequence if the user had changed its
1518 name.
1519
15202003-09-15 Satyaki Das <satyakid@stanford.edu>
1521
1522 * mh-e.el (mh-folder-message-menu): Fix a little bug which shows
1523 up as a problem during compilation (closes SF #806577).
1524
15252003-09-15 Mark D. Baushke <mdb@gnu.org>
1526
1527 * mh-customize.el (mh-invisible-header-fields-internal): Added
1528 a new field for GNU mailutils per Sergey Poznyakoff.
1529
15302003-09-09 Satyaki Das <satyakid@stanford.edu>
1531
1532 * mh-utils.el (vcard): Unconditionally load vcard.el, if
1533 available, so that vcards are always inlined.
1534
15352003-09-09 Peter S Galbraith <psg@debian.org>
1536
1537 * mh-mime.el (mh-file-mime-type-substitutions): Add entry to
1538 convert text/plain .vcf files to text/x-vcard.
1539 (mh-mime-content-types): Add text/x-vcard.
1540
15412003-09-09 Bill Wohler <wohler@newt.com>
1542
1543 * mh-comp.el (mh-rejected-letter-start): Added strings for qmail
1544 and exim (addresses SF #404965).
1545
15462003-09-09 Satyaki Das <satyakid@stanford.edu>
1547
1548 * mh-gnus.el (mm-inline-text-vcard): Make vcard display work with
1549 Gnus-5.9. The extra file vcard.el is still needed.
1550
1551 * mh-mime.el (mh-signature-highlight): New function that
1552 highlights message signatures.
1553 (mh-mm-display-part, mh-mime-display-single): Highlight signatures
1554 using `mh-signature-highlight' (closes SF #802722). More work is
1555 needed for XEmacs.
1556 (mh-mime-display): Highlight signature in non-MIME email too.
1557
1558 * mh-customize.el (mh-show-signature-face): New face used to
1559 display message signature.
1560
15612003-09-08 Peter S Galbraith <psg@debian.org>
1562
1563 * mh-e.el (mh-version): Do something sensible when
1564 mh-variant-in-use is undefined.
1565 * mh-junk.el (mh-spamassassin-blacklist)
1566 (mh-spamassassin-whitelist): Change options to be compatoble with
1567 old version of spamassassin (V2.20).
1568
15692003-09-07 Mark D. Baushke <mdb@gnu.org>
1570
1571 * mh-mime.el (mh-access-types): Per RFC 2049, the "afs"
1572 access-type for message/external-body has been removed.
1573 Update the comments to reference the current MIME RFCs
1574 2045, 2046 and 2049 rather than the obsolete RFC 1521.
1575
15762003-09-05 Peter S Galbraith <psg@debian.org>
1577
1578 * mh-e.el (mh-version): Bumped version number to 7.4.2+cvs.
1579
15802003-09-04 Satyaki Das <satyakid@stanford.edu>
1581
1582 * mh-utils.el (mh-picon-directory-list, mh-picon-directory): The
1583 mh-picon-directory-list variable supersedes mh-picon-directory.
1584 (mh-picon-existing-directory-list): New variable that contains
1585 the list of picon directories that actually exist.
1586 (mh-picon-set-directory-list): New function to update
1587 mh-picon-existing-directory-list from mh-picon-directory-list.
1588 (mh-picon-get-image): The function has been modified to search a
1589 list of possible picon source directories. The regexp to extract
1590 the username from the email address has been made smarter so that
1591 it can recognize email addresses of the form user+random@foo.net
1592 and extract "user" from there.
1593 (mh-picon-file-contents): The file type recognition code has been
1594 moved from mh-picon-get-image into this function.
1595 (mh-picon-generate-path): The function has been generalized so
1596 that searching multiple paths is now feasible.
1597
1598 * mh-pick.el, mh-e.el: Checkdoc fixes.
1599
16002003-09-02 Satyaki Das <satyakid@stanford.edu>
1601
1602 * mh-identity.el (eval-when): It seems that the mh-comp-loaded
1603 code isn't required any more.
1604
16052003-08-30 Satyaki Das <satyakid@stanford.edu>
1606
1607 * mh-init.el (mh-variant-set): Replace `error' with `message' so
1608 that Emacs CVS will compile without errors if no MH variant is
1609 present.
1610
16112003-08-29 Satyaki Das <satyakid@stanford.edu>
1612
1613 * mh-init.el (mh-variant-set): Add interactive spec to the
1614 function.
1615
1616 * mh-mime.el (mh-mhn-compose-external-type): Optional arguments
1617 are prompted for only if prefix arg is given.
1618
16192003-08-29 Mark D. Baushke <mdb@gnu.org>
1620
1621 * mh-mime.el (mh-mhn-compose-external-type): Modified to be
1622 interactive and prompts for many of the fields. Made an
1623 mh-autoload.
1624 (mh-access-types): New table derived from RFC2017, RFC1521 and
1625 RFC1738, used in a completing-read in
1626 mh-mhn-compose-external-type.
1627
1628 * mh-loaddefs.el: Regenerated.
1629
16302003-08-26 Satyaki Das <satyakid@stanford.edu>
1631
1632 * mh-utils.el (mh-picon-image-types, mh-picon-get-image): Avoid
1633 compiler warnings.
1634 (mh-sub-folders-actual): Parsing of the output from folders has
1635 been modified, so that it also works for MH (closes SF #792300).
1636
1637 * mh-junk.el (mh-spamassassin-whitelist): Avoid calling
1638 ietf-drums-parse-address if it isn't present.
1639 (mh-spamassassin-identify-spammers): Avoid use of puthash so that
1640 Emacs20 doesn't complain.
1641
1642 * mh-e.el (mh-colors-available-p): Wrap call to
1643 display-color-cells in a mh-funcall-if-exists to avoid compiler
1644 warning in Emacs20.
1645
16462003-08-25 Satyaki Das <satyakid@stanford.edu>
1647
1648 * mh-e.el (mh-colors-available-flag, mh-folder-mode): New
1649 variable to track if colors are available and it is set
1650 appropriately in mh-folder-mode.
1651 (mh-colors-available-p, mh-colors-in-use-p): Two functions to
1652 check whether colors are available and if they are actually being
1653 used.
1654 (mh-add-sequence-notation): Just changing a scan line doesn't
1655 make font-lock refontify the line in Emacs20. So explicitly
1656 refontify the scan line in such a situation.
1657 (mh-internal-seq): If colors aren't being used then treat the
1658 tick sequence like a normal user sequence.
1659
1660 * mh-seq.el (mh-put-msg-in-seq): Do font-lock highlighting after
1661 the messages have been added to the sequence.
1662 (mh-toggle-tick): Modified so that highlighting of the ticked
1663 messages will be properly done. If font-lock isn't being used or
1664 if colors aren't supported by the Emacs where MH-E is running,
1665 then the `%' character is used to annotate ticked messages.
1666
1667 * mh-utils.el (mh-picon-image-types): Since Emacs20 doesn't have
1668 image-type-available-p, wrap calls to that function in
1669 ignore-errors.
1670 (mh-add-msgs-to-seq): Do the font-lock highlighting after the
1671 messages have been added.
1672
16732003-08-24 Bill Wohler <wohler@newt.com>
1674
1675 * Makefile (MH-E-SRC): Replaced mh-xemacs-compat.el and
1676 mh-xemacs-icons.el with mh-xemacs.el.
1677
1678 * mh-e.el: Don't require mh-xemacs-compat which no longer exists.
1679 The XEmacs stuff gets required by mh-customize.el which is
1680 required by mh-utils.el which is required by mh-e.el. This all
1681 happens before mh-xemacs-compat was required, so all should be
1682 well.
1683
1684 * mh-unit.el (mh-unit-files): Replaced mh-xemacs-compat.el and
1685 mh-xemacs-icons.el with mh-xemacs.el.
1686
1687 * mh-xemacs.el: New file from concatenation of mh-xemacs-compat.el
1688 and mh-xemacs-icons.el which were removed since their names
1689 exceeded DOS 8+3 limits.
1690
1691 * mh-customize.el (mh-compose-skipped-header-fields): Use
1692 uppercase for field names.
1693
16942003-08-21 Bill Wohler <wohler@newt.com>
1695
1696 * mh-customize.el (mh-sequences): Introduced new customization
1697 group for sequences.
1698 (mh-refile-preserves-sequences-flag, mh-tick-seq)
1699 (mh-update-sequences-after-mh-show-flag): Moved option from
1700 mh-folder to mh-sequences group. Synced docstring with manual.
1701 (mh-index-ticked-messages-folders): Since mh-tick-seq is
1702 customizable, use it instead of tick in the docstring.
1703
1704 * mh-index.el (mh-index-ticked-messages): Since mh-tick-seq is
1705 customizable, use it instead of tick in the docstring.
1706
1707 * mh-seq.el (mh-msg-is-in-seq): Can now specify an alternate
1708 message number with a prefix argument.
1709 (mh-narrow-to-tick): Since mh-tick-seq is customizable, use it
1710 instead of tick in the docstring. Also, use mh-tick-seq instead of
1711 tick in warning message.
1712
17132003-08-20 Peter S Galbraith <psg@debian.org>
1714
1715 * mh-customize.el: setq mh-variant to 'none when byte-compiling,
1716 since we don't care what MH variant (if any) is on the system at
1717 that point.
1718
1719 * mh-init.el (mh-variant-set): Don't probe for MH variant when
1720 mh-variant is set to'none (during byte-compilation).
1721
17222003-08-19 Peter S Galbraith <psg@debian.org>
1723
1724 * mh-pick.el (mh-pick-single-dash): New defconst. Search
1725 components that are supported by single-dash option in
1726 pick.
1727 (mh-pick-regexp-builder): Use `mh-pick-single-dash' and adapt
1728 patch from Sergey Poznyakoff.
1729
1730 * mh-comp.el (mh-reply): mu-mh supports `repl -group', thanks to
1731 Sergey Poznyakof.
1732
1733 * mh-init.el: checkdoc fixes.
1734
17352003-08-19 Bill Wohler <wohler@newt.com>
1736
1737 * mh-seq.el: (mh-edit-pick-expr): Renamed from mh-read-pick-regexp
1738 since the new name is more indicative of what the function does.
1739 Prompt now says "Pick expression" instead of "Pick regexp".
1740 (mh-narrow-to-subject): Rewrote function to behave like other
1741 similar functions.
1742 (mh-narrow-to-header-field, mh-narrow-to-range)
1743 (mh-narrow-to-tick): s/regexp/pick-expr/.
1744 (mh-widen, mh-narrow-to-from, mh-narrow-to-cc, mh-narrow-to-to):
1745 Synced docstrings with manual
1746
17472003-08-19 Bill Wohler <wohler@newt.com>
1748
e495eaec 1749 Released MH-E version 7.4.2.
f0d73c14
BW
1750
1751 * MH-E-NEWS, README: Updated for release 7.4.2.
1752
1753 * mh-e.el (Version, mh-version): Updated for release 7.4.2.
1754
1755 * mh-e.el (mh-folder-size, mh-folder-size-folder)
1756 (mh-folder-size-flist): If flist is not present use folder to find
1757 the number of messages in the folder. Also the .mh_sequences file
1758 is read to find the number of unseen messages (patch from 1.349
1759 and branched for 7.4.2, closes SF #791021).
1760
1761 * mh-utils.el (mh-flists-present-flag, mh-find-progs): Introduce a
1762 new variable to test for the presence of the flists program and
1763 set it in mh-find-progs.
1764 (mh-collect-folder-names): Use folders instead of flists. One
1765 advantage is that folders is available on MH while flists is not.
1766 Another is that if an explicit -sequence argument isn't given and
1767 Unseen-Sequence profile is not present then flists croaks while
1768 folders doesn't.
1769 (mh-collect-folder-names-filter): Don't consider folder names that
1770 start with a `.' character. This is needed since the folders
1771 command doesn't filter them out like flists does.
1772 (patches from 1.307 and 1.309 and branched for 7.4.2, closes SF
1773 #791021).
1774
17752003-08-18 Bill Wohler <wohler@newt.com>
1776
1777 * mh-index.el (mh-index-sequenced-messages)
1778 (mh-index-new-messages, mh-index-ticked-messages): Updated
1779 docstrings from manual (closes SF #718833).
1780
1781 * mh-customize.el (mh-variant): Checkdoc fix.
1782 (mh-index-new-messages-folders): Don't mention defvar in
1783 docstring, use `+inbox' instead.
1784 (mh-index-ticked-messages-folders): Don't mention defvar in
1785 docstring, use `tick' instead.
1786
1787 * mh-comp.el (mh-repl-group-formfile): Checkdoc fix.
1788
17892003-08-18 Peter S Galbraith <psg@debian.org>
1790
1791 * mh-init.el (mh-variant-set, mh-sys-path, mh-variant-info): Add
1792 support for GNU mailutils.
1793 (mh-variant-mu-mh-info): New function to detect mu-mh and return
1794 info about it for `mh-variants'.
1795
1796 * mh-e.el (mh-regenerate-headers): mu-mh has different error
1797 message for a invalid mesage list.
1798
17992003-08-18 Peter S Galbraith <psg@debian.org>
1800
1801 * mh-customize.el (mh-e): New defgroup. Sort of an alias for the
1802 'mh group that a user might be more likely to find.
1803
18042003-08-18 Bill Wohler <wohler@newt.com>
1805
1806 * mh-comp.el (mh-insert-auto-fields-done-local): Docstring tweak.
1807 (mh-compose-and-send-mail): Do not call mh-insert-auto-fields.
1808 This should be done only once in mh-send-letter.
1809
18102003-08-18 Peter S Galbraith <psg@debian.org>
1811
1812 * mh-comp.el (mh-letter-mode): Call `mh-find-path unconditionally,
1813 like elsewehere in MH-E.
1814
1815 * mh-utils.el (mh-find-path): Run setup code only if
1816 `mh-find-path-run' is nil such that this is only done once.
1817 Also remove the `setq' for `read-mail-command' and `mail-user-agent'.
e9be14aa 1818
f0d73c14
BW
18192003-08-18 Peter S Galbraith <psg@debian.org>
1820
1821 * mh-e.el: require 'mh-utils first
1822
1823 * mh-customize.el (mh-variant): defcustom moved here.
1824
1825 * mh-init.el (mh-variants): Made an mh-autoload.
1826
18272003-08-18 Peter S Galbraith <psg@debian.org>
1828
1829 * Makefile (MH-E-SRC): Added mh-init.el to MH-E-SRC.
1830
1831 * mh-utils.el (mh-find-progs): Deleted. Make obsolete by mh-init.el.
1832 (mh-find-path): Call `mh-variants' instead of now obsolete
1833 `mh-find-progs'.
1834 (mh-path-search): Deleted. Was only used by `mh-find-progs'.
1835
1836 * mh-e.el: require mh-init.el.
e9be14aa 1837 (mh-version): Use simpler `mh-variant-in-use'.
f0d73c14
BW
1838 (mh-scan-format): Use (mh-variant-p 'nmh) instead of mh-nmh-flag.
1839
1840 * mh-comp.el (mh-insert-x-mailer): Use simpler `mh-variant-in-use'.
1841
e9be14aa 1842 * mh-utils.el (mh-progs, mh-lib, mh-lib-progs)
f0d73c14
BW
1843 (mh-flists-present-flag): Moved to mh-init.el.
1844 (mh-nmh-flag): Deleted. Use (mh-variant-p 'nmh) instead.
1845
e9be14aa 1846 * mh-comp.el (mh-repl-group-formfile, mh-forward, mh-reply)
f0d73c14
BW
1847 (mh-send-letter): Use (mh-variant-p 'nmh) instead of mh-nmh-flag.
1848
1849 * mh-mime.el (mh-edit-mhn, mh-mime-save-parts): Use (mh-variant-p
1850 'nmh) instead of mh-nmh-flag.
1851
18522003-08-16 Bill Wohler <wohler@newt.com>
1853
1854 * mh-customize.el (mh-folder-selection): New group to hold
1855 variables described in Folder Selection section in manual.
1856 (mh-default-folder-list, mh-default-folder-must-exist-flag,
1857 mh-default-folder-prefix): Moved to mh-folder-selection group.
1858 Updated docstrings per manual update.
1859 (mh-default-folder-for-message-function): New defcustom. Was a
1860 defvar in mh-utils.el. Updated docstring per manual update.
1861
1862 * mh-utils.el (mh-default-folder-for-message-function): Moved to
1863 mh-customize.el.
1864
1865 * mh-e.el (mh-folder-from-address, mh-prompt-for-refile-folder):
1866 Updated docstrings per manual update.
1867
1868 * mh-unit.el (mh-unit-files): Added mh-init.el.
1869
18702003-08-16 Peter S Galbraith <psg@debian.org>
1871
1872 * mh-init.el: New file. Code to initialize the MH-E back-end.
1873 Highlights:
1874 (mh-variant): New defcustom. Users may customize `mh-variant' to
1875 switch between available variants.
1876 (mh-variants): Available MH variants are described in this variable.
1877 (mh-variant-in-use, mh-variant-p): Developers may check which
1878 variant is currently in use with the variable `mh-variant-in-use'
1879 or the function `mh-variant-p'.
e9be14aa 1880
f0d73c14
BW
18812003-08-15 Bill Wohler <wohler@newt.com>
1882
1883 * mh-customize.el (mh-auto-fields-list): The manual uses Fcc
1884 instead of fcc, so I've changed the user-visible text
1885 accordingly. I've left the const alone for backwards
1886 compatibility.
1887
18882003-08-14 Bill Wohler <wohler@newt.com>
1889
1890 * mh-identity.el (mh-insert-identity): Changed signature deletion
1891 test to test for both markers, rather than testing to see if the
1892 start marker is bound. Since the start marker is defined in this
1893 file, it should always be bound. Suggestion by Satyaki.
1894
1895 * mh-comp.el (mh-send-letter): Go to the top of the draft so that
1896 the user can see which header fields have been inserted. I think
1897 this is more important than leaving point alone or going to the
1898 end to see the signature since Mail-Followup-To or Bcc or cc could
1899 have some deleterious effects.
1900
1901 * mh-customize.el (mh-auto-fields-prompt-flag): New variable.
1902 Non-nil means to prompt before sending if fields inserted.
1903
1904 * mh-comp.el (mh-insert-auto-fields): Now return t if fields
1905 inserted; otherwise nil.
1906 (mh-send-letter): Deleted obsolete documentation about adding
1907 X-Mailer and X-Face. Prompt before sending if auto fields added
1908 and mh-auto-fields-prompt-flag is t.
1909
1910 * mh-customize.el (mh-identity-list): Allow signature to come from
1911 mh-signature-file-name. In this case, the "signature" value is set
1912 to nil. This might not be the best implementation. Suggestions
1913 welcome.
1914
1915 * mh-identity.el (mh-insert-identity): Now that the signature can
1916 be a nil value, moved test higher up in cond so that the test for
1917 a nil value would not be executed first prevening signature
1918 handling. Handle nil signature value by calling
1919 mh-insert-signature with no arguments which means to use
1920 mh-signature-file-name.
1921
1922 * mh-comp.el (mh-insert-signature): Changed text of message if no
1923 signature inserted.
1924
1925 * mh-customize.el (mh-identity-list): Changed "Signature" constant
1926 back to "signature" so it *won't* be backwards-incompatible any
1927 more. I discovered one could use the :tag keyword to get headline
1928 captalization in the menu.
1929
1930 * mh-identity.el (mh-insert-identity): Ditto.
1931
1932 * mh-identity.el (mh-identity-make-menu): Always build menu.
1933 Always create Insert Auto Fields menu item. Just don't enable it
1934 if mh-auto-fields-list is nil. Enable radio buttons always. Make
1935 None a radio button choice with the other identities.
1936
1937 * mh-comp.el (mh-letter-menu): Removed cond on fboundp
1938 'easy-menu-define. We don't do this elsewhere.
1939
19402003-08-13 Bill Wohler <wohler@newt.com>
1941
1942 * mh-identity.el (mh-identity-make-menu, mh-insert-identity): Use
1943 headline capitalization in menu items. Even the internal names are
1944 exposed in the customize interface, so they need to be uppercase
1945 too.
1946 (mh-insert-identity): Rather than goto-char to
1947 mh-identity-signature-start before deleting, simply pass it to
1948 delete-region. When setting markers, use point-min-marker and
1949 point-max-marker instead of moving point. Set marker type of
1950 mh-identity-signature-start to t to fix a bug where changing
1951 identity deleted user's text.
1952
1953 * mh-customize.el (mh-identity-list, mh-auto-fields-list):
1954 Reworked docstring. Use headline capitalization. Commented out
1955 implementation details for later deletion or resurrection upon
1956 popular demand. N.B. If your mh-identity-list contains "signature"
1957 then you will need to either edit your .emacs file manually, or
1958 delete your existing "signature" which will become a regular field
1959 with this change and create a new signature. I figured I could get
1960 away with this since 8.0 is a major release, and coinciding with
1961 the manual update will be a MAJOR release. I apologize profusely
1962 that I didn't catch this before it was released.
1963 (mh-identity-default): Use headline capitalization in example.
1964
19652003-08-12 Jeffrey C Honig <jch@honig.net>
1966
1967 * mh-customize.el (mh-alias-reloaded-hook): Define
1968 `mh-alias-reloaded-hook'.
1969
1970 * mh-alias.el (mh-alias-reload): Run `mh-alias-reloaded-hook'
1971 after reloading the aliases.
1972
19732003-08-12 Mark D. Baushke <mdb@gnu.org>
1974
1975 * mh-comp.el (mh-insert-signature): Use functionp to avoid
1976 the possibility of doing a funcall on a void function.
1977
19782003-08-12 Bill Wohler <wohler@newt.com>
1979
1980 * mh-customize.el (mh-identity): Point group manual link to new
1981 Identities section.
1982 (mh-signature-separator-flag): New variable which can be used to
1983 suppress the output of the signature separator.
1984
1985 * mh-comp.el (mh-insert-signature): Use
1986 mh-signature-separator-flag.
1987
1988 * mh-identity.el (mh-insert-identity): If the identity's signature
1989 file didn't exist, an fboundp error was thrown. This was fixed by
1990 removing signature tests that were redundant and out of date with
1991 the tests in mh-insert-signature. Removed second signature
1992 condition as it is now handled in the first signature condition.
1993
19942003-08-12 Peter S Galbraith <psg@debian.org>
1995
1996 * mh-identity.el (mh-insert-identity): Don't insert new lines on
1997 signatures anymore.
1998
1999 * mh-comp.el (mh-insert-signature): Make sure signature file is
2000 readable before trying to insert it.
2001
20022003-08-11 Bill Wohler <wohler@newt.com>
2003
2004 * mh-comp.el (mh-insert-signature): Unconditionally insert a
2005 newline so that signatures are inserted consistently, and so that
2006 there isn't any text after the cursor so that the user can start
2007 typing his message immediately. Use new variable and function
2008 mh-signature-separator and mh-signature-separator-p.
2009
2010 * mh-customize.el (mh-delete-yanked-msg-window-flag): Checkdoc
2011 fix.
2012 (mh-signature-file-name): Updated docstring now that this variable
2013 can be a function. Added cross-references to
2014 mh-signature-separator, mh-signature-separator-regexp, and
2015 mh-signature-separator-p which might be used in such functions.
2016
2017 * mh-identity.el (mh-insert-identity): Don't include signature if
2018 signature separator already present. Useful when running
2019 mh-edit-again.
2020
2021 * mh-mime.el (mh-inline-vcard-p): Use mh-signature-separator-p.
2022
2023 * mh-utils.el (mh-signature-separator-regexp): New variable
2024 containing "^-- $" which should be used when looking for the
2025 signature separator.
2026 (mh-signature-separator): New variable containing "-- \n" which
2027 should be used when inserting the signature separator.
2028 (mh-signature-separator-p): New function that returns non-nil if
2029 mh-signature-separator-regexp is found in the buffer.
2030
20312003-08-09 Satyaki Das <satyakid@stanford.edu>
2032
2033 * mh-utils.el (mh-x-image-scaling-function): Variable that
2034 contains function used to scale images. Possible choices are
2035 mh-x-image-scale-with-convert and mh-x-image-scale-with-pnm.
2036 (mh-convert-executable): Removed.
2037 (mh-x-image-scale-with-pnm, mh-x-image-scale-with-convert): New
2038 functions that scale images using pnm tools or ImageMagick.
2039 (mh-x-image-scale-and-display, mh-x-image-url-display): Use
2040 mh-x-image-scaling-function instead of mh-convert-executable.
2041
20422003-08-08 Peter S Galbraith <psg@debian.org>
2043
2044 * mh-comp.el (mh-insert-signature): Bug fix. Handle case of nil
2045 `mh-signature-file-name' and hooks correctly.
2046
2047 * mh-identity.el (mh-insert-identity): Refactor to use
2048 mh-insert-signature
e9be14aa 2049
f0d73c14
BW
2050 * mh-comp.el (mh-signature-separator-p): Removed.
2051
2052 * mh-comp.el (mh-insert-signature): Merge MIME awareness from
2053 mh-insert-identity into this command. Allow
2054 `mh-signature-file-name' to be a function to call. See if "-- "
2055 needs to be inserted only after hooks have run.
2056
20572003-08-07 Bill Wohler <wohler@newt.com>
2058
2059 * mh-customize.el (mh-compose-skipped-header-fields): Added
2060 X-Image-URL.
2061 (mh-autoload): Removed cookies. They aren't necessary in
2062 mh-e.el, mh-utils.el, or mh-customize.el.
2063
2064 * mh-e.el (mh-autoload): Removed cookies. They aren't necessary in
2065 mh-e.el, mh-utils.el, or mh-customize.el.
2066
2067 * mh-identity.el (mh-insert-identity): Made regexp for signature
2068 separator more explicit. Hmmm, maybe we should create
2069 mh-signature-separator-regexp...
2070
2071 * mh-index.el (mh-replace-string): Moved to mh-utils.el.
2072
2073 * mh-utils.el (mh-replace-string): Moved here from mh-index.el.
2074 (mh-autoload): Removed cookies. They aren't necessary in mh-e.el,
2075 mh-utils.el, or mh-customize.el.
2076
2077 * mh-comp.el (mh-insert-signature): Added file argument to insert
2078 a file other than mh-signature-file-name. Insert signature
2079 separator, unless file already contains one.
2080
20812003-08-06 Satyaki Das <satyakid@stanford.edu>
2082
2083 * mh-e.el (mh-folder-size, mh-folder-size-folder)
2084 (mh-folder-size-flist): If flist is not present use folder to
2085 find the number of messages in the folder. Also the .mh_sequences
2086 file is read to find the number of unseen messages.
2087
2088 * mh-utils.el (mh-flists-present-flag, mh-find-progs): Introduce
2089 a new variable to test for the presence of the flists program and
2090 set it in mh-find-progs.
2091
20922003-08-06 Peter S Galbraith <psg@debian.org>
2093
2094 * mh-customize.el: Change the order of `mh-identity-list' and
2095 `mh-auto-fields-list' and remove byte-compilation defvar for
2096 `mh-identity-list'. This fixes a customization bug for
2097 `mh-identity-list', where it wasn't set correctly.
2098
2099 * mh-identity.el (mh-identity-make-menu): mh-auto-fields-list may
2100 not be bound yet when initially loaded.
2101
21022003-08-06 Bill Wohler <wohler@newt.com>
2103
2104 * mh-alias.el (mh-alias-add-address-under-point): Removed trailing
2105 period from messages. The conventions say that errors should not
2106 end with a period and that "Foo...done" messages should not end in
2107 a period, but they aren't explicit about messages in general.
2108 Given what the conventions *do* say, and because most of our
2109 messages don't end with a period, let's just say that messages in
2110 general don't end in a period, just like error messages.
2111
2112 * mh-comp.el (mh-extract-rejected-mail, mh-letter-mode-message):
2113 Ditto.
2114
2115 * mh-e.el (mh-refile-a-msg): Ditto.
2116
2117 * mh-funcs.el (mh-undo-folder): Ditto.
2118
2119 * mh-mime.el (mh-mime-save-parts): Ditto.
e9be14aa
KS
2120
2121 * mh-seq.el (mh-subject-to-sequence-unthreaded)
f0d73c14
BW
2122 (mh-narrow-to-subject, mh-delete-subject): Ditto.
2123
2124 * mh-index.el (mh-index-sequenced-messages)
2125 (mh-index-new-messages, mh-index-ticked-messages): Discovered that
2126 in general we should only use question marks in yes-or-no-p or
2127 y-or-n-p prompts, but not in other prompts that use
2128 completing-read and offer defaults. In these cases, use colons
2129 instead (closes SF #730470).
2130
2131 * mh-mime.el (mh-mime-save-parts): Ditto.
2132
2133 * mh-utils.el (mh-prompt-for-folder): Ditto.
2134
2135 * mh-alias.el (mh-alias-apropos): Multiple messages are usually
2136 shown one at a time rather than appended. Send output to
2137 mh-aliases-buffer instead of *Help*.
2138 (mh-alias-local-users): Checkdoc fix.
2139
2140 * mh-funcs.el (mh-undo-folder): Removed commented-out code since
2141 its deadline had expired.
2142
2143 * mh-utils.el (mh-aliases-buffer): New buffer name, used in
2144 mh-aliases.el.
2145
21462003-08-06 Satyaki Das <satyakid@stanford.edu>
2147
2148 * mh-utils.el (mh-x-image-url-cache-canonicalize): Make this
2149 function work for XEmacs too.
2150 (mh-collect-folder-names): Use folders instead of flists. One
2151 advantage is that folders is available on MH while flists is not.
2152 Another is that if an explicit -sequence argument isn't given and
2153 Unseen-Sequence profile is not present then flists croaks while
2154 folders doesn't.
2155 (mh-collect-folder-names-filter): Don't consider folder names that
2156 start with a `.' character. This is needed since the folders
2157 command doesn't filter them out like flists does.
2158
2159 * mh-index.el (mh-replace-string): Add autoload for it.
2160
21612003-08-05 Satyaki Das <satyakid@stanford.edu>
2162
2163 * mh-mime.el (mh-compose-forward, mh-mhn-compose-forw)
2164 (mh-mml-forward-message): The variable mh-sent-from-msg can be a
2165 list. So check that the value is really a number before using it
2166 like one.
2167
2168 * mh-comp.el (mh-insert-letter): Same as above.
2169
2170 * mh-utils.el (mh-picon-get-image): Make the code that finds the
2171 address of the sender more robust.
2172 (mh-face-display-function): Make it work with XEmacs.
2173 (mh-picon-image-types): A new variable that stores what image
2174 types can be used.
2175
21762003-08-05 Satyaki Das <satyakid@stanford.edu>
2177
2178 * mh-customize.el (mh-tool-bar-define): Make the save button such
2179 that is activated only if the buffer needs to saved.
2180
2181 * mh-utils.el (mh-face-display-function, mh-picon-get-image): Some
2182 domains, for instance cs.cmu.edu, don't have xpm files. So we need
2183 to search for all three files. The change does that.
2184 (mh-picon-file-contents): A utility function to return the
2185 contents of a file as a string.
2186 (mh-picon-get-image): Write it as a loop to make it simpler.
2187 (mh-x-image-set-download-state): Make the link simpler.
2188
21892003-08-04 Satyaki Das <satyakid@stanford.edu>
2190
2191 * mh-utils.el (mh-x-image-url-display): Don't bother to try to
2192 download image if we don't have the necessary tools to display
2193 it.
2194 (mh-face-display-function): Add preliminary support for "domain"
2195 picons.
2196 (mh-picon-get-image, mh-picon-generate-path): Functions to find
2197 best match for domain in the From header field.
2198
2199 * mh-e.el (mh-previous-unread-msg): If some of the messages in the
2200 unseen sequence are not present in the folder buffer then calling
2201 this function gets stuck and can't skip over them. The change
2202 fixes this.
2203 (mh-next-unread-msg): Same as above.
2204
22052003-08-04 Bill Wohler <wohler@newt.com>
2206
2207 * mh-utils.el (mh-show-mode): Added cross reference to
2208 mh-folder-mode in docstring (closes SF #728638). Added
2209 \\{mh-show-mode-map} to show keymap.
2210
2211 * mh-e.el (mh-folder-mode): Added information about ranges to
2212 docstring (closes SF #728638).
2213
2214 * mh-speed.el (mh-speed-refresh): New function that calls
2215 mh-speed-flists and mh-invalidate-map.
2216 (mh-folder-speedbar-key-map): Replaced keybindings for
2217 mh-speed-invalidate-map and mh-speed-flists with a single binding
2218 for mh-speed-refresh.
2219 (mh-folder-speedbar-menu-items): Replaced menu items for Run
2220 Flists and Invalidate Cached Folders with the single menu item
2221 Refresh Speedbar in order to simplify the UI.
2222
2223 * mh-customize.el (mh-fetch-x-image-url): Added DOS as another
2224 reason not to set this to t.
2225
22262003-08-04 Satyaki Das <satyakid@stanford.edu>
2227
2228 * mh-e.el (mh-scan-folder): Handle ranges from user input properly.
2229
22302003-08-03 Satyaki Das <satyakid@stanford.edu>
2231
2232 * mh-utils.el (mh-find-msg-get-num): Removed. If threading isn't
2233 present, the messages are sorted by index. So `mh-goto-msg' was
2234 implemented as a binary search and this function was used in that
2235 implementation. So this isn't needed any more.
2236 (mh-msg-search-pat): Removed. Before the advent of message
2237 threading, this function was used to generate a regexp used to
2238 search for a particular message. It isn't used anymore. The
2239 variable `mh-scan-msg-number-regexp' should be updated and used in
2240 `mh-goto-msg' instead of hardcoding the regexp in the code. Then
2241 we might be able to better support other scan line formats in the
2242 future.
2243
2244 * mh-seq.el (mh-map-to-seq-msgs, mh-notate-seq): Removed. These
2245 functions were used to notate user sequences. But calling
2246 `mh-goto-msg' inside of a loop is inefficient. So the sequence
2247 notation code was rewritten thereby making these functions
2248 redundant.
2249 (mh-copy-line-to-point): Removed. This function was used in the
2250 implementation the now removed function `mh-copy-seq-to-point'.
2251 That function was problematic and was replaced by the less general
2252 `mh-copy-seq-to-eob'. This makes `mh-copy-line-to-point'
2253 redundant.
2254 (mh-region-to-msg-list): Removed since this is a special case of
2255 the more general `mh-range-to-msg-list'.
2256
2257 * mh-loaddefs.el: Regenerated.
2258
22592003-08-03 Jeffrey C Honig <jch@honig.net>
2260
2261 * mh-customize.el (mh-invisible-header-fields-default): Added
2262 several new fields to hide. Sorted the list with sort-lines.
2263
22642003-08-03 Peter S Galbraith <psg@debian.org>
2265
2266 * mh-customize.el (mh-invisible-headers): Variable renamed to
2267 `mh-invisible-header-fields-compiled'.
2268 (mh-invisible-headers): Implement above change.
2269
2270 * mh-utils.el (mh-display-msg): Idem.
2271
2272 * mh-mime.el (mh-mm-inline-message): Idem.
2273
2274 * mh-comp.el (mh-insert-letter): Idem.
2275
22762003-08-03 Bill Wohler <wohler@newt.com>
2277
2278 * mh-speed.el (mh-folder-speedbar-menu-items): Added separator
2279 between standard and MH-E menu items. Use headline capitalization
2280 in menu items.
2281
2282 * mh-utils.el (mh-temp-fetch-buffer): New constant to hold
2283 buffer name for wget output.
2284 (mh-x-image-url-fetch-image): Use mh-temp-fetch-buffer instead
2285 of hard-coded buffer name. Use make-temp-file to avoid race
2286 conditions and subsequent security issues raised in make-temp-name
2287 docstring.
2288
22892003-08-03 Satyaki Das <satyakid@stanford.edu>
2290
2291 * mh-utils.el (mh-wget-executable, mh-wget-choice, mh-wget-option)
2292 (mh-x-image-url-fetch-image): Support the use of `curl' and
2293 `fetch' as alternatives to `wget'.
2294 (mh-wget-choice): Change order of search.
2295 (mh-x-image-url-fetch-image): Rename buffer.
2296
22972003-08-03 Satyaki Das <satyakid@stanford.edu>
2298
2299 * mh-utils.el (mh-x-image-set-download-state)
2300 (mh-x-image-get-download-state): Specially named symbolic links
2301 are used to keep track of whether a X-Image-URL header field needs
2302 to downloaded the next time it is seen. These functions get and
2303 set the symlinks appropriately.
2304 (mh-x-image-url-fetch-image): Simplified since the query has been
2305 moved to `mh-x-image-url-display'. Also if wget isn't present then
2306 try again next time since the user might install wget before
2307 trying once more.
2308 (mh-x-image-scale-and-display): Handle absence of the `convert'
2309 program better. If it isn't present then we will try to display
2310 the image the next time it is encountered. Also use the -geometry
2311 option to convert since the -resize option isn't present in older
2312 versions.
2313 (mh-x-image-url-display): Move all the code that decides whether
2314 an X-Image-URL header field will be fetched in this function. Also
2315 remember the user's decision so that if the image couldn't be
2316 fetched the first time, we will try to fetch it later on without
2317 asking again.
2318
23192003-08-02 Peter S Galbraith <psg@debian.org>
2320
2321 * mh-alias.el (mh-alias-local-users): Exclude all aliases already
2322 in mh-alias-alist from `ali' (closes SF #772595).
2323
23242003-08-01 Satyaki Das <satyakid@stanford.edu>
2325
2326 * mh-utils.el (mh-x-image-display, mh-x-image-url-display): Avoid
2327 a race. The X-Image-URL is displayed asynchronously. Suppose a
2328 message with a image is shown with `mh-show'. If a different
2329 message is displayed before the image can be fetched, then the new
2330 message will have the image displayed. With this change the race
2331 is less likely to happen.
2332
23332003-08-01 Peter S Galbraith <psg@debian.org>
2334
2335 * mh-inc.el (mh-inc-spool-map): Fix what `mh-inc-spool-map-help'
2336 must look like as a fake `mh-help-messages' in order to work
2337 correctly in mh-help.
2338
23392003-07-31 Bill Wohler <wohler@newt.com>
2340
2341 * mh-inc.el (mh-inc-spool-map): Use mh-help instead of
2342 mh-ephem-message in order to display help in its own buffer
2343 instead of minibuffer.
2344
2345 * mh-utils.el (mh-help-buffer): New variable to hold the name of
2346 the MH-E help buffer name.
2347
2348 * mh-funcs.el (mh-help, mh-prefix-help): Use with-electric-help to
2349 display help messages. I observed a friend with a vision
2350 disability and the 5 seconds the help appeared on the screen was
2351 not long enough for him to lock on it. I've therefore changed the
2352 help function to display the help in its own buffer called *MH-E
2353 Help* (closes SF #493740 and SF #656631).
2354
2355 * mh-customize.el (mh-fetch-x-image-url): Changed default from nil
2356 to 'ask. Updated docstring from manual.
2357 (mh-invisible-header-fields-internal): Added X-Image-URL.
2358 (mh-show-use-xface-flag): Updated docstring from manual.
2359 (mh-x-face-file): Ditto.
2360
2361 * mh-mime.el (mh-mhn-compose-external-type): Don't insert the
2362 directory parameter if it's nil. The mhbuild man page indicates
2363 that this parameter is optional, so this should be fine.
2364
2365 * mh-comp.el (mh-letter-mode-map): Added keybindings for
2366 mh-mhn-compose-anon-ftp and
2367 mh-mhn-compose-external-compressed-tar.
2368 (mh-letter-menu): Uncommented menu items for same.
2369
23702003-07-30 Satyaki Das <satyakid@stanford.edu>
2371
2372 * mh-loaddefs.el: Regenerated.
2373
2374 * mh-pick.el (mh-do-pick-search): Removed since the function
2375 `mh-pick-do-search' performs the same action as this function.
2376
2377 * mh-index.el (mh-index-update-unseen): Removed since the
2378 generalized sequence synchronization code that keeps sequences in
2379 index folders in sync with the sequences in the source folders
2380 makes this function redundant.
2381
2382 * mh-e.el (mh-folder-unseen-seq-name, mh-folder-unseen-seq-list):
2383 Removed. These two functions were used in the unseen sequence
2384 highlighting before the sequence highlighting code was
2385 generalized. In any event calls to the function
2386 `mh-folder-unseen-seq-name' can be replaced by the variable
2387 `mh-unseen-seq' and calls to `mh-folder-unseen-seq-list' can be
2388 replaced with (cdr (assoc mh-unseen-seq mh-seq-list)).
2389 (mh-unmark-all-headers): Removed since this function has been
2390 superseded by mh-remove-all-notation.
2391 (mh-map-over-seqs): Removed since we now have the generalized
2392 iteration over message ranges (the `mh-iterate-on-range' macro)
2393 that can be used instead.
2394 (mh-notate-if-in-one-seq): Removed. This function was used for
2395 changing the `%' notation for user sequences. It can't be used for
2396 that purpose any more, since we have a different scheme now.
2397
2398 * mh-unit.el (mh-unit-tests): Removed since it isn't needed any
2399 more.
2400 (mh-unit): Run all function that start with the string
2401 "mh-unit-test-".
2402
24032003-07-30 Bill Wohler <wohler@newt.com>
2404
2405 * mh-customize.el (mh-invisible-header-fields): Checkdoc fix.
2406
2407 * mh-utils.el (mh-x-image-url-cache-canonicalize): Shortened using
2408 example in files.el:make-backup-file-name-1.
2409 (mh-face-display-function): Added X-Image-URL to docstring.
2410
2411 * mh-unit.el (mh-unit-x-image-url-cache-canonicalize): New
2412 function to test mh-x-image-url-cache-canonicalize since it lent
2413 itself well to unit testing. Had to start somewhere!
2414 (mh-unit-equal): New function that throws an error if RESULT
2415 doesn't equal EXPECTED.
2416 (mh-unit): Call mh-unit-x-image-url-cache-canonicalize.
e9be14aa 2417
f0d73c14
BW
24182003-07-29 Satyaki Das <satyakid@stanford.edu>
2419
2420 * mh-unit.el (mh-unit-update-call-graph): Make the function work
2421 better with dotted lists, that is lists of the form (a b c . d)
2422 where `d' isn't nil. With this we are able to avoid marking some
2423 functions as unused even though they are actually used in alists.
2424
24252003-07-28 Peter S Galbraith <psg@debian.org>
2426
2427 * mh-comp.el (mh-insert-letter): Remove `mh-visible-headers'
2428 operation.
2429
2430 * mh-mime.el (mh-mm-inline-message): Same.
2431
2432 * mh-utils.el (mh-display-msg): Same.
2433 (mh-clean-msg-header): Make a note of above change.
2434
2435 * mh-customize.el (mh-invisible-header-fields-internal): Renamed
2436 from prior `mh-invisible-header-fields-default'.
2437 (mh-invisible-header-fields-default): Renamed from prior
2438 `mh-invisible-header-fields-default-override'.
2439 (mh-invisible-header-fields): Renamed from prior
2440 `mh-invisible-header-fields-user'.
2441 (mh-visible-headers): Removed! We use invisible fields only now.
2442 (mh-visible-header-fields): Removed!
2443
24442003-07-28 Peter S Galbraith <psg@debian.org>
2445
2446 * mh-customize.el (mh-invisible-header-fields-default): Added 3
2447 new fields to hide.
2448
24492003-07-28 Satyaki Das <satyakid@stanford.edu>
2450
2451 * mh-utils.el (mh-show): Add an extra argument to the function so
2452 that interactive use will always force redisplay of the message.
2453
2454 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Bind the
2455 variables `mm-verify-option' and `mm-decrypt-option' so that
2456 verification and decryption of mail can happen without any
2457 additional tinkering.
2458
24592003-07-25 Peter S Galbraith <psg@debian.org>
2460
2461 * mh-customize.el (mh-invisible-header-fields-default): New defvar
2462 holding default fields to hide. This replaces the old
2463 `mh-invisible-header-fields' defcustom.
2464 (mh-invisible-header-fields-user): New defcustom. Users add
2465 fields to suppress that we didn't include in
2466 `mh-invisible-header-fields-default'. This could be named simply
2467 `mh-invisible-header-fields' and it wouldn't really break anything
2468 for users who have customized it to a long list now redundant with
2469 `mh-invisible-header-fields-default'.
2470 (mh-invisible-header-fields-default-override): New defcustom.
2471 Users check off the fields they want displyed from what we
2472 included in `mh-invisible-header-fields-default'.
2473 (mh-invisible-headers): Function adapted to new variables.
2474
24752003-07-25 Satyaki Das <satyakid@stanford.edu>
2476
2477 * mh-e.el (mh-inc-folder): If the user is in a different folder
2478 displaying a message and runs mh-inc-folder, then the folder
2479 changes to +inbox but the show window continues to display the
2480 message in the old folder. The change fixes this.
2481 (mh-visit-folder): Make the handling of the show window similar to
2482 that of mh-inc-folder.
2483
24842003-07-24 Satyaki Das <satyakid@stanford.edu>
2485
2486 * mh-e.el (mh-folder-message-menu, mh-folder-folder-menu): Use the
2487 predicate mh-outstanding-commands-p instead of its exapansion.
2488 Also use the same label in both menus.
2489 (mh-outstanding-commands-p): Generalized so that it will work in
2490 mh-show-mode buffers as well.
2491
2492 * mh-customize.el (mh-tool-bar-define): Enable tool-bar button for
2493 mh-execute-commands only if there are pending deletes or refiles.
2494
24952003-07-19 Satyaki Das <satyakid@stanford.edu>
2496
2497 * mh-utils.el (mh-show-msg): If a unseen message is first marked
2498 for deletion/refiling and then displayed, the bold highlighting
2499 does not go away. This change fixes that.
2500
2501 * mh-seq.el (mh-msg-is-in-seq): Fix a bug in the function. If any
2502 message was marked for refiling, then the function would have you
2503 believe that every message in the folder is being refiled.
2504
25052003-07-17 Bill Wohler <wohler@newt.com>
2506
2507 * mh-e.el: Removed email address for Stephen Gildea's in Change
2508 Log at his request (damn spammers). Removed other email addresses
2509 while I was at it since the SourceForge URL should be sufficient
2510 contact information.
2511
2512 (mh-scan-format-*mh): Fixed typo in comment above these variables.
2513 These variables are used if mh-scan-format-file is t, not nil.
2514 Also mh-scan-format-file is no longer "above" (courtesy Stephen
2515 Gildea).
2516
25172003-07-17 Satyaki Das <satyakid@stanford.edu>
2518
2519 * mh-mime.el (mh-mhn-quote-unescaped-sharp): New function that
2520 quotes `#' characters in the first column that aren't part of a
2521 MHN directive.
2522 (mh-mhn-directive-present-p): Generalized to allow the function
2523 to search for MHN directives in a part of the buffer.
2524 (mh-edit-mhn): Quote unescaped `#' characters in the draft (closes
2525 SF #762464).
2526
25272003-07-16 Satyaki Das <satyakid@stanford.edu>
2528
2529 * mh-alias.el (mh-alias-read-address-map): If
2530 mh-alias-flash-on-comma is nil when mh-alias is loaded, then
2531 setting mh-alias-flash-on-comma to t later on doesn't turn on
2532 address completion display till Emacs is restarted. The change
2533 fixes this.
2534
25352003-07-15 Bill Wohler <wohler@newt.com>
2536
2537 * mh-utils.el (mh-cmd-note): Cleaned up docstring (changed phrase
2538 to sentences). Moved to Scan Line Formats section.
2539 (mh-scan-msg-number-regexp)
2540 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2541 (mh-scan-msg-format-string, mh-scan-msg-search-regexp): Cleaned up
2542 docstrings (changed phrases to sentences).
2543 (mh-note-seq): Cleaned up docstring (changed phrase to sentences).
2544 Also, this variable is now a character and not a string. Moved to
2545 Scan Line Formats section.
2546
2547 * mh-funcs.el (mh-note-copied, mh-note-printed): Cleaned up
2548 docstrings (changed phrases to sentences). Also, these variables
2549 are now characters and not strings.
2550
2551 * mh-e.el (mh-scan-format-mh, mh-scan-format-nmh): Filled. I was
2552 hoping to quote the hint `t' but checkdoc wouldn't let me.
2553 (mh-note-deleted, mh-note-refiled, mh-note-cur): Moved to Scan
2554 Line Formats section.
e9be14aa
KS
2555 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2556 (mh-scan-refiled-msg-regexp, mh-scan-valid-regexp)
2557 (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
2558 (mh-scan-rcpt-regexp, mh-scan-body-regexp)
f0d73c14
BW
2559 (mh-scan-subject-regexp, mh-scan-format-regexp): Cleaned
2560 up docstrings (changed phrases to sentences).
2561 (mh-scan-cur-msg-regexp): Marked this variable as obsolete; it
2562 should be removed for 8.0.
2563
2564 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Cleaned
2565 up docstrings (changed phrases to sentences). Also, these
2566 variables are now characters and not strings.
2567
25682003-07-15 Satyaki Das <satyakid@stanford.edu>
2569
2570 * mh-index.el (mh-index-update-single-msg)
2571 (mh-index-create-sequences): Handle the situation where there are
2572 copies of the exact same message correctly.
2573
25742003-07-15 Satyaki Das <satyakid@stanford.edu>
2575
2576 * mh-seq.el (mh-thread-update-scan-line-map): Modified since
2577 notation is already a character.
2578
2579 * mh-utils.el (mh-note-seq): Convert from string to character.
2580 (mh-notate): Modified since characters are used to notate instead
2581 of strings of length one.
2582
2583 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Convert
2584 from string to characters.
2585
2586 * mh-e.el (mh-note-deleted, mh-note-refiled, mh-note-cur): Same as
2587 above (closes SF #770772).
2588 (mh-unmark-all-headers): Modified since mh-note-* variables are
2589 now characters.
2590 (mh-remove-sequence-notation): The mh-notate function remembers
2591 the previous notation. Before the change to the mh-note-*
2592 variables, mh-notate would only remember the change if a string
2593 was used to notate the message. Now mh-notate is always called
2594 with a character notation. So the deletion has to take place
2595 explicitly.
2596
25972003-06-28 Bill Wohler <wohler@newt.com>
2598
2599 * mh-mime.el (mh-mhn-directive-present-p): If shell comments are
2600 present that have a space after the # but no content, then this
2601 function would throw an error. This has been fixed (closes SF
2602 #762458).
2603
26042003-06-27 Satyaki Das <satyakid@stanford.edu>
2605
2606 * mh-index.el (mh-index-search): Use the new and improved
2607 mh-index-new-folder.
2608 (mh-index-new-folder): Improved so that redoing the same search
2609 will reuse the old index folder.
2610 (mh-index-folder-search-regexp): New function which that extracts
2611 out the search expression that produced the index folder.
2612
26132003-06-24 Bill Wohler <wohler@newt.com>
2614
2615 * mh-e.el (Version, mh-version): Set to 7.4.1+cvs.
a66894d8
BW
2616
26172003-06-25 Bill Wohler <wohler@newt.com>
2618
e495eaec 2619 Released MH-E version 7.4.1.
a66894d8
BW
2620
2621 * MH-E-NEWS, README: Updated for release 7.4.1.
2622
2623 * mh-e.el (Version, mh-version): Updated for release 7.4.1.
2624
26252003-06-25 Bill Wohler <wohler@newt.com>
2626
2627 * mh-unit.el (require 'cl): Added. Needed when compiling
2628 separately.
2629
2630 * Makefile (clean): Now a double-colon rule. Added a second clean
2631 target to remove mh-unit.elc.
2632 (compile): Removed mh-unit.elc.
2633 (mh-unit.elc): New target used to compile mh-unit.
2634
26352003-06-24 Bill Wohler <wohler@newt.com>
2636
2637 * mh-e.el (Version, mh-version): Set to 7.4+cvs.
2638
26392003-06-24 Bill Wohler <wohler@newt.com>
2640
e495eaec 2641 Released MH-E version 7.4.
a66894d8
BW
2642
2643 * MH-E-NEWS, README: Updated for release 7.4.
2644
2645 * mh-e.el (Version, mh-version): Updated for release 7.4.
2646
26472003-06-24 Bill Wohler <wohler@newt.com>
2648
2649 * mh-alias.el (mh-alias-gecos-name, mh-alias-local-users)
2650 (mh-alias-suggest-alias): s/gcos/gecos. The original acronym was
2651 GECOS but was later renamed to GCOS (see
2652 http://info.astrian.net/jargon/terms/g/GCOS.html). But the term
2653 really needs to match the field named pw_gecos in struct passwd in
2654 /usr/include/pwd.h
2655
2656 * mh-customize.el (mh-letter-faces): New group to house
2657 mh-letter-header-field-face.
2658 (mh-interpret-number-as-range-flag)
2659 (mh-kill-folder-suppress-prompt-hook): Use "you" instead of "the
2660 user" to make text more friendly.
2661 (mh-index-ticked-messages-folders, mh-visible-headers)
2662 (mh-visible-header-fields): Alphabetized.
2663 (mh-alias-passwd-gcos-comma-separator-flag): Alphabetized and
2664 s/gcos/gecos.
2665 (mh-alias-local-users-prefix): Fixed docstring. Prefixes are
2666 prepended, not appended. Additional checkdoc fix.
2667 (mh-letter-header-field-face): Set group to new group
2668 mh-letter-faces and moved option into this group.
2669
2670 * mh-index.el (mh-index-sequenced-messages): Improved wording of
2671 docstring and mentioned use of prefix argument.
2672
2673 * mh-seq.el (mh-widen): Made docstring more accurate (hopefully!).
2674
26752003-06-18 Satyaki Das <satyakid@stanford.edu>
2676
2677 * mh-index.el (mh-replace-string): Modified to preserve case of
2678 replacement text.
2679 (mh-index-parse-search-regexp): Preserve case of search terms.
2680 This is needed to take advantage of the acronym indexing in
2681 swish++ (closes SF #755718).
2682
26832003-06-13 Satyaki Das <satyakid@stanford.edu>
2684
2685 * mh-utils.el (mh-show-index-sequenced-messages): Interactive
2686 function callable from the show buffer.
2687 (mh-show-folder-map): Add key binding for "F q".
2688
2689 * mh-e.el (mh-folder-map): Same as above.
2690
2691 * mh-index.el (mh-index-sequenced-messages): Add interactive spec
2692 to the function (closes SF #718833).
2693
26942003-06-13 Bill Wohler <wohler@newt.com>
2695
2696 * mh-index.el (mh-flists-execute): Needed to expand mhpath too.
2697
26982003-06-12 Satyaki Das <satyakid@stanford.edu>
2699
2700 * mh-index.el (mh-flists-execute): Modified so that flists
2701 present in mh-progs is called.
2702
27032003-06-07 Jeffrey C Honig <jch@honig.net>
2704
2705 * mh-comp.el (mh-forward, mh-forward): Use (mh-mail-header-end) to
2706 find the end of headers instead of doing an re-search-forward
2707 based on mh-mail-header-separator.
2708
27092003-06-06 Satyaki Das <satyakid@stanford.edu>
2710
2711 * mh-comp.el (mh-letter-toggle-header-field-display): Make the
2712 function callable from the show buffer. This means that the
2713 buffer is temporarily made writable and the modification status
2714 of the buffer restored to the original value.
2715
27162003-06-06 Peter S Galbraith <psg@debian.org>
2717
2718 * mh-utils.el (mh-address-mail-regexp): Bug fix! It wasn't a true
2719 copy of the goto-addr variable. My modification only recognized
2720 addresses with one dot after the @. Sorry about that.
2721
27222003-06-05 Satyaki Das <satyakid@stanford.edu>
2723
2724 * mh-utils.el (mh-replace-in-string): Move comment into doc
2725 string to satisfy checkdoc.
2726
2727 * mh-alias.el (mh-alias-apropos): Checkdoc fix.
2728
27292003-06-05 Bill Wohler <wohler@newt.com>
2730
2731 * mh-customize.el (mh-identity-list): Fixed typo in docstring.
2732
27332003-06-05 Peter S Galbraith <psg@debian.org>
2734
2735 * mh-comp.el (mh-letter-complete-function-alist): Add bcc an reply-to.
2736
27372003-06-04 Peter S Galbraith <psg@debian.org>
2738
2739 * mh-comp.el (mh-letter-complete-function-alist): Add dcc.
2740
27412003-06-03 Peter S Galbraith <psg@debian.org>
2742
2743 * mh-utils.el (mh-replace-in-string): New function name instead of
2744 `dired-replace-in-string'.
2745 * mh-alias.el (mh-alias-gcos-name): Use it.
e9be14aa 2746
a66894d8
BW
2747 * mh-alias.el (mh-alias-apropos): New command. Show all aliases
2748 that match REGEXP either in name or content.
2749
2750 * mh-alias.el (mh-alias-suggest-alias): Add no-comma-swap optional
2751 arg.
2752 (mh-alias-canonicalize-suggestion): Change a comma to a period in
2753 created aliases.
2754 (mh-alias-local-users): Call `mh-alias-suggest-alias' with
2755 `no-comma-swap' arg set to t.
2756
2757 * mh-alias.el (mh-alias-local-users): Fix case of nil
2758 `mh-alias-passwd-gcos-comma-separator-flag'.
2759
2760 * mh-alias.el (mh-alias-gcos-name): Fix for case of empty gcos
2761 name field.
2762 (mh-alias-local-users): Fix same.
2763
2764 * mh-alias.el (mh-alias-canonicalize-suggestion): Replace use by
2765 verbose `replace-regexp' by a looped `replace-match'
2766
27672003-06-02 Peter S Galbraith <psg@debian.org>
2768
2769 * mh-utils.el (dired-replace-in-string): Bind if not already
e9be14aa 2770 defined. Borrowed from dired.el
a66894d8
BW
2771
2772 * mh-alias.el (mh-alias-gcos-name): switch to using
2773 dired-replace-in-string.
2774
27752003-06-02 Satyaki Das <satyakid@stanford.edu>
2776
2777 * mh-utils.el (mh-letter-font-lock-keywords): Fontify header
2778 fields in the draft buffer that aren't skipped when navigating
2779 with TAB (or S-TAB).
2780
2781 * mh-customize.el (mh-clean-message-header-flag)
2782 (mh-invisible-headers, mh-invisible-header-fields)
2783 (mh-alias-passwd-gcos-comma-separator-flag): Checkdoc fix.
2784 (mh-letter-header-field-face): New face to fontify the header
2785 fields.
2786
2787 * mh-comp.el (mh-insert-auto-fields-done-local): Checkdoc fix.
2788 (mh-letter-mode, mh-letter-mail-header-end-marker): Remember the
2789 end of the message header in a marker. This is used to fontify the
2790 header fields.
2791 (mh-font-lock-field-data, mh-letter-header-end): Functions used
2792 to fontify message header fields.
2793
2794 * mh-alias.el (mh-alias-gcos-name): Checkdoc fix.
2795
27962003-06-02 Peter S Galbraith <psg@debian.org>
2797
2798 * mh-alias.el (mh-alias-gcos-name): New function. Return a usable
2799 address string from a GCOS-NAME and USERNAME.
2800 (mh-alias-local-users): Use it.
2801
2802 * mh-customize.el (mh-alias-passwd-gcos-comma-separator-flag): New
2803 defcustom. Whether the gcos field in the passwd file uses comma as
2804 a separator.
2805
2806 * mh-customize.el (mh-alias-local-users-prefix): New
2807 defcustom. String to append to the real names of users from the
2808 passwd file. If nil, use the username string unmodified instead of
2809 the real name from the gcos field of the passwd file.
2810
2811 * mh-alias.el (mh-alias-local-users): Use it to generate aliases
2812 which by default are now the real name prefixed by "local."
2813
28142003-06-01 Peter S Galbraith <psg@debian.org>
2815
2816 * mh-comp.el (mh-modify-header-field): Bug fix. Calling with with
2817 a value that was already inserted causes it to get inserted a
2818 second time. I have wrapped the value around \b word delimiters.
2819 Hope there are no side effects for other code.
2820
e9be14aa 2821 * mh-comp.el (mh-insert-auto-fields): Attempt regardless of
a66894d8
BW
2822 `mh-insert-auto-fields-done-local' flag in interactive use.
2823
2824 * mh-comp.el (mh-insert-auto-fields-done-local): Keep track of
2825 whether `mh-insert-auto-fields' was called in a buffer.
2826 (mh-insert-auto-fields): Set it and use it. Also, don't enter an
2827 identity if one was already entered manually.
2828 (mh-send-letter): Call `mh-insert-auto-fields' again when sending
2829 message.
2830 (mh-compose-and-send-mail): Call `mh-insert-auto-fields' _after_
2831 `mh-letter-mode' so `mh-identity-local' doesn't get cleared by the
2832 mode invocation.
2833
28342003-06-01 Satyaki Das <satyakid@stanford.edu>
2835
2836 * mh-loaddefs.el: Regenerated.
2837
2838 * mh-seq.el (mh-thread-parse-scan-line): The value of
2839 mh-scan-field-from-start-offset was hardcoded in one place. The
2840 change fixes that.
2841
2842 * mh-utils.el (mh-show-mode): Setup mh-show-mode to display
2843 elipsis for truncated header fields and to skip over them quickly.
2844 (mh-clean-msg-header): Make another pass over the message header
2845 fields truncating long headers.
2846
2847 * mh-comp.el (mh-letter-complete): Remove unnecessary autoload.
2848 (mh-letter-toggle-header-field-display): Take into account that
2849 an empty line can also end the message header. The function was
2850 originally written with the draft buffer in mind.
2851
28522003-06-01 Mark D. Baushke <mdb@gnu.org>
2853
2854 * mh-comp.el (mh-letter-mode-map): Do not steal C-t. Use C-c C-t
2855 for the mh-letter-toggle-header-field-display command.
2856
28572003-05-31 Peter S Galbraith <psg@debian.org>
2858
2859 * mh-customize.el (mh-visible-headers): Changed to a defvar that
2860 will be set using new `mh-visible-headers' function using
2861 `mh-visible-header-fields' as input.
2862 (mh-visible-headers): New function, described above.
2863 (mh-visible-header-fields): New defcustom. The UI to set
2864 `mh-visible-headers'.
2865 (mh-invisible-header-fields-set): Deleted. Code merged into
2866 defcustom since it's so short.
2867
28682003-05-31 Satyaki Das <satyakid@stanford.edu>
2869
2870 * mh-comp.el (mh-letter-toggle-header-field-display): Extended to
2871 truncate headers if they are too long.
2872 (mh-letter-truncate-header-field): Make code that would be
2873 duplicated into a function.
2874 (mh-letter-hide-all-skipped-fields): Modified so that fields that
2875 are important are hidden if they are too long.
2876
28772003-05-31 Satyaki Das <satyakid@stanford.edu>
2878
2879 * mh-utils.el ("tool-bar"): Since tool-bar isn't available on
2880 XEmacs, requiring it causes problems. So load it instead.
2881 (mh-do-at-event-location): New macro to do stuff at location of
2882 events. This has been refactored out of mh-push-button.
2883
2884 * mh-mime.el (mh-push-button): Simplified since it now uses the
2885 mh-do-at-event-location macro.
2886
2887 * mh-comp.el (mh-hidden-header-keymap): Keymap to make mouse
2888 clicks on header toggle its display.
2889 (mh-letter-toggle-header-field-display-button): Interactive
2890 function to toggle header display when mouse button is clicked.
2891
28922003-05-31 Peter S Galbraith <psg@debian.org>
2893
2894 * mh-e.el (mh-folder-mode): Remove conditional on tool-bar-mode.
2895
2896 * mh-comp.el (mh-letter-mode): Same.
2897
2898 * mh-utils.el (mh-show-mode): Same.
2899
29002003-05-30 Satyaki Das <satyakid@stanford.edu>
2901
2902 * mh-utils.el (tool-bar): Load tool-bar explicitly. This avoids
2903 problems with incorrect initialization of tool-bar-map otherwise.
2904
29052003-05-30 Peter S Galbraith <psg@mixed.dyndns.org>
2906
2907 * mh-comp.el (mh-modify-header-field): Minor fix of spaces for
2908 when an entry already existed.
2909 (mh-insert-auto-fields): Make interactive. Add optional `quiet'
2910 arg for use when called systematically on every buffer. Won't be
2911 used interactively for more verbose output.
2912 (mh-letter-mode-map): Add \C-c\M-d keybinding for
2913 mh-insert-auto-fields.
2914
2915 * mh-identity.el (mh-identity-make-menu): Add a menu entry in
2916 Identity menu for mh-insert-auto-fields.
2917
2918 * mh-customize.el (mh-invisible-header-fields): Add entries for
2919 `Envelope-to' and `X-Original-To'.
2920
29212003-05-30 Satyaki Das <satyakid@stanford.edu>
2922
2923 * mh-comp.el (mh-letter-mode): Skip over invisible text quickly.
2924
29252003-05-30 Satyaki Das <satyakid@stanford.edu>
2926
2927 * mh-comp.el (mh-letter-mode): Use text properties to achieve
2928 invisibility. This is more portable and the same code can be used
2929 for all Emacs versions.
2930 (mh-letter-toggle-header-field-display): Rewritten to use text
2931 properties.
2932 (mh-dead-overlay-p, mh-letter-hidden-header-fields)): Removed.
2933
29342003-05-29 Satyaki Das <satyakid@stanford.edu>
2935
2936 * mh-comp.el (mh-letter-hidden-header-fields, mh-letter-mode): Add
2937 a hash table, initialized it in mh-letter-mode, to remember the
2938 overlays introduced to hide long headers fields.
2939 (mh-insert-x-mailer): checkdoc fix.
2940 (mh-compose-and-send-mail): Hide unimportant message header
2941 fields.
2942 (mh-letter-header-field-regexp, mh-letter-header-field-at-point)
2943 (mh-letter-next-header-field, mh-letter-previous-header-field):
2944 Add a variable that contains the header-field name regexp and use
2945 it instead of the regexp directly.
2946 (mh-letter-toggle-header-field-display, mh-letter-mode-map): Add
2947 new key binding in mh-letter-mode that toggles display of long
2948 header fields, in mh-letter-mode.
2949 (mh-dead-overlay-p): A predicate which checks if a given header
2950 field has an active overlay hiding it.
2951 (mh-letter-hide-all-skipped-fields): New function that shortens
2952 uninteresting headers.
2953
29542003-05-29 Eric Ding <ericding@acorn.bethesda.net>
2955
2956 * mh-comp.el (mh-letter-next-header-field-or-indent): Call
2957 indent-relative rather than indent-for-tab-command.
2958
29592003-05-29 Satyaki Das <satyakid@stanford.edu>
2960
2961 * mh-comp.el (mh-letter-complete-or-space): The meaning of the
2962 customizable variable was reversed. Also make the doc string more
2963 accurate.
2964
29652003-05-28 Satyaki Das <satyakid@stanford.edu>
2966
2967 * mh-customize.el (mh-compose-skipped-header-fields): New
2968 customizable variable that lists headers that are skipped.
2969 (mh-compose-space-does-completion-flag): Option to do completion
2970 with space (closes SF #745634).
2971
2972 * mh-comp.el (mh-insert-x-mailer): Check the value of
2973 mh-insert-x-mailer-flag in this function instead of in its caller.
2974 (mh-compose-and-send-mail, mh-send-letter): Insert X-Mailer and
2975 X-Face headers when the draft is first presented to the user
2976 instead of when the mail is sent (closes SF #745624).
2977 (mh-letter-complete-or-space): Allow for this key binding to be
2978 overridden.
2979 (mh-letter-next-header-field): Fix a problem with multiline header
2980 fields.
2981 (mh-letter-next-header-field, mh-letter-previous-header-field):
2982 Make these functions skip unwanted header fields.
2983 (mh-letter-skipped-header-field-p): New predicate that checks if a
2984 header field is to be skipped.
2985
2986 * mh-seq.el (mh-thread-inc): Inc'ing email in threaded mode was
2987 causing duplication of the current notation. The change fixes that.
2988
29892003-05-28 Satyaki Das <satyakid@stanford.edu>
2990
2991 * mh-comp.el (mh-beginning-of-word): Generalize it to skip
2992 arbitrary number of words.
2993 (mh-letter-complete-or-space): New interactive function that
2994 allows space character to be used for completion.
2995 (mh-letter-mode-map): Add key binding to allow space to be used
2996 for completion.
2997
29982003-05-27 Satyaki Das <satyakid@stanford.edu>
2999
3000 * mh-customize.el (mh-compose-prompt-flag): Customizable variable
3001 that controls whether the user is prompted when composing a draft.
3002 It replaces mh-dont-prompt-for-address-flag (closes SF #745622).
3003
3004 * mh-comp.el (mh-letter-next-header-field): If the point is in
3005 the header field name, then go the start of the header field
3006 instead of the next field.
3007 (mh-interactive-read-address, mh-interactive-read-string)
3008 (mh-letter-adjust-point): Use mh-compose-prompt-flag instead of
3009 mh-dont-prompt-for-address-flag.
3010
30112003-05-27 Satyaki Das <satyakid@stanford.edu>
3012
3013 * mh-customize.el (mh-tool-bar-define): Fix incorrect usage of
3014 set-specifier (closes SF #745655). Also the button enabling code
3015 interacts poorly with font-lock in XEmacs. So disable that.
3016
30172003-05-26 Satyaki Das <satyakid@stanford.edu>
3018
3019 * mh-e.el (mh-folder-from-address): The function
3020 message-fetch-field expects that the buffer is narrowed to the
3021 mail header. The change makes sure that this is indeed the case.
3022
3023 * mh-mime.el (mh-add-missing-mime-version-header)
3024 (mh-decode-message-body): Same as above.
3025
30262003-05-25 Satyaki Das <satyakid@stanford.edu>
3027
3028 * mh-alias.el (mh-alias-minibuffer-confirm-address): Modified to
3029 use mh-beginning-of-word.
3030
3031 * mh-comp.el (mh-letter-confirm-address): Calling
3032 mh-alias-reload-maybe can be expensive. So do it only if we really
3033 need to.
3034
30352003-05-25 Satyaki Das <satyakid@stanford.edu>
3036
3037 * mh-loaddefs.el: Regenerated.
3038
3039 * mh-comp.el (mh-letter-confirm-address): Load aliases if not yet
3040 loaded.
3041
3042 * mh-alias.el (mh-alias-reload-maybe): Autoload it since it is
3043 used in mh-comp.el.
3044
30452003-05-24 Satyaki Das <satyakid@stanford.edu>
3046
3047 * mh-comp.el (mh-letter-skip-leading-whitespace-in-header-field):
3048 New function to skip leading space and tab characters when placing
3049 point in a header field.
3050 (mh-letter-next-header-field, mh-letter-previous-header-field):
3051 Skip leading whitespace when using TAB to navigate to header
3052 fields.
3053 (mh-letter-confirm-address): New interactive function that
3054 displays the last expansion of the last alias when "," is typed.
3055 (mh-letter-mode-map): Add key binding for "," (closes SF #745634).
3056
30572003-05-23 Satyaki Das <satyakid@stanford.edu>
3058
3059 * mh-comp.el (mh-edit-again, mh-forward, mh-send)
3060 (mh-send-other-window, mh-send-sub): Modified so that if
3061 mh-dont-prompt-for-address-flag is non-nil, then MH-E won't prompt
3062 for addresses to send mail to and instead directly jump to the
3063 draft (closes SF #745622).
3064 (mh-letter-complete-function-alist): An alist that is used to
3065 decide which completion function to use in which header. This
3066 variable should probably be customizable.
3067 (mh-letter-complete): Now uses mh-letter-complete-function-alist.
3068 (mh-letter-header-field-at-point, mh-letter-next-header-field)
3069 (mh-letter-next-header-field-or-indent)
3070 (mh-letter-previous-header-field): Commands for easier navigation
3071 to header fields.
3072 (mh-dont-prompt-for-address-flag): Variable which controls
3073 whether MH-E prompts for addresses.
3074 (mh-interactive-read-address, mh-interactive-read-string): Two
3075 functions to ask user for input depending on the value of the
3076 above flag.
3077 (mh-letter-adjust-point): New function that sets point to the
3078 first header field.
3079 (mh-letter-mode-map): Add key bindings for TAB and S-TAB (closes
3080 SF #745627).
3081
30822003-05-23 Satyaki Das <satyakid@stanford.edu>
3083
3084 * mh-loaddefs.el: Regenerated.
3085
3086 * mh-comp.el (mh-complete-word): New function which is
3087 approximately equivalent to mail-abbrev-complete-alias.
3088 (mh-beginning-of-word): Refactor repeated code into its own
3089 function.
3090 (mh-folder-expand-at-point): Make Fcc completion work in XEmacs
3091 by not using mail-abbrev-complete-alias.
3092
3093 * mh-alias.el (mh-alias-letter-expand-alias): Make alias
3094 expansion work in XEmacs. Replace the use of the function
3095 mail-abbrev-complete-alias, which isn't present in XEmacs.
3096
3097 * mh-mime.el (mh-mml-to-mime): If a MIME message is created
3098 immediately after starting MH-E then invoking mh-mml-to-mime
3099 causes an error because "message" isn't being loaded. The change
3100 works around this problem.
3101 (mh-mime-maybe-display-alternatives): Give better indication of
3102 which MIME parts are alternatives.
3103
31042003-05-22 Satyaki Das <satyakid@stanford.edu>
3105
3106 * mh-e.el (mh-add-sequence-notation, mh-remove-sequence-notation):
3107 Just delete and add the same character in the scan line to make
3108 font-lock refontify it. The previous trick of removing all text
3109 properties didn't work in XEmacs.
3110
3111 * mh-seq.el (mh-put-msg-in-seq): Complain if the user tries to
3112 create an invalid MH sequence.
3113
3114 * mh-mime.el (mh-mime-display-alternative): Modified to
3115 optionally display alternatives as buttons.
3116 (mh-mime-maybe-display-alternatives): New function which displays
3117 alternative MIME parts as buttons.
3118 (mh-mime-save-part): Initially mh-mime-save-parts-directory is
3119 nil and calling file-name-as-directory with nil arg leads to an
3120 error. So fall back on the default-directory in that case.
3121
3122 * mh-customize.el (mh-display-buttons-for-alternatives-flag): New
3123 customizable variable that controls display of the alternative
3124 MIME parts (closes SF #741288).
3125
31262003-05-22 Peter S Galbraith <psg@debian.org>
3127
3128 * mh-customize.el (mh-invisible-header-fields): Commented out
3129 "User-Agent:". It's similar to X-Mailer, so display it.
3130
31312003-05-21 Satyaki Das <satyakid@stanford.edu>
3132
3133 * mh-customize.el (mh-tool-bar-define): Add an optional argument
3134 to the button description that can dynamically enable/disable
3135 buttons.
3136 (mh-tool-bar-define): The alias grabbing button is disabled if the
3137 current message doesn't have a From header or if the sender is
3138 already in the user's alias. This functionality was inadvertently
3139 lost when the Emacs/XEmacs toolbar unification took place.
3140
31412003-05-20 Satyaki Das <satyakid@stanford.edu>
3142
3143 * mh-unit.el (mh-unit-construct-call-graph): Be more aggressive
3144 and flag interactive functions that aren't autoloaded or have no
3145 key bindings.
3146 (mh-unit-interactive-function-p): Remove now unused function.
3147 (mh-unit, mh-unit-construct-call-graph): Replace mh-files with
3148 mh-unit-files.
3149
31502003-05-20 Bill Wohler <wohler@newt.com>
3151
3152 * mh-unit.el (mh-prune-trailing-spaces): Renamed to
3153 mh-unit-prune-trailing-spaces to clean up the namespace.
3154 (mh-files): Renamed to mh-unit-files. Ditto.
3155 (mh-unit): Checkdoc fix.
3156
3157 * mh-index.el (mh-index-p): Added autoload cookie since mh-index-p
3158 is used by mh-customize.el. This calls for another mh-unit test
3159 that looks for mh-autoloads for functions that are no longer used
3160 in other files.
3161
3162 * mh-loaddefs.el: Regenerated.
3163
31642003-05-20 Satyaki Das <satyakid@stanford.edu>
3165
3166 * mh-unit.el (mh-unit-construct-call-graph): Factor out the code
3167 to read the lisp files to a separate function. Also change it to
3168 construct a function call-graph. Autoloaded functions are taken
3169 into account.
3170 (mh-unit-find-all-used-functions, mh-unit-called-functions)
3171 (mh-unit-find-all-unused-functions): Find all unused functions by
3172 computing a fixed point starting from the set of top level
3173 functions.
3174 (mh-unit-analyze-block): Removed.
3175 (mh-unit-update-call-graph): mh-unit-functions-called was renamed
3176 with modifications to update the function call graph.
3177
31782003-05-19 Satyaki Das <satyakid@stanford.edu>
3179
3180 * mh-loaddefs.el: Regenerated.
3181
3182 * mh-utils.el (mh-notate): Modified to keep track of notation
3183 that was replaced when sequence notation is added. Thus when the
3184 sequence is deleted, the original notation is recovered.
3185 (mh-add-msgs-to-seq): Modified to work with the new sequence
3186 notation code.
3187
3188 * mh-seq.el (mh-delete-seq, mh-put-msg-in-seq): Simplified since
3189 we don't need to handle tick and unseen sequences specially any
3190 more.
3191 (mh-narrow-to-seq): Don't need to call mh-notate-user-sequences
3192 since mh-copy-seq-to-eob already does that.
3193 (mh-widen): Remove sequence notation, so that notation when
3194 messages are replied to aren't lost.
3195 (mh-copy-seq-to-eob): Simplified with the use of
3196 mh-iterate-on-range.
3197 (mh-thread-inc): This function doesn't need to notate user
3198 sequences since its callers already do that.
3199 (mh-thread-parse-scan-line): Simplified since mh-note-seq doesn't
3200 appear in scan lines it is given as arguments.
3201 (mh-thread-update-scan-line-map): Remove the test, since its
3202 caller already does the required check.
3203 (mh-thread-folder): Simplified by the use of mh-iterate-on-range.
3204 (mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick):
3205 These functions aren't needed any more, since overlays aren't used
3206 any more. Also overlays aren't portable to XEmacs, so nasty
3207 conditional code that used overlays in Emacs and extents in Xemacs
3208 have been eliminated.
3209 (mh-toggle-tick): Generalize it to work on a range of messages
3210 like the other interactive messages.
3211
3212 * mh-funcs.el (mh-undo-folder): Use mh-remove-all-notation
3213 instead of mh-unmark-all-headers.
3214
3215 * mh-e.el (mh-folder-font-lock-keywords): The entry for unseen
3216 sequence highlighting is now done by the macro.
3217 (mh-generate-sequence-font-lock): New macro to highlight any
3218 arbitrary sequence. This macro is invoked twice to get the
3219 highlighting for unseen and tick sequences.
3220 (mh-sequence-notation-history, mh-folder-mode): New variable that
3221 keeps track of the old notation when a message is notated with
3222 mh-note-seq.
3223 (mh-regenerate-headers, mh-get-new-mail): Add appropriate calls to
3224 mh-notate-user-sequences and mh-remove-all-notation.
3225 (mh-unmark-all-headers): Add comment that this function shouldn't
3226 be used any more.
3227 (mh-add-sequence-notation, mh-remove-sequence-notation): New
3228 functions to notate message with mh-note-seq and to remove it.
3229 (mh-remove-all-notation): Simplified to use mh-iterate-on-range.
3230 (mh-process-commands): Use mh-remove-all-notation instead of
3231 mh-unmark-all-headers.
3232 (mh-notate-user-sequences, mh-delete-msg-from-seq): Simplified
3233 since the tick and unseen sequences don't need special handling
3234 any more.
3235 (mh-internal-seq): Make it possible to dynamically change what
3236 sequences are treated as internal (internal means font lock is
3237 used to highlight the sequence).
3238 (mh-clear-text-properties): Removed since it isn't needed
3239 anymore.
3240
32412003-05-19 Satyaki Das <satyakid@stanford.edu>
3242
3243 * mh-unit.el (mh-unit-analyze-block, mh-unit-interactive-function-p)
3244 (mh-unit-find-all-unused-functions): Change argument name bl to
3245 block.
3246
32472003-05-19 Satyaki Das <satyakid@stanford.edu>
3248
3249 * mh-unit.el (mh-unit-find-all-unused-functions): New interactive
3250 function to find all unused functions in MH-E.
3251 (mh-unit-analyze-block, mh-unit-interactive-function-p)
3252 (mh-unit-functions-called): Functions used by
3253 mh-unit-find-all-unused-functions do its job.
3254
3255 * Makefile (compile): Byte-compile mh-unit.el, since the analysis
3256 to find unused code runs faster when compiled.
3257
32582003-05-18 Satyaki Das <satyakid@stanford.edu>
3259
3260 * mh-loaddefs.el: Regenerated.
3261
3262 * mh-seq.el (mh-notate-deleted-and-refiled): Add autoload
3263 declaration since this function is used in mh-index.el.
3264
3265 * mh-e.el, mh-customize.el, mh-utils.el: Adjust require/provide
3266 statements so that mh-e.el isn't loaded twice.
3267
32682003-05-15 Satyaki Das <satyakid@stanford.edu>
3269
3270 * mh-utils.el (mh-defun-show-buffer): Arrange for the current
3271 line in the folder buffer to be highlighted even when we are in
3272 the show buffer.
3273
32742003-05-14 Satyaki Das <satyakid@stanford.edu>
3275
3276 * mh-seq.el (mh-read-range): Allow this to work on invalid
3277 sequences that only MH-E knows about.
3278
3279 * mh-index.el (mh-create-sequence-map, mh-index-add-to-sequence)
3280 (mh-index-delete-from-sequence): Don't consider sequences that
3281 aren't valid MH sequences.
3282
3283 * mh-e.el (mh-valid-seq-p): New predicate to check if a symbol
3284 could be a MH sequence.
3285 (mh-undefine-sequence, mh-define-sequence): Don't execute "mark"
3286 unless the sequence name is a valid MH sequence.
3287
3288 * mh-utils.el (mh-exec-cmd): In case an error happens in the
3289 call-process and non-strings are present in ARGS, then the error
3290 message isn't properly displayed. The change fixes this.
3291
32922003-05-14 Peter S Galbraith <psg@debian.org>
3293
3294 * mh-mime.el (mh-mime-save-part): Bug Fix: Make sure
3295 `mm-default-directory' gets a trailing "/" if
3296 `mh-mime-save-parts-directory' doesn't have one. Otherwise the
3297 default in the prompt of `mh-mm-save-part' will be wrong. Perhaps
3298 `mh-mm-save-part' needs to do this check itself.
3299
33002003-05-14 Satyaki Das <satyakid@stanford.edu>
3301
3302 * mh-index.el (mh-unpropagated-sequences): New function and
3303 variable to keep track of sequences that shouldn't be propagated.
3304 (mh-create-sequence-map, mh-index-add-to-sequence)
3305 (mh-index-delete-from-sequence): Use mh-unpropagated-sequences to
3306 stop changes to some sequences being reflected back to the source
3307 folders.
3308
33092003-05-13 Satyaki Das <satyakid@stanford.edu>
3310
3311 * mh-loaddefs.el: Regenerated.
3312
3313 * mh-e.el (mh-process-commands): Preserve sequences when messages
3314 are refiled (closes SF #737128).
3315
3316 * mh-index.el (mh-create-sequence-map)
3317 (mh-index-create-sequences): Refactor code that is reused into a
3318 new function.
3319
3320 * mh-customize.el (mh-refile-preserves-sequences-flag): New
3321 customizable flag that controls whether sequences are preserved
3322 when messages are refiled.
3323
33242003-05-13 Eric Ding <ericding@alum.mit.edu>
3325
3326 * mh-e.el (mh-scan-format): The argument for scan format files
3327 should be -form, not -format.
3328
33292003-05-13 Satyaki Das <satyakid@stanford.edu>
3330
3331 * mh-seq.el (mh-widen): The scan line map stack was not being
3332 properly updated when ALL-FLAG is non-nil. The change fixes that.
3333
3334 * mh-e.el (mh-reset-threads-and-narrowing): The change resets the
3335 scan line map stack.
3336
33372003-05-12 Satyaki Das <satyakid@stanford.edu>
3338
3339 * mh-loaddefs.el: Regenerated.
3340
3341 * mh-seq.el (mh-thread-scan-line-map-stack)
3342 (mh-thread-old-scan-line-map): Instead of the old scan line map,
3343 now we need to maintain a stack of scan line maps.
3344 (mh-narrow-to-seq): Modified so that multiple level of narrowings
3345 can be done. We now maintain a stack of old views instead of
3346 hiding the old scan lines. This makes it possible to have
3347 multiple levels of narrowings.
3348 (mh-widen): A optional prefix arg was added to allow undoing all
3349 narrowing.
3350 (mh-read-seq-default, mh-read-range): Don't use
3351 mh-narrowed-to-seq, since it doesn't exist any more.
3352 (mh-thread-initialize-hash, mh-thread-initialize): The
3353 mh-thread-initialize function has been refactored.
3354 (mh-thread-update-scan-line-map): Maintain notations in the stack
3355 of scan line maps.
3356 (mh-notate-tick, mh-toggle-tick): Simplified, since we don't have
3357 mh-narrowed-to-seq any more. This means there is a slight loss of
3358 functionality. Earlier if we narrowed to the tick sequence the
3359 ticked messages weren't highlighted. This feature isn't present
3360 any more.
3361
3362 * mh-e.el (mh-execute-commands, mh-reset-threads-and-narrowing)
3363 (mh-folder-sequence-menu, mh-get-new-mail): Use
3364 mh-folder-view-stack instead of the now removed
3365 mh-narrowed-to-seq.
3366 (mh-narrowed-to-seq, mh-tick-seq-changed-when-narrowed-flag):
3367 These variables have been removed.
3368 (mh-folder-view-stack): New variable to keep track of a stack of
3369 narrowings.
3370 (mh-execute-commands, mh-get-new-mail): Add extra argument to
3371 mh-widen so that all narrowings are undone.
3372
3373 * Makefile (MH-E-SRC, MH-E-OTHERS): Move mh-gnus.el from MH-E-SRC
3374 to MH-E-OTHERS so that it isn't byte compiled.
3375
33762003-05-10 Satyaki Das <satyakid@stanford.edu>
3377
3378 * mh-seq.el (mh-read-seq): Improve the function a bit by adding
3379 history to the sequence prompt.
3380
33812003-05-09 Satyaki Das <satyakid@stanford.edu>
3382
3383 * mh-gnus.el: New file that won't be byte-compiled. From now on
3384 having different Gnus versions at run-time and compile-time won't
3385 cause errors in MH-E.
3386
3387 * mh-mime.el (mh-small-show-buffer-p, mh-display-smileys)
3388 (mh-display-emphasis): Handle all legal values of
3389 font-lock-maximum-size. The existing code assumed didn't consider
3390 the case where it could be an alist.
3391 (mh-small-image-p): Simplified, so that aliasing XEmacs functions
3392 in Emacs isn't necessary any more.
3393 (mh-mm-display-part): Remove unnecessary call to fboundp. The
3394 mh-funcall-if-exists does that for us any way.
3395 (mh-defun-compat, gnus-local-map-property, mm-merge-handles)
3396 (mm-set-handle-multipart-parameter, mm-readable-p)
3397 (mm-long-lines-p, mm-keep-viewer-alive-p, mm-destroy-parts)
3398 (mh-mm-save-part, mm-handle-multipart-ctl-parameter): These
3399 compatibility functions have been moved to mh-gnus.el.
3400
3401 * Makefile (MH-E-SRC): Add mh-gnus.el.
3402
3403 * mh-seq.el (mh-narrow-to-header-field)
3404 (mh-current-message-header-field): Checkdoc fixes.
3405
3406 * mh-e.el (mh-undefine-sequence): Since mh-coalesce-msg-list
3407 returns a list, apply is needed.
3408
34092003-05-09 Noel Cragg <noel@red-bean.com> (tiny change)
3410
3411 * mh-junk.el (mh-spamassassin-blacklist): Separate "--local" and
3412 "--no-rebuild" arguments to call-process.
3413 [Patch committed by satyaki]
3414
34152003-05-08 Satyaki Das <satyakid@stanford.edu>
3416
3417 * mh-seq.el (mh-translate-range): Take into account differnt
3418 semantics of split-string in Emacs and XEmacs.
3419 (mh-read-pick-regexp, mh-narrow-to-from, mh-narrow-to-cc)
3420 (mh-narrow-to-to, mh-narrow-to-header-field)
3421 (mh-current-message-header-field, mh-narrow-to-range): New
3422 narrowing functions that can select messages based on different
3423 message headers.
3424
3425 * mh-utils.el (mh-show-limit-map): Add new narrowing functions
3426 callable from the show buffer.
3427
3428 * mh-e.el (mh-help-messages): Add help text for new functions.
3429 (mh-limit-map): Add new narrowing functions (closes SF #732823).
3430
34312003-05-07 Satyaki Das <satyakid@stanford.edu>
3432
3433 * mh-utils.el (mh-collect-folder-names): Use mh-exec-daemon to
3434 run flists. This means we don't have to remember to expand the MH
3435 executable in the mh-progs path.
3436 (mh-exec-cmd-daemon): Return the new process object produced.
3437
34382003-05-06 Satyaki Das <satyakid@stanford.edu>
3439
3440 * mh-e.el (mh-folder-font-lock-unseen): Use mh-seq-list to do
3441 unseen sequence highlighting instead of reading the .mh_sequences
3442 file from disk every time.
3443
34442003-05-05 Satyaki Das <satyakid@stanford.edu>
3445
3446 * mh-utils.el (mh-show-sequence-map): Add key binding for S'
3447 (closes SF #732825).
3448
3449 * mh-e.el (mh-sequence-map): Ditto.
3450 (mh-help-messages): Updated for S'.
3451
34522003-05-04 Satyaki Das <satyakid@stanford.edu>
3453
3454 * mh-index.el (mh-index-write-data): The with-temp-buffer macro
3455 is a bit better than write-file, so use that instead.
3456
34572003-05-03 Satyaki Das <satyakid@stanford.edu>
3458
3459 * mh-index.el (mh-index-update-maps, mh-index-search)
3460 (mh-index-sequenced-messages): Write index data to disk. This
3461 allows us to recover index folder information if Emacs is
3462 restarted, or the index folder is visited after the buffer has
3463 been killed (closes SF #701762).
3464 (mh-index-write-data, mh-index-read-data)
3465 (mh-index-write-hashtable, mh-index-read-hashtable): Functions to
3466 store and read index data information to disk.
3467 (mh-index-insert-folder-headers, mh-index-group-by-folder): We
3468 can no longer use object identity to compare strings, since they
3469 might have been read back from disk.
3470
3471 * mh-e.el (mh-index-data-file): New variable that stores the name
3472 of the file that keeps track of index folder data.
3473 (mh-make-folder): Read index folder data if available.
3474
3475 * mh-utils.el (mh-show, mh-summary-height, mh-modify): Make
3476 checkdoc happy.
3477
3478 * mh-seq.el (mh-tick-add-overlay): Rearrange code to make code
3479 more uniform.
3480
3481 * mh-loaddefs.el: Regenerated.
3482
34832003-05-02 Satyaki Das <satyakid@stanford.edu>
3484
3485 * mh-seq.el (mh-tick-add-overlay): If a message with a short scan
3486 line is ticked, then the highlighting didn't extend to the right
3487 margin. This change fixes that.
3488
34892003-05-01 Bill Wohler <wohler@newt.com>
3490
3491 * mh-e.el (mh-help-messages): Added brackets around / and
3492 downcased limit to be consistent with other commands with
3493 punctuation keybindings. Don't document aliases.
3494
34952003-05-01 Satyaki Das <satyakid@stanford.edu>
3496
3497 * mh-loaddefs.el: Regenerated.
3498
3499 * mh-seq.el (mh-read-range): Fix comment.
3500
35012003-04-30 Mark D. Baushke <mdb@gnu.org>
3502
3503 * mh-e.el (mh-help-messages): Better documentation for the F map.
3504
35052003-04-30 Satyaki Das <satyakid@stanford.edu>
3506
3507 * mh-utils.el (mh-find-path): Cache folder names so that
3508 folder name completion is always fast.
3509 (mh-flists-partial-line, mh-flists-process): Variables used for
3510 pre-caching folder names.
3511 (mh-collect-folder-names, mh-collect-folder-names-filter)
3512 (mh-populate-sub-folders-cache): Functions to pre-cache folder
3513 names.
3514 (mh-exec-cmd): Produce more info in *MH-E Log*.
3515
3516 * mh-index.el (mh-index-search): Call the correct function.
3517 (mh-index-sequenced-messages): If folders is nil, then all mail
3518 is searched. The change restores that.
3519
35202003-04-30 Peter S Galbraith <psg@debian.org>
3521
3522 * mh-customize.el (mh-summary-height): Move variable integer out
3523 of defcustom, and instead specify that `nil' means to calculate
3524 that size dynamically. Fixes SF #723267.
3525
3526 * mh-utils.el (mh-summary-height): New function. Return ideal
3527 mh-summary-height value for current frame height.
3528 (mh-show-msg): Use it.
3529
35302003-04-30 Mark D. Baushke <mdb@gnu.org>
3531
3532 * mh-index.el (mh-index-ticked-messages): Fix prompt and
3533 description string.
3534 (mh-index-new-messages): Ditto.
3535
3536 * mh-loaddefs.el: Regenerated.
3537
3538 * mh-index.el (mh-index-sequenced-messages): Renamed from
3539 mh-index-new-messages with minor argument change.
3540 (mh-index-new-messages): Implement by calling
3541 mh-index-sequenced-messages with the appropriate arguments.
3542 (mh-index-ticked-messages): New function. Does the same thing as
3543 mh-index-new-messages, but on its own set of folders and using the
3544 mh-tick-seq instead of mh-unseen-seq.
3545
3546 * mh-e.el (mh-folder-map): Add "F'" to the map for
3547 mh-index-ticked-messages.
3548 (mh-help-messages): Replace broken [t]hread with [n]ew messages.
e9be14aa 3549
a66894d8
BW
3550 * mh-customize.el (mh-index-ticked-messages-folders): New user
3551 customizable flag that controls the folders to be searched by
3552 mh-index-ticked-messages.
3553
3554 * mh-utils.el (mh-show-index-ticked-messages): Wrapper for
3555 mh-index-ticked-messages.
3556 (mh-show-folder-map): Add "F'" to the map for
3557 mh-index-ticked-messages.
3558
35592003-04-30 Satyaki Das <satyakid@stanford.edu>
3560
3561 * mh-index.el (mh-index-search): The old cur in the source folder
3562 might not exist. This could cause mh-exec-cmd to fail. So don't
3563 add an error message in that case.
3564
35652003-04-29 Satyaki Das <satyakid@stanford.edu>
3566
3567 * mh-e.el (mh-folder-from-address): Modified to allow multiple
3568 Cc: headers to work properly.
3569 (mh-inc-folder, mh-visit-folder): Fix an off by one error.
3570
3571 * mh-utils.el (mh-notate): Update the scan line map. This fixes a
3572 tiny bug. In threaded view, if a message is replied to then the
3573 message is notated with a "-". Now if inc is done then the "-"
3574 added is lost. The change fixes this.
3575
3576 * mh-seq.el (mh-translate-range): Use the correct function.
3577 (mh-thread-update-scan-line-map): New function that updates the
3578 scan line map when a message is notated.
3579
35802003-04-28 Satyaki Das <satyakid@stanford.edu>
3581
3582 * mh-index.el (mh-index-parse-search-regexp): Avoid compiler
3583 warning in GNU Emacs 21.3.
3584
3585 * mh-seq.el (mh-widen): Ditto.
3586
35872003-04-28 Satyaki Das <satyakid@stanford.edu>
3588
3589 * mh-customize.el (mh-interpret-number-as-range-flag): New user
3590 customizable flag that controls whether a single number, N is
3591 interpreted as the range last:N.
3592
3593 * mh-seq.el (mh-read-range): Generalize it for use when reading
3594 range to scan.
3595 (mh-interactive-range): Modified to use the new mh-read-range.
3596
3597 * mh-speed.el (mh-speed-view): Use mh-read-range instead of the
3598 now removed mh-read-msg-range function.
3599
3600 * mh-funcs.el (mh-pack-folder): Ditto.
3601
3602 * mh-e.el (mh-rescan-folder, mh-visit-folder): Ditto.
3603 (mh-read-msg-range): Removed.
3604
3605 * mh-loaddefs.el: Regenerated
3606
36072003-04-27 Satyaki Das <satyakid@stanford.edu>
3608
3609 * mh-loaddefs.el: Regenerated.
3610
3611 * mh-seq.el (mh-range-completion-function): Fix checkdoc warning.
3612 (mh-iterate-on-range): Mention that the macro can iterate over a
3613 MH message range too.
3614
36152003-04-27 Bill Wohler <wohler@newt.com>
3616
3617 * mh-unit.el (mh-unit): As it turns out, lm-crack-copyright has
3618 been updated to handle multiple-line copyrights in 21.3, so
3619 updated code to run lm-verify only if user has 21.3 or greater.
e9be14aa 3620 Delete buffers after use, unless user already had buffer open.
a66894d8
BW
3621
36222003-04-27 Satyaki Das <satyakid@stanford.edu>
3623
3624 * mh-loaddefs.el: Regenerated.
3625
3626 * mh-index.el (mh-index-search): The MH command "refile" changes
3627 cur. The change restores cur in source folders.
3628 (mh-index-new-messages): Use the appropriate arguments for
3629 mh-read-seq.
3630
3631 * mh-seq.el (mh-read-seq-default, mh-read-seq): Restore these
3632 functions to just read sequence names.
3633 (mh-range-seq-names, mh-range-history, mh-range-completion-map)
3634 (mh-range-completion-function, mh-read-range): New function which
3635 reads MH range with completion and history.
3636 (mh-interactive-range): Use mh-read-range instead of
3637 mh-read-seq-default.
3638 (mh-put-msg-in-seq): Change documentation about MH message range.
3639
3640 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Change
3641 documentation about MH message range.
3642
3643 * mh-funcs.el (mh-copy-msg, mh-print-msg): Ditto.
3644
3645 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion)
3646 (mh-refile-msg, mh-undo, mh-delete-msg-from-seq): Ditto.
3647
3648 * mh-comp.el (mh-forward): Ditto.
3649
36502003-04-26 Satyaki Das <satyakid@stanford.edu>
3651
3652 * mh-comp.el, mh-e.el, mh-funcs.el, mh-junk.el, mh-seq.el:
3653 Replace msg-or-seq with range everywhere.
3654
3655 * mh-loaddefs.el: Regenerated.
3656
36572003-04-25 Satyaki Das <satyakid@stanford.edu>
3658
3659 * mh-e.el (mh-index-sequence-search-flag, mh-folder-mode): New
3660 local variable to remember that a folder buffer contains results
3661 from a sequence search. This is needed so that "C-u F i" will work
3662 as expected.
3663 (mh-visit-folder): Create sequences in the index folder.
3664 (mh-process-commands, mh-delete-msg-from-seq): If speedbar is on
3665 then update the speedbar message counts immediately.
3666 (mh-delete-msg-from-seq): Make the code faster by calling "mark"
3667 just once. Also update source folder sequence if messages are
3668 being deleted from a sequence in an index folder.
3669 (mh-undefine-sequence): Simplified to remove the speedbar updating
3670 code. Also DTRT and don't change any sequence when called with an
3671 empty list of messages.
3672 (mh-refile-msg, mh-delete-msg): Move to next message only if the
3673 current message has been deleted or refiled, as the case may be.
3674
3675 * mh-utils.el (mh-show-msg): Update the message counts in the
3676 speedbar, if it is on, immediately.
3677 (mh-speed-flists-active-p, mh-speed-flists-inhibit-flag): A new
3678 flag has been added which inhibits updating of the speedbar. This
3679 is used to avoid needless speedbar updates when
3680 mh-execute-commands is called in index folders.
3681
3682 * mh-speed.el (mh-speed-flists): Extended so that multiple
3683 folders can be given as arguments. Also the code that kept track
3684 of the current folder, needed since flists adds an extra ?+ char
3685 at the end of the current folder name, wasn't entirely correct.
3686 That has also been fixed.
3687
3688 * mh-seq.el (mh-delete-seq, mh-put-msg-in-seq): Modified so that
3689 sequence in source folder is updated if we delete a sequence in an
3690 index folder.
3691 (mh-read-seq, mh-read-seq-default, mh-translate-range)
3692 (mh-interactive-msg-or-seq): The mh-interactive-msg-or-seq
3693 function can read in an arbitrary MH message range.
3694 (mh-iterate-on-msg-or-seq): The macro has been extended to work on
3695 a MH range.
3696 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
3697 (mh-subject-to-sequence-threaded, mh-thread-find-msg-subject): Fix
3698 the mh-subject-to-sequence function so that it will work in
3699 threaded folders too.
3700 (mh-tick-add-overlay): Fix a leak of overlays.
3701 (mh-toggle-tick): Ticking, or unticking, messages in the index
3702 folder is propagated to the source folders (closes SF #709664).
3703
3704 * mh-index.el (mh-flists-results-folder, mh-flists-sequence)
3705 (mh-flists-called-flag): New variables to implement searching for
3706 arbitrary sequences.
3707 (mh-index-generate-pretty-name): Updated so that folder names are
3708 generated for flists search that can take any sequence name.
3709 (mh-index-search): Since sequences are now properly maintained the
3710 unseen-flag argument isn't needed and hence removed. Also redoing
3711 a sequence search with "C-u F i" is handled correctly. Finally
3712 the speedbar is updated to reflect the new index folder created.
3713 (mh-index-create-sequences): New function that creates sequences
3714 in the index folder.
3715 (mh-index-matching-source-msgs, mh-index-execute-commands):
3716 Improved so that scan lines for refiled/deleted messages are
3717 removed from the source folders as well.
3718 (mh-index-add-to-sequence, mh-index-delete-from-sequence): New
3719 functions to update sequences in source folder to reflect changes
3720 in index folder.
3721 (mh-index-quote-for-shell): A utility function to that quotes
3722 characters with special meaning to /bin/sh.
3723 (mh-flists-execute, mh-index-new-messages): Updated to search for
3724 arbitrary sequences (closes SF #718833).
3725
3726 * mh-loaddefs.el: Regenerated.
3727
37282003-04-25 Bill Wohler <wohler@newt.com>
3729
3730 * mh-customize.el (mh-kill-folder-suppress-prompt-hook): New hook
3731 used by mh-kill-folder to suppress the prompt.
3732
3733 * mh-funcs.el (mh-kill-folder): Suppress prompt not if
3734 mh-index-data is non-nil, but if any functions in
3735 mh-kill-folder-suppress-prompt-hook return non-nil.
3736
3737 * mh-index.el (mh-index-p): New function with returns non-nil if
3738 the current folder was generated by an index search for use by
3739 mh-kill-folder-suppress-prompt-hook
3740
3741 * mh-unit.el (mh-unit): Commented out lm-verify step until code
3742 updated to handle split Copyright lines.
3743
3744 * mh-e.el (mh-version): Set to 7.3+cvs.
1983467e 3745
924df208
BW
37462003-04-24 Bill Wohler <wohler@newt.com>
3747
e495eaec 3748 Released MH-E version 7.3.
924df208
BW
3749
3750 * MH-E-NEWS, README: Updated for release 7.3.
3751
3752 * mh-e.el (Version, mh-version): Updated for release 7.3.
3753
37542003-04-24 Satyaki Das <satyakid@stanford.edu>
3755
3756 * mh-xemacs-compat.el (mh-utils): Require mh-utils at compile
3757 time, since the mh-do-in-xemacs macro is used.
3758
3759 * mh-inc.el (cl): Require cl at compile time since we are using
3760 the loop and setf macros.
3761
37622003-04-24 Satyaki Das <satyakid@stanford.edu>
3763
3764 * mh-unit.el (mh-files): Fix the list of files to check.
3765
37662003-04-24 Bill Wohler <wohler@newt.com>
3767
3768 * ChangeLog: Appended copyright to end of file.
3769
3770 * Makefile: Added copyright and license.
3771
3772 * README: Added copyright.
3773
3774 * import-emacs: Changed copyright from Newt Software to Bill
3775 Wohler and use license from mh-e.el, except that this file is
3776 a part of MH-E, not GNU Emacs.
3777
3778 * mh-alias.el: Updated copyright so that it doesn't wrap upon
3779 advice from Richard Stallman who said to use two-digit years when
3780 they are surrounded by 4-digit years that are in the same century
3781 and to break up copyrights on multiple lines.
3782 * mh-comp.el: Ditto.
3783 * mh-e.el: Ditto.
3784 * mh-funcs.el: Ditto.
3785 * mh-identity.el: Ditto.
3786 * mh-mime.el: Ditto.
3787 * mh-seq.el: Ditto.
3788 * mh-utils.el: Ditto.
3789 * mh-xemacs-compat.el: Ditto.
3790
3791 * mh-unit.el: New file. Unit tests for MH-E. This version merely
3792 runs checkdoc and lm-verify which is useful before releasing the
3793 software. It can and should be expanded to do real unit tests.
3794
37952003-04-22 Mark D Baushke <mdb@gnu.org>
3796
3797 * mh-alias.el: Update Copyright.
3798 * mh-comp.el: Ditto.
3799 * mh-customize.el: Ditto.
3800 * mh-e.el: Ditto.
3801 * mh-funcs.el: Ditto.
3802 * mh-identity.el: Ditto.
3803 * mh-index.el: Ditto.
3804 * mh-mime.el: Ditto.
3805 * mh-pick.el: Ditto.
3806 * mh-seq.el: Ditto.
3807 * mh-speed.el: Ditto.
3808 * mh-utils.el: Ditto.
3809 * mh-xemacs-compat.el: Ditto.
3810
38112003-04-22 Satyaki Das <satyaki@theforce.stanford.edu>
3812
3813 * mh-utils.el (mh-normalize-folder-name): Make the completion
3814 code work properly with XEmacs. This change is neeeded since
3815 split-string behaves differently in XEmacs than it does in GNU
3816 Emacs.
3817 (mh-exec-cmd-error): Add a comment, so that we change it later on.
3818
38192003-04-18 Steve Youngs <youngs@xemacs.org>
3820
3821 * mh-xemacs-icons.el (mh-xemacs-icons): Provide 'mh-xemacs-icons'
3822 not 'mh-xemacs-toolbar'.
3823
3824 * mh-xemacs-compat.el (mh-xemacs-toolbar): Remove require, it's
3825 now called 'mh-xemacs-icons' and it is required from
3826 'mh-customize'.
3827
3828 * mh-customize.el: Require 'mh-xemacs-icons' instead of
e9be14aa 3829 'mh-xemacs-toolbar'.
924df208
BW
3830
38312003-04-17 Peter S Galbraith <psg@debian.org>
3832
3833 * mh-xemacs-icons.el: New file (renamed from mh-xemacs-toolbar.el).
3834 Holds XEmacs icons.
3835
3836 * mh-xemacs-toolbar.el: Deleted.
3837
3838 * Makefile: Incorporate the file renaming.
3839
38402003-04-15 Bill Wohler <wohler@newt.com>
3841
3842 * mh-comp.el (mh-forward): Pass a list of messages into
3843 mh-compose-and-send-mail instead of msg-or-seq.
3844 (mh-annotate-msg): The previous version called
3845 mh-iterate-on-msg-or-seq in the letter buffer. The new version
3846 simply adds the ability to operate on message lists. Thanks to
3847 Satyaki for the fix and suggestion for passing a list from
3848 mh-forward.
3849
38502003-04-14 Bill Wohler <wohler@newt.com>
3851
3852 * mh-comp.el (mh-annotate-msg): Updated to handle msg-or-seq for
3853 mh-forward was passing a msg-or-seq to mh-compose-and-send-mail
3854 which in turn passed the msg-or-seq to mh-annotate-msg. In
3855 particular, forwarding a region failed. Note that the msgs
3856 argument in much of mh-comp.el should really be converted to
3857 msg-or-seq accordingly. But not now, unless something is broken as
3858 was the case here. We can revamp after the release.
3859
38602003-04-13 Bill Wohler <wohler@newt.com>
3861
3862 * mh-funcs.el (mh-kill-folder): Added space after prompt to give
3863 the (yes or no) bit a little elbow room.
3864
3865 * mh-xemacs-toolbar.el: Removing a copyright is a no-no.
3866 Reinstated Steve's copyright.
3867
38682003-04-12 Satyaki Das <satyaki@theforce.stanford.edu>
3869
3870 * mh-utils.el (mh-do-in-gnu-emacs, mh-do-in-xemacs): Add
3871 indentation hooks for the macros.
3872
38732003-04-11 Bill Wohler <wohler@newt.com>
3874
3875 * mh-alias.el, mh-comp.el, mh-customize.el, mh-funcs.el,
3876 mh-identity.el, mh-inc.el, mh-index.el, mh-junk.el, mh-utils.el:
3877 Merged in changes from CVS GNU Emacs. These included the removal
3878 of trailing whitespace.
3879
3880 * mh-customize.el: The "anti-entropy" check-in. Moved groups
3881 around slightly to reflect commentary. Moved defcustoms around
3882 to preserve alphabetization. Big diff, little content.
3883 (mh-xemacs-use-toolbar-flag): Doc fix.
3884 (mh-xemacs-toolbar-position): Fixed typo in docstring.
3885 (mh-default-folder-list): Updated docstring to reflect new Check
3886 Recipient tag. Also, set type of Address to regexp.
3887 (mh-x-mailer-string): Moved to mh-comp.el where it is used.
3888
3889 * mh-comp.el (mh-x-mailer-string): Moved here from customize.el.
3890 Not quite sure how it got to mh-customize.el in the first place.
3891
3892 * mh-e.el (mh-folder-folder-menu): Added Folder -> View New
3893 Messages menu item.
3894
3895 * mh-utils.el (mh-show-folder-menu): Ditto.
3896
3897 * mh-inc.el: Added Change Log comment (lm-verify fix).
3898
3899 * mh-index.el (mh-index-search): Added documentation about prefix
3900 argument for users, in addition to documentation for programmers.
3901
3902 * mh-mime.el (mh-edit-mhn, mh-edit-mhn, mh-mml-to-mime): Docstring
3903 fixes germaine to the change whereby we now check for MIME
3904 directives before sending.
3905
3906 * mh-xemacs-toolbar.el: Fixed copyright. Added Change Log comment
3907 (lm-verify fix). Added standard MH-E local variables. Removed
3908 time-stamp stuff.
3909
39102003-04-11 Satyaki Das <satyaki@theforce.stanford.edu>
3911
3912 * mh-seq.el (mh-iterate-on-msg-or-seq): Add a missed comma.
3913
39142003-04-10 Satyaki Das <satyaki@theforce.stanford.edu>
3915
3916 * mh-index.el (mh-index-visit-folder): Prompt before reusing
3917 existing folder buffer.
3918
3919 * mh-xemacs-toolbar.el (require): Require mh-utils at compile
3920 time to avoid compilation error when doing "make bootstrap" in
3921 CVS Emacs.
3922
3923 * mh-inc.el (mh-inc-spool-list): Declare it so that a compile
3924 time warning is avoided when doing "make bootstrap" in CVS Emacs.
3925
39262003-04-10 Peter S Galbraith <psg@debian.org>
3927
3928 * mh-inc.el (mh-inc-spool-generator): Changed to a defun instead
3929 of a defmacro, applying Satyaki's patch.
3930 (mh-inc-spool-def-key): same.
3931 (mh-inc-spool-make): same.
3932
3933 * mh-utils.el: define-key "I" in mh-show-mode-map for
3934 mh-inc-spool-map.
3935
3936 * mh-comp.el (mh-modify-header-field): Remove debug message.
3937
39382003-04-10 Peter S Galbraith <psg@debian.org>
3939
3940 * mh-inc.el (mh-inc-spool-map-help): Default to nil.
3941 (mh-inc-spool-map): Make "?" key display message when
3942 `mh-inc-spool-map-help' is nil (instead of mh-inc-spool-map-help
3943 containing the message).
3944
3945 * mh-e.el: require mh-inc.el
3946 * mh-e.el: define-key "I" in mh-folder-mode-map for mh-inc-spool-map.
3947 (mh-help-messages): Add help string for "I" key.
3948
39492003-04-09 Peter S Galbraith <psg@debian.org>
3950
3951 * mh-inc.el: New file. New feature to `inc' mail from various
3952 spool files into different folders.
3953
3954 * mh-loaddefs.el: Regenerate for mh-inc's mh-inc-spool-list-set.
3955
3956 * Makefile (MH-E-IMG): Add highlight icon.
3957 (MH-E-SRC): Add mh-inc.el file.
3958
3959 * mh-customize.el (mh-inc-spool-list): New variable for new
3960 feature to `inc' mail from various spool files into different
3961 folders.
3962
39632003-04-09 Satyaki Das <satyaki@theforce.stanford.edu>
3964
3965 * mh-utils.el (mh-mail-delivery-buffer): Add a defconst for
3966 mh-mail-delivery-buffer.
3967
3968 * mh-comp.el (mh-send-letter): Use mh-mail-delivery-buffer.
3969
3970 * mh-mime.el (mh-small-image-p): Add mh-funcall-if-exists to
3971 avoid compiler warning in GNU Emacs.
3972
39732003-04-08 Satyaki Das <satyaki@theforce.stanford.edu>
3974
3975 * mh-mime.el (mh-small-image-p): Make the function slightly more
3976 error-resistant in XEmacs.
3977
3978 * mh-seq.el (mh-narrow-to-seq, mh-widen): Update tool-bar-map in
3979 the show buffer if needed. This allows us to display the widen
3980 button in the show buffer only when the folder is narrowed.
3981
3982 * mh-customize.el (mh-tool-bar-define): Changed so that a
3983 separate tool-bar-map is used in show-mode when folder is
3984 narrowed to a sequence.
3985
39862003-04-08 Satyaki Das <satyaki@theforce.stanford.edu>
3987
3988 * mh-seq.el (mh-iterate-on-msg-or-seq): Reinstate the use of
3989 make-symbol since using gensym causes compiler warnings in CVS
3990 Emacs.
3991
39922003-04-08 Bill Wohler <wohler@newt.com>
3993
3994 * mh-comp.el (mh-forward): Function didn't handle a region of
3995 messages. Use new function mh-msg-or-seq-to-msg-list to get a list
3996 of messages in all circumstances. Also, use mh-coalesce-msg-list
3997 on message list before submitting to forw since this should always
3998 be done when calling a program to reduce the chance of exceeding
3999 command-line limits.
4000
4001 * mh-seq.el (mh-iterate-on-msg-or-seq): Backed out previous
4002 change. A nil msg-or-seq should mean no messages, and Satyaki is
4003 going to use gensym instead of make-symbol.
4004 (mh-msg-or-seq-to-msg-list): New function to convert a msg-or-seq
4005 to a list of message numbers.
4006
4007 * mh-e.el (mh-coalesce-msg-list): Touched up the docstring a
4008 little.
4009
4010 * mh-funcs.el (mh-print-msg): Can now print regions, message
4011 lists, sequences and, of course, single messages. This version
4012 works a little differently from the old version. Instead of
4013 calling mhl | lpr once on all messages, mhl | lpr is called once
4014 per message in order to put each message's number in the header.
4015 Thanks to Satyaki for some code and ideas.
4016
4017 * mh-seq.el (mh-iterate-on-msg-or-seq): The argument msg-or-seq
4018 can now be nil which means the current message. Make local symbols
4019 so that local variables don't step on user's symbols (the msgs
4020 symbol got me).
4021
40222003-04-06 Bill Wohler <wohler@newt.com>
4023
4024 * mh-comp.el (mh-forward): Updated docstrings to indicate that a
4025 list of messages is acceptable as well.
4026
4027 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion, mh-refile-msg)
4028 (mh-undo, mh-notate-user-sequences, mh-delete-msg-from-seq): Ditto.
4029
4030 * mh-funcs.el (mh-copy-msg, mh-print-msg): Ditto.
4031
4032 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
4033
4034 * mh-seq.el (mh-put-msg-in-seq, mh-iterate-on-msg-or-seq)
4035 (mh-interactive-msg-or-seq): Ditto.
4036
40372003-04-06 Satyaki Das <satyaki@theforce.stanford.edu>
4038
4039 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Call
4040 mh-refile-a-msg and mh-delete-a-msg with nil as the message
4041 number since that is more efficient.
4042
4043 * mh-seq.el (mh-iterate-on-msg-or-seq): Extended so that it will
4044 handle lists of messages numbers as well.
4045 (mh-put-msg-in-seq): Use mh-iterate-on-msg-or-seq to simplify the
4046 function.
4047
4048 * mh-funcs.el (mh-copy-msg): Same as above.
4049
4050 * mh-e.el (mh-refile-msg): Make it more efficient. Using nil in
4051 mh-refile-a-msg avoids needing to re-search-forward to that
4052 message.
4053 (mh-undo): Fix typo in interactive spec.
4054 (mh-notate-user-sequences): Generalize the function to take a
4055 msg-or-seq as argument.
4056 (mh-delete-msg-from-seq): Extend the function so that it is now
4057 able to subtract messages belonging in one sequence from another.
4058 (mh-undo): Unify the region and sequence handling. The message
4059 number branch of the function does extra stuff, so we can't merge
4060 that in.
4061
40622003-04-06 Bill Wohler <wohler@newt.com>
4063
4064 * mh-comp.el (mh-forward): Use mh-interactive-msg-or-seq. Inserted
4065 consistent verbiage in docstring for msg-or-seq.
4066 (mh-reply): Don't mention default in opening line in all
4067 docstrings.
4068
4069 * mh-e.el (mh-delete-msg, mh-refile-msg)
4070 (mh-undo, mh-delete-msg-from-seq): Use mh-interactive-msg-or-seq.
4071 Inserted consistent verbiage in docstring for msg-or-seq. In
4072 mh-delete-msg-from-seq, renamed msg-or-region to msg-or-seq.
4073
4074 * mh-funcs.el (mh-copy-msg, mh-print-msg): Use
4075 mh-interactive-msg-or-seq. Inserted consistent verbiage in
4076 docstring for msg-or-seq.
4077
4078 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Inserted
4079 consistent verbiage in docstring for msg-or-seq.
4080
4081 * mh-seq.el (mh-msg-is-in-seq): Don't mention default in opening
4082 line in all docstrings.
4083 (mh-put-msg-in-seq): Use mh-interactive-msg-or-seq. Inserted
4084 consistent verbiage in docstring for msg-or-seq.
4085
4086 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion, mh-refile-msg):
4087 Rewritten to use new mh-interactive-msg-or-seq function and
4088 mh-iterate-on-msg-or-seq macro. mh-delete-msg-no-motion gained the
4089 ability to operate on regions.
4090
4091 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Rewritten to
4092 use new mh-interactive-msg-or-seq function and
4093 mh-iterate-on-msg-or-seq macro thereby gaining the ability to
4094 operate on sequences or regions.
4095
4096 * mh-seq.el (mh-iterate-on-msg-or-seq): New macro to execute code
4097 on a message, a region of messages, or a sequence. This macro
4098 should be in all functions that operate on messages to provide a
4099 uniform interface.
4100 (mh-interactive-msg-or-seq): New function used in interactive
4101 calls to obtain a message number, region, or sequence. This
4102 function should be in all functions that operate on messages to
4103 provide a uniform interface.
4104
4105 * mh-utils.el (with-mh-folder-updating, mh-in-show-buffer): Use
4106 'defun lisp-indent-hook property instead of 1 to fix indentation
4107 of these macros.
4108
41092003-04-05 Peter S Galbraith <psg@debian.org>
4110
4111 * mh-loaddefs.el: Regenerated.
4112 * mh-funcs.el (mh-ephem-message): autoload.
4113
41142003-04-04 Peter S Galbraith <psg@debian.org>
4115
4116 * mh-e.el (mh-folder-from-address): Minor Fix. Wrong ending of
4117 `when' block.
4118
41192003-04-04 Satyaki Das <satyaki@theforce.stanford.edu>
4120
4121 * mh-mime.el (mh-mml-directive-present-p): The regexp has been
4122 modified to recognize directives to encrypt/sign messages.
4123
41242003-04-03 Mark D. Baushke <mdb@gnu.org>
4125
4126 * mh-e.el (mh-folder-from-address): E-mail messages missing the
4127 To: field, but which have a Cc: field should also be handled.
4128
41292003-04-03 Bill Wohler <wohler@newt.com>
4130
4131 * mh-e.el (mh-inc-folder): Modified the prompt text to read
4132 better.
4133
4134 * mh-comp.el (mh-forward): Deleted local variable `compose'.
4135 Deleted obsolete setting of mh-{mmh|mml}-compose-insert-flag.
4136 (mh-letter-menu): Use mh-{mmh|mml}-directive-present-p instead of
4137 obsolete. mh-{mmh|mml}-compose-insert-flag.
4138 (mh-letter-mode): Deleted obsolete setting of
4139 mh-{mmh|mml}-compose-insert-flag.
4140 (mh-send-letter): This function now automatically runs the
4141 directive-to-MIME conversion if any directives are detected,
4142 rather than relying on the unreliable
4143 mh-{mmh|mml}-compose-insert-flag variables. Updated docstring
4144 accordingly.
4145
4146 * mh-identity.el (mh-insert-identity): Use
4147 mh-{mmh|mml}-directive-present-p instead of obsolete.
4148 mh-{mmh|mml}-compose-insert-flag.
4149
4150 * mh-loaddefs.el: Regenerated.
4151
4152 * mh-mime.el (mh-mhn-compose-type, mh-mhn-compose-external-type)
4153 (mh-mhn-compose-forw, mh-edit-mhn, mh-mml-to-mime)
4154 (mh-mml-forward-message, mh-mml-attach-file)
4155 (mh-mml-secure-message-sign-pgpmime)
4156 (mh-mml-secure-message-encrypt-pgpmime): Deleted obsolete setting
4157 of mh-{mmh|mml}-compose-insert-flag.
4158 (mh-mml-directive-present-p): Checkdoc fix.
4159
4160 * mh-utils.el (mh-mhn-compose-insert-flag,
4161 mh-mml-compose-insert-flag): Deleted. Replaced by
4162 mh-{mhn|mml}-directive-present-p.
4163
41642003-04-03 Mark D. Baushke <mdb@gnu.org>
4165
4166 * mh-e.el (mh-folder-from-address): Fix minor problem with To:
4167 address processing.
4168
4169 * mh-e.el (mh-folder-from-address): Bugfix match ?+ character not
4170 a "?+" string.
4171
41722003-04-03 Peter S Galbraith <psg@debian.org>
4173
4174 * mh-e.el (mh-inc-folder): Add second optional argument for the
4175 folder to inc new mail into instead of mh-inbox.
4176
41772003-04-03 Peter S Galbraith <psg@debian.org>
4178
4179 * mh-e.el (mh-folder-from-address): The first match found in
4180 `mh-default-folder-list' is used.
4181
4182 * mh-customize.el (mh-default-folder-list): Tweak docs
4183
41842003-04-03 Satyaki Das <satyaki@theforce.stanford.edu>
4185
4186 * mh-loaddefs.el: Regenerated.
4187
4188 * mh-mime.el (mh-mhn-directive-present-p): New function to test if
4189 a MHN directive is present in the current buffer.
4190 (mh-mml-directive-present-p): New function to test if a MML
4191 directive is present in the current buffer.
4192
4193 * mh-comp.el (mh-letter-mode): Originally this function checked if
4194 a #forw directive was present and set mh-mhn-compose-insert-flag
4195 to t. The modification generalizes this test so that one of the
4196 variables mh-{mml|mhn}-compose-insert-flag will get set if we have
4197 any sort of MHN or MML directive is already present.
4198
4199 * mh-seq.el (tool-bar-map): Add a defvar to avoid compiler
4200 warnings in CVS version of GNU Emacs.
4201
4202 * mh-utils.el (tool-bar-map): Same as above.
4203
4204 * mh-e.el (tool-bar-map): same as above.
4205
42062003-04-02 Satyaki Das <satyaki@theforce.stanford.edu>
4207
4208 * mh-xemacs-toolbar.el (mh-xemacs-toolbar-toggle-tick-icon):
4209 Change color to match mh-folder-tick-face.
4210
4211 * highlight.xpm: Same as above.
4212
42132003-04-02 Peter S Galbraith <psg@debian.org>
4214
4215 * mh-e.el (mh-folder-from-address): Check `mh-default-folder-list'
4216 for cases against the recipient instead of the originator.
4217
4218 * mh-customize.el (mh-default-folder-list): Add extra boolean flag
4219 to conditionally check the recipient address instead of the
4220 originator.
4221
42222003-04-02 Peter S Galbraith <psg@debian.org>
4223
4224 * mh-customize.el (mh-folder-tick-face): Change tick highlight
4225 face to a background yellow-green, as suggested by Bill.
4226
42272003-04-01 Peter S Galbraith <psg@debian.org>
4228
4229 * highlight.xpm: New icon for mh-toggle-tick.
4230
4231 * mh-xemacs-toolbar.el (mh-xemacs-icon-map): Add tool-bar entry
4232 for mh-toggle-tick.
4233 (mh-xemacs-toolbar-toggle-tick-icon): New constant.
4234
4235 * mh-customize.el: Add tool-bar entry for mh-toggle-tick.
4236
42372003-03-31 Satyaki Das <satyaki@theforce.stanford.edu>
4238
4239 * mh-loaddefs.el: Regenerated.
4240
4241 * mh-utils.el (mh-show-narrow-to-tick, mh-show-limit-map)
4242 (mh-show-sequence-menu): Add new interactive function
4243 mh-show-narrow-to-tick callable from the show buffer and arrange
4244 for a key binding and a menu entry.
4245
4246 * mh-seq.el (mh-narrow-to-tick): New interactive function that
4247 narrows to the tick sequence.
4248
4249 * mh-e.el (mh-folder-sequence-menu, mh-limit-map): Arrange for a
4250 key binding and a menu entry for mh-narrow-to-tick.
4251
4252 * mh-comp.el (mh-letter-mode): Enable undo since we could be
4253 reusing a show buffer where undo is disabled (closes SF #712777).
4254
42552003-03-31 Peter S Galbraith <psg@debian.org>
4256
4257 * mh-e.el (mh-folder-sequence-menu): Add entry for mh-toggle-tick.
4258
4259 * mh-utils.el (mh-show-sequence-menu): Add entry for
4260 mh-show-toggle-tick.
4261
42622003-03-28 Satyaki Das <satyaki@theforce.stanford.edu>
4263
4264 * mh-seq.el (mh-delete-seq): If the tick sequence is killed with
4265 "S k" then the highlighting wasn't getting removed. The change
4266 fixes this.
4267
42682003-03-27 Satyaki Das <satyaki@theforce.stanford.edu>
4269
4270 * mh-e.el (mh-notate-user-sequences): Extend it so that only the
4271 messages in a part of the folder are notated.
4272 (mh-delete-msg-from-seq): Extend it so that it will delete all
4273 messages in the marked region.
4274 (mh-delete-a-msg-from-seq): New function that deletes a single
4275 message from a sequence.
4276 (mh-clear-text-properties): If there is a ticked unseen message
4277 and the message is removed from the unseen list with "S d" then
4278 unticking the message doesn't change the highlight. This change
4279 fixes this.
4280
42812003-03-27 Peter S Galbraith <psg@debian.org>
4282
4283 * mh-xemacs-toolbar.el (mh-xemacs-toolbar-*-icon): Use original
4284 24x24 icons, changing background only.
4285
42862003-03-27 Satyaki Das <satyaki@theforce.stanford.edu>
4287
4288 * mh-junk.el (mh-spamassassin-identify-spammers): Remove unused
4289 variable buffer-exists.
4290 (mh-spamassassin-identify-spammers): Remove unused variable user.
4291
4292 * mh-customize.el (mh-junk-choose): Tweak it to remove XEmacs
4293 compiler warning.
4294
42952003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
4296
4297 * mh-seq.el (mh-thread-print-scan-lines): Handling of a boundary
4298 condition when messages from the last source folder had been
4299 removed was incorrect. This caused a folder header to appear
4300 without any messages listed under it. This change fixes this.
4301 (mh-thread-forget-message): Remove the entry from the scan line
4302 table as well. This is needed for proper display of threaded view
4303 of index folders.
4304
43052003-03-26 Bill Wohler <wohler@newt.com>
4306
4307 * Makefile, README, import-emacs, mh-alias.el, mh-comp.el,
4308 mh-customize.el, mh-e.el, mh-funcs.el, mh-identity.el,
4309 mh-index.el, mh-loaddefs.el, mh-mime.el, mh-pick.el, mh-seq.el,
4310 mh-speed.el, mh-utils.el, mh-xemacs-compat.el,
4311 mh-xemacs-toolbar.el: Removed RCS keywords per Emacs conventions
4312 (closes SF #680731).
4313
4314
43152003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
4316
4317 * mh-index.el: Fix commentary to mention that mairix is supported
4318 as well.
4319
4320 * mh-loaddefs.el: Regenerated.
4321
4322 * mh-utils.el (mh-show-junk-blacklist, mh-show-junk-whitelist):
4323 Interactive functions callable from the show buffer.
4324 (mh-show-junk-map): Key bindings in show mode.
4325
4326 * mh-e.el (mh-junk-map): Key bindings to call spam program.
4327 (mh-help-messages): Update help text.
4328
4329 * mh-customize.el (mh-junk): New customization group for spam
4330 program interface.
4331 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose):
4332 Functions and variables that decide which junk program is used.
4333 (mh-junk-program, mh-junk-mail-folder): User customizable
4334 variables that control the choice of spam program and the action
4335 performed on received spam.
4336
4337 * Makefile (MH-E-SRC): Add mh-junk.el.
4338
43392003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
4340
4341 * mh-loaddefs.el: Regenerated.
4342
4343 * mh-utils.el (mh-show-toggle-tick, mh-show-mode-map): New
4344 interactive function callable from the show buffer and a key
4345 binding for it.
4346
4347 * mh-seq.el (mh-delete-seq): Remove highlight from tick sequence.
4348 (mh-put-msg-in-seq): Disable adding messages to tick sequence.
4349 (mh-widen): Reset mh-tick-seq-changed-when-narrowed-flag.
4350 (mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick)
4351 (mh-toggle-tick): New functions to highlight/unhighlight tick
4352 sequence and the interactive function that is used to toggle
4353 tick.
4354
4355 * mh-e.el (mh-tick-seq-changed-when-narrowed-flag): New variable
4356 that remembers if we are narrowed to the tick sequence. In that
4357 case the highlighting isn't shown, since it adds no extra info.
4358 (mh-folder-mode): Initialize mh-tick-seq-changed-when-narrowed-flag.
4359 (mh-notate-user-sequences): Notate the tick sequence.
4360 (mh-internal-seq): Treat mh-tick-seq like an internal sequence.
4361 (mh-delete-msg-from-seq): Don't allow deletion from tick sequence.
4362 (mh-folder-mode-map): Add key binding for "'"
4363
4364 * mh-customize.el (mh-tick-seq, mh-folder-tick-face): New
4365 customizable variables that contain the name of the tick sequence
4366 and the face to use to highlight it.
4367
43682003-03-25 Satyaki Das <satyaki@theforce.stanford.edu>
4369
4370 * mh-loaddefs.el: Regenerated.
4371
4372 * mh-seq.el (mh-thread-print-scan-lines): New function which
4373 prints out thread tree. It maintains the original folder info if
4374 the folder was created by index search (closes SF #709672).
4375 (mh-copy-seq-to-eob, mh-thread-inc, mh-thread-folder): Use
4376 factored out function mh-thread-print-scan-lines.
4377 (mh-toggle-threads): Since threading is allowed in index folders
4378 there can be lines in the folder which aren't valid message scan
4379 lines. So it is OK for mh-get-msg-num to fail once in a while.
4380
4381 * mh-index.el (mh-index-update-maps): Make the parsing of messages
4382 that need to annotated with the X-MHE-Checksum header more robust.
4383 If the search yielded no results then an error was being produced.
4384 (mh-index-search): Enable automatic threading of index folders if
4385 mh-show-threads-flag is non-nil (closes SF #709667).
4386 (mh-index-next-folder): Relax error checking since index folder
4387 can be threaded while the source folder info is visible.
4388 (mh-index-group-by-folder): New function that is used in
4389 mh-thread-folder to keep source folder info visible during
4390 threading.
4391
43922003-03-25 Bill Wohler <wohler@newt.com>
4393
4394 * mh-loaddefs.el: Regenerated.
4395
4396 * mh-customize.el (mh-index-new-messages-folders): New variable
4397 that controls which folders "F n (mh-index-new-messages)"
4398 accesses. Was mh-flists-search-folders.
4399
4400 * mh-index.el (mh-flists-search-folders): Still used internally,
4401 but users now use new option mh-index-new-messages-folders.
4402 Removed documentation since to avoid duplication with
4403 mh-index-new-messages-folders.
4404 (mh-flists-recursive-search-flag): Deleted. Use
4405 mh-recursive-folders-flag instead.
4406 (mh-flists-execute): Updated docs to specify which global
4407 variables are used. Use mh-recursive-folders-flag instead of
4408 mh-flists-recursive-search-flag.
4409 (mh-index-new-messages): Edited doc, and refer to new option
4410 mh-index-new-messages-folders. Ditto within code. Don't need to
4411 prepend + to folder name as flists does that for us. Use
4412
44132003-03-24 Satyaki Das <satyaki@theforce.stanford.edu>
4414
4415 * mh-e.el (mh-refile-msg): Add optional argument that controls
4416 whether mh-last-destination-folder is updated or not.
4417
44182003-03-22 Satyaki Das <satyaki@theforce.stanford.edu>
4419
4420 * mh-customize.el (mh-tool-bar-define): Fix a problem in the
4421 XEmacs version which caused the show mode toolbar to have the
4422 buttons in the reverse order. Also the add-hooks are no longer
4423 needed since mh-toolbar-init is called in the appropriate modes.
4424
4425 * mh-comp.el (mh-letter-mode): Call mh-toolbar-init in XEmacs to
4426 initialize toolbar.
4427
4428 * mh-utils.el (mh-show-mode): Same as above.
4429
4430 * mh-e.el (mh-folder-mode): Same as above.
4431
44322003-03-21 Satyaki Das <satyaki@theforce.stanford.edu>
4433
4434 * mh-utils.el (mh-exec-cmd-env-daemon): New function which
4435 executes a command asynchronously with its own environment.
4436
4437 * mh-comp.el (mh-redistribute): The function has been modified so
4438 that /bin/sh isn't used to run send. It has also been refactored
4439 so that the same code isn't repeated.
4440
44412003-03-21 Bill Wohler <wohler@newt.com>
4442
4443 * mh-customize.el (mh-invisible-header-fields): Added X-Bogosity
4444 for bogofilter.
4445
44462003-03-21 Satyaki Das <satyaki@theforce.stanford.edu>
4447
4448 * mh-loaddefs.el: Regenerated.
4449
4450 * mh-xemacs-toolbar.el: Remove the code since that gets generated
4451 when mh-tool-bar-define is expanded.
4452 (mh-xemacs-icon-map): A alist to map GNU Emacs icon names to the
4453 actual icons to be used in XEmacs. This is used in
4454 mh-tool-bar-define.
4455
4456 * mh-customize.el (mh-toolbar): Use this group in XEmacs as well.
4457 (mh-tool-bar-item-*): All these constants have been removed since
4458 they aren't needed in the new scheme.
4459 (mh-tool-bar-reply-3-buttons-flag): This variable has been
4460 removed.
4461 (mh-tool-bar-search-function): This is now used in XEmacs as well.
4462 (mh-tool-bar-folder-set, mh-tool-bar-folder-buttons-set)
4463 (mh-tool-bar-letter-buttons-set, mh-tool-bar-show-set)
4464 (mh-tool-bar-letter-set): These functions aren't defined at the
4465 top level any more.
4466 (mh-tool-bar-reply-generator): A macro to generate the required
4467 functions for the three reply buttons.
4468 (mh-tool-bar-search, mh-tool-bar-customize)
4469 (mh-tool-bar-folder-help, mh-tool-bar-letter-help)
4470 (mh-tool-bar-reply-from, mh-show-tool-bar-reply-from)
4471 (mh-tool-bar-reply-to, mh-show-tool-bar-reply-to)
4472 (mh-tool-bar-reply-all, mh-show-tool-bar-reply-all): New
4473 interactive functions that are called when tool bar buttons are
4474 clicked.
4475 (mh-xemacs-use-toolbar-flag, mh-xemacs-toolbar-position):
4476 Additional customizable variables that are present only for
4477 XEmacs.
4478 (mh-tool-bar-define): A macro that generates the required code
4479 for GNU Emacs and XEmacs tool bar.
4480 (mh-tool-bar-define): Define the MH-E tool bar.
4481
44822003-03-17 Satyaki Das <satyaki@theforce.stanford.edu>
4483
4484 * mh-seq.el (mh-notate-cur): Notate current message only if it
4485 hasn't been marked for deletion or refiling.
4486
44872003-03-15 Bill Wohler <wohler@newt.com>
4488
4489 * mh-customize.el (mh-invisible-header-fields): Added
4490 X-Spam-Checker-Version.
4491 (mh-auto-fields-list): checkdoc fix.
4492
44932003-03-12 Satyaki Das <satyaki@theforce.stanford.edu>
4494
4495 * mh-index.el (mh-index-new-messages): If the destination folder
4496 where the unseen messages are supposed to be copied to was
4497 already present, but MH-E doesn't have it open, then a new folder
4498 was being created. The change fixes this.
4499 (mh-index-update-unseen, mh-flists-recursive-search-flag): Fix
4500 checkdoc warnings.
4501
4502 * mh-loaddefs.el: Regenerated.
4503
45042003-03-11 Satyaki Das <satyaki@theforce.stanford.edu>
4505
4506 * mh-index.el (mh-flists-results-folder): Subfolder under
4507 +mhe-index where the results of the flists call is put.
4508 (mh-index-generate-pretty-name): Make sure that normal index
4509 searching will never use the folder reserved for the flists
4510 results.
4511 (mh-index-search): Add an extra parameter that marks all the
4512 messages in the index folder to the unseen sequence.
4513 (mh-index-update-unseen): Function to keep unseen sequence of
4514 index folder synced with the actual folders from where the
4515 messages were copied. This works only if the unseen messages are
4516 displayed with mh-show. Killing the unseen sequence in the index
4517 folder or adding/removing messages to it doesn't change the
4518 unseen sequence in the source folders yet.
4519 (mh-flists-search-folders): Variable that decides the folders on
4520 which flists is run.
4521 (mh-flists-recursive-search-flag): If non-nil, flists is passed
4522 the -recurse option.
4523 (mh-flists-execute): Function which uses /bin/sh to execute
4524 flists and then print out the list of message files that match.
4525 (mh-index-new-messages): New interactive function which searches
4526 for messages in the unseen sequence (closes SF #701756).
4527
4528 * mh-utils.el (mh-show-folder-map): Add binding for
4529 mh-index-new-messages.
4530 (mh-show-msg): Update the unseen sequence in the source folder.
4531
4532 * mh-e.el (mh-folder-font-lock-unseen): The function assumes that
4533 the end of buffer is reached when there isn't a valid scan line
4534 on the current line. This doesn't work in the index folder since
4535 we have lines containing the folder name and empty lines in
4536 between the actual scan lines. The modification removes this
4537 assumption.
4538 (mh-folder-map): Add key binding for "Fn"
4539
4540 * mh-seq.el (mh-iterate-on-messages-in-region): If the point is
4541 not at the beginning of the line, then the first message in the
4542 region would be missed. The fix avoids this.
4543
4544 * mh-mime.el (mh-inline-vcard-p): Don't try to inline vcards if
4545 we don't have the right libraries.
4546
45472003-03-10 Satyaki Das <satyaki@theforce.stanford.edu>
4548
4549 * mh-e.el (mh-next-undeleted-msg, mh-previous-undeleted-msg)
4550 (mh-next-msg): Add optional argument wait-after-complaining-flag.
4551 If non-nil and there are no undeleted messages after (or before)
4552 the current one, then pause for a second after printing out the
4553 message.
4554 (mh-refile-or-write-again): Modify call to mh-next-msg to use the
4555 wait-after-complaining-flag.
4556
45572003-03-10 Satyaki Das <satyaki@theforce.stanford.edu>
4558
4559 * mh-e.el (mh-refile-or-write-again): If mh-next-msg fails to find
4560 a message to go to it prints out a diagnostic, which overwrites
4561 the diagnostic about the folder the message was refiled to. The
4562 change fixes this.
4563
45642003-03-09 Satyaki Das <satyaki@theforce.stanford.edu>
4565
4566 * mh-seq.el (mh-widen, mh-narrow-to-seq): Update
4567 mh-narrowed-to-seq before notating sequences. This is a bit
4568 helpful for mh-tick.el.
4569 (mh-put-msg-in-seq): Fix a minor bug. No internal sequence should
4570 be notated -- the original code was doing the right thing only for
4571 the "unseen" sequence.
4572
4573 * mh-index.el (mh-index-choose): Add autoload cookie for
4574 mh-index-choose. This is needed for GNU Emacs 20.5.
4575
4576 * mh-loaddefs.el: Regenerated.
4577
45782003-03-09 Bill Wohler <wohler@newt.com>
4579
4580 * mh-mime.el (mh-display-smileys): This function originally had a
4581 test to see if font-lock-maximum-size was bound, but this was
4582 recently removed. The test was put in for a reason; if
4583 font-lock-maximum-size isn't bound, void-variable errors would
4584 ensue. I put the bound test back in.
4585
45862003-03-08 Steve Youngs <youngs@xemacs.org>
4587
4588 * mh-mime.el (mh-mime-security-button-map): Use 'mh-push-button'
4589 in XEmacs as well.
4590
45912003-03-07 Satyaki Das <satyaki@theforce.stanford.edu>
4592
4593 * mh-xemacs-toolbar.el: Declare a whole bunch of stuff for GNU
4594 Emacs, so that we don't get so many compiler warnings. Also
4595 surround calls to set-specifier and toolbar-make-button-list with
4596 mh-funcall-if-exists. Maybe GNU Emacs shouldn't try to compile
4597 this file in the first place.
4598
4599 * mh-xemacs-compat.el (mh-modeline-glyph): Declare it within
4600 mh-do-in-xemacs to avoid compiler warning in GNU Emacs.
4601 (mh-xemacs-push-button): Removed.
4602
4603 * mh-mime.el (mh-mime-button-map): Use the generalized
4604 mh-push-button function.
4605 (mh-push-button): Enhance it so that it works on XEmacs too.
4606
46072003-03-08 Steve Youngs <youngs@xemacs.org>
4608
4609 * mh-xemacs-compat.el (mh-modeline-logo): New constant holding the
4610 modeline image.
4611 (mh-modeline-glyph): Use it.
4612
46132003-03-08 Steve Youngs <youngs@xemacs.org>
4614
4615 * mh-xemacs-toolbar.el: New file that defines and displays a
4616 toolbar in XEmacs.
4617
4618 * mh-xemacs-compat.el (mh-xemacs-toolbar): Require it here.
4619
4620 * Makefile (MH-E-SRC): Add mh-xemacs-toolbar.el.
4621
4622 * mh-customize.el (mh-toolbar):
4623 (mh-tool-bar-letter-buttons):
4624 (mh-tool-bar-letter-buttons-set):
4625 (mh-tool-bar-folder-buttons):
4626 (mh-tool-bar-folder-buttons-set):
4627 (mh-tool-bar-search-function):
4628 (mh-tool-bar-reply-3-buttons-flag):
4629 (mh-tool-bar-item-inc):
4630 (mh-tool-bar-item-save-mime):
4631 (mh-tool-bar-item-prev-msg):
4632 (mh-tool-bar-item-page-msg):
4633 (mh-tool-bar-item-next-msg):
4634 (mh-tool-bar-item-delete):
4635 (mh-tool-bar-item-refile):
4636 (mh-tool-bar-item-undo):
4637 (mh-tool-bar-item-perform):
4638 (mh-tool-bar-item-toggle-show):
4639 (mh-tool-bar-item-reply-from):
4640 (mh-tool-bar-item-reply-to):
4641 (mh-tool-bar-item-reply-all):
4642 (mh-tool-bar-item-reply):
4643 (mh-tool-bar-item-alias):
4644 (mh-tool-bar-item-compose):
4645 (mh-tool-bar-item-rescan):
4646 (mh-tool-bar-item-repack):
4647 (mh-tool-bar-item-search):
4648 (mh-tool-bar-item-visit):
4649 (mh-tool-bar-item-prefs):
4650 (mh-tool-bar-item-help):
4651 (mh-tool-bar-item-widen):
4652 (mh-tool-bar-item-send):
4653 (mh-tool-bar-item-attach):
4654 (mh-tool-bar-item-spell):
4655 (mh-tool-bar-item-save):
4656 (mh-tool-bar-item-undo-op):
4657 (mh-tool-bar-item-kill):
4658 (mh-tool-bar-item-copy):
4659 (mh-tool-bar-item-paste):
4660 (mh-tool-bar-item-kill-draft):
4661 (mh-tool-bar-item-comp-prefs):
4662 The MH-E toolbar for XEmacs is defined differently from the
4663 GNU/Emacs version, so only define these if we're in GNU/Emacs.
4664 XEmacs doesn't need to see them and it's always good to cut down
4665 on pollution.
4666
46672003-03-08 Steve Youngs <youngs@xemacs.org>
4668
4669 * mh-mime.el (mh-mime-button-map): Bind the 2nd mouse button to
4670 `mh-xemacs-push-button' in XEmacs.
4671 (mh-mime-security-button-map): Ditto.
4672
4673 * mh-xemacs-compat.el: Shush the byte-compiler.
4674 (mh-xemacs-push-button): New function to make MIME buttons work in
4675 XEmacs.
4676
46772003-03-08 Steve Youngs <youngs@xemacs.org>
4678
4679 * mh-mime.el (mh-display-emphasis): Don't test
4680 `font-lock-maximum-size' to see if it is bound, just test for a
4681 non-nil value. This variable can have a nil value which makes it
4682 bound and dividing nil by 8 throws an error.
4683 This fixes a bug in MH-E under XEmacs when
4684 `font-lock-maximum-size' is nil that prevented article emphasis
4685 and smiley display which in turn was causing the "Flush changes in
4686 article x y/n" errors.
4687 (mh-display-smileys): Ditto.
4688
46892003-03-08 Steve Youngs <youngs@xemacs.org>
4690
4691 * mh-utils.el (mh-logo-display): Display logo in XEmacs as well.
4692
4693 * mh-xemacs-compat.el (mh-modeline-glyph): New. The MH-E modeline
4694 logo for XEmacs.
4695
46962003-03-06 Satyaki Das <satyaki@theforce.stanford.edu>
4697
4698 * mh-utils.el (mh-allow-root-folder-flag): New global variable
4699 that decides if "+" is an acceptable folder name.
4700 (mh-folder-completion-function): Refine the test for existing
4701 folders to take mh-allow-root-folder-flag into account.
4702 (mh-folder-completing-read, mh-prompt-for-folder): Use the
4703 allow-root-folder-flag argument of mh-prompt-for-folder and add a
4704 similar argument to mh-folder-completing-read.
4705 (mh-exec-cmd-error): Make the function nicer by using
4706 process-environment to pass the environment variable assignments.
4707
47082003-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
4709
4710 * mh-mime.el (mh-push-button): Preserve point in the show buffer
4711 if the mouse is used to expand/contract a button.
4712
4713 * mh-customize.el (mh-x-face-file): Mention X-Image-URL in
4714 documentation.
4715
4716 * mh-comp.el (mh-insert-x-face): Modified to allow insertion of
4717 X-Image-URL header field.
4718
47192003-03-04 Satyaki Das <satyaki@theforce.stanford.edu>
4720
4721 * mh-utils.el (mh-face-display-function): Modified to facilitate
4722 display of X-Image-URL images.
4723 (mh-find-path): Initialize X-Image-URL cache directory.
4724 (mh-x-image-url-cache-canonicalize, mh-x-image-url-fetch-image)
4725 (mh-x-image-scale-and-display, mh-x-image-url-display)
4726 (mh-x-image-display): New functions for X-Image-URL image display
4727 and cache management.
4728
4729 * mh-customize.el (mh-show-use-xface-flag): Add info about
4730 requirements for X-Image-URL display.
4731 (mh-fetch-x-image-url): New customizable variable that controls
4732 fetching of X-Image-URL.
4733
47342003-03-04 Satyaki Das <satyaki@theforce.stanford.edu>
4735
4736 * mh-utils.el (mh-make-local-hook): New macro which works around
4737 API changes in add-hook. Version of GNU Emacs before 21.1 and
4738 XEmacs require a call to make-local-hook and just the LOCAL
4739 argument of add-hook is not sufficient.
4740 (mh-show-mode): Make kill-buffer-hook buffer local.
4741
4742 * mh-e.el (mh-folder-mode): Same as above.
4743
4744 * mh-comp.el (mh-compose-and-send-mail): Same as above.
4745
47462003-03-02 Satyaki Das <satyaki@theforce.stanford.edu>
4747
4748 * mh-mime.el (mh-push-button): Clicking on a MIME button used to
4749 cause the window with the show buffer to be selected. With this
4750 change the selected window doesn't change.
4751
47522003-03-01 Satyaki Das <satyaki@theforce.stanford.edu>
4753
4754 * mh-speed.el (mh-speed-flists): Avoid a potential race condition.
4755 When flists is called manually, or when an unseen message is read,
4756 mh-speed-partial-line was not reinitialized.
4757
4758 * mh-e.el (mh-visit-folder): If mh-visit-folder is used to visit
4759 the folder currently being visited (effectively doing a rescan)
4760 then mh-previous-window-config is erroneously set. The change
4761 fixes this.
4762
4763 * mh-customize.el (mh-index-show-hook): Remove unused variable.
4764
47652003-02-28 Satyaki Das <satyaki@theforce.stanford.edu>
4766
4767 * mh-e.el (mh-scan-folder): Call mh-reset-threads-and-narrowing
4768 only after the user has replied to question. This avoids premature
4769 clearing of the folder.
4770 (mh-rescan-folder, mh-visit-folder): Remove calls to
4771 mh-reset-threads-and-narrowing since it is now called in
4772 mh-scan-folder anyway.
4773
4774 * mh-funcs.el (mh-sort-folder): Same as above.
4775
47762003-02-26 Satyaki Das <satyaki@theforce.stanford.edu>
4777
4778 * mh-alias.el (mh-alias-alist): Change initial value to a symbol,
4779 so that it is different from the empty list, which could also
4780 mean that there are no aliases.
4781 (mh-alias-reload-maybe): Change test so that empty alist of
4782 aliases is properly handled (closes SF #693859).
4783
47842003-02-25 Satyaki Das <satyaki@theforce.stanford.edu>
4785
4786 * mh-mime.el (mh-decode-message-header): The message header could
4787 be encoded, for instance the author's name could contain
4788 characters not in ASCII. This function will decode such header
4789 fields.
4790 (mh-mm-inline-message): Use mh-decode-message-header.
4791
4792 * mh-utils.el (mh-display-msg): Use mh-decode-message-header.
4793 (mh-message-number-width): Use mh-scan-prog instead of "scan".
4794
4795 * mh-loaddefs.el: Regenerated.
4796
47972003-02-24 Satyaki Das <satyaki@theforce.stanford.edu>
4798
4799 * mh-utils.el (mh-truncate-log-buffer): Refine it so that the
4800 function will do the right thing even if called from a buffer
4801 other than mh-log-buffer.
4802
48032003-02-22 Peter S Galbraith <psg@debian.org>
4804
4805 * mh-alias.el (mh-alias-add-alias): Really fix SF #690216.
4806 This functions needs to strip brackets on standalone addresses as
4807 well.
4808
48092003-02-21 Satyaki Das <satyaki@theforce.stanford.edu>
4810
4811 * mh-xemacs-compat.el (replace-regexp-in-string): Remove the
4812 definition since it isn't used any more.
4813
48142003-02-20 Peter S Galbraith <psg@debian.org>
4815
4816 * mh-alias.el (mh-alias-which-file-has-alias): Bug fix. Needed to
4817 specify `noerror' on search.
4818
4819 * mh-alias.el (mh-alias-suggest-alias): Add condition for input
4820 string being an email address in brackets. We need to strip out
4821 the brackets. (closes SF #690216)
4822
48232003-02-20 Satyaki Das <satyaki@theforce.stanford.edu>
4824
4825 * mh-pick.el (mh-search-folder): The function was setting the
4826 global value of the variables mh-current-folder and
4827 mh-previous-window-config. This can lead to problems in code which
4828 assumes that these variables are nil when we aren't in a folder
4829 buffer. So make the variables local before setting them.
4830
48312003-02-19 Satyaki Das <satyaki@theforce.stanford.edu>
4832
4833 * mh-mime.el (mh-mime-display): All the MIME display code has been
4834 wrapped in a condition-case so that if something goes wrong, the
4835 raw message will be displayed.
4836
4837 * mh-funcs.el (mh-undo-folder): Comment out call to sit-for that
4838 seems unnecessary.
4839
4840 * mh-e.el (mh-scan-folder): Messages marked for deletion or
4841 refiling weren't getting annotated properly. The change fixes
4842 this.
4843 (mh-process-or-undo-commands): Change prompt to reflect what
4844 really happens in the code.
4845
48462003-02-18 Satyaki Das <satyaki@theforce.stanford.edu>
4847
4848 * mh-comp.el (mh-folder-expand-at-point): The function
4849 mail-abbrev-complete-alias often returns nil. This had the
4850 unfortunate consequence of always causing an error. The change
4851 fixes this.
4852
4853 * mh-alias.el (mh-alias-canonicalize-suggestion): New function
4854 which obviates the our need replace-regexp-in-string.
4855 (mh-alias-suggest-alias): Use mh-alias-canonicalize-suggestion to
4856 eliminate calls to replace-regexp-in-string. This avoids problems
4857 in Emacs20.
4858
4859 * mh-utils.el (mh-notate): Handle the case when nil is passed as
4860 notation gracefully.
4861 (mh-speed-flists-active-p): New function that returns non-nil if
4862 flists is being used in the speedbar to update message counts.
4863
4864 * mh-seq.el (mh-put-msg-in-seq): Fix a bug which made it
4865 impossible to add messages to the unseen sequence. Also adding
4866 messages to the unseen sequence will now update the speedbar
4867 message counts immediately.
4868
4869 * mh-e.el (mh-get-new-mail, mh-process-commands)
4870 (mh-undefine-sequence): Update speedbar message counts, if the
4871 speedbar is active and is displaying message counts.
4872 (mh-delete-msg-from-seq): In addition to updating message counts,
4873 unhighlight the message so that interactively removing messages
4874 from the unseen sequence makes the bold highlight of unseen
4875 messages in the scan buffer go away.
4876 (mh-clear-text-properties): New function that removes all text
4877 properties from the current scan line.
4878
48792003-02-15 Satyaki Das <satyaki@theforce.stanford.edu>
4880
4881 * mh-utils.el (mh-face-display-function): Wrap call of
4882 insert-image in mh-funcall-if-exists. This avoids a compiler
4883 warning in Emacs20.
4884
4885 * mh-speed.el (mh-speed-flists): Weaken test a bit to avoid
4886 compiler warning in Emacs20.
4887 (mh-speedbar-change-expand-button-char): Wrap call of
4888 speedbar-insert-image-button-maybe in mh-funcall-if-exists. This
4889 function isn't present in the speedbar that ships with Emacs20, so
4890 calling it there causes an error.
4891
4892 * mh-seq.el (mh-msg-is-in-seq): Adjust loop call a bit to avoid
4893 compiler warning in XEmacs. The XEmacs compiler should be improved
4894 so that such spurious warnings from builtin macros are suppressed.
4895
4896 * mh-index.el (mh-index-search): Same as above.
4897
4898 * mh-e.el (tool-bar-mode): The declaration is needed for Emacs20
4899 too.
4900
4901 * mh-comp.el (mailabbrev): Try loading it any way. Some day XEmacs
4902 will get it and then MH-E will just use it.
4903 (tool-bar-mode, tool-bar-map): These declarations are needed for
4904 Emacs20 too.
4905 (mh-mail-abbrev-make-syntax-table, mh-folder-expand-at-point):
4906 Remove mh-mail-abbrev-make-syntax-table since mh-funcall-if-exists
4907 can be used instead.
4908
4909 * mh-alias.el (require): Avoid autoloading functions that may not
4910 be defined.
4911 (mh-read-address, mh-alias-letter-expand-alias): Rewrite using
4912 mh-funcall-if-exists.
4913
49142003-02-15 Satyaki Das <satyaki@theforce.stanford.edu>
4915
4916 * mh-loaddefs.el: Regenerated.
4917
4918 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-add-buttons)
4919 (mh-speed-toggle): Reuse markers instead of creating more of them.
4920 (mh-speed-flists-folder, mh-speed-flists): Add optional folder
4921 argument to mh-speed-flists so that message counts are updated
4922 only for that one folder.
4923 (mh-speed-parse-flists-output): If no change in counts then avoid
4924 consing.
4925
4926 * mh-index.el (mh-index-execute): Rewritten to use a temporary
4927 buffer that is not left behind.
4928
4929 * mh-funcs.el (mh-store-buffer): Use mh-log-buffer instead of the
4930 special purpose *Store Output* buffer.
4931
49322003-02-14 Satyaki Das <satyaki@theforce.stanford.edu>
4933
4934 * mh-customize.el (mh-show-xface-face): Make it always be black
4935 foreground on a white background (the reverse of that can make
4936 some X-Face images look creepy).
4937
4938 * mh-utils.el (mh-truncate-log-buffer): Modify the function to
4939 return the current size of mh-log-buffer. Also we are now a bit
4940 more careful in adding separators between consecutive messages.
4941 (mh-exec-cmd): Fix a bug where the the log buffer would be
4942 displayed even if no error happened in the current command but
4943 the log buffer had messages from a previous error.
4944
4945 * mh-mime.el (mh-mime-save-parts): Use mh-log-buffer to show
4946 error messages.
4947
4948 * mh-alias.el (mh-alias-local-users): Add a space between parens.
4949
49502003-02-14 Steve Youngs <youngs@xemacs.org>
4951
4952 * mh-utils.el (mh-face-display-function): Call
4953 `x-face-xmas-wl-display-x-face' using `mh-funcall-if-exists'.
4954
4955 * mh-xemacs-compat.el (replace-regexp-in-string): New.
4956
49572003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
4958
4959 * mh-utils.el (mh-log-buffer-lines): New variable that keeps
4960 track of the number of lines to keep in mh-log-buffer.
4961 (mh-truncate-log-buffer): New function that is used to make sure
4962 that the log buffer doesn't grow to unbounded size.
4963 (mh-exec-cmd, mh-exec-cmd-daemon, mh-handle-process-error): Use
4964 mh-truncate-log-buffer instead of erase-buffer to keep some
4965 number of previous log messages around (closes SF #685476).
4966
49672003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
4968
4969 * mh-e.el (tool-bar-mode): Declare it in XEmacs.
4970 (mh-folder-mode): Use mh-funcall-if-exists to call hl-line-mode.
4971
4972 * mh-utils.el (mh-funcall-if-exists): New macro that calls a
4973 function only if it exists.
4974 (mh-logo-display, mh-defun-show-buffer): Use mh-funcall-if-exists
4975 to call the functions find-image and deactivate-mark.
4976
4977 * mh-mime.el (mh-mime-cleanup, mh-small-image-p)
4978 (mh-mm-display-part): Use mh-funcall-if-exists to call the
4979 functions image-size and remove-images.
4980
4981 * mh-comp.el (tool-bar-map, tool-bar-mode): Declare the variables
4982 in XEmacs.
4983 (mh-folder-expand-at-point): Use mh-funcall-if-exists to call
4984 mail-abbrev-complete-alias if it exists.
4985
4986 * mh-alias.el (mh-read-address): Use mh-funcall-if-exists for
4987 future extensibility.
4988
49892003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
4990
4991 * mh-utils.el (mh-logo-display): The function find-image is
4992 present only in GNU Emacs.
4993 (mh-defun-show-buffer): The function deactivate-mark is present
4994 only in GNU Emacs.
4995 (default-enable-multibyte-characters): Declare it in XEmacs to
4996 avoid compiler warning.
4997 (mh-face-display-function): Avoid inserting space if there isn't
4998 any Face or X-Face header field to display.
4999
5000 * mh-seq.el (mh-thread-last-ancestor): Move declaration of
5001 variable before its first use to silence XEmacs warning.
5002
5003 * mh-mime.el (default-enable-multibyte-characters, dots, type):
5004 Declare these in XEmacs to remove compiler warnings in XEmacs.
5005 (mh-mime-cleanup, mh-mm-display-part): Call remove-images only in
5006 GNU Emacs.
5007 (mh-small-image-p): Call image-size only in GNU Emacs.
5008
5009 * mh-index.el (mh-mairix-next-result): Fix a bug where a quote
5010 was missing.
5011 (mh-swish++-regexp-builder): Remove the unused binding meta.
5012
5013 * mh-e.el (mh-folder-size): Pass on an extra value to remove
5014 XEmacs warning.
5015 (mh-folder-mode): Surround calls to hl-line-mode and
5016 tool-bar-mode with mh-do-in-gnu-emacs since these functions
5017 aren't present in XEmacs.
5018
5019 * mh-customize.el (mh-tool-bar-show-set, mh-tool-bar-letter-set)
5020 (mh-tool-bar-folder-set): These functions call tool-bar-*
5021 functions which are present only in GNU Emacs. So surround them
5022 with mh-do-in-gnu-emacs.
5023
5024 * mh-comp.el (mh-letter-mode, mh-folder-expand-at-point): Only
5025 call these functions in GNU Emacs.
5026 (mail-abbrevs): Declare it in XEmacs.
5027
5028 * mh-alias.el (mh-read-address): Call completing-read-multiple
5029 only in GNU Emacs.
5030 (mail-abbrevs): Declare it in XEmacs.
5031 (mh-alias-add-alias-to-file): Remove unused code.
5032
5033