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