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