(mh-version): Set to 7.3+cvs.
[bpt/emacs.git] / lisp / mh-e / ChangeLog
CommitLineData
aed6ee38
BW
12003-04-25 Bill Wohler <wohler@newt.com>
2
3 * mh-e.el (mh-version): Set to 7.3+cvs.
4
924df208
BW
52003-04-24 Bill Wohler <wohler@newt.com>
6
7 * Released MH-E version 7.3.
8
9 * MH-E-NEWS, README: Updated for release 7.3.
10
11 * mh-e.el (Version, mh-version): Updated for release 7.3.
12
132003-04-24 Satyaki Das <satyakid@stanford.edu>
14
15 * mh-xemacs-compat.el (mh-utils): Require mh-utils at compile
16 time, since the mh-do-in-xemacs macro is used.
17
18 * mh-inc.el (cl): Require cl at compile time since we are using
19 the loop and setf macros.
20
212003-04-24 Satyaki Das <satyakid@stanford.edu>
22
23 * mh-unit.el (mh-files): Fix the list of files to check.
24
252003-04-24 Bill Wohler <wohler@newt.com>
26
27 * ChangeLog: Appended copyright to end of file.
28
29 * Makefile: Added copyright and license.
30
31 * README: Added copyright.
32
33 * import-emacs: Changed copyright from Newt Software to Bill
34 Wohler and use license from mh-e.el, except that this file is
35 a part of MH-E, not GNU Emacs.
36
37 * mh-alias.el: Updated copyright so that it doesn't wrap upon
38 advice from Richard Stallman who said to use two-digit years when
39 they are surrounded by 4-digit years that are in the same century
40 and to break up copyrights on multiple lines.
41 * mh-comp.el: Ditto.
42 * mh-e.el: Ditto.
43 * mh-funcs.el: Ditto.
44 * mh-identity.el: Ditto.
45 * mh-mime.el: Ditto.
46 * mh-seq.el: Ditto.
47 * mh-utils.el: Ditto.
48 * mh-xemacs-compat.el: Ditto.
49
50 * mh-unit.el: New file. Unit tests for MH-E. This version merely
51 runs checkdoc and lm-verify which is useful before releasing the
52 software. It can and should be expanded to do real unit tests.
53
542003-04-22 Mark D Baushke <mdb@gnu.org>
55
56 * mh-alias.el: Update Copyright.
57 * mh-comp.el: Ditto.
58 * mh-customize.el: Ditto.
59 * mh-e.el: Ditto.
60 * mh-funcs.el: Ditto.
61 * mh-identity.el: Ditto.
62 * mh-index.el: Ditto.
63 * mh-mime.el: Ditto.
64 * mh-pick.el: Ditto.
65 * mh-seq.el: Ditto.
66 * mh-speed.el: Ditto.
67 * mh-utils.el: Ditto.
68 * mh-xemacs-compat.el: Ditto.
69
702003-04-22 Satyaki Das <satyaki@theforce.stanford.edu>
71
72 * mh-utils.el (mh-normalize-folder-name): Make the completion
73 code work properly with XEmacs. This change is neeeded since
74 split-string behaves differently in XEmacs than it does in GNU
75 Emacs.
76 (mh-exec-cmd-error): Add a comment, so that we change it later on.
77
782003-04-18 Steve Youngs <youngs@xemacs.org>
79
80 * mh-xemacs-icons.el (mh-xemacs-icons): Provide 'mh-xemacs-icons'
81 not 'mh-xemacs-toolbar'.
82
83 * mh-xemacs-compat.el (mh-xemacs-toolbar): Remove require, it's
84 now called 'mh-xemacs-icons' and it is required from
85 'mh-customize'.
86
87 * mh-customize.el: Require 'mh-xemacs-icons' instead of
88 'mh-xemacs-toolbar'.
89
902003-04-17 Peter S Galbraith <psg@debian.org>
91
92 * mh-xemacs-icons.el: New file (renamed from mh-xemacs-toolbar.el).
93 Holds XEmacs icons.
94
95 * mh-xemacs-toolbar.el: Deleted.
96
97 * Makefile: Incorporate the file renaming.
98
992003-04-15 Bill Wohler <wohler@newt.com>
100
101 * mh-comp.el (mh-forward): Pass a list of messages into
102 mh-compose-and-send-mail instead of msg-or-seq.
103 (mh-annotate-msg): The previous version called
104 mh-iterate-on-msg-or-seq in the letter buffer. The new version
105 simply adds the ability to operate on message lists. Thanks to
106 Satyaki for the fix and suggestion for passing a list from
107 mh-forward.
108
1092003-04-14 Bill Wohler <wohler@newt.com>
110
111 * mh-comp.el (mh-annotate-msg): Updated to handle msg-or-seq for
112 mh-forward was passing a msg-or-seq to mh-compose-and-send-mail
113 which in turn passed the msg-or-seq to mh-annotate-msg. In
114 particular, forwarding a region failed. Note that the msgs
115 argument in much of mh-comp.el should really be converted to
116 msg-or-seq accordingly. But not now, unless something is broken as
117 was the case here. We can revamp after the release.
118
1192003-04-13 Bill Wohler <wohler@newt.com>
120
121 * mh-funcs.el (mh-kill-folder): Added space after prompt to give
122 the (yes or no) bit a little elbow room.
123
124 * mh-xemacs-toolbar.el: Removing a copyright is a no-no.
125 Reinstated Steve's copyright.
126
1272003-04-12 Satyaki Das <satyaki@theforce.stanford.edu>
128
129 * mh-utils.el (mh-do-in-gnu-emacs, mh-do-in-xemacs): Add
130 indentation hooks for the macros.
131
1322003-04-11 Bill Wohler <wohler@newt.com>
133
134 * mh-alias.el, mh-comp.el, mh-customize.el, mh-funcs.el,
135 mh-identity.el, mh-inc.el, mh-index.el, mh-junk.el, mh-utils.el:
136 Merged in changes from CVS GNU Emacs. These included the removal
137 of trailing whitespace.
138
139 * mh-customize.el: The "anti-entropy" check-in. Moved groups
140 around slightly to reflect commentary. Moved defcustoms around
141 to preserve alphabetization. Big diff, little content.
142 (mh-xemacs-use-toolbar-flag): Doc fix.
143 (mh-xemacs-toolbar-position): Fixed typo in docstring.
144 (mh-default-folder-list): Updated docstring to reflect new Check
145 Recipient tag. Also, set type of Address to regexp.
146 (mh-x-mailer-string): Moved to mh-comp.el where it is used.
147
148 * mh-comp.el (mh-x-mailer-string): Moved here from customize.el.
149 Not quite sure how it got to mh-customize.el in the first place.
150
151 * mh-e.el (mh-folder-folder-menu): Added Folder -> View New
152 Messages menu item.
153
154 * mh-utils.el (mh-show-folder-menu): Ditto.
155
156 * mh-inc.el: Added Change Log comment (lm-verify fix).
157
158 * mh-index.el (mh-index-search): Added documentation about prefix
159 argument for users, in addition to documentation for programmers.
160
161 * mh-mime.el (mh-edit-mhn, mh-edit-mhn, mh-mml-to-mime): Docstring
162 fixes germaine to the change whereby we now check for MIME
163 directives before sending.
164
165 * mh-xemacs-toolbar.el: Fixed copyright. Added Change Log comment
166 (lm-verify fix). Added standard MH-E local variables. Removed
167 time-stamp stuff.
168
1692003-04-11 Satyaki Das <satyaki@theforce.stanford.edu>
170
171 * mh-seq.el (mh-iterate-on-msg-or-seq): Add a missed comma.
172
1732003-04-10 Satyaki Das <satyaki@theforce.stanford.edu>
174
175 * mh-index.el (mh-index-visit-folder): Prompt before reusing
176 existing folder buffer.
177
178 * mh-xemacs-toolbar.el (require): Require mh-utils at compile
179 time to avoid compilation error when doing "make bootstrap" in
180 CVS Emacs.
181
182 * mh-inc.el (mh-inc-spool-list): Declare it so that a compile
183 time warning is avoided when doing "make bootstrap" in CVS Emacs.
184
1852003-04-10 Peter S Galbraith <psg@debian.org>
186
187 * mh-inc.el (mh-inc-spool-generator): Changed to a defun instead
188 of a defmacro, applying Satyaki's patch.
189 (mh-inc-spool-def-key): same.
190 (mh-inc-spool-make): same.
191
192 * mh-utils.el: define-key "I" in mh-show-mode-map for
193 mh-inc-spool-map.
194
195 * mh-comp.el (mh-modify-header-field): Remove debug message.
196
1972003-04-10 Peter S Galbraith <psg@debian.org>
198
199 * mh-inc.el (mh-inc-spool-map-help): Default to nil.
200 (mh-inc-spool-map): Make "?" key display message when
201 `mh-inc-spool-map-help' is nil (instead of mh-inc-spool-map-help
202 containing the message).
203
204 * mh-e.el: require mh-inc.el
205 * mh-e.el: define-key "I" in mh-folder-mode-map for mh-inc-spool-map.
206 (mh-help-messages): Add help string for "I" key.
207
2082003-04-09 Peter S Galbraith <psg@debian.org>
209
210 * mh-inc.el: New file. New feature to `inc' mail from various
211 spool files into different folders.
212
213 * mh-loaddefs.el: Regenerate for mh-inc's mh-inc-spool-list-set.
214
215 * Makefile (MH-E-IMG): Add highlight icon.
216 (MH-E-SRC): Add mh-inc.el file.
217
218 * mh-customize.el (mh-inc-spool-list): New variable for new
219 feature to `inc' mail from various spool files into different
220 folders.
221
2222003-04-09 Satyaki Das <satyaki@theforce.stanford.edu>
223
224 * mh-utils.el (mh-mail-delivery-buffer): Add a defconst for
225 mh-mail-delivery-buffer.
226
227 * mh-comp.el (mh-send-letter): Use mh-mail-delivery-buffer.
228
229 * mh-mime.el (mh-small-image-p): Add mh-funcall-if-exists to
230 avoid compiler warning in GNU Emacs.
231
2322003-04-08 Satyaki Das <satyaki@theforce.stanford.edu>
233
234 * mh-mime.el (mh-small-image-p): Make the function slightly more
235 error-resistant in XEmacs.
236
237 * mh-seq.el (mh-narrow-to-seq, mh-widen): Update tool-bar-map in
238 the show buffer if needed. This allows us to display the widen
239 button in the show buffer only when the folder is narrowed.
240
241 * mh-customize.el (mh-tool-bar-define): Changed so that a
242 separate tool-bar-map is used in show-mode when folder is
243 narrowed to a sequence.
244
2452003-04-08 Satyaki Das <satyaki@theforce.stanford.edu>
246
247 * mh-seq.el (mh-iterate-on-msg-or-seq): Reinstate the use of
248 make-symbol since using gensym causes compiler warnings in CVS
249 Emacs.
250
2512003-04-08 Bill Wohler <wohler@newt.com>
252
253 * mh-comp.el (mh-forward): Function didn't handle a region of
254 messages. Use new function mh-msg-or-seq-to-msg-list to get a list
255 of messages in all circumstances. Also, use mh-coalesce-msg-list
256 on message list before submitting to forw since this should always
257 be done when calling a program to reduce the chance of exceeding
258 command-line limits.
259
260 * mh-seq.el (mh-iterate-on-msg-or-seq): Backed out previous
261 change. A nil msg-or-seq should mean no messages, and Satyaki is
262 going to use gensym instead of make-symbol.
263 (mh-msg-or-seq-to-msg-list): New function to convert a msg-or-seq
264 to a list of message numbers.
265
266 * mh-e.el (mh-coalesce-msg-list): Touched up the docstring a
267 little.
268
269 * mh-funcs.el (mh-print-msg): Can now print regions, message
270 lists, sequences and, of course, single messages. This version
271 works a little differently from the old version. Instead of
272 calling mhl | lpr once on all messages, mhl | lpr is called once
273 per message in order to put each message's number in the header.
274 Thanks to Satyaki for some code and ideas.
275
276 * mh-seq.el (mh-iterate-on-msg-or-seq): The argument msg-or-seq
277 can now be nil which means the current message. Make local symbols
278 so that local variables don't step on user's symbols (the msgs
279 symbol got me).
280
2812003-04-06 Bill Wohler <wohler@newt.com>
282
283 * mh-comp.el (mh-forward): Updated docstrings to indicate that a
284 list of messages is acceptable as well.
285
286 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion, mh-refile-msg)
287 (mh-undo, mh-notate-user-sequences, mh-delete-msg-from-seq): Ditto.
288
289 * mh-funcs.el (mh-copy-msg, mh-print-msg): Ditto.
290
291 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
292
293 * mh-seq.el (mh-put-msg-in-seq, mh-iterate-on-msg-or-seq)
294 (mh-interactive-msg-or-seq): Ditto.
295
2962003-04-06 Satyaki Das <satyaki@theforce.stanford.edu>
297
298 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Call
299 mh-refile-a-msg and mh-delete-a-msg with nil as the message
300 number since that is more efficient.
301
302 * mh-seq.el (mh-iterate-on-msg-or-seq): Extended so that it will
303 handle lists of messages numbers as well.
304 (mh-put-msg-in-seq): Use mh-iterate-on-msg-or-seq to simplify the
305 function.
306
307 * mh-funcs.el (mh-copy-msg): Same as above.
308
309 * mh-e.el (mh-refile-msg): Make it more efficient. Using nil in
310 mh-refile-a-msg avoids needing to re-search-forward to that
311 message.
312 (mh-undo): Fix typo in interactive spec.
313 (mh-notate-user-sequences): Generalize the function to take a
314 msg-or-seq as argument.
315 (mh-delete-msg-from-seq): Extend the function so that it is now
316 able to subtract messages belonging in one sequence from another.
317 (mh-undo): Unify the region and sequence handling. The message
318 number branch of the function does extra stuff, so we can't merge
319 that in.
320
3212003-04-06 Bill Wohler <wohler@newt.com>
322
323 * mh-comp.el (mh-forward): Use mh-interactive-msg-or-seq. Inserted
324 consistent verbiage in docstring for msg-or-seq.
325 (mh-reply): Don't mention default in opening line in all
326 docstrings.
327
328 * mh-e.el (mh-delete-msg, mh-refile-msg)
329 (mh-undo, mh-delete-msg-from-seq): Use mh-interactive-msg-or-seq.
330 Inserted consistent verbiage in docstring for msg-or-seq. In
331 mh-delete-msg-from-seq, renamed msg-or-region to msg-or-seq.
332
333 * mh-funcs.el (mh-copy-msg, mh-print-msg): Use
334 mh-interactive-msg-or-seq. Inserted consistent verbiage in
335 docstring for msg-or-seq.
336
337 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Inserted
338 consistent verbiage in docstring for msg-or-seq.
339
340 * mh-seq.el (mh-msg-is-in-seq): Don't mention default in opening
341 line in all docstrings.
342 (mh-put-msg-in-seq): Use mh-interactive-msg-or-seq. Inserted
343 consistent verbiage in docstring for msg-or-seq.
344
345 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion, mh-refile-msg):
346 Rewritten to use new mh-interactive-msg-or-seq function and
347 mh-iterate-on-msg-or-seq macro. mh-delete-msg-no-motion gained the
348 ability to operate on regions.
349
350 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Rewritten to
351 use new mh-interactive-msg-or-seq function and
352 mh-iterate-on-msg-or-seq macro thereby gaining the ability to
353 operate on sequences or regions.
354
355 * mh-seq.el (mh-iterate-on-msg-or-seq): New macro to execute code
356 on a message, a region of messages, or a sequence. This macro
357 should be in all functions that operate on messages to provide a
358 uniform interface.
359 (mh-interactive-msg-or-seq): New function used in interactive
360 calls to obtain a message number, region, or sequence. This
361 function should be in all functions that operate on messages to
362 provide a uniform interface.
363
364 * mh-utils.el (with-mh-folder-updating, mh-in-show-buffer): Use
365 'defun lisp-indent-hook property instead of 1 to fix indentation
366 of these macros.
367
3682003-04-05 Peter S Galbraith <psg@debian.org>
369
370 * mh-loaddefs.el: Regenerated.
371 * mh-funcs.el (mh-ephem-message): autoload.
372
3732003-04-04 Peter S Galbraith <psg@debian.org>
374
375 * mh-e.el (mh-folder-from-address): Minor Fix. Wrong ending of
376 `when' block.
377
3782003-04-04 Satyaki Das <satyaki@theforce.stanford.edu>
379
380 * mh-mime.el (mh-mml-directive-present-p): The regexp has been
381 modified to recognize directives to encrypt/sign messages.
382
3832003-04-03 Mark D. Baushke <mdb@gnu.org>
384
385 * mh-e.el (mh-folder-from-address): E-mail messages missing the
386 To: field, but which have a Cc: field should also be handled.
387
3882003-04-03 Bill Wohler <wohler@newt.com>
389
390 * mh-e.el (mh-inc-folder): Modified the prompt text to read
391 better.
392
393 * mh-comp.el (mh-forward): Deleted local variable `compose'.
394 Deleted obsolete setting of mh-{mmh|mml}-compose-insert-flag.
395 (mh-letter-menu): Use mh-{mmh|mml}-directive-present-p instead of
396 obsolete. mh-{mmh|mml}-compose-insert-flag.
397 (mh-letter-mode): Deleted obsolete setting of
398 mh-{mmh|mml}-compose-insert-flag.
399 (mh-send-letter): This function now automatically runs the
400 directive-to-MIME conversion if any directives are detected,
401 rather than relying on the unreliable
402 mh-{mmh|mml}-compose-insert-flag variables. Updated docstring
403 accordingly.
404
405 * mh-identity.el (mh-insert-identity): Use
406 mh-{mmh|mml}-directive-present-p instead of obsolete.
407 mh-{mmh|mml}-compose-insert-flag.
408
409 * mh-loaddefs.el: Regenerated.
410
411 * mh-mime.el (mh-mhn-compose-type, mh-mhn-compose-external-type)
412 (mh-mhn-compose-forw, mh-edit-mhn, mh-mml-to-mime)
413 (mh-mml-forward-message, mh-mml-attach-file)
414 (mh-mml-secure-message-sign-pgpmime)
415 (mh-mml-secure-message-encrypt-pgpmime): Deleted obsolete setting
416 of mh-{mmh|mml}-compose-insert-flag.
417 (mh-mml-directive-present-p): Checkdoc fix.
418
419 * mh-utils.el (mh-mhn-compose-insert-flag,
420 mh-mml-compose-insert-flag): Deleted. Replaced by
421 mh-{mhn|mml}-directive-present-p.
422
4232003-04-03 Mark D. Baushke <mdb@gnu.org>
424
425 * mh-e.el (mh-folder-from-address): Fix minor problem with To:
426 address processing.
427
428 * mh-e.el (mh-folder-from-address): Bugfix match ?+ character not
429 a "?+" string.
430
4312003-04-03 Peter S Galbraith <psg@debian.org>
432
433 * mh-e.el (mh-inc-folder): Add second optional argument for the
434 folder to inc new mail into instead of mh-inbox.
435
4362003-04-03 Peter S Galbraith <psg@debian.org>
437
438 * mh-e.el (mh-folder-from-address): The first match found in
439 `mh-default-folder-list' is used.
440
441 * mh-customize.el (mh-default-folder-list): Tweak docs
442
4432003-04-03 Satyaki Das <satyaki@theforce.stanford.edu>
444
445 * mh-loaddefs.el: Regenerated.
446
447 * mh-mime.el (mh-mhn-directive-present-p): New function to test if
448 a MHN directive is present in the current buffer.
449 (mh-mml-directive-present-p): New function to test if a MML
450 directive is present in the current buffer.
451
452 * mh-comp.el (mh-letter-mode): Originally this function checked if
453 a #forw directive was present and set mh-mhn-compose-insert-flag
454 to t. The modification generalizes this test so that one of the
455 variables mh-{mml|mhn}-compose-insert-flag will get set if we have
456 any sort of MHN or MML directive is already present.
457
458 * mh-seq.el (tool-bar-map): Add a defvar to avoid compiler
459 warnings in CVS version of GNU Emacs.
460
461 * mh-utils.el (tool-bar-map): Same as above.
462
463 * mh-e.el (tool-bar-map): same as above.
464
4652003-04-02 Satyaki Das <satyaki@theforce.stanford.edu>
466
467 * mh-xemacs-toolbar.el (mh-xemacs-toolbar-toggle-tick-icon):
468 Change color to match mh-folder-tick-face.
469
470 * highlight.xpm: Same as above.
471
4722003-04-02 Peter S Galbraith <psg@debian.org>
473
474 * mh-e.el (mh-folder-from-address): Check `mh-default-folder-list'
475 for cases against the recipient instead of the originator.
476
477 * mh-customize.el (mh-default-folder-list): Add extra boolean flag
478 to conditionally check the recipient address instead of the
479 originator.
480
4812003-04-02 Peter S Galbraith <psg@debian.org>
482
483 * mh-customize.el (mh-folder-tick-face): Change tick highlight
484 face to a background yellow-green, as suggested by Bill.
485
4862003-04-01 Peter S Galbraith <psg@debian.org>
487
488 * highlight.xpm: New icon for mh-toggle-tick.
489
490 * mh-xemacs-toolbar.el (mh-xemacs-icon-map): Add tool-bar entry
491 for mh-toggle-tick.
492 (mh-xemacs-toolbar-toggle-tick-icon): New constant.
493
494 * mh-customize.el: Add tool-bar entry for mh-toggle-tick.
495
4962003-03-31 Satyaki Das <satyaki@theforce.stanford.edu>
497
498 * mh-loaddefs.el: Regenerated.
499
500 * mh-utils.el (mh-show-narrow-to-tick, mh-show-limit-map)
501 (mh-show-sequence-menu): Add new interactive function
502 mh-show-narrow-to-tick callable from the show buffer and arrange
503 for a key binding and a menu entry.
504
505 * mh-seq.el (mh-narrow-to-tick): New interactive function that
506 narrows to the tick sequence.
507
508 * mh-e.el (mh-folder-sequence-menu, mh-limit-map): Arrange for a
509 key binding and a menu entry for mh-narrow-to-tick.
510
511 * mh-comp.el (mh-letter-mode): Enable undo since we could be
512 reusing a show buffer where undo is disabled (closes SF #712777).
513
5142003-03-31 Peter S Galbraith <psg@debian.org>
515
516 * mh-e.el (mh-folder-sequence-menu): Add entry for mh-toggle-tick.
517
518 * mh-utils.el (mh-show-sequence-menu): Add entry for
519 mh-show-toggle-tick.
520
5212003-03-28 Satyaki Das <satyaki@theforce.stanford.edu>
522
523 * mh-seq.el (mh-delete-seq): If the tick sequence is killed with
524 "S k" then the highlighting wasn't getting removed. The change
525 fixes this.
526
5272003-03-27 Satyaki Das <satyaki@theforce.stanford.edu>
528
529 * mh-e.el (mh-notate-user-sequences): Extend it so that only the
530 messages in a part of the folder are notated.
531 (mh-delete-msg-from-seq): Extend it so that it will delete all
532 messages in the marked region.
533 (mh-delete-a-msg-from-seq): New function that deletes a single
534 message from a sequence.
535 (mh-clear-text-properties): If there is a ticked unseen message
536 and the message is removed from the unseen list with "S d" then
537 unticking the message doesn't change the highlight. This change
538 fixes this.
539
5402003-03-27 Peter S Galbraith <psg@debian.org>
541
542 * mh-xemacs-toolbar.el (mh-xemacs-toolbar-*-icon): Use original
543 24x24 icons, changing background only.
544
5452003-03-27 Satyaki Das <satyaki@theforce.stanford.edu>
546
547 * mh-junk.el (mh-spamassassin-identify-spammers): Remove unused
548 variable buffer-exists.
549 (mh-spamassassin-identify-spammers): Remove unused variable user.
550
551 * mh-customize.el (mh-junk-choose): Tweak it to remove XEmacs
552 compiler warning.
553
5542003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
555
556 * mh-seq.el (mh-thread-print-scan-lines): Handling of a boundary
557 condition when messages from the last source folder had been
558 removed was incorrect. This caused a folder header to appear
559 without any messages listed under it. This change fixes this.
560 (mh-thread-forget-message): Remove the entry from the scan line
561 table as well. This is needed for proper display of threaded view
562 of index folders.
563
5642003-03-26 Bill Wohler <wohler@newt.com>
565
566 * Makefile, README, import-emacs, mh-alias.el, mh-comp.el,
567 mh-customize.el, mh-e.el, mh-funcs.el, mh-identity.el,
568 mh-index.el, mh-loaddefs.el, mh-mime.el, mh-pick.el, mh-seq.el,
569 mh-speed.el, mh-utils.el, mh-xemacs-compat.el,
570 mh-xemacs-toolbar.el: Removed RCS keywords per Emacs conventions
571 (closes SF #680731).
572
573
5742003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
575
576 * mh-index.el: Fix commentary to mention that mairix is supported
577 as well.
578
579 * mh-loaddefs.el: Regenerated.
580
581 * mh-utils.el (mh-show-junk-blacklist, mh-show-junk-whitelist):
582 Interactive functions callable from the show buffer.
583 (mh-show-junk-map): Key bindings in show mode.
584
585 * mh-e.el (mh-junk-map): Key bindings to call spam program.
586 (mh-help-messages): Update help text.
587
588 * mh-customize.el (mh-junk): New customization group for spam
589 program interface.
590 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose):
591 Functions and variables that decide which junk program is used.
592 (mh-junk-program, mh-junk-mail-folder): User customizable
593 variables that control the choice of spam program and the action
594 performed on received spam.
595
596 * Makefile (MH-E-SRC): Add mh-junk.el.
597
5982003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
599
600 * mh-loaddefs.el: Regenerated.
601
602 * mh-utils.el (mh-show-toggle-tick, mh-show-mode-map): New
603 interactive function callable from the show buffer and a key
604 binding for it.
605
606 * mh-seq.el (mh-delete-seq): Remove highlight from tick sequence.
607 (mh-put-msg-in-seq): Disable adding messages to tick sequence.
608 (mh-widen): Reset mh-tick-seq-changed-when-narrowed-flag.
609 (mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick)
610 (mh-toggle-tick): New functions to highlight/unhighlight tick
611 sequence and the interactive function that is used to toggle
612 tick.
613
614 * mh-e.el (mh-tick-seq-changed-when-narrowed-flag): New variable
615 that remembers if we are narrowed to the tick sequence. In that
616 case the highlighting isn't shown, since it adds no extra info.
617 (mh-folder-mode): Initialize mh-tick-seq-changed-when-narrowed-flag.
618 (mh-notate-user-sequences): Notate the tick sequence.
619 (mh-internal-seq): Treat mh-tick-seq like an internal sequence.
620 (mh-delete-msg-from-seq): Don't allow deletion from tick sequence.
621 (mh-folder-mode-map): Add key binding for "'"
622
623 * mh-customize.el (mh-tick-seq, mh-folder-tick-face): New
624 customizable variables that contain the name of the tick sequence
625 and the face to use to highlight it.
626
6272003-03-25 Satyaki Das <satyaki@theforce.stanford.edu>
628
629 * mh-loaddefs.el: Regenerated.
630
631 * mh-seq.el (mh-thread-print-scan-lines): New function which
632 prints out thread tree. It maintains the original folder info if
633 the folder was created by index search (closes SF #709672).
634 (mh-copy-seq-to-eob, mh-thread-inc, mh-thread-folder): Use
635 factored out function mh-thread-print-scan-lines.
636 (mh-toggle-threads): Since threading is allowed in index folders
637 there can be lines in the folder which aren't valid message scan
638 lines. So it is OK for mh-get-msg-num to fail once in a while.
639
640 * mh-index.el (mh-index-update-maps): Make the parsing of messages
641 that need to annotated with the X-MHE-Checksum header more robust.
642 If the search yielded no results then an error was being produced.
643 (mh-index-search): Enable automatic threading of index folders if
644 mh-show-threads-flag is non-nil (closes SF #709667).
645 (mh-index-next-folder): Relax error checking since index folder
646 can be threaded while the source folder info is visible.
647 (mh-index-group-by-folder): New function that is used in
648 mh-thread-folder to keep source folder info visible during
649 threading.
650
6512003-03-25 Bill Wohler <wohler@newt.com>
652
653 * mh-loaddefs.el: Regenerated.
654
655 * mh-customize.el (mh-index-new-messages-folders): New variable
656 that controls which folders "F n (mh-index-new-messages)"
657 accesses. Was mh-flists-search-folders.
658
659 * mh-index.el (mh-flists-search-folders): Still used internally,
660 but users now use new option mh-index-new-messages-folders.
661 Removed documentation since to avoid duplication with
662 mh-index-new-messages-folders.
663 (mh-flists-recursive-search-flag): Deleted. Use
664 mh-recursive-folders-flag instead.
665 (mh-flists-execute): Updated docs to specify which global
666 variables are used. Use mh-recursive-folders-flag instead of
667 mh-flists-recursive-search-flag.
668 (mh-index-new-messages): Edited doc, and refer to new option
669 mh-index-new-messages-folders. Ditto within code. Don't need to
670 prepend + to folder name as flists does that for us. Use
671
6722003-03-24 Satyaki Das <satyaki@theforce.stanford.edu>
673
674 * mh-e.el (mh-refile-msg): Add optional argument that controls
675 whether mh-last-destination-folder is updated or not.
676
6772003-03-22 Satyaki Das <satyaki@theforce.stanford.edu>
678
679 * mh-customize.el (mh-tool-bar-define): Fix a problem in the
680 XEmacs version which caused the show mode toolbar to have the
681 buttons in the reverse order. Also the add-hooks are no longer
682 needed since mh-toolbar-init is called in the appropriate modes.
683
684 * mh-comp.el (mh-letter-mode): Call mh-toolbar-init in XEmacs to
685 initialize toolbar.
686
687 * mh-utils.el (mh-show-mode): Same as above.
688
689 * mh-e.el (mh-folder-mode): Same as above.
690
6912003-03-21 Satyaki Das <satyaki@theforce.stanford.edu>
692
693 * mh-utils.el (mh-exec-cmd-env-daemon): New function which
694 executes a command asynchronously with its own environment.
695
696 * mh-comp.el (mh-redistribute): The function has been modified so
697 that /bin/sh isn't used to run send. It has also been refactored
698 so that the same code isn't repeated.
699
7002003-03-21 Bill Wohler <wohler@newt.com>
701
702 * mh-customize.el (mh-invisible-header-fields): Added X-Bogosity
703 for bogofilter.
704
7052003-03-21 Satyaki Das <satyaki@theforce.stanford.edu>
706
707 * mh-loaddefs.el: Regenerated.
708
709 * mh-xemacs-toolbar.el: Remove the code since that gets generated
710 when mh-tool-bar-define is expanded.
711 (mh-xemacs-icon-map): A alist to map GNU Emacs icon names to the
712 actual icons to be used in XEmacs. This is used in
713 mh-tool-bar-define.
714
715 * mh-customize.el (mh-toolbar): Use this group in XEmacs as well.
716 (mh-tool-bar-item-*): All these constants have been removed since
717 they aren't needed in the new scheme.
718 (mh-tool-bar-reply-3-buttons-flag): This variable has been
719 removed.
720 (mh-tool-bar-search-function): This is now used in XEmacs as well.
721 (mh-tool-bar-folder-set, mh-tool-bar-folder-buttons-set)
722 (mh-tool-bar-letter-buttons-set, mh-tool-bar-show-set)
723 (mh-tool-bar-letter-set): These functions aren't defined at the
724 top level any more.
725 (mh-tool-bar-reply-generator): A macro to generate the required
726 functions for the three reply buttons.
727 (mh-tool-bar-search, mh-tool-bar-customize)
728 (mh-tool-bar-folder-help, mh-tool-bar-letter-help)
729 (mh-tool-bar-reply-from, mh-show-tool-bar-reply-from)
730 (mh-tool-bar-reply-to, mh-show-tool-bar-reply-to)
731 (mh-tool-bar-reply-all, mh-show-tool-bar-reply-all): New
732 interactive functions that are called when tool bar buttons are
733 clicked.
734 (mh-xemacs-use-toolbar-flag, mh-xemacs-toolbar-position):
735 Additional customizable variables that are present only for
736 XEmacs.
737 (mh-tool-bar-define): A macro that generates the required code
738 for GNU Emacs and XEmacs tool bar.
739 (mh-tool-bar-define): Define the MH-E tool bar.
740
7412003-03-17 Satyaki Das <satyaki@theforce.stanford.edu>
742
743 * mh-seq.el (mh-notate-cur): Notate current message only if it
744 hasn't been marked for deletion or refiling.
745
7462003-03-15 Bill Wohler <wohler@newt.com>
747
748 * mh-customize.el (mh-invisible-header-fields): Added
749 X-Spam-Checker-Version.
750 (mh-auto-fields-list): checkdoc fix.
751
7522003-03-12 Satyaki Das <satyaki@theforce.stanford.edu>
753
754 * mh-index.el (mh-index-new-messages): If the destination folder
755 where the unseen messages are supposed to be copied to was
756 already present, but MH-E doesn't have it open, then a new folder
757 was being created. The change fixes this.
758 (mh-index-update-unseen, mh-flists-recursive-search-flag): Fix
759 checkdoc warnings.
760
761 * mh-loaddefs.el: Regenerated.
762
7632003-03-11 Satyaki Das <satyaki@theforce.stanford.edu>
764
765 * mh-index.el (mh-flists-results-folder): Subfolder under
766 +mhe-index where the results of the flists call is put.
767 (mh-index-generate-pretty-name): Make sure that normal index
768 searching will never use the folder reserved for the flists
769 results.
770 (mh-index-search): Add an extra parameter that marks all the
771 messages in the index folder to the unseen sequence.
772 (mh-index-update-unseen): Function to keep unseen sequence of
773 index folder synced with the actual folders from where the
774 messages were copied. This works only if the unseen messages are
775 displayed with mh-show. Killing the unseen sequence in the index
776 folder or adding/removing messages to it doesn't change the
777 unseen sequence in the source folders yet.
778 (mh-flists-search-folders): Variable that decides the folders on
779 which flists is run.
780 (mh-flists-recursive-search-flag): If non-nil, flists is passed
781 the -recurse option.
782 (mh-flists-execute): Function which uses /bin/sh to execute
783 flists and then print out the list of message files that match.
784 (mh-index-new-messages): New interactive function which searches
785 for messages in the unseen sequence (closes SF #701756).
786
787 * mh-utils.el (mh-show-folder-map): Add binding for
788 mh-index-new-messages.
789 (mh-show-msg): Update the unseen sequence in the source folder.
790
791 * mh-e.el (mh-folder-font-lock-unseen): The function assumes that
792 the end of buffer is reached when there isn't a valid scan line
793 on the current line. This doesn't work in the index folder since
794 we have lines containing the folder name and empty lines in
795 between the actual scan lines. The modification removes this
796 assumption.
797 (mh-folder-map): Add key binding for "Fn"
798
799 * mh-seq.el (mh-iterate-on-messages-in-region): If the point is
800 not at the beginning of the line, then the first message in the
801 region would be missed. The fix avoids this.
802
803 * mh-mime.el (mh-inline-vcard-p): Don't try to inline vcards if
804 we don't have the right libraries.
805
8062003-03-10 Satyaki Das <satyaki@theforce.stanford.edu>
807
808 * mh-e.el (mh-next-undeleted-msg, mh-previous-undeleted-msg)
809 (mh-next-msg): Add optional argument wait-after-complaining-flag.
810 If non-nil and there are no undeleted messages after (or before)
811 the current one, then pause for a second after printing out the
812 message.
813 (mh-refile-or-write-again): Modify call to mh-next-msg to use the
814 wait-after-complaining-flag.
815
8162003-03-10 Satyaki Das <satyaki@theforce.stanford.edu>
817
818 * mh-e.el (mh-refile-or-write-again): If mh-next-msg fails to find
819 a message to go to it prints out a diagnostic, which overwrites
820 the diagnostic about the folder the message was refiled to. The
821 change fixes this.
822
8232003-03-09 Satyaki Das <satyaki@theforce.stanford.edu>
824
825 * mh-seq.el (mh-widen, mh-narrow-to-seq): Update
826 mh-narrowed-to-seq before notating sequences. This is a bit
827 helpful for mh-tick.el.
828 (mh-put-msg-in-seq): Fix a minor bug. No internal sequence should
829 be notated -- the original code was doing the right thing only for
830 the "unseen" sequence.
831
832 * mh-index.el (mh-index-choose): Add autoload cookie for
833 mh-index-choose. This is needed for GNU Emacs 20.5.
834
835 * mh-loaddefs.el: Regenerated.
836
8372003-03-09 Bill Wohler <wohler@newt.com>
838
839 * mh-mime.el (mh-display-smileys): This function originally had a
840 test to see if font-lock-maximum-size was bound, but this was
841 recently removed. The test was put in for a reason; if
842 font-lock-maximum-size isn't bound, void-variable errors would
843 ensue. I put the bound test back in.
844
8452003-03-08 Steve Youngs <youngs@xemacs.org>
846
847 * mh-mime.el (mh-mime-security-button-map): Use 'mh-push-button'
848 in XEmacs as well.
849
8502003-03-07 Satyaki Das <satyaki@theforce.stanford.edu>
851
852 * mh-xemacs-toolbar.el: Declare a whole bunch of stuff for GNU
853 Emacs, so that we don't get so many compiler warnings. Also
854 surround calls to set-specifier and toolbar-make-button-list with
855 mh-funcall-if-exists. Maybe GNU Emacs shouldn't try to compile
856 this file in the first place.
857
858 * mh-xemacs-compat.el (mh-modeline-glyph): Declare it within
859 mh-do-in-xemacs to avoid compiler warning in GNU Emacs.
860 (mh-xemacs-push-button): Removed.
861
862 * mh-mime.el (mh-mime-button-map): Use the generalized
863 mh-push-button function.
864 (mh-push-button): Enhance it so that it works on XEmacs too.
865
8662003-03-08 Steve Youngs <youngs@xemacs.org>
867
868 * mh-xemacs-compat.el (mh-modeline-logo): New constant holding the
869 modeline image.
870 (mh-modeline-glyph): Use it.
871
8722003-03-08 Steve Youngs <youngs@xemacs.org>
873
874 * mh-xemacs-toolbar.el: New file that defines and displays a
875 toolbar in XEmacs.
876
877 * mh-xemacs-compat.el (mh-xemacs-toolbar): Require it here.
878
879 * Makefile (MH-E-SRC): Add mh-xemacs-toolbar.el.
880
881 * mh-customize.el (mh-toolbar):
882 (mh-tool-bar-letter-buttons):
883 (mh-tool-bar-letter-buttons-set):
884 (mh-tool-bar-folder-buttons):
885 (mh-tool-bar-folder-buttons-set):
886 (mh-tool-bar-search-function):
887 (mh-tool-bar-reply-3-buttons-flag):
888 (mh-tool-bar-item-inc):
889 (mh-tool-bar-item-save-mime):
890 (mh-tool-bar-item-prev-msg):
891 (mh-tool-bar-item-page-msg):
892 (mh-tool-bar-item-next-msg):
893 (mh-tool-bar-item-delete):
894 (mh-tool-bar-item-refile):
895 (mh-tool-bar-item-undo):
896 (mh-tool-bar-item-perform):
897 (mh-tool-bar-item-toggle-show):
898 (mh-tool-bar-item-reply-from):
899 (mh-tool-bar-item-reply-to):
900 (mh-tool-bar-item-reply-all):
901 (mh-tool-bar-item-reply):
902 (mh-tool-bar-item-alias):
903 (mh-tool-bar-item-compose):
904 (mh-tool-bar-item-rescan):
905 (mh-tool-bar-item-repack):
906 (mh-tool-bar-item-search):
907 (mh-tool-bar-item-visit):
908 (mh-tool-bar-item-prefs):
909 (mh-tool-bar-item-help):
910 (mh-tool-bar-item-widen):
911 (mh-tool-bar-item-send):
912 (mh-tool-bar-item-attach):
913 (mh-tool-bar-item-spell):
914 (mh-tool-bar-item-save):
915 (mh-tool-bar-item-undo-op):
916 (mh-tool-bar-item-kill):
917 (mh-tool-bar-item-copy):
918 (mh-tool-bar-item-paste):
919 (mh-tool-bar-item-kill-draft):
920 (mh-tool-bar-item-comp-prefs):
921 The MH-E toolbar for XEmacs is defined differently from the
922 GNU/Emacs version, so only define these if we're in GNU/Emacs.
923 XEmacs doesn't need to see them and it's always good to cut down
924 on pollution.
925
9262003-03-08 Steve Youngs <youngs@xemacs.org>
927
928 * mh-mime.el (mh-mime-button-map): Bind the 2nd mouse button to
929 `mh-xemacs-push-button' in XEmacs.
930 (mh-mime-security-button-map): Ditto.
931
932 * mh-xemacs-compat.el: Shush the byte-compiler.
933 (mh-xemacs-push-button): New function to make MIME buttons work in
934 XEmacs.
935
9362003-03-08 Steve Youngs <youngs@xemacs.org>
937
938 * mh-mime.el (mh-display-emphasis): Don't test
939 `font-lock-maximum-size' to see if it is bound, just test for a
940 non-nil value. This variable can have a nil value which makes it
941 bound and dividing nil by 8 throws an error.
942 This fixes a bug in MH-E under XEmacs when
943 `font-lock-maximum-size' is nil that prevented article emphasis
944 and smiley display which in turn was causing the "Flush changes in
945 article x y/n" errors.
946 (mh-display-smileys): Ditto.
947
9482003-03-08 Steve Youngs <youngs@xemacs.org>
949
950 * mh-utils.el (mh-logo-display): Display logo in XEmacs as well.
951
952 * mh-xemacs-compat.el (mh-modeline-glyph): New. The MH-E modeline
953 logo for XEmacs.
954
9552003-03-06 Satyaki Das <satyaki@theforce.stanford.edu>
956
957 * mh-utils.el (mh-allow-root-folder-flag): New global variable
958 that decides if "+" is an acceptable folder name.
959 (mh-folder-completion-function): Refine the test for existing
960 folders to take mh-allow-root-folder-flag into account.
961 (mh-folder-completing-read, mh-prompt-for-folder): Use the
962 allow-root-folder-flag argument of mh-prompt-for-folder and add a
963 similar argument to mh-folder-completing-read.
964 (mh-exec-cmd-error): Make the function nicer by using
965 process-environment to pass the environment variable assignments.
966
9672003-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
968
969 * mh-mime.el (mh-push-button): Preserve point in the show buffer
970 if the mouse is used to expand/contract a button.
971
972 * mh-customize.el (mh-x-face-file): Mention X-Image-URL in
973 documentation.
974
975 * mh-comp.el (mh-insert-x-face): Modified to allow insertion of
976 X-Image-URL header field.
977
9782003-03-04 Satyaki Das <satyaki@theforce.stanford.edu>
979
980 * mh-utils.el (mh-face-display-function): Modified to facilitate
981 display of X-Image-URL images.
982 (mh-find-path): Initialize X-Image-URL cache directory.
983 (mh-x-image-url-cache-canonicalize, mh-x-image-url-fetch-image)
984 (mh-x-image-scale-and-display, mh-x-image-url-display)
985 (mh-x-image-display): New functions for X-Image-URL image display
986 and cache management.
987
988 * mh-customize.el (mh-show-use-xface-flag): Add info about
989 requirements for X-Image-URL display.
990 (mh-fetch-x-image-url): New customizable variable that controls
991 fetching of X-Image-URL.
992
9932003-03-04 Satyaki Das <satyaki@theforce.stanford.edu>
994
995 * mh-utils.el (mh-make-local-hook): New macro which works around
996 API changes in add-hook. Version of GNU Emacs before 21.1 and
997 XEmacs require a call to make-local-hook and just the LOCAL
998 argument of add-hook is not sufficient.
999 (mh-show-mode): Make kill-buffer-hook buffer local.
1000
1001 * mh-e.el (mh-folder-mode): Same as above.
1002
1003 * mh-comp.el (mh-compose-and-send-mail): Same as above.
1004
10052003-03-02 Satyaki Das <satyaki@theforce.stanford.edu>
1006
1007 * mh-mime.el (mh-push-button): Clicking on a MIME button used to
1008 cause the window with the show buffer to be selected. With this
1009 change the selected window doesn't change.
1010
10112003-03-01 Satyaki Das <satyaki@theforce.stanford.edu>
1012
1013 * mh-speed.el (mh-speed-flists): Avoid a potential race condition.
1014 When flists is called manually, or when an unseen message is read,
1015 mh-speed-partial-line was not reinitialized.
1016
1017 * mh-e.el (mh-visit-folder): If mh-visit-folder is used to visit
1018 the folder currently being visited (effectively doing a rescan)
1019 then mh-previous-window-config is erroneously set. The change
1020 fixes this.
1021
1022 * mh-customize.el (mh-index-show-hook): Remove unused variable.
1023
10242003-02-28 Satyaki Das <satyaki@theforce.stanford.edu>
1025
1026 * mh-e.el (mh-scan-folder): Call mh-reset-threads-and-narrowing
1027 only after the user has replied to question. This avoids premature
1028 clearing of the folder.
1029 (mh-rescan-folder, mh-visit-folder): Remove calls to
1030 mh-reset-threads-and-narrowing since it is now called in
1031 mh-scan-folder anyway.
1032
1033 * mh-funcs.el (mh-sort-folder): Same as above.
1034
10352003-02-26 Satyaki Das <satyaki@theforce.stanford.edu>
1036
1037 * mh-alias.el (mh-alias-alist): Change initial value to a symbol,
1038 so that it is different from the empty list, which could also
1039 mean that there are no aliases.
1040 (mh-alias-reload-maybe): Change test so that empty alist of
1041 aliases is properly handled (closes SF #693859).
1042
10432003-02-25 Satyaki Das <satyaki@theforce.stanford.edu>
1044
1045 * mh-mime.el (mh-decode-message-header): The message header could
1046 be encoded, for instance the author's name could contain
1047 characters not in ASCII. This function will decode such header
1048 fields.
1049 (mh-mm-inline-message): Use mh-decode-message-header.
1050
1051 * mh-utils.el (mh-display-msg): Use mh-decode-message-header.
1052 (mh-message-number-width): Use mh-scan-prog instead of "scan".
1053
1054 * mh-loaddefs.el: Regenerated.
1055
10562003-02-24 Satyaki Das <satyaki@theforce.stanford.edu>
1057
1058 * mh-utils.el (mh-truncate-log-buffer): Refine it so that the
1059 function will do the right thing even if called from a buffer
1060 other than mh-log-buffer.
1061
10622003-02-22 Peter S Galbraith <psg@debian.org>
1063
1064 * mh-alias.el (mh-alias-add-alias): Really fix SF #690216.
1065 This functions needs to strip brackets on standalone addresses as
1066 well.
1067
10682003-02-21 Satyaki Das <satyaki@theforce.stanford.edu>
1069
1070 * mh-xemacs-compat.el (replace-regexp-in-string): Remove the
1071 definition since it isn't used any more.
1072
10732003-02-20 Peter S Galbraith <psg@debian.org>
1074
1075 * mh-alias.el (mh-alias-which-file-has-alias): Bug fix. Needed to
1076 specify `noerror' on search.
1077
1078 * mh-alias.el (mh-alias-suggest-alias): Add condition for input
1079 string being an email address in brackets. We need to strip out
1080 the brackets. (closes SF #690216)
1081
10822003-02-20 Satyaki Das <satyaki@theforce.stanford.edu>
1083
1084 * mh-pick.el (mh-search-folder): The function was setting the
1085 global value of the variables mh-current-folder and
1086 mh-previous-window-config. This can lead to problems in code which
1087 assumes that these variables are nil when we aren't in a folder
1088 buffer. So make the variables local before setting them.
1089
10902003-02-19 Satyaki Das <satyaki@theforce.stanford.edu>
1091
1092 * mh-mime.el (mh-mime-display): All the MIME display code has been
1093 wrapped in a condition-case so that if something goes wrong, the
1094 raw message will be displayed.
1095
1096 * mh-funcs.el (mh-undo-folder): Comment out call to sit-for that
1097 seems unnecessary.
1098
1099 * mh-e.el (mh-scan-folder): Messages marked for deletion or
1100 refiling weren't getting annotated properly. The change fixes
1101 this.
1102 (mh-process-or-undo-commands): Change prompt to reflect what
1103 really happens in the code.
1104
11052003-02-18 Satyaki Das <satyaki@theforce.stanford.edu>
1106
1107 * mh-comp.el (mh-folder-expand-at-point): The function
1108 mail-abbrev-complete-alias often returns nil. This had the
1109 unfortunate consequence of always causing an error. The change
1110 fixes this.
1111
1112 * mh-alias.el (mh-alias-canonicalize-suggestion): New function
1113 which obviates the our need replace-regexp-in-string.
1114 (mh-alias-suggest-alias): Use mh-alias-canonicalize-suggestion to
1115 eliminate calls to replace-regexp-in-string. This avoids problems
1116 in Emacs20.
1117
1118 * mh-utils.el (mh-notate): Handle the case when nil is passed as
1119 notation gracefully.
1120 (mh-speed-flists-active-p): New function that returns non-nil if
1121 flists is being used in the speedbar to update message counts.
1122
1123 * mh-seq.el (mh-put-msg-in-seq): Fix a bug which made it
1124 impossible to add messages to the unseen sequence. Also adding
1125 messages to the unseen sequence will now update the speedbar
1126 message counts immediately.
1127
1128 * mh-e.el (mh-get-new-mail, mh-process-commands)
1129 (mh-undefine-sequence): Update speedbar message counts, if the
1130 speedbar is active and is displaying message counts.
1131 (mh-delete-msg-from-seq): In addition to updating message counts,
1132 unhighlight the message so that interactively removing messages
1133 from the unseen sequence makes the bold highlight of unseen
1134 messages in the scan buffer go away.
1135 (mh-clear-text-properties): New function that removes all text
1136 properties from the current scan line.
1137
11382003-02-15 Satyaki Das <satyaki@theforce.stanford.edu>
1139
1140 * mh-utils.el (mh-face-display-function): Wrap call of
1141 insert-image in mh-funcall-if-exists. This avoids a compiler
1142 warning in Emacs20.
1143
1144 * mh-speed.el (mh-speed-flists): Weaken test a bit to avoid
1145 compiler warning in Emacs20.
1146 (mh-speedbar-change-expand-button-char): Wrap call of
1147 speedbar-insert-image-button-maybe in mh-funcall-if-exists. This
1148 function isn't present in the speedbar that ships with Emacs20, so
1149 calling it there causes an error.
1150
1151 * mh-seq.el (mh-msg-is-in-seq): Adjust loop call a bit to avoid
1152 compiler warning in XEmacs. The XEmacs compiler should be improved
1153 so that such spurious warnings from builtin macros are suppressed.
1154
1155 * mh-index.el (mh-index-search): Same as above.
1156
1157 * mh-e.el (tool-bar-mode): The declaration is needed for Emacs20
1158 too.
1159
1160 * mh-comp.el (mailabbrev): Try loading it any way. Some day XEmacs
1161 will get it and then MH-E will just use it.
1162 (tool-bar-mode, tool-bar-map): These declarations are needed for
1163 Emacs20 too.
1164 (mh-mail-abbrev-make-syntax-table, mh-folder-expand-at-point):
1165 Remove mh-mail-abbrev-make-syntax-table since mh-funcall-if-exists
1166 can be used instead.
1167
1168 * mh-alias.el (require): Avoid autoloading functions that may not
1169 be defined.
1170 (mh-read-address, mh-alias-letter-expand-alias): Rewrite using
1171 mh-funcall-if-exists.
1172
11732003-02-15 Satyaki Das <satyaki@theforce.stanford.edu>
1174
1175 * mh-loaddefs.el: Regenerated.
1176
1177 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-add-buttons)
1178 (mh-speed-toggle): Reuse markers instead of creating more of them.
1179 (mh-speed-flists-folder, mh-speed-flists): Add optional folder
1180 argument to mh-speed-flists so that message counts are updated
1181 only for that one folder.
1182 (mh-speed-parse-flists-output): If no change in counts then avoid
1183 consing.
1184
1185 * mh-index.el (mh-index-execute): Rewritten to use a temporary
1186 buffer that is not left behind.
1187
1188 * mh-funcs.el (mh-store-buffer): Use mh-log-buffer instead of the
1189 special purpose *Store Output* buffer.
1190
11912003-02-14 Satyaki Das <satyaki@theforce.stanford.edu>
1192
1193 * mh-customize.el (mh-show-xface-face): Make it always be black
1194 foreground on a white background (the reverse of that can make
1195 some X-Face images look creepy).
1196
1197 * mh-utils.el (mh-truncate-log-buffer): Modify the function to
1198 return the current size of mh-log-buffer. Also we are now a bit
1199 more careful in adding separators between consecutive messages.
1200 (mh-exec-cmd): Fix a bug where the the log buffer would be
1201 displayed even if no error happened in the current command but
1202 the log buffer had messages from a previous error.
1203
1204 * mh-mime.el (mh-mime-save-parts): Use mh-log-buffer to show
1205 error messages.
1206
1207 * mh-alias.el (mh-alias-local-users): Add a space between parens.
1208
12092003-02-14 Steve Youngs <youngs@xemacs.org>
1210
1211 * mh-utils.el (mh-face-display-function): Call
1212 `x-face-xmas-wl-display-x-face' using `mh-funcall-if-exists'.
1213
1214 * mh-xemacs-compat.el (replace-regexp-in-string): New.
1215
12162003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
1217
1218 * mh-utils.el (mh-log-buffer-lines): New variable that keeps
1219 track of the number of lines to keep in mh-log-buffer.
1220 (mh-truncate-log-buffer): New function that is used to make sure
1221 that the log buffer doesn't grow to unbounded size.
1222 (mh-exec-cmd, mh-exec-cmd-daemon, mh-handle-process-error): Use
1223 mh-truncate-log-buffer instead of erase-buffer to keep some
1224 number of previous log messages around (closes SF #685476).
1225
12262003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
1227
1228 * mh-e.el (tool-bar-mode): Declare it in XEmacs.
1229 (mh-folder-mode): Use mh-funcall-if-exists to call hl-line-mode.
1230
1231 * mh-utils.el (mh-funcall-if-exists): New macro that calls a
1232 function only if it exists.
1233 (mh-logo-display, mh-defun-show-buffer): Use mh-funcall-if-exists
1234 to call the functions find-image and deactivate-mark.
1235
1236 * mh-mime.el (mh-mime-cleanup, mh-small-image-p)
1237 (mh-mm-display-part): Use mh-funcall-if-exists to call the
1238 functions image-size and remove-images.
1239
1240 * mh-comp.el (tool-bar-map, tool-bar-mode): Declare the variables
1241 in XEmacs.
1242 (mh-folder-expand-at-point): Use mh-funcall-if-exists to call
1243 mail-abbrev-complete-alias if it exists.
1244
1245 * mh-alias.el (mh-read-address): Use mh-funcall-if-exists for
1246 future extensibility.
1247
12482003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
1249
1250 * mh-utils.el (mh-logo-display): The function find-image is
1251 present only in GNU Emacs.
1252 (mh-defun-show-buffer): The function deactivate-mark is present
1253 only in GNU Emacs.
1254 (default-enable-multibyte-characters): Declare it in XEmacs to
1255 avoid compiler warning.
1256 (mh-face-display-function): Avoid inserting space if there isn't
1257 any Face or X-Face header field to display.
1258
1259 * mh-seq.el (mh-thread-last-ancestor): Move declaration of
1260 variable before its first use to silence XEmacs warning.
1261
1262 * mh-mime.el (default-enable-multibyte-characters, dots, type):
1263 Declare these in XEmacs to remove compiler warnings in XEmacs.
1264 (mh-mime-cleanup, mh-mm-display-part): Call remove-images only in
1265 GNU Emacs.
1266 (mh-small-image-p): Call image-size only in GNU Emacs.
1267
1268 * mh-index.el (mh-mairix-next-result): Fix a bug where a quote
1269 was missing.
1270 (mh-swish++-regexp-builder): Remove the unused binding meta.
1271
1272 * mh-e.el (mh-folder-size): Pass on an extra value to remove
1273 XEmacs warning.
1274 (mh-folder-mode): Surround calls to hl-line-mode and
1275 tool-bar-mode with mh-do-in-gnu-emacs since these functions
1276 aren't present in XEmacs.
1277
1278 * mh-customize.el (mh-tool-bar-show-set, mh-tool-bar-letter-set)
1279 (mh-tool-bar-folder-set): These functions call tool-bar-*
1280 functions which are present only in GNU Emacs. So surround them
1281 with mh-do-in-gnu-emacs.
1282
1283 * mh-comp.el (mh-letter-mode, mh-folder-expand-at-point): Only
1284 call these functions in GNU Emacs.
1285 (mail-abbrevs): Declare it in XEmacs.
1286
1287 * mh-alias.el (mh-read-address): Call completing-read-multiple
1288 only in GNU Emacs.
1289 (mail-abbrevs): Declare it in XEmacs.
1290 (mh-alias-add-alias-to-file): Remove unused code.
1291
1292