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