aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mh-e/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mh-e/ChangeLog')
-rw-r--r--lisp/mh-e/ChangeLog11348
1 files changed, 21 insertions, 11327 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 6836b3947cb..bbea09f669a 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,11339 +1,33 @@
12005-09-30 Bill Wohler <wohler@newt.com> 12005-10-14 Bill Wohler <wohler@newt.com>
2 2
3 * mh-customize.el (mh-refile-msg, mh-tool-bar-reply-from) 3 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
4 (mh-tool-bar-reply-to, mh-tool-bar-reply-all) 4 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
5 (mh-alias-grab-from-field, mh-pack-folder): Image files moved to 5 need to be indented.
6 etc/images/mail so added "mail/" prefix. 6
7 (mh-reply): Ditto. Also renamed reply2.* to reply.*. 7 * mh-seq.el (mh-non-seq-mode-line-annotation): Moved
8 (mh-rescan-folder): Ditto. Renamed image file to refresh.* since 8 make-variable-buffer-local call to top level to avoid warnings in
9 it can be used in the general sense. Does not have "mail/"
10 prefix.
11
122005-09-24 Emilio C. Lopes <eclig@gmx.net>
13
14 * mh-mime.el (mh-compose-forward, mh-mhn-compose-forw):
15 * mh-comp.el (mh-insert-letter):
16 * mh-utils.el (mh-prompt-for-folder):
17 Follow convention for reading with the minibuffer.
18
192005-09-19 Juanma Barranquero <lekktu@gmail.com>
20
21 * mh-print.el (mh-ps-print-msg-show): Fix misplaced parenthesis in
22 previous change.
23
242005-09-18 D Goel <deego@gnufans.org>
25
26 * mh-alias.el (mh-alias-ali): Fix `message' call: first arg
27 should be a format spec.
28
29 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
30 (mh-ps-print-msg, mh-ps-print-msg-show): Ditto.
31
32 * mh-mime.el (mh-toggle-mh-decode-mime-flag): Ditto.
33
34 * mh-index.el (mh-index-sequenced-messages): Ditto.
35
36 * mh-e.el (mh-refile-or-write-again, mh-page-msg): Ditto.
37
38 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist)
39 (mh-spamassassin-blacklist, mh-spamassassin-whitelist): Ditto.
40
412005-08-15 Dan Nicolaescu <dann@ics.uci.edu>
42
43 * mh-customize.el: Do not use face-alias compatibility for
44 faces that did not appear in the previous Emacs release.
45
462005-08-10 Lars Hansen <larsh@soem.dk>
47
48 * mh-e.el: Add handler to desktop-buffer-mode-handlers.
49 (mh-restore-desktop-buffer): Remove autoload cookie.
50 (mh-folder-mode): Add autoload cookie.
51
522005-07-04 Lute Kamstra <lute@gnu.org>
53
54 Update FSF's address in GPL notices.
55
562005-06-17 Lute Kamstra <lute@gnu.org>
57
58 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
59 (mh-folder-cur-msg-number-face): New backward-compatibility
60 aliases for renamed faces.
61
622005-06-17 Miles Bader <miles@gnu.org>
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.
110
1112005-06-16 Juanma Barranquero <lekktu@gmail.com>
112
113 * mh-comp.el (mh-send-sub):
114 * mh-identity.el (mh-identity-field-handler):
115 * mh-mime.el (mh-secure-message):
116 Don't use `format' on `error' arguments.
117
1182005-06-14 Juanma Barranquero <lekktu@gmail.com>
119
120 * mh-mime.el (mh-secure-message): Follow error conventions.
121
1222005-05-28 Bill Wohler <wohler@newt.com>
123
124 Released MH-E version 7.84.
125
126 * MH-E-NEWS, README: Updated for release 7.84.
127
128 * mh-e.el (Version, mh-version): Updated for release 7.84.
129
1302005-05-28 Bill Wohler <wohler@newt.com>
131
132 * mh-e.el, mh-comp.el: Don't autoload Info-goto-node. It's not
133 used, and if it were, the code should use the info function
134 instead.
135
136 Use full year in copyright notices (for example, 2005, not 05).
137
138 * Makefile (mh-loaddefs.el, mh-e-autoloads.el): Added 2005 to
139 copyright notice.
140
141 * mh-inc.el: Use three ;;; to precede Local Variables to be
142 consistent with other files. Will have to ask Stefan Monnier why
143 he changed it.
144
145 * README: This version of MH-E to appear in GNU Emacs 22.1, not
146 21.5.
147
148 * ChangeLog: The * in a ChangeLog entry must only be used before a
149 filename.
150
151 Fixed compilation warnings in CVS Emacs. This included using
152 "public" functions instead of "private" ones (info instead of
153 Info-goto-node, view-mode-enter instead of view-mode), and
154 removing a customization group that didn't have a parent group. In
155 addition, string-to-int was recently deprecated; use
156 string-to-number instead.
157
158 * mh-customize.el (Info-goto-node): Deleted autoload.
159 (mh-e): Deleted mh group. Use single mh-e group instead.
160 (mh-tool-bar-folder-help, mh-tool-bar-letter-help): Use info
161 instead of Info-goto-node.
162
163 * mh-e.el (mh-read-msg-list): string-to-int deprecated; use
164 string-to-number.
165
166 * mh-funcs.el (mh-list-folders): Use view-mode-enter instead of
167 view-mode.
168
169 * mh-seq.el (mh-list-sequences): Use view-mode-enter instead of
170 view-mode.
171
172 * mh-utils.el (mh-get-msg-num): string-to-int deprecated; use
173 string-to-number.
174
175 Merged in changes from CVS Emacs including:
176
177 * mh-utils.el (mh-show-mode):
178 * mh-pick.el (mh-pick-mode): Remove spurious run-hooks. Lute
179 Kamstra <lute@gnu.org> 2005-05-26.
180
1812005-05-25 Bill Wohler <wohler@newt.com>
182
183 Merged in changes from CVS Emacs including:
184
185 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
186 high number of colors displays. Dan Nicolaescu <dann@ics.uci.edu>
187 2005-04-08.
188
189 * mh-e.el, mh-identity.el, mh-mime.el: Replace `legal' with
190 `valid'. Replace `illegal' with `invalid'. Werner Lemberg
191 <wl@gnu.org> 2005-03-25.
192
193 * mh-inc.el (mh-inc-spool-list): Correctly declare the external
194 var. Stefan <monnier@iro.umontreal.ca> 2004-09-07.
195
1962005-05-18 Bill Wohler <wohler@newt.com>
197
198 * mh-comp.el (mh-reply): Mention use of mh-repl-group-formfile in
199 docstring.
200
2012005-05-05 Bill Wohler <wohler@newt.com>
202
203 * mh-e.el (Version, mh-version): Added +cvs to release number.
204
2052005-05-05 Bill Wohler <wohler@newt.com>
206
207 Released MH-E version 7.83.
208
209 * MH-E-NEWS, README: Updated for release 7.83.
210
211 * mh-e.el (Version, mh-version): Updated for release 7.83.
212
2132005-05-05 Bill Wohler <wohler@newt.com>
214
215 * README: To appear in Emacs 21.5, since 21.4 was released (but
216 without the latest MH-E).
217
218 * release-utils (usage): Added --variable-changes.
219
2202005-05-04 Bill Wohler <wohler@newt.com>
221
222 * mh-customize.el (*-face): Made docstrings consistent.
223
224 * mh-seq.el (mh-pick-args-list): Extracted function for turning
225 string of pick arguments to list. Fixed list so that multi-word
226 arguments were put in a single string (closes SF #1122655).
227 (mh-edit-pick-expr): Use it.
228
229 * mh-unit.el (mh-unit): Since 21.4 snuck out but didn't contain
230 updated lm-verify, don't run lm-verify on versions before 21.5.
231 (mh-unit-test-pick-args-list): Added.
232
233 * mh-customize.el (mh-yank-from-start-of-msg): Use headline
234 capitalization. Changed wording of some choices to be more consistent.
235 (mh-invisible-header-fields-internal): Added fields from usa.net.
236
2372005-04-24 Satyaki Das <satyaki@theforce.stanford.edu>
238
239 * mh-mime.el (mh-mime-security-button-face): New function which
240 determines the face to use to colorize encrypted or signed emails.
241 (mh-insert-mime-security-button): Modified to colorize the button
242 differently based on whether the signature was valid or not,
243 whether the decryption was successful or not, etc.
244
245 * mh-customize.el (mh-show-pgg-good-face)
246 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face): Faces added to
247 highlight buttons introduced for encrpted or signed MIME parts.
248
2492005-03-19 Bill Wohler <wohler@newt.com>
250
251 * mh-customize.el (mh-mml-method-default): Sorted alphabetically.
252 (mh-insert-x-mailer-flag, mh-reply-show-message-flag): Moved from
253 mh-letter group to mh-sending-mail group. The writing of the
254 documentation revealed that these options were misplaced.
255
2562005-03-17 Bill Wohler <wohler@newt.com>
257
258 * mh-customize.el (mh-junk-background): Put in alphabetical order.
259 Synced with manual.
260 (mh-junk-program): Use double-quotes on non-symbols.
261
262 * mh-pick.el: (mh-search-folder): Synced docstrings with manual.
263
264 * mh-index.el: (mh-index-search, mh-pick-execute-search)
265 (mh-grep-execute-search, mh-mairix-execute-search)
266 (mh-swish-execute-search, mh-swish++-execute-search)
267 (mh-namazu-execute-search): Synced docstrings with manual. Note
268 that I'm now grabbing the output of an Info buffer which is why
269 the indents on the examples has changed a bit. If we all use that
270 methodology in the future, we shouldn't produce as many gratuitous
271 diffs. I also noticed that `grep' and `search' became links to
272 unrelated things, so let's use double-quotes for quoting
273 non-symbols in the docstrings.
274
275 * mh-customize.el (mh-index-new-messages-folders)
276 (mh-index-ticked-messages-folders): Synced docstrings with manual.
277
2782005-02-16 Satyaki Das <satyaki@theforce.stanford.edu>
279
280 * mh-index.el (mh-swish-execute-search): Simplify the indexing
281 recipe for swish. Thanks to Eric Jensen for the suggestion.
282
2832005-02-11 Satyaki Das <satyaki@theforce.stanford.edu>
284
285 * mh-index.el (mh-swish-execute-search)
286 (mh-swish++-execute-search): Make the indexing recipes better.
287 (mh-swish-next-result): The indexer might find matches in files
288 that aren't messages. Make the function handle that case
289 gracefully.
290
2912005-02-07 Bill Wohler <wohler@newt.com>
292
293 * mh-customize.el (mh-inc-prog, mh-inc-spool-list): Synced
294 docstrings with manual.
295
2962005-02-06 Bill Wohler <wohler@newt.com>
297
298 * mh-junk.el (mh-spamassassin-blacklist): Removed trailing
299 whitespace.
300
301 * mh-e.el (mh-refile-or-write-again): Checkdoc fix.
302
303 * mh-identity.el (mh-identity-list-set)
304 (mh-identity-field-handler, mh-identity-handler-gpg-identity)
305 (mh-identity-handler-signature)
306 (mh-identity-handler-attribution-verb)
307 (mh-identity-handler-default, mh-identity-handler-top): Docstring
308 editing.
309
310 * mh-customize.el (mh-identity-list, mh-auto-fields-list)
311 (mh-identity-default, mh-identity-handlers): Synced docstrings
312 with manual.
313
3142005-02-03 Bill Wohler <wohler@newt.com>
315
316 * mh-xemacs.el (define-behavior 'mh): Moved Ben's code here from
317 mh-e.el and added standard documentation.
318
319 * mh-e.el: Received patch from Ben Wing <ben@666.com> to add
320 define-behavior on XEmacs.
321
3222005-01-28 Jeffrey C Honig <jch@honig.net>
323
324 * mh-customize.el (mh-invisible-header-fields-internal): Added
325 X-Evolution header added by Evolution mai client.
326
3272005-01-18 Bill Wohler <wohler@newt.com>
328
329 * mh-customize.el (mh-invisible-header-fields-internal): Added
330 DomainKey-Signature (http://antispam.yahoo.com/domainkeys/).
331 There's a Comment field that goes with it, but I thought it was
332 too general to add.
333
3342005-01-06 Bill Wohler <wohler@newt.com>
335
336 * mh-junk.el (mh-spamassassin-blacklist): Fixed typo to fix an
337 error when junking spamassassin mail when mh-junk-background is
338 turned on.
339
3402004-12-25 Satyaki Das <satyaki@theforce.stanford.edu>
341
342 * mh-utils.el (mh-show-unquote-From): Make the buffer writable
343 before trying to change it (closes SF #1089870).
344
345 * mh-comp.el (mh-complete-word): Fix a typo in a variable
346 name (closes SF #1089870)
347
3482004-11-28 Jeffrey C Honig <jch@honig.net>
349
350 * mh-comp.el (mh-complete-word): Kill the *Completions* buffer in
351 any cases where we belive we are done with it. Not perfect, but
352 better than just leaving it around.
353
3542004-11-08 Satyaki Das <satyaki@theforce.stanford.edu>
355
356 * mh-acros.el (mh-funcall-if-exists): In XEmacs, presence of a
357 function at compile time doesn't guarantee it's existence at run
358 time. So make the macro handle that situation better.
359
3602004-11-05 Satyaki Das <satyaki@theforce.stanford.edu>
361
362 * mh-acros.el (advice): Load advice, since it isn't loaded in
363 XEmacs causing compilation problems.
364
3652004-10-24 Satyaki Das <satyaki@theforce.stanford.edu>
366
367 * mh-index.el (mh-mairix-execute-search)
368 (mh-mairix-regexp-builder): Update the interface to mairix so that
369 it will work with versions of mairix 0.12 and later.
370
371 * mh-funcs.el (mh-rmf-daemon): Avoid using
372 beginning-of-buffer since it clobbers the mark and it was pointed
373 out on the Emacs developers list to be the wrong thing to do.
374
375 * mh-e.el (mh-inc-folder): Only remove the window on the show
376 buffer. This means if the user has BBDB enabled then the window
377 displaying BBDB information isn't clobbered.
378 (mh-refile-or-write-again): Don't use the function
379 interactive-p. There was a long thread on the Emacs developers
380 list where it was pointed out that it is incorrect to use this
381 function most of the time.
382
383 * mh-comp.el (autoload): Don't set auto-mode-alist. This could
384 screw things up for users that don't use MH-E (closes SF #1032353).
385
3862004-10-13 Satyaki Das <satyaki@theforce.stanford.edu>
387
388 * mh-e.el (mh-refile-or-write-again): Generalize the function to
389 work on a range of messages (closes SF #1046330).
390
3912004-09-02 Satyaki Das <satyaki@theforce.stanford.edu>
392
393 * mh-e.el (mh-process-commands): The concurrent execution of mark
394 and refile can cause problems since both the commands change the
395 current folder. This change avoids that by getting rid of the
396 concurrency. Another change covers the corner case where we refile
397 messages to a previously empty folder. Before the modification
398 sequences weren't preserved even if the appropriate flag was
399 set. That is no longer the case.
400
4012004-08-26 Satyaki Das <satyaki@theforce.stanford.edu>
402
403 * mh-e.el (mh-get-new-mail): Also, update the unseen sequence from
404 disk. Otherwise, the new messages aren't highlighted.
405
406 * mh-seq.el (mh-thread-inc): Fix a bug which appears when inc is
407 run in a narrowed folder. The user sequence notation was getting
408 lost. The change fixes that.
409
410 * mh-e.el (mh-get-new-mail): Make inc more efficient by reusing
411 the existing user sequence notation and deleted/refiled notation.
412
4132004-08-24 Bill Wohler <wohler@newt.com>
414
415 * mh-e.el (Version, mh-version): Added +cvs to release number.
416
4172004-08-24 Bill Wohler <wohler@newt.com>
418
419 Released MH-E version 7.82.
420
421 * MH-E-NEWS, README: Updated for release 7.82.
422
423 * mh-e.el (Version, mh-version): Updated for release 7.82.
424
4252004-08-24 Bill Wohler <wohler@newt.com>
426
427 * mh-init.el (mh-variant-set): Change MH to mh as that's what is
428 emitted by `mh-variant-mh-info' (closes SF #1014781).
429 (mh-variant-p): Add mu-mh to docstring.
430
4312004-08-23 Satyaki Das <satyaki@theforce.stanford.edu>
432
433 * mh-acros.el (mh-require-cl): Remove unneeded autoloads.
434 (require): Add an advice to the function so that at compile time
435 the uncompiled file is loaded. This avoids compilation problems
436 when built in the Emacs tree.
437
438 * mh-mime.el (mh-identity-pgg-default-user-id): Defvar the
439 variable, to avoid compiler warnings.
440
441 * mh-e.el (mh-seq): Load mh-seq since functions defined there are
442 used here. Without this, the state mh-seq.elc would be loaded.
443
444 * mh-customize.el (mh-init, mh-identity): Load mh-init and
445 mh-identity at compile time manually, before the corresponding
446 stale elc files get autoloaded.
447
4482004-08-21 Bill Wohler <wohler@newt.com>
449
450 * mh-e.el (Version, mh-version): Add +cvs to release number.
451
4522004-08-21 Bill Wohler <wohler@newt.com>
453
454 Released MH-E version 7.81.
455
456 * MH-E-NEWS, README: Updated for release 7.81.
457
458 * mh-e.el (Version, mh-version): Updated for release 7.81.
459
4602004-08-21 Bill Wohler <wohler@newt.com>
461
462 * release-utils (variable_changes): Check for checked-out
463 directory before proceeding. Remove temporary files.
464 Rename --variable-update flag to --variable-changes.
465
4662004-08-16 Mark D. Baushke <mdb@gnu.org>
467
468 * mh-mime.el (mh-toggle-mh-decode-mime-flag: New function.
469 * mh-e.el (mh-help-messages): Add [;] help string for it.
470 (mh-folder-mode-map): Add ";" key binding for it.
471
4722004-08-15 Satyaki Das <satyaki@theforce.stanford.edu>
473
474 * mh-acros.el (mh-defstruct): Distinguishing structures created
475 by mh-defstruct just based on the number of fields is not
476 sufficient, since both the mh-thread-message and
477 mh-thread-container structures have the same length.
478
4792004-08-15 Mark D. Baushke <mdb@gnu.org>
480
481 * mh-customize.el (mh-identity-handlers): Use ":default" instead of
482 "default" to avoid problems with "Default:" as a user defined field.
483 * mh-identity.el (mh-identity-field-handler): Ditto.
484
4852004-08-15 Bill Wohler <wohler@newt.com>
486
487 * mh-e.el (Version, mh-version): Added +cvs to release number.
488
4892004-08-15 Bill Wohler <wohler@newt.com>
490
491 Released MH-E version 7.4.80.
492
493 * MH-E-NEWS, README: Updated for release 7.4.80.
494
495 * mh-e.el (Version, mh-version): Updated for release 7.4.80.
496
4972004-08-15 Bill Wohler <wohler@newt.com>
498
499 * mh-funcs.el, mh-gnus.el, mh-inc.el, mh-init.el, mh-junk.el,
500 mh-pick.el, mh-print.el, mh-xemacs.el: Added 2004 to Copyright.
501
502 * mh-acros.el, mh-alias.el: Checkdoc fixes.
503
5042004-08-12 Satyaki Das <satyaki@theforce.stanford.edu>
505
506 * mh-acros.el (cl): Load cl in this file. That is all right, since
507 this file is only used at compile time, and so cl doesn't get
508 loaded at run time. This avoids problems with stale *.elc files
509 present in the Emacs source tree during compilation.
510 (mh-defstruct): Modify it to make it more CL like and in the
511 process simplify it a bit. This makes the argument list of the
512 constructor compatible with the previous version, thereby avoiding
513 a compilation error when an old version of mh-seq.elc is present.
514
515 * mh-seq.el (mh-thread-id-container, mh-thread-get-message)
516 (mh-thread-get-message-container): Revert back to the CL style
517 of using keyword arguments, since the mh-defstruct now produces
518 code compatible to such usage.
519
5202004-08-11 Satyaki Das <satyaki@theforce.stanford.edu>
521
522 * mh-acros.el (mh-defstruct, mh-require-cl): Checkdoc fixes.
523
524 * mh-utils.el (message-tokenize-header, message-fetch-field): Add
525 autoloads.
526 (mh-folder-completing-read): Make the folder completion look
527 better with CVS Emacs.
528
529 * mh-init.el (mh-variant-set): Remove dead code.
530
5312004-08-11 Bill Wohler <wohler@newt.com>
532
533 * *.el: Use the following at the top of each file which seems to
534 do a good job of suppressing compilation warnings in 21.3 and CVS
535 Emacs (21.4). This replaces (require 'cl) or (require
536 'utils) (mh-require-cl) calls:
537
538 (eval-when-compile (require 'mh-acros))
539 (mh-require-cl)
540
5412004-08-10 Bill Wohler <wohler@newt.com>
542
543 * release-utils (DESCRIPTION): Added one.
544 (FILES, SEE ALSO, VERSION): Deleted empty and incorrect sections.
545
546 * mh-e.el (mh-colors-available-p): Call x-display-color-cells with
547 mh-funcall-if-exists since it no longer seems to be defined in
548 GNU Emacs 21.4.
549
5502004-08-10 Satyaki Das <satyaki@theforce.stanford.edu>
551
552 * mh-speed.el (mh-process-kill-without-query, mh-speed-flists):
553 Avoid a compiler warning in versions of Emacs where
554 process-kill-without-query is a deprecated function.
555
556 * mh-seq.el (mh-thread-message, mh-thread-container): Use
557 mh-defstruct instead of defstruct.
558 (mh-thread-id-container, mh-thread-get-message-container)
559 (mh-thread-get-message): Use the slightly different structure
560 constructor function.
561
562 * mh-acros.el (mh-defstruct): New macro which is a partial
563 replacement of the defstruct in CL.
564 (no-byte-compile): Don't compile the file since it isn't loaded at
565 run time, so efficiency isn't an issue.
566
567 * mh-utils.el (mh-buffer-data): Use mh-defstruct instead of
568 defstruct.
569
5702004-08-09 Satyaki Das <satyaki@theforce.stanford.edu>
571
572 * mh-funcs.el, mh-junk.el, mh-print.el: Use mh-require-cl to avoid
573 compilation warnings in Emacs-21.3.
574
575 * mh-acros.el (mh-require-cl): Add autoloads of CL functions used.
576
5772004-08-09 Bill Wohler <wohler@newt.com>
578
579 * mh-customize.el (mh-show-use-xface-flag): Mention that `fetch' and
580 `curl' are supported as well.
581
5822004-08-08 Bill Wohler <wohler@newt.com>
583
584 * mh-xemacs.el (mh-xemacs-has-toolbar-flag): Checkdoc fixes.
585
586 * mh-mime.el (mh-display-with-external-viewer): Checkdoc fixes.
587
588 * mh-identity.el: (mh-identity-attribution-verb-end): Stripped
589 trailing space; checkdoc fixes.
590
591 * mh-e.el (mh-restore-desktop-buffer): Checkdoc fixes.
592
593 * mh-customize.el: (mh-inc-spool-list,
594 mh-compose-forward-as-mime-flag, defcustom): Stripped trailing
595 space; checkdoc fixes.
596
597 * mh-comp.el (mh-reply): Stripped trailing space.
598
599 * mh-unit.el (mh-unit-files): Added mh-acros.el and mh-gnus.el.
600 (mh-unit): Don't lm-verify pre-21.4. Save buffers before killing
601 since we might have done some editing.
602
603 * import-emacs: Deleted. Functionality subsumed by release-utils.
604
605 * release-utils: New script. Performs import-emacs functionality
606 and displays new and deleted options.
607
608 * Makefile (import-emacs): Call release-utils instead of
609 import-emacs.
610
611 * mh-funcs.el (mh-undo-folder): Removed deprecated `ignore'
612 argument.
613
614 * mh-e.el (mh-scan-date-regexp): Deleted as Peter claims it is
615 obsolete.
616 (mh-folder-font-lock-keywords): Removed reference to deleted
617 variable `mh-scan-date-regexp'.
618
619 * mh-customize.el (mh-auto-fields-prompt-flag): Made reference to
620 `mh-auto-fileds-lists'.
621 (mh-forward-hook): Fixed docstring typo.
622
6232004-08-07 Bill Wohler <wohler@newt.com>
624
625 * mh-acros.el: New file. Currently holds macros needed by
626 mh-customize.el but is planned to hold all macros to avoid
627 dependency problems when compiling.
628
629 * mh-utils.el (mh-xemacs-flag): Defined in mh-customize.el now.
630 (mh-require-cl, mh-do-in-gnu-emacs, mh-do-in-xemacs)
631 (mh-funcall-if-exists, mh-make-local-hook, mh-mark-active-p):
632 Moved to new file mh-acros.el.
633
634 * mh-customize.el: Require mh-acros and cl only when compiling and
635 mh-loaddefs at runtime instead of mh-utils.
636 (mh-xemacs-flag): Define it here instead of mh-utils.el.
637
638 * Makefile (MH-E-SRC): Added mh-acros.el.
639
640 * mh-gnus.el (default-enable-multibyte-characters): Don't define
641 any more. It doesn't seem to be needed.
642
643 * mh-customize.el (mh-junk-background): New variable. If on, spam
644 programs are run in background. Running in foreground can be slow.
645 Defaults to nil to spare machines with little memory.
646
647 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
648 (mh-bogofilter-whitelist, mh-spamprobe-blacklist)
649 (mh-spamprobe-whitelist): Use new option mh-junk-background.
650
6512004-07-25 Satyaki Das <satyaki@theforce.stanford.edu>
652
653 * mh-utils.el (mh-folder-completing-read): In recent CVS Emacs,
654 the first letter of the possible choices in the completion buffer
655 is highlighted. The change is needed for this feature to work
656 during folder name completion. This is not entirely sufficient,
657 since the leading "+" in folder names is still mishandled. A patch
658 is required in Emacs itself to address that.
659
6602004-07-22 Mark D. Baushke <mdb@gnu.org>
661
662 * mh-e.el (recursive-load-depth-limit): Move
663 recursive-load-depth-limit code to ...
664 * mh-utils.el (recursive-load-depth-limit): ... here to avoid
665 problems compiling mh-utils.el and mh-alias.el with gnus-5.10.6
666 under emacs-21.1. Use eval-and-compile instead of eval-when.
667
6682004-07-20 Bill Wohler <wohler@newt.com>
669
670 * mh-customize.el (mh-invisible-header-fields-internal): Added
671 header fields emitted by T-Mobile picture phones (X-Mms-*, and
672 commented out X-Operator field saying it's like X-Mailer).
673
6742004-07-12 Bill Wohler <wohler@newt.com>
675
676 * mh-gnus.el: Set local variables indent-tabs-mode and
677 sentence-end-double-space to nil.
678
679 * mh-customize.el: Checkpoint from option docstring updates and
680 manual synchronization from last summer. For the options listed
681 below, docstring was usually completely rewritten. Use "on"
682 instead of "t" in docstring to match what is seen in customization
683 buffer. Use headline capitalization. Standardize on "Auto-detect"
684 text when option has that capibility.
685 (mh): Since we work on more than one type of Emacs, use Emacs
686 instead of GNU Emacs. Prefer GNU mailutils over GNU Mailutils.
687 (mh-variant): s/Autodetect at startup/Auto-detect/.
688 (mh-alias-insertion-location): s/Sorted
689 alphabetically/Alphabetical/. s/At the top of file/Top/. s/At the
690 bottom of file/Bottom/.
691 (mh-alias-local-users-prefix): s/Use login instead of real
692 name/Use Login/.
693 (mh-identity-list): Sorted values by fields, attribution,
694 signature, GPG key.
695 (mh-auto-fields-list): Missing quote.
696 (mh-compose-insertion): s/Use Gnus/Gnus/. s/Use mhn/mhn/.
697 (mh-compose-space-does-completion-flag): s/SPACE/<SPC>/.
698 (mh-extract-from-attribution-verb): Since we have French, added
699 German too ;-).
700 (mh-letter-complete-function): Mention default in docstring.
701 (mh-invisible-header-fields-internal): Added X-ELNK-Trace from
702 Earthlink.
703 (mh-alias-flash-on-comma, mh-alias-insert-file)
704 (mh-alias-passwd-gecos-comma-separator-flag)
705 (mh-recenter-summary-flag, mh-default-folder-for-message-function)
706 (mh-default-folder-must-exist-flag, mh-index-program)
707 (mh-index-ticked-messages-folders, mh-ins-buf-prefix)
708 (mh-delete-yanked-msg-window-flag, mh-identity-default): See
709 summary above.
710
711 * mh-init.el (mh-variant-set, mh-sys-path, mh-variant-mu-mh-info):
712 Prefer GNU mailutils over GNU Mailutils MH.
713
714 * mh-comp.el (sc-cite-original, mh-smail, mh-smail-batch)
715 (mh-edit-again, mh-extract-rejected-mail, mh-forward)
716 (mh-smail-other-window, mh-reply, mh-send, mh-send-other-window):
717 Use `mh-send' instead of \\[mh-send]] since links in the docstring
718 are more useful than a key sequence in these cases. Use "See also"
719 instead of "See also documentation for".
720
721 Merged in 7.4.4 changes, described below.
722
723 * mh-e.el (Version, mh-version): Set to 7.4.4+cvs.
724
7252004-07-10 Bill Wohler <wohler@newt.com>
726
727 Released MH-E version 7.4.4.
728
729 * MH-E-NEWS, README: Updated for release 7.4.4.
730
731 * mh-e.el (Version, mh-version): Updated for release 7.4.4.
732
733 This patch release contains the following patches:
734
735 * mh-xemacs.el: New file from concatenation of mh-xemacs-compat.el
736 and mh-xemacs-icons.el which were removed since their names
737 exceeded DOS 8+3 limits.
738
739 * Makefile:
740 (mh-e-autoloads.el): Add target to make `mh-e-autoloads.el', a
741 file containg usual entry commands into MH-E to be used for users
742 installing MH-E separately from Emacs.
743 (XEMACS_LOADDEFS_FILE): New. Used to generate mh-loaddefs.el
744 in XEmacs.
745 (XEMACS_LOADDEFS_COOKIE): Ditto.
746 (XEMACS_LOADDEFS_PKG_NAME): Ditto.
747 (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner build
748 environment.
749 (MH-E-SRC): Moved mh-xemacs.el to new variable MH-E-XEMACS-SRC.
750 (MH-E-XEMACS-SRC): New variable to hold XEmacs source files.
751 (MH-E-XEMACS-OBJ): New variable to hold XEmacs object files.
752 (clean): Moved XEmacs-specific code to clean-xemacs.
753 (xemacs): Added clean-xemacs prerequisite. Moved down to XEmacs
754 section of file. Add target to build mh-loaddefs.el in XEmacs
755 (loaddefs-xemacs): New rule to build mh-loaddefs.el in XEmacs.
756 (clean-xemacs): New target to remove XEmacs-specific files.
757 (compile-xemacs): New. It allows for the '-no-autoloads' option
758 and byte-compiles all the source files with a single instance of
759 XEmacs.
760 (dist): Added $(MH-E-XEMACS-SRC) to tarball.
761 (AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and
762 'AUTOLOAD_FILE'.
763 (AUTOLOAD_PACKAGE_NAME): New.
764 (AUTOLOAD_FILE): New.
765 (all): Don't set $EMACS_HOME if building with XEmacs.
766 (xemacs): Use 'compile-xemacs' instead of 'compile'.
767 (auto-autoloads.elc): Use new $AUTOLOAD_* vars and allow for
768 '-no-autoloads'.
769 (custom-load.elc): Allow for '-no-autoloads'.
770
771 * mh-e.el: Don't require mh-xemacs-compat which no longer exists.
772 The XEmacs stuff gets required by mh-customize.el which is
773 required by mh-utils.el which is required by mh-e.el. This all
774 happens before mh-xemacs-compat was required, so all should be
775 well.
776 (mh-restore-desktop-buffer): Move from desktop.el. Add Parameters.
777 (mh-restore-desktop-buffer): Delete with-no-warnings.
778 (mh-folder-mode): Bind desktop-save-buffer to t.
779 (Courtesy Lars Hansen).
780
781 * mh-alias.el (mh-assoc-ignore-case): New macro to use
782 assoc-string when available (Emacs 21.4+); assoc-ignore-case
783 otherwise.
784 (mh-alias-reload, mh-alias-expand,
785 mh-alias-minibuffer-confirm-address): Use it.
786
787 * mh-seq.el: Added mh-autoload to mh-read-seq-default.
788
789 * mh-utils.el (mh-require-cl): The Emacs coding conventions
790 require that the cl package not be required at runtime. However,
791 the cl package in versions of Emacs prior to 21.4 left cl routines
792 in their macro expansions. Use mh-require-cl to provide the cl
793 routines in the best way possible (closes SF #930012).
794 (require 'mouse): To shush compiler.
795
796 Use new function mh-require-cl throughout.
797
798 Add arch taglines (courtesy Miles Bader).
799
800 * mh-unit.el (mh-unit-files): Replaced mh-xemacs-compat.el and
801 mh-xemacs-icons.el with mh-xemacs.el.
802
803 * import-emacs: Also grab the ChangeLog.
804
805 * *.pbm: Regenerated using GIMP to be consistent with other Emacs
806 icons.
807 1. Edit .xpm image in GIMP.
808 2. Image > Mode > Indexed. Check Use Black/White Palette and No
809 Color Dithering.
810 3. File > Save As file.xbm.
811 4. Run xbmtopbm < file.xbm > file.pbm.
812 Thanks to jan.h.d@swipnet.se for the help.
813
8142004-07-07 Stephen Gildea
815
816 * mh-customize.el (mh-invisible-header-fields-internal):
817 Add X-Greylist, X-Source*, and X-WebTV-Signature.
818 Replace specific X-Spam-* headers with general pattern.
819
8202004-06-15 Bill Wohler <wohler@newt.com>
821
822 * README: Vladimir Ivanovic reports that mh-rmail works with
823 XEmacs 21.5.17, so updated requirements text accordingly (closes
824 SF #644321).
825
8262004-05-12 Satyaki Das <satyaki@theforce.stanford.edu>
827
828 * mh-utils.el (mh-mail-header-end): Replace call to
829 rfc822-goto-eoh with something that allows From_ lines in the mail
830 header.
831
8322004-04-14 Bill Wohler <wohler@newt.com>
833
834 * mh-utils.el (mh-show-mouse): s/EVENT/event/. Thanks to John Paul
835 Wallington <jpw@gnu.org> for pointing this out.
836
8372004-04-12 Satyaki Das <satyaki@theforce.stanford.edu>
838
839 * mh-e.el (mh-folder-size-flist): Add -showzero option so that the
840 parsing code doesn't get confused by the presence of -noshowzero
841 in the user's .mh_profile (closes SF #933954).
842
8432004-04-07 Satyaki Das <satyaki@theforce.stanford.edu>
844
845 * mh-mime.el (mh-insert-mime-button)
846 (mh-insert-mime-security-button): Add evaporate property to
847 overlays used in MIME part buttons. This avoids problems with
848 CVS Emacs. 9 CVS Emacs.
849 10
8502004-03-16 Satyaki Das <satyaki@theforce.stanford.edu> 11 * mh-comp.el (mh-insert-letter): Replaced deprecated read-input
851 12 with read-string.
852 * mh-e.el (mh-folder-from-address): Go to the end of buffer if the
853 re-search-forward fails (closes SF #917096).
854
8552004-02-02 Satyaki Das <satyaki@theforce.stanford.edu>
856
857 * mh-customize.el (mh-compose-forward-as-mime-flag): New user
858 customizable variable that controls whether messages are forwarded
859 as MIME attachments (closes SF #827203).
860
861 * mh-comp.el (mh-forward): Call forw with -mime option only if
862 mh-compose-forward-as-mime-flag is non-nil.
863
8642003-12-26 Jeffrey C Honig <jch@honig.net>
865
866 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist)
867 (mh-spamassassin-blacklist, mh-spamassassin-blacklist)
868 (mh-spamassassin-blacklist, mh-spamassassin-whitelist)
869 (mh-spamassassin-whitelist, mh-bogofilter-blacklist)
870 (mh-spamprobe-blacklist): Add progress messages. Change "Couldn't"
871 to "Unable" in error messages. Run bogofilter and spamprobe in
872 the foreground to prevent a large number of processes from
873 swamping the system.
874
8752003-12-25 Satyaki Das <satyaki@theforce.stanford.edu>
876
877 * mh-e.el (mh-prompt-for-refile-folder): Marking the whole folder
878 and then refiling all messages throws an error, since this
879 function expects point to be on a valid scan line. The change
880 relaxes this requirement, thereby avoiding the above problem.
881
8822003-12-14 Satyaki Das <satyaki@theforce.stanford.edu>
883
884 * mh-comp.el (mh-ascii-buffer-p): New function that checks if a
885 buffer is entirely composed of ASCII.
886 (mh-send-letter): Encode the draft if it contains non-ASCII
887 characters.
888
8892003-12-12 Satyaki Das <satyaki@theforce.stanford.edu>
890
891 * mh-customize.el (mh-invisible-headers): Keep only unique fields
892 in list of header fields to hide. This avoids problems in XEmacs.
893
8942003-12-10 Satyaki Das <satyaki@theforce.stanford.edu>
895
896 * mh-seq.el (mh-thread-print-scan-lines): The imenu index was not
897 getting created for threaded index buffers. The change fixes this.
898
899 * mh-index.el (mh-index-insert-folder-headers): Always create the
900 imenu index.
901 (mh-index-create-imenu-index): Set which-func-mode to t. If
902 which-function-mode is turned on after the folder buffer has been
903 prepared, display of the folder info was being inhibited. The
904 change fixes that.
905
9062003-12-09 Satyaki Das <satyakid@stanford.edu>
907
908 * mh-comp.el (mh-letter-mode): Setup mh-mail-header-separator
909 based on draft contents.
910 (mh-letter-mode, mh-letter-mail-header-end-marker)
911 (mh-letter-header-end): Remove use of the variable
912 mh-letter-mail-header-end-marker. Instead use
913 mh-mail-header-separator. This avoids problems in font locking
914 draft buffers (closes SF #855479).
915
9162003-12-09 Satyaki Das <satyakid@stanford.edu>
917
918 * mh-index.el (mh-index-insert-folder-headers): Modified so that
919 imenu--index-alist is updated.
920 (mh-index-create-imenu-index): New function that generates an
921 index usable by imenu. This adds which-func-mode support to index
922 folders (closes SF #855520).
923
924 * mh-e.el (which-func, which-func-modes): Tell which-func that
925 mh-folder-mode supports it.
926 (mh-folder-mode): Add support for imenu.
927
9282003-11-22 Peter S Galbraith <psg@debian.org>
929
930 * Makefile: renamed mh-startup.el to mh-e-autoloads.el
931
932 * README: renamed mh-startup.el to mh-e-autoloads.el
933
934 * .cvsignore: Added mh-e-autoloads.el
935
9362003-11-18 Bill Wohler <wohler@newt.com>
937
938 Released MH-E version 7.4.3.
939
940 * MH-E-NEWS, README: Updated for release 7.4.3.
941
942 * mh-e.el (Version, mh-version): Updated for release 7.4.3.
943
944 This patch release contains the following two patches:
945
946 * mh-identity.el (mh-identity-make-menu): Removed condition on
947 mh-auto-fields-list. Use it to enable or disable menu item
948 instead.
949
950 * mh-customize.el (mh-identity-list): Removed defvar and moved
951 defcustom before mh-auto-fields-list so that defvar wouldn't
952 clobber user's customization settings.
953
9542003-11-17 Jeffrey C Honig <jch@honig.net>
955
956 * mh-print.el (mh-print-msg): Do not print a message on deprecated
957 usage, the bindings have been removed.
958
959 * mh-e.el (mh-folder-mode-map): Remove "l" binding for
960 mh-print-msg.
961
962 * mh-utils.el (mh-show-mode-map): Remove "l" binding for
963 mh-print-msg.
964
9652003-11-16 Satyaki Das <satyakid@stanford.edu>
966
967 * mh-comp.el (mh-beginning-of-word): Use the function
968 mh-mail-abbrev-make-syntax-table instead of the function
969 mail-abbrev-make-syntax-table.
970
971 * mh-gnus.el (mh-mail-abbrev-make-syntax-table): Add a wrapper
972 function that calls mail-abbrev-make-syntax-table if available.
973 This is needed so that MH-E built with CVS Emacs will work with
974 released versions of Emacs21 and vice versa.
975
9762003-11-14 Peter S Galbraith <psg@debian.org>
977
978 * mh-customize.el (mh-invisible-header-fields-internal): Add
979 "X-NAI-Spam-" and "X-Spam-Report:".
980
9812003-11-14 Mark D. Baushke <mdb@gnu.org>
982
983 * mh-customize.el (mh-invisible-header-fields-internal):
984 Add X-AntiAbuse and X-MailScanner.
985 (Patch from Stephen Gildea.)
986
9872003-11-13 Peter S Galbraith <psg@debian.org>
988
989 * mh-identity.el (mh-identity-handler-attribution-verb): New
990 function. A new Identity handler for the attribution verb (e.g.
991 "wrote:") to allow for different identities to use different
992 languages.
993 (mh-identity-insert-attribution-verb): New function. Insert the
994 attribution verb, placing special markers so it can be deleted and
995 replaced later.
996 (mh-identity-attribution-verb-start): New variable. Holds the
997 marker for the start of the attribution verb.
998 (mh-identity-attribution-verb-end): New variable. Holds the
999 marker for the end of the attribution verb.
1000
1001 * mh-customize.el (mh-identity-handlers): Add new
1002 ":attribution-verb" tag for the attribution-verb handler.
1003 (mh-identity-list): Idem.
1004
1005 * mh-comp.el (mh-yank-cur-msg): Insert attribution verb using
1006 mh-identity-insert-attribution-verb.
1007 (mh-extract-from-attribution): Extract only the name from the From
1008 line, without appending `mh-extract-from-attribution-verb' since
1009 markers need to be inserted around that now.
1010
10112003-11-12 Bill Wohler <wohler@newt.com>
1012
1013 * mh-e.el (mh-rmail, mh-nmail): Well, actually, we run in both GNU
1014 Emacs and XEmacs, so removed the "GNU" in the docstrings unless
1015 one is strictly talking about GNU Emacs.
1016
1017 * mh-comp.el (mh-smail, mh-smail-batch, mh-smail-other-window):
1018 Ditto.
1019
10202003-11-11 Bill Wohler <wohler@newt.com>
1021
1022 * mh-customize.el (mh-customize): Minor docstring change.
1023 (mh, mh-e): The short description for MH-E is: The GNU Emacs
1024 Interface to the MH Mail System. Therefore, updated docstrings
1025 accordingly.
1026
1027 * mh-comp.el (mh-smail, mh-smail-batch, mh-smail-other-window):
1028 Ditto.
1029
1030 * mh-e.el (mh-rmail, mh-nmail): Ditto.
1031
10322003-11-10 Satyaki Das <satyakid@stanford.edu>
1033
1034 * mh-mime.el (mh-mml-to-mime): In case errors happen in
1035 mml-to-mime, restore contents of the draft buffer (closes SF
1036 #839303).
1037
10382003-11-07 Bill Wohler <wohler@newt.com>
1039
1040 * mh-customize.el (mh-letter-mode-hook): Moved to mh-sending-mail
1041 group (where it is now documented in the manual).
1042 (mh-pick-mode-hook): Moved to mh-index group (where it is now
1043 documented in the manual).
1044
1045 * mh-loaddefs.el: Deleted per our discussion on mh-e-devel. No
1046 more conflicts! No more check-ins! Anyone pulling CVS MH-E is
1047 expected to compile. This file shall be added to the tarball so
1048 that users of the distribution are not.
1049
10502003-11-07 Mark D. Baushke <mdb@gnu.org>
1051
1052 * mh-loaddefs.el: Regenerated.
1053
1054 * mh-customize.el (mh-forward-hook): Define new hook.
1055 * mh-comp.el (mh-forward): Use it.
1056
10572003-11-07 Satyaki Das <satyakid@stanford.edu>
1058
1059 * mh-loaddefs.el: Regenerated.
1060
1061 * mh-utils.el (mh-show-toggle-mime-buttons)
1062 (mh-show-display-with-external-viewer): New interactive functions
1063 callable from the show buffer.
1064 (mh-show-mime-map): Add bindings for "K t" and "K e".
1065 (mh-show-msg): Propagate change to
1066 mh-display-buttons-for-inline-parts-flag to the show buffer.
1067
1068 * mh-mime.el (mh-display-with-external-viewer): New interactive
1069 function to display MIME parts with external viewer (closes SF
1070 #839318).
1071
1072 * mh-e.el (mh-folder-mode): Make the variable
1073 mh-display-buttons-for-inline-parts-flag buffer-local so that
1074 display of MIME buttons can be toggled.
1075 (mh-toggle-mime-buttons): New interactive function to toggle
1076 display of MIME buttons.
1077 (mh-mime-map): Modified to add bindings for "K t" and "K e".
1078
10792003-11-04 Steve Youngs <sryoungs@bigpond.net.au>
1080
1081 * Makefile (XEMACS_LOADDEFS_FILE): New. Used to generate
1082 mh-loaddefs.el in XEmacs.
1083 (XEMACS_LOADDEFS_COOKIE): Ditto.
1084 (XEMACS_LOADDEFS_PKG_NAME): Ditto.
1085 (xemacs): Add target to build mh-loaddefs.el in XEmacs
1086 (clean-xemacs): Remove `mh-loaddefs.el*'
1087 (loaddefs-xemacs): New rule to build mh-loaddefs.el in XEmacs.
1088
10892003-11-02 Peter S Galbraith <psg@debian.org>
1090
1091 * mh-init.el (mh-variant-set-variant): Reset `mh-x-mailer-string'
1092 when we select an MH variant.
1093
10942003-11-02 Jeffrey C Honig <jch@honig.net>
1095
1096 * mh-loaddefs.el: Regenerated.
1097
1098 * mh-funcs.el (mh-print-msg): Move to mh-print.el.
1099
1100 * mh-e.el (mh-folder-mode-map): Add mh-print-msg ("l") back, it
1101 will print a message that this usage is deprecated.
1102
1103 * mh-print.el (require, mh-ps-print-msg, mh-ps-print-msg-file):
1104 Require mh-funcs for mh-note-printed. PS print functions were not
1105 setting the printed notation. Move mh-print-msg here for
1106 consistency. Print message if mh-print-msg invoked via deprecated
1107 key binding.
1108
11092003-11-01 Peter S Galbraith <psg@debian.org>
1110
1111 * Makefile: Add target to make `mh-startup.el', a file containg
1112 usual entry commands into MH-E to be used for users installing
1113 MH-E separately from Emacs.
1114
1115 * README: Document the above for users.
1116
11172003-10-29 Jeffrey C Honig <jch@honig.net>
1118
1119 * mh-utils.el (mh-show-ps-print-map): Add "?" and "l" to
1120 mh-show-ps-print-map.
1121
1122 * mh-e.el (mh-ps-print-map, mh-help-messages): Add "?" and "l" to
1123 mh-ps-print-map. Add "l" to help message.
1124
11252003-10-27 Bill Wohler <wohler@newt.com>
1126
1127 * Makefile (MH-E-SRC): Moved mh-xemacs.el to new variable
1128 MH-E-XEMACS-SRC.
1129 (MH-E-XEMACS-SRC): New variable to hold XEmacs source files.
1130 (MH-E-XEMACS-OBJ): New variable to hold XEmacs object files.
1131 (clean): Moved XEmacs-specific code to clean-xemacs.
1132 (xemacs): Added clean-xemacs prerequisite. Moved down to
1133 XEmacs section of file.
1134 (clean-xemacs): New target to remove XEmacs-specific files.
1135 (compile-xemacs): Added $(MH-E-XEMACS-SRC) prerequisite.
1136 (dist): Added $(MH-E-XEMACS-SRC) to tarball.
1137
11382003-10-27 Satyaki Das <satyakid@stanford.edu>
1139
1140 * mh-loaddefs.el: Regenerated.
1141
1142 * mh-index.el (mh-indexer-choices): Remove option for the non-free
1143 glimpse indexer (closes SF #831276).
1144 (mh-glimpse-binary, mh-glimpse-directory)
1145 (mh-glimpse-execute-search, mh-glimpse-next-result): Functions
1146 and variables to implement glimpse support are removed.
1147
1148 * mh-customize.el (mh-index-program): Remove option for glimpse.
1149
11502003-10-24 Satyaki Das <satyakid@stanford.edu>
1151
1152 * mh-customize.el: Remove top-level test for toolbar enabled
1153 XEmacs since it is not needed.
1154 (mh-tool-bar-define): Add test for XEmacs toolbar in the functions
1155 mh-toolbar-init, mh-tool-bar-letter-buttons-set and
1156 mh-tool-bar-folder-buttons-set. This enables proper compilation
1157 irrespective of whether the XEmacs was built with toolbar support
1158 or not.
1159
1160 * mh-comp.el (mh-letter-mode): Remove conditional since it is not
1161 needed.
1162
1163 * mh-e.el (mh-folder-mode): Same as above.
1164
1165 * mh-utils.el (mh-show-mode): Same as above.
1166
1167 * mh-xemacs.el (mh-xemacs-icon-map): Remove condition on toolbar
1168 presence since we want the build to work if XEmacs without
1169 toolbars is used during compilation.
1170
11712003-10-23 Bill Wohler <wohler@newt.com>
1172
1173 * mh-customize.el: The Great Reorganization. Sorted groups
1174 alphabetically. Aligned variables in customization groups with
1175 manual sections. Group docstrings changed to match manual chapter
1176 titles.
1177
11782003-10-22 Satyaki Das <satyakid@stanford.edu>
1179
1180 * mh-speed.el (timer): Avoid compiler warning in XEmacs.
1181
11822003-10-22 Steve Youngs <sryoungs@bigpond.net.au>
1183
1184 * Makefile (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner
1185 build environment.
1186 (AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and
1187 'AUTOLOAD_FILE'.
1188 (AUTOLOAD_PACKAGE_NAME): New.
1189 (AUTOLOAD_FILE): New.
1190 (all): Don't set $EMACS_HOME if building with XEmacs.
1191 (xemacs): Use 'compile-xemacs' instead of 'compile'.
1192 (auto-autoloads.elc): Use new $AUTOLOAD_* vars and allow for
1193 '-no-autoloads'.
1194 (custom-load.elc): Allow for '-no-autoloads'.
1195 (compile-xemacs): New. It allows for the '-no-autoloads' option
1196 and byte-compiles all the source files with a single instance of
1197 XEmacs.
1198
1199 * mh-e.el (mh-folder-mode): Only load the toolbar in XEmacs if
1200 toolbar support is available.
1201
1202 * mh-comp.el (mh-letter-mode): Only load the toolbar in XEmacs if
1203 toolbar support is available.
1204
1205 * mh-customize.el: Require 'mh-xemacs' at toplevel when
1206 'mh-xemacs-flag' is non-nil.
1207 Wrap all the toolbar code in a test that is true if using
1208 GNU/Emacs or a toolbar-enabled XEmacs.
1209
1210 * mh-print.el (mh-ps-spool-a-msg): Comment out
1211 `clean-message-header-flag' because it isn't used anywhere.
1212
1213 * mh-utils.el (mh-show-mode): Only load the toolbar in XEmacs if
1214 toolbar support is available.
1215
1216 * mh-xemacs.el: Autoload `regexp-opt', `customize-group',
1217 `view-mode', `with-electric-help', `pp', `sort-numeric-fields',
1218 `reverse-region', and `goto-address' at compile time.
1219 (mh-xemacs-has-toolbar-flag): New. This is non-nil when XEmacs
1220 has toolbar support.
1221 (mh-xemacs-toolbar-*-icon): Use it.
1222
12232003-10-21 Mark D. Baushke <mdb@gnu.org>
1224
1225 * mh-identity.el (mh-identity-field-handler): Fields that begin
1226 with ":" must have an mh-identity-handler defined or the user
1227 gets an error.
1228
12292003-10-17 Peter S Galbraith <psg@debian.org>
1230
1231 * mh-customize.el (mh-identity-list): This change affects users!
1232 The keyword "signature" becomes ":signature". The recently added
1233 keyword "pgg-default-user-id" becomes ":pgg-default-user-id".
1234 (mh-auto-fields-list): The keyword "Identity" becomes ":identity".
1235 (mh-identity-handlers): Idem for signature and pgg-default-user-id.
1236
1237 * mh-comp.el (mh-insert-auto-fields): Idem for Identity.
1238
12392003-10-17 Peter S Galbraith <psg@debian.org>
1240
1241 * mh-xemacs.el: Add eval-and-compile call to (load "toolbar" t t) to
1242 make sure `toolbar-make-button-list' is defined. We can't use
1243 require because Emacs doesn't have this library.
1244
12452003-10-16 Bill Wohler <wohler@newt.com>
1246
1247 * mh-customize.el (mh-signature-file-name)
1248 (mh-letter-insert-signature-hook): Merge docstring with manual.
1249
1250 * mh-comp.el (mh-file-is-vcard-p): Checkdoc fix.
1251 (mh-insert-signature): Merge docstring with manual.
1252
1253 * mh-customize.el (mh-junk): Changed manual link in defgroup from
1254 Customizing mh-e to Junk.
1255 (mh-junk-function-alist): Moved SpamAssassin to first in list on
1256 the hunch that it is the most popular and should be chosen if
1257 other anti-spam programs exist.
1258 (mh-junk-mail-folder): Since the variable can accept values other
1259 than folder names, renamed to mh-junk-disposition to more
1260 accurately reflect the content. Merge docstring with manual.
1261 (mh-junk-program): Moved SpamAssassin to the top of the menu for
1262 the same reason presented in mh-junk-function-alist. Also, fixed
1263 case of spam programs to match official usage. Merge docstring
1264 with manual.
1265
1266 * mh-junk.el (mh-junk-blacklist):
1267 s/mh-junk-mail-folder/mh-junk-disposition/. Merge docstring with
1268 manual.
1269 (mh-junk-whitelist): Merge docstring with manual.
1270 (mh-bogofilter-blacklist): No longer suggest using automatic
1271 classification so use -s instead of -Ns.
1272 (mh-bogofilter-whitelist): No longer suggest using automatic
1273 classification so use -n instead of -Sn.
1274 (mh-spamassassin-blacklist, mh-spamassassin-whitelist): Merge
1275 docstring with manual. Moved spamassassin functions to top of file
1276 so functions appear in same order that they are presented in menu.
1277
12782003-10-09 Peter S Galbraith <psg@debian.org>
1279
1280 * mh-customize.el (mail-citation-hook): Moved from mh-comp.el and
1281 made into a defcustom.
1282
12832003-10-09 Satyaki Das <satyakid@stanford.edu>
1284
1285 * mh-loaddefs.el: Regenerated.
1286
1287 * mh-comp.el (mh-get-header-field): Add autoload cookie.
1288
1289 * mh-utils.el (mh-show-ps-print-toggle-mime)
1290 (mh-show-ps-print-toggle-color, mh-show-ps-print-toggle-faces)
1291 (mh-show-ps-print-msg-file, mh-show-ps-print-msg)
1292 (mh-show-ps-print-msg-show): New interactive functions callable
1293 from the show buffer.
1294 (mh-show-ps-print-map): New key map for printing.
1295
1296 * mh-e.el (mh-folder-mode-map): Remove key binding for
1297 mh-print-msg.
1298 (mh-ps-print-map): Add new key map for printing.
1299
1300 * Makefile (MH-E-SRC): Add mh-print.el.
1301
13022003-10-07 Satyaki Das <satyakid@stanford.edu>
1303
1304 * mh-utils.el (mh-x-image-url-fetch-image): In XEmacs,
1305 make-temp-file is not present. So to avoid security problems, use
1306 a temporary file in the user's home directory. This avoids issues
1307 in creating files in a world-writable directory.
1308
1309 * mh-mime.el (mh-signature-highlight): In Emacs, arrange for the
1310 overlay to be freed when it is no longer needed. Also, implement
1311 signature highlighting in XEmacs.
1312
13132003-10-05 Satyaki Das <satyakid@stanford.edu>
1314
1315 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Respect the
1316 value of `mm-verify-option' and `mm-decrypt-option'.
1317 (mh-mime-display-security): Rearrange code a bit to avoid too many
1318 new lines being inserted when message verification/decryption is
1319 carried out while the message is being read. Also use the
1320 point-m{in|ax}-marker functions to make the function easier to read.
1321 (mh-mime-security-press-button): Extend the function so that the
1322 user can verify/decrypt messages while reading them.
1323
1324 * mh-gnus.el (mm-possibly-verify-or-decrypt): Added to avoid
1325 compiler warning with old Gnus.
1326
1327 * mh-utils.el (mh-x-image-url-sane-p): New function which checks
1328 if the URL in X-Image-URL is something we can handle.
1329 (mh-x-image-url-display): Don't display image if the URL looks
1330 malformed.
1331
13322003-10-04 Mark D Baushke <mdb@gnu.org>
1333
1334 * mh-comp.el (mh-letter-menu): Simplify menu heading.
1335
13362003-10-03 Mark D Baushke <mdb@gnu.org>
1337
1338 * mh-mime.el (mh-mml-query-cryptographic-method): Avoid
1339 revisionist history and still provide a good default.
1340
1341 * mh-comp.el (mh-letter-menu): Remove the Disable Security
1342 parenthetical comment.
1343
1344 * mh-loaddefs.el: Regenerated.
1345
1346 * mh-customize.el (mh-mml-method-default): What method should be
1347 used in secure directives.
1348
1349 * mh-mime.el (mh-secure-message): New function used to generate
1350 the mml security tags.
1351 (mh-mml-unsecure-message): New wrapper function around
1352 mml-unsecure-messages.
1353 (mh-mml-secure-message-sign-pgpmime): Remove function.
1354 (mh-mml-secure-message-encrypt-pgpmime): Ditto.
1355 (mh-mml-cryptographic-method-history): New variable.
1356 (mh-mml-query-cryptographic-method): New function.
1357 (mh-mml-secure-message-encrypt): Ditto.
1358 (mh-mml-secure-message-signencrypt): Ditto.
1359 (mh-mml-secure-message-sign): Ditto.
1360
1361 * mh-comp.el (mh-letter-menu, mh-letter-mode-help-messages,
1362 (mh-letter-mode-map): Update to use new functions.
1363
13642003-09-26 Satyaki Das <satyakid@stanford.edu>
1365
1366 * mh-seq.el (mh-interactive-range): The function has been
1367 extended so that it now takes a default result to return if no
1368 interactive prefix arg is given and no region is active.
1369
1370 * mh-e.el (mh-add-sequence-notation): If transient-mark-mode is
1371 on, then the active region is deactivated based on whether a user
1372 sequence or a internal sequence is being notated. The change
1373 removes this inconsistency.
1374 (mh-catchup, mh-folder-map): A new interactive function to mark
1375 messages as read has been added and bound to "F c" in the folder
1376 mode.
1377
1378 * mh-utils.el (mh-show-catchup, mh-show-folder-map): New
1379 interactive function callable from show mode buffers has been
1380 bound to "F c".
1381
13822003-09-24 Bill Wohler <wohler@newt.com>
1383
1384 * mh-customize.el (mh-clean-message-header-flag)
1385 (mh-invisible-header-fields-default, mh-invisible-header-fields):
1386 Merge docstring with manual.
1387
13882003-09-24 Mark D. Baushke <mdb@gnu.org>
1389
1390 * mh-junk.el (mh-junk-blacklist): Junked messages should be put
1391 into the mh-seen-list to avoid propagating the unseen sequence
1392 into the spam folder.
1393
1394 * mh-loaddefs.el: Regenerated.
1395
1396 * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Add an optional
1397 dontsign argument to remove an existing secure message directive.
1398 Update the docstring -- this fuction does not allow for
1399 encrypt/sign, just sign directives.
1400
1401 * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Use
1402 mml-insert-tag directly to provide a sender if
1403 mh-identity-pgg-default-user-id is set.
1404 (mh-mml-secure-message-encrypt-pgpmime): Use mml-insert-tag
1405 directly to provide a sender if this message is to be both signed
1406 and encrypted and mh-identity-pgg-default-user-id is set.
1407
14082003-09-23 Bill Wohler <wohler@newt.com>
1409
1410 * mh-alias.el (Commentary): Removed as it is now in the manual.
1411 (mh-alias-system-aliases): Moved here from mh-customize.el. By
1412 definition, "system" definitions are not user-visible, and user
1413 filenames are in the the Aliasfile: profile component, so this
1414 variable really shouldn't be a defcustom
1415 (mh-alias-tstamp, mh-alias-filenames, mh-alias-reload)
1416 (mh-alias-add-alias, mh-alias-grab-from-field)
1417 (mh-alias-add-address-under-point, mh-alias-apropos): Merge
1418 docstring with manual.
1419 (mh-alias-reload-maybe): Minor comment update.
1420 (mh-alias-insert-file): Merge docstring with manual. Removed
1421 "[press TAB]" from prompt since users should know about completion
1422 and space can be used as well.
1423 (mh-alias-for-from-p): No longer returns a surprising result (t if
1424 there was **not** an alias for the From field) if the From header
1425 field is missing. This function now returns what you would expect
1426 a function of this name to return. Renamed from
1427 mh-alias-from-has-no-alias-p since negatives in the function name
1428 make logic harder to follow.
1429 (mh-alias-add-alias-to-file): Merge docstring with manual.
1430 Improved verbiage of prompt. Aliases are now inserted "[b]efore"
1431 or "[a]fter" the existing alias instead of "[i]nsert" or
1432 "[a]ppend." Note how the new usage flows better.
1433
1434 * mh-customize.el (mh-alias): Changed manual link in defgroup from
1435 Customizing mh-e to Aliases.
1436 (mh-alias-grab-from-field button): mh-alias-from-has-no-alias-p
1437 renamed to mh-alias-for-from-p and no longer returns surprising
1438 value if there isn't a From field. Therefore, enable button if
1439 there is a From header field and mh-alias-for-from-p returns nil.
1440 (mh-letter-complete-function)
1441 (mh-alias-completion-ignore-case-flag, mh-alias-flash-on-comma)
1442 (mh-alias-insert-file, mh-alias-insertion-location)
1443 (mh-alias-local-users, mh-alias-local-users-prefix)
1444 (mh-alias-passwd-gecos-comma-separator-flag): Merge docstring with
1445 manual.
1446 (mh-alias-system-aliases): Moved to mh-alias.el.
1447
1448 * mh-comp.el (mh-letter-complete-function-alist): Removed comment
1449 about making this customizable since I didn't think it seemed
1450 appropriate in the manual.
1451 (mh-letter-complete): Merge docstring with manual.
1452
14532003-09-23 Satyaki Das <satyakid@stanford.edu>
1454
1455 * mh-speed.el (mh-speed-flists): When exiting emacs, don't ask if
1456 the flists process should be killed.
1457
1458 * mh-e.el (mh-folder-message-menu): Enable undo menu entry only
1459 if something can be undone.
1460
1461 * mh-customize.el (undo): Enable undo button only if something
1462 can be undone.
1463
14642003-09-22 Peter S Galbraith <psg@debian.org>
1465
1466 * mh-customize.el (mh-identity-handlers): New defcustom. Alist of
1467 Handler functions for mh-identity (downcased) fields.
1468 (mh-identity-list): Add support for pgg-default-user-id.
1469
1470 * mh-identity.el (mh-insert-identity): Modified to use
1471 `mh-identity-handlers', adding hacking flexibility for those who
1472 might need it.
1473 (mh-identity-field-handler): New function. Return the handler for
1474 a FIELD or nil if none set. The field name is downcased.
1475 (mh-identity-handler-gpg-identity): New function; handler for pgg
1476 pgp identities. It sets a buffer-local value for
1477 `mh-pgg-default-user-id' which must be handled by mh-send-letter.
1478 (mh-identity-pgg-default-user-id): New buffer-local variable to
1479 hold the requested key ID.
1480 (mh-identity-handler-signature): New function; handler t insert
1481 and remove signature files.
1482 (mh-identity-handler-default): New function; the default handler
1483 to insert or remove generic field.
1484 (mh-identity-handler-top): Insert a field at the top of the
1485 header.
1486 (mh-identity-handler-bottom): Insert a field at the bottom of the
1487 header.
1488 (mh-header-field-delete): Make more robust wrt the field having a
1489 trailing colon or not.
1490 (mh-identity-make-menu): Add a "Customize Identities" menu entry.
1491
1492 * mh-loaddefs.el: Regenerated.
1493
14942003-09-21 Peter S Galbraith <psg@debian.org>
1495
1496 * mh-init.el (mh-variant-set): Bug fix for mh-variant long names
1497 with version numbers.
1498
1499 * mh-e.el (mh-scan-format): patch from Sergey Poznyakoff.
1500 GNU mailutils now supports the %(decode) format
1501
15022003-09-20 Satyaki Das <satyakid@stanford.edu>
1503
1504 * mh-gnus.el (mh-mm-text-html-renderer): New function to query
1505 which HTML renderer is being used by Gnus.
1506
1507 * mh-mime.el (mh-signature-highlight): Renderers used to display
1508 HTML parts garble the signature separator in various ways. The
1509 function has been modified to take that into account.
1510 (mh-mime-display-single, mh-mm-display-part): Pass the new
1511 optional argument to `mh-signature-highlight'.
1512
15132003-09-19 Mark D. Baushke <mdb@gnu.org>
1514
1515 * mh-mime.el (mh-have-file-command, mh-file-mime-type): Made an
1516 mh-autoload as they are used in mh-comp.el.
1517
1518 * mh-loaddefs.el: Regenerated.
1519
15202003-09-18 Peter S Galbraith <psg@debian.org>
1521
1522 * mh-comp.el (mh-insert-fields): Make sure field has a colon.
1523
15242003-09-18 Satyaki Das <satyakid@stanford.edu>
1525
1526 * mh-seq.el (mh-toggle-tick): Don't hardcode the name of the tick
1527 sequencence in the function. This would have caused improper
1528 highlighting of the tick sequence if the user had changed its
1529 name.
1530
15312003-09-15 Satyaki Das <satyakid@stanford.edu>
1532
1533 * mh-e.el (mh-folder-message-menu): Fix a little bug which shows
1534 up as a problem during compilation (closes SF #806577).
1535
15362003-09-15 Mark D. Baushke <mdb@gnu.org>
1537
1538 * mh-customize.el (mh-invisible-header-fields-internal): Added
1539 a new field for GNU mailutils per Sergey Poznyakoff.
1540
15412003-09-09 Satyaki Das <satyakid@stanford.edu>
1542
1543 * mh-utils.el (vcard): Unconditionally load vcard.el, if
1544 available, so that vcards are always inlined.
1545
15462003-09-09 Peter S Galbraith <psg@debian.org>
1547
1548 * mh-mime.el (mh-file-mime-type-substitutions): Add entry to
1549 convert text/plain .vcf files to text/x-vcard.
1550 (mh-mime-content-types): Add text/x-vcard.
1551
15522003-09-09 Bill Wohler <wohler@newt.com>
1553
1554 * mh-comp.el (mh-rejected-letter-start): Added strings for qmail
1555 and exim (addresses SF #404965).
1556
15572003-09-09 Satyaki Das <satyakid@stanford.edu>
1558
1559 * mh-gnus.el (mm-inline-text-vcard): Make vcard display work with
1560 Gnus-5.9. The extra file vcard.el is still needed.
1561
1562 * mh-mime.el (mh-signature-highlight): New function that
1563 highlights message signatures.
1564 (mh-mm-display-part, mh-mime-display-single): Highlight signatures
1565 using `mh-signature-highlight' (closes SF #802722). More work is
1566 needed for XEmacs.
1567 (mh-mime-display): Highlight signature in non-MIME email too.
1568
1569 * mh-customize.el (mh-show-signature-face): New face used to
1570 display message signature.
1571
15722003-09-08 Peter S Galbraith <psg@debian.org>
1573
1574 * mh-e.el (mh-version): Do something sensible when
1575 mh-variant-in-use is undefined.
1576 * mh-junk.el (mh-spamassassin-blacklist)
1577 (mh-spamassassin-whitelist): Change options to be compatoble with
1578 old version of spamassassin (V2.20).
1579
15802003-09-07 Mark D. Baushke <mdb@gnu.org>
1581
1582 * mh-mime.el (mh-access-types): Per RFC 2049, the "afs"
1583 access-type for message/external-body has been removed.
1584 Update the comments to reference the current MIME RFCs
1585 2045, 2046 and 2049 rather than the obsolete RFC 1521.
1586
15872003-09-05 Peter S Galbraith <psg@debian.org>
1588
1589 * mh-e.el (mh-version): Bumped version number to 7.4.2+cvs.
1590
15912003-09-04 Satyaki Das <satyakid@stanford.edu>
1592
1593 * mh-utils.el (mh-picon-directory-list, mh-picon-directory): The
1594 mh-picon-directory-list variable supersedes mh-picon-directory.
1595 (mh-picon-existing-directory-list): New variable that contains
1596 the list of picon directories that actually exist.
1597 (mh-picon-set-directory-list): New function to update
1598 mh-picon-existing-directory-list from mh-picon-directory-list.
1599 (mh-picon-get-image): The function has been modified to search a
1600 list of possible picon source directories. The regexp to extract
1601 the username from the email address has been made smarter so that
1602 it can recognize email addresses of the form user+random@foo.net
1603 and extract "user" from there.
1604 (mh-picon-file-contents): The file type recognition code has been
1605 moved from mh-picon-get-image into this function.
1606 (mh-picon-generate-path): The function has been generalized so
1607 that searching multiple paths is now feasible.
1608
1609 * mh-pick.el, mh-e.el: Checkdoc fixes.
1610
16112003-09-02 Satyaki Das <satyakid@stanford.edu>
1612
1613 * mh-identity.el (eval-when): It seems that the mh-comp-loaded
1614 code isn't required any more.
1615
16162003-08-30 Satyaki Das <satyakid@stanford.edu>
1617
1618 * mh-init.el (mh-variant-set): Replace `error' with `message' so
1619 that Emacs CVS will compile without errors if no MH variant is
1620 present.
1621
16222003-08-29 Satyaki Das <satyakid@stanford.edu>
1623
1624 * mh-init.el (mh-variant-set): Add interactive spec to the
1625 function.
1626
1627 * mh-mime.el (mh-mhn-compose-external-type): Optional arguments
1628 are prompted for only if prefix arg is given.
1629
16302003-08-29 Mark D. Baushke <mdb@gnu.org>
1631
1632 * mh-mime.el (mh-mhn-compose-external-type): Modified to be
1633 interactive and prompts for many of the fields. Made an
1634 mh-autoload.
1635 (mh-access-types): New table derived from RFC2017, RFC1521 and
1636 RFC1738, used in a completing-read in
1637 mh-mhn-compose-external-type.
1638
1639 * mh-loaddefs.el: Regenerated.
1640
16412003-08-26 Satyaki Das <satyakid@stanford.edu>
1642
1643 * mh-utils.el (mh-picon-image-types, mh-picon-get-image): Avoid
1644 compiler warnings.
1645 (mh-sub-folders-actual): Parsing of the output from folders has
1646 been modified, so that it also works for MH (closes SF #792300).
1647
1648 * mh-junk.el (mh-spamassassin-whitelist): Avoid calling
1649 ietf-drums-parse-address if it isn't present.
1650 (mh-spamassassin-identify-spammers): Avoid use of puthash so that
1651 Emacs20 doesn't complain.
1652
1653 * mh-e.el (mh-colors-available-p): Wrap call to
1654 display-color-cells in a mh-funcall-if-exists to avoid compiler
1655 warning in Emacs20.
1656
16572003-08-25 Satyaki Das <satyakid@stanford.edu>
1658
1659 * mh-e.el (mh-colors-available-flag, mh-folder-mode): New
1660 variable to track if colors are available and it is set
1661 appropriately in mh-folder-mode.
1662 (mh-colors-available-p, mh-colors-in-use-p): Two functions to
1663 check whether colors are available and if they are actually being
1664 used.
1665 (mh-add-sequence-notation): Just changing a scan line doesn't
1666 make font-lock refontify the line in Emacs20. So explicitly
1667 refontify the scan line in such a situation.
1668 (mh-internal-seq): If colors aren't being used then treat the
1669 tick sequence like a normal user sequence.
1670
1671 * mh-seq.el (mh-put-msg-in-seq): Do font-lock highlighting after
1672 the messages have been added to the sequence.
1673 (mh-toggle-tick): Modified so that highlighting of the ticked
1674 messages will be properly done. If font-lock isn't being used or
1675 if colors aren't supported by the Emacs where MH-E is running,
1676 then the `%' character is used to annotate ticked messages.
1677
1678 * mh-utils.el (mh-picon-image-types): Since Emacs20 doesn't have
1679 image-type-available-p, wrap calls to that function in
1680 ignore-errors.
1681 (mh-add-msgs-to-seq): Do the font-lock highlighting after the
1682 messages have been added.
1683
16842003-08-24 Bill Wohler <wohler@newt.com>
1685
1686 * Makefile (MH-E-SRC): Replaced mh-xemacs-compat.el and
1687 mh-xemacs-icons.el with mh-xemacs.el.
1688
1689 * mh-e.el: Don't require mh-xemacs-compat which no longer exists.
1690 The XEmacs stuff gets required by mh-customize.el which is
1691 required by mh-utils.el which is required by mh-e.el. This all
1692 happens before mh-xemacs-compat was required, so all should be
1693 well.
1694
1695 * mh-unit.el (mh-unit-files): Replaced mh-xemacs-compat.el and
1696 mh-xemacs-icons.el with mh-xemacs.el.
1697
1698 * mh-xemacs.el: New file from concatenation of mh-xemacs-compat.el
1699 and mh-xemacs-icons.el which were removed since their names
1700 exceeded DOS 8+3 limits.
1701
1702 * mh-customize.el (mh-compose-skipped-header-fields): Use
1703 uppercase for field names.
1704
17052003-08-21 Bill Wohler <wohler@newt.com>
1706
1707 * mh-customize.el (mh-sequences): Introduced new customization
1708 group for sequences.
1709 (mh-refile-preserves-sequences-flag, mh-tick-seq)
1710 (mh-update-sequences-after-mh-show-flag): Moved option from
1711 mh-folder to mh-sequences group. Synced docstring with manual.
1712 (mh-index-ticked-messages-folders): Since mh-tick-seq is
1713 customizable, use it instead of tick in the docstring.
1714
1715 * mh-index.el (mh-index-ticked-messages): Since mh-tick-seq is
1716 customizable, use it instead of tick in the docstring.
1717
1718 * mh-seq.el (mh-msg-is-in-seq): Can now specify an alternate
1719 message number with a prefix argument.
1720 (mh-narrow-to-tick): Since mh-tick-seq is customizable, use it
1721 instead of tick in the docstring. Also, use mh-tick-seq instead of
1722 tick in warning message.
1723
17242003-08-20 Peter S Galbraith <psg@debian.org>
1725
1726 * mh-customize.el: setq mh-variant to 'none when byte-compiling,
1727 since we don't care what MH variant (if any) is on the system at
1728 that point.
1729
1730 * mh-init.el (mh-variant-set): Don't probe for MH variant when
1731 mh-variant is set to'none (during byte-compilation).
1732
17332003-08-19 Peter S Galbraith <psg@debian.org>
1734
1735 * mh-pick.el (mh-pick-single-dash): New defconst. Search
1736 components that are supported by single-dash option in
1737 pick.
1738 (mh-pick-regexp-builder): Use `mh-pick-single-dash' and adapt
1739 patch from Sergey Poznyakoff.
1740
1741 * mh-comp.el (mh-reply): mu-mh supports `repl -group', thanks to
1742 Sergey Poznyakof.
1743
1744 * mh-init.el: checkdoc fixes.
1745
17462003-08-19 Bill Wohler <wohler@newt.com>
1747
1748 * mh-seq.el: (mh-edit-pick-expr): Renamed from mh-read-pick-regexp
1749 since the new name is more indicative of what the function does.
1750 Prompt now says "Pick expression" instead of "Pick regexp".
1751 (mh-narrow-to-subject): Rewrote function to behave like other
1752 similar functions.
1753 (mh-narrow-to-header-field, mh-narrow-to-range)
1754 (mh-narrow-to-tick): s/regexp/pick-expr/.
1755 (mh-widen, mh-narrow-to-from, mh-narrow-to-cc, mh-narrow-to-to):
1756 Synced docstrings with manual
1757
17582003-08-19 Bill Wohler <wohler@newt.com>
1759
1760 Released MH-E version 7.4.2.
1761
1762 * MH-E-NEWS, README: Updated for release 7.4.2.
1763
1764 * mh-e.el (Version, mh-version): Updated for release 7.4.2.
1765
1766 * mh-e.el (mh-folder-size, mh-folder-size-folder)
1767 (mh-folder-size-flist): If flist is not present use folder to find
1768 the number of messages in the folder. Also the .mh_sequences file
1769 is read to find the number of unseen messages (patch from 1.349
1770 and branched for 7.4.2, closes SF #791021).
1771
1772 * mh-utils.el (mh-flists-present-flag, mh-find-progs): Introduce a
1773 new variable to test for the presence of the flists program and
1774 set it in mh-find-progs.
1775 (mh-collect-folder-names): Use folders instead of flists. One
1776 advantage is that folders is available on MH while flists is not.
1777 Another is that if an explicit -sequence argument isn't given and
1778 Unseen-Sequence profile is not present then flists croaks while
1779 folders doesn't.
1780 (mh-collect-folder-names-filter): Don't consider folder names that
1781 start with a `.' character. This is needed since the folders
1782 command doesn't filter them out like flists does.
1783 (patches from 1.307 and 1.309 and branched for 7.4.2, closes SF
1784 #791021).
1785
17862003-08-18 Bill Wohler <wohler@newt.com>
1787
1788 * mh-index.el (mh-index-sequenced-messages)
1789 (mh-index-new-messages, mh-index-ticked-messages): Updated
1790 docstrings from manual (closes SF #718833).
1791
1792 * mh-customize.el (mh-variant): Checkdoc fix.
1793 (mh-index-new-messages-folders): Don't mention defvar in
1794 docstring, use `+inbox' instead.
1795 (mh-index-ticked-messages-folders): Don't mention defvar in
1796 docstring, use `tick' instead.
1797
1798 * mh-comp.el (mh-repl-group-formfile): Checkdoc fix.
1799
18002003-08-18 Peter S Galbraith <psg@debian.org>
1801
1802 * mh-init.el (mh-variant-set, mh-sys-path, mh-variant-info): Add
1803 support for GNU mailutils.
1804 (mh-variant-mu-mh-info): New function to detect mu-mh and return
1805 info about it for `mh-variants'.
1806
1807 * mh-e.el (mh-regenerate-headers): mu-mh has different error
1808 message for a invalid mesage list.
1809
18102003-08-18 Peter S Galbraith <psg@debian.org>
1811
1812 * mh-customize.el (mh-e): New defgroup. Sort of an alias for the
1813 'mh group that a user might be more likely to find.
1814
18152003-08-18 Bill Wohler <wohler@newt.com>
1816
1817 * mh-comp.el (mh-insert-auto-fields-done-local): Docstring tweak.
1818 (mh-compose-and-send-mail): Do not call mh-insert-auto-fields.
1819 This should be done only once in mh-send-letter.
1820
18212003-08-18 Peter S Galbraith <psg@debian.org>
1822
1823 * mh-comp.el (mh-letter-mode): Call `mh-find-path unconditionally,
1824 like elsewehere in MH-E.
1825
1826 * mh-utils.el (mh-find-path): Run setup code only if
1827 `mh-find-path-run' is nil such that this is only done once.
1828 Also remove the `setq' for `read-mail-command' and `mail-user-agent'.
1829
18302003-08-18 Peter S Galbraith <psg@debian.org>
1831
1832 * mh-e.el: require 'mh-utils first
1833
1834 * mh-customize.el (mh-variant): defcustom moved here.
1835
1836 * mh-init.el (mh-variants): Made an mh-autoload.
1837
18382003-08-18 Peter S Galbraith <psg@debian.org>
1839
1840 * Makefile (MH-E-SRC): Added mh-init.el to MH-E-SRC.
1841
1842 * mh-utils.el (mh-find-progs): Deleted. Make obsolete by mh-init.el.
1843 (mh-find-path): Call `mh-variants' instead of now obsolete
1844 `mh-find-progs'.
1845 (mh-path-search): Deleted. Was only used by `mh-find-progs'.
1846
1847 * mh-e.el: require mh-init.el.
1848 (mh-version): Use simpler `mh-variant-in-use'.
1849 (mh-scan-format): Use (mh-variant-p 'nmh) instead of mh-nmh-flag.
1850
1851 * mh-comp.el (mh-insert-x-mailer): Use simpler `mh-variant-in-use'.
1852
1853 * mh-utils.el (mh-progs, mh-lib, mh-lib-progs)
1854 (mh-flists-present-flag): Moved to mh-init.el.
1855 (mh-nmh-flag): Deleted. Use (mh-variant-p 'nmh) instead.
1856
1857 * mh-comp.el (mh-repl-group-formfile, mh-forward, mh-reply)
1858 (mh-send-letter): Use (mh-variant-p 'nmh) instead of mh-nmh-flag.
1859
1860 * mh-mime.el (mh-edit-mhn, mh-mime-save-parts): Use (mh-variant-p
1861 'nmh) instead of mh-nmh-flag.
1862
18632003-08-16 Bill Wohler <wohler@newt.com>
1864
1865 * mh-customize.el (mh-folder-selection): New group to hold
1866 variables described in Folder Selection section in manual.
1867 (mh-default-folder-list, mh-default-folder-must-exist-flag,
1868 mh-default-folder-prefix): Moved to mh-folder-selection group.
1869 Updated docstrings per manual update.
1870 (mh-default-folder-for-message-function): New defcustom. Was a
1871 defvar in mh-utils.el. Updated docstring per manual update.
1872
1873 * mh-utils.el (mh-default-folder-for-message-function): Moved to
1874 mh-customize.el.
1875
1876 * mh-e.el (mh-folder-from-address, mh-prompt-for-refile-folder):
1877 Updated docstrings per manual update.
1878
1879 * mh-unit.el (mh-unit-files): Added mh-init.el.
1880
18812003-08-16 Peter S Galbraith <psg@debian.org>
1882
1883 * mh-init.el: New file. Code to initialize the MH-E back-end.
1884 Highlights:
1885 (mh-variant): New defcustom. Users may customize `mh-variant' to
1886 switch between available variants.
1887 (mh-variants): Available MH variants are described in this variable.
1888 (mh-variant-in-use, mh-variant-p): Developers may check which
1889 variant is currently in use with the variable `mh-variant-in-use'
1890 or the function `mh-variant-p'.
1891
18922003-08-15 Bill Wohler <wohler@newt.com>
1893
1894 * mh-customize.el (mh-auto-fields-list): The manual uses Fcc
1895 instead of fcc, so I've changed the user-visible text
1896 accordingly. I've left the const alone for backwards
1897 compatibility.
1898
18992003-08-14 Bill Wohler <wohler@newt.com>
1900
1901 * mh-identity.el (mh-insert-identity): Changed signature deletion
1902 test to test for both markers, rather than testing to see if the
1903 start marker is bound. Since the start marker is defined in this
1904 file, it should always be bound. Suggestion by Satyaki.
1905
1906 * mh-comp.el (mh-send-letter): Go to the top of the draft so that
1907 the user can see which header fields have been inserted. I think
1908 this is more important than leaving point alone or going to the
1909 end to see the signature since Mail-Followup-To or Bcc or cc could
1910 have some deleterious effects.
1911
1912 * mh-customize.el (mh-auto-fields-prompt-flag): New variable.
1913 Non-nil means to prompt before sending if fields inserted.
1914
1915 * mh-comp.el (mh-insert-auto-fields): Now return t if fields
1916 inserted; otherwise nil.
1917 (mh-send-letter): Deleted obsolete documentation about adding
1918 X-Mailer and X-Face. Prompt before sending if auto fields added
1919 and mh-auto-fields-prompt-flag is t.
1920
1921 * mh-customize.el (mh-identity-list): Allow signature to come from
1922 mh-signature-file-name. In this case, the "signature" value is set
1923 to nil. This might not be the best implementation. Suggestions
1924 welcome.
1925
1926 * mh-identity.el (mh-insert-identity): Now that the signature can
1927 be a nil value, moved test higher up in cond so that the test for
1928 a nil value would not be executed first prevening signature
1929 handling. Handle nil signature value by calling
1930 mh-insert-signature with no arguments which means to use
1931 mh-signature-file-name.
1932
1933 * mh-comp.el (mh-insert-signature): Changed text of message if no
1934 signature inserted.
1935
1936 * mh-customize.el (mh-identity-list): Changed "Signature" constant
1937 back to "signature" so it *won't* be backwards-incompatible any
1938 more. I discovered one could use the :tag keyword to get headline
1939 captalization in the menu.
1940
1941 * mh-identity.el (mh-insert-identity): Ditto.
1942
1943 * mh-identity.el (mh-identity-make-menu): Always build menu.
1944 Always create Insert Auto Fields menu item. Just don't enable it
1945 if mh-auto-fields-list is nil. Enable radio buttons always. Make
1946 None a radio button choice with the other identities.
1947
1948 * mh-comp.el (mh-letter-menu): Removed cond on fboundp
1949 'easy-menu-define. We don't do this elsewhere.
1950
19512003-08-13 Bill Wohler <wohler@newt.com>
1952
1953 * mh-identity.el (mh-identity-make-menu, mh-insert-identity): Use
1954 headline capitalization in menu items. Even the internal names are
1955 exposed in the customize interface, so they need to be uppercase
1956 too.
1957 (mh-insert-identity): Rather than goto-char to
1958 mh-identity-signature-start before deleting, simply pass it to
1959 delete-region. When setting markers, use point-min-marker and
1960 point-max-marker instead of moving point. Set marker type of
1961 mh-identity-signature-start to t to fix a bug where changing
1962 identity deleted user's text.
1963
1964 * mh-customize.el (mh-identity-list, mh-auto-fields-list):
1965 Reworked docstring. Use headline capitalization. Commented out
1966 implementation details for later deletion or resurrection upon
1967 popular demand. N.B. If your mh-identity-list contains "signature"
1968 then you will need to either edit your .emacs file manually, or
1969 delete your existing "signature" which will become a regular field
1970 with this change and create a new signature. I figured I could get
1971 away with this since 8.0 is a major release, and coinciding with
1972 the manual update will be a MAJOR release. I apologize profusely
1973 that I didn't catch this before it was released.
1974 (mh-identity-default): Use headline capitalization in example.
1975
19762003-08-12 Jeffrey C Honig <jch@honig.net>
1977
1978 * mh-customize.el (mh-alias-reloaded-hook): Define
1979 `mh-alias-reloaded-hook'.
1980
1981 * mh-alias.el (mh-alias-reload): Run `mh-alias-reloaded-hook'
1982 after reloading the aliases.
1983
19842003-08-12 Mark D. Baushke <mdb@gnu.org>
1985
1986 * mh-comp.el (mh-insert-signature): Use functionp to avoid
1987 the possibility of doing a funcall on a void function.
1988
19892003-08-12 Bill Wohler <wohler@newt.com>
1990
1991 * mh-customize.el (mh-identity): Point group manual link to new
1992 Identities section.
1993 (mh-signature-separator-flag): New variable which can be used to
1994 suppress the output of the signature separator.
1995
1996 * mh-comp.el (mh-insert-signature): Use
1997 mh-signature-separator-flag.
1998
1999 * mh-identity.el (mh-insert-identity): If the identity's signature
2000 file didn't exist, an fboundp error was thrown. This was fixed by
2001 removing signature tests that were redundant and out of date with
2002 the tests in mh-insert-signature. Removed second signature
2003 condition as it is now handled in the first signature condition.
2004
20052003-08-12 Peter S Galbraith <psg@debian.org>
2006
2007 * mh-identity.el (mh-insert-identity): Don't insert new lines on
2008 signatures anymore.
2009
2010 * mh-comp.el (mh-insert-signature): Make sure signature file is
2011 readable before trying to insert it.
2012
20132003-08-11 Bill Wohler <wohler@newt.com>
2014
2015 * mh-comp.el (mh-insert-signature): Unconditionally insert a
2016 newline so that signatures are inserted consistently, and so that
2017 there isn't any text after the cursor so that the user can start
2018 typing his message immediately. Use new variable and function
2019 mh-signature-separator and mh-signature-separator-p.
2020
2021 * mh-customize.el (mh-delete-yanked-msg-window-flag): Checkdoc
2022 fix.
2023 (mh-signature-file-name): Updated docstring now that this variable
2024 can be a function. Added cross-references to
2025 mh-signature-separator, mh-signature-separator-regexp, and
2026 mh-signature-separator-p which might be used in such functions.
2027
2028 * mh-identity.el (mh-insert-identity): Don't include signature if
2029 signature separator already present. Useful when running
2030 mh-edit-again.
2031
2032 * mh-mime.el (mh-inline-vcard-p): Use mh-signature-separator-p.
2033
2034 * mh-utils.el (mh-signature-separator-regexp): New variable
2035 containing "^-- $" which should be used when looking for the
2036 signature separator.
2037 (mh-signature-separator): New variable containing "-- \n" which
2038 should be used when inserting the signature separator.
2039 (mh-signature-separator-p): New function that returns non-nil if
2040 mh-signature-separator-regexp is found in the buffer.
2041
20422003-08-09 Satyaki Das <satyakid@stanford.edu>
2043
2044 * mh-utils.el (mh-x-image-scaling-function): Variable that
2045 contains function used to scale images. Possible choices are
2046 mh-x-image-scale-with-convert and mh-x-image-scale-with-pnm.
2047 (mh-convert-executable): Removed.
2048 (mh-x-image-scale-with-pnm, mh-x-image-scale-with-convert): New
2049 functions that scale images using pnm tools or ImageMagick.
2050 (mh-x-image-scale-and-display, mh-x-image-url-display): Use
2051 mh-x-image-scaling-function instead of mh-convert-executable.
2052
20532003-08-08 Peter S Galbraith <psg@debian.org>
2054
2055 * mh-comp.el (mh-insert-signature): Bug fix. Handle case of nil
2056 `mh-signature-file-name' and hooks correctly.
2057
2058 * mh-identity.el (mh-insert-identity): Refactor to use
2059 mh-insert-signature
2060
2061 * mh-comp.el (mh-signature-separator-p): Removed.
2062
2063 * mh-comp.el (mh-insert-signature): Merge MIME awareness from
2064 mh-insert-identity into this command. Allow
2065 `mh-signature-file-name' to be a function to call. See if "-- "
2066 needs to be inserted only after hooks have run.
2067
20682003-08-07 Bill Wohler <wohler@newt.com>
2069
2070 * mh-customize.el (mh-compose-skipped-header-fields): Added
2071 X-Image-URL.
2072 (mh-autoload): Removed cookies. They aren't necessary in
2073 mh-e.el, mh-utils.el, or mh-customize.el.
2074
2075 * mh-e.el (mh-autoload): Removed cookies. They aren't necessary in
2076 mh-e.el, mh-utils.el, or mh-customize.el.
2077
2078 * mh-identity.el (mh-insert-identity): Made regexp for signature
2079 separator more explicit. Hmmm, maybe we should create
2080 mh-signature-separator-regexp...
2081
2082 * mh-index.el (mh-replace-string): Moved to mh-utils.el.
2083
2084 * mh-utils.el (mh-replace-string): Moved here from mh-index.el.
2085 (mh-autoload): Removed cookies. They aren't necessary in mh-e.el,
2086 mh-utils.el, or mh-customize.el.
2087
2088 * mh-comp.el (mh-insert-signature): Added file argument to insert
2089 a file other than mh-signature-file-name. Insert signature
2090 separator, unless file already contains one.
2091
20922003-08-06 Satyaki Das <satyakid@stanford.edu>
2093
2094 * mh-e.el (mh-folder-size, mh-folder-size-folder)
2095 (mh-folder-size-flist): If flist is not present use folder to
2096 find the number of messages in the folder. Also the .mh_sequences
2097 file is read to find the number of unseen messages.
2098
2099 * mh-utils.el (mh-flists-present-flag, mh-find-progs): Introduce
2100 a new variable to test for the presence of the flists program and
2101 set it in mh-find-progs.
2102
21032003-08-06 Peter S Galbraith <psg@debian.org>
2104
2105 * mh-customize.el: Change the order of `mh-identity-list' and
2106 `mh-auto-fields-list' and remove byte-compilation defvar for
2107 `mh-identity-list'. This fixes a customization bug for
2108 `mh-identity-list', where it wasn't set correctly.
2109
2110 * mh-identity.el (mh-identity-make-menu): mh-auto-fields-list may
2111 not be bound yet when initially loaded.
2112
21132003-08-06 Bill Wohler <wohler@newt.com>
2114
2115 * mh-alias.el (mh-alias-add-address-under-point): Removed trailing
2116 period from messages. The conventions say that errors should not
2117 end with a period and that "Foo...done" messages should not end in
2118 a period, but they aren't explicit about messages in general.
2119 Given what the conventions *do* say, and because most of our
2120 messages don't end with a period, let's just say that messages in
2121 general don't end in a period, just like error messages.
2122
2123 * mh-comp.el (mh-extract-rejected-mail, mh-letter-mode-message):
2124 Ditto.
2125
2126 * mh-e.el (mh-refile-a-msg): Ditto.
2127
2128 * mh-funcs.el (mh-undo-folder): Ditto.
2129
2130 * mh-mime.el (mh-mime-save-parts): Ditto.
2131
2132 * mh-seq.el (mh-subject-to-sequence-unthreaded)
2133 (mh-narrow-to-subject, mh-delete-subject): Ditto.
2134
2135 * mh-index.el (mh-index-sequenced-messages)
2136 (mh-index-new-messages, mh-index-ticked-messages): Discovered that
2137 in general we should only use question marks in yes-or-no-p or
2138 y-or-n-p prompts, but not in other prompts that use
2139 completing-read and offer defaults. In these cases, use colons
2140 instead (closes SF #730470).
2141
2142 * mh-mime.el (mh-mime-save-parts): Ditto.
2143
2144 * mh-utils.el (mh-prompt-for-folder): Ditto.
2145
2146 * mh-alias.el (mh-alias-apropos): Multiple messages are usually
2147 shown one at a time rather than appended. Send output to
2148 mh-aliases-buffer instead of *Help*.
2149 (mh-alias-local-users): Checkdoc fix.
2150
2151 * mh-funcs.el (mh-undo-folder): Removed commented-out code since
2152 its deadline had expired.
2153
2154 * mh-utils.el (mh-aliases-buffer): New buffer name, used in
2155 mh-aliases.el.
2156
21572003-08-06 Satyaki Das <satyakid@stanford.edu>
2158
2159 * mh-utils.el (mh-x-image-url-cache-canonicalize): Make this
2160 function work for XEmacs too.
2161 (mh-collect-folder-names): Use folders instead of flists. One
2162 advantage is that folders is available on MH while flists is not.
2163 Another is that if an explicit -sequence argument isn't given and
2164 Unseen-Sequence profile is not present then flists croaks while
2165 folders doesn't.
2166 (mh-collect-folder-names-filter): Don't consider folder names that
2167 start with a `.' character. This is needed since the folders
2168 command doesn't filter them out like flists does.
2169
2170 * mh-index.el (mh-replace-string): Add autoload for it.
2171
21722003-08-05 Satyaki Das <satyakid@stanford.edu>
2173
2174 * mh-mime.el (mh-compose-forward, mh-mhn-compose-forw)
2175 (mh-mml-forward-message): The variable mh-sent-from-msg can be a
2176 list. So check that the value is really a number before using it
2177 like one.
2178
2179 * mh-comp.el (mh-insert-letter): Same as above.
2180
2181 * mh-utils.el (mh-picon-get-image): Make the code that finds the
2182 address of the sender more robust.
2183 (mh-face-display-function): Make it work with XEmacs.
2184 (mh-picon-image-types): A new variable that stores what image
2185 types can be used.
2186
21872003-08-05 Satyaki Das <satyakid@stanford.edu>
2188
2189 * mh-customize.el (mh-tool-bar-define): Make the save button such
2190 that is activated only if the buffer needs to saved.
2191
2192 * mh-utils.el (mh-face-display-function, mh-picon-get-image): Some
2193 domains, for instance cs.cmu.edu, don't have xpm files. So we need
2194 to search for all three files. The change does that.
2195 (mh-picon-file-contents): A utility function to return the
2196 contents of a file as a string.
2197 (mh-picon-get-image): Write it as a loop to make it simpler.
2198 (mh-x-image-set-download-state): Make the link simpler.
2199
22002003-08-04 Satyaki Das <satyakid@stanford.edu>
2201
2202 * mh-utils.el (mh-x-image-url-display): Don't bother to try to
2203 download image if we don't have the necessary tools to display
2204 it.
2205 (mh-face-display-function): Add preliminary support for "domain"
2206 picons.
2207 (mh-picon-get-image, mh-picon-generate-path): Functions to find
2208 best match for domain in the From header field.
2209
2210 * mh-e.el (mh-previous-unread-msg): If some of the messages in the
2211 unseen sequence are not present in the folder buffer then calling
2212 this function gets stuck and can't skip over them. The change
2213 fixes this.
2214 (mh-next-unread-msg): Same as above.
2215
22162003-08-04 Bill Wohler <wohler@newt.com>
2217
2218 * mh-utils.el (mh-show-mode): Added cross reference to
2219 mh-folder-mode in docstring (closes SF #728638). Added
2220 \\{mh-show-mode-map} to show keymap.
2221
2222 * mh-e.el (mh-folder-mode): Added information about ranges to
2223 docstring (closes SF #728638).
2224
2225 * mh-speed.el (mh-speed-refresh): New function that calls
2226 mh-speed-flists and mh-invalidate-map.
2227 (mh-folder-speedbar-key-map): Replaced keybindings for
2228 mh-speed-invalidate-map and mh-speed-flists with a single binding
2229 for mh-speed-refresh.
2230 (mh-folder-speedbar-menu-items): Replaced menu items for Run
2231 Flists and Invalidate Cached Folders with the single menu item
2232 Refresh Speedbar in order to simplify the UI.
2233
2234 * mh-customize.el (mh-fetch-x-image-url): Added DOS as another
2235 reason not to set this to t.
2236
22372003-08-04 Satyaki Das <satyakid@stanford.edu>
2238
2239 * mh-e.el (mh-scan-folder): Handle ranges from user input properly.
2240
22412003-08-03 Satyaki Das <satyakid@stanford.edu>
2242
2243 * mh-utils.el (mh-find-msg-get-num): Removed. If threading isn't
2244 present, the messages are sorted by index. So `mh-goto-msg' was
2245 implemented as a binary search and this function was used in that
2246 implementation. So this isn't needed any more.
2247 (mh-msg-search-pat): Removed. Before the advent of message
2248 threading, this function was used to generate a regexp used to
2249 search for a particular message. It isn't used anymore. The
2250 variable `mh-scan-msg-number-regexp' should be updated and used in
2251 `mh-goto-msg' instead of hardcoding the regexp in the code. Then
2252 we might be able to better support other scan line formats in the
2253 future.
2254
2255 * mh-seq.el (mh-map-to-seq-msgs, mh-notate-seq): Removed. These
2256 functions were used to notate user sequences. But calling
2257 `mh-goto-msg' inside of a loop is inefficient. So the sequence
2258 notation code was rewritten thereby making these functions
2259 redundant.
2260 (mh-copy-line-to-point): Removed. This function was used in the
2261 implementation the now removed function `mh-copy-seq-to-point'.
2262 That function was problematic and was replaced by the less general
2263 `mh-copy-seq-to-eob'. This makes `mh-copy-line-to-point'
2264 redundant.
2265 (mh-region-to-msg-list): Removed since this is a special case of
2266 the more general `mh-range-to-msg-list'.
2267
2268 * mh-loaddefs.el: Regenerated.
2269
22702003-08-03 Jeffrey C Honig <jch@honig.net>
2271
2272 * mh-customize.el (mh-invisible-header-fields-default): Added
2273 several new fields to hide. Sorted the list with sort-lines.
2274
22752003-08-03 Peter S Galbraith <psg@debian.org>
2276
2277 * mh-customize.el (mh-invisible-headers): Variable renamed to
2278 `mh-invisible-header-fields-compiled'.
2279 (mh-invisible-headers): Implement above change.
2280
2281 * mh-utils.el (mh-display-msg): Idem.
2282
2283 * mh-mime.el (mh-mm-inline-message): Idem.
2284
2285 * mh-comp.el (mh-insert-letter): Idem.
2286
22872003-08-03 Bill Wohler <wohler@newt.com>
2288
2289 * mh-speed.el (mh-folder-speedbar-menu-items): Added separator
2290 between standard and MH-E menu items. Use headline capitalization
2291 in menu items.
2292
2293 * mh-utils.el (mh-temp-fetch-buffer): New constant to hold
2294 buffer name for wget output.
2295 (mh-x-image-url-fetch-image): Use mh-temp-fetch-buffer instead
2296 of hard-coded buffer name. Use make-temp-file to avoid race
2297 conditions and subsequent security issues raised in make-temp-name
2298 docstring.
2299
23002003-08-03 Satyaki Das <satyakid@stanford.edu>
2301
2302 * mh-utils.el (mh-wget-executable, mh-wget-choice, mh-wget-option)
2303 (mh-x-image-url-fetch-image): Support the use of `curl' and
2304 `fetch' as alternatives to `wget'.
2305 (mh-wget-choice): Change order of search.
2306 (mh-x-image-url-fetch-image): Rename buffer.
2307
23082003-08-03 Satyaki Das <satyakid@stanford.edu>
2309
2310 * mh-utils.el (mh-x-image-set-download-state)
2311 (mh-x-image-get-download-state): Specially named symbolic links
2312 are used to keep track of whether a X-Image-URL header field needs
2313 to downloaded the next time it is seen. These functions get and
2314 set the symlinks appropriately.
2315 (mh-x-image-url-fetch-image): Simplified since the query has been
2316 moved to `mh-x-image-url-display'. Also if wget isn't present then
2317 try again next time since the user might install wget before
2318 trying once more.
2319 (mh-x-image-scale-and-display): Handle absence of the `convert'
2320 program better. If it isn't present then we will try to display
2321 the image the next time it is encountered. Also use the -geometry
2322 option to convert since the -resize option isn't present in older
2323 versions.
2324 (mh-x-image-url-display): Move all the code that decides whether
2325 an X-Image-URL header field will be fetched in this function. Also
2326 remember the user's decision so that if the image couldn't be
2327 fetched the first time, we will try to fetch it later on without
2328 asking again.
2329
23302003-08-02 Peter S Galbraith <psg@debian.org>
2331
2332 * mh-alias.el (mh-alias-local-users): Exclude all aliases already
2333 in mh-alias-alist from `ali' (closes SF #772595).
2334
23352003-08-01 Satyaki Das <satyakid@stanford.edu>
2336
2337 * mh-utils.el (mh-x-image-display, mh-x-image-url-display): Avoid
2338 a race. The X-Image-URL is displayed asynchronously. Suppose a
2339 message with a image is shown with `mh-show'. If a different
2340 message is displayed before the image can be fetched, then the new
2341 message will have the image displayed. With this change the race
2342 is less likely to happen.
2343
23442003-08-01 Peter S Galbraith <psg@debian.org>
2345
2346 * mh-inc.el (mh-inc-spool-map): Fix what `mh-inc-spool-map-help'
2347 must look like as a fake `mh-help-messages' in order to work
2348 correctly in mh-help.
2349
23502003-07-31 Bill Wohler <wohler@newt.com>
2351
2352 * mh-inc.el (mh-inc-spool-map): Use mh-help instead of
2353 mh-ephem-message in order to display help in its own buffer
2354 instead of minibuffer.
2355
2356 * mh-utils.el (mh-help-buffer): New variable to hold the name of
2357 the MH-E help buffer name.
2358
2359 * mh-funcs.el (mh-help, mh-prefix-help): Use with-electric-help to
2360 display help messages. I observed a friend with a vision
2361 disability and the 5 seconds the help appeared on the screen was
2362 not long enough for him to lock on it. I've therefore changed the
2363 help function to display the help in its own buffer called *MH-E
2364 Help* (closes SF #493740 and SF #656631).
2365
2366 * mh-customize.el (mh-fetch-x-image-url): Changed default from nil
2367 to 'ask. Updated docstring from manual.
2368 (mh-invisible-header-fields-internal): Added X-Image-URL.
2369 (mh-show-use-xface-flag): Updated docstring from manual.
2370 (mh-x-face-file): Ditto.
2371
2372 * mh-mime.el (mh-mhn-compose-external-type): Don't insert the
2373 directory parameter if it's nil. The mhbuild man page indicates
2374 that this parameter is optional, so this should be fine.
2375
2376 * mh-comp.el (mh-letter-mode-map): Added keybindings for
2377 mh-mhn-compose-anon-ftp and
2378 mh-mhn-compose-external-compressed-tar.
2379 (mh-letter-menu): Uncommented menu items for same.
2380
23812003-07-30 Satyaki Das <satyakid@stanford.edu>
2382
2383 * mh-loaddefs.el: Regenerated.
2384
2385 * mh-pick.el (mh-do-pick-search): Removed since the function
2386 `mh-pick-do-search' performs the same action as this function.
2387
2388 * mh-index.el (mh-index-update-unseen): Removed since the
2389 generalized sequence synchronization code that keeps sequences in
2390 index folders in sync with the sequences in the source folders
2391 makes this function redundant.
2392
2393 * mh-e.el (mh-folder-unseen-seq-name, mh-folder-unseen-seq-list):
2394 Removed. These two functions were used in the unseen sequence
2395 highlighting before the sequence highlighting code was
2396 generalized. In any event calls to the function
2397 `mh-folder-unseen-seq-name' can be replaced by the variable
2398 `mh-unseen-seq' and calls to `mh-folder-unseen-seq-list' can be
2399 replaced with (cdr (assoc mh-unseen-seq mh-seq-list)).
2400 (mh-unmark-all-headers): Removed since this function has been
2401 superseded by mh-remove-all-notation.
2402 (mh-map-over-seqs): Removed since we now have the generalized
2403 iteration over message ranges (the `mh-iterate-on-range' macro)
2404 that can be used instead.
2405 (mh-notate-if-in-one-seq): Removed. This function was used for
2406 changing the `%' notation for user sequences. It can't be used for
2407 that purpose any more, since we have a different scheme now.
2408
2409 * mh-unit.el (mh-unit-tests): Removed since it isn't needed any
2410 more.
2411 (mh-unit): Run all function that start with the string
2412 "mh-unit-test-".
2413
24142003-07-30 Bill Wohler <wohler@newt.com>
2415
2416 * mh-customize.el (mh-invisible-header-fields): Checkdoc fix.
2417
2418 * mh-utils.el (mh-x-image-url-cache-canonicalize): Shortened using
2419 example in files.el:make-backup-file-name-1.
2420 (mh-face-display-function): Added X-Image-URL to docstring.
2421
2422 * mh-unit.el (mh-unit-x-image-url-cache-canonicalize): New
2423 function to test mh-x-image-url-cache-canonicalize since it lent
2424 itself well to unit testing. Had to start somewhere!
2425 (mh-unit-equal): New function that throws an error if RESULT
2426 doesn't equal EXPECTED.
2427 (mh-unit): Call mh-unit-x-image-url-cache-canonicalize.
2428
24292003-07-29 Satyaki Das <satyakid@stanford.edu>
2430
2431 * mh-unit.el (mh-unit-update-call-graph): Make the function work
2432 better with dotted lists, that is lists of the form (a b c . d)
2433 where `d' isn't nil. With this we are able to avoid marking some
2434 functions as unused even though they are actually used in alists.
2435
24362003-07-28 Peter S Galbraith <psg@debian.org>
2437
2438 * mh-comp.el (mh-insert-letter): Remove `mh-visible-headers'
2439 operation.
2440
2441 * mh-mime.el (mh-mm-inline-message): Same.
2442
2443 * mh-utils.el (mh-display-msg): Same.
2444 (mh-clean-msg-header): Make a note of above change.
2445
2446 * mh-customize.el (mh-invisible-header-fields-internal): Renamed
2447 from prior `mh-invisible-header-fields-default'.
2448 (mh-invisible-header-fields-default): Renamed from prior
2449 `mh-invisible-header-fields-default-override'.
2450 (mh-invisible-header-fields): Renamed from prior
2451 `mh-invisible-header-fields-user'.
2452 (mh-visible-headers): Removed! We use invisible fields only now.
2453 (mh-visible-header-fields): Removed!
2454
24552003-07-28 Peter S Galbraith <psg@debian.org>
2456
2457 * mh-customize.el (mh-invisible-header-fields-default): Added 3
2458 new fields to hide.
2459
24602003-07-28 Satyaki Das <satyakid@stanford.edu>
2461
2462 * mh-utils.el (mh-show): Add an extra argument to the function so
2463 that interactive use will always force redisplay of the message.
2464
2465 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Bind the
2466 variables `mm-verify-option' and `mm-decrypt-option' so that
2467 verification and decryption of mail can happen without any
2468 additional tinkering.
2469
24702003-07-25 Peter S Galbraith <psg@debian.org>
2471
2472 * mh-customize.el (mh-invisible-header-fields-default): New defvar
2473 holding default fields to hide. This replaces the old
2474 `mh-invisible-header-fields' defcustom.
2475 (mh-invisible-header-fields-user): New defcustom. Users add
2476 fields to suppress that we didn't include in
2477 `mh-invisible-header-fields-default'. This could be named simply
2478 `mh-invisible-header-fields' and it wouldn't really break anything
2479 for users who have customized it to a long list now redundant with
2480 `mh-invisible-header-fields-default'.
2481 (mh-invisible-header-fields-default-override): New defcustom.
2482 Users check off the fields they want displyed from what we
2483 included in `mh-invisible-header-fields-default'.
2484 (mh-invisible-headers): Function adapted to new variables.
2485
24862003-07-25 Satyaki Das <satyakid@stanford.edu>
2487
2488 * mh-e.el (mh-inc-folder): If the user is in a different folder
2489 displaying a message and runs mh-inc-folder, then the folder
2490 changes to +inbox but the show window continues to display the
2491 message in the old folder. The change fixes this.
2492 (mh-visit-folder): Make the handling of the show window similar to
2493 that of mh-inc-folder.
2494
24952003-07-24 Satyaki Das <satyakid@stanford.edu>
2496
2497 * mh-e.el (mh-folder-message-menu, mh-folder-folder-menu): Use the
2498 predicate mh-outstanding-commands-p instead of its exapansion.
2499 Also use the same label in both menus.
2500 (mh-outstanding-commands-p): Generalized so that it will work in
2501 mh-show-mode buffers as well.
2502
2503 * mh-customize.el (mh-tool-bar-define): Enable tool-bar button for
2504 mh-execute-commands only if there are pending deletes or refiles.
2505
25062003-07-19 Satyaki Das <satyakid@stanford.edu>
2507
2508 * mh-utils.el (mh-show-msg): If a unseen message is first marked
2509 for deletion/refiling and then displayed, the bold highlighting
2510 does not go away. This change fixes that.
2511
2512 * mh-seq.el (mh-msg-is-in-seq): Fix a bug in the function. If any
2513 message was marked for refiling, then the function would have you
2514 believe that every message in the folder is being refiled.
2515
25162003-07-17 Bill Wohler <wohler@newt.com>
2517
2518 * mh-e.el: Removed email address for Stephen Gildea's in Change
2519 Log at his request (damn spammers). Removed other email addresses
2520 while I was at it since the SourceForge URL should be sufficient
2521 contact information.
2522
2523 (mh-scan-format-*mh): Fixed typo in comment above these variables.
2524 These variables are used if mh-scan-format-file is t, not nil.
2525 Also mh-scan-format-file is no longer "above" (courtesy Stephen
2526 Gildea).
2527
25282003-07-17 Satyaki Das <satyakid@stanford.edu>
2529
2530 * mh-mime.el (mh-mhn-quote-unescaped-sharp): New function that
2531 quotes `#' characters in the first column that aren't part of a
2532 MHN directive.
2533 (mh-mhn-directive-present-p): Generalized to allow the function
2534 to search for MHN directives in a part of the buffer.
2535 (mh-edit-mhn): Quote unescaped `#' characters in the draft (closes
2536 SF #762464).
2537
25382003-07-16 Satyaki Das <satyakid@stanford.edu>
2539
2540 * mh-alias.el (mh-alias-read-address-map): If
2541 mh-alias-flash-on-comma is nil when mh-alias is loaded, then
2542 setting mh-alias-flash-on-comma to t later on doesn't turn on
2543 address completion display till Emacs is restarted. The change
2544 fixes this.
2545
25462003-07-15 Bill Wohler <wohler@newt.com>
2547
2548 * mh-utils.el (mh-cmd-note): Cleaned up docstring (changed phrase
2549 to sentences). Moved to Scan Line Formats section.
2550 (mh-scan-msg-number-regexp)
2551 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2552 (mh-scan-msg-format-string, mh-scan-msg-search-regexp): Cleaned up
2553 docstrings (changed phrases to sentences).
2554 (mh-note-seq): Cleaned up docstring (changed phrase to sentences).
2555 Also, this variable is now a character and not a string. Moved to
2556 Scan Line Formats section.
2557
2558 * mh-funcs.el (mh-note-copied, mh-note-printed): Cleaned up
2559 docstrings (changed phrases to sentences). Also, these variables
2560 are now characters and not strings.
2561
2562 * mh-e.el (mh-scan-format-mh, mh-scan-format-nmh): Filled. I was
2563 hoping to quote the hint `t' but checkdoc wouldn't let me.
2564 (mh-note-deleted, mh-note-refiled, mh-note-cur): Moved to Scan
2565 Line Formats section.
2566 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2567 (mh-scan-refiled-msg-regexp, mh-scan-valid-regexp)
2568 (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
2569 (mh-scan-rcpt-regexp, mh-scan-body-regexp)
2570 (mh-scan-subject-regexp, mh-scan-format-regexp): Cleaned
2571 up docstrings (changed phrases to sentences).
2572 (mh-scan-cur-msg-regexp): Marked this variable as obsolete; it
2573 should be removed for 8.0.
2574
2575 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Cleaned
2576 up docstrings (changed phrases to sentences). Also, these
2577 variables are now characters and not strings.
2578
25792003-07-15 Satyaki Das <satyakid@stanford.edu>
2580
2581 * mh-index.el (mh-index-update-single-msg)
2582 (mh-index-create-sequences): Handle the situation where there are
2583 copies of the exact same message correctly.
2584
25852003-07-15 Satyaki Das <satyakid@stanford.edu>
2586
2587 * mh-seq.el (mh-thread-update-scan-line-map): Modified since
2588 notation is already a character.
2589
2590 * mh-utils.el (mh-note-seq): Convert from string to character.
2591 (mh-notate): Modified since characters are used to notate instead
2592 of strings of length one.
2593
2594 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Convert
2595 from string to characters.
2596
2597 * mh-e.el (mh-note-deleted, mh-note-refiled, mh-note-cur): Same as
2598 above (closes SF #770772).
2599 (mh-unmark-all-headers): Modified since mh-note-* variables are
2600 now characters.
2601 (mh-remove-sequence-notation): The mh-notate function remembers
2602 the previous notation. Before the change to the mh-note-*
2603 variables, mh-notate would only remember the change if a string
2604 was used to notate the message. Now mh-notate is always called
2605 with a character notation. So the deletion has to take place
2606 explicitly.
2607
26082003-06-28 Bill Wohler <wohler@newt.com>
2609
2610 * mh-mime.el (mh-mhn-directive-present-p): If shell comments are
2611 present that have a space after the # but no content, then this
2612 function would throw an error. This has been fixed (closes SF
2613 #762458).
2614
26152003-06-27 Satyaki Das <satyakid@stanford.edu>
2616
2617 * mh-index.el (mh-index-search): Use the new and improved
2618 mh-index-new-folder.
2619 (mh-index-new-folder): Improved so that redoing the same search
2620 will reuse the old index folder.
2621 (mh-index-folder-search-regexp): New function which that extracts
2622 out the search expression that produced the index folder.
2623
26242003-06-24 Bill Wohler <wohler@newt.com>
2625
2626 * mh-e.el (Version, mh-version): Set to 7.4.1+cvs.
2627
26282003-06-25 Bill Wohler <wohler@newt.com>
2629
2630 Released MH-E version 7.4.1.
2631
2632 * MH-E-NEWS, README: Updated for release 7.4.1.
2633
2634 * mh-e.el (Version, mh-version): Updated for release 7.4.1.
2635
26362003-06-25 Bill Wohler <wohler@newt.com>
2637
2638 * mh-unit.el (require 'cl): Added. Needed when compiling
2639 separately.
2640
2641 * Makefile (clean): Now a double-colon rule. Added a second clean
2642 target to remove mh-unit.elc.
2643 (compile): Removed mh-unit.elc.
2644 (mh-unit.elc): New target used to compile mh-unit.
2645
26462003-06-24 Bill Wohler <wohler@newt.com>
2647
2648 * mh-e.el (Version, mh-version): Set to 7.4+cvs.
2649
26502003-06-24 Bill Wohler <wohler@newt.com>
2651
2652 Released MH-E version 7.4.
2653
2654 * MH-E-NEWS, README: Updated for release 7.4.
2655
2656 * mh-e.el (Version, mh-version): Updated for release 7.4.
2657
26582003-06-24 Bill Wohler <wohler@newt.com>
2659
2660 * mh-alias.el (mh-alias-gecos-name, mh-alias-local-users)
2661 (mh-alias-suggest-alias): s/gcos/gecos. The original acronym was
2662 GECOS but was later renamed to GCOS (see
2663 http://info.astrian.net/jargon/terms/g/GCOS.html). But the term
2664 really needs to match the field named pw_gecos in struct passwd in
2665 /usr/include/pwd.h
2666
2667 * mh-customize.el (mh-letter-faces): New group to house
2668 mh-letter-header-field-face.
2669 (mh-interpret-number-as-range-flag)
2670 (mh-kill-folder-suppress-prompt-hook): Use "you" instead of "the
2671 user" to make text more friendly.
2672 (mh-index-ticked-messages-folders, mh-visible-headers)
2673 (mh-visible-header-fields): Alphabetized.
2674 (mh-alias-passwd-gcos-comma-separator-flag): Alphabetized and
2675 s/gcos/gecos.
2676 (mh-alias-local-users-prefix): Fixed docstring. Prefixes are
2677 prepended, not appended. Additional checkdoc fix.
2678 (mh-letter-header-field-face): Set group to new group
2679 mh-letter-faces and moved option into this group.
2680
2681 * mh-index.el (mh-index-sequenced-messages): Improved wording of
2682 docstring and mentioned use of prefix argument.
2683
2684 * mh-seq.el (mh-widen): Made docstring more accurate (hopefully!).
2685
26862003-06-18 Satyaki Das <satyakid@stanford.edu>
2687
2688 * mh-index.el (mh-replace-string): Modified to preserve case of
2689 replacement text.
2690 (mh-index-parse-search-regexp): Preserve case of search terms.
2691 This is needed to take advantage of the acronym indexing in
2692 swish++ (closes SF #755718).
2693
26942003-06-13 Satyaki Das <satyakid@stanford.edu>
2695
2696 * mh-utils.el (mh-show-index-sequenced-messages): Interactive
2697 function callable from the show buffer.
2698 (mh-show-folder-map): Add key binding for "F q".
2699
2700 * mh-e.el (mh-folder-map): Same as above.
2701
2702 * mh-index.el (mh-index-sequenced-messages): Add interactive spec
2703 to the function (closes SF #718833).
2704
27052003-06-13 Bill Wohler <wohler@newt.com>
2706
2707 * mh-index.el (mh-flists-execute): Needed to expand mhpath too.
2708
27092003-06-12 Satyaki Das <satyakid@stanford.edu>
2710
2711 * mh-index.el (mh-flists-execute): Modified so that flists
2712 present in mh-progs is called.
2713
27142003-06-07 Jeffrey C Honig <jch@honig.net>
2715
2716 * mh-comp.el (mh-forward, mh-forward): Use (mh-mail-header-end) to
2717 find the end of headers instead of doing an re-search-forward
2718 based on mh-mail-header-separator.
2719
27202003-06-06 Satyaki Das <satyakid@stanford.edu>
2721
2722 * mh-comp.el (mh-letter-toggle-header-field-display): Make the
2723 function callable from the show buffer. This means that the
2724 buffer is temporarily made writable and the modification status
2725 of the buffer restored to the original value.
2726
27272003-06-06 Peter S Galbraith <psg@debian.org>
2728
2729 * mh-utils.el (mh-address-mail-regexp): Bug fix! It wasn't a true
2730 copy of the goto-addr variable. My modification only recognized
2731 addresses with one dot after the @. Sorry about that.
2732
27332003-06-05 Satyaki Das <satyakid@stanford.edu>
2734
2735 * mh-utils.el (mh-replace-in-string): Move comment into doc
2736 string to satisfy checkdoc.
2737
2738 * mh-alias.el (mh-alias-apropos): Checkdoc fix.
2739
27402003-06-05 Bill Wohler <wohler@newt.com>
2741
2742 * mh-customize.el (mh-identity-list): Fixed typo in docstring.
2743
27442003-06-05 Peter S Galbraith <psg@debian.org>
2745
2746 * mh-comp.el (mh-letter-complete-function-alist): Add bcc an reply-to.
2747
27482003-06-04 Peter S Galbraith <psg@debian.org>
2749
2750 * mh-comp.el (mh-letter-complete-function-alist): Add dcc.
2751
27522003-06-03 Peter S Galbraith <psg@debian.org>
2753
2754 * mh-utils.el (mh-replace-in-string): New function name instead of
2755 `dired-replace-in-string'.
2756 * mh-alias.el (mh-alias-gcos-name): Use it.
2757
2758 * mh-alias.el (mh-alias-apropos): New command. Show all aliases
2759 that match REGEXP either in name or content.
2760
2761 * mh-alias.el (mh-alias-suggest-alias): Add no-comma-swap optional
2762 arg.
2763 (mh-alias-canonicalize-suggestion): Change a comma to a period in
2764 created aliases.
2765 (mh-alias-local-users): Call `mh-alias-suggest-alias' with
2766 `no-comma-swap' arg set to t.
2767
2768 * mh-alias.el (mh-alias-local-users): Fix case of nil
2769 `mh-alias-passwd-gcos-comma-separator-flag'.
2770
2771 * mh-alias.el (mh-alias-gcos-name): Fix for case of empty gcos
2772 name field.
2773 (mh-alias-local-users): Fix same.
2774
2775 * mh-alias.el (mh-alias-canonicalize-suggestion): Replace use by
2776 verbose `replace-regexp' by a looped `replace-match'
2777
27782003-06-02 Peter S Galbraith <psg@debian.org>
2779
2780 * mh-utils.el (dired-replace-in-string): Bind if not already
2781 defined. Borrowed from dired.el
2782
2783 * mh-alias.el (mh-alias-gcos-name): switch to using
2784 dired-replace-in-string.
2785
27862003-06-02 Satyaki Das <satyakid@stanford.edu>
2787
2788 * mh-utils.el (mh-letter-font-lock-keywords): Fontify header
2789 fields in the draft buffer that aren't skipped when navigating
2790 with TAB (or S-TAB).
2791
2792 * mh-customize.el (mh-clean-message-header-flag)
2793 (mh-invisible-headers, mh-invisible-header-fields)
2794 (mh-alias-passwd-gcos-comma-separator-flag): Checkdoc fix.
2795 (mh-letter-header-field-face): New face to fontify the header
2796 fields.
2797
2798 * mh-comp.el (mh-insert-auto-fields-done-local): Checkdoc fix.
2799 (mh-letter-mode, mh-letter-mail-header-end-marker): Remember the
2800 end of the message header in a marker. This is used to fontify the
2801 header fields.
2802 (mh-font-lock-field-data, mh-letter-header-end): Functions used
2803 to fontify message header fields.
2804
2805 * mh-alias.el (mh-alias-gcos-name): Checkdoc fix.
2806
28072003-06-02 Peter S Galbraith <psg@debian.org>
2808
2809 * mh-alias.el (mh-alias-gcos-name): New function. Return a usable
2810 address string from a GCOS-NAME and USERNAME.
2811 (mh-alias-local-users): Use it.
2812
2813 * mh-customize.el (mh-alias-passwd-gcos-comma-separator-flag): New
2814 defcustom. Whether the gcos field in the passwd file uses comma as
2815 a separator.
2816
2817 * mh-customize.el (mh-alias-local-users-prefix): New
2818 defcustom. String to append to the real names of users from the
2819 passwd file. If nil, use the username string unmodified instead of
2820 the real name from the gcos field of the passwd file.
2821
2822 * mh-alias.el (mh-alias-local-users): Use it to generate aliases
2823 which by default are now the real name prefixed by "local."
2824
28252003-06-01 Peter S Galbraith <psg@debian.org>
2826
2827 * mh-comp.el (mh-modify-header-field): Bug fix. Calling with with
2828 a value that was already inserted causes it to get inserted a
2829 second time. I have wrapped the value around \b word delimiters.
2830 Hope there are no side effects for other code.
2831
2832 * mh-comp.el (mh-insert-auto-fields): Attempt regardless of
2833 `mh-insert-auto-fields-done-local' flag in interactive use.
2834
2835 * mh-comp.el (mh-insert-auto-fields-done-local): Keep track of
2836 whether `mh-insert-auto-fields' was called in a buffer.
2837 (mh-insert-auto-fields): Set it and use it. Also, don't enter an
2838 identity if one was already entered manually.
2839 (mh-send-letter): Call `mh-insert-auto-fields' again when sending
2840 message.
2841 (mh-compose-and-send-mail): Call `mh-insert-auto-fields' _after_
2842 `mh-letter-mode' so `mh-identity-local' doesn't get cleared by the
2843 mode invocation.
2844
28452003-06-01 Satyaki Das <satyakid@stanford.edu>
2846
2847 * mh-loaddefs.el: Regenerated.
2848
2849 * mh-seq.el (mh-thread-parse-scan-line): The value of
2850 mh-scan-field-from-start-offset was hardcoded in one place. The
2851 change fixes that.
2852
2853 * mh-utils.el (mh-show-mode): Setup mh-show-mode to display
2854 elipsis for truncated header fields and to skip over them quickly.
2855 (mh-clean-msg-header): Make another pass over the message header
2856 fields truncating long headers.
2857
2858 * mh-comp.el (mh-letter-complete): Remove unnecessary autoload.
2859 (mh-letter-toggle-header-field-display): Take into account that
2860 an empty line can also end the message header. The function was
2861 originally written with the draft buffer in mind.
2862
28632003-06-01 Mark D. Baushke <mdb@gnu.org>
2864
2865 * mh-comp.el (mh-letter-mode-map): Do not steal C-t. Use C-c C-t
2866 for the mh-letter-toggle-header-field-display command.
2867
28682003-05-31 Peter S Galbraith <psg@debian.org>
2869
2870 * mh-customize.el (mh-visible-headers): Changed to a defvar that
2871 will be set using new `mh-visible-headers' function using
2872 `mh-visible-header-fields' as input.
2873 (mh-visible-headers): New function, described above.
2874 (mh-visible-header-fields): New defcustom. The UI to set
2875 `mh-visible-headers'.
2876 (mh-invisible-header-fields-set): Deleted. Code merged into
2877 defcustom since it's so short.
2878
28792003-05-31 Satyaki Das <satyakid@stanford.edu>
2880
2881 * mh-comp.el (mh-letter-toggle-header-field-display): Extended to
2882 truncate headers if they are too long.
2883 (mh-letter-truncate-header-field): Make code that would be
2884 duplicated into a function.
2885 (mh-letter-hide-all-skipped-fields): Modified so that fields that
2886 are important are hidden if they are too long.
2887
28882003-05-31 Satyaki Das <satyakid@stanford.edu>
2889
2890 * mh-utils.el ("tool-bar"): Since tool-bar isn't available on
2891 XEmacs, requiring it causes problems. So load it instead.
2892 (mh-do-at-event-location): New macro to do stuff at location of
2893 events. This has been refactored out of mh-push-button.
2894
2895 * mh-mime.el (mh-push-button): Simplified since it now uses the
2896 mh-do-at-event-location macro.
2897
2898 * mh-comp.el (mh-hidden-header-keymap): Keymap to make mouse
2899 clicks on header toggle its display.
2900 (mh-letter-toggle-header-field-display-button): Interactive
2901 function to toggle header display when mouse button is clicked.
2902
29032003-05-31 Peter S Galbraith <psg@debian.org>
2904
2905 * mh-e.el (mh-folder-mode): Remove conditional on tool-bar-mode.
2906
2907 * mh-comp.el (mh-letter-mode): Same.
2908
2909 * mh-utils.el (mh-show-mode): Same.
2910
29112003-05-30 Satyaki Das <satyakid@stanford.edu>
2912
2913 * mh-utils.el (tool-bar): Load tool-bar explicitly. This avoids
2914 problems with incorrect initialization of tool-bar-map otherwise.
2915
29162003-05-30 Peter S Galbraith <psg@mixed.dyndns.org>
2917
2918 * mh-comp.el (mh-modify-header-field): Minor fix of spaces for
2919 when an entry already existed.
2920 (mh-insert-auto-fields): Make interactive. Add optional `quiet'
2921 arg for use when called systematically on every buffer. Won't be
2922 used interactively for more verbose output.
2923 (mh-letter-mode-map): Add \C-c\M-d keybinding for
2924 mh-insert-auto-fields.
2925
2926 * mh-identity.el (mh-identity-make-menu): Add a menu entry in
2927 Identity menu for mh-insert-auto-fields.
2928
2929 * mh-customize.el (mh-invisible-header-fields): Add entries for
2930 `Envelope-to' and `X-Original-To'.
2931
29322003-05-30 Satyaki Das <satyakid@stanford.edu>
2933
2934 * mh-comp.el (mh-letter-mode): Skip over invisible text quickly.
2935
29362003-05-30 Satyaki Das <satyakid@stanford.edu>
2937
2938 * mh-comp.el (mh-letter-mode): Use text properties to achieve
2939 invisibility. This is more portable and the same code can be used
2940 for all Emacs versions.
2941 (mh-letter-toggle-header-field-display): Rewritten to use text
2942 properties.
2943 (mh-dead-overlay-p, mh-letter-hidden-header-fields)): Removed.
2944
29452003-05-29 Satyaki Das <satyakid@stanford.edu>
2946
2947 * mh-comp.el (mh-letter-hidden-header-fields, mh-letter-mode): Add
2948 a hash table, initialized it in mh-letter-mode, to remember the
2949 overlays introduced to hide long headers fields.
2950 (mh-insert-x-mailer): checkdoc fix.
2951 (mh-compose-and-send-mail): Hide unimportant message header
2952 fields.
2953 (mh-letter-header-field-regexp, mh-letter-header-field-at-point)
2954 (mh-letter-next-header-field, mh-letter-previous-header-field):
2955 Add a variable that contains the header-field name regexp and use
2956 it instead of the regexp directly.
2957 (mh-letter-toggle-header-field-display, mh-letter-mode-map): Add
2958 new key binding in mh-letter-mode that toggles display of long
2959 header fields, in mh-letter-mode.
2960 (mh-dead-overlay-p): A predicate which checks if a given header
2961 field has an active overlay hiding it.
2962 (mh-letter-hide-all-skipped-fields): New function that shortens
2963 uninteresting headers.
2964
29652003-05-29 Eric Ding <ericding@acorn.bethesda.net>
2966
2967 * mh-comp.el (mh-letter-next-header-field-or-indent): Call
2968 indent-relative rather than indent-for-tab-command.
2969
29702003-05-29 Satyaki Das <satyakid@stanford.edu>
2971
2972 * mh-comp.el (mh-letter-complete-or-space): The meaning of the
2973 customizable variable was reversed. Also make the doc string more
2974 accurate.
2975
29762003-05-28 Satyaki Das <satyakid@stanford.edu>
2977
2978 * mh-customize.el (mh-compose-skipped-header-fields): New
2979 customizable variable that lists headers that are skipped.
2980 (mh-compose-space-does-completion-flag): Option to do completion
2981 with space (closes SF #745634).
2982
2983 * mh-comp.el (mh-insert-x-mailer): Check the value of
2984 mh-insert-x-mailer-flag in this function instead of in its caller.
2985 (mh-compose-and-send-mail, mh-send-letter): Insert X-Mailer and
2986 X-Face headers when the draft is first presented to the user
2987 instead of when the mail is sent (closes SF #745624).
2988 (mh-letter-complete-or-space): Allow for this key binding to be
2989 overridden.
2990 (mh-letter-next-header-field): Fix a problem with multiline header
2991 fields.
2992 (mh-letter-next-header-field, mh-letter-previous-header-field):
2993 Make these functions skip unwanted header fields.
2994 (mh-letter-skipped-header-field-p): New predicate that checks if a
2995 header field is to be skipped.
2996
2997 * mh-seq.el (mh-thread-inc): Inc'ing email in threaded mode was
2998 causing duplication of the current notation. The change fixes that.
2999
30002003-05-28 Satyaki Das <satyakid@stanford.edu>
3001
3002 * mh-comp.el (mh-beginning-of-word): Generalize it to skip
3003 arbitrary number of words.
3004 (mh-letter-complete-or-space): New interactive function that
3005 allows space character to be used for completion.
3006 (mh-letter-mode-map): Add key binding to allow space to be used
3007 for completion.
3008
30092003-05-27 Satyaki Das <satyakid@stanford.edu>
3010
3011 * mh-customize.el (mh-compose-prompt-flag): Customizable variable
3012 that controls whether the user is prompted when composing a draft.
3013 It replaces mh-dont-prompt-for-address-flag (closes SF #745622).
3014
3015 * mh-comp.el (mh-letter-next-header-field): If the point is in
3016 the header field name, then go the start of the header field
3017 instead of the next field.
3018 (mh-interactive-read-address, mh-interactive-read-string)
3019 (mh-letter-adjust-point): Use mh-compose-prompt-flag instead of
3020 mh-dont-prompt-for-address-flag.
3021
30222003-05-27 Satyaki Das <satyakid@stanford.edu>
3023
3024 * mh-customize.el (mh-tool-bar-define): Fix incorrect usage of
3025 set-specifier (closes SF #745655). Also the button enabling code
3026 interacts poorly with font-lock in XEmacs. So disable that.
3027
30282003-05-26 Satyaki Das <satyakid@stanford.edu>
3029
3030 * mh-e.el (mh-folder-from-address): The function
3031 message-fetch-field expects that the buffer is narrowed to the
3032 mail header. The change makes sure that this is indeed the case.
3033
3034 * mh-mime.el (mh-add-missing-mime-version-header)
3035 (mh-decode-message-body): Same as above.
3036
30372003-05-25 Satyaki Das <satyakid@stanford.edu>
3038
3039 * mh-alias.el (mh-alias-minibuffer-confirm-address): Modified to
3040 use mh-beginning-of-word.
3041
3042 * mh-comp.el (mh-letter-confirm-address): Calling
3043 mh-alias-reload-maybe can be expensive. So do it only if we really
3044 need to.
3045
30462003-05-25 Satyaki Das <satyakid@stanford.edu>
3047
3048 * mh-loaddefs.el: Regenerated.
3049
3050 * mh-comp.el (mh-letter-confirm-address): Load aliases if not yet
3051 loaded.
3052
3053 * mh-alias.el (mh-alias-reload-maybe): Autoload it since it is
3054 used in mh-comp.el.
3055
30562003-05-24 Satyaki Das <satyakid@stanford.edu>
3057
3058 * mh-comp.el (mh-letter-skip-leading-whitespace-in-header-field):
3059 New function to skip leading space and tab characters when placing
3060 point in a header field.
3061 (mh-letter-next-header-field, mh-letter-previous-header-field):
3062 Skip leading whitespace when using TAB to navigate to header
3063 fields.
3064 (mh-letter-confirm-address): New interactive function that
3065 displays the last expansion of the last alias when "," is typed.
3066 (mh-letter-mode-map): Add key binding for "," (closes SF #745634).
3067
30682003-05-23 Satyaki Das <satyakid@stanford.edu>
3069
3070 * mh-comp.el (mh-edit-again, mh-forward, mh-send)
3071 (mh-send-other-window, mh-send-sub): Modified so that if
3072 mh-dont-prompt-for-address-flag is non-nil, then MH-E won't prompt
3073 for addresses to send mail to and instead directly jump to the
3074 draft (closes SF #745622).
3075 (mh-letter-complete-function-alist): An alist that is used to
3076 decide which completion function to use in which header. This
3077 variable should probably be customizable.
3078 (mh-letter-complete): Now uses mh-letter-complete-function-alist.
3079 (mh-letter-header-field-at-point, mh-letter-next-header-field)
3080 (mh-letter-next-header-field-or-indent)
3081 (mh-letter-previous-header-field): Commands for easier navigation
3082 to header fields.
3083 (mh-dont-prompt-for-address-flag): Variable which controls
3084 whether MH-E prompts for addresses.
3085 (mh-interactive-read-address, mh-interactive-read-string): Two
3086 functions to ask user for input depending on the value of the
3087 above flag.
3088 (mh-letter-adjust-point): New function that sets point to the
3089 first header field.
3090 (mh-letter-mode-map): Add key bindings for TAB and S-TAB (closes
3091 SF #745627).
3092
30932003-05-23 Satyaki Das <satyakid@stanford.edu>
3094
3095 * mh-loaddefs.el: Regenerated.
3096
3097 * mh-comp.el (mh-complete-word): New function which is
3098 approximately equivalent to mail-abbrev-complete-alias.
3099 (mh-beginning-of-word): Refactor repeated code into its own
3100 function.
3101 (mh-folder-expand-at-point): Make Fcc completion work in XEmacs
3102 by not using mail-abbrev-complete-alias.
3103
3104 * mh-alias.el (mh-alias-letter-expand-alias): Make alias
3105 expansion work in XEmacs. Replace the use of the function
3106 mail-abbrev-complete-alias, which isn't present in XEmacs.
3107
3108 * mh-mime.el (mh-mml-to-mime): If a MIME message is created
3109 immediately after starting MH-E then invoking mh-mml-to-mime
3110 causes an error because "message" isn't being loaded. The change
3111 works around this problem.
3112 (mh-mime-maybe-display-alternatives): Give better indication of
3113 which MIME parts are alternatives.
3114
31152003-05-22 Satyaki Das <satyakid@stanford.edu>
3116
3117 * mh-e.el (mh-add-sequence-notation, mh-remove-sequence-notation):
3118 Just delete and add the same character in the scan line to make
3119 font-lock refontify it. The previous trick of removing all text
3120 properties didn't work in XEmacs.
3121
3122 * mh-seq.el (mh-put-msg-in-seq): Complain if the user tries to
3123 create an invalid MH sequence.
3124
3125 * mh-mime.el (mh-mime-display-alternative): Modified to
3126 optionally display alternatives as buttons.
3127 (mh-mime-maybe-display-alternatives): New function which displays
3128 alternative MIME parts as buttons.
3129 (mh-mime-save-part): Initially mh-mime-save-parts-directory is
3130 nil and calling file-name-as-directory with nil arg leads to an
3131 error. So fall back on the default-directory in that case.
3132
3133 * mh-customize.el (mh-display-buttons-for-alternatives-flag): New
3134 customizable variable that controls display of the alternative
3135 MIME parts (closes SF #741288).
3136
31372003-05-22 Peter S Galbraith <psg@debian.org>
3138
3139 * mh-customize.el (mh-invisible-header-fields): Commented out
3140 "User-Agent:". It's similar to X-Mailer, so display it.
3141
31422003-05-21 Satyaki Das <satyakid@stanford.edu>
3143
3144 * mh-customize.el (mh-tool-bar-define): Add an optional argument
3145 to the button description that can dynamically enable/disable
3146 buttons.
3147 (mh-tool-bar-define): The alias grabbing button is disabled if the
3148 current message doesn't have a From header or if the sender is
3149 already in the user's alias. This functionality was inadvertently
3150 lost when the Emacs/XEmacs toolbar unification took place.
3151
31522003-05-20 Satyaki Das <satyakid@stanford.edu>
3153
3154 * mh-unit.el (mh-unit-construct-call-graph): Be more aggressive
3155 and flag interactive functions that aren't autoloaded or have no
3156 key bindings.
3157 (mh-unit-interactive-function-p): Remove now unused function.
3158 (mh-unit, mh-unit-construct-call-graph): Replace mh-files with
3159 mh-unit-files.
3160
31612003-05-20 Bill Wohler <wohler@newt.com>
3162
3163 * mh-unit.el (mh-prune-trailing-spaces): Renamed to
3164 mh-unit-prune-trailing-spaces to clean up the namespace.
3165 (mh-files): Renamed to mh-unit-files. Ditto.
3166 (mh-unit): Checkdoc fix.
3167
3168 * mh-index.el (mh-index-p): Added autoload cookie since mh-index-p
3169 is used by mh-customize.el. This calls for another mh-unit test
3170 that looks for mh-autoloads for functions that are no longer used
3171 in other files.
3172
3173 * mh-loaddefs.el: Regenerated.
3174
31752003-05-20 Satyaki Das <satyakid@stanford.edu>
3176
3177 * mh-unit.el (mh-unit-construct-call-graph): Factor out the code
3178 to read the lisp files to a separate function. Also change it to
3179 construct a function call-graph. Autoloaded functions are taken
3180 into account.
3181 (mh-unit-find-all-used-functions, mh-unit-called-functions)
3182 (mh-unit-find-all-unused-functions): Find all unused functions by
3183 computing a fixed point starting from the set of top level
3184 functions.
3185 (mh-unit-analyze-block): Removed.
3186 (mh-unit-update-call-graph): mh-unit-functions-called was renamed
3187 with modifications to update the function call graph.
3188
31892003-05-19 Satyaki Das <satyakid@stanford.edu>
3190
3191 * mh-loaddefs.el: Regenerated.
3192
3193 * mh-utils.el (mh-notate): Modified to keep track of notation
3194 that was replaced when sequence notation is added. Thus when the
3195 sequence is deleted, the original notation is recovered.
3196 (mh-add-msgs-to-seq): Modified to work with the new sequence
3197 notation code.
3198
3199 * mh-seq.el (mh-delete-seq, mh-put-msg-in-seq): Simplified since
3200 we don't need to handle tick and unseen sequences specially any
3201 more.
3202 (mh-narrow-to-seq): Don't need to call mh-notate-user-sequences
3203 since mh-copy-seq-to-eob already does that.
3204 (mh-widen): Remove sequence notation, so that notation when
3205 messages are replied to aren't lost.
3206 (mh-copy-seq-to-eob): Simplified with the use of
3207 mh-iterate-on-range.
3208 (mh-thread-inc): This function doesn't need to notate user
3209 sequences since its callers already do that.
3210 (mh-thread-parse-scan-line): Simplified since mh-note-seq doesn't
3211 appear in scan lines it is given as arguments.
3212 (mh-thread-update-scan-line-map): Remove the test, since its
3213 caller already does the required check.
3214 (mh-thread-folder): Simplified by the use of mh-iterate-on-range.
3215 (mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick):
3216 These functions aren't needed any more, since overlays aren't used
3217 any more. Also overlays aren't portable to XEmacs, so nasty
3218 conditional code that used overlays in Emacs and extents in Xemacs
3219 have been eliminated.
3220 (mh-toggle-tick): Generalize it to work on a range of messages
3221 like the other interactive messages.
3222
3223 * mh-funcs.el (mh-undo-folder): Use mh-remove-all-notation
3224 instead of mh-unmark-all-headers.
3225
3226 * mh-e.el (mh-folder-font-lock-keywords): The entry for unseen
3227 sequence highlighting is now done by the macro.
3228 (mh-generate-sequence-font-lock): New macro to highlight any
3229 arbitrary sequence. This macro is invoked twice to get the
3230 highlighting for unseen and tick sequences.
3231 (mh-sequence-notation-history, mh-folder-mode): New variable that
3232 keeps track of the old notation when a message is notated with
3233 mh-note-seq.
3234 (mh-regenerate-headers, mh-get-new-mail): Add appropriate calls to
3235 mh-notate-user-sequences and mh-remove-all-notation.
3236 (mh-unmark-all-headers): Add comment that this function shouldn't
3237 be used any more.
3238 (mh-add-sequence-notation, mh-remove-sequence-notation): New
3239 functions to notate message with mh-note-seq and to remove it.
3240 (mh-remove-all-notation): Simplified to use mh-iterate-on-range.
3241 (mh-process-commands): Use mh-remove-all-notation instead of
3242 mh-unmark-all-headers.
3243 (mh-notate-user-sequences, mh-delete-msg-from-seq): Simplified
3244 since the tick and unseen sequences don't need special handling
3245 any more.
3246 (mh-internal-seq): Make it possible to dynamically change what
3247 sequences are treated as internal (internal means font lock is
3248 used to highlight the sequence).
3249 (mh-clear-text-properties): Removed since it isn't needed
3250 anymore.
3251
32522003-05-19 Satyaki Das <satyakid@stanford.edu>
3253
3254 * mh-unit.el (mh-unit-analyze-block, mh-unit-interactive-function-p)
3255 (mh-unit-find-all-unused-functions): Change argument name bl to
3256 block.
3257
32582003-05-19 Satyaki Das <satyakid@stanford.edu>
3259
3260 * mh-unit.el (mh-unit-find-all-unused-functions): New interactive
3261 function to find all unused functions in MH-E.
3262 (mh-unit-analyze-block, mh-unit-interactive-function-p)
3263 (mh-unit-functions-called): Functions used by
3264 mh-unit-find-all-unused-functions do its job.
3265
3266 * Makefile (compile): Byte-compile mh-unit.el, since the analysis
3267 to find unused code runs faster when compiled.
3268
32692003-05-18 Satyaki Das <satyakid@stanford.edu>
3270
3271 * mh-loaddefs.el: Regenerated.
3272
3273 * mh-seq.el (mh-notate-deleted-and-refiled): Add autoload
3274 declaration since this function is used in mh-index.el.
3275
3276 * mh-e.el, mh-customize.el, mh-utils.el: Adjust require/provide
3277 statements so that mh-e.el isn't loaded twice.
3278
32792003-05-15 Satyaki Das <satyakid@stanford.edu>
3280
3281 * mh-utils.el (mh-defun-show-buffer): Arrange for the current
3282 line in the folder buffer to be highlighted even when we are in
3283 the show buffer.
3284
32852003-05-14 Satyaki Das <satyakid@stanford.edu>
3286
3287 * mh-seq.el (mh-read-range): Allow this to work on invalid
3288 sequences that only MH-E knows about.
3289
3290 * mh-index.el (mh-create-sequence-map, mh-index-add-to-sequence)
3291 (mh-index-delete-from-sequence): Don't consider sequences that
3292 aren't valid MH sequences.
3293
3294 * mh-e.el (mh-valid-seq-p): New predicate to check if a symbol
3295 could be a MH sequence.
3296 (mh-undefine-sequence, mh-define-sequence): Don't execute "mark"
3297 unless the sequence name is a valid MH sequence.
3298
3299 * mh-utils.el (mh-exec-cmd): In case an error happens in the
3300 call-process and non-strings are present in ARGS, then the error
3301 message isn't properly displayed. The change fixes this.
3302
33032003-05-14 Peter S Galbraith <psg@debian.org>
3304
3305 * mh-mime.el (mh-mime-save-part): Bug Fix: Make sure
3306 `mm-default-directory' gets a trailing "/" if
3307 `mh-mime-save-parts-directory' doesn't have one. Otherwise the
3308 default in the prompt of `mh-mm-save-part' will be wrong. Perhaps
3309 `mh-mm-save-part' needs to do this check itself.
3310
33112003-05-14 Satyaki Das <satyakid@stanford.edu>
3312
3313 * mh-index.el (mh-unpropagated-sequences): New function and
3314 variable to keep track of sequences that shouldn't be propagated.
3315 (mh-create-sequence-map, mh-index-add-to-sequence)
3316 (mh-index-delete-from-sequence): Use mh-unpropagated-sequences to
3317 stop changes to some sequences being reflected back to the source
3318 folders.
3319
33202003-05-13 Satyaki Das <satyakid@stanford.edu>
3321
3322 * mh-loaddefs.el: Regenerated.
3323
3324 * mh-e.el (mh-process-commands): Preserve sequences when messages
3325 are refiled (closes SF #737128).
3326
3327 * mh-index.el (mh-create-sequence-map)
3328 (mh-index-create-sequences): Refactor code that is reused into a
3329 new function.
3330
3331 * mh-customize.el (mh-refile-preserves-sequences-flag): New
3332 customizable flag that controls whether sequences are preserved
3333 when messages are refiled.
3334
33352003-05-13 Eric Ding <ericding@alum.mit.edu>
3336
3337 * mh-e.el (mh-scan-format): The argument for scan format files
3338 should be -form, not -format.
3339
33402003-05-13 Satyaki Das <satyakid@stanford.edu>
3341
3342 * mh-seq.el (mh-widen): The scan line map stack was not being
3343 properly updated when ALL-FLAG is non-nil. The change fixes that.
3344
3345 * mh-e.el (mh-reset-threads-and-narrowing): The change resets the
3346 scan line map stack.
3347
33482003-05-12 Satyaki Das <satyakid@stanford.edu>
3349
3350 * mh-loaddefs.el: Regenerated.
3351
3352 * mh-seq.el (mh-thread-scan-line-map-stack)
3353 (mh-thread-old-scan-line-map): Instead of the old scan line map,
3354 now we need to maintain a stack of scan line maps.
3355 (mh-narrow-to-seq): Modified so that multiple level of narrowings
3356 can be done. We now maintain a stack of old views instead of
3357 hiding the old scan lines. This makes it possible to have
3358 multiple levels of narrowings.
3359 (mh-widen): A optional prefix arg was added to allow undoing all
3360 narrowing.
3361 (mh-read-seq-default, mh-read-range): Don't use
3362 mh-narrowed-to-seq, since it doesn't exist any more.
3363 (mh-thread-initialize-hash, mh-thread-initialize): The
3364 mh-thread-initialize function has been refactored.
3365 (mh-thread-update-scan-line-map): Maintain notations in the stack
3366 of scan line maps.
3367 (mh-notate-tick, mh-toggle-tick): Simplified, since we don't have
3368 mh-narrowed-to-seq any more. This means there is a slight loss of
3369 functionality. Earlier if we narrowed to the tick sequence the
3370 ticked messages weren't highlighted. This feature isn't present
3371 any more.
3372
3373 * mh-e.el (mh-execute-commands, mh-reset-threads-and-narrowing)
3374 (mh-folder-sequence-menu, mh-get-new-mail): Use
3375 mh-folder-view-stack instead of the now removed
3376 mh-narrowed-to-seq.
3377 (mh-narrowed-to-seq, mh-tick-seq-changed-when-narrowed-flag):
3378 These variables have been removed.
3379 (mh-folder-view-stack): New variable to keep track of a stack of
3380 narrowings.
3381 (mh-execute-commands, mh-get-new-mail): Add extra argument to
3382 mh-widen so that all narrowings are undone.
3383
3384 * Makefile (MH-E-SRC, MH-E-OTHERS): Move mh-gnus.el from MH-E-SRC
3385 to MH-E-OTHERS so that it isn't byte compiled.
3386
33872003-05-10 Satyaki Das <satyakid@stanford.edu>
3388
3389 * mh-seq.el (mh-read-seq): Improve the function a bit by adding
3390 history to the sequence prompt.
3391
33922003-05-09 Satyaki Das <satyakid@stanford.edu>
3393
3394 * mh-gnus.el: New file that won't be byte-compiled. From now on
3395 having different Gnus versions at run-time and compile-time won't
3396 cause errors in MH-E.
3397
3398 * mh-mime.el (mh-small-show-buffer-p, mh-display-smileys)
3399 (mh-display-emphasis): Handle all legal values of
3400 font-lock-maximum-size. The existing code assumed didn't consider
3401 the case where it could be an alist.
3402 (mh-small-image-p): Simplified, so that aliasing XEmacs functions
3403 in Emacs isn't necessary any more.
3404 (mh-mm-display-part): Remove unnecessary call to fboundp. The
3405 mh-funcall-if-exists does that for us any way.
3406 (mh-defun-compat, gnus-local-map-property, mm-merge-handles)
3407 (mm-set-handle-multipart-parameter, mm-readable-p)
3408 (mm-long-lines-p, mm-keep-viewer-alive-p, mm-destroy-parts)
3409 (mh-mm-save-part, mm-handle-multipart-ctl-parameter): These
3410 compatibility functions have been moved to mh-gnus.el.
3411
3412 * Makefile (MH-E-SRC): Add mh-gnus.el.
3413
3414 * mh-seq.el (mh-narrow-to-header-field)
3415 (mh-current-message-header-field): Checkdoc fixes.
3416
3417 * mh-e.el (mh-undefine-sequence): Since mh-coalesce-msg-list
3418 returns a list, apply is needed.
3419
34202003-05-09 Noel Cragg <noel@red-bean.com> (tiny change)
3421
3422 * mh-junk.el (mh-spamassassin-blacklist): Separate "--local" and
3423 "--no-rebuild" arguments to call-process.
3424 [Patch committed by satyaki]
3425
34262003-05-08 Satyaki Das <satyakid@stanford.edu>
3427
3428 * mh-seq.el (mh-translate-range): Take into account differnt
3429 semantics of split-string in Emacs and XEmacs.
3430 (mh-read-pick-regexp, mh-narrow-to-from, mh-narrow-to-cc)
3431 (mh-narrow-to-to, mh-narrow-to-header-field)
3432 (mh-current-message-header-field, mh-narrow-to-range): New
3433 narrowing functions that can select messages based on different
3434 message headers.
3435
3436 * mh-utils.el (mh-show-limit-map): Add new narrowing functions
3437 callable from the show buffer.
3438
3439 * mh-e.el (mh-help-messages): Add help text for new functions.
3440 (mh-limit-map): Add new narrowing functions (closes SF #732823).
3441
34422003-05-07 Satyaki Das <satyakid@stanford.edu>
3443
3444 * mh-utils.el (mh-collect-folder-names): Use mh-exec-daemon to
3445 run flists. This means we don't have to remember to expand the MH
3446 executable in the mh-progs path.
3447 (mh-exec-cmd-daemon): Return the new process object produced.
3448
34492003-05-06 Satyaki Das <satyakid@stanford.edu>
3450
3451 * mh-e.el (mh-folder-font-lock-unseen): Use mh-seq-list to do
3452 unseen sequence highlighting instead of reading the .mh_sequences
3453 file from disk every time.
3454
34552003-05-05 Satyaki Das <satyakid@stanford.edu>
3456
3457 * mh-utils.el (mh-show-sequence-map): Add key binding for S'
3458 (closes SF #732825).
3459
3460 * mh-e.el (mh-sequence-map): Ditto.
3461 (mh-help-messages): Updated for S'.
3462
34632003-05-04 Satyaki Das <satyakid@stanford.edu>
3464
3465 * mh-index.el (mh-index-write-data): The with-temp-buffer macro
3466 is a bit better than write-file, so use that instead.
3467
34682003-05-03 Satyaki Das <satyakid@stanford.edu>
3469
3470 * mh-index.el (mh-index-update-maps, mh-index-search)
3471 (mh-index-sequenced-messages): Write index data to disk. This
3472 allows us to recover index folder information if Emacs is
3473 restarted, or the index folder is visited after the buffer has
3474 been killed (closes SF #701762).
3475 (mh-index-write-data, mh-index-read-data)
3476 (mh-index-write-hashtable, mh-index-read-hashtable): Functions to
3477 store and read index data information to disk.
3478 (mh-index-insert-folder-headers, mh-index-group-by-folder): We
3479 can no longer use object identity to compare strings, since they
3480 might have been read back from disk.
3481
3482 * mh-e.el (mh-index-data-file): New variable that stores the name
3483 of the file that keeps track of index folder data.
3484 (mh-make-folder): Read index folder data if available.
3485
3486 * mh-utils.el (mh-show, mh-summary-height, mh-modify): Make
3487 checkdoc happy.
3488
3489 * mh-seq.el (mh-tick-add-overlay): Rearrange code to make code
3490 more uniform.
3491
3492 * mh-loaddefs.el: Regenerated.
3493
34942003-05-02 Satyaki Das <satyakid@stanford.edu>
3495
3496 * mh-seq.el (mh-tick-add-overlay): If a message with a short scan
3497 line is ticked, then the highlighting didn't extend to the right
3498 margin. This change fixes that.
3499
35002003-05-01 Bill Wohler <wohler@newt.com>
3501
3502 * mh-e.el (mh-help-messages): Added brackets around / and
3503 downcased limit to be consistent with other commands with
3504 punctuation keybindings. Don't document aliases.
3505
35062003-05-01 Satyaki Das <satyakid@stanford.edu>
3507
3508 * mh-loaddefs.el: Regenerated.
3509
3510 * mh-seq.el (mh-read-range): Fix comment.
3511
35122003-04-30 Mark D. Baushke <mdb@gnu.org>
3513
3514 * mh-e.el (mh-help-messages): Better documentation for the F map.
3515
35162003-04-30 Satyaki Das <satyakid@stanford.edu>
3517
3518 * mh-utils.el (mh-find-path): Cache folder names so that
3519 folder name completion is always fast.
3520 (mh-flists-partial-line, mh-flists-process): Variables used for
3521 pre-caching folder names.
3522 (mh-collect-folder-names, mh-collect-folder-names-filter)
3523 (mh-populate-sub-folders-cache): Functions to pre-cache folder
3524 names.
3525 (mh-exec-cmd): Produce more info in *MH-E Log*.
3526
3527 * mh-index.el (mh-index-search): Call the correct function.
3528 (mh-index-sequenced-messages): If folders is nil, then all mail
3529 is searched. The change restores that.
3530
35312003-04-30 Peter S Galbraith <psg@debian.org>
3532
3533 * mh-customize.el (mh-summary-height): Move variable integer out
3534 of defcustom, and instead specify that `nil' means to calculate
3535 that size dynamically. Fixes SF #723267.
3536
3537 * mh-utils.el (mh-summary-height): New function. Return ideal
3538 mh-summary-height value for current frame height.
3539 (mh-show-msg): Use it.
3540
35412003-04-30 Mark D. Baushke <mdb@gnu.org>
3542
3543 * mh-index.el (mh-index-ticked-messages): Fix prompt and
3544 description string.
3545 (mh-index-new-messages): Ditto.
3546
3547 * mh-loaddefs.el: Regenerated.
3548
3549 * mh-index.el (mh-index-sequenced-messages): Renamed from
3550 mh-index-new-messages with minor argument change.
3551 (mh-index-new-messages): Implement by calling
3552 mh-index-sequenced-messages with the appropriate arguments.
3553 (mh-index-ticked-messages): New function. Does the same thing as
3554 mh-index-new-messages, but on its own set of folders and using the
3555 mh-tick-seq instead of mh-unseen-seq.
3556
3557 * mh-e.el (mh-folder-map): Add "F'" to the map for
3558 mh-index-ticked-messages.
3559 (mh-help-messages): Replace broken [t]hread with [n]ew messages.
3560
3561 * mh-customize.el (mh-index-ticked-messages-folders): New user
3562 customizable flag that controls the folders to be searched by
3563 mh-index-ticked-messages.
3564
3565 * mh-utils.el (mh-show-index-ticked-messages): Wrapper for
3566 mh-index-ticked-messages.
3567 (mh-show-folder-map): Add "F'" to the map for
3568 mh-index-ticked-messages.
3569
35702003-04-30 Satyaki Das <satyakid@stanford.edu>
3571
3572 * mh-index.el (mh-index-search): The old cur in the source folder
3573 might not exist. This could cause mh-exec-cmd to fail. So don't
3574 add an error message in that case.
3575
35762003-04-29 Satyaki Das <satyakid@stanford.edu>
3577
3578 * mh-e.el (mh-folder-from-address): Modified to allow multiple
3579 Cc: headers to work properly.
3580 (mh-inc-folder, mh-visit-folder): Fix an off by one error.
3581
3582 * mh-utils.el (mh-notate): Update the scan line map. This fixes a
3583 tiny bug. In threaded view, if a message is replied to then the
3584 message is notated with a "-". Now if inc is done then the "-"
3585 added is lost. The change fixes this.
3586
3587 * mh-seq.el (mh-translate-range): Use the correct function.
3588 (mh-thread-update-scan-line-map): New function that updates the
3589 scan line map when a message is notated.
3590
35912003-04-28 Satyaki Das <satyakid@stanford.edu>
3592
3593 * mh-index.el (mh-index-parse-search-regexp): Avoid compiler
3594 warning in GNU Emacs 21.3.
3595
3596 * mh-seq.el (mh-widen): Ditto.
3597
35982003-04-28 Satyaki Das <satyakid@stanford.edu>
3599
3600 * mh-customize.el (mh-interpret-number-as-range-flag): New user
3601 customizable flag that controls whether a single number, N is
3602 interpreted as the range last:N.
3603
3604 * mh-seq.el (mh-read-range): Generalize it for use when reading
3605 range to scan.
3606 (mh-interactive-range): Modified to use the new mh-read-range.
3607
3608 * mh-speed.el (mh-speed-view): Use mh-read-range instead of the
3609 now removed mh-read-msg-range function.
3610
3611 * mh-funcs.el (mh-pack-folder): Ditto.
3612
3613 * mh-e.el (mh-rescan-folder, mh-visit-folder): Ditto.
3614 (mh-read-msg-range): Removed.
3615
3616 * mh-loaddefs.el: Regenerated
3617
36182003-04-27 Satyaki Das <satyakid@stanford.edu>
3619
3620 * mh-loaddefs.el: Regenerated.
3621
3622 * mh-seq.el (mh-range-completion-function): Fix checkdoc warning.
3623 (mh-iterate-on-range): Mention that the macro can iterate over a
3624 MH message range too.
3625
36262003-04-27 Bill Wohler <wohler@newt.com>
3627
3628 * mh-unit.el (mh-unit): As it turns out, lm-crack-copyright has
3629 been updated to handle multiple-line copyrights in 21.3, so
3630 updated code to run lm-verify only if user has 21.3 or greater.
3631 Delete buffers after use, unless user already had buffer open.
3632
36332003-04-27 Satyaki Das <satyakid@stanford.edu>
3634
3635 * mh-loaddefs.el: Regenerated.
3636
3637 * mh-index.el (mh-index-search): The MH command "refile" changes
3638 cur. The change restores cur in source folders.
3639 (mh-index-new-messages): Use the appropriate arguments for
3640 mh-read-seq.
3641
3642 * mh-seq.el (mh-read-seq-default, mh-read-seq): Restore these
3643 functions to just read sequence names.
3644 (mh-range-seq-names, mh-range-history, mh-range-completion-map)
3645 (mh-range-completion-function, mh-read-range): New function which
3646 reads MH range with completion and history.
3647 (mh-interactive-range): Use mh-read-range instead of
3648 mh-read-seq-default.
3649 (mh-put-msg-in-seq): Change documentation about MH message range.
3650
3651 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Change
3652 documentation about MH message range.
3653
3654 * mh-funcs.el (mh-copy-msg, mh-print-msg): Ditto.
3655
3656 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion)
3657 (mh-refile-msg, mh-undo, mh-delete-msg-from-seq): Ditto.
3658
3659 * mh-comp.el (mh-forward): Ditto.
3660
36612003-04-26 Satyaki Das <satyakid@stanford.edu>
3662
3663 * mh-comp.el, mh-e.el, mh-funcs.el, mh-junk.el, mh-seq.el:
3664 Replace msg-or-seq with range everywhere.
3665
3666 * mh-loaddefs.el: Regenerated.
3667
36682003-04-25 Satyaki Das <satyakid@stanford.edu>
3669
3670 * mh-e.el (mh-index-sequence-search-flag, mh-folder-mode): New
3671 local variable to remember that a folder buffer contains results
3672 from a sequence search. This is needed so that "C-u F i" will work
3673 as expected.
3674 (mh-visit-folder): Create sequences in the index folder.
3675 (mh-process-commands, mh-delete-msg-from-seq): If speedbar is on
3676 then update the speedbar message counts immediately.
3677 (mh-delete-msg-from-seq): Make the code faster by calling "mark"
3678 just once. Also update source folder sequence if messages are
3679 being deleted from a sequence in an index folder.
3680 (mh-undefine-sequence): Simplified to remove the speedbar updating
3681 code. Also DTRT and don't change any sequence when called with an
3682 empty list of messages.
3683 (mh-refile-msg, mh-delete-msg): Move to next message only if the
3684 current message has been deleted or refiled, as the case may be.
3685
3686 * mh-utils.el (mh-show-msg): Update the message counts in the
3687 speedbar, if it is on, immediately.
3688 (mh-speed-flists-active-p, mh-speed-flists-inhibit-flag): A new
3689 flag has been added which inhibits updating of the speedbar. This
3690 is used to avoid needless speedbar updates when
3691 mh-execute-commands is called in index folders.
3692
3693 * mh-speed.el (mh-speed-flists): Extended so that multiple
3694 folders can be given as arguments. Also the code that kept track
3695 of the current folder, needed since flists adds an extra ?+ char
3696 at the end of the current folder name, wasn't entirely correct.
3697 That has also been fixed.
3698
3699 * mh-seq.el (mh-delete-seq, mh-put-msg-in-seq): Modified so that
3700 sequence in source folder is updated if we delete a sequence in an
3701 index folder.
3702 (mh-read-seq, mh-read-seq-default, mh-translate-range)
3703 (mh-interactive-msg-or-seq): The mh-interactive-msg-or-seq
3704 function can read in an arbitrary MH message range.
3705 (mh-iterate-on-msg-or-seq): The macro has been extended to work on
3706 a MH range.
3707 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
3708 (mh-subject-to-sequence-threaded, mh-thread-find-msg-subject): Fix
3709 the mh-subject-to-sequence function so that it will work in
3710 threaded folders too.
3711 (mh-tick-add-overlay): Fix a leak of overlays.
3712 (mh-toggle-tick): Ticking, or unticking, messages in the index
3713 folder is propagated to the source folders (closes SF #709664).
3714
3715 * mh-index.el (mh-flists-results-folder, mh-flists-sequence)
3716 (mh-flists-called-flag): New variables to implement searching for
3717 arbitrary sequences.
3718 (mh-index-generate-pretty-name): Updated so that folder names are
3719 generated for flists search that can take any sequence name.
3720 (mh-index-search): Since sequences are now properly maintained the
3721 unseen-flag argument isn't needed and hence removed. Also redoing
3722 a sequence search with "C-u F i" is handled correctly. Finally
3723 the speedbar is updated to reflect the new index folder created.
3724 (mh-index-create-sequences): New function that creates sequences
3725 in the index folder.
3726 (mh-index-matching-source-msgs, mh-index-execute-commands):
3727 Improved so that scan lines for refiled/deleted messages are
3728 removed from the source folders as well.
3729 (mh-index-add-to-sequence, mh-index-delete-from-sequence): New
3730 functions to update sequences in source folder to reflect changes
3731 in index folder.
3732 (mh-index-quote-for-shell): A utility function to that quotes
3733 characters with special meaning to /bin/sh.
3734 (mh-flists-execute, mh-index-new-messages): Updated to search for
3735 arbitrary sequences (closes SF #718833).
3736
3737 * mh-loaddefs.el: Regenerated.
3738
37392003-04-25 Bill Wohler <wohler@newt.com>
3740
3741 * mh-customize.el (mh-kill-folder-suppress-prompt-hook): New hook
3742 used by mh-kill-folder to suppress the prompt.
3743
3744 * mh-funcs.el (mh-kill-folder): Suppress prompt not if
3745 mh-index-data is non-nil, but if any functions in
3746 mh-kill-folder-suppress-prompt-hook return non-nil.
3747
3748 * mh-index.el (mh-index-p): New function with returns non-nil if
3749 the current folder was generated by an index search for use by
3750 mh-kill-folder-suppress-prompt-hook
3751
3752 * mh-unit.el (mh-unit): Commented out lm-verify step until code
3753 updated to handle split Copyright lines.
3754
3755 * mh-e.el (mh-version): Set to 7.3+cvs.
3756
37572003-04-24 Bill Wohler <wohler@newt.com>
3758
3759 Released MH-E version 7.3.
3760
3761 * MH-E-NEWS, README: Updated for release 7.3.
3762
3763 * mh-e.el (Version, mh-version): Updated for release 7.3.
3764
37652003-04-24 Satyaki Das <satyakid@stanford.edu>
3766
3767 * mh-xemacs-compat.el (mh-utils): Require mh-utils at compile
3768 time, since the mh-do-in-xemacs macro is used.
3769
3770 * mh-inc.el (cl): Require cl at compile time since we are using
3771 the loop and setf macros.
3772
37732003-04-24 Satyaki Das <satyakid@stanford.edu>
3774
3775 * mh-unit.el (mh-files): Fix the list of files to check.
3776
37772003-04-24 Bill Wohler <wohler@newt.com>
3778
3779 * ChangeLog: Appended copyright to end of file.
3780
3781 * Makefile: Added copyright and license.
3782
3783 * README: Added copyright.
3784
3785 * import-emacs: Changed copyright from Newt Software to Bill
3786 Wohler and use license from mh-e.el, except that this file is
3787 a part of MH-E, not GNU Emacs.
3788
3789 * mh-alias.el: Updated copyright so that it doesn't wrap upon
3790 advice from Richard Stallman who said to use two-digit years when
3791 they are surrounded by 4-digit years that are in the same century
3792 and to break up copyrights on multiple lines.
3793 * mh-comp.el: Ditto.
3794 * mh-e.el: Ditto.
3795 * mh-funcs.el: Ditto.
3796 * mh-identity.el: Ditto.
3797 * mh-mime.el: Ditto.
3798 * mh-seq.el: Ditto.
3799 * mh-utils.el: Ditto.
3800 * mh-xemacs-compat.el: Ditto.
3801
3802 * mh-unit.el: New file. Unit tests for MH-E. This version merely
3803 runs checkdoc and lm-verify which is useful before releasing the
3804 software. It can and should be expanded to do real unit tests.
3805
38062003-04-22 Mark D Baushke <mdb@gnu.org>
3807
3808 * mh-alias.el: Update Copyright.
3809 * mh-comp.el: Ditto.
3810 * mh-customize.el: Ditto.
3811 * mh-e.el: Ditto.
3812 * mh-funcs.el: Ditto.
3813 * mh-identity.el: Ditto.
3814 * mh-index.el: Ditto.
3815 * mh-mime.el: Ditto.
3816 * mh-pick.el: Ditto.
3817 * mh-seq.el: Ditto.
3818 * mh-speed.el: Ditto.
3819 * mh-utils.el: Ditto.
3820 * mh-xemacs-compat.el: Ditto.
3821
38222003-04-22 Satyaki Das <satyaki@theforce.stanford.edu>
3823
3824 * mh-utils.el (mh-normalize-folder-name): Make the completion
3825 code work properly with XEmacs. This change is neeeded since
3826 split-string behaves differently in XEmacs than it does in GNU
3827 Emacs.
3828 (mh-exec-cmd-error): Add a comment, so that we change it later on.
3829
38302003-04-18 Steve Youngs <youngs@xemacs.org>
3831
3832 * mh-xemacs-icons.el (mh-xemacs-icons): Provide 'mh-xemacs-icons'
3833 not 'mh-xemacs-toolbar'.
3834
3835 * mh-xemacs-compat.el (mh-xemacs-toolbar): Remove require, it's
3836 now called 'mh-xemacs-icons' and it is required from
3837 'mh-customize'.
3838
3839 * mh-customize.el: Require 'mh-xemacs-icons' instead of
3840 'mh-xemacs-toolbar'.
3841
38422003-04-17 Peter S Galbraith <psg@debian.org>
3843
3844 * mh-xemacs-icons.el: New file (renamed from mh-xemacs-toolbar.el).
3845 Holds XEmacs icons.
3846
3847 * mh-xemacs-toolbar.el: Deleted.
3848
3849 * Makefile: Incorporate the file renaming.
3850
38512003-04-15 Bill Wohler <wohler@newt.com>
3852
3853 * mh-comp.el (mh-forward): Pass a list of messages into
3854 mh-compose-and-send-mail instead of msg-or-seq.
3855 (mh-annotate-msg): The previous version called
3856 mh-iterate-on-msg-or-seq in the letter buffer. The new version
3857 simply adds the ability to operate on message lists. Thanks to
3858 Satyaki for the fix and suggestion for passing a list from
3859 mh-forward.
3860
38612003-04-14 Bill Wohler <wohler@newt.com>
3862
3863 * mh-comp.el (mh-annotate-msg): Updated to handle msg-or-seq for
3864 mh-forward was passing a msg-or-seq to mh-compose-and-send-mail
3865 which in turn passed the msg-or-seq to mh-annotate-msg. In
3866 particular, forwarding a region failed. Note that the msgs
3867 argument in much of mh-comp.el should really be converted to
3868 msg-or-seq accordingly. But not now, unless something is broken as
3869 was the case here. We can revamp after the release.
3870
38712003-04-13 Bill Wohler <wohler@newt.com>
3872
3873 * mh-funcs.el (mh-kill-folder): Added space after prompt to give
3874 the (yes or no) bit a little elbow room.
3875
3876 * mh-xemacs-toolbar.el: Removing a copyright is a no-no.
3877 Reinstated Steve's copyright.
3878
38792003-04-12 Satyaki Das <satyaki@theforce.stanford.edu>
3880
3881 * mh-utils.el (mh-do-in-gnu-emacs, mh-do-in-xemacs): Add
3882 indentation hooks for the macros.
3883
38842003-04-11 Bill Wohler <wohler@newt.com>
3885
3886 * mh-alias.el, mh-comp.el, mh-customize.el, mh-funcs.el,
3887 mh-identity.el, mh-inc.el, mh-index.el, mh-junk.el, mh-utils.el:
3888 Merged in changes from CVS GNU Emacs. These included the removal
3889 of trailing whitespace.
3890
3891 * mh-customize.el: The "anti-entropy" check-in. Moved groups
3892 around slightly to reflect commentary. Moved defcustoms around
3893 to preserve alphabetization. Big diff, little content.
3894 (mh-xemacs-use-toolbar-flag): Doc fix.
3895 (mh-xemacs-toolbar-position): Fixed typo in docstring.
3896 (mh-default-folder-list): Updated docstring to reflect new Check
3897 Recipient tag. Also, set type of Address to regexp.
3898 (mh-x-mailer-string): Moved to mh-comp.el where it is used.
3899
3900 * mh-comp.el (mh-x-mailer-string): Moved here from customize.el.
3901 Not quite sure how it got to mh-customize.el in the first place.
3902
3903 * mh-e.el (mh-folder-folder-menu): Added Folder -> View New
3904 Messages menu item.
3905
3906 * mh-utils.el (mh-show-folder-menu): Ditto.
3907
3908 * mh-inc.el: Added Change Log comment (lm-verify fix).
3909
3910 * mh-index.el (mh-index-search): Added documentation about prefix
3911 argument for users, in addition to documentation for programmers.
3912
3913 * mh-mime.el (mh-edit-mhn, mh-edit-mhn, mh-mml-to-mime): Docstring
3914 fixes germaine to the change whereby we now check for MIME
3915 directives before sending.
3916
3917 * mh-xemacs-toolbar.el: Fixed copyright. Added Change Log comment
3918 (lm-verify fix). Added standard MH-E local variables. Removed
3919 time-stamp stuff.
3920
39212003-04-11 Satyaki Das <satyaki@theforce.stanford.edu>
3922
3923 * mh-seq.el (mh-iterate-on-msg-or-seq): Add a missed comma.
3924
39252003-04-10 Satyaki Das <satyaki@theforce.stanford.edu>
3926
3927 * mh-index.el (mh-index-visit-folder): Prompt before reusing
3928 existing folder buffer.
3929
3930 * mh-xemacs-toolbar.el (require): Require mh-utils at compile
3931 time to avoid compilation error when doing "make bootstrap" in
3932 CVS Emacs.
3933
3934 * mh-inc.el (mh-inc-spool-list): Declare it so that a compile
3935 time warning is avoided when doing "make bootstrap" in CVS Emacs.
3936
39372003-04-10 Peter S Galbraith <psg@debian.org>
3938
3939 * mh-inc.el (mh-inc-spool-generator): Changed to a defun instead
3940 of a defmacro, applying Satyaki's patch.
3941 (mh-inc-spool-def-key): same.
3942 (mh-inc-spool-make): same.
3943
3944 * mh-utils.el: define-key "I" in mh-show-mode-map for
3945 mh-inc-spool-map.
3946
3947 * mh-comp.el (mh-modify-header-field): Remove debug message.
3948
39492003-04-10 Peter S Galbraith <psg@debian.org>
3950
3951 * mh-inc.el (mh-inc-spool-map-help): Default to nil.
3952 (mh-inc-spool-map): Make "?" key display message when
3953 `mh-inc-spool-map-help' is nil (instead of mh-inc-spool-map-help
3954 containing the message).
3955
3956 * mh-e.el: require mh-inc.el
3957 * mh-e.el: define-key "I" in mh-folder-mode-map for mh-inc-spool-map.
3958 (mh-help-messages): Add help string for "I" key.
3959
39602003-04-09 Peter S Galbraith <psg@debian.org>
3961
3962 * mh-inc.el: New file. New feature to `inc' mail from various
3963 spool files into different folders.
3964
3965 * mh-loaddefs.el: Regenerate for mh-inc's mh-inc-spool-list-set.
3966
3967 * Makefile (MH-E-IMG): Add highlight icon.
3968 (MH-E-SRC): Add mh-inc.el file.
3969
3970 * mh-customize.el (mh-inc-spool-list): New variable for new
3971 feature to `inc' mail from various spool files into different
3972 folders.
3973
39742003-04-09 Satyaki Das <satyaki@theforce.stanford.edu>
3975
3976 * mh-utils.el (mh-mail-delivery-buffer): Add a defconst for
3977 mh-mail-delivery-buffer.
3978
3979 * mh-comp.el (mh-send-letter): Use mh-mail-delivery-buffer.
3980
3981 * mh-mime.el (mh-small-image-p): Add mh-funcall-if-exists to
3982 avoid compiler warning in GNU Emacs.
3983
39842003-04-08 Satyaki Das <satyaki@theforce.stanford.edu>
3985
3986 * mh-mime.el (mh-small-image-p): Make the function slightly more
3987 error-resistant in XEmacs.
3988
3989 * mh-seq.el (mh-narrow-to-seq, mh-widen): Update tool-bar-map in
3990 the show buffer if needed. This allows us to display the widen
3991 button in the show buffer only when the folder is narrowed.
3992
3993 * mh-customize.el (mh-tool-bar-define): Changed so that a
3994 separate tool-bar-map is used in show-mode when folder is
3995 narrowed to a sequence.
3996
39972003-04-08 Satyaki Das <satyaki@theforce.stanford.edu>
3998
3999 * mh-seq.el (mh-iterate-on-msg-or-seq): Reinstate the use of
4000 make-symbol since using gensym causes compiler warnings in CVS
4001 Emacs.
4002
40032003-04-08 Bill Wohler <wohler@newt.com>
4004
4005 * mh-comp.el (mh-forward): Function didn't handle a region of
4006 messages. Use new function mh-msg-or-seq-to-msg-list to get a list
4007 of messages in all circumstances. Also, use mh-coalesce-msg-list
4008 on message list before submitting to forw since this should always
4009 be done when calling a program to reduce the chance of exceeding
4010 command-line limits.
4011
4012 * mh-seq.el (mh-iterate-on-msg-or-seq): Backed out previous
4013 change. A nil msg-or-seq should mean no messages, and Satyaki is
4014 going to use gensym instead of make-symbol.
4015 (mh-msg-or-seq-to-msg-list): New function to convert a msg-or-seq
4016 to a list of message numbers.
4017
4018 * mh-e.el (mh-coalesce-msg-list): Touched up the docstring a
4019 little.
4020
4021 * mh-funcs.el (mh-print-msg): Can now print regions, message
4022 lists, sequences and, of course, single messages. This version
4023 works a little differently from the old version. Instead of
4024 calling mhl | lpr once on all messages, mhl | lpr is called once
4025 per message in order to put each message's number in the header.
4026 Thanks to Satyaki for some code and ideas.
4027
4028 * mh-seq.el (mh-iterate-on-msg-or-seq): The argument msg-or-seq
4029 can now be nil which means the current message. Make local symbols
4030 so that local variables don't step on user's symbols (the msgs
4031 symbol got me).
4032
40332003-04-06 Bill Wohler <wohler@newt.com>
4034
4035 * mh-comp.el (mh-forward): Updated docstrings to indicate that a
4036 list of messages is acceptable as well.
4037
4038 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion, mh-refile-msg)
4039 (mh-undo, mh-notate-user-sequences, mh-delete-msg-from-seq): Ditto.
4040
4041 * mh-funcs.el (mh-copy-msg, mh-print-msg): Ditto.
4042
4043 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
4044
4045 * mh-seq.el (mh-put-msg-in-seq, mh-iterate-on-msg-or-seq)
4046 (mh-interactive-msg-or-seq): Ditto.
4047
40482003-04-06 Satyaki Das <satyaki@theforce.stanford.edu>
4049
4050 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Call
4051 mh-refile-a-msg and mh-delete-a-msg with nil as the message
4052 number since that is more efficient.
4053
4054 * mh-seq.el (mh-iterate-on-msg-or-seq): Extended so that it will
4055 handle lists of messages numbers as well.
4056 (mh-put-msg-in-seq): Use mh-iterate-on-msg-or-seq to simplify the
4057 function.
4058
4059 * mh-funcs.el (mh-copy-msg): Same as above.
4060
4061 * mh-e.el (mh-refile-msg): Make it more efficient. Using nil in
4062 mh-refile-a-msg avoids needing to re-search-forward to that
4063 message.
4064 (mh-undo): Fix typo in interactive spec.
4065 (mh-notate-user-sequences): Generalize the function to take a
4066 msg-or-seq as argument.
4067 (mh-delete-msg-from-seq): Extend the function so that it is now
4068 able to subtract messages belonging in one sequence from another.
4069 (mh-undo): Unify the region and sequence handling. The message
4070 number branch of the function does extra stuff, so we can't merge
4071 that in.
4072
40732003-04-06 Bill Wohler <wohler@newt.com>
4074
4075 * mh-comp.el (mh-forward): Use mh-interactive-msg-or-seq. Inserted
4076 consistent verbiage in docstring for msg-or-seq.
4077 (mh-reply): Don't mention default in opening line in all
4078 docstrings.
4079
4080 * mh-e.el (mh-delete-msg, mh-refile-msg)
4081 (mh-undo, mh-delete-msg-from-seq): Use mh-interactive-msg-or-seq.
4082 Inserted consistent verbiage in docstring for msg-or-seq. In
4083 mh-delete-msg-from-seq, renamed msg-or-region to msg-or-seq.
4084
4085 * mh-funcs.el (mh-copy-msg, mh-print-msg): Use
4086 mh-interactive-msg-or-seq. Inserted consistent verbiage in
4087 docstring for msg-or-seq.
4088
4089 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Inserted
4090 consistent verbiage in docstring for msg-or-seq.
4091
4092 * mh-seq.el (mh-msg-is-in-seq): Don't mention default in opening
4093 line in all docstrings.
4094 (mh-put-msg-in-seq): Use mh-interactive-msg-or-seq. Inserted
4095 consistent verbiage in docstring for msg-or-seq.
4096
4097 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion, mh-refile-msg):
4098 Rewritten to use new mh-interactive-msg-or-seq function and
4099 mh-iterate-on-msg-or-seq macro. mh-delete-msg-no-motion gained the
4100 ability to operate on regions.
4101
4102 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Rewritten to
4103 use new mh-interactive-msg-or-seq function and
4104 mh-iterate-on-msg-or-seq macro thereby gaining the ability to
4105 operate on sequences or regions.
4106
4107 * mh-seq.el (mh-iterate-on-msg-or-seq): New macro to execute code
4108 on a message, a region of messages, or a sequence. This macro
4109 should be in all functions that operate on messages to provide a
4110 uniform interface.
4111 (mh-interactive-msg-or-seq): New function used in interactive
4112 calls to obtain a message number, region, or sequence. This
4113 function should be in all functions that operate on messages to
4114 provide a uniform interface.
4115
4116 * mh-utils.el (with-mh-folder-updating, mh-in-show-buffer): Use
4117 'defun lisp-indent-hook property instead of 1 to fix indentation
4118 of these macros.
4119
41202003-04-05 Peter S Galbraith <psg@debian.org>
4121
4122 * mh-loaddefs.el: Regenerated.
4123 * mh-funcs.el (mh-ephem-message): autoload.
4124
41252003-04-04 Peter S Galbraith <psg@debian.org>
4126
4127 * mh-e.el (mh-folder-from-address): Minor Fix. Wrong ending of
4128 `when' block.
4129
41302003-04-04 Satyaki Das <satyaki@theforce.stanford.edu>
4131
4132 * mh-mime.el (mh-mml-directive-present-p): The regexp has been
4133 modified to recognize directives to encrypt/sign messages.
4134
41352003-04-03 Mark D. Baushke <mdb@gnu.org>
4136
4137 * mh-e.el (mh-folder-from-address): E-mail messages missing the
4138 To: field, but which have a Cc: field should also be handled.
4139
41402003-04-03 Bill Wohler <wohler@newt.com>
4141
4142 * mh-e.el (mh-inc-folder): Modified the prompt text to read
4143 better.
4144
4145 * mh-comp.el (mh-forward): Deleted local variable `compose'.
4146 Deleted obsolete setting of mh-{mmh|mml}-compose-insert-flag.
4147 (mh-letter-menu): Use mh-{mmh|mml}-directive-present-p instead of
4148 obsolete. mh-{mmh|mml}-compose-insert-flag.
4149 (mh-letter-mode): Deleted obsolete setting of
4150 mh-{mmh|mml}-compose-insert-flag.
4151 (mh-send-letter): This function now automatically runs the
4152 directive-to-MIME conversion if any directives are detected,
4153 rather than relying on the unreliable
4154 mh-{mmh|mml}-compose-insert-flag variables. Updated docstring
4155 accordingly.
4156
4157 * mh-identity.el (mh-insert-identity): Use
4158 mh-{mmh|mml}-directive-present-p instead of obsolete.
4159 mh-{mmh|mml}-compose-insert-flag.
4160
4161 * mh-loaddefs.el: Regenerated.
4162
4163 * mh-mime.el (mh-mhn-compose-type, mh-mhn-compose-external-type)
4164 (mh-mhn-compose-forw, mh-edit-mhn, mh-mml-to-mime)
4165 (mh-mml-forward-message, mh-mml-attach-file)
4166 (mh-mml-secure-message-sign-pgpmime)
4167 (mh-mml-secure-message-encrypt-pgpmime): Deleted obsolete setting
4168 of mh-{mmh|mml}-compose-insert-flag.
4169 (mh-mml-directive-present-p): Checkdoc fix.
4170
4171 * mh-utils.el (mh-mhn-compose-insert-flag,
4172 mh-mml-compose-insert-flag): Deleted. Replaced by
4173 mh-{mhn|mml}-directive-present-p.
4174
41752003-04-03 Mark D. Baushke <mdb@gnu.org>
4176
4177 * mh-e.el (mh-folder-from-address): Fix minor problem with To:
4178 address processing.
4179
4180 * mh-e.el (mh-folder-from-address): Bugfix match ?+ character not
4181 a "?+" string.
4182
41832003-04-03 Peter S Galbraith <psg@debian.org>
4184
4185 * mh-e.el (mh-inc-folder): Add second optional argument for the
4186 folder to inc new mail into instead of mh-inbox.
4187
41882003-04-03 Peter S Galbraith <psg@debian.org>
4189
4190 * mh-e.el (mh-folder-from-address): The first match found in
4191 `mh-default-folder-list' is used.
4192
4193 * mh-customize.el (mh-default-folder-list): Tweak docs
4194
41952003-04-03 Satyaki Das <satyaki@theforce.stanford.edu>
4196
4197 * mh-loaddefs.el: Regenerated.
4198
4199 * mh-mime.el (mh-mhn-directive-present-p): New function to test if
4200 a MHN directive is present in the current buffer.
4201 (mh-mml-directive-present-p): New function to test if a MML
4202 directive is present in the current buffer.
4203
4204 * mh-comp.el (mh-letter-mode): Originally this function checked if
4205 a #forw directive was present and set mh-mhn-compose-insert-flag
4206 to t. The modification generalizes this test so that one of the
4207 variables mh-{mml|mhn}-compose-insert-flag will get set if we have
4208 any sort of MHN or MML directive is already present.
4209
4210 * mh-seq.el (tool-bar-map): Add a defvar to avoid compiler
4211 warnings in CVS version of GNU Emacs.
4212
4213 * mh-utils.el (tool-bar-map): Same as above.
4214
4215 * mh-e.el (tool-bar-map): same as above.
4216
42172003-04-02 Satyaki Das <satyaki@theforce.stanford.edu>
4218
4219 * mh-xemacs-toolbar.el (mh-xemacs-toolbar-toggle-tick-icon):
4220 Change color to match mh-folder-tick-face.
4221
4222 * highlight.xpm: Same as above.
4223
42242003-04-02 Peter S Galbraith <psg@debian.org>
4225
4226 * mh-e.el (mh-folder-from-address): Check `mh-default-folder-list'
4227 for cases against the recipient instead of the originator.
4228
4229 * mh-customize.el (mh-default-folder-list): Add extra boolean flag
4230 to conditionally check the recipient address instead of the
4231 originator.
4232
42332003-04-02 Peter S Galbraith <psg@debian.org>
4234
4235 * mh-customize.el (mh-folder-tick-face): Change tick highlight
4236 face to a background yellow-green, as suggested by Bill.
4237
42382003-04-01 Peter S Galbraith <psg@debian.org>
4239
4240 * highlight.xpm: New icon for mh-toggle-tick.
4241
4242 * mh-xemacs-toolbar.el (mh-xemacs-icon-map): Add tool-bar entry
4243 for mh-toggle-tick.
4244 (mh-xemacs-toolbar-toggle-tick-icon): New constant.
4245
4246 * mh-customize.el: Add tool-bar entry for mh-toggle-tick.
4247
42482003-03-31 Satyaki Das <satyaki@theforce.stanford.edu>
4249
4250 * mh-loaddefs.el: Regenerated.
4251
4252 * mh-utils.el (mh-show-narrow-to-tick, mh-show-limit-map)
4253 (mh-show-sequence-menu): Add new interactive function
4254 mh-show-narrow-to-tick callable from the show buffer and arrange
4255 for a key binding and a menu entry.
4256
4257 * mh-seq.el (mh-narrow-to-tick): New interactive function that
4258 narrows to the tick sequence.
4259
4260 * mh-e.el (mh-folder-sequence-menu, mh-limit-map): Arrange for a
4261 key binding and a menu entry for mh-narrow-to-tick.
4262
4263 * mh-comp.el (mh-letter-mode): Enable undo since we could be
4264 reusing a show buffer where undo is disabled (closes SF #712777).
4265
42662003-03-31 Peter S Galbraith <psg@debian.org>
4267
4268 * mh-e.el (mh-folder-sequence-menu): Add entry for mh-toggle-tick.
4269
4270 * mh-utils.el (mh-show-sequence-menu): Add entry for
4271 mh-show-toggle-tick.
4272
42732003-03-28 Satyaki Das <satyaki@theforce.stanford.edu>
4274
4275 * mh-seq.el (mh-delete-seq): If the tick sequence is killed with
4276 "S k" then the highlighting wasn't getting removed. The change
4277 fixes this.
4278
42792003-03-27 Satyaki Das <satyaki@theforce.stanford.edu>
4280
4281 * mh-e.el (mh-notate-user-sequences): Extend it so that only the
4282 messages in a part of the folder are notated.
4283 (mh-delete-msg-from-seq): Extend it so that it will delete all
4284 messages in the marked region.
4285 (mh-delete-a-msg-from-seq): New function that deletes a single
4286 message from a sequence.
4287 (mh-clear-text-properties): If there is a ticked unseen message
4288 and the message is removed from the unseen list with "S d" then
4289 unticking the message doesn't change the highlight. This change
4290 fixes this.
4291
42922003-03-27 Peter S Galbraith <psg@debian.org>
4293
4294 * mh-xemacs-toolbar.el (mh-xemacs-toolbar-*-icon): Use original
4295 24x24 icons, changing background only.
4296
42972003-03-27 Satyaki Das <satyaki@theforce.stanford.edu>
4298
4299 * mh-junk.el (mh-spamassassin-identify-spammers): Remove unused
4300 variable buffer-exists.
4301 (mh-spamassassin-identify-spammers): Remove unused variable user.
4302
4303 * mh-customize.el (mh-junk-choose): Tweak it to remove XEmacs
4304 compiler warning.
4305
43062003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
4307
4308 * mh-seq.el (mh-thread-print-scan-lines): Handling of a boundary
4309 condition when messages from the last source folder had been
4310 removed was incorrect. This caused a folder header to appear
4311 without any messages listed under it. This change fixes this.
4312 (mh-thread-forget-message): Remove the entry from the scan line
4313 table as well. This is needed for proper display of threaded view
4314 of index folders.
4315
43162003-03-26 Bill Wohler <wohler@newt.com>
4317
4318 * Makefile, README, import-emacs, mh-alias.el, mh-comp.el,
4319 mh-customize.el, mh-e.el, mh-funcs.el, mh-identity.el,
4320 mh-index.el, mh-loaddefs.el, mh-mime.el, mh-pick.el, mh-seq.el,
4321 mh-speed.el, mh-utils.el, mh-xemacs-compat.el,
4322 mh-xemacs-toolbar.el: Removed RCS keywords per Emacs conventions
4323 (closes SF #680731).
4324
4325
43262003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
4327
4328 * mh-index.el: Fix commentary to mention that mairix is supported
4329 as well.
4330
4331 * mh-loaddefs.el: Regenerated.
4332
4333 * mh-utils.el (mh-show-junk-blacklist, mh-show-junk-whitelist):
4334 Interactive functions callable from the show buffer.
4335 (mh-show-junk-map): Key bindings in show mode.
4336
4337 * mh-e.el (mh-junk-map): Key bindings to call spam program.
4338 (mh-help-messages): Update help text.
4339
4340 * mh-customize.el (mh-junk): New customization group for spam
4341 program interface.
4342 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose):
4343 Functions and variables that decide which junk program is used.
4344 (mh-junk-program, mh-junk-mail-folder): User customizable
4345 variables that control the choice of spam program and the action
4346 performed on received spam.
4347
4348 * Makefile (MH-E-SRC): Add mh-junk.el.
4349
43502003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
4351
4352 * mh-loaddefs.el: Regenerated.
4353
4354 * mh-utils.el (mh-show-toggle-tick, mh-show-mode-map): New
4355 interactive function callable from the show buffer and a key
4356 binding for it.
4357
4358 * mh-seq.el (mh-delete-seq): Remove highlight from tick sequence.
4359 (mh-put-msg-in-seq): Disable adding messages to tick sequence.
4360 (mh-widen): Reset mh-tick-seq-changed-when-narrowed-flag.
4361 (mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick)
4362 (mh-toggle-tick): New functions to highlight/unhighlight tick
4363 sequence and the interactive function that is used to toggle
4364 tick.
4365
4366 * mh-e.el (mh-tick-seq-changed-when-narrowed-flag): New variable
4367 that remembers if we are narrowed to the tick sequence. In that
4368 case the highlighting isn't shown, since it adds no extra info.
4369 (mh-folder-mode): Initialize mh-tick-seq-changed-when-narrowed-flag.
4370 (mh-notate-user-sequences): Notate the tick sequence.
4371 (mh-internal-seq): Treat mh-tick-seq like an internal sequence.
4372 (mh-delete-msg-from-seq): Don't allow deletion from tick sequence.
4373 (mh-folder-mode-map): Add key binding for "'"
4374
4375 * mh-customize.el (mh-tick-seq, mh-folder-tick-face): New
4376 customizable variables that contain the name of the tick sequence
4377 and the face to use to highlight it.
4378
43792003-03-25 Satyaki Das <satyaki@theforce.stanford.edu>
4380
4381 * mh-loaddefs.el: Regenerated.
4382
4383 * mh-seq.el (mh-thread-print-scan-lines): New function which
4384 prints out thread tree. It maintains the original folder info if
4385 the folder was created by index search (closes SF #709672).
4386 (mh-copy-seq-to-eob, mh-thread-inc, mh-thread-folder): Use
4387 factored out function mh-thread-print-scan-lines.
4388 (mh-toggle-threads): Since threading is allowed in index folders
4389 there can be lines in the folder which aren't valid message scan
4390 lines. So it is OK for mh-get-msg-num to fail once in a while.
4391
4392 * mh-index.el (mh-index-update-maps): Make the parsing of messages
4393 that need to annotated with the X-MHE-Checksum header more robust.
4394 If the search yielded no results then an error was being produced.
4395 (mh-index-search): Enable automatic threading of index folders if
4396 mh-show-threads-flag is non-nil (closes SF #709667).
4397 (mh-index-next-folder): Relax error checking since index folder
4398 can be threaded while the source folder info is visible.
4399 (mh-index-group-by-folder): New function that is used in
4400 mh-thread-folder to keep source folder info visible during
4401 threading.
4402
44032003-03-25 Bill Wohler <wohler@newt.com>
4404
4405 * mh-loaddefs.el: Regenerated.
4406
4407 * mh-customize.el (mh-index-new-messages-folders): New variable
4408 that controls which folders "F n (mh-index-new-messages)"
4409 accesses. Was mh-flists-search-folders.
4410
4411 * mh-index.el (mh-flists-search-folders): Still used internally,
4412 but users now use new option mh-index-new-messages-folders.
4413 Removed documentation since to avoid duplication with
4414 mh-index-new-messages-folders.
4415 (mh-flists-recursive-search-flag): Deleted. Use
4416 mh-recursive-folders-flag instead.
4417 (mh-flists-execute): Updated docs to specify which global
4418 variables are used. Use mh-recursive-folders-flag instead of
4419 mh-flists-recursive-search-flag.
4420 (mh-index-new-messages): Edited doc, and refer to new option
4421 mh-index-new-messages-folders. Ditto within code. Don't need to
4422 prepend + to folder name as flists does that for us. Use
4423
44242003-03-24 Satyaki Das <satyaki@theforce.stanford.edu>
4425
4426 * mh-e.el (mh-refile-msg): Add optional argument that controls
4427 whether mh-last-destination-folder is updated or not.
4428
44292003-03-22 Satyaki Das <satyaki@theforce.stanford.edu>
4430
4431 * mh-customize.el (mh-tool-bar-define): Fix a problem in the
4432 XEmacs version which caused the show mode toolbar to have the
4433 buttons in the reverse order. Also the add-hooks are no longer
4434 needed since mh-toolbar-init is called in the appropriate modes.
4435
4436 * mh-comp.el (mh-letter-mode): Call mh-toolbar-init in XEmacs to
4437 initialize toolbar.
4438
4439 * mh-utils.el (mh-show-mode): Same as above.
4440
4441 * mh-e.el (mh-folder-mode): Same as above.
4442
44432003-03-21 Satyaki Das <satyaki@theforce.stanford.edu>
4444
4445 * mh-utils.el (mh-exec-cmd-env-daemon): New function which
4446 executes a command asynchronously with its own environment.
4447
4448 * mh-comp.el (mh-redistribute): The function has been modified so
4449 that /bin/sh isn't used to run send. It has also been refactored
4450 so that the same code isn't repeated.
4451
44522003-03-21 Bill Wohler <wohler@newt.com>
4453
4454 * mh-customize.el (mh-invisible-header-fields): Added X-Bogosity
4455 for bogofilter.
4456
44572003-03-21 Satyaki Das <satyaki@theforce.stanford.edu>
4458
4459 * mh-loaddefs.el: Regenerated.
4460
4461 * mh-xemacs-toolbar.el: Remove the code since that gets generated
4462 when mh-tool-bar-define is expanded.
4463 (mh-xemacs-icon-map): A alist to map GNU Emacs icon names to the
4464 actual icons to be used in XEmacs. This is used in
4465 mh-tool-bar-define.
4466
4467 * mh-customize.el (mh-toolbar): Use this group in XEmacs as well.
4468 (mh-tool-bar-item-*): All these constants have been removed since
4469 they aren't needed in the new scheme.
4470 (mh-tool-bar-reply-3-buttons-flag): This variable has been
4471 removed.
4472 (mh-tool-bar-search-function): This is now used in XEmacs as well.
4473 (mh-tool-bar-folder-set, mh-tool-bar-folder-buttons-set)
4474 (mh-tool-bar-letter-buttons-set, mh-tool-bar-show-set)
4475 (mh-tool-bar-letter-set): These functions aren't defined at the
4476 top level any more.
4477 (mh-tool-bar-reply-generator): A macro to generate the required
4478 functions for the three reply buttons.
4479 (mh-tool-bar-search, mh-tool-bar-customize)
4480 (mh-tool-bar-folder-help, mh-tool-bar-letter-help)
4481 (mh-tool-bar-reply-from, mh-show-tool-bar-reply-from)
4482 (mh-tool-bar-reply-to, mh-show-tool-bar-reply-to)
4483 (mh-tool-bar-reply-all, mh-show-tool-bar-reply-all): New
4484 interactive functions that are called when tool bar buttons are
4485 clicked.
4486 (mh-xemacs-use-toolbar-flag, mh-xemacs-toolbar-position):
4487 Additional customizable variables that are present only for
4488 XEmacs.
4489 (mh-tool-bar-define): A macro that generates the required code
4490 for GNU Emacs and XEmacs tool bar.
4491 (mh-tool-bar-define): Define the MH-E tool bar.
4492
44932003-03-17 Satyaki Das <satyaki@theforce.stanford.edu>
4494
4495 * mh-seq.el (mh-notate-cur): Notate current message only if it
4496 hasn't been marked for deletion or refiling.
4497
44982003-03-15 Bill Wohler <wohler@newt.com>
4499
4500 * mh-customize.el (mh-invisible-header-fields): Added
4501 X-Spam-Checker-Version.
4502 (mh-auto-fields-list): checkdoc fix.
4503
45042003-03-12 Satyaki Das <satyaki@theforce.stanford.edu>
4505
4506 * mh-index.el (mh-index-new-messages): If the destination folder
4507 where the unseen messages are supposed to be copied to was
4508 already present, but MH-E doesn't have it open, then a new folder
4509 was being created. The change fixes this.
4510 (mh-index-update-unseen, mh-flists-recursive-search-flag): Fix
4511 checkdoc warnings.
4512
4513 * mh-loaddefs.el: Regenerated.
4514
45152003-03-11 Satyaki Das <satyaki@theforce.stanford.edu>
4516
4517 * mh-index.el (mh-flists-results-folder): Subfolder under
4518 +mhe-index where the results of the flists call is put.
4519 (mh-index-generate-pretty-name): Make sure that normal index
4520 searching will never use the folder reserved for the flists
4521 results.
4522 (mh-index-search): Add an extra parameter that marks all the
4523 messages in the index folder to the unseen sequence.
4524 (mh-index-update-unseen): Function to keep unseen sequence of
4525 index folder synced with the actual folders from where the
4526 messages were copied. This works only if the unseen messages are
4527 displayed with mh-show. Killing the unseen sequence in the index
4528 folder or adding/removing messages to it doesn't change the
4529 unseen sequence in the source folders yet.
4530 (mh-flists-search-folders): Variable that decides the folders on
4531 which flists is run.
4532 (mh-flists-recursive-search-flag): If non-nil, flists is passed
4533 the -recurse option.
4534 (mh-flists-execute): Function which uses /bin/sh to execute
4535 flists and then print out the list of message files that match.
4536 (mh-index-new-messages): New interactive function which searches
4537 for messages in the unseen sequence (closes SF #701756).
4538
4539 * mh-utils.el (mh-show-folder-map): Add binding for
4540 mh-index-new-messages.
4541 (mh-show-msg): Update the unseen sequence in the source folder.
4542
4543 * mh-e.el (mh-folder-font-lock-unseen): The function assumes that
4544 the end of buffer is reached when there isn't a valid scan line
4545 on the current line. This doesn't work in the index folder since
4546 we have lines containing the folder name and empty lines in
4547 between the actual scan lines. The modification removes this
4548 assumption.
4549 (mh-folder-map): Add key binding for "Fn"
4550
4551 * mh-seq.el (mh-iterate-on-messages-in-region): If the point is
4552 not at the beginning of the line, then the first message in the
4553 region would be missed. The fix avoids this.
4554
4555 * mh-mime.el (mh-inline-vcard-p): Don't try to inline vcards if
4556 we don't have the right libraries.
4557
45582003-03-10 Satyaki Das <satyaki@theforce.stanford.edu>
4559
4560 * mh-e.el (mh-next-undeleted-msg, mh-previous-undeleted-msg)
4561 (mh-next-msg): Add optional argument wait-after-complaining-flag.
4562 If non-nil and there are no undeleted messages after (or before)
4563 the current one, then pause for a second after printing out the
4564 message.
4565 (mh-refile-or-write-again): Modify call to mh-next-msg to use the
4566 wait-after-complaining-flag.
4567
45682003-03-10 Satyaki Das <satyaki@theforce.stanford.edu>
4569
4570 * mh-e.el (mh-refile-or-write-again): If mh-next-msg fails to find
4571 a message to go to it prints out a diagnostic, which overwrites
4572 the diagnostic about the folder the message was refiled to. The
4573 change fixes this.
4574
45752003-03-09 Satyaki Das <satyaki@theforce.stanford.edu>
4576
4577 * mh-seq.el (mh-widen, mh-narrow-to-seq): Update
4578 mh-narrowed-to-seq before notating sequences. This is a bit
4579 helpful for mh-tick.el.
4580 (mh-put-msg-in-seq): Fix a minor bug. No internal sequence should
4581 be notated -- the original code was doing the right thing only for
4582 the "unseen" sequence.
4583
4584 * mh-index.el (mh-index-choose): Add autoload cookie for
4585 mh-index-choose. This is needed for GNU Emacs 20.5.
4586
4587 * mh-loaddefs.el: Regenerated.
4588
45892003-03-09 Bill Wohler <wohler@newt.com>
4590
4591 * mh-mime.el (mh-display-smileys): This function originally had a
4592 test to see if font-lock-maximum-size was bound, but this was
4593 recently removed. The test was put in for a reason; if
4594 font-lock-maximum-size isn't bound, void-variable errors would
4595 ensue. I put the bound test back in.
4596
45972003-03-08 Steve Youngs <youngs@xemacs.org>
4598
4599 * mh-mime.el (mh-mime-security-button-map): Use 'mh-push-button'
4600 in XEmacs as well.
4601
46022003-03-07 Satyaki Das <satyaki@theforce.stanford.edu>
4603
4604 * mh-xemacs-toolbar.el: Declare a whole bunch of stuff for GNU
4605 Emacs, so that we don't get so many compiler warnings. Also
4606 surround calls to set-specifier and toolbar-make-button-list with
4607 mh-funcall-if-exists. Maybe GNU Emacs shouldn't try to compile
4608 this file in the first place.
4609
4610 * mh-xemacs-compat.el (mh-modeline-glyph): Declare it within
4611 mh-do-in-xemacs to avoid compiler warning in GNU Emacs.
4612 (mh-xemacs-push-button): Removed.
4613
4614 * mh-mime.el (mh-mime-button-map): Use the generalized
4615 mh-push-button function.
4616 (mh-push-button): Enhance it so that it works on XEmacs too.
4617
46182003-03-08 Steve Youngs <youngs@xemacs.org>
4619
4620 * mh-xemacs-compat.el (mh-modeline-logo): New constant holding the
4621 modeline image.
4622 (mh-modeline-glyph): Use it.
4623
46242003-03-08 Steve Youngs <youngs@xemacs.org>
4625
4626 * mh-xemacs-toolbar.el: New file that defines and displays a
4627 toolbar in XEmacs.
4628
4629 * mh-xemacs-compat.el (mh-xemacs-toolbar): Require it here.
4630
4631 * Makefile (MH-E-SRC): Add mh-xemacs-toolbar.el.
4632
4633 * mh-customize.el (mh-toolbar):
4634 (mh-tool-bar-letter-buttons):
4635 (mh-tool-bar-letter-buttons-set):
4636 (mh-tool-bar-folder-buttons):
4637 (mh-tool-bar-folder-buttons-set):
4638 (mh-tool-bar-search-function):
4639 (mh-tool-bar-reply-3-buttons-flag):
4640 (mh-tool-bar-item-inc):
4641 (mh-tool-bar-item-save-mime):
4642 (mh-tool-bar-item-prev-msg):
4643 (mh-tool-bar-item-page-msg):
4644 (mh-tool-bar-item-next-msg):
4645 (mh-tool-bar-item-delete):
4646 (mh-tool-bar-item-refile):
4647 (mh-tool-bar-item-undo):
4648 (mh-tool-bar-item-perform):
4649 (mh-tool-bar-item-toggle-show):
4650 (mh-tool-bar-item-reply-from):
4651 (mh-tool-bar-item-reply-to):
4652 (mh-tool-bar-item-reply-all):
4653 (mh-tool-bar-item-reply):
4654 (mh-tool-bar-item-alias):
4655 (mh-tool-bar-item-compose):
4656 (mh-tool-bar-item-rescan):
4657 (mh-tool-bar-item-repack):
4658 (mh-tool-bar-item-search):
4659 (mh-tool-bar-item-visit):
4660 (mh-tool-bar-item-prefs):
4661 (mh-tool-bar-item-help):
4662 (mh-tool-bar-item-widen):
4663 (mh-tool-bar-item-send):
4664 (mh-tool-bar-item-attach):
4665 (mh-tool-bar-item-spell):
4666 (mh-tool-bar-item-save):
4667 (mh-tool-bar-item-undo-op):
4668 (mh-tool-bar-item-kill):
4669 (mh-tool-bar-item-copy):
4670 (mh-tool-bar-item-paste):
4671 (mh-tool-bar-item-kill-draft):
4672 (mh-tool-bar-item-comp-prefs):
4673 The MH-E toolbar for XEmacs is defined differently from the
4674 GNU/Emacs version, so only define these if we're in GNU/Emacs.
4675 XEmacs doesn't need to see them and it's always good to cut down
4676 on pollution.
4677
46782003-03-08 Steve Youngs <youngs@xemacs.org>
4679
4680 * mh-mime.el (mh-mime-button-map): Bind the 2nd mouse button to
4681 `mh-xemacs-push-button' in XEmacs.
4682 (mh-mime-security-button-map): Ditto.
4683
4684 * mh-xemacs-compat.el: Shush the byte-compiler.
4685 (mh-xemacs-push-button): New function to make MIME buttons work in
4686 XEmacs.
4687
46882003-03-08 Steve Youngs <youngs@xemacs.org>
4689
4690 * mh-mime.el (mh-display-emphasis): Don't test
4691 `font-lock-maximum-size' to see if it is bound, just test for a
4692 non-nil value. This variable can have a nil value which makes it
4693 bound and dividing nil by 8 throws an error.
4694 This fixes a bug in MH-E under XEmacs when
4695 `font-lock-maximum-size' is nil that prevented article emphasis
4696 and smiley display which in turn was causing the "Flush changes in
4697 article x y/n" errors.
4698 (mh-display-smileys): Ditto.
4699
47002003-03-08 Steve Youngs <youngs@xemacs.org>
4701
4702 * mh-utils.el (mh-logo-display): Display logo in XEmacs as well.
4703
4704 * mh-xemacs-compat.el (mh-modeline-glyph): New. The MH-E modeline
4705 logo for XEmacs.
4706
47072003-03-06 Satyaki Das <satyaki@theforce.stanford.edu>
4708
4709 * mh-utils.el (mh-allow-root-folder-flag): New global variable
4710 that decides if "+" is an acceptable folder name.
4711 (mh-folder-completion-function): Refine the test for existing
4712 folders to take mh-allow-root-folder-flag into account.
4713 (mh-folder-completing-read, mh-prompt-for-folder): Use the
4714 allow-root-folder-flag argument of mh-prompt-for-folder and add a
4715 similar argument to mh-folder-completing-read.
4716 (mh-exec-cmd-error): Make the function nicer by using
4717 process-environment to pass the environment variable assignments.
4718
47192003-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
4720
4721 * mh-mime.el (mh-push-button): Preserve point in the show buffer
4722 if the mouse is used to expand/contract a button.
4723
4724 * mh-customize.el (mh-x-face-file): Mention X-Image-URL in
4725 documentation.
4726
4727 * mh-comp.el (mh-insert-x-face): Modified to allow insertion of
4728 X-Image-URL header field.
4729
47302003-03-04 Satyaki Das <satyaki@theforce.stanford.edu>
4731
4732 * mh-utils.el (mh-face-display-function): Modified to facilitate
4733 display of X-Image-URL images.
4734 (mh-find-path): Initialize X-Image-URL cache directory.
4735 (mh-x-image-url-cache-canonicalize, mh-x-image-url-fetch-image)
4736 (mh-x-image-scale-and-display, mh-x-image-url-display)
4737 (mh-x-image-display): New functions for X-Image-URL image display
4738 and cache management.
4739
4740 * mh-customize.el (mh-show-use-xface-flag): Add info about
4741 requirements for X-Image-URL display.
4742 (mh-fetch-x-image-url): New customizable variable that controls
4743 fetching of X-Image-URL.
4744
47452003-03-04 Satyaki Das <satyaki@theforce.stanford.edu>
4746
4747 * mh-utils.el (mh-make-local-hook): New macro which works around
4748 API changes in add-hook. Version of GNU Emacs before 21.1 and
4749 XEmacs require a call to make-local-hook and just the LOCAL
4750 argument of add-hook is not sufficient.
4751 (mh-show-mode): Make kill-buffer-hook buffer local.
4752
4753 * mh-e.el (mh-folder-mode): Same as above.
4754
4755 * mh-comp.el (mh-compose-and-send-mail): Same as above.
4756
47572003-03-02 Satyaki Das <satyaki@theforce.stanford.edu>
4758
4759 * mh-mime.el (mh-push-button): Clicking on a MIME button used to
4760 cause the window with the show buffer to be selected. With this
4761 change the selected window doesn't change.
4762
47632003-03-01 Satyaki Das <satyaki@theforce.stanford.edu>
4764
4765 * mh-speed.el (mh-speed-flists): Avoid a potential race condition.
4766 When flists is called manually, or when an unseen message is read,
4767 mh-speed-partial-line was not reinitialized.
4768
4769 * mh-e.el (mh-visit-folder): If mh-visit-folder is used to visit
4770 the folder currently being visited (effectively doing a rescan)
4771 then mh-previous-window-config is erroneously set. The change
4772 fixes this.
4773
4774 * mh-customize.el (mh-index-show-hook): Remove unused variable.
4775
47762003-02-28 Satyaki Das <satyaki@theforce.stanford.edu>
4777
4778 * mh-e.el (mh-scan-folder): Call mh-reset-threads-and-narrowing
4779 only after the user has replied to question. This avoids premature
4780 clearing of the folder.
4781 (mh-rescan-folder, mh-visit-folder): Remove calls to
4782 mh-reset-threads-and-narrowing since it is now called in
4783 mh-scan-folder anyway.
4784
4785 * mh-funcs.el (mh-sort-folder): Same as above.
4786
47872003-02-26 Satyaki Das <satyaki@theforce.stanford.edu>
4788
4789 * mh-alias.el (mh-alias-alist): Change initial value to a symbol,
4790 so that it is different from the empty list, which could also
4791 mean that there are no aliases.
4792 (mh-alias-reload-maybe): Change test so that empty alist of
4793 aliases is properly handled (closes SF #693859).
4794
47952003-02-25 Satyaki Das <satyaki@theforce.stanford.edu>
4796
4797 * mh-mime.el (mh-decode-message-header): The message header could
4798 be encoded, for instance the author's name could contain
4799 characters not in ASCII. This function will decode such header
4800 fields.
4801 (mh-mm-inline-message): Use mh-decode-message-header.
4802
4803 * mh-utils.el (mh-display-msg): Use mh-decode-message-header.
4804 (mh-message-number-width): Use mh-scan-prog instead of "scan".
4805
4806 * mh-loaddefs.el: Regenerated.
4807
48082003-02-24 Satyaki Das <satyaki@theforce.stanford.edu>
4809
4810 * mh-utils.el (mh-truncate-log-buffer): Refine it so that the
4811 function will do the right thing even if called from a buffer
4812 other than mh-log-buffer.
4813
48142003-02-22 Peter S Galbraith <psg@debian.org>
4815
4816 * mh-alias.el (mh-alias-add-alias): Really fix SF #690216.
4817 This functions needs to strip brackets on standalone addresses as
4818 well.
4819
48202003-02-21 Satyaki Das <satyaki@theforce.stanford.edu>
4821
4822 * mh-xemacs-compat.el (replace-regexp-in-string): Remove the
4823 definition since it isn't used any more.
4824
48252003-02-20 Peter S Galbraith <psg@debian.org>
4826
4827 * mh-alias.el (mh-alias-which-file-has-alias): Bug fix. Needed to
4828 specify `noerror' on search.
4829
4830 * mh-alias.el (mh-alias-suggest-alias): Add condition for input
4831 string being an email address in brackets. We need to strip out
4832 the brackets. (closes SF #690216)
4833
48342003-02-20 Satyaki Das <satyaki@theforce.stanford.edu>
4835
4836 * mh-pick.el (mh-search-folder): The function was setting the
4837 global value of the variables mh-current-folder and
4838 mh-previous-window-config. This can lead to problems in code which
4839 assumes that these variables are nil when we aren't in a folder
4840 buffer. So make the variables local before setting them.
4841
48422003-02-19 Satyaki Das <satyaki@theforce.stanford.edu>
4843
4844 * mh-mime.el (mh-mime-display): All the MIME display code has been
4845 wrapped in a condition-case so that if something goes wrong, the
4846 raw message will be displayed.
4847
4848 * mh-funcs.el (mh-undo-folder): Comment out call to sit-for that
4849 seems unnecessary.
4850
4851 * mh-e.el (mh-scan-folder): Messages marked for deletion or
4852 refiling weren't getting annotated properly. The change fixes
4853 this.
4854 (mh-process-or-undo-commands): Change prompt to reflect what
4855 really happens in the code.
4856
48572003-02-18 Satyaki Das <satyaki@theforce.stanford.edu>
4858
4859 * mh-comp.el (mh-folder-expand-at-point): The function
4860 mail-abbrev-complete-alias often returns nil. This had the
4861 unfortunate consequence of always causing an error. The change
4862 fixes this.
4863
4864 * mh-alias.el (mh-alias-canonicalize-suggestion): New function
4865 which obviates the our need replace-regexp-in-string.
4866 (mh-alias-suggest-alias): Use mh-alias-canonicalize-suggestion to
4867 eliminate calls to replace-regexp-in-string. This avoids problems
4868 in Emacs20.
4869
4870 * mh-utils.el (mh-notate): Handle the case when nil is passed as
4871 notation gracefully.
4872 (mh-speed-flists-active-p): New function that returns non-nil if
4873 flists is being used in the speedbar to update message counts.
4874
4875 * mh-seq.el (mh-put-msg-in-seq): Fix a bug which made it
4876 impossible to add messages to the unseen sequence. Also adding
4877 messages to the unseen sequence will now update the speedbar
4878 message counts immediately.
4879
4880 * mh-e.el (mh-get-new-mail, mh-process-commands)
4881 (mh-undefine-sequence): Update speedbar message counts, if the
4882 speedbar is active and is displaying message counts.
4883 (mh-delete-msg-from-seq): In addition to updating message counts,
4884 unhighlight the message so that interactively removing messages
4885 from the unseen sequence makes the bold highlight of unseen
4886 messages in the scan buffer go away.
4887 (mh-clear-text-properties): New function that removes all text
4888 properties from the current scan line.
4889
48902003-02-15 Satyaki Das <satyaki@theforce.stanford.edu>
4891
4892 * mh-utils.el (mh-face-display-function): Wrap call of
4893 insert-image in mh-funcall-if-exists. This avoids a compiler
4894 warning in Emacs20.
4895
4896 * mh-speed.el (mh-speed-flists): Weaken test a bit to avoid
4897 compiler warning in Emacs20.
4898 (mh-speedbar-change-expand-button-char): Wrap call of
4899 speedbar-insert-image-button-maybe in mh-funcall-if-exists. This
4900 function isn't present in the speedbar that ships with Emacs20, so
4901 calling it there causes an error.
4902
4903 * mh-seq.el (mh-msg-is-in-seq): Adjust loop call a bit to avoid
4904 compiler warning in XEmacs. The XEmacs compiler should be improved
4905 so that such spurious warnings from builtin macros are suppressed.
4906
4907 * mh-index.el (mh-index-search): Same as above.
4908
4909 * mh-e.el (tool-bar-mode): The declaration is needed for Emacs20
4910 too.
4911
4912 * mh-comp.el (mailabbrev): Try loading it any way. Some day XEmacs
4913 will get it and then MH-E will just use it.
4914 (tool-bar-mode, tool-bar-map): These declarations are needed for
4915 Emacs20 too.
4916 (mh-mail-abbrev-make-syntax-table, mh-folder-expand-at-point):
4917 Remove mh-mail-abbrev-make-syntax-table since mh-funcall-if-exists
4918 can be used instead.
4919
4920 * mh-alias.el (require): Avoid autoloading functions that may not
4921 be defined.
4922 (mh-read-address, mh-alias-letter-expand-alias): Rewrite using
4923 mh-funcall-if-exists.
4924
49252003-02-15 Satyaki Das <satyaki@theforce.stanford.edu>
4926
4927 * mh-loaddefs.el: Regenerated.
4928
4929 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-add-buttons)
4930 (mh-speed-toggle): Reuse markers instead of creating more of them.
4931 (mh-speed-flists-folder, mh-speed-flists): Add optional folder
4932 argument to mh-speed-flists so that message counts are updated
4933 only for that one folder.
4934 (mh-speed-parse-flists-output): If no change in counts then avoid
4935 consing.
4936
4937 * mh-index.el (mh-index-execute): Rewritten to use a temporary
4938 buffer that is not left behind.
4939
4940 * mh-funcs.el (mh-store-buffer): Use mh-log-buffer instead of the
4941 special purpose *Store Output* buffer.
4942
49432003-02-14 Satyaki Das <satyaki@theforce.stanford.edu>
4944
4945 * mh-customize.el (mh-show-xface-face): Make it always be black
4946 foreground on a white background (the reverse of that can make
4947 some X-Face images look creepy).
4948
4949 * mh-utils.el (mh-truncate-log-buffer): Modify the function to
4950 return the current size of mh-log-buffer. Also we are now a bit
4951 more careful in adding separators between consecutive messages.
4952 (mh-exec-cmd): Fix a bug where the the log buffer would be
4953 displayed even if no error happened in the current command but
4954 the log buffer had messages from a previous error.
4955
4956 * mh-mime.el (mh-mime-save-parts): Use mh-log-buffer to show
4957 error messages.
4958
4959 * mh-alias.el (mh-alias-local-users): Add a space between parens.
4960
49612003-02-14 Steve Youngs <youngs@xemacs.org>
4962
4963 * mh-utils.el (mh-face-display-function): Call
4964 `x-face-xmas-wl-display-x-face' using `mh-funcall-if-exists'.
4965
4966 * mh-xemacs-compat.el (replace-regexp-in-string): New.
4967
49682003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
4969
4970 * mh-utils.el (mh-log-buffer-lines): New variable that keeps
4971 track of the number of lines to keep in mh-log-buffer.
4972 (mh-truncate-log-buffer): New function that is used to make sure
4973 that the log buffer doesn't grow to unbounded size.
4974 (mh-exec-cmd, mh-exec-cmd-daemon, mh-handle-process-error): Use
4975 mh-truncate-log-buffer instead of erase-buffer to keep some
4976 number of previous log messages around (closes SF #685476).
4977
49782003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
4979
4980 * mh-e.el (tool-bar-mode): Declare it in XEmacs.
4981 (mh-folder-mode): Use mh-funcall-if-exists to call hl-line-mode.
4982
4983 * mh-utils.el (mh-funcall-if-exists): New macro that calls a
4984 function only if it exists.
4985 (mh-logo-display, mh-defun-show-buffer): Use mh-funcall-if-exists
4986 to call the functions find-image and deactivate-mark.
4987
4988 * mh-mime.el (mh-mime-cleanup, mh-small-image-p)
4989 (mh-mm-display-part): Use mh-funcall-if-exists to call the
4990 functions image-size and remove-images.
4991
4992 * mh-comp.el (tool-bar-map, tool-bar-mode): Declare the variables
4993 in XEmacs.
4994 (mh-folder-expand-at-point): Use mh-funcall-if-exists to call
4995 mail-abbrev-complete-alias if it exists.
4996
4997 * mh-alias.el (mh-read-address): Use mh-funcall-if-exists for
4998 future extensibility.
4999
50002003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
5001
5002 * mh-utils.el (mh-logo-display): The function find-image is
5003 present only in GNU Emacs.
5004 (mh-defun-show-buffer): The function deactivate-mark is present
5005 only in GNU Emacs.
5006 (default-enable-multibyte-characters): Declare it in XEmacs to
5007 avoid compiler warning.
5008 (mh-face-display-function): Avoid inserting space if there isn't
5009 any Face or X-Face header field to display.
5010
5011 * mh-seq.el (mh-thread-last-ancestor): Move declaration of
5012 variable before its first use to silence XEmacs warning.
5013
5014 * mh-mime.el (default-enable-multibyte-characters, dots, type):
5015 Declare these in XEmacs to remove compiler warnings in XEmacs.
5016 (mh-mime-cleanup, mh-mm-display-part): Call remove-images only in
5017 GNU Emacs.
5018 (mh-small-image-p): Call image-size only in GNU Emacs.
5019
5020 * mh-index.el (mh-mairix-next-result): Fix a bug where a quote
5021 was missing.
5022 (mh-swish++-regexp-builder): Remove the unused binding meta.
5023
5024 * mh-e.el (mh-folder-size): Pass on an extra value to remove
5025 XEmacs warning.
5026 (mh-folder-mode): Surround calls to hl-line-mode and
5027 tool-bar-mode with mh-do-in-gnu-emacs since these functions
5028 aren't present in XEmacs.
5029
5030 * mh-customize.el (mh-tool-bar-show-set, mh-tool-bar-letter-set)
5031 (mh-tool-bar-folder-set): These functions call tool-bar-*
5032 functions which are present only in GNU Emacs. So surround them
5033 with mh-do-in-gnu-emacs.
5034
5035 * mh-comp.el (mh-letter-mode, mh-folder-expand-at-point): Only
5036 call these functions in GNU Emacs.
5037 (mail-abbrevs): Declare it in XEmacs.
5038
5039 * mh-alias.el (mh-read-address): Call completing-read-multiple
5040 only in GNU Emacs.
5041 (mail-abbrevs): Declare it in XEmacs.
5042 (mh-alias-add-alias-to-file): Remove unused code.
5043
50442003-02-14 Ville Skyttä <scop@xemacs.org>
5045
5046 * mh-comp.el: Add autoloaded auto-mode-alist association.
5047
50482003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
5049
5050 * mh-utils.el (mh-face-display-function): Make the XEmacs part a
5051 little simpler.
5052
50532003-02-14 Steve Youngs <youngs@xemacs.org>
5054
5055 * mh-customize.el (mh-show-xface-face): XEmacs doesn't have the
5056 ':inherit' keyword for defface, rewrite with sane defaults.
5057
5058 * mh-utils.el (mh-face-display-function): Fix bug that was
5059 corrupting xface images when displayed with XEmacs' internal
5060 xface image support. Also make XEmacs honour 'mh-show-xface-face'
5061 when using internal xface image support.
5062
50632003-02-12 Peter S Galbraith <psg@debian.org>
5064
5065 * mh-comp.el (mh-modify-header-field): New function. To header
5066 FIELD add VALUE. If OVERWRITE-FLAG is non-nil then the old value,
5067 if present, is discarded. This is more flexible than before.
5068 (mh-insert-auto-fields): Use it. This and the new function are a
5069 courtesy of Satyaki. Thanks!
5070
5071 * mh-customize.el (mh-auto-fields-list): Doc tweaks suggested by
5072 Bill.
5073
50742003-02-12 Satyaki Das <satyaki@theforce.stanford.edu>
5075
5076 * mh-comp.el (mh-folder-expand-at-point): Tweak the error
5077 message. Completion in the Fcc header field is only supported in
5078 GNU Emacs 21.
5079
50802003-02-12 Peter S Galbraith <psg@debian.org>
5081
5082 * mh-customize.el (mh-auto-fields-list): Reorder after
5083 `mh-identity-list' since it needs it to be defined. Move to
5084 mh-identity customization group.
5085
50862003-02-11 Peter S Galbraith <psg@debian.org>
5087
5088 * mh-customize.el (mh-insert-mail-followup-to-flag): Removed.
5089 Obsolete.
5090 (mh-insert-mail-followup-to-list): Removed. Obsolete. Use
5091 `mh-auto-fields-list' instead, which is a more general solution.
5092 (mh-auto-fields-list): New defcustom. Alist of addresses for
5093 which header lines are automatically inserted. Replaces
5094 `mh-insert-mail-followup-to-list'.
5095
5096 * mh-comp.el (mh-insert-mail-followup-to): Removed. Obsolete.
5097 (mh-insert-auto-fields): New function. Insert custom fields if To
5098 or Cc match `mh-auto-fields-list', replacing
5099 mh-insert-mail-followup-to with a more general solution.
5100 (mh-compose-and-send-mail): Call mh-insert-auto-fields instead of
5101 mh-insert-mail-followup-to. Also don't call mh-insert-identity to
5102 insert default setting if mh-insert-auto-fields inserted an
5103 identity.
5104
51052003-02-11 Satyaki Das <satyaki@theforce.stanford.edu>
5106
5107 * mh-utils.el (mh-show-xface-function): Try to load the external
5108 x-face library only if XEmacs doesn't have xface support.
5109 (mh-face-display-function): Renamed. Also handle various
5110 permutations of x-face and xface support in XEmacs better.
5111
5112 * mh-customize.el (mh-show-use-xface-flag): Any emacs whose
5113 major version is greater than or equal to 21 supports display of
5114 X-Face and Face header fields.
5115
51162003-02-11 Satyaki Das <satyaki@theforce.stanford.edu>
5117
5118 * mh-utils.el (mh-do-in-gnu-emacs, mh-do-in-xemacs): Macros that
5119 execute code only in GNU Emacs and XEmacs respectively.
5120 (mh-emacs21-face-display-function): Refactor to make it slightly
5121 nicer. Get rid of compiler warnings in GNU Emacs by using the
5122 above macros. Also check for presence of xface feature (in XEmacs
5123 specific code) before trying to display X-Face header field image.
5124
51252003-02-11 Steve Youngs <youngs@xemacs.org>
5126
5127 * mh-customize.el (mh-show-use-xface-flag): If using XEmacs and
5128 can't find the external x-face pkg still enable X-Face images if
5129 feature 'xface is present.
5130 Update the doc string.
5131
5132 * mh-utils.el (mh-emacs21-face-display-function): Make it work in
5133 XEmacs.
5134 (mh-show-xface-function): If using XEmacs without xface support,
5135 use x-face.el pkg. If using XEmacs with xface support, or Emacs
5136 21, use mh-emacs21-face-display-function.
5137
51382003-02-11 Mark D. Baushke <mdb@gnu.org>
5139
5140 * mh-customize.el (mh-invisible-header-fields): Add
5141 "X-Notes-Item:" which is generated by Lotus Notes Domino. See
5142 URL<http://www-12.lotus.com/ldd/doc/domino_notes/Rnext/help6_admin.nsf
5143 /f4b82fbb75e942a6852566ac0037f284/5eda03c647f879c285256c1d00396051
5144 ?OpenDocument&Highlight=0,x-notes-item> for details on how Domino
5145 users may disable (restore the default) generation of these headers.
5146
51472003-02-10 Satyaki Das <satyaki@theforce.stanford.edu>
5148
5149 * mh-comp.el (mh-folder-expand-at-point): Add function doc string
5150 and produce a nicer error message for Emacs versions that lack
5151 mail-abbrev-complete-alias.
5152
5153 * mh-utils.el (mh-handle-process-error): Check doc fix.
5154
5155 * mh-e.el (mh-folder-from-address): Same as above.
5156
51572003-02-10 Peter S Galbraith <psg@debian.org>
5158
5159 * mh-comp.el: require mailabbrev, except in XEmacs.
5160 (mh-mail-abbrev-make-syntax-table): New defmacro to call
5161 mail-abbrev-make-syntax-table introduced in Emacs21.
5162 (mh-folder-expand-at-point): Handle nested folders.
5163 All of the above was written by Satyaki. I just applied the patch
5164 and tested.
5165
51662003-02-09 Satyaki Das <satyaki@theforce.stanford.edu>
5167
5168 * mh-comp.el: Fixes to keep the byte compiler happy.
5169
5170 * mh-customize.el (mh-invisible-header-fields): Modified to
5171 remove space after ":" in header field names.
5172
51732003-02-09 Peter S Galbraith <psg@mixed.dyndns.org>
5174
5175 * mh-comp.el (mh-letter-complete): Add completion for fcc lines.
5176 (mh-folder-expand-at-point): Do completion at point for folder
5177 name. Like `mh-alias-letter-expand-alias' for aliases, it doesn't
5178 work on XEmacs because it relies on `mail-abbrev-complete-alias'
5179 to do completion. Maybe Steve could update XEmacs' mailabbrev.el?
5180
51812003-02-09 Peter S Galbraith <psg@debian.org>
5182
5183 * mh-customize.el (mh-invisible-header-fields): Remove trailing
5184 space in "X-Face: " and "Face: " entries since those line often
5185 break there.
5186
51872003-02-08 Satyaki Das <satyaki@theforce.stanford.edu>
5188
5189 * mh-utils.el (mh-emacs21-face-display-function): Use
5190 mh-show-xface-face to colorize X-Face image.
5191
5192 * mh-customize.el (mh-invisible-header-fields): Add extra headers
5193 to ignore.
5194 (mh-show-xface-face): Allow customization of the X-Face colors.
5195
51962003-02-07 Satyaki Das <satyaki@theforce.stanford.edu>
5197
5198 * mh-utils.el (mh-uncompface-executable, mh-uncompface): Remember
5199 the path of the uncompface executable so that we don't need to
5200 search for it every time.
5201 (mh-emacs21-face-display-function): If more than one X-Face (or
5202 Face) header field was present then the fields would get
5203 concatenated, leading to garbled output. The change only displays
5204 the first image.
5205
5206 * mh-customize.el (mh-x-face-file): Change documentation since it
5207 can now be used to insert a Face header field.
5208
5209 * mh-comp.el (mh-insert-x-face): Generalized to allow insertion
5210 of Face header field.
5211
52122003-02-06 Bill Wohler <wohler@newt.com>
5213
5214 * mh-utils.el (mh-emacs21-face-display-function): Updated
5215 docstring. It is a common mistake to refer to a header field as a
5216 header. The term header refers to the entire header while the term
5217 header field refers to a single field.
5218
5219 * mh-customize.el (mh-show-use-xface-flag): Ditto.
5220
52212003-02-06 Satyaki Das <satyaki@theforce.stanford.edu>
5222
5223 * mh-utils.el (mh-show-xface-function): Modified to use
5224 mh-emacs21-face-display-function if we are running GNU Emacs 21.
5225 (mh-face-to-png): New function to convert a Face header to a png
5226 image.
5227 (mh-uncompface): New function which converts an X-Face header to
5228 a pbm image.
5229 (mh-icontopbm): New function that does the job of icontopbm.
5230 (mh-emacs21-face-display-function): New function that displays
5231 Face/X-Face image in GNU Emacs 21.
5232 (mh-show-xface): Modified to test if we are running in X.
5233 Otherwise face display is suppressed.
5234
5235 * mh-customize.el (mh-show-use-xface-flag): Tweak it, now that
5236 MH-E supports face display natively on Emacs 21. Also remove the
5237 check for window-system since it doesn't belong in a customizable
5238 variable.
5239
52402003-02-06 Satyaki Das <satyaki@theforce.stanford.edu>
5241
5242 * mh-utils.el (sendmail): Require it so that XEmacs can find
5243 rfc822-goto-eoh.
5244 (mh-mail-header-end): A substitute for mail-header-end that
5245 doesn't widen the buffer. This is essential to avoid problems when
5246 dealing with nested messages.
5247 (mh-in-header-p, mh-letter-header-font-lock)
5248 (mh-header-field-font-lock, mh-show-font-lock-fontify-region)
5249 (mh-show-unquote-From): Use mh-mail-header-end instead of
5250 mail-header-end.
5251
5252 * mh-mime.el (mh-decode-message-body): same as above (closes SF
5253 #681518).
5254
5255 * mh-comp.el (mh-yank-cur-msg): same as above.
5256
52572003-02-05 Satyaki Das <satyaki@theforce.stanford.edu>
5258
5259 * mh-utils.el (mh-display-msg): Call mh-show-mode before invisible
5260 headers are cleaned. This means that any surviving X-Face header
5261 can be removed unconditionally in mh-clean-msg-header.
5262 (mh-clean-msg-header): Since the function is now called with a
5263 read-only buffer, make the buffer temporarily writable.
5264
5265 * mh-mime.el (mh-mm-inline-message): Do X-Face display before
5266 invisible headers are removed.
5267
5268 * mh-customize.el (mh-invisible-headers): Simplified since the
5269 X-Face header isn't treated specially any more.
5270 (mh-invisible-header-fields): Add Face: and X-Face: to list of
5271 invisible headers.
5272
5273 * mh-mime.el (mh-mime-display): If body is empty the headers would
5274 be treated like the body. The change fixes this (closes SF #681162).
5275 (mh-mime-display): This change really fixes the above problem.
5276
52772003-02-04 Satyaki Das <satyaki@theforce.stanford.edu>
5278
5279 * mh-utils.el (mh-current-folder-name): Global variable that
5280 keeps track of current folder.
5281 (mh-normalize-folder-name): Substitute @ with
5282 mh-current-folder-name (closes SF #666774).
5283 (mh-prompt-for-folder): Bind mh-current-folder-name. Also
5284 invalidate cache if we are visiting a folder that wasn't found in
5285 the sub-folder cache. This is an indication that folders may have
5286 been created outside of MH-E and so the cache may be stale.
5287
52882003-02-03 Satyaki Das <satyaki@theforce.stanford.edu>
5289
5290 * mh-utils.el (mh-decode-content-transfer-encoded-message): Removed.
5291 (mh-display-msg): Remove the use of the above function.
5292 (mh-normalize-folder-name): Leading "/" characters were being
5293 lost. The change fixes this (closes SF #676890).
5294
5295 * mh-mime.el (mh-decode-message-body): New function, factored out
5296 from mh-mime-display and enhanced, to decode message based on
5297 charset and content-transfer-encoding. This eliminates the need
5298 for the external mimencode (closes SF #674857).
5299 (mh-mime-display): Use mh-decode-message-body.
5300
5301 * mh-e.el (mh-header-display): Don't need the binding since the
5302 variable isn't present any more.
5303 (mh-inc-folder): Avoid calling mh-show if point is not on a valid
5304 scan line (closes SF #678115).
5305
5306 * mh-customize.el
5307 (mh-decode-content-transfer-encoded-message-flag): Removed.
5308
53092003-02-03 Bill Wohler <wohler@newt.com>
5310
5311 * import-emacs: MH-E now has its own directory in Emacs.
5312
5313 * mh-e.el: (mh-version): Set to 7.2+cvs.
5314
53152003-02-03 Bill Wohler <wohler@newt.com>
5316
5317 Released MH-E version 7.2.
5318
5319 * MH-E-NEWS, README: Updated for release 7.2.
5320
5321 * mh-e.el (Version, mh-version): Updated for release 7.2.
5322
53232003-02-03 Bill Wohler <wohler@newt.com>
5324
5325 * Makefile (dist): mkdir needs to happen *before* files are
5326 copied.
5327
5328 * MH-E-NEWS: Fixed some awkward verbiage.
5329
53302003-02-02 Bill Wohler <wohler@newt.com>
5331
5332 * mh-customize.el (mh-invisible-headers): Surround regexp-opt
5333 expression in parens to avoid problems viewing certain messages.
5334
53352003-01-30 Satyaki Das <satyaki@theforce.stanford.edu>
5336
5337 * mh-speed.el (mh-speed-flists): Search for flists in mh-progs.
5338 The original was inadvertently searching for flists in the user's
5339 path.
5340
53412003-01-27 Bill Wohler <wohler@newt.com>
5342
5343 * mh-customize.el (mh-default-folder-must-exist-flag): Changed
5344 default to t according to the principle of least surprise.
5345
53462003-01-26 Bill Wohler <wohler@newt.com>
5347
5348 * mh-utils.el: Checkdoc fixes.
5349
5350 * mh-pick.el (mh-do-search, mh-search-folder): Checkdoc fixes.
5351
5352 * mh-loaddefs.el: Regenerated (lm-verify fixes).
5353
5354 * mh-index.el (mh-mairix-next-result): Checkdoc fixes.
5355
5356 * mh-alias.el: lm-verify fix.
5357
5358 * Makefile (MH-E-SRC): Added ChangeLog, now that Emacs has a
5359 lisp/mh-e directory.
5360 (MH-E-ETC-ETC): Removed ChangeLog.
5361 (dist): Moved creation of mail directory next to copy of files
5362 into mail directory.
5363 (install-emacs): Copy $(MH-E-SRC) into new directory
5364 $(EMACS_HOME/lisp/mh-e.
5365 (MH-E-SRC): Moved ChangeLog into new variable MH-E-OTHERS and
5366 include MH-E-LOADDEFS there too.
5367 (mh-loaddefs.el): Added lines so that lm-verify passes.
5368 (dist, install-emacs): Use MH-E-OTHERS instead of MH-E-LOADDEFS.
5369
53702003-01-26 Jeffrey C Honig <jch@honig.net>
5371
5372 * mh-comp.el (mh-tidy-draft-buffer, mh-compose-and-send-mail):
5373 Rename mh-kill-draft-hook to mh-tidy-draft-buffer.
5374
53752003-01-25 Jeffrey C Honig <jch@honig.net>
5376
5377 * mh-utils.el (mh-exec-cmd, mh-exec-cmd-daemon)
5378 (mh-process-daemon): Use mh-log-buffer for the output of commands
5379 from mh-exec-cmd.
5380
5381 * mh-utils.el (mh-temp-folders-buffer): Sequences and folders
5382 loose the -temp from their buffer names as they are interesting to
5383 the user.
5384
5385 * mh-seq.el (mh-list-sequences): New name, mh-sequences-buffer as
5386 it is intended to be interesting to the user.
5387
5388 * mh-funcs.el (mh-list-folders): New name, mh-folders-buffer as it
5389 is intended to be interesting to the user.
5390
5391 * mh-comp.el (mh-check-whom, mh-compose-and-send-mail): Use
5392 mh-recipients-buffer constant. Add a kill buffer hook to delete
5393 the recipients buffer when a draft buffer is killed.
5394
53952003-01-25 Satyaki Das <satyaki@theforce.stanford.edu>
5396
5397 * mh-customize.el (mh-customize): New interactive argument
5398 deletes other windows.
5399 (mh-tool-bar-show-set, mh-tool-bar-letter-set)
5400 (mh-tool-bar-folder-set): Modified so that clicking the customize
5401 and help buttons deletes the other windows in the frame.
5402
5403 * mh-mime.el (mh-mm-inline-message): Remove unused code.
5404
5405 * mh-seq.el (mh-notate-deleted-and-refiled): Fix a small bug where
5406 the wrong notation was being used.
5407 (mh-toggle-threads): The function had a bug if you did the
5408 following starting from an unthreaded wide folder:
5409 (1) Create a sequence with S p
5410 (2) Narrow to new sequence with S n
5411 (3) Thread narrowed folder with T t
5412 (4) Kill sequence with S k
5413 (5) Unthread narrowed folder with T t
5414 At this point we would have an empty folder. The change fixes
5415 this.
5416 (mh-toggle-threads): Fix documentation.
5417
5418 * mh-customize.el (mh-invisible-header-fields): Add
5419 X-MHE-Checksum to invisible headers.
5420
5421 * mh-comp.el (mh-insert-x-mailer): Slightly more informative
5422 X-Mailer header.
5423
54242003-01-24 Satyaki Das <satyaki@theforce.stanford.edu>
5425
5426 * mh-e.el (mh-header-display): Modified so that quoted-printable
5427 or base64 encoded messages are left untouched.
5428
5429 * mh-utils.el (mh-decode-content-transfer-encoded-message): Munge
5430 the Content-Transfer-Encoding header so that the MIME decoding
5431 routines of Gnus doesn't get confused.
5432 (mh-display-msg): Use insert-file-contents-literally so that
5433 display will work for non-ascii.
5434
5435 * mh-mime.el (mh-mime-display): Use charset info to decode
5436 message file (closes SF #655123).
5437
54382003-01-24 Bill Wohler <wohler@newt.com>
5439
5440 * mh-alias.el (mh-alias-add-alias-to-file): Removed period from
5441 error message and added parens around error function.
5442
54432003-01-24 Satyaki Das <satyaki@theforce.stanford.edu>
5444
5445 * mh-customize.el (mh-decode-quoted-printable-flag): Removed.
5446 (mh-decode-content-transfer-encoded-message-flag): This replaces
5447 mh-decode-quoted-printable-flag.
5448
5449 * mh-utils.el (mh-decode-content-transfer-encoded-message): New
5450 function which handles messages that are encoded as base64 or
5451 quoted-printable (closes SF #674190).
5452 (mh-decode-quoted-printable): Removed.
5453 (mh-display-msg): Use mh-decode-content-transfer-encoded-message
5454 instead of mh-decode-quoted-printable.
5455
54562003-01-23 Satyaki Das <satyaki@theforce.stanford.edu>
5457
5458 * mh-seq.el (mh-thread-generate-scan-lines): Fix a little bug
5459 that would occasionally cause angles ('<' and '>') to appear at
5460 root level.
5461
54622003-01-21 Satyaki Das <satyaki@theforce.stanford.edu>
5463
5464 * mh-seq.el (mh-notate-cur): Enable overlay arrow display in text
5465 mode too.
5466
5467 * mh-e.el (mh-folder-mode): Initialize overlay-arrow-string so
5468 that a '>' is displayed in text mode.
5469
54702003-01-20 Satyaki Das <satyaki@theforce.stanford.edu>
5471
5472 * mh-utils.el (mh-scan-msg-overflow-regexp): Change the variable
5473 so that a space is always maintained in the beginning of the scan
5474 line.
5475
5476 * mh-seq.el (mh-notate-seq, mh-notate-cur): Make the functions
5477 faster by cutting down on the use of mh-goto-msg.
5478 (mh-toggle-threads): Add call to mh-notate-cur, since inserting
5479 the folder names in a search results folder screws up the
5480 location of the overlay arrow.
5481
5482 * mh-index.el (mh-index-delete-folder-headers): Position the
5483 point on a message line if possible.
5484
5485 * mh-funcs.el (mh-copy-msg): Use the mh-iterate macro to make the
5486 function faster.
5487
5488 * mh-e.el (mh-scan-folder): Reuse mh-notate-deleted-and-refiled.
5489
5490 * mh-loaddefs.el: Regenerated.
5491
5492 * mh-utils.el (mh-add-msgs-to-seq): Add a new parameter that
5493 suppresses the annotation of the sequence since it is
5494 inefficient.
5495
5496 * mh-seq.el (mh-delete-seq): Speed up the part of the function
5497 that removes the sequence notation.
5498 (mh-put-msg-in-seq, mh-notate-deleted-and-refiled): Use
5499 mh-iterate-on-messages-in-region to make the function fasters when
5500 operating on regions. The key idea is to loop over the folder
5501 buffer exactly once and do all annotations. The existing algo
5502 would walk over the buffer multiple times thereby slowing things
5503 down.
5504 (mh-iterate-on-messages-in-region): Added an extra parameter which
5505 is bound to the message index as the loop is executed.
5506 (mh-region-to-msg-list, mh-thread-delete, mh-thread-refile): Use
5507 the new mh-iterate-on-messages-in-region macro.
5508
5509 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg, mh-undo): Same
5510 as above.
5511 (mh-notate-user-sequences): Change algorithm to make notating of
5512 user sequences fast.
5513
55142003-01-19 Satyaki Das <satyaki@theforce.stanford.edu>
5515
5516 * mh-logo.xpm: New image file that contains the MH-E logo.
5517 Change foreground color to the blue in the MH-E logo.
5518
5519 * Makefile (MH-E-IMG): Add mh-logo.xpm to list of image files.
5520
5521 * mh-utils.el (mh-show-buffer-mode-line-buffer-id): Adjust it to
5522 keep space in the beginning for the logo.
5523 (mh-logo-cache): New variable that caches the logo image file
5524 location.
5525 (mh-logo-display): Display the MH-E logo on the mode line.
5526 (mh-display-msg): Display logo in mh-show-mode.
5527
5528 * mh-e.el (mh-make-folder-mode-line): Display logo in
5529 mh-folder-mode.
5530
5531 * mh-comp.el (mh-compose-and-send-mail): Display logo in
5532 mh-letter-mode.
5533
5534 * mh-loaddefs.el: Regenerated.
5535
5536 * mh-seq.el (mh-iterate-on-messages-in-region): New macro to
5537 iterate on all messages in a region.
5538 (mh-region-to-msg-list): Simplified since it uses
5539 mh-iterate-on-messages-in-region now.
5540
5541 * mh-e.el (mh-delete-msg, mh-refile-msg): Change interactive spec
5542 to pass the region that is to be deleted when appropriate.
5543 (mh-delete-msg-no-motion, mh-refile-msg, mh-undo): Operate on
5544 regions directly without creating the list of messages to be
5545 deleted/refiled.
5546 (mh-delete-a-msg, mh-refile-a-msg, mh-undo-msg): The msg
5547 parameter in these functions can now be nil. If so, the current
5548 message is deleted, refiled or undone respectively. Avoids the
5549 use of mh-goto-msg in this case and speeds up operations on
5550 regions quite a bit.
5551
55522003-01-19 Peter S Galbraith <psg@debian.org>
5553
5554 * mh-alias.el (mh-read-address): Bug Fix. In XEmacs and Emacs20,
5555 it would always prompt using "To: " instead of using the command
5556 argument (closes SF #670913).
5557
55582003-01-19 Satyaki Das <satyaki@theforce.stanford.edu>
5559
5560 * mh-utils.el (mh-folder-completion-function): If there is a
5561 +foo/bar folder and the user types foo//bar then the completion
5562 function would say a match happened without showing the
5563 normalized folder name. This change fixes that.
5564
55652003-01-18 Satyaki Das <satyaki@theforce.stanford.edu>
5566
5567 * mh-e.el (mh-rmail): Modified so that new and unseen messages
5568 are shown (closes SF #667542).
5569
55702003-01-17 Satyaki Das <satyaki@theforce.stanford.edu>
5571
5572 * mh-index.el (mh-index-generate-pretty-name): Generate nicer
5573 names. In particular all '-' characters are removed.
5574
55752003-01-16 Satyaki Das <satyaki@theforce.stanford.edu>
5576
5577 * mh-customize.el (mh-index-program): Documentation fix.
5578
5579 * mh-loaddefs.el: Regenerated.
5580
5581 * mh-customize.el (mh-index-program): Add choices for mairix and
5582 pick.
5583
5584 * mh-index.el (mh-indexer-choices): Add search interfaces for
5585 mairix and pick.
5586 (mh-index-search): Add links for mairix and pick.
5587 (mh-index-pick-folder, mh-pick-binary): Variables needed to
5588 implement pick support.
5589 (mh-pick-execute-search, mh-pick-next-result): New functions to
5590 implement pick support.
5591 (mh-mairix-binary, mh-mairix-directory, mh-mairix-folder): New
5592 variables for mairix support.
5593 (mh-mairix-execute-search, mh-mairix-next-result)
5594 (mh-mairix-regexp-builder, mh-mairix-convert-to-sop*): New
5595 functions for mairix.
5596
5597 * mh-funcs.el (mh-kill-folder): Move message to the end.
5598
5599 * mh-e.el (mh-folder-mode): Make overlay-arrow-position and
5600 overlay-arrow-string local variables so that the arrow will
5601 remain even if some other folder is visited.
5602 (mh-remove-cur-notation, mh-remove-all-notation): The test isn't
5603 required any more since overlay-arrow-position is local.
5604 (mh-goto-cur-msg): Remove overlay arrow if current message
5605 doesn't exist.
5606
5607 * mh-seq.el (mh-notate-cur): Don't need to set
5608 overlay-arrow-string any more since it is local and has been set
5609 at initialization.
5610
56112003-01-15 Satyaki Das <satyaki@theforce.stanford.edu>
5612
5613 * mh-speed.el (mh-speed-current-folder): Keep track of current
5614 folder when flists is called.
5615 (mh-speed-flists, mh-speed-parse-flists-output): Try to avoid
5616 ambiguity when folders are present with + at the end of the name.
5617 Unfortunately it can't always be avoided.
5618
5619 * mh-e.el (mh-folder-size): Remove the unnecessary error check.
5620 (mh-parse-flist-output-line): Add extra argument which
5621 occasionally avoid problems with folder names that end with '+'.
5622
5623 * mh-utils.el (mh-sub-folders-actual): Fix the folder name
5624 parsing so that it doesn't get confused by trailing '+' chars in
5625 the folder name.
5626
56272003-01-14 Satyaki Das <satyaki@theforce.stanford.edu>
5628
5629 * mh-utils.el (mh-normalize-folder-name): Enhanced so that it can
5630 now handle ".." and "." correctly during folder name completion.
5631 (mh-normalize-folder-name): Avoid error in boundary condition
5632 where the folder string is empty.
5633
56342003-01-14 Mark D. Baushke <mdb@gnu.org>
5635
5636 * mh-e.el (mh-visit-folder): Pass `current-prefix-arg' to
5637 the `mh-read-msg-range' function as the optional
5638 always-prompt-flag.
5639
56402003-01-14 Satyaki Das <satyaki@theforce.stanford.edu>
5641
5642 * mh-utils.el (mh-normalize-folder-name): New function that
5643 normalizes folder names.
5644 (mh-sub-folders): Use mh-normalize-folder-name. Also the function
5645 has been modified so that a trailing slash is only added if the
5646 folder potentially has subfolders.
5647 (mh-sub-folders-actual): Simplified since the folder has already
5648 been normalized in mh-sub-folders.
5649 (mh-remove-from-sub-folders-cache): Modified so that the cached
5650 results of two of the folders ancestors are invalidated.
5651 (mh-folder-completion-map): Ugly hack to make the error go away
5652 when minibuffer-complete-word is called.
5653 (mh-folder-completion-function): The completion function will now
5654 be more selective in adding '/' at the end of completed folder
5655 names.
5656 (mh-folder-completing-read): The folder name is normalized before
5657 return. The minibuffer-local-completion-map is shadowed to avoid
5658 error with SPC (bound to minibuffer-complete-word). We really
5659 need a better solution.
5660
56612003-01-13 Bill Wohler <wohler@newt.com>
5662
5663 * mh-seq.el: Edited comment and docstring text to conform with RFC
5664 2822 terminology. Message-ID is the header field. It contains a
5665 message identifier.
5666
56672003-01-13 Satyaki Das <satyaki@theforce.stanford.edu>
5668
5669 * mh-utils.el (mh-sub-folders): Add an argument that returns
5670 sub-folders with a / character appended at the end.
5671 (mh-folder-completion-function): Modify the function so that one
5672 tab is now sufficient to complete the folder name and add a
5673 trailing /.
5674 (mh-folder-completing-read): Remove the trailing / that the
5675 completion function now adds to the folder name. Also multiple /
5676 characters in the folder input are removed. So if the user inputs
5677 +foo///bar//baz///// then that will be converted to +foo/bar/baz.
5678 This will improve the performance of caching.
5679
5680 * mh-seq.el (mh-notate-cur): Check that a valid current message
5681 exists before trying to notate (closes SF #667331).
5682 (mh-message-id-regexp): New variable to store regexp to recognize
5683 message-ids.
5684 (mh-thread-generate): Use mh-message-id-regexp to filter out non
5685 message-id's from the References: header.
5686
56872003-01-12 Satyaki Das <satyaki@theforce.stanford.edu>
5688
5689 * mh-seq.el (mh-notate-cur): Disable overlay-arrow display if we
5690 aren't on a graphic display.
5691
56922003-01-11 Satyaki Das <satyaki@theforce.stanford.edu>
5693
5694 * mh-seq.el (mh-notate-cur): New function to notate the current
5695 message. The marker in the fringe is updated too.
5696 (mh-narrow-to-seq, mh-widen, mh-thread-inc, mh-thread-folder): Use
5697 the specialized function mh-notate-cur instead of mh-notate-seq.
5698
5699 * mh-e.el (mh-arrow-marker): New buffer local variable to store
5700 the position where the marker in the fringe is going to be
5701 displayed (closes SF #664824).
5702 (mh-folder-mode): Create a marker for the fringe.
5703 (mh-update-sequences, mh-get-new-mail, mh-goto-cur-msg): Call the
5704 specialized function mh-notate-cur instead of mh-notate-seq or
5705 mh-notate.
5706 (mh-remove-cur-notation, mh-remove-all-notation): Reset the
5707 overlay-arrow-position if needed.
5708
5709 * mh-loaddefs.el: Regenerated.
5710
57112003-01-10 Satyaki Das <satyaki@theforce.stanford.edu>
5712
5713 * mh-utils.el (mh-remove-from-sub-folders-cache): Modified so that
5714 creating nested folders doesn't produce inconsistent results.
5715 (mh-prompt-for-folder): Remove call of mh-folder-list-change-hook.
5716
5717 * mh-funcs.el (mh-kill-folder): Don't ask for confirmation if
5718 called on a folder holding index search results. Also the now
5719 removed mh-folder-list-change-hook is called no more.
5720
5721 * mh-customize.el (mh-auto-folder-collect-flag)
5722 (mh-folder-list-change-hook): Removed.
5723
5724 * mh-loaddefs.el: Regenerated.
5725
57262003-01-10 Bill Wohler <wohler@newt.com>
5727
5728 * mh-customize.el (mh-default-folder-must-exist-flag): New
5729 variable to suppress suggested folder if the folder doesn't
5730 already exist (closes SF #657096).
5731 (mh-default-folder-list): New variable that
5732 holds mapping between an address and the desired folder for
5733 filing (closes SF #657096).
5734 (mh-default-folder-prefix, mh-default-folder-must-exist-flag): In
5735 docstring, refer to documentation for mh-prompt-for-refile-folder
5736 and mh-folder-from-address.
5737 (mh-highlight-citation-p, mh-compose-insertion,
5738 (mh-insert-mail-followup-to-list, mh-index-program,
5739 (mh-identity-default): Fixed case of tags.
5740
5741 * mh-e.el (mh-folder-from-address): Use new variable
5742 mh-default-folder-must-exist-flag to return nil if this variable
5743 is t and the folder doesn't already exist. In addition, can now
5744 look up a default folder in the new variable
5745 mh-default-folder-list (closes SF #657096).
5746 (mh-prompt-for-refile-folder): In docstring, refer to
5747 documentation in mh-folder-from-address.
5748
5749 * mh-index.el (mh-swish-execute-search): Changed \..* to \\..* in
5750 the FileRules filename in the sample config file. Otherwise, the
5751 users don't see the backslash at all, and no files are indexed!
5752 (closes SF #665888).
5753
57542003-01-10 Satyaki Das <satyaki@theforce.stanford.edu>
5755
5756 * mh-seq.el (mh-thread-folder): Get headers for exactly the
5757 messages that are present. If only messages 1-10 and 3800-3900
5758 are being shown then we will now scan exactly those messages and
5759 not the full range from 1-3900 as was being done earlier.
5760 (mh-toggle-threads): When converting from threaded to normal view
5761 only the messages present in the buffer are scanned. Earlier all
5762 messages from the minimum to the maximum would be scanned (closes
5763 SF #626117).
5764
5765 * mh-pick.el (mh-search-folder): Fix typo.
5766 (mh-pick-do-search): Fix bug from cut and paste. Also set window
5767 config properly.
5768
5769 * mh-utils.el (mh-prompt-for-folder): Add new argument to allow
5770 it to accept + as a folder name. This allows the user to search
5771 all folders when "Fs" is used.
5772
5773 * mh-pick.el (mh-search-folder): Fix interactive spec of function.
5774 (mh-pick-do-search): Rewritten to call pick in one go. This will
5775 make adding pick as a default index search program easier. Also
5776 pick now accepts the same query syntax as the index search
5777 programs (closes SF #664816).
5778 (mh-next-pick-field): Removed.
5779 (mh-pick-parse-search-buffer): New function to parse the search
5780 buffer.
5781 (mh-pick-construct-regexp, mh-pick-regexp-builder): New function
5782 to produce a pick query from the parsed representation.
5783
5784 * mh-index.el (mh-index-do-search): Refactor the search pattern
5785 parser into a new function and use that instead.
5786
5787 * mh-loaddefs.el: Regenerated.
5788
57892003-01-10 Satyaki Das <satyaki@theforce.stanford.edu>
5790
5791 * mh-loaddefs.el: Regenerated.
5792
5793 * mh-utils.el (mh-remove-from-sub-folders-cache)
5794 (mh-prompt-for-folder): Replace mh-update-sub-folders-cache with
5795 mh-remove-from-sub-folders-cache.
5796 (mh-exec-cmd-daemon): Mention set-process-filter in documentation.
5797
5798 * mh-pick.el (mh-searching-function): New buffer local variable
5799 that keeps track of the default searching function to be used.
5800 (mh-pick-mode): Make mh-searching-function buffer local.
5801 (mh-search-folder): Set mh-searching-function to use pick.
5802 (mh-search-folder, mh-pick-menu, mh-pick-mode-help-messages)
5803 (mh-pick-mode, mh-do-pick-search, mh-pick-do-search): Rename
5804 mh-do-pick-search to mh-pick-do-search. But keep
5805 mh-do-pick-search as a deprecated function.
5806 (mh-do-search): New interactive function that performs the
5807 default search.
5808 (mh-pick-mode-map): Update keymap.
5809
5810 * mh-index.el (mh-index-search): Set mh-searching-function to do
5811 index search.
5812 (mh-index-new-folder): Replace mh-update-sub-folders-cache with
5813 mh-remover-from-sub-folders-cache.
5814
5815 * mh-funcs.el (mh-kill-folder): Same as above.
5816
5817 * mh-index.el (mh-index-evaluate, mh-swish++-regexp-builder):
5818 Checkdoc fixes.
5819
5820 * mh-customize.el: Fixes to make byte compiler in CVS Emacs
5821 perfectly happy.
5822
58232003-01-09 Bill Wohler <wohler@newt.com>
5824
5825 * mh-e.el (mh-folder-from-address): New function that proposes the
5826 name of a folder with an alias for the address in the current message.
5827 (mh-prompt-for-refile-folder): Use it (closes SF #657096).
5828
5829 * mh-customize.el (mh-default-folder-prefix): New variable used by
5830 mh-folder-from-address.
5831 (mh-invisible-header-fields): Edited docstring.
5832
5833 * mh-alias.el (mh-alias-address-to-alias): Added ;;;###mh-autoload
5834 cookie (used by mh-folder-from-address in mh-e.el). Edited text in
5835 comment.
5836
5837 * mh-utils.el: Provided naming conventions for buffer and buffer
5838 variable names.
5839 (mh-temp-folders-buffer): Renamed buffer to " *mh-folders*".
5840 (mh-temp-sequences-buffer): Renamed buffer to " *mh-sequences*".
5841 (mh-info-buffer): Renamed from mh-temp-info-buffer.
5842 (mh-log-buffer): New buffer variable to hold name of "*MH-E Log*"
5843 buffer which is expected to be used for the output of MH commands.
5844 Perhaps we always create this buffer at initialization and append
5845 to it rather than erase it each time?
5846
5847 * mh-e.el (mh-quit): Loop over all buffers and delete MH-E
5848 temporary and working buffers. As long as the buffer naming
5849 conventions are followed, new buffers will be automatically
5850 killed.
5851 (mh-version): Renamed mh-temp-info-buffer to mh-info-buffer.
5852
5853 * mh-comp.el (mh-insert-x-mailer): Renamed mh-temp-info-buffer to
5854 mh-info-buffer.
5855
58562003-01-09 Satyaki Das <satyaki@theforce.stanford.edu>
5857
5858 * mh-e.el (mh-folder-size): If the user doesn't have a
5859 Unseen-Sequence definition in .mh_profile then an error was
5860 produced. This change fixes that.
5861
5862 * mh-seq.el (mh-thread-generate): Replace the *mh-thread* buffer
5863 with a temporary buffer which is cleaned up when the function
5864 exits.
5865
5866 * mh-e.el (mh-prompt-for-refile-folder): New function which
5867 refactors out the intelligent folder guessing code from
5868 mh-refile-msg.
5869 (mh-refile-msg): Use mh-prompt-for-refile-folder.
5870
5871 * mh-seq.el (mh-thread-refile): Use mh-prompt-for-refile-folder to
5872 do the same intelligent destination folder guessing as
5873 mh-refile-msg (closes SF #664829).
5874
5875 * mh-utils.el (mh-folder-list, mh-make-folder-list-process)
5876 (mh-folder-list-temp, mh-folder-list-partial-line)
5877 (mh-set-folder-list): Removed.
5878 (mh-sub-folders-cache, mh-sub-folders, mh-sub-folders-actual):
5879 Moved over from mh-speed.el to implement hierarchical completion.
5880 (mh-update-sub-folders-cache): Utility function called when
5881 new folders are created or folders are removed.
5882 (mh-folder-completion-function): New function is the folder name
5883 completion function used in completing-read.
5884 (mh-folder-completing-read): A thin wrapper function that is used
5885 instead of completing-read directly. In the future we might want
5886 to allow the user a customizable variable which will turn off
5887 folders based completion.
5888 (mh-prompt-for-folder): Use mh-folder-completing-read to read in
5889 the folder name with hierachical completion (closes SF #664821).
5890
5891 * mh-speed.el (mh-speed-folders, mh-speed-folders-cache)
5892 (mh-speed-folders-actual): Moved to mh-utils.el as mh-sub-folders,
5893 mh-sub-folders-cache and mh-sub-folders-actual respectively.
5894 (mh-speed-invalidate-map, mh-speed-invalidate-map)
5895 (mh-speed-add-folder): Use the new names.
5896
5897 * mh-funcs.el (mh-kill-folder): Remove code that used to update
5898 mh-folder-list which is no longer present. Instead
5899 mh-update-sub-folders-cache is called.
5900
5901 * mh-index.el (mh-index-new-folder): Same as above.
5902
59032003-01-08 Satyaki Das <satyaki@theforce.stanford.edu>
5904
5905 * mh-utils.el (mh-exec-cmd-daemon): An argument was added which
5906 controls what is done with the process output.
5907
5908 * mh-funcs.el (mh-kill-folder): Use mh-previous-window-config to
5909 restore window configuration. Also the call to mh-exec-cmd-daemon
5910 only displays output if an error happened (closes SF #664828).
5911 (mh-rmf-daemon): Check rmf output and display it only if
5912 something went wrong.
5913 (mh-print-msg): Pass in nil argument to mh-exec-cmd-daemon.
5914
5915 * mh-comp.el (mh-redistribute, mh-send-letter): Pass in nil
5916 argument to mh-exec-cmd-daemon so that the functions will behave
5917 as before.
5918
5919 * mh-pick.el (mh-search-folder): The current window config is
5920 stored.
5921 (mh-make-pick-template): Make the message headers read-only.
5922 (mh-pick-mode-help-messages): Update help message.
5923 (mh-do-pick-search): Fix problem when buffer isn't showing any
5924 messages.
5925 (mh-next-pick-field): Use buffer-substring-no-properties is
5926 better.
5927 (mh-pick-mode-map): Add key bindings (partially addresses
5928 SF #664816)
5929
5930 * mh-index.el (mh-indexer-choices): Add a new field for each
5931 index program choice. If it is non-nil then it is the name of a
5932 function that given a lisp expression to search for generates a
5933 pattern that is acceptable to the search program.
5934 (mh-index-regexp-builder): New variable that stores the function
5935 to be used to convert from the lisp expression syntax to
5936 something that the search program understands.
5937 (mh-index-generate-pretty-name): Generalized so that it can take
5938 a list of strings as input.
5939 (mh-index-search): Modified so that if the configured program has
5940 a corresponding regexp-builder then a search buffer like pick
5941 search is produced. Otherwise the previous behavior is maintained.
5942 (mh-index-do-search): New interactive function that takes the
5943 contents of the search buffer, generates an appropriate query and
5944 produces the search results buffer by calling mh-index-search.
5945 (mh-replace-string, mh-index-parse-search-regexp)
5946 (mh-index-add-implicit-ops, mh-index-evaluate): New functions
5947 which parses the infix search expression that the user enters. A
5948 parse tree from which queries for different search programs can
5949 be produced is produced.
5950 (mh-swish++-regexp-builder, mh-swish++-print-regexp): Takes the
5951 internal form of the query and produces input suitable for
5952 swish++.
5953
5954 * mh-loaddefs.el: Regenerated.
5955
59562003-01-08 Bill Wohler <wohler@newt.com>
5957
5958 * Makefile (emacs-logs): New target for viewing CVS Emacs logs.
5959 Useful to see if an Emacs developer has changed MH-E.
5960
5961 * MH-E-NEWS: Fixed case of MH-E in the "Changes" title.
5962
5963 * mh-utils.el (mh-temp-info-buffer): New variable to hold name of
5964 buffer that contains version info.
5965
5966 * mh-e.el (mh-version): Use mh-temp-info-buffer instead of
5967 mh-temp-buffer since version information was getting clobbered by
5968 the aliasing code before it could be seen (closes SF #664467).
5969 (mh-quit): Delete mh-temp-info-buffer.
5970
5971 * mh-comp.el (mh-insert-x-mailer): Use mh-temp-info-buffer to find
5972 version info instead of mh-temp-buffer. You kind of need this
5973 patch to send mail.
5974
59752003-01-07 Bill Wohler <wohler@newt.com>
5976
5977 * mh-e.el (Version, mh-version): Set to 7.1+cvs.
5978
59792003-01-07 Bill Wohler <wohler@newt.com>
5980
5981 Released MH-E version 7.1.
5982
5983 * MH-E-NEWS, README: Updated for release 7.1.
5984
5985 * mh-e.el (Version, mh-version): Updated for release 7.1.
5986
59872003-01-07 Bill Wohler <wohler@newt.com>
5988
5989 * mh-customize.el (mh-auto-folder-collect-flag,
5990 mh-alias-system-aliases, mh-alias-insert-file): Edited docstrings.
5991
5992 * Makefile (MH-E-IMG): Added alias.pbm and alias.xpm.
5993
5994 * mh-alias.el (mh-alias-insert-file, mh-alias-add-alias): Fixed
5995 checkdoc warnings.
5996
59972003-01-07 Satyaki Das <satyaki@theforce.stanford.edu>
5998
5999 * mh-utils.el (mh-search-from-end): New function that is used to
6000 replace our usage of the CL function search.
6001 (font-lock): The library is loaded to avoid compilation warning
6002 in CVS Emacs.
6003
6004 * mh-speed.el (mh-speed-goto-folder, mh-speed-add-folder)
6005 (mh-speed-extract-folder-name, mh-speed-invalidate-map): Use
6006 mh-search-from-end instead of search.
6007
6008 * mh-seq.el (mh-thread-remove-parent-link): Use loop instead of
6009 remove*.
6010 (mh-thread-process-in-reply-to): Use mh-search-from-end instead
6011 of search.
6012
6013 * mh-index.el (mh-md5-parser): Fix name of function.
6014 (mh-index-update-single-msg, mh-index-update-maps): Avoid using
6015 destructuring-bind since Emacs-20.7 can't handle this particular
6016 usage.
6017 (mh-namazu-next-result): Use mh-search-from-end instead of
6018 search.
6019
6020 * mh-e.el (recursive-load-depth-limit): Add a defvar since CVS
6021 emacs which doesn't have the variable defined causes a compiler
6022 warning.
6023 (mh-refile-a-msg): Rewritten to avoid using pushnew.
6024 (mh-undo-msg): Use loop instead of remove-if.
6025
6026 * mh-comp.el (mh-show-buffer-message-number): Use
6027 mh-search-from-end instead of search.
6028
60292003-01-01 Satyaki Das <satyaki@theforce.stanford.edu>
6030
6031 * mh-e.el (mh-visit-folder): Modified so that if RANGE is nil then
6032 all messages are displayed. Documentation modified so that this is
6033 explicitly stated.
6034 (mh-visit-folder): Really fix it this time.
6035
60362003-01-01 Mark D Baushke <mdb@gnu.org>
6037
6038 * mh-alias.el (mh-alias-from-has-no-alias-p): Needs the
6039 mh-autoload comment or mh-customize may have problems finding the
6040 function.
6041
6042 * mh-loaddefs.el: Regenerated.
6043
60442002-12-28 Satyaki Das <satyaki@theforce.stanford.edu>
6045
6046 * mh-index.el (mh-namazu-execute-search): Fix bug in documentation.
6047
60482002-12-28 Bill Wohler <wohler@newt.com>
6049
6050 * mh-comp.el (mh-letter-mode): Mention mh-compose-insertion
6051 variable in docstring, explain how to expand directives, and
6052 don't mention mh-mhn-compose-insertion which isn't used directly
6053 any more.
6054 (mh-send-letter): Mention that X-Mailer and X-Face are inserted
6055 automatically so that a user isn't tempted to do so himself in
6056 mh-before-send-letter-hook.
6057 (mh-insert-letter): Use "variable" prefix for mh-invisible-headers
6058 now that we have both a function and a variable. Clarified
6059 language a bit.
6060
60612002-12-26 Satyaki Das <satyaki@theforce.stanford.edu>
6062
6063 * mh-utils.el (mh-show-xface-function): Only load x-face-e21 if
6064 the emacs is not XEmacs.
6065
6066 * mh-index.el (mh-index-new-folder): The folder created should
6067 always be added to mh-folder-list. Otherwise folder name
6068 completion doesn't find the new folder created.
6069
60702002-12-24 Satyaki Das <satyaki@theforce.stanford.edu>
6071
6072 * mh-customize.el (mh-clean-message-header-flag)
6073 (mh-visible-headers, mh-invisible-headers)
6074 (mh-invisible-header-fields-set): Reworded to satisfy checkdoc.
6075
6076 * mh-loaddefs.el: Regenerated.
6077
6078 * mh-e.el (mh-inc-folder, mh-visit-folder, mh-read-msg-range):
6079 Handle nil value of mh-large-folder properly.
6080
6081 * mh-customize.el (mh-tool-bar-show-set, mh-tool-bar-letter-set)
6082 (mh-tool-bar-folder-set, mh-tool-bar-folder-buttons)
6083 (mh-invisible-headers, mh-invisible-header-fields-set): Checkdoc
6084 fixes.
6085 (mh-large-folder): Updated to allow for infinity. If
6086 mh-large-folder is nil then all folders are deemed small.
6087
60882002-12-23 Satyaki Das <satyaki@theforce.stanford.edu>
6089
6090 * mh-e.el (mh-inc-folder, mh-visit-folder): Emit a message if
6091 threading was suppressed because the number of messages exceed
6092 mh-large-folder.
6093
60942002-12-23 Peter S Galbraith <psg@debian.org>
6095
6096 * mh-utils.el (mh-invisible-headers): Deleted. Moved to
6097 mh-customize.el
6098
6099 * mh-customize.el (mh-invisible-header-fields): New
6100 defcustom. Simple user interface to change mh-invisible-headers.
6101 (mh-invisible-header-fields-set): New function called when
6102 mh-invisible-header-fields is set.
6103 (mh-invisible-headers): New function. Does the actual work of
6104 building the variable mh-invisible-headers from
6105 mh-invisible-header-fields.
6106 (mh-invisible-headers): defvar moved from mh-utils.el
6107
61082002-12-22 Satyaki Das <satyaki@theforce.stanford.edu>
6109
6110 * mh-speed.el (mh-speed-folder-size): Removed. Something very
6111 similar appears as mh-folder-size.
6112 (mh-speed-view): Simplified since the range selection logic has
6113 been moved to mh-read-msg-range.
6114 (mh-speed-parse-flists-output-line): Moved to mh-e.el as
6115 mh-parse-flist-output-line.
6116
6117 * mh-funcs.el (mh-pack-folder): Use the new mh-read-msg-range.
6118
6119 * mh-e.el (mh-rescan-folder): Use the new mh-read-msg-range.
6120 (mh-parse-flist-output-line): Moved from mh-speed.el where this
6121 function was called mh-speed-parse-flists-output-line.
6122 (mh-folder-size): Renamed from mh-speed-folder-size. The function
6123 has been made more general and can be called from any buffer and
6124 not just the speedbar buffer.
6125 (mh-visit-folder): Use the new mh-read-msg-range (addresses SF
6126 #655891).
6127 (mh-read-msg-range): Rewritten.
6128
61292002-12-21 Satyaki Das <satyaki@theforce.stanford.edu>
6130
6131 * mh-seq.el (mh-delete-subject-or-thread): New interactive
6132 function that intelligently deletes messages based on threading,
6133 if the folder is threaded, or on subject if folder isn't threaded.
6134
6135 * mh-utils.el (mh-show-delete-subject-or-thread): New interactive
6136 function, callable from the show buffer, to intelligently delete
6137 messages based on threading info or subject.
6138 (mh-show-mode-map): Change binding of "k" to call
6139 mh-show-delete-subject-or-thread.
6140
6141 * mh-e.el (mh-folder-mode-map): Change binding of "k" to call
6142 mh-delete-subject-or-thread.
6143
6144 * mh-comp.el (mh-letter-mode-map): Add key binding for
6145 mh-insert-identity.
6146
6147 * mh-loaddefs.el: Regenerated.
6148
61492002-12-21 Peter S Galbraith <psg@debian.org>
6150
6151 * mh-customize.el (mh-tool-bar-letter-set): Bug fix. The
6152 `tool-bar-add-item-from-menu' items were broken. I can't use my
6153 constants there.
6154
61552002-12-21 Peter S Galbraith <psg@debian.org>
6156
6157 * mh-alias.el (mh-alias-insert-file): Bug fix. I never checked
6158 that an AliasFile entry existed in .mh_profile.
6159
61602002-12-21 Peter S Galbraith <psg@debian.org>
6161
6162 * mh-customize.el (mh-alias-insertion-location): New defustom.
6163 Specifies where new aliases are entered in alias files.
6164
6165 * mh-alias.el (mh-alias-add-alias-to-file): Use it.
6166
61672002-12-21 Peter S Galbraith <psg@debian.org>
6168
6169 * mh-alias.el (mh-alias-add-alias-to-file): If ALIAS matches
6170 exactly, prompt to [i]nsert before old value or [a]ppend after it.
6171 (mh-alias-insert-file): Make sure we don't edit the passwd file.
6172 Add optional argument for alias; If ALIAS is specified and it
6173 already exists, try to return the file that contains it.
6174 (mh-alias-which-file-has-alias): New function. Return the name of
6175 writable file which defines ALIAS from list FILE-LIST.
6176 (mh-alias-add-alias): Remove prompts for case of alias already
6177 defined; done in mh-alias-add-alias-to-file.
6178
61792002-12-21 Satyaki Das <satyaki@theforce.stanford.edu>
6180
6181 * mh-speed.el (mh-speed-folders-actual): Fix bug in parsing of
6182 folder names that have spaces in them. The original function would
6183 truncate the folder name at the first space.
6184 (mh-speed-flists): Add -sequence option to flists. This guards
6185 against the user specifying something other than the unseen
6186 sequence in his .mh_profile.
6187 (mh-speed-parse-flists-output-line): New function that parses a
6188 single line in the output of flists to find the folder name and
6189 the counts of unseesn and total messages.
6190 (mh-speed-parse-flists-output): Fix parsing bug which truncates
6191 the folder names at the first space.
6192
6193 * mh-index.el (mh-index-generate-pretty-name): New function which
6194 generates a nicer name for the search results. It trims white
6195 space at the beginning and end and replaces white space with
6196 underscores within the search regexp.
6197 (mh-index-search): Use mh-index-generate-pretty-name.
6198
6199 * mh-loaddefs.el: Regenerated.
6200
62012002-12-20 Satyaki Das <satyaki@theforce.stanford.edu>
6202
6203 * mh-index.el (mh-index-new-folder): Add new folder to
6204 mh-folder-list to enable name completion.
6205 (mh-glimpse-execute-search, mh-swish-execute-search)
6206 (mh-swish++-execute-search): Fix documentation.
6207
6208 * mh-seq.el (mh-thread-generate): Fixed a stupid bug where the wrong
6209 folder could get 'scan'ed when generating the threaded view.
6210
6211 * mh-index.el (mh-index-search): If optional prefix arg is given
6212 then the search in the current index buffer is redone.
6213 (mh-glimpse-execute-search, mh-swish-execute-search)
6214 (mh-namazu-execute-search): Documentation fixes.
6215
6216 * mh-e.el (mh-index-previous-search): New buffer local variable
6217 stores parameters of search that created the buffer.
6218 (mh-folder-mode): Make mh-index-previous-search buffer local.
6219 (mh-visit-folder): Tweak the function so that only a single window
6220 with the folder buffer is shown if mh-showing-mode is nil.
6221
6222 * mh-loaddefs.el: Regenerated.
6223
62242002-12-19 Peter S Galbraith <psg@debian.org>
6225
6226 * mh-alias.el (mh-alias-add-alias): Bug fix.
6227
62282002-12-19 Peter S Galbraith <psg@debian.org>
6229
6230 * mh-alias.el (mh-alias-add-alias): New interactive command. Add
6231 ALIAS for ADDRESS in personal alias file.
6232 (mh-alias-grab-from-field): New interactive command. Add ALIAS for
6233 ADDRESS in personal alias file.
6234 (mh-alias-add-address-under-point): New interactive
6235 command. Insert an alias for email address under point.
6236 (mh-alias-suggest-alias): New function. Suggest an alias for STRING.
6237 (mh-alias-insert-file): New function. Return the alias file to
6238 write a new entry in.
6239 (mh-alias-address-to-alias): New function. Return the ADDRESS
6240 alias if defined, or nil."
6241 (mh-alias-from-has-no-alias-p): New function. Return t is From has
6242 no current alias set. Used as tool-bar button enable function.
6243 (mh-alias-add-alias-to-file): New function. Add ALIAS for ADDRESS
6244 in alias FILE without alias check or prompts.
6245
6246 * alias.xpm, alias.pbm: New tool-bar icon for
6247 mh-alias-grab-from-field.
6248
6249 * mh-e.el (mh-folder-line-matches-show-buffer-p): New function.
6250 Return t if the message under point in folder-mode is in the show
6251 buffer.
6252
6253 * mh-utils.el (mh-goto-address-find-address-at-point): New
6254 function copied from goto-addr.el, which we don't want to
6255 force-load on users. Find e-mail address around or before point.
6256 (mh-address-mail-regexp): New defvar. A regular expression
6257 probably matching an e-mail address.
6258
6259 * mh-customize.el (mh-alias-insert-file): New defcustom.
6260 Filename to use to store new MH-E aliases.
6261 (mh-tool-bar-folder-buttons): Enable mh-tool-bar-item-alias icon.
6262
6263 * mh-comp.el (mh-extract-from-header-value): New function.
6264 Extract From: string from header.
6265
62662002-12-19 Satyaki Das <satyaki@theforce.stanford.edu>
6267
6268 * mh-index.el (mh-index-update-single-msg): New defvar controls
6269 max number of command line args.
6270 (mh-index-execute): New function which is to be used
6271 instead of xargs so that we don't give the shell too many command
6272 line args.
6273 (mh-index-update-maps): Use mh-index-execute instead of xargs.
6274 (mh-index-search): Remove unused code. Also the first message in
6275 folder buffer is made current.
6276
62772002-12-18 Peter S Galbraith <psg@debian.org>
6278
6279 * mh-loaddefs.el: Regenerated.
6280
6281 * mh-comp.el (mh-letter-tool-bar-map): Moved to mh-customize.el
6282
6283 * mh-e.el (mh-folder-tool-bar-map): Moved to mh-customize.el
6284
6285 * mh-utils.el (mh-get-msg-num): autoloaded.
6286 (mh-show-tool-bar-map): Moved to mh-customize.el
6287
6288 * mh-customize.el (mh-tool-bar-item-*): 33 new defconsts for
6289 tool-bar setup and customization.
6290 (mh-tool-bar-folder-buttons-set): New function to setup the
6291 tool-bar after customization.
6292 (mh-tool-bar-folder-buttons): New defcustom to specify which icons
6293 appears in the tool-bar.
6294 (mh-tool-bar-letter-buttons-set): New function to setup the
6295 tool-bar after customization.
6296 (mh-tool-bar-letter-buttons): New defcustom to specify which icons
6297 appears in the tool-bar.
6298 (mh-tool-bar-show-set): New function to setup mh-letter-tool-bar-map.
6299 (mh-tool-bar-letter-set): New function to setup
6300 mh-letter-tool-bar-map.
6301
63022002-12-18 Satyaki Das <satyaki@theforce.stanford.edu>
6303
6304 * mh-e.el (mh-folder-mode-map): Change entries for "\t", "\M-\t"
6305 and backtab to call mh-index-next-folder and
6306 mh-index-previous-folder as appropriate.
6307
6308 * mh-index.el (mh-index-next-folder, mh-index-previous-folder):
6309 New interactive functions which jumps to search results of next
6310 and previous folders respectively.
6311
6312 * mh-loadddefs.el: Regenerated.
6313
6314 * mh-index.el (mh-index-delete-folder-headers): Arrange for
6315 mh-goto-cur-msg to just go to the current message.
6316
6317 * mh-e.el (mh-visit-folder): Since mh-scan-folder erases the whole
6318 buffer anyway, we don't need to delete the folder headers. Also
6319 index-data is non-nil only when the buffer folder doesn't exist.
6320 So we need to call mh-make-folder.
6321 (mh-folder-mode): Fix bug in that mh-index-checksum-origin-map was
6322 not being made buffer local!
6323
63242002-12-17 Satyaki Das <satyaki@theforce.stanford.edu>
6325
6326 * mh-e.el (mh-visit-folder): Fix bug.
6327
6328 * mh-index.el (mh-md5sum-buffer): Buffer from which md5sum is run.
6329 (mh-index-folder-first, mh-index-folder-last)
6330 (mh-index-original-msg-list): Convenience macros aren't needed
6331 anymore since the data structure has been changed.
6332 (mh-index-update-single-msg): New function to update maps that
6333 relate MD5 checksums to actual messages and vice-versa for a
6334 single message.
6335 (mh-index-update-maps): Do the above for all messages. If some
6336 messages don't have MD5 checksums, they are annotated with the
6337 result of md5sum.
6338 (mh-index-search): Updated for the new version of mh-index-data.
6339 (mh-msg-exists-p): New function to test a message exists.
6340 (mh-index-insert-folder-headers): Updated for new mh-index-data.
6341 (mh-index-delete-folder-headers): New function used to eliminate
6342 original folder names from the buffer and make it look like a
6343 plain folder buffer. This is used from mh-process-commands.
6344 (mh-index-visit-folder): Use new version of mh-index-data.
6345 (mh-index-match-checksum): New function which checks if the
6346 X-MHE-Checksum header of a message matches.
6347 (mh-index-execute-commands): New function that rmm's the original
6348 messages. Then after mh-execute-commands executes it will seem
6349 that the original messages were executed upon. This completes the
6350 fix of SF #623321.
6351 (mh-checksum-buffer): Renamed from mh-md5sum-buffer.
6352 (mh-checksum-cmd, mh-checksum-parser): New globals to allow
6353 different checksum programs to be used.
6354 (mh-checksum-choose): New functions to find a checksum program.
6355 (mh-openssl-parser, mh-md5sum-parser, mh-md5-parser): Functions to
6356 parse the output of md5, md5sum and openssl.
6357 (mh-index-update-maps): Use checksum parsing function.
6358 (mh-index-search): Set checksum choice. Add a call to recenter,
6359 otherwise the window point in the index buffer doesn't get set
6360 properly.
6361
6362 * mh-funcs.el (mh-pack-folder, mh-sort-folder): Enable these
6363 functions in folders created by index search.
6364
6365 * mh-e.el (mh-index-msg-checksum-map)
6366 (mh-index-checksum-origin-map): New buffer local variables that
6367 keep track of message checksums (used to implement
6368 refiling/deletion for folders created by index folders).
6369 (mh-last-msg): Make the function behave like mh-first-msg.
6370 (mh-visit-folder): Add new optional argument which initializes
6371 folders created by mh-index-search.
6372 (mh-folder-mode): Make the variables mh-index-msg-checksum-map and
6373 mh-index-checksum-origin-map buffer local.
6374 (mh-process-commands): Call mh-index-execute-commands when called
6375 from an index search buffer. This will reflect the changes being
6376 made in the search folder to the original folders.
6377
6378 * mh-loaddefs.el: Regenerated.
6379
63802002-12-16 Satyaki Das <satyaki@theforce.stanford.edu>
6381
6382 * mh-index.el (mh-index-insert-folder-headers): Fix a bug which
6383 caused the folder buffer to be marked as modified after rescanning
6384 an index folder.
6385
63862002-12-15 Satyaki Das <satyaki@theforce.stanford.edu>
6387
6388 * mh-e.el (mh-visit-folder): The function should insert folder
6389 names if it is visiting a folder created by index search.
6390
6391 * mh-index.el (mh-index-insert-folder-headers): The function now
6392 maintains the old value of buffer-modified-p and temporarily makes
6393 the buffer writable.
6394
6395 * mh-utils.el (mh-show-index-visit-folder): New interactive
6396 function callable from show buffer that displays search results
6397 from one folder.
6398 (mh-show-mode-map): Key binding for "v".
6399
6400 * mh-speed.el: Fix credits.
6401 (mh-index-folder-speedbar-buttons)
6402 (mh-index-show-speedbar-buttons)
6403 (mh-index-folder-speedbar-key-map)
6404 (mh-index-show-speedbar-key-map)
6405 (mh-index-folder-speedbar-menu-items)
6406 (mh-index-show-speedbar-menu-items): Removed since the modes
6407 mh-index-folder-mode and mh-index-show-mode no longer exist.
6408 (mh-speed-extract-folder-name): Remove the bits about
6409 mh-index-folder-mode and mh-index-show-mode.
6410
6411 * mh-seq.el (mh-copy-seq-to-eob): Updated to work properly with
6412 index search results.
6413 (mh-region-to-msg-list): Skip over non-scan lines.
6414 (mh-thread-inc, mh-thread-add-spaces, mh-thread-folder): Skip
6415 non-scan lines when populating mh-thread-scan-line-map.
6416 (mh-thread-folder, mh-toggle-threads): Move the check for buffer
6417 modification from mh-thread-folder to mh-toggle-threads.
6418 (mh-toggle-threads): When returning to unthreaded view insert the
6419 folder names if called from a index folder.
6420
6421 * mh-index.el: Fix credits and update commentary.
6422 (font-lock-defaults, mh-index-buffer, mh-index-show-buffer)
6423 (mh-index-ma-x-msg-index, mh-index-other-buffer)
6424 (mh-index-matches, mh-index-previous-window-configuration)
6425 (mh-index-current-msg, mh-index-folder-mode-keymap)
6426 (mh-index-button-map, mh-index-folder-mode-help-messages): Remove
6427 eliminated variables.
6428 (mh-index-folder): New variable sets the MH folder under which the
6429 index searches are stored.
6430 (mh-index-folder-first, mh-index-folder-last)
6431 (mh-index-original-msg-list): Convenience macros used to pull data
6432 elements out of a list. If needed setf can be used to change them
6433 as well.
6434 (mh-index-search): Rewritten to create real folders where all the
6435 normal folder operation. This partially fixes SF #623321 (refiles
6436 and deletes doesn't work on original messages).
6437 (mh-index-find-max-width, mh-index-search-again)
6438 (mh-index-insert-scan, mh-index-callback, mh-index-search)
6439 (mh-index-notate, mh-index-show, mh-index-header-display)
6440 (mh-index-next, mh-index-folder-mode, mh-index-show-mode):
6441 Functions, macros and modes removed.
6442 (mh-folder-exists-p): New function to check if a folder exists.
6443 (mh-index-new-folder): Generate a new folder name from a given
6444 base string that mimics the way emacs generates buffer names.
6445 (mh-index-insert-folder-headers): Insert folder names among the
6446 search results.
6447 (mh-index-visit-folder): New interactive function to show the
6448 search results of one individual folder.
6449 (mh-swish++-execute-search): Update documentation.
6450
6451 * mh-funcs.el (mh-pack-folder, mh-sort-folder): Disable these
6452 functions if index search results are being viewed.
6453
6454 * mh-e.el (mh-folder-font-lock-keywords): Add highlight for
6455 folder.
6456 (mh-index-data): New buffer local variable that will be used to
6457 store info about index search results.
6458 (mh-rescan-folder): Implement rescanning for index search results.
6459 (mh-folder-mode): Make mh-index-data buffer local.
6460 (mh-remove-all-notation): Modified to take into account not all
6461 lines in the folder buffer are normal scan lines.
6462 (mh-folder-mode-map): Add key binding for "v" to jump to original
6463 folder narrowed to search results.
6464
6465 * mh-customize.el (mh-index-folder-face): Make it bold so that it
6466 will look like before.
6467
6468 * mh-loaddefs.el: Regenerated.
6469
64702002-12-12 Satyaki Das <satyaki@theforce.stanford.edu>
6471
6472 * mh-seq.el (mh-map-to-seq-msgs): Modified so that it can be given
6473 a list of messages in addition to a sequence.
6474 (mh-region-to-sequence, mh-region-to-msg-list): The function
6475 mh-region-to-msg-list replaces mh-region-to-sequence. The new
6476 function avoids creating a dummy sequence in MH-E.
6477 (mh-thread-delete, mh-thread-refile, mh-put-msg-in-seq): Modified
6478 to use mh-region-to-msg-list.
6479
6480 * mh-funcs.el (mh-copy-msg): Modified to use mh-region-to-msg-list.
6481
6482 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Modified to use
6483 mh-region-to-msg-list.
6484
6485 * mh-comp.el (mh-forward): Modified to use mh-region-to-msg-list.
6486 The buffer-local variable mail-header-separator is no longer
6487 bound. This fixes a bug where the default value of
6488 mail-header-separator gets used if mh-forward is called in a fresh
6489 emacs session.
6490 (mh-annotate-msg): Update this so that it will handle message
6491 lists too.
6492 (mh-insert-letter): Make the test stronger. Since %d is being used
6493 the argument better be an integer.
6494
6495 * mh-loaddefs.el: Regenerated.
6496
64972002-12-11 Satyaki Das <satyaki@theforce.stanford.edu>
6498
6499 * mh-funcs.el (mh-copy-msg): Add support for transient-mark-mode.
6500 If mark is active and transient-mark-mode is enabled then all the
6501 messages in the region are copied.
6502
6503 * mh-seq.el (mh-list-sequences): Use mh-coalesce-msg-list to print
6504 messages in sequence nicely. The prompt for the folder is removed
6505 (the current folder is always used) and the output is made nicer
6506 by not overflowing the screen width.
6507
6508 * mh-loaddefs.el: Regenerated.
6509
65102002-12-09 Satyaki Das <satyaki@theforce.stanford.edu>
6511
6512 * mh-comp.el (mh-letter-complete): Checkdoc fix.
6513
6514 * mh-seq.el (mh-thread-current-indentation-level): New function
6515 which returns the thread indentation level of current message.
6516 (mh-thread-next-sibling, mh-thread-previous-sibling): New
6517 interactive functions to jump to the next and previous siblings in
6518 thread tree respectively.
6519 (mh-thread-immediate-ancestor): New function to jump to ancestor
6520 of current message in thread tree.
6521 (mh-thread-ancestor): New interactive function to jump to
6522 immediate ancestor or to root message of current thread depending
6523 on optional argument.
6524
6525 * mh-utils.el (mh-show-thread-ancestor)
6526 (mh-show-thread-next-sibling, mh-show-thread-previous-sibling):
6527 Interactive functions callable from the show buffer.
6528 (mh-show-thread-map): Bindings for Tu, Tp and Tn.
6529
6530 * mh-e.el (mh-thread-map): Bindings for Tu, Tp and Tn.
6531
6532 * mh-loaddefs.el: Regenerated.
6533
65342002-12-09 Satyaki Das <satyaki@theforce.stanford.edu>
6535
6536 * mh-seq.el (mh-region-to-sequence): Change name of region
6537 sequence created to 'mhe-region. This avoids any chance of
6538 collision with actual MH sequences.
6539 (mh-put-msg-in-seq, mh-thread-delete, mh-thread-refile): Change
6540 name of region sequence used to 'mhe-region. Also delete the
6541 'mhe-region sequence when done.
6542
6543 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Same as above.
6544
6545 * mh-comp.el (mh-forward): Same as above.
6546
6547 * mh-loaddefs.el: Regenerated.
6548
65492002-12-08 Bill Wohler <wohler@newt.com>
6550
6551 * mh-alias.el: Edited documentation. Broke up file into 2
6552 sections: Alias Loading and Alias Expansion. Made terminology
6553 consistent (replaced expand, substitute, and translate with
6554 expand).
6555 (mh-alias-reload): Brought message in line with coding conventions
6556 and made more concise too.
6557 (mh-alias-translate): Renamed to mh-alias-expand.
6558 (mh-alias-substitute-aliases-flag): Renamed to
6559 mh-alias-expand-aliases-flag.
6560 (mh-alias-reload-local-users): Renamed to mh-alias-local-users.
6561 Now just returns an alist of local users rather than have
6562 side-effects.
6563 (mh-alias-reload): Set timestamp at beginning of function to catch
6564 edge case when alias added just after ali runs. Changed logic to
6565 reflect return value of mh-alias-local-users.
6566
6567 * mh-customize.el (mh-alias-substitute-aliases-flag): Renamed to
6568 mh-alias-expand-aliases-flag.
6569 (mh-alias-local-users): Fixed documentation.
6570
6571 * mh-loaddefs.el: Regenerated
6572
65732002-12-08 Satyaki Das <satyaki@theforce.stanford.edu>
6574
6575 * mh-e.el (require): Load Gnus at compile time so that the
6576 constant gnus-version is defined when MH-E is being compiled.
6577 (mh-macro-expansion-time-gnus-version, mh-run-time-gnus-version):
6578 Use the constant gnus-version instead of the function gnus-version
6579 to find out about gnus version information.
6580 (gnus-version): Remove the autoload since it is not needed any
6581 more.
6582
65832002-12-08 Bill Wohler <wohler@newt.com>
6584
6585 * mh-e.el (mh-version): Moved compilation information in front of
6586 Emacs information. The idea is that you start at MH-E and move
6587 outwards. Show N/A if Gnus not compiled (be explicit). Matched
6588 coding style with other output statements. (Aside: not that
6589 efficiency matters here, but fewer calls to format have to be
6590 faster, right? ;-). Matched output style of old output to new
6591 statement--liked Satyaki's indentation better ;-).
6592
65932002-12-08 Satyaki Das <satyaki@theforce.stanford.edu>
6594
6595 * mh-e.el (gnus-version): Autoload the function for use in
6596 mh-version.
6597 (mh-macro-expansion-time-gnus-version): New macro that finds the
6598 Gnus version at macro expansion time.
6599 (mh-run-time-gnus-version): New function to find the Gnus version
6600 at run time.
6601 (mh-version): Add information about Gnus versions available at
6602 compile time and run time.
6603
66042002-12-07 Peter S Galbraith <psg@debian.org>
6605
6606 * mh-alias.el (mh-alias-ali): Add optional argument. if USER is
6607 t, then assume ALIAS is an address and call ali with option -user.
6608
6609 * mh-alias.el (mh-alias-filenames): if ARG is t, appends list of
6610 files from `mh-alias-system-aliases' to output list obtained from
6611 mhparam output user list only.
6612 (mh-alias-tstamp): Use it.
6613
66142002-12-05 Satyaki Das <satyaki@theforce.stanford.edu>
6615
6616 * mh-mime.el (mh-inline-vcard-p): A new function which decides if
6617 a vcard should be displayed inline.
6618 (mh-mime-display-single): Use mh-inline-vcard-p to display
6619 attached vcard as a signature if no other signature is present
6620 (this partially addresses SF #649216).
6621
66222002-12-05 Peter S Galbraith <psg@debian.org>
6623
6624 * mh-comp.el (mh-send-letter): Edits docs for mh-mml-to-mime
6625 getting run if variable `mh-mml-compose-insert-flag' is set.
6626 (mh-get-header-field): use buffer-substring-no-properties instead
6627 of buffer-substring.
6628
66292002-12-04 Peter S Galbraith <psg@debian.org>
6630
6631 * mh-loaddefs.el: Regenerated.
6632
6633 * mh-customize.el (mh-customize): Add ;;;###mh-autoload tag.
6634
66352002-12-04 Peter S Galbraith <psg@debian.org>
6636
6637 * mh-loaddefs.el: Regenerated.
6638
6639 * mh-comp.el (mh-letter-complete): New command to do alias or word
6640 completion in letter-mode.
6641 (mh-letter-mode-map): Add \M-\t binding for mh-letter-complete.
6642
6643 * mh-alias.el (mh-alias-letter-mode-expand-alias-hook): Obsolete.
6644 Replaced by mh-letter-complete command.
6645 (mh-alias-reload-maybe): New function to rebuild alias table if
6646 out of date.
6647 (mh-alias-letter-expand-alias): No longer interactive. Use
6648 mh-letter-complete instead.
6649
66502002-12-04 Peter S Galbraith <psg@debian.org>
6651
6652 * mh-customize.el (mh-letter-complete-function): New defcustom.
6653 Function to call when completing outside of fields specified to
6654 aliases.
6655
6656 * mh-alias.el (mh-alias-filenames):
6657 s/mh-mhparam-component/mh-profile-component/
6658 (mh-profile-component): Move to mh-utils.el and make interactive.
6659 (mh-read-address): Make it autoloaded.
6660
6661 * mh-loaddefs.el: Regenerated.
6662
6663 * mh-comp.el (mh-read-address): Removed. Replaced by mh-alias
6664 version.
6665
6666 * mh-utils.el (mh-profile-component): Moved from mh-alias.el.
6667
66682002-12-04 Satyaki Das <satyaki@theforce.stanford.edu>
6669
6670 * mh-seq.el (mh-msg-is-in-seq): Formatting change.
6671
6672 * mh-index.el (mh-index-insert-scan): Remove unused variable.
6673
66742002-12-04 Bill Wohler <wohler@newt.com>
6675
6676 * mh-loaddefs.el: Regenerated.
6677
6678 * Makefile (MH-E-SRC): Moved mh-loaddefs.el into MH-E-LOADDEFS as
6679 this was causing a cycle.
6680 (MH-E-LOADDEFS): New variable to house mh-loaddefs.el.
6681 (emacs): Reintroduced autoloads.
6682 (autoloads): We're baaa-aack!
6683 (dist, install-emacs): Use MH-E-LOADDEFS.
6684
6685 * mh-comp.el (mh-customize): Moved to mh-customize.el.
6686
6687 * mh-customize.el (mh-customize): Moved here from mh-comp. Makes
6688 more sense, doesn't it?
6689
6690 * mh-alias.el, mh-comp.el, mh-e.el, mh-index.el, mh-mime.el,
6691 mh-pick.el, mh-speed.el: Added mh-autoload cookie to all
6692 interactive functions.
6693
66942002-12-04 Satyaki Das <satyaki@theforce.stanford.edu>
6695
6696 * Makefile (world): Remove target.
6697 (mh-loaddefs.el): Add comment that only GNU Emacs can be used to
6698 regenerate mh-loaddefs.el.
6699
6700 * mh-make.el: Removed.
6701
67022002-12-04 Mark D. Baushke <mdb@gnu.org>
6703
6704 * mh-e.el (recursive-load-depth-limit): Only modify the limit
6705 if it is an integer.
6706
67072002-12-04 Peter S Galbraith <psg@debian.org>
6708
6709 * mh-utils.el (mh-header-field-beginning): New function. Move to
6710 the beginning of the current header field.
6711
67122002-12-04 Satyaki Das <satyaki@theforce.stanford.edu>
6713
6714 * mh-make.el (mh-files): Read in the MH-E filenames from the
6715 environment variable where the Makefile puts it.
6716 (mh-generate-autoloads, step2): Simplified since we now have the
6717 complete file names.
6718
6719 * Makefile (world): Pass the MH-E files into the script, so that
6720 the filenames don't need to be repeated in the script.
6721
67222002-12-04 Bill Wohler <wohler@newt.com>
6723
6724 * mh-loaddefs.el: New file. Check in automatically generated file
6725 and include in package for the benefit of those who don't want to
6726 or can't compile.
6727
6728 * Makefile (MH-E-SRC): Added mh-loaddefs.el now that it is checked
6729 in and will be packaged.
6730 (emacs): Removed autoloads. Adding mh-loaddefs.el to MH-E-SRC is
6731 sufficient to build it.
6732 (compile): Depend on MH-E-SRC instead of MH-E-OBJ and pass $? into
6733 emacs so that Emacs is only invoked once to compile files. This
6734 speeds things up by a factor of 3. It would be nice to only pass
6735 those files that have been modified, but Emacs 21.4 will have
6736 batch-byte-compile-if-not-done which we might be able to copy into
6737 mh-make.el (or my proposed mh-e-dev.el which would be more
6738 general-purpose).
6739 (.SUFFIXES): Removed. Now that compile works directly on the
6740 sources, the implicit rule is obsolete.
6741 (autoloads): Deleted. See emacs change above.
6742
67432002-12-03 Bill Wohler <wohler@newt.com>
6744
6745 * Makefile (MH-E-SRC, emacs):
6746
67472002-12-03 Satyaki Das <satyaki@theforce.stanford.edu>
6748
6749 * mh-make.el (mh-emacs): Make failing condition more strict.
6750 (mh-loaddefs-end): Remove redundant statement.
6751
6752 * Makefile (world): A little typo. The bug didn't seem to make any
6753 difference though.
6754
6755 * mh-make.el: New script that compiles MH-E.
6756 (mh-loaddefs-beginning, mh-loaddefs-end): Don't save the autoloads
6757 file in between. Only save at the end.
6758 (mh-emacs-generate-autoloads, mh-xemacs-generate-autoloads)
6759 (mh-generate-autoloads): Replace the separate functions in Emacs
6760 and XEmacs with one that works in both variants. This simplifies
6761 the script a lot.
6762 (mh-generate-autoloads): doc fix.
6763
6764 * Makefile (world): New target which works for both GNU Emacs and
6765 XEmacs.
6766
67672002-12-03 Peter S Galbraith <psg@debian.org>
6768
6769 * mh-alias.el (mh-mhparam-component): Don't raise error if call to
6770 mhparam fails.
6771
6772 * mh-alias.el (mh-alias-letter-expand-alias): Build alias table if
6773 not already available.
6774
67752002-12-03 Bill Wohler <wohler@newt.com>
6776
6777 * mh-customize.el (mh-show-threads-flag): Alphabetized.
6778
67792002-12-03 Jeffrey C Honig <jch@honig.net>
6780
6781 * Makefile: Moved .PHONY rule after all rule for compatibility
6782 with BSD/OS's old pmake.
6783
67842002-12-03 Mark D Baushke <mdb@gnu.org>
6785
6786 * mh-e.el (mh-get-new-mail): Simplify no-new-mail test.
6787 (mh-add-cur-notation): Remove unnecessary function.
6788
67892002-12-03 Peter S Galbraith <psg@debian.org>
6790
6791 * mh-identity.el (mh-identity-make-menu): Check if
6792 'mh-letter-mode-map' is bound, since this code also gets run when
6793 mh-customize.el is loaded at startup.
6794
67952002-12-03 Satyaki Das <satyaki@theforce.stanford.edu>
6796
6797 * mh-customize.el (mh-show-threads-flag): New customizable
6798 variable which controls if new folders start of in threaded mode
6799 (closes SF #646794).
6800
6801 * mh-e.el (mh-rescan-folder): Fix the function so that threading
6802 is preserved across rescans.
6803 (mh-visit-folder, mh-inc-folder): The folder is threaded if it was
6804 already threaded or if mh-show-threads-flag is non-nil and the
6805 number of scan lines is fewer than mh-large-folders (closes SF
6806 #646794).
6807
68082002-12-02 Mark D Baushke <mdb@gnu.org>
6809
6810 * mh-e.el (mh-add-cur-notation): New function to mark the
6811 current message with the mh-note-cur character.
6812 (mh-get-new-mail): Use mh-add-cur-notation to undo the work of
6813 mh-remove-cur-notation if there was no new mail (closes SF #647681).
6814
6815 * mh-e.el (mh-set-cmd-note): Do not update the default mh-cmd-note
6816 value (closes SF #643701).
6817
68182002-12-02 Peter S Galbraith <psg@debian.org>
6819
6820 * mh-alias.el (mh-alias-reload): Renamed from mh-alias-learn-aliases.
6821 (mh-alias-load-local-users): Renamed from mh-alias-learn-local-users.
6822 (mh-alias-passwd-alist): New variable, holding aliases extracted
6823 from the passwd file.
6824 (mh-alias-tstamp): New variable storing the timestamp for alias
6825 list generation.
6826 (mh-read-address, mh-alias-reload, mh-alias-reload-local-users):
6827 Complete rewrite.
6828 (mh-alias-minibuffer-confirm-address): Use mh-alias-translate.
6829 (mh-alias-translate): New function. Return translation for alias,
6830 checking if in blind or passwd list.
6831 (mh-alias-letter-expand-alias): Rewrite using
6832 mail-abbrev-complete-alias from mailabbrev.el
6833 (mh-alias-expand-alias-map): New variable.
6834 (mh-alias-ali): New function. Return formatted string of
6835 translated ALIAS from ali.
6836 (mh-mhparam-component): New function. Return COMPONENT value from
6837 mhparam, or nil if unset.
6838 (mh-alias-filenames): New function. Provide list of alias
6839 filenames from mhparam, or nil if none are set.
6840
6841 * mh-customize.el (mh-alias-display-blind-name-on-completion-flag):
6842 Obsoleted.
6843 (mh-alias-timestamp): Renamed to mh-alias-system-aliases.
6844
68452002-12-02 Bill Wohler <wohler@newt.com>
6846
6847 * Makefile (mh-loaddefs.el): Suppress creation of backup file.
6848
68492002-12-02 Mark D. Baushke <mdb@gnu.org>
6850
6851 * Makefile (mh-loaddefs.el): Simplify rule.
6852
6853 * Makefile (clean): Remove mh-loaddefs.el* for good measure.
6854 ($(MH-E-OBJ)): Depend on mh-loaddefs.el to compile these.
6855 (autoloads, mh-loaddefs.el): Revamp rules.
6856 (mh-loaddefs.el-tail, autoloads-gen): Remove rules.
6857
6858 * mh-e.el (recursive-load-depth-limit): Do not try to
6859 bump the value unless the variable exists.
6860
6861 * mh-e.el (recursive-load-depth-limit): Bump value of
6862 recursive-load-depth-limit to 50 to allow emacs 21.1 which
6863 normally has a default value of 10 to be able to compile MH-E.
6864
68652002-12-02 Satyaki Das <satyaki@theforce.stanford.edu>
6866
6867 * mh-funcs.el (mh-pack-folder, mh-sort-folder): Fix the functions
6868 so that threading is preserved (needed for SF #646794).
6869
6870 * mh-identity.el (mh-identity-signature-start)
6871 (mh-identity-signature-end): Checkdoc fixes.
6872
6873 * mh-e.el (mh-previous-unread-msg, mh-next-unread-msg): Checkdoc
6874 fixes.
6875
68762002-12-01 Satyaki Das <satyaki@theforce.stanford.edu>
6877
6878 * mh-identity.el (compile): Make mh-identity.el compile without
6879 warnings.
6880
6881 * mh-e.el (mh-previous-unread-msg, mh-next-unread-msg): New
6882 interactive functions that go to next and previous unread
6883 messages (closes SF #630328).
6884 (mh-folder-mode-map): Add key bindings for M-n and M-p to
6885 mh-folder-mode-map.
6886
6887 * mh-utils.el (mh-show-next-unread-msg)
6888 (mh-show-previous-unread-msg): New interactive functions that go
6889 to the next and previous unread messages respectively. These are
6890 callable from the show buffer.
6891 (mh-show-mode-map): Add key bindings for M-n and M-p to
6892 mh-show-mode-map.
6893
68942002-12-01 Bill Wohler <wohler@newt.com>
6895
6896 * mh-mime.el (mh-defun-compat): Make it indent like a defun.
6897
6898 * mh-index.el (mh-defun-index): Make it indent like a defun.
6899
6900 * mh-customize.el: New file (closes SF #643722).
6901
6902 * Makefile (MH-E-SRC): Added mh-customize.el (closes SF #643722).
6903
6904 * mh-speed.el, mh-pick.el, mh-mime.el, mh-index.el, mh-e.el,
6905 mh-comp.el: Moved all defgroups, defcustoms, and deffaces to
6906 mh-customize.el (closes SF #643722).
6907
6908 * mh-utils.el (mh-xemacs-flag): Moved here from below since
6909 needed by mh-customize.el.
6910 (mh-customize): Required. mh-invisible-headers)
6911 (mh-bury-show-buffer-flag, mhl-formfile):
6912 Moved all defgroups, defcustoms, and deffaces to mh-customize.el
6913 (closes SF #643722) .
6914
6915 * mh-identity.el (mh-comp-loaded): New variable in a desparate
6916 attempt to prevent an infinite loop.
6917 (eval-when-compile): Was able to remove these defvars as they are
6918 now predefined in mh-loaddefs and mh-customize.
6919 (mh-identity-list-set): Added ;;;###mh-autoload cookie.
6920 Moved all defgroups, defcustoms, and deffaces to mh-customize.el
6921 (closes SF #643722).
6922
6923 * mh-alias.el (mh-e): Require this, as it needs defcustoms, which
6924 is in mh-customize which is required by mh-utils which is required
6925 by mh-e.
6926 Moved all defgroups, defcustoms, and deffaces to mh-customize.el
6927 (closes SF #643722).
6928
69292002-11-30 Satyaki Das <satyaki@theforce.stanford.edu>
6930
6931 * mh-e.el (mh-thread-map): Add key bindings "Td" and "To" (closes
6932 SF #630493).
6933 (mh-help-messages): Update help message for prefix map.
6934 (mh-help-messages): Doc fix.
6935 (mh-help-messages): Really fix it.
6936
6937 * mh-utils.el (mh-show-thread-delete, mh-show-thread-refile): New
6938 interactive functions corresponding to mh-thread-delete and
6939 mh-thread-refile callable from the show buffer.
6940 (mh-show-thread-map): Add key bindings for "Td" "To".
6941
6942 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-rename-seq)
6943 (mh-narrow-to-subject, mh-delete-subject, mh-toggle-threads): Add
6944 mh-autoload cookies.
6945 (mh-thread-find-children): New function which finds the region
6946 containing all children of a message.
6947 (mh-thread-delete): New interactive function that marks for
6948 deletion the current message and its children.
6949 (mh-thread-refile): New interactive function that marks for
6950 refiling the current message and its children.
6951
69522002-11-30 Bill Wohler <wohler@newt.com>
6953
6954 * mh-funcs.el, mh-identity.el, mh-index.el, mh-pick.el, mh-seq.el:
6955 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
6956 Added ;;;###mh-autoload tag to selected functions so that
6957 autoloads for those functions can be automatically created in
6958 mh-loaddefs.el (closes half of SF #643722).
6959
6960 * mh-mime.el (mh-buffer-data): Moved to mh-utils where it is used.
6961 Added ;;;###mh-autoload tag to selected functions so that
6962 autoloads for those functions can be automatically created in
6963 mh-loaddefs.el (closes half of SF #643722)..
6964
6965 * mh-utils.el (mh-loaddefs): Added require.
6966 (mh-buffer-data): Moved here from mh-mime.el as it is used in
6967 mh-display-msg.
6968 (mh-set-cmd-note): Moved to mh-e.el.
6969 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
6970 Added ;;;###mh-autoload tag to selected functions so that
6971 autoloads for those functions can be automatically created in
6972 mh-loaddefs.el (closes half of SF #643722)..
6973
6974 * mh-e.el (mh-set-cmd-note): Moved here from mh-utils.el since it
6975 uses mh-scan-format-file which is defined here.
6976 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
6977 Added ;;;###mh-autoload tag to selected functions so that
6978 autoloads for those functions can be automatically created in
6979 mh-loaddefs.el (closes half of SF #643722)..
6980
6981 * mh-comp.el, mh-speed.el (mh-utils): Removed require. mh-utils is
6982 provided via mh-e.el.
6983 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
6984 Added ;;;###mh-autoload tag to selected functions so that
6985 autoloads for those functions can be automatically created in
6986 mh-loaddefs.el (closes half of SF #643722)..
6987
6988 * Makefile (emacs): Add dependency on autoloads.
6989 (clean): Remove mh-loaddefs.el too.
6990 (autoloads): New target. Builds mh-loaddefs.el.
6991 (mh-loaddefs.el): New target. Initializes mh-loaddefs.el.
6992 (mh-loaddefs.el-tail): New target. Appends to mh-loaddefs.el.
6993 (autoloads-gen): Runs batch-update-autoloads to populate
6994 mh-loaddefs.el (closes half of SF #643722)..
6995 (auto-autoloads.elc): Renamed from autoloads to be explicit about
6996 file that's created.
6997 (custom-load.elc): Ditto.
6998
69992002-11-30 Satyaki Das <satyaki@theforce.stanford.edu>
7000
7001 * mh-seq.el (mh-thread-last-ancestor): New variable which keeps
7002 track of oldest ancestor of last message. If due to narrowing the
7003 common ancestor of two messages is lost then one of them is
7004 promoted to be the parent of the other. This variable helps in
7005 this process.
7006 (mh-thread-generate-scan-lines): Group messages which belong to
7007 the same thread tree, even if a common ancestor is no longer
7008 present.
7009 (mh-thread-folder, mh-copy-seq-to-eob, mh-thread-inc): Bind
7010 mh-thread-last-ancestor to nil when calling
7011 mh-thread-generate-scan-lines.
7012
7013 * mh-mime.el (font-lock): Font-lock required at compile time to
7014 avoid warning about font-lock-maximum-size
7015 (mh-display-smileys, mh-display-emphasis): Show graphical smileys
7016 and emphasis only if message isn't too large.
7017
7018 * mh-e.el (mh-visit-folder): Revisiting a buried folder which has
7019 been threaded or narrowed confuses MH-E. Even though the folder is
7020 displayed as not threaded and not narrowed, MH-E still believes
7021 the folder is in the previous state. This can cause problems when
7022 trying to narrow/thread the folder. The change fixes this.
7023
7024 * mh-mime.el (mh-mime-display-alternative): The setting of
7025 mh-display-buttons-for-inline-parts-flag was not being used when
7026 displaying one of the alternatives. This change fixes that.
7027
7028 * mh-comp.el (mh-show-buffer-message-number): Replace subseq with
7029 substring.
7030 (mh-filter-out-non-text): When filtering out MIME buttons from
7031 yanked text, the last line of the MIME part was getting lost. The
7032 fix avoids that and removes only the last new line instead.
7033
70342002-11-29 Peter S Galbraith <psg@debian.org>
7035
7036 * Makefile (MH-E-SRC): Add mh-alias.
7037
7038 * mh-alias.el: Assign copyright to FSF instead of myself.
7039 (mh-read-address): Add support for emacs-21's
7040 completing-read-multiple to prompt for multiple entries.
7041 (mh-alias-PC-complete-address): Deleted.
7042 (mh-alias-learn-aliases): Use mh-exec-cmd-quiet instead of old kludge.
7043 (mh-alias-letter-mode-expand-alias-hook): Simplify.
7044 (mh-alias-hostname): Deleted.
7045 (mh-alias-substitute-aliases-flag): Change default to nil.
7046 (mh-alias-display-blind-name-on-completion-flag) Change default to
7047 nil.
7048 (mh-alias-alist): Now holds alias values.
7049 (mh-alias-lowercase-alist): Deleted.
7050 (mh-alias-minibuffer-confirm-address, mh-alias-learn-aliases)
7051 (mh-alias-learn-local-users, mh-alias-letter-expand-alias): Use
7052 new mh-alias-alist instead of old mh-alias-lowercase-alist.
7053
7054 * mh-alias.el: Moved from contrib/ directory. Now part of MH-E!
7055
7056 * Makefile (MH-E-SRC): Add mh-identity.
7057
7058 * mh-identity.el (mh-compose-and-send-mail, mh-insert-identity)
7059 (mh-identity-make-menu, mh-identity-default, mh-identity-menu):
7060 Moved to mh-comp.el.
7061
7062 * mh-comp.el (mh-compose-and-send-mail): Add mh-identity support.
7063 (mh-insert-identity, mh-identity-make-menu, mh-identity-default)
7064 (mh-identity-menu): Added from mh-identity.el
7065
70662002-11-29 Bill Wohler <wohler@newt.com>
7067
7068 * mh-comp.el, mh-e.el, mh-funcs.el, mh-identity.el, mh-index.el,
7069 mh-mime.el, mh-pick.el, mh-seq.el, mh-speed.el, mh-utils.el:
7070 Ran indent-region, reformatted long lines, ran untabify.
7071 (indent-tabs-mode): Set file local variable to nil.
7072
70732002-11-29 Bill Wohler <wohler@newt.com>
7074
7075 Released MH-E version 7.0.
7076
7077 * mh-e.el (Version, mh-version): Updated for release 7.0.
7078
7079 * mh-comp.el (subseq, search): Require cl instead of autoloading
7080 these due to compilation warnings in CVS Emacs.
7081
70822002-11-23 Bill Wohler <wohler@newt.com>
7083
7084 * MH-E-NEWS: Emphasize the renaming of the variables at the top of
7085 the notes.
7086
70872002-11-22 Satyaki Das <satyaki@theforce.stanford.edu>
7088
7089 * mh-utils.el (mh-show-mode-map): Remove binding for RET since it
7090 is not needed and the binding is more useful to toggle display of
7091 MIME parts.
7092
7093 * mh-mime.el (mh-mime-button-commands): Remove bindings for "i"
7094 and "o" from MIME buttons.
7095 (mh-insert-mime-button): Change comment to reflect change in
7096 button key map.
7097
70982002-11-21 Bill Wohler <wohler@newt.com>
7099
7100 Released MH-E version 6.1.91.
7101
7102 * mh-e.el (Version, mh-version): Updated for release 6.1.91.
7103
7104 * MH-E-NEWS: Inline HTML parts supported with Gnus 5.10, not 5.9.
7105
71062002-11-21 Mark D. Baushke <mdb@gnu.org>
7107
7108 * mh-comp.el (mh-letter-insert-signature-hook): This should be in
7109 customize-group mh-compose.
7110
71112002-11-21 Satyaki Das <satyaki@theforce.stanford.edu>
7112
7113 * mh-utils.el (load): Load mm-view.el here so that
7114 mm-inline-text-html would be defined if available.
7115 (mh-mm-inline-media-tests): If mm-inline-text-html is available
7116 then use it, otherwise fall back on using mm-inline-text (closes
7117 SF #641482).
7118
7119 * mh-mime.el (load): Remove the load of mm-view here since it
7120 happens in mh-utils.el now.
7121
71222002-11-15 Bill Wohler <wohler@newt.com>
7123
7124 Released MH-E version 6.1.90.
7125
7126 * README (Compile): New section. Users must now compile MH-E due
7127 to the vagaries of the various versions of gnus.
7128
7129 * Makefile (MH-E-IMG): Added reply-all.pbm, reply-all.xpm,
7130 reply-from.pbm, reply-from.xpm, reply-to.pbm, reply-to.xpm.
7131 (MH-E-ETC-ETC): Added Makefile and README.
7132 (dist): Depend on all, so clean happens. Don't add .elc files to
7133 tarball as they are built upon installation now.
7134
71352002-11-15 Satyaki Das <satyaki@theforce.stanford.edu>
7136
7137 * mh-e.el (mh-process-commands): Fix a bug in mh-execute-commands.
7138 If called in threaded mode, cur was always getting set to the last
7139 message in the folder.
7140
71412002-11-14 Bill Wohler <wohler@newt.com>
7142
7143 * mh-e.el (Version, mh-version): Updated for release 6.1.90.
7144
7145 * MH-E-NEWS, README: Updated for release 7.0.
7146
7147 * mh-utils.el (mh-index-search): Added full docstring which new
7148 users will need before they run a search!
7149 (mh-swish++-execute-search, mh-swish-execute-search,
7150 mh-namazu-execute-search mh-glimpse-execute-search): Added
7151 autoloads with full docstrings for the same reason!
7152
7153 * mh-e.el (mh-limit-map): Removed / / alias for
7154 mh-narrow-to-subject.
7155
7156 * mh-utils.el (mh-show-thread-map): Removed / / alias for
7157 mh-show-narrow-to-subject.
7158
7159 * mh-seq.el (mh-delete-subject): Checkdoc fix.
7160
7161 * mh-e.el (mh-help-messages): Added / prefix character to help
7162 string. Tweaked / helpstring a little.
7163
71642002-11-14 Mark D. Baushke <mdb@gnu.org>
7165
7166 * mh-utils.el (mh-set-cmd-note): Fix nitpick by adding one to the
7167 width for cosmetic reasons.
7168
71692002-11-14 Peter S Galbraith <psg@debian.org>
7170
7171 * mh-identity.el (mh-insert-identity): Fix a few things undone by
7172 Jeff's patch.
7173 (mml-insert-tag): Add autoload.
7174
71752002-11-13 Mark D. Baushke <mdb@gnu.org>
7176
7177 * mh-identity.el (mh-insert-identity): A value of either nil or
7178 "" should cause the field to be removed.
7179 (mh-identity-list): Update the docstring.
7180
71812002-11-13 Peter S Galbraith <psg@debian.org>
7182
7183 * mh-e.el (mh-limit-map): New key map for limits (subject for now).
7184 * mh-utils.el (mh-show-limit-map): Same.
7185
7186 * mh-seq.el (mh-delete-subject): Renamed from
7187 mh-delete-subject-sequence.
7188 (mh-narrow-to-subject): Renamed from mh-narrow-to-subject-sequence.
7189 (mh-next-unseen-subject-sequence): Removed. :-(
7190 * mh-e.el: Use 'em
7191 * mh-seq.el: Use 'em.
7192
71932002-11-13 Mark D. Baushke <mdb@gnu.org>
7194
7195 * mh-e.el (mh-alt-show): New defalias for mh-show.
7196 (mh-alt-refile-msg): New defalias for mh-refile-msg.
7197 (mh-alt-send): New defalias for mh-send.
7198 (mh-folder-mode-map): Use mh-alt-show, mh-alt-refile-msg and
7199 mh-alt-send for the alias bindings.
7200 (mh-alt-visit-folder): New defalias for mh-visit-folder.
7201 (mh-folder-map): Use it.
7202 (mh-folder-message-menu): Revert previous change.
7203
72042002-11-13 Peter S Galbraith <psg@debian.org>
7205
7206 * mh-e.el (mh-folder-message-menu): Make key binding "o" appear in
7207 menu for mh-refile-msg.
7208
72092002-11-13 Satyaki Das <satyaki@theforce.stanford.edu>
7210
7211 * mh-seq.el (mh-thread-generate-scan-lines): In threaded view,
7212 scan lines of duplicate messages were too long. The change fixes
7213 that.
7214
72152002-11-13 Bill Wohler <wohler@newt.com>
7216
7217 * mh-utils.el (mh-adaptive-cmd-note-flag): Improved grammar in
7218 docstring.
7219
7220 * mh-speed.el (mh-speed-run-flists-flag): While documenting this
7221 variable in the release notes, I was unsure what would happen if
7222 set to nil. So, I clarified the docstring and indicated
7223 implications of setting this variable to nil, and offered manual
7224 workaround.
7225
72262002-11-13 Satyaki Das <satyaki@theforce.stanford.edu>
7227
7228 * mh-index.el (mh-index-quit): Fix documentation and run
7229 mh-before-quit-hook and mh-quit-hook.
7230
72312002-11-13 Bill Wohler <wohler@newt.com>
7232
7233 * mh-utils.el (with-mh-folder-updating): Renamed local variable
7234 mh-save-modification-flag to save-modification-flag.
7235
72362002-11-12 Bill Wohler <wohler@newt.com>
7237
7238 * mh-index.el (mh-index-keymap): Renamed to
7239 mh-index-folder-mode-keymap to be a closer to the usual keymap
7240 naming convention. Since we want our own keymap and not inherit
7241 the one in mh-folder-mode, we need to use a suffix other than
7242 -map.
7243
7244 * mh-e.el (mh-folder-sequence-menu): s/Msg/Message.
7245 s/Seq/Sequence.
7246 (mh-folder-message-menu): s/Msg/Message. Removed redundant refile
7247 item.
7248 (mh-folder-folder-menu): Aligned symbols.
7249
7250 * mh-index.el (mh-index-folder-message-menu): s/Msg/Message.
7251
7252 * mh-utils.el (mh-show-sequence-menu): s/Msg/Message.
7253 s/Seq/Sequence.
7254 (mh-show-message-menu): s/Msg/Message. Removed redundant refile
7255 item.
7256 (mh-show-folder-menu): Aligned symbols.
7257
72582002-11-12 Satyaki Das <satyaki@theforce.stanford.edu>
7259
7260 * mh-index.el (mh-index-matches, mh-index-current-match): Remove
7261 these variables since they were only used for glimpse and grep.
7262 Now the functionality of all the indexing programs will be
7263 uniform.
7264 (mh-index-search, mh-index-insert-scan, mh-defun-index)
7265 (mh-index-show): Simplify functions since matches are no longer
7266 shown.
7267 (mh-index-parse-match): Remove function.
7268
7269 * mh-e.el (mh-scan-cmd-note-width, mh-scan-destination-width)
7270 (mh-scan-date-width, mh-scan-date-flag-width)
7271 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width): New
7272 variables to keep track of the widths of the different fields in
7273 the scan lines.
7274 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
7275 (mh-scan-field-subject-start-offset): Offsets that are computed
7276 from the scan line widths.
7277
7278 * mh-seq.el (mh-copy-seq-to-eob, mh-thread-inc)
7279 (mh-thread-parse-scan-line): Use new variables that remember the
7280 various offsets in place of integer constants.
7281 (mh-thread-generate-scan-lines): Space shouldn't be added here!
7282
72832002-11-12 Bill Wohler <wohler@newt.com>
7284
7285 * mh-e.el (mh-scan-format-mh, mh-scan-format-nmh): Noted that the
7286 first column is column number 0 and changed "sixth column" to
7287 "fifth column" accordingly.
7288
7289 * mh-index.el (mh-index-folder-mode): Clarified method of replying
7290 in mode documentation.
7291 (mh-index-folder-tool-bar-map): s/mh-e/MH-E/.
7292
7293 * mh-e.el (mh-generate-new-cmd-note): Try not to mention internal
7294 variable mh-cmd-note in docstrings.
7295
7296 * mh-utils.el (mh-adaptive-cmd-note-flag): Set default value to t.
7297 Reworded docstring so it doesn't mention internal variable
7298 mh-cmd-note. Added information about using fixed-width message
7299 numbers.
7300 (mh-cmd-note): Mention mh-set-cmd-note in docstring. Also suggest
7301 that it is updated dynamically only if mh-scan-format-file is t.
7302 (mh-set-cmd-note): Grammer fix in docstring.
7303 (mh-cmd-note): Noted that the first column is column number 0.
7304
7305 * mh-e.el (mh-scan-format-file): Added information about
7306 mh-set-cmd-note and mh-adaptive-cmd-note-flag to docstring.
7307
7308 * mh-index.el (mh-index-keymap): Added bindings for i
7309 (mh-inc-folder), m (mh-send alias), and s (mh-send) since these
7310 appear to be supported and are found in the toolbar.
7311 (mh-index-folder-key-map): Ditto for f (mh-visit-folder alias), o
7312 (mh-visit-folder) alias, and v (mh-visit-folder).
7313 (mh-index-folder-mode-help-messages): Changes for above.
7314 (mh-index-folder-message-menu, mh-index-folder-folder-menu): New
7315 menus. I decided to delete the unavailable items since greying out
7316 implies that the user can do something to access them. In this
7317 case, that's not the case. Well, that's not entirely true--the
7318 user could write code for those functions ;-).
7319 (mh-index-folder-mode): Use new menus.
7320
7321 * mh-utils.el (mh-prompt-for-folder): Added optional argument
7322 default-string which can be used in case the string for default
7323 isn't intuitive enough.
7324
7325 * mh-index.el (mh-index-search): Made default prompt more
7326 intuitive (I hope!).
7327
73282002-11-11 Peter S Galbraith <psg@debian.org>
7329
7330 * mh-identity.el (mh-header-field-delete): Remove save-excursion.
7331 Strange that this worked for me before... Thanks to Jeff for the
7332 patch.
7333 (mh-insert-identity): Numerous tweaks and fixes from Jeff who also
7334 adds a nicer-looking MIME header for signatures inserted after
7335 MIME insertions.
7336
73372002-11-11 Satyaki Das <satyaki@theforce.stanford.edu>
7338
7339 * mh-seq.el (mh-thread-parse-scan-line): Generalize this function
7340 so that it can take a string containing the scan-line as argument
7341 in addition to using the line at point.
7342 (mh-thread-add-spaces): New function to pad each scan line to the
7343 appropriate length. This is called when mh-cmd-note is increased.
7344
7345 * mh-e.el (mh-generate-new-cmd-note): Make this work on a threaded
7346 folder by using mh-thread-add-spaces to pad the pre-existing lines
7347 in mh-thread-scan-line-map appropriately.
7348 (mh-thread-add-spaces): Autoload from mh-seq.
7349
73502002-11-11 Mark D. Baushke <mdb@gnu.org>
7351
7352 * mh-index.el: Fix checkdoc nit.
7353
7354 * mh-mime.el (mh-display-buttons-for-inline-parts-flag): Renamed
7355 from mh-display-buttons-for-inline-parts.
7356 (mh-mime-display-single): Use it.
7357 This addresses part of SF #627015.
7358
7359 * mh-e.el (mh-print-background-flag): Renamed from
7360 mh-print-background.
7361 * mh-funcs.el (mh-print-msg): Use it.
7362 This addresses part of SF #627015.
7363
7364 * mh-comp.el (mh-delete-yanked-msg-window-flag): Renamed from
7365 mh-delete-yanked-msg-window.
7366 (mh-yank-from-start-of-msg, mh-yank-cur-msg): Use it.
7367 This addresses part of SF #627015.
7368
7369 * mh-utils.el (mh-update-sequences-after-mh-show-flag): Renamed
7370 from mh-update-sequences-after-mh-show.
7371 (mh-show-msg): Use it.
7372 This addresses part of SF #627015.
7373
7374 * mh-utils.el (mh-decode-quoted-printable-flag): Renamed from
7375 mh-decode-quoted-printable
7376 (mh-display-msg, mh-decode-quoted-printable-have-mimedecode):
7377 Use it.
7378 This addresses part of SF #627015.
7379
7380 * mh-utils.el (mh-recursive-folders-flag): Renamed from
7381 mh-recursive-folders.
7382 (mh-make-folder-list-background): Use it.
7383 * mh-funcs.el (mh-list-folders): Ditto.
7384 This addresses part of SF #627015.
7385
7386 * mh-utils.el (mh-auto-folder-collect-flag): Renamed from
7387 mh-auto-folder-collect.
7388 (mh-find-path): Use it.
7389 This addresses part of SF #627015.
7390
7391 * mh-utils.el (mh-decode-mime-flag): Renamed from
7392 mh-decode-mime.
7393 * mh-utils.el (mh-show-mode, mh-show-xface)
7394 (mh-decode-quoted-printable, mh-display-msg, mh-display-msg): Use it.
7395 * mh-mime.el (mh-graphical-smileys-flag)
7396 (mh-graphical-emphasis-flag): Ditto.
7397 * mh-index.el (mh-index-search, mh-index-show): Ditto.
7398 * mh-e.el (mh-header-display): Ditto.
7399 This addresses part of SF #627015.
7400
7401 * mh-e.el (mh-make-folder-mode-line): Use save-window-excursion
7402 to get back to the current message.
7403
74042002-11-10 Satyaki Das <satyaki@theforce.stanford.edu>
7405
7406 * mh-index.el (mh-index-keymap, mh-index-page-msg)
7407 (mh-index-folder-tool-bar-map): Replace mh-index-scroll-up with
7408 mh-index-page-msg.
7409 (mh-index-keymap, mh-index-previous-page): Replace
7410 mh-index-scroll-down with mh-index-previous-page.
7411
74122002-11-09 Satyaki Das <satyaki@theforce.stanford.edu>
7413
7414 * mh-index.el (autoload/require): Load mh-mime when mh-index.el is
7415 loaded. This fixes the infinite load loop. I am not sure what the
7416 actual problem is. Also removed the nop requires/autoloads.
7417 (mh-defun-index): Use the right argument for mh-recenter.
7418 Otherwise it misbehaves for the default value of
7419 mh-summary-height.
7420
7421 * mh-e.el (mh-goto-next-button): Fix infinite loop when S-Tab was
7422 used on first line of index folder buffer.
7423
74242002-11-09 Peter S Galbraith <psg@debian.org>
7425
7426 * mh-index.el (mh-index-folder-tool-bar-map): Tool-bar for
7427 mh-index-mode.
7428 (mh-index-folder-mode): Use it.
7429 (mh-index-keymap): Added mouse-2 binding, like in regular
7430 folder-mode.
7431
74322002-11-08 Satyaki Das <satyaki@theforce.stanford.edu>
7433
7434 * mh-index.el (mh-index-folder-mode): Fix doc string for major
7435 mode. It was pointing to the wrong keymap.
7436 (mh-index-show-mode): Fix doc string for mode. Also add mh-help
7437 support.
7438
7439 * mh-comp.el (mh-forward, mh-yank-cur-msg): Use new macro
7440 mh-mark-active-p instead. This does the right thing for different
7441 variants of Emacs.
7442 (mh-yank-cur-msg): Add a space between sexprs.
7443
7444 * mh-utils.el (mh-mark-active-p): New macro which papers over
7445 diffences between GNU Emacs and XEmacs. The variables mark-active
7446 and transient-mark-mode are used in GNU Emacs while zmacs-regions
7447 and region-active-p are used in XEmacs.
7448
7449 * mh-seq.el (mh-put-msg-in-seq, mh-thread-ancestor-p): Use
7450 mh-mark-active-p as above.
7451
7452 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Use
7453 mh-mark-active-p as above.
7454
74552002-11-06 Peter S Galbraith <psg@debian.org>
7456
7457 * mh-comp.el (mh-yank-cur-msg): Fix for XEmacs. It didn't work
7458 with a selected region, and left the inserted text selected (in
7459 reverse video). I didn't use SF patch #402315 to implement this.
7460
74612002-11-05 Peter S Galbraith <psg@debian.org>
7462
7463 * mh-utils.el (mh-show-tool-bar-map): Change call to
7464 mh-tool-bar-search-command such that user can customize it for the
7465 current session.
7466
7467 * mh-e.el (mh-folder-tool-bar-map): Same.
7468
74692002-11-05 Bill Wohler <wohler@newt.com>
7470
7471 * mh-utils.el, mh-e.el (mh-tool-bar-search-function): Renamed from
7472 mh-tool-bar-search-command.
7473
7474 * mh-index.el (mh-index-search): Backed out previous change to
7475 prompt. There ain't no folder named "all."
7476
7477 * mh-utils.el (mh-tool-bar-search-command): Added mh-search-folder
7478 and mh-index-search to the docstring so that user can easily click
7479 on them for more information.
7480
7481 * mh-pick.el (mh-search-folder): Mention that this function uses
7482 the MH pick command to give the user more information when
7483 choosing between mh-search-folder and mh-index-folder.
7484
7485 * mh-index.el (mh-index-search): Edited the docstring. Direct the
7486 user to mh-index-program if necessary.
7487 (mh-index-program): Edited this docstring too. Viewing the help
7488 in a *Help* buffer really exposes grammatical flaws.
7489
74902002-11-05 Peter S Galbraith <psg@debian.org>
7491
7492 * mh-utils.el (mh-tool-bar-search-command): New defcustom to set
7493 what search function to use in tool-bar.
7494 (mh-show-tool-bar-map): Use it.
7495
7496 * mh-e.el (mh-folder-tool-bar-map): Use it.
7497
74982002-11-05 Bill Wohler <wohler@newt.com>
7499
7500 * mh-index.el (mh-index-search): Changed default prompt from "+"
7501 to "all". mh-prompt-for-folder doesn't seem to mind.
7502
7503 * mh-e.el (mh-folder-folder-menu): Added menu entry for
7504 mh-index-search.
7505
7506 * mh-utils.el (mh-show-folder-menu): Added menu entry for
7507 mh-index-search.
7508
7509 * mh-index.el: Added commentary on supported search engines and
7510 for getting started (initializing database).
7511
75122002-11-04 Satyaki Das <satyaki@theforce.stanford.edu>
7513
7514 * mh-index.el (mh-index-keymap, mh-index-folder-key-map): Move key
7515 binding of "i" to "Fi".
7516 (mh-index-folder-mode-help-messages): Change help message to
7517 reflect above change.
7518
75192002-11-04 Bill Wohler <wohler@newt.com>
7520
7521 * mh-index.el (mh-index-program, mh-indexer): Swapped names since
7522 the former seems like a better user variable name. If you've
7523 customized mh-indexer, be sure to toss it out and customize
7524 mh-index-program.
7525
75262002-11-04 Satyaki Das <satyaki@theforce.stanford.edu>
7527
7528 * mh-index.el (mh-indexer-choices): Not having the quotes in the
7529 binary names is a bit nicer since that maintains uniformity with
7530 the other names.
7531 (mh-index-choose): Use symbol-value instead of eval. Eval should
7532 be avoided except when it can't be :-).
7533
75342002-11-04 Bill Wohler <wohler@newt.com>
7535
7536 * mh-index.el (mh-index-program): New variable to hold the name of
7537 the indexer that was found; use this instead of clobbering
7538 user-customizable variable mh-indexer.
7539 (mh-index-search): Use it. Added comments to keep others from
7540 doing what I had done (fortunately, I caught myself before
7541 checking it in ;-).
7542 (mh-index-choose): Set mh-index-program instead of mh-indexer.
7543 Update docstring to describe side-effects.
7544
7545 * mh-index.el (mh-indexer): Added swish++ to docstring. Chances
7546 are good that if someone has both swish++ and swish, they want to
7547 use the much faster, much smaller swish, so move it up in the
7548 list.
7549 (mh-indexer-choices): Ditto for rationale for moving swish++ up in
7550 priority over swish. Also, use -binary symbols instead of
7551 hard-coding binary names. This allows package installers to
7552 customize the location of the binaries in site-lisp and still have
7553 the auto-detection code work. It also allows one to have alternate
7554 binary names (see mh-swish++-binary).
7555 (mh-index-search): Ditto (moving swish++ up).
7556 (mh-swish++-binary): Look for search++, then search. The rationale
7557 is that a package maintainer may rename search to search++ if
7558 search is already in use (e.g., Debian) so try it first.
7559 (mh-swish++-execute-search): Replaced Satyaki's path with dummy
7560 path in docstring. Also removed RecurseSubdirs since this is the
7561 default. Added comment that index might be named index++ on some
7562 systems (e.g., Debian).
7563 (mh-index-choose): Updated to work with new mh-indexer-choices.
7564
75652002-11-04 Peter S Galbraith <psg@debian.org>
7566
7567 * mh-identity.el (mh-identity-list-set): Don't call easy-menu-add
7568 here, since that adds the menu to the Customize buffer in XEmacs.
7569
75702002-11-04 Peter S Galbraith <psg@debian.org>
7571
7572 * mh-comp.el (mh-mhn-compose-insert-flag)
7573 (mh-mml-compose-insert-flag): Removed eval-when-compile defvar.
7574
7575 * mh-mime.el (mh-mhn-compose-insert-flag)
7576 (mh-mml-compose-insert-flag): Move variables to mh-utils.el.
7577 Fixes mh-letter-menu for XEmacs.
7578
75792002-11-04 Eric Ding <eding@rational.com>
7580
7581 * mh-comp.el (mh-rejected-letter-start): add another string
7582
75832002-11-04 Eric Ding <ericding@alum.mit.edu>
7584
7585 * mh-comp.el (mh-rejected-letter-start): regexp-opt doesn't take
7586 regexps as args, only regular strings
7587
75882002-11-04 Peter S Galbraith <psg@debian.org>
7589
7590 * mh-comp.el (mh-insert-mail-followup-to): Don't modify a
7591 pre-existing M-F-T field. If a nmh replgroupcomps propagates a
7592 M-F-T field in a message reply, then we have to have it alone.
7593
75942002-11-02 Bill Wohler <wohler@newt.com>
7595
7596 * mh-comp.el, mh-e.el, mh-funcs.el, mh-identity.el, mh-index.el,
7597 mh-mime.el, mh-pick.el, mh-seq.el, mh-speed.el, mh-utils.el,
7598 mh-xemacs-compat.el: Added Local Variables section. Defined
7599 sentence-end-double-space to be nil so that those who might not
7600 buy my setting of this variable can at least run checkdoc without
7601 a whole lot of noise.
7602
76032002-11-02 Peter S Galbraith <psg@debian.org>
7604
7605 * mh-identity.el: New file. Multiple Identify support for MH-E.
7606 Used to easily set different fields such as From and Organization,
7607 as well as diffrent signature files. This file won't be included
7608 with V7.0.
7609
76102002-11-02 Bill Wohler <wohler@newt.com>
7611
7612 * mh-mime.el (mh-mm-save-part): New function to wrap mm-save-part
7613 from Gnus 5.10 to make it explicit which code has been
7614 commandeered.
7615 (mh-mime-save-part): Call mh-mm-save-part instead of cut-n-pasted
7616 code from Gnus 5.10.
7617
76182002-11-02 Peter S Galbraith <psg@debian.org>
7619
7620 * mh-comp.el (mh-yank-from-start-of-msg): Edit docstring to
7621 mention related variables mh-reply-show-message-flag and
7622 mh-delete-yanked-msg-window.
7623 (mh-reply): Change the "Reply to whom" prompt.
7624
76252002-11-01 Bill Wohler <wohler@newt.com>
7626
7627 * mh-e.el (mh-show-hook): Moved to mh-utils.el where it is used.
7628 (mh-folder-list-change-hook): Converted this from defvar in other
7629 files to defcustom here. It is called, not documented as
7630 obsolete, and might as well be documented.
7631 (mh-inc-folder, mh-quit, mh-delete-a-msg, mh-refile-a-msg,
7632 mh-process-commands, mh-update-unseen): Added missing
7633 documentation about hook, or made verbiage about hook consistent
7634 throughout, even if the function isn't interactive.
7635
7636 * mh-utils.el (mh-folder-list-change-hook): Moved defvar to mh-e
7637 and made it a defcustom.
7638 (mh-show-mode-hook): Put it back in (actually, it was in mh-e.el,
7639 but this is the place where it is called).
7640 (mh-show-hook): Moved here from mh-e.el since it's called here.
7641 (mh-show-mode): Call mh-show-mode-hook.
7642 (mh-show-mode, mh-show-msg, mh-find-path, mh-prompt-for-folder,
7643 mh-prompt-for-folder, mh-set-folder-list): Added missing
7644 documentation about hook, or made verbiage about hook consistent
7645 throughout, even if the function isn't interactive.
7646
7647 * mh-comp.el (mh-send-letter): Made verbiage about hook consistent
7648 throughout.
7649 (mh-insert-prefix-string): Made docstring more descriptive of what
7650 is going on.
7651
7652 * mh-funcs.el (mh-kill-folder): Added missing documentation about
7653 hook.
7654
7655 * mh-index.el (mh-index-show-hook): Moved defvar to defcustom.
7656 (mh-index-show): Made verbiage about hook consistent throughout.
7657
7658 * mh-mime.el (mh-edit-mhn-hook): Moved defvar to defcustom.
7659 (mh-edit-mhn): Added missing documentation about hook.
7660
7661 * mh-pick.el (mh-pick-mode): Made verbiage about hook consistent
7662 throughout. Call the damn hook.
7663
76642002-11-01 Satyaki Das <satyaki@theforce.stanford.edu>
7665
7666 * mh-comp.el (mh-insert-mail-followup-to-list): Fix typo so that
7667 it will look right in info.
7668
7669 * mh-index.el (mh-index-search): Change argument name from
7670 new-buffer-p to new-buffer-flag.
7671 (mh-index-search-again, mh-index-search): New index-buffers were
7672 being named *mh-index*<2>, *m-index*<2><2> and so on. This problem
7673 is fixed.
7674 (mh-index-scroll-up, mh-index-scroll-down): Scrolling in index
7675 show buffers (after the first one) was broken.
7676 (mh-index-quit): Bury show buffer instead of killing it. Killing
7677 it, without killing the corresponding folder buffer, can cause
7678 confusion with two folder buffers trying to display in the same
7679 show buffer.
7680
7681 * mh-seq.el (mh-thread-prune-containers): Rewritten without
7682 recursion. Also removed the top-level-p argument since it isn't
7683 required anymore.
7684 (mh-thread-sort-containers): New function factored out from
7685 previous definition of mh-thread-prune-containers. It sorts
7686 message containers in ascending order wrt their message indices.
7687 (mh-thread-generate): Use new mh-thread-prune-containers.
7688
7689 * mh-e.el (mh-remove-all-notation): Fix the test. It was testing
7690 at the wrong place!
7691
76922002-10-31 Bill Wohler <wohler@newt.com>
7693
7694 * Makefile, README, import-emacs, mh-comp.el, mh-e.el,
7695 mh-funcs.el, mh-index.el, mh-mime.el, mh-pick.el, mh-seq.el,
7696 mh-speed.el, mh-utils.el: Replaced mh-e with MH-E.
7697
76982002-10-31 Satyaki Das <satyaki@theforce.stanford.edu>
7699
7700 * mh-seq.el (mh-thread-parse-scan-line): Modified to remove user
7701 sequence notation and leave notation for other things alone. This
7702 ensures that threading doesn't lose notations for replied-to
7703 messages.
7704
7705 * mh-e.el (mh-inc-folder): Remove call to mh-widen here and
7706 instead do it in mh-get-new-mail. This way the widening happens
7707 only if new mail is incorporated.
7708 (mh-generate-new-cmd-note): The function now returns the point
7709 from which the new messages start. This will allow threading to do
7710 the right thing.
7711 (mh-get-new-mail): Always call mh-remove-cur-notation. Otherwise
7712 adaptive scan mode leaves two messages marked as current in
7713 certain cases. Fix indentation of if statement. If there are
7714 messages to be incorporated, the folder is widened. If mh-cmd-note
7715 changes set start-of-inc correctly.
7716 (mh-remove-all-notation): Change this function to only remove user
7717 sequence notation and leave notation for replied-to messages and
7718 similar notation alone. This means operations like narrowing to
7719 subject sequence and widening don't lose notations.
7720
77212002-10-31 Bill Wohler <wohler@newt.com>
7722
7723 * mh-comp.el (mh-insert-mail-followup-to-list): Fixed typo in
7724 docstring and other minor edits. Checkdoc removed trailing spaces.
7725 (mh-insert-signature): Checkdoc flagged docstring. Reverted to
7726 previous value. Added specific name of hook that is run.
7727 (mh-regexp-in-field-p, mh-insert-letter): Checkdoc removed
7728 trailing spaces.
7729
77302002-10-31 Jeffrey C Honig <jch@honig.net>
7731
7732 * mh-e.el (mh-show-mode-hook): Remove the unused
7733 mh-show-mode-hook, mh-show-hook is the one that is used.
7734
7735 * mh-utils.el (mh-show-mode): Change the documentation to refer to
7736 mh-show-hook instead of the unused mh-show-mode-hook.
7737
77382002-10-31 Peter S Galbraith <psg@debian.org>
7739
7740 * mh-comp.el (mh-insert-mail-followup-to-list): Set default to nil
7741 and include example in doc string.
7742
77432002-10-31 Satyaki Das <satyaki@theforce.stanford.edu>
7744
7745 * mh-index.el (mh-indexer): Add customization choice for swish++.
7746 (mh-indexer-choices): Add swish++ choice.
7747 (mh-index-search): Change doc to reflect addition of swish++ option.
7748 (mh-swish++-binary, mh-swish++-directory): New variables for
7749 swish++ interface.
7750 (mh-swish++-execute-search): New function to execute swish++
7751 search.
7752 (mh-swish++-next-result): Function aliased to mh-swish-next-result
7753 since the result format of swish++ is the same as that of swish-e.
7754 (mh-index-search): Always overwrite window-configuration with new
7755 value. This is needed since we don't kill the index-buffer when
7756 quitting which means the window configuration wasn't getting set
7757 properly.
7758 (mh-index-search-again): If index buffer is reused, reset the old
7759 window config to its original value.
7760
77612002-10-30 Bill Wohler <wohler@newt.com>
7762
7763 * Makefile (emacs, xemacs): New targets.
7764 (all): Use these targets instead of calling specific targets.
7765 (.PHONY): Added emacs, xemacs, autoloads, custom-loads. Broke up
7766 target and moved pieces into their own sections.
7767
7768
77692002-10-30 Peter S Galbraith <psg@debian.org>
7770
7771 * mh-utils.el (mh-show-font-lock-keywords): Wrap an
7772 'eval-and-compile around its defvar, otherwise byte-compilation
7773 fails on `mh-show-font-lock-keywords-with-cite'.
7774
77752002-10-29 Jeffrey C Honig <jch@honig.net>
7776
7777 * mh-comp.el (mh-letter-insert-signature-hook)
7778 (mh-insert-signature): Add a hook to be called before inserting
7779 the signature. Do not attempt to insert the signature if
7780 mh-insert-signature-file-name is nil.
7781
77822002-10-29 Peter S Galbraith <psg@debian.org>
7783
7784 * mh-e.el (mh-inc-folder): Call mh-widen when mh-narrowed-to-seq
7785 (Closes SF #629233: inc in narrowed folder suboptimal)
7786
7787 * mh-comp.el (mh-insert-letter): Stop using mhl to include a
7788 message before it mangles the header, and supercite fails
7789 (Closes SF #629153: mh-insert-letter uses mhl?).
7790 (mh-insert-prefix-string): Leave point at beginning instead of
7791 end, since that's what sc-cite-original does.
7792 (mh-yank-cur-msg): Adjust for mh-insert-prefix-string change.
7793
77942002-10-30 Steve Youngs <youngs@xemacs.org>
7795
7796 * mh-e.el (mh-folder-mode): Check for 'font-lock-auto-fontify'
7797 when in XEmacs so we don't do font-locking unconditionally.
7798
7799 * mh-utils.el (mh-show-mode): Ditto.
7800
78012002-10-29 Peter S Galbraith <psg@debian.org>
7802
7803 * mh-e.el (mh-folder-refiled-face, mh-folder-cur-msg-number-face)
7804 (mh-folder-to-face, mh-folder-body-face): Define faces instead of
7805 copying them from font-lock faces. This mh-e will look the same
7806 in XEmacs as it does in Emacs.
7807 * mh-utils.el (mh-show-cc-face, mh-show-date-face)
7808 (mh-show-header-face): Ditto.
7809
78102002-10-29 Jeffrey C Honig <jch@honig.net>
7811
7812 * mh-comp.el (mh-send-letter): I meant to use
7813 mh-goto-header-field, not mh-get-header-field. The former returns
7814 nil if the header is not found and doesn't need a conditional.
7815
78162002-10-29 Peter S Galbraith <psg@debian.org>
7817
7818 * mh-comp.el (mh-forward): Bug fix. Change 'kill-line for a
7819 'delete-region, because I don't want that text yanked with C-y.
7820
7821 * mh-seq.el (mh-put-msg-in-seq): Add support for selected
7822 region (Closes SF feature request #630324).
7823
78242002-10-28 Satyaki Das <satyaki@theforce.stanford.edu>
7825
7826 * mh-seq.el (mh-thread-prune-subject): Make the regexp a little
7827 general so that a subject of the form "Re[218]: howdy" would be
7828 properly pruned.
7829
7830 * mh-mime.el (mh-mime-save-part): Copy function definition of
7831 mm-save-part from cvs gnus since that function is buggy in gnus
7832 that comes with emacs21.2.
7833
78342002-10-28 Peter S Galbraith <psg@debian.org>
7835
7836 * mh-e.el (mh-scan-subject-regexp): Add an expression to match an
7837 optional bracketed number after "Re", such as in "Re[2]:"
7838 (Patch by Satyaki; I checked it and applied).
7839 (mh-folder-font-lock-subject): Adapt to new mh-scan-subject-regexp.
7840 * mh-seq.el (mh-subject-to-sequence): Ditto.
7841
7842 * mh-e.el (mh-folder-sequence-menu): Remove "Toggle Subject
7843 Thread" from menu. mh-toggle-threads is in the Folder menu.
7844
7845 * mh-e.el (mh-folder-sequence-menu): Minor menu text edits.
7846
7847 * mh-utils.el (mh-show-update-sequences): Added to
7848 mh-defun-show-buffer builds; needed for menu.
7849 (mh-show-sequence-menu, mh-show-message-menu)
7850 (mh-show-folder-menu): 3 new menus in mh-show-mode-map that mirror
7851 the menus used in mh-folder-mode.
7852 (mh-show-mode): easy-menu-add the 3 menus.
7853
78542002-10-28 Satyaki Das <satyaki@theforce.stanford.edu>
7855
7856 * mh-utils.el (mh-goto-msg): Fix the regexp to search so that we
7857 go to the right message. In a threaded folder message 2 may be
7858 present after 26 and the previous regexp would go to 26 when we
7859 really wanted to go to 2!
7860
7861 * mh-seq.el (mh-widen): Add call to mh-recenter to make it like
7862 mh-narrow-to-seq.
7863
78642002-10-28 Bill Wohler <wohler@newt.com>
7865
7866 * mh-utils.el (mh-show-mime-save-parts): Deleted definition.
7867 (mh-show-mime-map, tool-bar-map): Use mh-mime-save-parts instead
7868 of mh-show-mime-save-parts.
7869
78702002-10-28 Peter S Galbraith <psg@debian.org>
7871
7872 * mh-comp.el (mh-letter-tool-bar-map): tool-bar-add-item key name
7873 bug fix.
7874 * mh-utils.el (mh-show-tool-bar-map): Same.
7875 * mh-e.el (mh-folder-tool-bar-map, mh-folder-seq-tool-bar-map): Same
7876
78772002-10-27 Satyaki Das <satyaki@theforce.stanford.edu>
7878
7879 * mh-seq.el (mh-toggle-threads): Add call to mh-recenter to make
7880 its behavior like that of mh-narrow-to-seq.
7881
78822002-10-27 Bill Wohler <wohler@newt.com>
7883
7884 * mh-mime.el (mh-mime-save-parts): Renamed from
7885 mh-store-mime-parts for consistency with mh-mime-save-part. Fixed
7886 bug whereby mh-mime-save-parts-directory was not getting
7887 initialized properly from a string-valued
7888 mh-mime-save-parts-default-directory.
7889 (mh-mime-save-parts-default-directory): Ditto. Check your
7890 customizations!
7891 (mh-mime-save-parts-directory): Ditto.
7892
7893 * mh-utils.el (mh-show-mime-save-parts): Renamed from
7894 mh-store-mime-parts.
7895 (mh-show-mime-map): Added keybinding "K a" for
7896 mh-show-mime-save-parts.
7897
7898 * mh-e.el (mh-mime-save-parts) Renamed from mh-store-mime-parts.
7899 (mh-mime-map): Added keybinding "K a" for mh-mime-save-parts.
7900 (mh-help-messages): Added help for "K a".
7901
79022002-10-27 Peter S Galbraith <psg@debian.org>
7903
7904 * mh-comp.el (mh-search-addr-regexp, mh-regexp-in-field-p): Rename
7905 the first to the second (and recode a bit).
7906 (mh-insert-mail-followup-to): Use it.
7907
79082002-10-27 Bill Wohler <wohler@newt.com>
7909
7910 * mh-utils.el (mh-invisible-headers): Backed out change. Removed
7911 Mail-Followup-To due to objections from Peter and Mark.
7912
79132002-10-27 Satyaki Das <satyaki@theforce.stanford.edu>
7914
7915 * mh-seq.el (mh-msg-is-in-seq): Modified to show info about
7916 whether the message being queried about has been marked to be
7917 deleted or refiled.
7918
7919 * mh-mime.el (mh-insert-mime-security-button): Make
7920 pressed-details a local.
7921
79222002-10-27 Steve Youngs <youngs@xemacs.org>
7923
7924 * .cvsignore: New file.
7925
79262002-10-26 Steve Youngs <youngs@xemacs.org>
7927
7928 * mh-seq.el (mh-notate-deleted-and-refiled): Don't bind local
7929 variable 'dest', it isn't used anywhere.
7930
7931 * mh-pick.el (mh-do-pick-search): Don't bind local variable
7932 'finding-messages', it isn't used anywhere.
7933
7934 * mh-utils.el: Byte-compiler warning suppression.
7935 (mh-gnus-article-highlight-citation): Rather than redefining
7936 'gnus-cite-face-list', just re-order it.
7937 (mh-show-mode): Force turning on font-lock in XEmacs.
7938
7939 * mh-seq.el: Byte-compiler warning suppression.
7940
7941 * mh-index.el: Byte-compiler warning suppression.
7942
7943 * mh-comp.el: Byte-compiler warning suppression.
7944
7945 * mh-xemacs-compat.el: Add defaliases for 'timerp' &
7946 'cancel-timer' to the equivalent 'itimer' functions.
7947 (rfc822): Require it for 'rfc822-goto-eoh'.
7948 Byte-compiler warning suppression.
7949
7950 * mh-e.el (mh-folder-mode): Force turning on font-lock in XEmacs.
7951 (mh-toggle-threads): Remove duplicate autoload.
7952 Byte-compiler warning suppression.
7953 (mh-folder-unseen-seq-list): Use 'with-temp-buffer' to fix a bug
7954 in XEmacs when font-lock is on.
7955 (mh-folder-unseen-seq-name): Ditto.
7956
79572002-10-27 Mark D. Baushke <mdb@gnu.org>
7958
7959 * Makefile: Reorganize to allow for building also compiling for
7960 XEmacs too. Sanitize so that it will work using least-common
7961 denominator versions of 'make'. Tested using GNU make, Solaris make,
7962 and Berkely make.
7963 (all): Use recursive invokation based on the emacs or xemacs
7964 executable passed on the 'make EMACS=xemacs' command line.
7965 (XEMACS_OPTIONS): The incantation to be passed to an xemacs editor
7966 to compile things properly.
7967 (AUTO_PRELOADS): Magic XEmacs glue.
7968 (clean): Ditto.
7969 (autoloads): Ditto.
7970 (custom-loads): Ditto.
7971
79722002-10-26 Satyaki Das <satyaki@theforce.stanford.edu>
7973
7974 * mh-e.el (mh-last-msg): Add call to mh-recenter.
7975
79762002-10-26 Peter S Galbraith <psg@debia.org>
7977
7978 * mh-comp.el (mh-search-addr-regexp, mh-re-search-to-cc): Remove
7979 `mh-re-search-to-cc' in favour of more generalized new function
7980 `mh-search-addr-regexp'.
7981 (mh-insert-mail-followup-to): Use it.
7982
79832002-10-26 Satyaki Das <satyaki@theforce.stanford.edu>
7984
7985 * mh-seq.el (mh-copy-seq-to-eob): Avoid rethreading when the
7986 folder is already threaded. This is more efficient and also avoids
7987 problems when the folder is widened.
7988 (mh-thread-inc): Don't try to restore the point to original
7989 location since mh-inc-folder from where this is called changes
7990 point location after calling this function.
7991
7992 * mh-e.el (mh-make-folder-mode-line): Fix a small bug where the
7993 test was wrong.
7994
79952002-10-26 Peter S Galbraith <psg@debian.org>
7996
7997 * mh-comp.el (mh-insert-mail-followup-to): Fix for new defcustom.
7998
79992002-10-26 Satyaki Das <satyaki@theforce.stanford.edu>
8000
8001 * mh-seq.el (mh-notate-deleted-and-refiled): Remove unused binding
8002 of dest. The problem was pointed out by Steve as well.
8003
8004 * mh-e.el (mh-toggle-threads): Remove duplicate autoload as
8005 pointed out by Steve.
8006
80072002-10-26 Bill Wohler <wohler@newt.com>
8008
8009 * mh-utils.el (mh-invisible-headers): Added Mail-Followup-To.
8010
80112002-10-26 Peter S Galbraith <psg@debian.org>
8012
8013 * mh-comp.el (mh-insert-mail-followup-to-list): Change defvar to
8014 defcustom.
8015
80162002-10-25 Satyaki Das <satyaki@theforce.stanford.edu>
8017
8018 * mh-e.el (mh-remove-all-notation): New function that removes all
8019 notation.
8020
8021 * mh-seq.el (mh-narrow-to-seq): When hiding the original folder
8022 remove all notation. This avoids stale notation hanging around.
8023 Also changes in show buffer and position in folder buffer are
8024 avoided if possible.
8025 (mh-widen): When widening the scan-lines are notated based on the
8026 current state of the folder. This means any changes made when the
8027 folder was narrowed are shown consistently.
8028 (mh-notate-deleted-and-refiled): Update the documentation.
8029 (mh-thread-parse-scan-line): For some reason the ASCII value of
8030 the space character was being used here. This is fixed.
8031 (mh-thread-inc, mh-toggle-threads): Avoid change of point in
8032 folder and message being displayed in shown buffer.
8033
8034 * mh-utils.el (mh-recenter): Rewrite mh-recenter to show fewer
8035 blank lines when point is towards the end of the folder buffer.
8036
80372002-10-25 Peter S Galbraith <psg@debian.org>
8038
8039 * mh-comp.el (mh-insert-mail-followup-to-flag): New boolean
8040 defcustom to append a Mail-Followup-To field to the header. The
8041 insertion is done if the To: or Cc: fields matches an entry in
8042 `mh-insert-mail-followup-to-list'."
8043 (mh-insert-mail-followup-to-list): New defvar. List of addresses
8044 for which a Mail-Followup-To field is inserted.
8045 (mh-re-search-to-cc): New function. Search for REGEXP in To: and
8046 Cc: fields.
8047 (mh-insert-mail-followup-to): New function. Insert
8048 Mail-Followup-To: if To or Cc match `mh-insert-mail-followup-to-list'.
8049 (mh-compose-and-send-mail): Call mh-insert-mail-followup-to if
8050 mh-insert-mail-followup-to-flag is true.
8051
80522002-10-25 Mark D. Baushke <mdb@gnu.org>
8053
8054 * mh-utils.el (mh-show-maximum-size): New variable to control
8055 the display of large messages.
8056 (mh-display-msg): Use it (Closes SF #488696).
8057
8058 * mh-seq.el (mh-toggle-threads): Checkdoc fix.
8059
8060 * mh-e.el (mh-reset-threads-and-narrowing): Checkdoc fix.
8061
8062 * mh-comp.el (mh-insert-x-mailer-flag): Renamed from
8063 mh-insert-x-mailer-p. Update docstring.
8064 (mh-send-letter): Use it.
8065 (mh-reply-show-message-flag): Renamed from
8066 mh-reply-show-message-p. Update docstring.
8067 (mh-reply): Use it.
8068 This addresses part of SF #627015.
8069
8070 * mh-e.el (mh-recenter-summary-flag): Renamed from
8071 mh-recenter-summary-p. Update docstring.
8072 (mh-set-scan-mode): Use it.
8073 This addresses part of SF #627015.
8074
80752002-10-25 Satyaki Das <satyaki@theforce.stanford.edu>
8076
8077 * mh-e.el (mh-reset-threads-and-narrowing): New function which
8078 resets all thread and narrowing state to completely unthreaded and
8079 widened state. As a side effect, the folder buffer is erased.
8080 (mh-rescan-folder): Reset threads and narrowing state.
8081
8082 * mh-funcs.el (mh-pack-folder-1): Reset threads and narrowing state.
8083
8084 * mh-seq.el (mh-copy-seq-to-eob): Change mh-view-ops after
8085 threading is over so that if user aborts threading, it doesn't
8086 leave mh-e in an inconsistent state.
8087 (mh-toggle-threads): Use mh-scan-folder to populate the folder
8088 buffer instead of mh-rescan-folder which resets threading and
8089 narrowing state.
8090
80912002-10-24 Bill Wohler <wohler@newt.com>
8092
8093 * mh-e is completely checkdoc clean now.
8094
8095 * mh-utils.el (mh-clean-message-header-flag): Renamed from
8096 mh-clean-message-header.
8097 (mh-bury-show-buffer-flag): Renamed from mh-bury-show-buffer.
8098 (mh-show-use-goto-addr-flag): Renamed from mh-show-use-goto-addr.
8099 This addresses part of SF #627015.
8100
8101 * mh-mime.el (mh-clean-message-header-flag): Renamed from
8102 mh-clean-message-header.
8103 Checkdoc fixes. This addresses part of SF #627015.
8104
8105 * mh-index.el (mh-clean-message-header-flag): Renamed from
8106 mh-clean-message-header. This addresses part of SF #627015.
8107
8108 * mh-funcs.el (mh-do-not-confirm-flag): Renamed from
8109 mh-do-not-confirm. This addresses part of SF #627015.
8110
8111 * mh-e.el (mh-do-not-confirm-flag): Renamed from
8112 mh-do-not-confirm.
8113 (mh-clean-message-header-flag): Renamed from
8114 mh-clean-message-header.
8115 This addresses part of SF #627015.
8116
8117 * mh-comp.el: checkdoc fixes.
8118
81192002-10-24 Satyaki Das <satyaki@theforce.stanford.edu>
8120
8121 * mh-seq.el (mh-copy-seq-to-eob): Rewritten to scan the headers
8122 fresh instead of yanking from buffer. This is needed to get
8123 correct threading in copied sequence.
8124 (mh-thread-inc, mh-thread-update-scan-line-map)
8125 (mh-thread-parse-scan-line): Eliminate the use, and hence the
8126 definition of, the kludgy mh-thread-update-scan-line-map. Instead
8127 the functions mh-notate-deleted-and-refiled and
8128 mh-notate-user-sequences are used to get the message marks right.
8129 (mh-thread-generate-scan-lines): Updated to allow the thread tree
8130 to be used in a narrowed folder buffer.
8131 (mh-thread-folder, mh-toggle-threads): Remove
8132 mh-folder-threaded-view-flag.
8133 (mh-thread-old-scan-line-map): New buffer-local variable that
8134 remembers the original scan-line map so that the sequence thread,
8135 narrow, widen will work.
8136 (mh-narrow-to-seq, mh-widen): Remember the scan-line map when
8137 narrowing and restore it when widening.
8138
8139 * mh-e.el (mh-folder-threaded-view-flag, mh-folder-folder-menu)
8140 (mh-regenerate-headers, mh-get-new-mail)
8141 (mh-make-folder-mode-line, mh-process-commands)
8142 (mh-delete-scan-msgs): Remove mh-folder-threaded-view-flag.
8143 Instead (memq 'unthread mh-view-ops) is used to test if the folder
8144 is threaded.
8145
8146 * mh-mime.el (mh-display-emphasis): Shadow article-goto-body here
8147 since we want to do emphasis on the whole of the region and not
8148 just after the first blank line.
8149 (mh-mm-display-part): When displaying a text part show smilies and
8150 emphasis.
8151
8152 * mh-index.el (mh-index-insert-scan): Attempt to keep number of
8153 args to scan small if there are lots of adjacent matches.
8154 (mh-index-quit): Bury index-buffer on quit instead of killing it.
8155 This behavior is more like that of mh-quit.
8156
8157 * mh-seq.el (mh-widen): If folder was threaded after narrowing
8158 then make mh-widen undo the threading instead of erroring out.
8159
81602002-10-24 Peter S Galbraith <psg@debian.org>
8161
8162 * mh-seq.el (mh-toggle-threads): Add a cond (as suggested by
8163 Satyaki) to properly unthread a narrowed-to-sequence.
8164
8165 * mh-seq.el (mh-thread-generate-scan-lines): Fix threading
8166 breakage from partial switch to mh-container-real-child-flag and
8167 to dupl-flag.
8168
8169 * mh-comp.el (mh-yank-cur-msg): Bug fix: specify
8170 (eq t mh-yank-from-start-of-msg) when that's what we want.
8171
81722002-10-24 Mark D. Baushke <mdb@gnu.org>
8173
8174 * mh-seq.el (mh-thread-prune-subject): Renamed subject-pruned-p as
8175 subject-pruned-flag.
8176 (mh-thread-inc): Renamed old-buffer-modified-p as
8177 old-buffer-modified-flag.
8178 (mh-thread-generate-scan-lines): Renamed dupl-p as dupl-flag.
8179 This addresses part of SF #627015.
8180
8181 * mh-index.el (mh-index-advance): Renamed backward-p
8182 local variable as backward-flag.
8183 (mh-index-next-button): Renamed backward-p
8184 argument as backward-flag.
8185 (mh-index-show): Renamed display-headers-p argument as
8186 display-headers-flag.
8187 This addresses part of SF #627015.
8188
8189 * mh-e.el (mh-scan-format, mh-version): Use mh-nmh-flag.
8190 (mh-folder-mime-action): Renamed include-security-p
8191 argument as include-security-flag.
8192 (mh-goto-next-button, mh-next-button): Renamed backward-p
8193 argument as backward-flag.
8194 (mh-get-new-mail): Renamed new-mail-p local variable as
8195 new-mail-flag.
8196 (mh-goto-cur-msg): Renamed minimal-changes-p argument as
8197 minimal-changes-flag.
8198 (redraw-needed-flag): Renamed redraw-needed-p local variable as
8199 redraw-needed-flag.
8200 (mh-seq-containing-msg): Renamed include-internal-p argument as
8201 include-internal-flag.
8202 (mh-page-msg): Use mh-page-to-next-msg-flag.
8203 This addresses part of SF #627015.
8204
8205 * mh-mime.el (mh-mhn-compose-insert-flag): Renamed from
8206 mh-mhn-compose-insert-p. Make it buffer-local.
8207 (mh-mhn-compose-type, mh-mhn-compose-external-type,
8208 mh-mhn-compose-forw, mh-edit-mhn): Use mh-mhn-compose-insert-flag.
8209 (mh-mml-to-mime, mh-mml-secure-message-encrypt-pgpmime,
8210 mh-mime-display-part, mh-mime-display-single): Use
8211 mh-gnus-pgp-support-flag renamed from mh-gnus-pgp-support-p.
8212 (mh-mime-display-single): Renamed small-image-p local
8213 variable as small-image-flag.
8214 (mh-mime-inline-part): Renamed local variable inserted-p as
8215 inserted-flag.
8216 (mh-mime-inline-part): Renamed local variable displayed-p as
8217 displayed-flag.
8218 This addresses part of SF #627015.
8219
8220 * mh-comp.el (mh-letter-menu, mh-letter-mode, mh-send-letter):
8221 mh-mhn-compose-insert-flag.
8222 (mh-repl-group-formfile, mh-forward): Use mh-nmh-flag
8223 renamed from mh-nmh-p.
8224 (mh-reply, mh-insert-x-mailer, mh-send-letter): Use mh-nmh-flag.
8225 (mh-letter-mode-map): Use mh-gnus-pgp-support-flag renamed from
8226 mh-gnus-pgp-support-p.
8227 (mh-mml-secure-message-sign-pgpmime): Use
8228 mh-gnus-pgp-support-flag.
8229 This addresses part of SF #627015.
8230
8231 * mh-utils.el (mh-page-to-next-msg-flag): Renamed from
8232 mh-page-to-next-msg-p.
8233 (mh-show-msg): Use mh-page-to-next-msg-flag.
8234 (mh-gnus-pgp-support-flag): Renamed from
8235 mh-gnus-pgp-support-p.
8236 (mh-show-font-lock-fontify-region): Fix docstring per checkdoc.
8237 (with-mh-folder-updating): Renamed argument
8238 save-modification-flag-p as mh-save-modification-flag.
8239 (mh-prompt-for-folder): Renamed new-file-p local
8240 variable as new-file-flag.
8241 This addresses part of SF #627015.
8242
82432002-10-24 Mark D Baushke <mdb@gnu.org>
8244
8245 * mh-comp.el (mh-forward): Fix mh-mml-compose-insert-p reference
8246 in last commit to be mh-mml-compose-insert-flag.
8247 (mh-mml-compose-insert-flag): Move defvar to fix compiler warning.
8248
82492002-10-24 Jeffrey C Honig <jch@honig.net>
8250
8251 * mh-comp.el (mh-forward): Add support for transient-mark mode.
8252 When using nmh, always specify -mime so as to preserve the
8253 original message(s). If mh-compose-insertion is 'gnus, convert
8254 the mhbuild format forwarding directives into MML.
8255
82562002-10-24 Eric Ding <ericding@alum.mit.edu>
8257
8258 * mh-comp.el (mh-send-letter): Fix for earlier change that added
8259 "-mime" for bcc'ed MIME mail; still doesn't work with nmh 1.0, but
8260 at least no longer triggered for every outgoing message!
8261
82622002-10-24 Peter S Galbraith <psg@debian.org>
8263
8264 * mh-comp.el (mh-yank-cur-msg): Fix selected regions for supercite
8265 (see text below).
8266
8267 * mh-comp.el (mh-yank-cur-msg): Fix for supercite. Someone played
8268 with the point and mark setting prior to the call to
8269 'mh-insert-prefix-string and that broke supercite. I put comments
8270 to make it obvious to future coders why those settings exists.
8271 Note that supercite is still broken when a region is selected in
8272 the show buffer. Presumably it's been like that for a long time.
8273 We need to insert the header as well as the selected region oin
8274 that case. I'll submit an SF bug.
8275
82762002-10-24 Jeffrey C Honig <jch@honig.net>
8277
8278 * mh-comp.el (mh-yank-from-start-of-msg, mh-reply): Use -noformat
8279 flag to reply when 'autosupercite or 'autoattrib are specified to
8280 prevent duplicate cites of the body of a message.
8281
82822002-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
8283
8284 * mh-utils.el (font-lock-default-fontify-region): Add autoload to
8285 avoid compiler warning.
8286
82872002-10-23 Peter S Galbraith <psg@debian.org>
8288
8289 * mh-comp.el (mh-letter-mode): set fill-paragraph-function to our
8290 own 'mh-fill-paragraph-function instead of simply
8291 'mail-mode-fill-paragraph (because it doesn't handle a non-nil
8292 fill-prefix correctly).
8293 (mh-fill-paragraph-function): New function for mh-letter-mode
8294 fill-paragraph-function in order to handle non-nil fill-prefix.
8295 Call sendmail's mail-mode-fill-paragraph if in the mail header,
8296 else call default fill-paragraph with fill-prefix set to nil.
8297 (Closes SF #489927)
8298
8299 * mh-comp.el (mh-letter-mode): Let's use font-lock even if gnus is
8300 used in show-mode. The reason is that gnus uses static text
8301 properties which are not appropriate for a buffer that will be
8302 edited. So the choice here is either fontify the citations and
8303 header or the header only.
8304
8305 * mh-utils.el (mh-show-font-lock-fontify-region): Limit font-lock
8306 in mh-show-mode to the header. Used when mh-highlight-citation-p
8307 is set to gnus, leaving the body to be dealt with by gnus
8308 highlighting. This fixes gnus text emphasis in mh-show-mode.
8309 (mh-show-mode): In font-lock-defaults, set
8310 font-lock-fontify-region-function to mh-show-font-lock-fontify-region.
8311
83122002-10-23 Bill Wohler <wohler@newt.com>
8313
8314 * mh-mime.el (mh-mml-attach-file): Prompt for disposition should
8315 be Disposition, not Content-Type. The Content-Type has been
8316 determined automatically.
8317
83182002-10-23 Mark D. Baushke <mdb@gnu.org>
8319
8320 * MH-E-NEWS:
8321 s/mh-adaptive-cmd-note/mh-adaptive-cmd-note-flag/
8322 s/mh-show-use-xface/mh-show-use-xface-flag/
8323 s/mh-tool-bar-reply-3-buttons/mh-tool-bar-reply-3-buttons-flag/
8324 This addresses part of SF #627015.
8325
8326 * mh-comp.el:
8327 s/mh-mml-compose-insert-p/mh-mml-compose-insert-flag/
8328 s/mh-xemacs-p/mh-xemacs-flag/
8329 (mh-letter-menu): Use mh-mml-compose-insert-flag.
8330 (mh-insert-x-mailer): Use mh-xemacs-flag.
8331 (mh-mml-compose-insert-flag): Renamed from
8332 mh-mml-compose-insert-p.
8333 (mh-send-letter): Use mh-mml-compose-insert-flag.
8334 This addresses part of SF #627015.
8335
8336 * mh-e.el:
8337 s/mh-folder-threaded-view-p/mh-folder-threaded-view-flag/
8338 s/mh-adaptive-cmd-note/mh-adaptive-cmd-note-flag/
8339 s/mh-xemacs-p/mh-xemacs-flag/
8340 (mh-folder-threaded-view-flag): Renamed from
8341 mh-folder-threaded-view-p. Make it buffer local.
8342 (mh-folder-tool-bar-map): Use mh-tool-bar-reply-3-buttons-flag.
8343 (mh-remove-xemacs-horizontal-scrollbar): Use mh-xemacs-flag.
8344 (mh-make-folder, mh-regenerate-headers, mh-get-new-mail): Use
8345 mh-adaptive-cmd-note-flag.
8346 (mh-folder-folder-menu, mh-regenerate-headers, mh-get-new-mail,
8347 mh-make-folder-mode-line, mh-process-commands,
8348 mh-delete-scan-msgs): Use mh-folder-threaded-view-flag.
8349 This addresses part of SF #627015.
8350
8351 * mh-index.el:
8352 s/mh-adaptive-cmd-note/mh-adaptive-cmd-note-flag/
8353 (mh-index-search): Use mh-adaptive-cmd-note-flag.
8354 This addresses part of SF #627015.
8355
8356 * mh-mime.el:
8357 s/mh-mml-compose-insert-p/mh-mml-compose-insert-flag/
8358 s/mh-xemacs-p/mh-xemacs-flag/
8359 (mh-mml-compose-insert-flag): Renamed from
8360 mh-mml-compose-insert-p. Make it buffer local.
8361 (mh-mml-attach-file, mh-mml-secure-message-sign-pgpmime,
8362 mh-mml-secure-message-encrypt-pgpmime): Use it.
8363 (gnus-local-map-property): Use mh-xemacs-flag.
8364 This addresses part of SF #627015.
8365
8366 * mh-seq.el:
8367 s/mh-folder-threaded-view-p/mh-folder-threaded-view-flag/
8368 (mh-thread-generate, mh-thread-folder, mh-toggle-threads): Use
8369 mh-folder-threaded-view-flag.
8370 This addresses part of SF #627015.
8371
8372 * mh-speed.el:
8373 s/mh-speed-run-flists-p/mh-speed-run-flists-flag/
8374 s/mh-speed-refresh-p/mh-speed-refresh-flag/
8375 (mh-speed-run-flists-flag): Renamed from mh-speed-run-flists-p.
8376 (mh-folder-speedbar-buttons): Use it.
8377 (mh-speed-refresh-flag): Renamed from mh-speed-refresh-p.
8378 (mh-speed-update-current-folder, mh-speed-invalidate-map,
8379 mh-speed-add-folder): Use it.
8380 This addresses part of SF #627015.
8381
8382 * mh-utils.el:
8383 s/mh-xemacs-p/mh-xemacs-flag/
8384 s/mh-tool-bar-reply-3-buttons/mh-tool-bar-reply-3-buttons-flag/
8385 s/mh-show-use-xface/mh-show-use-xface-flag/
8386 (mh-xemacs-flag): Renamed from mh-xemacs-p.
8387 (mh-show-xface-function): Use it.
8388 (mh-tool-bar-reply-3-buttons-flag): Renamed from
8389 mh-tool-bar-reply-3-buttons.
8390 (mh-show-tool-bar-map): Use it.
8391 (mh-adaptive-cmd-note-flag): Renamed from mh-adaptive-cmd-note.
8392 (mh-cmd-note): Use it in description.
8393 (mh-show-use-xface-flag): Renamed from mh-show-use-xface. Use
8394 mh-xemacs-flag.
8395 (mh-show-xface): Use mh-show-use-xface-flag.
8396 This addresses part of SF #627015.
8397
83982002-10-23 Bill Wohler <wohler@newt.com>
8399
8400 * Makefile (all): Rather than have to run "make clean all" all the
8401 time, make the default target do a clean so all you have to say is
8402 "make".
8403
8404 * mh-e.el (mh-folder-map): Moved "t (mh-toggle-threads)" to T
8405 prefix.
8406
84072002-10-22 Satyaki Das <satyaki@theforce.stanford.edu>
8408
8409 * mh-index.el (mh-indexer-choices, mh-swish-binary): The
8410 executable swish-e can be used to search (just like swish-search).
8411 However the Makefile in swish-e-2.2.2 doesn't install
8412 swish-search. So it is preferable to use swish-e.
8413
84142002-10-22 Bill Wohler <wohler@newt.com>
8415
8416 * mh-comp.el (mh-letter-mode-map): Added aliases for keybindings.
8417 For example, you now have "C-c C-m C-i" in addition to "C-c C-m
8418 i".
8419
84202002-10-22 Mark D. Baushke <mdb@gnu.org>
8421
8422 * mh-mime.el (mh-graphical-smileys-flag): Renamed from
8423 mh-graphical-smileys-p.
8424 (mh-display-smileys): Use it.
8425 (mh-graphical-emphasis-flag): Renamed from
8426 mh-graphical-emphasis-p.
8427 (mh-display-emphasis): Use it. This addresses part of SF #627015.
8428
84292002-10-22 Satyaki Das <satyaki@theforce.stanford.edu>
8430
8431 * mh-mime.el (mh-insert-mime-security-button): A message is
8432 produced if PGP decryption/verification fails. This addresses
8433 SF# 627025.
8434
84352002-10-21 Bill Wohler <wohler@newt.com>
8436
8437 * mh-seq.el (mh-widen): Checkdoc removed the period in the error.
8438 The info node (elisp) Coding Conventions says: "An error message
8439 should start with a capital letter but should not end with a
8440 period."
8441
8442 * mh-e.el, mh-utils.el (mh-tool-bar-reply-3-buttons): Moved
8443 defcustom to mh-utils because I got an error about a nil value for
8444 mh-tool-bar-reply-3-buttons when I fired up mh-rmail.
8445
8446 * mh-comp.el, mh-funcs.el, mh-mime.el, mh-pick.el: Moved (provide)
8447 to the end of the file to be consistent with most other files (see
8448 additional rationale in mh-e.el description below).
8449
8450 * mh-e.el: Had to remove eval-when-compile from the (require 'cl)
8451 here too (because the remove-if generated a warning in CVS Emacs).
8452 Moved (provide) to the end of the file to be consistent with most
8453 other files. My guess is that this is good to keep a feature from
8454 being "provided" if the file craps out while being loaded.
8455
84562002-10-21 Satyaki Das <satyaki@theforce.stanford.edu>
8457
8458 * mh-utils.el (mh-reply, Info-goto-node): Add autoloads to avoid
8459 compiler warnings.
8460 (mh-tool-bar-reply-3-buttons): Add defvar to avoid compiler
8461 warning.
8462
8463 * mh-seq.el (mh-narrow-to-seq): Remember that a narrowing has
8464 occurred.
8465 (mh-valid-view-change-operation-p): New function that checks if
8466 the widening or unthreading that we are about to perform is
8467 allowed.
8468 (mh-widen): Check if widening is applicable.
8469 (mh-thread-inc, mh-thread-folder): Use delete-region instead of
8470 erase-buffer. This means if the buffer is narrowed then the hidden
8471 parts aren't removed. This allows widening of the folder later on.
8472 (mh-toggle-threads): Maintain mh-view-ops.
8473
8474 * mh-e.el (mh-view-ops, mh-folder-mode): New buffer-local variable
8475 that keeps track of the sequence in which threading and narrowing
8476 of the folder buffer has been carried out. This is needed so that
8477 narrowing followed by threading (or vice versa) behaves in a
8478 reasonable manner.
8479 (mh-regenerate-headers): Use delete-region instead of
8480 erase-buffer.
8481 (mh-make-folder-mode-line): Change mh-first-msg-num and
8482 mh-last-msg-num conservatively. This might show a larger range in
8483 the mode-line but allows the unthreading to not miss messages
8484 present initially.
8485
84862002-10-21 Bill Wohler <wohler@newt.com>
8487
8488 * mh-mime.el (mh-graphical-emphasis-p): Added _underline_ to the
8489 docstring, as well as the source of the strings,
8490 gnus-emphasis-alist.
8491 (mh-graphical-emphasis-p, mh-graphical-smileys-p): Set the default
8492 to t.
8493
84942002-10-21 Peter S Galbraith <psg@debian.org>
8495
8496 * mh-utils.el (mh-show-mode): Invoke new toolbar.
8497 (mh-show-tool-bar-map): New tool-bar for mh-show-mode, similar to
8498 mh-letter-mode.
8499
85002002-10-21 Satyaki Das <satyaki@theforce.stanford.edu>
8501
8502 * mh-utils.el (mh-display-msg): Call the smiley display function
8503 after the call to mh-show-mode. This is needed since mh-show-mode
8504 kills all buffer-local variables and resets the variable that
8505 controls display of graphical smileys.
8506
85072002-10-21 Bill Wohler <wohler@newt.com>
8508
8509 * mh-e.el (mh-folder-mime-action): Change mime to MIME in message.
8510
8511 * mh-comp.el (mh-mml-to-mime autoload): Ditto.
8512
85132002-10-21 Mark D Baushke <mdb@gnu.org>
8514
8515 * mh-mime.el (smiley-region): Use load for a non-fatal dependency
8516 on the smiley library.
8517
85182002-10-21 Jeffrey C Honig <jch@honig.net>
8519
8520 * mh-comp.el (mh-forward): Search for a blank line as well as
8521 mail-header-separator.
8522 (mh-letter-mode): Search for a blank line as well as
8523 mail-header-separator.
8524 (mh-send-letter): The default BCC encapsulation will make a MIME
8525 message unreadable. If we are running nmh and the letter contains
8526 a Bcc: and a Content-Type: field, add the -mime switch to to the
8527 arguments to send.
8528
85292002-10-21 Peter S Galbraith <psg@debian.org>
8530
8531 * mh-utils.el: Add a mh-defun-show-buffer call to define
8532 mh-show-pack-folder.
8533
85342002-10-21 Peter S Galbraith <psg@debian.org>
8535
8536 * mh-mime.el (mh-store-mime-parts): Simplify code a bit.
8537
8538 * mh-e.el (mh-help-messages): Update help message for changed
8539 keybindings.
8540
85412002-10-21 Satyaki Das <satyaki@theforce.stanford.edu>
8542
8543 * mh-speed.el (mh-speed-invalidate-map): Invalidate
8544 mh-speed-folders-cache before it is used by mh-speed-folders. Also
8545 fix indentation of if statement.
8546 (mh-speed-folder-size): The folder name should be extracted from
8547 the speedbar buffer and not from the temp buffer has was happening
8548 before.
8549 (mh-speed-folder-size): Harden the function some more. It
8550 shouldn't produce errors any more unless flist really didn't work.
8551
85522002-10-21 Bill Wohler <wohler@newt.com>
8553
8554 * mh-seq.el (mh-put-msg-in-seq): Formatting only. The reason I was
8555 in there is because I was trying to use mh-put-msg-in-seq and
8556 mh-msg-is-in-seq non-interactively and found that although the
8557 docstring says it uses the current message by default, I got
8558 errors if I passed in nil for the message. Is this expected, or is
8559 this a bug? I suppose the fix would be to make the arguments
8560 optional, right? This would cause the arguments in
8561 mh-put-msg-in-seq to be reversed, however. Might be a backwards
8562 compatibility problem.
8563
8564 * mh-speed.el (mh-speed-view): Convert default size to string
8565 before passing it to read-string. This was done because XEmacs
8566 can't handle a numeric value for the default.
8567
85682002-10-20 Satyaki Das <satyaki@theforce.stanford.edu>
8569
8570 * mh-utils.el (mh-show-mode-map, mh-show-folder-map)
8571 (mh-show-sequence-map, mh-show-thread-map, mh-show-extract-map)
8572 (mh-show-digest-map, mh-show-mime-map): Interactive functions
8573 callable in show buffer are now prefixed with mh-show.
8574
8575 * mh-seq.el (mh-notate-deleted-and-refiled): Take into account the
8576 changes to mh-refile-list and the removal of the 'deleted
8577 sequence.
8578 (mh-toggle-threads): Changing from threaded to normal view doesn't
8579 try to push out message refiles and deletions to MH.
8580
8581 * mh-e.el (mh-rescan-folder, mh-scan-folder): Add a new optional
8582 argument to both functions that prevents them from carrying out
8583 pending refiles and deletes.
8584 (mh-undo): Remove dead code.
8585 (mh-delete-a-msg, mh-undo-msg): Get rid of the 'deleted sequence.
8586 The same information is present in mh-delete-list any way.
8587 (mh-refile-a-msg, mh-undo-msg, mh-process-commands): Change the
8588 semantics of mh-refile-list to make it self-contained. This
8589 variable now contains a list of lists. The first element of each
8590 sublist is the destination folder name. The remaining elements are
8591 the messages that are to be refiled to the destination folder.
8592 (mh-toggle-threads, mh-folder-folder-menu): Use mh-toggle-threads
8593 instead of mh-thread-folder.
8594
85952002-10-20 Peter S Galbraith <psg@debian.org>
8596
8597 * mh-mime.el (mh-store-mime-parts): Bug fix? Make this command
8598 work when in the show buffer, and not just in the folder buffer
8599 pointing to a message.
8600
86012002-10-20 Peter S Galbraith <psg@debian.org>
8602
8603 * mh-seq.el (mh-narrow-to-subject-sequence): Renamed from
8604 mh-narrow-to-subject-thread.
8605 (mh-subject-to-sequence): Renamed from mh-subject-thread-to-sequence.
8606 (mh-delete-subject-sequence): Renamed from mh-delete-subject-thread.
8607 (mh-next-unseen-subject-sequence): Renamed from
8608 mh-next-unseen-subject-thread.
8609 (mh-toggle-subject-thread): Removed. :-(
8610
8611 * mh-e.el: s/subject-thread/subject-sequence/
8612 (mh-thread-map): Bind mh-widen to "w".
8613
8614 * mh-utils.el: s/subject-thread/subject-sequence/
8615 (mh-show-thread-map): Bind mh-widen to "w".
8616
86172002-10-20 Satyaki Das <satyaki@theforce.stanford.edu>
8618
8619 * mh-seq.el (mh-thread-folder): This function is no longer
8620 interactive. The mh-toggle-threads is the interactive function
8621 that gets called by the user. Also the already computed values in
8622 mh-first-msg-num and mh-last-msg-num are used instead of
8623 recomputing the first and last message indices in the current
8624 folder.
8625 (mh-toggle-threads): New interactive function that toggles
8626 threaded view of the folder.
8627
8628 * mh-utils.el (mh-letter-toggle-threads): New interactive function
8629 which toggles thread view from show buffer. This function replaces
8630 mh-letter-thread-folder.
8631 (mh-show-folder-map): Use mh-letter-toggle-threads instead of
8632 mh-letter-thread-folder.
8633
8634 * mh-e.el (mh-folder-map): Use mh-toggle-threads instead of
8635 mh-thread-folder.
8636
86372002-10-20 Bill Wohler <wohler@newt.com>
8638
8639 * mh-e.el (mh-scan-folder): Formatting only.
8640 (mh-goto-cur-msg): Removed call to mh-last-msg in those cases
8641 where there isn't a current message. Since I've started using the
8642 speedbar to read my mh-e mail, I've had to use M-< every time to
8643 go to the beginning of the new messages. Very annoying! Thus, if
8644 there isn't a current message, the cursor is left alone, which
8645 sounds like the right thing to do anyway.
8646
86472002-10-19 Peter S Galbraith <psg@debian.org>
8648
8649 * mh-seq.el (mh-subject-thread-to-sequence): Bug fix. After
8650 making the 'subject sequence real, I now have to delete it globally.
8651
8652 * mh-seq.el (mh-toggle-subject-thread): Make toggle back to full
8653 scan exactly mh-widen (removed moving to current message).
8654
8655 * mh-seq.el (mh-subject-thread-to-sequence): Make 'subject
8656 sequence a real one, exported to MH. This means you can, for
8657 example, mh-forward it. But it also shows up with a mark in the
8658 scan output. (Closes SF #489445).
8659
86602002-10-19 Bill Wohler <wohler@newt.com>
8661
8662 * mh-speed.el (mh-speed-view): If there weren't any unseen
8663 messages, and you specified a string (a sequence like "last") when
8664 prompted for the number of messages to display, you got an error.
8665 This has been fixed.
8666
86672002-10-19 Mark D Baushke <mdb@gnu.org>
8668
8669 * mh-e.el (mh-last-destination-folder): Destination of last refile
8670 command.
8671 (mh-last-destination-write): Destination of last write command.
8672 (mh-refile-msg): Use 'mh-last-destination-folder and update both it
8673 and 'mh-last-destination.
8674 (mh-write-msg-to-file): Use 'mh-last-destination-write and update
8675 both it and 'mh-last-destination (Closes SF #580772).
8676
86772002-10-19 Bill Wohler <wohler@newt.com>
8678
8679 * mh-comp.el (mh-yank-from-start-of-msg): Changed default to
8680 'attribution.
8681 (mh-letter-mode-map): Removed commented-out keybindings as well as
8682 alias "C-c C-m a (mh-compose-insertion)." Prefer "C-c C-m i."
8683
8684 * mh-utils.el: Removed autoload of help. It no longer appears to
8685 be necessary in cvs Emacs (21.4).
8686
86872002-10-18 Bill Wohler <wohler@newt.com>
8688
8689 * mh-e.el (mh-execute-commands): Doc fix.
8690 (mh-compat-write-file-hook): Renamed to
8691 mh-write-file-functions-compat.
8692 (mh-folder-mode): Add mh-write-file-functions-compat instead of
8693 mh-compat-write-file-hook
8694
86952002-10-18 Peter S Galbraith <psg@debian.org>
8696
8697 * mh-utils.el (mh-invisible-headers-show-xface): Killed this
8698 variable.
8699 (mh-invisible-headers): Use 'mh-show-use-xface instead of
8700 'mh-invisible-headers-show-xface to determine whether to render
8701 the X-Face header line visible or not.
8702
87032002-10-18 Satyaki Das <satyaki@theforce.stanford.edu>
8704
8705 * mh-e.el (mh-compat-write-file-hook, mh-folder-mode): Use the new
8706 macro mh-compat-write-file-hook to use write-file-functions for
8707 Emacs 21.4 and local-write-file-hooks for older versions.
8708
87092002-10-18 Mark D Baushke <mdb@gnu.org>
8710
8711 * mh-utils.el (mh-invisible-headers): Add more anti-spam headers.
8712
87132002-10-18 Peter S Galbraith <psg@debian.org>
8714
8715 * mh-mime.el (mh-mml-forward-message): mml-attach-file constructs
8716 a malformed composition if the description string is empty, so
8717 test for that and call mml-attach-file without that argument if
8718 it's an empty string (closes SF #625168).
8719
87202002-10-17 Satyaki Das <satyaki@theforce.stanford.edu>
8721
8722 * mh-index.el (mh-index-keymap): Removed extra binding of " ".
8723 (mh-index-folder-mode-help-messages): Made the cheat sheet entry
8724 of quit like the others.
8725 (mh-index-search): If space was pressed in the index buffer before
8726 a search result has been shown with ".", the old show buffer would
8727 be scrolled. This is confusing since the index and show buffer
8728 contents are contradictory. Killing the show buffer here avoids
8729 this problem.
8730 (mh-index-configure-windows): Refine the window configuration
8731 logic. Avoid the two window view unless there is a message being
8732 displayed in the show buffer.
8733 (mh-index-scroll-up): Rewrite this function. The old version had a
8734 bizarre problem where the show buffer wouldn't be scrolled if the
8735 speedbar was present.
8736 (mh-index-scroll-down): Rewritten because of similar reason as
8737 above.
8738
87392002-10-17 Peter S Galbraith <psg@debian.org>
8740
8741 * mh-comp.el (mh-reply): Add an undo boundary in the undo list
8742 before calling 'mh-yank-cur-msg (closes SF #623693).
8743
87442002-10-17 Satyaki Das <satyaki@theforce.stanford.edu>
8745
8746 * mh-e.el (mh-folder-mode): Use local-write-file-hooks instead of
8747 write-file-hooks. This is required for XEmacs and also the right
8748 thing according to GNU Emacs21 documentation.
8749
87502002-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
8751
8752 * mh-seq.el (mh-thread-generate): Get threading to work correctly
8753 on partial folders. The fix here disregards messages that aren't
8754 already present in the buffer.
8755 (mh-thread-folder): When querying scan about thread info try to
8756 avoid asking about messages that aren't present in the folder
8757 buffer. A more efficient fix would be to ask scan about just the
8758 messages that are present instead of a range of messages. However
8759 that runs the risk of sending long command lines to scan. Another
8760 change was to populate the mh-scan-line-map early so that the
8761 change in mh-thread-generate would work.
8762 (mh-thread-generate-scan-lines): In case duplicates are present
8763 make one of them the pseudo parent of the rest. This makes it look
8764 prettier if there are multiple duplicates at top level.
8765
8766 * mh-comp.el (mh-edit-again): If a buffer in show-mode is being
8767 reused then reinsert message file. This should fix SF #624283.
8768
8769 * mh-mime.el (mh-mm-display-part): Make sure mh-display-part is
8770 always called when we want to remove the displayed MIME part.
8771
87722002-10-16 Bill Wohler <wohler@newt.com>
8773
8774 * mh-speed.el (mh-speed-folder-size): checkdoc fix.
8775 (mh-speed-view): Tweaked output to mirror gnus verbiage. Offer
8776 to view number of messages in folder rather than mh-large-folder.
8777 Replaced (intern mh-unseen-seq) with mh-unseen-seq since the
8778 former was generating errors.
8779
87802002-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
8781
8782 * mh-speed.el (mh-large-folder): New customizable variable to
8783 control mh-e's perception of large folders.
8784 (mh-speed-folder-size): New function which computes the size of
8785 folder on current line.
8786 (mh-speed-view): Modified to handle large folders. If the folder
8787 being clicked has unseen messages then only those messages are
8788 shown. Otherwise if number of messages in folder is larger than
8789 mh-large-folders then the user is asked for the number of messages
8790 to be shown. If the folder satisfies neither of the above cases
8791 then it is displayed in its entirety
8792
87932002-10-15 Bill Wohler <wohler@newt.com>
8794
8795 * mh-index.el (mh-index-keymap): Use gnus-define-keys. Sorted.
8796 Noticed that there were two key bindings for SPACE...
8797
8798 * mh-speed.el (mh-folder-speedbar-key-map): Ditto (except for the
8799 dup SPACE binding).
8800
8801 Completed help in other modes:
8802
8803 * mh-utils.el (mh-xemacs-p): Fixed doc.
8804 (mh-show-mode-map, mh-show-folder-map, mh-show-sequence-map)
8805 (mh-show-thread-map, mh-show-extract-map): Added binding for
8806 mh-help.
8807
8808 * mh-pick.el (mh-search-folder): Added startup help message.
8809 (mh-pick-mode-help-messages): New variable that contains help
8810 messages for pick buffer.
8811 (mh-pick-mode): Set local buffer variable mh-help-messages to
8812 mh-pick-mode-help-messages.
8813
8814 * mh-index.el (mh-index-keymap): Added binding for mh-help
8815 (mh-index-folder-mode-help-messages): New variable that contains
8816 help messages for MH Index buffer.
8817 (mh-index-folder-mode): Set local buffer variable mh-help-messages
8818 to mh-index-mode-help-messages.
8819
8820 * mh-funcs.el (mh-help, mh-prefix-help): Call
8821 substitute-command-keys on the help messages.
8822
8823 * mh-e.el (mh-help-messages): Added ,. Ran C-M-q.
8824 (mh-help): This autoload doc is now used for more than just the
8825 MH-Folder, so drop that specific text.
8826
8827 * mh-comp.el (mh-edit-again, mh-extract-rejected-mail)
8828 (mh-forward, mh-reply, mh-send-sub): Call mh-letter-mode-message
8829 to display a help message at startup.
8830 (mh-letter-mode): Set local buffer variable mh-help-messages to
8831 mh-letter-mode-help-messages.
8832 (mh-letter-mode-help-messages): New variable with help messages
8833 for the MH-Letter buffer.
8834 (mh-letter-mode-message): New function that displays a startup
8835 help message.
8836 (mh-letter-mode-map): Added binding for mh-help. Sorted.
8837
88382002-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
8839
8840 * mh-speed.el (mh-speedbar-selected-folder-with-unseen-messages-face)
8841 (mh-speedbar-folder-face, mh-speedbar-selected-folder-face)
8842 (mh-speedbar-folder-with-unseen-messages-face): New faces for mh-e
8843 speedbar.
8844 (mh-folder-speedbar-buttons, mh-speed-update-current-folder)
8845 (mh-speed-add-buttons): Use the new faces.
8846 (mh-speed-normal-face, mh-speed-bold-face): Functions to convert
8847 to bold face and back to normal face.
8848 (mh-speed-set-face): Removed.
8849 (mh-speed-highlight): Modified to allow it to be used instead of
8850 mh-speed-set-face. Also changes were made to fontify folders with
8851 unread messages.
8852 (mh-speed-parse-flists-output, mh-speed-parse-flists-output)
8853 (mh-speed-invalidate-map): Use mh-speed-highlight instead of
8854 mh-speed-set-face.
8855
88562002-10-15 Bill Wohler <wohler@newt.com>
8857
8858 * mh-mime.el, mh-seq.el, mh-speed.el, mh-utils.el: It appears that
8859 the cl package has been restructured in 21.4 in such a way that
8860 the use of eval-when-compile no longer suppresses warnings when
8861 compiling so that (require 'cl) must be called directly (maybe
8862 this is a bug in 21.4 ;-). Thus the autoloads of cl are no longer
8863 needed. Now compiles clean under 21.4.
8864
8865 * mh-e.el (mh-folder-mode): The use of local-write-file-hooks is
8866 deprecated in Emacs 21.4, so use add-hook write-file-functions (or
8867 write-file-hook for older versions) with the LOCAL argument
8868 instead. Now compiles clean under 21.4.
8869
8870 * mh-comp.el (mh-yank-cur-msg): Push a mark at the opposite end of
8871 the included text to make it easy to jump or delete to the other
8872 end of the included text.
8873
88742002-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
8875
8876 * mh-comp.el (mh-insert-prefix-string): Remove the erroneous use
8877 of set-mark and other related functions.
8878
88792002-10-14 Bill Wohler <wohler@newt.com>
8880
8881 * mh-comp.el (mh-yank-from-start-of-msg): Fixed documentation. It
8882 isn't ignored if there is a region. It is still used for the
8883 attribution.
8884 (mh-yank-cur-msg): Removed unnecessary push-mark when snarfing the
8885 entire message. Move the cursor to the end of the snarfed message
8886 if there is a region. In this case, push a mark so user can pop to
8887 the beginning of the snarfed fragment.
8888 (mh-insert-prefix-string): This calls set-mark which I find
8889 suspect since I found that my last user mark was deleted after
8890 yanking a message. Added a comment to this effect. Will probably
8891 add a bug report...
8892
8893 * README (Installed, Supported versions): To appear in GNU Emacs
8894 21.3; supported on Emacs 21, 20.7 and XEmacs 21.
8895
8896 * mh-funcs.el (mh-concat-list): Deleted. Use mapconcat instead.
8897 (mh-help, mh-prefix-help): Use mapconcat instead of mh-concat-list.
8898 (mh-ephem-message): Use "%s" in message.
8899
8900 * mh-funcs.el (mh-concat-list): New function to concatenate a list
8901 of strings into a single string. I would have thought elisp
8902 already contained a function like this, but I couldn't find it.
8903 (mh-ephem-message): New function to display a message in the
8904 minibuffer ephemerally. minibuffer-message seemed like the right
8905 function, but it writes to the current buffer oddly enough.
8906 (mh-help, mh-prefix-help): New functions to display command
8907 cheat sheets in the minibuffer (closes SF #493740). It would be
8908 nice to refactor these two into a single function if possible.
8909
8910 * mh-e.el (mh-folder-mode-map, mh-folder-map, mh-sequence-map)
8911 (mh-thread-map, mh-extract-map): Added ? keybinding for `mh-help'
8912 and `mh-prefix-help' (closes SF #493740).
8913 (mh-help-messages): New variable to hold various help messages.
8914 (mh-help, mh-prefix-help): Autoload from mh-funcs.el.
8915
89162002-10-13 Bill Wohler <wohler@newt.com>
8917
8918 * mh-index.el (mh-glimpse-directory, mh-swish-directory,
8919 mh-namazu-directory): New variables that hold the name of the
8920 configuration and indexing directory. All are now hidden `.'
8921 directories.
8922
8923 * mh-e.el, mh-funcs.el, mh-index.el, mh-mime.el, mh-pick.el,
8924 mh-seq.el, mh-xemacs-compat.el (Docstrings): Converted comments to
8925 docstrings, reworded some docstrings to conform to Emacs
8926 documentation conventions, and eliminated all checkdoc warnings
8927 (except for -flag, which we'll fix after 6.2 is released).
8928
89292002-10-13 Satyaki Das <satyaki@theforce.stanford.edu>
8930
8931 * mh-index.el (mh-swish-next-result): Fix a bug in a corner case
8932 where the lack of a trailing "/" caused the function to wrongly
8933 filter out correct hits. This should fix SF #622679.
8934
89352002-10-12 Steve Youngs <youngs@xemacs.org>
8936
8937 * mh-utils.el (mh-xemacs-p): Simplify it, don't test for
8938 'defvaralias' and don't use 'running-xemacs'.
8939
89402002-10-11 Bill Wohler <wohler@newt.com>
8941
8942 * mh-comp.el: (Docstrings): Eliminated all checkdoc warnings by
8943 converting comments to docstrings and rewording some docstrings to
8944 conform to Emacs documentation conventions.
8945
89462002-10-11 Steve Youngs <youngs@xemacs.org>
8947
8948 * mh-utils.el (mh-xemacs-p): New.
8949 (mh-show-use-xface): Use it.
8950 (mh-show-xface-function): Ditto.
8951
8952 * mh-e.el (toplevel): Ditto.
8953 (mh-remove-xemacs-horizontal-scrollbar): Ditto.
8954 (mh-folder-mode-map): Ditto.
8955
8956 * mh-comp.el (mh-insert-x-mailer): Ditto.
8957
8958 * mh-mime.el (gnus-local-map-property): Ditto.
8959 (mh-mml-to-mime): Move (require 'mh-utils) to toplevel.
8960 (mh-prompt-for-folder): Autoloading this not needed because
8961 mh-utils is now required at toplevel.
8962 (mh-show-xface): Ditto.
8963 (mh-show-addr): Ditto.
8964
89652002-10-11 Bill Wohler <wohler@newt.com>
8966
8967 * Makefile (EMACS_HOME): Set default to $(TOP)/../emacs so it
8968 would be useful.
8969
8970 * mh-utils.el (mh-invisible-headers): Added various spam header
8971 fields.
8972 (mh-path-search): Removed argument `func-p' and related code. It
8973 was not documented and no one used it.
8974 (Docstrings): Converted comments to docstrings, reworded some
8975 docstrings to conform to Emacs documentation conventions, and
8976 basically eliminated all checkdoc warnings (except for -flag
8977 warnings).
8978
89792002-10-11 Satyaki Das <satyaki@theforce.stanford.edu>
8980
8981 * mh-seq.el (mh-thread-generate): Kill dead code.
8982
89832002-10-10 Satyaki Das <satyaki@theforce.stanford.edu>
8984
8985 * mh-seq.el (mh-region-to-sequence): Don't include point-max in
8986 region (closes SF #621632).
8987
8988 * mh-utils.el (mh-defun-show-buffer): Fix call of
8989 frame-first-window to work with XEmacs. Also avoid warning about
8990 cur-buffe-name in XEmacs.
8991 (mh-modify, mh-goto-msg): Remove dead code.
8992
8993 * mh-speed.el (mh-speed-toggle, mh-speed-add-buttons): Remove dead
8994 code.
8995
8996 * mh-seq.el (mh-subject-thread-to-sequence, mh-thread-get-message,
8997 mh-thread-generate, mh-thread-folder): Remove dead code.
8998
8999 * mh-mime.el (mh-mm-inline-message): Remove dead code.
9000
9001 * mh-index.el (mh-index-search): Remove dead code.
9002
9003 * mh-comp.el (mh-open-line): Remove dead code.
9004
9005 * mh-e.el (mh-folder-mode): Use the macro
9006 mh-remove-xemacs-horizontal-scrollbar to avoid compiler-warning in
9007 Emacs.
9008 (mh-remove-xemacs-horizontal-scrollbar): New macro to avoid
9009 compiler-warnings.
9010
90112002-10-10 Mark D Baushke <mdb@gnu.org>
9012
9013 * Makefile (EMACS_OPTIONS): New macro for command-line compile
9014 options.
9015 (EMACS): Allow the user to specify which emacs command to use for
9016 the compile.
9017 (COMPILE_COMMAND): Combine the compile command with its options.
9018 (.el.elc): Use the new $(COMPILE_COMMAND).
9019
90202002-10-10 Mark D Baushke <mdb@gnu.org>
9021
9022 * mh-speed.el (mh-speed-select-attached-frame): Define a new
9023 compatibility macro for getting to the attached-frame.
9024 (mh-speed-update-current-folder): Use it.
9025
90262002-10-10 Mark D Baushke <mdb@gnu.org>
9027
9028 * mh-speed.el (mh-speed-update-current-folder): Use
9029 'dframe-select-attached-frame if we are in a newer speedbar
9030 version that no longer supports the 'speedbar-attached-frame
9031 variable.
9032
90332002-10-10 Steve Youngs <youngs@xemacs.org>
9034
9035 * mh-speed.el (mh-speed-update-current-folder): Use
9036 'dframe-select-attached-frame' if we're in XEmacs.
9037
9038 * mh-e.el (mh-folder-mode): Remove the horizontal scrollbar from
9039 the MH-Folder buffer if we're in XEmacs.
9040
90412002-10-09 Satyaki Das <satyaki@theforce.stanford.edu>
9042
9043 * mh-utils.el (mh-show-xface-function): New global that stores
9044 what function needs to be called to display X-Face.
9045 (mh-show-xface): Rewritten to avoid compiler warning.
9046
90472002-10-09 Peter S Galbraith <psg@debian.org>
9048
9049 * mh-utils.el (mh-exchange-point-and-mark-preserving-active-mark):
9050 Simplify code for all emacsen to avoid byte-compilation warnings.
9051
90522002-10-09 Satyaki Das <satyaki@theforce.stanford.edu>
9053
9054 * mh-mime.el (mh-mm-display-part): If a sub-part of the current
9055 part is an inline image then clicking the button keeps the image
9056 around. The change fixes this bug.
9057
90582002-10-09 Peter S Galbraith <psg@debian.org>
9059
9060 * mh-utils.el (mh-exec-cmd-output): Use new function
9061 'mh-exchange-point-and-mark-preserving-active-mark instead of
9062 'exchange-point-and-mark. Fixes a bug in emacs20 and XEmacs21.
9063 (mh-exchange-point-and-mark-preserving-active-mark): New function.
9064 Does like 'exchange-point-and-mark but doesn't activate the mark.
9065
9066 * mh-comp.el (mh-letter-menu): Allow access to "Pull in All
9067 Compositions" menu entries when edits have really occurred.
9068 Works with "forw: -mime" mh_profile entry, so this fixes a bug.
9069
9070 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part): Use
9071 line-beginning-position and line-end-position instead of
9072 point-at-bol and point-at-eol XEmacs functions.
9073 * mh-xemacs-compat.el: Added line-end-position and
9074 line-beginning-position compatibility aliases.
9075
90762002-10-08 Mark D. Baushke <mdb@gnu.org>
9077
9078 * mh-utils.el (mh-scan-msg-format-regexp): The regexp to find
9079 %number(msg).
9080 (mh-scan-msg-format-string): Format to be used with the current
9081 maximum width of message number for the folder in the
9082 `mh-upate-scan-format' function.
9083 (mh-update-scan-format): Use `mh-scan-msg-format-regexp' for greater
9084 flexibility. The message number is no longer anchored to the
9085 beginning of the `mh-scan-format-nmh' or `mh-scan-format-mh' format
9086 strings. The `mh-update-scan-format' allows for using zero-filled
9087 message numbers.
9088
90892002-10-08 Peter S Galbraith <psg@debian.org>
9090
9091 * mh-e.el (mh-folder-folder-menu): Add entry for "Thread Folder".
9092
90932002-10-07 Satyaki Das <satyaki@theforce.stanford.edu>
9094
9095 * mh-seq.el (mh-thread-generate): Use mh-progs to get path to mh
9096 executables.
9097
9098 * mh-speed.el (mh-speed-flists): Use mh-progs to get path to mh
9099 executables right.
9100 (mh-speed-folders-actual): Same as above.
9101
91022002-10-05 Steve Youngs <youngs@xemacs.org>
9103
9104 * mh-comp.el (mh-yank-from-start-of-msg): Make default setting 't'
9105 a const.
9106
9107 * mh-xemacs-compat.el (match-string-no-properties): Rewrite as a
9108 defsubst using 'buffer-substring-no-properties' so we don't grab
9109 any extents.
9110 (rfc822-goto-eoh): Removed. This exists in the XEmacs mail-lib
9111 package.
9112 (mail-header-end): Ditto.
9113 (mail-mode-fill-paragraph): Ditto.
9114
91152002-10-05 Satyaki Das <satyaki@theforce.stanford.edu>
9116
9117 * mh-speed.el (mh-speed-invalidate-map): When called interactively
9118 the function will clear mh-speed-folders-cache.
9119
91202002-10-02 Satyaki Das <satyaki@theforce.stanford.edu>
9121
9122 * mh-mime.el (mh-insert-mime-button): Rewrite without using
9123 replace-match.
9124
91252002-10-01 Satyaki Das <satyaki@theforce.stanford.edu>
9126
9127 * mh-mime.el (mh-file-mime-type-substitutions): Reorder code to
9128 avoid compiler warning.
9129
91302002-10-01 Bill Wohler <wohler@newt.com>
9131
9132 * Makefile (MH-E-ETC): Moved ChangeLog into MH-E-ETC-ETC since it
9133 shouldn't get installed in Emacs.
9134 (install-emacs): Install MH-E-IMG into Emacs' lisp/toolbar and
9135 MH-E-IMG2 into Emacs' lisp/mail.
9136
91372002-10-01 Peter S Galbraith <psg@debian.org>
9138
9139 * mh-e.el (mh-tool-bar-reply-3-buttons): New customization.
9140 Non-nil means use three buttons for reply commands in tool-bar.
9141 If you have room on your tool-bar because you are using a large
9142 font, you may set this variable to expand the single reply
9143 button into three buttons that won't lead to minibuffer prompt
9144 about who to reply to.
9145 (mh-folder-tool-bar-map): Use mh-tool-bar-reply-3-buttons to
9146 decide how many buttons to use for replying.
9147
9148 * mh-mime.el (mh-file-mime-type-substitutions)
9149 (mh-file-mime-type-substitute): Fix typos and doc strings.
9150
91512002-09-30 Peter S Galbraith <psg@debian.org>
9152
9153 * mh-mime.el (mh-file-mime-type): Run Content-Type string returned
9154 by file command through mh-file-mime-type-substitute (see below).
9155 (mh-file-mime-type-substitute): Possibly change Content-Type
9156 string using mh-file-mime-type-substitutions variable. This is
9157 mostly because all MS-Office file are seen as application/msword
9158 by the file command.
9159 (mh-file-mime-type-substitutions): New variable. Defines
9160 substitutions to make for Content-Type returned from file command.
9161
91622002-09-27 Bill Wohler <wohler@newt.com>
9163
9164 * README: Moved Id to end of file since it broke outline mode at
9165 the beginning.
9166
9167 * import-emacs (release): Renamed "mainline" tag to
9168 "emacs-mainline" to correspond with existing CVS tag.
9169 (EMACS_HOME): Fixed typo in docstring.
9170
9171 * mh-utils.el (mh-folder-name-p, mh-defun-show-buffer): Lowercase
9172 NIL and T in docstring.
9173 (mh-update-scan-format): Fixed typo.
9174
9175 * mh-comp.el, mh-e.el, mh-pick.el, mh-utils.el: Updated from CVS
9176 Emacs. The only new thing appears to be to downcase NIL and T in
9177 the documentation.
9178
91792002-09-26 Satyaki Das <satyaki@theforce.stanford.edu>
9180
9181 * mh-seq.el (mh-thread-generate): The threading code will now be
9182 more resistant to corruption of messages. Before the change any
9183 corruption of message x would cause all messages with indices
9184 higher than x to be neglected when threading!
9185
91862002-09-23 Peter S Galbraith <psg@debian.org>
9187
9188 * mh-mime.el (mh-store-mime-parts): Don't store value into
9189 user-customizable variable mh-store-mime-parts-default-directory
9190 and use mh-store-mime-parts-directory instead.
9191
91922002-09-20 Satyaki Das <satyaki@theforce.stanford.edu>
9193
9194 * mh-seq.el (mh-thread-prune-subject): Use regular expressions to
9195 make the subject pruning behave the way it is specified in the
9196 imap-thread RFC.
9197
9198 * mh-speed.el (mh-speed-folders-actual): Don't use pop when we
9199 are not going to use the first element. This avoids a compilation
9200 warning with cvs emacs.
9201
92022002-09-19 Satyaki Das <satyaki@theforce.stanford.edu>
9203
9204 * mh-utils.el (mh-display-msg): Put the call to
9205 set-buffer-modified after mh-show-mode. This is needed for CVS
9206 emacs since calling mh-show-mode marks the buffer as modified if
9207 font-lock is on.
9208
92092002-09-17 Peter S Galbraith <psg@debian.org>
9210
9211 * mh-mime.el (mh-store-mime-parts-default-directory): Renamed from
9212 mh-store-mime-parts-directory
9213 (mh-store-mime-parts-directory): Renamed from
9214 mh-store-mime-parts-directory-default.
9215
92162002-09-16 Peter S Galbraith <psg@debian.org>
9217
9218 * mh-comp.el (mail-citation-hook): Doc tweaks suggested by Bill.
9219
92202002-09-08 Satyaki Das <satyaki@theforce.stanford.edu>
9221
9222 * mh-e.el (autoloads): Reorder autoload of mh-reply to avoid
9223 compiler warning.
9224
92252002-09-03 Peter S Galbraith <psg@debian.org>
9226
9227 * mh-mime.el (mh-store-mime-parts-directory): New defcustom.
9228 Default directory to use for mh-store-mime-parts.
9229 (mh-store-mime-parts): New Command. Store the MIME parts of the
9230 current message.
9231 (mh-store-mime-parts-directory-default): New internal working
9232 variable. Default to use for mh-store-mime-parts-directory, set
9233 from last use.
9234
9235 * mh-e.el (mh-folder-seq-tool-bar-map): Add mh-store-mime-parts to
9236 toolbar.
9237
9238
92392002-08-22 Satyaki Das <satyaki@theforce.stanford.edu>
9240
9241 * mh-seq.el (mh-thread-generate-scan-lines): In threaded view,
9242 complete scan lines are printed for all messages (not just the
9243 ones at the top of a thread).
9244
9245 * mh-index.el (mh-index-insert-scan): Replace use of kill-line
9246 since that pollutes the kill-ring.
9247
9248 * mh-comp.el (autoloads): Add autoloads for search and subseq to
9249 get rid of compiler warnings.
9250
92512002-08-19 Peter S Galbraith <psg@debian.org>
9252
9253 * reply-to.xpm, reply-to.pbm, reply-from.xpm, reply-from.pbm,
9254 * reply-all.xpm, reply-all.bpm: New icons for various reply methods.
9255 * mh-e.el (mh-folder-tool-bar-map): Split reply button into three
9256 that won't prompt for "from", "to" and "all".
9257 * mh-comp.el (mh-reply): Put variable reply-to in the interactive
9258 list since it's specified on the command line for the new toolbar.
9259
9260 * mh-comp.el (mail-citation-hook): Tweak docs concerning
9261 historical usage for supercite.
9262 (mh-yank-from-start-of-msg): Add settings 'supercite and
9263 'autosupercite. Rename 'automatic to 'autoattrib.
9264 (mh-insert-prefix-string): Invoke sc-cite-original if
9265 mh-yank-from-start-of-msg is et to 'supercite or 'autosupercite.
9266
92672002-08-17 Satyaki Das <satyaki@theforce.stanford.edu>
9268
9269 * mh-comp.el (compilation-fix): Reorder defvars to avoid warnings
9270 during compilation.
9271
92722002-08-17 Peter S Galbraith <psg@debian.org>
9273
9274 * mh-comp.el (mh-yank-from-start-of-msg): Add 'automatic choice.
9275 Do as for `attribution' automatically when show buffer matches the
9276 message being replied-to.
9277 (mh-reply): Call 'mh-yank-cur-msg when mh-yank-from-start-of-msg
9278 is set to 'automatic and show buffer matches message number being
9279 replied-to.
9280 (mh-show-buffer-message-number): New helper function to get the
9281 message number of the current show-buffer.
9282 (mh-yank-cur-msg): Handle 'automatic choice the same as 'attribution.
9283 (mh-yank-cur-msg): Bug fix. It would bail on error if
9284 mh-show-buffer didn't exists.
9285
92862002-08-16 Peter S Galbraith <psg@debian.org>
9287
9288 * mh-comp.el (mh-insert-x-mailer): It wrongly assumed that Emacs
9289 was used even when XEmacs was used. Fixed so X-Mailer header is
9290 more exact about what we are using.
9291
92922002-08-15 Peter S Galbraith <psg@debian.org>
9293
9294 * mh-e.el (mh-version): Change CVS version number to 6.1+cvs just
9295 so X-Mailer header is more exact about what we are using.
9296
9297 * mh-mime.el (mh-mhn-compose-insertion, mh-mhn-compose-anon-ftp,
9298 mh-mml-attach-file):
9299 "Jeffrey P. Morgenthaler" <jpmorgen@congee.gsfc.nasa.go> reported
9300 that "require" in emacs 20.3 doesn't handle 3 arguments. We
9301 use "load" at the top of file elsewhere anyway to handle such a
9302 case of non-essential loading, so switch to that here.
9303
93042002-08-06 Satyaki Das <satyaki@theforce.stanford.edu>
9305
9306 * mh-funcs.el (autoload): Add autoload for mh-speed-invalidate-map.
9307
9308 * mh-speed.el (mh-speed-add-folder): New function to make the
9309 speedbar aware of new folders when they are created by mh-e.
9310
9311 * mh-utils.el (mh-prompt-for-folder): Use mh-speed-add-folder to
9312 tell speedbar that new folder is being created. Also use folder
9313 instead of mkdir to create new folders.
9314
93152002-08-01 Peter S Galbraith <psg@debian.org>
9316
9317 * mh-utils.el (mh-decode-quoted-printable): Conditionalize the
9318 limit of search for quoted-printable. If we're using mm-decode
9319 for MIME decoding, it's possible that `mimedecode' could mess our
9320 message, so we only run a full search for quoted-printable parts
9321 when not using gnus' mm-decode. When using mm-decode, mimedecode
9322 can still help by handling the case of the whole message being
9323 quoted-printable as opposed to only a part.
9324
93252002-07-31 Peter S Galbraith <psg@debian.org>
9326
9327 * mh-comp.el (mh-compose-insertion): Moved from mh-mime.el because
9328 the pulldown menu were broken in XEmacs21 from this variable being
9329 undefined.
9330
93312002-07-28 Mark D. Baushke <mdb@gnu.org>
9332
9333 * mh-utils.el (mh-show-mode): Use the default paragraph-start
9334 rather than the inherited text-mode value.
9335
93362002-07-28 Satyaki Das <satyaki@theforce.stanford.edu>
9337
9338 * mh-seq.el (mh-thread-duplicates): New hash table to track
9339 duplicate messages.
9340 (mh-thread-get-message): Remove debug code.
9341 (mh-thread-canonicalize-id): Modified to handle messages without
9342 message-id header. Such messages are given distinct copies of the
9343 empty string as message-id.
9344 (mh-thread-generate): The function was inadvertently rebuilding
9345 the thread tree when message refiles and message deletes are
9346 processed. The change here fixes that. Also code has been added to
9347 keep track of duplicate message-id's.
9348 (mh-thread-generate-scan-lines): Modified to print scan lines for
9349 duplicate messages (that is messages with the same message-id).
9350 (mh-thread-forget-message): Modified to maintain
9351 mh-thread-duplicates.
9352
93532002-07-22 Satyaki Das <satyaki@theforce.stanford.edu>
9354
9355 * mh-speed.el (mh-speed-parse-flists-output): Use delete-region
9356 instead of kill-region. Otherwise the kill ring gets polluted.
9357
93582002-07-16 Satyaki Das <satyaki@theforce.stanford.edu>
9359
9360 * mh-seq.el (mh-thread-update-scan-line-map): New function to
9361 refresh the stale scan lines.
9362 (mh-thread-inc): Update old scan lines when mh-thread-inc is
9363 called. Otherwise notations for deleted and refiled messages get
9364 lost and the folder display gets out of sync with real mh-e state.
9365
9366 * mh-mime.el (mh-mm-display-part): Call Gnus citation highlight
9367 code when text part is displayed. Otherwise buttonized text parts
9368 aren't correctly fontified when they are displayed.
9369
93702002-07-15 Mark D. Baushke <mdb@gnu.org>
9371
9372 * mh-utils.el (mm-decode): Use load for the Non-fatal depencency
9373 on the mm-decode library.
9374 * mh-mime.el (mm-decode, mm-uu, mm-view): Use load for the
9375 Non-fatal depencencies on the mm-decode, mm-uu and mm-view
9376 libraries.
9377
93782002-07-15 Satyaki Das <satyaki@theforce.stanford.edu>
9379
9380 * mh-utils.el (mh-require, mh-autoload): Remove these macros.
9381 (mh-decode-mime): Initialized to t iff the mm-decode library is
9382 present in the load-path.
9383 * mh-mime.el (mh-require): Don't use it anymore.
9384
93852002-07-15 Mark D Baushke <mdb@gnu.org>
9386
9387 * mh-utils.el (mh-update-scan-format): Rewrite for compatibility
9388 with Xemacs as replace-match appears not to have identical
9389 functionality with FSF emacs.
9390 (mh-scan-msg-format-regexp): Deleted. This regexp is now hardcoded
9391 into the mh-update-scan-format function.
9392
93932002-07-12 Satyaki Das <satyaki@theforce.stanford.edu>
9394
9395 * mh-seq.el: Add message threading code.
9396
9397 * mh-utils.el (mh-letter-thread-folder): New interactive function
9398 that allows switching to threaded view from show buffer.
9399 (mh-show-folder-map): Bound "F t" to call mh-letter-thread-folder.
9400 (mh-goto-msg): Replace the function to not assume that messages
9401 are sorted in the folder buffer.
9402
9403 * mh-e.el (mh-folder-threaded-view-p): New buffer local variable
9404 in the folder buffer that records whether threaded view is being
9405 used currently.
9406 (mh-scan-subject-regexp, mh-scan-format-regexp): Get font lock
9407 working for threaded view as well.
9408 (mh-regenerate-headers): Reset mh-folder-threaded-view-p to nil.
9409 (mh-get-new-mail, mh-process-commands): Do incremental threading
9410 if folder is in threaded view.
9411 (mh-delete-scan-msgs): Update thread tables if folder is in
9412 threaded view.
9413 (mh-folder-map): Add "F t" as key binding for mh-thread-folder
9414
9415 * mh-comp.el (mh-yank-cur-msg): Bug fix. mh-show-buffer is only
9416 has a meaningful value in the folder buffer.
9417
94182002-07-11 Peter S Galbraith <psg@debian.org>
9419
9420 * mh-comp.el (mh-yank-cur-msg): Run only if mh-show-buffer
9421 actually exists (otherwise a back-traceable error occurred).
9422
9423 * mh-utils.el (mh-find-progs): Run PATH search only when mh-progs,
9424 mh-lib and mh-lib-progs are not all already set. This allows the
9425 user to set them using a simple setq prior to loading mh-e. This
9426 is useful for implementation of mh-e on win32. Note that many
9427 commands still call mh-find-path which also parses the mh_profile
9428 file (that may still fail on win32), so this is still done often.
9429 But it lets us change the mh_profile file and have mh-e see the
9430 changed file without exiting emacs and starting over so I left
9431 that in.
9432
94332002-07-04 Satyaki Das <satyaki@theforce.stanford.edu>
9434
9435 * mh-index.el (mh-index-show): Fixed a bug in mh-index-show which
9436 caused it to lose track of point when called from show buffer.
9437
94382002-07-04 Mark D. Baushke <mdb@gnu.org>
9439
9440 * Makefile: Add more information and common methods to allow both
9441 GNU make and Berkeley make to properly build everything.
9442
94432002-07-04 Satyaki Das <satyaki@theforce.stanford.edu>
9444
9445 * mh-mime.el (mh-push-button): Bug fix for mime display with
9446 mouse. Select show window before executing the mime display
9447 functions.
9448
94492002-07-01 Mark D. Baushke <mdb@gnu.org>
9450
9451 * Makefile: Use a conditional variable assignment operator rather
9452 than ifndef to let Makefile be used by both GNU make and Berkeley
9453 make (or similar versions of make). This does not help Solaris
9454 /usr/ccs/bin/make, but Solaris make has problems with the ifndef
9455 syntax too.
9456
94572002-07-01 Satyaki Das <satyaki@theforce.stanford.edu>
9458
9459 * mh-index.el (mh-index-search): Check for mh-decode-mime before
9460 adding mh-mime-cleanup to kill-buffer-hook.
9461
9462 * mh-mime.el (mm-destroy-parts): Add definition for old emacs.
9463
94642002-06-30 Mark D Baushke <mdb@gnu.org>
9465
9466 * mh-utils.el (mh-update-scan-format): Add documentation string.
9467 (mh-scan-msg-format-regexp): Update the regexp to find %(msg).
9468 (mh-set-cmd-note): When mh-scan-format-file is not t, dynamic
9469 update of mh-cmd-note is wrong. Do not assume that
9470 mh-scan-format-nmh and mh-scan-format-mh can be kept in lock-step
9471 with mh-cmd-note via mh-set-cmd-note. The mh-scan-format function
9472 is now where the updated mh-cmd-note value is put into the scan
9473 format.
9474
9475 * mh-e.el (mh-generate-new-cmd-note): Add documentation string.
9476 (mh-scan-format): Use mh-update-scan-format to get updated copies
9477 of mh-scan-format-nmh and mh-scan-format-mh to avoid format skew.
9478 (mh-get-new-mail): Do not try to adapt mh-cmd-note unless
9479 mh-scan-format-file is equal to t.
9480 (mh-scan-format-nmh): No longer buffer local.
9481 (mh-scan-format-mh): No longer buffer local.
9482
94832002-06-30 Satyaki Das <satyaki@theforce.stanford.edu>
9484
9485 * mh-index.el (mh-index-max-msg-index): New variable to keep track
9486 of max message index among search results. If mh-adaptive-cmd-note
9487 is non-nil this is used to compute the width of the index field.
9488 (mh-index-search): Keep track of max index seen while parsing the
9489 search results and set it if mh-adaptive-cmd-note is non-nil.
9490 (mh-index-find-max-width): New function to find the required width
9491 of the message index field.
9492 (mh-defun-index): Binding buffer local variables is bad, so don't
9493 do that.
9494 (mh-index-show): New argument display-headers-p decides whether
9495 the message is displayed in raw form or not.
9496 (mh-index-header-display): New interactive function bound to ","
9497 which shows the message in raw form.
9498 (mh-index-keymap): Add appropriate bindings for backtab and ",".
9499 (read-from-string): Add ignore-errors around it so that the code
9500 doesn't die when it gets unexpected input.
9501
95022002-06-29 Satyaki Das <satyaki@theforce.stanford.edu>
9503
9504 * mh-index.el (mh-count-windows): This function works around the
9505 lack of the window-list builtin function in emacs20.
9506
95072002-06-29 Mark D Baushke <mdb@gnu.org>
9508
9509 * mh-utils.el (mh-message-number-width): New function to scan
9510 the last message of a folder and return its width.
9511 (mh-adaptive-cmd-note): New variable, if Non-nil indicates that
9512 mh-set-cmd-note should be called with the message width for the
9513 folder.
9514 (mh-cmd-note): Update documentation.
9515 (mh-update-scan-format): Helper function for updating the
9516 mh-scan-format-nmh and mh-scan-format-mh variables.
9517 (mh-scan-msg-overflow-regexp): New variable to help find problem
9518 messages after an inc.
9519 (mh-scan-msg-format-regexp): New variable to find the old message
9520 width in one of the mh-scan-format-nmh or mh-scan-format-mh
9521 variables.
9522 (mh-set-default-cmd-note): Replaced by mh-set-cmd-note.
9523 (mh-set-cmd-note): New function to replace update mh-cmd-note
9524 value.
9525
9526 * mh-e.el (mh-regenerate-headers): If mh-adaptive-cmd-note is
9527 non-nil, use mh-set-cmd-note on empty folder buffers.
9528 (mh-make-folder): Ditto.
9529 (mh-generate-new-cmd-note): New function to adapt the mh-cmd-note
9530 to fit when mh-get-new-mail gets message number truncation.
9531 (mh-get-new-mail): Maybe use mh-generate-new-cmd-note if
9532 mh-adaptive-cmd-note is Non-nil.
9533
95342002-06-29 Satyaki Das <satyaki@theforce.stanford.edu>
9535
9536 * mh-speed.el (mh-speed-view): The display gets confused if the
9537 cursor is in the show buffer when mh-speed-view is called. This is
9538 a fix for that.
9539
95402002-06-27 Satyaki Das <satyaki@theforce.stanford.edu>
9541
9542 * mh-e.el (mh-next-undeleted-msg): Get rid of optional arg
9543 reverse-p. If there are no more undeleted messages the the point
9544 remains at its original position and a message is produced (closes
9545 SF #494304).
9546 (mh-previous-undeleted-msg): Change similar to
9547 mh-next-undeleted-msg.
9548 (mh-next-msg, mh-refile-msg, mh-delete-msg): Backout previous
9549 change.
9550 (mh-folder-map): Bind "S-tab" and "K S-tab" to mh-prev-button.
9551
9552 * mh-utils.el (mh-show-mode-map): Bind "S-tab" and "K S-tab" to
9553 mh-letter-prev-button.
9554
9555 * mh-mime.el (gnus-newsgroup-name): Initialize it to nil, so that
9556 mm-uu-dissect doesn't cause error.
9557
95582002-06-27 Mark D Baushke <mdb@gnu.org>
9559
9560 * mh-utils.el (mh-cmd-note): Make buffer-local. Changes to this
9561 variable should be made via the new mh-set-default-cmd-note
9562 function.
9563 (mh-set-default-cmd-note): New function to setq-default the
9564 mh-cmd-note, mh-scan-format-mh and mh-scan-format-nmh values to
9565 related values.
9566
9567 * mh-e.el (mh-scan-format-mh): Make buffer-local.
9568 (mh-scan-format-nmh): Ditto.
9569 (mh-scan-good-msg-regexp): Use a more general regular expression
9570 so that the width of message numbers, mh-cmd-note, may vary.
9571 (mh-scan-deleted-msg-regexp): Ditto.
9572 (mh-scan-refiled-msg-regexp): Ditto.
9573 (mh-scan-cur-msg-number-regexp): Ditto.
9574 (mh-scan-cur-msg-regexp): Ditto.
9575 (mh-scan-subject-regexp): Ditto.
9576
95772002-06-26 Satyaki Das <satyaki@theforce.stanford.edu>
9578
9579 * mh-speed.el: Speedbar support code.
9580
9581 * Makefile: Add mh-speed.el to MH-E-SRC.
9582
9583 * mh-utils.el (mh-prompt-for-folder): Add speedbar hook if
9584 speedbar is being used.
9585
9586 * mh-funcs.el (mh-kill-folder): Add speedbar hook if speedbar is
9587 being used.
9588
9589 * mh-e.el (speedbar-autoloads): Autoload speedbar initialization
9590 functions so that speedbar can find them.
9591
95922002-06-25 Satyaki Das <satyaki@theforce.stanford.edu>
9593
9594 * mh-index.el (mh-grep-execute-search, mh-grep-next-result): Allow
9595 grep to be used to search mail.
9596 (mh-index-font-lock-keywords): Modified to avoid bug when using
9597 lazy font-lock.
9598
9599 * mh-e.el (mh-delete-msg, mh-refile-msg): Modify so that if no
9600 undeleted (or unrefiled) message exists in the current movement
9601 direction then try to find an undeleted (or unrefiled) message in
9602 the opposite direction instead.
9603 (mh-next-undeleted-msg): Added a new optional argument. If non-nil
9604 search for undeleted message backwards if none exists in the
9605 forward direction.
9606 (mh-previous-undeleted-msg): Added an optional argument. If
9607 non-nil search for undeleted message in the forward direction if
9608 none exists in the backward direction.
9609 (mh-next-msg): Optional argument to change direction if undeleted
9610 messages are not found in the current direction.
9611
9612 * mh-index.el (mh-cmd-note): Use mh-cmd-note instead of hardcoding
9613 the index field size to 4.
9614
9615 * mh-utils.el (mh-show-addr, mh-show-xface): New functions added
9616 to do xface display and goto-addr interface to allow reuse by the
9617 mime display code.
9618 (mh-show-mode): Use mh-show-addr and mh-show-xface. Only add
9619 mh-mime-cleanup to kill-buffer-hook if mime decoding is enabled.
9620 (mh-modify): Use mh-letter-mode instead of mh-show-mode when
9621 editing messages.
9622
9623 * mh-mime.el (mh-mm-inline-message): Arrange for xface and
9624 highlighting to work in forwarded messages.
9625
96262002-06-23 Peter S Galbraith <psg@debian.org>
9627
9628 * mh-comp.el (mh-yank-from-start-of-msg): Add 'attribution' option
9629 to add an attribution line in mh-yank-cur-msg.
9630 (mh-extract-from-attribution-verb): Verb to use for attribution
9631 when a message is yanked by mh-yank-cur-msg. Provides a method
9632 for setting a different language.
9633 (mh-yank-cur-msg): Add support for 'attribution' option.
9634 (mh-extract-from-attribution): Function to get the attribution
9635 line, or the sender from the From: line in the current show buffer.
9636
96372002-06-20 Satyaki Das <satyaki@theforce.stanford.edu>
9638
9639 * mh-index.el (mh-index-show): mh-display-msg was not being called
9640 in the show buffer. This causes weird results on some mime messages.
9641
9642 * mh-mime.el (gnus-newsgroup-charset): Defvar to avoid error in
9643 pgp messages if gnus hasn't been used yet.
9644
9645 * mh-comp.el (mh-letter-mode-map): Typo fix.
9646
96472002-06-19 Satyaki Das <satyaki@theforce.stanford.edu>
9648
9649 * mh-mime.el (mh-mml-secure-message-encrypt-pgpmime): Typo fix.
9650 (compiler-warnings): Add autoloads to remove compiler warnings.
9651
9652 * mh-index.el (autoload-fixes): Fix autoload forms.
9653
96542002-06-18 Satyaki Das <satyaki@theforce.stanford.edu>
9655
9656 * mh-comp.el (mh-letter-mode-map): Change binding of "\C-c\C-ma"
9657 to mh-compose-insertion. Remove duplicate binding for "C-c\C-mf".
9658 (compiler-warnings): Add defvar to remove compiler-warning.
9659
96602002-06-18 Peter S Galbraith <psg@debian.org>
9661
9662 * mh-comp.el (mh-letter-menu): Conditionalize GPG function on
9663 mh-gnus-pgp-support-p.
9664
9665 * mh-mime.el (mh-mml-forward-message): s/subseq/substring/.
9666 (mh-compose-forward): cut&paste typo: s/messages/message/.
9667 (mml-minibuffer-read-file): autoload added.
9668 (mml-minibuffer-read-description): autoload added.
9669 (mml-insert-empty-tag): autoload added.
9670 (mh-mml-secure-message-sign-pgpmime): Check mh-gnus-pgp-support-p.
9671 (mh-mml-secure-message-encrypt-pgpmime): Check mh-gnus-pgp-support-p.
9672
96732002-06-17 Peter S Galbraith <psg@debian.org>
9674
9675 * mh-utils.el (mh-show-use-xface): Check for availability of
9676 `uncompface' executable on system.
9677
9678 * mh-mime.el (mh-compose-forward): New front end for both
9679 mh-mml-forward-message and mh-mhn-compose-forw.
9680 (mh-compose-insertion): New front end for both mh-mml-attach-file
9681 and mh-mhn-compose-insertion.
9682 (mh-mml-to-mime): New function. Compose mime message from mml
9683 directives.
9684 (mh-mml-forward-message): New function. Forward a message as
9685 attachment.
9686 (mh-mml-attach-file): New function. Attach a file to the outgoing
9687 MIME message.
9688 (mh-mml-compose-insert-p): New variable. Buffer-local variable to
9689 know whether MIME insertion was done. Triggers an automatic call
9690 to `mh-mml-to-mime' in `mh-send-letter'.
9691 (mh-mml-secure-message-sign-pgpmime): New function.
9692 Front end to mml-secure-message-sign-pgpmime.
9693 (mh-mml-secure-message-encrypt-pgpmime): New function.
9694 Front end to mml-secure-message-encrypt-pgpmime.
9695
9696 * mh-comp.el (mh-send-letter): automatic call to `mh-mml-to-mime'
9697 if mh-mml-compose-insert-p is set.
9698 (mh-letter-mode-map): Add keys for new mh-mime functions above.
9699 * mh-comp.el: Added autoloads for new mh-mime functions above.
9700
97012002-06-17 Peter S Galbraith <psg@debian.org>
9702
9703 * mh-utils.el (mh-show-use-xface): new defcustom to determine
9704 whether to call external package x-face to display the x-face.
9705 (mh-invisible-headers-show-xface): variable now defaults to value
9706 of mh-show-use-xface.
9707 (mh-show-mode): When mh-show-use-xface is t, invoke
9708 external package x-face to display the x-face.
9709
97102002-06-15 Satyaki Das <satyaki@theforce.stanford.edu>
9711
9712 * mh-e.el (mh-prev-button): New interactive function which moves
9713 point to the previous mime button in the show buffer.
9714 (mh-folder-mode-map): Bind M-TAB and K M-TAB to mh-prev-button.
9715
9716 * mh-utils.el (mh-show-mode-map): Bind M-TAB and K M-TAB to call
9717 mh-letter-prev-button (which is analogous to mh-prev-button).
9718 (mh-gnus-pgp-support-p): New global variable to replace the
9719 variable mh-recent-gnus-p. The name better describes what it is
9720 used for.
9721
9722 * mh-mime.el (mh-mime-display-part, mh-mime-display-single): Use
9723 mh-gnus-pgp-support-p instead of mh-recent-gnus-p.
9724
97252002-06-12 Satyaki Das <satyaki@theforce.stanford.edu>
9726
9727 * mh-mime.el (mh-display-buttons-for-inline-parts): New
9728 customizable variable. When non-nil inline parts have are
9729 displayed with a button (that is initially expanded).
9730 (mh-maybe-insert-newline): The function has been removed.
9731 (mh-mime-display-single): Add code to display buttons for inline
9732 parts. Reduce the insertion of extra newlines between inline parts
9733 and also for pgp signature parts.
9734 (mh-mm-display-part): The function has been rewritten and cleaned
9735 up. There was a bug which could change the show buffer if the user
9736 pressed C-g while a mime part was being displayed has been fixed.
9737 (mh-press-button, mh-push-button): Use unwind-protect to make sure
9738 that set-buffer-modified-p is always called after mime display.
9739 (mh-mime-inline-part): The behavior of the function has been
9740 changed so that it toggles the display of the raw bytes.
9741 (mh-mime-display-security): Remove the display of too many
9742 newlines.
9743 (documentation): Remove most check-doc warnings.
9744
9745 * mh-comp.el (mh-filter-out-non-text): Updated since whitespace
9746 added around mime buttons have changed.
9747
97482002-06-10 Satyaki Das <satyaki@theforce.stanford.edu>
9749
9750 * mh-index.el (mh-index-last-search, mh-index-search): The default
9751 prompt in mh-index-search has been removed since currently there
9752 is no good way of reading "+" with mh-prompt-for-folder.
9753 (mh-index-folder-mode, mh-index-show-mode): New major modes
9754 derived from mh-folder-mode and mh-show-mode respectively. They
9755 use a restricted keymap compared to the parent modes.
9756 (mh-index-folder-face): New customizable face to display folder
9757 names in the index buffer.
9758 (documentation): Change two spaces after period back to one.
9759
97602002-06-08 Satyaki Das <satyaki@theforce.stanford.edu>
9761
9762 * mh-e.el (mh-folder-toggle-mime-part): New interactive function
9763 to control mime display from folder buffer.
9764 (mh-folder-inline-mime-part): New interactive function to inline
9765 raw mime part from folder buffer.
9766 (mh-folder-save-mime-part): New interactive function to save mime
9767 part from folder buffer.
9768 (mh-folder-mode-map): Add keybindings for "K v", "K o", "K i" and
9769 "K \t" to mh-folder-mode-map.
9770 (mh-goto-next-button): Modified to allow searching for next button
9771 that satisfies some condition.
9772 (mh-folder-mime-action): Support function for
9773 mh-folder-save-mime-part, mh-folder-inline-mime-part and
9774 mh-folder-toggle-mime-part.
9775
9776 * mh-utils.el (mh-show-mode-map): Modify keymap to add appropriate
9777 bindings for "K v", "K o", "K i" and "K \t".
9778
9779 * mh-index.el (documentation): Fix docs according to checkdoc
9780 format.
9781
97822002-06-07 Satyaki Das <satyaki@theforce.stanford.edu>
9783
9784 * mh-seq.el, mh-funcs.el (Compiler): Remove (require 'view) and
9785 instead add defvar for view-exit-action.
9786
97872002-06-06 Satyaki Das <satyaki@theforce.stanford.edu>
9788
9789 * mh-comp.el (mh-insert-x-face): If transient-mark-mode is enabled
9790 the call to mark returns error. So avoid using mark.
9791
9792 * mh-index.el: Support for new interactive function
9793 mh-index-search.
9794
9795 * mh-e.el (mh-next-button, mh-goto-next-button): Refactor
9796 mh-next-button so that the code may be reused by mh-index.el.
9797 (mh-folder-map): Add key "F i" to call mh-index-search.
9798
9799 * mh-utils.el (mh-recent-gnus-p): Fix documentation.
9800 (mh-msg-folder, mh-display-msg): The new function mh-msg-folder
9801 maps a MH folder name to the buffer displaying it. In normal
9802 operation the two names are identical but they are different in a
9803 folder buffer generated by index search. Minor modification to
9804 mh-display-msg to use mh-msg-folder to enable mh-index-search to
9805 reuse code.
9806 (mh-show-mode-map): Add key "F i" to call mh-index-search.
9807
9808 * Makefile: Add mh-index.el
9809
98102002-06-05 Peter S Galbraith <psg@debian.org>
9811
9812 * mh-e.el (mh-folder-message-menu): Add an entry for mh-modify.
9813
98142002-05-31 Satyaki Das <satyaki@theforce.stanford.edu>
9815
9816 * mh-utils.el (mh-decode-quoted-printable): Only decode if the
9817 whole message is encoded. So restrict the search for the
9818 content-transfer-encoding header to the headers of the message
9819 itself.
9820
9821 * mh-mime.el (mh-mime-display-alternative): Make sure that point
9822 is moved after mm-display-part is called.
9823
98242002-05-29 Satyaki Das <satyaki@theforce.stanford.edu>
9825
9826 * mh-mime.el (mh-mime-display-single): Fix the logic that
9827 determines when an attachment is buttonized. For inline parts that
9828 can't be displayed a button is now created.
9829
98302002-05-29 Satyaki Das <satyaki@theforce.stanford.edu>
9831
9832 * mh-e.el (mh-regenerate-headers): Fix an error in which the
9833 mh-mode-line-annotation was not being set properly.
9834
9835 * mh-mime.el, mh-utils.el (compilation): Macros mh-require and
9836 mh-autoload are used to make sure that emacs20 doesn't croak when
9837 it tries to load non-existent mm-* files.
9838 (mh-decode-mime): Make it default to nil for Emacs major version
9839 below 21.
9840
98412002-05-28 Satyaki Das <satyaki@theforce.stanford.edu>
9842
9843 * mh-e.el (mh-regenerate-headers): Generalize the function to
9844 handle multiple ranges.
9845
98462002-05-25 Satyaki Das <satyaki@theforce.stanford.edu>
9847
9848 * compilation: Reduce use of eval-when-compile so that load-path
9849 is not changed if lisp files are loaded without compilation. Small
9850 changes were made to Makefile, mh-comp.el mh-e.el, mh-funcs.el,
9851 mh-seq.el, mh-utils.el
9852
9853 * mh-e.el (mh-next-button, mh-folder-mode-map): New interactive
9854 function to advance point to next MIME button. It is bound to TAB.
9855
9856 * mh-utils.el (mh-letter-next-button, mh-show-mode-map): New
9857 interactive function mh-letter-next-button has been added to
9858 advance point to the next MIME button. It is bound to TAB.
9859
9860 * mh-mime.el (comments): Added some comments.
9861
98622002-05-24 Satyaki Das <satyaki@theforce.stanford.edu>
9863
9864 * mh-mime.el (compilation): Replace (eval-when-compile ...) by
9865 (eval-when (compile) ...) to remove a bug when mh-e is loaded
9866 without compilation.
9867
98682002-05-23 Satyaki Das <satyaki@theforce.stanford.edu>
9869
9870 * mh-comp.el (compilation): Some code was rearranged to avoid
9871 compiler warnings.
9872
9873 * mh-e.el (compilation): Code rearrangement and extra autoloads to
9874 remove compiler warnings
9875 (mh-quit): Add call to mh-destroy-postponed-handles to remove
9876 handles that are associated with external viewers. Also fixed a
9877 bug that I accidentally introduced by adding an extra line when
9878 cut and pasting my changes.
9879
9880 * mh-func.el (compilation): Code rearrangement to remove compiler
9881 warnings.
9882
9883 * mh-mime.el (compilation): Code rearrangement to remove compiler
9884 warnings.
9885 (mh-defun-compat): New macro to define to useful functions that
9886 aren't present present in old Gnus.
9887 (mh-destroy-postponed-handles): New function to cleanup handles
9888 that are associated with external viewers.
9889 (mh-handle-set-external-undisplayer): New function to replace
9890 mm-handle-set-external-undisplayer. It associates handles for
9891 external viewers with the folder buffer. These are released when
9892 the user quits the folder.
9893 (mh-mime-display, mh-press-button, mh-push-button): Hook in
9894 mh-handle-set-external-undisplayer.
9895 (mh-maybe-insert-newline): New function to avoid inserting too
9896 many newlines between mime parts.
9897 (mh-mm-display-part): Workaround for Gnus bug which causes new
9898 lines to be inserted when images are shown inline.
9899 (mh-mime-display-security): Cut down on newlines inserted.
9900
9901 * mh-pick.el (compilation): Code rearrangement to remove compiler
9902 warnings.
9903
9904 * mh-seq.el (compilation): Code rearrangement to remove compiler
9905 warnings.
9906 (comments): Remove @SD from comments.
9907
9908 * mh-utils.el (compilation): Slight code rearrangement.
9909 (mh-defun-show-buffer): Fix documentation so that the first line
9910 is not too long as was the case earlier. Use
9911 mh-previous-window-config to remember where the cursor should
9912 return functions like mh-reply.
9913 (mh-display-msg): Initialize handles data-structure for the folder
9914 buffer so that postponed handles can be added to it.
9915 (mh-add-msgs-to-seq): Always keep messages in the sequences
9916 sorted. This removes some unexpected behavior when working with
9917 sequences that go out of sync with the corresponding MH sequences.
9918 (mh-canonicalize-sequence): New function to sort and remove
9919 duplicates from mh-e sequence.
9920
99212002-05-21 Satyaki Das <satyaki@theforce.stanford.edu>
9922
9923 * mh-utils.el (require): Load mm-decode.el here so that
9924 mm-inline-media-tests is properly initialized.
9925
9926 * mh-comp.el (mh-yank-cur-msg): Don't try to remove the displayed
9927 mime parts when yanking the message. This also fixes the problem
9928 of regions not being respected during the yank.
9929
99302002-05-20 Satyaki Das <satyaki@theforce.stanford.edu>
9931
9932 * mh-utils.el (compiler-warnings): Some code was rearranged to
9933 remove all compiler warnings.
9934 (mh-decode-mime): New defcustom to control whether
9935 mime attachments are shown using Gnus.
9936 (mh-globals-hash): New global variable which maps a given buffer
9937 to the corresponding mime data structures.
9938 (mh-recent-gnus-p): New global variable which checks if Gnus is
9939 recent enough so that PGP/GPG encrypted messages can be handled.
9940 (mh-mm-inline-media-tests): Tests to determine whether a mime part
9941 can be shown inline.
9942 (mh-gnus-article-highlight-citation): Shadow the Gnus function,
9943 gnus-article-add-button before gnus-article-highlight-citation is
9944 called. This prevents the insertion of useless buttons in the
9945 message.
9946 (mh-show-mode): Don't set font-lock-support-mode to nil. Modify
9947 kill-buffer-hook to call mh-mime-cleanup.
9948 (mh-modify): Only the edit buffer is shown.
9949 (mh-display-msg): Add call to mh-mime-display, mh-display-smileys,
9950 mh-display-emphasis when mh-decode-mime is non-nil.
9951
9952 * mh-mime.el (mh-buffer-data): New structure to keep track of
9953 per-buffer mime information.
9954 (compiler-warnings): Some code was rearranged to get rid of all
9955 compiler warnings.
9956 (mh-graphical-smileys-p): New defcustom which controls whether
9957 graphical smileys are shown.
9958 (mh-graphical-emphasis-p): New defcustom for graphical emphasis.
9959 (mh-max-inline-image-width, mh-max-inline-image-height): New
9960 defcustoms for inlining image.
9961 (gnus-local-map-property, mm-merge-handles): Copy utility
9962 functions for use with version of Gnus that ships with Emacs21.1.
9963 (mh-mime-cleanup): New function to free mime data-structures.
9964 (mh-add-missing-mime-version-header): New function to add missing
9965 Mime-Version header if a Content-Type header exists.
9966 (mh-display-smileys): New function to show graphical smileys.
9967 (mh-display-emphasis): New function to show graphical emphasis.
9968 (new-globals): New variables mh-mime-button-* and
9969 mh-mime-security-* were added to control mime buttons.
9970 (mh-mime-display): New function to display mime messages. The
9971 functions mh-mime-display-part, mh-mime-display-alternative,
9972 mh-mime-display-mixed, mh-mime-part-index, mh-small-image-p,
9973 mh-mime-display-single, mh-insert-mime-button, mh-mm-display-part,
9974 mh-press-button, mh-push-button, mh-mime-save-part,
9975 mh-mime-inline-part, mh-widget-press-button, mh-mm-inline-message,
9976 mh-mime-display-security, mh-mime-security-show-details,
9977 mh-mime-security-press-button and mh-insert-mime-security-button
9978 were added to support mh-mime-display.
9979
9980 * mh-e.el (mh-header-display): Bind mh-decode-mime to nil when
9981 mh-show-msg is called, so that mime isn't decoded when headers are
9982 displayed.
9983 (mh-quit): The show buffer is killed instead of invalidating and
9984 burying it.
9985
9986 * mh-comp.el (mh-yank-cur-msg): Filter out the mime buttons from
9987 the yanked message.
9988 (mh-filter-out-non-text): New function to filter out attachments
9989 from message being yanked.
9990
99912002-05-20 Bill Wohler <Bill.Wohler@openwave.com>
9992
9993 * mh-utils.el (mh-invisible-headers-show-xface): First sentence of
9994 docstring was not entirely on first line so was truncated in
9995 customize and help buffers. Reworded so first sentence could fit
9996 within 80 columns per checkdoc recommendation.
9997 (mh-defun-show-buffer): Reworded per checkdoc recommendations.
9998 Removed @SD while I was in there.
9999
100002002-05-18 Satyaki Das <satyaki@theforce.stanford.edu>
10001
10002 * mh-seq.el (mh-narrow-to-seq): This function now removes the
10003 current message notation in the folder. Otherwise, two current
10004 message notations may be present after mh-widen is called. Also
10005 mh-copy-seq-to-eob is called instead of mh-copy-seq-to-point since
10006 the latter has a bug.
10007 (mh-copy-seq-to-point): This function has a tricky problem. It
10008 calls mh-map-to-seq-msgs which uses mh-goto-msg. mh-goto-msg
10009 assumes that the folder is sorted (since it uses binary
10010 search). The assumption isn't true, so it may not copy all the
10011 messages. Since this function is not used any more it has been
10012 removed.
10013 (mh-copy-seq-to-eob): This function is a specialized (and
10014 hopefully correct) replacement for mh-copy-seq-to-point.
10015
100162002-05-17 Satyaki Das <satyaki@theforce.stanford.edu>
10017
10018 * mh-utils.el (mh-gnus-article-highlight-citation): Workaround for
10019 problem caused by low value of recursive-load-depth-limit in
10020 Emacs21.1 and CVS version of Gnus.
10021 (mh-show-mode-map): New keymap variable to facilitate use of
10022 summary commands from the show buffer.
10023 (mh-show-folder-buffer): New local variable which keeps track of
10024 the folder-buffer corresponding to the message being shown.
10025 (mh-defun-show-buffer): New macro to convert interactive functions
10026 callable in the summary buffer to interactive functions callable
10027 in the show buffer.
10028 (mh-show-mode): Make buffer read-only and use mh-show-mode-map as
10029 keymap (closes SF #527946).
10030 (mh-modify): New interactive function to edit a message in-place.
10031
10032 * mh-e.el (mh-goto-cur-msg): Add an optional argument,
10033 minimal-changes-p. If non-nil, the function will just change
10034 the point to current message and do not change folder display.
10035 (mh-folder-mode-map): Make "M" call mh-modify.
10036
100372002-05-07 Peter S Galbraith <psg@debian.org>
10038
10039 * mh-utils.el (mh-invisible-headers-show-xface): New defcustom
10040 variable. If non-nil, the X-Face header line will be excluded from
10041 the variable `mh-invisible-headers'. Set this when using a
10042 package such as x-face-el to display X-Face icons in mh-show-mode.
10043 This variable's setting will eventually be set automatically when
10044 mh-e does its own X-Face decoding (or this variable will be replaced
10045 by one telling mh-e to decode the X-Face). We may not ship the
10046 next release with this variable.
10047
100482002-05-07 Peter S Galbraith <psg@debian.org>
10049
10050 * mh-comp.el (mh-x-face-file): New defcustom variable. File name
10051 containing the encoded X-Face string to insert in outgoing mail.
10052 (mh-insert-x-face): New function. Appends an X-Face field to the
10053 header, but only if it doesn't already exist and if 'mh-x-face-file'
10054 is non-nil and points to an existing file.
10055 (mh-send-letter): Invoke mh-insert-x-face.
10056
100572002-04-29 Mike Kupfer <m.kupfer@acm.org>
10058
10059 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Check
10060 whether XEmacs region is actually active (needed at least for 21.1).
10061 [Patch committed by psg]
10062
100632002-04-29 Mike Kupfer <m.kupfer@acm.org>
10064
10065 * mh-utils.el (mh-prompt-for-folder): Remove "default" argument
10066 from completing-read as XEmacs-21.1 doesn't have it (21.4 does
10067 however) and using the argument adds no functionality.
10068 [Patch committed by psg]
10069
100702002-04-11 Peter S Galbraith <psg@debian.org>
10071
10072 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Add support for
10073 XEmacs to act on selected region when active.
10074
100752002-04-10 Peter S Galbraith <psg@debian.org>
10076
10077 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): XEmacs fix; Add
10078 check to see if mark-active is bound, because Mandrake Linux include
10079 XEmacs initialization code that binds transient-mark-mode. This
10080 fix gets around a problem in Mandrake only. It wasn't a problem
10081 on XEmacs generally. Fixes SF #541915.
10082
100832002-04-08 Bill Wohler <wohler@newt.com>
10084
10085 Released mh-e version 6.1.
10086
10087 * mh-e.el (mh-folder-unseen-seq-name): Use "mhparam -component
10088 Unseen-Sequence" command and "Unseen-Sequence: \\(.*\\)$" regexp
10089 to increase robustness.
10090 (mh-folder-unseen-seq-list): Use `expand-file-name' as
10091 `mh-expand-file-name' isn't needed and the former saves function
10092 call.
10093 (Version, mh-version): Updated for release 6.1.
10094
100952002-04-08 Peter S Galbraith <psg@debian.org>
10096
10097 * mh-e.el (mh-folder-unseen-seq-list): Specify mh-progs path in
10098 call to mark command. Fixes a bug in which unseen messages
10099 weren't highlighted if "mark" wasn't in the path.
10100
101012002-04-07 Bill Wohler <wohler@newt.com>
10102
10103 * MH-E-NEWS: Updated for release 6.1.
10104
10105 * README: Updated for release 6.1. Updated verbiage about reading
10106 MH-E-NEWS.
10107
10108 * mh-comp.el, mh-e.el, mh-funcs.el, mh-mime.el, mh-seq.el,
10109 mh-utils.el, mh-xemacs-compat.el: Updated copyright in files
10110 modified this year.
10111
10112 * mh-xemacs-compat.el: Put Author field back in, but set to FSF.
10113
10114 * mh-comp.el, mh-funcs.el, mh-mime.el, mh-seq.el,
10115 mh-utils.el: Fixed all checkdoc errors, except for no
10116 documentation, and documentation in comments. Also removed the-
10117 prefix from certain local variables.
10118
10119 * mh-e.el: Fixed all checkdoc errors, except for no documentation,
10120 and documentation in comments. Also removed the- prefix from
10121 certain local variables.
10122 (mh-folder-unseen-seq-name): Refactored to make default sequence
10123 name more explicit and to handle undefined Unseen-Sequence MH
10124 profile entry better.
10125
101262002-04-02 Peter S Galbraith <psg@debian.org>
10127
10128 * mh-e.el: 'defvar mh-folder-unseen-seq-name' called a function to
10129 set it's value, and this happens also on byte-compilation (where
10130 it can fail if the user's MH environment is not setup correctly).
10131 I now set the value of mh-folder-unseen-seq-name at runtime when I
10132 first need it. This should fix Debian bugs
10133 http://bugs.debian.org/140232 and http://bugs.debian.org/140817
10134
101352002-03-25 Peter S Galbraith <psg@debian.org>
10136
10137 * mh-utils.el: remove "(require 'mh-e)" since mh-utils.el should
10138 be at the bottom of the dependency tree.
10139 * mh-e.el (mh-folder-unseen-seq-name): Make sure mh-progs is set
10140 and use it as path to mhparam command in call-process.
10141
101422002-01-23 Peter S Galbraith <psg@debian.org>
10143
10144 * mh-e.el (mh-folder-font-lock-keywords): Add call to
10145 mh-folder-font-lock-unseen to fontify unseen messages in bold.
10146 (mh-folder-unseen-seq-name): Provide name of unseen sequence from
10147 mhparam. Used as default for variable of same name.
10148 (mh-folder-unseen-seq-list): Returns a list of unseen messages
10149 numbers for current folder.
10150 (mh-folder-unseen-seq-cache): Cache variable to hold list of
10151 unseen message numbers while font-lock iterates. This variable is
10152 buffer-local.
10153 (mh-folder-font-lock-unseen): Returns unseen message lines to
10154 font-lock one by one.
10155
101562002-01-15 Peter S Galbraith <psg@debian.org>
10157
10158 * mh-comp.el (mh-insert-prefix-string): Wrap a
10159 "(let ((zmacs-regions nil))" around (mark) so it works in XEmacs.
10160 Bug reported and fix suggested by Will Partain <partain@dcs.gla.ac.uk>
10161 Indeed, this is how it appears in XEmacs-21's mh-comp.el.
10162
101632001-12-16 Jeffrey C Honig <jch@honig.net>
10164
10165 * mh-comp.el (mh-forward): Move the assignment to `fwd-msg-file'
10166 to before the assignment to `draft' as the later changes buffers
10167 and invalidates `mh-seq-list' (which is used in a function called
10168 by (mh-seq-to-msgs)). Resolves SF #489448.
10169
10170 * mh-utils.el: Add defcustoms for `mh-temp-folders-buffer' and
10171 `mh-temp-sequences-buffer'.
10172
10173 * mh-e.el (mh-quit): If they exist, kill 'mh-temp-buffer,
10174 'mh-temp-folders-buffer and 'mh-temp-sequences-buffer when
10175 quitting.
10176
10177 * mh-funcs.el (mh-list-folders): Use `mh-temp-folders-buffer'
10178 (a defcustom initialized to "*Folders*") for folder listing. Put
10179 into view mode and set it up to kill the buffer when exiting view
10180 mode.
10181
10182 * mh-seq.el (mh-list-sequences): Use `mh-temp-sequences-buffer'
10183 (a defcustom initialized to "*Sequences") for sequences listing.
10184 Put into view mode and set it up to kill the buffer when exiting
10185 view mode.
10186
101872001-12-16 Bill Wohler <wohler@newt.com>
10188
10189 Released mh-e version 6.0.
10190
10191 * MH-E-NEWS: Be a little more specific about incompatible changes.
10192 Added info about outdated manual.
10193 Removed variables in mh-scan regexp table that did not exist in
10194 5.0.2.
10195 Added helpful documentation about finding relevant variables
10196 containing regexps to mh-scan-format-file's description.
10197
10198 * mh-e.el (mh-scan-format-file): Added information about getting a
10199 list of regexp variables that you'll need to change if you
10200 customize your scan's output.
10201 (mh-folder-mode): Added documentation about `mh-scan-format-file'
10202 for those users who modify their scan formats.
10203
10204 * README: New file. Describes packages and provides simple
10205 installation instructions.
10206
10207 * Makefile (clean, dist, install-emacs): Replaced $(RM) with rm
10208 -rf (closes SF #488661).
10209
102102001-12-14 Bill Wohler <wohler@newt.com>
10211
10212 Released mh-e version 5.0.93.
10213
10214 * Makefile (MH-E-SRC): Added mh-xemacs-compat.el.
10215 (MH-E-IMG): Added .pbm images for all. Removed mail_ prefix from
10216 all.
10217 (MH-E-IMG2): New variable to hold images in mail sub-directory.
10218 (dist): Updated target to make mail sub-directory and copy
10219 MH-E-IMG2 images there.
10220
10221 * mh-xemacs-compat.el: Modified docs per GNU coding conventions.
10222
10223 * mh-e.el: Reorganized variables having to do with the scan line.
10224 Moved some random variables that were interspersed out of the
10225 middle. Moved `mh-scan-format-file' first and let the variables
10226 flow from there.
10227
10228 As the number of variables increases, it is becoming important to
10229 organize the mh-e namespace. Several variables having to do with
10230 the format of scan lines were renamed, as follows:
10231 (mh-good-msg-regexp): Renamed to mh-scan-good-msg-regexp.
10232 (mh-deleted-msg-regexp): Renamed to mh-scan-deleted-msg-regexp.
10233 (mh-refiled-msg-regexp): Renamed to mh-scan-refiled-msg-regexp.
10234 (mh-valid-scan-line): Renamed to mh-scan-valid-regexp.
10235 (mh-cur-msg-number-regexp): Renamed to mh-scan-cur-msg-number-regexp.
10236 (mh-cur-msg-line-regexp): Renamed to mh-scan-cur-msg-regexp.
10237 (mh-scan-rcpt-addr-regexp): Renamed to mh-scan-rcpt-regexp.
10238 (mh-scan.font-lock-regexp): Renamed to mh-scan-format-regexp.
10239 (mh-folder-scan-font-lock-face): Renamed to
10240 mh-folder-scan-format-face.
10241 (mh-folder-cur-msg-line-face): Renamed to mh-folder-cur-msg-face).
10242
102432001-12-13 Bill Wohler <wohler@newt.com>
10244
10245 * mh-utils.el (mh-msg-number-regexp): Renamed to
10246 mh-scan-msg-number-regexp.
10247 (mh-msg-search-regexp): Renamed to mh-scan-msg-search-regexp.
10248
10249 * Corrected typos, quoted variables in doc strings, and made minor
10250 wording changes in docs.
10251
102522001-12-13 Peter S Galbraith <psg@debian.org>
10253
10254 * mh-xemacs-compat.el: defalias 'match-string-no-properties to
10255 'match-string for XEmacs. I've seen a better function for this
10256 that actually removes text properties, but this will do for now.
10257
10258 * mh-utils.el (mh-decode-quoted-printable): deactivate-mark not
10259 bound in XEmacs.
10260
10261 * mh-xemacs-compat.el: GNU Emacs Functions needed by XEmacs.
10262 New file.
10263 * mh-e.el: (require 'mh-xemacs-compat) when running XEmacs.
10264
102652001-12-12 Peter S Galbraith <psg@debian.org>
10266
10267 * mh-comp.el (mh-send-letter): function local-variable-p needs two
10268 arguments in XEmacs.
10269 (mh-send-letter): sendmail-coding-system not bound in XEmacs.
10270 (mh-send-letter): default-buffer-file-coding-system not bound in
10271 Xemacs.
10272
10273 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo):
10274 transient-mark-mode not bound in XEmacs. The feature of
10275 operations made on all messages in the selected range when
10276 transient-mark-mode is on doesn't work in XEmacs.
10277
10278 * mh-e.el, mh-utils.el: Conditionalize calls to
10279 'add-to-list 'facemenu-unlisted-faces for XEmacs.
10280
102812001-12-11 Jeffrey C Honig <jch@honig.net>
10282
10283 * mh-e.el (mh-scan-format): Add `mh-scan-format-file' variable to
10284 specify the scan format string or file to use. Define formats for
10285 MH and nmh that are compatible with the standard format, but
10286 provide hints for font-lock. Define (mh-scan-format) for use by
10287 (mh-regenerate-headers) and (mh-get-new-mail) to specify the args
10288 necessary to inform the scan program which scan format string or
10289 file to use.
10290
102912001-12-07 Peter S Galbraith <psg@debian.org>
10292
10293 * mh-e.el (scan.font-lock): New format file documented in comments.
10294 (mh-scan.font-lock-regexp): Adapted to new format.
10295 (mh-folder-font-lock-keywords): Use new format.
10296
10297 * mh-e.el (page-down.xpm): Icon renamed from nextpage.
10298
10299 * mh-utils.el (mh-decode-quoted-printable): Bug fix. Better check
10300 on what actually is a quoted-printable attachment.
10301
103022001-12-06 Eric Ding <ericding@alum.mit.edu>
10303
10304 * mh-mime.el (mh-mhn-compose-insertion, mh-mhn-compose-anon-ftp):
10305 require mailcap.el here rather than using autoload at top of
10306 mh-mime.
10307 (mh-file-mime-type): get rid of unused variables (why were they
10308 there to begin with?)
10309
103102001-12-06 Peter S Galbraith <psg@debian.org>
10311
10312 * mh-e.el (mh-cur-msg-number-regexp, mh-cur-msg-line-regexp):
10313 mh-cur-scan-msg-regexp splits into these two variables.
10314 The whole-line fontification is disabled, but easily restored by a
10315 user (although it could be a defcustom with choices DISABLED or
10316 the correct regexp?)
10317 (mh-folder-cur-msg-line-face): mh-folder-current-msg-face renamed
10318 to this.
10319 (mh-folder-cur-msg-number-face): mh-folder-current-face renamed to
10320 this.
10321
10322 * cabinet.xpm: Revert to rescan icon name.
10323 * mh-e.el (mh-folder-tool-bar-map): s/cabinet/rescan/
10324
10325 * mh-e.el (mh-folder-font-lock-keywords): Reorder and tweak such
10326 that current message line highlight doesn't mess up other highlights.
10327
103282001-12-05 Eric Ding <ericding@alum.mit.edu>
10329
10330 * mh-utils.el (mh-show-from-face): Change mh-show-from-face to
10331 cyan on dark backgrounds; through a series of changes, it had
10332 become the same color as mh-show-subject-face!
10333
103342001-12-05 Bill Wohler <Bill.Wohler@openwave.com>
10335
10336 * mh-e.el, mh-utils.el: Fixed typos in face definitions, and made
10337 a couple of small doc string tweaks while I was in there. Peter,
10338 if you don't agree, let me know and I'll back them out. I thought
10339 the "mh-e" in the text was redundant since the variables start
10340 with "mh"; I was also thinking ahead to how the documentation may
10341 read.
10342
103432001-12-05 Peter S Galbraith <psg@debian.org>
10344
10345 * mh-e.el (mh-cur-scan-msg-regexp): Match 0 is the whole line.
10346 (mh-folder-current-msg-face): New face with only a background
10347 settings, used in font-lock for the current message.
10348 (mh-folder-font-lock-keywords): Use mh-folder-current-msg-face for
10349 mh-cur-scan-msg-regexp.
10350
10351 * mh-utils.el (mh-show-from-face): Use red3 instead of red for
10352 light backgrounds. It's not as bright on the eyes.
10353 (mh-show-subject-face): copy from mh-folder-subject-face instead.
10354 Makes the look consistent with folder-mode.
10355
10356 * mh-e.el (mh-folder-subject-face): Moved to mh-utils since we
10357 need it to copy to mh-show-subject-face.
10358
103592001-12-05 Bill Wohler <wohler@newt.com>
10360
10361 * mh-e.el (mh-folder-mode-map): Moved `mh-extract-rejected-mail'
10362 from "a" to "E". Better mnemonic, nicer to folks used to using a
10363 for `mh-reply'.
10364
103652001-12-04 Bill Wohler <wohler@newt.com>
10366
10367 * mh-e.el (mh-folder-map): Added "S" for `mh-sort-folder'.
10368
103692001-12-04 Peter S Galbraith <psg@debian.org>
10370
10371 * mh-e.el (mh-folder-subject-face et al.): Yet another attempt at
10372 colours for folder-mode. Still themed, but fewer and darker
10373 colours (Blame Eric this time!). I'll get to underlining tomorrow
10374 night.
10375
10376 * mh-e.el (mh-folder-tool-bar-map): Renamed all icons so they
10377 don't have the word mail in them. Also generated a pbm format of
10378 each icon for users without XPM support conpiled into Emacs.
10379
103802001-12-04 Eric Ding <ericding@alum.mit.edu>
10381
10382 * mh-utils.el (mh-show-font-lock-keywords): Use
10383 mh-header-subject-font-lock instead of regexp for subject headers,
10384 which may go multiple lines.
10385 (mh-header-subject-font-lock): New function.
10386 Fix typos (hightlight -> highlight).
10387
103882001-12-04 Eric Ding <ericding@alum.mit.edu>
10389
10390 * mh-e.el: changes to face colors on dark backgrounds.
10391 (mh-folder-followup-face): change to LightGoldenRod.
10392 (mh-folder-date-face): change to snow3.
10393 (mh-folder-msg-number-face): change to snow4.
10394
103952001-12-04 Bill Wohler <wohler@newt.com>
10396
10397 Released mh-e version 5.0.92.
10398
10399 * mh-utils.el (gnus-cite-face-list)
10400 (mh-gnus-article-highlight-citation): Don't autoload. Revert to
10401 requiring in `mh-gnus-article-highlight-citation' as before. With
10402 the autoloads, if you ran mh-e before gnus, you'd get an undefined
10403 gnus variable when viewing an article in gnus. Go figure.
10404
104052001-12-03 Bill Wohler <wohler@newt.com>
10406
10407 Released mh-e version 5.0.91.
10408
10409 * MH-E-NEWS: Removed info about bumping up `max-specpdl-size' now
10410 that workaround has been implemented.
10411
10412 * Makefile (MH-E-OBJ): New variable to hold .elc files.
10413 (all): Just compile.
10414 (clean): New target that blows away MH-E-OBJ.
10415 (dist): Added $(MH-E-OBJ) to tarball.
10416
10417
10418 Attempt to quiet compilation errors to a dull roar.
10419
10420 * mh-e.el: Require easymenu, added autoload of info.
10421 (mh-smail, mh-smail-other-window): Comment says these were needed
10422 by Emacs 18. Out!
10423
10424 * mh-utils.el: Don't require sendmail, but require mh-e.
10425 Moved autoloads to top of file, and autoload gnus-cite and
10426 sendmail too.
10427
10428 * mh-pick.el: Require easymenu. Remove cond on
10429 `easy-menu-define'--it exists.
10430
10431 * mh-mime.el: Autoload mailcap.
10432
10433 * mh-comp.el: Require mh-e and easymenu, moved autoloads to top of
10434 file.
10435
10436
10437 * Makefile: (EMACS): New constant to hold emacs calling sequence.
10438 (install): Renamed to install-emacs.
10439 (compile): New target to compile all files.
10440 (dist): Make dependent on compile.
10441 (import): Renamed to import-emacs.
10442 (%.elc): New implicit rule to compile elisp files.
10443
10444 * mh-e.el (mh-thread-map): Added "Td" for
10445 mh-delete-subject-thread.
10446
104472001-12-03 Peter S Galbraith <psg@debian.org>
10448
10449 * mh-e.el (mh-folder-tool-bar-map): Change tooltip for exec icon.
10450
10451 * mh-e.el (mh-folder-subject-face): Change to IndianRed1.
10452 (mh-folder-followup-face): Change to IndianRed.
10453 (mh-folder-deleted-face): Use sedate face instead of bright one.
10454
104552001-12-03 Bill Wohler <wohler@newt.com>
10456
10457 * mh-utils.el (mh-invisible-headers): Increase size of
10458 `max-specpdl-size' locally to work around insufficient default.
10459 (mh-invisible-headers): Added X-Info and X-VSMLoop (NTMail).
10460
104612001-12-03 Jeffrey C Honig <jch@honig.net>
10462
10463 * mh-utils.el (mh-find-progs): Searches should not stop if the
10464 strings are not found, there is error detection at the end of the
10465 routine (closes SF #488231).
10466
104672001-12-02 Bill Wohler <wohler@newt.com>
10468
10469 * MH-E-NEWS: Added info about bumping up `max-specpdl-size'.
10470
10471 * Makefile (MH-E-IMG): New variable that contains images used by
10472 mh-e. Add these files to release.
10473
10474 * MH-E-NEWS: Second draft of mh-e 6.0 (was 5.1) release notes.
10475
10476 * mh-e.el (mh-folder-updated-hook): Reworded to avoid ambiguity.
10477 Is the hook called when you type `d' or when you type `x'?
10478 (mh-unseen-updated-hook): Reworded to be consistent with
10479 `mh-folder-updated-hook.'
10480
10481 * mh-utils.el (mh-recenter): Accepted Gerd's change which is
10482 evaluated at compile time.
10483
104842001-12-02 Bill Wohler <wohler@newt.com>
10485
10486 * mh-e.el Major, major keymap changes. The specific changes are
10487 listed below, but view the sources, or use "C-h m" in MH Folder
10488 mode for the complete list.
10489
10490 Use of sub-keymaps inspired by gnus. The changes tripped me up at
10491 first too, but after about 5 minutes of shock (which is to be
10492 expected, I've been using the old keybindings for 16 years), I
10493 honestly found the new bindings to be nice indeed. It will also
10494 provide flexibility to allow for future functionality. I hate to
10495 do this on the eve of the beta release, but you asked for it! It's
10496 likely I'll have to pull an Eric and back this change out, but if
10497 we can live with pink subjects, this can't be so bad ;-).
10498 Question: will the users revolt? If they do, I suppose we can
10499 release 6.0.1 the next day ;-).
10500 (mh-folder-map, mh-sequence-map, mh-extract-map, mh-digest-map):
10501 New keymaps which start with F, S, X, and D, respectively. The
10502 mhstore commands can go in the mh-extract-map eventually.
10503 (mh-thread-map): Renamed from mh-folder-thread-map.
10504
10505 Keymap changes and rationale. The sub-keymaps allowed some
10506 consistency (e.g., esp. with l(ist) and k(ill).
10507
10508 e Deleted. Already have x. Now used by mh-edit-again.
10509 a Deleted. Already have r. Now used by mh-extract-rej..
10510 j Deleted. Already have g.
10511
10512 M-a -> e Better mnemonic. Matches rmail. Frees movement cmd.
10513 M-e -> a Try `a'gain!
10514
10515 M-f -> Fv Frees movement command
10516 M-f -> Ff Alias (keep?)
10517 M-f -> Fo Alias (keep?)
10518 M-k -> Fk No reason but to keep with folder commands
10519 M-l -> Fl No reason but to keep with folder commands
10520 M-p -> Fp No reason but to keep with folder commands
10521 M-r -> Fr Frees movement command
10522 M-s -> Fs No reason but to keep with folder commands
10523 M-u -> Fu No reason but to keep with folder commands
10524
10525 M-% -> Sd Better mnemonic
10526 M-# -> Sk Better mnemonic
10527 M-q -> Sl Better mnemonic
10528 C-xn -> Sn Frees up standard key binding
10529 % -> Sp Better mnemonic for putting a message in a sequence
10530 ? -> Ss Shows sequences that message is in
10531 C-xw -> Sw Frees up standard key binding
10532
10533 M-n -> Xs Better mnemonic (shar)
10534 M-n -> Xu Better mnemonic (uuencode)
10535
10536 M-SPC -> DSPC Frees mark command
10537 M-\177 -> D\177 No reason but to keep with digest commands
10538 M-b -> Db Frees movement command
10539
105402001-12-01 Bill Wohler <wohler@newt.com>
10541
10542 * mh-e.el: Use gnus style of keymaps. Now requires gnus-util.
10543 (mh-folder-thread-map): New map, created by gnus-define-keys.
10544 Reached when typing T in mh-folder-mode-map. Moved threading
10545 functions to this new keymap so we can use dired again.
10546 (mh-folder-mode-map): Defined by gnus-define-keys. Otherwise than
10547 the new threading functions, no changes to the UI were made at
10548 this point--saving that for the next check-in.
10549
10550 * mh-pick.el (mh-pick-mode-map): Use gnus-define-keys. Now
10551 requires gnus-util.
10552
10553 * mh-comp.el (mh-letter-mode-map): Use gnus-define-keys. Now
10554 requires gnus-util.
10555
105562001-12-01 Jeffrey C Honig <jch@honig.net>
10557
10558 * mh-e.el: Update the documentation for the regexps used by
10559 `mh-folder-font-lock-keywords' to specify how many parethesized
10560 expressions they are expected to have and what those expressions
10561 are expected to match.
10562
105632001-12-01 Bill Wohler <wohler@newt.com>
10564
10565 * mh-e.el (mh-folder-mode): Removed iteration of key bindings,
10566 \\{mh-folder-mode-map} suffices. Removed variable documentation
10567 also as this is already out of date and a maintenance hassle.
10568 Reference new mh customization group instead.
10569
10570 * mh-comp.el (mh-letter-mode): Ditto. Also added new information
10571 about MIME directives getting processed automatically if inserted
10572 via mh-e commands.
10573
10574 * mh-pick.el (mh-pick-mode): Edited documentation so it reads like
10575 the other modes.
10576
10577 * mh-e.el (mh-compat-quit): Deleted obsolete and unused function.
10578 Comment in this function said that `b' shouldn't be used for
10579 burst-digest, as it is used for `back' in info, less, and rn. But
10580 what does `back' mean in MH Folder? I suppose if you visit a
10581 folder, you would go `back' to the original folder. Hmmm, I guess
10582 we'll leave the `b' binding alone for now.
10583
10584 * mh-utils.el: Moved some of the variable comments to the first
10585 column so they wouldn't wrap in such an ugly fashion.
10586 (mh-showing-mode): Renamed variable and function from mh-showing
10587 to conform with minor mode conventions. Added optional arg to
10588 function so it would behave like a normal minor mode: no or nil
10589 arg toggles mode, 0 arg turns off, non-nil turns on. It also turns
10590 out that desktop-create-buffer would barf when recreating mh-e
10591 buffers because it was calling mh-show with an arg.
10592 (mh-show-mode): Use define-derived-mode to simplify definition a
10593 *lot*.
10594 (mh-set-mode-name): Deprecated by use of define-derived-mode.
10595 Removed.
10596
10597 * mh-pick.el (mh-pick-mode): Use define-derived-mode to simplify
10598 definition a *lot*.
10599
10600 * mh-e.el (mh-scan-prog): Removed message about "Buffer local" as
10601 this message will appear in a future version of Emacs.
10602 (mh-inc-folder): mh-showing renamed to mh-show-mode and made a
10603 real minor mode.
10604 (mh-folder-mode): Use define-derived-mode to simplify definition a
10605 *lot*.
10606
10607 * import-emacs (release): Change `(none)' to `mainline' so import
10608 doesn't choke after running `cvs up -A' on Emacs.
10609 (COPYING): Moved from $EMACS_HOME/etc to $EMACS_HOME.
10610 (cvs update): Whoops! Forgot the second join (-jemacs).
10611 make import works fine again.
10612
106132001-11-30 Peter S Galbraith <psg@debian.org>
10614
10615 * mh-e.el (mh-folder-font-lock-keywords): Change order of
10616 font-lock patterns such that subject body text doesn't get date
10617 fontification.
10618
10619 * mh-e.el (mh-scan-subject-regexp): Bug fix. Remove a dot.
10620 scan.font-lock users have to setq it separately.
10621
106222001-11-30 Eric Ding <ericding@alum.mit.edu>
10623
10624 * mh-utils.el (mh-clean-msg-header): Go back to using
10625 mh-delete-line. Using invisible text property is nicer in some
10626 ways, but winds up with somewhat mysterious behavior should user
10627 kill/yank stuff from the header (i.e., text gets yanked invisibly
10628 and won't be seen by user until file is reloaded).
10629
106302001-11-29 Bill Wohler <wohler@newt.com>
10631
10632 * mh-e.el (mh-page-msg): Use mh-next-direction to page in the
10633 right direction.
10634
106352001-11-29 Jeffrey C Honig <jch@honig.net>
10636
10637 * mh-e.el (mh-scan-folder): Fix logic to not attempt to go to
10638 the current message if there are no messages in the folder.
10639
106402001-11-29 Peter S Galbraith <psg@debian.org>
10641
10642 * mh-e.el (mh-folder-font-lock-subject): New fontifier function
10643 for subject lines in folder-mode
10644 (mh-scan-followup-regexp): Deleted obsolete regexp. Use
10645 mh-scan-subject-regexp instead.
10646 (mh-folder-font-lock-keywords): Use mh-folder-font-lock-subject
10647 instead of obsolete mh-scan-followup-regexp variable.
10648 (mh-folder-date-face, mh-folder-msg-number-face):
10649 (mh-folder-subject-face, mh-folder-followup-face):
10650 Now defined as proper faces instead of copied from font-lock
10651 faces.
10652
10653 * mh-mime.el (mh-media-type-regexp): New variable. Regexp matching
10654 valid media types used in MIME attachment compositions.
10655 (mh-file-mime-type): Use mh-media-type-regexp instead of
10656 hard-wiring its value.
10657
10658 * mh-utils.el (mh-show-unquote-From): New function to unquote
10659 "^>From" in mh-show-mode (not saved to disk).
10660 (mh-show-mode): Call mh-show-unquote-From.
10661
106622001-11-29 Eric Ding <ericding@alum.mit.edu>
10663
10664 * mh-utils.el (mh-clean-msg-header): Use mh-make-line-invisible
10665 rather than mh-delete-line.
10666 (mh-make-line-invisible): New function to make line(s) invisible
10667 rather than deleting line(s). Optional argument specifies number
10668 of lines to delete.
10669 (mh-show-msg): screen-height has been deprecated; use no more.
10670 (mh-notate): screen-width has been deprecated; use no more.
10671
106722001-11-29 Jeffrey C Honig <jch@honig.net>
10673
10674 * mh-utils.el: (mh-find-progs): Change mh-find-progs to rely on
10675 the existence of mhparam. The location of mhparam is used to find
10676 `mh-progs'. It uses the libdir and etcdir to find the
10677 `mh-lib-progs' and `mh-lib' directories. If etcdir doesn't return
10678 anything we assume `mh-lib-progs' is the same as `mh-lib' and that
10679 we are using MH instead of nmh.
10680
106812001-11-29 Peter S Galbraith <psg@debian.org>
10682
10683 * mh-e.el (mh-scan.font-lock-regexp): Change docs to reflect that
10684 second paren expression is the user match.
10685 (mh-folder-font-lock-keywords): Change from 1st to 2nd parenthesized
10686 expression to match user name, after Jeffrey's change to the regexps.
10687
106882001-11-29 Bill Wohler <Bill.Wohler@openwave.com>
10689
10690 * mh-utils.el (mh-clean-message-header): Default is now t.
10691 (mh-invisible-headers): Padded out to contain all the headers that
10692 the mh-e developers don't like to see (closes SF #415759).
10693
106942001-11-28 Bill Wohler <Bill.Wohler@openwave.com>
10695
10696 * mh-comp.el (mh-rejected-letter-start): Added MIME MDN. While
10697 this allows mh-extract-rejected-mail to strip the start of the
10698 MDN, there is still a closing MIME marker at the end. This should
10699 be cleaned up eventually.
10700
107012001-11-28 Peter S Galbraith <psg@debian.org>
10702
10703 * mh-e.el (mh-folder-seq-tool-bar-map): New tool-bar used for
10704 folder-mode when narrowed to sequence.
10705 * mh-seq.el (mh-narrow-to-seq): Set tool-bar to
10706 mh-folder-seq-tool-bar-map.
10707 (mh-widen): Set tool-bar to mh-folder-tool-bar-map.
10708 * widen.xpm: New icon used in mh-folder-seq-tool-bar-map.
10709
10710 * mh-mime.el (mh-file-mime-type): Much better check on validity of
10711 'file' output.
10712
10713 * mh-e.el (mh-scan-subject-regexp): New regexp variable for
10714 subject string in folder mode. Used to extract subject sequence,
10715 and will be used for font-lock soon.
10716 * mh-seq.el (mh-subject-thread-to-sequence): More robust code by
10717 using mh-scan-subject-regexp, allows users with non-standard
10718 scan format to use subject sequences.
10719
10720 * mh-comp.el (mh-letter-fill-column): Fill column to use in
10721 mh-letter-mode. (Yes, I'm doing this in spite of what Bill said;
10722 Someone can always undo it later)
10723 (mh-letter-mode): setq fill-column to mh-letter-fill-column.
10724
107252001-11-28 Bill Wohler <wohler@newt.com>
10726
10727 * mh-e.el (mh-page-msg): The first time the end of page is hit,
10728 set mh-page-to-next-msg-p to t. The second time the end of page is
10729 hit, go to the next message.
10730
10731 * mh-utils.el: (mh-show-msg): Initialize mh-page-to-next-msg-p to
10732 nil.
10733
107342001-11-27 Bill Wohler <wohler@newt.com>
10735
10736 * mh-mime.el (mh-mime-content-types): Updated list of types to
10737 contain types used by mh-e developers, but not including types not
10738 listed in
10739 http://www.isi.edu/in-notes/iana/assignments/media-types/media-types.
10740
107412001-11-27 Peter S Galbraith <psg@debian.org>
10742
10743 * mh-seq.el (mh-subject-thread-to-sequence) New function placing
10744 all messages with similar subject line into a sequence named
10745 'subject.
10746 (mh-narrow-to-subject-thread): New command to narrow to all
10747 messages with similar subject line into a sequence named 'subject.
10748 (mh-toggle-subject-thread): New command to toggle between a new
10749 'subject sequence or the wide view of a folder.
10750 (mh-delete-subject-thread): New command to delete all following
10751 messages with similar subject lines (leaving preceeding ones
10752 untouched).
10753 (mh-next-unseen-subject-thread): New command to create and move to
10754 a new subject thread created from the next unseen message as a
10755 starting point.
10756 * mh-e.el (mh-folder-message-menu): New menu entries for subject
10757 threads.
10758 (mh-folder-mode-map): New keybindings for subject threads.
10759 (mh-lessp): New function to sort messages.
10760
10761 * mh-utils.el (mh-show-font-lock-keywords): and various
10762 faces... scoped within eval-after-load "font-lock" to avoid
10763 requiring font-lock to use its faces.
10764 * mh-e.el (mh-folder-font-lock-keywords): Same.
10765
107662001-11-27 Jeffrey C Honig <jch@honig.net>
10767
10768 * mh-mime.el (mh-file-mime-type): Use mh-temp-buffer instead of
10769 " *mh-temp".
10770
10771 * mh-comp.el (mh-insert-x-mailer): Kill mh-temp-buffer after use.
10772
107732001-11-26 Eric Ding <ericding@alum.mit.edu>
10774
10775 * mh-utils.el: revert to using external mimedecode to decode
10776 MIME quoted-printable parts
10777
107782001-11-26 Jeffrey C Honig <jch@honig.net>
10779
10780 * mh-e.el (mh-process-commands): Added mh-folder-updated-hook.
10781 * mh-e.el (mh-update-unseen): Added mh-unseen-updated-hook.
10782
107832001-11-26 Peter S Galbraith <psg@debian.org>
10784
10785 * mh-mime.el (mh-file-mime-type): Make sure output from file
10786 command is known to mailcap file, otherwise prompt the user.
10787 (mh-mime-content-types): Add "image/png" type.
10788
10789 * mh-e.el (mh-folder-font-lock-keywords): Use a bunch of new
10790 mh-folder-*-face faces.
10791 * mh-utils.el (mh-show-font-lock-keywords): Use a bunch of new
10792 mh-show-*-face faces.
10793
10794 * mh-utils.el (mh-letter-header-font-lock): Bug fix. Fix infinite
10795 loop in emacs20 font-locking.
10796 (mh-header-field-font-lock): Preventive fix with similar change.
10797
10798 * mh-comp.el (mh-reply-show-message-p): Typo. diplayed -> displayed.
10799 * MH-E-NEWS: Same.
10800
10801 * mh-e.el (mh-folder-tool-bar-map): Bug fix. I had
10802 mh-repack-folder instead of mh-pack-folder.
10803
108042001-11-26 Bill Wohler <wohler@phone.com>
10805
10806 * mh-e.el:
10807 Updated header for consistency and to conform with (elisp)Library
10808 Headers.
10809 (mh-do-not-confirm): Updated documentation string to reflect
10810 reality (e.g., is no longer used by mh-kill-folder and is used by
10811 more functions than just mh-undo-folder).
10812 (mh-page-msg): Now shows the next undeleted message if looking at the
10813 bottom of the current message.
10814 (mh-process-or-undo-commands): Fixed indentation.
10815
10816 * mh-mime.el:
10817 (mh-mhn-compose-insertion, mh-mhn-compose-anon-ftp): If MIME type
10818 cannot be determined with file command, use mailcap-mime-types (if
10819 available) to provide list for completing read.
10820
10821 * MH-E-NEWS: First draft of mh-e 5.1 release notes.
10822
108232001-11-26 Eric Ding <ericding@alum.mit.edu>
10824
10825 * mh-utils.el (mh-decode-quoted-printable): Implement
10826 quoted-printable decoding in elisp (starting with code copied
10827 from FLIM).
10828 (mh-decode-quoted-printable-region): Move (require 'hexl) outside
10829 while loop.
10830 (mh-decode-quoted-printable): give user a choice between using
10831 internal code or external program to decode quoted-printable
10832 content. Resurrect code that calls external mimedecode program.
10833
108342001-11-25 Peter S Galbraith <psg@debian.org>
10835
10836 * mh-utils.el (mh-highlight-citation-p): New variable to determine
10837 whether to hightlight citations in message body with gnus,
10838 font-lock or not at all.
10839 (mh-show-font-lock-keywords): removed citations from keywords.
10840 (mh-show-font-lock-keywords-with-cite): New variable, equivalent
10841 to prior mh-show-font-lock-keywords.
10842 (mh-gnus-article-highlight-citation): hook into gnus for
10843 multi-level citation highlighting.
10844 (mh-show-mode): Use either mh-show-font-lock-keywords or
10845 mh-show-font-lock-keywords-with-cite, depending on value of
10846 mh-highlight-citation-p, and possibly call
10847 mh-gnus-article-highlight-citation.
10848 * mh-comp.el (mh-letter-mode): Same as for mh-show-mode above.
10849
108502001-11-25 Jeffrey C Honig <jch@honig.net>
10851
10852 * mh-comp.el (mh-redistribute): Added mh-redist-background
10853 variable to cause mh-redistribute to run the redist command in the
10854 background. This causes the transaction log to be visible, like
10855 with send.
10856
108572001-11-25 Peter S Galbraith <psg@debian.org>
10858
10859 * mh-e.el (mh-inc-folder): 'inc' finishes by displaying the first
10860 new message if already showing messages.
10861
108622001-11-22 Peter S Galbraith <psg@debian.org>
10863
10864 * mh-utils.el (mh-prompt-for-folder): Exit with error if no folder
10865 specified, otherwise mh-refile-msg may try to create a folder with
10866 empty name, and this creates problems; even mh-undo can't handle
10867 it (Closes SF #476824).
10868
10869 * mh-comp.el (mh-letter-tool-bar-map): Info button needed to
10870 require 'info. Also tweaked help texts.
10871 (mh-letter-menu): Use headline capitalization (Closes SF #483203).
10872 * mh-e.el (mh-folder-tool-bar-map): Same as above.
10873 (mh-folder-folder-menu, mh-folder-message-menu):
10874 (mh-folder-sequence-menu): Same as above.
10875 * mh-pick.el (mh-pick-menu): Same as above.
10876
108772001-11-21 Peter S Galbraith <psg@debian.org>
10878
10879 * mh-comp.el (mh-reply-show-message-p): The setting of this
10880 variable determines whether the MH show-buffer is diplayed with
10881 the current message when using mh-reply without a prefix argument.
10882 Set it to nil if you already include the message automatically in
10883 your draft using "repl: -filter repl.filter" in your ~/.mh_profile
10884 file.
10885 (mh-reply): Don't show message in other window if
10886 mh-reply-show-message-p is nil.
10887
10888 * mh-e.el (mh-folder-tool-bar-map): Add mail_exec.xpm icon for
10889 mh-execute-commands.
10890
10891 * mh-utils.el (mh-show-mouse): New function to click on a message
10892 in folder-mode and show that message.
10893 * mh-e.el (mh-folder-mode-map): Bind mh-show-mouse to mouse-2.
10894
10895 * mh-e.el (mh-page-msg): Show buffer first if not displayed,
10896 instead of simply complaining there's no other window.
10897
10898 * mh-e.el (mh-folder-tool-bar-map): New tool-bar for folder mode!
10899 (mh-folder-mode): Setup tool-bar.
10900
10901 * mh-mime.el (mh-have-file-command): try to non-fatally load
10902 executable.el because emacs20 doesn't autoload it.
10903 * mh-utils.el (load "executable" t t): Idem.
10904
10905 * mh-utils.el (mh-clean-msg-header): Bug fix. locally bind
10906 after-change-functions to nil, working around a strange font-lock
10907 bug in emacs20 when (add-hook 'mh-show-mode-hook 'turn-on-font-lock)
10908 was used.
10909
10910 * mh-comp.el (require 'sendmail): Moved from mh-comp.el to
10911 mh-utils.el because it is needed in reading mail too.
10912 (mh-header-field-end, mh-in-header-p): Moved to mh-utils.el
10913 because they are needed by mh-show-mode's font-lock code.
10914 Unfortunately, this splits the field related code into two files.
10915 Perhaps it should all go into mh-utils?
10916
109172001-11-20 Eric Ding <ericding@alum.mit.edu>
10918
10919 * mh-utils.el (mh-show-from-face): Fix typo in defface
10920
109212001-11-20 Bill Wohler <wohler@newt.com>
10922
10923 * mh-utils.el (mh-mail-header-separator): Set to -------- as
10924 defined by MH (components, and replcomps files). This variable
10925 cannot be a regexp since it is used as an argument to insert and
10926 is passed through regexp-quote before being used. The previous
10927 value broke a lot of code, including mailcrypt.
10928
10929 * mh-comp.el (mh-letter-mode, mh-send-letter): Insert X-Mailer
10930 header field from mh-send-letter.
10931 (mh-edit-again, mh-extract-rejected-mail): Call
10932 mh-insert-header-separator to ensure that there is a separator.
10933 Packages such as mailcrypt depend on it.
10934 (mh-insert-header-separator): New function to insert
10935 mh-mail-header-separator if it doesn't exist.
10936
109372001-11-20 Peter S Galbraith <psg@debian.org>
10938
10939 * mh-comp.el (mh-letter-mode): Make font-lock-defaults a local variable
10940 * mh-e.el (mh-folder-mode): Same.
10941 * mh-utils.el (mh-show-mode): Same.
10942
10943 * mh-e.el (mh-scan-msg-num-regexp): Delete variable and replace
10944 with mh-good-msg-regexp.
10945
10946 * mh-utils.el (mh-mail-header-separator): Bug fix. Moved from
10947 mh-comp.el to mh-utils.el (which mh-comp.el loads).
10948
10949 * mh-comp.el (mh-in-header-p): Recycle sendmail.el code (as
10950 suggested by Bill).
10951 * mh-utils.el (mh-letter-header-font-lock): Use mh-in-header-p.
10952
10953 * mh-comp.el (mh-letter-tool-bar-map): tool-bar customize button goes
10954 to customizing mh-compose group.
10955
10956 * mh-utils.el (mh-show-mode): font-lock bug fix. Locally set
10957 font-lock-support-mode to nil.
10958 (mh-letter-header-font-lock, mh-header-field-font-lock): font-lock
10959 bug fix. Don't return match beyond font-lock search limit.
10960
10961 * mh-comp.el (mh-letter-mode): Emacs20 bug fix. tool-bar-mode is
10962 not a bound variable.
10963
109642001-11-19 Peter S Galbraith <psg@debian.org>
10965
10966 * mh-comp.el (mh-letter-tool-bar-map): tool-bar help button goes
10967 to 'Draft Editing' info node.
10968
10969 * mh-utils.el (mh-show-from-face, mh-show-to-face): New faces used
10970 for font-lock.
10971 (mh-header-to-font-lock, mh-header-cc-font-lock)
10972 (mh-header-field-font-lock): New helper function returning whole
10973 header field arguments to font-lock.
10974 (mh-show-font-lock-keywords): Heavily modified using the above.
10975
10976 * mh-e.el (mh-scan-msg-num-regexp): Regexp matching the message
10977 number in scan lines.
10978 (mh-scan-date-regexp): Regexp matching a valid date in scan lines.
10979 (mh-scan-rcpt-addr-regexp): Regexp specifying the recipient in
10980 scan lines for messages we sent.
10981 (mh-scan-followup-regexp): Regexp matching a followup subject
10982 line, starting with Re:
10983 (mh-scan-body-regexp):
10984 Regexp matching the message body beginning displayed in scan lines.
10985 (mh-scan.font-lock-regexp): Regexp matching output of the the
10986 optional scan.font-lock format file.
10987 (mh-folder-font-lock-keywords): New font-lock for folder-mode that
10988 uses the above regexps.
10989
109902001-11-19 chad <y@mit.edu>
10991
10992 * mh-comp.el (mh-letter-tool-bar-map): made both references to
10993 mh-letter-tool-bar-map conditional on tool-bar-mode, instead of
10994 just one.
10995
109962001-11-19 Bill Wohler <wohler@newt.com>
10997
10998 * mh-comp.el (mh-position-on-field): Move to the end of the header
10999 if the field is not present. This function was documented to do
11000 this, but wasn't doing so.
11001 (mh-insert-x-mailer): Simplified by using existing
11002 mh-goto-header-field and mh-insert-fields functions. Now that
11003 mh-insert-fields is used to insert X-Mailer header field, no
11004 longer need to include X-Mailer in mh-x-mailer-string.
11005
110062001-11-18 Peter S Galbraith <psg@debian.org>
11007
11008 * mh-comp.el (mh-letter-tool-bar-map): New version of
11009 mh-letter-mode tool-bar. Changed order of buttons; made customize
11010 and info buttons specific to mh-e.
11011
11012 * mh-e.el (mh-folder-font-lock-keywords): New font-lock regexp
11013 uses variables mh-deleted-msg-regexp, mh-refiled-msg-regexp and
11014 mh-cur-scan-msg-regexp, so will better adapt to non-default scan
11015 formats. Also, lines marked for refiling are now fontified.
11016
110172001-11-18 Bill Wohler <wohler@newt.com>
11018
11019 * mh-utils.el (mh-show-mode): Added local variable
11020 mail-header-separator which is initialized to
11021 mh-mail-header-separator.
11022
11023 * mh-comp.el (mh-mail-header-separator): Updated to include ^$.
11024 Needed when running mh-edit-again, since by then the separator is
11025 gone. Added documentation saying one should use
11026 mail-header-separator and initialize it from
11027 mh-mail-header-separator.
11028 (mh-forward): Initialize mail-header-separator since
11029 mh-letter-mode hasn't kicked in yet (which does initialize
11030 mail-header-separator).
11031 (mh-letter-mode): Initialize mail-header-separator from
11032 mh-mail-header-separator, not hard-coded string.
11033
11034 * mh-comp.el (mh-insert-x-mailer-p): New variable to control
11035 whether X-Mailer string is inserted. Default: t.
11036 (mh-x-mailer-string): New variable that caches actual X-Mailer
11037 string.
11038 (mh-letter-mode): Call mh-insert-x-mailer if mh-insert-x-mailer-p
11039 is t.
11040 (mh-insert-x-mailer): New function that inserts X-Mailer header
11041 field.
11042
110432001-11-17 Peter S Galbraith <psg@debian.org>
11044
11045 * mh-utils.el (mh-letter-header-font-lock): New function to return
11046 the entire mail header to font-lock for sedate font-locking.
11047 (mh-show-font-lock-keywords): Modified to fontify whole lines and use
11048 mh-letter-header-font-lock above to fontify whole header.
11049
110502001-11-17 Bill Wohler <wohler@newt.com>
11051
11052 * mh-comp.el (mail-header-separator): Added ^ and $ to make more
11053 specific.
11054 (mh-forward, mh-letter-mode): Replaced hard-coded string with
11055 mail-header-separator.
11056
110572001-11-16 Bill Wohler <wohler@newt.com>
11058
11059 * mh-e.el (mh-e-RCS-id): Renamed to mh-version.
11060 (mh-version): The variable: Set to a number instead of Id since
11061 the Id didn't have the mh-e version number, and both Emacs and
11062 gnus do it this way too.
11063 (mh-version): The function: Fixed for nmh. Now displays mh-e
11064 version correctly. Cleaned up output and display mh-progs, etc.
11065 (Closes SF #405620.)
11066
110672001-11-15 Peter S Galbraith <psg@debian.org>
11068
11069 * mh-comp.el (mh-letter-tool-bar-map): New tool-bar support for
11070 mh-letter-mode in emacs21. Uses icons from gnus/message.el.
11071 * mh-comp.el (mh-letter-mode): Add buffer-local binding of
11072 tool-bar-map to mh-letter-tool-bar-map.
11073
110742001-11-15 Peter S Galbraith <psg@debian.org>
11075
11076 * mh-mime.el (mh-have-file-command): Add check for existence of
11077 executable-find command, which Jeffrey didn't exist in emacs-20.4.
11078 * mh-utils.el (mh-decode-quoted-printable-have-mimedecode): same
11079 as above.
11080 * mh-mime.el (mh-file-mime-type): Bug Fix. Some versions of
11081 'file' output a string like "file: Using regular magic file..."
11082 to stderr, so discard stderr when using call-process with 'file'.
11083
110842001-11-14 Peter S Galbraith <psg@debian.org>
11085
11086 * mh-mime.el (mh-have-file-command): Check if 'file' command on
11087 system accepts arguments -i -b before accepting it for our use.
11088
110892001-11-14 Peter S Galbraith <psg@debian.org>
11090
11091 * mh-utils.el (mh-find-progs): Use expand-file-name instead of
11092 concatenating together strings into a path.
11093
110942001-11-14 Peter S Galbraith <psg@debian.org>
11095
11096 * mh-e.el (mh-folder-sequence-menu): Enable mh-widen in sequence
11097 menu only when mh-narrowed-to-seq is t.
11098
110992001-11-14 Peter S Galbraith <psg@debian.org>
11100
11101 * mh-mime.el (mh-have-file-command): Use 'executable-find' instead
11102 of more complicated and error-prone call-process to which command.
11103 * mh-utils.el (mh-decode-quoted-printable-have-mimedecode): Same
11104 change as above.
11105
111062001-11-14 Jeffrey C Honig <jch@honig.net>
11107
11108 * mh-e.el (mh-make-folder-mode-line): Bug fix. Properly deal with
11109 folders that do not have any lines in them. Print "no msgs"
11110 instead of "0 msgs". Do not try to print a range when there are
11111 no messages.
11112 * mh-e.el (mh-regenerate-headers): Bug fix. Catch and remove the
11113 "scan: band message list" message.
11114
111152001-11-13 Jeffrey C Honig <jch@honig.net>
11116
11117 * mh-utils.el (mh-find-progs): Bug fix. Add "mh/etc" to the
11118 subdirectories to search for "components". On BSD/OS, nmh is in
11119 "/usr/contrib/mh/*".
11120
111212001-11-13 Peter S Galbraith <psg@debian.org>
11122
11123 * mh-comp.el (mh-letter-mode): Bug fix. Load mh-mime before
11124 setting mh-mhn-compose-insert-p (when looking at a "forw: -mime"
11125 message containing a MIME composition) such that the variable is
11126 properly declared as buffer-local.
11127
111282001-11-12 Bill Wohler <wohler@newt.com>
11129
11130 * mh-funcs.el (mh-print-msg): mhl is in the mh-lib-progs
11131 directory, not mh-lib (closes SF #481128).
11132
111332001-11-12 Peter S Galbraith <psg@debian.org>
11134
11135 * mh-seq.el (mh-widen): Bug fix (closes SF #481036).
11136 In a sequence with pending deletes and refiles, running mh-widen
11137 would wipe out their notations, even though the sequences are still
11138 defined. Fixed by calling a new function,
11139 mh-notate-deleted-and-refiled. Also changed the coping of
11140 mh-goto-msg-num since it didn't work consistently.
11141 * mh-seq.el (mh-notate-deleted-and-refiled): New functions written
11142 to fix above mh-widen bug. It's a first cut, we may want to clear
11143 all notations first, and notate the current-message sequence and
11144 user sequences. Time will tell.
11145
111462001-11-12 Peter S Galbraith <psg@debian.org>
11147
11148 * mh-seq.el (mh-widen): Make it attempt to stay on the same
11149 message number (closes SF bug #480922).
11150
111512001-11-11 Bill Wohler <wohler@newt.com>
11152
11153 * import-emacs: New shell script to import Emacs changes to mh-e.
11154
11155 * Makefile (import): New target to import Emacs changes.
11156
111572001-11-09 Peter S Galbraith <psg@debian.org>
11158
11159 * mh-mime.el (mh-file-mime-type): Bug fix. Change regexp to
11160 extract mime type from 'file -i' command output.
11161
111622001-11-08 Peter S Galbraith <psg@debian.org>
11163
11164 * mh-utils.el (mh-update-sequences-after-mh-show):
11165 New customizable variable telling whether to run
11166 mh-update-sequences in mh-show-mode. Default is t.
11167 * mh-utils.el (mh-show-msg): Run mh-update-sequences when
11168 mh-update-sequences-after-mh-show is set.
11169
111702001-11-08 Peter S Galbraith <psg@debian.org>
11171
11172 * mh-utils.el (mh-decode-quoted-printable-have-mimedecode):
11173 New variable telling whether command 'mimedecode' is on system.
11174 (http://www.freesoft.org/CIE/FAQ/mimedeco.c)
11175 * mh-utils.el (mh-decode-quoted-printable):
11176 New customizable variable telling whether to run mimedecode on
11177 MIME message containing quoted-printable parts. mimedecode will
11178 only alter quoted-printable parts , leaving others intact, and the
11179 resulting message is still fully MIME.
11180 * mh-utils.el (mh-decode-quoted-printable): New function to run
11181 mimedecode on the current buffer.
11182 * mh-utils.el (mh-display-msg): Conditionnaly call
11183 mh-decode-quoted-printable function if mh-decode-quoted-printable
11184 variable is set, to view messages containing quoted-printable
11185 characters into 8-bit.
11186
111872001-11-08 Peter S Galbraith <psg@debian.org>
11188
11189 * mh-comp.el (mh-letter-mode): Set mh-mhn-compose-insert-p if
11190 looking at a "forw: -mime" message containing a MIME composition.
11191 * mh-mime.el (mh-file-mime-type): Bug fix. Failed on files like
11192 "~/.mh_profile" because of shell construct. Wrapped filename with
11193 expand-file-name.
11194 * mh-comp.el (mh-letter-mode-map): C-cC-o keybinding in
11195 mh-letter-mode-map for mh-open-line.
11196
111972001-11-07 Peter S Galbraith <psg@debian.org>
11198
11199 * mh-comp.el (mh-open-line): New user function to split open a line
11200 when editing a reply with included text.
11201 * mh-comp.el (mh-current-fill-prefix): New function used by
11202 mh-open-line to get the fill-prefix on the current line.
11203 * mh-comp.el: Add mh-open-line to mh-letter-mode menubar.
11204
112052001-11-06 Peter S Galbraith <psg@debian.org>
11206
11207 * mh-seq.el (mh-region-to-sequence): New function, creating a
11208 sequence named 'region containing the message list in the selected
11209 region.
11210 * mh-e.el (mh-delete-msg): Mark messages in region for deletion if
11211 mark is active and in transient-mark-mode.
11212 * mh-e.el (mh-refile-msg): Mark messages in region for refiling if
11213 mark is active and in transient-mark-mode.
11214 * mh-e.el (mh-undo): Undo message marks for refile or deletion if
11215 region if mark is active and in transient-mark-mode.
11216
112172001-11-06 Peter S Galbraith <psg@debian.org>
11218
11219 * mh-comp.el (mh-letter-mode): Use sendmail.el's fill-paragraph.
11220 Copy its settings for paragraph-start, paragraph-separate,
11221 fill-paragraph-function, adaptive-fill-regexp and
11222 adaptive-fill-first-line-regexp. This make M-q (fill-paragraph)
11223 work correctly!
11224
112252001-11-05 Peter S Galbraith <psg@debian.org>
11226
11227 * mh-funcs.el (mh-kill-folder): Remove mh-do-not-confirm condition
11228 and always prompt the user for such a drastic step. Also change
11229 the prompt a bit to clarify it.
11230
112312001-11-04 Peter S Galbraith <psg@debian.org>
11232
11233 * mh-mime.el (mh-mhn-compose-insert-p): New buffer-local variable
11234 to tell when a MIME insertion was done in a letter.
11235 * mh-mime.el (mh-mhn-compose-type): Set mh-mhn-compose-insert-p.
11236 * mh-mime.el (mh-mhn-compose-external-type):
11237 Set mh-mhn-compose-insert-p.
11238 * mh-mime.el (mh-mhn-compose-forw): Set mh-mhn-compose-insert-p.
11239 * mh-mime.el (mh-edit-mhn): Clear mh-mhn-compose-insert-p.
11240 * mh-comp.el (mh-send-letter): Run mh-edit-mhn when
11241 mh-mhn-compose-insert-p is set.
11242
112432001-11-03 Peter S Galbraith <psg@debian.org>
11244
11245 * mh-mime.el (mh-have-file-command): new function testing whether
11246 file command is on the system.
11247 * mh-mime.el (mh-file-mime-type): new function returning MIME type
11248 from file command.
11249 * mh-mime.el (mh-mhn-compose-insertion): Make use of
11250 mh-file-mime-type function instead of prompting.
11251
112522001-10-30 Peter S Galbraith <psg@debian.org>
11253
11254 * mh-utils.el (mh-show-use-goto-addr): defcustom this new
11255 variable, determining whether to call goto-addr in mh-show-mode.
11256 * mh-utils.el (mh-show-mode): Call goto-address when
11257 mh-show-use-goto-addr is t.
11258
112592001-10-25 Peter S Galbraith <psg@debian.org>
11260
11261 * mh-utils.el (mh-recenter): Clarify docs and change '(t) to
11262 (list 4) to match elisp doc on what C-u prefix argument actually is.
11263
112642001-10-23 Peter S Galbraith <psg@debian.org>
11265
11266 * mh-utils.el (mh-summary-height): In my quest to make mh-e more
11267 useful out-of-the-box for new users, set mh-summary-height to a
11268 minimum of 4 and a maximum of 10 depending on frame height. I
11269 typically have 70 lines in my Emacs frame, so having a default of
11270 4 was silly for my case.
11271 * mh-e.el (mh-update-sequences): Check for nil value of
11272 mh-current-folder, which happens if mh-summary-height < 4
11273 although I haven't tracked doen why that happens.
11274
112752001-10-22 Peter S Galbraith <psg@debian.org>
11276
11277 * mh-comp.el (mh-insert-fields): Test for nil value when inserting
11278 field.
11279
112802001-10-20 Peter S Galbraith <psg@debian.org>
11281
11282 * mh-comp.el (mh-user-agent-compose): Merged-in from XEmacs-21.4 source
11283 * mh-comp.el (mh-letter-mode): Add easy-menu-add statement for XEmacs21
11284 * mh-pick.el (mh-pick-mode): Add easy-menu-add statement for XEmacs21.
11285 * mh-e.el (mh-folder-mode): Add easy-menu-add statements for XEmacs21.
11286 * mh-utils.el: defalias 'screen-height to 'frame-height for XEmacs21.
11287
112882001-10-19 Peter S Galbraith <psg@debian.org>
11289
11290 * mh-mime.el (mh-edit-mhn): Use mhbuild in nmh context.
11291 * mh-utils.el (mh-find-progs): The variable mh-nmh-p (t when nmh
11292 is in use rather than MH) was set assuming that the string "nmh"
11293 will be in mh-lib-progs or mh-lib. This failed on Debian systems.
11294 Better to check for the existence of mhbuild in directory mh-progs.
11295 (closes SF bug #441776)
11296
112972001-10-18 Peter S Galbraith <psg@debian.org>
11298
11299 * mh-e.el: Add menubar entry from contrib/mh-menubar.el
11300 * mh-comp.el: Add menubar entry from contrib/mh-menubar.el
11301 * mh-pick.el: Add menubar entry from contrib/mh-menubar.el
11302
113032001-07-30 Peter S Galbraith <psg@debian.org>
11304
11305 * mh-e.el: Change font-lock patterns for folders.
11306 Fontify scan.font-lock patterns (which will be documented)
11307 and fontify subject lines prefixed with "Re:" differently.
11308 * mh-comp.el (mh-letter-mode): Add font-lock support as in
11309 mh-show-mode.
11310
113112001-04-14 chad brown <y@mit.edu>
11312
11313 Rearrange the font-lock keywords a bit.
11314
113152001-04-12 chad brown <y@mit.edu>
11316 13
11317 Preliminary (somewhat boring) font-lock support for mh-e. More 142005-10-09 Bill Wohler <wohler@newt.com>
11318 interesting font-lock support probably wants to have better
11319 support for multiple format files
11320 15
113212001-02-24 chad brown <y@mit.edu> 16 * mh-init.el (mh-image-load-path): New function that adds the path
17 to the MH-E images to the image-load-path or load-path depending
18 on the version of Emacs.
11322 19
11323 Add default nmh paths to mh-find-prog in mh-utils.el. 20 * mh-customize.el: Call mh-image-load-path just before
11324 change to mh-kill-folder in mh-funcs.el to make it more general. 21 mh-tool-bar-define so that the toolbar images can be found.
11325 22
113262001-02-19 Bill Wohler <wohler@newt.com> 232005-10-04 Bill Wohler <wohler@newt.com>
11327 24
11328 * Makefile (EMACS): Renamed to EMACS_HOME. Also, don't define if 25 * ChangeLog: Moved contents into ChangeLog.1 and trimmed.
11329 EMACS_HOME already exists to give developer a chance to set 26
11330 environment variable. 27 * ChangeLog.1: New file. Contains old ChangeLog.
11331 (install): $MH-E-SRC is copied to $(EMACS_HOME)/lisp/mail, not
11332 $(EMACS_HOME)/src.
11333 (dist): Leave release in current directory.
11334 28
11335 29
11336 Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 30 Copyright (C) 2005 Free Software Foundation, Inc.
11337 31
11338 Copying and distribution of this file, with or without modification, 32 Copying and distribution of this file, with or without modification,
11339 are permitted in any medium without royalty provided the copyright 33 are permitted in any medium without royalty provided the copyright