]> code.delx.au - gnu-emacs/blob - lisp/mh-e/ChangeLog
* mh-customize.el: Do not use face-alias compatibility for
[gnu-emacs] / lisp / mh-e / ChangeLog
1 2005-08-15 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * mh-customize.el: Do not use face-alias compatibility for
4 faces that did not appear in the previous Emacs release.
5
6 2005-08-10 Lars Hansen <larsh@soem.dk>
7 * mh-e.el: Add handler to desktop-buffer-mode-handlers.
8 (mh-restore-desktop-buffer): Remove autoload cookie.
9 (mh-folder-mode): Add autoload cookie.
10
11 2005-07-04 Lute Kamstra <lute@gnu.org>
12
13 Update FSF's address in GPL notices.
14
15 2005-06-17 Lute Kamstra <lute@gnu.org>
16
17 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
18 (mh-folder-cur-msg-number-face): New backward-compatibility
19 aliases for renamed faces.
20
21 2005-06-17 Miles Bader <miles@gnu.org>
22
23 * mh-customize.el (mh-folder-body, mh-folder-cur-msg)
24 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-followup)
25 (mh-folder-msg-number, mh-folder-refiled, mh-folder-subject)
26 (mh-folder-tick, mh-folder-to, mh-index-folder)
27 (mh-letter-header-field, mh-show-cc, mh-show-date)
28 (mh-show-header, mh-show-pgg-good, mh-show-pgg-unknown)
29 (mh-show-pgg-bad, mh-show-signature, mh-show-to, mh-show-from)
30 (mh-show-xface, mh-speedbar-folder, mh-speedbar-selected-folder)
31 (mh-speedbar-folder-with-unseen-messages)
32 (mh-speedbar-selected-folder-with-unseen-messages)
33 (mh-folder-msg-number, mh-folder-subject, mh-folder-followup)
34 (mh-folder-subject): Remove "-face" suffix from face names.
35 (mh-folder-body, mh-folder-cur-msg, mh-folder-cur-msg-number)
36 (mh-folder-date-face, mh-folder-followup-face)
37 (mh-folder-msg-number-face, mh-folder-refiled-face)
38 (mh-folder-subject-face, mh-folder-tick-face, mh-folder-to-face)
39 (mh-index-folder-face, mh-letter-header-field-face)
40 (mh-show-cc-face, mh-show-date-face, mh-show-header-face)
41 (mh-show-pgg-good-face, mh-show-pgg-unknown-face)
42 (mh-show-pgg-bad-face, mh-show-signature-face, mh-show-to-face)
43 (mh-show-from-face, mh-show-xface-face, mh-speedbar-folder-face)
44 (mh-speedbar-selected-folder-face)
45 (mh-speedbar-folder-with-unseen-messages-face)
46 (mh-speedbar-selected-folder-with-unseen-messages-face):
47 New backward-compatibility aliases for renamed faces.
48 (mh-folder-body-face, mh-folder-cur-msg-face)
49 (mh-folder-cur-msg-number-face, mh-folder-date-face)
50 (mh-folder-followup-face, mh-folder-msg-number-face)
51 (mh-folder-deleted-face, mh-folder-refiled-face)
52 (mh-folder-subject-face, mh-folder-address-face)
53 (mh-folder-scan-format-face, mh-folder-to-face)
54 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
55 (mh-show-header-face, mh-show-pgg-good-face)
56 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
57 (mh-show-to-face, mh-show-from-face, mh-show-subject-face)
58 (mh-speedbar-folder-with-unseen-messages)
59 (mh-speedbar-selected-folder-with-unseen-messages):
60 Use renamed MH-E faces.
61
62 * mh-utils.el (mh-letter-font-lock-keywords)
63 (mh-face-display-function): Use renamed MH-E faces.
64 * mh-speed.el (mh-folder-speedbar-buttons)
65 (mh-speed-update-current-folder, mh-speed-normal-face)
66 (mh-speed-bold-face, mh-speed-add-buttons)
67 (mh-speed-invalidate-map): Likewise.
68 * mh-mime.el (mh-signature-highlight): Likewise.
69
70 2005-06-16 Juanma Barranquero <lekktu@gmail.com>
71
72 * mh-comp.el (mh-send-sub):
73 * mh-identity.el (mh-identity-field-handler):
74 * mh-mime.el (mh-secure-message):
75 Don't use `format' on `error' arguments.
76
77 2005-06-14 Juanma Barranquero <lekktu@gmail.com>
78
79 * mh-mime.el (mh-secure-message): Follow error conventions.
80
81 2005-05-28 Bill Wohler <wohler@newt.com>
82
83 Released MH-E version 7.84.
84
85 * MH-E-NEWS, README: Updated for release 7.84.
86
87 * mh-e.el (Version, mh-version): Updated for release 7.84.
88
89 2005-05-28 Bill Wohler <wohler@newt.com>
90
91 * mh-e.el, mh-comp.el: Don't autoload Info-goto-node. It's not
92 used, and if it were, the code should use the info function
93 instead.
94
95 Use full year in copyright notices (for example, 2005, not 05).
96
97 * Makefile (mh-loaddefs.el, mh-e-autoloads.el): Added 2005 to
98 copyright notice.
99
100 * mh-inc.el: Use three ;;; to precede Local Variables to be
101 consistent with other files. Will have to ask Stefan Monnier why
102 he changed it.
103
104 * README: This version of MH-E to appear in GNU Emacs 22.1, not
105 21.5.
106
107 * ChangeLog: The * in a ChangeLog entry must only be used before a
108 filename.
109
110 Fixed compilation warnings in CVS Emacs. This included using
111 "public" functions instead of "private" ones (info instead of
112 Info-goto-node, view-mode-enter instead of view-mode), and
113 removing a customization group that didn't have a parent group. In
114 addition, string-to-int was recently deprecated; use
115 string-to-number instead.
116
117 * mh-customize.el (Info-goto-node): Deleted autoload.
118 (mh-e): Deleted mh group. Use single mh-e group instead.
119 (mh-tool-bar-folder-help, mh-tool-bar-letter-help): Use info
120 instead of Info-goto-node.
121
122 * mh-e.el (mh-read-msg-list): string-to-int deprecated; use
123 string-to-number.
124
125 * mh-funcs.el (mh-list-folders): Use view-mode-enter instead of
126 view-mode.
127
128 * mh-seq.el (mh-list-sequences): Use view-mode-enter instead of
129 view-mode.
130
131 * mh-utils.el (mh-get-msg-num): string-to-int deprecated; use
132 string-to-number.
133
134 Merged in changes from CVS Emacs including:
135
136 * mh-utils.el (mh-show-mode):
137 * mh-pick.el (mh-pick-mode): Remove spurious run-hooks. Lute
138 Kamstra <lute@gnu.org> 2005-05-26.
139
140 2005-05-25 Bill Wohler <wohler@newt.com>
141
142 Merged in changes from CVS Emacs including:
143
144 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
145 high number of colors displays. Dan Nicolaescu <dann@ics.uci.edu>
146 2005-04-08.
147
148 * mh-e.el, mh-identity.el, mh-mime.el: Replace `legal' with
149 `valid'. Replace `illegal' with `invalid'. Werner Lemberg
150 <wl@gnu.org> 2005-03-25.
151
152 * mh-inc.el (mh-inc-spool-list): Correctly declare the external
153 var. Stefan <monnier@iro.umontreal.ca> 2004-09-07.
154
155 2005-05-18 Bill Wohler <wohler@newt.com>
156
157 * mh-comp.el (mh-reply): Mention use of mh-repl-group-formfile in
158 docstring.
159
160 2005-05-05 Bill Wohler <wohler@newt.com>
161
162 * mh-e.el (Version, mh-version): Added +cvs to release number.
163
164 2005-05-05 Bill Wohler <wohler@newt.com>
165
166 Released MH-E version 7.83.
167
168 * MH-E-NEWS, README: Updated for release 7.83.
169
170 * mh-e.el (Version, mh-version): Updated for release 7.83.
171
172 2005-05-05 Bill Wohler <wohler@newt.com>
173
174 * README: To appear in Emacs 21.5, since 21.4 was released (but
175 without the latest MH-E).
176
177 * release-utils (usage): Added --variable-changes.
178
179 2005-05-04 Bill Wohler <wohler@newt.com>
180
181 * mh-customize.el (*-face): Made docstrings consistent.
182
183 * mh-seq.el (mh-pick-args-list): Extracted function for turning
184 string of pick arguments to list. Fixed list so that multi-word
185 arguments were put in a single string (closes SF #1122655).
186 (mh-edit-pick-expr): Use it.
187
188 * mh-unit.el (mh-unit): Since 21.4 snuck out but didn't contain
189 updated lm-verify, don't run lm-verify on versions before 21.5.
190 (mh-unit-test-pick-args-list): Added.
191
192 * mh-customize.el (mh-yank-from-start-of-msg): Use headline
193 capitalization. Changed wording of some choices to be more consistent.
194 (mh-invisible-header-fields-internal): Added fields from usa.net.
195
196 2005-04-24 Satyaki Das <satyaki@theforce.stanford.edu>
197
198 * mh-mime.el (mh-mime-security-button-face): New function which
199 determines the face to use to colorize encrypted or signed emails.
200 (mh-insert-mime-security-button): Modified to colorize the button
201 differently based on whether the signature was valid or not,
202 whether the decryption was successful or not, etc.
203
204 * mh-customize.el (mh-show-pgg-good-face)
205 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face): Faces added to
206 highlight buttons introduced for encrpted or signed MIME parts.
207
208 2005-03-19 Bill Wohler <wohler@newt.com>
209
210 * mh-customize.el (mh-mml-method-default): Sorted alphabetically.
211 (mh-insert-x-mailer-flag, mh-reply-show-message-flag): Moved from
212 mh-letter group to mh-sending-mail group. The writing of the
213 documentation revealed that these options were misplaced.
214
215 2005-03-17 Bill Wohler <wohler@newt.com>
216
217 * mh-customize.el (mh-junk-background): Put in alphabetical order.
218 Synced with manual.
219 (mh-junk-program): Use double-quotes on non-symbols.
220
221 * mh-pick.el: (mh-search-folder): Synced docstrings with manual.
222
223 * mh-index.el: (mh-index-search, mh-pick-execute-search)
224 (mh-grep-execute-search, mh-mairix-execute-search)
225 (mh-swish-execute-search, mh-swish++-execute-search)
226 (mh-namazu-execute-search): Synced docstrings with manual. Note
227 that I'm now grabbing the output of an Info buffer which is why
228 the indents on the examples has changed a bit. If we all use that
229 methodology in the future, we shouldn't produce as many gratuitous
230 diffs. I also noticed that `grep' and `search' became links to
231 unrelated things, so let's use double-quotes for quoting
232 non-symbols in the docstrings.
233
234 * mh-customize.el (mh-index-new-messages-folders)
235 (mh-index-ticked-messages-folders): Synced docstrings with manual.
236
237 2005-02-16 Satyaki Das <satyaki@theforce.stanford.edu>
238
239 * mh-index.el (mh-swish-execute-search): Simplify the indexing
240 recipe for swish. Thanks to Eric Jensen for the suggestion.
241
242 2005-02-11 Satyaki Das <satyaki@theforce.stanford.edu>
243
244 * mh-index.el (mh-swish-execute-search)
245 (mh-swish++-execute-search): Make the indexing recipes better.
246 (mh-swish-next-result): The indexer might find matches in files
247 that aren't messages. Make the function handle that case
248 gracefully.
249
250 2005-02-07 Bill Wohler <wohler@newt.com>
251
252 * mh-customize.el (mh-inc-prog, mh-inc-spool-list): Synced
253 docstrings with manual.
254
255 2005-02-06 Bill Wohler <wohler@newt.com>
256
257 * mh-junk.el (mh-spamassassin-blacklist): Removed trailing
258 whitespace.
259
260 * mh-e.el (mh-refile-or-write-again): Checkdoc fix.
261
262 * mh-identity.el (mh-identity-list-set)
263 (mh-identity-field-handler, mh-identity-handler-gpg-identity)
264 (mh-identity-handler-signature)
265 (mh-identity-handler-attribution-verb)
266 (mh-identity-handler-default, mh-identity-handler-top): Docstring
267 editing.
268
269 * mh-customize.el (mh-identity-list, mh-auto-fields-list)
270 (mh-identity-default, mh-identity-handlers): Synced docstrings
271 with manual.
272
273 2005-02-03 Bill Wohler <wohler@newt.com>
274
275 * mh-xemacs.el (define-behavior 'mh): Moved Ben's code here from
276 mh-e.el and added standard documentation.
277
278 * mh-e.el: Received patch from Ben Wing <ben@666.com> to add
279 define-behavior on XEmacs.
280
281 2005-01-28 Jeffrey C Honig <jch@honig.net>
282
283 * mh-customize.el (mh-invisible-header-fields-internal): Added
284 X-Evolution header added by Evolution mai client.
285
286 2005-01-18 Bill Wohler <wohler@newt.com>
287
288 * mh-customize.el (mh-invisible-header-fields-internal): Added
289 DomainKey-Signature (http://antispam.yahoo.com/domainkeys/).
290 There's a Comment field that goes with it, but I thought it was
291 too general to add.
292
293 2005-01-06 Bill Wohler <wohler@newt.com>
294
295 * mh-junk.el (mh-spamassassin-blacklist): Fixed typo to fix an
296 error when junking spamassassin mail when mh-junk-background is
297 turned on.
298
299 2004-12-25 Satyaki Das <satyaki@theforce.stanford.edu>
300
301 * mh-utils.el (mh-show-unquote-From): Make the buffer writable
302 before trying to change it (closes SF #1089870).
303
304 * mh-comp.el (mh-complete-word): Fix a typo in a variable
305 name (closes SF #1089870)
306
307 2004-11-28 Jeffrey C Honig <jch@honig.net>
308
309 * mh-comp.el (mh-complete-word): Kill the *Completions* buffer in
310 any cases where we belive we are done with it. Not perfect, but
311 better than just leaving it around.
312
313 2004-11-08 Satyaki Das <satyaki@theforce.stanford.edu>
314
315 * mh-acros.el (mh-funcall-if-exists): In XEmacs, presence of a
316 function at compile time doesn't guarantee it's existence at run
317 time. So make the macro handle that situation better.
318
319 2004-11-05 Satyaki Das <satyaki@theforce.stanford.edu>
320
321 * mh-acros.el (advice): Load advice, since it isn't loaded in
322 XEmacs causing compilation problems.
323
324 2004-10-24 Satyaki Das <satyaki@theforce.stanford.edu>
325
326 * mh-index.el (mh-mairix-execute-search)
327 (mh-mairix-regexp-builder): Update the interface to mairix so that
328 it will work with versions of mairix 0.12 and later.
329
330 * mh-funcs.el (mh-rmf-daemon): Avoid using
331 beginning-of-buffer since it clobbers the mark and it was pointed
332 out on the Emacs developers list to be the wrong thing to do.
333
334 * mh-e.el (mh-inc-folder): Only remove the window on the show
335 buffer. This means if the user has BBDB enabled then the window
336 displaying BBDB information isn't clobbered.
337 (mh-refile-or-write-again): Don't use the function
338 interactive-p. There was a long thread on the Emacs developers
339 list where it was pointed out that it is incorrect to use this
340 function most of the time.
341
342 * mh-comp.el (autoload): Don't set auto-mode-alist. This could
343 screw things up for users that don't use MH-E (closes SF #1032353).
344
345 2004-10-13 Satyaki Das <satyaki@theforce.stanford.edu>
346
347 * mh-e.el (mh-refile-or-write-again): Generalize the function to
348 work on a range of messages (closes SF #1046330).
349
350 2004-09-02 Satyaki Das <satyaki@theforce.stanford.edu>
351
352 * mh-e.el (mh-process-commands): The concurrent execution of mark
353 and refile can cause problems since both the commands change the
354 current folder. This change avoids that by getting rid of the
355 concurrency. Another change covers the corner case where we refile
356 messages to a previously empty folder. Before the modification
357 sequences weren't preserved even if the appropriate flag was
358 set. That is no longer the case.
359
360 2004-08-26 Satyaki Das <satyaki@theforce.stanford.edu>
361
362 * mh-e.el (mh-get-new-mail): Also, update the unseen sequence from
363 disk. Otherwise, the new messages aren't highlighted.
364
365 * mh-seq.el (mh-thread-inc): Fix a bug which appears when inc is
366 run in a narrowed folder. The user sequence notation was getting
367 lost. The change fixes that.
368
369 * mh-e.el (mh-get-new-mail): Make inc more efficient by reusing
370 the existing user sequence notation and deleted/refiled notation.
371
372 2004-08-24 Bill Wohler <wohler@newt.com>
373
374 * mh-e.el (Version, mh-version): Added +cvs to release number.
375
376 2004-08-24 Bill Wohler <wohler@newt.com>
377
378 Released MH-E version 7.82.
379
380 * MH-E-NEWS, README: Updated for release 7.82.
381
382 * mh-e.el (Version, mh-version): Updated for release 7.82.
383
384 2004-08-24 Bill Wohler <wohler@newt.com>
385
386 * mh-init.el (mh-variant-set): Change MH to mh as that's what is
387 emitted by `mh-variant-mh-info' (closes SF #1014781).
388 (mh-variant-p): Add mu-mh to docstring.
389
390 2004-08-23 Satyaki Das <satyaki@theforce.stanford.edu>
391
392 * mh-acros.el (mh-require-cl): Remove unneeded autoloads.
393 (require): Add an advice to the function so that at compile time
394 the uncompiled file is loaded. This avoids compilation problems
395 when built in the Emacs tree.
396
397 * mh-mime.el (mh-identity-pgg-default-user-id): Defvar the
398 variable, to avoid compiler warnings.
399
400 * mh-e.el (mh-seq): Load mh-seq since functions defined there are
401 used here. Without this, the state mh-seq.elc would be loaded.
402
403 * mh-customize.el (mh-init, mh-identity): Load mh-init and
404 mh-identity at compile time manually, before the corresponding
405 stale elc files get autoloaded.
406
407 2004-08-21 Bill Wohler <wohler@newt.com>
408
409 * mh-e.el (Version, mh-version): Add +cvs to release number.
410
411 2004-08-21 Bill Wohler <wohler@newt.com>
412
413 Released MH-E version 7.81.
414
415 * MH-E-NEWS, README: Updated for release 7.81.
416
417 * mh-e.el (Version, mh-version): Updated for release 7.81.
418
419 2004-08-21 Bill Wohler <wohler@newt.com>
420
421 * release-utils (variable_changes): Check for checked-out
422 directory before proceeding. Remove temporary files.
423 Rename --variable-update flag to --variable-changes.
424
425 2004-08-16 Mark D. Baushke <mdb@gnu.org>
426
427 * mh-mime.el (mh-toggle-mh-decode-mime-flag: New function.
428 * mh-e.el (mh-help-messages): Add [;] help string for it.
429 (mh-folder-mode-map): Add ";" key binding for it.
430
431 2004-08-15 Satyaki Das <satyaki@theforce.stanford.edu>
432
433 * mh-acros.el (mh-defstruct): Distinguishing structures created
434 by mh-defstruct just based on the number of fields is not
435 sufficient, since both the mh-thread-message and
436 mh-thread-container structures have the same length.
437
438 2004-08-15 Mark D. Baushke <mdb@gnu.org>
439
440 * mh-customize.el (mh-identity-handlers): Use ":default" instead of
441 "default" to avoid problems with "Default:" as a user defined field.
442 * mh-identity.el (mh-identity-field-handler): Ditto.
443
444 2004-08-15 Bill Wohler <wohler@newt.com>
445
446 * mh-e.el (Version, mh-version): Added +cvs to release number.
447
448 2004-08-15 Bill Wohler <wohler@newt.com>
449
450 Released MH-E version 7.4.80.
451
452 * MH-E-NEWS, README: Updated for release 7.4.80.
453
454 * mh-e.el (Version, mh-version): Updated for release 7.4.80.
455
456 2004-08-15 Bill Wohler <wohler@newt.com>
457
458 * mh-funcs.el, mh-gnus.el, mh-inc.el, mh-init.el, mh-junk.el,
459 mh-pick.el, mh-print.el, mh-xemacs.el: Added 2004 to Copyright.
460
461 * mh-acros.el, mh-alias.el: Checkdoc fixes.
462
463 2004-08-12 Satyaki Das <satyaki@theforce.stanford.edu>
464
465 * mh-acros.el (cl): Load cl in this file. That is all right, since
466 this file is only used at compile time, and so cl doesn't get
467 loaded at run time. This avoids problems with stale *.elc files
468 present in the Emacs source tree during compilation.
469 (mh-defstruct): Modify it to make it more CL like and in the
470 process simplify it a bit. This makes the argument list of the
471 constructor compatible with the previous version, thereby avoiding
472 a compilation error when an old version of mh-seq.elc is present.
473
474 * mh-seq.el (mh-thread-id-container, mh-thread-get-message)
475 (mh-thread-get-message-container): Revert back to the CL style
476 of using keyword arguments, since the mh-defstruct now produces
477 code compatible to such usage.
478
479 2004-08-11 Satyaki Das <satyaki@theforce.stanford.edu>
480
481 * mh-acros.el (mh-defstruct, mh-require-cl): Checkdoc fixes.
482
483 * mh-utils.el (message-tokenize-header, message-fetch-field): Add
484 autoloads.
485 (mh-folder-completing-read): Make the folder completion look
486 better with CVS Emacs.
487
488 * mh-init.el (mh-variant-set): Remove dead code.
489
490 2004-08-11 Bill Wohler <wohler@newt.com>
491
492 * *.el: Use the following at the top of each file which seems to
493 do a good job of suppressing compilation warnings in 21.3 and CVS
494 Emacs (21.4). This replaces (require 'cl) or (require
495 'utils) (mh-require-cl) calls:
496
497 (eval-when-compile (require 'mh-acros))
498 (mh-require-cl)
499
500 2004-08-10 Bill Wohler <wohler@newt.com>
501
502 * release-utils (DESCRIPTION): Added one.
503 (FILES, SEE ALSO, VERSION): Deleted empty and incorrect sections.
504
505 * mh-e.el (mh-colors-available-p): Call x-display-color-cells with
506 mh-funcall-if-exists since it no longer seems to be defined in
507 GNU Emacs 21.4.
508
509 2004-08-10 Satyaki Das <satyaki@theforce.stanford.edu>
510
511 * mh-speed.el (mh-process-kill-without-query, mh-speed-flists):
512 Avoid a compiler warning in versions of Emacs where
513 process-kill-without-query is a deprecated function.
514
515 * mh-seq.el (mh-thread-message, mh-thread-container): Use
516 mh-defstruct instead of defstruct.
517 (mh-thread-id-container, mh-thread-get-message-container)
518 (mh-thread-get-message): Use the slightly different structure
519 constructor function.
520
521 * mh-acros.el (mh-defstruct): New macro which is a partial
522 replacement of the defstruct in CL.
523 (no-byte-compile): Don't compile the file since it isn't loaded at
524 run time, so efficiency isn't an issue.
525
526 * mh-utils.el (mh-buffer-data): Use mh-defstruct instead of
527 defstruct.
528
529 2004-08-09 Satyaki Das <satyaki@theforce.stanford.edu>
530
531 * mh-funcs.el, mh-junk.el, mh-print.el: Use mh-require-cl to avoid
532 compilation warnings in Emacs-21.3.
533
534 * mh-acros.el (mh-require-cl): Add autoloads of CL functions used.
535
536 2004-08-09 Bill Wohler <wohler@newt.com>
537
538 * mh-customize.el (mh-show-use-xface-flag): Mention that `fetch' and
539 `curl' are supported as well.
540
541 2004-08-08 Bill Wohler <wohler@newt.com>
542
543 * mh-xemacs.el (mh-xemacs-has-toolbar-flag): Checkdoc fixes.
544
545 * mh-mime.el (mh-display-with-external-viewer): Checkdoc fixes.
546
547 * mh-identity.el: (mh-identity-attribution-verb-end): Stripped
548 trailing space; checkdoc fixes.
549
550 * mh-e.el (mh-restore-desktop-buffer): Checkdoc fixes.
551
552 * mh-customize.el: (mh-inc-spool-list,
553 mh-compose-forward-as-mime-flag, defcustom): Stripped trailing
554 space; checkdoc fixes.
555
556 * mh-comp.el (mh-reply): Stripped trailing space.
557
558 * mh-unit.el (mh-unit-files): Added mh-acros.el and mh-gnus.el.
559 (mh-unit): Don't lm-verify pre-21.4. Save buffers before killing
560 since we might have done some editing.
561
562 * import-emacs: Deleted. Functionality subsumed by release-utils.
563
564 * release-utils: New script. Performs import-emacs functionality
565 and displays new and deleted options.
566
567 * Makefile (import-emacs): Call release-utils instead of
568 import-emacs.
569
570 * mh-funcs.el (mh-undo-folder): Removed deprecated `ignore'
571 argument.
572
573 * mh-e.el (mh-scan-date-regexp): Deleted as Peter claims it is
574 obsolete.
575 (mh-folder-font-lock-keywords): Removed reference to deleted
576 variable `mh-scan-date-regexp'.
577
578 * mh-customize.el (mh-auto-fields-prompt-flag): Made reference to
579 `mh-auto-fileds-lists'.
580 (mh-forward-hook): Fixed docstring typo.
581
582 2004-08-07 Bill Wohler <wohler@newt.com>
583
584 * mh-acros.el: New file. Currently holds macros needed by
585 mh-customize.el but is planned to hold all macros to avoid
586 dependency problems when compiling.
587
588 * mh-utils.el (mh-xemacs-flag): Defined in mh-customize.el now.
589 (mh-require-cl, mh-do-in-gnu-emacs, mh-do-in-xemacs)
590 (mh-funcall-if-exists, mh-make-local-hook, mh-mark-active-p):
591 Moved to new file mh-acros.el.
592
593 * mh-customize.el: Require mh-acros and cl only when compiling and
594 mh-loaddefs at runtime instead of mh-utils.
595 (mh-xemacs-flag): Define it here instead of mh-utils.el.
596
597 * Makefile (MH-E-SRC): Added mh-acros.el.
598
599 * mh-gnus.el (default-enable-multibyte-characters): Don't define
600 any more. It doesn't seem to be needed.
601
602 * mh-customize.el (mh-junk-background): New variable. If on, spam
603 programs are run in background. Running in foreground can be slow.
604 Defaults to nil to spare machines with little memory.
605
606 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
607 (mh-bogofilter-whitelist, mh-spamprobe-blacklist)
608 (mh-spamprobe-whitelist): Use new option mh-junk-background.
609
610 2004-07-25 Satyaki Das <satyaki@theforce.stanford.edu>
611
612 * mh-utils.el (mh-folder-completing-read): In recent CVS Emacs,
613 the first letter of the possible choices in the completion buffer
614 is highlighted. The change is needed for this feature to work
615 during folder name completion. This is not entirely sufficient,
616 since the leading "+" in folder names is still mishandled. A patch
617 is required in Emacs itself to address that.
618
619 2004-07-22 Mark D. Baushke <mdb@gnu.org>
620
621 * mh-e.el (recursive-load-depth-limit): Move
622 recursive-load-depth-limit code to ...
623 * mh-utils.el (recursive-load-depth-limit): ... here to avoid
624 problems compiling mh-utils.el and mh-alias.el with gnus-5.10.6
625 under emacs-21.1. Use eval-and-compile instead of eval-when.
626
627 2004-07-20 Bill Wohler <wohler@newt.com>
628
629 * mh-customize.el (mh-invisible-header-fields-internal): Added
630 header fields emitted by T-Mobile picture phones (X-Mms-*, and
631 commented out X-Operator field saying it's like X-Mailer).
632
633 2004-07-12 Bill Wohler <wohler@newt.com>
634
635 * mh-gnus.el: Set local variables indent-tabs-mode and
636 sentence-end-double-space to nil.
637
638 * mh-customize.el: Checkpoint from option docstring updates and
639 manual synchronization from last summer. For the options listed
640 below, docstring was usually completely rewritten. Use "on"
641 instead of "t" in docstring to match what is seen in customization
642 buffer. Use headline capitalization. Standardize on "Auto-detect"
643 text when option has that capibility.
644 (mh): Since we work on more than one type of Emacs, use Emacs
645 instead of GNU Emacs. Prefer GNU mailutils over GNU Mailutils.
646 (mh-variant): s/Autodetect at startup/Auto-detect/.
647 (mh-alias-insertion-location): s/Sorted
648 alphabetically/Alphabetical/. s/At the top of file/Top/. s/At the
649 bottom of file/Bottom/.
650 (mh-alias-local-users-prefix): s/Use login instead of real
651 name/Use Login/.
652 (mh-identity-list): Sorted values by fields, attribution,
653 signature, GPG key.
654 (mh-auto-fields-list): Missing quote.
655 (mh-compose-insertion): s/Use Gnus/Gnus/. s/Use mhn/mhn/.
656 (mh-compose-space-does-completion-flag): s/SPACE/<SPC>/.
657 (mh-extract-from-attribution-verb): Since we have French, added
658 German too ;-).
659 (mh-letter-complete-function): Mention default in docstring.
660 (mh-invisible-header-fields-internal): Added X-ELNK-Trace from
661 Earthlink.
662 (mh-alias-flash-on-comma, mh-alias-insert-file)
663 (mh-alias-passwd-gecos-comma-separator-flag)
664 (mh-recenter-summary-flag, mh-default-folder-for-message-function)
665 (mh-default-folder-must-exist-flag, mh-index-program)
666 (mh-index-ticked-messages-folders, mh-ins-buf-prefix)
667 (mh-delete-yanked-msg-window-flag, mh-identity-default): See
668 summary above.
669
670 * mh-init.el (mh-variant-set, mh-sys-path, mh-variant-mu-mh-info):
671 Prefer GNU mailutils over GNU Mailutils MH.
672
673 * mh-comp.el (sc-cite-original, mh-smail, mh-smail-batch)
674 (mh-edit-again, mh-extract-rejected-mail, mh-forward)
675 (mh-smail-other-window, mh-reply, mh-send, mh-send-other-window):
676 Use `mh-send' instead of \\[mh-send]] since links in the docstring
677 are more useful than a key sequence in these cases. Use "See also"
678 instead of "See also documentation for".
679
680 Merged in 7.4.4 changes, described below.
681
682 * mh-e.el (Version, mh-version): Set to 7.4.4+cvs.
683
684 2004-07-10 Bill Wohler <wohler@newt.com>
685
686 Released MH-E version 7.4.4.
687
688 * MH-E-NEWS, README: Updated for release 7.4.4.
689
690 * mh-e.el (Version, mh-version): Updated for release 7.4.4.
691
692 This patch release contains the following patches:
693
694 * mh-xemacs.el: New file from concatenation of mh-xemacs-compat.el
695 and mh-xemacs-icons.el which were removed since their names
696 exceeded DOS 8+3 limits.
697
698 * Makefile:
699 (mh-e-autoloads.el): Add target to make `mh-e-autoloads.el', a
700 file containg usual entry commands into MH-E to be used for users
701 installing MH-E separately from Emacs.
702 (XEMACS_LOADDEFS_FILE): New. Used to generate mh-loaddefs.el
703 in XEmacs.
704 (XEMACS_LOADDEFS_COOKIE): Ditto.
705 (XEMACS_LOADDEFS_PKG_NAME): Ditto.
706 (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner build
707 environment.
708 (MH-E-SRC): Moved mh-xemacs.el to new variable MH-E-XEMACS-SRC.
709 (MH-E-XEMACS-SRC): New variable to hold XEmacs source files.
710 (MH-E-XEMACS-OBJ): New variable to hold XEmacs object files.
711 (clean): Moved XEmacs-specific code to clean-xemacs.
712 (xemacs): Added clean-xemacs prerequisite. Moved down to XEmacs
713 section of file. Add target to build mh-loaddefs.el in XEmacs
714 (loaddefs-xemacs): New rule to build mh-loaddefs.el in XEmacs.
715 (clean-xemacs): New target to remove XEmacs-specific files.
716 (compile-xemacs): New. It allows for the '-no-autoloads' option
717 and byte-compiles all the source files with a single instance of
718 XEmacs.
719 (dist): Added $(MH-E-XEMACS-SRC) to tarball.
720 (AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and
721 'AUTOLOAD_FILE'.
722 (AUTOLOAD_PACKAGE_NAME): New.
723 (AUTOLOAD_FILE): New.
724 (all): Don't set $EMACS_HOME if building with XEmacs.
725 (xemacs): Use 'compile-xemacs' instead of 'compile'.
726 (auto-autoloads.elc): Use new $AUTOLOAD_* vars and allow for
727 '-no-autoloads'.
728 (custom-load.elc): Allow for '-no-autoloads'.
729
730 * mh-e.el: Don't require mh-xemacs-compat which no longer exists.
731 The XEmacs stuff gets required by mh-customize.el which is
732 required by mh-utils.el which is required by mh-e.el. This all
733 happens before mh-xemacs-compat was required, so all should be
734 well.
735 (mh-restore-desktop-buffer): Move from desktop.el. Add Parameters.
736 (mh-restore-desktop-buffer): Delete with-no-warnings.
737 (mh-folder-mode): Bind desktop-save-buffer to t.
738 (Courtesy Lars Hansen).
739
740 * mh-alias.el (mh-assoc-ignore-case): New macro to use
741 assoc-string when available (Emacs 21.4+); assoc-ignore-case
742 otherwise.
743 (mh-alias-reload, mh-alias-expand,
744 mh-alias-minibuffer-confirm-address): Use it.
745
746 * mh-seq.el: Added mh-autoload to mh-read-seq-default.
747
748 * mh-utils.el (mh-require-cl): The Emacs coding conventions
749 require that the cl package not be required at runtime. However,
750 the cl package in versions of Emacs prior to 21.4 left cl routines
751 in their macro expansions. Use mh-require-cl to provide the cl
752 routines in the best way possible (closes SF #930012).
753 (require 'mouse): To shush compiler.
754
755 Use new function mh-require-cl throughout.
756
757 Add arch taglines (courtesy Miles Bader).
758
759 * mh-unit.el (mh-unit-files): Replaced mh-xemacs-compat.el and
760 mh-xemacs-icons.el with mh-xemacs.el.
761
762 * import-emacs: Also grab the ChangeLog.
763
764 * *.pbm: Regenerated using GIMP to be consistent with other Emacs
765 icons.
766 1. Edit .xpm image in GIMP.
767 2. Image > Mode > Indexed. Check Use Black/White Palette and No
768 Color Dithering.
769 3. File > Save As file.xbm.
770 4. Run xbmtopbm < file.xbm > file.pbm.
771 Thanks to jan.h.d@swipnet.se for the help.
772
773 2004-07-07 Stephen Gildea
774
775 * mh-customize.el (mh-invisible-header-fields-internal):
776 Add X-Greylist, X-Source*, and X-WebTV-Signature.
777 Replace specific X-Spam-* headers with general pattern.
778
779 2004-06-15 Bill Wohler <wohler@newt.com>
780
781 * README: Vladimir Ivanovic reports that mh-rmail works with
782 XEmacs 21.5.17, so updated requirements text accordingly (closes
783 SF #644321).
784
785 2004-05-12 Satyaki Das <satyaki@theforce.stanford.edu>
786
787 * mh-utils.el (mh-mail-header-end): Replace call to
788 rfc822-goto-eoh with something that allows From_ lines in the mail
789 header.
790
791 2004-04-14 Bill Wohler <wohler@newt.com>
792
793 * mh-utils.el (mh-show-mouse): s/EVENT/event/. Thanks to John Paul
794 Wallington <jpw@gnu.org> for pointing this out.
795
796 2004-04-12 Satyaki Das <satyaki@theforce.stanford.edu>
797
798 * mh-e.el (mh-folder-size-flist): Add -showzero option so that the
799 parsing code doesn't get confused by the presence of -noshowzero
800 in the user's .mh_profile (closes SF #933954).
801
802 2004-04-07 Satyaki Das <satyaki@theforce.stanford.edu>
803
804 * mh-mime.el (mh-insert-mime-button)
805 (mh-insert-mime-security-button): Add evaporate property to
806 overlays used in MIME part buttons. This avoids problems with
807 CVS Emacs.
808
809 2004-03-16 Satyaki Das <satyaki@theforce.stanford.edu>
810
811 * mh-e.el (mh-folder-from-address): Go to the end of buffer if the
812 re-search-forward fails (closes SF #917096).
813
814 2004-02-02 Satyaki Das <satyaki@theforce.stanford.edu>
815
816 * mh-customize.el (mh-compose-forward-as-mime-flag): New user
817 customizable variable that controls whether messages are forwarded
818 as MIME attachments (closes SF #827203).
819
820 * mh-comp.el (mh-forward): Call forw with -mime option only if
821 mh-compose-forward-as-mime-flag is non-nil.
822
823 2003-12-26 Jeffrey C Honig <jch@honig.net>
824
825 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist)
826 (mh-spamassassin-blacklist, mh-spamassassin-blacklist)
827 (mh-spamassassin-blacklist, mh-spamassassin-whitelist)
828 (mh-spamassassin-whitelist, mh-bogofilter-blacklist)
829 (mh-spamprobe-blacklist): Add progress messages. Change "Couldn't"
830 to "Unable" in error messages. Run bogofilter and spamprobe in
831 the foreground to prevent a large number of processes from
832 swamping the system.
833
834 2003-12-25 Satyaki Das <satyaki@theforce.stanford.edu>
835
836 * mh-e.el (mh-prompt-for-refile-folder): Marking the whole folder
837 and then refiling all messages throws an error, since this
838 function expects point to be on a valid scan line. The change
839 relaxes this requirement, thereby avoiding the above problem.
840
841 2003-12-14 Satyaki Das <satyaki@theforce.stanford.edu>
842
843 * mh-comp.el (mh-ascii-buffer-p): New function that checks if a
844 buffer is entirely composed of ASCII.
845 (mh-send-letter): Encode the draft if it contains non-ASCII
846 characters.
847
848 2003-12-12 Satyaki Das <satyaki@theforce.stanford.edu>
849
850 * mh-customize.el (mh-invisible-headers): Keep only unique fields
851 in list of header fields to hide. This avoids problems in XEmacs.
852
853 2003-12-10 Satyaki Das <satyaki@theforce.stanford.edu>
854
855 * mh-seq.el (mh-thread-print-scan-lines): The imenu index was not
856 getting created for threaded index buffers. The change fixes this.
857
858 * mh-index.el (mh-index-insert-folder-headers): Always create the
859 imenu index.
860 (mh-index-create-imenu-index): Set which-func-mode to t. If
861 which-function-mode is turned on after the folder buffer has been
862 prepared, display of the folder info was being inhibited. The
863 change fixes that.
864
865 2003-12-09 Satyaki Das <satyakid@stanford.edu>
866
867 * mh-comp.el (mh-letter-mode): Setup mh-mail-header-separator
868 based on draft contents.
869 (mh-letter-mode, mh-letter-mail-header-end-marker)
870 (mh-letter-header-end): Remove use of the variable
871 mh-letter-mail-header-end-marker. Instead use
872 mh-mail-header-separator. This avoids problems in font locking
873 draft buffers (closes SF #855479).
874
875 2003-12-09 Satyaki Das <satyakid@stanford.edu>
876
877 * mh-index.el (mh-index-insert-folder-headers): Modified so that
878 imenu--index-alist is updated.
879 (mh-index-create-imenu-index): New function that generates an
880 index usable by imenu. This adds which-func-mode support to index
881 folders (closes SF #855520).
882
883 * mh-e.el (which-func, which-func-modes): Tell which-func that
884 mh-folder-mode supports it.
885 (mh-folder-mode): Add support for imenu.
886
887 2003-11-22 Peter S Galbraith <psg@debian.org>
888
889 * Makefile: renamed mh-startup.el to mh-e-autoloads.el
890
891 * README: renamed mh-startup.el to mh-e-autoloads.el
892
893 * .cvsignore: Added mh-e-autoloads.el
894
895 2003-11-18 Bill Wohler <wohler@newt.com>
896
897 Released MH-E version 7.4.3.
898
899 * MH-E-NEWS, README: Updated for release 7.4.3.
900
901 * mh-e.el (Version, mh-version): Updated for release 7.4.3.
902
903 * This patch release contains the following two patches:
904
905 * mh-identity.el (mh-identity-make-menu): Removed condition on
906 mh-auto-fields-list. Use it to enable or disable menu item
907 instead.
908
909 * mh-customize.el (mh-identity-list): Removed defvar and moved
910 defcustom before mh-auto-fields-list so that defvar wouldn't
911 clobber user's customization settings.
912
913 2003-11-17 Jeffrey C Honig <jch@honig.net>
914
915 * mh-print.el (mh-print-msg): Do not print a message on deprecated
916 usage, the bindings have been removed.
917
918 * mh-e.el (mh-folder-mode-map): Remove "l" binding for
919 mh-print-msg.
920
921 * mh-utils.el (mh-show-mode-map): Remove "l" binding for
922 mh-print-msg.
923
924 2003-11-16 Satyaki Das <satyakid@stanford.edu>
925
926 * mh-comp.el (mh-beginning-of-word): Use the function
927 mh-mail-abbrev-make-syntax-table instead of the function
928 mail-abbrev-make-syntax-table.
929
930 * mh-gnus.el (mh-mail-abbrev-make-syntax-table): Add a wrapper
931 function that calls mail-abbrev-make-syntax-table if available.
932 This is needed so that MH-E built with CVS Emacs will work with
933 released versions of Emacs21 and vice versa.
934
935 2003-11-14 Peter S Galbraith <psg@debian.org>
936
937 * mh-customize.el (mh-invisible-header-fields-internal): Add
938 "X-NAI-Spam-" and "X-Spam-Report:".
939
940 2003-11-14 Mark D. Baushke <mdb@gnu.org>
941
942 * mh-customize.el (mh-invisible-header-fields-internal):
943 Add X-AntiAbuse and X-MailScanner.
944 (Patch from Stephen Gildea.)
945
946 2003-11-13 Peter S Galbraith <psg@debian.org>
947
948 * mh-identity.el (mh-identity-handler-attribution-verb): New
949 function. A new Identity handler for the attribution verb (e.g.
950 "wrote:") to allow for different identities to use different
951 languages.
952 (mh-identity-insert-attribution-verb): New function. Insert the
953 attribution verb, placing special markers so it can be deleted and
954 replaced later.
955 (mh-identity-attribution-verb-start): New variable. Holds the
956 marker for the start of the attribution verb.
957 (mh-identity-attribution-verb-end): New variable. Holds the
958 marker for the end of the attribution verb.
959
960 * mh-customize.el (mh-identity-handlers): Add new
961 ":attribution-verb" tag for the attribution-verb handler.
962 (mh-identity-list): Idem.
963
964 * mh-comp.el (mh-yank-cur-msg): Insert attribution verb using
965 mh-identity-insert-attribution-verb.
966 (mh-extract-from-attribution): Extract only the name from the From
967 line, without appending `mh-extract-from-attribution-verb' since
968 markers need to be inserted around that now.
969
970 2003-11-12 Bill Wohler <wohler@newt.com>
971
972 * mh-e.el (mh-rmail, mh-nmail): Well, actually, we run in both GNU
973 Emacs and XEmacs, so removed the "GNU" in the docstrings unless
974 one is strictly talking about GNU Emacs.
975
976 * mh-comp.el (mh-smail, mh-smail-batch, mh-smail-other-window):
977 Ditto.
978
979 2003-11-11 Bill Wohler <wohler@newt.com>
980
981 * mh-customize.el (mh-customize): Minor docstring change.
982 (mh, mh-e): The short description for MH-E is: The GNU Emacs
983 Interface to the MH Mail System. Therefore, updated docstrings
984 accordingly.
985
986 * mh-comp.el (mh-smail, mh-smail-batch, mh-smail-other-window):
987 Ditto.
988
989 * mh-e.el (mh-rmail, mh-nmail): Ditto.
990
991 2003-11-10 Satyaki Das <satyakid@stanford.edu>
992
993 * mh-mime.el (mh-mml-to-mime): In case errors happen in
994 mml-to-mime, restore contents of the draft buffer (closes SF
995 #839303).
996
997 2003-11-07 Bill Wohler <wohler@newt.com>
998
999 * mh-customize.el (mh-letter-mode-hook): Moved to mh-sending-mail
1000 group (where it is now documented in the manual).
1001 (mh-pick-mode-hook): Moved to mh-index group (where it is now
1002 documented in the manual).
1003
1004 * mh-loaddefs.el: Deleted per our discussion on mh-e-devel. No
1005 more conflicts! No more check-ins! Anyone pulling CVS MH-E is
1006 expected to compile. This file shall be added to the tarball so
1007 that users of the distribution are not.
1008
1009 2003-11-07 Mark D. Baushke <mdb@gnu.org>
1010
1011 * mh-loaddefs.el: Regenerated.
1012
1013 * mh-customize.el (mh-forward-hook): Define new hook.
1014 * mh-comp.el (mh-forward): Use it.
1015
1016 2003-11-07 Satyaki Das <satyakid@stanford.edu>
1017
1018 * mh-loaddefs.el: Regenerated.
1019
1020 * mh-utils.el (mh-show-toggle-mime-buttons)
1021 (mh-show-display-with-external-viewer): New interactive functions
1022 callable from the show buffer.
1023 (mh-show-mime-map): Add bindings for "K t" and "K e".
1024 (mh-show-msg): Propagate change to
1025 mh-display-buttons-for-inline-parts-flag to the show buffer.
1026
1027 * mh-mime.el (mh-display-with-external-viewer): New interactive
1028 function to display MIME parts with external viewer (closes SF
1029 #839318).
1030
1031 * mh-e.el (mh-folder-mode): Make the variable
1032 mh-display-buttons-for-inline-parts-flag buffer-local so that
1033 display of MIME buttons can be toggled.
1034 (mh-toggle-mime-buttons): New interactive function to toggle
1035 display of MIME buttons.
1036 (mh-mime-map): Modified to add bindings for "K t" and "K e".
1037
1038 2003-11-04 Steve Youngs <sryoungs@bigpond.net.au>
1039
1040 * Makefile (XEMACS_LOADDEFS_FILE): New. Used to generate
1041 mh-loaddefs.el in XEmacs.
1042 (XEMACS_LOADDEFS_COOKIE): Ditto.
1043 (XEMACS_LOADDEFS_PKG_NAME): Ditto.
1044 (xemacs): Add target to build mh-loaddefs.el in XEmacs
1045 (clean-xemacs): Remove `mh-loaddefs.el*'
1046 (loaddefs-xemacs): New rule to build mh-loaddefs.el in XEmacs.
1047
1048 2003-11-02 Peter S Galbraith <psg@debian.org>
1049
1050 * mh-init.el (mh-variant-set-variant): Reset `mh-x-mailer-string'
1051 when we select an MH variant.
1052
1053 2003-11-02 Jeffrey C Honig <jch@honig.net>
1054
1055 * mh-loaddefs.el: Regenerated.
1056
1057 * mh-funcs.el (mh-print-msg): Move to mh-print.el.
1058
1059 * mh-e.el (mh-folder-mode-map): Add mh-print-msg ("l") back, it
1060 will print a message that this usage is deprecated.
1061
1062 * mh-print.el (require, mh-ps-print-msg, mh-ps-print-msg-file):
1063 Require mh-funcs for mh-note-printed. PS print functions were not
1064 setting the printed notation. Move mh-print-msg here for
1065 consistency. Print message if mh-print-msg invoked via deprecated
1066 key binding.
1067
1068 2003-11-01 Peter S Galbraith <psg@debian.org>
1069
1070 * Makefile: Add target to make `mh-startup.el', a file containg
1071 usual entry commands into MH-E to be used for users installing
1072 MH-E separately from Emacs.
1073
1074 * README: Document the above for users.
1075
1076 2003-10-29 Jeffrey C Honig <jch@honig.net>
1077
1078 * mh-utils.el (mh-show-ps-print-map): Add "?" and "l" to
1079 mh-show-ps-print-map.
1080
1081 * mh-e.el (mh-ps-print-map, mh-help-messages): Add "?" and "l" to
1082 mh-ps-print-map. Add "l" to help message.
1083
1084 2003-10-27 Bill Wohler <wohler@newt.com>
1085
1086 * Makefile (MH-E-SRC): Moved mh-xemacs.el to new variable
1087 MH-E-XEMACS-SRC.
1088 (MH-E-XEMACS-SRC): New variable to hold XEmacs source files.
1089 (MH-E-XEMACS-OBJ): New variable to hold XEmacs object files.
1090 (clean): Moved XEmacs-specific code to clean-xemacs.
1091 (xemacs): Added clean-xemacs prerequisite. Moved down to
1092 XEmacs section of file.
1093 (clean-xemacs): New target to remove XEmacs-specific files.
1094 (compile-xemacs): Added $(MH-E-XEMACS-SRC) prerequisite.
1095 (dist): Added $(MH-E-XEMACS-SRC) to tarball.
1096
1097 2003-10-27 Satyaki Das <satyakid@stanford.edu>
1098
1099 * mh-loaddefs.el: Regenerated.
1100
1101 * mh-index.el (mh-indexer-choices): Remove option for the non-free
1102 glimpse indexer (closes SF #831276).
1103 (mh-glimpse-binary, mh-glimpse-directory)
1104 (mh-glimpse-execute-search, mh-glimpse-next-result): Functions
1105 and variables to implement glimpse support are removed.
1106
1107 * mh-customize.el (mh-index-program): Remove option for glimpse.
1108
1109 2003-10-24 Satyaki Das <satyakid@stanford.edu>
1110
1111 * mh-customize.el: Remove top-level test for toolbar enabled
1112 XEmacs since it is not needed.
1113 (mh-tool-bar-define): Add test for XEmacs toolbar in the functions
1114 mh-toolbar-init, mh-tool-bar-letter-buttons-set and
1115 mh-tool-bar-folder-buttons-set. This enables proper compilation
1116 irrespective of whether the XEmacs was built with toolbar support
1117 or not.
1118
1119 * mh-comp.el (mh-letter-mode): Remove conditional since it is not
1120 needed.
1121
1122 * mh-e.el (mh-folder-mode): Same as above.
1123
1124 * mh-utils.el (mh-show-mode): Same as above.
1125
1126 * mh-xemacs.el (mh-xemacs-icon-map): Remove condition on toolbar
1127 presence since we want the build to work if XEmacs without
1128 toolbars is used during compilation.
1129
1130 2003-10-23 Bill Wohler <wohler@newt.com>
1131
1132 * mh-customize.el: The Great Reorganization. Sorted groups
1133 alphabetically. Aligned variables in customization groups with
1134 manual sections. Group docstrings changed to match manual chapter
1135 titles.
1136
1137 2003-10-22 Satyaki Das <satyakid@stanford.edu>
1138
1139 * mh-speed.el (timer): Avoid compiler warning in XEmacs.
1140
1141 2003-10-22 Steve Youngs <sryoungs@bigpond.net.au>
1142
1143 * Makefile (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner
1144 build environment.
1145 (AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and
1146 'AUTOLOAD_FILE'.
1147 (AUTOLOAD_PACKAGE_NAME): New.
1148 (AUTOLOAD_FILE): New.
1149 (all): Don't set $EMACS_HOME if building with XEmacs.
1150 (xemacs): Use 'compile-xemacs' instead of 'compile'.
1151 (auto-autoloads.elc): Use new $AUTOLOAD_* vars and allow for
1152 '-no-autoloads'.
1153 (custom-load.elc): Allow for '-no-autoloads'.
1154 (compile-xemacs): New. It allows for the '-no-autoloads' option
1155 and byte-compiles all the source files with a single instance of
1156 XEmacs.
1157
1158 * mh-e.el (mh-folder-mode): Only load the toolbar in XEmacs if
1159 toolbar support is available.
1160
1161 * mh-comp.el (mh-letter-mode): Only load the toolbar in XEmacs if
1162 toolbar support is available.
1163
1164 * mh-customize.el: Require 'mh-xemacs' at toplevel when
1165 'mh-xemacs-flag' is non-nil.
1166 Wrap all the toolbar code in a test that is true if using
1167 GNU/Emacs or a toolbar-enabled XEmacs.
1168
1169 * mh-print.el (mh-ps-spool-a-msg): Comment out
1170 `clean-message-header-flag' because it isn't used anywhere.
1171
1172 * mh-utils.el (mh-show-mode): Only load the toolbar in XEmacs if
1173 toolbar support is available.
1174
1175 * mh-xemacs.el: Autoload `regexp-opt', `customize-group',
1176 `view-mode', `with-electric-help', `pp', `sort-numeric-fields',
1177 `reverse-region', and `goto-address' at compile time.
1178 (mh-xemacs-has-toolbar-flag): New. This is non-nil when XEmacs
1179 has toolbar support.
1180 (mh-xemacs-toolbar-*-icon): Use it.
1181
1182 2003-10-21 Mark D. Baushke <mdb@gnu.org>
1183
1184 * mh-identity.el (mh-identity-field-handler): Fields that begin
1185 with ":" must have an mh-identity-handler defined or the user
1186 gets an error.
1187
1188 2003-10-17 Peter S Galbraith <psg@debian.org>
1189
1190 * mh-customize.el (mh-identity-list): This change affects users!
1191 The keyword "signature" becomes ":signature". The recently added
1192 keyword "pgg-default-user-id" becomes ":pgg-default-user-id".
1193 (mh-auto-fields-list): The keyword "Identity" becomes ":identity".
1194 (mh-identity-handlers): Idem for signature and pgg-default-user-id.
1195
1196 * mh-comp.el (mh-insert-auto-fields): Idem for Identity.
1197
1198 2003-10-17 Peter S Galbraith <psg@debian.org>
1199
1200 * mh-xemacs.el: Add eval-and-compile call to (load "toolbar" t t) to
1201 make sure `toolbar-make-button-list' is defined. We can't use
1202 require because Emacs doesn't have this library.
1203
1204 2003-10-16 Bill Wohler <wohler@newt.com>
1205
1206 * mh-customize.el (mh-signature-file-name)
1207 (mh-letter-insert-signature-hook): Merge docstring with manual.
1208
1209 * mh-comp.el (mh-file-is-vcard-p): Checkdoc fix.
1210 (mh-insert-signature): Merge docstring with manual.
1211
1212 * mh-customize.el (mh-junk): Changed manual link in defgroup from
1213 Customizing mh-e to Junk.
1214 (mh-junk-function-alist): Moved SpamAssassin to first in list on
1215 the hunch that it is the most popular and should be chosen if
1216 other anti-spam programs exist.
1217 (mh-junk-mail-folder): Since the variable can accept values other
1218 than folder names, renamed to mh-junk-disposition to more
1219 accurately reflect the content. Merge docstring with manual.
1220 (mh-junk-program): Moved SpamAssassin to the top of the menu for
1221 the same reason presented in mh-junk-function-alist. Also, fixed
1222 case of spam programs to match official usage. Merge docstring
1223 with manual.
1224
1225 * mh-junk.el (mh-junk-blacklist):
1226 s/mh-junk-mail-folder/mh-junk-disposition/. Merge docstring with
1227 manual.
1228 (mh-junk-whitelist): Merge docstring with manual.
1229 (mh-bogofilter-blacklist): No longer suggest using automatic
1230 classification so use -s instead of -Ns.
1231 (mh-bogofilter-whitelist): No longer suggest using automatic
1232 classification so use -n instead of -Sn.
1233 (mh-spamassassin-blacklist, mh-spamassassin-whitelist): Merge
1234 docstring with manual. Moved spamassassin functions to top of file
1235 so functions appear in same order that they are presented in menu.
1236
1237 2003-10-09 Peter S Galbraith <psg@debian.org>
1238
1239 * mh-customize.el (mail-citation-hook): Moved from mh-comp.el and
1240 made into a defcustom.
1241
1242 2003-10-09 Satyaki Das <satyakid@stanford.edu>
1243
1244 * mh-loaddefs.el: Regenerated.
1245
1246 * mh-comp.el (mh-get-header-field): Add autoload cookie.
1247
1248 * mh-utils.el (mh-show-ps-print-toggle-mime)
1249 (mh-show-ps-print-toggle-color, mh-show-ps-print-toggle-faces)
1250 (mh-show-ps-print-msg-file, mh-show-ps-print-msg)
1251 (mh-show-ps-print-msg-show): New interactive functions callable
1252 from the show buffer.
1253 (mh-show-ps-print-map): New key map for printing.
1254
1255 * mh-e.el (mh-folder-mode-map): Remove key binding for
1256 mh-print-msg.
1257 (mh-ps-print-map): Add new key map for printing.
1258
1259 * Makefile (MH-E-SRC): Add mh-print.el.
1260
1261 2003-10-07 Satyaki Das <satyakid@stanford.edu>
1262
1263 * mh-utils.el (mh-x-image-url-fetch-image): In XEmacs,
1264 make-temp-file is not present. So to avoid security problems, use
1265 a temporary file in the user's home directory. This avoids issues
1266 in creating files in a world-writable directory.
1267
1268 * mh-mime.el (mh-signature-highlight): In Emacs, arrange for the
1269 overlay to be freed when it is no longer needed. Also, implement
1270 signature highlighting in XEmacs.
1271
1272 2003-10-05 Satyaki Das <satyakid@stanford.edu>
1273
1274 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Respect the
1275 value of `mm-verify-option' and `mm-decrypt-option'.
1276 (mh-mime-display-security): Rearrange code a bit to avoid too many
1277 new lines being inserted when message verification/decryption is
1278 carried out while the message is being read. Also use the
1279 point-m{in|ax}-marker functions to make the function easier to read.
1280 (mh-mime-security-press-button): Extend the function so that the
1281 user can verify/decrypt messages while reading them.
1282
1283 * mh-gnus.el (mm-possibly-verify-or-decrypt): Added to avoid
1284 compiler warning with old Gnus.
1285
1286 * mh-utils.el (mh-x-image-url-sane-p): New function which checks
1287 if the URL in X-Image-URL is something we can handle.
1288 (mh-x-image-url-display): Don't display image if the URL looks
1289 malformed.
1290
1291 2003-10-04 Mark D Baushke <mdb@gnu.org>
1292
1293 * mh-comp.el (mh-letter-menu): Simplify menu heading.
1294
1295 2003-10-03 Mark D Baushke <mdb@gnu.org>
1296
1297 * mh-mime.el (mh-mml-query-cryptographic-method): Avoid
1298 revisionist history and still provide a good default.
1299
1300 * mh-comp.el (mh-letter-menu): Remove the Disable Security
1301 parenthetical comment.
1302
1303 * mh-loaddefs.el: Regenerated.
1304
1305 * mh-customize.el (mh-mml-method-default): What method should be
1306 used in secure directives.
1307
1308 * mh-mime.el (mh-secure-message): New function used to generate
1309 the mml security tags.
1310 (mh-mml-unsecure-message): New wrapper function around
1311 mml-unsecure-messages.
1312 (mh-mml-secure-message-sign-pgpmime): Remove function.
1313 (mh-mml-secure-message-encrypt-pgpmime): Ditto.
1314 (mh-mml-cryptographic-method-history): New variable.
1315 (mh-mml-query-cryptographic-method): New function.
1316 (mh-mml-secure-message-encrypt): Ditto.
1317 (mh-mml-secure-message-signencrypt): Ditto.
1318 (mh-mml-secure-message-sign): Ditto.
1319
1320 * mh-comp.el (mh-letter-menu, mh-letter-mode-help-messages,
1321 (mh-letter-mode-map): Update to use new functions.
1322
1323 2003-09-26 Satyaki Das <satyakid@stanford.edu>
1324
1325 * mh-seq.el (mh-interactive-range): The function has been
1326 extended so that it now takes a default result to return if no
1327 interactive prefix arg is given and no region is active.
1328
1329 * mh-e.el (mh-add-sequence-notation): If transient-mark-mode is
1330 on, then the active region is deactivated based on whether a user
1331 sequence or a internal sequence is being notated. The change
1332 removes this inconsistency.
1333 (mh-catchup, mh-folder-map): A new interactive function to mark
1334 messages as read has been added and bound to "F c" in the folder
1335 mode.
1336
1337 * mh-utils.el (mh-show-catchup, mh-show-folder-map): New
1338 interactive function callable from show mode buffers has been
1339 bound to "F c".
1340
1341 2003-09-24 Bill Wohler <wohler@newt.com>
1342
1343 * mh-customize.el (mh-clean-message-header-flag)
1344 (mh-invisible-header-fields-default, mh-invisible-header-fields):
1345 Merge docstring with manual.
1346
1347 2003-09-24 Mark D. Baushke <mdb@gnu.org>
1348
1349 * mh-junk.el (mh-junk-blacklist): Junked messages should be put
1350 into the mh-seen-list to avoid propagating the unseen sequence
1351 into the spam folder.
1352
1353 * mh-loaddefs.el: Regenerated.
1354
1355 * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Add an optional
1356 dontsign argument to remove an existing secure message directive.
1357 Update the docstring -- this fuction does not allow for
1358 encrypt/sign, just sign directives.
1359
1360 * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Use
1361 mml-insert-tag directly to provide a sender if
1362 mh-identity-pgg-default-user-id is set.
1363 (mh-mml-secure-message-encrypt-pgpmime): Use mml-insert-tag
1364 directly to provide a sender if this message is to be both signed
1365 and encrypted and mh-identity-pgg-default-user-id is set.
1366
1367 2003-09-23 Bill Wohler <wohler@newt.com>
1368
1369 * mh-alias.el (Commentary): Removed as it is now in the manual.
1370 (mh-alias-system-aliases): Moved here from mh-customize.el. By
1371 definition, "system" definitions are not user-visible, and user
1372 filenames are in the the Aliasfile: profile component, so this
1373 variable really shouldn't be a defcustom
1374 (mh-alias-tstamp, mh-alias-filenames, mh-alias-reload)
1375 (mh-alias-add-alias, mh-alias-grab-from-field)
1376 (mh-alias-add-address-under-point, mh-alias-apropos): Merge
1377 docstring with manual.
1378 (mh-alias-reload-maybe): Minor comment update.
1379 (mh-alias-insert-file): Merge docstring with manual. Removed
1380 "[press TAB]" from prompt since users should know about completion
1381 and space can be used as well.
1382 (mh-alias-for-from-p): No longer returns a surprising result (t if
1383 there was **not** an alias for the From field) if the From header
1384 field is missing. This function now returns what you would expect
1385 a function of this name to return. Renamed from
1386 mh-alias-from-has-no-alias-p since negatives in the function name
1387 make logic harder to follow.
1388 (mh-alias-add-alias-to-file): Merge docstring with manual.
1389 Improved verbiage of prompt. Aliases are now inserted "[b]efore"
1390 or "[a]fter" the existing alias instead of "[i]nsert" or
1391 "[a]ppend." Note how the new usage flows better.
1392
1393 * mh-customize.el (mh-alias): Changed manual link in defgroup from
1394 Customizing mh-e to Aliases.
1395 (mh-alias-grab-from-field button): mh-alias-from-has-no-alias-p
1396 renamed to mh-alias-for-from-p and no longer returns surprising
1397 value if there isn't a From field. Therefore, enable button if
1398 there is a From header field and mh-alias-for-from-p returns nil.
1399 (mh-letter-complete-function)
1400 (mh-alias-completion-ignore-case-flag, mh-alias-flash-on-comma)
1401 (mh-alias-insert-file, mh-alias-insertion-location)
1402 (mh-alias-local-users, mh-alias-local-users-prefix)
1403 (mh-alias-passwd-gecos-comma-separator-flag): Merge docstring with
1404 manual.
1405 (mh-alias-system-aliases): Moved to mh-alias.el.
1406
1407 * mh-comp.el (mh-letter-complete-function-alist): Removed comment
1408 about making this customizable since I didn't think it seemed
1409 appropriate in the manual.
1410 (mh-letter-complete): Merge docstring with manual.
1411
1412 2003-09-23 Satyaki Das <satyakid@stanford.edu>
1413
1414 * mh-speed.el (mh-speed-flists): When exiting emacs, don't ask if
1415 the flists process should be killed.
1416
1417 * mh-e.el (mh-folder-message-menu): Enable undo menu entry only
1418 if something can be undone.
1419
1420 * mh-customize.el (undo): Enable undo button only if something
1421 can be undone.
1422
1423 2003-09-22 Peter S Galbraith <psg@debian.org>
1424
1425 * mh-customize.el (mh-identity-handlers): New defcustom. Alist of
1426 Handler functions for mh-identity (downcased) fields.
1427 (mh-identity-list): Add support for pgg-default-user-id.
1428
1429 * mh-identity.el (mh-insert-identity): Modified to use
1430 `mh-identity-handlers', adding hacking flexibility for those who
1431 might need it.
1432 (mh-identity-field-handler): New function. Return the handler for
1433 a FIELD or nil if none set. The field name is downcased.
1434 (mh-identity-handler-gpg-identity): New function; handler for pgg
1435 pgp identities. It sets a buffer-local value for
1436 `mh-pgg-default-user-id' which must be handled by mh-send-letter.
1437 (mh-identity-pgg-default-user-id): New buffer-local variable to
1438 hold the requested key ID.
1439 (mh-identity-handler-signature): New function; handler t insert
1440 and remove signature files.
1441 (mh-identity-handler-default): New function; the default handler
1442 to insert or remove generic field.
1443 (mh-identity-handler-top): Insert a field at the top of the
1444 header.
1445 (mh-identity-handler-bottom): Insert a field at the bottom of the
1446 header.
1447 (mh-header-field-delete): Make more robust wrt the field having a
1448 trailing colon or not.
1449 (mh-identity-make-menu): Add a "Customize Identities" menu entry.
1450
1451 * mh-loaddefs.el: Regenerated.
1452
1453 2003-09-21 Peter S Galbraith <psg@debian.org>
1454
1455 * mh-init.el (mh-variant-set): Bug fix for mh-variant long names
1456 with version numbers.
1457
1458 * mh-e.el (mh-scan-format): patch from Sergey Poznyakoff.
1459 GNU mailutils now supports the %(decode) format
1460
1461 2003-09-20 Satyaki Das <satyakid@stanford.edu>
1462
1463 * mh-gnus.el (mh-mm-text-html-renderer): New function to query
1464 which HTML renderer is being used by Gnus.
1465
1466 * mh-mime.el (mh-signature-highlight): Renderers used to display
1467 HTML parts garble the signature separator in various ways. The
1468 function has been modified to take that into account.
1469 (mh-mime-display-single, mh-mm-display-part): Pass the new
1470 optional argument to `mh-signature-highlight'.
1471
1472 2003-09-19 Mark D. Baushke <mdb@gnu.org>
1473
1474 * mh-mime.el (mh-have-file-command, mh-file-mime-type): Made an
1475 mh-autoload as they are used in mh-comp.el.
1476
1477 * mh-loaddefs.el: Regenerated.
1478
1479 2003-09-18 Peter S Galbraith <psg@debian.org>
1480
1481 * mh-comp.el (mh-insert-fields): Make sure field has a colon.
1482
1483 2003-09-18 Satyaki Das <satyakid@stanford.edu>
1484
1485 * mh-seq.el (mh-toggle-tick): Don't hardcode the name of the tick
1486 sequencence in the function. This would have caused improper
1487 highlighting of the tick sequence if the user had changed its
1488 name.
1489
1490 2003-09-15 Satyaki Das <satyakid@stanford.edu>
1491
1492 * mh-e.el (mh-folder-message-menu): Fix a little bug which shows
1493 up as a problem during compilation (closes SF #806577).
1494
1495 2003-09-15 Mark D. Baushke <mdb@gnu.org>
1496
1497 * mh-customize.el (mh-invisible-header-fields-internal): Added
1498 a new field for GNU mailutils per Sergey Poznyakoff.
1499
1500 2003-09-09 Satyaki Das <satyakid@stanford.edu>
1501
1502 * mh-utils.el (vcard): Unconditionally load vcard.el, if
1503 available, so that vcards are always inlined.
1504
1505 2003-09-09 Peter S Galbraith <psg@debian.org>
1506
1507 * mh-mime.el (mh-file-mime-type-substitutions): Add entry to
1508 convert text/plain .vcf files to text/x-vcard.
1509 (mh-mime-content-types): Add text/x-vcard.
1510
1511 2003-09-09 Bill Wohler <wohler@newt.com>
1512
1513 * mh-comp.el (mh-rejected-letter-start): Added strings for qmail
1514 and exim (addresses SF #404965).
1515
1516 2003-09-09 Satyaki Das <satyakid@stanford.edu>
1517
1518 * mh-gnus.el (mm-inline-text-vcard): Make vcard display work with
1519 Gnus-5.9. The extra file vcard.el is still needed.
1520
1521 * mh-mime.el (mh-signature-highlight): New function that
1522 highlights message signatures.
1523 (mh-mm-display-part, mh-mime-display-single): Highlight signatures
1524 using `mh-signature-highlight' (closes SF #802722). More work is
1525 needed for XEmacs.
1526 (mh-mime-display): Highlight signature in non-MIME email too.
1527
1528 * mh-customize.el (mh-show-signature-face): New face used to
1529 display message signature.
1530
1531 2003-09-08 Peter S Galbraith <psg@debian.org>
1532
1533 * mh-e.el (mh-version): Do something sensible when
1534 mh-variant-in-use is undefined.
1535 * mh-junk.el (mh-spamassassin-blacklist)
1536 (mh-spamassassin-whitelist): Change options to be compatoble with
1537 old version of spamassassin (V2.20).
1538
1539 2003-09-07 Mark D. Baushke <mdb@gnu.org>
1540
1541 * mh-mime.el (mh-access-types): Per RFC 2049, the "afs"
1542 access-type for message/external-body has been removed.
1543 Update the comments to reference the current MIME RFCs
1544 2045, 2046 and 2049 rather than the obsolete RFC 1521.
1545
1546 2003-09-05 Peter S Galbraith <psg@debian.org>
1547
1548 * mh-e.el (mh-version): Bumped version number to 7.4.2+cvs.
1549
1550 2003-09-04 Satyaki Das <satyakid@stanford.edu>
1551
1552 * mh-utils.el (mh-picon-directory-list, mh-picon-directory): The
1553 mh-picon-directory-list variable supersedes mh-picon-directory.
1554 (mh-picon-existing-directory-list): New variable that contains
1555 the list of picon directories that actually exist.
1556 (mh-picon-set-directory-list): New function to update
1557 mh-picon-existing-directory-list from mh-picon-directory-list.
1558 (mh-picon-get-image): The function has been modified to search a
1559 list of possible picon source directories. The regexp to extract
1560 the username from the email address has been made smarter so that
1561 it can recognize email addresses of the form user+random@foo.net
1562 and extract "user" from there.
1563 (mh-picon-file-contents): The file type recognition code has been
1564 moved from mh-picon-get-image into this function.
1565 (mh-picon-generate-path): The function has been generalized so
1566 that searching multiple paths is now feasible.
1567
1568 * mh-pick.el, mh-e.el: Checkdoc fixes.
1569
1570 2003-09-02 Satyaki Das <satyakid@stanford.edu>
1571
1572 * mh-identity.el (eval-when): It seems that the mh-comp-loaded
1573 code isn't required any more.
1574
1575 2003-08-30 Satyaki Das <satyakid@stanford.edu>
1576
1577 * mh-init.el (mh-variant-set): Replace `error' with `message' so
1578 that Emacs CVS will compile without errors if no MH variant is
1579 present.
1580
1581 2003-08-29 Satyaki Das <satyakid@stanford.edu>
1582
1583 * mh-init.el (mh-variant-set): Add interactive spec to the
1584 function.
1585
1586 * mh-mime.el (mh-mhn-compose-external-type): Optional arguments
1587 are prompted for only if prefix arg is given.
1588
1589 2003-08-29 Mark D. Baushke <mdb@gnu.org>
1590
1591 * mh-mime.el (mh-mhn-compose-external-type): Modified to be
1592 interactive and prompts for many of the fields. Made an
1593 mh-autoload.
1594 (mh-access-types): New table derived from RFC2017, RFC1521 and
1595 RFC1738, used in a completing-read in
1596 mh-mhn-compose-external-type.
1597
1598 * mh-loaddefs.el: Regenerated.
1599
1600 2003-08-26 Satyaki Das <satyakid@stanford.edu>
1601
1602 * mh-utils.el (mh-picon-image-types, mh-picon-get-image): Avoid
1603 compiler warnings.
1604 (mh-sub-folders-actual): Parsing of the output from folders has
1605 been modified, so that it also works for MH (closes SF #792300).
1606
1607 * mh-junk.el (mh-spamassassin-whitelist): Avoid calling
1608 ietf-drums-parse-address if it isn't present.
1609 (mh-spamassassin-identify-spammers): Avoid use of puthash so that
1610 Emacs20 doesn't complain.
1611
1612 * mh-e.el (mh-colors-available-p): Wrap call to
1613 display-color-cells in a mh-funcall-if-exists to avoid compiler
1614 warning in Emacs20.
1615
1616 2003-08-25 Satyaki Das <satyakid@stanford.edu>
1617
1618 * mh-e.el (mh-colors-available-flag, mh-folder-mode): New
1619 variable to track if colors are available and it is set
1620 appropriately in mh-folder-mode.
1621 (mh-colors-available-p, mh-colors-in-use-p): Two functions to
1622 check whether colors are available and if they are actually being
1623 used.
1624 (mh-add-sequence-notation): Just changing a scan line doesn't
1625 make font-lock refontify the line in Emacs20. So explicitly
1626 refontify the scan line in such a situation.
1627 (mh-internal-seq): If colors aren't being used then treat the
1628 tick sequence like a normal user sequence.
1629
1630 * mh-seq.el (mh-put-msg-in-seq): Do font-lock highlighting after
1631 the messages have been added to the sequence.
1632 (mh-toggle-tick): Modified so that highlighting of the ticked
1633 messages will be properly done. If font-lock isn't being used or
1634 if colors aren't supported by the Emacs where MH-E is running,
1635 then the `%' character is used to annotate ticked messages.
1636
1637 * mh-utils.el (mh-picon-image-types): Since Emacs20 doesn't have
1638 image-type-available-p, wrap calls to that function in
1639 ignore-errors.
1640 (mh-add-msgs-to-seq): Do the font-lock highlighting after the
1641 messages have been added.
1642
1643 2003-08-24 Bill Wohler <wohler@newt.com>
1644
1645 * Makefile (MH-E-SRC): Replaced mh-xemacs-compat.el and
1646 mh-xemacs-icons.el with mh-xemacs.el.
1647
1648 * mh-e.el: Don't require mh-xemacs-compat which no longer exists.
1649 The XEmacs stuff gets required by mh-customize.el which is
1650 required by mh-utils.el which is required by mh-e.el. This all
1651 happens before mh-xemacs-compat was required, so all should be
1652 well.
1653
1654 * mh-unit.el (mh-unit-files): Replaced mh-xemacs-compat.el and
1655 mh-xemacs-icons.el with mh-xemacs.el.
1656
1657 * mh-xemacs.el: New file from concatenation of mh-xemacs-compat.el
1658 and mh-xemacs-icons.el which were removed since their names
1659 exceeded DOS 8+3 limits.
1660
1661 * mh-customize.el (mh-compose-skipped-header-fields): Use
1662 uppercase for field names.
1663
1664 2003-08-21 Bill Wohler <wohler@newt.com>
1665
1666 * mh-customize.el (mh-sequences): Introduced new customization
1667 group for sequences.
1668 (mh-refile-preserves-sequences-flag, mh-tick-seq)
1669 (mh-update-sequences-after-mh-show-flag): Moved option from
1670 mh-folder to mh-sequences group. Synced docstring with manual.
1671 (mh-index-ticked-messages-folders): Since mh-tick-seq is
1672 customizable, use it instead of tick in the docstring.
1673
1674 * mh-index.el (mh-index-ticked-messages): Since mh-tick-seq is
1675 customizable, use it instead of tick in the docstring.
1676
1677 * mh-seq.el (mh-msg-is-in-seq): Can now specify an alternate
1678 message number with a prefix argument.
1679 (mh-narrow-to-tick): Since mh-tick-seq is customizable, use it
1680 instead of tick in the docstring. Also, use mh-tick-seq instead of
1681 tick in warning message.
1682
1683 2003-08-20 Peter S Galbraith <psg@debian.org>
1684
1685 * mh-customize.el: setq mh-variant to 'none when byte-compiling,
1686 since we don't care what MH variant (if any) is on the system at
1687 that point.
1688
1689 * mh-init.el (mh-variant-set): Don't probe for MH variant when
1690 mh-variant is set to'none (during byte-compilation).
1691
1692 2003-08-19 Peter S Galbraith <psg@debian.org>
1693
1694 * mh-pick.el (mh-pick-single-dash): New defconst. Search
1695 components that are supported by single-dash option in
1696 pick.
1697 (mh-pick-regexp-builder): Use `mh-pick-single-dash' and adapt
1698 patch from Sergey Poznyakoff.
1699
1700 * mh-comp.el (mh-reply): mu-mh supports `repl -group', thanks to
1701 Sergey Poznyakof.
1702
1703 * mh-init.el: checkdoc fixes.
1704
1705 2003-08-19 Bill Wohler <wohler@newt.com>
1706
1707 * mh-seq.el: (mh-edit-pick-expr): Renamed from mh-read-pick-regexp
1708 since the new name is more indicative of what the function does.
1709 Prompt now says "Pick expression" instead of "Pick regexp".
1710 (mh-narrow-to-subject): Rewrote function to behave like other
1711 similar functions.
1712 (mh-narrow-to-header-field, mh-narrow-to-range)
1713 (mh-narrow-to-tick): s/regexp/pick-expr/.
1714 (mh-widen, mh-narrow-to-from, mh-narrow-to-cc, mh-narrow-to-to):
1715 Synced docstrings with manual
1716
1717 2003-08-19 Bill Wohler <wohler@newt.com>
1718
1719 Released MH-E version 7.4.2.
1720
1721 * MH-E-NEWS, README: Updated for release 7.4.2.
1722
1723 * mh-e.el (Version, mh-version): Updated for release 7.4.2.
1724
1725 * mh-e.el (mh-folder-size, mh-folder-size-folder)
1726 (mh-folder-size-flist): If flist is not present use folder to find
1727 the number of messages in the folder. Also the .mh_sequences file
1728 is read to find the number of unseen messages (patch from 1.349
1729 and branched for 7.4.2, closes SF #791021).
1730
1731 * mh-utils.el (mh-flists-present-flag, mh-find-progs): Introduce a
1732 new variable to test for the presence of the flists program and
1733 set it in mh-find-progs.
1734 (mh-collect-folder-names): Use folders instead of flists. One
1735 advantage is that folders is available on MH while flists is not.
1736 Another is that if an explicit -sequence argument isn't given and
1737 Unseen-Sequence profile is not present then flists croaks while
1738 folders doesn't.
1739 (mh-collect-folder-names-filter): Don't consider folder names that
1740 start with a `.' character. This is needed since the folders
1741 command doesn't filter them out like flists does.
1742 (patches from 1.307 and 1.309 and branched for 7.4.2, closes SF
1743 #791021).
1744
1745 2003-08-18 Bill Wohler <wohler@newt.com>
1746
1747 * mh-index.el (mh-index-sequenced-messages)
1748 (mh-index-new-messages, mh-index-ticked-messages): Updated
1749 docstrings from manual (closes SF #718833).
1750
1751 * mh-customize.el (mh-variant): Checkdoc fix.
1752 (mh-index-new-messages-folders): Don't mention defvar in
1753 docstring, use `+inbox' instead.
1754 (mh-index-ticked-messages-folders): Don't mention defvar in
1755 docstring, use `tick' instead.
1756
1757 * mh-comp.el (mh-repl-group-formfile): Checkdoc fix.
1758
1759 2003-08-18 Peter S Galbraith <psg@debian.org>
1760
1761 * mh-init.el (mh-variant-set, mh-sys-path, mh-variant-info): Add
1762 support for GNU mailutils.
1763 (mh-variant-mu-mh-info): New function to detect mu-mh and return
1764 info about it for `mh-variants'.
1765
1766 * mh-e.el (mh-regenerate-headers): mu-mh has different error
1767 message for a invalid mesage list.
1768
1769 2003-08-18 Peter S Galbraith <psg@debian.org>
1770
1771 * mh-customize.el (mh-e): New defgroup. Sort of an alias for the
1772 'mh group that a user might be more likely to find.
1773
1774 2003-08-18 Bill Wohler <wohler@newt.com>
1775
1776 * mh-comp.el (mh-insert-auto-fields-done-local): Docstring tweak.
1777 (mh-compose-and-send-mail): Do not call mh-insert-auto-fields.
1778 This should be done only once in mh-send-letter.
1779
1780 2003-08-18 Peter S Galbraith <psg@debian.org>
1781
1782 * mh-comp.el (mh-letter-mode): Call `mh-find-path unconditionally,
1783 like elsewehere in MH-E.
1784
1785 * mh-utils.el (mh-find-path): Run setup code only if
1786 `mh-find-path-run' is nil such that this is only done once.
1787 Also remove the `setq' for `read-mail-command' and `mail-user-agent'.
1788
1789 2003-08-18 Peter S Galbraith <psg@debian.org>
1790
1791 * mh-e.el: require 'mh-utils first
1792
1793 * mh-customize.el (mh-variant): defcustom moved here.
1794
1795 * mh-init.el (mh-variants): Made an mh-autoload.
1796
1797 2003-08-18 Peter S Galbraith <psg@debian.org>
1798
1799 * Makefile (MH-E-SRC): Added mh-init.el to MH-E-SRC.
1800
1801 * mh-utils.el (mh-find-progs): Deleted. Make obsolete by mh-init.el.
1802 (mh-find-path): Call `mh-variants' instead of now obsolete
1803 `mh-find-progs'.
1804 (mh-path-search): Deleted. Was only used by `mh-find-progs'.
1805
1806 * mh-e.el: require mh-init.el.
1807 (mh-version): Use simpler `mh-variant-in-use'.
1808 (mh-scan-format): Use (mh-variant-p 'nmh) instead of mh-nmh-flag.
1809
1810 * mh-comp.el (mh-insert-x-mailer): Use simpler `mh-variant-in-use'.
1811
1812 * mh-utils.el (mh-progs, mh-lib, mh-lib-progs)
1813 (mh-flists-present-flag): Moved to mh-init.el.
1814 (mh-nmh-flag): Deleted. Use (mh-variant-p 'nmh) instead.
1815
1816 * mh-comp.el (mh-repl-group-formfile, mh-forward, mh-reply)
1817 (mh-send-letter): Use (mh-variant-p 'nmh) instead of mh-nmh-flag.
1818
1819 * mh-mime.el (mh-edit-mhn, mh-mime-save-parts): Use (mh-variant-p
1820 'nmh) instead of mh-nmh-flag.
1821
1822 2003-08-16 Bill Wohler <wohler@newt.com>
1823
1824 * mh-customize.el (mh-folder-selection): New group to hold
1825 variables described in Folder Selection section in manual.
1826 (mh-default-folder-list, mh-default-folder-must-exist-flag,
1827 mh-default-folder-prefix): Moved to mh-folder-selection group.
1828 Updated docstrings per manual update.
1829 (mh-default-folder-for-message-function): New defcustom. Was a
1830 defvar in mh-utils.el. Updated docstring per manual update.
1831
1832 * mh-utils.el (mh-default-folder-for-message-function): Moved to
1833 mh-customize.el.
1834
1835 * mh-e.el (mh-folder-from-address, mh-prompt-for-refile-folder):
1836 Updated docstrings per manual update.
1837
1838 * mh-unit.el (mh-unit-files): Added mh-init.el.
1839
1840 2003-08-16 Peter S Galbraith <psg@debian.org>
1841
1842 * mh-init.el: New file. Code to initialize the MH-E back-end.
1843 Highlights:
1844 (mh-variant): New defcustom. Users may customize `mh-variant' to
1845 switch between available variants.
1846 (mh-variants): Available MH variants are described in this variable.
1847 (mh-variant-in-use, mh-variant-p): Developers may check which
1848 variant is currently in use with the variable `mh-variant-in-use'
1849 or the function `mh-variant-p'.
1850
1851 2003-08-15 Bill Wohler <wohler@newt.com>
1852
1853 * mh-customize.el (mh-auto-fields-list): The manual uses Fcc
1854 instead of fcc, so I've changed the user-visible text
1855 accordingly. I've left the const alone for backwards
1856 compatibility.
1857
1858 2003-08-14 Bill Wohler <wohler@newt.com>
1859
1860 * mh-identity.el (mh-insert-identity): Changed signature deletion
1861 test to test for both markers, rather than testing to see if the
1862 start marker is bound. Since the start marker is defined in this
1863 file, it should always be bound. Suggestion by Satyaki.
1864
1865 * mh-comp.el (mh-send-letter): Go to the top of the draft so that
1866 the user can see which header fields have been inserted. I think
1867 this is more important than leaving point alone or going to the
1868 end to see the signature since Mail-Followup-To or Bcc or cc could
1869 have some deleterious effects.
1870
1871 * mh-customize.el (mh-auto-fields-prompt-flag): New variable.
1872 Non-nil means to prompt before sending if fields inserted.
1873
1874 * mh-comp.el (mh-insert-auto-fields): Now return t if fields
1875 inserted; otherwise nil.
1876 (mh-send-letter): Deleted obsolete documentation about adding
1877 X-Mailer and X-Face. Prompt before sending if auto fields added
1878 and mh-auto-fields-prompt-flag is t.
1879
1880 * mh-customize.el (mh-identity-list): Allow signature to come from
1881 mh-signature-file-name. In this case, the "signature" value is set
1882 to nil. This might not be the best implementation. Suggestions
1883 welcome.
1884
1885 * mh-identity.el (mh-insert-identity): Now that the signature can
1886 be a nil value, moved test higher up in cond so that the test for
1887 a nil value would not be executed first prevening signature
1888 handling. Handle nil signature value by calling
1889 mh-insert-signature with no arguments which means to use
1890 mh-signature-file-name.
1891
1892 * mh-comp.el (mh-insert-signature): Changed text of message if no
1893 signature inserted.
1894
1895 * mh-customize.el (mh-identity-list): Changed "Signature" constant
1896 back to "signature" so it *won't* be backwards-incompatible any
1897 more. I discovered one could use the :tag keyword to get headline
1898 captalization in the menu.
1899
1900 * mh-identity.el (mh-insert-identity): Ditto.
1901
1902 * mh-identity.el (mh-identity-make-menu): Always build menu.
1903 Always create Insert Auto Fields menu item. Just don't enable it
1904 if mh-auto-fields-list is nil. Enable radio buttons always. Make
1905 None a radio button choice with the other identities.
1906
1907 * mh-comp.el (mh-letter-menu): Removed cond on fboundp
1908 'easy-menu-define. We don't do this elsewhere.
1909
1910 2003-08-13 Bill Wohler <wohler@newt.com>
1911
1912 * mh-identity.el (mh-identity-make-menu, mh-insert-identity): Use
1913 headline capitalization in menu items. Even the internal names are
1914 exposed in the customize interface, so they need to be uppercase
1915 too.
1916 (mh-insert-identity): Rather than goto-char to
1917 mh-identity-signature-start before deleting, simply pass it to
1918 delete-region. When setting markers, use point-min-marker and
1919 point-max-marker instead of moving point. Set marker type of
1920 mh-identity-signature-start to t to fix a bug where changing
1921 identity deleted user's text.
1922
1923 * mh-customize.el (mh-identity-list, mh-auto-fields-list):
1924 Reworked docstring. Use headline capitalization. Commented out
1925 implementation details for later deletion or resurrection upon
1926 popular demand. N.B. If your mh-identity-list contains "signature"
1927 then you will need to either edit your .emacs file manually, or
1928 delete your existing "signature" which will become a regular field
1929 with this change and create a new signature. I figured I could get
1930 away with this since 8.0 is a major release, and coinciding with
1931 the manual update will be a MAJOR release. I apologize profusely
1932 that I didn't catch this before it was released.
1933 (mh-identity-default): Use headline capitalization in example.
1934
1935 2003-08-12 Jeffrey C Honig <jch@honig.net>
1936
1937 * mh-customize.el (mh-alias-reloaded-hook): Define
1938 `mh-alias-reloaded-hook'.
1939
1940 * mh-alias.el (mh-alias-reload): Run `mh-alias-reloaded-hook'
1941 after reloading the aliases.
1942
1943 2003-08-12 Mark D. Baushke <mdb@gnu.org>
1944
1945 * mh-comp.el (mh-insert-signature): Use functionp to avoid
1946 the possibility of doing a funcall on a void function.
1947
1948 2003-08-12 Bill Wohler <wohler@newt.com>
1949
1950 * mh-customize.el (mh-identity): Point group manual link to new
1951 Identities section.
1952 (mh-signature-separator-flag): New variable which can be used to
1953 suppress the output of the signature separator.
1954
1955 * mh-comp.el (mh-insert-signature): Use
1956 mh-signature-separator-flag.
1957
1958 * mh-identity.el (mh-insert-identity): If the identity's signature
1959 file didn't exist, an fboundp error was thrown. This was fixed by
1960 removing signature tests that were redundant and out of date with
1961 the tests in mh-insert-signature. Removed second signature
1962 condition as it is now handled in the first signature condition.
1963
1964 2003-08-12 Peter S Galbraith <psg@debian.org>
1965
1966 * mh-identity.el (mh-insert-identity): Don't insert new lines on
1967 signatures anymore.
1968
1969 * mh-comp.el (mh-insert-signature): Make sure signature file is
1970 readable before trying to insert it.
1971
1972 2003-08-11 Bill Wohler <wohler@newt.com>
1973
1974 * mh-comp.el (mh-insert-signature): Unconditionally insert a
1975 newline so that signatures are inserted consistently, and so that
1976 there isn't any text after the cursor so that the user can start
1977 typing his message immediately. Use new variable and function
1978 mh-signature-separator and mh-signature-separator-p.
1979
1980 * mh-customize.el (mh-delete-yanked-msg-window-flag): Checkdoc
1981 fix.
1982 (mh-signature-file-name): Updated docstring now that this variable
1983 can be a function. Added cross-references to
1984 mh-signature-separator, mh-signature-separator-regexp, and
1985 mh-signature-separator-p which might be used in such functions.
1986
1987 * mh-identity.el (mh-insert-identity): Don't include signature if
1988 signature separator already present. Useful when running
1989 mh-edit-again.
1990
1991 * mh-mime.el (mh-inline-vcard-p): Use mh-signature-separator-p.
1992
1993 * mh-utils.el (mh-signature-separator-regexp): New variable
1994 containing "^-- $" which should be used when looking for the
1995 signature separator.
1996 (mh-signature-separator): New variable containing "-- \n" which
1997 should be used when inserting the signature separator.
1998 (mh-signature-separator-p): New function that returns non-nil if
1999 mh-signature-separator-regexp is found in the buffer.
2000
2001 2003-08-09 Satyaki Das <satyakid@stanford.edu>
2002
2003 * mh-utils.el (mh-x-image-scaling-function): Variable that
2004 contains function used to scale images. Possible choices are
2005 mh-x-image-scale-with-convert and mh-x-image-scale-with-pnm.
2006 (mh-convert-executable): Removed.
2007 (mh-x-image-scale-with-pnm, mh-x-image-scale-with-convert): New
2008 functions that scale images using pnm tools or ImageMagick.
2009 (mh-x-image-scale-and-display, mh-x-image-url-display): Use
2010 mh-x-image-scaling-function instead of mh-convert-executable.
2011
2012 2003-08-08 Peter S Galbraith <psg@debian.org>
2013
2014 * mh-comp.el (mh-insert-signature): Bug fix. Handle case of nil
2015 `mh-signature-file-name' and hooks correctly.
2016
2017 * mh-identity.el (mh-insert-identity): Refactor to use
2018 mh-insert-signature
2019
2020 * mh-comp.el (mh-signature-separator-p): Removed.
2021
2022 * mh-comp.el (mh-insert-signature): Merge MIME awareness from
2023 mh-insert-identity into this command. Allow
2024 `mh-signature-file-name' to be a function to call. See if "-- "
2025 needs to be inserted only after hooks have run.
2026
2027 2003-08-07 Bill Wohler <wohler@newt.com>
2028
2029 * mh-customize.el (mh-compose-skipped-header-fields): Added
2030 X-Image-URL.
2031 (mh-autoload): Removed cookies. They aren't necessary in
2032 mh-e.el, mh-utils.el, or mh-customize.el.
2033
2034 * mh-e.el (mh-autoload): Removed cookies. They aren't necessary in
2035 mh-e.el, mh-utils.el, or mh-customize.el.
2036
2037 * mh-identity.el (mh-insert-identity): Made regexp for signature
2038 separator more explicit. Hmmm, maybe we should create
2039 mh-signature-separator-regexp...
2040
2041 * mh-index.el (mh-replace-string): Moved to mh-utils.el.
2042
2043 * mh-utils.el (mh-replace-string): Moved here from mh-index.el.
2044 (mh-autoload): Removed cookies. They aren't necessary in mh-e.el,
2045 mh-utils.el, or mh-customize.el.
2046
2047 * mh-comp.el (mh-insert-signature): Added file argument to insert
2048 a file other than mh-signature-file-name. Insert signature
2049 separator, unless file already contains one.
2050
2051 2003-08-06 Satyaki Das <satyakid@stanford.edu>
2052
2053 * mh-e.el (mh-folder-size, mh-folder-size-folder)
2054 (mh-folder-size-flist): If flist is not present use folder to
2055 find the number of messages in the folder. Also the .mh_sequences
2056 file is read to find the number of unseen messages.
2057
2058 * mh-utils.el (mh-flists-present-flag, mh-find-progs): Introduce
2059 a new variable to test for the presence of the flists program and
2060 set it in mh-find-progs.
2061
2062 2003-08-06 Peter S Galbraith <psg@debian.org>
2063
2064 * mh-customize.el: Change the order of `mh-identity-list' and
2065 `mh-auto-fields-list' and remove byte-compilation defvar for
2066 `mh-identity-list'. This fixes a customization bug for
2067 `mh-identity-list', where it wasn't set correctly.
2068
2069 * mh-identity.el (mh-identity-make-menu): mh-auto-fields-list may
2070 not be bound yet when initially loaded.
2071
2072 2003-08-06 Bill Wohler <wohler@newt.com>
2073
2074 * mh-alias.el (mh-alias-add-address-under-point): Removed trailing
2075 period from messages. The conventions say that errors should not
2076 end with a period and that "Foo...done" messages should not end in
2077 a period, but they aren't explicit about messages in general.
2078 Given what the conventions *do* say, and because most of our
2079 messages don't end with a period, let's just say that messages in
2080 general don't end in a period, just like error messages.
2081
2082 * mh-comp.el (mh-extract-rejected-mail, mh-letter-mode-message):
2083 Ditto.
2084
2085 * mh-e.el (mh-refile-a-msg): Ditto.
2086
2087 * mh-funcs.el (mh-undo-folder): Ditto.
2088
2089 * mh-mime.el (mh-mime-save-parts): Ditto.
2090
2091 * mh-seq.el (mh-subject-to-sequence-unthreaded)
2092 (mh-narrow-to-subject, mh-delete-subject): Ditto.
2093
2094 * mh-index.el (mh-index-sequenced-messages)
2095 (mh-index-new-messages, mh-index-ticked-messages): Discovered that
2096 in general we should only use question marks in yes-or-no-p or
2097 y-or-n-p prompts, but not in other prompts that use
2098 completing-read and offer defaults. In these cases, use colons
2099 instead (closes SF #730470).
2100
2101 * mh-mime.el (mh-mime-save-parts): Ditto.
2102
2103 * mh-utils.el (mh-prompt-for-folder): Ditto.
2104
2105 * mh-alias.el (mh-alias-apropos): Multiple messages are usually
2106 shown one at a time rather than appended. Send output to
2107 mh-aliases-buffer instead of *Help*.
2108 (mh-alias-local-users): Checkdoc fix.
2109
2110 * mh-funcs.el (mh-undo-folder): Removed commented-out code since
2111 its deadline had expired.
2112
2113 * mh-utils.el (mh-aliases-buffer): New buffer name, used in
2114 mh-aliases.el.
2115
2116 2003-08-06 Satyaki Das <satyakid@stanford.edu>
2117
2118 * mh-utils.el (mh-x-image-url-cache-canonicalize): Make this
2119 function work for XEmacs too.
2120 (mh-collect-folder-names): Use folders instead of flists. One
2121 advantage is that folders is available on MH while flists is not.
2122 Another is that if an explicit -sequence argument isn't given and
2123 Unseen-Sequence profile is not present then flists croaks while
2124 folders doesn't.
2125 (mh-collect-folder-names-filter): Don't consider folder names that
2126 start with a `.' character. This is needed since the folders
2127 command doesn't filter them out like flists does.
2128
2129 * mh-index.el (mh-replace-string): Add autoload for it.
2130
2131 2003-08-05 Satyaki Das <satyakid@stanford.edu>
2132
2133 * mh-mime.el (mh-compose-forward, mh-mhn-compose-forw)
2134 (mh-mml-forward-message): The variable mh-sent-from-msg can be a
2135 list. So check that the value is really a number before using it
2136 like one.
2137
2138 * mh-comp.el (mh-insert-letter): Same as above.
2139
2140 * mh-utils.el (mh-picon-get-image): Make the code that finds the
2141 address of the sender more robust.
2142 (mh-face-display-function): Make it work with XEmacs.
2143 (mh-picon-image-types): A new variable that stores what image
2144 types can be used.
2145
2146 2003-08-05 Satyaki Das <satyakid@stanford.edu>
2147
2148 * mh-customize.el (mh-tool-bar-define): Make the save button such
2149 that is activated only if the buffer needs to saved.
2150
2151 * mh-utils.el (mh-face-display-function, mh-picon-get-image): Some
2152 domains, for instance cs.cmu.edu, don't have xpm files. So we need
2153 to search for all three files. The change does that.
2154 (mh-picon-file-contents): A utility function to return the
2155 contents of a file as a string.
2156 (mh-picon-get-image): Write it as a loop to make it simpler.
2157 (mh-x-image-set-download-state): Make the link simpler.
2158
2159 2003-08-04 Satyaki Das <satyakid@stanford.edu>
2160
2161 * mh-utils.el (mh-x-image-url-display): Don't bother to try to
2162 download image if we don't have the necessary tools to display
2163 it.
2164 (mh-face-display-function): Add preliminary support for "domain"
2165 picons.
2166 (mh-picon-get-image, mh-picon-generate-path): Functions to find
2167 best match for domain in the From header field.
2168
2169 * mh-e.el (mh-previous-unread-msg): If some of the messages in the
2170 unseen sequence are not present in the folder buffer then calling
2171 this function gets stuck and can't skip over them. The change
2172 fixes this.
2173 (mh-next-unread-msg): Same as above.
2174
2175 2003-08-04 Bill Wohler <wohler@newt.com>
2176
2177 * mh-utils.el (mh-show-mode): Added cross reference to
2178 mh-folder-mode in docstring (closes SF #728638). Added
2179 \\{mh-show-mode-map} to show keymap.
2180
2181 * mh-e.el (mh-folder-mode): Added information about ranges to
2182 docstring (closes SF #728638).
2183
2184 * mh-speed.el (mh-speed-refresh): New function that calls
2185 mh-speed-flists and mh-invalidate-map.
2186 (mh-folder-speedbar-key-map): Replaced keybindings for
2187 mh-speed-invalidate-map and mh-speed-flists with a single binding
2188 for mh-speed-refresh.
2189 (mh-folder-speedbar-menu-items): Replaced menu items for Run
2190 Flists and Invalidate Cached Folders with the single menu item
2191 Refresh Speedbar in order to simplify the UI.
2192
2193 * mh-customize.el (mh-fetch-x-image-url): Added DOS as another
2194 reason not to set this to t.
2195
2196 2003-08-04 Satyaki Das <satyakid@stanford.edu>
2197
2198 * mh-e.el (mh-scan-folder): Handle ranges from user input properly.
2199
2200 2003-08-03 Satyaki Das <satyakid@stanford.edu>
2201
2202 * mh-utils.el (mh-find-msg-get-num): Removed. If threading isn't
2203 present, the messages are sorted by index. So `mh-goto-msg' was
2204 implemented as a binary search and this function was used in that
2205 implementation. So this isn't needed any more.
2206 (mh-msg-search-pat): Removed. Before the advent of message
2207 threading, this function was used to generate a regexp used to
2208 search for a particular message. It isn't used anymore. The
2209 variable `mh-scan-msg-number-regexp' should be updated and used in
2210 `mh-goto-msg' instead of hardcoding the regexp in the code. Then
2211 we might be able to better support other scan line formats in the
2212 future.
2213
2214 * mh-seq.el (mh-map-to-seq-msgs, mh-notate-seq): Removed. These
2215 functions were used to notate user sequences. But calling
2216 `mh-goto-msg' inside of a loop is inefficient. So the sequence
2217 notation code was rewritten thereby making these functions
2218 redundant.
2219 (mh-copy-line-to-point): Removed. This function was used in the
2220 implementation the now removed function `mh-copy-seq-to-point'.
2221 That function was problematic and was replaced by the less general
2222 `mh-copy-seq-to-eob'. This makes `mh-copy-line-to-point'
2223 redundant.
2224 (mh-region-to-msg-list): Removed since this is a special case of
2225 the more general `mh-range-to-msg-list'.
2226
2227 * mh-loaddefs.el: Regenerated.
2228
2229 2003-08-03 Jeffrey C Honig <jch@honig.net>
2230
2231 * mh-customize.el (mh-invisible-header-fields-default): Added
2232 several new fields to hide. Sorted the list with sort-lines.
2233
2234 2003-08-03 Peter S Galbraith <psg@debian.org>
2235
2236 * mh-customize.el (mh-invisible-headers): Variable renamed to
2237 `mh-invisible-header-fields-compiled'.
2238 (mh-invisible-headers): Implement above change.
2239
2240 * mh-utils.el (mh-display-msg): Idem.
2241
2242 * mh-mime.el (mh-mm-inline-message): Idem.
2243
2244 * mh-comp.el (mh-insert-letter): Idem.
2245
2246 2003-08-03 Bill Wohler <wohler@newt.com>
2247
2248 * mh-speed.el (mh-folder-speedbar-menu-items): Added separator
2249 between standard and MH-E menu items. Use headline capitalization
2250 in menu items.
2251
2252 * mh-utils.el (mh-temp-fetch-buffer): New constant to hold
2253 buffer name for wget output.
2254 (mh-x-image-url-fetch-image): Use mh-temp-fetch-buffer instead
2255 of hard-coded buffer name. Use make-temp-file to avoid race
2256 conditions and subsequent security issues raised in make-temp-name
2257 docstring.
2258
2259 2003-08-03 Satyaki Das <satyakid@stanford.edu>
2260
2261 * mh-utils.el (mh-wget-executable, mh-wget-choice, mh-wget-option)
2262 (mh-x-image-url-fetch-image): Support the use of `curl' and
2263 `fetch' as alternatives to `wget'.
2264 (mh-wget-choice): Change order of search.
2265 (mh-x-image-url-fetch-image): Rename buffer.
2266
2267 2003-08-03 Satyaki Das <satyakid@stanford.edu>
2268
2269 * mh-utils.el (mh-x-image-set-download-state)
2270 (mh-x-image-get-download-state): Specially named symbolic links
2271 are used to keep track of whether a X-Image-URL header field needs
2272 to downloaded the next time it is seen. These functions get and
2273 set the symlinks appropriately.
2274 (mh-x-image-url-fetch-image): Simplified since the query has been
2275 moved to `mh-x-image-url-display'. Also if wget isn't present then
2276 try again next time since the user might install wget before
2277 trying once more.
2278 (mh-x-image-scale-and-display): Handle absence of the `convert'
2279 program better. If it isn't present then we will try to display
2280 the image the next time it is encountered. Also use the -geometry
2281 option to convert since the -resize option isn't present in older
2282 versions.
2283 (mh-x-image-url-display): Move all the code that decides whether
2284 an X-Image-URL header field will be fetched in this function. Also
2285 remember the user's decision so that if the image couldn't be
2286 fetched the first time, we will try to fetch it later on without
2287 asking again.
2288
2289 2003-08-02 Peter S Galbraith <psg@debian.org>
2290
2291 * mh-alias.el (mh-alias-local-users): Exclude all aliases already
2292 in mh-alias-alist from `ali' (closes SF #772595).
2293
2294 2003-08-01 Satyaki Das <satyakid@stanford.edu>
2295
2296 * mh-utils.el (mh-x-image-display, mh-x-image-url-display): Avoid
2297 a race. The X-Image-URL is displayed asynchronously. Suppose a
2298 message with a image is shown with `mh-show'. If a different
2299 message is displayed before the image can be fetched, then the new
2300 message will have the image displayed. With this change the race
2301 is less likely to happen.
2302
2303 2003-08-01 Peter S Galbraith <psg@debian.org>
2304
2305 * mh-inc.el (mh-inc-spool-map): Fix what `mh-inc-spool-map-help'
2306 must look like as a fake `mh-help-messages' in order to work
2307 correctly in mh-help.
2308
2309 2003-07-31 Bill Wohler <wohler@newt.com>
2310
2311 * mh-inc.el (mh-inc-spool-map): Use mh-help instead of
2312 mh-ephem-message in order to display help in its own buffer
2313 instead of minibuffer.
2314
2315 * mh-utils.el (mh-help-buffer): New variable to hold the name of
2316 the MH-E help buffer name.
2317
2318 * mh-funcs.el (mh-help, mh-prefix-help): Use with-electric-help to
2319 display help messages. I observed a friend with a vision
2320 disability and the 5 seconds the help appeared on the screen was
2321 not long enough for him to lock on it. I've therefore changed the
2322 help function to display the help in its own buffer called *MH-E
2323 Help* (closes SF #493740 and SF #656631).
2324
2325 * mh-customize.el (mh-fetch-x-image-url): Changed default from nil
2326 to 'ask. Updated docstring from manual.
2327 (mh-invisible-header-fields-internal): Added X-Image-URL.
2328 (mh-show-use-xface-flag): Updated docstring from manual.
2329 (mh-x-face-file): Ditto.
2330
2331 * mh-mime.el (mh-mhn-compose-external-type): Don't insert the
2332 directory parameter if it's nil. The mhbuild man page indicates
2333 that this parameter is optional, so this should be fine.
2334
2335 * mh-comp.el (mh-letter-mode-map): Added keybindings for
2336 mh-mhn-compose-anon-ftp and
2337 mh-mhn-compose-external-compressed-tar.
2338 (mh-letter-menu): Uncommented menu items for same.
2339
2340 2003-07-30 Satyaki Das <satyakid@stanford.edu>
2341
2342 * mh-loaddefs.el: Regenerated.
2343
2344 * mh-pick.el (mh-do-pick-search): Removed since the function
2345 `mh-pick-do-search' performs the same action as this function.
2346
2347 * mh-index.el (mh-index-update-unseen): Removed since the
2348 generalized sequence synchronization code that keeps sequences in
2349 index folders in sync with the sequences in the source folders
2350 makes this function redundant.
2351
2352 * mh-e.el (mh-folder-unseen-seq-name, mh-folder-unseen-seq-list):
2353 Removed. These two functions were used in the unseen sequence
2354 highlighting before the sequence highlighting code was
2355 generalized. In any event calls to the function
2356 `mh-folder-unseen-seq-name' can be replaced by the variable
2357 `mh-unseen-seq' and calls to `mh-folder-unseen-seq-list' can be
2358 replaced with (cdr (assoc mh-unseen-seq mh-seq-list)).
2359 (mh-unmark-all-headers): Removed since this function has been
2360 superseded by mh-remove-all-notation.
2361 (mh-map-over-seqs): Removed since we now have the generalized
2362 iteration over message ranges (the `mh-iterate-on-range' macro)
2363 that can be used instead.
2364 (mh-notate-if-in-one-seq): Removed. This function was used for
2365 changing the `%' notation for user sequences. It can't be used for
2366 that purpose any more, since we have a different scheme now.
2367
2368 * mh-unit.el (mh-unit-tests): Removed since it isn't needed any
2369 more.
2370 (mh-unit): Run all function that start with the string
2371 "mh-unit-test-".
2372
2373 2003-07-30 Bill Wohler <wohler@newt.com>
2374
2375 * mh-customize.el (mh-invisible-header-fields): Checkdoc fix.
2376
2377 * mh-utils.el (mh-x-image-url-cache-canonicalize): Shortened using
2378 example in files.el:make-backup-file-name-1.
2379 (mh-face-display-function): Added X-Image-URL to docstring.
2380
2381 * mh-unit.el (mh-unit-x-image-url-cache-canonicalize): New
2382 function to test mh-x-image-url-cache-canonicalize since it lent
2383 itself well to unit testing. Had to start somewhere!
2384 (mh-unit-equal): New function that throws an error if RESULT
2385 doesn't equal EXPECTED.
2386 (mh-unit): Call mh-unit-x-image-url-cache-canonicalize.
2387
2388 2003-07-29 Satyaki Das <satyakid@stanford.edu>
2389
2390 * mh-unit.el (mh-unit-update-call-graph): Make the function work
2391 better with dotted lists, that is lists of the form (a b c . d)
2392 where `d' isn't nil. With this we are able to avoid marking some
2393 functions as unused even though they are actually used in alists.
2394
2395 2003-07-28 Peter S Galbraith <psg@debian.org>
2396
2397 * mh-comp.el (mh-insert-letter): Remove `mh-visible-headers'
2398 operation.
2399
2400 * mh-mime.el (mh-mm-inline-message): Same.
2401
2402 * mh-utils.el (mh-display-msg): Same.
2403 (mh-clean-msg-header): Make a note of above change.
2404
2405 * mh-customize.el (mh-invisible-header-fields-internal): Renamed
2406 from prior `mh-invisible-header-fields-default'.
2407 (mh-invisible-header-fields-default): Renamed from prior
2408 `mh-invisible-header-fields-default-override'.
2409 (mh-invisible-header-fields): Renamed from prior
2410 `mh-invisible-header-fields-user'.
2411 (mh-visible-headers): Removed! We use invisible fields only now.
2412 (mh-visible-header-fields): Removed!
2413
2414 2003-07-28 Peter S Galbraith <psg@debian.org>
2415
2416 * mh-customize.el (mh-invisible-header-fields-default): Added 3
2417 new fields to hide.
2418
2419 2003-07-28 Satyaki Das <satyakid@stanford.edu>
2420
2421 * mh-utils.el (mh-show): Add an extra argument to the function so
2422 that interactive use will always force redisplay of the message.
2423
2424 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Bind the
2425 variables `mm-verify-option' and `mm-decrypt-option' so that
2426 verification and decryption of mail can happen without any
2427 additional tinkering.
2428
2429 2003-07-25 Peter S Galbraith <psg@debian.org>
2430
2431 * mh-customize.el (mh-invisible-header-fields-default): New defvar
2432 holding default fields to hide. This replaces the old
2433 `mh-invisible-header-fields' defcustom.
2434 (mh-invisible-header-fields-user): New defcustom. Users add
2435 fields to suppress that we didn't include in
2436 `mh-invisible-header-fields-default'. This could be named simply
2437 `mh-invisible-header-fields' and it wouldn't really break anything
2438 for users who have customized it to a long list now redundant with
2439 `mh-invisible-header-fields-default'.
2440 (mh-invisible-header-fields-default-override): New defcustom.
2441 Users check off the fields they want displyed from what we
2442 included in `mh-invisible-header-fields-default'.
2443 (mh-invisible-headers): Function adapted to new variables.
2444
2445 2003-07-25 Satyaki Das <satyakid@stanford.edu>
2446
2447 * mh-e.el (mh-inc-folder): If the user is in a different folder
2448 displaying a message and runs mh-inc-folder, then the folder
2449 changes to +inbox but the show window continues to display the
2450 message in the old folder. The change fixes this.
2451 (mh-visit-folder): Make the handling of the show window similar to
2452 that of mh-inc-folder.
2453
2454 2003-07-24 Satyaki Das <satyakid@stanford.edu>
2455
2456 * mh-e.el (mh-folder-message-menu, mh-folder-folder-menu): Use the
2457 predicate mh-outstanding-commands-p instead of its exapansion.
2458 Also use the same label in both menus.
2459 (mh-outstanding-commands-p): Generalized so that it will work in
2460 mh-show-mode buffers as well.
2461
2462 * mh-customize.el (mh-tool-bar-define): Enable tool-bar button for
2463 mh-execute-commands only if there are pending deletes or refiles.
2464
2465 2003-07-19 Satyaki Das <satyakid@stanford.edu>
2466
2467 * mh-utils.el (mh-show-msg): If a unseen message is first marked
2468 for deletion/refiling and then displayed, the bold highlighting
2469 does not go away. This change fixes that.
2470
2471 * mh-seq.el (mh-msg-is-in-seq): Fix a bug in the function. If any
2472 message was marked for refiling, then the function would have you
2473 believe that every message in the folder is being refiled.
2474
2475 2003-07-17 Bill Wohler <wohler@newt.com>
2476
2477 * mh-e.el: Removed email address for Stephen Gildea's in Change
2478 Log at his request (damn spammers). Removed other email addresses
2479 while I was at it since the SourceForge URL should be sufficient
2480 contact information.
2481
2482 (mh-scan-format-*mh): Fixed typo in comment above these variables.
2483 These variables are used if mh-scan-format-file is t, not nil.
2484 Also mh-scan-format-file is no longer "above" (courtesy Stephen
2485 Gildea).
2486
2487 2003-07-17 Satyaki Das <satyakid@stanford.edu>
2488
2489 * mh-mime.el (mh-mhn-quote-unescaped-sharp): New function that
2490 quotes `#' characters in the first column that aren't part of a
2491 MHN directive.
2492 (mh-mhn-directive-present-p): Generalized to allow the function
2493 to search for MHN directives in a part of the buffer.
2494 (mh-edit-mhn): Quote unescaped `#' characters in the draft (closes
2495 SF #762464).
2496
2497 2003-07-16 Satyaki Das <satyakid@stanford.edu>
2498
2499 * mh-alias.el (mh-alias-read-address-map): If
2500 mh-alias-flash-on-comma is nil when mh-alias is loaded, then
2501 setting mh-alias-flash-on-comma to t later on doesn't turn on
2502 address completion display till Emacs is restarted. The change
2503 fixes this.
2504
2505 2003-07-15 Bill Wohler <wohler@newt.com>
2506
2507 * mh-utils.el (mh-cmd-note): Cleaned up docstring (changed phrase
2508 to sentences). Moved to Scan Line Formats section.
2509 (mh-scan-msg-number-regexp)
2510 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2511 (mh-scan-msg-format-string, mh-scan-msg-search-regexp): Cleaned up
2512 docstrings (changed phrases to sentences).
2513 (mh-note-seq): Cleaned up docstring (changed phrase to sentences).
2514 Also, this variable is now a character and not a string. Moved to
2515 Scan Line Formats section.
2516
2517 * mh-funcs.el (mh-note-copied, mh-note-printed): Cleaned up
2518 docstrings (changed phrases to sentences). Also, these variables
2519 are now characters and not strings.
2520
2521 * mh-e.el (mh-scan-format-mh, mh-scan-format-nmh): Filled. I was
2522 hoping to quote the hint `t' but checkdoc wouldn't let me.
2523 (mh-note-deleted, mh-note-refiled, mh-note-cur): Moved to Scan
2524 Line Formats section.
2525 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2526 (mh-scan-refiled-msg-regexp, mh-scan-valid-regexp)
2527 (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
2528 (mh-scan-rcpt-regexp, mh-scan-body-regexp)
2529 (mh-scan-subject-regexp, mh-scan-format-regexp): Cleaned
2530 up docstrings (changed phrases to sentences).
2531 (mh-scan-cur-msg-regexp): Marked this variable as obsolete; it
2532 should be removed for 8.0.
2533
2534 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Cleaned
2535 up docstrings (changed phrases to sentences). Also, these
2536 variables are now characters and not strings.
2537
2538 2003-07-15 Satyaki Das <satyakid@stanford.edu>
2539
2540 * mh-index.el (mh-index-update-single-msg)
2541 (mh-index-create-sequences): Handle the situation where there are
2542 copies of the exact same message correctly.
2543
2544 2003-07-15 Satyaki Das <satyakid@stanford.edu>
2545
2546 * mh-seq.el (mh-thread-update-scan-line-map): Modified since
2547 notation is already a character.
2548
2549 * mh-utils.el (mh-note-seq): Convert from string to character.
2550 (mh-notate): Modified since characters are used to notate instead
2551 of strings of length one.
2552
2553 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Convert
2554 from string to characters.
2555
2556 * mh-e.el (mh-note-deleted, mh-note-refiled, mh-note-cur): Same as
2557 above (closes SF #770772).
2558 (mh-unmark-all-headers): Modified since mh-note-* variables are
2559 now characters.
2560 (mh-remove-sequence-notation): The mh-notate function remembers
2561 the previous notation. Before the change to the mh-note-*
2562 variables, mh-notate would only remember the change if a string
2563 was used to notate the message. Now mh-notate is always called
2564 with a character notation. So the deletion has to take place
2565 explicitly.
2566
2567 2003-06-28 Bill Wohler <wohler@newt.com>
2568
2569 * mh-mime.el (mh-mhn-directive-present-p): If shell comments are
2570 present that have a space after the # but no content, then this
2571 function would throw an error. This has been fixed (closes SF
2572 #762458).
2573
2574 2003-06-27 Satyaki Das <satyakid@stanford.edu>
2575
2576 * mh-index.el (mh-index-search): Use the new and improved
2577 mh-index-new-folder.
2578 (mh-index-new-folder): Improved so that redoing the same search
2579 will reuse the old index folder.
2580 (mh-index-folder-search-regexp): New function which that extracts
2581 out the search expression that produced the index folder.
2582
2583 2003-06-24 Bill Wohler <wohler@newt.com>
2584
2585 * mh-e.el (Version, mh-version): Set to 7.4.1+cvs.
2586
2587 2003-06-25 Bill Wohler <wohler@newt.com>
2588
2589 Released MH-E version 7.4.1.
2590
2591 * MH-E-NEWS, README: Updated for release 7.4.1.
2592
2593 * mh-e.el (Version, mh-version): Updated for release 7.4.1.
2594
2595 2003-06-25 Bill Wohler <wohler@newt.com>
2596
2597 * mh-unit.el (require 'cl): Added. Needed when compiling
2598 separately.
2599
2600 * Makefile (clean): Now a double-colon rule. Added a second clean
2601 target to remove mh-unit.elc.
2602 (compile): Removed mh-unit.elc.
2603 (mh-unit.elc): New target used to compile mh-unit.
2604
2605 2003-06-24 Bill Wohler <wohler@newt.com>
2606
2607 * mh-e.el (Version, mh-version): Set to 7.4+cvs.
2608
2609 2003-06-24 Bill Wohler <wohler@newt.com>
2610
2611 Released MH-E version 7.4.
2612
2613 * MH-E-NEWS, README: Updated for release 7.4.
2614
2615 * mh-e.el (Version, mh-version): Updated for release 7.4.
2616
2617 2003-06-24 Bill Wohler <wohler@newt.com>
2618
2619 * mh-alias.el (mh-alias-gecos-name, mh-alias-local-users)
2620 (mh-alias-suggest-alias): s/gcos/gecos. The original acronym was
2621 GECOS but was later renamed to GCOS (see
2622 http://info.astrian.net/jargon/terms/g/GCOS.html). But the term
2623 really needs to match the field named pw_gecos in struct passwd in
2624 /usr/include/pwd.h
2625
2626 * mh-customize.el (mh-letter-faces): New group to house
2627 mh-letter-header-field-face.
2628 (mh-interpret-number-as-range-flag)
2629 (mh-kill-folder-suppress-prompt-hook): Use "you" instead of "the
2630 user" to make text more friendly.
2631 (mh-index-ticked-messages-folders, mh-visible-headers)
2632 (mh-visible-header-fields): Alphabetized.
2633 (mh-alias-passwd-gcos-comma-separator-flag): Alphabetized and
2634 s/gcos/gecos.
2635 (mh-alias-local-users-prefix): Fixed docstring. Prefixes are
2636 prepended, not appended. Additional checkdoc fix.
2637 (mh-letter-header-field-face): Set group to new group
2638 mh-letter-faces and moved option into this group.
2639
2640 * mh-index.el (mh-index-sequenced-messages): Improved wording of
2641 docstring and mentioned use of prefix argument.
2642
2643 * mh-seq.el (mh-widen): Made docstring more accurate (hopefully!).
2644
2645 2003-06-18 Satyaki Das <satyakid@stanford.edu>
2646
2647 * mh-index.el (mh-replace-string): Modified to preserve case of
2648 replacement text.
2649 (mh-index-parse-search-regexp): Preserve case of search terms.
2650 This is needed to take advantage of the acronym indexing in
2651 swish++ (closes SF #755718).
2652
2653 2003-06-13 Satyaki Das <satyakid@stanford.edu>
2654
2655 * mh-utils.el (mh-show-index-sequenced-messages): Interactive
2656 function callable from the show buffer.
2657 (mh-show-folder-map): Add key binding for "F q".
2658
2659 * mh-e.el (mh-folder-map): Same as above.
2660
2661 * mh-index.el (mh-index-sequenced-messages): Add interactive spec
2662 to the function (closes SF #718833).
2663
2664 2003-06-13 Bill Wohler <wohler@newt.com>
2665
2666 * mh-index.el (mh-flists-execute): Needed to expand mhpath too.
2667
2668 2003-06-12 Satyaki Das <satyakid@stanford.edu>
2669
2670 * mh-index.el (mh-flists-execute): Modified so that flists
2671 present in mh-progs is called.
2672
2673 2003-06-07 Jeffrey C Honig <jch@honig.net>
2674
2675 * mh-comp.el (mh-forward, mh-forward): Use (mh-mail-header-end) to
2676 find the end of headers instead of doing an re-search-forward
2677 based on mh-mail-header-separator.
2678
2679 2003-06-06 Satyaki Das <satyakid@stanford.edu>
2680
2681 * mh-comp.el (mh-letter-toggle-header-field-display): Make the
2682 function callable from the show buffer. This means that the
2683 buffer is temporarily made writable and the modification status
2684 of the buffer restored to the original value.
2685
2686 2003-06-06 Peter S Galbraith <psg@debian.org>
2687
2688 * mh-utils.el (mh-address-mail-regexp): Bug fix! It wasn't a true
2689 copy of the goto-addr variable. My modification only recognized
2690 addresses with one dot after the @. Sorry about that.
2691
2692 2003-06-05 Satyaki Das <satyakid@stanford.edu>
2693
2694 * mh-utils.el (mh-replace-in-string): Move comment into doc
2695 string to satisfy checkdoc.
2696
2697 * mh-alias.el (mh-alias-apropos): Checkdoc fix.
2698
2699 2003-06-05 Bill Wohler <wohler@newt.com>
2700
2701 * mh-customize.el (mh-identity-list): Fixed typo in docstring.
2702
2703 2003-06-05 Peter S Galbraith <psg@debian.org>
2704
2705 * mh-comp.el (mh-letter-complete-function-alist): Add bcc an reply-to.
2706
2707 2003-06-04 Peter S Galbraith <psg@debian.org>
2708
2709 * mh-comp.el (mh-letter-complete-function-alist): Add dcc.
2710
2711 2003-06-03 Peter S Galbraith <psg@debian.org>
2712
2713 * mh-utils.el (mh-replace-in-string): New function name instead of
2714 `dired-replace-in-string'.
2715 * mh-alias.el (mh-alias-gcos-name): Use it.
2716
2717 * mh-alias.el (mh-alias-apropos): New command. Show all aliases
2718 that match REGEXP either in name or content.
2719
2720 * mh-alias.el (mh-alias-suggest-alias): Add no-comma-swap optional
2721 arg.
2722 (mh-alias-canonicalize-suggestion): Change a comma to a period in
2723 created aliases.
2724 (mh-alias-local-users): Call `mh-alias-suggest-alias' with
2725 `no-comma-swap' arg set to t.
2726
2727 * mh-alias.el (mh-alias-local-users): Fix case of nil
2728 `mh-alias-passwd-gcos-comma-separator-flag'.
2729
2730 * mh-alias.el (mh-alias-gcos-name): Fix for case of empty gcos
2731 name field.
2732 (mh-alias-local-users): Fix same.
2733
2734 * mh-alias.el (mh-alias-canonicalize-suggestion): Replace use by
2735 verbose `replace-regexp' by a looped `replace-match'
2736
2737 2003-06-02 Peter S Galbraith <psg@debian.org>
2738
2739 * mh-utils.el (dired-replace-in-string): Bind if not already
2740 defined. Borrowed from dired.el
2741
2742 * mh-alias.el (mh-alias-gcos-name): switch to using
2743 dired-replace-in-string.
2744
2745 2003-06-02 Satyaki Das <satyakid@stanford.edu>
2746
2747 * mh-utils.el (mh-letter-font-lock-keywords): Fontify header
2748 fields in the draft buffer that aren't skipped when navigating
2749 with TAB (or S-TAB).
2750
2751 * mh-customize.el (mh-clean-message-header-flag)
2752 (mh-invisible-headers, mh-invisible-header-fields)
2753 (mh-alias-passwd-gcos-comma-separator-flag): Checkdoc fix.
2754 (mh-letter-header-field-face): New face to fontify the header
2755 fields.
2756
2757 * mh-comp.el (mh-insert-auto-fields-done-local): Checkdoc fix.
2758 (mh-letter-mode, mh-letter-mail-header-end-marker): Remember the
2759 end of the message header in a marker. This is used to fontify the
2760 header fields.
2761 (mh-font-lock-field-data, mh-letter-header-end): Functions used
2762 to fontify message header fields.
2763
2764 * mh-alias.el (mh-alias-gcos-name): Checkdoc fix.
2765
2766 2003-06-02 Peter S Galbraith <psg@debian.org>
2767
2768 * mh-alias.el (mh-alias-gcos-name): New function. Return a usable
2769 address string from a GCOS-NAME and USERNAME.
2770 (mh-alias-local-users): Use it.
2771
2772 * mh-customize.el (mh-alias-passwd-gcos-comma-separator-flag): New
2773 defcustom. Whether the gcos field in the passwd file uses comma as
2774 a separator.
2775
2776 * mh-customize.el (mh-alias-local-users-prefix): New
2777 defcustom. String to append to the real names of users from the
2778 passwd file. If nil, use the username string unmodified instead of
2779 the real name from the gcos field of the passwd file.
2780
2781 * mh-alias.el (mh-alias-local-users): Use it to generate aliases
2782 which by default are now the real name prefixed by "local."
2783
2784 2003-06-01 Peter S Galbraith <psg@debian.org>
2785
2786 * mh-comp.el (mh-modify-header-field): Bug fix. Calling with with
2787 a value that was already inserted causes it to get inserted a
2788 second time. I have wrapped the value around \b word delimiters.
2789 Hope there are no side effects for other code.
2790
2791 * mh-comp.el (mh-insert-auto-fields): Attempt regardless of
2792 `mh-insert-auto-fields-done-local' flag in interactive use.
2793
2794 * mh-comp.el (mh-insert-auto-fields-done-local): Keep track of
2795 whether `mh-insert-auto-fields' was called in a buffer.
2796 (mh-insert-auto-fields): Set it and use it. Also, don't enter an
2797 identity if one was already entered manually.
2798 (mh-send-letter): Call `mh-insert-auto-fields' again when sending
2799 message.
2800 (mh-compose-and-send-mail): Call `mh-insert-auto-fields' _after_
2801 `mh-letter-mode' so `mh-identity-local' doesn't get cleared by the
2802 mode invocation.
2803
2804 2003-06-01 Satyaki Das <satyakid@stanford.edu>
2805
2806 * mh-loaddefs.el: Regenerated.
2807
2808 * mh-seq.el (mh-thread-parse-scan-line): The value of
2809 mh-scan-field-from-start-offset was hardcoded in one place. The
2810 change fixes that.
2811
2812 * mh-utils.el (mh-show-mode): Setup mh-show-mode to display
2813 elipsis for truncated header fields and to skip over them quickly.
2814 (mh-clean-msg-header): Make another pass over the message header
2815 fields truncating long headers.
2816
2817 * mh-comp.el (mh-letter-complete): Remove unnecessary autoload.
2818 (mh-letter-toggle-header-field-display): Take into account that
2819 an empty line can also end the message header. The function was
2820 originally written with the draft buffer in mind.
2821
2822 2003-06-01 Mark D. Baushke <mdb@gnu.org>
2823
2824 * mh-comp.el (mh-letter-mode-map): Do not steal C-t. Use C-c C-t
2825 for the mh-letter-toggle-header-field-display command.
2826
2827 2003-05-31 Peter S Galbraith <psg@debian.org>
2828
2829 * mh-customize.el (mh-visible-headers): Changed to a defvar that
2830 will be set using new `mh-visible-headers' function using
2831 `mh-visible-header-fields' as input.
2832 (mh-visible-headers): New function, described above.
2833 (mh-visible-header-fields): New defcustom. The UI to set
2834 `mh-visible-headers'.
2835 (mh-invisible-header-fields-set): Deleted. Code merged into
2836 defcustom since it's so short.
2837
2838 2003-05-31 Satyaki Das <satyakid@stanford.edu>
2839
2840 * mh-comp.el (mh-letter-toggle-header-field-display): Extended to
2841 truncate headers if they are too long.
2842 (mh-letter-truncate-header-field): Make code that would be
2843 duplicated into a function.
2844 (mh-letter-hide-all-skipped-fields): Modified so that fields that
2845 are important are hidden if they are too long.
2846
2847 2003-05-31 Satyaki Das <satyakid@stanford.edu>
2848
2849 * mh-utils.el ("tool-bar"): Since tool-bar isn't available on
2850 XEmacs, requiring it causes problems. So load it instead.
2851 (mh-do-at-event-location): New macro to do stuff at location of
2852 events. This has been refactored out of mh-push-button.
2853
2854 * mh-mime.el (mh-push-button): Simplified since it now uses the
2855 mh-do-at-event-location macro.
2856
2857 * mh-comp.el (mh-hidden-header-keymap): Keymap to make mouse
2858 clicks on header toggle its display.
2859 (mh-letter-toggle-header-field-display-button): Interactive
2860 function to toggle header display when mouse button is clicked.
2861
2862 2003-05-31 Peter S Galbraith <psg@debian.org>
2863
2864 * mh-e.el (mh-folder-mode): Remove conditional on tool-bar-mode.
2865
2866 * mh-comp.el (mh-letter-mode): Same.
2867
2868 * mh-utils.el (mh-show-mode): Same.
2869
2870 2003-05-30 Satyaki Das <satyakid@stanford.edu>
2871
2872 * mh-utils.el (tool-bar): Load tool-bar explicitly. This avoids
2873 problems with incorrect initialization of tool-bar-map otherwise.
2874
2875 2003-05-30 Peter S Galbraith <psg@mixed.dyndns.org>
2876
2877 * mh-comp.el (mh-modify-header-field): Minor fix of spaces for
2878 when an entry already existed.
2879 (mh-insert-auto-fields): Make interactive. Add optional `quiet'
2880 arg for use when called systematically on every buffer. Won't be
2881 used interactively for more verbose output.
2882 (mh-letter-mode-map): Add \C-c\M-d keybinding for
2883 mh-insert-auto-fields.
2884
2885 * mh-identity.el (mh-identity-make-menu): Add a menu entry in
2886 Identity menu for mh-insert-auto-fields.
2887
2888 * mh-customize.el (mh-invisible-header-fields): Add entries for
2889 `Envelope-to' and `X-Original-To'.
2890
2891 2003-05-30 Satyaki Das <satyakid@stanford.edu>
2892
2893 * mh-comp.el (mh-letter-mode): Skip over invisible text quickly.
2894
2895 2003-05-30 Satyaki Das <satyakid@stanford.edu>
2896
2897 * mh-comp.el (mh-letter-mode): Use text properties to achieve
2898 invisibility. This is more portable and the same code can be used
2899 for all Emacs versions.
2900 (mh-letter-toggle-header-field-display): Rewritten to use text
2901 properties.
2902 (mh-dead-overlay-p, mh-letter-hidden-header-fields)): Removed.
2903
2904 2003-05-29 Satyaki Das <satyakid@stanford.edu>
2905
2906 * mh-comp.el (mh-letter-hidden-header-fields, mh-letter-mode): Add
2907 a hash table, initialized it in mh-letter-mode, to remember the
2908 overlays introduced to hide long headers fields.
2909 (mh-insert-x-mailer): checkdoc fix.
2910 (mh-compose-and-send-mail): Hide unimportant message header
2911 fields.
2912 (mh-letter-header-field-regexp, mh-letter-header-field-at-point)
2913 (mh-letter-next-header-field, mh-letter-previous-header-field):
2914 Add a variable that contains the header-field name regexp and use
2915 it instead of the regexp directly.
2916 (mh-letter-toggle-header-field-display, mh-letter-mode-map): Add
2917 new key binding in mh-letter-mode that toggles display of long
2918 header fields, in mh-letter-mode.
2919 (mh-dead-overlay-p): A predicate which checks if a given header
2920 field has an active overlay hiding it.
2921 (mh-letter-hide-all-skipped-fields): New function that shortens
2922 uninteresting headers.
2923
2924 2003-05-29 Eric Ding <ericding@acorn.bethesda.net>
2925
2926 * mh-comp.el (mh-letter-next-header-field-or-indent): Call
2927 indent-relative rather than indent-for-tab-command.
2928
2929 2003-05-29 Satyaki Das <satyakid@stanford.edu>
2930
2931 * mh-comp.el (mh-letter-complete-or-space): The meaning of the
2932 customizable variable was reversed. Also make the doc string more
2933 accurate.
2934
2935 2003-05-28 Satyaki Das <satyakid@stanford.edu>
2936
2937 * mh-customize.el (mh-compose-skipped-header-fields): New
2938 customizable variable that lists headers that are skipped.
2939 (mh-compose-space-does-completion-flag): Option to do completion
2940 with space (closes SF #745634).
2941
2942 * mh-comp.el (mh-insert-x-mailer): Check the value of
2943 mh-insert-x-mailer-flag in this function instead of in its caller.
2944 (mh-compose-and-send-mail, mh-send-letter): Insert X-Mailer and
2945 X-Face headers when the draft is first presented to the user
2946 instead of when the mail is sent (closes SF #745624).
2947 (mh-letter-complete-or-space): Allow for this key binding to be
2948 overridden.
2949 (mh-letter-next-header-field): Fix a problem with multiline header
2950 fields.
2951 (mh-letter-next-header-field, mh-letter-previous-header-field):
2952 Make these functions skip unwanted header fields.
2953 (mh-letter-skipped-header-field-p): New predicate that checks if a
2954 header field is to be skipped.
2955
2956 * mh-seq.el (mh-thread-inc): Inc'ing email in threaded mode was
2957 causing duplication of the current notation. The change fixes that.
2958
2959 2003-05-28 Satyaki Das <satyakid@stanford.edu>
2960
2961 * mh-comp.el (mh-beginning-of-word): Generalize it to skip
2962 arbitrary number of words.
2963 (mh-letter-complete-or-space): New interactive function that
2964 allows space character to be used for completion.
2965 (mh-letter-mode-map): Add key binding to allow space to be used
2966 for completion.
2967
2968 2003-05-27 Satyaki Das <satyakid@stanford.edu>
2969
2970 * mh-customize.el (mh-compose-prompt-flag): Customizable variable
2971 that controls whether the user is prompted when composing a draft.
2972 It replaces mh-dont-prompt-for-address-flag (closes SF #745622).
2973
2974 * mh-comp.el (mh-letter-next-header-field): If the point is in
2975 the header field name, then go the start of the header field
2976 instead of the next field.
2977 (mh-interactive-read-address, mh-interactive-read-string)
2978 (mh-letter-adjust-point): Use mh-compose-prompt-flag instead of
2979 mh-dont-prompt-for-address-flag.
2980
2981 2003-05-27 Satyaki Das <satyakid@stanford.edu>
2982
2983 * mh-customize.el (mh-tool-bar-define): Fix incorrect usage of
2984 set-specifier (closes SF #745655). Also the button enabling code
2985 interacts poorly with font-lock in XEmacs. So disable that.
2986
2987 2003-05-26 Satyaki Das <satyakid@stanford.edu>
2988
2989 * mh-e.el (mh-folder-from-address): The function
2990 message-fetch-field expects that the buffer is narrowed to the
2991 mail header. The change makes sure that this is indeed the case.
2992
2993 * mh-mime.el (mh-add-missing-mime-version-header)
2994 (mh-decode-message-body): Same as above.
2995
2996 2003-05-25 Satyaki Das <satyakid@stanford.edu>
2997
2998 * mh-alias.el (mh-alias-minibuffer-confirm-address): Modified to
2999 use mh-beginning-of-word.
3000
3001 * mh-comp.el (mh-letter-confirm-address): Calling
3002 mh-alias-reload-maybe can be expensive. So do it only if we really
3003 need to.
3004
3005 2003-05-25 Satyaki Das <satyakid@stanford.edu>
3006
3007 * mh-loaddefs.el: Regenerated.
3008
3009 * mh-comp.el (mh-letter-confirm-address): Load aliases if not yet
3010 loaded.
3011
3012 * mh-alias.el (mh-alias-reload-maybe): Autoload it since it is
3013 used in mh-comp.el.
3014
3015 2003-05-24 Satyaki Das <satyakid@stanford.edu>
3016
3017 * mh-comp.el (mh-letter-skip-leading-whitespace-in-header-field):
3018 New function to skip leading space and tab characters when placing
3019 point in a header field.
3020 (mh-letter-next-header-field, mh-letter-previous-header-field):
3021 Skip leading whitespace when using TAB to navigate to header
3022 fields.
3023 (mh-letter-confirm-address): New interactive function that
3024 displays the last expansion of the last alias when "," is typed.
3025 (mh-letter-mode-map): Add key binding for "," (closes SF #745634).
3026
3027 2003-05-23 Satyaki Das <satyakid@stanford.edu>
3028
3029 * mh-comp.el (mh-edit-again, mh-forward, mh-send)
3030 (mh-send-other-window, mh-send-sub): Modified so that if
3031 mh-dont-prompt-for-address-flag is non-nil, then MH-E won't prompt
3032 for addresses to send mail to and instead directly jump to the
3033 draft (closes SF #745622).
3034 (mh-letter-complete-function-alist): An alist that is used to
3035 decide which completion function to use in which header. This
3036 variable should probably be customizable.
3037 (mh-letter-complete): Now uses mh-letter-complete-function-alist.
3038 (mh-letter-header-field-at-point, mh-letter-next-header-field)
3039 (mh-letter-next-header-field-or-indent)
3040 (mh-letter-previous-header-field): Commands for easier navigation
3041 to header fields.
3042 (mh-dont-prompt-for-address-flag): Variable which controls
3043 whether MH-E prompts for addresses.
3044 (mh-interactive-read-address, mh-interactive-read-string): Two
3045 functions to ask user for input depending on the value of the
3046 above flag.
3047 (mh-letter-adjust-point): New function that sets point to the
3048 first header field.
3049 (mh-letter-mode-map): Add key bindings for TAB and S-TAB (closes
3050 SF #745627).
3051
3052 2003-05-23 Satyaki Das <satyakid@stanford.edu>
3053
3054 * mh-loaddefs.el: Regenerated.
3055
3056 * mh-comp.el (mh-complete-word): New function which is
3057 approximately equivalent to mail-abbrev-complete-alias.
3058 (mh-beginning-of-word): Refactor repeated code into its own
3059 function.
3060 (mh-folder-expand-at-point): Make Fcc completion work in XEmacs
3061 by not using mail-abbrev-complete-alias.
3062
3063 * mh-alias.el (mh-alias-letter-expand-alias): Make alias
3064 expansion work in XEmacs. Replace the use of the function
3065 mail-abbrev-complete-alias, which isn't present in XEmacs.
3066
3067 * mh-mime.el (mh-mml-to-mime): If a MIME message is created
3068 immediately after starting MH-E then invoking mh-mml-to-mime
3069 causes an error because "message" isn't being loaded. The change
3070 works around this problem.
3071 (mh-mime-maybe-display-alternatives): Give better indication of
3072 which MIME parts are alternatives.
3073
3074 2003-05-22 Satyaki Das <satyakid@stanford.edu>
3075
3076 * mh-e.el (mh-add-sequence-notation, mh-remove-sequence-notation):
3077 Just delete and add the same character in the scan line to make
3078 font-lock refontify it. The previous trick of removing all text
3079 properties didn't work in XEmacs.
3080
3081 * mh-seq.el (mh-put-msg-in-seq): Complain if the user tries to
3082 create an invalid MH sequence.
3083
3084 * mh-mime.el (mh-mime-display-alternative): Modified to
3085 optionally display alternatives as buttons.
3086 (mh-mime-maybe-display-alternatives): New function which displays
3087 alternative MIME parts as buttons.
3088 (mh-mime-save-part): Initially mh-mime-save-parts-directory is
3089 nil and calling file-name-as-directory with nil arg leads to an
3090 error. So fall back on the default-directory in that case.
3091
3092 * mh-customize.el (mh-display-buttons-for-alternatives-flag): New
3093 customizable variable that controls display of the alternative
3094 MIME parts (closes SF #741288).
3095
3096 2003-05-22 Peter S Galbraith <psg@debian.org>
3097
3098 * mh-customize.el (mh-invisible-header-fields): Commented out
3099 "User-Agent:". It's similar to X-Mailer, so display it.
3100
3101 2003-05-21 Satyaki Das <satyakid@stanford.edu>
3102
3103 * mh-customize.el (mh-tool-bar-define): Add an optional argument
3104 to the button description that can dynamically enable/disable
3105 buttons.
3106 (mh-tool-bar-define): The alias grabbing button is disabled if the
3107 current message doesn't have a From header or if the sender is
3108 already in the user's alias. This functionality was inadvertently
3109 lost when the Emacs/XEmacs toolbar unification took place.
3110
3111 2003-05-20 Satyaki Das <satyakid@stanford.edu>
3112
3113 * mh-unit.el (mh-unit-construct-call-graph): Be more aggressive
3114 and flag interactive functions that aren't autoloaded or have no
3115 key bindings.
3116 (mh-unit-interactive-function-p): Remove now unused function.
3117 (mh-unit, mh-unit-construct-call-graph): Replace mh-files with
3118 mh-unit-files.
3119
3120 2003-05-20 Bill Wohler <wohler@newt.com>
3121
3122 * mh-unit.el (mh-prune-trailing-spaces): Renamed to
3123 mh-unit-prune-trailing-spaces to clean up the namespace.
3124 (mh-files): Renamed to mh-unit-files. Ditto.
3125 (mh-unit): Checkdoc fix.
3126
3127 * mh-index.el (mh-index-p): Added autoload cookie since mh-index-p
3128 is used by mh-customize.el. This calls for another mh-unit test
3129 that looks for mh-autoloads for functions that are no longer used
3130 in other files.
3131
3132 * mh-loaddefs.el: Regenerated.
3133
3134 2003-05-20 Satyaki Das <satyakid@stanford.edu>
3135
3136 * mh-unit.el (mh-unit-construct-call-graph): Factor out the code
3137 to read the lisp files to a separate function. Also change it to
3138 construct a function call-graph. Autoloaded functions are taken
3139 into account.
3140 (mh-unit-find-all-used-functions, mh-unit-called-functions)
3141 (mh-unit-find-all-unused-functions): Find all unused functions by
3142 computing a fixed point starting from the set of top level
3143 functions.
3144 (mh-unit-analyze-block): Removed.
3145 (mh-unit-update-call-graph): mh-unit-functions-called was renamed
3146 with modifications to update the function call graph.
3147
3148 2003-05-19 Satyaki Das <satyakid@stanford.edu>
3149
3150 * mh-loaddefs.el: Regenerated.
3151
3152 * mh-utils.el (mh-notate): Modified to keep track of notation
3153 that was replaced when sequence notation is added. Thus when the
3154 sequence is deleted, the original notation is recovered.
3155 (mh-add-msgs-to-seq): Modified to work with the new sequence
3156 notation code.
3157
3158 * mh-seq.el (mh-delete-seq, mh-put-msg-in-seq): Simplified since
3159 we don't need to handle tick and unseen sequences specially any
3160 more.
3161 (mh-narrow-to-seq): Don't need to call mh-notate-user-sequences
3162 since mh-copy-seq-to-eob already does that.
3163 (mh-widen): Remove sequence notation, so that notation when
3164 messages are replied to aren't lost.
3165 (mh-copy-seq-to-eob): Simplified with the use of
3166 mh-iterate-on-range.
3167 (mh-thread-inc): This function doesn't need to notate user
3168 sequences since its callers already do that.
3169 (mh-thread-parse-scan-line): Simplified since mh-note-seq doesn't
3170 appear in scan lines it is given as arguments.
3171 (mh-thread-update-scan-line-map): Remove the test, since its
3172 caller already does the required check.
3173 (mh-thread-folder): Simplified by the use of mh-iterate-on-range.
3174 (mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick):
3175 These functions aren't needed any more, since overlays aren't used
3176 any more. Also overlays aren't portable to XEmacs, so nasty
3177 conditional code that used overlays in Emacs and extents in Xemacs
3178 have been eliminated.
3179 (mh-toggle-tick): Generalize it to work on a range of messages
3180 like the other interactive messages.
3181
3182 * mh-funcs.el (mh-undo-folder): Use mh-remove-all-notation
3183 instead of mh-unmark-all-headers.
3184
3185 * mh-e.el (mh-folder-font-lock-keywords): The entry for unseen
3186 sequence highlighting is now done by the macro.
3187 (mh-generate-sequence-font-lock): New macro to highlight any
3188 arbitrary sequence. This macro is invoked twice to get the
3189 highlighting for unseen and tick sequences.
3190 (mh-sequence-notation-history, mh-folder-mode): New variable that
3191 keeps track of the old notation when a message is notated with
3192 mh-note-seq.
3193 (mh-regenerate-headers, mh-get-new-mail): Add appropriate calls to
3194 mh-notate-user-sequences and mh-remove-all-notation.
3195 (mh-unmark-all-headers): Add comment that this function shouldn't
3196 be used any more.
3197 (mh-add-sequence-notation, mh-remove-sequence-notation): New
3198 functions to notate message with mh-note-seq and to remove it.
3199 (mh-remove-all-notation): Simplified to use mh-iterate-on-range.
3200 (mh-process-commands): Use mh-remove-all-notation instead of
3201 mh-unmark-all-headers.
3202 (mh-notate-user-sequences, mh-delete-msg-from-seq): Simplified
3203 since the tick and unseen sequences don't need special handling
3204 any more.
3205 (mh-internal-seq): Make it possible to dynamically change what
3206 sequences are treated as internal (internal means font lock is
3207 used to highlight the sequence).
3208 (mh-clear-text-properties): Removed since it isn't needed
3209 anymore.
3210
3211 2003-05-19 Satyaki Das <satyakid@stanford.edu>
3212
3213 * mh-unit.el (mh-unit-analyze-block, mh-unit-interactive-function-p)
3214 (mh-unit-find-all-unused-functions): Change argument name bl to
3215 block.
3216
3217 2003-05-19 Satyaki Das <satyakid@stanford.edu>
3218
3219 * mh-unit.el (mh-unit-find-all-unused-functions): New interactive
3220 function to find all unused functions in MH-E.
3221 (mh-unit-analyze-block, mh-unit-interactive-function-p)
3222 (mh-unit-functions-called): Functions used by
3223 mh-unit-find-all-unused-functions do its job.
3224
3225 * Makefile (compile): Byte-compile mh-unit.el, since the analysis
3226 to find unused code runs faster when compiled.
3227
3228 2003-05-18 Satyaki Das <satyakid@stanford.edu>
3229
3230 * mh-loaddefs.el: Regenerated.
3231
3232 * mh-seq.el (mh-notate-deleted-and-refiled): Add autoload
3233 declaration since this function is used in mh-index.el.
3234
3235 * mh-e.el, mh-customize.el, mh-utils.el: Adjust require/provide
3236 statements so that mh-e.el isn't loaded twice.
3237
3238 2003-05-15 Satyaki Das <satyakid@stanford.edu>
3239
3240 * mh-utils.el (mh-defun-show-buffer): Arrange for the current
3241 line in the folder buffer to be highlighted even when we are in
3242 the show buffer.
3243
3244 2003-05-14 Satyaki Das <satyakid@stanford.edu>
3245
3246 * mh-seq.el (mh-read-range): Allow this to work on invalid
3247 sequences that only MH-E knows about.
3248
3249 * mh-index.el (mh-create-sequence-map, mh-index-add-to-sequence)
3250 (mh-index-delete-from-sequence): Don't consider sequences that
3251 aren't valid MH sequences.
3252
3253 * mh-e.el (mh-valid-seq-p): New predicate to check if a symbol
3254 could be a MH sequence.
3255 (mh-undefine-sequence, mh-define-sequence): Don't execute "mark"
3256 unless the sequence name is a valid MH sequence.
3257
3258 * mh-utils.el (mh-exec-cmd): In case an error happens in the
3259 call-process and non-strings are present in ARGS, then the error
3260 message isn't properly displayed. The change fixes this.
3261
3262 2003-05-14 Peter S Galbraith <psg@debian.org>
3263
3264 * mh-mime.el (mh-mime-save-part): Bug Fix: Make sure
3265 `mm-default-directory' gets a trailing "/" if
3266 `mh-mime-save-parts-directory' doesn't have one. Otherwise the
3267 default in the prompt of `mh-mm-save-part' will be wrong. Perhaps
3268 `mh-mm-save-part' needs to do this check itself.
3269
3270 2003-05-14 Satyaki Das <satyakid@stanford.edu>
3271
3272 * mh-index.el (mh-unpropagated-sequences): New function and
3273 variable to keep track of sequences that shouldn't be propagated.
3274 (mh-create-sequence-map, mh-index-add-to-sequence)
3275 (mh-index-delete-from-sequence): Use mh-unpropagated-sequences to
3276 stop changes to some sequences being reflected back to the source
3277 folders.
3278
3279 2003-05-13 Satyaki Das <satyakid@stanford.edu>
3280
3281 * mh-loaddefs.el: Regenerated.
3282
3283 * mh-e.el (mh-process-commands): Preserve sequences when messages
3284 are refiled (closes SF #737128).
3285
3286 * mh-index.el (mh-create-sequence-map)
3287 (mh-index-create-sequences): Refactor code that is reused into a
3288 new function.
3289
3290 * mh-customize.el (mh-refile-preserves-sequences-flag): New
3291 customizable flag that controls whether sequences are preserved
3292 when messages are refiled.
3293
3294 2003-05-13 Eric Ding <ericding@alum.mit.edu>
3295
3296 * mh-e.el (mh-scan-format): The argument for scan format files
3297 should be -form, not -format.
3298
3299 2003-05-13 Satyaki Das <satyakid@stanford.edu>
3300
3301 * mh-seq.el (mh-widen): The scan line map stack was not being
3302 properly updated when ALL-FLAG is non-nil. The change fixes that.
3303
3304 * mh-e.el (mh-reset-threads-and-narrowing): The change resets the
3305 scan line map stack.
3306
3307 2003-05-12 Satyaki Das <satyakid@stanford.edu>
3308
3309 * mh-loaddefs.el: Regenerated.
3310
3311 * mh-seq.el (mh-thread-scan-line-map-stack)
3312 (mh-thread-old-scan-line-map): Instead of the old scan line map,
3313 now we need to maintain a stack of scan line maps.
3314 (mh-narrow-to-seq): Modified so that multiple level of narrowings
3315 can be done. We now maintain a stack of old views instead of
3316 hiding the old scan lines. This makes it possible to have
3317 multiple levels of narrowings.
3318 (mh-widen): A optional prefix arg was added to allow undoing all
3319 narrowing.
3320 (mh-read-seq-default, mh-read-range): Don't use
3321 mh-narrowed-to-seq, since it doesn't exist any more.
3322 (mh-thread-initialize-hash, mh-thread-initialize): The
3323 mh-thread-initialize function has been refactored.
3324 (mh-thread-update-scan-line-map): Maintain notations in the stack
3325 of scan line maps.
3326 (mh-notate-tick, mh-toggle-tick): Simplified, since we don't have
3327 mh-narrowed-to-seq any more. This means there is a slight loss of
3328 functionality. Earlier if we narrowed to the tick sequence the
3329 ticked messages weren't highlighted. This feature isn't present
3330 any more.
3331
3332 * mh-e.el (mh-execute-commands, mh-reset-threads-and-narrowing)
3333 (mh-folder-sequence-menu, mh-get-new-mail): Use
3334 mh-folder-view-stack instead of the now removed
3335 mh-narrowed-to-seq.
3336 (mh-narrowed-to-seq, mh-tick-seq-changed-when-narrowed-flag):
3337 These variables have been removed.
3338 (mh-folder-view-stack): New variable to keep track of a stack of
3339 narrowings.
3340 (mh-execute-commands, mh-get-new-mail): Add extra argument to
3341 mh-widen so that all narrowings are undone.
3342
3343 * Makefile (MH-E-SRC, MH-E-OTHERS): Move mh-gnus.el from MH-E-SRC
3344 to MH-E-OTHERS so that it isn't byte compiled.
3345
3346 2003-05-10 Satyaki Das <satyakid@stanford.edu>
3347
3348 * mh-seq.el (mh-read-seq): Improve the function a bit by adding
3349 history to the sequence prompt.
3350
3351 2003-05-09 Satyaki Das <satyakid@stanford.edu>
3352
3353 * mh-gnus.el: New file that won't be byte-compiled. From now on
3354 having different Gnus versions at run-time and compile-time won't
3355 cause errors in MH-E.
3356
3357 * mh-mime.el (mh-small-show-buffer-p, mh-display-smileys)
3358 (mh-display-emphasis): Handle all legal values of
3359 font-lock-maximum-size. The existing code assumed didn't consider
3360 the case where it could be an alist.
3361 (mh-small-image-p): Simplified, so that aliasing XEmacs functions
3362 in Emacs isn't necessary any more.
3363 (mh-mm-display-part): Remove unnecessary call to fboundp. The
3364 mh-funcall-if-exists does that for us any way.
3365 (mh-defun-compat, gnus-local-map-property, mm-merge-handles)
3366 (mm-set-handle-multipart-parameter, mm-readable-p)
3367 (mm-long-lines-p, mm-keep-viewer-alive-p, mm-destroy-parts)
3368 (mh-mm-save-part, mm-handle-multipart-ctl-parameter): These
3369 compatibility functions have been moved to mh-gnus.el.
3370
3371 * Makefile (MH-E-SRC): Add mh-gnus.el.
3372
3373 * mh-seq.el (mh-narrow-to-header-field)
3374 (mh-current-message-header-field): Checkdoc fixes.
3375
3376 * mh-e.el (mh-undefine-sequence): Since mh-coalesce-msg-list
3377 returns a list, apply is needed.
3378
3379 2003-05-09 Noel Cragg <noel@red-bean.com> (tiny change)
3380
3381 * mh-junk.el (mh-spamassassin-blacklist): Separate "--local" and
3382 "--no-rebuild" arguments to call-process.
3383 [Patch committed by satyaki]
3384
3385 2003-05-08 Satyaki Das <satyakid@stanford.edu>
3386
3387 * mh-seq.el (mh-translate-range): Take into account differnt
3388 semantics of split-string in Emacs and XEmacs.
3389 (mh-read-pick-regexp, mh-narrow-to-from, mh-narrow-to-cc)
3390 (mh-narrow-to-to, mh-narrow-to-header-field)
3391 (mh-current-message-header-field, mh-narrow-to-range): New
3392 narrowing functions that can select messages based on different
3393 message headers.
3394
3395 * mh-utils.el (mh-show-limit-map): Add new narrowing functions
3396 callable from the show buffer.
3397
3398 * mh-e.el (mh-help-messages): Add help text for new functions.
3399 (mh-limit-map): Add new narrowing functions (closes SF #732823).
3400
3401 2003-05-07 Satyaki Das <satyakid@stanford.edu>
3402
3403 * mh-utils.el (mh-collect-folder-names): Use mh-exec-daemon to
3404 run flists. This means we don't have to remember to expand the MH
3405 executable in the mh-progs path.
3406 (mh-exec-cmd-daemon): Return the new process object produced.
3407
3408 2003-05-06 Satyaki Das <satyakid@stanford.edu>
3409
3410 * mh-e.el (mh-folder-font-lock-unseen): Use mh-seq-list to do
3411 unseen sequence highlighting instead of reading the .mh_sequences
3412 file from disk every time.
3413
3414 2003-05-05 Satyaki Das <satyakid@stanford.edu>
3415
3416 * mh-utils.el (mh-show-sequence-map): Add key binding for S'
3417 (closes SF #732825).
3418
3419 * mh-e.el (mh-sequence-map): Ditto.
3420 (mh-help-messages): Updated for S'.
3421
3422 2003-05-04 Satyaki Das <satyakid@stanford.edu>
3423
3424 * mh-index.el (mh-index-write-data): The with-temp-buffer macro
3425 is a bit better than write-file, so use that instead.
3426
3427 2003-05-03 Satyaki Das <satyakid@stanford.edu>
3428
3429 * mh-index.el (mh-index-update-maps, mh-index-search)
3430 (mh-index-sequenced-messages): Write index data to disk. This
3431 allows us to recover index folder information if Emacs is
3432 restarted, or the index folder is visited after the buffer has
3433 been killed (closes SF #701762).
3434 (mh-index-write-data, mh-index-read-data)
3435 (mh-index-write-hashtable, mh-index-read-hashtable): Functions to
3436 store and read index data information to disk.
3437 (mh-index-insert-folder-headers, mh-index-group-by-folder): We
3438 can no longer use object identity to compare strings, since they
3439 might have been read back from disk.
3440
3441 * mh-e.el (mh-index-data-file): New variable that stores the name
3442 of the file that keeps track of index folder data.
3443 (mh-make-folder): Read index folder data if available.
3444
3445 * mh-utils.el (mh-show, mh-summary-height, mh-modify): Make
3446 checkdoc happy.
3447
3448 * mh-seq.el (mh-tick-add-overlay): Rearrange code to make code
3449 more uniform.
3450
3451 * mh-loaddefs.el: Regenerated.
3452
3453 2003-05-02 Satyaki Das <satyakid@stanford.edu>
3454
3455 * mh-seq.el (mh-tick-add-overlay): If a message with a short scan
3456 line is ticked, then the highlighting didn't extend to the right
3457 margin. This change fixes that.
3458
3459 2003-05-01 Bill Wohler <wohler@newt.com>
3460
3461 * mh-e.el (mh-help-messages): Added brackets around / and
3462 downcased limit to be consistent with other commands with
3463 punctuation keybindings. Don't document aliases.
3464
3465 2003-05-01 Satyaki Das <satyakid@stanford.edu>
3466
3467 * mh-loaddefs.el: Regenerated.
3468
3469 * mh-seq.el (mh-read-range): Fix comment.
3470
3471 2003-04-30 Mark D. Baushke <mdb@gnu.org>
3472
3473 * mh-e.el (mh-help-messages): Better documentation for the F map.
3474
3475 2003-04-30 Satyaki Das <satyakid@stanford.edu>
3476
3477 * mh-utils.el (mh-find-path): Cache folder names so that
3478 folder name completion is always fast.
3479 (mh-flists-partial-line, mh-flists-process): Variables used for
3480 pre-caching folder names.
3481 (mh-collect-folder-names, mh-collect-folder-names-filter)
3482 (mh-populate-sub-folders-cache): Functions to pre-cache folder
3483 names.
3484 (mh-exec-cmd): Produce more info in *MH-E Log*.
3485
3486 * mh-index.el (mh-index-search): Call the correct function.
3487 (mh-index-sequenced-messages): If folders is nil, then all mail
3488 is searched. The change restores that.
3489
3490 2003-04-30 Peter S Galbraith <psg@debian.org>
3491
3492 * mh-customize.el (mh-summary-height): Move variable integer out
3493 of defcustom, and instead specify that `nil' means to calculate
3494 that size dynamically. Fixes SF #723267.
3495
3496 * mh-utils.el (mh-summary-height): New function. Return ideal
3497 mh-summary-height value for current frame height.
3498 (mh-show-msg): Use it.
3499
3500 2003-04-30 Mark D. Baushke <mdb@gnu.org>
3501
3502 * mh-index.el (mh-index-ticked-messages): Fix prompt and
3503 description string.
3504 (mh-index-new-messages): Ditto.
3505
3506 * mh-loaddefs.el: Regenerated.
3507
3508 * mh-index.el (mh-index-sequenced-messages): Renamed from
3509 mh-index-new-messages with minor argument change.
3510 (mh-index-new-messages): Implement by calling
3511 mh-index-sequenced-messages with the appropriate arguments.
3512 (mh-index-ticked-messages): New function. Does the same thing as
3513 mh-index-new-messages, but on its own set of folders and using the
3514 mh-tick-seq instead of mh-unseen-seq.
3515
3516 * mh-e.el (mh-folder-map): Add "F'" to the map for
3517 mh-index-ticked-messages.
3518 (mh-help-messages): Replace broken [t]hread with [n]ew messages.
3519
3520 * mh-customize.el (mh-index-ticked-messages-folders): New user
3521 customizable flag that controls the folders to be searched by
3522 mh-index-ticked-messages.
3523
3524 * mh-utils.el (mh-show-index-ticked-messages): Wrapper for
3525 mh-index-ticked-messages.
3526 (mh-show-folder-map): Add "F'" to the map for
3527 mh-index-ticked-messages.
3528
3529 2003-04-30 Satyaki Das <satyakid@stanford.edu>
3530
3531 * mh-index.el (mh-index-search): The old cur in the source folder
3532 might not exist. This could cause mh-exec-cmd to fail. So don't
3533 add an error message in that case.
3534
3535 2003-04-29 Satyaki Das <satyakid@stanford.edu>
3536
3537 * mh-e.el (mh-folder-from-address): Modified to allow multiple
3538 Cc: headers to work properly.
3539 (mh-inc-folder, mh-visit-folder): Fix an off by one error.
3540
3541 * mh-utils.el (mh-notate): Update the scan line map. This fixes a
3542 tiny bug. In threaded view, if a message is replied to then the
3543 message is notated with a "-". Now if inc is done then the "-"
3544 added is lost. The change fixes this.
3545
3546 * mh-seq.el (mh-translate-range): Use the correct function.
3547 (mh-thread-update-scan-line-map): New function that updates the
3548 scan line map when a message is notated.
3549
3550 2003-04-28 Satyaki Das <satyakid@stanford.edu>
3551
3552 * mh-index.el (mh-index-parse-search-regexp): Avoid compiler
3553 warning in GNU Emacs 21.3.
3554
3555 * mh-seq.el (mh-widen): Ditto.
3556
3557 2003-04-28 Satyaki Das <satyakid@stanford.edu>
3558
3559 * mh-customize.el (mh-interpret-number-as-range-flag): New user
3560 customizable flag that controls whether a single number, N is
3561 interpreted as the range last:N.
3562
3563 * mh-seq.el (mh-read-range): Generalize it for use when reading
3564 range to scan.
3565 (mh-interactive-range): Modified to use the new mh-read-range.
3566
3567 * mh-speed.el (mh-speed-view): Use mh-read-range instead of the
3568 now removed mh-read-msg-range function.
3569
3570 * mh-funcs.el (mh-pack-folder): Ditto.
3571
3572 * mh-e.el (mh-rescan-folder, mh-visit-folder): Ditto.
3573 (mh-read-msg-range): Removed.
3574
3575 * mh-loaddefs.el: Regenerated
3576
3577 2003-04-27 Satyaki Das <satyakid@stanford.edu>
3578
3579 * mh-loaddefs.el: Regenerated.
3580
3581 * mh-seq.el (mh-range-completion-function): Fix checkdoc warning.
3582 (mh-iterate-on-range): Mention that the macro can iterate over a
3583 MH message range too.
3584
3585 2003-04-27 Bill Wohler <wohler@newt.com>
3586
3587 * mh-unit.el (mh-unit): As it turns out, lm-crack-copyright has
3588 been updated to handle multiple-line copyrights in 21.3, so
3589 updated code to run lm-verify only if user has 21.3 or greater.
3590 Delete buffers after use, unless user already had buffer open.
3591
3592 2003-04-27 Satyaki Das <satyakid@stanford.edu>
3593
3594 * mh-loaddefs.el: Regenerated.
3595
3596 * mh-index.el (mh-index-search): The MH command "refile" changes
3597 cur. The change restores cur in source folders.
3598 (mh-index-new-messages): Use the appropriate arguments for
3599 mh-read-seq.
3600
3601 * mh-seq.el (mh-read-seq-default, mh-read-seq): Restore these
3602 functions to just read sequence names.
3603 (mh-range-seq-names, mh-range-history, mh-range-completion-map)
3604 (mh-range-completion-function, mh-read-range): New function which
3605 reads MH range with completion and history.
3606 (mh-interactive-range): Use mh-read-range instead of
3607 mh-read-seq-default.
3608 (mh-put-msg-in-seq): Change documentation about MH message range.
3609
3610 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Change
3611 documentation about MH message range.
3612
3613 * mh-funcs.el (mh-copy-msg, mh-print-msg): Ditto.
3614
3615 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion)
3616 (mh-refile-msg, mh-undo, mh-delete-msg-from-seq): Ditto.
3617
3618 * mh-comp.el (mh-forward): Ditto.
3619
3620 2003-04-26 Satyaki Das <satyakid@stanford.edu>
3621
3622 * mh-comp.el, mh-e.el, mh-funcs.el, mh-junk.el, mh-seq.el:
3623 Replace msg-or-seq with range everywhere.
3624
3625 * mh-loaddefs.el: Regenerated.
3626
3627 2003-04-25 Satyaki Das <satyakid@stanford.edu>
3628
3629 * mh-e.el (mh-index-sequence-search-flag, mh-folder-mode): New
3630 local variable to remember that a folder buffer contains results
3631 from a sequence search. This is needed so that "C-u F i" will work
3632 as expected.
3633 (mh-visit-folder): Create sequences in the index folder.
3634 (mh-process-commands, mh-delete-msg-from-seq): If speedbar is on
3635 then update the speedbar message counts immediately.
3636 (mh-delete-msg-from-seq): Make the code faster by calling "mark"
3637 just once. Also update source folder sequence if messages are
3638 being deleted from a sequence in an index folder.
3639 (mh-undefine-sequence): Simplified to remove the speedbar updating
3640 code. Also DTRT and don't change any sequence when called with an
3641 empty list of messages.
3642 (mh-refile-msg, mh-delete-msg): Move to next message only if the
3643 current message has been deleted or refiled, as the case may be.
3644
3645 * mh-utils.el (mh-show-msg): Update the message counts in the
3646 speedbar, if it is on, immediately.
3647 (mh-speed-flists-active-p, mh-speed-flists-inhibit-flag): A new
3648 flag has been added which inhibits updating of the speedbar. This
3649 is used to avoid needless speedbar updates when
3650 mh-execute-commands is called in index folders.
3651
3652 * mh-speed.el (mh-speed-flists): Extended so that multiple
3653 folders can be given as arguments. Also the code that kept track
3654 of the current folder, needed since flists adds an extra ?+ char
3655 at the end of the current folder name, wasn't entirely correct.
3656 That has also been fixed.
3657
3658 * mh-seq.el (mh-delete-seq, mh-put-msg-in-seq): Modified so that
3659 sequence in source folder is updated if we delete a sequence in an
3660 index folder.
3661 (mh-read-seq, mh-read-seq-default, mh-translate-range)
3662 (mh-interactive-msg-or-seq): The mh-interactive-msg-or-seq
3663 function can read in an arbitrary MH message range.
3664 (mh-iterate-on-msg-or-seq): The macro has been extended to work on
3665 a MH range.
3666 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
3667 (mh-subject-to-sequence-threaded, mh-thread-find-msg-subject): Fix
3668 the mh-subject-to-sequence function so that it will work in
3669 threaded folders too.
3670 (mh-tick-add-overlay): Fix a leak of overlays.
3671 (mh-toggle-tick): Ticking, or unticking, messages in the index
3672 folder is propagated to the source folders (closes SF #709664).
3673
3674 * mh-index.el (mh-flists-results-folder, mh-flists-sequence)
3675 (mh-flists-called-flag): New variables to implement searching for
3676 arbitrary sequences.
3677 (mh-index-generate-pretty-name): Updated so that folder names are
3678 generated for flists search that can take any sequence name.
3679 (mh-index-search): Since sequences are now properly maintained the
3680 unseen-flag argument isn't needed and hence removed. Also redoing
3681 a sequence search with "C-u F i" is handled correctly. Finally
3682 the speedbar is updated to reflect the new index folder created.
3683 (mh-index-create-sequences): New function that creates sequences
3684 in the index folder.
3685 (mh-index-matching-source-msgs, mh-index-execute-commands):
3686 Improved so that scan lines for refiled/deleted messages are
3687 removed from the source folders as well.
3688 (mh-index-add-to-sequence, mh-index-delete-from-sequence): New
3689 functions to update sequences in source folder to reflect changes
3690 in index folder.
3691 (mh-index-quote-for-shell): A utility function to that quotes
3692 characters with special meaning to /bin/sh.
3693 (mh-flists-execute, mh-index-new-messages): Updated to search for
3694 arbitrary sequences (closes SF #718833).
3695
3696 * mh-loaddefs.el: Regenerated.
3697
3698 2003-04-25 Bill Wohler <wohler@newt.com>
3699
3700 * mh-customize.el (mh-kill-folder-suppress-prompt-hook): New hook
3701 used by mh-kill-folder to suppress the prompt.
3702
3703 * mh-funcs.el (mh-kill-folder): Suppress prompt not if
3704 mh-index-data is non-nil, but if any functions in
3705 mh-kill-folder-suppress-prompt-hook return non-nil.
3706
3707 * mh-index.el (mh-index-p): New function with returns non-nil if
3708 the current folder was generated by an index search for use by
3709 mh-kill-folder-suppress-prompt-hook
3710
3711 * mh-unit.el (mh-unit): Commented out lm-verify step until code
3712 updated to handle split Copyright lines.
3713
3714 * mh-e.el (mh-version): Set to 7.3+cvs.
3715
3716 2003-04-24 Bill Wohler <wohler@newt.com>
3717
3718 Released MH-E version 7.3.
3719
3720 * MH-E-NEWS, README: Updated for release 7.3.
3721
3722 * mh-e.el (Version, mh-version): Updated for release 7.3.
3723
3724 2003-04-24 Satyaki Das <satyakid@stanford.edu>
3725
3726 * mh-xemacs-compat.el (mh-utils): Require mh-utils at compile
3727 time, since the mh-do-in-xemacs macro is used.
3728
3729 * mh-inc.el (cl): Require cl at compile time since we are using
3730 the loop and setf macros.
3731
3732 2003-04-24 Satyaki Das <satyakid@stanford.edu>
3733
3734 * mh-unit.el (mh-files): Fix the list of files to check.
3735
3736 2003-04-24 Bill Wohler <wohler@newt.com>
3737
3738 * ChangeLog: Appended copyright to end of file.
3739
3740 * Makefile: Added copyright and license.
3741
3742 * README: Added copyright.
3743
3744 * import-emacs: Changed copyright from Newt Software to Bill
3745 Wohler and use license from mh-e.el, except that this file is
3746 a part of MH-E, not GNU Emacs.
3747
3748 * mh-alias.el: Updated copyright so that it doesn't wrap upon
3749 advice from Richard Stallman who said to use two-digit years when
3750 they are surrounded by 4-digit years that are in the same century
3751 and to break up copyrights on multiple lines.
3752 * mh-comp.el: Ditto.
3753 * mh-e.el: Ditto.
3754 * mh-funcs.el: Ditto.
3755 * mh-identity.el: Ditto.
3756 * mh-mime.el: Ditto.
3757 * mh-seq.el: Ditto.
3758 * mh-utils.el: Ditto.
3759 * mh-xemacs-compat.el: Ditto.
3760
3761 * mh-unit.el: New file. Unit tests for MH-E. This version merely
3762 runs checkdoc and lm-verify which is useful before releasing the
3763 software. It can and should be expanded to do real unit tests.
3764
3765 2003-04-22 Mark D Baushke <mdb@gnu.org>
3766
3767 * mh-alias.el: Update Copyright.
3768 * mh-comp.el: Ditto.
3769 * mh-customize.el: Ditto.
3770 * mh-e.el: Ditto.
3771 * mh-funcs.el: Ditto.
3772 * mh-identity.el: Ditto.
3773 * mh-index.el: Ditto.
3774 * mh-mime.el: Ditto.
3775 * mh-pick.el: Ditto.
3776 * mh-seq.el: Ditto.
3777 * mh-speed.el: Ditto.
3778 * mh-utils.el: Ditto.
3779 * mh-xemacs-compat.el: Ditto.
3780
3781 2003-04-22 Satyaki Das <satyaki@theforce.stanford.edu>
3782
3783 * mh-utils.el (mh-normalize-folder-name): Make the completion
3784 code work properly with XEmacs. This change is neeeded since
3785 split-string behaves differently in XEmacs than it does in GNU
3786 Emacs.
3787 (mh-exec-cmd-error): Add a comment, so that we change it later on.
3788
3789 2003-04-18 Steve Youngs <youngs@xemacs.org>
3790
3791 * mh-xemacs-icons.el (mh-xemacs-icons): Provide 'mh-xemacs-icons'
3792 not 'mh-xemacs-toolbar'.
3793
3794 * mh-xemacs-compat.el (mh-xemacs-toolbar): Remove require, it's
3795 now called 'mh-xemacs-icons' and it is required from
3796 'mh-customize'.
3797
3798 * mh-customize.el: Require 'mh-xemacs-icons' instead of
3799 'mh-xemacs-toolbar'.
3800
3801 2003-04-17 Peter S Galbraith <psg@debian.org>
3802
3803 * mh-xemacs-icons.el: New file (renamed from mh-xemacs-toolbar.el).
3804 Holds XEmacs icons.
3805
3806 * mh-xemacs-toolbar.el: Deleted.
3807
3808 * Makefile: Incorporate the file renaming.
3809
3810 2003-04-15 Bill Wohler <wohler@newt.com>
3811
3812 * mh-comp.el (mh-forward): Pass a list of messages into
3813 mh-compose-and-send-mail instead of msg-or-seq.
3814 (mh-annotate-msg): The previous version called
3815 mh-iterate-on-msg-or-seq in the letter buffer. The new version
3816 simply adds the ability to operate on message lists. Thanks to
3817 Satyaki for the fix and suggestion for passing a list from
3818 mh-forward.
3819
3820 2003-04-14 Bill Wohler <wohler@newt.com>
3821
3822 * mh-comp.el (mh-annotate-msg): Updated to handle msg-or-seq for
3823 mh-forward was passing a msg-or-seq to mh-compose-and-send-mail
3824 which in turn passed the msg-or-seq to mh-annotate-msg. In
3825 particular, forwarding a region failed. Note that the msgs
3826 argument in much of mh-comp.el should really be converted to
3827 msg-or-seq accordingly. But not now, unless something is broken as
3828 was the case here. We can revamp after the release.
3829
3830 2003-04-13 Bill Wohler <wohler@newt.com>
3831
3832 * mh-funcs.el (mh-kill-folder): Added space after prompt to give
3833 the (yes or no) bit a little elbow room.
3834
3835 * mh-xemacs-toolbar.el: Removing a copyright is a no-no.
3836 Reinstated Steve's copyright.
3837
3838 2003-04-12 Satyaki Das <satyaki@theforce.stanford.edu>
3839
3840 * mh-utils.el (mh-do-in-gnu-emacs, mh-do-in-xemacs): Add
3841 indentation hooks for the macros.
3842
3843 2003-04-11 Bill Wohler <wohler@newt.com>
3844
3845 * mh-alias.el, mh-comp.el, mh-customize.el, mh-funcs.el,
3846 mh-identity.el, mh-inc.el, mh-index.el, mh-junk.el, mh-utils.el:
3847 Merged in changes from CVS GNU Emacs. These included the removal
3848 of trailing whitespace.
3849
3850 * mh-customize.el: The "anti-entropy" check-in. Moved groups
3851 around slightly to reflect commentary. Moved defcustoms around
3852 to preserve alphabetization. Big diff, little content.
3853 (mh-xemacs-use-toolbar-flag): Doc fix.
3854 (mh-xemacs-toolbar-position): Fixed typo in docstring.
3855 (mh-default-folder-list): Updated docstring to reflect new Check
3856 Recipient tag. Also, set type of Address to regexp.
3857 (mh-x-mailer-string): Moved to mh-comp.el where it is used.
3858
3859 * mh-comp.el (mh-x-mailer-string): Moved here from customize.el.
3860 Not quite sure how it got to mh-customize.el in the first place.
3861
3862 * mh-e.el (mh-folder-folder-menu): Added Folder -> View New
3863 Messages menu item.
3864
3865 * mh-utils.el (mh-show-folder-menu): Ditto.
3866
3867 * mh-inc.el: Added Change Log comment (lm-verify fix).
3868
3869 * mh-index.el (mh-index-search): Added documentation about prefix
3870 argument for users, in addition to documentation for programmers.
3871
3872 * mh-mime.el (mh-edit-mhn, mh-edit-mhn, mh-mml-to-mime): Docstring
3873 fixes germaine to the change whereby we now check for MIME
3874 directives before sending.
3875
3876 * mh-xemacs-toolbar.el: Fixed copyright. Added Change Log comment
3877 (lm-verify fix). Added standard MH-E local variables. Removed
3878 time-stamp stuff.
3879
3880 2003-04-11 Satyaki Das <satyaki@theforce.stanford.edu>
3881
3882 * mh-seq.el (mh-iterate-on-msg-or-seq): Add a missed comma.
3883
3884 2003-04-10 Satyaki Das <satyaki@theforce.stanford.edu>
3885
3886 * mh-index.el (mh-index-visit-folder): Prompt before reusing
3887 existing folder buffer.
3888
3889 * mh-xemacs-toolbar.el (require): Require mh-utils at compile
3890 time to avoid compilation error when doing "make bootstrap" in
3891 CVS Emacs.
3892
3893 * mh-inc.el (mh-inc-spool-list): Declare it so that a compile
3894 time warning is avoided when doing "make bootstrap" in CVS Emacs.
3895
3896 2003-04-10 Peter S Galbraith <psg@debian.org>
3897
3898 * mh-inc.el (mh-inc-spool-generator): Changed to a defun instead
3899 of a defmacro, applying Satyaki's patch.
3900 (mh-inc-spool-def-key): same.
3901 (mh-inc-spool-make): same.
3902
3903 * mh-utils.el: define-key "I" in mh-show-mode-map for
3904 mh-inc-spool-map.
3905
3906 * mh-comp.el (mh-modify-header-field): Remove debug message.
3907
3908 2003-04-10 Peter S Galbraith <psg@debian.org>
3909
3910 * mh-inc.el (mh-inc-spool-map-help): Default to nil.
3911 (mh-inc-spool-map): Make "?" key display message when
3912 `mh-inc-spool-map-help' is nil (instead of mh-inc-spool-map-help
3913 containing the message).
3914
3915 * mh-e.el: require mh-inc.el
3916 * mh-e.el: define-key "I" in mh-folder-mode-map for mh-inc-spool-map.
3917 (mh-help-messages): Add help string for "I" key.
3918
3919 2003-04-09 Peter S Galbraith <psg@debian.org>
3920
3921 * mh-inc.el: New file. New feature to `inc' mail from various
3922 spool files into different folders.
3923
3924 * mh-loaddefs.el: Regenerate for mh-inc's mh-inc-spool-list-set.
3925
3926 * Makefile (MH-E-IMG): Add highlight icon.
3927 (MH-E-SRC): Add mh-inc.el file.
3928
3929 * mh-customize.el (mh-inc-spool-list): New variable for new
3930 feature to `inc' mail from various spool files into different
3931 folders.
3932
3933 2003-04-09 Satyaki Das <satyaki@theforce.stanford.edu>
3934
3935 * mh-utils.el (mh-mail-delivery-buffer): Add a defconst for
3936 mh-mail-delivery-buffer.
3937
3938 * mh-comp.el (mh-send-letter): Use mh-mail-delivery-buffer.
3939
3940 * mh-mime.el (mh-small-image-p): Add mh-funcall-if-exists to
3941 avoid compiler warning in GNU Emacs.
3942
3943 2003-04-08 Satyaki Das <satyaki@theforce.stanford.edu>
3944
3945 * mh-mime.el (mh-small-image-p): Make the function slightly more
3946 error-resistant in XEmacs.
3947
3948 * mh-seq.el (mh-narrow-to-seq, mh-widen): Update tool-bar-map in
3949 the show buffer if needed. This allows us to display the widen
3950 button in the show buffer only when the folder is narrowed.
3951
3952 * mh-customize.el (mh-tool-bar-define): Changed so that a
3953 separate tool-bar-map is used in show-mode when folder is
3954 narrowed to a sequence.
3955
3956 2003-04-08 Satyaki Das <satyaki@theforce.stanford.edu>
3957
3958 * mh-seq.el (mh-iterate-on-msg-or-seq): Reinstate the use of
3959 make-symbol since using gensym causes compiler warnings in CVS
3960 Emacs.
3961
3962 2003-04-08 Bill Wohler <wohler@newt.com>
3963
3964 * mh-comp.el (mh-forward): Function didn't handle a region of
3965 messages. Use new function mh-msg-or-seq-to-msg-list to get a list
3966 of messages in all circumstances. Also, use mh-coalesce-msg-list
3967 on message list before submitting to forw since this should always
3968 be done when calling a program to reduce the chance of exceeding
3969 command-line limits.
3970
3971 * mh-seq.el (mh-iterate-on-msg-or-seq): Backed out previous
3972 change. A nil msg-or-seq should mean no messages, and Satyaki is
3973 going to use gensym instead of make-symbol.
3974 (mh-msg-or-seq-to-msg-list): New function to convert a msg-or-seq
3975 to a list of message numbers.
3976
3977 * mh-e.el (mh-coalesce-msg-list): Touched up the docstring a
3978 little.
3979
3980 * mh-funcs.el (mh-print-msg): Can now print regions, message
3981 lists, sequences and, of course, single messages. This version
3982 works a little differently from the old version. Instead of
3983 calling mhl | lpr once on all messages, mhl | lpr is called once
3984 per message in order to put each message's number in the header.
3985 Thanks to Satyaki for some code and ideas.
3986
3987 * mh-seq.el (mh-iterate-on-msg-or-seq): The argument msg-or-seq
3988 can now be nil which means the current message. Make local symbols
3989 so that local variables don't step on user's symbols (the msgs
3990 symbol got me).
3991
3992 2003-04-06 Bill Wohler <wohler@newt.com>
3993
3994 * mh-comp.el (mh-forward): Updated docstrings to indicate that a
3995 list of messages is acceptable as well.
3996
3997 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion, mh-refile-msg)
3998 (mh-undo, mh-notate-user-sequences, mh-delete-msg-from-seq): Ditto.
3999
4000 * mh-funcs.el (mh-copy-msg, mh-print-msg): Ditto.
4001
4002 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
4003
4004 * mh-seq.el (mh-put-msg-in-seq, mh-iterate-on-msg-or-seq)
4005 (mh-interactive-msg-or-seq): Ditto.
4006
4007 2003-04-06 Satyaki Das <satyaki@theforce.stanford.edu>
4008
4009 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Call
4010 mh-refile-a-msg and mh-delete-a-msg with nil as the message
4011 number since that is more efficient.
4012
4013 * mh-seq.el (mh-iterate-on-msg-or-seq): Extended so that it will
4014 handle lists of messages numbers as well.
4015 (mh-put-msg-in-seq): Use mh-iterate-on-msg-or-seq to simplify the
4016 function.
4017
4018 * mh-funcs.el (mh-copy-msg): Same as above.
4019
4020 * mh-e.el (mh-refile-msg): Make it more efficient. Using nil in
4021 mh-refile-a-msg avoids needing to re-search-forward to that
4022 message.
4023 (mh-undo): Fix typo in interactive spec.
4024 (mh-notate-user-sequences): Generalize the function to take a
4025 msg-or-seq as argument.
4026 (mh-delete-msg-from-seq): Extend the function so that it is now
4027 able to subtract messages belonging in one sequence from another.
4028 (mh-undo): Unify the region and sequence handling. The message
4029 number branch of the function does extra stuff, so we can't merge
4030 that in.
4031
4032 2003-04-06 Bill Wohler <wohler@newt.com>
4033
4034 * mh-comp.el (mh-forward): Use mh-interactive-msg-or-seq. Inserted
4035 consistent verbiage in docstring for msg-or-seq.
4036 (mh-reply): Don't mention default in opening line in all
4037 docstrings.
4038
4039 * mh-e.el (mh-delete-msg, mh-refile-msg)
4040 (mh-undo, mh-delete-msg-from-seq): Use mh-interactive-msg-or-seq.
4041 Inserted consistent verbiage in docstring for msg-or-seq. In
4042 mh-delete-msg-from-seq, renamed msg-or-region to msg-or-seq.
4043
4044 * mh-funcs.el (mh-copy-msg, mh-print-msg): Use
4045 mh-interactive-msg-or-seq. Inserted consistent verbiage in
4046 docstring for msg-or-seq.
4047
4048 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Inserted
4049 consistent verbiage in docstring for msg-or-seq.
4050
4051 * mh-seq.el (mh-msg-is-in-seq): Don't mention default in opening
4052 line in all docstrings.
4053 (mh-put-msg-in-seq): Use mh-interactive-msg-or-seq. Inserted
4054 consistent verbiage in docstring for msg-or-seq.
4055
4056 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion, mh-refile-msg):
4057 Rewritten to use new mh-interactive-msg-or-seq function and
4058 mh-iterate-on-msg-or-seq macro. mh-delete-msg-no-motion gained the
4059 ability to operate on regions.
4060
4061 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Rewritten to
4062 use new mh-interactive-msg-or-seq function and
4063 mh-iterate-on-msg-or-seq macro thereby gaining the ability to
4064 operate on sequences or regions.
4065
4066 * mh-seq.el (mh-iterate-on-msg-or-seq): New macro to execute code
4067 on a message, a region of messages, or a sequence. This macro
4068 should be in all functions that operate on messages to provide a
4069 uniform interface.
4070 (mh-interactive-msg-or-seq): New function used in interactive
4071 calls to obtain a message number, region, or sequence. This
4072 function should be in all functions that operate on messages to
4073 provide a uniform interface.
4074
4075 * mh-utils.el (with-mh-folder-updating, mh-in-show-buffer): Use
4076 'defun lisp-indent-hook property instead of 1 to fix indentation
4077 of these macros.
4078
4079 2003-04-05 Peter S Galbraith <psg@debian.org>
4080
4081 * mh-loaddefs.el: Regenerated.
4082 * mh-funcs.el (mh-ephem-message): autoload.
4083
4084 2003-04-04 Peter S Galbraith <psg@debian.org>
4085
4086 * mh-e.el (mh-folder-from-address): Minor Fix. Wrong ending of
4087 `when' block.
4088
4089 2003-04-04 Satyaki Das <satyaki@theforce.stanford.edu>
4090
4091 * mh-mime.el (mh-mml-directive-present-p): The regexp has been
4092 modified to recognize directives to encrypt/sign messages.
4093
4094 2003-04-03 Mark D. Baushke <mdb@gnu.org>
4095
4096 * mh-e.el (mh-folder-from-address): E-mail messages missing the
4097 To: field, but which have a Cc: field should also be handled.
4098
4099 2003-04-03 Bill Wohler <wohler@newt.com>
4100
4101 * mh-e.el (mh-inc-folder): Modified the prompt text to read
4102 better.
4103
4104 * mh-comp.el (mh-forward): Deleted local variable `compose'.
4105 Deleted obsolete setting of mh-{mmh|mml}-compose-insert-flag.
4106 (mh-letter-menu): Use mh-{mmh|mml}-directive-present-p instead of
4107 obsolete. mh-{mmh|mml}-compose-insert-flag.
4108 (mh-letter-mode): Deleted obsolete setting of
4109 mh-{mmh|mml}-compose-insert-flag.
4110 (mh-send-letter): This function now automatically runs the
4111 directive-to-MIME conversion if any directives are detected,
4112 rather than relying on the unreliable
4113 mh-{mmh|mml}-compose-insert-flag variables. Updated docstring
4114 accordingly.
4115
4116 * mh-identity.el (mh-insert-identity): Use
4117 mh-{mmh|mml}-directive-present-p instead of obsolete.
4118 mh-{mmh|mml}-compose-insert-flag.
4119
4120 * mh-loaddefs.el: Regenerated.
4121
4122 * mh-mime.el (mh-mhn-compose-type, mh-mhn-compose-external-type)
4123 (mh-mhn-compose-forw, mh-edit-mhn, mh-mml-to-mime)
4124 (mh-mml-forward-message, mh-mml-attach-file)
4125 (mh-mml-secure-message-sign-pgpmime)
4126 (mh-mml-secure-message-encrypt-pgpmime): Deleted obsolete setting
4127 of mh-{mmh|mml}-compose-insert-flag.
4128 (mh-mml-directive-present-p): Checkdoc fix.
4129
4130 * mh-utils.el (mh-mhn-compose-insert-flag,
4131 mh-mml-compose-insert-flag): Deleted. Replaced by
4132 mh-{mhn|mml}-directive-present-p.
4133
4134 2003-04-03 Mark D. Baushke <mdb@gnu.org>
4135
4136 * mh-e.el (mh-folder-from-address): Fix minor problem with To:
4137 address processing.
4138
4139 * mh-e.el (mh-folder-from-address): Bugfix match ?+ character not
4140 a "?+" string.
4141
4142 2003-04-03 Peter S Galbraith <psg@debian.org>
4143
4144 * mh-e.el (mh-inc-folder): Add second optional argument for the
4145 folder to inc new mail into instead of mh-inbox.
4146
4147 2003-04-03 Peter S Galbraith <psg@debian.org>
4148
4149 * mh-e.el (mh-folder-from-address): The first match found in
4150 `mh-default-folder-list' is used.
4151
4152 * mh-customize.el (mh-default-folder-list): Tweak docs
4153
4154 2003-04-03 Satyaki Das <satyaki@theforce.stanford.edu>
4155
4156 * mh-loaddefs.el: Regenerated.
4157
4158 * mh-mime.el (mh-mhn-directive-present-p): New function to test if
4159 a MHN directive is present in the current buffer.
4160 (mh-mml-directive-present-p): New function to test if a MML
4161 directive is present in the current buffer.
4162
4163 * mh-comp.el (mh-letter-mode): Originally this function checked if
4164 a #forw directive was present and set mh-mhn-compose-insert-flag
4165 to t. The modification generalizes this test so that one of the
4166 variables mh-{mml|mhn}-compose-insert-flag will get set if we have
4167 any sort of MHN or MML directive is already present.
4168
4169 * mh-seq.el (tool-bar-map): Add a defvar to avoid compiler
4170 warnings in CVS version of GNU Emacs.
4171
4172 * mh-utils.el (tool-bar-map): Same as above.
4173
4174 * mh-e.el (tool-bar-map): same as above.
4175
4176 2003-04-02 Satyaki Das <satyaki@theforce.stanford.edu>
4177
4178 * mh-xemacs-toolbar.el (mh-xemacs-toolbar-toggle-tick-icon):
4179 Change color to match mh-folder-tick-face.
4180
4181 * highlight.xpm: Same as above.
4182
4183 2003-04-02 Peter S Galbraith <psg@debian.org>
4184
4185 * mh-e.el (mh-folder-from-address): Check `mh-default-folder-list'
4186 for cases against the recipient instead of the originator.
4187
4188 * mh-customize.el (mh-default-folder-list): Add extra boolean flag
4189 to conditionally check the recipient address instead of the
4190 originator.
4191
4192 2003-04-02 Peter S Galbraith <psg@debian.org>
4193
4194 * mh-customize.el (mh-folder-tick-face): Change tick highlight
4195 face to a background yellow-green, as suggested by Bill.
4196
4197 2003-04-01 Peter S Galbraith <psg@debian.org>
4198
4199 * highlight.xpm: New icon for mh-toggle-tick.
4200
4201 * mh-xemacs-toolbar.el (mh-xemacs-icon-map): Add tool-bar entry
4202 for mh-toggle-tick.
4203 (mh-xemacs-toolbar-toggle-tick-icon): New constant.
4204
4205 * mh-customize.el: Add tool-bar entry for mh-toggle-tick.
4206
4207 2003-03-31 Satyaki Das <satyaki@theforce.stanford.edu>
4208
4209 * mh-loaddefs.el: Regenerated.
4210
4211 * mh-utils.el (mh-show-narrow-to-tick, mh-show-limit-map)
4212 (mh-show-sequence-menu): Add new interactive function
4213 mh-show-narrow-to-tick callable from the show buffer and arrange
4214 for a key binding and a menu entry.
4215
4216 * mh-seq.el (mh-narrow-to-tick): New interactive function that
4217 narrows to the tick sequence.
4218
4219 * mh-e.el (mh-folder-sequence-menu, mh-limit-map): Arrange for a
4220 key binding and a menu entry for mh-narrow-to-tick.
4221
4222 * mh-comp.el (mh-letter-mode): Enable undo since we could be
4223 reusing a show buffer where undo is disabled (closes SF #712777).
4224
4225 2003-03-31 Peter S Galbraith <psg@debian.org>
4226
4227 * mh-e.el (mh-folder-sequence-menu): Add entry for mh-toggle-tick.
4228
4229 * mh-utils.el (mh-show-sequence-menu): Add entry for
4230 mh-show-toggle-tick.
4231
4232 2003-03-28 Satyaki Das <satyaki@theforce.stanford.edu>
4233
4234 * mh-seq.el (mh-delete-seq): If the tick sequence is killed with
4235 "S k" then the highlighting wasn't getting removed. The change
4236 fixes this.
4237
4238 2003-03-27 Satyaki Das <satyaki@theforce.stanford.edu>
4239
4240 * mh-e.el (mh-notate-user-sequences): Extend it so that only the
4241 messages in a part of the folder are notated.
4242 (mh-delete-msg-from-seq): Extend it so that it will delete all
4243 messages in the marked region.
4244 (mh-delete-a-msg-from-seq): New function that deletes a single
4245 message from a sequence.
4246 (mh-clear-text-properties): If there is a ticked unseen message
4247 and the message is removed from the unseen list with "S d" then
4248 unticking the message doesn't change the highlight. This change
4249 fixes this.
4250
4251 2003-03-27 Peter S Galbraith <psg@debian.org>
4252
4253 * mh-xemacs-toolbar.el (mh-xemacs-toolbar-*-icon): Use original
4254 24x24 icons, changing background only.
4255
4256 2003-03-27 Satyaki Das <satyaki@theforce.stanford.edu>
4257
4258 * mh-junk.el (mh-spamassassin-identify-spammers): Remove unused
4259 variable buffer-exists.
4260 (mh-spamassassin-identify-spammers): Remove unused variable user.
4261
4262 * mh-customize.el (mh-junk-choose): Tweak it to remove XEmacs
4263 compiler warning.
4264
4265 2003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
4266
4267 * mh-seq.el (mh-thread-print-scan-lines): Handling of a boundary
4268 condition when messages from the last source folder had been
4269 removed was incorrect. This caused a folder header to appear
4270 without any messages listed under it. This change fixes this.
4271 (mh-thread-forget-message): Remove the entry from the scan line
4272 table as well. This is needed for proper display of threaded view
4273 of index folders.
4274
4275 2003-03-26 Bill Wohler <wohler@newt.com>
4276
4277 * Makefile, README, import-emacs, mh-alias.el, mh-comp.el,
4278 mh-customize.el, mh-e.el, mh-funcs.el, mh-identity.el,
4279 mh-index.el, mh-loaddefs.el, mh-mime.el, mh-pick.el, mh-seq.el,
4280 mh-speed.el, mh-utils.el, mh-xemacs-compat.el,
4281 mh-xemacs-toolbar.el: Removed RCS keywords per Emacs conventions
4282 (closes SF #680731).
4283
4284
4285 2003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
4286
4287 * mh-index.el: Fix commentary to mention that mairix is supported
4288 as well.
4289
4290 * mh-loaddefs.el: Regenerated.
4291
4292 * mh-utils.el (mh-show-junk-blacklist, mh-show-junk-whitelist):
4293 Interactive functions callable from the show buffer.
4294 (mh-show-junk-map): Key bindings in show mode.
4295
4296 * mh-e.el (mh-junk-map): Key bindings to call spam program.
4297 (mh-help-messages): Update help text.
4298
4299 * mh-customize.el (mh-junk): New customization group for spam
4300 program interface.
4301 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose):
4302 Functions and variables that decide which junk program is used.
4303 (mh-junk-program, mh-junk-mail-folder): User customizable
4304 variables that control the choice of spam program and the action
4305 performed on received spam.
4306
4307 * Makefile (MH-E-SRC): Add mh-junk.el.
4308
4309 2003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
4310
4311 * mh-loaddefs.el: Regenerated.
4312
4313 * mh-utils.el (mh-show-toggle-tick, mh-show-mode-map): New
4314 interactive function callable from the show buffer and a key
4315 binding for it.
4316
4317 * mh-seq.el (mh-delete-seq): Remove highlight from tick sequence.
4318 (mh-put-msg-in-seq): Disable adding messages to tick sequence.
4319 (mh-widen): Reset mh-tick-seq-changed-when-narrowed-flag.
4320 (mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick)
4321 (mh-toggle-tick): New functions to highlight/unhighlight tick
4322 sequence and the interactive function that is used to toggle
4323 tick.
4324
4325 * mh-e.el (mh-tick-seq-changed-when-narrowed-flag): New variable
4326 that remembers if we are narrowed to the tick sequence. In that
4327 case the highlighting isn't shown, since it adds no extra info.
4328 (mh-folder-mode): Initialize mh-tick-seq-changed-when-narrowed-flag.
4329 (mh-notate-user-sequences): Notate the tick sequence.
4330 (mh-internal-seq): Treat mh-tick-seq like an internal sequence.
4331 (mh-delete-msg-from-seq): Don't allow deletion from tick sequence.
4332 (mh-folder-mode-map): Add key binding for "'"
4333
4334 * mh-customize.el (mh-tick-seq, mh-folder-tick-face): New
4335 customizable variables that contain the name of the tick sequence
4336 and the face to use to highlight it.
4337
4338 2003-03-25 Satyaki Das <satyaki@theforce.stanford.edu>
4339
4340 * mh-loaddefs.el: Regenerated.
4341
4342 * mh-seq.el (mh-thread-print-scan-lines): New function which
4343 prints out thread tree. It maintains the original folder info if
4344 the folder was created by index search (closes SF #709672).
4345 (mh-copy-seq-to-eob, mh-thread-inc, mh-thread-folder): Use
4346 factored out function mh-thread-print-scan-lines.
4347 (mh-toggle-threads): Since threading is allowed in index folders
4348 there can be lines in the folder which aren't valid message scan
4349 lines. So it is OK for mh-get-msg-num to fail once in a while.
4350
4351 * mh-index.el (mh-index-update-maps): Make the parsing of messages
4352 that need to annotated with the X-MHE-Checksum header more robust.
4353 If the search yielded no results then an error was being produced.
4354 (mh-index-search): Enable automatic threading of index folders if
4355 mh-show-threads-flag is non-nil (closes SF #709667).
4356 (mh-index-next-folder): Relax error checking since index folder
4357 can be threaded while the source folder info is visible.
4358 (mh-index-group-by-folder): New function that is used in
4359 mh-thread-folder to keep source folder info visible during
4360 threading.
4361
4362 2003-03-25 Bill Wohler <wohler@newt.com>
4363
4364 * mh-loaddefs.el: Regenerated.
4365
4366 * mh-customize.el (mh-index-new-messages-folders): New variable
4367 that controls which folders "F n (mh-index-new-messages)"
4368 accesses. Was mh-flists-search-folders.
4369
4370 * mh-index.el (mh-flists-search-folders): Still used internally,
4371 but users now use new option mh-index-new-messages-folders.
4372 Removed documentation since to avoid duplication with
4373 mh-index-new-messages-folders.
4374 (mh-flists-recursive-search-flag): Deleted. Use
4375 mh-recursive-folders-flag instead.
4376 (mh-flists-execute): Updated docs to specify which global
4377 variables are used. Use mh-recursive-folders-flag instead of
4378 mh-flists-recursive-search-flag.
4379 (mh-index-new-messages): Edited doc, and refer to new option
4380 mh-index-new-messages-folders. Ditto within code. Don't need to
4381 prepend + to folder name as flists does that for us. Use
4382
4383 2003-03-24 Satyaki Das <satyaki@theforce.stanford.edu>
4384
4385 * mh-e.el (mh-refile-msg): Add optional argument that controls
4386 whether mh-last-destination-folder is updated or not.
4387
4388 2003-03-22 Satyaki Das <satyaki@theforce.stanford.edu>
4389
4390 * mh-customize.el (mh-tool-bar-define): Fix a problem in the
4391 XEmacs version which caused the show mode toolbar to have the
4392 buttons in the reverse order. Also the add-hooks are no longer
4393 needed since mh-toolbar-init is called in the appropriate modes.
4394
4395 * mh-comp.el (mh-letter-mode): Call mh-toolbar-init in XEmacs to
4396 initialize toolbar.
4397
4398 * mh-utils.el (mh-show-mode): Same as above.
4399
4400 * mh-e.el (mh-folder-mode): Same as above.
4401
4402 2003-03-21 Satyaki Das <satyaki@theforce.stanford.edu>
4403
4404 * mh-utils.el (mh-exec-cmd-env-daemon): New function which
4405 executes a command asynchronously with its own environment.
4406
4407 * mh-comp.el (mh-redistribute): The function has been modified so
4408 that /bin/sh isn't used to run send. It has also been refactored
4409 so that the same code isn't repeated.
4410
4411 2003-03-21 Bill Wohler <wohler@newt.com>
4412
4413 * mh-customize.el (mh-invisible-header-fields): Added X-Bogosity
4414 for bogofilter.
4415
4416 2003-03-21 Satyaki Das <satyaki@theforce.stanford.edu>
4417
4418 * mh-loaddefs.el: Regenerated.
4419
4420 * mh-xemacs-toolbar.el: Remove the code since that gets generated
4421 when mh-tool-bar-define is expanded.
4422 (mh-xemacs-icon-map): A alist to map GNU Emacs icon names to the
4423 actual icons to be used in XEmacs. This is used in
4424 mh-tool-bar-define.
4425
4426 * mh-customize.el (mh-toolbar): Use this group in XEmacs as well.
4427 (mh-tool-bar-item-*): All these constants have been removed since
4428 they aren't needed in the new scheme.
4429 (mh-tool-bar-reply-3-buttons-flag): This variable has been
4430 removed.
4431 (mh-tool-bar-search-function): This is now used in XEmacs as well.
4432 (mh-tool-bar-folder-set, mh-tool-bar-folder-buttons-set)
4433 (mh-tool-bar-letter-buttons-set, mh-tool-bar-show-set)
4434 (mh-tool-bar-letter-set): These functions aren't defined at the
4435 top level any more.
4436 (mh-tool-bar-reply-generator): A macro to generate the required
4437 functions for the three reply buttons.
4438 (mh-tool-bar-search, mh-tool-bar-customize)
4439 (mh-tool-bar-folder-help, mh-tool-bar-letter-help)
4440 (mh-tool-bar-reply-from, mh-show-tool-bar-reply-from)
4441 (mh-tool-bar-reply-to, mh-show-tool-bar-reply-to)
4442 (mh-tool-bar-reply-all, mh-show-tool-bar-reply-all): New
4443 interactive functions that are called when tool bar buttons are
4444 clicked.
4445 (mh-xemacs-use-toolbar-flag, mh-xemacs-toolbar-position):
4446 Additional customizable variables that are present only for
4447 XEmacs.
4448 (mh-tool-bar-define): A macro that generates the required code
4449 for GNU Emacs and XEmacs tool bar.
4450 (mh-tool-bar-define): Define the MH-E tool bar.
4451
4452 2003-03-17 Satyaki Das <satyaki@theforce.stanford.edu>
4453
4454 * mh-seq.el (mh-notate-cur): Notate current message only if it
4455 hasn't been marked for deletion or refiling.
4456
4457 2003-03-15 Bill Wohler <wohler@newt.com>
4458
4459 * mh-customize.el (mh-invisible-header-fields): Added
4460 X-Spam-Checker-Version.
4461 (mh-auto-fields-list): checkdoc fix.
4462
4463 2003-03-12 Satyaki Das <satyaki@theforce.stanford.edu>
4464
4465 * mh-index.el (mh-index-new-messages): If the destination folder
4466 where the unseen messages are supposed to be copied to was
4467 already present, but MH-E doesn't have it open, then a new folder
4468 was being created. The change fixes this.
4469 (mh-index-update-unseen, mh-flists-recursive-search-flag): Fix
4470 checkdoc warnings.
4471
4472 * mh-loaddefs.el: Regenerated.
4473
4474 2003-03-11 Satyaki Das <satyaki@theforce.stanford.edu>
4475
4476 * mh-index.el (mh-flists-results-folder): Subfolder under
4477 +mhe-index where the results of the flists call is put.
4478 (mh-index-generate-pretty-name): Make sure that normal index
4479 searching will never use the folder reserved for the flists
4480 results.
4481 (mh-index-search): Add an extra parameter that marks all the
4482 messages in the index folder to the unseen sequence.
4483 (mh-index-update-unseen): Function to keep unseen sequence of
4484 index folder synced with the actual folders from where the
4485 messages were copied. This works only if the unseen messages are
4486 displayed with mh-show. Killing the unseen sequence in the index
4487 folder or adding/removing messages to it doesn't change the
4488 unseen sequence in the source folders yet.
4489 (mh-flists-search-folders): Variable that decides the folders on
4490 which flists is run.
4491 (mh-flists-recursive-search-flag): If non-nil, flists is passed
4492 the -recurse option.
4493 (mh-flists-execute): Function which uses /bin/sh to execute
4494 flists and then print out the list of message files that match.
4495 (mh-index-new-messages): New interactive function which searches
4496 for messages in the unseen sequence (closes SF #701756).
4497
4498 * mh-utils.el (mh-show-folder-map): Add binding for
4499 mh-index-new-messages.
4500 (mh-show-msg): Update the unseen sequence in the source folder.
4501
4502 * mh-e.el (mh-folder-font-lock-unseen): The function assumes that
4503 the end of buffer is reached when there isn't a valid scan line
4504 on the current line. This doesn't work in the index folder since
4505 we have lines containing the folder name and empty lines in
4506 between the actual scan lines. The modification removes this
4507 assumption.
4508 (mh-folder-map): Add key binding for "Fn"
4509
4510 * mh-seq.el (mh-iterate-on-messages-in-region): If the point is
4511 not at the beginning of the line, then the first message in the
4512 region would be missed. The fix avoids this.
4513
4514 * mh-mime.el (mh-inline-vcard-p): Don't try to inline vcards if
4515 we don't have the right libraries.
4516
4517 2003-03-10 Satyaki Das <satyaki@theforce.stanford.edu>
4518
4519 * mh-e.el (mh-next-undeleted-msg, mh-previous-undeleted-msg)
4520 (mh-next-msg): Add optional argument wait-after-complaining-flag.
4521 If non-nil and there are no undeleted messages after (or before)
4522 the current one, then pause for a second after printing out the
4523 message.
4524 (mh-refile-or-write-again): Modify call to mh-next-msg to use the
4525 wait-after-complaining-flag.
4526
4527 2003-03-10 Satyaki Das <satyaki@theforce.stanford.edu>
4528
4529 * mh-e.el (mh-refile-or-write-again): If mh-next-msg fails to find
4530 a message to go to it prints out a diagnostic, which overwrites
4531 the diagnostic about the folder the message was refiled to. The
4532 change fixes this.
4533
4534 2003-03-09 Satyaki Das <satyaki@theforce.stanford.edu>
4535
4536 * mh-seq.el (mh-widen, mh-narrow-to-seq): Update
4537 mh-narrowed-to-seq before notating sequences. This is a bit
4538 helpful for mh-tick.el.
4539 (mh-put-msg-in-seq): Fix a minor bug. No internal sequence should
4540 be notated -- the original code was doing the right thing only for
4541 the "unseen" sequence.
4542
4543 * mh-index.el (mh-index-choose): Add autoload cookie for
4544 mh-index-choose. This is needed for GNU Emacs 20.5.
4545
4546 * mh-loaddefs.el: Regenerated.
4547
4548 2003-03-09 Bill Wohler <wohler@newt.com>
4549
4550 * mh-mime.el (mh-display-smileys): This function originally had a
4551 test to see if font-lock-maximum-size was bound, but this was
4552 recently removed. The test was put in for a reason; if
4553 font-lock-maximum-size isn't bound, void-variable errors would
4554 ensue. I put the bound test back in.
4555
4556 2003-03-08 Steve Youngs <youngs@xemacs.org>
4557
4558 * mh-mime.el (mh-mime-security-button-map): Use 'mh-push-button'
4559 in XEmacs as well.
4560
4561 2003-03-07 Satyaki Das <satyaki@theforce.stanford.edu>
4562
4563 * mh-xemacs-toolbar.el: Declare a whole bunch of stuff for GNU
4564 Emacs, so that we don't get so many compiler warnings. Also
4565 surround calls to set-specifier and toolbar-make-button-list with
4566 mh-funcall-if-exists. Maybe GNU Emacs shouldn't try to compile
4567 this file in the first place.
4568
4569 * mh-xemacs-compat.el (mh-modeline-glyph): Declare it within
4570 mh-do-in-xemacs to avoid compiler warning in GNU Emacs.
4571 (mh-xemacs-push-button): Removed.
4572
4573 * mh-mime.el (mh-mime-button-map): Use the generalized
4574 mh-push-button function.
4575 (mh-push-button): Enhance it so that it works on XEmacs too.
4576
4577 2003-03-08 Steve Youngs <youngs@xemacs.org>
4578
4579 * mh-xemacs-compat.el (mh-modeline-logo): New constant holding the
4580 modeline image.
4581 (mh-modeline-glyph): Use it.
4582
4583 2003-03-08 Steve Youngs <youngs@xemacs.org>
4584
4585 * mh-xemacs-toolbar.el: New file that defines and displays a
4586 toolbar in XEmacs.
4587
4588 * mh-xemacs-compat.el (mh-xemacs-toolbar): Require it here.
4589
4590 * Makefile (MH-E-SRC): Add mh-xemacs-toolbar.el.
4591
4592 * mh-customize.el (mh-toolbar):
4593 (mh-tool-bar-letter-buttons):
4594 (mh-tool-bar-letter-buttons-set):
4595 (mh-tool-bar-folder-buttons):
4596 (mh-tool-bar-folder-buttons-set):
4597 (mh-tool-bar-search-function):
4598 (mh-tool-bar-reply-3-buttons-flag):
4599 (mh-tool-bar-item-inc):
4600 (mh-tool-bar-item-save-mime):
4601 (mh-tool-bar-item-prev-msg):
4602 (mh-tool-bar-item-page-msg):
4603 (mh-tool-bar-item-next-msg):
4604 (mh-tool-bar-item-delete):
4605 (mh-tool-bar-item-refile):
4606 (mh-tool-bar-item-undo):
4607 (mh-tool-bar-item-perform):
4608 (mh-tool-bar-item-toggle-show):
4609 (mh-tool-bar-item-reply-from):
4610 (mh-tool-bar-item-reply-to):
4611 (mh-tool-bar-item-reply-all):
4612 (mh-tool-bar-item-reply):
4613 (mh-tool-bar-item-alias):
4614 (mh-tool-bar-item-compose):
4615 (mh-tool-bar-item-rescan):
4616 (mh-tool-bar-item-repack):
4617 (mh-tool-bar-item-search):
4618 (mh-tool-bar-item-visit):
4619 (mh-tool-bar-item-prefs):
4620 (mh-tool-bar-item-help):
4621 (mh-tool-bar-item-widen):
4622 (mh-tool-bar-item-send):
4623 (mh-tool-bar-item-attach):
4624 (mh-tool-bar-item-spell):
4625 (mh-tool-bar-item-save):
4626 (mh-tool-bar-item-undo-op):
4627 (mh-tool-bar-item-kill):
4628 (mh-tool-bar-item-copy):
4629 (mh-tool-bar-item-paste):
4630 (mh-tool-bar-item-kill-draft):
4631 (mh-tool-bar-item-comp-prefs):
4632 The MH-E toolbar for XEmacs is defined differently from the
4633 GNU/Emacs version, so only define these if we're in GNU/Emacs.
4634 XEmacs doesn't need to see them and it's always good to cut down
4635 on pollution.
4636
4637 2003-03-08 Steve Youngs <youngs@xemacs.org>
4638
4639 * mh-mime.el (mh-mime-button-map): Bind the 2nd mouse button to
4640 `mh-xemacs-push-button' in XEmacs.
4641 (mh-mime-security-button-map): Ditto.
4642
4643 * mh-xemacs-compat.el: Shush the byte-compiler.
4644 (mh-xemacs-push-button): New function to make MIME buttons work in
4645 XEmacs.
4646
4647 2003-03-08 Steve Youngs <youngs@xemacs.org>
4648
4649 * mh-mime.el (mh-display-emphasis): Don't test
4650 `font-lock-maximum-size' to see if it is bound, just test for a
4651 non-nil value. This variable can have a nil value which makes it
4652 bound and dividing nil by 8 throws an error.
4653 This fixes a bug in MH-E under XEmacs when
4654 `font-lock-maximum-size' is nil that prevented article emphasis
4655 and smiley display which in turn was causing the "Flush changes in
4656 article x y/n" errors.
4657 (mh-display-smileys): Ditto.
4658
4659 2003-03-08 Steve Youngs <youngs@xemacs.org>
4660
4661 * mh-utils.el (mh-logo-display): Display logo in XEmacs as well.
4662
4663 * mh-xemacs-compat.el (mh-modeline-glyph): New. The MH-E modeline
4664 logo for XEmacs.
4665
4666 2003-03-06 Satyaki Das <satyaki@theforce.stanford.edu>
4667
4668 * mh-utils.el (mh-allow-root-folder-flag): New global variable
4669 that decides if "+" is an acceptable folder name.
4670 (mh-folder-completion-function): Refine the test for existing
4671 folders to take mh-allow-root-folder-flag into account.
4672 (mh-folder-completing-read, mh-prompt-for-folder): Use the
4673 allow-root-folder-flag argument of mh-prompt-for-folder and add a
4674 similar argument to mh-folder-completing-read.
4675 (mh-exec-cmd-error): Make the function nicer by using
4676 process-environment to pass the environment variable assignments.
4677
4678 2003-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
4679
4680 * mh-mime.el (mh-push-button): Preserve point in the show buffer
4681 if the mouse is used to expand/contract a button.
4682
4683 * mh-customize.el (mh-x-face-file): Mention X-Image-URL in
4684 documentation.
4685
4686 * mh-comp.el (mh-insert-x-face): Modified to allow insertion of
4687 X-Image-URL header field.
4688
4689 2003-03-04 Satyaki Das <satyaki@theforce.stanford.edu>
4690
4691 * mh-utils.el (mh-face-display-function): Modified to facilitate
4692 display of X-Image-URL images.
4693 (mh-find-path): Initialize X-Image-URL cache directory.
4694 (mh-x-image-url-cache-canonicalize, mh-x-image-url-fetch-image)
4695 (mh-x-image-scale-and-display, mh-x-image-url-display)
4696 (mh-x-image-display): New functions for X-Image-URL image display
4697 and cache management.
4698
4699 * mh-customize.el (mh-show-use-xface-flag): Add info about
4700 requirements for X-Image-URL display.
4701 (mh-fetch-x-image-url): New customizable variable that controls
4702 fetching of X-Image-URL.
4703
4704 2003-03-04 Satyaki Das <satyaki@theforce.stanford.edu>
4705
4706 * mh-utils.el (mh-make-local-hook): New macro which works around
4707 API changes in add-hook. Version of GNU Emacs before 21.1 and
4708 XEmacs require a call to make-local-hook and just the LOCAL
4709 argument of add-hook is not sufficient.
4710 (mh-show-mode): Make kill-buffer-hook buffer local.
4711
4712 * mh-e.el (mh-folder-mode): Same as above.
4713
4714 * mh-comp.el (mh-compose-and-send-mail): Same as above.
4715
4716 2003-03-02 Satyaki Das <satyaki@theforce.stanford.edu>
4717
4718 * mh-mime.el (mh-push-button): Clicking on a MIME button used to
4719 cause the window with the show buffer to be selected. With this
4720 change the selected window doesn't change.
4721
4722 2003-03-01 Satyaki Das <satyaki@theforce.stanford.edu>
4723
4724 * mh-speed.el (mh-speed-flists): Avoid a potential race condition.
4725 When flists is called manually, or when an unseen message is read,
4726 mh-speed-partial-line was not reinitialized.
4727
4728 * mh-e.el (mh-visit-folder): If mh-visit-folder is used to visit
4729 the folder currently being visited (effectively doing a rescan)
4730 then mh-previous-window-config is erroneously set. The change
4731 fixes this.
4732
4733 * mh-customize.el (mh-index-show-hook): Remove unused variable.
4734
4735 2003-02-28 Satyaki Das <satyaki@theforce.stanford.edu>
4736
4737 * mh-e.el (mh-scan-folder): Call mh-reset-threads-and-narrowing
4738 only after the user has replied to question. This avoids premature
4739 clearing of the folder.
4740 (mh-rescan-folder, mh-visit-folder): Remove calls to
4741 mh-reset-threads-and-narrowing since it is now called in
4742 mh-scan-folder anyway.
4743
4744 * mh-funcs.el (mh-sort-folder): Same as above.
4745
4746 2003-02-26 Satyaki Das <satyaki@theforce.stanford.edu>
4747
4748 * mh-alias.el (mh-alias-alist): Change initial value to a symbol,
4749 so that it is different from the empty list, which could also
4750 mean that there are no aliases.
4751 (mh-alias-reload-maybe): Change test so that empty alist of
4752 aliases is properly handled (closes SF #693859).
4753
4754 2003-02-25 Satyaki Das <satyaki@theforce.stanford.edu>
4755
4756 * mh-mime.el (mh-decode-message-header): The message header could
4757 be encoded, for instance the author's name could contain
4758 characters not in ASCII. This function will decode such header
4759 fields.
4760 (mh-mm-inline-message): Use mh-decode-message-header.
4761
4762 * mh-utils.el (mh-display-msg): Use mh-decode-message-header.
4763 (mh-message-number-width): Use mh-scan-prog instead of "scan".
4764
4765 * mh-loaddefs.el: Regenerated.
4766
4767 2003-02-24 Satyaki Das <satyaki@theforce.stanford.edu>
4768
4769 * mh-utils.el (mh-truncate-log-buffer): Refine it so that the
4770 function will do the right thing even if called from a buffer
4771 other than mh-log-buffer.
4772
4773 2003-02-22 Peter S Galbraith <psg@debian.org>
4774
4775 * mh-alias.el (mh-alias-add-alias): Really fix SF #690216.
4776 This functions needs to strip brackets on standalone addresses as
4777 well.
4778
4779 2003-02-21 Satyaki Das <satyaki@theforce.stanford.edu>
4780
4781 * mh-xemacs-compat.el (replace-regexp-in-string): Remove the
4782 definition since it isn't used any more.
4783
4784 2003-02-20 Peter S Galbraith <psg@debian.org>
4785
4786 * mh-alias.el (mh-alias-which-file-has-alias): Bug fix. Needed to
4787 specify `noerror' on search.
4788
4789 * mh-alias.el (mh-alias-suggest-alias): Add condition for input
4790 string being an email address in brackets. We need to strip out
4791 the brackets. (closes SF #690216)
4792
4793 2003-02-20 Satyaki Das <satyaki@theforce.stanford.edu>
4794
4795 * mh-pick.el (mh-search-folder): The function was setting the
4796 global value of the variables mh-current-folder and
4797 mh-previous-window-config. This can lead to problems in code which
4798 assumes that these variables are nil when we aren't in a folder
4799 buffer. So make the variables local before setting them.
4800
4801 2003-02-19 Satyaki Das <satyaki@theforce.stanford.edu>
4802
4803 * mh-mime.el (mh-mime-display): All the MIME display code has been
4804 wrapped in a condition-case so that if something goes wrong, the
4805 raw message will be displayed.
4806
4807 * mh-funcs.el (mh-undo-folder): Comment out call to sit-for that
4808 seems unnecessary.
4809
4810 * mh-e.el (mh-scan-folder): Messages marked for deletion or
4811 refiling weren't getting annotated properly. The change fixes
4812 this.
4813 (mh-process-or-undo-commands): Change prompt to reflect what
4814 really happens in the code.
4815
4816 2003-02-18 Satyaki Das <satyaki@theforce.stanford.edu>
4817
4818 * mh-comp.el (mh-folder-expand-at-point): The function
4819 mail-abbrev-complete-alias often returns nil. This had the
4820 unfortunate consequence of always causing an error. The change
4821 fixes this.
4822
4823 * mh-alias.el (mh-alias-canonicalize-suggestion): New function
4824 which obviates the our need replace-regexp-in-string.
4825 (mh-alias-suggest-alias): Use mh-alias-canonicalize-suggestion to
4826 eliminate calls to replace-regexp-in-string. This avoids problems
4827 in Emacs20.
4828
4829 * mh-utils.el (mh-notate): Handle the case when nil is passed as
4830 notation gracefully.
4831 (mh-speed-flists-active-p): New function that returns non-nil if
4832 flists is being used in the speedbar to update message counts.
4833
4834 * mh-seq.el (mh-put-msg-in-seq): Fix a bug which made it
4835 impossible to add messages to the unseen sequence. Also adding
4836 messages to the unseen sequence will now update the speedbar
4837 message counts immediately.
4838
4839 * mh-e.el (mh-get-new-mail, mh-process-commands)
4840 (mh-undefine-sequence): Update speedbar message counts, if the
4841 speedbar is active and is displaying message counts.
4842 (mh-delete-msg-from-seq): In addition to updating message counts,
4843 unhighlight the message so that interactively removing messages
4844 from the unseen sequence makes the bold highlight of unseen
4845 messages in the scan buffer go away.
4846 (mh-clear-text-properties): New function that removes all text
4847 properties from the current scan line.
4848
4849 2003-02-15 Satyaki Das <satyaki@theforce.stanford.edu>
4850
4851 * mh-utils.el (mh-face-display-function): Wrap call of
4852 insert-image in mh-funcall-if-exists. This avoids a compiler
4853 warning in Emacs20.
4854
4855 * mh-speed.el (mh-speed-flists): Weaken test a bit to avoid
4856 compiler warning in Emacs20.
4857 (mh-speedbar-change-expand-button-char): Wrap call of
4858 speedbar-insert-image-button-maybe in mh-funcall-if-exists. This
4859 function isn't present in the speedbar that ships with Emacs20, so
4860 calling it there causes an error.
4861
4862 * mh-seq.el (mh-msg-is-in-seq): Adjust loop call a bit to avoid
4863 compiler warning in XEmacs. The XEmacs compiler should be improved
4864 so that such spurious warnings from builtin macros are suppressed.
4865
4866 * mh-index.el (mh-index-search): Same as above.
4867
4868 * mh-e.el (tool-bar-mode): The declaration is needed for Emacs20
4869 too.
4870
4871 * mh-comp.el (mailabbrev): Try loading it any way. Some day XEmacs
4872 will get it and then MH-E will just use it.
4873 (tool-bar-mode, tool-bar-map): These declarations are needed for
4874 Emacs20 too.
4875 (mh-mail-abbrev-make-syntax-table, mh-folder-expand-at-point):
4876 Remove mh-mail-abbrev-make-syntax-table since mh-funcall-if-exists
4877 can be used instead.
4878
4879 * mh-alias.el (require): Avoid autoloading functions that may not
4880 be defined.
4881 (mh-read-address, mh-alias-letter-expand-alias): Rewrite using
4882 mh-funcall-if-exists.
4883
4884 2003-02-15 Satyaki Das <satyaki@theforce.stanford.edu>
4885
4886 * mh-loaddefs.el: Regenerated.
4887
4888 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-add-buttons)
4889 (mh-speed-toggle): Reuse markers instead of creating more of them.
4890 (mh-speed-flists-folder, mh-speed-flists): Add optional folder
4891 argument to mh-speed-flists so that message counts are updated
4892 only for that one folder.
4893 (mh-speed-parse-flists-output): If no change in counts then avoid
4894 consing.
4895
4896 * mh-index.el (mh-index-execute): Rewritten to use a temporary
4897 buffer that is not left behind.
4898
4899 * mh-funcs.el (mh-store-buffer): Use mh-log-buffer instead of the
4900 special purpose *Store Output* buffer.
4901
4902 2003-02-14 Satyaki Das <satyaki@theforce.stanford.edu>
4903
4904 * mh-customize.el (mh-show-xface-face): Make it always be black
4905 foreground on a white background (the reverse of that can make
4906 some X-Face images look creepy).
4907
4908 * mh-utils.el (mh-truncate-log-buffer): Modify the function to
4909 return the current size of mh-log-buffer. Also we are now a bit
4910 more careful in adding separators between consecutive messages.
4911 (mh-exec-cmd): Fix a bug where the the log buffer would be
4912 displayed even if no error happened in the current command but
4913 the log buffer had messages from a previous error.
4914
4915 * mh-mime.el (mh-mime-save-parts): Use mh-log-buffer to show
4916 error messages.
4917
4918 * mh-alias.el (mh-alias-local-users): Add a space between parens.
4919
4920 2003-02-14 Steve Youngs <youngs@xemacs.org>
4921
4922 * mh-utils.el (mh-face-display-function): Call
4923 `x-face-xmas-wl-display-x-face' using `mh-funcall-if-exists'.
4924
4925 * mh-xemacs-compat.el (replace-regexp-in-string): New.
4926
4927 2003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
4928
4929 * mh-utils.el (mh-log-buffer-lines): New variable that keeps
4930 track of the number of lines to keep in mh-log-buffer.
4931 (mh-truncate-log-buffer): New function that is used to make sure
4932 that the log buffer doesn't grow to unbounded size.
4933 (mh-exec-cmd, mh-exec-cmd-daemon, mh-handle-process-error): Use
4934 mh-truncate-log-buffer instead of erase-buffer to keep some
4935 number of previous log messages around (closes SF #685476).
4936
4937 2003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
4938
4939 * mh-e.el (tool-bar-mode): Declare it in XEmacs.
4940 (mh-folder-mode): Use mh-funcall-if-exists to call hl-line-mode.
4941
4942 * mh-utils.el (mh-funcall-if-exists): New macro that calls a
4943 function only if it exists.
4944 (mh-logo-display, mh-defun-show-buffer): Use mh-funcall-if-exists
4945 to call the functions find-image and deactivate-mark.
4946
4947 * mh-mime.el (mh-mime-cleanup, mh-small-image-p)
4948 (mh-mm-display-part): Use mh-funcall-if-exists to call the
4949 functions image-size and remove-images.
4950
4951 * mh-comp.el (tool-bar-map, tool-bar-mode): Declare the variables
4952 in XEmacs.
4953 (mh-folder-expand-at-point): Use mh-funcall-if-exists to call
4954 mail-abbrev-complete-alias if it exists.
4955
4956 * mh-alias.el (mh-read-address): Use mh-funcall-if-exists for
4957 future extensibility.
4958
4959 2003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
4960
4961 * mh-utils.el (mh-logo-display): The function find-image is
4962 present only in GNU Emacs.
4963 (mh-defun-show-buffer): The function deactivate-mark is present
4964 only in GNU Emacs.
4965 (default-enable-multibyte-characters): Declare it in XEmacs to
4966 avoid compiler warning.
4967 (mh-face-display-function): Avoid inserting space if there isn't
4968 any Face or X-Face header field to display.
4969
4970 * mh-seq.el (mh-thread-last-ancestor): Move declaration of
4971 variable before its first use to silence XEmacs warning.
4972
4973 * mh-mime.el (default-enable-multibyte-characters, dots, type):
4974 Declare these in XEmacs to remove compiler warnings in XEmacs.
4975 (mh-mime-cleanup, mh-mm-display-part): Call remove-images only in
4976 GNU Emacs.
4977 (mh-small-image-p): Call image-size only in GNU Emacs.
4978
4979 * mh-index.el (mh-mairix-next-result): Fix a bug where a quote
4980 was missing.
4981 (mh-swish++-regexp-builder): Remove the unused binding meta.
4982
4983 * mh-e.el (mh-folder-size): Pass on an extra value to remove
4984 XEmacs warning.
4985 (mh-folder-mode): Surround calls to hl-line-mode and
4986 tool-bar-mode with mh-do-in-gnu-emacs since these functions
4987 aren't present in XEmacs.
4988
4989 * mh-customize.el (mh-tool-bar-show-set, mh-tool-bar-letter-set)
4990 (mh-tool-bar-folder-set): These functions call tool-bar-*
4991 functions which are present only in GNU Emacs. So surround them
4992 with mh-do-in-gnu-emacs.
4993
4994 * mh-comp.el (mh-letter-mode, mh-folder-expand-at-point): Only
4995 call these functions in GNU Emacs.
4996 (mail-abbrevs): Declare it in XEmacs.
4997
4998 * mh-alias.el (mh-read-address): Call completing-read-multiple
4999 only in GNU Emacs.
5000 (mail-abbrevs): Declare it in XEmacs.
5001 (mh-alias-add-alias-to-file): Remove unused code.
5002
5003 2003-02-14 Ville Skyttä <scop@xemacs.org>
5004
5005 * mh-comp.el: Add autoloaded auto-mode-alist association.
5006
5007 2003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
5008
5009 * mh-utils.el (mh-face-display-function): Make the XEmacs part a
5010 little simpler.
5011
5012 2003-02-14 Steve Youngs <youngs@xemacs.org>
5013
5014 * mh-customize.el (mh-show-xface-face): XEmacs doesn't have the
5015 ':inherit' keyword for defface, rewrite with sane defaults.
5016
5017 * mh-utils.el (mh-face-display-function): Fix bug that was
5018 corrupting xface images when displayed with XEmacs' internal
5019 xface image support. Also make XEmacs honour 'mh-show-xface-face'
5020 when using internal xface image support.
5021
5022 2003-02-12 Peter S Galbraith <psg@debian.org>
5023
5024 * mh-comp.el (mh-modify-header-field): New function. To header
5025 FIELD add VALUE. If OVERWRITE-FLAG is non-nil then the old value,
5026 if present, is discarded. This is more flexible than before.
5027 (mh-insert-auto-fields): Use it. This and the new function are a
5028 courtesy of Satyaki. Thanks!
5029
5030 * mh-customize.el (mh-auto-fields-list): Doc tweaks suggested by
5031 Bill.
5032
5033 2003-02-12 Satyaki Das <satyaki@theforce.stanford.edu>
5034
5035 * mh-comp.el (mh-folder-expand-at-point): Tweak the error
5036 message. Completion in the Fcc header field is only supported in
5037 GNU Emacs 21.
5038
5039 2003-02-12 Peter S Galbraith <psg@debian.org>
5040
5041 * mh-customize.el (mh-auto-fields-list): Reorder after
5042 `mh-identity-list' since it needs it to be defined. Move to
5043 mh-identity customization group.
5044
5045 2003-02-11 Peter S Galbraith <psg@debian.org>
5046
5047 * mh-customize.el (mh-insert-mail-followup-to-flag): Removed.
5048 Obsolete.
5049 (mh-insert-mail-followup-to-list): Removed. Obsolete. Use
5050 `mh-auto-fields-list' instead, which is a more general solution.
5051 (mh-auto-fields-list): New defcustom. Alist of addresses for
5052 which header lines are automatically inserted. Replaces
5053 `mh-insert-mail-followup-to-list'.
5054
5055 * mh-comp.el (mh-insert-mail-followup-to): Removed. Obsolete.
5056 (mh-insert-auto-fields): New function. Insert custom fields if To
5057 or Cc match `mh-auto-fields-list', replacing
5058 mh-insert-mail-followup-to with a more general solution.
5059 (mh-compose-and-send-mail): Call mh-insert-auto-fields instead of
5060 mh-insert-mail-followup-to. Also don't call mh-insert-identity to
5061 insert default setting if mh-insert-auto-fields inserted an
5062 identity.
5063
5064 2003-02-11 Satyaki Das <satyaki@theforce.stanford.edu>
5065
5066 * mh-utils.el (mh-show-xface-function): Try to load the external
5067 x-face library only if XEmacs doesn't have xface support.
5068 (mh-face-display-function): Renamed. Also handle various
5069 permutations of x-face and xface support in XEmacs better.
5070
5071 * mh-customize.el (mh-show-use-xface-flag): Any emacs whose
5072 major version is greater than or equal to 21 supports display of
5073 X-Face and Face header fields.
5074
5075 2003-02-11 Satyaki Das <satyaki@theforce.stanford.edu>
5076
5077 * mh-utils.el (mh-do-in-gnu-emacs, mh-do-in-xemacs): Macros that
5078 execute code only in GNU Emacs and XEmacs respectively.
5079 (mh-emacs21-face-display-function): Refactor to make it slightly
5080 nicer. Get rid of compiler warnings in GNU Emacs by using the
5081 above macros. Also check for presence of xface feature (in XEmacs
5082 specific code) before trying to display X-Face header field image.
5083
5084 2003-02-11 Steve Youngs <youngs@xemacs.org>
5085
5086 * mh-customize.el (mh-show-use-xface-flag): If using XEmacs and
5087 can't find the external x-face pkg still enable X-Face images if
5088 feature 'xface is present.
5089 Update the doc string.
5090
5091 * mh-utils.el (mh-emacs21-face-display-function): Make it work in
5092 XEmacs.
5093 (mh-show-xface-function): If using XEmacs without xface support,
5094 use x-face.el pkg. If using XEmacs with xface support, or Emacs
5095 21, use mh-emacs21-face-display-function.
5096
5097 2003-02-11 Mark D. Baushke <mdb@gnu.org>
5098
5099 * mh-customize.el (mh-invisible-header-fields): Add
5100 "X-Notes-Item:" which is generated by Lotus Notes Domino. See
5101 URL<http://www-12.lotus.com/ldd/doc/domino_notes/Rnext/help6_admin.nsf
5102 /f4b82fbb75e942a6852566ac0037f284/5eda03c647f879c285256c1d00396051
5103 ?OpenDocument&Highlight=0,x-notes-item> for details on how Domino
5104 users may disable (restore the default) generation of these headers.
5105
5106 2003-02-10 Satyaki Das <satyaki@theforce.stanford.edu>
5107
5108 * mh-comp.el (mh-folder-expand-at-point): Add function doc string
5109 and produce a nicer error message for Emacs versions that lack
5110 mail-abbrev-complete-alias.
5111
5112 * mh-utils.el (mh-handle-process-error): Check doc fix.
5113
5114 * mh-e.el (mh-folder-from-address): Same as above.
5115
5116 2003-02-10 Peter S Galbraith <psg@debian.org>
5117
5118 * mh-comp.el: require mailabbrev, except in XEmacs.
5119 (mh-mail-abbrev-make-syntax-table): New defmacro to call
5120 mail-abbrev-make-syntax-table introduced in Emacs21.
5121 (mh-folder-expand-at-point): Handle nested folders.
5122 All of the above was written by Satyaki. I just applied the patch
5123 and tested.
5124
5125 2003-02-09 Satyaki Das <satyaki@theforce.stanford.edu>
5126
5127 * mh-comp.el: Fixes to keep the byte compiler happy.
5128
5129 * mh-customize.el (mh-invisible-header-fields): Modified to
5130 remove space after ":" in header field names.
5131
5132 2003-02-09 Peter S Galbraith <psg@mixed.dyndns.org>
5133
5134 * mh-comp.el (mh-letter-complete): Add completion for fcc lines.
5135 (mh-folder-expand-at-point): Do completion at point for folder
5136 name. Like `mh-alias-letter-expand-alias' for aliases, it doesn't
5137 work on XEmacs because it relies on `mail-abbrev-complete-alias'
5138 to do completion. Maybe Steve could update XEmacs' mailabbrev.el?
5139
5140 2003-02-09 Peter S Galbraith <psg@debian.org>
5141
5142 * mh-customize.el (mh-invisible-header-fields): Remove trailing
5143 space in "X-Face: " and "Face: " entries since those line often
5144 break there.
5145
5146 2003-02-08 Satyaki Das <satyaki@theforce.stanford.edu>
5147
5148 * mh-utils.el (mh-emacs21-face-display-function): Use
5149 mh-show-xface-face to colorize X-Face image.
5150
5151 * mh-customize.el (mh-invisible-header-fields): Add extra headers
5152 to ignore.
5153 (mh-show-xface-face): Allow customization of the X-Face colors.
5154
5155 2003-02-07 Satyaki Das <satyaki@theforce.stanford.edu>
5156
5157 * mh-utils.el (mh-uncompface-executable, mh-uncompface): Remember
5158 the path of the uncompface executable so that we don't need to
5159 search for it every time.
5160 (mh-emacs21-face-display-function): If more than one X-Face (or
5161 Face) header field was present then the fields would get
5162 concatenated, leading to garbled output. The change only displays
5163 the first image.
5164
5165 * mh-customize.el (mh-x-face-file): Change documentation since it
5166 can now be used to insert a Face header field.
5167
5168 * mh-comp.el (mh-insert-x-face): Generalized to allow insertion
5169 of Face header field.
5170
5171 2003-02-06 Bill Wohler <wohler@newt.com>
5172
5173 * mh-utils.el (mh-emacs21-face-display-function): Updated
5174 docstring. It is a common mistake to refer to a header field as a
5175 header. The term header refers to the entire header while the term
5176 header field refers to a single field.
5177
5178 * mh-customize.el (mh-show-use-xface-flag): Ditto.
5179
5180 2003-02-06 Satyaki Das <satyaki@theforce.stanford.edu>
5181
5182 * mh-utils.el (mh-show-xface-function): Modified to use
5183 mh-emacs21-face-display-function if we are running GNU Emacs 21.
5184 (mh-face-to-png): New function to convert a Face header to a png
5185 image.
5186 (mh-uncompface): New function which converts an X-Face header to
5187 a pbm image.
5188 (mh-icontopbm): New function that does the job of icontopbm.
5189 (mh-emacs21-face-display-function): New function that displays
5190 Face/X-Face image in GNU Emacs 21.
5191 (mh-show-xface): Modified to test if we are running in X.
5192 Otherwise face display is suppressed.
5193
5194 * mh-customize.el (mh-show-use-xface-flag): Tweak it, now that
5195 MH-E supports face display natively on Emacs 21. Also remove the
5196 check for window-system since it doesn't belong in a customizable
5197 variable.
5198
5199 2003-02-06 Satyaki Das <satyaki@theforce.stanford.edu>
5200
5201 * mh-utils.el (sendmail): Require it so that XEmacs can find
5202 rfc822-goto-eoh.
5203 (mh-mail-header-end): A substitute for mail-header-end that
5204 doesn't widen the buffer. This is essential to avoid problems when
5205 dealing with nested messages.
5206 (mh-in-header-p, mh-letter-header-font-lock)
5207 (mh-header-field-font-lock, mh-show-font-lock-fontify-region)
5208 (mh-show-unquote-From): Use mh-mail-header-end instead of
5209 mail-header-end.
5210
5211 * mh-mime.el (mh-decode-message-body): same as above (closes SF
5212 #681518).
5213
5214 * mh-comp.el (mh-yank-cur-msg): same as above.
5215
5216 2003-02-05 Satyaki Das <satyaki@theforce.stanford.edu>
5217
5218 * mh-utils.el (mh-display-msg): Call mh-show-mode before invisible
5219 headers are cleaned. This means that any surviving X-Face header
5220 can be removed unconditionally in mh-clean-msg-header.
5221 (mh-clean-msg-header): Since the function is now called with a
5222 read-only buffer, make the buffer temporarily writable.
5223
5224 * mh-mime.el (mh-mm-inline-message): Do X-Face display before
5225 invisible headers are removed.
5226
5227 * mh-customize.el (mh-invisible-headers): Simplified since the
5228 X-Face header isn't treated specially any more.
5229 (mh-invisible-header-fields): Add Face: and X-Face: to list of
5230 invisible headers.
5231
5232 * mh-mime.el (mh-mime-display): If body is empty the headers would
5233 be treated like the body. The change fixes this (closes SF #681162).
5234 (mh-mime-display): This change really fixes the above problem.
5235
5236 2003-02-04 Satyaki Das <satyaki@theforce.stanford.edu>
5237
5238 * mh-utils.el (mh-current-folder-name): Global variable that
5239 keeps track of current folder.
5240 (mh-normalize-folder-name): Substitute @ with
5241 mh-current-folder-name (closes SF #666774).
5242 (mh-prompt-for-folder): Bind mh-current-folder-name. Also
5243 invalidate cache if we are visiting a folder that wasn't found in
5244 the sub-folder cache. This is an indication that folders may have
5245 been created outside of MH-E and so the cache may be stale.
5246
5247 2003-02-03 Satyaki Das <satyaki@theforce.stanford.edu>
5248
5249 * mh-utils.el (mh-decode-content-transfer-encoded-message): Removed.
5250 (mh-display-msg): Remove the use of the above function.
5251 (mh-normalize-folder-name): Leading "/" characters were being
5252 lost. The change fixes this (closes SF #676890).
5253
5254 * mh-mime.el (mh-decode-message-body): New function, factored out
5255 from mh-mime-display and enhanced, to decode message based on
5256 charset and content-transfer-encoding. This eliminates the need
5257 for the external mimencode (closes SF #674857).
5258 (mh-mime-display): Use mh-decode-message-body.
5259
5260 * mh-e.el (mh-header-display): Don't need the binding since the
5261 variable isn't present any more.
5262 (mh-inc-folder): Avoid calling mh-show if point is not on a valid
5263 scan line (closes SF #678115).
5264
5265 * mh-customize.el
5266 (mh-decode-content-transfer-encoded-message-flag): Removed.
5267
5268 2003-02-03 Bill Wohler <wohler@newt.com>
5269
5270 * import-emacs: MH-E now has its own directory in Emacs.
5271
5272 * mh-e.el: (mh-version): Set to 7.2+cvs.
5273
5274 2003-02-03 Bill Wohler <wohler@newt.com>
5275
5276 Released MH-E version 7.2.
5277
5278 * MH-E-NEWS, README: Updated for release 7.2.
5279
5280 * mh-e.el (Version, mh-version): Updated for release 7.2.
5281
5282 2003-02-03 Bill Wohler <wohler@newt.com>
5283
5284 * Makefile (dist): mkdir needs to happen *before* files are
5285 copied.
5286
5287 * MH-E-NEWS: Fixed some awkward verbiage.
5288
5289 2003-02-02 Bill Wohler <wohler@newt.com>
5290
5291 * mh-customize.el (mh-invisible-headers): Surround regexp-opt
5292 expression in parens to avoid problems viewing certain messages.
5293
5294 2003-01-30 Satyaki Das <satyaki@theforce.stanford.edu>
5295
5296 * mh-speed.el (mh-speed-flists): Search for flists in mh-progs.
5297 The original was inadvertently searching for flists in the user's
5298 path.
5299
5300 2003-01-27 Bill Wohler <wohler@newt.com>
5301
5302 * mh-customize.el (mh-default-folder-must-exist-flag): Changed
5303 default to t according to the principle of least surprise.
5304
5305 2003-01-26 Bill Wohler <wohler@newt.com>
5306
5307 * mh-utils.el: Checkdoc fixes.
5308
5309 * mh-pick.el (mh-do-search, mh-search-folder): Checkdoc fixes.
5310
5311 * mh-loaddefs.el: Regenerated (lm-verify fixes).
5312
5313 * mh-index.el (mh-mairix-next-result): Checkdoc fixes.
5314
5315 * mh-alias.el: lm-verify fix.
5316
5317 * Makefile (MH-E-SRC): Added ChangeLog, now that Emacs has a
5318 lisp/mh-e directory.
5319 (MH-E-ETC-ETC): Removed ChangeLog.
5320 (dist): Moved creation of mail directory next to copy of files
5321 into mail directory.
5322 (install-emacs): Copy $(MH-E-SRC) into new directory
5323 $(EMACS_HOME/lisp/mh-e.
5324 (MH-E-SRC): Moved ChangeLog into new variable MH-E-OTHERS and
5325 include MH-E-LOADDEFS there too.
5326 (mh-loaddefs.el): Added lines so that lm-verify passes.
5327 (dist, install-emacs): Use MH-E-OTHERS instead of MH-E-LOADDEFS.
5328
5329 2003-01-26 Jeffrey C Honig <jch@honig.net>
5330
5331 * mh-comp.el (mh-tidy-draft-buffer, mh-compose-and-send-mail):
5332 Rename mh-kill-draft-hook to mh-tidy-draft-buffer.
5333
5334 2003-01-25 Jeffrey C Honig <jch@honig.net>
5335
5336 * mh-utils.el (mh-exec-cmd, mh-exec-cmd-daemon)
5337 (mh-process-daemon): Use mh-log-buffer for the output of commands
5338 from mh-exec-cmd.
5339
5340 * mh-utils.el (mh-temp-folders-buffer): Sequences and folders
5341 loose the -temp from their buffer names as they are interesting to
5342 the user.
5343
5344 * mh-seq.el (mh-list-sequences): New name, mh-sequences-buffer as
5345 it is intended to be interesting to the user.
5346
5347 * mh-funcs.el (mh-list-folders): New name, mh-folders-buffer as it
5348 is intended to be interesting to the user.
5349
5350 * mh-comp.el (mh-check-whom, mh-compose-and-send-mail): Use
5351 mh-recipients-buffer constant. Add a kill buffer hook to delete
5352 the recipients buffer when a draft buffer is killed.
5353
5354 2003-01-25 Satyaki Das <satyaki@theforce.stanford.edu>
5355
5356 * mh-customize.el (mh-customize): New interactive argument
5357 deletes other windows.
5358 (mh-tool-bar-show-set, mh-tool-bar-letter-set)
5359 (mh-tool-bar-folder-set): Modified so that clicking the customize
5360 and help buttons deletes the other windows in the frame.
5361
5362 * mh-mime.el (mh-mm-inline-message): Remove unused code.
5363
5364 * mh-seq.el (mh-notate-deleted-and-refiled): Fix a small bug where
5365 the wrong notation was being used.
5366 (mh-toggle-threads): The function had a bug if you did the
5367 following starting from an unthreaded wide folder:
5368 (1) Create a sequence with S p
5369 (2) Narrow to new sequence with S n
5370 (3) Thread narrowed folder with T t
5371 (4) Kill sequence with S k
5372 (5) Unthread narrowed folder with T t
5373 At this point we would have an empty folder. The change fixes
5374 this.
5375 (mh-toggle-threads): Fix documentation.
5376
5377 * mh-customize.el (mh-invisible-header-fields): Add
5378 X-MHE-Checksum to invisible headers.
5379
5380 * mh-comp.el (mh-insert-x-mailer): Slightly more informative
5381 X-Mailer header.
5382
5383 2003-01-24 Satyaki Das <satyaki@theforce.stanford.edu>
5384
5385 * mh-e.el (mh-header-display): Modified so that quoted-printable
5386 or base64 encoded messages are left untouched.
5387
5388 * mh-utils.el (mh-decode-content-transfer-encoded-message): Munge
5389 the Content-Transfer-Encoding header so that the MIME decoding
5390 routines of Gnus doesn't get confused.
5391 (mh-display-msg): Use insert-file-contents-literally so that
5392 display will work for non-ascii.
5393
5394 * mh-mime.el (mh-mime-display): Use charset info to decode
5395 message file (closes SF #655123).
5396
5397 2003-01-24 Bill Wohler <wohler@newt.com>
5398
5399 * mh-alias.el (mh-alias-add-alias-to-file): Removed period from
5400 error message and added parens around error function.
5401
5402 2003-01-24 Satyaki Das <satyaki@theforce.stanford.edu>
5403
5404 * mh-customize.el (mh-decode-quoted-printable-flag): Removed.
5405 (mh-decode-content-transfer-encoded-message-flag): This replaces
5406 mh-decode-quoted-printable-flag.
5407
5408 * mh-utils.el (mh-decode-content-transfer-encoded-message): New
5409 function which handles messages that are encoded as base64 or
5410 quoted-printable (closes SF #674190).
5411 (mh-decode-quoted-printable): Removed.
5412 (mh-display-msg): Use mh-decode-content-transfer-encoded-message
5413 instead of mh-decode-quoted-printable.
5414
5415 2003-01-23 Satyaki Das <satyaki@theforce.stanford.edu>
5416
5417 * mh-seq.el (mh-thread-generate-scan-lines): Fix a little bug
5418 that would occasionally cause angles ('<' and '>') to appear at
5419 root level.
5420
5421 2003-01-21 Satyaki Das <satyaki@theforce.stanford.edu>
5422
5423 * mh-seq.el (mh-notate-cur): Enable overlay arrow display in text
5424 mode too.
5425
5426 * mh-e.el (mh-folder-mode): Initialize overlay-arrow-string so
5427 that a '>' is displayed in text mode.
5428
5429 2003-01-20 Satyaki Das <satyaki@theforce.stanford.edu>
5430
5431 * mh-utils.el (mh-scan-msg-overflow-regexp): Change the variable
5432 so that a space is always maintained in the beginning of the scan
5433 line.
5434
5435 * mh-seq.el (mh-notate-seq, mh-notate-cur): Make the functions
5436 faster by cutting down on the use of mh-goto-msg.
5437 (mh-toggle-threads): Add call to mh-notate-cur, since inserting
5438 the folder names in a search results folder screws up the
5439 location of the overlay arrow.
5440
5441 * mh-index.el (mh-index-delete-folder-headers): Position the
5442 point on a message line if possible.
5443
5444 * mh-funcs.el (mh-copy-msg): Use the mh-iterate macro to make the
5445 function faster.
5446
5447 * mh-e.el (mh-scan-folder): Reuse mh-notate-deleted-and-refiled.
5448
5449 * mh-loaddefs.el: Regenerated.
5450
5451 * mh-utils.el (mh-add-msgs-to-seq): Add a new parameter that
5452 suppresses the annotation of the sequence since it is
5453 inefficient.
5454
5455 * mh-seq.el (mh-delete-seq): Speed up the part of the function
5456 that removes the sequence notation.
5457 (mh-put-msg-in-seq, mh-notate-deleted-and-refiled): Use
5458 mh-iterate-on-messages-in-region to make the function fasters when
5459 operating on regions. The key idea is to loop over the folder
5460 buffer exactly once and do all annotations. The existing algo
5461 would walk over the buffer multiple times thereby slowing things
5462 down.
5463 (mh-iterate-on-messages-in-region): Added an extra parameter which
5464 is bound to the message index as the loop is executed.
5465 (mh-region-to-msg-list, mh-thread-delete, mh-thread-refile): Use
5466 the new mh-iterate-on-messages-in-region macro.
5467
5468 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg, mh-undo): Same
5469 as above.
5470 (mh-notate-user-sequences): Change algorithm to make notating of
5471 user sequences fast.
5472
5473 2003-01-19 Satyaki Das <satyaki@theforce.stanford.edu>
5474
5475 * mh-logo.xpm: New image file that contains the MH-E logo.
5476 Change foreground color to the blue in the MH-E logo.
5477
5478 * Makefile (MH-E-IMG): Add mh-logo.xpm to list of image files.
5479
5480 * mh-utils.el (mh-show-buffer-mode-line-buffer-id): Adjust it to
5481 keep space in the beginning for the logo.
5482 (mh-logo-cache): New variable that caches the logo image file
5483 location.
5484 (mh-logo-display): Display the MH-E logo on the mode line.
5485 (mh-display-msg): Display logo in mh-show-mode.
5486
5487 * mh-e.el (mh-make-folder-mode-line): Display logo in
5488 mh-folder-mode.
5489
5490 * mh-comp.el (mh-compose-and-send-mail): Display logo in
5491 mh-letter-mode.
5492
5493 * mh-loaddefs.el: Regenerated.
5494
5495 * mh-seq.el (mh-iterate-on-messages-in-region): New macro to
5496 iterate on all messages in a region.
5497 (mh-region-to-msg-list): Simplified since it uses
5498 mh-iterate-on-messages-in-region now.
5499
5500 * mh-e.el (mh-delete-msg, mh-refile-msg): Change interactive spec
5501 to pass the region that is to be deleted when appropriate.
5502 (mh-delete-msg-no-motion, mh-refile-msg, mh-undo): Operate on
5503 regions directly without creating the list of messages to be
5504 deleted/refiled.
5505 (mh-delete-a-msg, mh-refile-a-msg, mh-undo-msg): The msg
5506 parameter in these functions can now be nil. If so, the current
5507 message is deleted, refiled or undone respectively. Avoids the
5508 use of mh-goto-msg in this case and speeds up operations on
5509 regions quite a bit.
5510
5511 2003-01-19 Peter S Galbraith <psg@debian.org>
5512
5513 * mh-alias.el (mh-read-address): Bug Fix. In XEmacs and Emacs20,
5514 it would always prompt using "To: " instead of using the command
5515 argument (closes SF #670913).
5516
5517 2003-01-19 Satyaki Das <satyaki@theforce.stanford.edu>
5518
5519 * mh-utils.el (mh-folder-completion-function): If there is a
5520 +foo/bar folder and the user types foo//bar then the completion
5521 function would say a match happened without showing the
5522 normalized folder name. This change fixes that.
5523
5524 2003-01-18 Satyaki Das <satyaki@theforce.stanford.edu>
5525
5526 * mh-e.el (mh-rmail): Modified so that new and unseen messages
5527 are shown (closes SF #667542).
5528
5529 2003-01-17 Satyaki Das <satyaki@theforce.stanford.edu>
5530
5531 * mh-index.el (mh-index-generate-pretty-name): Generate nicer
5532 names. In particular all '-' characters are removed.
5533
5534 2003-01-16 Satyaki Das <satyaki@theforce.stanford.edu>
5535
5536 * mh-customize.el (mh-index-program): Documentation fix.
5537
5538 * mh-loaddefs.el: Regenerated.
5539
5540 * mh-customize.el (mh-index-program): Add choices for mairix and
5541 pick.
5542
5543 * mh-index.el (mh-indexer-choices): Add search interfaces for
5544 mairix and pick.
5545 (mh-index-search): Add links for mairix and pick.
5546 (mh-index-pick-folder, mh-pick-binary): Variables needed to
5547 implement pick support.
5548 (mh-pick-execute-search, mh-pick-next-result): New functions to
5549 implement pick support.
5550 (mh-mairix-binary, mh-mairix-directory, mh-mairix-folder): New
5551 variables for mairix support.
5552 (mh-mairix-execute-search, mh-mairix-next-result)
5553 (mh-mairix-regexp-builder, mh-mairix-convert-to-sop*): New
5554 functions for mairix.
5555
5556 * mh-funcs.el (mh-kill-folder): Move message to the end.
5557
5558 * mh-e.el (mh-folder-mode): Make overlay-arrow-position and
5559 overlay-arrow-string local variables so that the arrow will
5560 remain even if some other folder is visited.
5561 (mh-remove-cur-notation, mh-remove-all-notation): The test isn't
5562 required any more since overlay-arrow-position is local.
5563 (mh-goto-cur-msg): Remove overlay arrow if current message
5564 doesn't exist.
5565
5566 * mh-seq.el (mh-notate-cur): Don't need to set
5567 overlay-arrow-string any more since it is local and has been set
5568 at initialization.
5569
5570 2003-01-15 Satyaki Das <satyaki@theforce.stanford.edu>
5571
5572 * mh-speed.el (mh-speed-current-folder): Keep track of current
5573 folder when flists is called.
5574 (mh-speed-flists, mh-speed-parse-flists-output): Try to avoid
5575 ambiguity when folders are present with + at the end of the name.
5576 Unfortunately it can't always be avoided.
5577
5578 * mh-e.el (mh-folder-size): Remove the unnecessary error check.
5579 (mh-parse-flist-output-line): Add extra argument which
5580 occasionally avoid problems with folder names that end with '+'.
5581
5582 * mh-utils.el (mh-sub-folders-actual): Fix the folder name
5583 parsing so that it doesn't get confused by trailing '+' chars in
5584 the folder name.
5585
5586 2003-01-14 Satyaki Das <satyaki@theforce.stanford.edu>
5587
5588 * mh-utils.el (mh-normalize-folder-name): Enhanced so that it can
5589 now handle ".." and "." correctly during folder name completion.
5590 (mh-normalize-folder-name): Avoid error in boundary condition
5591 where the folder string is empty.
5592
5593 2003-01-14 Mark D. Baushke <mdb@gnu.org>
5594
5595 * mh-e.el (mh-visit-folder): Pass `current-prefix-arg' to
5596 the `mh-read-msg-range' function as the optional
5597 always-prompt-flag.
5598
5599 2003-01-14 Satyaki Das <satyaki@theforce.stanford.edu>
5600
5601 * mh-utils.el (mh-normalize-folder-name): New function that
5602 normalizes folder names.
5603 (mh-sub-folders): Use mh-normalize-folder-name. Also the function
5604 has been modified so that a trailing slash is only added if the
5605 folder potentially has subfolders.
5606 (mh-sub-folders-actual): Simplified since the folder has already
5607 been normalized in mh-sub-folders.
5608 (mh-remove-from-sub-folders-cache): Modified so that the cached
5609 results of two of the folders ancestors are invalidated.
5610 (mh-folder-completion-map): Ugly hack to make the error go away
5611 when minibuffer-complete-word is called.
5612 (mh-folder-completion-function): The completion function will now
5613 be more selective in adding '/' at the end of completed folder
5614 names.
5615 (mh-folder-completing-read): The folder name is normalized before
5616 return. The minibuffer-local-completion-map is shadowed to avoid
5617 error with SPC (bound to minibuffer-complete-word). We really
5618 need a better solution.
5619
5620 2003-01-13 Bill Wohler <wohler@newt.com>
5621
5622 * mh-seq.el: Edited comment and docstring text to conform with RFC
5623 2822 terminology. Message-ID is the header field. It contains a
5624 message identifier.
5625
5626 2003-01-13 Satyaki Das <satyaki@theforce.stanford.edu>
5627
5628 * mh-utils.el (mh-sub-folders): Add an argument that returns
5629 sub-folders with a / character appended at the end.
5630 (mh-folder-completion-function): Modify the function so that one
5631 tab is now sufficient to complete the folder name and add a
5632 trailing /.
5633 (mh-folder-completing-read): Remove the trailing / that the
5634 completion function now adds to the folder name. Also multiple /
5635 characters in the folder input are removed. So if the user inputs
5636 +foo///bar//baz///// then that will be converted to +foo/bar/baz.
5637 This will improve the performance of caching.
5638
5639 * mh-seq.el (mh-notate-cur): Check that a valid current message
5640 exists before trying to notate (closes SF #667331).
5641 (mh-message-id-regexp): New variable to store regexp to recognize
5642 message-ids.
5643 (mh-thread-generate): Use mh-message-id-regexp to filter out non
5644 message-id's from the References: header.
5645
5646 2003-01-12 Satyaki Das <satyaki@theforce.stanford.edu>
5647
5648 * mh-seq.el (mh-notate-cur): Disable overlay-arrow display if we
5649 aren't on a graphic display.
5650
5651 2003-01-11 Satyaki Das <satyaki@theforce.stanford.edu>
5652
5653 * mh-seq.el (mh-notate-cur): New function to notate the current
5654 message. The marker in the fringe is updated too.
5655 (mh-narrow-to-seq, mh-widen, mh-thread-inc, mh-thread-folder): Use
5656 the specialized function mh-notate-cur instead of mh-notate-seq.
5657
5658 * mh-e.el (mh-arrow-marker): New buffer local variable to store
5659 the position where the marker in the fringe is going to be
5660 displayed (closes SF #664824).
5661 (mh-folder-mode): Create a marker for the fringe.
5662 (mh-update-sequences, mh-get-new-mail, mh-goto-cur-msg): Call the
5663 specialized function mh-notate-cur instead of mh-notate-seq or
5664 mh-notate.
5665 (mh-remove-cur-notation, mh-remove-all-notation): Reset the
5666 overlay-arrow-position if needed.
5667
5668 * mh-loaddefs.el: Regenerated.
5669
5670 2003-01-10 Satyaki Das <satyaki@theforce.stanford.edu>
5671
5672 * mh-utils.el (mh-remove-from-sub-folders-cache): Modified so that
5673 creating nested folders doesn't produce inconsistent results.
5674 (mh-prompt-for-folder): Remove call of mh-folder-list-change-hook.
5675
5676 * mh-funcs.el (mh-kill-folder): Don't ask for confirmation if
5677 called on a folder holding index search results. Also the now
5678 removed mh-folder-list-change-hook is called no more.
5679
5680 * mh-customize.el (mh-auto-folder-collect-flag)
5681 (mh-folder-list-change-hook): Removed.
5682
5683 * mh-loaddefs.el: Regenerated.
5684
5685 2003-01-10 Bill Wohler <wohler@newt.com>
5686
5687 * mh-customize.el (mh-default-folder-must-exist-flag): New
5688 variable to suppress suggested folder if the folder doesn't
5689 already exist (closes SF #657096).
5690 (mh-default-folder-list): New variable that
5691 holds mapping between an address and the desired folder for
5692 filing (closes SF #657096).
5693 (mh-default-folder-prefix, mh-default-folder-must-exist-flag): In
5694 docstring, refer to documentation for mh-prompt-for-refile-folder
5695 and mh-folder-from-address.
5696 (mh-highlight-citation-p, mh-compose-insertion,
5697 (mh-insert-mail-followup-to-list, mh-index-program,
5698 (mh-identity-default): Fixed case of tags.
5699
5700 * mh-e.el (mh-folder-from-address): Use new variable
5701 mh-default-folder-must-exist-flag to return nil if this variable
5702 is t and the folder doesn't already exist. In addition, can now
5703 look up a default folder in the new variable
5704 mh-default-folder-list (closes SF #657096).
5705 (mh-prompt-for-refile-folder): In docstring, refer to
5706 documentation in mh-folder-from-address.
5707
5708 * mh-index.el (mh-swish-execute-search): Changed \..* to \\..* in
5709 the FileRules filename in the sample config file. Otherwise, the
5710 users don't see the backslash at all, and no files are indexed!
5711 (closes SF #665888).
5712
5713 2003-01-10 Satyaki Das <satyaki@theforce.stanford.edu>
5714
5715 * mh-seq.el (mh-thread-folder): Get headers for exactly the
5716 messages that are present. If only messages 1-10 and 3800-3900
5717 are being shown then we will now scan exactly those messages and
5718 not the full range from 1-3900 as was being done earlier.
5719 (mh-toggle-threads): When converting from threaded to normal view
5720 only the messages present in the buffer are scanned. Earlier all
5721 messages from the minimum to the maximum would be scanned (closes
5722 SF #626117).
5723
5724 * mh-pick.el (mh-search-folder): Fix typo.
5725 (mh-pick-do-search): Fix bug from cut and paste. Also set window
5726 config properly.
5727
5728 * mh-utils.el (mh-prompt-for-folder): Add new argument to allow
5729 it to accept + as a folder name. This allows the user to search
5730 all folders when "Fs" is used.
5731
5732 * mh-pick.el (mh-search-folder): Fix interactive spec of function.
5733 (mh-pick-do-search): Rewritten to call pick in one go. This will
5734 make adding pick as a default index search program easier. Also
5735 pick now accepts the same query syntax as the index search
5736 programs (closes SF #664816).
5737 (mh-next-pick-field): Removed.
5738 (mh-pick-parse-search-buffer): New function to parse the search
5739 buffer.
5740 (mh-pick-construct-regexp, mh-pick-regexp-builder): New function
5741 to produce a pick query from the parsed representation.
5742
5743 * mh-index.el (mh-index-do-search): Refactor the search pattern
5744 parser into a new function and use that instead.
5745
5746 * mh-loaddefs.el: Regenerated.
5747
5748 2003-01-10 Satyaki Das <satyaki@theforce.stanford.edu>
5749
5750 * mh-loaddefs.el: Regenerated.
5751
5752 * mh-utils.el (mh-remove-from-sub-folders-cache)
5753 (mh-prompt-for-folder): Replace mh-update-sub-folders-cache with
5754 mh-remove-from-sub-folders-cache.
5755 (mh-exec-cmd-daemon): Mention set-process-filter in documentation.
5756
5757 * mh-pick.el (mh-searching-function): New buffer local variable
5758 that keeps track of the default searching function to be used.
5759 (mh-pick-mode): Make mh-searching-function buffer local.
5760 (mh-search-folder): Set mh-searching-function to use pick.
5761 (mh-search-folder, mh-pick-menu, mh-pick-mode-help-messages)
5762 (mh-pick-mode, mh-do-pick-search, mh-pick-do-search): Rename
5763 mh-do-pick-search to mh-pick-do-search. But keep
5764 mh-do-pick-search as a deprecated function.
5765 (mh-do-search): New interactive function that performs the
5766 default search.
5767 (mh-pick-mode-map): Update keymap.
5768
5769 * mh-index.el (mh-index-search): Set mh-searching-function to do
5770 index search.
5771 (mh-index-new-folder): Replace mh-update-sub-folders-cache with
5772 mh-remover-from-sub-folders-cache.
5773
5774 * mh-funcs.el (mh-kill-folder): Same as above.
5775
5776 * mh-index.el (mh-index-evaluate, mh-swish++-regexp-builder):
5777 Checkdoc fixes.
5778
5779 * mh-customize.el: Fixes to make byte compiler in CVS Emacs
5780 perfectly happy.
5781
5782 2003-01-09 Bill Wohler <wohler@newt.com>
5783
5784 * mh-e.el (mh-folder-from-address): New function that proposes the
5785 name of a folder with an alias for the address in the current message.
5786 (mh-prompt-for-refile-folder): Use it (closes SF #657096).
5787
5788 * mh-customize.el (mh-default-folder-prefix): New variable used by
5789 mh-folder-from-address.
5790 (mh-invisible-header-fields): Edited docstring.
5791
5792 * mh-alias.el (mh-alias-address-to-alias): Added ;;;###mh-autoload
5793 cookie (used by mh-folder-from-address in mh-e.el). Edited text in
5794 comment.
5795
5796 * mh-utils.el: Provided naming conventions for buffer and buffer
5797 variable names.
5798 (mh-temp-folders-buffer): Renamed buffer to " *mh-folders*".
5799 (mh-temp-sequences-buffer): Renamed buffer to " *mh-sequences*".
5800 (mh-info-buffer): Renamed from mh-temp-info-buffer.
5801 (mh-log-buffer): New buffer variable to hold name of "*MH-E Log*"
5802 buffer which is expected to be used for the output of MH commands.
5803 Perhaps we always create this buffer at initialization and append
5804 to it rather than erase it each time?
5805
5806 * mh-e.el (mh-quit): Loop over all buffers and delete MH-E
5807 temporary and working buffers. As long as the buffer naming
5808 conventions are followed, new buffers will be automatically
5809 killed.
5810 (mh-version): Renamed mh-temp-info-buffer to mh-info-buffer.
5811
5812 * mh-comp.el (mh-insert-x-mailer): Renamed mh-temp-info-buffer to
5813 mh-info-buffer.
5814
5815 2003-01-09 Satyaki Das <satyaki@theforce.stanford.edu>
5816
5817 * mh-e.el (mh-folder-size): If the user doesn't have a
5818 Unseen-Sequence definition in .mh_profile then an error was
5819 produced. This change fixes that.
5820
5821 * mh-seq.el (mh-thread-generate): Replace the *mh-thread* buffer
5822 with a temporary buffer which is cleaned up when the function
5823 exits.
5824
5825 * mh-e.el (mh-prompt-for-refile-folder): New function which
5826 refactors out the intelligent folder guessing code from
5827 mh-refile-msg.
5828 (mh-refile-msg): Use mh-prompt-for-refile-folder.
5829
5830 * mh-seq.el (mh-thread-refile): Use mh-prompt-for-refile-folder to
5831 do the same intelligent destination folder guessing as
5832 mh-refile-msg (closes SF #664829).
5833
5834 * mh-utils.el (mh-folder-list, mh-make-folder-list-process)
5835 (mh-folder-list-temp, mh-folder-list-partial-line)
5836 (mh-set-folder-list): Removed.
5837 (mh-sub-folders-cache, mh-sub-folders, mh-sub-folders-actual):
5838 Moved over from mh-speed.el to implement hierarchical completion.
5839 (mh-update-sub-folders-cache): Utility function called when
5840 new folders are created or folders are removed.
5841 (mh-folder-completion-function): New function is the folder name
5842 completion function used in completing-read.
5843 (mh-folder-completing-read): A thin wrapper function that is used
5844 instead of completing-read directly. In the future we might want
5845 to allow the user a customizable variable which will turn off
5846 folders based completion.
5847 (mh-prompt-for-folder): Use mh-folder-completing-read to read in
5848 the folder name with hierachical completion (closes SF #664821).
5849
5850 * mh-speed.el (mh-speed-folders, mh-speed-folders-cache)
5851 (mh-speed-folders-actual): Moved to mh-utils.el as mh-sub-folders,
5852 mh-sub-folders-cache and mh-sub-folders-actual respectively.
5853 (mh-speed-invalidate-map, mh-speed-invalidate-map)
5854 (mh-speed-add-folder): Use the new names.
5855
5856 * mh-funcs.el (mh-kill-folder): Remove code that used to update
5857 mh-folder-list which is no longer present. Instead
5858 mh-update-sub-folders-cache is called.
5859
5860 * mh-index.el (mh-index-new-folder): Same as above.
5861
5862 2003-01-08 Satyaki Das <satyaki@theforce.stanford.edu>
5863
5864 * mh-utils.el (mh-exec-cmd-daemon): An argument was added which
5865 controls what is done with the process output.
5866
5867 * mh-funcs.el (mh-kill-folder): Use mh-previous-window-config to
5868 restore window configuration. Also the call to mh-exec-cmd-daemon
5869 only displays output if an error happened (closes SF #664828).
5870 (mh-rmf-daemon): Check rmf output and display it only if
5871 something went wrong.
5872 (mh-print-msg): Pass in nil argument to mh-exec-cmd-daemon.
5873
5874 * mh-comp.el (mh-redistribute, mh-send-letter): Pass in nil
5875 argument to mh-exec-cmd-daemon so that the functions will behave
5876 as before.
5877
5878 * mh-pick.el (mh-search-folder): The current window config is
5879 stored.
5880 (mh-make-pick-template): Make the message headers read-only.
5881 (mh-pick-mode-help-messages): Update help message.
5882 (mh-do-pick-search): Fix problem when buffer isn't showing any
5883 messages.
5884 (mh-next-pick-field): Use buffer-substring-no-properties is
5885 better.
5886 (mh-pick-mode-map): Add key bindings (partially addresses
5887 SF #664816)
5888
5889 * mh-index.el (mh-indexer-choices): Add a new field for each
5890 index program choice. If it is non-nil then it is the name of a
5891 function that given a lisp expression to search for generates a
5892 pattern that is acceptable to the search program.
5893 (mh-index-regexp-builder): New variable that stores the function
5894 to be used to convert from the lisp expression syntax to
5895 something that the search program understands.
5896 (mh-index-generate-pretty-name): Generalized so that it can take
5897 a list of strings as input.
5898 (mh-index-search): Modified so that if the configured program has
5899 a corresponding regexp-builder then a search buffer like pick
5900 search is produced. Otherwise the previous behavior is maintained.
5901 (mh-index-do-search): New interactive function that takes the
5902 contents of the search buffer, generates an appropriate query and
5903 produces the search results buffer by calling mh-index-search.
5904 (mh-replace-string, mh-index-parse-search-regexp)
5905 (mh-index-add-implicit-ops, mh-index-evaluate): New functions
5906 which parses the infix search expression that the user enters. A
5907 parse tree from which queries for different search programs can
5908 be produced is produced.
5909 (mh-swish++-regexp-builder, mh-swish++-print-regexp): Takes the
5910 internal form of the query and produces input suitable for
5911 swish++.
5912
5913 * mh-loaddefs.el: Regenerated.
5914
5915 2003-01-08 Bill Wohler <wohler@newt.com>
5916
5917 * Makefile (emacs-logs): New target for viewing CVS Emacs logs.
5918 Useful to see if an Emacs developer has changed MH-E.
5919
5920 * MH-E-NEWS: Fixed case of MH-E in the "Changes" title.
5921
5922 * mh-utils.el (mh-temp-info-buffer): New variable to hold name of
5923 buffer that contains version info.
5924
5925 * mh-e.el (mh-version): Use mh-temp-info-buffer instead of
5926 mh-temp-buffer since version information was getting clobbered by
5927 the aliasing code before it could be seen (closes SF #664467).
5928 (mh-quit): Delete mh-temp-info-buffer.
5929
5930 * mh-comp.el (mh-insert-x-mailer): Use mh-temp-info-buffer to find
5931 version info instead of mh-temp-buffer. You kind of need this
5932 patch to send mail.
5933
5934 2003-01-07 Bill Wohler <wohler@newt.com>
5935
5936 * mh-e.el (Version, mh-version): Set to 7.1+cvs.
5937
5938 2003-01-07 Bill Wohler <wohler@newt.com>
5939
5940 Released MH-E version 7.1.
5941
5942 * MH-E-NEWS, README: Updated for release 7.1.
5943
5944 * mh-e.el (Version, mh-version): Updated for release 7.1.
5945
5946 2003-01-07 Bill Wohler <wohler@newt.com>
5947
5948 * mh-customize.el (mh-auto-folder-collect-flag,
5949 mh-alias-system-aliases, mh-alias-insert-file): Edited docstrings.
5950
5951 * Makefile (MH-E-IMG): Added alias.pbm and alias.xpm.
5952
5953 * mh-alias.el (mh-alias-insert-file, mh-alias-add-alias): Fixed
5954 checkdoc warnings.
5955
5956 2003-01-07 Satyaki Das <satyaki@theforce.stanford.edu>
5957
5958 * mh-utils.el (mh-search-from-end): New function that is used to
5959 replace our usage of the CL function search.
5960 (font-lock): The library is loaded to avoid compilation warning
5961 in CVS Emacs.
5962
5963 * mh-speed.el (mh-speed-goto-folder, mh-speed-add-folder)
5964 (mh-speed-extract-folder-name, mh-speed-invalidate-map): Use
5965 mh-search-from-end instead of search.
5966
5967 * mh-seq.el (mh-thread-remove-parent-link): Use loop instead of
5968 remove*.
5969 (mh-thread-process-in-reply-to): Use mh-search-from-end instead
5970 of search.
5971
5972 * mh-index.el (mh-md5-parser): Fix name of function.
5973 (mh-index-update-single-msg, mh-index-update-maps): Avoid using
5974 destructuring-bind since Emacs-20.7 can't handle this particular
5975 usage.
5976 (mh-namazu-next-result): Use mh-search-from-end instead of
5977 search.
5978
5979 * mh-e.el (recursive-load-depth-limit): Add a defvar since CVS
5980 emacs which doesn't have the variable defined causes a compiler
5981 warning.
5982 (mh-refile-a-msg): Rewritten to avoid using pushnew.
5983 (mh-undo-msg): Use loop instead of remove-if.
5984
5985 * mh-comp.el (mh-show-buffer-message-number): Use
5986 mh-search-from-end instead of search.
5987
5988 2003-01-01 Satyaki Das <satyaki@theforce.stanford.edu>
5989
5990 * mh-e.el (mh-visit-folder): Modified so that if RANGE is nil then
5991 all messages are displayed. Documentation modified so that this is
5992 explicitly stated.
5993 (mh-visit-folder): Really fix it this time.
5994
5995 2003-01-01 Mark D Baushke <mdb@gnu.org>
5996
5997 * mh-alias.el (mh-alias-from-has-no-alias-p): Needs the
5998 mh-autoload comment or mh-customize may have problems finding the
5999 function.
6000
6001 * mh-loaddefs.el: Regenerated.
6002
6003 2002-12-28 Satyaki Das <satyaki@theforce.stanford.edu>
6004
6005 * mh-index.el (mh-namazu-execute-search): Fix bug in documentation.
6006
6007 2002-12-28 Bill Wohler <wohler@newt.com>
6008
6009 * mh-comp.el (mh-letter-mode): Mention mh-compose-insertion
6010 variable in docstring, explain how to expand directives, and
6011 don't mention mh-mhn-compose-insertion which isn't used directly
6012 any more.
6013 (mh-send-letter): Mention that X-Mailer and X-Face are inserted
6014 automatically so that a user isn't tempted to do so himself in
6015 mh-before-send-letter-hook.
6016 (mh-insert-letter): Use "variable" prefix for mh-invisible-headers
6017 now that we have both a function and a variable. Clarified
6018 language a bit.
6019
6020 2002-12-26 Satyaki Das <satyaki@theforce.stanford.edu>
6021
6022 * mh-utils.el (mh-show-xface-function): Only load x-face-e21 if
6023 the emacs is not XEmacs.
6024
6025 * mh-index.el (mh-index-new-folder): The folder created should
6026 always be added to mh-folder-list. Otherwise folder name
6027 completion doesn't find the new folder created.
6028
6029 2002-12-24 Satyaki Das <satyaki@theforce.stanford.edu>
6030
6031 * mh-customize.el (mh-clean-message-header-flag)
6032 (mh-visible-headers, mh-invisible-headers)
6033 (mh-invisible-header-fields-set): Reworded to satisfy checkdoc.
6034
6035 * mh-loaddefs.el: Regenerated.
6036
6037 * mh-e.el (mh-inc-folder, mh-visit-folder, mh-read-msg-range):
6038 Handle nil value of mh-large-folder properly.
6039
6040 * mh-customize.el (mh-tool-bar-show-set, mh-tool-bar-letter-set)
6041 (mh-tool-bar-folder-set, mh-tool-bar-folder-buttons)
6042 (mh-invisible-headers, mh-invisible-header-fields-set): Checkdoc
6043 fixes.
6044 (mh-large-folder): Updated to allow for infinity. If
6045 mh-large-folder is nil then all folders are deemed small.
6046
6047 2002-12-23 Satyaki Das <satyaki@theforce.stanford.edu>
6048
6049 * mh-e.el (mh-inc-folder, mh-visit-folder): Emit a message if
6050 threading was suppressed because the number of messages exceed
6051 mh-large-folder.
6052
6053 2002-12-23 Peter S Galbraith <psg@debian.org>
6054
6055 * mh-utils.el (mh-invisible-headers): Deleted. Moved to
6056 mh-customize.el
6057
6058 * mh-customize.el (mh-invisible-header-fields): New
6059 defcustom. Simple user interface to change mh-invisible-headers.
6060 (mh-invisible-header-fields-set): New function called when
6061 mh-invisible-header-fields is set.
6062 (mh-invisible-headers): New function. Does the actual work of
6063 building the variable mh-invisible-headers from
6064 mh-invisible-header-fields.
6065 (mh-invisible-headers): defvar moved from mh-utils.el
6066
6067 2002-12-22 Satyaki Das <satyaki@theforce.stanford.edu>
6068
6069 * mh-speed.el (mh-speed-folder-size): Removed. Something very
6070 similar appears as mh-folder-size.
6071 (mh-speed-view): Simplified since the range selection logic has
6072 been moved to mh-read-msg-range.
6073 (mh-speed-parse-flists-output-line): Moved to mh-e.el as
6074 mh-parse-flist-output-line.
6075
6076 * mh-funcs.el (mh-pack-folder): Use the new mh-read-msg-range.
6077
6078 * mh-e.el (mh-rescan-folder): Use the new mh-read-msg-range.
6079 (mh-parse-flist-output-line): Moved from mh-speed.el where this
6080 function was called mh-speed-parse-flists-output-line.
6081 (mh-folder-size): Renamed from mh-speed-folder-size. The function
6082 has been made more general and can be called from any buffer and
6083 not just the speedbar buffer.
6084 (mh-visit-folder): Use the new mh-read-msg-range (addresses SF
6085 #655891).
6086 (mh-read-msg-range): Rewritten.
6087
6088 2002-12-21 Satyaki Das <satyaki@theforce.stanford.edu>
6089
6090 * mh-seq.el (mh-delete-subject-or-thread): New interactive
6091 function that intelligently deletes messages based on threading,
6092 if the folder is threaded, or on subject if folder isn't threaded.
6093
6094 * mh-utils.el (mh-show-delete-subject-or-thread): New interactive
6095 function, callable from the show buffer, to intelligently delete
6096 messages based on threading info or subject.
6097 (mh-show-mode-map): Change binding of "k" to call
6098 mh-show-delete-subject-or-thread.
6099
6100 * mh-e.el (mh-folder-mode-map): Change binding of "k" to call
6101 mh-delete-subject-or-thread.
6102
6103 * mh-comp.el (mh-letter-mode-map): Add key binding for
6104 mh-insert-identity.
6105
6106 * mh-loaddefs.el: Regenerated.
6107
6108 2002-12-21 Peter S Galbraith <psg@debian.org>
6109
6110 * mh-customize.el (mh-tool-bar-letter-set): Bug fix. The
6111 `tool-bar-add-item-from-menu' items were broken. I can't use my
6112 constants there.
6113
6114 2002-12-21 Peter S Galbraith <psg@debian.org>
6115
6116 * mh-alias.el (mh-alias-insert-file): Bug fix. I never checked
6117 that an AliasFile entry existed in .mh_profile.
6118
6119 2002-12-21 Peter S Galbraith <psg@debian.org>
6120
6121 * mh-customize.el (mh-alias-insertion-location): New defustom.
6122 Specifies where new aliases are entered in alias files.
6123
6124 * mh-alias.el (mh-alias-add-alias-to-file): Use it.
6125
6126 2002-12-21 Peter S Galbraith <psg@debian.org>
6127
6128 * mh-alias.el (mh-alias-add-alias-to-file): If ALIAS matches
6129 exactly, prompt to [i]nsert before old value or [a]ppend after it.
6130 (mh-alias-insert-file): Make sure we don't edit the passwd file.
6131 Add optional argument for alias; If ALIAS is specified and it
6132 already exists, try to return the file that contains it.
6133 (mh-alias-which-file-has-alias): New function. Return the name of
6134 writable file which defines ALIAS from list FILE-LIST.
6135 (mh-alias-add-alias): Remove prompts for case of alias already
6136 defined; done in mh-alias-add-alias-to-file.
6137
6138 2002-12-21 Satyaki Das <satyaki@theforce.stanford.edu>
6139
6140 * mh-speed.el (mh-speed-folders-actual): Fix bug in parsing of
6141 folder names that have spaces in them. The original function would
6142 truncate the folder name at the first space.
6143 (mh-speed-flists): Add -sequence option to flists. This guards
6144 against the user specifying something other than the unseen
6145 sequence in his .mh_profile.
6146 (mh-speed-parse-flists-output-line): New function that parses a
6147 single line in the output of flists to find the folder name and
6148 the counts of unseesn and total messages.
6149 (mh-speed-parse-flists-output): Fix parsing bug which truncates
6150 the folder names at the first space.
6151
6152 * mh-index.el (mh-index-generate-pretty-name): New function which
6153 generates a nicer name for the search results. It trims white
6154 space at the beginning and end and replaces white space with
6155 underscores within the search regexp.
6156 (mh-index-search): Use mh-index-generate-pretty-name.
6157
6158 * mh-loaddefs.el: Regenerated.
6159
6160 2002-12-20 Satyaki Das <satyaki@theforce.stanford.edu>
6161
6162 * mh-index.el (mh-index-new-folder): Add new folder to
6163 mh-folder-list to enable name completion.
6164 (mh-glimpse-execute-search, mh-swish-execute-search)
6165 (mh-swish++-execute-search): Fix documentation.
6166
6167 * mh-seq.el (mh-thread-generate): Fixed a stupid bug where the wrong
6168 folder could get 'scan'ed when generating the threaded view.
6169
6170 * mh-index.el (mh-index-search): If optional prefix arg is given
6171 then the search in the current index buffer is redone.
6172 (mh-glimpse-execute-search, mh-swish-execute-search)
6173 (mh-namazu-execute-search): Documentation fixes.
6174
6175 * mh-e.el (mh-index-previous-search): New buffer local variable
6176 stores parameters of search that created the buffer.
6177 (mh-folder-mode): Make mh-index-previous-search buffer local.
6178 (mh-visit-folder): Tweak the function so that only a single window
6179 with the folder buffer is shown if mh-showing-mode is nil.
6180
6181 * mh-loaddefs.el: Regenerated.
6182
6183 2002-12-19 Peter S Galbraith <psg@debian.org>
6184
6185 * mh-alias.el (mh-alias-add-alias): Bug fix.
6186
6187 2002-12-19 Peter S Galbraith <psg@debian.org>
6188
6189 * mh-alias.el (mh-alias-add-alias): New interactive command. Add
6190 ALIAS for ADDRESS in personal alias file.
6191 (mh-alias-grab-from-field): New interactive command. Add ALIAS for
6192 ADDRESS in personal alias file.
6193 (mh-alias-add-address-under-point): New interactive
6194 command. Insert an alias for email address under point.
6195 (mh-alias-suggest-alias): New function. Suggest an alias for STRING.
6196 (mh-alias-insert-file): New function. Return the alias file to
6197 write a new entry in.
6198 (mh-alias-address-to-alias): New function. Return the ADDRESS
6199 alias if defined, or nil."
6200 (mh-alias-from-has-no-alias-p): New function. Return t is From has
6201 no current alias set. Used as tool-bar button enable function.
6202 (mh-alias-add-alias-to-file): New function. Add ALIAS for ADDRESS
6203 in alias FILE without alias check or prompts.
6204
6205 * alias.xpm, alias.pbm: New tool-bar icon for
6206 mh-alias-grab-from-field.
6207
6208 * mh-e.el (mh-folder-line-matches-show-buffer-p): New function.
6209 Return t if the message under point in folder-mode is in the show
6210 buffer.
6211
6212 * mh-utils.el (mh-goto-address-find-address-at-point): New
6213 function copied from goto-addr.el, which we don't want to
6214 force-load on users. Find e-mail address around or before point.
6215 (mh-address-mail-regexp): New defvar. A regular expression
6216 probably matching an e-mail address.
6217
6218 * mh-customize.el (mh-alias-insert-file): New defcustom.
6219 Filename to use to store new MH-E aliases.
6220 (mh-tool-bar-folder-buttons): Enable mh-tool-bar-item-alias icon.
6221
6222 * mh-comp.el (mh-extract-from-header-value): New function.
6223 Extract From: string from header.
6224
6225 2002-12-19 Satyaki Das <satyaki@theforce.stanford.edu>
6226
6227 * mh-index.el (mh-index-update-single-msg): New defvar controls
6228 max number of command line args.
6229 (mh-index-execute): New function which is to be used
6230 instead of xargs so that we don't give the shell too many command
6231 line args.
6232 (mh-index-update-maps): Use mh-index-execute instead of xargs.
6233 (mh-index-search): Remove unused code. Also the first message in
6234 folder buffer is made current.
6235
6236 2002-12-18 Peter S Galbraith <psg@debian.org>
6237
6238 * mh-loaddefs.el: Regenerated.
6239
6240 * mh-comp.el (mh-letter-tool-bar-map): Moved to mh-customize.el
6241
6242 * mh-e.el (mh-folder-tool-bar-map): Moved to mh-customize.el
6243
6244 * mh-utils.el (mh-get-msg-num): autoloaded.
6245 (mh-show-tool-bar-map): Moved to mh-customize.el
6246
6247 * mh-customize.el (mh-tool-bar-item-*): 33 new defconsts for
6248 tool-bar setup and customization.
6249 (mh-tool-bar-folder-buttons-set): New function to setup the
6250 tool-bar after customization.
6251 (mh-tool-bar-folder-buttons): New defcustom to specify which icons
6252 appears in the tool-bar.
6253 (mh-tool-bar-letter-buttons-set): New function to setup the
6254 tool-bar after customization.
6255 (mh-tool-bar-letter-buttons): New defcustom to specify which icons
6256 appears in the tool-bar.
6257 (mh-tool-bar-show-set): New function to setup mh-letter-tool-bar-map.
6258 (mh-tool-bar-letter-set): New function to setup
6259 mh-letter-tool-bar-map.
6260
6261 2002-12-18 Satyaki Das <satyaki@theforce.stanford.edu>
6262
6263 * mh-e.el (mh-folder-mode-map): Change entries for "\t", "\M-\t"
6264 and backtab to call mh-index-next-folder and
6265 mh-index-previous-folder as appropriate.
6266
6267 * mh-index.el (mh-index-next-folder, mh-index-previous-folder):
6268 New interactive functions which jumps to search results of next
6269 and previous folders respectively.
6270
6271 * mh-loadddefs.el: Regenerated.
6272
6273 * mh-index.el (mh-index-delete-folder-headers): Arrange for
6274 mh-goto-cur-msg to just go to the current message.
6275
6276 * mh-e.el (mh-visit-folder): Since mh-scan-folder erases the whole
6277 buffer anyway, we don't need to delete the folder headers. Also
6278 index-data is non-nil only when the buffer folder doesn't exist.
6279 So we need to call mh-make-folder.
6280 (mh-folder-mode): Fix bug in that mh-index-checksum-origin-map was
6281 not being made buffer local!
6282
6283 2002-12-17 Satyaki Das <satyaki@theforce.stanford.edu>
6284
6285 * mh-e.el (mh-visit-folder): Fix bug.
6286
6287 * mh-index.el (mh-md5sum-buffer): Buffer from which md5sum is run.
6288 (mh-index-folder-first, mh-index-folder-last)
6289 (mh-index-original-msg-list): Convenience macros aren't needed
6290 anymore since the data structure has been changed.
6291 (mh-index-update-single-msg): New function to update maps that
6292 relate MD5 checksums to actual messages and vice-versa for a
6293 single message.
6294 (mh-index-update-maps): Do the above for all messages. If some
6295 messages don't have MD5 checksums, they are annotated with the
6296 result of md5sum.
6297 (mh-index-search): Updated for the new version of mh-index-data.
6298 (mh-msg-exists-p): New function to test a message exists.
6299 (mh-index-insert-folder-headers): Updated for new mh-index-data.
6300 (mh-index-delete-folder-headers): New function used to eliminate
6301 original folder names from the buffer and make it look like a
6302 plain folder buffer. This is used from mh-process-commands.
6303 (mh-index-visit-folder): Use new version of mh-index-data.
6304 (mh-index-match-checksum): New function which checks if the
6305 X-MHE-Checksum header of a message matches.
6306 (mh-index-execute-commands): New function that rmm's the original
6307 messages. Then after mh-execute-commands executes it will seem
6308 that the original messages were executed upon. This completes the
6309 fix of SF #623321.
6310 (mh-checksum-buffer): Renamed from mh-md5sum-buffer.
6311 (mh-checksum-cmd, mh-checksum-parser): New globals to allow
6312 different checksum programs to be used.
6313 (mh-checksum-choose): New functions to find a checksum program.
6314 (mh-openssl-parser, mh-md5sum-parser, mh-md5-parser): Functions to
6315 parse the output of md5, md5sum and openssl.
6316 (mh-index-update-maps): Use checksum parsing function.
6317 (mh-index-search): Set checksum choice. Add a call to recenter,
6318 otherwise the window point in the index buffer doesn't get set
6319 properly.
6320
6321 * mh-funcs.el (mh-pack-folder, mh-sort-folder): Enable these
6322 functions in folders created by index search.
6323
6324 * mh-e.el (mh-index-msg-checksum-map)
6325 (mh-index-checksum-origin-map): New buffer local variables that
6326 keep track of message checksums (used to implement
6327 refiling/deletion for folders created by index folders).
6328 (mh-last-msg): Make the function behave like mh-first-msg.
6329 (mh-visit-folder): Add new optional argument which initializes
6330 folders created by mh-index-search.
6331 (mh-folder-mode): Make the variables mh-index-msg-checksum-map and
6332 mh-index-checksum-origin-map buffer local.
6333 (mh-process-commands): Call mh-index-execute-commands when called
6334 from an index search buffer. This will reflect the changes being
6335 made in the search folder to the original folders.
6336
6337 * mh-loaddefs.el: Regenerated.
6338
6339 2002-12-16 Satyaki Das <satyaki@theforce.stanford.edu>
6340
6341 * mh-index.el (mh-index-insert-folder-headers): Fix a bug which
6342 caused the folder buffer to be marked as modified after rescanning
6343 an index folder.
6344
6345 2002-12-15 Satyaki Das <satyaki@theforce.stanford.edu>
6346
6347 * mh-e.el (mh-visit-folder): The function should insert folder
6348 names if it is visiting a folder created by index search.
6349
6350 * mh-index.el (mh-index-insert-folder-headers): The function now
6351 maintains the old value of buffer-modified-p and temporarily makes
6352 the buffer writable.
6353
6354 * mh-utils.el (mh-show-index-visit-folder): New interactive
6355 function callable from show buffer that displays search results
6356 from one folder.
6357 (mh-show-mode-map): Key binding for "v".
6358
6359 * mh-speed.el: Fix credits.
6360 (mh-index-folder-speedbar-buttons)
6361 (mh-index-show-speedbar-buttons)
6362 (mh-index-folder-speedbar-key-map)
6363 (mh-index-show-speedbar-key-map)
6364 (mh-index-folder-speedbar-menu-items)
6365 (mh-index-show-speedbar-menu-items): Removed since the modes
6366 mh-index-folder-mode and mh-index-show-mode no longer exist.
6367 (mh-speed-extract-folder-name): Remove the bits about
6368 mh-index-folder-mode and mh-index-show-mode.
6369
6370 * mh-seq.el (mh-copy-seq-to-eob): Updated to work properly with
6371 index search results.
6372 (mh-region-to-msg-list): Skip over non-scan lines.
6373 (mh-thread-inc, mh-thread-add-spaces, mh-thread-folder): Skip
6374 non-scan lines when populating mh-thread-scan-line-map.
6375 (mh-thread-folder, mh-toggle-threads): Move the check for buffer
6376 modification from mh-thread-folder to mh-toggle-threads.
6377 (mh-toggle-threads): When returning to unthreaded view insert the
6378 folder names if called from a index folder.
6379
6380 * mh-index.el: Fix credits and update commentary.
6381 (font-lock-defaults, mh-index-buffer, mh-index-show-buffer)
6382 (mh-index-ma-x-msg-index, mh-index-other-buffer)
6383 (mh-index-matches, mh-index-previous-window-configuration)
6384 (mh-index-current-msg, mh-index-folder-mode-keymap)
6385 (mh-index-button-map, mh-index-folder-mode-help-messages): Remove
6386 eliminated variables.
6387 (mh-index-folder): New variable sets the MH folder under which the
6388 index searches are stored.
6389 (mh-index-folder-first, mh-index-folder-last)
6390 (mh-index-original-msg-list): Convenience macros used to pull data
6391 elements out of a list. If needed setf can be used to change them
6392 as well.
6393 (mh-index-search): Rewritten to create real folders where all the
6394 normal folder operation. This partially fixes SF #623321 (refiles
6395 and deletes doesn't work on original messages).
6396 (mh-index-find-max-width, mh-index-search-again)
6397 (mh-index-insert-scan, mh-index-callback, mh-index-search)
6398 (mh-index-notate, mh-index-show, mh-index-header-display)
6399 (mh-index-next, mh-index-folder-mode, mh-index-show-mode):
6400 Functions, macros and modes removed.
6401 (mh-folder-exists-p): New function to check if a folder exists.
6402 (mh-index-new-folder): Generate a new folder name from a given
6403 base string that mimics the way emacs generates buffer names.
6404 (mh-index-insert-folder-headers): Insert folder names among the
6405 search results.
6406 (mh-index-visit-folder): New interactive function to show the
6407 search results of one individual folder.
6408 (mh-swish++-execute-search): Update documentation.
6409
6410 * mh-funcs.el (mh-pack-folder, mh-sort-folder): Disable these
6411 functions if index search results are being viewed.
6412
6413 * mh-e.el (mh-folder-font-lock-keywords): Add highlight for
6414 folder.
6415 (mh-index-data): New buffer local variable that will be used to
6416 store info about index search results.
6417 (mh-rescan-folder): Implement rescanning for index search results.
6418 (mh-folder-mode): Make mh-index-data buffer local.
6419 (mh-remove-all-notation): Modified to take into account not all
6420 lines in the folder buffer are normal scan lines.
6421 (mh-folder-mode-map): Add key binding for "v" to jump to original
6422 folder narrowed to search results.
6423
6424 * mh-customize.el (mh-index-folder-face): Make it bold so that it
6425 will look like before.
6426
6427 * mh-loaddefs.el: Regenerated.
6428
6429 2002-12-12 Satyaki Das <satyaki@theforce.stanford.edu>
6430
6431 * mh-seq.el (mh-map-to-seq-msgs): Modified so that it can be given
6432 a list of messages in addition to a sequence.
6433 (mh-region-to-sequence, mh-region-to-msg-list): The function
6434 mh-region-to-msg-list replaces mh-region-to-sequence. The new
6435 function avoids creating a dummy sequence in MH-E.
6436 (mh-thread-delete, mh-thread-refile, mh-put-msg-in-seq): Modified
6437 to use mh-region-to-msg-list.
6438
6439 * mh-funcs.el (mh-copy-msg): Modified to use mh-region-to-msg-list.
6440
6441 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Modified to use
6442 mh-region-to-msg-list.
6443
6444 * mh-comp.el (mh-forward): Modified to use mh-region-to-msg-list.
6445 The buffer-local variable mail-header-separator is no longer
6446 bound. This fixes a bug where the default value of
6447 mail-header-separator gets used if mh-forward is called in a fresh
6448 emacs session.
6449 (mh-annotate-msg): Update this so that it will handle message
6450 lists too.
6451 (mh-insert-letter): Make the test stronger. Since %d is being used
6452 the argument better be an integer.
6453
6454 * mh-loaddefs.el: Regenerated.
6455
6456 2002-12-11 Satyaki Das <satyaki@theforce.stanford.edu>
6457
6458 * mh-funcs.el (mh-copy-msg): Add support for transient-mark-mode.
6459 If mark is active and transient-mark-mode is enabled then all the
6460 messages in the region are copied.
6461
6462 * mh-seq.el (mh-list-sequences): Use mh-coalesce-msg-list to print
6463 messages in sequence nicely. The prompt for the folder is removed
6464 (the current folder is always used) and the output is made nicer
6465 by not overflowing the screen width.
6466
6467 * mh-loaddefs.el: Regenerated.
6468
6469 2002-12-09 Satyaki Das <satyaki@theforce.stanford.edu>
6470
6471 * mh-comp.el (mh-letter-complete): Checkdoc fix.
6472
6473 * mh-seq.el (mh-thread-current-indentation-level): New function
6474 which returns the thread indentation level of current message.
6475 (mh-thread-next-sibling, mh-thread-previous-sibling): New
6476 interactive functions to jump to the next and previous siblings in
6477 thread tree respectively.
6478 (mh-thread-immediate-ancestor): New function to jump to ancestor
6479 of current message in thread tree.
6480 (mh-thread-ancestor): New interactive function to jump to
6481 immediate ancestor or to root message of current thread depending
6482 on optional argument.
6483
6484 * mh-utils.el (mh-show-thread-ancestor)
6485 (mh-show-thread-next-sibling, mh-show-thread-previous-sibling):
6486 Interactive functions callable from the show buffer.
6487 (mh-show-thread-map): Bindings for Tu, Tp and Tn.
6488
6489 * mh-e.el (mh-thread-map): Bindings for Tu, Tp and Tn.
6490
6491 * mh-loaddefs.el: Regenerated.
6492
6493 2002-12-09 Satyaki Das <satyaki@theforce.stanford.edu>
6494
6495 * mh-seq.el (mh-region-to-sequence): Change name of region
6496 sequence created to 'mhe-region. This avoids any chance of
6497 collision with actual MH sequences.
6498 (mh-put-msg-in-seq, mh-thread-delete, mh-thread-refile): Change
6499 name of region sequence used to 'mhe-region. Also delete the
6500 'mhe-region sequence when done.
6501
6502 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Same as above.
6503
6504 * mh-comp.el (mh-forward): Same as above.
6505
6506 * mh-loaddefs.el: Regenerated.
6507
6508 2002-12-08 Bill Wohler <wohler@newt.com>
6509
6510 * mh-alias.el: Edited documentation. Broke up file into 2
6511 sections: Alias Loading and Alias Expansion. Made terminology
6512 consistent (replaced expand, substitute, and translate with
6513 expand).
6514 (mh-alias-reload): Brought message in line with coding conventions
6515 and made more concise too.
6516 (mh-alias-translate): Renamed to mh-alias-expand.
6517 (mh-alias-substitute-aliases-flag): Renamed to
6518 mh-alias-expand-aliases-flag.
6519 (mh-alias-reload-local-users): Renamed to mh-alias-local-users.
6520 Now just returns an alist of local users rather than have
6521 side-effects.
6522 (mh-alias-reload): Set timestamp at beginning of function to catch
6523 edge case when alias added just after ali runs. Changed logic to
6524 reflect return value of mh-alias-local-users.
6525
6526 * mh-customize.el (mh-alias-substitute-aliases-flag): Renamed to
6527 mh-alias-expand-aliases-flag.
6528 (mh-alias-local-users): Fixed documentation.
6529
6530 * mh-loaddefs.el: Regenerated
6531
6532 2002-12-08 Satyaki Das <satyaki@theforce.stanford.edu>
6533
6534 * mh-e.el (require): Load Gnus at compile time so that the
6535 constant gnus-version is defined when MH-E is being compiled.
6536 (mh-macro-expansion-time-gnus-version, mh-run-time-gnus-version):
6537 Use the constant gnus-version instead of the function gnus-version
6538 to find out about gnus version information.
6539 (gnus-version): Remove the autoload since it is not needed any
6540 more.
6541
6542 2002-12-08 Bill Wohler <wohler@newt.com>
6543
6544 * mh-e.el (mh-version): Moved compilation information in front of
6545 Emacs information. The idea is that you start at MH-E and move
6546 outwards. Show N/A if Gnus not compiled (be explicit). Matched
6547 coding style with other output statements. (Aside: not that
6548 efficiency matters here, but fewer calls to format have to be
6549 faster, right? ;-). Matched output style of old output to new
6550 statement--liked Satyaki's indentation better ;-).
6551
6552 2002-12-08 Satyaki Das <satyaki@theforce.stanford.edu>
6553
6554 * mh-e.el (gnus-version): Autoload the function for use in
6555 mh-version.
6556 (mh-macro-expansion-time-gnus-version): New macro that finds the
6557 Gnus version at macro expansion time.
6558 (mh-run-time-gnus-version): New function to find the Gnus version
6559 at run time.
6560 (mh-version): Add information about Gnus versions available at
6561 compile time and run time.
6562
6563 2002-12-07 Peter S Galbraith <psg@debian.org>
6564
6565 * mh-alias.el (mh-alias-ali): Add optional argument. if USER is
6566 t, then assume ALIAS is an address and call ali with option -user.
6567
6568 * mh-alias.el (mh-alias-filenames): if ARG is t, appends list of
6569 files from `mh-alias-system-aliases' to output list obtained from
6570 mhparam output user list only.
6571 (mh-alias-tstamp): Use it.
6572
6573 2002-12-05 Satyaki Das <satyaki@theforce.stanford.edu>
6574
6575 * mh-mime.el (mh-inline-vcard-p): A new function which decides if
6576 a vcard should be displayed inline.
6577 (mh-mime-display-single): Use mh-inline-vcard-p to display
6578 attached vcard as a signature if no other signature is present
6579 (this partially addresses SF #649216).
6580
6581 2002-12-05 Peter S Galbraith <psg@debian.org>
6582
6583 * mh-comp.el (mh-send-letter): Edits docs for mh-mml-to-mime
6584 getting run if variable `mh-mml-compose-insert-flag' is set.
6585 (mh-get-header-field): use buffer-substring-no-properties instead
6586 of buffer-substring.
6587
6588 2002-12-04 Peter S Galbraith <psg@debian.org>
6589
6590 * mh-loaddefs.el: Regenerated.
6591
6592 * mh-customize.el (mh-customize): Add ;;;###mh-autoload tag.
6593
6594 2002-12-04 Peter S Galbraith <psg@debian.org>
6595
6596 * mh-loaddefs.el: Regenerated.
6597
6598 * mh-comp.el (mh-letter-complete): New command to do alias or word
6599 completion in letter-mode.
6600 (mh-letter-mode-map): Add \M-\t binding for mh-letter-complete.
6601
6602 * mh-alias.el (mh-alias-letter-mode-expand-alias-hook): Obsolete.
6603 Replaced by mh-letter-complete command.
6604 (mh-alias-reload-maybe): New function to rebuild alias table if
6605 out of date.
6606 (mh-alias-letter-expand-alias): No longer interactive. Use
6607 mh-letter-complete instead.
6608
6609 2002-12-04 Peter S Galbraith <psg@debian.org>
6610
6611 * mh-customize.el (mh-letter-complete-function): New defcustom.
6612 Function to call when completing outside of fields specified to
6613 aliases.
6614
6615 * mh-alias.el (mh-alias-filenames):
6616 s/mh-mhparam-component/mh-profile-component/
6617 (mh-profile-component): Move to mh-utils.el and make interactive.
6618 (mh-read-address): Make it autoloaded.
6619
6620 * mh-loaddefs.el: Regenerated.
6621
6622 * mh-comp.el (mh-read-address): Removed. Replaced by mh-alias
6623 version.
6624
6625 * mh-utils.el (mh-profile-component): Moved from mh-alias.el.
6626
6627 2002-12-04 Satyaki Das <satyaki@theforce.stanford.edu>
6628
6629 * mh-seq.el (mh-msg-is-in-seq): Formatting change.
6630
6631 * mh-index.el (mh-index-insert-scan): Remove unused variable.
6632
6633 2002-12-04 Bill Wohler <wohler@newt.com>
6634
6635 * mh-loaddefs.el: Regenerated.
6636
6637 * Makefile (MH-E-SRC): Moved mh-loaddefs.el into MH-E-LOADDEFS as
6638 this was causing a cycle.
6639 (MH-E-LOADDEFS): New variable to house mh-loaddefs.el.
6640 (emacs): Reintroduced autoloads.
6641 (autoloads): We're baaa-aack!
6642 (dist, install-emacs): Use MH-E-LOADDEFS.
6643
6644 * mh-comp.el (mh-customize): Moved to mh-customize.el.
6645
6646 * mh-customize.el (mh-customize): Moved here from mh-comp. Makes
6647 more sense, doesn't it?
6648
6649 * mh-alias.el, mh-comp.el, mh-e.el, mh-index.el, mh-mime.el,
6650 mh-pick.el, mh-speed.el: Added mh-autoload cookie to all
6651 interactive functions.
6652
6653 2002-12-04 Satyaki Das <satyaki@theforce.stanford.edu>
6654
6655 * Makefile (world): Remove target.
6656 (mh-loaddefs.el): Add comment that only GNU Emacs can be used to
6657 regenerate mh-loaddefs.el.
6658
6659 * mh-make.el: Removed.
6660
6661 2002-12-04 Mark D. Baushke <mdb@gnu.org>
6662
6663 * mh-e.el (recursive-load-depth-limit): Only modify the limit
6664 if it is an integer.
6665
6666 2002-12-04 Peter S Galbraith <psg@debian.org>
6667
6668 * mh-utils.el (mh-header-field-beginning): New function. Move to
6669 the beginning of the current header field.
6670
6671 2002-12-04 Satyaki Das <satyaki@theforce.stanford.edu>
6672
6673 * mh-make.el (mh-files): Read in the MH-E filenames from the
6674 environment variable where the Makefile puts it.
6675 (mh-generate-autoloads, step2): Simplified since we now have the
6676 complete file names.
6677
6678 * Makefile (world): Pass the MH-E files into the script, so that
6679 the filenames don't need to be repeated in the script.
6680
6681 2002-12-04 Bill Wohler <wohler@newt.com>
6682
6683 * mh-loaddefs.el: New file. Check in automatically generated file
6684 and include in package for the benefit of those who don't want to
6685 or can't compile.
6686
6687 * Makefile (MH-E-SRC): Added mh-loaddefs.el now that it is checked
6688 in and will be packaged.
6689 (emacs): Removed autoloads. Adding mh-loaddefs.el to MH-E-SRC is
6690 sufficient to build it.
6691 (compile): Depend on MH-E-SRC instead of MH-E-OBJ and pass $? into
6692 emacs so that Emacs is only invoked once to compile files. This
6693 speeds things up by a factor of 3. It would be nice to only pass
6694 those files that have been modified, but Emacs 21.4 will have
6695 batch-byte-compile-if-not-done which we might be able to copy into
6696 mh-make.el (or my proposed mh-e-dev.el which would be more
6697 general-purpose).
6698 (.SUFFIXES): Removed. Now that compile works directly on the
6699 sources, the implicit rule is obsolete.
6700 (autoloads): Deleted. See emacs change above.
6701
6702 2002-12-03 Bill Wohler <wohler@newt.com>
6703
6704 * Makefile (MH-E-SRC, emacs):
6705
6706 2002-12-03 Satyaki Das <satyaki@theforce.stanford.edu>
6707
6708 * mh-make.el (mh-emacs): Make failing condition more strict.
6709 (mh-loaddefs-end): Remove redundant statement.
6710
6711 * Makefile (world): A little typo. The bug didn't seem to make any
6712 difference though.
6713
6714 * mh-make.el: New script that compiles MH-E.
6715 (mh-loaddefs-beginning, mh-loaddefs-end): Don't save the autoloads
6716 file in between. Only save at the end.
6717 (mh-emacs-generate-autoloads, mh-xemacs-generate-autoloads)
6718 (mh-generate-autoloads): Replace the separate functions in Emacs
6719 and XEmacs with one that works in both variants. This simplifies
6720 the script a lot.
6721 (mh-generate-autoloads): doc fix.
6722
6723 * Makefile (world): New target which works for both GNU Emacs and
6724 XEmacs.
6725
6726 2002-12-03 Peter S Galbraith <psg@debian.org>
6727
6728 * mh-alias.el (mh-mhparam-component): Don't raise error if call to
6729 mhparam fails.
6730
6731 * mh-alias.el (mh-alias-letter-expand-alias): Build alias table if
6732 not already available.
6733
6734 2002-12-03 Bill Wohler <wohler@newt.com>
6735
6736 * mh-customize.el (mh-show-threads-flag): Alphabetized.
6737
6738 2002-12-03 Jeffrey C Honig <jch@honig.net>
6739
6740 * Makefile: Moved .PHONY rule after all rule for compatibility
6741 with BSD/OS's old pmake.
6742
6743 2002-12-03 Mark D Baushke <mdb@gnu.org>
6744
6745 * mh-e.el (mh-get-new-mail): Simplify no-new-mail test.
6746 (mh-add-cur-notation): Remove unnecessary function.
6747
6748 2002-12-03 Peter S Galbraith <psg@debian.org>
6749
6750 * mh-identity.el (mh-identity-make-menu): Check if
6751 'mh-letter-mode-map' is bound, since this code also gets run when
6752 mh-customize.el is loaded at startup.
6753
6754 2002-12-03 Satyaki Das <satyaki@theforce.stanford.edu>
6755
6756 * mh-customize.el (mh-show-threads-flag): New customizable
6757 variable which controls if new folders start of in threaded mode
6758 (closes SF #646794).
6759
6760 * mh-e.el (mh-rescan-folder): Fix the function so that threading
6761 is preserved across rescans.
6762 (mh-visit-folder, mh-inc-folder): The folder is threaded if it was
6763 already threaded or if mh-show-threads-flag is non-nil and the
6764 number of scan lines is fewer than mh-large-folders (closes SF
6765 #646794).
6766
6767 2002-12-02 Mark D Baushke <mdb@gnu.org>
6768
6769 * mh-e.el (mh-add-cur-notation): New function to mark the
6770 current message with the mh-note-cur character.
6771 (mh-get-new-mail): Use mh-add-cur-notation to undo the work of
6772 mh-remove-cur-notation if there was no new mail (closes SF #647681).
6773
6774 * mh-e.el (mh-set-cmd-note): Do not update the default mh-cmd-note
6775 value (closes SF #643701).
6776
6777 2002-12-02 Peter S Galbraith <psg@debian.org>
6778
6779 * mh-alias.el (mh-alias-reload): Renamed from mh-alias-learn-aliases.
6780 (mh-alias-load-local-users): Renamed from mh-alias-learn-local-users.
6781 (mh-alias-passwd-alist): New variable, holding aliases extracted
6782 from the passwd file.
6783 (mh-alias-tstamp): New variable storing the timestamp for alias
6784 list generation.
6785 (mh-read-address, mh-alias-reload, mh-alias-reload-local-users):
6786 Complete rewrite.
6787 (mh-alias-minibuffer-confirm-address): Use mh-alias-translate.
6788 (mh-alias-translate): New function. Return translation for alias,
6789 checking if in blind or passwd list.
6790 (mh-alias-letter-expand-alias): Rewrite using
6791 mail-abbrev-complete-alias from mailabbrev.el
6792 (mh-alias-expand-alias-map): New variable.
6793 (mh-alias-ali): New function. Return formatted string of
6794 translated ALIAS from ali.
6795 (mh-mhparam-component): New function. Return COMPONENT value from
6796 mhparam, or nil if unset.
6797 (mh-alias-filenames): New function. Provide list of alias
6798 filenames from mhparam, or nil if none are set.
6799
6800 * mh-customize.el (mh-alias-display-blind-name-on-completion-flag):
6801 Obsoleted.
6802 (mh-alias-timestamp): Renamed to mh-alias-system-aliases.
6803
6804 2002-12-02 Bill Wohler <wohler@newt.com>
6805
6806 * Makefile (mh-loaddefs.el): Suppress creation of backup file.
6807
6808 2002-12-02 Mark D. Baushke <mdb@gnu.org>
6809
6810 * Makefile (mh-loaddefs.el): Simplify rule.
6811
6812 * Makefile (clean): Remove mh-loaddefs.el* for good measure.
6813 ($(MH-E-OBJ)): Depend on mh-loaddefs.el to compile these.
6814 (autoloads, mh-loaddefs.el): Revamp rules.
6815 (mh-loaddefs.el-tail, autoloads-gen): Remove rules.
6816
6817 * mh-e.el (recursive-load-depth-limit): Do not try to
6818 bump the value unless the variable exists.
6819
6820 * mh-e.el (recursive-load-depth-limit): Bump value of
6821 recursive-load-depth-limit to 50 to allow emacs 21.1 which
6822 normally has a default value of 10 to be able to compile MH-E.
6823
6824 2002-12-02 Satyaki Das <satyaki@theforce.stanford.edu>
6825
6826 * mh-funcs.el (mh-pack-folder, mh-sort-folder): Fix the functions
6827 so that threading is preserved (needed for SF #646794).
6828
6829 * mh-identity.el (mh-identity-signature-start)
6830 (mh-identity-signature-end): Checkdoc fixes.
6831
6832 * mh-e.el (mh-previous-unread-msg, mh-next-unread-msg): Checkdoc
6833 fixes.
6834
6835 2002-12-01 Satyaki Das <satyaki@theforce.stanford.edu>
6836
6837 * mh-identity.el (compile): Make mh-identity.el compile without
6838 warnings.
6839
6840 * mh-e.el (mh-previous-unread-msg, mh-next-unread-msg): New
6841 interactive functions that go to next and previous unread
6842 messages (closes SF #630328).
6843 (mh-folder-mode-map): Add key bindings for M-n and M-p to
6844 mh-folder-mode-map.
6845
6846 * mh-utils.el (mh-show-next-unread-msg)
6847 (mh-show-previous-unread-msg): New interactive functions that go
6848 to the next and previous unread messages respectively. These are
6849 callable from the show buffer.
6850 (mh-show-mode-map): Add key bindings for M-n and M-p to
6851 mh-show-mode-map.
6852
6853 2002-12-01 Bill Wohler <wohler@newt.com>
6854
6855 * mh-mime.el (mh-defun-compat): Make it indent like a defun.
6856
6857 * mh-index.el (mh-defun-index): Make it indent like a defun.
6858
6859 * mh-customize.el: New file (closes SF #643722).
6860
6861 * Makefile (MH-E-SRC): Added mh-customize.el (closes SF #643722).
6862
6863 * mh-speed.el, mh-pick.el, mh-mime.el, mh-index.el, mh-e.el,
6864 mh-comp.el: Moved all defgroups, defcustoms, and deffaces to
6865 mh-customize.el (closes SF #643722).
6866
6867 * mh-utils.el (mh-xemacs-flag): Moved here from below since
6868 needed by mh-customize.el.
6869 (mh-customize): Required. mh-invisible-headers)
6870 (mh-bury-show-buffer-flag, mhl-formfile):
6871 Moved all defgroups, defcustoms, and deffaces to mh-customize.el
6872 (closes SF #643722) .
6873
6874 * mh-identity.el (mh-comp-loaded): New variable in a desparate
6875 attempt to prevent an infinite loop.
6876 (eval-when-compile): Was able to remove these defvars as they are
6877 now predefined in mh-loaddefs and mh-customize.
6878 (mh-identity-list-set): Added ;;;###mh-autoload cookie.
6879 Moved all defgroups, defcustoms, and deffaces to mh-customize.el
6880 (closes SF #643722).
6881
6882 * mh-alias.el (mh-e): Require this, as it needs defcustoms, which
6883 is in mh-customize which is required by mh-utils which is required
6884 by mh-e.
6885 Moved all defgroups, defcustoms, and deffaces to mh-customize.el
6886 (closes SF #643722).
6887
6888 2002-11-30 Satyaki Das <satyaki@theforce.stanford.edu>
6889
6890 * mh-e.el (mh-thread-map): Add key bindings "Td" and "To" (closes
6891 SF #630493).
6892 (mh-help-messages): Update help message for prefix map.
6893 (mh-help-messages): Doc fix.
6894 (mh-help-messages): Really fix it.
6895
6896 * mh-utils.el (mh-show-thread-delete, mh-show-thread-refile): New
6897 interactive functions corresponding to mh-thread-delete and
6898 mh-thread-refile callable from the show buffer.
6899 (mh-show-thread-map): Add key bindings for "Td" "To".
6900
6901 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-rename-seq)
6902 (mh-narrow-to-subject, mh-delete-subject, mh-toggle-threads): Add
6903 mh-autoload cookies.
6904 (mh-thread-find-children): New function which finds the region
6905 containing all children of a message.
6906 (mh-thread-delete): New interactive function that marks for
6907 deletion the current message and its children.
6908 (mh-thread-refile): New interactive function that marks for
6909 refiling the current message and its children.
6910
6911 2002-11-30 Bill Wohler <wohler@newt.com>
6912
6913 * mh-funcs.el, mh-identity.el, mh-index.el, mh-pick.el, mh-seq.el:
6914 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
6915 Added ;;;###mh-autoload tag to selected functions so that
6916 autoloads for those functions can be automatically created in
6917 mh-loaddefs.el (closes half of SF #643722).
6918
6919 * mh-mime.el (mh-buffer-data): Moved to mh-utils where it is used.
6920 Added ;;;###mh-autoload tag to selected functions so that
6921 autoloads for those functions can be automatically created in
6922 mh-loaddefs.el (closes half of SF #643722)..
6923
6924 * mh-utils.el (mh-loaddefs): Added require.
6925 (mh-buffer-data): Moved here from mh-mime.el as it is used in
6926 mh-display-msg.
6927 (mh-set-cmd-note): Moved to mh-e.el.
6928 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
6929 Added ;;;###mh-autoload tag to selected functions so that
6930 autoloads for those functions can be automatically created in
6931 mh-loaddefs.el (closes half of SF #643722)..
6932
6933 * mh-e.el (mh-set-cmd-note): Moved here from mh-utils.el since it
6934 uses mh-scan-format-file which is defined here.
6935 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
6936 Added ;;;###mh-autoload tag to selected functions so that
6937 autoloads for those functions can be automatically created in
6938 mh-loaddefs.el (closes half of SF #643722)..
6939
6940 * mh-comp.el, mh-speed.el (mh-utils): Removed require. mh-utils is
6941 provided via mh-e.el.
6942 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
6943 Added ;;;###mh-autoload tag to selected functions so that
6944 autoloads for those functions can be automatically created in
6945 mh-loaddefs.el (closes half of SF #643722)..
6946
6947 * Makefile (emacs): Add dependency on autoloads.
6948 (clean): Remove mh-loaddefs.el too.
6949 (autoloads): New target. Builds mh-loaddefs.el.
6950 (mh-loaddefs.el): New target. Initializes mh-loaddefs.el.
6951 (mh-loaddefs.el-tail): New target. Appends to mh-loaddefs.el.
6952 (autoloads-gen): Runs batch-update-autoloads to populate
6953 mh-loaddefs.el (closes half of SF #643722)..
6954 (auto-autoloads.elc): Renamed from autoloads to be explicit about
6955 file that's created.
6956 (custom-load.elc): Ditto.
6957
6958 2002-11-30 Satyaki Das <satyaki@theforce.stanford.edu>
6959
6960 * mh-seq.el (mh-thread-last-ancestor): New variable which keeps
6961 track of oldest ancestor of last message. If due to narrowing the
6962 common ancestor of two messages is lost then one of them is
6963 promoted to be the parent of the other. This variable helps in
6964 this process.
6965 (mh-thread-generate-scan-lines): Group messages which belong to
6966 the same thread tree, even if a common ancestor is no longer
6967 present.
6968 (mh-thread-folder, mh-copy-seq-to-eob, mh-thread-inc): Bind
6969 mh-thread-last-ancestor to nil when calling
6970 mh-thread-generate-scan-lines.
6971
6972 * mh-mime.el (font-lock): Font-lock required at compile time to
6973 avoid warning about font-lock-maximum-size
6974 (mh-display-smileys, mh-display-emphasis): Show graphical smileys
6975 and emphasis only if message isn't too large.
6976
6977 * mh-e.el (mh-visit-folder): Revisiting a buried folder which has
6978 been threaded or narrowed confuses MH-E. Even though the folder is
6979 displayed as not threaded and not narrowed, MH-E still believes
6980 the folder is in the previous state. This can cause problems when
6981 trying to narrow/thread the folder. The change fixes this.
6982
6983 * mh-mime.el (mh-mime-display-alternative): The setting of
6984 mh-display-buttons-for-inline-parts-flag was not being used when
6985 displaying one of the alternatives. This change fixes that.
6986
6987 * mh-comp.el (mh-show-buffer-message-number): Replace subseq with
6988 substring.
6989 (mh-filter-out-non-text): When filtering out MIME buttons from
6990 yanked text, the last line of the MIME part was getting lost. The
6991 fix avoids that and removes only the last new line instead.
6992
6993 2002-11-29 Peter S Galbraith <psg@debian.org>
6994
6995 * Makefile (MH-E-SRC): Add mh-alias.
6996
6997 * mh-alias.el: Assign copyright to FSF instead of myself.
6998 (mh-read-address): Add support for emacs-21's
6999 completing-read-multiple to prompt for multiple entries.
7000 (mh-alias-PC-complete-address): Deleted.
7001 (mh-alias-learn-aliases): Use mh-exec-cmd-quiet instead of old kludge.
7002 (mh-alias-letter-mode-expand-alias-hook): Simplify.
7003 (mh-alias-hostname): Deleted.
7004 (mh-alias-substitute-aliases-flag): Change default to nil.
7005 (mh-alias-display-blind-name-on-completion-flag) Change default to
7006 nil.
7007 (mh-alias-alist): Now holds alias values.
7008 (mh-alias-lowercase-alist): Deleted.
7009 (mh-alias-minibuffer-confirm-address, mh-alias-learn-aliases)
7010 (mh-alias-learn-local-users, mh-alias-letter-expand-alias): Use
7011 new mh-alias-alist instead of old mh-alias-lowercase-alist.
7012
7013 * mh-alias.el: Moved from contrib/ directory. Now part of MH-E!
7014
7015 * Makefile (MH-E-SRC): Add mh-identity.
7016
7017 * mh-identity.el (mh-compose-and-send-mail, mh-insert-identity)
7018 (mh-identity-make-menu, mh-identity-default, mh-identity-menu):
7019 Moved to mh-comp.el.
7020
7021 * mh-comp.el (mh-compose-and-send-mail): Add mh-identity support.
7022 (mh-insert-identity, mh-identity-make-menu, mh-identity-default)
7023 (mh-identity-menu): Added from mh-identity.el
7024
7025 2002-11-29 Bill Wohler <wohler@newt.com>
7026
7027 * mh-comp.el, mh-e.el, mh-funcs.el, mh-identity.el, mh-index.el,
7028 mh-mime.el, mh-pick.el, mh-seq.el, mh-speed.el, mh-utils.el:
7029 Ran indent-region, reformatted long lines, ran untabify.
7030 (indent-tabs-mode): Set file local variable to nil.
7031
7032 2002-11-29 Bill Wohler <wohler@newt.com>
7033
7034 Released MH-E version 7.0.
7035
7036 * mh-e.el (Version, mh-version): Updated for release 7.0.
7037
7038 * mh-comp.el (subseq, search): Require cl instead of autoloading
7039 these due to compilation warnings in CVS Emacs.
7040
7041 2002-11-23 Bill Wohler <wohler@newt.com>
7042
7043 * MH-E-NEWS: Emphasize the renaming of the variables at the top of
7044 the notes.
7045
7046 2002-11-22 Satyaki Das <satyaki@theforce.stanford.edu>
7047
7048 * mh-utils.el (mh-show-mode-map): Remove binding for RET since it
7049 is not needed and the binding is more useful to toggle display of
7050 MIME parts.
7051
7052 * mh-mime.el (mh-mime-button-commands): Remove bindings for "i"
7053 and "o" from MIME buttons.
7054 (mh-insert-mime-button): Change comment to reflect change in
7055 button key map.
7056
7057 2002-11-21 Bill Wohler <wohler@newt.com>
7058
7059 Released MH-E version 6.1.91.
7060
7061 * mh-e.el (Version, mh-version): Updated for release 6.1.91.
7062
7063 * MH-E-NEWS: Inline HTML parts supported with Gnus 5.10, not 5.9.
7064
7065 2002-11-21 Mark D. Baushke <mdb@gnu.org>
7066
7067 * mh-comp.el (mh-letter-insert-signature-hook): This should be in
7068 customize-group mh-compose.
7069
7070 2002-11-21 Satyaki Das <satyaki@theforce.stanford.edu>
7071
7072 * mh-utils.el (load): Load mm-view.el here so that
7073 mm-inline-text-html would be defined if available.
7074 (mh-mm-inline-media-tests): If mm-inline-text-html is available
7075 then use it, otherwise fall back on using mm-inline-text (closes
7076 SF #641482).
7077
7078 * mh-mime.el (load): Remove the load of mm-view here since it
7079 happens in mh-utils.el now.
7080
7081 2002-11-15 Bill Wohler <wohler@newt.com>
7082
7083 Released MH-E version 6.1.90.
7084
7085 * README (Compile): New section. Users must now compile MH-E due
7086 to the vagaries of the various versions of gnus.
7087
7088 * Makefile (MH-E-IMG): Added reply-all.pbm, reply-all.xpm,
7089 reply-from.pbm, reply-from.xpm, reply-to.pbm, reply-to.xpm.
7090 (MH-E-ETC-ETC): Added Makefile and README.
7091 (dist): Depend on all, so clean happens. Don't add .elc files to
7092 tarball as they are built upon installation now.
7093
7094 2002-11-15 Satyaki Das <satyaki@theforce.stanford.edu>
7095
7096 * mh-e.el (mh-process-commands): Fix a bug in mh-execute-commands.
7097 If called in threaded mode, cur was always getting set to the last
7098 message in the folder.
7099
7100 2002-11-14 Bill Wohler <wohler@newt.com>
7101
7102 * mh-e.el (Version, mh-version): Updated for release 6.1.90.
7103
7104 * MH-E-NEWS, README: Updated for release 7.0.
7105
7106 * mh-utils.el (mh-index-search): Added full docstring which new
7107 users will need before they run a search!
7108 (mh-swish++-execute-search, mh-swish-execute-search,
7109 mh-namazu-execute-search mh-glimpse-execute-search): Added
7110 autoloads with full docstrings for the same reason!
7111
7112 * mh-e.el (mh-limit-map): Removed / / alias for
7113 mh-narrow-to-subject.
7114
7115 * mh-utils.el (mh-show-thread-map): Removed / / alias for
7116 mh-show-narrow-to-subject.
7117
7118 * mh-seq.el (mh-delete-subject): Checkdoc fix.
7119
7120 * mh-e.el (mh-help-messages): Added / prefix character to help
7121 string. Tweaked / helpstring a little.
7122
7123 2002-11-14 Mark D. Baushke <mdb@gnu.org>
7124
7125 * mh-utils.el (mh-set-cmd-note): Fix nitpick by adding one to the
7126 width for cosmetic reasons.
7127
7128 2002-11-14 Peter S Galbraith <psg@debian.org>
7129
7130 * mh-identity.el (mh-insert-identity): Fix a few things undone by
7131 Jeff's patch.
7132 (mml-insert-tag): Add autoload.
7133
7134 2002-11-13 Mark D. Baushke <mdb@gnu.org>
7135
7136 * mh-identity.el (mh-insert-identity): A value of either nil or
7137 "" should cause the field to be removed.
7138 (mh-identity-list): Update the docstring.
7139
7140 2002-11-13 Peter S Galbraith <psg@debian.org>
7141
7142 * mh-e.el (mh-limit-map): New key map for limits (subject for now).
7143 * mh-utils.el (mh-show-limit-map): Same.
7144
7145 * mh-seq.el (mh-delete-subject): Renamed from
7146 mh-delete-subject-sequence.
7147 (mh-narrow-to-subject): Renamed from mh-narrow-to-subject-sequence.
7148 (mh-next-unseen-subject-sequence): Removed. :-(
7149 * mh-e.el: Use 'em
7150 * mh-seq.el: Use 'em.
7151
7152 2002-11-13 Mark D. Baushke <mdb@gnu.org>
7153
7154 * mh-e.el (mh-alt-show): New defalias for mh-show.
7155 (mh-alt-refile-msg): New defalias for mh-refile-msg.
7156 (mh-alt-send): New defalias for mh-send.
7157 (mh-folder-mode-map): Use mh-alt-show, mh-alt-refile-msg and
7158 mh-alt-send for the alias bindings.
7159 (mh-alt-visit-folder): New defalias for mh-visit-folder.
7160 (mh-folder-map): Use it.
7161 (mh-folder-message-menu): Revert previous change.
7162
7163 2002-11-13 Peter S Galbraith <psg@debian.org>
7164
7165 * mh-e.el (mh-folder-message-menu): Make key binding "o" appear in
7166 menu for mh-refile-msg.
7167
7168 2002-11-13 Satyaki Das <satyaki@theforce.stanford.edu>
7169
7170 * mh-seq.el (mh-thread-generate-scan-lines): In threaded view,
7171 scan lines of duplicate messages were too long. The change fixes
7172 that.
7173
7174 2002-11-13 Bill Wohler <wohler@newt.com>
7175
7176 * mh-utils.el (mh-adaptive-cmd-note-flag): Improved grammar in
7177 docstring.
7178
7179 * mh-speed.el (mh-speed-run-flists-flag): While documenting this
7180 variable in the release notes, I was unsure what would happen if
7181 set to nil. So, I clarified the docstring and indicated
7182 implications of setting this variable to nil, and offered manual
7183 workaround.
7184
7185 2002-11-13 Satyaki Das <satyaki@theforce.stanford.edu>
7186
7187 * mh-index.el (mh-index-quit): Fix documentation and run
7188 mh-before-quit-hook and mh-quit-hook.
7189
7190 2002-11-13 Bill Wohler <wohler@newt.com>
7191
7192 * mh-utils.el (with-mh-folder-updating): Renamed local variable
7193 mh-save-modification-flag to save-modification-flag.
7194
7195 2002-11-12 Bill Wohler <wohler@newt.com>
7196
7197 * mh-index.el (mh-index-keymap): Renamed to
7198 mh-index-folder-mode-keymap to be a closer to the usual keymap
7199 naming convention. Since we want our own keymap and not inherit
7200 the one in mh-folder-mode, we need to use a suffix other than
7201 -map.
7202
7203 * mh-e.el (mh-folder-sequence-menu): s/Msg/Message.
7204 s/Seq/Sequence.
7205 (mh-folder-message-menu): s/Msg/Message. Removed redundant refile
7206 item.
7207 (mh-folder-folder-menu): Aligned symbols.
7208
7209 * mh-index.el (mh-index-folder-message-menu): s/Msg/Message.
7210
7211 * mh-utils.el (mh-show-sequence-menu): s/Msg/Message.
7212 s/Seq/Sequence.
7213 (mh-show-message-menu): s/Msg/Message. Removed redundant refile
7214 item.
7215 (mh-show-folder-menu): Aligned symbols.
7216
7217 2002-11-12 Satyaki Das <satyaki@theforce.stanford.edu>
7218
7219 * mh-index.el (mh-index-matches, mh-index-current-match): Remove
7220 these variables since they were only used for glimpse and grep.
7221 Now the functionality of all the indexing programs will be
7222 uniform.
7223 (mh-index-search, mh-index-insert-scan, mh-defun-index)
7224 (mh-index-show): Simplify functions since matches are no longer
7225 shown.
7226 (mh-index-parse-match): Remove function.
7227
7228 * mh-e.el (mh-scan-cmd-note-width, mh-scan-destination-width)
7229 (mh-scan-date-width, mh-scan-date-flag-width)
7230 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width): New
7231 variables to keep track of the widths of the different fields in
7232 the scan lines.
7233 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
7234 (mh-scan-field-subject-start-offset): Offsets that are computed
7235 from the scan line widths.
7236
7237 * mh-seq.el (mh-copy-seq-to-eob, mh-thread-inc)
7238 (mh-thread-parse-scan-line): Use new variables that remember the
7239 various offsets in place of integer constants.
7240 (mh-thread-generate-scan-lines): Space shouldn't be added here!
7241
7242 2002-11-12 Bill Wohler <wohler@newt.com>
7243
7244 * mh-e.el (mh-scan-format-mh, mh-scan-format-nmh): Noted that the
7245 first column is column number 0 and changed "sixth column" to
7246 "fifth column" accordingly.
7247
7248 * mh-index.el (mh-index-folder-mode): Clarified method of replying
7249 in mode documentation.
7250 (mh-index-folder-tool-bar-map): s/mh-e/MH-E/.
7251
7252 * mh-e.el (mh-generate-new-cmd-note): Try not to mention internal
7253 variable mh-cmd-note in docstrings.
7254
7255 * mh-utils.el (mh-adaptive-cmd-note-flag): Set default value to t.
7256 Reworded docstring so it doesn't mention internal variable
7257 mh-cmd-note. Added information about using fixed-width message
7258 numbers.
7259 (mh-cmd-note): Mention mh-set-cmd-note in docstring. Also suggest
7260 that it is updated dynamically only if mh-scan-format-file is t.
7261 (mh-set-cmd-note): Grammer fix in docstring.
7262 (mh-cmd-note): Noted that the first column is column number 0.
7263
7264 * mh-e.el (mh-scan-format-file): Added information about
7265 mh-set-cmd-note and mh-adaptive-cmd-note-flag to docstring.
7266
7267 * mh-index.el (mh-index-keymap): Added bindings for i
7268 (mh-inc-folder), m (mh-send alias), and s (mh-send) since these
7269 appear to be supported and are found in the toolbar.
7270 (mh-index-folder-key-map): Ditto for f (mh-visit-folder alias), o
7271 (mh-visit-folder) alias, and v (mh-visit-folder).
7272 (mh-index-folder-mode-help-messages): Changes for above.
7273 (mh-index-folder-message-menu, mh-index-folder-folder-menu): New
7274 menus. I decided to delete the unavailable items since greying out
7275 implies that the user can do something to access them. In this
7276 case, that's not the case. Well, that's not entirely true--the
7277 user could write code for those functions ;-).
7278 (mh-index-folder-mode): Use new menus.
7279
7280 * mh-utils.el (mh-prompt-for-folder): Added optional argument
7281 default-string which can be used in case the string for default
7282 isn't intuitive enough.
7283
7284 * mh-index.el (mh-index-search): Made default prompt more
7285 intuitive (I hope!).
7286
7287 2002-11-11 Peter S Galbraith <psg@debian.org>
7288
7289 * mh-identity.el (mh-header-field-delete): Remove save-excursion.
7290 Strange that this worked for me before... Thanks to Jeff for the
7291 patch.
7292 (mh-insert-identity): Numerous tweaks and fixes from Jeff who also
7293 adds a nicer-looking MIME header for signatures inserted after
7294 MIME insertions.
7295
7296 2002-11-11 Satyaki Das <satyaki@theforce.stanford.edu>
7297
7298 * mh-seq.el (mh-thread-parse-scan-line): Generalize this function
7299 so that it can take a string containing the scan-line as argument
7300 in addition to using the line at point.
7301 (mh-thread-add-spaces): New function to pad each scan line to the
7302 appropriate length. This is called when mh-cmd-note is increased.
7303
7304 * mh-e.el (mh-generate-new-cmd-note): Make this work on a threaded
7305 folder by using mh-thread-add-spaces to pad the pre-existing lines
7306 in mh-thread-scan-line-map appropriately.
7307 (mh-thread-add-spaces): Autoload from mh-seq.
7308
7309 2002-11-11 Mark D. Baushke <mdb@gnu.org>
7310
7311 * mh-index.el: Fix checkdoc nit.
7312
7313 * mh-mime.el (mh-display-buttons-for-inline-parts-flag): Renamed
7314 from mh-display-buttons-for-inline-parts.
7315 (mh-mime-display-single): Use it.
7316 This addresses part of SF #627015.
7317
7318 * mh-e.el (mh-print-background-flag): Renamed from
7319 mh-print-background.
7320 * mh-funcs.el (mh-print-msg): Use it.
7321 This addresses part of SF #627015.
7322
7323 * mh-comp.el (mh-delete-yanked-msg-window-flag): Renamed from
7324 mh-delete-yanked-msg-window.
7325 (mh-yank-from-start-of-msg, mh-yank-cur-msg): Use it.
7326 This addresses part of SF #627015.
7327
7328 * mh-utils.el (mh-update-sequences-after-mh-show-flag): Renamed
7329 from mh-update-sequences-after-mh-show.
7330 (mh-show-msg): Use it.
7331 This addresses part of SF #627015.
7332
7333 * mh-utils.el (mh-decode-quoted-printable-flag): Renamed from
7334 mh-decode-quoted-printable
7335 (mh-display-msg, mh-decode-quoted-printable-have-mimedecode):
7336 Use it.
7337 This addresses part of SF #627015.
7338
7339 * mh-utils.el (mh-recursive-folders-flag): Renamed from
7340 mh-recursive-folders.
7341 (mh-make-folder-list-background): Use it.
7342 * mh-funcs.el (mh-list-folders): Ditto.
7343 This addresses part of SF #627015.
7344
7345 * mh-utils.el (mh-auto-folder-collect-flag): Renamed from
7346 mh-auto-folder-collect.
7347 (mh-find-path): Use it.
7348 This addresses part of SF #627015.
7349
7350 * mh-utils.el (mh-decode-mime-flag): Renamed from
7351 mh-decode-mime.
7352 * mh-utils.el (mh-show-mode, mh-show-xface)
7353 (mh-decode-quoted-printable, mh-display-msg, mh-display-msg): Use it.
7354 * mh-mime.el (mh-graphical-smileys-flag)
7355 (mh-graphical-emphasis-flag): Ditto.
7356 * mh-index.el (mh-index-search, mh-index-show): Ditto.
7357 * mh-e.el (mh-header-display): Ditto.
7358 This addresses part of SF #627015.
7359
7360 * mh-e.el (mh-make-folder-mode-line): Use save-window-excursion
7361 to get back to the current message.
7362
7363 2002-11-10 Satyaki Das <satyaki@theforce.stanford.edu>
7364
7365 * mh-index.el (mh-index-keymap, mh-index-page-msg)
7366 (mh-index-folder-tool-bar-map): Replace mh-index-scroll-up with
7367 mh-index-page-msg.
7368 (mh-index-keymap, mh-index-previous-page): Replace
7369 mh-index-scroll-down with mh-index-previous-page.
7370
7371 2002-11-09 Satyaki Das <satyaki@theforce.stanford.edu>
7372
7373 * mh-index.el (autoload/require): Load mh-mime when mh-index.el is
7374 loaded. This fixes the infinite load loop. I am not sure what the
7375 actual problem is. Also removed the nop requires/autoloads.
7376 (mh-defun-index): Use the right argument for mh-recenter.
7377 Otherwise it misbehaves for the default value of
7378 mh-summary-height.
7379
7380 * mh-e.el (mh-goto-next-button): Fix infinite loop when S-Tab was
7381 used on first line of index folder buffer.
7382
7383 2002-11-09 Peter S Galbraith <psg@debian.org>
7384
7385 * mh-index.el (mh-index-folder-tool-bar-map): Tool-bar for
7386 mh-index-mode.
7387 (mh-index-folder-mode): Use it.
7388 (mh-index-keymap): Added mouse-2 binding, like in regular
7389 folder-mode.
7390
7391 2002-11-08 Satyaki Das <satyaki@theforce.stanford.edu>
7392
7393 * mh-index.el (mh-index-folder-mode): Fix doc string for major
7394 mode. It was pointing to the wrong keymap.
7395 (mh-index-show-mode): Fix doc string for mode. Also add mh-help
7396 support.
7397
7398 * mh-comp.el (mh-forward, mh-yank-cur-msg): Use new macro
7399 mh-mark-active-p instead. This does the right thing for different
7400 variants of Emacs.
7401 (mh-yank-cur-msg): Add a space between sexprs.
7402
7403 * mh-utils.el (mh-mark-active-p): New macro which papers over
7404 diffences between GNU Emacs and XEmacs. The variables mark-active
7405 and transient-mark-mode are used in GNU Emacs while zmacs-regions
7406 and region-active-p are used in XEmacs.
7407
7408 * mh-seq.el (mh-put-msg-in-seq, mh-thread-ancestor-p): Use
7409 mh-mark-active-p as above.
7410
7411 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Use
7412 mh-mark-active-p as above.
7413
7414 2002-11-06 Peter S Galbraith <psg@debian.org>
7415
7416 * mh-comp.el (mh-yank-cur-msg): Fix for XEmacs. It didn't work
7417 with a selected region, and left the inserted text selected (in
7418 reverse video). I didn't use SF patch #402315 to implement this.
7419
7420 2002-11-05 Peter S Galbraith <psg@debian.org>
7421
7422 * mh-utils.el (mh-show-tool-bar-map): Change call to
7423 mh-tool-bar-search-command such that user can customize it for the
7424 current session.
7425
7426 * mh-e.el (mh-folder-tool-bar-map): Same.
7427
7428 2002-11-05 Bill Wohler <wohler@newt.com>
7429
7430 * mh-utils.el, mh-e.el (mh-tool-bar-search-function): Renamed from
7431 mh-tool-bar-search-command.
7432
7433 * mh-index.el (mh-index-search): Backed out previous change to
7434 prompt. There ain't no folder named "all."
7435
7436 * mh-utils.el (mh-tool-bar-search-command): Added mh-search-folder
7437 and mh-index-search to the docstring so that user can easily click
7438 on them for more information.
7439
7440 * mh-pick.el (mh-search-folder): Mention that this function uses
7441 the MH pick command to give the user more information when
7442 choosing between mh-search-folder and mh-index-folder.
7443
7444 * mh-index.el (mh-index-search): Edited the docstring. Direct the
7445 user to mh-index-program if necessary.
7446 (mh-index-program): Edited this docstring too. Viewing the help
7447 in a *Help* buffer really exposes grammatical flaws.
7448
7449 2002-11-05 Peter S Galbraith <psg@debian.org>
7450
7451 * mh-utils.el (mh-tool-bar-search-command): New defcustom to set
7452 what search function to use in tool-bar.
7453 (mh-show-tool-bar-map): Use it.
7454
7455 * mh-e.el (mh-folder-tool-bar-map): Use it.
7456
7457 2002-11-05 Bill Wohler <wohler@newt.com>
7458
7459 * mh-index.el (mh-index-search): Changed default prompt from "+"
7460 to "all". mh-prompt-for-folder doesn't seem to mind.
7461
7462 * mh-e.el (mh-folder-folder-menu): Added menu entry for
7463 mh-index-search.
7464
7465 * mh-utils.el (mh-show-folder-menu): Added menu entry for
7466 mh-index-search.
7467
7468 * mh-index.el: Added commentary on supported search engines and
7469 for getting started (initializing database).
7470
7471 2002-11-04 Satyaki Das <satyaki@theforce.stanford.edu>
7472
7473 * mh-index.el (mh-index-keymap, mh-index-folder-key-map): Move key
7474 binding of "i" to "Fi".
7475 (mh-index-folder-mode-help-messages): Change help message to
7476 reflect above change.
7477
7478 2002-11-04 Bill Wohler <wohler@newt.com>
7479
7480 * mh-index.el (mh-index-program, mh-indexer): Swapped names since
7481 the former seems like a better user variable name. If you've
7482 customized mh-indexer, be sure to toss it out and customize
7483 mh-index-program.
7484
7485 2002-11-04 Satyaki Das <satyaki@theforce.stanford.edu>
7486
7487 * mh-index.el (mh-indexer-choices): Not having the quotes in the
7488 binary names is a bit nicer since that maintains uniformity with
7489 the other names.
7490 (mh-index-choose): Use symbol-value instead of eval. Eval should
7491 be avoided except when it can't be :-).
7492
7493 2002-11-04 Bill Wohler <wohler@newt.com>
7494
7495 * mh-index.el (mh-index-program): New variable to hold the name of
7496 the indexer that was found; use this instead of clobbering
7497 user-customizable variable mh-indexer.
7498 (mh-index-search): Use it. Added comments to keep others from
7499 doing what I had done (fortunately, I caught myself before
7500 checking it in ;-).
7501 (mh-index-choose): Set mh-index-program instead of mh-indexer.
7502 Update docstring to describe side-effects.
7503
7504 * mh-index.el (mh-indexer): Added swish++ to docstring. Chances
7505 are good that if someone has both swish++ and swish, they want to
7506 use the much faster, much smaller swish, so move it up in the
7507 list.
7508 (mh-indexer-choices): Ditto for rationale for moving swish++ up in
7509 priority over swish. Also, use -binary symbols instead of
7510 hard-coding binary names. This allows package installers to
7511 customize the location of the binaries in site-lisp and still have
7512 the auto-detection code work. It also allows one to have alternate
7513 binary names (see mh-swish++-binary).
7514 (mh-index-search): Ditto (moving swish++ up).
7515 (mh-swish++-binary): Look for search++, then search. The rationale
7516 is that a package maintainer may rename search to search++ if
7517 search is already in use (e.g., Debian) so try it first.
7518 (mh-swish++-execute-search): Replaced Satyaki's path with dummy
7519 path in docstring. Also removed RecurseSubdirs since this is the
7520 default. Added comment that index might be named index++ on some
7521 systems (e.g., Debian).
7522 (mh-index-choose): Updated to work with new mh-indexer-choices.
7523
7524 2002-11-04 Peter S Galbraith <psg@debian.org>
7525
7526 * mh-identity.el (mh-identity-list-set): Don't call easy-menu-add
7527 here, since that adds the menu to the Customize buffer in XEmacs.
7528
7529 2002-11-04 Peter S Galbraith <psg@debian.org>
7530
7531 * mh-comp.el (mh-mhn-compose-insert-flag)
7532 (mh-mml-compose-insert-flag): Removed eval-when-compile defvar.
7533
7534 * mh-mime.el (mh-mhn-compose-insert-flag)
7535 (mh-mml-compose-insert-flag): Move variables to mh-utils.el.
7536 Fixes mh-letter-menu for XEmacs.
7537
7538 2002-11-04 Eric Ding <eding@rational.com>
7539
7540 * mh-comp.el (mh-rejected-letter-start): add another string
7541
7542 2002-11-04 Eric Ding <ericding@alum.mit.edu>
7543
7544 * mh-comp.el (mh-rejected-letter-start): regexp-opt doesn't take
7545 regexps as args, only regular strings
7546
7547 2002-11-04 Peter S Galbraith <psg@debian.org>
7548
7549 * mh-comp.el (mh-insert-mail-followup-to): Don't modify a
7550 pre-existing M-F-T field. If a nmh replgroupcomps propagates a
7551 M-F-T field in a message reply, then we have to have it alone.
7552
7553 2002-11-02 Bill Wohler <wohler@newt.com>
7554
7555 * mh-comp.el, mh-e.el, mh-funcs.el, mh-identity.el, mh-index.el,
7556 mh-mime.el, mh-pick.el, mh-seq.el, mh-speed.el, mh-utils.el,
7557 mh-xemacs-compat.el: Added Local Variables section. Defined
7558 sentence-end-double-space to be nil so that those who might not
7559 buy my setting of this variable can at least run checkdoc without
7560 a whole lot of noise.
7561
7562 2002-11-02 Peter S Galbraith <psg@debian.org>
7563
7564 * mh-identity.el: New file. Multiple Identify support for MH-E.
7565 Used to easily set different fields such as From and Organization,
7566 as well as diffrent signature files. This file won't be included
7567 with V7.0.
7568
7569 2002-11-02 Bill Wohler <wohler@newt.com>
7570
7571 * mh-mime.el (mh-mm-save-part): New function to wrap mm-save-part
7572 from Gnus 5.10 to make it explicit which code has been
7573 commandeered.
7574 (mh-mime-save-part): Call mh-mm-save-part instead of cut-n-pasted
7575 code from Gnus 5.10.
7576
7577 2002-11-02 Peter S Galbraith <psg@debian.org>
7578
7579 * mh-comp.el (mh-yank-from-start-of-msg): Edit docstring to
7580 mention related variables mh-reply-show-message-flag and
7581 mh-delete-yanked-msg-window.
7582 (mh-reply): Change the "Reply to whom" prompt.
7583
7584 2002-11-01 Bill Wohler <wohler@newt.com>
7585
7586 * mh-e.el (mh-show-hook): Moved to mh-utils.el where it is used.
7587 (mh-folder-list-change-hook): Converted this from defvar in other
7588 files to defcustom here. It is called, not documented as
7589 obsolete, and might as well be documented.
7590 (mh-inc-folder, mh-quit, mh-delete-a-msg, mh-refile-a-msg,
7591 mh-process-commands, mh-update-unseen): Added missing
7592 documentation about hook, or made verbiage about hook consistent
7593 throughout, even if the function isn't interactive.
7594
7595 * mh-utils.el (mh-folder-list-change-hook): Moved defvar to mh-e
7596 and made it a defcustom.
7597 (mh-show-mode-hook): Put it back in (actually, it was in mh-e.el,
7598 but this is the place where it is called).
7599 (mh-show-hook): Moved here from mh-e.el since it's called here.
7600 (mh-show-mode): Call mh-show-mode-hook.
7601 (mh-show-mode, mh-show-msg, mh-find-path, mh-prompt-for-folder,
7602 mh-prompt-for-folder, mh-set-folder-list): Added missing
7603 documentation about hook, or made verbiage about hook consistent
7604 throughout, even if the function isn't interactive.
7605
7606 * mh-comp.el (mh-send-letter): Made verbiage about hook consistent
7607 throughout.
7608 (mh-insert-prefix-string): Made docstring more descriptive of what
7609 is going on.
7610
7611 * mh-funcs.el (mh-kill-folder): Added missing documentation about
7612 hook.
7613
7614 * mh-index.el (mh-index-show-hook): Moved defvar to defcustom.
7615 (mh-index-show): Made verbiage about hook consistent throughout.
7616
7617 * mh-mime.el (mh-edit-mhn-hook): Moved defvar to defcustom.
7618 (mh-edit-mhn): Added missing documentation about hook.
7619
7620 * mh-pick.el (mh-pick-mode): Made verbiage about hook consistent
7621 throughout. Call the damn hook.
7622
7623 2002-11-01 Satyaki Das <satyaki@theforce.stanford.edu>
7624
7625 * mh-comp.el (mh-insert-mail-followup-to-list): Fix typo so that
7626 it will look right in info.
7627
7628 * mh-index.el (mh-index-search): Change argument name from
7629 new-buffer-p to new-buffer-flag.
7630 (mh-index-search-again, mh-index-search): New index-buffers were
7631 being named *mh-index*<2>, *m-index*<2><2> and so on. This problem
7632 is fixed.
7633 (mh-index-scroll-up, mh-index-scroll-down): Scrolling in index
7634 show buffers (after the first one) was broken.
7635 (mh-index-quit): Bury show buffer instead of killing it. Killing
7636 it, without killing the corresponding folder buffer, can cause
7637 confusion with two folder buffers trying to display in the same
7638 show buffer.
7639
7640 * mh-seq.el (mh-thread-prune-containers): Rewritten without
7641 recursion. Also removed the top-level-p argument since it isn't
7642 required anymore.
7643 (mh-thread-sort-containers): New function factored out from
7644 previous definition of mh-thread-prune-containers. It sorts
7645 message containers in ascending order wrt their message indices.
7646 (mh-thread-generate): Use new mh-thread-prune-containers.
7647
7648 * mh-e.el (mh-remove-all-notation): Fix the test. It was testing
7649 at the wrong place!
7650
7651 2002-10-31 Bill Wohler <wohler@newt.com>
7652
7653 * Makefile, README, import-emacs, mh-comp.el, mh-e.el,
7654 mh-funcs.el, mh-index.el, mh-mime.el, mh-pick.el, mh-seq.el,
7655 mh-speed.el, mh-utils.el: Replaced mh-e with MH-E.
7656
7657 2002-10-31 Satyaki Das <satyaki@theforce.stanford.edu>
7658
7659 * mh-seq.el (mh-thread-parse-scan-line): Modified to remove user
7660 sequence notation and leave notation for other things alone. This
7661 ensures that threading doesn't lose notations for replied-to
7662 messages.
7663
7664 * mh-e.el (mh-inc-folder): Remove call to mh-widen here and
7665 instead do it in mh-get-new-mail. This way the widening happens
7666 only if new mail is incorporated.
7667 (mh-generate-new-cmd-note): The function now returns the point
7668 from which the new messages start. This will allow threading to do
7669 the right thing.
7670 (mh-get-new-mail): Always call mh-remove-cur-notation. Otherwise
7671 adaptive scan mode leaves two messages marked as current in
7672 certain cases. Fix indentation of if statement. If there are
7673 messages to be incorporated, the folder is widened. If mh-cmd-note
7674 changes set start-of-inc correctly.
7675 (mh-remove-all-notation): Change this function to only remove user
7676 sequence notation and leave notation for replied-to messages and
7677 similar notation alone. This means operations like narrowing to
7678 subject sequence and widening don't lose notations.
7679
7680 2002-10-31 Bill Wohler <wohler@newt.com>
7681
7682 * mh-comp.el (mh-insert-mail-followup-to-list): Fixed typo in
7683 docstring and other minor edits. Checkdoc removed trailing spaces.
7684 (mh-insert-signature): Checkdoc flagged docstring. Reverted to
7685 previous value. Added specific name of hook that is run.
7686 (mh-regexp-in-field-p, mh-insert-letter): Checkdoc removed
7687 trailing spaces.
7688
7689 2002-10-31 Jeffrey C Honig <jch@honig.net>
7690
7691 * mh-e.el (mh-show-mode-hook): Remove the unused
7692 mh-show-mode-hook, mh-show-hook is the one that is used.
7693
7694 * mh-utils.el (mh-show-mode): Change the documentation to refer to
7695 mh-show-hook instead of the unused mh-show-mode-hook.
7696
7697 2002-10-31 Peter S Galbraith <psg@debian.org>
7698
7699 * mh-comp.el (mh-insert-mail-followup-to-list): Set default to nil
7700 and include example in doc string.
7701
7702 2002-10-31 Satyaki Das <satyaki@theforce.stanford.edu>
7703
7704 * mh-index.el (mh-indexer): Add customization choice for swish++.
7705 (mh-indexer-choices): Add swish++ choice.
7706 (mh-index-search): Change doc to reflect addition of swish++ option.
7707 (mh-swish++-binary, mh-swish++-directory): New variables for
7708 swish++ interface.
7709 (mh-swish++-execute-search): New function to execute swish++
7710 search.
7711 (mh-swish++-next-result): Function aliased to mh-swish-next-result
7712 since the result format of swish++ is the same as that of swish-e.
7713 (mh-index-search): Always overwrite window-configuration with new
7714 value. This is needed since we don't kill the index-buffer when
7715 quitting which means the window configuration wasn't getting set
7716 properly.
7717 (mh-index-search-again): If index buffer is reused, reset the old
7718 window config to its original value.
7719
7720 2002-10-30 Bill Wohler <wohler@newt.com>
7721
7722 * Makefile (emacs, xemacs): New targets.
7723 (all): Use these targets instead of calling specific targets.
7724 (.PHONY): Added emacs, xemacs, autoloads, custom-loads. Broke up
7725 target and moved pieces into their own sections.
7726
7727
7728 2002-10-30 Peter S Galbraith <psg@debian.org>
7729
7730 * mh-utils.el (mh-show-font-lock-keywords): Wrap an
7731 'eval-and-compile around its defvar, otherwise byte-compilation
7732 fails on `mh-show-font-lock-keywords-with-cite'.
7733
7734 2002-10-29 Jeffrey C Honig <jch@honig.net>
7735
7736 * mh-comp.el (mh-letter-insert-signature-hook)
7737 (mh-insert-signature): Add a hook to be called before inserting
7738 the signature. Do not attempt to insert the signature if
7739 mh-insert-signature-file-name is nil.
7740
7741 2002-10-29 Peter S Galbraith <psg@debian.org>
7742
7743 * mh-e.el (mh-inc-folder): Call mh-widen when mh-narrowed-to-seq
7744 (Closes SF #629233: inc in narrowed folder suboptimal)
7745
7746 * mh-comp.el (mh-insert-letter): Stop using mhl to include a
7747 message before it mangles the header, and supercite fails
7748 (Closes SF #629153: mh-insert-letter uses mhl?).
7749 (mh-insert-prefix-string): Leave point at beginning instead of
7750 end, since that's what sc-cite-original does.
7751 (mh-yank-cur-msg): Adjust for mh-insert-prefix-string change.
7752
7753 2002-10-30 Steve Youngs <youngs@xemacs.org>
7754
7755 * mh-e.el (mh-folder-mode): Check for 'font-lock-auto-fontify'
7756 when in XEmacs so we don't do font-locking unconditionally.
7757
7758 * mh-utils.el (mh-show-mode): Ditto.
7759
7760 2002-10-29 Peter S Galbraith <psg@debian.org>
7761
7762 * mh-e.el (mh-folder-refiled-face, mh-folder-cur-msg-number-face)
7763 (mh-folder-to-face, mh-folder-body-face): Define faces instead of
7764 copying them from font-lock faces. This mh-e will look the same
7765 in XEmacs as it does in Emacs.
7766 * mh-utils.el (mh-show-cc-face, mh-show-date-face)
7767 (mh-show-header-face): Ditto.
7768
7769 2002-10-29 Jeffrey C Honig <jch@honig.net>
7770
7771 * mh-comp.el (mh-send-letter): I meant to use
7772 mh-goto-header-field, not mh-get-header-field. The former returns
7773 nil if the header is not found and doesn't need a conditional.
7774
7775 2002-10-29 Peter S Galbraith <psg@debian.org>
7776
7777 * mh-comp.el (mh-forward): Bug fix. Change 'kill-line for a
7778 'delete-region, because I don't want that text yanked with C-y.
7779
7780 * mh-seq.el (mh-put-msg-in-seq): Add support for selected
7781 region (Closes SF feature request #630324).
7782
7783 2002-10-28 Satyaki Das <satyaki@theforce.stanford.edu>
7784
7785 * mh-seq.el (mh-thread-prune-subject): Make the regexp a little
7786 general so that a subject of the form "Re[218]: howdy" would be
7787 properly pruned.
7788
7789 * mh-mime.el (mh-mime-save-part): Copy function definition of
7790 mm-save-part from cvs gnus since that function is buggy in gnus
7791 that comes with emacs21.2.
7792
7793 2002-10-28 Peter S Galbraith <psg@debian.org>
7794
7795 * mh-e.el (mh-scan-subject-regexp): Add an expression to match an
7796 optional bracketed number after "Re", such as in "Re[2]:"
7797 (Patch by Satyaki; I checked it and applied).
7798 (mh-folder-font-lock-subject): Adapt to new mh-scan-subject-regexp.
7799 * mh-seq.el (mh-subject-to-sequence): Ditto.
7800
7801 * mh-e.el (mh-folder-sequence-menu): Remove "Toggle Subject
7802 Thread" from menu. mh-toggle-threads is in the Folder menu.
7803
7804 * mh-e.el (mh-folder-sequence-menu): Minor menu text edits.
7805
7806 * mh-utils.el (mh-show-update-sequences): Added to
7807 mh-defun-show-buffer builds; needed for menu.
7808 (mh-show-sequence-menu, mh-show-message-menu)
7809 (mh-show-folder-menu): 3 new menus in mh-show-mode-map that mirror
7810 the menus used in mh-folder-mode.
7811 (mh-show-mode): easy-menu-add the 3 menus.
7812
7813 2002-10-28 Satyaki Das <satyaki@theforce.stanford.edu>
7814
7815 * mh-utils.el (mh-goto-msg): Fix the regexp to search so that we
7816 go to the right message. In a threaded folder message 2 may be
7817 present after 26 and the previous regexp would go to 26 when we
7818 really wanted to go to 2!
7819
7820 * mh-seq.el (mh-widen): Add call to mh-recenter to make it like
7821 mh-narrow-to-seq.
7822
7823 2002-10-28 Bill Wohler <wohler@newt.com>
7824
7825 * mh-utils.el (mh-show-mime-save-parts): Deleted definition.
7826 (mh-show-mime-map, tool-bar-map): Use mh-mime-save-parts instead
7827 of mh-show-mime-save-parts.
7828
7829 2002-10-28 Peter S Galbraith <psg@debian.org>
7830
7831 * mh-comp.el (mh-letter-tool-bar-map): tool-bar-add-item key name
7832 bug fix.
7833 * mh-utils.el (mh-show-tool-bar-map): Same.
7834 * mh-e.el (mh-folder-tool-bar-map, mh-folder-seq-tool-bar-map): Same
7835
7836 2002-10-27 Satyaki Das <satyaki@theforce.stanford.edu>
7837
7838 * mh-seq.el (mh-toggle-threads): Add call to mh-recenter to make
7839 its behavior like that of mh-narrow-to-seq.
7840
7841 2002-10-27 Bill Wohler <wohler@newt.com>
7842
7843 * mh-mime.el (mh-mime-save-parts): Renamed from
7844 mh-store-mime-parts for consistency with mh-mime-save-part. Fixed
7845 bug whereby mh-mime-save-parts-directory was not getting
7846 initialized properly from a string-valued
7847 mh-mime-save-parts-default-directory.
7848 (mh-mime-save-parts-default-directory): Ditto. Check your
7849 customizations!
7850 (mh-mime-save-parts-directory): Ditto.
7851
7852 * mh-utils.el (mh-show-mime-save-parts): Renamed from
7853 mh-store-mime-parts.
7854 (mh-show-mime-map): Added keybinding "K a" for
7855 mh-show-mime-save-parts.
7856
7857 * mh-e.el (mh-mime-save-parts) Renamed from mh-store-mime-parts.
7858 (mh-mime-map): Added keybinding "K a" for mh-mime-save-parts.
7859 (mh-help-messages): Added help for "K a".
7860
7861 2002-10-27 Peter S Galbraith <psg@debian.org>
7862
7863 * mh-comp.el (mh-search-addr-regexp, mh-regexp-in-field-p): Rename
7864 the first to the second (and recode a bit).
7865 (mh-insert-mail-followup-to): Use it.
7866
7867 2002-10-27 Bill Wohler <wohler@newt.com>
7868
7869 * mh-utils.el (mh-invisible-headers): Backed out change. Removed
7870 Mail-Followup-To due to objections from Peter and Mark.
7871
7872 2002-10-27 Satyaki Das <satyaki@theforce.stanford.edu>
7873
7874 * mh-seq.el (mh-msg-is-in-seq): Modified to show info about
7875 whether the message being queried about has been marked to be
7876 deleted or refiled.
7877
7878 * mh-mime.el (mh-insert-mime-security-button): Make
7879 pressed-details a local.
7880
7881 2002-10-27 Steve Youngs <youngs@xemacs.org>
7882
7883 * .cvsignore: New file.
7884
7885 2002-10-26 Steve Youngs <youngs@xemacs.org>
7886
7887 * mh-seq.el (mh-notate-deleted-and-refiled): Don't bind local
7888 variable 'dest', it isn't used anywhere.
7889
7890 * mh-pick.el (mh-do-pick-search): Don't bind local variable
7891 'finding-messages', it isn't used anywhere.
7892
7893 * mh-utils.el: Byte-compiler warning suppression.
7894 (mh-gnus-article-highlight-citation): Rather than redefining
7895 'gnus-cite-face-list', just re-order it.
7896 (mh-show-mode): Force turning on font-lock in XEmacs.
7897
7898 * mh-seq.el: Byte-compiler warning suppression.
7899
7900 * mh-index.el: Byte-compiler warning suppression.
7901
7902 * mh-comp.el: Byte-compiler warning suppression.
7903
7904 * mh-xemacs-compat.el: Add defaliases for 'timerp' &
7905 'cancel-timer' to the equivalent 'itimer' functions.
7906 (rfc822): Require it for 'rfc822-goto-eoh'.
7907 Byte-compiler warning suppression.
7908
7909 * mh-e.el (mh-folder-mode): Force turning on font-lock in XEmacs.
7910 (mh-toggle-threads): Remove duplicate autoload.
7911 Byte-compiler warning suppression.
7912 (mh-folder-unseen-seq-list): Use 'with-temp-buffer' to fix a bug
7913 in XEmacs when font-lock is on.
7914 (mh-folder-unseen-seq-name): Ditto.
7915
7916 2002-10-27 Mark D. Baushke <mdb@gnu.org>
7917
7918 * Makefile: Reorganize to allow for building also compiling for
7919 XEmacs too. Sanitize so that it will work using least-common
7920 denominator versions of 'make'. Tested using GNU make, Solaris make,
7921 and Berkely make.
7922 (all): Use recursive invokation based on the emacs or xemacs
7923 executable passed on the 'make EMACS=xemacs' command line.
7924 (XEMACS_OPTIONS): The incantation to be passed to an xemacs editor
7925 to compile things properly.
7926 (AUTO_PRELOADS): Magic XEmacs glue.
7927 (clean): Ditto.
7928 (autoloads): Ditto.
7929 (custom-loads): Ditto.
7930
7931 2002-10-26 Satyaki Das <satyaki@theforce.stanford.edu>
7932
7933 * mh-e.el (mh-last-msg): Add call to mh-recenter.
7934
7935 2002-10-26 Peter S Galbraith <psg@debia.org>
7936
7937 * mh-comp.el (mh-search-addr-regexp, mh-re-search-to-cc): Remove
7938 `mh-re-search-to-cc' in favour of more generalized new function
7939 `mh-search-addr-regexp'.
7940 (mh-insert-mail-followup-to): Use it.
7941
7942 2002-10-26 Satyaki Das <satyaki@theforce.stanford.edu>
7943
7944 * mh-seq.el (mh-copy-seq-to-eob): Avoid rethreading when the
7945 folder is already threaded. This is more efficient and also avoids
7946 problems when the folder is widened.
7947 (mh-thread-inc): Don't try to restore the point to original
7948 location since mh-inc-folder from where this is called changes
7949 point location after calling this function.
7950
7951 * mh-e.el (mh-make-folder-mode-line): Fix a small bug where the
7952 test was wrong.
7953
7954 2002-10-26 Peter S Galbraith <psg@debian.org>
7955
7956 * mh-comp.el (mh-insert-mail-followup-to): Fix for new defcustom.
7957
7958 2002-10-26 Satyaki Das <satyaki@theforce.stanford.edu>
7959
7960 * mh-seq.el (mh-notate-deleted-and-refiled): Remove unused binding
7961 of dest. The problem was pointed out by Steve as well.
7962
7963 * mh-e.el (mh-toggle-threads): Remove duplicate autoload as
7964 pointed out by Steve.
7965
7966 2002-10-26 Bill Wohler <wohler@newt.com>
7967
7968 * mh-utils.el (mh-invisible-headers): Added Mail-Followup-To.
7969
7970 2002-10-26 Peter S Galbraith <psg@debian.org>
7971
7972 * mh-comp.el (mh-insert-mail-followup-to-list): Change defvar to
7973 defcustom.
7974
7975 2002-10-25 Satyaki Das <satyaki@theforce.stanford.edu>
7976
7977 * mh-e.el (mh-remove-all-notation): New function that removes all
7978 notation.
7979
7980 * mh-seq.el (mh-narrow-to-seq): When hiding the original folder
7981 remove all notation. This avoids stale notation hanging around.
7982 Also changes in show buffer and position in folder buffer are
7983 avoided if possible.
7984 (mh-widen): When widening the scan-lines are notated based on the
7985 current state of the folder. This means any changes made when the
7986 folder was narrowed are shown consistently.
7987 (mh-notate-deleted-and-refiled): Update the documentation.
7988 (mh-thread-parse-scan-line): For some reason the ASCII value of
7989 the space character was being used here. This is fixed.
7990 (mh-thread-inc, mh-toggle-threads): Avoid change of point in
7991 folder and message being displayed in shown buffer.
7992
7993 * mh-utils.el (mh-recenter): Rewrite mh-recenter to show fewer
7994 blank lines when point is towards the end of the folder buffer.
7995
7996 2002-10-25 Peter S Galbraith <psg@debian.org>
7997
7998 * mh-comp.el (mh-insert-mail-followup-to-flag): New boolean
7999 defcustom to append a Mail-Followup-To field to the header. The
8000 insertion is done if the To: or Cc: fields matches an entry in
8001 `mh-insert-mail-followup-to-list'."
8002 (mh-insert-mail-followup-to-list): New defvar. List of addresses
8003 for which a Mail-Followup-To field is inserted.
8004 (mh-re-search-to-cc): New function. Search for REGEXP in To: and
8005 Cc: fields.
8006 (mh-insert-mail-followup-to): New function. Insert
8007 Mail-Followup-To: if To or Cc match `mh-insert-mail-followup-to-list'.
8008 (mh-compose-and-send-mail): Call mh-insert-mail-followup-to if
8009 mh-insert-mail-followup-to-flag is true.
8010
8011 2002-10-25 Mark D. Baushke <mdb@gnu.org>
8012
8013 * mh-utils.el (mh-show-maximum-size): New variable to control
8014 the display of large messages.
8015 (mh-display-msg): Use it (Closes SF #488696).
8016
8017 * mh-seq.el (mh-toggle-threads): Checkdoc fix.
8018
8019 * mh-e.el (mh-reset-threads-and-narrowing): Checkdoc fix.
8020
8021 * mh-comp.el (mh-insert-x-mailer-flag): Renamed from
8022 mh-insert-x-mailer-p. Update docstring.
8023 (mh-send-letter): Use it.
8024 (mh-reply-show-message-flag): Renamed from
8025 mh-reply-show-message-p. Update docstring.
8026 (mh-reply): Use it.
8027 This addresses part of SF #627015.
8028
8029 * mh-e.el (mh-recenter-summary-flag): Renamed from
8030 mh-recenter-summary-p. Update docstring.
8031 (mh-set-scan-mode): Use it.
8032 This addresses part of SF #627015.
8033
8034 2002-10-25 Satyaki Das <satyaki@theforce.stanford.edu>
8035
8036 * mh-e.el (mh-reset-threads-and-narrowing): New function which
8037 resets all thread and narrowing state to completely unthreaded and
8038 widened state. As a side effect, the folder buffer is erased.
8039 (mh-rescan-folder): Reset threads and narrowing state.
8040
8041 * mh-funcs.el (mh-pack-folder-1): Reset threads and narrowing state.
8042
8043 * mh-seq.el (mh-copy-seq-to-eob): Change mh-view-ops after
8044 threading is over so that if user aborts threading, it doesn't
8045 leave mh-e in an inconsistent state.
8046 (mh-toggle-threads): Use mh-scan-folder to populate the folder
8047 buffer instead of mh-rescan-folder which resets threading and
8048 narrowing state.
8049
8050 2002-10-24 Bill Wohler <wohler@newt.com>
8051
8052 * mh-e is completely checkdoc clean now.
8053
8054 * mh-utils.el (mh-clean-message-header-flag): Renamed from
8055 mh-clean-message-header.
8056 (mh-bury-show-buffer-flag): Renamed from mh-bury-show-buffer.
8057 (mh-show-use-goto-addr-flag): Renamed from mh-show-use-goto-addr.
8058 This addresses part of SF #627015.
8059
8060 * mh-mime.el (mh-clean-message-header-flag): Renamed from
8061 mh-clean-message-header.
8062 Checkdoc fixes. This addresses part of SF #627015.
8063
8064 * mh-index.el (mh-clean-message-header-flag): Renamed from
8065 mh-clean-message-header. This addresses part of SF #627015.
8066
8067 * mh-funcs.el (mh-do-not-confirm-flag): Renamed from
8068 mh-do-not-confirm. This addresses part of SF #627015.
8069
8070 * mh-e.el (mh-do-not-confirm-flag): Renamed from
8071 mh-do-not-confirm.
8072 (mh-clean-message-header-flag): Renamed from
8073 mh-clean-message-header.
8074 This addresses part of SF #627015.
8075
8076 * mh-comp.el: checkdoc fixes.
8077
8078 2002-10-24 Satyaki Das <satyaki@theforce.stanford.edu>
8079
8080 * mh-seq.el (mh-copy-seq-to-eob): Rewritten to scan the headers
8081 fresh instead of yanking from buffer. This is needed to get
8082 correct threading in copied sequence.
8083 (mh-thread-inc, mh-thread-update-scan-line-map)
8084 (mh-thread-parse-scan-line): Eliminate the use, and hence the
8085 definition of, the kludgy mh-thread-update-scan-line-map. Instead
8086 the functions mh-notate-deleted-and-refiled and
8087 mh-notate-user-sequences are used to get the message marks right.
8088 (mh-thread-generate-scan-lines): Updated to allow the thread tree
8089 to be used in a narrowed folder buffer.
8090 (mh-thread-folder, mh-toggle-threads): Remove
8091 mh-folder-threaded-view-flag.
8092 (mh-thread-old-scan-line-map): New buffer-local variable that
8093 remembers the original scan-line map so that the sequence thread,
8094 narrow, widen will work.
8095 (mh-narrow-to-seq, mh-widen): Remember the scan-line map when
8096 narrowing and restore it when widening.
8097
8098 * mh-e.el (mh-folder-threaded-view-flag, mh-folder-folder-menu)
8099 (mh-regenerate-headers, mh-get-new-mail)
8100 (mh-make-folder-mode-line, mh-process-commands)
8101 (mh-delete-scan-msgs): Remove mh-folder-threaded-view-flag.
8102 Instead (memq 'unthread mh-view-ops) is used to test if the folder
8103 is threaded.
8104
8105 * mh-mime.el (mh-display-emphasis): Shadow article-goto-body here
8106 since we want to do emphasis on the whole of the region and not
8107 just after the first blank line.
8108 (mh-mm-display-part): When displaying a text part show smilies and
8109 emphasis.
8110
8111 * mh-index.el (mh-index-insert-scan): Attempt to keep number of
8112 args to scan small if there are lots of adjacent matches.
8113 (mh-index-quit): Bury index-buffer on quit instead of killing it.
8114 This behavior is more like that of mh-quit.
8115
8116 * mh-seq.el (mh-widen): If folder was threaded after narrowing
8117 then make mh-widen undo the threading instead of erroring out.
8118
8119 2002-10-24 Peter S Galbraith <psg@debian.org>
8120
8121 * mh-seq.el (mh-toggle-threads): Add a cond (as suggested by
8122 Satyaki) to properly unthread a narrowed-to-sequence.
8123
8124 * mh-seq.el (mh-thread-generate-scan-lines): Fix threading
8125 breakage from partial switch to mh-container-real-child-flag and
8126 to dupl-flag.
8127
8128 * mh-comp.el (mh-yank-cur-msg): Bug fix: specify
8129 (eq t mh-yank-from-start-of-msg) when that's what we want.
8130
8131 2002-10-24 Mark D. Baushke <mdb@gnu.org>
8132
8133 * mh-seq.el (mh-thread-prune-subject): Renamed subject-pruned-p as
8134 subject-pruned-flag.
8135 (mh-thread-inc): Renamed old-buffer-modified-p as
8136 old-buffer-modified-flag.
8137 (mh-thread-generate-scan-lines): Renamed dupl-p as dupl-flag.
8138 This addresses part of SF #627015.
8139
8140 * mh-index.el (mh-index-advance): Renamed backward-p
8141 local variable as backward-flag.
8142 (mh-index-next-button): Renamed backward-p
8143 argument as backward-flag.
8144 (mh-index-show): Renamed display-headers-p argument as
8145 display-headers-flag.
8146 This addresses part of SF #627015.
8147
8148 * mh-e.el (mh-scan-format, mh-version): Use mh-nmh-flag.
8149 (mh-folder-mime-action): Renamed include-security-p
8150 argument as include-security-flag.
8151 (mh-goto-next-button, mh-next-button): Renamed backward-p
8152 argument as backward-flag.
8153 (mh-get-new-mail): Renamed new-mail-p local variable as
8154 new-mail-flag.
8155 (mh-goto-cur-msg): Renamed minimal-changes-p argument as
8156 minimal-changes-flag.
8157 (redraw-needed-flag): Renamed redraw-needed-p local variable as
8158 redraw-needed-flag.
8159 (mh-seq-containing-msg): Renamed include-internal-p argument as
8160 include-internal-flag.
8161 (mh-page-msg): Use mh-page-to-next-msg-flag.
8162 This addresses part of SF #627015.
8163
8164 * mh-mime.el (mh-mhn-compose-insert-flag): Renamed from
8165 mh-mhn-compose-insert-p. Make it buffer-local.
8166 (mh-mhn-compose-type, mh-mhn-compose-external-type,
8167 mh-mhn-compose-forw, mh-edit-mhn): Use mh-mhn-compose-insert-flag.
8168 (mh-mml-to-mime, mh-mml-secure-message-encrypt-pgpmime,
8169 mh-mime-display-part, mh-mime-display-single): Use
8170 mh-gnus-pgp-support-flag renamed from mh-gnus-pgp-support-p.
8171 (mh-mime-display-single): Renamed small-image-p local
8172 variable as small-image-flag.
8173 (mh-mime-inline-part): Renamed local variable inserted-p as
8174 inserted-flag.
8175 (mh-mime-inline-part): Renamed local variable displayed-p as
8176 displayed-flag.
8177 This addresses part of SF #627015.
8178
8179 * mh-comp.el (mh-letter-menu, mh-letter-mode, mh-send-letter):
8180 mh-mhn-compose-insert-flag.
8181 (mh-repl-group-formfile, mh-forward): Use mh-nmh-flag
8182 renamed from mh-nmh-p.
8183 (mh-reply, mh-insert-x-mailer, mh-send-letter): Use mh-nmh-flag.
8184 (mh-letter-mode-map): Use mh-gnus-pgp-support-flag renamed from
8185 mh-gnus-pgp-support-p.
8186 (mh-mml-secure-message-sign-pgpmime): Use
8187 mh-gnus-pgp-support-flag.
8188 This addresses part of SF #627015.
8189
8190 * mh-utils.el (mh-page-to-next-msg-flag): Renamed from
8191 mh-page-to-next-msg-p.
8192 (mh-show-msg): Use mh-page-to-next-msg-flag.
8193 (mh-gnus-pgp-support-flag): Renamed from
8194 mh-gnus-pgp-support-p.
8195 (mh-show-font-lock-fontify-region): Fix docstring per checkdoc.
8196 (with-mh-folder-updating): Renamed argument
8197 save-modification-flag-p as mh-save-modification-flag.
8198 (mh-prompt-for-folder): Renamed new-file-p local
8199 variable as new-file-flag.
8200 This addresses part of SF #627015.
8201
8202 2002-10-24 Mark D Baushke <mdb@gnu.org>
8203
8204 * mh-comp.el (mh-forward): Fix mh-mml-compose-insert-p reference
8205 in last commit to be mh-mml-compose-insert-flag.
8206 (mh-mml-compose-insert-flag): Move defvar to fix compiler warning.
8207
8208 2002-10-24 Jeffrey C Honig <jch@honig.net>
8209
8210 * mh-comp.el (mh-forward): Add support for transient-mark mode.
8211 When using nmh, always specify -mime so as to preserve the
8212 original message(s). If mh-compose-insertion is 'gnus, convert
8213 the mhbuild format forwarding directives into MML.
8214
8215 2002-10-24 Eric Ding <ericding@alum.mit.edu>
8216
8217 * mh-comp.el (mh-send-letter): Fix for earlier change that added
8218 "-mime" for bcc'ed MIME mail; still doesn't work with nmh 1.0, but
8219 at least no longer triggered for every outgoing message!
8220
8221 2002-10-24 Peter S Galbraith <psg@debian.org>
8222
8223 * mh-comp.el (mh-yank-cur-msg): Fix selected regions for supercite
8224 (see text below).
8225
8226 * mh-comp.el (mh-yank-cur-msg): Fix for supercite. Someone played
8227 with the point and mark setting prior to the call to
8228 'mh-insert-prefix-string and that broke supercite. I put comments
8229 to make it obvious to future coders why those settings exists.
8230 Note that supercite is still broken when a region is selected in
8231 the show buffer. Presumably it's been like that for a long time.
8232 We need to insert the header as well as the selected region oin
8233 that case. I'll submit an SF bug.
8234
8235 2002-10-24 Jeffrey C Honig <jch@honig.net>
8236
8237 * mh-comp.el (mh-yank-from-start-of-msg, mh-reply): Use -noformat
8238 flag to reply when 'autosupercite or 'autoattrib are specified to
8239 prevent duplicate cites of the body of a message.
8240
8241 2002-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
8242
8243 * mh-utils.el (font-lock-default-fontify-region): Add autoload to
8244 avoid compiler warning.
8245
8246 2002-10-23 Peter S Galbraith <psg@debian.org>
8247
8248 * mh-comp.el (mh-letter-mode): set fill-paragraph-function to our
8249 own 'mh-fill-paragraph-function instead of simply
8250 'mail-mode-fill-paragraph (because it doesn't handle a non-nil
8251 fill-prefix correctly).
8252 (mh-fill-paragraph-function): New function for mh-letter-mode
8253 fill-paragraph-function in order to handle non-nil fill-prefix.
8254 Call sendmail's mail-mode-fill-paragraph if in the mail header,
8255 else call default fill-paragraph with fill-prefix set to nil.
8256 (Closes SF #489927)
8257
8258 * mh-comp.el (mh-letter-mode): Let's use font-lock even if gnus is
8259 used in show-mode. The reason is that gnus uses static text
8260 properties which are not appropriate for a buffer that will be
8261 edited. So the choice here is either fontify the citations and
8262 header or the header only.
8263
8264 * mh-utils.el (mh-show-font-lock-fontify-region): Limit font-lock
8265 in mh-show-mode to the header. Used when mh-highlight-citation-p
8266 is set to gnus, leaving the body to be dealt with by gnus
8267 highlighting. This fixes gnus text emphasis in mh-show-mode.
8268 (mh-show-mode): In font-lock-defaults, set
8269 font-lock-fontify-region-function to mh-show-font-lock-fontify-region.
8270
8271 2002-10-23 Bill Wohler <wohler@newt.com>
8272
8273 * mh-mime.el (mh-mml-attach-file): Prompt for disposition should
8274 be Disposition, not Content-Type. The Content-Type has been
8275 determined automatically.
8276
8277 2002-10-23 Mark D. Baushke <mdb@gnu.org>
8278
8279 * MH-E-NEWS:
8280 s/mh-adaptive-cmd-note/mh-adaptive-cmd-note-flag/
8281 s/mh-show-use-xface/mh-show-use-xface-flag/
8282 s/mh-tool-bar-reply-3-buttons/mh-tool-bar-reply-3-buttons-flag/
8283 This addresses part of SF #627015.
8284
8285 * mh-comp.el:
8286 s/mh-mml-compose-insert-p/mh-mml-compose-insert-flag/
8287 s/mh-xemacs-p/mh-xemacs-flag/
8288 (mh-letter-menu): Use mh-mml-compose-insert-flag.
8289 (mh-insert-x-mailer): Use mh-xemacs-flag.
8290 (mh-mml-compose-insert-flag): Renamed from
8291 mh-mml-compose-insert-p.
8292 (mh-send-letter): Use mh-mml-compose-insert-flag.
8293 This addresses part of SF #627015.
8294
8295 * mh-e.el:
8296 s/mh-folder-threaded-view-p/mh-folder-threaded-view-flag/
8297 s/mh-adaptive-cmd-note/mh-adaptive-cmd-note-flag/
8298 s/mh-xemacs-p/mh-xemacs-flag/
8299 (mh-folder-threaded-view-flag): Renamed from
8300 mh-folder-threaded-view-p. Make it buffer local.
8301 (mh-folder-tool-bar-map): Use mh-tool-bar-reply-3-buttons-flag.
8302 (mh-remove-xemacs-horizontal-scrollbar): Use mh-xemacs-flag.
8303 (mh-make-folder, mh-regenerate-headers, mh-get-new-mail): Use
8304 mh-adaptive-cmd-note-flag.
8305 (mh-folder-folder-menu, mh-regenerate-headers, mh-get-new-mail,
8306 mh-make-folder-mode-line, mh-process-commands,
8307 mh-delete-scan-msgs): Use mh-folder-threaded-view-flag.
8308 This addresses part of SF #627015.
8309
8310 * mh-index.el:
8311 s/mh-adaptive-cmd-note/mh-adaptive-cmd-note-flag/
8312 (mh-index-search): Use mh-adaptive-cmd-note-flag.
8313 This addresses part of SF #627015.
8314
8315 * mh-mime.el:
8316 s/mh-mml-compose-insert-p/mh-mml-compose-insert-flag/
8317 s/mh-xemacs-p/mh-xemacs-flag/
8318 (mh-mml-compose-insert-flag): Renamed from
8319 mh-mml-compose-insert-p. Make it buffer local.
8320 (mh-mml-attach-file, mh-mml-secure-message-sign-pgpmime,
8321 mh-mml-secure-message-encrypt-pgpmime): Use it.
8322 (gnus-local-map-property): Use mh-xemacs-flag.
8323 This addresses part of SF #627015.
8324
8325 * mh-seq.el:
8326 s/mh-folder-threaded-view-p/mh-folder-threaded-view-flag/
8327 (mh-thread-generate, mh-thread-folder, mh-toggle-threads): Use
8328 mh-folder-threaded-view-flag.
8329 This addresses part of SF #627015.
8330
8331 * mh-speed.el:
8332 s/mh-speed-run-flists-p/mh-speed-run-flists-flag/
8333 s/mh-speed-refresh-p/mh-speed-refresh-flag/
8334 (mh-speed-run-flists-flag): Renamed from mh-speed-run-flists-p.
8335 (mh-folder-speedbar-buttons): Use it.
8336 (mh-speed-refresh-flag): Renamed from mh-speed-refresh-p.
8337 (mh-speed-update-current-folder, mh-speed-invalidate-map,
8338 mh-speed-add-folder): Use it.
8339 This addresses part of SF #627015.
8340
8341 * mh-utils.el:
8342 s/mh-xemacs-p/mh-xemacs-flag/
8343 s/mh-tool-bar-reply-3-buttons/mh-tool-bar-reply-3-buttons-flag/
8344 s/mh-show-use-xface/mh-show-use-xface-flag/
8345 (mh-xemacs-flag): Renamed from mh-xemacs-p.
8346 (mh-show-xface-function): Use it.
8347 (mh-tool-bar-reply-3-buttons-flag): Renamed from
8348 mh-tool-bar-reply-3-buttons.
8349 (mh-show-tool-bar-map): Use it.
8350 (mh-adaptive-cmd-note-flag): Renamed from mh-adaptive-cmd-note.
8351 (mh-cmd-note): Use it in description.
8352 (mh-show-use-xface-flag): Renamed from mh-show-use-xface. Use
8353 mh-xemacs-flag.
8354 (mh-show-xface): Use mh-show-use-xface-flag.
8355 This addresses part of SF #627015.
8356
8357 2002-10-23 Bill Wohler <wohler@newt.com>
8358
8359 * Makefile (all): Rather than have to run "make clean all" all the
8360 time, make the default target do a clean so all you have to say is
8361 "make".
8362
8363 * mh-e.el (mh-folder-map): Moved "t (mh-toggle-threads)" to T
8364 prefix.
8365
8366 2002-10-22 Satyaki Das <satyaki@theforce.stanford.edu>
8367
8368 * mh-index.el (mh-indexer-choices, mh-swish-binary): The
8369 executable swish-e can be used to search (just like swish-search).
8370 However the Makefile in swish-e-2.2.2 doesn't install
8371 swish-search. So it is preferable to use swish-e.
8372
8373 2002-10-22 Bill Wohler <wohler@newt.com>
8374
8375 * mh-comp.el (mh-letter-mode-map): Added aliases for keybindings.
8376 For example, you now have "C-c C-m C-i" in addition to "C-c C-m
8377 i".
8378
8379 2002-10-22 Mark D. Baushke <mdb@gnu.org>
8380
8381 * mh-mime.el (mh-graphical-smileys-flag): Renamed from
8382 mh-graphical-smileys-p.
8383 (mh-display-smileys): Use it.
8384 (mh-graphical-emphasis-flag): Renamed from
8385 mh-graphical-emphasis-p.
8386 (mh-display-emphasis): Use it. This addresses part of SF #627015.
8387
8388 2002-10-22 Satyaki Das <satyaki@theforce.stanford.edu>
8389
8390 * mh-mime.el (mh-insert-mime-security-button): A message is
8391 produced if PGP decryption/verification fails. This addresses
8392 SF# 627025.
8393
8394 2002-10-21 Bill Wohler <wohler@newt.com>
8395
8396 * mh-seq.el (mh-widen): Checkdoc removed the period in the error.
8397 The info node (elisp) Coding Conventions says: "An error message
8398 should start with a capital letter but should not end with a
8399 period."
8400
8401 * mh-e.el, mh-utils.el (mh-tool-bar-reply-3-buttons): Moved
8402 defcustom to mh-utils because I got an error about a nil value for
8403 mh-tool-bar-reply-3-buttons when I fired up mh-rmail.
8404
8405 * mh-comp.el, mh-funcs,el, mh-mime.el, mh-pick.el: Moved (provide)
8406 to the end of the file to be consistent with most other files (see
8407 additional rationale in mh-e.el description below).
8408
8409 * mh-e.el: Had to remove eval-when-compile from the (require 'cl)
8410 here too (because the remove-if generated a warning in CVS Emacs).
8411 Moved (provide) to the end of the file to be consistent with most
8412 other files. My guess is that this is good to keep a feature from
8413 being "provided" if the file craps out while being loaded.
8414
8415 2002-10-21 Satyaki Das <satyaki@theforce.stanford.edu>
8416
8417 * mh-utils.el (mh-reply, Info-goto-node): Add autoloads to avoid
8418 compiler warnings.
8419 (mh-tool-bar-reply-3-buttons): Add defvar to avoid compiler
8420 warning.
8421
8422 * mh-seq.el (mh-narrow-to-seq): Remember that a narrowing has
8423 occurred.
8424 (mh-valid-view-change-operation-p): New function that checks if
8425 the widening or unthreading that we are about to perform is
8426 allowed.
8427 (mh-widen): Check if widening is applicable.
8428 (mh-thread-inc, mh-thread-folder): Use delete-region instead of
8429 erase-buffer. This means if the buffer is narrowed then the hidden
8430 parts aren't removed. This allows widening of the folder later on.
8431 (mh-toggle-threads): Maintain mh-view-ops.
8432
8433 * mh-e.el (mh-view-ops, mh-folder-mode): New buffer-local variable
8434 that keeps track of the sequence in which threading and narrowing
8435 of the folder buffer has been carried out. This is needed so that
8436 narrowing followed by threading (or vice versa) behaves in a
8437 reasonable manner.
8438 (mh-regenerate-headers): Use delete-region instead of
8439 erase-buffer.
8440 (mh-make-folder-mode-line): Change mh-first-msg-num and
8441 mh-last-msg-num conservatively. This might show a larger range in
8442 the mode-line but allows the unthreading to not miss messages
8443 present initially.
8444
8445 2002-10-21 Bill Wohler <wohler@newt.com>
8446
8447 * mh-mime.el (mh-graphical-emphasis-p): Added _underline_ to the
8448 docstring, as well as the source of the strings,
8449 gnus-emphasis-alist.
8450 (mh-graphical-emphasis-p, mh-graphical-smileys-p): Set the default
8451 to t.
8452
8453 2002-10-21 Peter S Galbraith <psg@debian.org>
8454
8455 * mh-utils.el (mh-show-mode): Invoke new toolbar.
8456 (mh-show-tool-bar-map): New tool-bar for mh-show-mode, similar to
8457 mh-letter-mode.
8458
8459 2002-10-21 Satyaki Das <satyaki@theforce.stanford.edu>
8460
8461 * mh-utils.el (mh-display-msg): Call the smiley display function
8462 after the call to mh-show-mode. This is needed since mh-show-mode
8463 kills all buffer-local variables and resets the variable that
8464 controls display of graphical smileys.
8465
8466 2002-10-21 Bill Wohler <wohler@newt.com>
8467
8468 * mh-e.el (mh-folder-mime-action): Change mime to MIME in message.
8469
8470 * mh-comp.el (mh-mml-to-mime autoload): Ditto.
8471
8472 2002-10-21 Mark D Baushke <mdb@gnu.org>
8473
8474 * mh-mime.el (smiley-region): Use load for a non-fatal dependency
8475 on the smiley library.
8476
8477 2002-10-21 Jeffrey C Honig <jch@honig.net>
8478
8479 * mh-comp.el (mh-forward): Search for a blank line as well as
8480 mail-header-separator.
8481 (mh-letter-mode): Search for a blank line as well as
8482 mail-header-separator.
8483 (mh-send-letter): The default BCC encapsulation will make a MIME
8484 message unreadable. If we are running nmh and the letter contains
8485 a Bcc: and a Content-Type: field, add the -mime switch to to the
8486 arguments to send.
8487
8488 2002-10-21 Peter S Galbraith <psg@debian.org>
8489
8490 * mh-utils.el: Add a mh-defun-show-buffer call to define
8491 mh-show-pack-folder.
8492
8493 2002-10-21 Peter S Galbraith <psg@debian.org>
8494
8495 * mh-mime.el (mh-store-mime-parts): Simplify code a bit.
8496
8497 * mh-e.el (mh-help-messages): Update help message for changed
8498 keybindings.
8499
8500 2002-10-21 Satyaki Das <satyaki@theforce.stanford.edu>
8501
8502 * mh-speed.el (mh-speed-invalidate-map): Invalidate
8503 mh-speed-folders-cache before it is used by mh-speed-folders. Also
8504 fix indentation of if statement.
8505 (mh-speed-folder-size): The folder name should be extracted from
8506 the speedbar buffer and not from the temp buffer has was happening
8507 before.
8508 (mh-speed-folder-size): Harden the function some more. It
8509 shouldn't produce errors any more unless flist really didn't work.
8510
8511 2002-10-21 Bill Wohler <wohler@newt.com>
8512
8513 * mh-seq.el (mh-put-msg-in-seq): Formatting only. The reason I was
8514 in there is because I was trying to use mh-put-msg-in-seq and
8515 mh-msg-is-in-seq non-interactively and found that although the
8516 docstring says it uses the current message by default, I got
8517 errors if I passed in nil for the message. Is this expected, or is
8518 this a bug? I suppose the fix would be to make the arguments
8519 optional, right? This would cause the arguments in
8520 mh-put-msg-in-seq to be reversed, however. Might be a backwards
8521 compatibility problem.
8522
8523 * mh-speed.el (mh-speed-view): Convert default size to string
8524 before passing it to read-string. This was done because XEmacs
8525 can't handle a numeric value for the default.
8526
8527 2002-10-20 Satyaki Das <satyaki@theforce.stanford.edu>
8528
8529 * mh-utils.el (mh-show-mode-map, mh-show-folder-map)
8530 (mh-show-sequence-map, mh-show-thread-map, mh-show-extract-map)
8531 (mh-show-digest-map, mh-show-mime-map): Interactive functions
8532 callable in show buffer are now prefixed with mh-show.
8533
8534 * mh-seq.el (mh-notate-deleted-and-refiled): Take into account the
8535 changes to mh-refile-list and the removal of the 'deleted
8536 sequence.
8537 (mh-toggle-threads): Changing from threaded to normal view doesn't
8538 try to push out message refiles and deletions to MH.
8539
8540 * mh-e.el (mh-rescan-folder, mh-scan-folder): Add a new optional
8541 argument to both functions that prevents them from carrying out
8542 pending refiles and deletes.
8543 (mh-undo): Remove dead code.
8544 (mh-delete-a-msg, mh-undo-msg): Get rid of the 'deleted sequence.
8545 The same information is present in mh-delete-list any way.
8546 (mh-refile-a-msg, mh-undo-msg, mh-process-commands): Change the
8547 semantics of mh-refile-list to make it self-contained. This
8548 variable now contains a list of lists. The first element of each
8549 sublist is the destination folder name. The remaining elements are
8550 the messages that are to be refiled to the destination folder.
8551 (mh-toggle-threads, mh-folder-folder-menu): Use mh-toggle-threads
8552 instead of mh-thread-folder.
8553
8554 2002-10-20 Peter S Galbraith <psg@debian.org>
8555
8556 * mh-mime.el (mh-store-mime-parts): Bug fix? Make this command
8557 work when in the show buffer, and not just in the folder buffer
8558 pointing to a message.
8559
8560 2002-10-20 Peter S Galbraith <psg@debian.org>
8561
8562 * mh-seq.el (mh-narrow-to-subject-sequence): Renamed from
8563 mh-narrow-to-subject-thread.
8564 (mh-subject-to-sequence): Renamed from mh-subject-thread-to-sequence.
8565 (mh-delete-subject-sequence): Renamed from mh-delete-subject-thread.
8566 (mh-next-unseen-subject-sequence): Renamed from
8567 mh-next-unseen-subject-thread.
8568 (mh-toggle-subject-thread): Removed. :-(
8569
8570 * mh-e.el: s/subject-thread/subject-sequence/
8571 (mh-thread-map): Bind mh-widen to "w".
8572
8573 * mh-utils.el: s/subject-thread/subject-sequence/
8574 (mh-show-thread-map): Bind mh-widen to "w".
8575
8576 2002-10-20 Satyaki Das <satyaki@theforce.stanford.edu>
8577
8578 * mh-seq.el (mh-thread-folder): This function is no longer
8579 interactive. The mh-toggle-threads is the interactive function
8580 that gets called by the user. Also the already computed values in
8581 mh-first-msg-num and mh-last-msg-num are used instead of
8582 recomputing the first and last message indices in the current
8583 folder.
8584 (mh-toggle-threads): New interactive function that toggles
8585 threaded view of the folder.
8586
8587 * mh-utils.el (mh-letter-toggle-threads): New interactive function
8588 which toggles thread view from show buffer. This function replaces
8589 mh-letter-thread-folder.
8590 (mh-show-folder-map): Use mh-letter-toggle-threads instead of
8591 mh-letter-thread-folder.
8592
8593 * mh-e.el (mh-folder-map): Use mh-toggle-threads instead of
8594 mh-thread-folder.
8595
8596 2002-10-20 Bill Wohler <wohler@newt.com>
8597
8598 * mh-e.el (mh-scan-folder): Formatting only.
8599 (mh-goto-cur-msg): Removed call to mh-last-msg in those cases
8600 where there isn't a current message. Since I've started using the
8601 speedbar to read my mh-e mail, I've had to use M-< every time to
8602 go to the beginning of the new messages. Very annoying! Thus, if
8603 there isn't a current message, the cursor is left alone, which
8604 sounds like the right thing to do anyway.
8605
8606 2002-10-19 Peter S Galbraith <psg@debian.org>
8607
8608 * mh-seq.el (mh-subject-thread-to-sequence): Bug fix. After
8609 making the 'subject sequence real, I now have to delete it globally.
8610
8611 * mh-seq.el (mh-toggle-subject-thread): Make toggle back to full
8612 scan exactly mh-widen (removed moving to current message).
8613
8614 * mh-seq.el (mh-subject-thread-to-sequence): Make 'subject
8615 sequence a real one, exported to MH. This means you can, for
8616 example, mh-forward it. But it also shows up with a mark in the
8617 scan output. (Closes SF #489445).
8618
8619 2002-10-19 Bill Wohler <wohler@newt.com>
8620
8621 * mh-speed.el (mh-speed-view): If there weren't any unseen
8622 messages, and you specified a string (a sequence like "last") when
8623 prompted for the number of messages to display, you got an error.
8624 This has been fixed.
8625
8626 2002-10-19 Mark D Baushke <mdb@gnu.org>
8627
8628 * mh-e.el (mh-last-destination-folder): Destination of last refile
8629 command.
8630 (mh-last-destination-write): Destination of last write command.
8631 (mh-refile-msg): Use 'mh-last-destination-folder and update both it
8632 and 'mh-last-destination.
8633 (mh-write-msg-to-file): Use 'mh-last-destination-write and update
8634 both it and 'mh-last-destination (Closes SF #580772).
8635
8636 2002-10-19 Bill Wohler <wohler@newt.com>
8637
8638 * mh-comp.el (mh-yank-from-start-of-msg): Changed default to
8639 'attribution.
8640 (mh-letter-mode-map): Removed commented-out keybindings as well as
8641 alias "C-c C-m a (mh-compose-insertion)." Prefer "C-c C-m i."
8642
8643 * mh-utils.el: Removed autoload of help. It no longer appears to
8644 be necessary in cvs Emacs (21.4).
8645
8646 2002-10-18 Bill Wohler <wohler@newt.com>
8647
8648 * mh-e.el (mh-execute-commands): Doc fix.
8649 (mh-compat-write-file-hook): Renamed to
8650 mh-write-file-functions-compat.
8651 (mh-folder-mode): Add mh-write-file-functions-compat instead of
8652 mh-compat-write-file-hook
8653
8654 2002-10-18 Peter S Galbraith <psg@debian.org>
8655
8656 * mh-utils.el (mh-invisible-headers-show-xface): Killed this
8657 variable.
8658 (mh-invisible-headers): Use 'mh-show-use-xface instead of
8659 'mh-invisible-headers-show-xface to determine whether to render
8660 the X-Face header line visible or not.
8661
8662 2002-10-18 Satyaki Das <satyaki@theforce.stanford.edu>
8663
8664 * mh-e.el (mh-compat-write-file-hook, mh-folder-mode): Use the new
8665 macro mh-compat-write-file-hook to use write-file-functions for
8666 Emacs 21.4 and local-write-file-hooks for older versions.
8667
8668 2002-10-18 Mark D Baushke <mdb@gnu.org>
8669
8670 * mh-utils.el (mh-invisible-headers): Add more anti-spam headers.
8671
8672 2002-10-18 Peter S Galbraith <psg@debian.org>
8673
8674 * mh-mime.el (mh-mml-forward-message): mml-attach-file constructs
8675 a malformed composition if the description string is empty, so
8676 test for that and call mml-attach-file without that argument if
8677 it's an empty string (closes SF #625168).
8678
8679 2002-10-17 Satyaki Das <satyaki@theforce.stanford.edu>
8680
8681 * mh-index.el (mh-index-keymap): Removed extra binding of " ".
8682 (mh-index-folder-mode-help-messages): Made the cheat sheet entry
8683 of quit like the others.
8684 (mh-index-search): If space was pressed in the index buffer before
8685 a search result has been shown with ".", the old show buffer would
8686 be scrolled. This is confusing since the index and show buffer
8687 contents are contradictory. Killing the show buffer here avoids
8688 this problem.
8689 (mh-index-configure-windows): Refine the window configuration
8690 logic. Avoid the two window view unless there is a message being
8691 displayed in the show buffer.
8692 (mh-index-scroll-up): Rewrite this function. The old version had a
8693 bizarre problem where the show buffer wouldn't be scrolled if the
8694 speedbar was present.
8695 (mh-index-scroll-down): Rewritten because of similar reason as
8696 above.
8697
8698 2002-10-17 Peter S Galbraith <psg@debian.org>
8699
8700 * mh-comp.el (mh-reply): Add an undo boundary in the undo list
8701 before calling 'mh-yank-cur-msg (closes SF #623693).
8702
8703 2002-10-17 Satyaki Das <satyaki@theforce.stanford.edu>
8704
8705 * mh-e.el (mh-folder-mode): Use local-write-file-hooks instead of
8706 write-file-hooks. This is required for XEmacs and also the right
8707 thing according to GNU Emacs21 documentation.
8708
8709 2002-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
8710
8711 * mh-seq.el (mh-thread-generate): Get threading to work correctly
8712 on partial folders. The fix here disregards messages that aren't
8713 already present in the buffer.
8714 (mh-thread-folder): When querying scan about thread info try to
8715 avoid asking about messages that aren't present in the folder
8716 buffer. A more efficient fix would be to ask scan about just the
8717 messages that are present instead of a range of messages. However
8718 that runs the risk of sending long command lines to scan. Another
8719 change was to populate the mh-scan-line-map early so that the
8720 change in mh-thread-generate would work.
8721 (mh-thread-generate-scan-lines): In case duplicates are present
8722 make one of them the pseudo parent of the rest. This makes it look
8723 prettier if there are multiple duplicates at top level.
8724
8725 * mh-comp.el (mh-edit-again): If a buffer in show-mode is being
8726 reused then reinsert message file. This should fix SF #624283.
8727
8728 * mh-mime.el (mh-mm-display-part): Make sure mh-display-part is
8729 always called when we want to remove the displayed MIME part.
8730
8731 2002-10-16 Bill Wohler <wohler@newt.com>
8732
8733 * mh-speed.el (mh-speed-folder-size): checkdoc fix.
8734 (mh-speed-view): Tweaked output to mirror gnus verbiage. Offer
8735 to view number of messages in folder rather than mh-large-folder.
8736 Replaced (intern mh-unseen-seq) with mh-unseen-seq since the
8737 former was generating errors.
8738
8739 2002-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
8740
8741 * mh-speed.el (mh-large-folder): New customizable variable to
8742 control mh-e's perception of large folders.
8743 (mh-speed-folder-size): New function which computes the size of
8744 folder on current line.
8745 (mh-speed-view): Modified to handle large folders. If the folder
8746 being clicked has unseen messages then only those messages are
8747 shown. Otherwise if number of messages in folder is larger than
8748 mh-large-folders then the user is asked for the number of messages
8749 to be shown. If the folder satisfies neither of the above cases
8750 then it is displayed in its entirety
8751
8752 2002-10-15 Bill Wohler <wohler@newt.com>
8753
8754 * mh-index.el (mh-index-keymap): Use gnus-define-keys. Sorted.
8755 Noticed that there were two key bindings for SPACE...
8756
8757 * mh-speed.el (mh-folder-speedbar-key-map): Ditto (except for the
8758 dup SPACE binding).
8759
8760 Completed help in other modes:
8761
8762 * mh-utils.el (mh-xemacs-p): Fixed doc.
8763 (mh-show-mode-map, mh-show-folder-map, mh-show-sequence-map)
8764 (mh-show-thread-map, mh-show-extract-map): Added binding for
8765 mh-help.
8766
8767 * mh-pick.el (mh-search-folder): Added startup help message.
8768 (mh-pick-mode-help-messages): New variable that contains help
8769 messages for pick buffer.
8770 (mh-pick-mode): Set local buffer variable mh-help-messages to
8771 mh-pick-mode-help-messages.
8772
8773 * mh-index.el (mh-index-keymap): Added binding for mh-help
8774 (mh-index-folder-mode-help-messages): New variable that contains
8775 help messages for MH Index buffer.
8776 (mh-index-folder-mode): Set local buffer variable mh-help-messages
8777 to mh-index-mode-help-messages.
8778
8779 * mh-funcs.el (mh-help, mh-prefix-help): Call
8780 substitute-command-keys on the help messages.
8781
8782 * mh-e.el (mh-help-messages): Added ,. Ran C-M-q.
8783 (mh-help): This autoload doc is now used for more than just the
8784 MH-Folder, so drop that specific text.
8785
8786 * mh-comp.el (mh-edit-again, mh-extract-rejected-mail)
8787 (mh-forward, mh-reply, mh-send-sub): Call mh-letter-mode-message
8788 to display a help message at startup.
8789 (mh-letter-mode): Set local buffer variable mh-help-messages to
8790 mh-letter-mode-help-messages.
8791 (mh-letter-mode-help-messages): New variable with help messages
8792 for the MH-Letter buffer.
8793 (mh-letter-mode-message): New function that displays a startup
8794 help message.
8795 (mh-letter-mode-map): Added binding for mh-help. Sorted.
8796
8797 2002-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
8798
8799 * mh-speed.el (mh-speedbar-selected-folder-with-unseen-messages-face)
8800 (mh-speedbar-folder-face, mh-speedbar-selected-folder-face)
8801 (mh-speedbar-folder-with-unseen-messages-face): New faces for mh-e
8802 speedbar.
8803 (mh-folder-speedbar-buttons, mh-speed-update-current-folder)
8804 (mh-speed-add-buttons): Use the new faces.
8805 (mh-speed-normal-face, mh-speed-bold-face): Functions to convert
8806 to bold face and back to normal face.
8807 (mh-speed-set-face): Removed.
8808 (mh-speed-highlight): Modified to allow it to be used instead of
8809 mh-speed-set-face. Also changes were made to fontify folders with
8810 unread messages.
8811 (mh-speed-parse-flists-output, mh-speed-parse-flists-output)
8812 (mh-speed-invalidate-map): Use mh-speed-highlight instead of
8813 mh-speed-set-face.
8814
8815 2002-10-15 Bill Wohler <wohler@newt.com>
8816
8817 * mh-mime.el, mh-seq.el, mh-speed.el, mh-utils.el: It appears that
8818 the cl package has been restructured in 21.4 in such a way that
8819 the use of eval-when-compile no longer suppresses warnings when
8820 compiling so that (require 'cl) must be called directly (maybe
8821 this is a bug in 21.4 ;-). Thus the autoloads of cl are no longer
8822 needed. Now compiles clean under 21.4.
8823
8824 * mh-e.el (mh-folder-mode): The use of local-write-file-hooks is
8825 deprecated in Emacs 21.4, so use add-hook write-file-functions (or
8826 write-file-hook for older versions) with the LOCAL argument
8827 instead. Now compiles clean under 21.4.
8828
8829 * mh-comp.el (mh-yank-cur-msg): Push a mark at the opposite end of
8830 the included text to make it easy to jump or delete to the other
8831 end of the included text.
8832
8833 2002-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
8834
8835 * mh-comp.el (mh-insert-prefix-string): Remove the erroneous use
8836 of set-mark and other related functions.
8837
8838 2002-10-14 Bill Wohler <wohler@newt.com>
8839
8840 * mh-comp.el (mh-yank-from-start-of-msg): Fixed documentation. It
8841 isn't ignored if there is a region. It is still used for the
8842 attribution.
8843 (mh-yank-cur-msg): Removed unnecessary push-mark when snarfing the
8844 entire message. Move the cursor to the end of the snarfed message
8845 if there is a region. In this case, push a mark so user can pop to
8846 the beginning of the snarfed fragment.
8847 (mh-insert-prefix-string): This calls set-mark which I find
8848 suspect since I found that my last user mark was deleted after
8849 yanking a message. Added a comment to this effect. Will probably
8850 add a bug report...
8851
8852 * README (Installed, Supported versions): To appear in GNU Emacs
8853 21.3; supported on Emacs 21, 20.7 and XEmacs 21.
8854
8855 * mh-funcs.el (mh-concat-list): Deleted. Use mapconcat instead.
8856 (mh-help, mh-prefix-help): Use mapconcat instead of mh-concat-list.
8857 (mh-ephem-message): Use "%s" in message.
8858
8859 * mh-funcs.el (mh-concat-list): New function to concatenate a list
8860 of strings into a single string. I would have thought elisp
8861 already contained a function like this, but I couldn't find it.
8862 (mh-ephem-message): New function to display a message in the
8863 minibuffer ephemerally. minibuffer-message seemed like the right
8864 function, but it writes to the current buffer oddly enough.
8865 (mh-help, mh-prefix-help): New functions to display command
8866 cheat sheets in the minibuffer (closes SF #493740). It would be
8867 nice to refactor these two into a single function if possible.
8868
8869 * mh-e.el (mh-folder-mode-map, mh-folder-map, mh-sequence-map)
8870 (mh-thread-map, mh-extract-map): Added ? keybinding for `mh-help'
8871 and `mh-prefix-help' (closes SF #493740).
8872 (mh-help-messages): New variable to hold various help messages.
8873 (mh-help, mh-prefix-help): Autoload from mh-funcs.el.
8874
8875 2002-10-13 Bill Wohler <wohler@newt.com>
8876
8877 * mh-index.el (mh-glimpse-directory, mh-swish-directory,
8878 mh-namazu-directory): New variables that hold the name of the
8879 configuration and indexing directory. All are now hidden `.'
8880 directories.
8881
8882 * mh-e.el, mh-funcs.el, mh-index.el, mh-mime.el, mh-pick.el,
8883 mh-seq.el, mh-xemacs-compat.el (Docstrings): Converted comments to
8884 docstrings, reworded some docstrings to conform to Emacs
8885 documentation conventions, and eliminated all checkdoc warnings
8886 (except for -flag, which we'll fix after 6.2 is released).
8887
8888 2002-10-13 Satyaki Das <satyaki@theforce.stanford.edu>
8889
8890 * mh-index.el (mh-swish-next-result): Fix a bug in a corner case
8891 where the lack of a trailing "/" caused the function to wrongly
8892 filter out correct hits. This should fix SF #622679.
8893
8894 2002-10-12 Steve Youngs <youngs@xemacs.org>
8895
8896 * mh-utils.el (mh-xemacs-p): Simplify it, don't test for
8897 'defvaralias' and don't use 'running-xemacs'.
8898
8899 2002-10-11 Bill Wohler <wohler@newt.com>
8900
8901 * mh-comp.el: (Docstrings): Eliminated all checkdoc warnings by
8902 converting comments to docstrings and rewording some docstrings to
8903 conform to Emacs documentation conventions.
8904
8905 2002-10-11 Steve Youngs <youngs@xemacs.org>
8906
8907 * mh-utils.el (mh-xemacs-p): New.
8908 (mh-show-use-xface): Use it.
8909 (mh-show-xface-function): Ditto.
8910
8911 * mh-e.el (toplevel): Ditto.
8912 (mh-remove-xemacs-horizontal-scrollbar): Ditto.
8913 (mh-folder-mode-map): Ditto.
8914
8915 * mh-comp.el (mh-insert-x-mailer): Ditto.
8916
8917 * mh-mime.el (gnus-local-map-property): Ditto.
8918 (mh-mml-to-mime): Move (require 'mh-utils) to toplevel.
8919 (mh-prompt-for-folder): Autoloading this not needed because
8920 mh-utils is now required at toplevel.
8921 (mh-show-xface): Ditto.
8922 (mh-show-addr): Ditto.
8923
8924 2002-10-11 Bill Wohler <wohler@newt.com>
8925
8926 * Makefile (EMACS_HOME): Set default to $(TOP)/../emacs so it
8927 would be useful.
8928
8929 * mh-utils.el (mh-invisible-headers): Added various spam header
8930 fields.
8931 (mh-path-search): Removed argument `func-p' and related code. It
8932 was not documented and no one used it.
8933 (Docstrings): Converted comments to docstrings, reworded some
8934 docstrings to conform to Emacs documentation conventions, and
8935 basically eliminated all checkdoc warnings (except for -flag
8936 warnings).
8937
8938 2002-10-11 Satyaki Das <satyaki@theforce.stanford.edu>
8939
8940 * mh-seq.el (mh-thread-generate): Kill dead code.
8941
8942 2002-10-10 Satyaki Das <satyaki@theforce.stanford.edu>
8943
8944 * mh-seq.el (mh-region-to-sequence): Don't include point-max in
8945 region (closes SF #621632).
8946
8947 * mh-utils.el (mh-defun-show-buffer): Fix call of
8948 frame-first-window to work with XEmacs. Also avoid warning about
8949 cur-buffe-name in XEmacs.
8950 (mh-modify, mh-goto-msg): Remove dead code.
8951
8952 * mh-speed.el (mh-speed-toggle, mh-speed-add-buttons): Remove dead
8953 code.
8954
8955 * mh-seq.el (mh-subject-thread-to-sequence, mh-thread-get-message,
8956 mh-thread-generate, mh-thread-folder): Remove dead code.
8957
8958 * mh-mime.el (mh-mm-inline-message): Remove dead code.
8959
8960 * mh-index.el (mh-index-search): Remove dead code.
8961
8962 * mh-comp.el (mh-open-line): Remove dead code.
8963
8964 * mh-e.el (mh-folder-mode): Use the macro
8965 mh-remove-xemacs-horizontal-scrollbar to avoid compiler-warning in
8966 Emacs.
8967 (mh-remove-xemacs-horizontal-scrollbar): New macro to avoid
8968 compiler-warnings.
8969
8970 2002-10-10 Mark D Baushke <mdb@gnu.org>
8971
8972 * Makefile (EMACS_OPTIONS): New macro for command-line compile
8973 options.
8974 (EMACS): Allow the user to specify which emacs command to use for
8975 the compile.
8976 (COMPILE_COMMAND): Combine the compile command with its options.
8977 (.el.elc): Use the new $(COMPILE_COMMAND).
8978
8979 2002-10-10 Mark D Baushke <mdb@gnu.org>
8980
8981 * mh-speed.el (mh-speed-select-attached-frame): Define a new
8982 compatibility macro for getting to the attached-frame.
8983 (mh-speed-update-current-folder): Use it.
8984
8985 2002-10-10 Mark D Baushke <mdb@gnu.org>
8986
8987 * mh-speed.el (mh-speed-update-current-folder): Use
8988 'dframe-select-attached-frame if we are in a newer speedbar
8989 version that no longer supports the 'speedbar-attached-frame
8990 variable.
8991
8992 2002-10-10 Steve Youngs <youngs@xemacs.org>
8993
8994 * mh-speed.el (mh-speed-update-current-folder): Use
8995 'dframe-select-attached-frame' if we're in XEmacs.
8996
8997 * mh-e.el (mh-folder-mode): Remove the horizontal scrollbar from
8998 the MH-Folder buffer if we're in XEmacs.
8999
9000 2002-10-09 Satyaki Das <satyaki@theforce.stanford.edu>
9001
9002 * mh-utils.el (mh-show-xface-function): New global that stores
9003 what function needs to be called to display X-Face.
9004 (mh-show-xface): Rewritten to avoid compiler warning.
9005
9006 2002-10-09 Peter S Galbraith <psg@debian.org>
9007
9008 * mh-utils.el (mh-exchange-point-and-mark-preserving-active-mark):
9009 Simplify code for all emacsen to avoid byte-compilation warnings.
9010
9011 2002-10-09 Satyaki Das <satyaki@theforce.stanford.edu>
9012
9013 * mh-mime.el (mh-mm-display-part): If a sub-part of the current
9014 part is an inline image then clicking the button keeps the image
9015 around. The change fixes this bug.
9016
9017 2002-10-09 Peter S Galbraith <psg@debian.org>
9018
9019 * mh-utils.el (mh-exec-cmd-output): Use new function
9020 'mh-exchange-point-and-mark-preserving-active-mark instead of
9021 'exchange-point-and-mark. Fixes a bug in emacs20 and XEmacs21.
9022 (mh-exchange-point-and-mark-preserving-active-mark): New function.
9023 Does like 'exchange-point-and-mark but doesn't activate the mark.
9024
9025 * mh-comp.el (mh-letter-menu): Allow access to "Pull in All
9026 Compositions" menu entries when edits have really occurred.
9027 Works with "forw: -mime" mh_profile entry, so this fixes a bug.
9028
9029 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part): Use
9030 line-beginning-position and line-end-position instead of
9031 point-at-bol and point-at-eol XEmacs functions.
9032 * mh-xemacs-compat.el: Added line-end-position and
9033 line-beginning-position compatibility aliases.
9034
9035 2002-10-08 Mark D. Baushke <mdb@gnu.org>
9036
9037 * mh-utils.el (mh-scan-msg-format-regexp): The regexp to find
9038 %number(msg).
9039 (mh-scan-msg-format-string): Format to be used with the current
9040 maximum width of message number for the folder in the
9041 `mh-upate-scan-format' function.
9042 (mh-update-scan-format): Use `mh-scan-msg-format-regexp' for greater
9043 flexibility. The message number is no longer anchored to the
9044 beginning of the `mh-scan-format-nmh' or `mh-scan-format-mh' format
9045 strings. The `mh-update-scan-format' allows for using zero-filled
9046 message numbers.
9047
9048 2002-10-08 Peter S Galbraith <psg@debian.org>
9049
9050 * mh-e.el (mh-folder-folder-menu): Add entry for "Thread Folder".
9051
9052 2002-10-07 Satyaki Das <satyaki@theforce.stanford.edu>
9053
9054 * mh-seq.el (mh-thread-generate): Use mh-progs to get path to mh
9055 executables.
9056
9057 * mh-speed.el (mh-speed-flists): Use mh-progs to get path to mh
9058 executables right.
9059 (mh-speed-folders-actual): Same as above.
9060
9061 2002-10-05 Steve Youngs <youngs@xemacs.org>
9062
9063 * mh-comp.el (mh-yank-from-start-of-msg): Make default setting 't'
9064 a const.
9065
9066 * mh-xemacs-compat.el (match-string-no-properties): Rewrite as a
9067 defsubst using 'buffer-substring-no-properties' so we don't grab
9068 any extents.
9069 (rfc822-goto-eoh): Removed. This exists in the XEmacs mail-lib
9070 package.
9071 (mail-header-end): Ditto.
9072 (mail-mode-fill-paragraph): Ditto.
9073
9074 2002-10-05 Satyaki Das <satyaki@theforce.stanford.edu>
9075
9076 * mh-speed.el (mh-speed-invalidate-map): When called interactively
9077 the function will clear mh-speed-folders-cache.
9078
9079 2002-10-02 Satyaki Das <satyaki@theforce.stanford.edu>
9080
9081 * mh-mime.el (mh-insert-mime-button): Rewrite without using
9082 replace-match.
9083
9084 2002-10-01 Satyaki Das <satyaki@theforce.stanford.edu>
9085
9086 * mh-mime.el (mh-file-mime-type-substitutions): Reorder code to
9087 avoid compiler warning.
9088
9089 2002-10-01 Bill Wohler <wohler@newt.com>
9090
9091 * Makefile (MH-E-ETC): Moved ChangeLog into MH-E-ETC-ETC since it
9092 shouldn't get installed in Emacs.
9093 (install-emacs): Install MH-E-IMG into Emacs' lisp/toolbar and
9094 MH-E-IMG2 into Emacs' lisp/mail.
9095
9096 2002-10-01 Peter S Galbraith <psg@debian.org>
9097
9098 * mh-e.el (mh-tool-bar-reply-3-buttons): New customization.
9099 Non-nil means use three buttons for reply commands in tool-bar.
9100 If you have room on your tool-bar because you are using a large
9101 font, you may set this variable to expand the single reply
9102 button into three buttons that won't lead to minibuffer prompt
9103 about who to reply to.
9104 (mh-folder-tool-bar-map): Use mh-tool-bar-reply-3-buttons to
9105 decide how many buttons to use for replying.
9106
9107 * mh-mime.el (mh-file-mime-type-substitutions)
9108 (mh-file-mime-type-substitute): Fix typos and doc strings.
9109
9110 2002-09-30 Peter S Galbraith <psg@debian.org>
9111
9112 * mh-mime.el (mh-file-mime-type): Run Content-Type string returned
9113 by file command through mh-file-mime-type-substitute (see below).
9114 (mh-file-mime-type-substitute): Possibly change Content-Type
9115 string using mh-file-mime-type-substitutions variable. This is
9116 mostly because all MS-Office file are seen as application/msword
9117 by the file command.
9118 (mh-file-mime-type-substitutions): New variable. Defines
9119 substitutions to make for Content-Type returned from file command.
9120
9121 2002-09-27 Bill Wohler <wohler@newt.com>
9122
9123 * README: Moved Id to end of file since it broke outline mode at
9124 the beginning.
9125
9126 * import-emacs (release): Renamed "mainline" tag to
9127 "emacs-mainline" to correspond with existing CVS tag.
9128 (EMACS_HOME): Fixed typo in docstring.
9129
9130 * mh-utils.el (mh-folder-name-p, mh-defun-show-buffer): Lowercase
9131 NIL and T in docstring.
9132 (mh-update-scan-format): Fixed typo.
9133
9134 * mh-comp.el, mh-e.el, mh-pick.el, mh-utils.el: Updated from CVS
9135 Emacs. The only new thing appears to be to downcase NIL and T in
9136 the documentation.
9137
9138 2002-09-26 Satyaki Das <satyaki@theforce.stanford.edu>
9139
9140 * mh-seq.el (mh-thread-generate): The threading code will now be
9141 more resistant to corruption of messages. Before the change any
9142 corruption of message x would cause all messages with indices
9143 higher than x to be neglected when threading!
9144
9145 2002-09-23 Peter S Galbraith <psg@debian.org>
9146
9147 * mh-mime.el (mh-store-mime-parts): Don't store value into
9148 user-customizable variable mh-store-mime-parts-default-directory
9149 and use mh-store-mime-parts-directory instead.
9150
9151 2002-09-20 Satyaki Das <satyaki@theforce.stanford.edu>
9152
9153 * mh-seq.el (mh-thread-prune-subject): Use regular expressions to
9154 make the subject pruning behave the way it is specified in the
9155 imap-thread RFC.
9156
9157 * mh-speed.el (mh-speed-folders-actual): Don't use pop when we
9158 are not going to use the first element. This avoids a compilation
9159 warning with cvs emacs.
9160
9161 2002-09-19 Satyaki Das <satyaki@theforce.stanford.edu>
9162
9163 * mh-utils.el (mh-display-msg): Put the call to
9164 set-buffer-modified after mh-show-mode. This is needed for CVS
9165 emacs since calling mh-show-mode marks the buffer as modified if
9166 font-lock is on.
9167
9168 2002-09-17 Peter S Galbraith <psg@debian.org>
9169
9170 * mh-mime.el (mh-store-mime-parts-default-directory): Renamed from
9171 mh-store-mime-parts-directory
9172 (mh-store-mime-parts-directory): Renamed from
9173 mh-store-mime-parts-directory-default.
9174
9175 2002-09-16 Peter S Galbraith <psg@debian.org>
9176
9177 * mh-comp.el (mail-citation-hook): Doc tweaks suggested by Bill.
9178
9179 2002-09-08 Satyaki Das <satyaki@theforce.stanford.edu>
9180
9181 * mh-e.el (autoloads): Reorder autoload of mh-reply to avoid
9182 compiler warning.
9183
9184 2002-09-03 Peter S Galbraith <psg@debian.org>
9185
9186 * mh-mime.el (mh-store-mime-parts-directory): New defcustom.
9187 Default directory to use for mh-store-mime-parts.
9188 (mh-store-mime-parts): New Command. Store the MIME parts of the
9189 current message.
9190 (mh-store-mime-parts-directory-default): New internal working
9191 variable. Default to use for mh-store-mime-parts-directory, set
9192 from last use.
9193
9194 * mh-e.el (mh-folder-seq-tool-bar-map): Add mh-store-mime-parts to
9195 toolbar.
9196
9197
9198 2002-08-22 Satyaki Das <satyaki@theforce.stanford.edu>
9199
9200 * mh-seq.el (mh-thread-generate-scan-lines): In threaded view,
9201 complete scan lines are printed for all messages (not just the
9202 ones at the top of a thread).
9203
9204 * mh-index.el (mh-index-insert-scan): Replace use of kill-line
9205 since that pollutes the kill-ring.
9206
9207 * mh-comp.el (autoloads): Add autoloads for search and subseq to
9208 get rid of compiler warnings.
9209
9210 2002-08-19 Peter S Galbraith <psg@debian.org>
9211
9212 * reply-to.xpm, reply-to.pbm, reply-from.xpm, reply-from.pbm,
9213 reply-all.xpm, reply-all.bpm: New icons for various reply methods.
9214 * mh-e.el (mh-folder-tool-bar-map): Split reply button into three
9215 that won't prompt for "from", "to" and "all".
9216 * mh-comp.el (mh-reply): Put variable reply-to in the interactive
9217 list since it's specified on the command line for the new toolbar.
9218
9219 * mh-comp.el (mail-citation-hook): Tweak docs concerning
9220 historical usage for supercite.
9221 (mh-yank-from-start-of-msg): Add settings 'supercite and
9222 'autosupercite. Rename 'automatic to 'autoattrib.
9223 (mh-insert-prefix-string): Invoke sc-cite-original if
9224 mh-yank-from-start-of-msg is et to 'supercite or 'autosupercite.
9225
9226 2002-08-17 Satyaki Das <satyaki@theforce.stanford.edu>
9227
9228 * mh-comp.el (compilation-fix): Reorder defvars to avoid warnings
9229 during compilation.
9230
9231 2002-08-17 Peter S Galbraith <psg@debian.org>
9232
9233 * mh-comp.el (mh-yank-from-start-of-msg): Add 'automatic choice.
9234 Do as for `attribution' automatically when show buffer matches the
9235 message being replied-to.
9236 (mh-reply): Call 'mh-yank-cur-msg when mh-yank-from-start-of-msg
9237 is set to 'automatic and show buffer matches message number being
9238 replied-to.
9239 (mh-show-buffer-message-number): New helper function to get the
9240 message number of the current show-buffer.
9241 (mh-yank-cur-msg): Handle 'automatic choice the same as 'attribution.
9242 (mh-yank-cur-msg): Bug fix. It would bail on error if
9243 mh-show-buffer didn't exists.
9244
9245 2002-08-16 Peter S Galbraith <psg@debian.org>
9246
9247 * mh-comp.el (mh-insert-x-mailer): It wrongly assumed that Emacs
9248 was used even when XEmacs was used. Fixed so X-Mailer header is
9249 more exact about what we are using.
9250
9251 2002-08-15 Peter S Galbraith <psg@debian.org>
9252
9253 * mh-e.el (mh-version): Change CVS version number to 6.1+cvs just
9254 so X-Mailer header is more exact about what we are using.
9255
9256 * mh-mime.el (mh-mhn-compose-insertion, mh-mhn-compose-anon-ftp,
9257 mh-mml-attach-file):
9258 "Jeffrey P. Morgenthaler" <jpmorgen@congee.gsfc.nasa.go> reported
9259 that "require" in emacs 20.3 doesn't handle 3 arguments. We
9260 use "load" at the top of file elsewhere anyway to handle such a
9261 case of non-essential loading, so switch to that here.
9262
9263 2002-08-06 Satyaki Das <satyaki@theforce.stanford.edu>
9264
9265 * mh-funcs.el (autoload): Add autoload for mh-speed-invalidate-map.
9266
9267 * mh-speed.el (mh-speed-add-folder): New function to make the
9268 speedbar aware of new folders when they are created by mh-e.
9269
9270 * mh-utils.el (mh-prompt-for-folder): Use mh-speed-add-folder to
9271 tell speedbar that new folder is being created. Also use folder
9272 instead of mkdir to create new folders.
9273
9274 2002-08-01 Peter S Galbraith <psg@debian.org>
9275
9276 * mh-utils.el (mh-decode-quoted-printable): Conditionalize the
9277 limit of search for quoted-printable. If we're using mm-decode
9278 for MIME decoding, it's possible that `mimedecode' could mess our
9279 message, so we only run a full search for quoted-printable parts
9280 when not using gnus' mm-decode. When using mm-decode, mimedecode
9281 can still help by handling the case of the whole message being
9282 quoted-printable as opposed to only a part.
9283
9284 2002-07-31 Peter S Galbraith <psg@debian.org>
9285
9286 * mh-comp.el (mh-compose-insertion): Moved from mh-mime.el because
9287 the pulldown menu were broken in XEmacs21 from this variable being
9288 undefined.
9289
9290 2002-07-28 Mark D. Baushke <mdb@gnu.org>
9291
9292 * mh-utils.el (mh-show-mode): Use the default paragraph-start
9293 rather than the inherited text-mode value.
9294
9295 2002-07-28 Satyaki Das <satyaki@theforce.stanford.edu>
9296
9297 * mh-seq.el (mh-thread-duplicates): New hash table to track
9298 duplicate messages.
9299 (mh-thread-get-message): Remove debug code.
9300 (mh-thread-canonicalize-id): Modified to handle messages without
9301 message-id header. Such messages are given distinct copies of the
9302 empty string as message-id.
9303 (mh-thread-generate): The function was inadvertently rebuilding
9304 the thread tree when message refiles and message deletes are
9305 processed. The change here fixes that. Also code has been added to
9306 keep track of duplicate message-id's.
9307 (mh-thread-generate-scan-lines): Modified to print scan lines for
9308 duplicate messages (that is messages with the same message-id).
9309 (mh-thread-forget-message): Modified to maintain
9310 mh-thread-duplicates.
9311
9312 2002-07-22 Satyaki Das <satyaki@theforce.stanford.edu>
9313
9314 * mh-speed.el (mh-speed-parse-flists-output): Use delete-region
9315 instead of kill-region. Otherwise the kill ring gets polluted.
9316
9317 2002-07-16 Satyaki Das <satyaki@theforce.stanford.edu>
9318
9319 * mh-seq.el (mh-thread-update-scan-line-map): New function to
9320 refresh the stale scan lines.
9321 (mh-thread-inc): Update old scan lines when mh-thread-inc is
9322 called. Otherwise notations for deleted and refiled messages get
9323 lost and the folder display gets out of sync with real mh-e state.
9324
9325 * mh-mime.el (mh-mm-display-part): Call Gnus citation highlight
9326 code when text part is displayed. Otherwise buttonized text parts
9327 aren't correctly fontified when they are displayed.
9328
9329 2002-07-15 Mark D. Baushke <mdb@gnu.org>
9330
9331 * mh-utils.el (mm-decode): Use load for the Non-fatal depencency
9332 on the mm-decode library.
9333 * mh-mime.el (mm-decode, mm-uu, mm-view): Use load for the
9334 Non-fatal depencencies on the mm-decode, mm-uu and mm-view
9335 libraries.
9336
9337 2002-07-15 Satyaki Das <satyaki@theforce.stanford.edu>
9338
9339 * mh-utils.el (mh-require, mh-autoload): Remove these macros.
9340 (mh-decode-mime): Initialized to t iff the mm-decode library is
9341 present in the load-path.
9342 * mh-mime.el (mh-require): Don't use it anymore.
9343
9344 2002-07-15 Mark D Baushke <mdb@gnu.org>
9345
9346 * mh-utils.el (mh-update-scan-format): Rewrite for compatibility
9347 with Xemacs as replace-match appears not to have identical
9348 functionality with FSF emacs.
9349 (mh-scan-msg-format-regexp): Deleted. This regexp is now hardcoded
9350 into the mh-update-scan-format function.
9351
9352 2002-07-12 Satyaki Das <satyaki@theforce.stanford.edu>
9353
9354 * mh-seq.el: Add message threading code.
9355
9356 * mh-utils.el (mh-letter-thread-folder): New interactive function
9357 that allows switching to threaded view from show buffer.
9358 (mh-show-folder-map): Bound "F t" to call mh-letter-thread-folder.
9359 (mh-goto-msg): Replace the function to not assume that messages
9360 are sorted in the folder buffer.
9361
9362 * mh-e.el (mh-folder-threaded-view-p): New buffer local variable
9363 in the folder buffer that records whether threaded view is being
9364 used currently.
9365 (mh-scan-subject-regexp, mh-scan-format-regexp): Get font lock
9366 working for threaded view as well.
9367 (mh-regenerate-headers): Reset mh-folder-threaded-view-p to nil.
9368 (mh-get-new-mail, mh-process-commands): Do incremental threading
9369 if folder is in threaded view.
9370 (mh-delete-scan-msgs): Update thread tables if folder is in
9371 threaded view.
9372 (mh-folder-map): Add "F t" as key binding for mh-thread-folder
9373
9374 * mh-comp.el (mh-yank-cur-msg): Bug fix. mh-show-buffer is only
9375 has a meaningful value in the folder buffer.
9376
9377 2002-07-11 Peter S Galbraith <psg@debian.org>
9378
9379 * mh-comp.el (mh-yank-cur-msg): Run only if mh-show-buffer
9380 actually exists (otherwise a back-traceable error occurred).
9381
9382 * mh-utils.el (mh-find-progs): Run PATH search only when mh-progs,
9383 mh-lib and mh-lib-progs are not all already set. This allows the
9384 user to set them using a simple setq prior to loading mh-e. This
9385 is useful for implementation of mh-e on win32. Note that many
9386 commands still call mh-find-path which also parses the mh_profile
9387 file (that may still fail on win32), so this is still done often.
9388 But it lets us change the mh_profile file and have mh-e see the
9389 changed file without exiting emacs and starting over so I left
9390 that in.
9391
9392 2002-07-04 Satyaki Das <satyaki@theforce.stanford.edu>
9393
9394 * mh-index.el (mh-index-show): Fixed a bug in mh-index-show which
9395 caused it to lose track of point when called from show buffer.
9396
9397 2002-07-04 Mark D. Baushke <mdb@gnu.org>
9398
9399 * Makefile: Add more information and common methods to allow both
9400 GNU make and Berkeley make to properly build everything.
9401
9402 2002-07-04 Satyaki Das <satyaki@theforce.stanford.edu>
9403
9404 * mh-mime.el (mh-push-button): Bug fix for mime display with
9405 mouse. Select show window before executing the mime display
9406 functions.
9407
9408 2002-07-01 Mark D. Baushke <mdb@gnu.org>
9409
9410 * Makefile: Use a conditional variable assignment operator rather
9411 than ifndef to let Makefile be used by both GNU make and Berkeley
9412 make (or similar versions of make). This does not help Solaris
9413 /usr/ccs/bin/make, but Solaris make has problems with the ifndef
9414 syntax too.
9415
9416 2002-07-01 Satyaki Das <satyaki@theforce.stanford.edu>
9417
9418 * mh-index.el (mh-index-search): Check for mh-decode-mime before
9419 adding mh-mime-cleanup to kill-buffer-hook.
9420
9421 * mh-mime.el (mm-destroy-parts): Add definition for old emacs.
9422
9423 2002-06-30 Mark D Baushke <mdb@gnu.org>
9424
9425 * mh-utils.el (mh-update-scan-format): Add documentation string.
9426 (mh-scan-msg-format-regexp): Update the regexp to find %(msg).
9427 (mh-set-cmd-note): When mh-scan-format-file is not t, dynamic
9428 update of mh-cmd-note is wrong. Do not assume that
9429 mh-scan-format-nmh and mh-scan-format-mh can be kept in lock-step
9430 with mh-cmd-note via mh-set-cmd-note. The mh-scan-format function
9431 is now where the updated mh-cmd-note value is put into the scan
9432 format.
9433
9434 * mh-e.el (mh-generate-new-cmd-note): Add documentation string.
9435 (mh-scan-format): Use mh-update-scan-format to get updated copies
9436 of mh-scan-format-nmh and mh-scan-format-mh to avoid format skew.
9437 (mh-get-new-mail): Do not try to adapt mh-cmd-note unless
9438 mh-scan-format-file is equal to t.
9439 (mh-scan-format-nmh): No longer buffer local.
9440 (mh-scan-format-mh): No longer buffer local.
9441
9442 2002-06-30 Satyaki Das <satyaki@theforce.stanford.edu>
9443
9444 * mh-index.el (mh-index-max-msg-index): New variable to keep track
9445 of max message index among search results. If mh-adaptive-cmd-note
9446 is non-nil this is used to compute the width of the index field.
9447 (mh-index-search): Keep track of max index seen while parsing the
9448 search results and set it if mh-adaptive-cmd-note is non-nil.
9449 (mh-index-find-max-width): New function to find the required width
9450 of the message index field.
9451 (mh-defun-index): Binding buffer local variables is bad, so don't
9452 do that.
9453 (mh-index-show): New argument display-headers-p decides whether
9454 the message is displayed in raw form or not.
9455 (mh-index-header-display): New interactive function bound to ","
9456 which shows the message in raw form.
9457 (mh-index-keymap): Add appropriate bindings for backtab and ",".
9458 (read-from-string): Add ignore-errors around it so that the code
9459 doesn't die when it gets unexpected input.
9460
9461 2002-06-29 Satyaki Das <satyaki@theforce.stanford.edu>
9462
9463 * mh-index.el (mh-count-windows): This function works around the
9464 lack of the window-list builtin function in emacs20.
9465
9466 2002-06-29 Mark D Baushke <mdb@gnu.org>
9467
9468 * mh-utils.el (mh-message-number-width): New function to scan
9469 the last message of a folder and return its width.
9470 (mh-adaptive-cmd-note): New variable, if Non-nil indicates that
9471 mh-set-cmd-note should be called with the message width for the
9472 folder.
9473 (mh-cmd-note): Update documentation.
9474 (mh-update-scan-format): Helper function for updating the
9475 mh-scan-format-nmh and mh-scan-format-mh variables.
9476 (mh-scan-msg-overflow-regexp): New variable to help find problem
9477 messages after an inc.
9478 (mh-scan-msg-format-regexp): New variable to find the old message
9479 width in one of the mh-scan-format-nmh or mh-scan-format-mh
9480 variables.
9481 (mh-set-default-cmd-note): Replaced by mh-set-cmd-note.
9482 (mh-set-cmd-note): New function to replace update mh-cmd-note
9483 value.
9484
9485 * mh-e.el (mh-regenerate-headers): If mh-adaptive-cmd-note is
9486 non-nil, use mh-set-cmd-note on empty folder buffers.
9487 (mh-make-folder): Ditto.
9488 (mh-generate-new-cmd-note): New function to adapt the mh-cmd-note
9489 to fit when mh-get-new-mail gets message number truncation.
9490 (mh-get-new-mail): Maybe use mh-generate-new-cmd-note if
9491 mh-adaptive-cmd-note is Non-nil.
9492
9493 2002-06-29 Satyaki Das <satyaki@theforce.stanford.edu>
9494
9495 * mh-speed.el (mh-speed-view): The display gets confused if the
9496 cursor is in the show buffer when mh-speed-view is called. This is
9497 a fix for that.
9498
9499 2002-06-27 Satyaki Das <satyaki@theforce.stanford.edu>
9500
9501 * mh-e.el (mh-next-undeleted-msg): Get rid of optional arg
9502 reverse-p. If there are no more undeleted messages the the point
9503 remains at its original position and a message is produced (closes
9504 SF #494304).
9505 (mh-previous-undeleted-msg): Change similar to
9506 mh-next-undeleted-msg.
9507 (mh-next-msg, mh-refile-msg, mh-delete-msg): Backout previous
9508 change.
9509 (mh-folder-map): Bind "S-tab" and "K S-tab" to mh-prev-button.
9510
9511 * mh-utils.el (mh-show-mode-map): Bind "S-tab" and "K S-tab" to
9512 mh-letter-prev-button.
9513
9514 * mh-mime.el (gnus-newsgroup-name): Initialize it to nil, so that
9515 mm-uu-dissect doesn't cause error.
9516
9517 2002-06-27 Mark D Baushke <mdb@gnu.org>
9518
9519 * mh-utils.el (mh-cmd-note): Make buffer-local. Changes to this
9520 variable should be made via the new mh-set-default-cmd-note
9521 function.
9522 (mh-set-default-cmd-note): New function to setq-default the
9523 mh-cmd-note, mh-scan-format-mh and mh-scan-format-nmh values to
9524 related values.
9525
9526 * mh-e.el (mh-scan-format-mh): Make buffer-local.
9527 (mh-scan-format-nmh): Ditto.
9528 (mh-scan-good-msg-regexp): Use a more general regular expression
9529 so that the width of message numbers, mh-cmd-note, may vary.
9530 (mh-scan-deleted-msg-regexp): Ditto.
9531 (mh-scan-refiled-msg-regexp): Ditto.
9532 (mh-scan-cur-msg-number-regexp): Ditto.
9533 (mh-scan-cur-msg-regexp): Ditto.
9534 (mh-scan-subject-regexp): Ditto.
9535
9536 2002-06-26 Satyaki Das <satyaki@theforce.stanford.edu>
9537
9538 * mh-speed.el: Speedbar support code.
9539
9540 * Makefile: Add mh-speed.el to MH-E-SRC.
9541
9542 * mh-utils.el (mh-prompt-for-folder): Add speedbar hook if
9543 speedbar is being used.
9544
9545 * mh-funcs.el (mh-kill-folder): Add speedbar hook if speedbar is
9546 being used.
9547
9548 * mh-e.el (speedbar-autoloads): Autoload speedbar initialization
9549 functions so that speedbar can find them.
9550
9551 2002-06-25 Satyaki Das <satyaki@theforce.stanford.edu>
9552
9553 * mh-index.el (mh-grep-execute-search, mh-grep-next-result): Allow
9554 grep to be used to search mail.
9555 (mh-index-font-lock-keywords): Modified to avoid bug when using
9556 lazy font-lock.
9557
9558 * mh-e.el (mh-delete-msg, mh-refile-msg): Modify so that if no
9559 undeleted (or unrefiled) message exists in the current movement
9560 direction then try to find an undeleted (or unrefiled) message in
9561 the opposite direction instead.
9562 (mh-next-undeleted-msg): Added a new optional argument. If non-nil
9563 search for undeleted message backwards if none exists in the
9564 forward direction.
9565 (mh-previous-undeleted-msg): Added an optional argument. If
9566 non-nil search for undeleted message in the forward direction if
9567 none exists in the backward direction.
9568 (mh-next-msg): Optional argument to change direction if undeleted
9569 messages are not found in the current direction.
9570
9571 * mh-index.el (mh-cmd-note): Use mh-cmd-note instead of hardcoding
9572 the index field size to 4.
9573
9574 * mh-utils.el (mh-show-addr, mh-show-xface): New functions added
9575 to do xface display and goto-addr interface to allow reuse by the
9576 mime display code.
9577 (mh-show-mode): Use mh-show-addr and mh-show-xface. Only add
9578 mh-mime-cleanup to kill-buffer-hook if mime decoding is enabled.
9579 (mh-modify): Use mh-letter-mode instead of mh-show-mode when
9580 editing messages.
9581
9582 * mh-mime.el (mh-mm-inline-message): Arrange for xface and
9583 highlighting to work in forwarded messages.
9584
9585 2002-06-23 Peter S Galbraith <psg@debian.org>
9586
9587 * mh-comp.el (mh-yank-from-start-of-msg): Add 'attribution' option
9588 to add an attribution line in mh-yank-cur-msg.
9589 (mh-extract-from-attribution-verb): Verb to use for attribution
9590 when a message is yanked by mh-yank-cur-msg. Provides a method
9591 for setting a different language.
9592 (mh-yank-cur-msg): Add support for 'attribution' option.
9593 (mh-extract-from-attribution): Function to get the attribution
9594 line, or the sender from the From: line in the current show buffer.
9595
9596 2002-06-20 Satyaki Das <satyaki@theforce.stanford.edu>
9597
9598 * mh-index.el (mh-index-show): mh-display-msg was not being called
9599 in the show buffer. This causes weird results on some mime messages.
9600
9601 * mh-mime.el (gnus-newsgroup-charset): Defvar to avoid error in
9602 pgp messages if gnus hasn't been used yet.
9603
9604 * mh-comp.el (mh-letter-mode-map): Typo fix.
9605
9606 2002-06-19 Satyaki Das <satyaki@theforce.stanford.edu>
9607
9608 * mh-mime.el (mh-mml-secure-message-encrypt-pgpmime): Typo fix.
9609 (compiler-warnings): Add autoloads to remove compiler warnings.
9610
9611 * mh-index.el (autoload-fixes): Fix autoload forms.
9612
9613 2002-06-18 Satyaki Das <satyaki@theforce.stanford.edu>
9614
9615 * mh-comp.el (mh-letter-mode-map): Change binding of "\C-c\C-ma"
9616 to mh-compose-insertion. Remove duplicate binding for "C-c\C-mf".
9617 (compiler-warnings): Add defvar to remove compiler-warning.
9618
9619 2002-06-18 Peter S Galbraith <psg@debian.org>
9620
9621 * mh-comp.el (mh-letter-menu): Conditionalize GPG function on
9622 mh-gnus-pgp-support-p.
9623
9624 * mh-mime.el (mh-mml-forward-message): s/subseq/substring/.
9625 (mh-compose-forward): cut&paste typo: s/messages/message/.
9626 (mml-minibuffer-read-file): autoload added.
9627 (mml-minibuffer-read-description): autoload added.
9628 (mml-insert-empty-tag): autoload added.
9629 (mh-mml-secure-message-sign-pgpmime): Check mh-gnus-pgp-support-p.
9630 (mh-mml-secure-message-encrypt-pgpmime): Check mh-gnus-pgp-support-p.
9631
9632 2002-06-17 Peter S Galbraith <psg@debian.org>
9633
9634 * mh-utils.el (mh-show-use-xface): Check for availability of
9635 `uncompface' executable on system.
9636
9637 * mh-mime.el (mh-compose-forward): New front end for both
9638 mh-mml-forward-message and mh-mhn-compose-forw.
9639 (mh-compose-insertion): New front end for both mh-mml-attach-file
9640 and mh-mhn-compose-insertion.
9641 (mh-mml-to-mime): New function. Compose mime message from mml
9642 directives.
9643 (mh-mml-forward-message): New function. Forward a message as
9644 attachment.
9645 (mh-mml-attach-file): New function. Attach a file to the outgoing
9646 MIME message.
9647 (mh-mml-compose-insert-p): New variable. Buffer-local variable to
9648 know whether MIME insertion was done. Triggers an automatic call
9649 to `mh-mml-to-mime' in `mh-send-letter'.
9650 (mh-mml-secure-message-sign-pgpmime): New function.
9651 Front end to mml-secure-message-sign-pgpmime.
9652 (mh-mml-secure-message-encrypt-pgpmime): New function.
9653 Front end to mml-secure-message-encrypt-pgpmime.
9654
9655 * mh-comp.el (mh-send-letter): automatic call to `mh-mml-to-mime'
9656 if mh-mml-compose-insert-p is set.
9657 (mh-letter-mode-map): Add keys for new mh-mime functions above.
9658 * mh-comp.el: Added autoloads for new mh-mime functions above.
9659
9660 2002-06-17 Peter S Galbraith <psg@debian.org>
9661
9662 * mh-utils.el (mh-show-use-xface): new defcustom to determine
9663 whether to call external package x-face to display the x-face.
9664 (mh-invisible-headers-show-xface): variable now defaults to value
9665 of mh-show-use-xface.
9666 (mh-show-mode): When mh-show-use-xface is t, invoke
9667 external package x-face to display the x-face.
9668
9669 2002-06-15 Satyaki Das <satyaki@theforce.stanford.edu>
9670
9671 * mh-e.el (mh-prev-button): New interactive function which moves
9672 point to the previous mime button in the show buffer.
9673 (mh-folder-mode-map): Bind M-TAB and K M-TAB to mh-prev-button.
9674
9675 * mh-utils.el (mh-show-mode-map): Bind M-TAB and K M-TAB to call
9676 mh-letter-prev-button (which is analogous to mh-prev-button).
9677 (mh-gnus-pgp-support-p): New global variable to replace the
9678 variable mh-recent-gnus-p. The name better describes what it is
9679 used for.
9680
9681 * mh-mime.el (mh-mime-display-part, mh-mime-display-single): Use
9682 mh-gnus-pgp-support-p instead of mh-recent-gnus-p.
9683
9684 2002-06-12 Satyaki Das <satyaki@theforce.stanford.edu>
9685
9686 * mh-mime.el (mh-display-buttons-for-inline-parts): New
9687 customizable variable. When non-nil inline parts have are
9688 displayed with a button (that is initially expanded).
9689 (mh-maybe-insert-newline): The function has been removed.
9690 (mh-mime-display-single): Add code to display buttons for inline
9691 parts. Reduce the insertion of extra newlines between inline parts
9692 and also for pgp signature parts.
9693 (mh-mm-display-part): The function has been rewritten and cleaned
9694 up. There was a bug which could change the show buffer if the user
9695 pressed C-g while a mime part was being displayed has been fixed.
9696 (mh-press-button, mh-push-button): Use unwind-protect to make sure
9697 that set-buffer-modified-p is always called after mime display.
9698 (mh-mime-inline-part): The behavior of the function has been
9699 changed so that it toggles the display of the raw bytes.
9700 (mh-mime-display-security): Remove the display of too many
9701 newlines.
9702 (documentation): Remove most check-doc warnings.
9703
9704 * mh-comp.el (mh-filter-out-non-text): Updated since whitespace
9705 added around mime buttons have changed.
9706
9707 2002-06-10 Satyaki Das <satyaki@theforce.stanford.edu>
9708
9709 * mh-index.el (mh-index-last-search, mh-index-search): The default
9710 prompt in mh-index-search has been removed since currently there
9711 is no good way of reading "+" with mh-prompt-for-folder.
9712 (mh-index-folder-mode, mh-index-show-mode): New major modes
9713 derived from mh-folder-mode and mh-show-mode respectively. They
9714 use a restricted keymap compared to the parent modes.
9715 (mh-index-folder-face): New customizable face to display folder
9716 names in the index buffer.
9717 (documentation): Change two spaces after period back to one.
9718
9719 2002-06-08 Satyaki Das <satyaki@theforce.stanford.edu>
9720
9721 * mh-e.el (mh-folder-toggle-mime-part): New interactive function
9722 to control mime display from folder buffer.
9723 (mh-folder-inline-mime-part): New interactive function to inline
9724 raw mime part from folder buffer.
9725 (mh-folder-save-mime-part): New interactive function to save mime
9726 part from folder buffer.
9727 (mh-folder-mode-map): Add keybindings for "K v", "K o", "K i" and
9728 "K \t" to mh-folder-mode-map.
9729 (mh-goto-next-button): Modified to allow searching for next button
9730 that satisfies some condition.
9731 (mh-folder-mime-action): Support function for
9732 mh-folder-save-mime-part, mh-folder-inline-mime-part and
9733 mh-folder-toggle-mime-part.
9734
9735 * mh-utils.el (mh-show-mode-map): Modify keymap to add appropriate
9736 bindings for "K v", "K o", "K i" and "K \t".
9737
9738 * mh-index.el (documentation): Fix docs according to checkdoc
9739 format.
9740
9741 2002-06-07 Satyaki Das <satyaki@theforce.stanford.edu>
9742
9743 * mh-seq.el, mh-funcs.el (Compiler): Remove (require 'view) and
9744 instead add defvar for view-exit-action.
9745
9746 2002-06-06 Satyaki Das <satyaki@theforce.stanford.edu>
9747
9748 * mh-comp.el (mh-insert-x-face): If transient-mark-mode is enabled
9749 the call to mark returns error. So avoid using mark.
9750
9751 * mh-index.el: Support for new interactive function
9752 mh-index-search.
9753
9754 * mh-e.el (mh-next-button, mh-goto-next-button): Refactor
9755 mh-next-button so that the code may be reused by mh-index.el.
9756 (mh-folder-map): Add key "F i" to call mh-index-search.
9757
9758 * mh-utils.el (mh-recent-gnus-p): Fix documentation.
9759 (mh-msg-folder, mh-display-msg): The new function mh-msg-folder
9760 maps a MH folder name to the buffer displaying it. In normal
9761 operation the two names are identical but they are different in a
9762 folder buffer generated by index search. Minor modification to
9763 mh-display-msg to use mh-msg-folder to enable mh-index-search to
9764 reuse code.
9765 (mh-show-mode-map): Add key "F i" to call mh-index-search.
9766
9767 * Makefile: Add mh-index.el
9768
9769 2002-06-05 Peter S Galbraith <psg@debian.org>
9770
9771 * mh-e.el (mh-folder-message-menu): Add an entry for mh-modify.
9772
9773 2002-05-31 Satyaki Das <satyaki@theforce.stanford.edu>
9774
9775 * mh-utils.el (mh-decode-quoted-printable): Only decode if the
9776 whole message is encoded. So restrict the search for the
9777 content-transfer-encoding header to the headers of the message
9778 itself.
9779
9780 * mh-mime.el (mh-mime-display-alternative): Make sure that point
9781 is moved after mm-display-part is called.
9782
9783 2002-05-29 Satyaki Das <satyaki@theforce.stanford.edu>
9784
9785 * mh-mime.el (mh-mime-display-single): Fix the logic that
9786 determines when an attachment is buttonized. For inline parts that
9787 can't be displayed a button is now created.
9788
9789 2002-05-29 Satyaki Das <satyaki@theforce.stanford.edu>
9790
9791 * mh-e.el (mh-regenerate-headers): Fix an error in which the
9792 mh-mode-line-annotation was not being set properly.
9793
9794 * mh-mime.el, mh-utils.el (compilation): Macros mh-require and
9795 mh-autoload are used to make sure that emacs20 doesn't croak when
9796 it tries to load non-existent mm-* files.
9797 (mh-decode-mime): Make it default to nil for Emacs major version
9798 below 21.
9799
9800 2002-05-28 Satyaki Das <satyaki@theforce.stanford.edu>
9801
9802 * mh-e.el (mh-regenerate-headers): Generalize the function to
9803 handle multiple ranges.
9804
9805 2002-05-25 Satyaki Das <satyaki@theforce.stanford.edu>
9806
9807 * compilation: Reduce use of eval-when-compile so that load-path
9808 is not changed if lisp files are loaded without compilation. Small
9809 changes were made to Makefile, mh-comp.el mh-e.el, mh-funcs.el,
9810 mh-seq.el, mh-utils.el
9811
9812 * mh-e.el (mh-next-button, mh-folder-mode-map): New interactive
9813 function to advance point to next MIME button. It is bound to TAB.
9814
9815 * mh-utils.el (mh-letter-next-button, mh-show-mode-map): New
9816 interactive function mh-letter-next-button has been added to
9817 advance point to the next MIME button. It is bound to TAB.
9818
9819 * mh-mime.el (comments): Added some comments.
9820
9821 2002-05-24 Satyaki Das <satyaki@theforce.stanford.edu>
9822
9823 * mh-mime.el (compilation): Replace (eval-when-compile ...) by
9824 (eval-when (compile) ...) to remove a bug when mh-e is loaded
9825 without compilation.
9826
9827 2002-05-23 Satyaki Das <satyaki@theforce.stanford.edu>
9828
9829 * mh-comp.el (compilation): Some code was rearranged to avoid
9830 compiler warnings.
9831
9832 * mh-e.el (compilation): Code rearrangement and extra autoloads to
9833 remove compiler warnings
9834 (mh-quit): Add call to mh-destroy-postponed-handles to remove
9835 handles that are associated with external viewers. Also fixed a
9836 bug that I accidentally introduced by adding an extra line when
9837 cut and pasting my changes.
9838
9839 * mh-func.el (compilation): Code rearrangement to remove compiler
9840 warnings.
9841
9842 * mh-mime.el (compilation): Code rearrangement to remove compiler
9843 warnings.
9844 (mh-defun-compat): New macro to define to useful functions that
9845 aren't present present in old Gnus.
9846 (mh-destroy-postponed-handles): New function to cleanup handles
9847 that are associated with external viewers.
9848 (mh-handle-set-external-undisplayer): New function to replace
9849 mm-handle-set-external-undisplayer. It associates handles for
9850 external viewers with the folder buffer. These are released when
9851 the user quits the folder.
9852 (mh-mime-display, mh-press-button, mh-push-button): Hook in
9853 mh-handle-set-external-undisplayer.
9854 (mh-maybe-insert-newline): New function to avoid inserting too
9855 many newlines between mime parts.
9856 (mh-mm-display-part): Workaround for Gnus bug which causes new
9857 lines to be inserted when images are shown inline.
9858 (mh-mime-display-security): Cut down on newlines inserted.
9859
9860 * mh-pick.el (compilation): Code rearrangement to remove compiler
9861 warnings.
9862
9863 * mh-seq.el (compilation): Code rearrangement to remove compiler
9864 warnings.
9865 (comments): Remove @SD from comments.
9866
9867 * mh-utils.el (compilation): Slight code rearrangement.
9868 (mh-defun-show-buffer): Fix documentation so that the first line
9869 is not too long as was the case earlier. Use
9870 mh-previous-window-config to remember where the cursor should
9871 return functions like mh-reply.
9872 (mh-display-msg): Initialize handles data-structure for the folder
9873 buffer so that postponed handles can be added to it.
9874 (mh-add-msgs-to-seq): Always keep messages in the sequences
9875 sorted. This removes some unexpected behavior when working with
9876 sequences that go out of sync with the corresponding MH sequences.
9877 (mh-canonicalize-sequence): New function to sort and remove
9878 duplicates from mh-e sequence.
9879
9880 2002-05-21 Satyaki Das <satyaki@theforce.stanford.edu>
9881
9882 * mh-utils.el (require): Load mm-decode.el here so that
9883 mm-inline-media-tests is properly initialized.
9884
9885 * mh-comp.el (mh-yank-cur-msg): Don't try to remove the displayed
9886 mime parts when yanking the message. This also fixes the problem
9887 of regions not being respected during the yank.
9888
9889 2002-05-20 Satyaki Das <satyaki@theforce.stanford.edu>
9890
9891 * mh-utils.el (compiler-warnings): Some code was rearranged to
9892 remove all compiler warnings.
9893 (mh-decode-mime): New defcustom to control whether
9894 mime attachments are shown using Gnus.
9895 (mh-globals-hash): New global variable which maps a given buffer
9896 to the corresponding mime data structures.
9897 (mh-recent-gnus-p): New global variable which checks if Gnus is
9898 recent enough so that PGP/GPG encrypted messages can be handled.
9899 (mh-mm-inline-media-tests): Tests to determine whether a mime part
9900 can be shown inline.
9901 (mh-gnus-article-highlight-citation): Shadow the Gnus function,
9902 gnus-article-add-button before gnus-article-highlight-citation is
9903 called. This prevents the insertion of useless buttons in the
9904 message.
9905 (mh-show-mode): Don't set font-lock-support-mode to nil. Modify
9906 kill-buffer-hook to call mh-mime-cleanup.
9907 (mh-modify): Only the edit buffer is shown.
9908 (mh-display-msg): Add call to mh-mime-display, mh-display-smileys,
9909 mh-display-emphasis when mh-decode-mime is non-nil.
9910
9911 * mh-mime.el (mh-buffer-data): New structure to keep track of
9912 per-buffer mime information.
9913 (compiler-warnings): Some code was rearranged to get rid of all
9914 compiler warnings.
9915 (mh-graphical-smileys-p): New defcustom which controls whether
9916 graphical smileys are shown.
9917 (mh-graphical-emphasis-p): New defcustom for graphical emphasis.
9918 (mh-max-inline-image-width, mh-max-inline-image-height): New
9919 defcustoms for inlining image.
9920 (gnus-local-map-property, mm-merge-handles): Copy utility
9921 functions for use with version of Gnus that ships with Emacs21.1.
9922 (mh-mime-cleanup): New function to free mime data-structures.
9923 (mh-add-missing-mime-version-header): New function to add missing
9924 Mime-Version header if a Content-Type header exists.
9925 (mh-display-smileys): New function to show graphical smileys.
9926 (mh-display-emphasis): New function to show graphical emphasis.
9927 (new-globals): New variables mh-mime-button-* and
9928 mh-mime-security-* were added to control mime buttons.
9929 (mh-mime-display): New function to display mime messages. The
9930 functions mh-mime-display-part, mh-mime-display-alternative,
9931 mh-mime-display-mixed, mh-mime-part-index, mh-small-image-p,
9932 mh-mime-display-single, mh-insert-mime-button, mh-mm-display-part,
9933 mh-press-button, mh-push-button, mh-mime-save-part,
9934 mh-mime-inline-part, mh-widget-press-button, mh-mm-inline-message,
9935 mh-mime-display-security, mh-mime-security-show-details,
9936 mh-mime-security-press-button and mh-insert-mime-security-button
9937 were added to support mh-mime-display.
9938
9939 * mh-e.el (mh-header-display): Bind mh-decode-mime to nil when
9940 mh-show-msg is called, so that mime isn't decoded when headers are
9941 displayed.
9942 (mh-quit): The show buffer is killed instead of invalidating and
9943 burying it.
9944
9945 * mh-comp.el (mh-yank-cur-msg): Filter out the mime buttons from
9946 the yanked message.
9947 (mh-filter-out-non-text): New function to filter out attachments
9948 from message being yanked.
9949
9950 2002-05-20 Bill Wohler <Bill.Wohler@openwave.com>
9951
9952 * mh-utils.el (mh-invisible-headers-show-xface): First sentence of
9953 docstring was not entirely on first line so was truncated in
9954 customize and help buffers. Reworded so first sentence could fit
9955 within 80 columns per checkdoc recommendation.
9956 (mh-defun-show-buffer): Reworded per checkdoc recommendations.
9957 Removed @SD while I was in there.
9958
9959 2002-05-18 Satyaki Das <satyaki@theforce.stanford.edu>
9960
9961 * mh-seq.el (mh-narrow-to-seq): This function now removes the
9962 current message notation in the folder. Otherwise, two current
9963 message notations may be present after mh-widen is called. Also
9964 mh-copy-seq-to-eob is called instead of mh-copy-seq-to-point since
9965 the latter has a bug.
9966 (mh-copy-seq-to-point): This function has a tricky problem. It
9967 calls mh-map-to-seq-msgs which uses mh-goto-msg. mh-goto-msg
9968 assumes that the folder is sorted (since it uses binary
9969 search). The assumption isn't true, so it may not copy all the
9970 messages. Since this function is not used any more it has been
9971 removed.
9972 (mh-copy-seq-to-eob): This function is a specialized (and
9973 hopefully correct) replacement for mh-copy-seq-to-point.
9974
9975 2002-05-17 Satyaki Das <satyaki@theforce.stanford.edu>
9976
9977 * mh-utils.el (mh-gnus-article-highlight-citation): Workaround for
9978 problem caused by low value of recursive-load-depth-limit in
9979 Emacs21.1 and CVS version of Gnus.
9980 (mh-show-mode-map): New keymap variable to facilitate use of
9981 summary commands from the show buffer.
9982 (mh-show-folder-buffer): New local variable which keeps track of
9983 the folder-buffer corresponding to the message being shown.
9984 (mh-defun-show-buffer): New macro to convert interactive functions
9985 callable in the summary buffer to interactive functions callable
9986 in the show buffer.
9987 (mh-show-mode): Make buffer read-only and use mh-show-mode-map as
9988 keymap (closes SF #527946).
9989 (mh-modify): New interactive function to edit a message in-place.
9990
9991 * mh-e.el (mh-goto-cur-msg): Add an optional argument,
9992 minimal-changes-p. If non-nil, the function will just change
9993 the point to current message and do not change folder display.
9994 (mh-folder-mode-map): Make "M" call mh-modify.
9995
9996 2002-05-07 Peter S Galbraith <psg@debian.org>
9997
9998 * mh-utils.el (mh-invisible-headers-show-xface): New defcustom
9999 variable. If non-nil, the X-Face header line will be excluded from
10000 the variable `mh-invisible-headers'. Set this when using a
10001 package such as x-face-el to display X-Face icons in mh-show-mode.
10002 This variable's setting will eventually be set automatically when
10003 mh-e does its own X-Face decoding (or this variable will be replaced
10004 by one telling mh-e to decode the X-Face). We may not ship the
10005 next release with this variable.
10006
10007 2002-05-07 Peter S Galbraith <psg@debian.org>
10008
10009 * mh-comp.el (mh-x-face-file): New defcustom variable. File name
10010 containing the encoded X-Face string to insert in outgoing mail.
10011 (mh-insert-x-face): New function. Appends an X-Face field to the
10012 header, but only if it doesn't already exist and if 'mh-x-face-file'
10013 is non-nil and points to an existing file.
10014 (mh-send-letter): Invoke mh-insert-x-face.
10015
10016 2002-04-29 Mike Kupfer <m.kupfer@acm.org>
10017
10018 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Check
10019 whether XEmacs region is actually active (needed at least for 21.1).
10020 [Patch committed by psg]
10021
10022 2002-04-29 Mike Kupfer <m.kupfer@acm.org>
10023
10024 * mh-utils.el (mh-prompt-for-folder): Remove "default" argument
10025 from completing-read as XEmacs-21.1 doesn't have it (21.4 does
10026 however) and using the argument adds no functionality.
10027 [Patch committed by psg]
10028
10029 2002-04-11 Peter S Galbraith <psg@debian.org>
10030
10031 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Add support for
10032 XEmacs to act on selected region when active.
10033
10034 2002-04-10 Peter S Galbraith <psg@debian.org>
10035
10036 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): XEmacs fix; Add
10037 check to see if mark-active is bound, because Mandrake Linux include
10038 XEmacs initialization code that binds transient-mark-mode. This
10039 fix gets around a problem in Mandrake only. It wasn't a problem
10040 on XEmacs generally. Fixes SF #541915.
10041
10042 2002-04-08 Bill Wohler <wohler@newt.com>
10043
10044 Released mh-e version 6.1.
10045
10046 * mh-e.el (mh-folder-unseen-seq-name): Use "mhparam -component
10047 Unseen-Sequence" command and "Unseen-Sequence: \\(.*\\)$" regexp
10048 to increase robustness.
10049 (mh-folder-unseen-seq-list): Use `expand-file-name' as
10050 `mh-expand-file-name' isn't needed and the former saves function
10051 call.
10052 (Version, mh-version): Updated for release 6.1.
10053
10054 2002-04-08 Peter S Galbraith <psg@debian.org>
10055
10056 * mh-e.el (mh-folder-unseen-seq-list): Specify mh-progs path in
10057 call to mark command. Fixes a bug in which unseen messages
10058 weren't highlighted if "mark" wasn't in the path.
10059
10060 2002-04-07 Bill Wohler <wohler@newt.com>
10061
10062 * MH-E-NEWS: Updated for release 6.1.
10063
10064 * README: Updated for release 6.1. Updated verbiage about reading
10065 MH-E-NEWS.
10066
10067 * mh-comp.el, mh-e.el, mh-funcs.el, mh-mime.el, mh-seq.el,
10068 mh-utils.el, mh-xemacs-compat.el: Updated copyright in files
10069 modified this year.
10070
10071 * mh-xemacs-compat.el: Put Author field back in, but set to FSF.
10072
10073 * mh-comp.el, mh-funcs.el, mh-mime.el, mh-seq.el,
10074 mh-utils.el: Fixed all checkdoc errors, except for no
10075 documentation, and documentation in comments. Also removed the-
10076 prefix from certain local variables.
10077
10078 * mh-e.el: Fixed all checkdoc errors, except for no documentation,
10079 and documentation in comments. Also removed the- prefix from
10080 certain local variables.
10081 (mh-folder-unseen-seq-name): Refactored to make default sequence
10082 name more explicit and to handle undefined Unseen-Sequence MH
10083 profile entry better.
10084
10085 2002-04-02 Peter S Galbraith <psg@debian.org>
10086
10087 * mh-e.el: 'defvar mh-folder-unseen-seq-name' called a function to
10088 set it's value, and this happens also on byte-compilation (where
10089 it can fail if the user's MH environment is not setup correctly).
10090 I now set the value of mh-folder-unseen-seq-name at runtime when I
10091 first need it. This should fix Debian bugs
10092 http://bugs.debian.org/140232 and http://bugs.debian.org/140817
10093
10094 2002-03-25 Peter S Galbraith <psg@debian.org>
10095
10096 * mh-utils.el: remove "(require 'mh-e)" since mh-utils.el should
10097 be at the bottom of the dependency tree.
10098 * mh-e.el (mh-folder-unseen-seq-name): Make sure mh-progs is set
10099 and use it as path to mhparam command in call-process.
10100
10101 2002-01-23 Peter S Galbraith <psg@debian.org>
10102
10103 * mh-e.el (mh-folder-font-lock-keywords): Add call to
10104 mh-folder-font-lock-unseen to fontify unseen messages in bold.
10105 (mh-folder-unseen-seq-name): Provide name of unseen sequence from
10106 mhparam. Used as default for variable of same name.
10107 (mh-folder-unseen-seq-list): Returns a list of unseen messages
10108 numbers for current folder.
10109 (mh-folder-unseen-seq-cache): Cache variable to hold list of
10110 unseen message numbers while font-lock iterates. This variable is
10111 buffer-local.
10112 (mh-folder-font-lock-unseen): Returns unseen message lines to
10113 font-lock one by one.
10114
10115 2002-01-15 Peter S Galbraith <psg@debian.org>
10116
10117 * mh-comp.el (mh-insert-prefix-string): Wrap a
10118 "(let ((zmacs-regions nil))" around (mark) so it works in XEmacs.
10119 Bug reported and fix suggested by Will Partain <partain@dcs.gla.ac.uk>
10120 Indeed, this is how it appears in XEmacs-21's mh-comp.el.
10121
10122 2001-12-16 Jeffrey C Honig <jch@honig.net>
10123
10124 * mh-comp.el (mh-forward): Move the assignment to `fwd-msg-file'
10125 to before the assignment to `draft' as the later changes buffers
10126 and invalidates `mh-seq-list' (which is used in a function called
10127 by (mh-seq-to-msgs)). Resolves SF #489448.
10128
10129 * mh-utils.el: Add defcustoms for `mh-temp-folders-buffer' and
10130 `mh-temp-sequences-buffer'.
10131
10132 * mh-e.el (mh-quit): If they exist, kill 'mh-temp-buffer,
10133 'mh-temp-folders-buffer and 'mh-temp-sequences-buffer when
10134 quitting.
10135
10136 * mh-funcs.el (mh-list-folders): Use `mh-temp-folders-buffer'
10137 (a defcustom initialized to "*Folders*") for folder listing. Put
10138 into view mode and set it up to kill the buffer when exiting view
10139 mode.
10140
10141 * mh-seq.el (mh-list-sequences): Use `mh-temp-sequences-buffer'
10142 (a defcustom initialized to "*Sequences") for sequences listing.
10143 Put into view mode and set it up to kill the buffer when exiting
10144 view mode.
10145
10146 2001-12-16 Bill Wohler <wohler@newt.com>
10147
10148 Released mh-e version 6.0.
10149
10150 * MH-E-NEWS: Be a little more specific about incompatible changes.
10151 Added info about outdated manual.
10152 Removed variables in mh-scan regexp table that did not exist in
10153 5.0.2.
10154 Added helpful documentation about finding relevant variables
10155 containing regexps to mh-scan-format-file's description.
10156
10157 * mh-e.el (mh-scan-format-file): Added information about getting a
10158 list of regexp variables that you'll need to change if you
10159 customize your scan's output.
10160 (mh-folder-mode): Added documentation about `mh-scan-format-file'
10161 for those users who modify their scan formats.
10162
10163 * README: New file. Describes packages and provides simple
10164 installation instructions.
10165
10166 * Makefile (clean, dist, install-emacs): Replaced $(RM) with rm
10167 -rf (closes SF #488661).
10168
10169 2001-12-14 Bill Wohler <wohler@newt.com>
10170
10171 Released mh-e version 5.0.93.
10172
10173 * Makefile (MH-E-SRC): Added mh-xemacs-compat.el.
10174 (MH-E-IMG): Added .pbm images for all. Removed mail_ prefix from
10175 all.
10176 (MH-E-IMG2): New variable to hold images in mail sub-directory.
10177 (dist): Updated target to make mail sub-directory and copy
10178 MH-E-IMG2 images there.
10179
10180 * mh-xemacs-compat.el: Modified docs per GNU coding conventions.
10181
10182 * mh-e.el: Reorganized variables having to do with the scan line.
10183 Moved some random variables that were interspersed out of the
10184 middle. Moved `mh-scan-format-file' first and let the variables
10185 flow from there.
10186
10187 As the number of variables increases, it is becoming important to
10188 organize the mh-e namespace. Several variables having to do with
10189 the format of scan lines were renamed, as follows:
10190 (mh-good-msg-regexp): Renamed to mh-scan-good-msg-regexp.
10191 (mh-deleted-msg-regexp): Renamed to mh-scan-deleted-msg-regexp.
10192 (mh-refiled-msg-regexp): Renamed to mh-scan-refiled-msg-regexp.
10193 (mh-valid-scan-line): Renamed to mh-scan-valid-regexp.
10194 (mh-cur-msg-number-regexp): Renamed to mh-scan-cur-msg-number-regexp.
10195 (mh-cur-msg-line-regexp): Renamed to mh-scan-cur-msg-regexp.
10196 (mh-scan-rcpt-addr-regexp): Renamed to mh-scan-rcpt-regexp.
10197 (mh-scan.font-lock-regexp): Renamed to mh-scan-format-regexp.
10198 (mh-folder-scan-font-lock-face): Renamed to
10199 mh-folder-scan-format-face.
10200 (mh-folder-cur-msg-line-face): Renamed to mh-folder-cur-msg-face).
10201
10202 2001-12-13 Bill Wohler <wohler@newt.com>
10203
10204 * mh-utils.el (mh-msg-number-regexp): Renamed to
10205 mh-scan-msg-number-regexp.
10206 (mh-msg-search-regexp): Renamed to mh-scan-msg-search-regexp.
10207
10208 * Corrected typos, quoted variables in doc strings, and made minor
10209 wording changes in docs.
10210
10211 2001-12-13 Peter S Galbraith <psg@debian.org>
10212
10213 * mh-xemacs-compat.el: defalias 'match-string-no-properties to
10214 'match-string for XEmacs. I've seen a better function for this
10215 that actually removes text properties, but this will do for now.
10216
10217 * mh-utils.el (mh-decode-quoted-printable): deactivate-mark not
10218 bound in XEmacs.
10219
10220 * mh-xemacs-compat.el: GNU Emacs Functions needed by XEmacs.
10221 New file.
10222 * mh-e.el: (require 'mh-xemacs-compat) when running XEmacs.
10223
10224 2001-12-12 Peter S Galbraith <psg@debian.org>
10225
10226 * mh-comp.el (mh-send-letter): function local-variable-p needs two
10227 arguments in XEmacs.
10228 (mh-send-letter): sendmail-coding-system not bound in XEmacs.
10229 (mh-send-letter): default-buffer-file-coding-system not bound in
10230 Xemacs.
10231
10232 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo):
10233 transient-mark-mode not bound in XEmacs. The feature of
10234 operations made on all messages in the selected range when
10235 transient-mark-mode is on doesn't work in XEmacs.
10236
10237 * mh-e.el, mh-utils: Conditionalize calls to
10238 'add-to-list 'facemenu-unlisted-faces for XEmacs.
10239
10240 2001-12-11 Jeffrey C Honig <jch@honig.net>
10241
10242 * mh-e.el (mh-scan-format): Add `mh-scan-format-file' variable to
10243 specify the scan format string or file to use. Define formats for
10244 MH and nmh that are compatible with the standard format, but
10245 provide hints for font-lock. Define (mh-scan-format) for use by
10246 (mh-regenerate-headers) and (mh-get-new-mail) to specify the args
10247 necessary to inform the scan program which scan format string or
10248 file to use.
10249
10250 2001-12-07 Peter S Galbraith <psg@debian.org>
10251
10252 * mh-e.el (scan.font-lock): New format file documented in comments.
10253 (mh-scan.font-lock-regexp): Adapted to new format.
10254 (mh-folder-font-lock-keywords): Use new format.
10255
10256 * mh-e.el (page-down.xpm): Icon renamed from nextpage.
10257
10258 * mh-utils.el (mh-decode-quoted-printable): Bug fix. Better check
10259 on what actually is a quoted-printable attachment.
10260
10261 2001-12-06 Eric Ding <ericding@alum.mit.edu>
10262
10263 * mh-mime.el (mh-mhn-compose-insertion, mh-mhn-compose-anon-ftp):
10264 require mailcap.el here rather than using autoload at top of
10265 mh-mime.
10266 (mh-file-mime-type): get rid of unused variables (why were they
10267 there to begin with?)
10268
10269 2001-12-06 Peter S Galbraith <psg@debian.org>
10270
10271 * mh-e.el (mh-cur-msg-number-regexp, mh-cur-msg-line-regexp):
10272 mh-cur-scan-msg-regexp splits into these two variables.
10273 The whole-line fontification is disabled, but easily restored by a
10274 user (although it could be a defcustom with choices DISABLED or
10275 the correct regexp?)
10276 (mh-folder-cur-msg-line-face): mh-folder-current-msg-face renamed
10277 to this.
10278 (mh-folder-cur-msg-number-face): mh-folder-current-face renamed to
10279 this.
10280
10281 * cabinet.xpm: Revert to rescan icon name.
10282 * mh-e.el (mh-folder-tool-bar-map): s/cabinet/rescan/
10283
10284 * mh-e.el (mh-folder-font-lock-keywords): Reorder and tweak such
10285 that current message line highlight doesn't mess up other highlights.
10286
10287 2001-12-05 Eric Ding <ericding@alum.mit.edu>
10288
10289 * mh-utils.el (mh-show-from-face): Change mh-show-from-face to
10290 cyan on dark backgrounds; through a series of changes, it had
10291 become the same color as mh-show-subject-face!
10292
10293 2001-12-05 Bill Wohler <Bill.Wohler@openwave.com>
10294
10295 * mh-e.el, mh-utils.el: Fixed typos in face definitions, and made
10296 a couple of small doc string tweaks while I was in there. Peter,
10297 if you don't agree, let me know and I'll back them out. I thought
10298 the "mh-e" in the text was redundant since the variables start
10299 with "mh"; I was also thinking ahead to how the documentation may
10300 read.
10301
10302 2001-12-05 Peter S Galbraith <psg@debian.org>
10303
10304 * mh-e.el (mh-cur-scan-msg-regexp): Match 0 is the whole line.
10305 (mh-folder-current-msg-face): New face with only a background
10306 settings, used in font-lock for the current message.
10307 (mh-folder-font-lock-keywords): Use mh-folder-current-msg-face for
10308 mh-cur-scan-msg-regexp.
10309
10310 * mh-utils.el (mh-show-from-face): Use red3 instead of red for
10311 light backgrounds. It's not as bright on the eyes.
10312 (mh-show-subject-face): copy from mh-folder-subject-face instead.
10313 Makes the look consistent with folder-mode.
10314
10315 * mh-e.el (mh-folder-subject-face): Moved to mh-utils since we
10316 need it to copy to mh-show-subject-face.
10317
10318 2001-12-05 Bill Wohler <wohler@newt.com>
10319
10320 * mh-e.el (mh-folder-mode-map): Moved `mh-extract-rejected-mail'
10321 from "a" to "E". Better mnemonic, nicer to folks used to using a
10322 for `mh-reply'.
10323
10324 2001-12-04 Bill Wohler <wohler@newt.com>
10325
10326 * mh-e.el (mh-folder-map): Added "S" for `mh-sort-folder'.
10327
10328 2001-12-04 Peter S Galbraith <psg@debian.org>
10329
10330 * mh-e.el (mh-folder-subject-face et al.): Yet another attempt at
10331 colours for folder-mode. Still themed, but fewer and darker
10332 colours (Blame Eric this time!). I'll get to underlining tomorrow
10333 night.
10334
10335 * mh-e.el (mh-folder-tool-bar-map): Renamed all icons so they
10336 don't have the word mail in them. Also generated a pbm format of
10337 each icon for users without XPM support conpiled into Emacs.
10338
10339 2001-12-04 Eric Ding <ericding@alum.mit.edu>
10340
10341 * mh-utils.el (mh-show-font-lock-keywords): Use
10342 mh-header-subject-font-lock instead of regexp for subject headers,
10343 which may go multiple lines.
10344 (mh-header-subject-font-lock): New function.
10345 Fix typos (hightlight -> highlight).
10346
10347 2001-12-04 Eric Ding <ericding@alum.mit.edu>
10348
10349 * mh-e.el: changes to face colors on dark backgrounds.
10350 (mh-folder-followup-face): change to LightGoldenRod.
10351 (mh-folder-date-face): change to snow3.
10352 (mh-folder-msg-number-face): change to snow4.
10353
10354 2001-12-04 Bill Wohler <wohler@newt.com>
10355
10356 Released mh-e version 5.0.92.
10357
10358 * mh-utils.el (gnus-cite-face-list)
10359 (mh-gnus-article-highlight-citation): Don't autoload. Revert to
10360 requiring in `mh-gnus-article-highlight-citation' as before. With
10361 the autoloads, if you ran mh-e before gnus, you'd get an undefined
10362 gnus variable when viewing an article in gnus. Go figure.
10363
10364 2001-12-03 Bill Wohler <wohler@newt.com>
10365
10366 Released mh-e version 5.0.91.
10367
10368 * MH-E-NEWS: Removed info about bumping up `max-specpdl-size' now
10369 that workaround has been implemented.
10370
10371 * Makefile (MH-E-OBJ): New variable to hold .elc files.
10372 (all): Just compile.
10373 (clean): New target that blows away MH-E-OBJ.
10374 (dist): Added $(MH-E-OBJ) to tarball.
10375
10376
10377 Attempt to quiet compilation errors to a dull roar.
10378
10379 * mh-e.el: Require easymenu, added autoload of info.
10380 (mh-smail, mh-smail-other-window): Comment says these were needed
10381 by Emacs 18. Out!
10382
10383 * mh-utils.el: Don't require sendmail, but require mh-e.
10384 Moved autoloads to top of file, and autoload gnus-cite and
10385 sendmail too.
10386
10387 * mh-pick.el: Require easymenu. Remove cond on
10388 `easy-menu-define'--it exists.
10389
10390 * mh-mime.el: Autoload mailcap.
10391
10392 * mh-comp.el: Require mh-e and easymenu, moved autoloads to top of
10393 file.
10394
10395
10396 * Makefile: (EMACS): New constant to hold emacs calling sequence.
10397 (install): Renamed to install-emacs.
10398 (compile): New target to compile all files.
10399 (dist): Make dependent on compile.
10400 (import): Renamed to import-emacs.
10401 (%.elc): New implicit rule to compile elisp files.
10402
10403 * mh-e.el (mh-thread-map): Added "Td" for
10404 mh-delete-subject-thread.
10405
10406 2001-12-03 Peter S Galbraith <psg@debian.org>
10407
10408 * mh-e.el (mh-folder-tool-bar-map): Change tooltip for exec icon.
10409
10410 * mh-e.el (mh-folder-subject-face): Change to IndianRed1.
10411 (mh-folder-followup-face): Change to IndianRed.
10412 (mh-folder-deleted-face): Use sedate face instead of bright one.
10413
10414 2001-12-03 Bill Wohler <wohler@newt.com>
10415
10416 * mh-utils.el (mh-invisible-headers): Increase size of
10417 `max-specpdl-size' locally to work around insufficient default.
10418 (mh-invisible-headers): Added X-Info and X-VSMLoop (NTMail).
10419
10420 2001-12-03 Jeffrey C Honig <jch@honig.net>
10421
10422 * mh-utils.el (mh-find-progs): Searches should not stop if the
10423 strings are not found, there is error detection at the end of the
10424 routine (closes SF #488231).
10425
10426 2001-12-02 Bill Wohler <wohler@newt.com>
10427
10428 * MH-E-NEWS: Added info about bumping up `max-specpdl-size'.
10429
10430 * Makefile (MH-E-IMG): New variable that contains images used by
10431 mh-e. Add these files to release.
10432
10433 * MH-E-NEWS: Second draft of mh-e 6.0 (was 5.1) release notes.
10434
10435 * mh-e.el (mh-folder-updated-hook): Reworded to avoid ambiguity.
10436 Is the hook called when you type `d' or when you type `x'?
10437 (mh-unseen-updated-hook): Reworded to be consistent with
10438 `mh-folder-updated-hook.'
10439
10440 * mh-utils.el (mh-recenter): Accepted Gerd's change which is
10441 evaluated at compile time.
10442
10443 2001-12-02 Bill Wohler <wohler@newt.com>
10444
10445 * mh-e.el Major, major keymap changes. The specific changes are
10446 listed below, but view the sources, or use "C-h m" in MH Folder
10447 mode for the complete list.
10448
10449 Use of sub-keymaps inspired by gnus. The changes tripped me up at
10450 first too, but after about 5 minutes of shock (which is to be
10451 expected, I've been using the old keybindings for 16 years), I
10452 honestly found the new bindings to be nice indeed. It will also
10453 provide flexibility to allow for future functionality. I hate to
10454 do this on the eve of the beta release, but you asked for it! It's
10455 likely I'll have to pull an Eric and back this change out, but if
10456 we can live with pink subjects, this can't be so bad ;-).
10457 Question: will the users revolt? If they do, I suppose we can
10458 release 6.0.1 the next day ;-).
10459 (mh-folder-map, mh-sequence-map, mh-extract-map, mh-digest-map):
10460 New keymaps which start with F, S, X, and D, respectively. The
10461 mhstore commands can go in the mh-extract-map eventually.
10462 (mh-thread-map): Renamed from mh-folder-thread-map.
10463
10464 Keymap changes and rationale. The sub-keymaps allowed some
10465 consistency (e.g., esp. with l(ist) and k(ill).
10466
10467 e Deleted. Already have x. Now used by mh-edit-again.
10468 a Deleted. Already have r. Now used by mh-extract-rej..
10469 j Deleted. Already have g.
10470
10471 M-a -> e Better mnemonic. Matches rmail. Frees movement cmd.
10472 M-e -> a Try `a'gain!
10473
10474 M-f -> Fv Frees movement command
10475 M-f -> Ff Alias (keep?)
10476 M-f -> Fo Alias (keep?)
10477 M-k -> Fk No reason but to keep with folder commands
10478 M-l -> Fl No reason but to keep with folder commands
10479 M-p -> Fp No reason but to keep with folder commands
10480 M-r -> Fr Frees movement command
10481 M-s -> Fs No reason but to keep with folder commands
10482 M-u -> Fu No reason but to keep with folder commands
10483
10484 M-% -> Sd Better mnemonic
10485 M-# -> Sk Better mnemonic
10486 M-q -> Sl Better mnemonic
10487 C-xn -> Sn Frees up standard key binding
10488 % -> Sp Better mnemonic for putting a message in a sequence
10489 ? -> Ss Shows sequences that message is in
10490 C-xw -> Sw Frees up standard key binding
10491
10492 M-n -> Xs Better mnemonic (shar)
10493 M-n -> Xu Better mnemonic (uuencode)
10494
10495 M-SPC -> DSPC Frees mark command
10496 M-\177 -> D\177 No reason but to keep with digest commands
10497 M-b -> Db Frees movement command
10498
10499 2001-12-01 Bill Wohler <wohler@newt.com>
10500
10501 * mh-e.el: Use gnus style of keymaps. Now requires gnus-util.
10502 (mh-folder-thread-map): New map, created by gnus-define-keys.
10503 Reached when typing T in mh-folder-mode-map. Moved threading
10504 functions to this new keymap so we can use dired again.
10505 (mh-folder-mode-map): Defined by gnus-define-keys. Otherwise than
10506 the new threading functions, no changes to the UI were made at
10507 this point--saving that for the next check-in.
10508
10509 * mh-pick.el (mh-pick-mode-map): Use gnus-define-keys. Now
10510 requires gnus-util.
10511
10512 * mh-comp.el (mh-letter-mode-map): Use gnus-define-keys. Now
10513 requires gnus-util.
10514
10515 2001-12-01 Jeffrey C Honig <jch@honig.net>
10516
10517 * mh-e.el: Update the documentation for the regexps used by
10518 `mh-folder-font-lock-keywords' to specify how many parethesized
10519 expressions they are expected to have and what those expressions
10520 are expected to match.
10521
10522 2001-12-01 Bill Wohler <wohler@newt.com>
10523
10524 * mh-e.el (mh-folder-mode): Removed iteration of key bindings,
10525 \\{mh-folder-mode-map} suffices. Removed variable documentation
10526 also as this is already out of date and a maintenance hassle.
10527 Reference new mh customization group instead.
10528
10529 * mh-comp.el (mh-letter-mode): Ditto. Also added new information
10530 about MIME directives getting processed automatically if inserted
10531 via mh-e commands.
10532
10533 * mh-pick.el (mh-pick-mode): Edited documentation so it reads like
10534 the other modes.
10535
10536 * mh-e.el (mh-compat-quit): Deleted obsolete and unused function.
10537 Comment in this function said that `b' shouldn't be used for
10538 burst-digest, as it is used for `back' in info, less, and rn. But
10539 what does `back' mean in MH Folder? I suppose if you visit a
10540 folder, you would go `back' to the original folder. Hmmm, I guess
10541 we'll leave the `b' binding alone for now.
10542
10543 * mh-utils.el: Moved some of the variable comments to the first
10544 column so they wouldn't wrap in such an ugly fashion.
10545 (mh-showing-mode): Renamed variable and function from mh-showing
10546 to conform with minor mode conventions. Added optional arg to
10547 function so it would behave like a normal minor mode: no or nil
10548 arg toggles mode, 0 arg turns off, non-nil turns on. It also turns
10549 out that desktop-create-buffer would barf when recreating mh-e
10550 buffers because it was calling mh-show with an arg.
10551 (mh-show-mode): Use define-derived-mode to simplify definition a
10552 *lot*.
10553 (mh-set-mode-name): Deprecated by use of define-derived-mode.
10554 Removed.
10555
10556 * mh-pick.el (mh-pick-mode): Use define-derived-mode to simplify
10557 definition a *lot*.
10558
10559 * mh-e.el (mh-scan-prog): Removed message about "Buffer local" as
10560 this message will appear in a future version of Emacs.
10561 (mh-inc-folder): mh-showing renamed to mh-show-mode and made a
10562 real minor mode.
10563 (mh-folder-mode): Use define-derived-mode to simplify definition a
10564 *lot*.
10565
10566 * import-emacs (release): Change `(none)' to `mainline' so import
10567 doesn't choke after running `cvs up -A' on Emacs.
10568 (COPYING): Moved from $EMACS_HOME/etc to $EMACS_HOME.
10569 (cvs update): Whoops! Forgot the second join (-jemacs).
10570 make import works fine again.
10571
10572 2001-11-30 Peter S Galbraith <psg@debian.org>
10573
10574 * mh-e.el (mh-folder-font-lock-keywords): Change order of
10575 font-lock patterns such that subject body text doesn't get date
10576 fontification.
10577
10578 * mh-e.el (mh-scan-subject-regexp): Bug fix. Remove a dot.
10579 scan.font-lock users have to setq it separately.
10580
10581 2001-11-30 Eric Ding <ericding@alum.mit.edu>
10582
10583 * mh-utils.el (mh-clean-msg-header): Go back to using
10584 mh-delete-line. Using invisible text property is nicer in some
10585 ways, but winds up with somewhat mysterious behavior should user
10586 kill/yank stuff from the header (i.e., text gets yanked invisibly
10587 and won't be seen by user until file is reloaded).
10588
10589 2001-11-29 Bill Wohler <wohler@newt.com>
10590
10591 * mh-e.el (mh-page-msg): Use mh-next-direction to page in the
10592 right direction.
10593
10594 2001-11-29 Jeffrey C Honig <jch@honig.net>
10595
10596 * mh-e.el (mh-scan-folder): Fix logic to not attempt to go to
10597 the current message if there are no messages in the folder.
10598
10599 2001-11-29 Peter S Galbraith <psg@debian.org>
10600
10601 * mh-e.el (mh-folder-font-lock-subject): New fontifier function
10602 for subject lines in folder-mode
10603 (mh-scan-followup-regexp): Deleted obsolete regexp. Use
10604 mh-scan-subject-regexp instead.
10605 (mh-folder-font-lock-keywords): Use mh-folder-font-lock-subject
10606 instead of obsolete mh-scan-followup-regexp variable.
10607 (mh-folder-date-face, mh-folder-msg-number-face):
10608 (mh-folder-subject-face, mh-folder-followup-face):
10609 Now defined as proper faces instead of copied from font-lock
10610 faces.
10611
10612 * mh-mime.el (mh-media-type-regexp): New variable. Regexp matching
10613 valid media types used in MIME attachment compositions.
10614 (mh-file-mime-type): Use mh-media-type-regexp instead of
10615 hard-wiring its value.
10616
10617 * mh-utils.el (mh-show-unquote-From): New function to unquote
10618 "^>From" in mh-show-mode (not saved to disk).
10619 (mh-show-mode): Call mh-show-unquote-From.
10620
10621 2001-11-29 Eric Ding <ericding@alum.mit.edu>
10622
10623 * mh-utils.el (mh-clean-msg-header): Use mh-make-line-invisible
10624 rather than mh-delete-line.
10625 (mh-make-line-invisible): New function to make line(s) invisible
10626 rather than deleting line(s). Optional argument specifies number
10627 of lines to delete.
10628 (mh-show-msg): screen-height has been deprecated; use no more.
10629 (mh-notate): screen-width has been deprecated; use no more.
10630
10631 2001-11-29 Jeffrey C Honig <jch@honig.net>
10632
10633 * mh-utils.el: (mh-find-progs): Change mh-find-progs to rely on
10634 the existence of mhparam. The location of mhparam is used to find
10635 `mh-progs'. It uses the libdir and etcdir to find the
10636 `mh-lib-progs' and `mh-lib' directories. If etcdir doesn't return
10637 anything we assume `mh-lib-progs' is the same as `mh-lib' and that
10638 we are using MH instead of nmh.
10639
10640 2001-11-29 Peter S Galbraith <psg@debian.org>
10641
10642 * mh-e.el (mh-scan.font-lock-regexp): Change docs to reflect that
10643 second paren expression is the user match.
10644 (mh-folder-font-lock-keywords): Change from 1st to 2nd parenthesized
10645 expression to match user name, after Jeffrey's change to the regexps.
10646
10647 2001-11-29 Bill Wohler <Bill.Wohler@openwave.com>
10648
10649 * mh-utils.el (mh-clean-message-header): Default is now t.
10650 (mh-invisible-headers): Padded out to contain all the headers that
10651 the mh-e developers don't like to see (closes SF #415759).
10652
10653 2001-11-28 Bill Wohler <Bill.Wohler@openwave.com>
10654
10655 * mh-comp.el (mh-rejected-letter-start): Added MIME MDN. While
10656 this allows mh-extract-rejected-mail to strip the start of the
10657 MDN, there is still a closing MIME marker at the end. This should
10658 be cleaned up eventually.
10659
10660 2001-11-28 Peter S Galbraith <psg@debian.org>
10661
10662 * mh-e.el (mh-folder-seq-tool-bar-map): New tool-bar used for
10663 folder-mode when narrowed to sequence.
10664 * mh-seq.el (mh-narrow-to-seq): Set tool-bar to
10665 mh-folder-seq-tool-bar-map.
10666 (mh-widen): Set tool-bar to mh-folder-tool-bar-map.
10667 * widen.xpm: New icon used in mh-folder-seq-tool-bar-map.
10668
10669 * mh-mime.el (mh-file-mime-type): Much better check on validity of
10670 'file' output.
10671
10672 * mh-e.el (mh-scan-subject-regexp): New regexp variable for
10673 subject string in folder mode. Used to extract subject sequence,
10674 and will be used for font-lock soon.
10675 * mh-seq.el (mh-subject-thread-to-sequence): More robust code by
10676 using mh-scan-subject-regexp, allows users with non-standard
10677 scan format to use subject sequences.
10678
10679 * mh-comp.el (mh-letter-fill-column): Fill column to use in
10680 mh-letter-mode. (Yes, I'm doing this in spite of what Bill said;
10681 Someone can always undo it later)
10682 (mh-letter-mode): setq fill-column to mh-letter-fill-column.
10683
10684 2001-11-28 Bill Wohler <wohler@newt.com>
10685
10686 * mh-e.el (mh-page-msg): The first time the end of page is hit,
10687 set mh-page-to-next-msg-p to t. The second time the end of page is
10688 hit, go to the next message.
10689
10690 * mh-utils.el: (mh-show-msg): Initialize mh-page-to-next-msg-p to
10691 nil.
10692
10693 2001-11-27 Bill Wohler <wohler@newt.com>
10694
10695 * mh-mime.el (mh-mime-content-types): Updated list of types to
10696 contain types used by mh-e developers, but not including types not
10697 listed in
10698 http://www.isi.edu/in-notes/iana/assignments/media-types/media-types.
10699
10700 2001-11-27 Peter S Galbraith <psg@debian.org>
10701
10702 * mh-seq.el (mh-subject-thread-to-sequence) New function placing
10703 all messages with similar subject line into a sequence named
10704 'subject.
10705 (mh-narrow-to-subject-thread): New command to narrow to all
10706 messages with similar subject line into a sequence named 'subject.
10707 (mh-toggle-subject-thread): New command to toggle between a new
10708 'subject sequence or the wide view of a folder.
10709 (mh-delete-subject-thread): New command to delete all following
10710 messages with similar subject lines (leaving preceeding ones
10711 untouched).
10712 (mh-next-unseen-subject-thread): New command to create and move to
10713 a new subject thread created from the next unseen message as a
10714 starting point.
10715 * mh-e.el (mh-folder-message-menu): New menu entries for subject
10716 threads.
10717 (mh-folder-mode-map): New keybindings for subject threads.
10718 (mh-lessp): New function to sort messages.
10719
10720 * mh-utils.el (mh-show-font-lock-keywords): and various
10721 faces... scoped within eval-after-load "font-lock" to avoid
10722 requiring font-lock to use its faces.
10723 * mh-e.el (mh-folder-font-lock-keywords): Same.
10724
10725 2001-11-27 Jeffrey C Honig <jch@honig.net>
10726
10727 * mh-mime.el (mh-file-mime-type): Use mh-temp-buffer instead of
10728 " *mh-temp".
10729
10730 * mh-comp.el (mh-insert-x-mailer): Kill mh-temp-buffer after use.
10731
10732 2001-11-26 Eric Ding <ericding@alum.mit.edu>
10733
10734 * mh-utils.el: revert to using external mimedecode to decode
10735 MIME quoted-printable parts
10736
10737 2001-11-26 Jeffrey C Honig <jch@honig.net>
10738
10739 * mh-e.el (mh-process-commands): Added mh-folder-updated-hook.
10740 * mh-e.el (mh-update-unseen): Added mh-unseen-updated-hook.
10741
10742 2001-11-26 Peter S Galbraith <psg@debian.org>
10743
10744 * mh-mime.el (mh-file-mime-type): Make sure output from file
10745 command is known to mailcap file, otherwise prompt the user.
10746 (mh-mime-content-types): Add "image/png" type.
10747
10748 * mh-e.el (mh-folder-font-lock-keywords): Use a bunch of new
10749 mh-folder-*-face faces.
10750 * mh-utils.el (mh-show-font-lock-keywords): Use a bunch of new
10751 mh-show-*-face faces.
10752
10753 * mh-utils.el (mh-letter-header-font-lock): Bug fix. Fix infinite
10754 loop in emacs20 font-locking.
10755 (mh-header-field-font-lock): Preventive fix with similar change.
10756
10757 * mh-comp.el (mh-reply-show-message-p): Typo. diplayed -> displayed.
10758 * MH-E-NEWS: Same.
10759
10760 * mh-e.el (mh-folder-tool-bar-map): Bug fix. I had
10761 mh-repack-folder instead of mh-pack-folder.
10762
10763 2001-11-26 Bill Wohler <wohler@phone.com>
10764
10765 * mh-e.el:
10766 Updated header for consistency and to conform with (elisp)Library
10767 Headers.
10768 (mh-do-not-confirm): Updated documentation string to reflect
10769 reality (e.g., is no longer used by mh-kill-folder and is used by
10770 more functions than just mh-undo-folder).
10771 (mh-page-msg): Now shows the next undeleted message if looking at the
10772 bottom of the current message.
10773 (mh-process-or-undo-commands): Fixed indentation.
10774
10775 * mh-mime.el:
10776 (mh-mhn-compose-insertion, mh-mhn-compose-anon-ftp): If MIME type
10777 cannot be determined with file command, use mailcap-mime-types (if
10778 available) to provide list for completing read.
10779
10780 * MH-E-NEWS: First draft of mh-e 5.1 release notes.
10781
10782 2001-11-26 Eric Ding <ericding@alum.mit.edu>
10783
10784 * mh-utils.el (mh-decode-quoted-printable): Implement
10785 quoted-printable decoding in elisp (starting with code copied
10786 from FLIM).
10787 (mh-decode-quoted-printable-region): Move (require 'hexl) outside
10788 while loop.
10789 (mh-decode-quoted-printable): give user a choice between using
10790 internal code or external program to decode quoted-printable
10791 content. Resurrect code that calls external mimedecode program.
10792
10793 2001-11-25 Peter S Galbraith <psg@debian.org>
10794
10795 * mh-utils.el (mh-highlight-citation-p): New variable to determine
10796 whether to hightlight citations in message body with gnus,
10797 font-lock or not at all.
10798 (mh-show-font-lock-keywords): removed citations from keywords.
10799 (mh-show-font-lock-keywords-with-cite): New variable, equivalent
10800 to prior mh-show-font-lock-keywords.
10801 (mh-gnus-article-highlight-citation): hook into gnus for
10802 multi-level citation highlighting.
10803 (mh-show-mode): Use either mh-show-font-lock-keywords or
10804 mh-show-font-lock-keywords-with-cite, depending on value of
10805 mh-highlight-citation-p, and possibly call
10806 mh-gnus-article-highlight-citation.
10807 * mh-comp.el (mh-letter-mode): Same as for mh-show-mode above.
10808
10809 2001-11-25 Jeffrey C Honig <jch@honig.net>
10810
10811 * mh-comp.el (mh-redistribute): Added mh-redist-background
10812 variable to cause mh-redistribute to run the redist command in the
10813 background. This causes the transaction log to be visible, like
10814 with send.
10815
10816 2001-11-25 Peter S Galbraith <psg@debian.org>
10817
10818 * mh-e.el (mh-inc-folder): 'inc' finishes by displaying the first
10819 new message if already showing messages.
10820
10821 2001-11-22 Peter S Galbraith <psg@debian.org>
10822
10823 * mh-utils.el (mh-prompt-for-folder): Exit with error if no folder
10824 specified, otherwise mh-refile-msg may try to create a folder with
10825 empty name, and this creates problems; even mh-undo can't handle
10826 it (Closes SF #476824).
10827
10828 * mh-comp.el (mh-letter-tool-bar-map): Info button needed to
10829 require 'info. Also tweaked help texts.
10830 (mh-letter-menu): Use headline capitalization (Closes SF #483203).
10831 * mh-e.el (mh-folder-tool-bar-map): Same as above.
10832 (mh-folder-folder-menu, mh-folder-message-menu):
10833 (mh-folder-sequence-menu): Same as above.
10834 * mh-pick.el (mh-pick-menu): Same as above.
10835
10836 2001-11-21 Peter S Galbraith <psg@debian.org>
10837
10838 * mh-comp.el (mh-reply-show-message-p): The setting of this
10839 variable determines whether the MH show-buffer is diplayed with
10840 the current message when using mh-reply without a prefix argument.
10841 Set it to nil if you already include the message automatically in
10842 your draft using "repl: -filter repl.filter" in your ~/.mh_profile
10843 file.
10844 (mh-reply): Don't show message in other window if
10845 mh-reply-show-message-p is nil.
10846
10847 * mh-e.el (mh-folder-tool-bar-map): Add mail_exec.xpm icon for
10848 mh-execute-commands.
10849
10850 * mh-utils.el (mh-show-mouse): New function to click on a message
10851 in folder-mode and show that message.
10852 * mh-e.el (mh-folder-mode-map): Bind mh-show-mouse to mouse-2.
10853
10854 * mh-e.el (mh-page-msg): Show buffer first if not displayed,
10855 instead of simply complaining there's no other window.
10856
10857 * mh-e.el (mh-folder-tool-bar-map): New tool-bar for folder mode!
10858 (mh-folder-mode): Setup tool-bar.
10859
10860 * mh-mime.el (mh-have-file-command): try to non-fatally load
10861 executable.el because emacs20 doesn't autoload it.
10862 * mh-utils.el (load "executable" t t): Idem.
10863
10864 * mh-utils.el (mh-clean-msg-header): Bug fix. locally bind
10865 after-change-functions to nil, working around a strange font-lock
10866 bug in emacs20 when (add-hook 'mh-show-mode-hook 'turn-on-font-lock)
10867 was used.
10868
10869 * mh-comp.el (require 'sendmail): Moved from mh-comp.el to
10870 mh-utils.el because it is needed in reading mail too.
10871 (mh-header-field-end, mh-in-header-p): Moved to mh-utils.el
10872 because they are needed by mh-show-mode's font-lock code.
10873 Unfortunately, this splits the field related code into two files.
10874 Perhaps it should all go into mh-utils?
10875
10876 2001-11-20 Eric Ding <ericding@alum.mit.edu>
10877
10878 * mh-utils.el (mh-show-from-face): Fix typo in defface
10879
10880 2001-11-20 Bill Wohler <wohler@newt.com>
10881
10882 * mh-utils.el (mh-mail-header-separator): Set to -------- as
10883 defined by MH (components, and replcomps files). This variable
10884 cannot be a regexp since it is used as an argument to insert and
10885 is passed through regexp-quote before being used. The previous
10886 value broke a lot of code, including mailcrypt.
10887
10888 * mh-comp.el (mh-letter-mode, mh-send-letter): Insert X-Mailer
10889 header field from mh-send-letter.
10890 (mh-edit-again, mh-extract-rejected-mail): Call
10891 mh-insert-header-separator to ensure that there is a separator.
10892 Packages such as mailcrypt depend on it.
10893 (mh-insert-header-separator): New function to insert
10894 mh-mail-header-separator if it doesn't exist.
10895
10896 2001-11-20 Peter S Galbraith <psg@debian.org>
10897
10898 * mh-comp.el (mh-letter-mode): Make font-lock-defaults a local variable
10899 * mh-e.el (mh-folder-mode): Same.
10900 * mh-utils.el (mh-show-mode): Same.
10901
10902 * mh-e.el (mh-scan-msg-num-regexp): Delete variable and replace
10903 with mh-good-msg-regexp.
10904
10905 * mh-utils.el (mh-mail-header-separator): Bug fix. Moved from
10906 mh-comp.el to mh-utils.el (which mh-comp.el loads).
10907
10908 * mh-comp.el (mh-in-header-p): Recycle sendmail.el code (as
10909 suggested by Bill).
10910 * mh-utils.el (mh-letter-header-font-lock): Use mh-in-header-p.
10911
10912 * mh-comp.el (mh-letter-tool-bar-map): tool-bar customize button goes
10913 to customizing mh-compose group.
10914
10915 * mh-utils.el (mh-show-mode): font-lock bug fix. Locally set
10916 font-lock-support-mode to nil.
10917 (mh-letter-header-font-lock, mh-header-field-font-lock): font-lock
10918 bug fix. Don't return match beyond font-lock search limit.
10919
10920 * mh-comp.el (mh-letter-mode): Emacs20 bug fix. tool-bar-mode is
10921 not a bound variable.
10922
10923 2001-11-19 Peter S Galbraith <psg@debian.org>
10924
10925 * mh-comp.el (mh-letter-tool-bar-map): tool-bar help button goes
10926 to 'Draft Editing' info node.
10927
10928 * mh-utils.el (mh-show-from-face, mh-show-to-face): New faces used
10929 for font-lock.
10930 (mh-header-to-font-lock, mh-header-cc-font-lock)
10931 (mh-header-field-font-lock): New helper function returning whole
10932 header field arguments to font-lock.
10933 (mh-show-font-lock-keywords): Heavily modified using the above.
10934
10935 * mh-e.el (mh-scan-msg-num-regexp): Regexp matching the message
10936 number in scan lines.
10937 (mh-scan-date-regexp): Regexp matching a valid date in scan lines.
10938 (mh-scan-rcpt-addr-regexp): Regexp specifying the recipient in
10939 scan lines for messages we sent.
10940 (mh-scan-followup-regexp): Regexp matching a followup subject
10941 line, starting with Re:
10942 (mh-scan-body-regexp):
10943 Regexp matching the message body beginning displayed in scan lines.
10944 (mh-scan.font-lock-regexp): Regexp matching output of the the
10945 optional scan.font-lock format file.
10946 (mh-folder-font-lock-keywords): New font-lock for folder-mode that
10947 uses the above regexps.
10948
10949 2001-11-19 chad <y@mit.edu>
10950
10951 * mh-comp.el (mh-letter-tool-bar-map): made both references to
10952 mh-letter-tool-bar-map conditional on tool-bar-mode, instead of
10953 just one.
10954
10955 2001-11-19 Bill Wohler <wohler@newt.com>
10956
10957 * mh-comp.el (mh-position-on-field): Move to the end of the header
10958 if the field is not present. This function was documented to do
10959 this, but wasn't doing so.
10960 (mh-insert-x-mailer): Simplified by using existing
10961 mh-goto-header-field and mh-insert-fields functions. Now that
10962 mh-insert-fields is used to insert X-Mailer header field, no
10963 longer need to include X-Mailer in mh-x-mailer-string.
10964
10965 2001-11-18 Peter S Galbraith <psg@debian.org>
10966
10967 * mh-comp.el (mh-letter-tool-bar-map): New version of
10968 mh-letter-mode tool-bar. Changed order of buttons; made customize
10969 and info buttons specific to mh-e.
10970
10971 * mh-e.el (mh-folder-font-lock-keywords): New font-lock regexp
10972 uses variables mh-deleted-msg-regexp, mh-refiled-msg-regexp and
10973 mh-cur-scan-msg-regexp, so will better adapt to non-default scan
10974 formats. Also, lines marked for refiling are now fontified.
10975
10976 2001-11-18 Bill Wohler <wohler@newt.com>
10977
10978 * mh-utils.el (mh-show-mode): Added local variable
10979 mail-header-separator which is initialized to
10980 mh-mail-header-separator.
10981
10982 * mh-comp.el (mh-mail-header-separator): Updated to include ^$.
10983 Needed when running mh-edit-again, since by then the separator is
10984 gone. Added documentation saying one should use
10985 mail-header-separator and initialize it from
10986 mh-mail-header-separator.
10987 (mh-forward): Initialize mail-header-separator since
10988 mh-letter-mode hasn't kicked in yet (which does initialize
10989 mail-header-separator).
10990 (mh-letter-mode): Initialize mail-header-separator from
10991 mh-mail-header-separator, not hard-coded string.
10992
10993 * mh-comp.el (mh-insert-x-mailer-p): New variable to control
10994 whether X-Mailer string is inserted. Default: t.
10995 (mh-x-mailer-string): New variable that caches actual X-Mailer
10996 string.
10997 (mh-letter-mode): Call mh-insert-x-mailer if mh-insert-x-mailer-p
10998 is t.
10999 (mh-insert-x-mailer): New function that inserts X-Mailer header
11000 field.
11001
11002 2001-11-17 Peter S Galbraith <psg@debian.org>
11003
11004 * mh-utils.el (mh-letter-header-font-lock): New function to return
11005 the entire mail header to font-lock for sedate font-locking.
11006 (mh-show-font-lock-keywords): Modified to fontify whole lines and use
11007 mh-letter-header-font-lock above to fontify whole header.
11008
11009 2001-11-17 Bill Wohler <wohler@newt.com>
11010
11011 * mh-comp.el (mail-header-separator): Added ^ and $ to make more
11012 specific.
11013 (mh-forward, mh-letter-mode): Replaced hard-coded string with
11014 mail-header-separator.
11015
11016 2001-11-16 Bill Wohler <wohler@newt.com>
11017
11018 * mh-e.el (mh-e-RCS-id): Renamed to mh-version.
11019 (mh-version): The variable: Set to a number instead of Id since
11020 the Id didn't have the mh-e version number, and both Emacs and
11021 gnus do it this way too.
11022 (mh-version): The function: Fixed for nmh. Now displays mh-e
11023 version correctly. Cleaned up output and display mh-progs, etc.
11024 (Closes SF #405620.)
11025
11026 2001-11-15 Peter S Galbraith <psg@debian.org>
11027
11028 * mh-comp.el (mh-letter-tool-bar-map): New tool-bar support for
11029 mh-letter-mode in emacs21. Uses icons from gnus/message.el.
11030 * mh-comp.el (mh-letter-mode): Add buffer-local binding of
11031 tool-bar-map to mh-letter-tool-bar-map.
11032
11033 2001-11-15 Peter S Galbraith <psg@debian.org>
11034
11035 * mh-mime.el (mh-have-file-command): Add check for existence of
11036 executable-find command, which Jeffrey didn't exist in emacs-20.4.
11037 * mh-utils.el (mh-decode-quoted-printable-have-mimedecode): same
11038 as above.
11039 * mh-mime.el (mh-file-mime-type): Bug Fix. Some versions of
11040 'file' output a string like "file: Using regular magic file..."
11041 to stderr, so discard stderr when using call-process with 'file'.
11042
11043 2001-11-14 Peter S Galbraith <psg@debian.org>
11044
11045 * mh-mime.el (mh-have-file-command): Check if 'file' command on
11046 system accepts arguments -i -b before accepting it for our use.
11047
11048 2001-11-14 Peter S Galbraith <psg@debian.org>
11049
11050 * mh-utils.el (mh-find-progs): Use expand-file-name instead of
11051 concatenating together strings into a path.
11052
11053 2001-11-14 Peter S Galbraith <psg@debian.org>
11054
11055 * mh-e.el (mh-folder-sequence-menu): Enable mh-widen in sequence
11056 menu only when mh-narrowed-to-seq is t.
11057
11058 2001-11-14 Peter S Galbraith <psg@debian.org>
11059
11060 * mh-mime.el (mh-have-file-command): Use 'executable-find' instead
11061 of more complicated and error-prone call-process to which command.
11062 * mh-utils.el (mh-decode-quoted-printable-have-mimedecode): Same
11063 change as above.
11064
11065 2001-11-14 Jeffrey C Honig <jch@honig.net>
11066
11067 * mh-e.el (mh-make-folder-mode-line): Bug fix. Properly deal with
11068 folders that do not have any lines in them. Print "no msgs"
11069 instead of "0 msgs". Do not try to print a range when there are
11070 no messages.
11071 * mh-e.el (mh-regenerate-headers): Bug fix. Catch and remove the
11072 "scan: band message list" message.
11073
11074 2001-11-13 Jeffrey C Honig <jch@honig.net>
11075
11076 * mh-utils.el (mh-find-progs): Bug fix. Add "mh/etc" to the
11077 subdirectories to search for "components". On BSD/OS, nmh is in
11078 "/usr/contrib/mh/*".
11079
11080 2001-11-13 Peter S Galbraith <psg@debian.org>
11081
11082 * mh-comp.el (mh-letter-mode): Bug fix. Load mh-mime before
11083 setting mh-mhn-compose-insert-p (when looking at a "forw: -mime"
11084 message containing a MIME composition) such that the variable is
11085 properly declared as buffer-local.
11086
11087 2001-11-12 Bill Wohler <wohler@newt.com>
11088
11089 * mh-funcs.el (mh-print-msg): mhl is in the mh-lib-progs
11090 directory, not mh-lib (closes SF #481128).
11091
11092 2001-11-12 Peter S Galbraith <psg@debian.org>
11093
11094 * mh-seq.el (mh-widen): Bug fix (closes SF #481036).
11095 In a sequence with pending deletes and refiles, running mh-widen
11096 would wipe out their notations, even though the sequences are still
11097 defined. Fixed by calling a new function,
11098 mh-notate-deleted-and-refiled. Also changed the coping of
11099 mh-goto-msg-num since it didn't work consistently.
11100 * mh-seq.el (mh-notate-deleted-and-refiled): New functions written
11101 to fix above mh-widen bug. It's a first cut, we may want to clear
11102 all notations first, and notate the current-message sequence and
11103 user sequences. Time will tell.
11104
11105 2001-11-12 Peter S Galbraith <psg@debian.org>
11106
11107 * mh-seq.el (mh-widen): Make it attempt to stay on the same
11108 message number (closes SF bug #480922).
11109
11110 2001-11-11 Bill Wohler <wohler@newt.com>
11111
11112 * import-emacs: New shell script to import Emacs changes to mh-e.
11113
11114 * Makefile (import): New target to import Emacs changes.
11115
11116 2001-11-09 Peter S Galbraith <psg@debian.org>
11117
11118 * mh-mime.el (mh-file-mime-type): Bug fix. Change regexp to
11119 extract mime type from 'file -i' command output.
11120
11121 2001-11-08 Peter S Galbraith <psg@debian.org>
11122
11123 * mh-utils.el (mh-update-sequences-after-mh-show):
11124 New customizable variable telling whether to run
11125 mh-update-sequences in mh-show-mode. Default is t.
11126 * mh-utils.el (mh-show-msg): Run mh-update-sequences when
11127 mh-update-sequences-after-mh-show is set.
11128
11129 2001-11-08 Peter S Galbraith <psg@debian.org>
11130
11131 * mh-utils.el (mh-decode-quoted-printable-have-mimedecode):
11132 New variable telling whether command 'mimedecode' is on system.
11133 (http://www.freesoft.org/CIE/FAQ/mimedeco.c)
11134 * mh-utils.el (mh-decode-quoted-printable):
11135 New customizable variable telling whether to run mimedecode on
11136 MIME message containing quoted-printable parts. mimedecode will
11137 only alter quoted-printable parts , leaving others intact, and the
11138 resulting message is still fully MIME.
11139 * mh-utils.el (mh-decode-quoted-printable): New function to run
11140 mimedecode on the current buffer.
11141 * mh-utils.el (mh-display-msg): Conditionnaly call
11142 mh-decode-quoted-printable function if mh-decode-quoted-printable
11143 variable is set, to view messages containing quoted-printable
11144 characters into 8-bit.
11145
11146 2001-11-08 Peter S Galbraith <psg@debian.org>
11147
11148 * mh-comp.el (mh-letter-mode): Set mh-mhn-compose-insert-p if
11149 looking at a "forw: -mime" message containing a MIME composition.
11150 * mh-mime.el (mh-file-mime-type): Bug fix. Failed on files like
11151 "~/.mh_profile" because of shell construct. Wrapped filename with
11152 expand-file-name.
11153 * mh-comp.el (mh-letter-mode-map): C-cC-o keybinding in
11154 mh-letter-mode-map for mh-open-line.
11155
11156 2001-11-07 Peter S Galbraith <psg@debian.org>
11157
11158 * mh-comp.el (mh-open-line): New user function to split open a line
11159 when editing a reply with included text.
11160 * mh-comp.el (mh-current-fill-prefix): New function used by
11161 mh-open-line to get the fill-prefix on the current line.
11162 * mh-comp.el: Add mh-open-line to mh-letter-mode menubar.
11163
11164 2001-11-06 Peter S Galbraith <psg@debian.org>
11165
11166 * mh-seq.el (mh-region-to-sequence): New function, creating a
11167 sequence named 'region containing the message list in the selected
11168 region.
11169 * mh-e.el (mh-delete-msg): Mark messages in region for deletion if
11170 mark is active and in transient-mark-mode.
11171 * mh-e.el (mh-refile-msg): Mark messages in region for refiling if
11172 mark is active and in transient-mark-mode.
11173 * mh-e.el (mh-undo): Undo message marks for refile or deletion if
11174 region if mark is active and in transient-mark-mode.
11175
11176 2001-11-06 Peter S Galbraith <psg@debian.org>
11177
11178 * mh-comp.el (mh-letter-mode): Use sendmail.el's fill-paragraph.
11179 Copy its settings for paragraph-start, paragraph-separate,
11180 fill-paragraph-function, adaptive-fill-regexp and
11181 adaptive-fill-first-line-regexp. This make M-q (fill-paragraph)
11182 work correctly!
11183
11184 2001-11-05 Peter S Galbraith <psg@debian.org>
11185
11186 * mh-funcs.el (mh-kill-folder): Remove mh-do-not-confirm condition
11187 and always prompt the user for such a drastic step. Also change
11188 the prompt a bit to clarify it.
11189
11190 2001-11-04 Peter S Galbraith <psg@debian.org>
11191
11192 * mh-mime.el (mh-mhn-compose-insert-p): New buffer-local variable
11193 to tell when a MIME insertion was done in a letter.
11194 * mh-mime.el (mh-mhn-compose-type): Set mh-mhn-compose-insert-p.
11195 * mh-mime.el (mh-mhn-compose-external-type):
11196 Set mh-mhn-compose-insert-p.
11197 * mh-mime.el (mh-mhn-compose-forw): Set mh-mhn-compose-insert-p.
11198 * mh-mime.el (mh-edit-mhn): Clear mh-mhn-compose-insert-p.
11199 * mh-comp.el (mh-send-letter): Run mh-edit-mhn when
11200 mh-mhn-compose-insert-p is set.
11201
11202 2001-11-03 Peter S Galbraith <psg@debian.org>
11203
11204 * mh-mime.el (mh-have-file-command): new function testing whether
11205 file command is on the system.
11206 * mh-mime.el (mh-file-mime-type): new function returning MIME type
11207 from file command.
11208 * mh-mime.el (mh-mhn-compose-insertion): Make use of
11209 mh-file-mime-type function instead of prompting.
11210
11211 2001-10-30 Peter S Galbraith <psg@debian.org>
11212
11213 * mh-utils.el (mh-show-use-goto-addr): defcustom this new
11214 variable, determining whether to call goto-addr in mh-show-mode.
11215 * mh-utils.el (mh-show-mode): Call goto-address when
11216 mh-show-use-goto-addr is t.
11217
11218 2001-10-25 Peter S Galbraith <psg@debian.org>
11219
11220 * mh-utils.el (mh-recenter): Clarify docs and change '(t) to
11221 (list 4) to match elisp doc on what C-u prefix argument actually is.
11222
11223 2001-10-23 Peter S Galbraith <psg@debian.org>
11224
11225 * mh-utils.el (mh-summary-height): In my quest to make mh-e more
11226 useful out-of-the-box for new users, set mh-summary-height to a
11227 minimum of 4 and a maximum of 10 depending on frame height. I
11228 typically have 70 lines in my Emacs frame, so having a default of
11229 4 was silly for my case.
11230 * mh-e.el (mh-update-sequences): Check for nil value of
11231 mh-current-folder, which happens if mh-summary-height < 4
11232 although I haven't tracked doen why that happens.
11233
11234 2001-10-22 Peter S Galbraith <psg@debian.org>
11235
11236 * mh-comp.el (mh-insert-fields): Test for nil value when inserting
11237 field.
11238
11239 2001-10-20 Peter S Galbraith <psg@debian.org>
11240
11241 * mh-comp.el (mh-user-agent-compose): Merged-in from XEmacs-21.4 source
11242 * mh-comp.el (mh-letter-mode): Add easy-menu-add statement for XEmacs21
11243 * mh-pick.el (mh-pick-mode): Add easy-menu-add statement for XEmacs21.
11244 * mh-e.el (mh-folder-mode): Add easy-menu-add statements for XEmacs21.
11245 * mh-utils.el: defalias 'screen-height to 'frame-height for XEmacs21.
11246
11247 2001-10-19 Peter S Galbraith <psg@debian.org>
11248
11249 * mh-mime.el (mh-edit-mhn): Use mhbuild in nmh context.
11250 * mh-utils.el (mh-find-progs): The variable mh-nmh-p (t when nmh
11251 is in use rather than MH) was set assuming that the string "nmh"
11252 will be in mh-lib-progs or mh-lib. This failed on Debian systems.
11253 Better to check for the existence of mhbuild in directory mh-progs.
11254 (closes SF bug #441776)
11255
11256 2001-10-18 Peter S Galbraith <psg@debian.org>
11257
11258 * mh-e.el: Add menubar entry from contrib/mh-menubar.el
11259 * mh-comp.el: Add menubar entry from contrib/mh-menubar.el
11260 * mh-pick.el: Add menubar entry from contrib/mh-menubar.el
11261
11262 2001-07-30 Peter S Galbraith <psg@debian.org>
11263
11264 * mh-e.el: Change font-lock patterns for folders.
11265 Fontify scan.font-lock patterns (which will be documented)
11266 and fontify subject lines prefixed with "Re:" differently.
11267 * mh-comp.el (mh-letter-mode): Add font-lock support as in
11268 mh-show-mode.
11269
11270 2001-04-14 chad brown <y@mit.edu>
11271
11272 Rearrange the font-lock keywords a bit.
11273
11274 2001-04-12 chad brown <y@mit.edu>
11275
11276 Preliminary (somewhat boring) font-lock support for mh-e. More
11277 interesting font-lock support probably wants to have better
11278 support for multiple format files
11279
11280 2001-02-24 chad brown <y@mit.edu>
11281
11282 Add default nmh paths to mh-find-prog in mh-utils.el.
11283 change to mh-kill-folder in mh-funcs.el to make it more general.
11284
11285 2001-02-19 Bill Wohler <wohler@newt.com>
11286
11287 * Makefile (EMACS): Renamed to EMACS_HOME. Also, don't define if
11288 EMACS_HOME already exists to give developer a chance to set
11289 environment variable.
11290 (install): $MH-E-SRC is copied to $(EMACS_HOME)/lisp/mail, not
11291 $(EMACS_HOME)/src.
11292 (dist): Leave release in current directory.
11293
11294
11295 Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
11296
11297 Copying and distribution of this file, with or without modification,
11298 are permitted in any medium without royalty provided the copyright
11299 notice and this notice are preserved.
11300
11301 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51