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