*** empty log message ***
[bpt/emacs.git] / lisp / mh-e / ChangeLog
1 2005-07-04 Lute Kamstra <lute@gnu.org>
2
3 Update FSF's address in GPL notices.
4
5 2005-06-17 Lute Kamstra <lute@gnu.org>
6
7 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
8 (mh-folder-cur-msg-number-face): New backward-compatibility
9 aliases for renamed faces.
10
11 2005-06-17 Miles Bader <miles@gnu.org>
12
13 * mh-customize.el (mh-folder-body, mh-folder-cur-msg)
14 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-followup)
15 (mh-folder-msg-number, mh-folder-refiled, mh-folder-subject)
16 (mh-folder-tick, mh-folder-to, mh-index-folder)
17 (mh-letter-header-field, mh-show-cc, mh-show-date)
18 (mh-show-header, mh-show-pgg-good, mh-show-pgg-unknown)
19 (mh-show-pgg-bad, mh-show-signature, mh-show-to, mh-show-from)
20 (mh-show-xface, mh-speedbar-folder, mh-speedbar-selected-folder)
21 (mh-speedbar-folder-with-unseen-messages)
22 (mh-speedbar-selected-folder-with-unseen-messages)
23 (mh-folder-msg-number, mh-folder-subject, mh-folder-followup)
24 (mh-folder-subject): Remove "-face" suffix from face names.
25 (mh-folder-body, mh-folder-cur-msg, mh-folder-cur-msg-number)
26 (mh-folder-date-face, mh-folder-followup-face)
27 (mh-folder-msg-number-face, mh-folder-refiled-face)
28 (mh-folder-subject-face, mh-folder-tick-face, mh-folder-to-face)
29 (mh-index-folder-face, mh-letter-header-field-face)
30 (mh-show-cc-face, mh-show-date-face, mh-show-header-face)
31 (mh-show-pgg-good-face, mh-show-pgg-unknown-face)
32 (mh-show-pgg-bad-face, mh-show-signature-face, mh-show-to-face)
33 (mh-show-from-face, mh-show-xface-face, mh-speedbar-folder-face)
34 (mh-speedbar-selected-folder-face)
35 (mh-speedbar-folder-with-unseen-messages-face)
36 (mh-speedbar-selected-folder-with-unseen-messages-face):
37 New backward-compatibility aliases for renamed faces.
38 (mh-folder-body-face, mh-folder-cur-msg-face)
39 (mh-folder-cur-msg-number-face, mh-folder-date-face)
40 (mh-folder-followup-face, mh-folder-msg-number-face)
41 (mh-folder-deleted-face, mh-folder-refiled-face)
42 (mh-folder-subject-face, mh-folder-address-face)
43 (mh-folder-scan-format-face, mh-folder-to-face)
44 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
45 (mh-show-header-face, mh-show-pgg-good-face)
46 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
47 (mh-show-to-face, mh-show-from-face, mh-show-subject-face)
48 (mh-speedbar-folder-with-unseen-messages)
49 (mh-speedbar-selected-folder-with-unseen-messages):
50 Use renamed MH-E faces.
51
52 * mh-utils.el (mh-letter-font-lock-keywords)
53 (mh-face-display-function): Use renamed MH-E faces.
54 * mh-speed.el (mh-folder-speedbar-buttons)
55 (mh-speed-update-current-folder, mh-speed-normal-face)
56 (mh-speed-bold-face, mh-speed-add-buttons)
57 (mh-speed-invalidate-map): Likewise.
58 * mh-mime.el (mh-signature-highlight): Likewise.
59
60 2005-06-16 Juanma Barranquero <lekktu@gmail.com>
61
62 * mh-comp.el (mh-send-sub):
63 * mh-identity.el (mh-identity-field-handler):
64 * mh-mime.el (mh-secure-message):
65 Don't use `format' on `error' arguments.
66
67 2005-06-14 Juanma Barranquero <lekktu@gmail.com>
68
69 * mh-mime.el (mh-secure-message): Follow error conventions.
70
71 2005-05-28 Bill Wohler <wohler@newt.com>
72
73 Released MH-E version 7.84.
74
75 * MH-E-NEWS, README: Updated for release 7.84.
76
77 * mh-e.el (Version, mh-version): Updated for release 7.84.
78
79 2005-05-28 Bill Wohler <wohler@newt.com>
80
81 * mh-e.el, mh-comp.el: Don't autoload Info-goto-node. It's not
82 used, and if it were, the code should use the info function
83 instead.
84
85 Use full year in copyright notices (for example, 2005, not 05).
86
87 * Makefile (mh-loaddefs.el, mh-e-autoloads.el): Added 2005 to
88 copyright notice.
89
90 * mh-inc.el: Use three ;;; to precede Local Variables to be
91 consistent with other files. Will have to ask Stefan Monnier why
92 he changed it.
93
94 * README: This version of MH-E to appear in GNU Emacs 22.1, not
95 21.5.
96
97 * ChangeLog: The * in a ChangeLog entry must only be used before a
98 filename.
99
100 Fixed compilation warnings in CVS Emacs. This included using
101 "public" functions instead of "private" ones (info instead of
102 Info-goto-node, view-mode-enter instead of view-mode), and
103 removing a customization group that didn't have a parent group. In
104 addition, string-to-int was recently deprecated; use
105 string-to-number instead.
106
107 * mh-customize.el (Info-goto-node): Deleted autoload.
108 (mh-e): Deleted mh group. Use single mh-e group instead.
109 (mh-tool-bar-folder-help, mh-tool-bar-letter-help): Use info
110 instead of Info-goto-node.
111
112 * mh-e.el (mh-read-msg-list): string-to-int deprecated; use
113 string-to-number.
114
115 * mh-funcs.el (mh-list-folders): Use view-mode-enter instead of
116 view-mode.
117
118 * mh-seq.el (mh-list-sequences): Use view-mode-enter instead of
119 view-mode.
120
121 * mh-utils.el (mh-get-msg-num): string-to-int deprecated; use
122 string-to-number.
123
124 Merged in changes from CVS Emacs including:
125
126 * mh-utils.el (mh-show-mode):
127 * mh-pick.el (mh-pick-mode): Remove spurious run-hooks. Lute
128 Kamstra <lute@gnu.org> 2005-05-26.
129
130 2005-05-25 Bill Wohler <wohler@newt.com>
131
132 Merged in changes from CVS Emacs including:
133
134 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
135 high number of colors displays. Dan Nicolaescu <dann@ics.uci.edu>
136 2005-04-08.
137
138 * mh-e.el, mh-identity.el, mh-mime.el: Replace `legal' with
139 `valid'. Replace `illegal' with `invalid'. Werner Lemberg
140 <wl@gnu.org> 2005-03-25.
141
142 * mh-inc.el (mh-inc-spool-list): Correctly declare the external
143 var. Stefan <monnier@iro.umontreal.ca> 2004-09-07.
144
145 2005-05-18 Bill Wohler <wohler@newt.com>
146
147 * mh-comp.el (mh-reply): Mention use of mh-repl-group-formfile in
148 docstring.
149
150 2005-05-05 Bill Wohler <wohler@newt.com>
151
152 * mh-e.el (Version, mh-version): Added +cvs to release number.
153
154 2005-05-05 Bill Wohler <wohler@newt.com>
155
156 Released MH-E version 7.83.
157
158 * MH-E-NEWS, README: Updated for release 7.83.
159
160 * mh-e.el (Version, mh-version): Updated for release 7.83.
161
162 2005-05-05 Bill Wohler <wohler@newt.com>
163
164 * README: To appear in Emacs 21.5, since 21.4 was released (but
165 without the latest MH-E).
166
167 * release-utils (usage): Added --variable-changes.
168
169 2005-05-04 Bill Wohler <wohler@newt.com>
170
171 * mh-customize.el (*-face): Made docstrings consistent.
172
173 * mh-seq.el (mh-pick-args-list): Extracted function for turning
174 string of pick arguments to list. Fixed list so that multi-word
175 arguments were put in a single string (closes SF #1122655).
176 (mh-edit-pick-expr): Use it.
177
178 * mh-unit.el (mh-unit): Since 21.4 snuck out but didn't contain
179 updated lm-verify, don't run lm-verify on versions before 21.5.
180 (mh-unit-test-pick-args-list): Added.
181
182 * mh-customize.el (mh-yank-from-start-of-msg): Use headline
183 capitalization. Changed wording of some choices to be more consistent.
184 (mh-invisible-header-fields-internal): Added fields from usa.net.
185
186 2005-04-24 Satyaki Das <satyaki@theforce.stanford.edu>
187
188 * mh-mime.el (mh-mime-security-button-face): New function which
189 determines the face to use to colorize encrypted or signed emails.
190 (mh-insert-mime-security-button): Modified to colorize the button
191 differently based on whether the signature was valid or not,
192 whether the decryption was successful or not, etc.
193
194 * mh-customize.el (mh-show-pgg-good-face)
195 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face): Faces added to
196 highlight buttons introduced for encrpted or signed MIME parts.
197
198 2005-03-19 Bill Wohler <wohler@newt.com>
199
200 * mh-customize.el (mh-mml-method-default): Sorted alphabetically.
201 (mh-insert-x-mailer-flag, mh-reply-show-message-flag): Moved from
202 mh-letter group to mh-sending-mail group. The writing of the
203 documentation revealed that these options were misplaced.
204
205 2005-03-17 Bill Wohler <wohler@newt.com>
206
207 * mh-customize.el (mh-junk-background): Put in alphabetical order.
208 Synced with manual.
209 (mh-junk-program): Use double-quotes on non-symbols.
210
211 * mh-pick.el: (mh-search-folder): Synced docstrings with manual.
212
213 * mh-index.el: (mh-index-search, mh-pick-execute-search)
214 (mh-grep-execute-search, mh-mairix-execute-search)
215 (mh-swish-execute-search, mh-swish++-execute-search)
216 (mh-namazu-execute-search): Synced docstrings with manual. Note
217 that I'm now grabbing the output of an Info buffer which is why
218 the indents on the examples has changed a bit. If we all use that
219 methodology in the future, we shouldn't produce as many gratuitous
220 diffs. I also noticed that `grep' and `search' became links to
221 unrelated things, so let's use double-quotes for quoting
222 non-symbols in the docstrings.
223
224 * mh-customize.el (mh-index-new-messages-folders)
225 (mh-index-ticked-messages-folders): Synced docstrings with manual.
226
227 2005-02-16 Satyaki Das <satyaki@theforce.stanford.edu>
228
229 * mh-index.el (mh-swish-execute-search): Simplify the indexing
230 recipe for swish. Thanks to Eric Jensen for the suggestion.
231
232 2005-02-11 Satyaki Das <satyaki@theforce.stanford.edu>
233
234 * mh-index.el (mh-swish-execute-search)
235 (mh-swish++-execute-search): Make the indexing recipes better.
236 (mh-swish-next-result): The indexer might find matches in files
237 that aren't messages. Make the function handle that case
238 gracefully.
239
240 2005-02-07 Bill Wohler <wohler@newt.com>
241
242 * mh-customize.el (mh-inc-prog, mh-inc-spool-list): Synced
243 docstrings with manual.
244
245 2005-02-06 Bill Wohler <wohler@newt.com>
246
247 * mh-junk.el (mh-spamassassin-blacklist): Removed trailing
248 whitespace.
249
250 * mh-e.el (mh-refile-or-write-again): Checkdoc fix.
251
252 * mh-identity.el (mh-identity-list-set)
253 (mh-identity-field-handler, mh-identity-handler-gpg-identity)
254 (mh-identity-handler-signature)
255 (mh-identity-handler-attribution-verb)
256 (mh-identity-handler-default, mh-identity-handler-top): Docstring
257 editing.
258
259 * mh-customize.el (mh-identity-list, mh-auto-fields-list)
260 (mh-identity-default, mh-identity-handlers): Synced docstrings
261 with manual.
262
263 2005-02-03 Bill Wohler <wohler@newt.com>
264
265 * mh-xemacs.el (define-behavior 'mh): Moved Ben's code here from
266 mh-e.el and added standard documentation.
267
268 * mh-e.el: Received patch from Ben Wing <ben@666.com> to add
269 define-behavior on XEmacs.
270
271 2005-01-28 Jeffrey C Honig <jch@honig.net>
272
273 * mh-customize.el (mh-invisible-header-fields-internal): Added
274 X-Evolution header added by Evolution mai client.
275
276 2005-01-18 Bill Wohler <wohler@newt.com>
277
278 * mh-customize.el (mh-invisible-header-fields-internal): Added
279 DomainKey-Signature (http://antispam.yahoo.com/domainkeys/).
280 There's a Comment field that goes with it, but I thought it was
281 too general to add.
282
283 2005-01-06 Bill Wohler <wohler@newt.com>
284
285 * mh-junk.el (mh-spamassassin-blacklist): Fixed typo to fix an
286 error when junking spamassassin mail when mh-junk-background is
287 turned on.
288
289 2004-12-25 Satyaki Das <satyaki@theforce.stanford.edu>
290
291 * mh-utils.el (mh-show-unquote-From): Make the buffer writable
292 before trying to change it (closes SF #1089870).
293
294 * mh-comp.el (mh-complete-word): Fix a typo in a variable
295 name (closes SF #1089870)
296
297 2004-11-28 Jeffrey C Honig <jch@honig.net>
298
299 * mh-comp.el (mh-complete-word): Kill the *Completions* buffer in
300 any cases where we belive we are done with it. Not perfect, but
301 better than just leaving it around.
302
303 2004-11-08 Satyaki Das <satyaki@theforce.stanford.edu>
304
305 * mh-acros.el (mh-funcall-if-exists): In XEmacs, presence of a
306 function at compile time doesn't guarantee it's existence at run
307 time. So make the macro handle that situation better.
308
309 2004-11-05 Satyaki Das <satyaki@theforce.stanford.edu>
310
311 * mh-acros.el (advice): Load advice, since it isn't loaded in
312 XEmacs causing compilation problems.
313
314 2004-10-24 Satyaki Das <satyaki@theforce.stanford.edu>
315
316 * mh-index.el (mh-mairix-execute-search)
317 (mh-mairix-regexp-builder): Update the interface to mairix so that
318 it will work with versions of mairix 0.12 and later.
319
320 * mh-funcs.el (mh-rmf-daemon): Avoid using
321 beginning-of-buffer since it clobbers the mark and it was pointed
322 out on the Emacs developers list to be the wrong thing to do.
323
324 * mh-e.el (mh-inc-folder): Only remove the window on the show
325 buffer. This means if the user has BBDB enabled then the window
326 displaying BBDB information isn't clobbered.
327 (mh-refile-or-write-again): Don't use the function
328 interactive-p. There was a long thread on the Emacs developers
329 list where it was pointed out that it is incorrect to use this
330 function most of the time.
331
332 * mh-comp.el (autoload): Don't set auto-mode-alist. This could
333 screw things up for users that don't use MH-E (closes SF #1032353).
334
335 2004-10-13 Satyaki Das <satyaki@theforce.stanford.edu>
336
337 * mh-e.el (mh-refile-or-write-again): Generalize the function to
338 work on a range of messages (closes SF #1046330).
339
340 2004-09-02 Satyaki Das <satyaki@theforce.stanford.edu>
341
342 * mh-e.el (mh-process-commands): The concurrent execution of mark
343 and refile can cause problems since both the commands change the
344 current folder. This change avoids that by getting rid of the
345 concurrency. Another change covers the corner case where we refile
346 messages to a previously empty folder. Before the modification
347 sequences weren't preserved even if the appropriate flag was
348 set. That is no longer the case.
349
350 2004-08-26 Satyaki Das <satyaki@theforce.stanford.edu>
351
352 * mh-e.el (mh-get-new-mail): Also, update the unseen sequence from
353 disk. Otherwise, the new messages aren't highlighted.
354
355 * mh-seq.el (mh-thread-inc): Fix a bug which appears when inc is
356 run in a narrowed folder. The user sequence notation was getting
357 lost. The change fixes that.
358
359 * mh-e.el (mh-get-new-mail): Make inc more efficient by reusing
360 the existing user sequence notation and deleted/refiled notation.
361
362 2004-08-24 Bill Wohler <wohler@newt.com>
363
364 * mh-e.el (Version, mh-version): Added +cvs to release number.
365
366 2004-08-24 Bill Wohler <wohler@newt.com>
367
368 Released MH-E version 7.82.
369
370 * MH-E-NEWS, README: Updated for release 7.82.
371
372 * mh-e.el (Version, mh-version): Updated for release 7.82.
373
374 2004-08-24 Bill Wohler <wohler@newt.com>
375
376 * mh-init.el (mh-variant-set): Change MH to mh as that's what is
377 emitted by `mh-variant-mh-info' (closes SF #1014781).
378 (mh-variant-p): Add mu-mh to docstring.
379
380 2004-08-23 Satyaki Das <satyaki@theforce.stanford.edu>
381
382 * mh-acros.el (mh-require-cl): Remove unneeded autoloads.
383 (require): Add an advice to the function so that at compile time
384 the uncompiled file is loaded. This avoids compilation problems
385 when built in the Emacs tree.
386
387 * mh-mime.el (mh-identity-pgg-default-user-id): Defvar the
388 variable, to avoid compiler warnings.
389
390 * mh-e.el (mh-seq): Load mh-seq since functions defined there are
391 used here. Without this, the state mh-seq.elc would be loaded.
392
393 * mh-customize.el (mh-init, mh-identity): Load mh-init and
394 mh-identity at compile time manually, before the corresponding
395 stale elc files get autoloaded.
396
397 2004-08-21 Bill Wohler <wohler@newt.com>
398
399 * mh-e.el (Version, mh-version): Add +cvs to release number.
400
401 2004-08-21 Bill Wohler <wohler@newt.com>
402
403 Released MH-E version 7.81.
404
405 * MH-E-NEWS, README: Updated for release 7.81.
406
407 * mh-e.el (Version, mh-version): Updated for release 7.81.
408
409 2004-08-21 Bill Wohler <wohler@newt.com>
410
411 * release-utils (variable_changes): Check for checked-out
412 directory before proceeding. Remove temporary files.
413 Rename --variable-update flag to --variable-changes.
414
415 2004-08-16 Mark D. Baushke <mdb@gnu.org>
416
417 * mh-mime.el (mh-toggle-mh-decode-mime-flag: New function.
418 * mh-e.el (mh-help-messages): Add [;] help string for it.
419 (mh-folder-mode-map): Add ";" key binding for it.
420
421 2004-08-15 Satyaki Das <satyaki@theforce.stanford.edu>
422
423 * mh-acros.el (mh-defstruct): Distinguishing structures created
424 by mh-defstruct just based on the number of fields is not
425 sufficient, since both the mh-thread-message and
426 mh-thread-container structures have the same length.
427
428 2004-08-15 Mark D. Baushke <mdb@gnu.org>
429
430 * mh-customize.el (mh-identity-handlers): Use ":default" instead of
431 "default" to avoid problems with "Default:" as a user defined field.
432 * mh-identity.el (mh-identity-field-handler): Ditto.
433
434 2004-08-15 Bill Wohler <wohler@newt.com>
435
436 * mh-e.el (Version, mh-version): Added +cvs to release number.
437
438 2004-08-15 Bill Wohler <wohler@newt.com>
439
440 Released MH-E version 7.4.80.
441
442 * MH-E-NEWS, README: Updated for release 7.4.80.
443
444 * mh-e.el (Version, mh-version): Updated for release 7.4.80.
445
446 2004-08-15 Bill Wohler <wohler@newt.com>
447
448 * mh-funcs.el, mh-gnus.el, mh-inc.el, mh-init.el, mh-junk.el,
449 mh-pick.el, mh-print.el, mh-xemacs.el: Added 2004 to Copyright.
450
451 * mh-acros.el, mh-alias.el: Checkdoc fixes.
452
453 2004-08-12 Satyaki Das <satyaki@theforce.stanford.edu>
454
455 * mh-acros.el (cl): Load cl in this file. That is all right, since
456 this file is only used at compile time, and so cl doesn't get
457 loaded at run time. This avoids problems with stale *.elc files
458 present in the Emacs source tree during compilation.
459 (mh-defstruct): Modify it to make it more CL like and in the
460 process simplify it a bit. This makes the argument list of the
461 constructor compatible with the previous version, thereby avoiding
462 a compilation error when an old version of mh-seq.elc is present.
463
464 * mh-seq.el (mh-thread-id-container, mh-thread-get-message)
465 (mh-thread-get-message-container): Revert back to the CL style
466 of using keyword arguments, since the mh-defstruct now produces
467 code compatible to such usage.
468
469 2004-08-11 Satyaki Das <satyaki@theforce.stanford.edu>
470
471 * mh-acros.el (mh-defstruct, mh-require-cl): Checkdoc fixes.
472
473 * mh-utils.el (message-tokenize-header, message-fetch-field): Add
474 autoloads.
475 (mh-folder-completing-read): Make the folder completion look
476 better with CVS Emacs.
477
478 * mh-init.el (mh-variant-set): Remove dead code.
479
480 2004-08-11 Bill Wohler <wohler@newt.com>
481
482 * *.el: Use the following at the top of each file which seems to
483 do a good job of suppressing compilation warnings in 21.3 and CVS
484 Emacs (21.4). This replaces (require 'cl) or (require
485 'utils) (mh-require-cl) calls:
486
487 (eval-when-compile (require 'mh-acros))
488 (mh-require-cl)
489
490 2004-08-10 Bill Wohler <wohler@newt.com>
491
492 * release-utils (DESCRIPTION): Added one.
493 (FILES, SEE ALSO, VERSION): Deleted empty and incorrect sections.
494
495 * mh-e.el (mh-colors-available-p): Call x-display-color-cells with
496 mh-funcall-if-exists since it no longer seems to be defined in
497 GNU Emacs 21.4.
498
499 2004-08-10 Satyaki Das <satyaki@theforce.stanford.edu>
500
501 * mh-speed.el (mh-process-kill-without-query, mh-speed-flists):
502 Avoid a compiler warning in versions of Emacs where
503 process-kill-without-query is a deprecated function.
504
505 * mh-seq.el (mh-thread-message, mh-thread-container): Use
506 mh-defstruct instead of defstruct.
507 (mh-thread-id-container, mh-thread-get-message-container)
508 (mh-thread-get-message): Use the slightly different structure
509 constructor function.
510
511 * mh-acros.el (mh-defstruct): New macro which is a partial
512 replacement of the defstruct in CL.
513 (no-byte-compile): Don't compile the file since it isn't loaded at
514 run time, so efficiency isn't an issue.
515
516 * mh-utils.el (mh-buffer-data): Use mh-defstruct instead of
517 defstruct.
518
519 2004-08-09 Satyaki Das <satyaki@theforce.stanford.edu>
520
521 * mh-funcs.el, mh-junk.el, mh-print.el: Use mh-require-cl to avoid
522 compilation warnings in Emacs-21.3.
523
524 * mh-acros.el (mh-require-cl): Add autoloads of CL functions used.
525
526 2004-08-09 Bill Wohler <wohler@newt.com>
527
528 * mh-customize.el (mh-show-use-xface-flag): Mention that `fetch' and
529 `curl' are supported as well.
530
531 2004-08-08 Bill Wohler <wohler@newt.com>
532
533 * mh-xemacs.el (mh-xemacs-has-toolbar-flag): Checkdoc fixes.
534
535 * mh-mime.el (mh-display-with-external-viewer): Checkdoc fixes.
536
537 * mh-identity.el: (mh-identity-attribution-verb-end): Stripped
538 trailing space; checkdoc fixes.
539
540 * mh-e.el (mh-restore-desktop-buffer): Checkdoc fixes.
541
542 * mh-customize.el: (mh-inc-spool-list,
543 mh-compose-forward-as-mime-flag, defcustom): Stripped trailing
544 space; checkdoc fixes.
545
546 * mh-comp.el (mh-reply): Stripped trailing space.
547
548 * mh-unit.el (mh-unit-files): Added mh-acros.el and mh-gnus.el.
549 (mh-unit): Don't lm-verify pre-21.4. Save buffers before killing
550 since we might have done some editing.
551
552 * import-emacs: Deleted. Functionality subsumed by release-utils.
553
554 * release-utils: New script. Performs import-emacs functionality
555 and displays new and deleted options.
556
557 * Makefile (import-emacs): Call release-utils instead of
558 import-emacs.
559
560 * mh-funcs.el (mh-undo-folder): Removed deprecated `ignore'
561 argument.
562
563 * mh-e.el (mh-scan-date-regexp): Deleted as Peter claims it is
564 obsolete.
565 (mh-folder-font-lock-keywords): Removed reference to deleted
566 variable `mh-scan-date-regexp'.
567
568 * mh-customize.el (mh-auto-fields-prompt-flag): Made reference to
569 `mh-auto-fileds-lists'.
570 (mh-forward-hook): Fixed docstring typo.
571
572 2004-08-07 Bill Wohler <wohler@newt.com>
573
574 * mh-acros.el: New file. Currently holds macros needed by
575 mh-customize.el but is planned to hold all macros to avoid
576 dependency problems when compiling.
577
578 * mh-utils.el (mh-xemacs-flag): Defined in mh-customize.el now.
579 (mh-require-cl, mh-do-in-gnu-emacs, mh-do-in-xemacs)
580 (mh-funcall-if-exists, mh-make-local-hook, mh-mark-active-p):
581 Moved to new file mh-acros.el.
582
583 * mh-customize.el: Require mh-acros and cl only when compiling and
584 mh-loaddefs at runtime instead of mh-utils.
585 (mh-xemacs-flag): Define it here instead of mh-utils.el.
586
587 * Makefile (MH-E-SRC): Added mh-acros.el.
588
589 * mh-gnus.el (default-enable-multibyte-characters): Don't define
590 any more. It doesn't seem to be needed.
591
592 * mh-customize.el (mh-junk-background): New variable. If on, spam
593 programs are run in background. Running in foreground can be slow.
594 Defaults to nil to spare machines with little memory.
595
596 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
597 (mh-bogofilter-whitelist, mh-spamprobe-blacklist)
598 (mh-spamprobe-whitelist): Use new option mh-junk-background.
599
600 2004-07-25 Satyaki Das <satyaki@theforce.stanford.edu>
601
602 * mh-utils.el (mh-folder-completing-read): In recent CVS Emacs,
603 the first letter of the possible choices in the completion buffer
604 is highlighted. The change is needed for this feature to work
605 during folder name completion. This is not entirely sufficient,
606 since the leading "+" in folder names is still mishandled. A patch
607 is required in Emacs itself to address that.
608
609 2004-07-22 Mark D. Baushke <mdb@gnu.org>
610
611 * mh-e.el (recursive-load-depth-limit): Move
612 recursive-load-depth-limit code to ...
613 * mh-utils.el (recursive-load-depth-limit): ... here to avoid
614 problems compiling mh-utils.el and mh-alias.el with gnus-5.10.6
615 under emacs-21.1. Use eval-and-compile instead of eval-when.
616
617 2004-07-20 Bill Wohler <wohler@newt.com>
618
619 * mh-customize.el (mh-invisible-header-fields-internal): Added
620 header fields emitted by T-Mobile picture phones (X-Mms-*, and
621 commented out X-Operator field saying it's like X-Mailer).
622
623 2004-07-12 Bill Wohler <wohler@newt.com>
624
625 * mh-gnus.el: Set local variables indent-tabs-mode and
626 sentence-end-double-space to nil.
627
628 * mh-customize.el: Checkpoint from option docstring updates and
629 manual synchronization from last summer. For the options listed
630 below, docstring was usually completely rewritten. Use "on"
631 instead of "t" in docstring to match what is seen in customization
632 buffer. Use headline capitalization. Standardize on "Auto-detect"
633 text when option has that capibility.
634 (mh): Since we work on more than one type of Emacs, use Emacs
635 instead of GNU Emacs. Prefer GNU mailutils over GNU Mailutils.
636 (mh-variant): s/Autodetect at startup/Auto-detect/.
637 (mh-alias-insertion-location): s/Sorted
638 alphabetically/Alphabetical/. s/At the top of file/Top/. s/At the
639 bottom of file/Bottom/.
640 (mh-alias-local-users-prefix): s/Use login instead of real
641 name/Use Login/.
642 (mh-identity-list): Sorted values by fields, attribution,
643 signature, GPG key.
644 (mh-auto-fields-list): Missing quote.
645 (mh-compose-insertion): s/Use Gnus/Gnus/. s/Use mhn/mhn/.
646 (mh-compose-space-does-completion-flag): s/SPACE/<SPC>/.
647 (mh-extract-from-attribution-verb): Since we have French, added
648 German too ;-).
649 (mh-letter-complete-function): Mention default in docstring.
650 (mh-invisible-header-fields-internal): Added X-ELNK-Trace from
651 Earthlink.
652 (mh-alias-flash-on-comma, mh-alias-insert-file)
653 (mh-alias-passwd-gecos-comma-separator-flag)
654 (mh-recenter-summary-flag, mh-default-folder-for-message-function)
655 (mh-default-folder-must-exist-flag, mh-index-program)
656 (mh-index-ticked-messages-folders, mh-ins-buf-prefix)
657 (mh-delete-yanked-msg-window-flag, mh-identity-default): See
658 summary above.
659
660 * mh-init.el (mh-variant-set, mh-sys-path, mh-variant-mu-mh-info):
661 Prefer GNU mailutils over GNU Mailutils MH.
662
663 * mh-comp.el (sc-cite-original, mh-smail, mh-smail-batch)
664 (mh-edit-again, mh-extract-rejected-mail, mh-forward)
665 (mh-smail-other-window, mh-reply, mh-send, mh-send-other-window):
666 Use `mh-send' instead of \\[mh-send]] since links in the docstring
667 are more useful than a key sequence in these cases. Use "See also"
668 instead of "See also documentation for".
669
670 Merged in 7.4.4 changes, described below.
671
672 * mh-e.el (Version, mh-version): Set to 7.4.4+cvs.
673
674 2004-07-10 Bill Wohler <wohler@newt.com>
675
676 Released MH-E version 7.4.4.
677
678 * MH-E-NEWS, README: Updated for release 7.4.4.
679
680 * mh-e.el (Version, mh-version): Updated for release 7.4.4.
681
682 This patch release contains the following patches:
683
684 * mh-xemacs.el: New file from concatenation of mh-xemacs-compat.el
685 and mh-xemacs-icons.el which were removed since their names
686 exceeded DOS 8+3 limits.
687
688 * Makefile:
689 (mh-e-autoloads.el): Add target to make `mh-e-autoloads.el', a
690 file containg usual entry commands into MH-E to be used for users
691 installing MH-E separately from Emacs.
692 (XEMACS_LOADDEFS_FILE): New. Used to generate mh-loaddefs.el
693 in XEmacs.
694 (XEMACS_LOADDEFS_COOKIE): Ditto.
695 (XEMACS_LOADDEFS_PKG_NAME): Ditto.
696 (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner build
697 environment.
698 (MH-E-SRC): Moved mh-xemacs.el to new variable MH-E-XEMACS-SRC.
699 (MH-E-XEMACS-SRC): New variable to hold XEmacs source files.
700 (MH-E-XEMACS-OBJ): New variable to hold XEmacs object files.
701 (clean): Moved XEmacs-specific code to clean-xemacs.
702 (xemacs): Added clean-xemacs prerequisite. Moved down to XEmacs
703 section of file. Add target to build mh-loaddefs.el in XEmacs
704 (loaddefs-xemacs): New rule to build mh-loaddefs.el in XEmacs.
705 (clean-xemacs): New target to remove XEmacs-specific files.
706 (compile-xemacs): New. It allows for the '-no-autoloads' option
707 and byte-compiles all the source files with a single instance of
708 XEmacs.
709 (dist): Added $(MH-E-XEMACS-SRC) to tarball.
710 (AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and
711 'AUTOLOAD_FILE'.
712 (AUTOLOAD_PACKAGE_NAME): New.
713 (AUTOLOAD_FILE): New.
714 (all): Don't set $EMACS_HOME if building with XEmacs.
715 (xemacs): Use 'compile-xemacs' instead of 'compile'.
716 (auto-autoloads.elc): Use new $AUTOLOAD_* vars and allow for
717 '-no-autoloads'.
718 (custom-load.elc): Allow for '-no-autoloads'.
719
720 * mh-e.el: Don't require mh-xemacs-compat which no longer exists.
721 The XEmacs stuff gets required by mh-customize.el which is
722 required by mh-utils.el which is required by mh-e.el. This all
723 happens before mh-xemacs-compat was required, so all should be
724 well.
725 (mh-restore-desktop-buffer): Move from desktop.el. Add Parameters.
726 (mh-restore-desktop-buffer): Delete with-no-warnings.
727 (mh-folder-mode): Bind desktop-save-buffer to t.
728 (Courtesy Lars Hansen).
729
730 * mh-alias.el (mh-assoc-ignore-case): New macro to use
731 assoc-string when available (Emacs 21.4+); assoc-ignore-case
732 otherwise.
733 (mh-alias-reload, mh-alias-expand,
734 mh-alias-minibuffer-confirm-address): Use it.
735
736 * mh-seq.el: Added mh-autoload to mh-read-seq-default.
737
738 * mh-utils.el (mh-require-cl): The Emacs coding conventions
739 require that the cl package not be required at runtime. However,
740 the cl package in versions of Emacs prior to 21.4 left cl routines
741 in their macro expansions. Use mh-require-cl to provide the cl
742 routines in the best way possible (closes SF #930012).
743 (require 'mouse): To shush compiler.
744
745 Use new function mh-require-cl throughout.
746
747 Add arch taglines (courtesy Miles Bader).
748
749 * mh-unit.el (mh-unit-files): Replaced mh-xemacs-compat.el and
750 mh-xemacs-icons.el with mh-xemacs.el.
751
752 * import-emacs: Also grab the ChangeLog.
753
754 * *.pbm: Regenerated using GIMP to be consistent with other Emacs
755 icons.
756 1. Edit .xpm image in GIMP.
757 2. Image > Mode > Indexed. Check Use Black/White Palette and No
758 Color Dithering.
759 3. File > Save As file.xbm.
760 4. Run xbmtopbm < file.xbm > file.pbm.
761 Thanks to jan.h.d@swipnet.se for the help.
762
763 2004-07-07 Stephen Gildea
764
765 * mh-customize.el (mh-invisible-header-fields-internal):
766 Add X-Greylist, X-Source*, and X-WebTV-Signature.
767 Replace specific X-Spam-* headers with general pattern.
768
769 2004-06-15 Bill Wohler <wohler@newt.com>
770
771 * README: Vladimir Ivanovic reports that mh-rmail works with
772 XEmacs 21.5.17, so updated requirements text accordingly (closes
773 SF #644321).
774
775 2004-05-12 Satyaki Das <satyaki@theforce.stanford.edu>
776
777 * mh-utils.el (mh-mail-header-end): Replace call to
778 rfc822-goto-eoh with something that allows From_ lines in the mail
779 header.
780
781 2004-04-14 Bill Wohler <wohler@newt.com>
782
783 * mh-utils.el (mh-show-mouse): s/EVENT/event/. Thanks to John Paul
784 Wallington <jpw@gnu.org> for pointing this out.
785
786 2004-04-12 Satyaki Das <satyaki@theforce.stanford.edu>
787
788 * mh-e.el (mh-folder-size-flist): Add -showzero option so that the
789 parsing code doesn't get confused by the presence of -noshowzero
790 in the user's .mh_profile (closes SF #933954).
791
792 2004-04-07 Satyaki Das <satyaki@theforce.stanford.edu>
793
794 * mh-mime.el (mh-insert-mime-button)
795 (mh-insert-mime-security-button): Add evaporate property to
796 overlays used in MIME part buttons. This avoids problems with
797 CVS Emacs.
798
799 2004-03-16 Satyaki Das <satyaki@theforce.stanford.edu>
800
801 * mh-e.el (mh-folder-from-address): Go to the end of buffer if the
802 re-search-forward fails (closes SF #917096).
803
804 2004-02-02 Satyaki Das <satyaki@theforce.stanford.edu>
805
806 * mh-customize.el (mh-compose-forward-as-mime-flag): New user
807 customizable variable that controls whether messages are forwarded
808 as MIME attachments (closes SF #827203).
809
810 * mh-comp.el (mh-forward): Call forw with -mime option only if
811 mh-compose-forward-as-mime-flag is non-nil.
812
813 2003-12-26 Jeffrey C Honig <jch@honig.net>
814
815 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist)
816 (mh-spamassassin-blacklist, mh-spamassassin-blacklist)
817 (mh-spamassassin-blacklist, mh-spamassassin-whitelist)
818 (mh-spamassassin-whitelist, mh-bogofilter-blacklist)
819 (mh-spamprobe-blacklist): Add progress messages. Change "Couldn't"
820 to "Unable" in error messages. Run bogofilter and spamprobe in
821 the foreground to prevent a large number of processes from
822 swamping the system.
823
824 2003-12-25 Satyaki Das <satyaki@theforce.stanford.edu>
825
826 * mh-e.el (mh-prompt-for-refile-folder): Marking the whole folder
827 and then refiling all messages throws an error, since this
828 function expects point to be on a valid scan line. The change
829 relaxes this requirement, thereby avoiding the above problem.
830
831 2003-12-14 Satyaki Das <satyaki@theforce.stanford.edu>
832
833 * mh-comp.el (mh-ascii-buffer-p): New function that checks if a
834 buffer is entirely composed of ASCII.
835 (mh-send-letter): Encode the draft if it contains non-ASCII
836 characters.
837
838 2003-12-12 Satyaki Das <satyaki@theforce.stanford.edu>
839
840 * mh-customize.el (mh-invisible-headers): Keep only unique fields
841 in list of header fields to hide. This avoids problems in XEmacs.
842
843 2003-12-10 Satyaki Das <satyaki@theforce.stanford.edu>
844
845 * mh-seq.el (mh-thread-print-scan-lines): The imenu index was not
846 getting created for threaded index buffers. The change fixes this.
847
848 * mh-index.el (mh-index-insert-folder-headers): Always create the
849 imenu index.
850 (mh-index-create-imenu-index): Set which-func-mode to t. If
851 which-function-mode is turned on after the folder buffer has been
852 prepared, display of the folder info was being inhibited. The
853 change fixes that.
854
855 2003-12-09 Satyaki Das <satyakid@stanford.edu>
856
857 * mh-comp.el (mh-letter-mode): Setup mh-mail-header-separator
858 based on draft contents.
859 (mh-letter-mode, mh-letter-mail-header-end-marker)
860 (mh-letter-header-end): Remove use of the variable
861 mh-letter-mail-header-end-marker. Instead use
862 mh-mail-header-separator. This avoids problems in font locking
863 draft buffers (closes SF #855479).
864
865 2003-12-09 Satyaki Das <satyakid@stanford.edu>
866
867 * mh-index.el (mh-index-insert-folder-headers): Modified so that
868 imenu--index-alist is updated.
869 (mh-index-create-imenu-index): New function that generates an
870 index usable by imenu. This adds which-func-mode support to index
871 folders (closes SF #855520).
872
873 * mh-e.el (which-func, which-func-modes): Tell which-func that
874 mh-folder-mode supports it.
875 (mh-folder-mode): Add support for imenu.
876
877 2003-11-22 Peter S Galbraith <psg@debian.org>
878
879 * Makefile: renamed mh-startup.el to mh-e-autoloads.el
880
881 * README: renamed mh-startup.el to mh-e-autoloads.el
882
883 * .cvsignore: Added mh-e-autoloads.el
884
885 2003-11-18 Bill Wohler <wohler@newt.com>
886
887 Released MH-E version 7.4.3.
888
889 * MH-E-NEWS, README: Updated for release 7.4.3.
890
891 * mh-e.el (Version, mh-version): Updated for release 7.4.3.
892
893 * This patch release contains the following two patches:
894
895 * mh-identity.el (mh-identity-make-menu): Removed condition on
896 mh-auto-fields-list. Use it to enable or disable menu item
897 instead.
898
899 * mh-customize.el (mh-identity-list): Removed defvar and moved
900 defcustom before mh-auto-fields-list so that defvar wouldn't
901 clobber user's customization settings.
902
903 2003-11-17 Jeffrey C Honig <jch@honig.net>
904
905 * mh-print.el (mh-print-msg): Do not print a message on deprecated
906 usage, the bindings have been removed.
907
908 * mh-e.el (mh-folder-mode-map): Remove "l" binding for
909 mh-print-msg.
910
911 * mh-utils.el (mh-show-mode-map): Remove "l" binding for
912 mh-print-msg.
913
914 2003-11-16 Satyaki Das <satyakid@stanford.edu>
915
916 * mh-comp.el (mh-beginning-of-word): Use the function
917 mh-mail-abbrev-make-syntax-table instead of the function
918 mail-abbrev-make-syntax-table.
919
920 * mh-gnus.el (mh-mail-abbrev-make-syntax-table): Add a wrapper
921 function that calls mail-abbrev-make-syntax-table if available.
922 This is needed so that MH-E built with CVS Emacs will work with
923 released versions of Emacs21 and vice versa.
924
925 2003-11-14 Peter S Galbraith <psg@debian.org>
926
927 * mh-customize.el (mh-invisible-header-fields-internal): Add
928 "X-NAI-Spam-" and "X-Spam-Report:".
929
930 2003-11-14 Mark D. Baushke <mdb@gnu.org>
931
932 * mh-customize.el (mh-invisible-header-fields-internal):
933 Add X-AntiAbuse and X-MailScanner.
934 (Patch from Stephen Gildea.)
935
936 2003-11-13 Peter S Galbraith <psg@debian.org>
937
938 * mh-identity.el (mh-identity-handler-attribution-verb): New
939 function. A new Identity handler for the attribution verb (e.g.
940 "wrote:") to allow for different identities to use different
941 languages.
942 (mh-identity-insert-attribution-verb): New function. Insert the
943 attribution verb, placing special markers so it can be deleted and
944 replaced later.
945 (mh-identity-attribution-verb-start): New variable. Holds the
946 marker for the start of the attribution verb.
947 (mh-identity-attribution-verb-end): New variable. Holds the
948 marker for the end of the attribution verb.
949
950 * mh-customize.el (mh-identity-handlers): Add new
951 ":attribution-verb" tag for the attribution-verb handler.
952 (mh-identity-list): Idem.
953
954 * mh-comp.el (mh-yank-cur-msg): Insert attribution verb using
955 mh-identity-insert-attribution-verb.
956 (mh-extract-from-attribution): Extract only the name from the From
957 line, without appending `mh-extract-from-attribution-verb' since
958 markers need to be inserted around that now.
959
960 2003-11-12 Bill Wohler <wohler@newt.com>
961
962 * mh-e.el (mh-rmail, mh-nmail): Well, actually, we run in both GNU
963 Emacs and XEmacs, so removed the "GNU" in the docstrings unless
964 one is strictly talking about GNU Emacs.
965
966 * mh-comp.el (mh-smail, mh-smail-batch, mh-smail-other-window):
967 Ditto.
968
969 2003-11-11 Bill Wohler <wohler@newt.com>
970
971 * mh-customize.el (mh-customize): Minor docstring change.
972 (mh, mh-e): The short description for MH-E is: The GNU Emacs
973 Interface to the MH Mail System. Therefore, updated docstrings
974 accordingly.
975
976 * mh-comp.el (mh-smail, mh-smail-batch, mh-smail-other-window):
977 Ditto.
978
979 * mh-e.el (mh-rmail, mh-nmail): Ditto.
980
981 2003-11-10 Satyaki Das <satyakid@stanford.edu>
982
983 * mh-mime.el (mh-mml-to-mime): In case errors happen in
984 mml-to-mime, restore contents of the draft buffer (closes SF
985 #839303).
986
987 2003-11-07 Bill Wohler <wohler@newt.com>
988
989 * mh-customize.el (mh-letter-mode-hook): Moved to mh-sending-mail
990 group (where it is now documented in the manual).
991 (mh-pick-mode-hook): Moved to mh-index group (where it is now
992 documented in the manual).
993
994 * mh-loaddefs.el: Deleted per our discussion on mh-e-devel. No
995 more conflicts! No more check-ins! Anyone pulling CVS MH-E is
996 expected to compile. This file shall be added to the tarball so
997 that users of the distribution are not.
998
999 2003-11-07 Mark D. Baushke <mdb@gnu.org>
1000
1001 * mh-loaddefs.el: Regenerated.
1002
1003 * mh-customize.el (mh-forward-hook): Define new hook.
1004 * mh-comp.el (mh-forward): Use it.
1005
1006 2003-11-07 Satyaki Das <satyakid@stanford.edu>
1007
1008 * mh-loaddefs.el: Regenerated.
1009
1010 * mh-utils.el (mh-show-toggle-mime-buttons)
1011 (mh-show-display-with-external-viewer): New interactive functions
1012 callable from the show buffer.
1013 (mh-show-mime-map): Add bindings for "K t" and "K e".
1014 (mh-show-msg): Propagate change to
1015 mh-display-buttons-for-inline-parts-flag to the show buffer.
1016
1017 * mh-mime.el (mh-display-with-external-viewer): New interactive
1018 function to display MIME parts with external viewer (closes SF
1019 #839318).
1020
1021 * mh-e.el (mh-folder-mode): Make the variable
1022 mh-display-buttons-for-inline-parts-flag buffer-local so that
1023 display of MIME buttons can be toggled.
1024 (mh-toggle-mime-buttons): New interactive function to toggle
1025 display of MIME buttons.
1026 (mh-mime-map): Modified to add bindings for "K t" and "K e".
1027
1028 2003-11-04 Steve Youngs <sryoungs@bigpond.net.au>
1029
1030 * Makefile (XEMACS_LOADDEFS_FILE): New. Used to generate
1031 mh-loaddefs.el in XEmacs.
1032 (XEMACS_LOADDEFS_COOKIE): Ditto.
1033 (XEMACS_LOADDEFS_PKG_NAME): Ditto.
1034 (xemacs): Add target to build mh-loaddefs.el in XEmacs
1035 (clean-xemacs): Remove `mh-loaddefs.el*'
1036 (loaddefs-xemacs): New rule to build mh-loaddefs.el in XEmacs.
1037
1038 2003-11-02 Peter S Galbraith <psg@debian.org>
1039
1040 * mh-init.el (mh-variant-set-variant): Reset `mh-x-mailer-string'
1041 when we select an MH variant.
1042
1043 2003-11-02 Jeffrey C Honig <jch@honig.net>
1044
1045 * mh-loaddefs.el: Regenerated.
1046
1047 * mh-funcs.el (mh-print-msg): Move to mh-print.el.
1048
1049 * mh-e.el (mh-folder-mode-map): Add mh-print-msg ("l") back, it
1050 will print a message that this usage is deprecated.
1051
1052 * mh-print.el (require, mh-ps-print-msg, mh-ps-print-msg-file):
1053 Require mh-funcs for mh-note-printed. PS print functions were not
1054 setting the printed notation. Move mh-print-msg here for
1055 consistency. Print message if mh-print-msg invoked via deprecated
1056 key binding.
1057
1058 2003-11-01 Peter S Galbraith <psg@debian.org>
1059
1060 * Makefile: Add target to make `mh-startup.el', a file containg
1061 usual entry commands into MH-E to be used for users installing
1062 MH-E separately from Emacs.
1063
1064 * README: Document the above for users.
1065
1066 2003-10-29 Jeffrey C Honig <jch@honig.net>
1067
1068 * mh-utils.el (mh-show-ps-print-map): Add "?" and "l" to
1069 mh-show-ps-print-map.
1070
1071 * mh-e.el (mh-ps-print-map, mh-help-messages): Add "?" and "l" to
1072 mh-ps-print-map. Add "l" to help message.
1073
1074 2003-10-27 Bill Wohler <wohler@newt.com>
1075
1076 * Makefile (MH-E-SRC): Moved mh-xemacs.el to new variable
1077 MH-E-XEMACS-SRC.
1078 (MH-E-XEMACS-SRC): New variable to hold XEmacs source files.
1079 (MH-E-XEMACS-OBJ): New variable to hold XEmacs object files.
1080 (clean): Moved XEmacs-specific code to clean-xemacs.
1081 (xemacs): Added clean-xemacs prerequisite. Moved down to
1082 XEmacs section of file.
1083 (clean-xemacs): New target to remove XEmacs-specific files.
1084 (compile-xemacs): Added $(MH-E-XEMACS-SRC) prerequisite.
1085 (dist): Added $(MH-E-XEMACS-SRC) to tarball.
1086
1087 2003-10-27 Satyaki Das <satyakid@stanford.edu>
1088
1089 * mh-loaddefs.el: Regenerated.
1090
1091 * mh-index.el (mh-indexer-choices): Remove option for the non-free
1092 glimpse indexer (closes SF #831276).
1093 (mh-glimpse-binary, mh-glimpse-directory)
1094 (mh-glimpse-execute-search, mh-glimpse-next-result): Functions
1095 and variables to implement glimpse support are removed.
1096
1097 * mh-customize.el (mh-index-program): Remove option for glimpse.
1098
1099 2003-10-24 Satyaki Das <satyakid@stanford.edu>
1100
1101 * mh-customize.el: Remove top-level test for toolbar enabled
1102 XEmacs since it is not needed.
1103 (mh-tool-bar-define): Add test for XEmacs toolbar in the functions
1104 mh-toolbar-init, mh-tool-bar-letter-buttons-set and
1105 mh-tool-bar-folder-buttons-set. This enables proper compilation
1106 irrespective of whether the XEmacs was built with toolbar support
1107 or not.
1108
1109 * mh-comp.el (mh-letter-mode): Remove conditional since it is not
1110 needed.
1111
1112 * mh-e.el (mh-folder-mode): Same as above.
1113
1114 * mh-utils.el (mh-show-mode): Same as above.
1115
1116 * mh-xemacs.el (mh-xemacs-icon-map): Remove condition on toolbar
1117 presence since we want the build to work if XEmacs without
1118 toolbars is used during compilation.
1119
1120 2003-10-23 Bill Wohler <wohler@newt.com>
1121
1122 * mh-customize.el: The Great Reorganization. Sorted groups
1123 alphabetically. Aligned variables in customization groups with
1124 manual sections. Group docstrings changed to match manual chapter
1125 titles.
1126
1127 2003-10-22 Satyaki Das <satyakid@stanford.edu>
1128
1129 * mh-speed.el (timer): Avoid compiler warning in XEmacs.
1130
1131 2003-10-22 Steve Youngs <sryoungs@bigpond.net.au>
1132
1133 * Makefile (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner
1134 build environment.
1135 (AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and
1136 'AUTOLOAD_FILE'.
1137 (AUTOLOAD_PACKAGE_NAME): New.
1138 (AUTOLOAD_FILE): New.
1139 (all): Don't set $EMACS_HOME if building with XEmacs.
1140 (xemacs): Use 'compile-xemacs' instead of 'compile'.
1141 (auto-autoloads.elc): Use new $AUTOLOAD_* vars and allow for
1142 '-no-autoloads'.
1143 (custom-load.elc): Allow for '-no-autoloads'.
1144 (compile-xemacs): New. It allows for the '-no-autoloads' option
1145 and byte-compiles all the source files with a single instance of
1146 XEmacs.
1147
1148 * mh-e.el (mh-folder-mode): Only load the toolbar in XEmacs if
1149 toolbar support is available.
1150
1151 * mh-comp.el (mh-letter-mode): Only load the toolbar in XEmacs if
1152 toolbar support is available.
1153
1154 * mh-customize.el: Require 'mh-xemacs' at toplevel when
1155 'mh-xemacs-flag' is non-nil.
1156 Wrap all the toolbar code in a test that is true if using
1157 GNU/Emacs or a toolbar-enabled XEmacs.
1158
1159 * mh-print.el (mh-ps-spool-a-msg): Comment out
1160 `clean-message-header-flag' because it isn't used anywhere.
1161
1162 * mh-utils.el (mh-show-mode): Only load the toolbar in XEmacs if
1163 toolbar support is available.
1164
1165 * mh-xemacs.el: Autoload `regexp-opt', `customize-group',
1166 `view-mode', `with-electric-help', `pp', `sort-numeric-fields',
1167 `reverse-region', and `goto-address' at compile time.
1168 (mh-xemacs-has-toolbar-flag): New. This is non-nil when XEmacs
1169 has toolbar support.
1170 (mh-xemacs-toolbar-*-icon): Use it.
1171
1172 2003-10-21 Mark D. Baushke <mdb@gnu.org>
1173
1174 * mh-identity.el (mh-identity-field-handler): Fields that begin
1175 with ":" must have an mh-identity-handler defined or the user
1176 gets an error.
1177
1178 2003-10-17 Peter S Galbraith <psg@debian.org>
1179
1180 * mh-customize.el (mh-identity-list): This change affects users!
1181 The keyword "signature" becomes ":signature". The recently added
1182 keyword "pgg-default-user-id" becomes ":pgg-default-user-id".
1183 (mh-auto-fields-list): The keyword "Identity" becomes ":identity".
1184 (mh-identity-handlers): Idem for signature and pgg-default-user-id.
1185
1186 * mh-comp.el (mh-insert-auto-fields): Idem for Identity.
1187
1188 2003-10-17 Peter S Galbraith <psg@debian.org>
1189
1190 * mh-xemacs.el: Add eval-and-compile call to (load "toolbar" t t) to
1191 make sure `toolbar-make-button-list' is defined. We can't use
1192 require because Emacs doesn't have this library.
1193
1194 2003-10-16 Bill Wohler <wohler@newt.com>
1195
1196 * mh-customize.el (mh-signature-file-name)
1197 (mh-letter-insert-signature-hook): Merge docstring with manual.
1198
1199 * mh-comp.el (mh-file-is-vcard-p): Checkdoc fix.
1200 (mh-insert-signature): Merge docstring with manual.
1201
1202 * mh-customize.el (mh-junk): Changed manual link in defgroup from
1203 Customizing mh-e to Junk.
1204 (mh-junk-function-alist): Moved SpamAssassin to first in list on
1205 the hunch that it is the most popular and should be chosen if
1206 other anti-spam programs exist.
1207 (mh-junk-mail-folder): Since the variable can accept values other
1208 than folder names, renamed to mh-junk-disposition to more
1209 accurately reflect the content. Merge docstring with manual.
1210 (mh-junk-program): Moved SpamAssassin to the top of the menu for
1211 the same reason presented in mh-junk-function-alist. Also, fixed
1212 case of spam programs to match official usage. Merge docstring
1213 with manual.
1214
1215 * mh-junk.el (mh-junk-blacklist):
1216 s/mh-junk-mail-folder/mh-junk-disposition/. Merge docstring with
1217 manual.
1218 (mh-junk-whitelist): Merge docstring with manual.
1219 (mh-bogofilter-blacklist): No longer suggest using automatic
1220 classification so use -s instead of -Ns.
1221 (mh-bogofilter-whitelist): No longer suggest using automatic
1222 classification so use -n instead of -Sn.
1223 (mh-spamassassin-blacklist, mh-spamassassin-whitelist): Merge
1224 docstring with manual. Moved spamassassin functions to top of file
1225 so functions appear in same order that they are presented in menu.
1226
1227 2003-10-09 Peter S Galbraith <psg@debian.org>
1228
1229 * mh-customize.el (mail-citation-hook): Moved from mh-comp.el and
1230 made into a defcustom.
1231
1232 2003-10-09 Satyaki Das <satyakid@stanford.edu>
1233
1234 * mh-loaddefs.el: Regenerated.
1235
1236 * mh-comp.el (mh-get-header-field): Add autoload cookie.
1237
1238 * mh-utils.el (mh-show-ps-print-toggle-mime)
1239 (mh-show-ps-print-toggle-color, mh-show-ps-print-toggle-faces)
1240 (mh-show-ps-print-msg-file, mh-show-ps-print-msg)
1241 (mh-show-ps-print-msg-show): New interactive functions callable
1242 from the show buffer.
1243 (mh-show-ps-print-map): New key map for printing.
1244
1245 * mh-e.el (mh-folder-mode-map): Remove key binding for
1246 mh-print-msg.
1247 (mh-ps-print-map): Add new key map for printing.
1248
1249 * Makefile (MH-E-SRC): Add mh-print.el.
1250
1251 2003-10-07 Satyaki Das <satyakid@stanford.edu>
1252
1253 * mh-utils.el (mh-x-image-url-fetch-image): In XEmacs,
1254 make-temp-file is not present. So to avoid security problems, use
1255 a temporary file in the user's home directory. This avoids issues
1256 in creating files in a world-writable directory.
1257
1258 * mh-mime.el (mh-signature-highlight): In Emacs, arrange for the
1259 overlay to be freed when it is no longer needed. Also, implement
1260 signature highlighting in XEmacs.
1261
1262 2003-10-05 Satyaki Das <satyakid@stanford.edu>
1263
1264 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Respect the
1265 value of `mm-verify-option' and `mm-decrypt-option'.
1266 (mh-mime-display-security): Rearrange code a bit to avoid too many
1267 new lines being inserted when message verification/decryption is
1268 carried out while the message is being read. Also use the
1269 point-m{in|ax}-marker functions to make the function easier to read.
1270 (mh-mime-security-press-button): Extend the function so that the
1271 user can verify/decrypt messages while reading them.
1272
1273 * mh-gnus.el (mm-possibly-verify-or-decrypt): Added to avoid
1274 compiler warning with old Gnus.
1275
1276 * mh-utils.el (mh-x-image-url-sane-p): New function which checks
1277 if the URL in X-Image-URL is something we can handle.
1278 (mh-x-image-url-display): Don't display image if the URL looks
1279 malformed.
1280
1281 2003-10-04 Mark D Baushke <mdb@gnu.org>
1282
1283 * mh-comp.el (mh-letter-menu): Simplify menu heading.
1284
1285 2003-10-03 Mark D Baushke <mdb@gnu.org>
1286
1287 * mh-mime.el (mh-mml-query-cryptographic-method): Avoid
1288 revisionist history and still provide a good default.
1289
1290 * mh-comp.el (mh-letter-menu): Remove the Disable Security
1291 parenthetical comment.
1292
1293 * mh-loaddefs.el: Regenerated.
1294
1295 * mh-customize.el (mh-mml-method-default): What method should be
1296 used in secure directives.
1297
1298 * mh-mime.el (mh-secure-message): New function used to generate
1299 the mml security tags.
1300 (mh-mml-unsecure-message): New wrapper function around
1301 mml-unsecure-messages.
1302 (mh-mml-secure-message-sign-pgpmime): Remove function.
1303 (mh-mml-secure-message-encrypt-pgpmime): Ditto.
1304 (mh-mml-cryptographic-method-history): New variable.
1305 (mh-mml-query-cryptographic-method): New function.
1306 (mh-mml-secure-message-encrypt): Ditto.
1307 (mh-mml-secure-message-signencrypt): Ditto.
1308 (mh-mml-secure-message-sign): Ditto.
1309
1310 * mh-comp.el (mh-letter-menu, mh-letter-mode-help-messages,
1311 (mh-letter-mode-map): Update to use new functions.
1312
1313 2003-09-26 Satyaki Das <satyakid@stanford.edu>
1314
1315 * mh-seq.el (mh-interactive-range): The function has been
1316 extended so that it now takes a default result to return if no
1317 interactive prefix arg is given and no region is active.
1318
1319 * mh-e.el (mh-add-sequence-notation): If transient-mark-mode is
1320 on, then the active region is deactivated based on whether a user
1321 sequence or a internal sequence is being notated. The change
1322 removes this inconsistency.
1323 (mh-catchup, mh-folder-map): A new interactive function to mark
1324 messages as read has been added and bound to "F c" in the folder
1325 mode.
1326
1327 * mh-utils.el (mh-show-catchup, mh-show-folder-map): New
1328 interactive function callable from show mode buffers has been
1329 bound to "F c".
1330
1331 2003-09-24 Bill Wohler <wohler@newt.com>
1332
1333 * mh-customize.el (mh-clean-message-header-flag)
1334 (mh-invisible-header-fields-default, mh-invisible-header-fields):
1335 Merge docstring with manual.
1336
1337 2003-09-24 Mark D. Baushke <mdb@gnu.org>
1338
1339 * mh-junk.el (mh-junk-blacklist): Junked messages should be put
1340 into the mh-seen-list to avoid propagating the unseen sequence
1341 into the spam folder.
1342
1343 * mh-loaddefs.el: Regenerated.
1344
1345 * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Add an optional
1346 dontsign argument to remove an existing secure message directive.
1347 Update the docstring -- this fuction does not allow for
1348 encrypt/sign, just sign directives.
1349
1350 * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Use
1351 mml-insert-tag directly to provide a sender if
1352 mh-identity-pgg-default-user-id is set.
1353 (mh-mml-secure-message-encrypt-pgpmime): Use mml-insert-tag
1354 directly to provide a sender if this message is to be both signed
1355 and encrypted and mh-identity-pgg-default-user-id is set.
1356
1357 2003-09-23 Bill Wohler <wohler@newt.com>
1358
1359 * mh-alias.el (Commentary): Removed as it is now in the manual.
1360 (mh-alias-system-aliases): Moved here from mh-customize.el. By
1361 definition, "system" definitions are not user-visible, and user
1362 filenames are in the the Aliasfile: profile component, so this
1363 variable really shouldn't be a defcustom
1364 (mh-alias-tstamp, mh-alias-filenames, mh-alias-reload)
1365 (mh-alias-add-alias, mh-alias-grab-from-field)
1366 (mh-alias-add-address-under-point, mh-alias-apropos): Merge
1367 docstring with manual.
1368 (mh-alias-reload-maybe): Minor comment update.
1369 (mh-alias-insert-file): Merge docstring with manual. Removed
1370 "[press TAB]" from prompt since users should know about completion
1371 and space can be used as well.
1372 (mh-alias-for-from-p): No longer returns a surprising result (t if
1373 there was **not** an alias for the From field) if the From header
1374 field is missing. This function now returns what you would expect
1375 a function of this name to return. Renamed from
1376 mh-alias-from-has-no-alias-p since negatives in the function name
1377 make logic harder to follow.
1378 (mh-alias-add-alias-to-file): Merge docstring with manual.
1379 Improved verbiage of prompt. Aliases are now inserted "[b]efore"
1380 or "[a]fter" the existing alias instead of "[i]nsert" or
1381 "[a]ppend." Note how the new usage flows better.
1382
1383 * mh-customize.el (mh-alias): Changed manual link in defgroup from
1384 Customizing mh-e to Aliases.
1385 (mh-alias-grab-from-field button): mh-alias-from-has-no-alias-p
1386 renamed to mh-alias-for-from-p and no longer returns surprising
1387 value if there isn't a From field. Therefore, enable button if
1388 there is a From header field and mh-alias-for-from-p returns nil.
1389 (mh-letter-complete-function)
1390 (mh-alias-completion-ignore-case-flag, mh-alias-flash-on-comma)
1391 (mh-alias-insert-file, mh-alias-insertion-location)
1392 (mh-alias-local-users, mh-alias-local-users-prefix)
1393 (mh-alias-passwd-gecos-comma-separator-flag): Merge docstring with
1394 manual.
1395 (mh-alias-system-aliases): Moved to mh-alias.el.
1396
1397 * mh-comp.el (mh-letter-complete-function-alist): Removed comment
1398 about making this customizable since I didn't think it seemed
1399 appropriate in the manual.
1400 (mh-letter-complete): Merge docstring with manual.
1401
1402 2003-09-23 Satyaki Das <satyakid@stanford.edu>
1403
1404 * mh-speed.el (mh-speed-flists): When exiting emacs, don't ask if
1405 the flists process should be killed.
1406
1407 * mh-e.el (mh-folder-message-menu): Enable undo menu entry only
1408 if something can be undone.
1409
1410 * mh-customize.el (undo): Enable undo button only if something
1411 can be undone.
1412
1413 2003-09-22 Peter S Galbraith <psg@debian.org>
1414
1415 * mh-customize.el (mh-identity-handlers): New defcustom. Alist of
1416 Handler functions for mh-identity (downcased) fields.
1417 (mh-identity-list): Add support for pgg-default-user-id.
1418
1419 * mh-identity.el (mh-insert-identity): Modified to use
1420 `mh-identity-handlers', adding hacking flexibility for those who
1421 might need it.
1422 (mh-identity-field-handler): New function. Return the handler for
1423 a FIELD or nil if none set. The field name is downcased.
1424 (mh-identity-handler-gpg-identity): New function; handler for pgg
1425 pgp identities. It sets a buffer-local value for
1426 `mh-pgg-default-user-id' which must be handled by mh-send-letter.
1427 (mh-identity-pgg-default-user-id): New buffer-local variable to
1428 hold the requested key ID.
1429 (mh-identity-handler-signature): New function; handler t insert
1430 and remove signature files.
1431 (mh-identity-handler-default): New function; the default handler
1432 to insert or remove generic field.
1433 (mh-identity-handler-top): Insert a field at the top of the
1434 header.
1435 (mh-identity-handler-bottom): Insert a field at the bottom of the
1436 header.
1437 (mh-header-field-delete): Make more robust wrt the field having a
1438 trailing colon or not.
1439 (mh-identity-make-menu): Add a "Customize Identities" menu entry.
1440
1441 * mh-loaddefs.el: Regenerated.
1442
1443 2003-09-21 Peter S Galbraith <psg@debian.org>
1444
1445 * mh-init.el (mh-variant-set): Bug fix for mh-variant long names
1446 with version numbers.
1447
1448 * mh-e.el (mh-scan-format): patch from Sergey Poznyakoff.
1449 GNU mailutils now supports the %(decode) format
1450
1451 2003-09-20 Satyaki Das <satyakid@stanford.edu>
1452
1453 * mh-gnus.el (mh-mm-text-html-renderer): New function to query
1454 which HTML renderer is being used by Gnus.
1455
1456 * mh-mime.el (mh-signature-highlight): Renderers used to display
1457 HTML parts garble the signature separator in various ways. The
1458 function has been modified to take that into account.
1459 (mh-mime-display-single, mh-mm-display-part): Pass the new
1460 optional argument to `mh-signature-highlight'.
1461
1462 2003-09-19 Mark D. Baushke <mdb@gnu.org>
1463
1464 * mh-mime.el (mh-have-file-command, mh-file-mime-type): Made an
1465 mh-autoload as they are used in mh-comp.el.
1466
1467 * mh-loaddefs.el: Regenerated.
1468
1469 2003-09-18 Peter S Galbraith <psg@debian.org>
1470
1471 * mh-comp.el (mh-insert-fields): Make sure field has a colon.
1472
1473 2003-09-18 Satyaki Das <satyakid@stanford.edu>
1474
1475 * mh-seq.el (mh-toggle-tick): Don't hardcode the name of the tick
1476 sequencence in the function. This would have caused improper
1477 highlighting of the tick sequence if the user had changed its
1478 name.
1479
1480 2003-09-15 Satyaki Das <satyakid@stanford.edu>
1481
1482 * mh-e.el (mh-folder-message-menu): Fix a little bug which shows
1483 up as a problem during compilation (closes SF #806577).
1484
1485 2003-09-15 Mark D. Baushke <mdb@gnu.org>
1486
1487 * mh-customize.el (mh-invisible-header-fields-internal): Added
1488 a new field for GNU mailutils per Sergey Poznyakoff.
1489
1490 2003-09-09 Satyaki Das <satyakid@stanford.edu>
1491
1492 * mh-utils.el (vcard): Unconditionally load vcard.el, if
1493 available, so that vcards are always inlined.
1494
1495 2003-09-09 Peter S Galbraith <psg@debian.org>
1496
1497 * mh-mime.el (mh-file-mime-type-substitutions): Add entry to
1498 convert text/plain .vcf files to text/x-vcard.
1499 (mh-mime-content-types): Add text/x-vcard.
1500
1501 2003-09-09 Bill Wohler <wohler@newt.com>
1502
1503 * mh-comp.el (mh-rejected-letter-start): Added strings for qmail
1504 and exim (addresses SF #404965).
1505
1506 2003-09-09 Satyaki Das <satyakid@stanford.edu>
1507
1508 * mh-gnus.el (mm-inline-text-vcard): Make vcard display work with
1509 Gnus-5.9. The extra file vcard.el is still needed.
1510
1511 * mh-mime.el (mh-signature-highlight): New function that
1512 highlights message signatures.
1513 (mh-mm-display-part, mh-mime-display-single): Highlight signatures
1514 using `mh-signature-highlight' (closes SF #802722). More work is
1515 needed for XEmacs.
1516 (mh-mime-display): Highlight signature in non-MIME email too.
1517
1518 * mh-customize.el (mh-show-signature-face): New face used to
1519 display message signature.
1520
1521 2003-09-08 Peter S Galbraith <psg@debian.org>
1522
1523 * mh-e.el (mh-version): Do something sensible when
1524 mh-variant-in-use is undefined.
1525 * mh-junk.el (mh-spamassassin-blacklist)
1526 (mh-spamassassin-whitelist): Change options to be compatoble with
1527 old version of spamassassin (V2.20).
1528
1529 2003-09-07 Mark D. Baushke <mdb@gnu.org>
1530
1531 * mh-mime.el (mh-access-types): Per RFC 2049, the "afs"
1532 access-type for message/external-body has been removed.
1533 Update the comments to reference the current MIME RFCs
1534 2045, 2046 and 2049 rather than the obsolete RFC 1521.
1535
1536 2003-09-05 Peter S Galbraith <psg@debian.org>
1537
1538 * mh-e.el (mh-version): Bumped version number to 7.4.2+cvs.
1539
1540 2003-09-04 Satyaki Das <satyakid@stanford.edu>
1541
1542 * mh-utils.el (mh-picon-directory-list, mh-picon-directory): The
1543 mh-picon-directory-list variable supersedes mh-picon-directory.
1544 (mh-picon-existing-directory-list): New variable that contains
1545 the list of picon directories that actually exist.
1546 (mh-picon-set-directory-list): New function to update
1547 mh-picon-existing-directory-list from mh-picon-directory-list.
1548 (mh-picon-get-image): The function has been modified to search a
1549 list of possible picon source directories. The regexp to extract
1550 the username from the email address has been made smarter so that
1551 it can recognize email addresses of the form user+random@foo.net
1552 and extract "user" from there.
1553 (mh-picon-file-contents): The file type recognition code has been
1554 moved from mh-picon-get-image into this function.
1555 (mh-picon-generate-path): The function has been generalized so
1556 that searching multiple paths is now feasible.
1557
1558 * mh-pick.el, mh-e.el: Checkdoc fixes.
1559
1560 2003-09-02 Satyaki Das <satyakid@stanford.edu>
1561
1562 * mh-identity.el (eval-when): It seems that the mh-comp-loaded
1563 code isn't required any more.
1564
1565 2003-08-30 Satyaki Das <satyakid@stanford.edu>
1566
1567 * mh-init.el (mh-variant-set): Replace `error' with `message' so
1568 that Emacs CVS will compile without errors if no MH variant is
1569 present.
1570
1571 2003-08-29 Satyaki Das <satyakid@stanford.edu>
1572
1573 * mh-init.el (mh-variant-set): Add interactive spec to the
1574 function.
1575
1576 * mh-mime.el (mh-mhn-compose-external-type): Optional arguments
1577 are prompted for only if prefix arg is given.
1578
1579 2003-08-29 Mark D. Baushke <mdb@gnu.org>
1580
1581 * mh-mime.el (mh-mhn-compose-external-type): Modified to be
1582 interactive and prompts for many of the fields. Made an
1583 mh-autoload.
1584 (mh-access-types): New table derived from RFC2017, RFC1521 and
1585 RFC1738, used in a completing-read in
1586 mh-mhn-compose-external-type.
1587
1588 * mh-loaddefs.el: Regenerated.
1589
1590 2003-08-26 Satyaki Das <satyakid@stanford.edu>
1591
1592 * mh-utils.el (mh-picon-image-types, mh-picon-get-image): Avoid
1593 compiler warnings.
1594 (mh-sub-folders-actual): Parsing of the output from folders has
1595 been modified, so that it also works for MH (closes SF #792300).
1596
1597 * mh-junk.el (mh-spamassassin-whitelist): Avoid calling
1598 ietf-drums-parse-address if it isn't present.
1599 (mh-spamassassin-identify-spammers): Avoid use of puthash so that
1600 Emacs20 doesn't complain.
1601
1602 * mh-e.el (mh-colors-available-p): Wrap call to
1603 display-color-cells in a mh-funcall-if-exists to avoid compiler
1604 warning in Emacs20.
1605
1606 2003-08-25 Satyaki Das <satyakid@stanford.edu>
1607
1608 * mh-e.el (mh-colors-available-flag, mh-folder-mode): New
1609 variable to track if colors are available and it is set
1610 appropriately in mh-folder-mode.
1611 (mh-colors-available-p, mh-colors-in-use-p): Two functions to
1612 check whether colors are available and if they are actually being
1613 used.
1614 (mh-add-sequence-notation): Just changing a scan line doesn't
1615 make font-lock refontify the line in Emacs20. So explicitly
1616 refontify the scan line in such a situation.
1617 (mh-internal-seq): If colors aren't being used then treat the
1618 tick sequence like a normal user sequence.
1619
1620 * mh-seq.el (mh-put-msg-in-seq): Do font-lock highlighting after
1621 the messages have been added to the sequence.
1622 (mh-toggle-tick): Modified so that highlighting of the ticked
1623 messages will be properly done. If font-lock isn't being used or
1624 if colors aren't supported by the Emacs where MH-E is running,
1625 then the `%' character is used to annotate ticked messages.
1626
1627 * mh-utils.el (mh-picon-image-types): Since Emacs20 doesn't have
1628 image-type-available-p, wrap calls to that function in
1629 ignore-errors.
1630 (mh-add-msgs-to-seq): Do the font-lock highlighting after the
1631 messages have been added.
1632
1633 2003-08-24 Bill Wohler <wohler@newt.com>
1634
1635 * Makefile (MH-E-SRC): Replaced mh-xemacs-compat.el and
1636 mh-xemacs-icons.el with mh-xemacs.el.
1637
1638 * mh-e.el: Don't require mh-xemacs-compat which no longer exists.
1639 The XEmacs stuff gets required by mh-customize.el which is
1640 required by mh-utils.el which is required by mh-e.el. This all
1641 happens before mh-xemacs-compat was required, so all should be
1642 well.
1643
1644 * mh-unit.el (mh-unit-files): Replaced mh-xemacs-compat.el and
1645 mh-xemacs-icons.el with mh-xemacs.el.
1646
1647 * mh-xemacs.el: New file from concatenation of mh-xemacs-compat.el
1648 and mh-xemacs-icons.el which were removed since their names
1649 exceeded DOS 8+3 limits.
1650
1651 * mh-customize.el (mh-compose-skipped-header-fields): Use
1652 uppercase for field names.
1653
1654 2003-08-21 Bill Wohler <wohler@newt.com>
1655
1656 * mh-customize.el (mh-sequences): Introduced new customization
1657 group for sequences.
1658 (mh-refile-preserves-sequences-flag, mh-tick-seq)
1659 (mh-update-sequences-after-mh-show-flag): Moved option from
1660 mh-folder to mh-sequences group. Synced docstring with manual.
1661 (mh-index-ticked-messages-folders): Since mh-tick-seq is
1662 customizable, use it instead of tick in the docstring.
1663
1664 * mh-index.el (mh-index-ticked-messages): Since mh-tick-seq is
1665 customizable, use it instead of tick in the docstring.
1666
1667 * mh-seq.el (mh-msg-is-in-seq): Can now specify an alternate
1668 message number with a prefix argument.
1669 (mh-narrow-to-tick): Since mh-tick-seq is customizable, use it
1670 instead of tick in the docstring. Also, use mh-tick-seq instead of
1671 tick in warning message.
1672
1673 2003-08-20 Peter S Galbraith <psg@debian.org>
1674
1675 * mh-customize.el: setq mh-variant to 'none when byte-compiling,
1676 since we don't care what MH variant (if any) is on the system at
1677 that point.
1678
1679 * mh-init.el (mh-variant-set): Don't probe for MH variant when
1680 mh-variant is set to'none (during byte-compilation).
1681
1682 2003-08-19 Peter S Galbraith <psg@debian.org>
1683
1684 * mh-pick.el (mh-pick-single-dash): New defconst. Search
1685 components that are supported by single-dash option in
1686 pick.
1687 (mh-pick-regexp-builder): Use `mh-pick-single-dash' and adapt
1688 patch from Sergey Poznyakoff.
1689
1690 * mh-comp.el (mh-reply): mu-mh supports `repl -group', thanks to
1691 Sergey Poznyakof.
1692
1693 * mh-init.el: checkdoc fixes.
1694
1695 2003-08-19 Bill Wohler <wohler@newt.com>
1696
1697 * mh-seq.el: (mh-edit-pick-expr): Renamed from mh-read-pick-regexp
1698 since the new name is more indicative of what the function does.
1699 Prompt now says "Pick expression" instead of "Pick regexp".
1700 (mh-narrow-to-subject): Rewrote function to behave like other
1701 similar functions.
1702 (mh-narrow-to-header-field, mh-narrow-to-range)
1703 (mh-narrow-to-tick): s/regexp/pick-expr/.
1704 (mh-widen, mh-narrow-to-from, mh-narrow-to-cc, mh-narrow-to-to):
1705 Synced docstrings with manual
1706
1707 2003-08-19 Bill Wohler <wohler@newt.com>
1708
1709 Released MH-E version 7.4.2.
1710
1711 * MH-E-NEWS, README: Updated for release 7.4.2.
1712
1713 * mh-e.el (Version, mh-version): Updated for release 7.4.2.
1714
1715 * mh-e.el (mh-folder-size, mh-folder-size-folder)
1716 (mh-folder-size-flist): If flist is not present use folder to find
1717 the number of messages in the folder. Also the .mh_sequences file
1718 is read to find the number of unseen messages (patch from 1.349
1719 and branched for 7.4.2, closes SF #791021).
1720
1721 * mh-utils.el (mh-flists-present-flag, mh-find-progs): Introduce a
1722 new variable to test for the presence of the flists program and
1723 set it in mh-find-progs.
1724 (mh-collect-folder-names): Use folders instead of flists. One
1725 advantage is that folders is available on MH while flists is not.
1726 Another is that if an explicit -sequence argument isn't given and
1727 Unseen-Sequence profile is not present then flists croaks while
1728 folders doesn't.
1729 (mh-collect-folder-names-filter): Don't consider folder names that
1730 start with a `.' character. This is needed since the folders
1731 command doesn't filter them out like flists does.
1732 (patches from 1.307 and 1.309 and branched for 7.4.2, closes SF
1733 #791021).
1734
1735 2003-08-18 Bill Wohler <wohler@newt.com>
1736
1737 * mh-index.el (mh-index-sequenced-messages)
1738 (mh-index-new-messages, mh-index-ticked-messages): Updated
1739 docstrings from manual (closes SF #718833).
1740
1741 * mh-customize.el (mh-variant): Checkdoc fix.
1742 (mh-index-new-messages-folders): Don't mention defvar in
1743 docstring, use `+inbox' instead.
1744 (mh-index-ticked-messages-folders): Don't mention defvar in
1745 docstring, use `tick' instead.
1746
1747 * mh-comp.el (mh-repl-group-formfile): Checkdoc fix.
1748
1749 2003-08-18 Peter S Galbraith <psg@debian.org>
1750
1751 * mh-init.el (mh-variant-set, mh-sys-path, mh-variant-info): Add
1752 support for GNU mailutils.
1753 (mh-variant-mu-mh-info): New function to detect mu-mh and return
1754 info about it for `mh-variants'.
1755
1756 * mh-e.el (mh-regenerate-headers): mu-mh has different error
1757 message for a invalid mesage list.
1758
1759 2003-08-18 Peter S Galbraith <psg@debian.org>
1760
1761 * mh-customize.el (mh-e): New defgroup. Sort of an alias for the
1762 'mh group that a user might be more likely to find.
1763
1764 2003-08-18 Bill Wohler <wohler@newt.com>
1765
1766 * mh-comp.el (mh-insert-auto-fields-done-local): Docstring tweak.
1767 (mh-compose-and-send-mail): Do not call mh-insert-auto-fields.
1768 This should be done only once in mh-send-letter.
1769
1770 2003-08-18 Peter S Galbraith <psg@debian.org>
1771
1772 * mh-comp.el (mh-letter-mode): Call `mh-find-path unconditionally,
1773 like elsewehere in MH-E.
1774
1775 * mh-utils.el (mh-find-path): Run setup code only if
1776 `mh-find-path-run' is nil such that this is only done once.
1777 Also remove the `setq' for `read-mail-command' and `mail-user-agent'.
1778
1779 2003-08-18 Peter S Galbraith <psg@debian.org>
1780
1781 * mh-e.el: require 'mh-utils first
1782
1783 * mh-customize.el (mh-variant): defcustom moved here.
1784
1785 * mh-init.el (mh-variants): Made an mh-autoload.
1786
1787 2003-08-18 Peter S Galbraith <psg@debian.org>
1788
1789 * Makefile (MH-E-SRC): Added mh-init.el to MH-E-SRC.
1790
1791 * mh-utils.el (mh-find-progs): Deleted. Make obsolete by mh-init.el.
1792 (mh-find-path): Call `mh-variants' instead of now obsolete
1793 `mh-find-progs'.
1794 (mh-path-search): Deleted. Was only used by `mh-find-progs'.
1795
1796 * mh-e.el: require mh-init.el.
1797 (mh-version): Use simpler `mh-variant-in-use'.
1798 (mh-scan-format): Use (mh-variant-p 'nmh) instead of mh-nmh-flag.
1799
1800 * mh-comp.el (mh-insert-x-mailer): Use simpler `mh-variant-in-use'.
1801
1802 * mh-utils.el (mh-progs, mh-lib, mh-lib-progs)
1803 (mh-flists-present-flag): Moved to mh-init.el.
1804 (mh-nmh-flag): Deleted. Use (mh-variant-p 'nmh) instead.
1805
1806 * mh-comp.el (mh-repl-group-formfile, mh-forward, mh-reply)
1807 (mh-send-letter): Use (mh-variant-p 'nmh) instead of mh-nmh-flag.
1808
1809 * mh-mime.el (mh-edit-mhn, mh-mime-save-parts): Use (mh-variant-p
1810 'nmh) instead of mh-nmh-flag.
1811
1812 2003-08-16 Bill Wohler <wohler@newt.com>
1813
1814 * mh-customize.el (mh-folder-selection): New group to hold
1815 variables described in Folder Selection section in manual.
1816 (mh-default-folder-list, mh-default-folder-must-exist-flag,
1817 mh-default-folder-prefix): Moved to mh-folder-selection group.
1818 Updated docstrings per manual update.
1819 (mh-default-folder-for-message-function): New defcustom. Was a
1820 defvar in mh-utils.el. Updated docstring per manual update.
1821
1822 * mh-utils.el (mh-default-folder-for-message-function): Moved to
1823 mh-customize.el.
1824
1825 * mh-e.el (mh-folder-from-address, mh-prompt-for-refile-folder):
1826 Updated docstrings per manual update.
1827
1828 * mh-unit.el (mh-unit-files): Added mh-init.el.
1829
1830 2003-08-16 Peter S Galbraith <psg@debian.org>
1831
1832 * mh-init.el: New file. Code to initialize the MH-E back-end.
1833 Highlights:
1834 (mh-variant): New defcustom. Users may customize `mh-variant' to
1835 switch between available variants.
1836 (mh-variants): Available MH variants are described in this variable.
1837 (mh-variant-in-use, mh-variant-p): Developers may check which
1838 variant is currently in use with the variable `mh-variant-in-use'
1839 or the function `mh-variant-p'.
1840
1841 2003-08-15 Bill Wohler <wohler@newt.com>
1842
1843 * mh-customize.el (mh-auto-fields-list): The manual uses Fcc
1844 instead of fcc, so I've changed the user-visible text
1845 accordingly. I've left the const alone for backwards
1846 compatibility.
1847
1848 2003-08-14 Bill Wohler <wohler@newt.com>
1849
1850 * mh-identity.el (mh-insert-identity): Changed signature deletion
1851 test to test for both markers, rather than testing to see if the
1852 start marker is bound. Since the start marker is defined in this
1853 file, it should always be bound. Suggestion by Satyaki.
1854
1855 * mh-comp.el (mh-send-letter): Go to the top of the draft so that
1856 the user can see which header fields have been inserted. I think
1857 this is more important than leaving point alone or going to the
1858 end to see the signature since Mail-Followup-To or Bcc or cc could
1859 have some deleterious effects.
1860
1861 * mh-customize.el (mh-auto-fields-prompt-flag): New variable.
1862 Non-nil means to prompt before sending if fields inserted.
1863
1864 * mh-comp.el (mh-insert-auto-fields): Now return t if fields
1865 inserted; otherwise nil.
1866 (mh-send-letter): Deleted obsolete documentation about adding
1867 X-Mailer and X-Face. Prompt before sending if auto fields added
1868 and mh-auto-fields-prompt-flag is t.
1869
1870 * mh-customize.el (mh-identity-list): Allow signature to come from
1871 mh-signature-file-name. In this case, the "signature" value is set
1872 to nil. This might not be the best implementation. Suggestions
1873 welcome.
1874
1875 * mh-identity.el (mh-insert-identity): Now that the signature can
1876 be a nil value, moved test higher up in cond so that the test for
1877 a nil value would not be executed first prevening signature
1878 handling. Handle nil signature value by calling
1879 mh-insert-signature with no arguments which means to use
1880 mh-signature-file-name.
1881
1882 * mh-comp.el (mh-insert-signature): Changed text of message if no
1883 signature inserted.
1884
1885 * mh-customize.el (mh-identity-list): Changed "Signature" constant
1886 back to "signature" so it *won't* be backwards-incompatible any
1887 more. I discovered one could use the :tag keyword to get headline
1888 captalization in the menu.
1889
1890 * mh-identity.el (mh-insert-identity): Ditto.
1891
1892 * mh-identity.el (mh-identity-make-menu): Always build menu.
1893 Always create Insert Auto Fields menu item. Just don't enable it
1894 if mh-auto-fields-list is nil. Enable radio buttons always. Make
1895 None a radio button choice with the other identities.
1896
1897 * mh-comp.el (mh-letter-menu): Removed cond on fboundp
1898 'easy-menu-define. We don't do this elsewhere.
1899
1900 2003-08-13 Bill Wohler <wohler@newt.com>
1901
1902 * mh-identity.el (mh-identity-make-menu, mh-insert-identity): Use
1903 headline capitalization in menu items. Even the internal names are
1904 exposed in the customize interface, so they need to be uppercase
1905 too.
1906 (mh-insert-identity): Rather than goto-char to
1907 mh-identity-signature-start before deleting, simply pass it to
1908 delete-region. When setting markers, use point-min-marker and
1909 point-max-marker instead of moving point. Set marker type of
1910 mh-identity-signature-start to t to fix a bug where changing
1911 identity deleted user's text.
1912
1913 * mh-customize.el (mh-identity-list, mh-auto-fields-list):
1914 Reworked docstring. Use headline capitalization. Commented out
1915 implementation details for later deletion or resurrection upon
1916 popular demand. N.B. If your mh-identity-list contains "signature"
1917 then you will need to either edit your .emacs file manually, or
1918 delete your existing "signature" which will become a regular field
1919 with this change and create a new signature. I figured I could get
1920 away with this since 8.0 is a major release, and coinciding with
1921 the manual update will be a MAJOR release. I apologize profusely
1922 that I didn't catch this before it was released.
1923 (mh-identity-default): Use headline capitalization in example.
1924
1925 2003-08-12 Jeffrey C Honig <jch@honig.net>
1926
1927 * mh-customize.el (mh-alias-reloaded-hook): Define
1928 `mh-alias-reloaded-hook'.
1929
1930 * mh-alias.el (mh-alias-reload): Run `mh-alias-reloaded-hook'
1931 after reloading the aliases.
1932
1933 2003-08-12 Mark D. Baushke <mdb@gnu.org>
1934
1935 * mh-comp.el (mh-insert-signature): Use functionp to avoid
1936 the possibility of doing a funcall on a void function.
1937
1938 2003-08-12 Bill Wohler <wohler@newt.com>
1939
1940 * mh-customize.el (mh-identity): Point group manual link to new
1941 Identities section.
1942 (mh-signature-separator-flag): New variable which can be used to
1943 suppress the output of the signature separator.
1944
1945 * mh-comp.el (mh-insert-signature): Use
1946 mh-signature-separator-flag.
1947
1948 * mh-identity.el (mh-insert-identity): If the identity's signature
1949 file didn't exist, an fboundp error was thrown. This was fixed by
1950 removing signature tests that were redundant and out of date with
1951 the tests in mh-insert-signature. Removed second signature
1952 condition as it is now handled in the first signature condition.
1953
1954 2003-08-12 Peter S Galbraith <psg@debian.org>
1955
1956 * mh-identity.el (mh-insert-identity): Don't insert new lines on
1957 signatures anymore.
1958
1959 * mh-comp.el (mh-insert-signature): Make sure signature file is
1960 readable before trying to insert it.
1961
1962 2003-08-11 Bill Wohler <wohler@newt.com>
1963
1964 * mh-comp.el (mh-insert-signature): Unconditionally insert a
1965 newline so that signatures are inserted consistently, and so that
1966 there isn't any text after the cursor so that the user can start
1967 typing his message immediately. Use new variable and function
1968 mh-signature-separator and mh-signature-separator-p.
1969
1970 * mh-customize.el (mh-delete-yanked-msg-window-flag): Checkdoc
1971 fix.
1972 (mh-signature-file-name): Updated docstring now that this variable
1973 can be a function. Added cross-references to
1974 mh-signature-separator, mh-signature-separator-regexp, and
1975 mh-signature-separator-p which might be used in such functions.
1976
1977 * mh-identity.el (mh-insert-identity): Don't include signature if
1978 signature separator already present. Useful when running
1979 mh-edit-again.
1980
1981 * mh-mime.el (mh-inline-vcard-p): Use mh-signature-separator-p.
1982
1983 * mh-utils.el (mh-signature-separator-regexp): New variable
1984 containing "^-- $" which should be used when looking for the
1985 signature separator.
1986 (mh-signature-separator): New variable containing "-- \n" which
1987 should be used when inserting the signature separator.
1988 (mh-signature-separator-p): New function that returns non-nil if
1989 mh-signature-separator-regexp is found in the buffer.
1990
1991 2003-08-09 Satyaki Das <satyakid@stanford.edu>
1992
1993 * mh-utils.el (mh-x-image-scaling-function): Variable that
1994 contains function used to scale images. Possible choices are
1995 mh-x-image-scale-with-convert and mh-x-image-scale-with-pnm.
1996 (mh-convert-executable): Removed.
1997 (mh-x-image-scale-with-pnm, mh-x-image-scale-with-convert): New
1998 functions that scale images using pnm tools or ImageMagick.
1999 (mh-x-image-scale-and-display, mh-x-image-url-display): Use
2000 mh-x-image-scaling-function instead of mh-convert-executable.
2001
2002 2003-08-08 Peter S Galbraith <psg@debian.org>
2003
2004 * mh-comp.el (mh-insert-signature): Bug fix. Handle case of nil
2005 `mh-signature-file-name' and hooks correctly.
2006
2007 * mh-identity.el (mh-insert-identity): Refactor to use
2008 mh-insert-signature
2009
2010 * mh-comp.el (mh-signature-separator-p): Removed.
2011
2012 * mh-comp.el (mh-insert-signature): Merge MIME awareness from
2013 mh-insert-identity into this command. Allow
2014 `mh-signature-file-name' to be a function to call. See if "-- "
2015 needs to be inserted only after hooks have run.
2016
2017 2003-08-07 Bill Wohler <wohler@newt.com>
2018
2019 * mh-customize.el (mh-compose-skipped-header-fields): Added
2020 X-Image-URL.
2021 (mh-autoload): Removed cookies. They aren't necessary in
2022 mh-e.el, mh-utils.el, or mh-customize.el.
2023
2024 * mh-e.el (mh-autoload): Removed cookies. They aren't necessary in
2025 mh-e.el, mh-utils.el, or mh-customize.el.
2026
2027 * mh-identity.el (mh-insert-identity): Made regexp for signature
2028 separator more explicit. Hmmm, maybe we should create
2029 mh-signature-separator-regexp...
2030
2031 * mh-index.el (mh-replace-string): Moved to mh-utils.el.
2032
2033 * mh-utils.el (mh-replace-string): Moved here from mh-index.el.
2034 (mh-autoload): Removed cookies. They aren't necessary in mh-e.el,
2035 mh-utils.el, or mh-customize.el.
2036
2037 * mh-comp.el (mh-insert-signature): Added file argument to insert
2038 a file other than mh-signature-file-name. Insert signature
2039 separator, unless file already contains one.
2040
2041 2003-08-06 Satyaki Das <satyakid@stanford.edu>
2042
2043 * mh-e.el (mh-folder-size, mh-folder-size-folder)
2044 (mh-folder-size-flist): If flist is not present use folder to
2045 find the number of messages in the folder. Also the .mh_sequences
2046 file is read to find the number of unseen messages.
2047
2048 * mh-utils.el (mh-flists-present-flag, mh-find-progs): Introduce
2049 a new variable to test for the presence of the flists program and
2050 set it in mh-find-progs.
2051
2052 2003-08-06 Peter S Galbraith <psg@debian.org>
2053
2054 * mh-customize.el: Change the order of `mh-identity-list' and
2055 `mh-auto-fields-list' and remove byte-compilation defvar for
2056 `mh-identity-list'. This fixes a customization bug for
2057 `mh-identity-list', where it wasn't set correctly.
2058
2059 * mh-identity.el (mh-identity-make-menu): mh-auto-fields-list may
2060 not be bound yet when initially loaded.
2061
2062 2003-08-06 Bill Wohler <wohler@newt.com>
2063
2064 * mh-alias.el (mh-alias-add-address-under-point): Removed trailing
2065 period from messages. The conventions say that errors should not
2066 end with a period and that "Foo...done" messages should not end in
2067 a period, but they aren't explicit about messages in general.
2068 Given what the conventions *do* say, and because most of our
2069 messages don't end with a period, let's just say that messages in
2070 general don't end in a period, just like error messages.
2071
2072 * mh-comp.el (mh-extract-rejected-mail, mh-letter-mode-message):
2073 Ditto.
2074
2075 * mh-e.el (mh-refile-a-msg): Ditto.
2076
2077 * mh-funcs.el (mh-undo-folder): Ditto.
2078
2079 * mh-mime.el (mh-mime-save-parts): Ditto.
2080
2081 * mh-seq.el (mh-subject-to-sequence-unthreaded)
2082 (mh-narrow-to-subject, mh-delete-subject): Ditto.
2083
2084 * mh-index.el (mh-index-sequenced-messages)
2085 (mh-index-new-messages, mh-index-ticked-messages): Discovered that
2086 in general we should only use question marks in yes-or-no-p or
2087 y-or-n-p prompts, but not in other prompts that use
2088 completing-read and offer defaults. In these cases, use colons
2089 instead (closes SF #730470).
2090
2091 * mh-mime.el (mh-mime-save-parts): Ditto.
2092
2093 * mh-utils.el (mh-prompt-for-folder): Ditto.
2094
2095 * mh-alias.el (mh-alias-apropos): Multiple messages are usually
2096 shown one at a time rather than appended. Send output to
2097 mh-aliases-buffer instead of *Help*.
2098 (mh-alias-local-users): Checkdoc fix.
2099
2100 * mh-funcs.el (mh-undo-folder): Removed commented-out code since
2101 its deadline had expired.
2102
2103 * mh-utils.el (mh-aliases-buffer): New buffer name, used in
2104 mh-aliases.el.
2105
2106 2003-08-06 Satyaki Das <satyakid@stanford.edu>
2107
2108 * mh-utils.el (mh-x-image-url-cache-canonicalize): Make this
2109 function work for XEmacs too.
2110 (mh-collect-folder-names): Use folders instead of flists. One
2111 advantage is that folders is available on MH while flists is not.
2112 Another is that if an explicit -sequence argument isn't given and
2113 Unseen-Sequence profile is not present then flists croaks while
2114 folders doesn't.
2115 (mh-collect-folder-names-filter): Don't consider folder names that
2116 start with a `.' character. This is needed since the folders
2117 command doesn't filter them out like flists does.
2118
2119 * mh-index.el (mh-replace-string): Add autoload for it.
2120
2121 2003-08-05 Satyaki Das <satyakid@stanford.edu>
2122
2123 * mh-mime.el (mh-compose-forward, mh-mhn-compose-forw)
2124 (mh-mml-forward-message): The variable mh-sent-from-msg can be a
2125 list. So check that the value is really a number before using it
2126 like one.
2127
2128 * mh-comp.el (mh-insert-letter): Same as above.
2129
2130 * mh-utils.el (mh-picon-get-image): Make the code that finds the
2131 address of the sender more robust.
2132 (mh-face-display-function): Make it work with XEmacs.
2133 (mh-picon-image-types): A new variable that stores what image
2134 types can be used.
2135
2136 2003-08-05 Satyaki Das <satyakid@stanford.edu>
2137
2138 * mh-customize.el (mh-tool-bar-define): Make the save button such
2139 that is activated only if the buffer needs to saved.
2140
2141 * mh-utils.el (mh-face-display-function, mh-picon-get-image): Some
2142 domains, for instance cs.cmu.edu, don't have xpm files. So we need
2143 to search for all three files. The change does that.
2144 (mh-picon-file-contents): A utility function to return the
2145 contents of a file as a string.
2146 (mh-picon-get-image): Write it as a loop to make it simpler.
2147 (mh-x-image-set-download-state): Make the link simpler.
2148
2149 2003-08-04 Satyaki Das <satyakid@stanford.edu>
2150
2151 * mh-utils.el (mh-x-image-url-display): Don't bother to try to
2152 download image if we don't have the necessary tools to display
2153 it.
2154 (mh-face-display-function): Add preliminary support for "domain"
2155 picons.
2156 (mh-picon-get-image, mh-picon-generate-path): Functions to find
2157 best match for domain in the From header field.
2158
2159 * mh-e.el (mh-previous-unread-msg): If some of the messages in the
2160 unseen sequence are not present in the folder buffer then calling
2161 this function gets stuck and can't skip over them. The change
2162 fixes this.
2163 (mh-next-unread-msg): Same as above.
2164
2165 2003-08-04 Bill Wohler <wohler@newt.com>
2166
2167 * mh-utils.el (mh-show-mode): Added cross reference to
2168 mh-folder-mode in docstring (closes SF #728638). Added
2169 \\{mh-show-mode-map} to show keymap.
2170
2171 * mh-e.el (mh-folder-mode): Added information about ranges to
2172 docstring (closes SF #728638).
2173
2174 * mh-speed.el (mh-speed-refresh): New function that calls
2175 mh-speed-flists and mh-invalidate-map.
2176 (mh-folder-speedbar-key-map): Replaced keybindings for
2177 mh-speed-invalidate-map and mh-speed-flists with a single binding
2178 for mh-speed-refresh.
2179 (mh-folder-speedbar-menu-items): Replaced menu items for Run
2180 Flists and Invalidate Cached Folders with the single menu item
2181 Refresh Speedbar in order to simplify the UI.
2182
2183 * mh-customize.el (mh-fetch-x-image-url): Added DOS as another
2184 reason not to set this to t.
2185
2186 2003-08-04 Satyaki Das <satyakid@stanford.edu>
2187
2188 * mh-e.el (mh-scan-folder): Handle ranges from user input properly.
2189
2190 2003-08-03 Satyaki Das <satyakid@stanford.edu>
2191
2192 * mh-utils.el (mh-find-msg-get-num): Removed. If threading isn't
2193 present, the messages are sorted by index. So `mh-goto-msg' was
2194 implemented as a binary search and this function was used in that
2195 implementation. So this isn't needed any more.
2196 (mh-msg-search-pat): Removed. Before the advent of message
2197 threading, this function was used to generate a regexp used to
2198 search for a particular message. It isn't used anymore. The
2199 variable `mh-scan-msg-number-regexp' should be updated and used in
2200 `mh-goto-msg' instead of hardcoding the regexp in the code. Then
2201 we might be able to better support other scan line formats in the
2202 future.
2203
2204 * mh-seq.el (mh-map-to-seq-msgs, mh-notate-seq): Removed. These
2205 functions were used to notate user sequences. But calling
2206 `mh-goto-msg' inside of a loop is inefficient. So the sequence
2207 notation code was rewritten thereby making these functions
2208 redundant.
2209 (mh-copy-line-to-point): Removed. This function was used in the
2210 implementation the now removed function `mh-copy-seq-to-point'.
2211 That function was problematic and was replaced by the less general
2212 `mh-copy-seq-to-eob'. This makes `mh-copy-line-to-point'
2213 redundant.
2214 (mh-region-to-msg-list): Removed since this is a special case of
2215 the more general `mh-range-to-msg-list'.
2216
2217 * mh-loaddefs.el: Regenerated.
2218
2219 2003-08-03 Jeffrey C Honig <jch@honig.net>
2220
2221 * mh-customize.el (mh-invisible-header-fields-default): Added
2222 several new fields to hide. Sorted the list with sort-lines.
2223
2224 2003-08-03 Peter S Galbraith <psg@debian.org>
2225
2226 * mh-customize.el (mh-invisible-headers): Variable renamed to
2227 `mh-invisible-header-fields-compiled'.
2228 (mh-invisible-headers): Implement above change.
2229
2230 * mh-utils.el (mh-display-msg): Idem.
2231
2232 * mh-mime.el (mh-mm-inline-message): Idem.
2233
2234 * mh-comp.el (mh-insert-letter): Idem.
2235
2236 2003-08-03 Bill Wohler <wohler@newt.com>
2237
2238 * mh-speed.el (mh-folder-speedbar-menu-items): Added separator
2239 between standard and MH-E menu items. Use headline capitalization
2240 in menu items.
2241
2242 * mh-utils.el (mh-temp-fetch-buffer): New constant to hold
2243 buffer name for wget output.
2244 (mh-x-image-url-fetch-image): Use mh-temp-fetch-buffer instead
2245 of hard-coded buffer name. Use make-temp-file to avoid race
2246 conditions and subsequent security issues raised in make-temp-name
2247 docstring.
2248
2249 2003-08-03 Satyaki Das <satyakid@stanford.edu>
2250
2251 * mh-utils.el (mh-wget-executable, mh-wget-choice, mh-wget-option)
2252 (mh-x-image-url-fetch-image): Support the use of `curl' and
2253 `fetch' as alternatives to `wget'.
2254 (mh-wget-choice): Change order of search.
2255 (mh-x-image-url-fetch-image): Rename buffer.
2256
2257 2003-08-03 Satyaki Das <satyakid@stanford.edu>
2258
2259 * mh-utils.el (mh-x-image-set-download-state)
2260 (mh-x-image-get-download-state): Specially named symbolic links
2261 are used to keep track of whether a X-Image-URL header field needs
2262 to downloaded the next time it is seen. These functions get and
2263 set the symlinks appropriately.
2264 (mh-x-image-url-fetch-image): Simplified since the query has been
2265 moved to `mh-x-image-url-display'. Also if wget isn't present then
2266 try again next time since the user might install wget before
2267 trying once more.
2268 (mh-x-image-scale-and-display): Handle absence of the `convert'
2269 program better. If it isn't present then we will try to display
2270 the image the next time it is encountered. Also use the -geometry
2271 option to convert since the -resize option isn't present in older
2272 versions.
2273 (mh-x-image-url-display): Move all the code that decides whether
2274 an X-Image-URL header field will be fetched in this function. Also
2275 remember the user's decision so that if the image couldn't be
2276 fetched the first time, we will try to fetch it later on without
2277 asking again.
2278
2279 2003-08-02 Peter S Galbraith <psg@debian.org>
2280
2281 * mh-alias.el (mh-alias-local-users): Exclude all aliases already
2282 in mh-alias-alist from `ali' (closes SF #772595).
2283
2284 2003-08-01 Satyaki Das <satyakid@stanford.edu>
2285
2286 * mh-utils.el (mh-x-image-display, mh-x-image-url-display): Avoid
2287 a race. The X-Image-URL is displayed asynchronously. Suppose a
2288 message with a image is shown with `mh-show'. If a different
2289 message is displayed before the image can be fetched, then the new
2290 message will have the image displayed. With this change the race
2291 is less likely to happen.
2292
2293 2003-08-01 Peter S Galbraith <psg@debian.org>
2294
2295 * mh-inc.el (mh-inc-spool-map): Fix what `mh-inc-spool-map-help'
2296 must look like as a fake `mh-help-messages' in order to work
2297 correctly in mh-help.
2298
2299 2003-07-31 Bill Wohler <wohler@newt.com>
2300
2301 * mh-inc.el (mh-inc-spool-map): Use mh-help instead of
2302 mh-ephem-message in order to display help in its own buffer
2303 instead of minibuffer.
2304
2305 * mh-utils.el (mh-help-buffer): New variable to hold the name of
2306 the MH-E help buffer name.
2307
2308 * mh-funcs.el (mh-help, mh-prefix-help): Use with-electric-help to
2309 display help messages. I observed a friend with a vision
2310 disability and the 5 seconds the help appeared on the screen was
2311 not long enough for him to lock on it. I've therefore changed the
2312 help function to display the help in its own buffer called *MH-E
2313 Help* (closes SF #493740 and SF #656631).
2314
2315 * mh-customize.el (mh-fetch-x-image-url): Changed default from nil
2316 to 'ask. Updated docstring from manual.
2317 (mh-invisible-header-fields-internal): Added X-Image-URL.
2318 (mh-show-use-xface-flag): Updated docstring from manual.
2319 (mh-x-face-file): Ditto.
2320
2321 * mh-mime.el (mh-mhn-compose-external-type): Don't insert the
2322 directory parameter if it's nil. The mhbuild man page indicates
2323 that this parameter is optional, so this should be fine.
2324
2325 * mh-comp.el (mh-letter-mode-map): Added keybindings for
2326 mh-mhn-compose-anon-ftp and
2327 mh-mhn-compose-external-compressed-tar.
2328 (mh-letter-menu): Uncommented menu items for same.
2329
2330 2003-07-30 Satyaki Das <satyakid@stanford.edu>
2331
2332 * mh-loaddefs.el: Regenerated.
2333
2334 * mh-pick.el (mh-do-pick-search): Removed since the function
2335 `mh-pick-do-search' performs the same action as this function.
2336
2337 * mh-index.el (mh-index-update-unseen): Removed since the
2338 generalized sequence synchronization code that keeps sequences in
2339 index folders in sync with the sequences in the source folders
2340 makes this function redundant.
2341
2342 * mh-e.el (mh-folder-unseen-seq-name, mh-folder-unseen-seq-list):
2343 Removed. These two functions were used in the unseen sequence
2344 highlighting before the sequence highlighting code was
2345 generalized. In any event calls to the function
2346 `mh-folder-unseen-seq-name' can be replaced by the variable
2347 `mh-unseen-seq' and calls to `mh-folder-unseen-seq-list' can be
2348 replaced with (cdr (assoc mh-unseen-seq mh-seq-list)).
2349 (mh-unmark-all-headers): Removed since this function has been
2350 superseded by mh-remove-all-notation.
2351 (mh-map-over-seqs): Removed since we now have the generalized
2352 iteration over message ranges (the `mh-iterate-on-range' macro)
2353 that can be used instead.
2354 (mh-notate-if-in-one-seq): Removed. This function was used for
2355 changing the `%' notation for user sequences. It can't be used for
2356 that purpose any more, since we have a different scheme now.
2357
2358 * mh-unit.el (mh-unit-tests): Removed since it isn't needed any
2359 more.
2360 (mh-unit): Run all function that start with the string
2361 "mh-unit-test-".
2362
2363 2003-07-30 Bill Wohler <wohler@newt.com>
2364
2365 * mh-customize.el (mh-invisible-header-fields): Checkdoc fix.
2366
2367 * mh-utils.el (mh-x-image-url-cache-canonicalize): Shortened using
2368 example in files.el:make-backup-file-name-1.
2369 (mh-face-display-function): Added X-Image-URL to docstring.
2370
2371 * mh-unit.el (mh-unit-x-image-url-cache-canonicalize): New
2372 function to test mh-x-image-url-cache-canonicalize since it lent
2373 itself well to unit testing. Had to start somewhere!
2374 (mh-unit-equal): New function that throws an error if RESULT
2375 doesn't equal EXPECTED.
2376 (mh-unit): Call mh-unit-x-image-url-cache-canonicalize.
2377
2378 2003-07-29 Satyaki Das <satyakid@stanford.edu>
2379
2380 * mh-unit.el (mh-unit-update-call-graph): Make the function work
2381 better with dotted lists, that is lists of the form (a b c . d)
2382 where `d' isn't nil. With this we are able to avoid marking some
2383 functions as unused even though they are actually used in alists.
2384
2385 2003-07-28 Peter S Galbraith <psg@debian.org>
2386
2387 * mh-comp.el (mh-insert-letter): Remove `mh-visible-headers'
2388 operation.
2389
2390 * mh-mime.el (mh-mm-inline-message): Same.
2391
2392 * mh-utils.el (mh-display-msg): Same.
2393 (mh-clean-msg-header): Make a note of above change.
2394
2395 * mh-customize.el (mh-invisible-header-fields-internal): Renamed
2396 from prior `mh-invisible-header-fields-default'.
2397 (mh-invisible-header-fields-default): Renamed from prior
2398 `mh-invisible-header-fields-default-override'.
2399 (mh-invisible-header-fields): Renamed from prior
2400 `mh-invisible-header-fields-user'.
2401 (mh-visible-headers): Removed! We use invisible fields only now.
2402 (mh-visible-header-fields): Removed!
2403
2404 2003-07-28 Peter S Galbraith <psg@debian.org>
2405
2406 * mh-customize.el (mh-invisible-header-fields-default): Added 3
2407 new fields to hide.
2408
2409 2003-07-28 Satyaki Das <satyakid@stanford.edu>
2410
2411 * mh-utils.el (mh-show): Add an extra argument to the function so
2412 that interactive use will always force redisplay of the message.
2413
2414 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Bind the
2415 variables `mm-verify-option' and `mm-decrypt-option' so that
2416 verification and decryption of mail can happen without any
2417 additional tinkering.
2418
2419 2003-07-25 Peter S Galbraith <psg@debian.org>
2420
2421 * mh-customize.el (mh-invisible-header-fields-default): New defvar
2422 holding default fields to hide. This replaces the old
2423 `mh-invisible-header-fields' defcustom.
2424 (mh-invisible-header-fields-user): New defcustom. Users add
2425 fields to suppress that we didn't include in
2426 `mh-invisible-header-fields-default'. This could be named simply
2427 `mh-invisible-header-fields' and it wouldn't really break anything
2428 for users who have customized it to a long list now redundant with
2429 `mh-invisible-header-fields-default'.
2430 (mh-invisible-header-fields-default-override): New defcustom.
2431 Users check off the fields they want displyed from what we
2432 included in `mh-invisible-header-fields-default'.
2433 (mh-invisible-headers): Function adapted to new variables.
2434
2435 2003-07-25 Satyaki Das <satyakid@stanford.edu>
2436
2437 * mh-e.el (mh-inc-folder): If the user is in a different folder
2438 displaying a message and runs mh-inc-folder, then the folder
2439 changes to +inbox but the show window continues to display the
2440 message in the old folder. The change fixes this.
2441 (mh-visit-folder): Make the handling of the show window similar to
2442 that of mh-inc-folder.
2443
2444 2003-07-24 Satyaki Das <satyakid@stanford.edu>
2445
2446 * mh-e.el (mh-folder-message-menu, mh-folder-folder-menu): Use the
2447 predicate mh-outstanding-commands-p instead of its exapansion.
2448 Also use the same label in both menus.
2449 (mh-outstanding-commands-p): Generalized so that it will work in
2450 mh-show-mode buffers as well.
2451
2452 * mh-customize.el (mh-tool-bar-define): Enable tool-bar button for
2453 mh-execute-commands only if there are pending deletes or refiles.
2454
2455 2003-07-19 Satyaki Das <satyakid@stanford.edu>
2456
2457 * mh-utils.el (mh-show-msg): If a unseen message is first marked
2458 for deletion/refiling and then displayed, the bold highlighting
2459 does not go away. This change fixes that.
2460
2461 * mh-seq.el (mh-msg-is-in-seq): Fix a bug in the function. If any
2462 message was marked for refiling, then the function would have you
2463 believe that every message in the folder is being refiled.
2464
2465 2003-07-17 Bill Wohler <wohler@newt.com>
2466
2467 * mh-e.el: Removed email address for Stephen Gildea's in Change
2468 Log at his request (damn spammers). Removed other email addresses
2469 while I was at it since the SourceForge URL should be sufficient
2470 contact information.
2471
2472 (mh-scan-format-*mh): Fixed typo in comment above these variables.
2473 These variables are used if mh-scan-format-file is t, not nil.
2474 Also mh-scan-format-file is no longer "above" (courtesy Stephen
2475 Gildea).
2476
2477 2003-07-17 Satyaki Das <satyakid@stanford.edu>
2478
2479 * mh-mime.el (mh-mhn-quote-unescaped-sharp): New function that
2480 quotes `#' characters in the first column that aren't part of a
2481 MHN directive.
2482 (mh-mhn-directive-present-p): Generalized to allow the function
2483 to search for MHN directives in a part of the buffer.
2484 (mh-edit-mhn): Quote unescaped `#' characters in the draft (closes
2485 SF #762464).
2486
2487 2003-07-16 Satyaki Das <satyakid@stanford.edu>
2488
2489 * mh-alias.el (mh-alias-read-address-map): If
2490 mh-alias-flash-on-comma is nil when mh-alias is loaded, then
2491 setting mh-alias-flash-on-comma to t later on doesn't turn on
2492 address completion display till Emacs is restarted. The change
2493 fixes this.
2494
2495 2003-07-15 Bill Wohler <wohler@newt.com>
2496
2497 * mh-utils.el (mh-cmd-note): Cleaned up docstring (changed phrase
2498 to sentences). Moved to Scan Line Formats section.
2499 (mh-scan-msg-number-regexp)
2500 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2501 (mh-scan-msg-format-string, mh-scan-msg-search-regexp): Cleaned up
2502 docstrings (changed phrases to sentences).
2503 (mh-note-seq): Cleaned up docstring (changed phrase to sentences).
2504 Also, this variable is now a character and not a string. Moved to
2505 Scan Line Formats section.
2506
2507 * mh-funcs.el (mh-note-copied, mh-note-printed): Cleaned up
2508 docstrings (changed phrases to sentences). Also, these variables
2509 are now characters and not strings.
2510
2511 * mh-e.el (mh-scan-format-mh, mh-scan-format-nmh): Filled. I was
2512 hoping to quote the hint `t' but checkdoc wouldn't let me.
2513 (mh-note-deleted, mh-note-refiled, mh-note-cur): Moved to Scan
2514 Line Formats section.
2515 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2516 (mh-scan-refiled-msg-regexp, mh-scan-valid-regexp)
2517 (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
2518 (mh-scan-rcpt-regexp, mh-scan-body-regexp)
2519 (mh-scan-subject-regexp, mh-scan-format-regexp): Cleaned
2520 up docstrings (changed phrases to sentences).
2521 (mh-scan-cur-msg-regexp): Marked this variable as obsolete; it
2522 should be removed for 8.0.
2523
2524 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Cleaned
2525 up docstrings (changed phrases to sentences). Also, these
2526 variables are now characters and not strings.
2527
2528 2003-07-15 Satyaki Das <satyakid@stanford.edu>
2529
2530 * mh-index.el (mh-index-update-single-msg)
2531 (mh-index-create-sequences): Handle the situation where there are
2532 copies of the exact same message correctly.
2533
2534 2003-07-15 Satyaki Das <satyakid@stanford.edu>
2535
2536 * mh-seq.el (mh-thread-update-scan-line-map): Modified since
2537 notation is already a character.
2538
2539 * mh-utils.el (mh-note-seq): Convert from string to character.
2540 (mh-notate): Modified since characters are used to notate instead
2541 of strings of length one.
2542
2543 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Convert
2544 from string to characters.
2545
2546 * mh-e.el (mh-note-deleted, mh-note-refiled, mh-note-cur): Same as
2547 above (closes SF #770772).
2548 (mh-unmark-all-headers): Modified since mh-note-* variables are
2549 now characters.
2550 (mh-remove-sequence-notation): The mh-notate function remembers
2551 the previous notation. Before the change to the mh-note-*
2552 variables, mh-notate would only remember the change if a string
2553 was used to notate the message. Now mh-notate is always called
2554 with a character notation. So the deletion has to take place
2555 explicitly.
2556
2557 2003-06-28 Bill Wohler <wohler@newt.com>
2558
2559 * mh-mime.el (mh-mhn-directive-present-p): If shell comments are
2560 present that have a space after the # but no content, then this
2561 function would throw an error. This has been fixed (closes SF
2562 #762458).
2563
2564 2003-06-27 Satyaki Das <satyakid@stanford.edu>
2565
2566 * mh-index.el (mh-index-search): Use the new and improved
2567 mh-index-new-folder.
2568 (mh-index-new-folder): Improved so that redoing the same search
2569 will reuse the old index folder.
2570 (mh-index-folder-search-regexp): New function which that extracts
2571 out the search expression that produced the index folder.
2572
2573 2003-06-24 Bill Wohler <wohler@newt.com>
2574
2575 * mh-e.el (Version, mh-version): Set to 7.4.1+cvs.
2576
2577 2003-06-25 Bill Wohler <wohler@newt.com>
2578
2579 Released MH-E version 7.4.1.
2580
2581 * MH-E-NEWS, README: Updated for release 7.4.1.
2582
2583 * mh-e.el (Version, mh-version): Updated for release 7.4.1.
2584
2585 2003-06-25 Bill Wohler <wohler@newt.com>
2586
2587 * mh-unit.el (require 'cl): Added. Needed when compiling
2588 separately.
2589
2590 * Makefile (clean): Now a double-colon rule. Added a second clean
2591 target to remove mh-unit.elc.
2592 (compile): Removed mh-unit.elc.
2593 (mh-unit.elc): New target used to compile mh-unit.
2594
2595 2003-06-24 Bill Wohler <wohler@newt.com>
2596
2597 * mh-e.el (Version, mh-version): Set to 7.4+cvs.
2598
2599 2003-06-24 Bill Wohler <wohler@newt.com>
2600
2601 Released MH-E version 7.4.
2602
2603 * MH-E-NEWS, README: Updated for release 7.4.
2604
2605 * mh-e.el (Version, mh-version): Updated for release 7.4.
2606
2607 2003-06-24 Bill Wohler <wohler@newt.com>
2608
2609 * mh-alias.el (mh-alias-gecos-name, mh-alias-local-users)
2610 (mh-alias-suggest-alias): s/gcos/gecos. The original acronym was
2611 GECOS but was later renamed to GCOS (see
2612 http://info.astrian.net/jargon/terms/g/GCOS.html). But the term
2613 really needs to match the field named pw_gecos in struct passwd in
2614 /usr/include/pwd.h
2615
2616 * mh-customize.el (mh-letter-faces): New group to house
2617 mh-letter-header-field-face.
2618 (mh-interpret-number-as-range-flag)
2619 (mh-kill-folder-suppress-prompt-hook): Use "you" instead of "the
2620 user" to make text more friendly.
2621 (mh-index-ticked-messages-folders, mh-visible-headers)
2622 (mh-visible-header-fields): Alphabetized.
2623 (mh-alias-passwd-gcos-comma-separator-flag): Alphabetized and
2624 s/gcos/gecos.
2625 (mh-alias-local-users-prefix): Fixed docstring. Prefixes are
2626 prepended, not appended. Additional checkdoc fix.
2627 (mh-letter-header-field-face): Set group to new group
2628 mh-letter-faces and moved option into this group.
2629
2630 * mh-index.el (mh-index-sequenced-messages): Improved wording of
2631 docstring and mentioned use of prefix argument.
2632
2633 * mh-seq.el (mh-widen): Made docstring more accurate (hopefully!).
2634
2635 2003-06-18 Satyaki Das <satyakid@stanford.edu>
2636
2637 * mh-index.el (mh-replace-string): Modified to preserve case of
2638 replacement text.
2639 (mh-index-parse-search-regexp): Preserve case of search terms.
2640 This is needed to take advantage of the acronym indexing in
2641 swish++ (closes SF #755718).
2642
2643 2003-06-13 Satyaki Das <satyakid@stanford.edu>
2644
2645 * mh-utils.el (mh-show-index-sequenced-messages): Interactive
2646 function callable from the show buffer.
2647 (mh-show-folder-map): Add key binding for "F q".
2648
2649 * mh-e.el (mh-folder-map): Same as above.
2650
2651 * mh-index.el (mh-index-sequenced-messages): Add interactive spec
2652 to the function (closes SF #718833).
2653
2654 2003-06-13 Bill Wohler <wohler@newt.com>
2655
2656 * mh-index.el (mh-flists-execute): Needed to expand mhpath too.
2657
2658 2003-06-12 Satyaki Das <satyakid@stanford.edu>
2659
2660 * mh-index.el (mh-flists-execute): Modified so that flists
2661 present in mh-progs is called.
2662
2663 2003-06-07 Jeffrey C Honig <jch@honig.net>
2664
2665 * mh-comp.el (mh-forward, mh-forward): Use (mh-mail-header-end) to
2666 find the end of headers instead of doing an re-search-forward
2667 based on mh-mail-header-separator.
2668
2669 2003-06-06 Satyaki Das <satyakid@stanford.edu>
2670
2671 * mh-comp.el (mh-letter-toggle-header-field-display): Make the
2672 function callable from the show buffer. This means that the
2673 buffer is temporarily made writable and the modification status
2674 of the buffer restored to the original value.
2675
2676 2003-06-06 Peter S Galbraith <psg@debian.org>
2677
2678 * mh-utils.el (mh-address-mail-regexp): Bug fix! It wasn't a true
2679 copy of the goto-addr variable. My modification only recognized
2680 addresses with one dot after the @. Sorry about that.
2681
2682 2003-06-05 Satyaki Das <satyakid@stanford.edu>
2683
2684 * mh-utils.el (mh-replace-in-string): Move comment into doc
2685 string to satisfy checkdoc.
2686
2687 * mh-alias.el (mh-alias-apropos): Checkdoc fix.
2688
2689 2003-06-05 Bill Wohler <wohler@newt.com>
2690
2691 * mh-customize.el (mh-identity-list): Fixed typo in docstring.
2692
2693 2003-06-05 Peter S Galbraith <psg@debian.org>
2694
2695 * mh-comp.el (mh-letter-complete-function-alist): Add bcc an reply-to.
2696
2697 2003-06-04 Peter S Galbraith <psg@debian.org>
2698
2699 * mh-comp.el (mh-letter-complete-function-alist): Add dcc.
2700
2701 2003-06-03 Peter S Galbraith <psg@debian.org>
2702
2703 * mh-utils.el (mh-replace-in-string): New function name instead of
2704 `dired-replace-in-string'.
2705 * mh-alias.el (mh-alias-gcos-name): Use it.
2706
2707 * mh-alias.el (mh-alias-apropos): New command. Show all aliases
2708 that match REGEXP either in name or content.
2709
2710 * mh-alias.el (mh-alias-suggest-alias): Add no-comma-swap optional
2711 arg.
2712 (mh-alias-canonicalize-suggestion): Change a comma to a period in
2713 created aliases.
2714 (mh-alias-local-users): Call `mh-alias-suggest-alias' with
2715 `no-comma-swap' arg set to t.
2716
2717 * mh-alias.el (mh-alias-local-users): Fix case of nil
2718 `mh-alias-passwd-gcos-comma-separator-flag'.
2719
2720 * mh-alias.el (mh-alias-gcos-name): Fix for case of empty gcos
2721 name field.
2722 (mh-alias-local-users): Fix same.
2723
2724 * mh-alias.el (mh-alias-canonicalize-suggestion): Replace use by
2725 verbose `replace-regexp' by a looped `replace-match'
2726
2727 2003-06-02 Peter S Galbraith <psg@debian.org>
2728
2729 * mh-utils.el (dired-replace-in-string): Bind if not already
2730 defined. Borrowed from dired.el
2731
2732 * mh-alias.el (mh-alias-gcos-name): switch to using
2733 dired-replace-in-string.
2734
2735 2003-06-02 Satyaki Das <satyakid@stanford.edu>
2736
2737 * mh-utils.el (mh-letter-font-lock-keywords): Fontify header
2738 fields in the draft buffer that aren't skipped when navigating
2739 with TAB (or S-TAB).
2740
2741 * mh-customize.el (mh-clean-message-header-flag)
2742 (mh-invisible-headers, mh-invisible-header-fields)
2743 (mh-alias-passwd-gcos-comma-separator-flag): Checkdoc fix.
2744 (mh-letter-header-field-face): New face to fontify the header
2745 fields.
2746
2747 * mh-comp.el (mh-insert-auto-fields-done-local): Checkdoc fix.
2748 (mh-letter-mode, mh-letter-mail-header-end-marker): Remember the
2749 end of the message header in a marker. This is used to fontify the
2750 header fields.
2751 (mh-font-lock-field-data, mh-letter-header-end): Functions used
2752 to fontify message header fields.
2753
2754 * mh-alias.el (mh-alias-gcos-name): Checkdoc fix.
2755
2756 2003-06-02 Peter S Galbraith <psg@debian.org>
2757
2758 * mh-alias.el (mh-alias-gcos-name): New function. Return a usable
2759 address string from a GCOS-NAME and USERNAME.
2760 (mh-alias-local-users): Use it.
2761
2762 * mh-customize.el (mh-alias-passwd-gcos-comma-separator-flag): New
2763 defcustom. Whether the gcos field in the passwd file uses comma as
2764 a separator.
2765
2766 * mh-customize.el (mh-alias-local-users-prefix): New
2767 defcustom. String to append to the real names of users from the
2768 passwd file. If nil, use the username string unmodified instead of
2769 the real name from the gcos field of the passwd file.
2770
2771 * mh-alias.el (mh-alias-local-users): Use it to generate aliases
2772 which by default are now the real name prefixed by "local."
2773
2774 2003-06-01 Peter S Galbraith <psg@debian.org>
2775
2776 * mh-comp.el (mh-modify-header-field): Bug fix. Calling with with
2777 a value that was already inserted causes it to get inserted a
2778 second time. I have wrapped the value around \b word delimiters.
2779 Hope there are no side effects for other code.
2780
2781 * mh-comp.el (mh-insert-auto-fields): Attempt regardless of
2782 `mh-insert-auto-fields-done-local' flag in interactive use.
2783
2784 * mh-comp.el (mh-insert-auto-fields-done-local): Keep track of
2785 whether `mh-insert-auto-fields' was called in a buffer.
2786 (mh-insert-auto-fields): Set it and use it. Also, don't enter an
2787 identity if one was already entered manually.
2788 (mh-send-letter): Call `mh-insert-auto-fields' again when sending
2789 message.
2790 (mh-compose-and-send-mail): Call `mh-insert-auto-fields' _after_
2791 `mh-letter-mode' so `mh-identity-local' doesn't get cleared by the
2792 mode invocation.
2793
2794 2003-06-01 Satyaki Das <satyakid@stanford.edu>
2795
2796 * mh-loaddefs.el: Regenerated.
2797
2798 * mh-seq.el (mh-thread-parse-scan-line): The value of
2799 mh-scan-field-from-start-offset was hardcoded in one place. The
2800 change fixes that.
2801
2802 * mh-utils.el (mh-show-mode): Setup mh-show-mode to display
2803 elipsis for truncated header fields and to skip over them quickly.
2804 (mh-clean-msg-header): Make another pass over the message header
2805 fields truncating long headers.
2806
2807 * mh-comp.el (mh-letter-complete): Remove unnecessary autoload.
2808 (mh-letter-toggle-header-field-display): Take into account that
2809 an empty line can also end the message header. The function was
2810 originally written with the draft buffer in mind.
2811
2812 2003-06-01 Mark D. Baushke <mdb@gnu.org>
2813
2814 * mh-comp.el (mh-letter-mode-map): Do not steal C-t. Use C-c C-t
2815 for the mh-letter-toggle-header-field-display command.
2816
2817 2003-05-31 Peter S Galbraith <psg@debian.org>
2818
2819 * mh-customize.el (mh-visible-headers): Changed to a defvar that
2820 will be set using new `mh-visible-headers' function using
2821 `mh-visible-header-fields' as input.
2822 (mh-visible-headers): New function, described above.
2823 (mh-visible-header-fields): New defcustom. The UI to set
2824 `mh-visible-headers'.
2825 (mh-invisible-header-fields-set): Deleted. Code merged into
2826 defcustom since it's so short.
2827
2828 2003-05-31 Satyaki Das <satyakid@stanford.edu>
2829
2830 * mh-comp.el (mh-letter-toggle-header-field-display): Extended to
2831 truncate headers if they are too long.
2832 (mh-letter-truncate-header-field): Make code that would be
2833 duplicated into a function.
2834 (mh-letter-hide-all-skipped-fields): Modified so that fields that
2835 are important are hidden if they are too long.
2836
2837 2003-05-31 Satyaki Das <satyakid@stanford.edu>
2838
2839 * mh-utils.el ("tool-bar"): Since tool-bar isn't available on
2840 XEmacs, requiring it causes problems. So load it instead.
2841 (mh-do-at-event-location): New macro to do stuff at location of
2842 events. This has been refactored out of mh-push-button.
2843
2844 * mh-mime.el (mh-push-button): Simplified since it now uses the
2845 mh-do-at-event-location macro.
2846
2847 * mh-comp.el (mh-hidden-header-keymap): Keymap to make mouse
2848 clicks on header toggle its display.
2849 (mh-letter-toggle-header-field-display-button): Interactive
2850 function to toggle header display when mouse button is clicked.
2851
2852 2003-05-31 Peter S Galbraith <psg@debian.org>
2853
2854 * mh-e.el (mh-folder-mode): Remove conditional on tool-bar-mode.
2855
2856 * mh-comp.el (mh-letter-mode): Same.
2857
2858 * mh-utils.el (mh-show-mode): Same.
2859
2860 2003-05-30 Satyaki Das <satyakid@stanford.edu>
2861
2862 * mh-utils.el (tool-bar): Load tool-bar explicitly. This avoids
2863 problems with incorrect initialization of tool-bar-map otherwise.
2864
2865 2003-05-30 Peter S Galbraith <psg@mixed.dyndns.org>
2866
2867 * mh-comp.el (mh-modify-header-field): Minor fix of spaces for
2868 when an entry already existed.
2869 (mh-insert-auto-fields): Make interactive. Add optional `quiet'
2870 arg for use when called systematically on every buffer. Won't be
2871 used interactively for more verbose output.
2872 (mh-letter-mode-map): Add \C-c\M-d keybinding for
2873 mh-insert-auto-fields.
2874
2875 * mh-identity.el (mh-identity-make-menu): Add a menu entry in
2876 Identity menu for mh-insert-auto-fields.
2877
2878 * mh-customize.el (mh-invisible-header-fields): Add entries for
2879 `Envelope-to' and `X-Original-To'.
2880
2881 2003-05-30 Satyaki Das <satyakid@stanford.edu>
2882
2883 * mh-comp.el (mh-letter-mode): Skip over invisible text quickly.
2884
2885 2003-05-30 Satyaki Das <satyakid@stanford.edu>
2886
2887 * mh-comp.el (mh-letter-mode): Use text properties to achieve
2888 invisibility. This is more portable and the same code can be used
2889 for all Emacs versions.
2890 (mh-letter-toggle-header-field-display): Rewritten to use text
2891 properties.
2892 (mh-dead-overlay-p, mh-letter-hidden-header-fields)): Removed.
2893
2894 2003-05-29 Satyaki Das <satyakid@stanford.edu>
2895
2896 * mh-comp.el (mh-letter-hidden-header-fields, mh-letter-mode): Add
2897 a hash table, initialized it in mh-letter-mode, to remember the
2898 overlays introduced to hide long headers fields.
2899 (mh-insert-x-mailer): checkdoc fix.
2900 (mh-compose-and-send-mail): Hide unimportant message header
2901 fields.
2902 (mh-letter-header-field-regexp, mh-letter-header-field-at-point)
2903 (mh-letter-next-header-field, mh-letter-previous-header-field):
2904 Add a variable that contains the header-field name regexp and use
2905 it instead of the regexp directly.
2906 (mh-letter-toggle-header-field-display, mh-letter-mode-map): Add
2907 new key binding in mh-letter-mode that toggles display of long
2908 header fields, in mh-letter-mode.
2909 (mh-dead-overlay-p): A predicate which checks if a given header
2910 field has an active overlay hiding it.
2911 (mh-letter-hide-all-skipped-fields): New function that shortens
2912 uninteresting headers.
2913
2914 2003-05-29 Eric Ding <ericding@acorn.bethesda.net>
2915
2916 * mh-comp.el (mh-letter-next-header-field-or-indent): Call
2917 indent-relative rather than indent-for-tab-command.
2918
2919 2003-05-29 Satyaki Das <satyakid@stanford.edu>
2920
2921 * mh-comp.el (mh-letter-complete-or-space): The meaning of the
2922 customizable variable was reversed. Also make the doc string more
2923 accurate.
2924
2925 2003-05-28 Satyaki Das <satyakid@stanford.edu>
2926
2927 * mh-customize.el (mh-compose-skipped-header-fields): New
2928 customizable variable that lists headers that are skipped.
2929 (mh-compose-space-does-completion-flag): Option to do completion
2930 with space (closes SF #745634).
2931
2932 * mh-comp.el (mh-insert-x-mailer): Check the value of
2933 mh-insert-x-mailer-flag in this function instead of in its caller.
2934 (mh-compose-and-send-mail, mh-send-letter): Insert X-Mailer and
2935 X-Face headers when the draft is first presented to the user
2936 instead of when the mail is sent (closes SF #745624).
2937 (mh-letter-complete-or-space): Allow for this key binding to be
2938 overridden.
2939 (mh-letter-next-header-field): Fix a problem with multiline header
2940 fields.
2941 (mh-letter-next-header-field, mh-letter-previous-header-field):
2942 Make these functions skip unwanted header fields.
2943 (mh-letter-skipped-header-field-p): New predicate that checks if a
2944 header field is to be skipped.
2945
2946 * mh-seq.el (mh-thread-inc): Inc'ing email in threaded mode was
2947 causing duplication of the current notation. The change fixes that.
2948
2949 2003-05-28 Satyaki Das <satyakid@stanford.edu>
2950
2951 * mh-comp.el (mh-beginning-of-word): Generalize it to skip
2952 arbitrary number of words.
2953 (mh-letter-complete-or-space): New interactive function that
2954 allows space character to be used for completion.
2955 (mh-letter-mode-map): Add key binding to allow space to be used
2956 for completion.
2957
2958 2003-05-27 Satyaki Das <satyakid@stanford.edu>
2959
2960 * mh-customize.el (mh-compose-prompt-flag): Customizable variable
2961 that controls whether the user is prompted when composing a draft.
2962 It replaces mh-dont-prompt-for-address-flag (closes SF #745622).
2963
2964 * mh-comp.el (mh-letter-next-header-field): If the point is in
2965 the header field name, then go the start of the header field
2966 instead of the next field.
2967 (mh-interactive-read-address, mh-interactive-read-string)
2968 (mh-letter-adjust-point): Use mh-compose-prompt-flag instead of
2969 mh-dont-prompt-for-address-flag.
2970
2971 2003-05-27 Satyaki Das <satyakid@stanford.edu>
2972
2973 * mh-customize.el (mh-tool-bar-define): Fix incorrect usage of
2974 set-specifier (closes SF #745655). Also the button enabling code
2975 interacts poorly with font-lock in XEmacs. So disable that.
2976
2977 2003-05-26 Satyaki Das <satyakid@stanford.edu>
2978
2979 * mh-e.el (mh-folder-from-address): The function
2980 message-fetch-field expects that the buffer is narrowed to the
2981 mail header. The change makes sure that this is indeed the case.
2982
2983 * mh-mime.el (mh-add-missing-mime-version-header)
2984 (mh-decode-message-body): Same as above.
2985
2986 2003-05-25 Satyaki Das <satyakid@stanford.edu>
2987
2988 * mh-alias.el (mh-alias-minibuffer-confirm-address): Modified to
2989 use mh-beginning-of-word.
2990
2991 * mh-comp.el (mh-letter-confirm-address): Calling
2992 mh-alias-reload-maybe can be expensive. So do it only if we really
2993 need to.
2994
2995 2003-05-25 Satyaki Das <satyakid@stanford.edu>
2996
2997 * mh-loaddefs.el: Regenerated.
2998
2999 * mh-comp.el (mh-letter-confirm-address): Load aliases if not yet
3000 loaded.
3001
3002 * mh-alias.el (mh-alias-reload-maybe): Autoload it since it is
3003 used in mh-comp.el.
3004
3005 2003-05-24 Satyaki Das <satyakid@stanford.edu>
3006
3007 * mh-comp.el (mh-letter-skip-leading-whitespace-in-header-field):
3008 New function to skip leading space and tab characters when placing
3009 point in a header field.
3010 (mh-letter-next-header-field, mh-letter-previous-header-field):
3011 Skip leading whitespace when using TAB to navigate to header
3012 fields.
3013 (mh-letter-confirm-address): New interactive function that
3014 displays the last expansion of the last alias when "," is typed.
3015 (mh-letter-mode-map): Add key binding for "," (closes SF #745634).
3016
3017 2003-05-23 Satyaki Das <satyakid@stanford.edu>
3018
3019 * mh-comp.el (mh-edit-again, mh-forward, mh-send)
3020 (mh-send-other-window, mh-send-sub): Modified so that if
3021 mh-dont-prompt-for-address-flag is non-nil, then MH-E won't prompt
3022 for addresses to send mail to and instead directly jump to the
3023 draft (closes SF #745622).
3024 (mh-letter-complete-function-alist): An alist that is used to
3025 decide which completion function to use in which header. This
3026 variable should probably be customizable.
3027 (mh-letter-complete): Now uses mh-letter-complete-function-alist.
3028 (mh-letter-header-field-at-point, mh-letter-next-header-field)
3029 (mh-letter-next-header-field-or-indent)
3030 (mh-letter-previous-header-field): Commands for easier navigation
3031 to header fields.
3032 (mh-dont-prompt-for-address-flag): Variable which controls
3033 whether MH-E prompts for addresses.
3034 (mh-interactive-read-address, mh-interactive-read-string): Two
3035 functions to ask user for input depending on the value of the
3036 above flag.
3037 (mh-letter-adjust-point): New function that sets point to the
3038 first header field.
3039 (mh-letter-mode-map): Add key bindings for TAB and S-TAB (closes
3040 SF #745627).
3041
3042 2003-05-23 Satyaki Das <satyakid@stanford.edu>
3043
3044 * mh-loaddefs.el: Regenerated.
3045
3046 * mh-comp.el (mh-complete-word): New function which is
3047 approximately equivalent to mail-abbrev-complete-alias.
3048 (mh-beginning-of-word): Refactor repeated code into its own
3049 function.
3050 (mh-folder-expand-at-point): Make Fcc completion work in XEmacs
3051 by not using mail-abbrev-complete-alias.
3052
3053 * mh-alias.el (mh-alias-letter-expand-alias): Make alias
3054 expansion work in XEmacs. Replace the use of the function
3055 mail-abbrev-complete-alias, which isn't present in XEmacs.
3056
3057 * mh-mime.el (mh-mml-to-mime): If a MIME message is created
3058 immediately after starting MH-E then invoking mh-mml-to-mime
3059 causes an error because "message" isn't being loaded. The change
3060 works around this problem.
3061 (mh-mime-maybe-display-alternatives): Give better indication of
3062 which MIME parts are alternatives.
3063
3064 2003-05-22 Satyaki Das <satyakid@stanford.edu>
3065
3066 * mh-e.el (mh-add-sequence-notation, mh-remove-sequence-notation):
3067 Just delete and add the same character in the scan line to make
3068 font-lock refontify it. The previous trick of removing all text
3069 properties didn't work in XEmacs.
3070
3071 * mh-seq.el (mh-put-msg-in-seq): Complain if the user tries to
3072 create an invalid MH sequence.
3073
3074 * mh-mime.el (mh-mime-display-alternative): Modified to
3075 optionally display alternatives as buttons.
3076 (mh-mime-maybe-display-alternatives): New function which displays
3077 alternative MIME parts as buttons.
3078 (mh-mime-save-part): Initially mh-mime-save-parts-directory is
3079 nil and calling file-name-as-directory with nil arg leads to an
3080 error. So fall back on the default-directory in that case.
3081
3082 * mh-customize.el (mh-display-buttons-for-alternatives-flag): New
3083 customizable variable that controls display of the alternative
3084 MIME parts (closes SF #741288).
3085
3086 2003-05-22 Peter S Galbraith <psg@debian.org>
3087
3088 * mh-customize.el (mh-invisible-header-fields): Commented out
3089 "User-Agent:". It's similar to X-Mailer, so display it.
3090
3091 2003-05-21 Satyaki Das <satyakid@stanford.edu>
3092
3093 * mh-customize.el (mh-tool-bar-define): Add an optional argument
3094 to the button description that can dynamically enable/disable
3095 buttons.
3096 (mh-tool-bar-define): The alias grabbing button is disabled if the
3097 current message doesn't have a From header or if the sender is
3098 already in the user's alias. This functionality was inadvertently
3099 lost when the Emacs/XEmacs toolbar unification took place.
3100
3101 2003-05-20 Satyaki Das <satyakid@stanford.edu>
3102
3103 * mh-unit.el (mh-unit-construct-call-graph): Be more aggressive
3104 and flag interactive functions that aren't autoloaded or have no
3105 key bindings.
3106 (mh-unit-interactive-function-p): Remove now unused function.
3107 (mh-unit, mh-unit-construct-call-graph): Replace mh-files with
3108 mh-unit-files.
3109
3110 2003-05-20 Bill Wohler <wohler@newt.com>
3111
3112 * mh-unit.el (mh-prune-trailing-spaces): Renamed to
3113 mh-unit-prune-trailing-spaces to clean up the namespace.
3114 (mh-files): Renamed to mh-unit-files. Ditto.
3115 (mh-unit): Checkdoc fix.
3116
3117 * mh-index.el (mh-index-p): Added autoload cookie since mh-index-p
3118 is used by mh-customize.el. This calls for another mh-unit test
3119 that looks for mh-autoloads for functions that are no longer used
3120 in other files.
3121
3122 * mh-loaddefs.el: Regenerated.
3123
3124 2003-05-20 Satyaki Das <satyakid@stanford.edu>
3125
3126 * mh-unit.el (mh-unit-construct-call-graph): Factor out the code
3127 to read the lisp files to a separate function. Also change it to
3128 construct a function call-graph. Autoloaded functions are taken
3129 into account.
3130 (mh-unit-find-all-used-functions, mh-unit-called-functions)
3131 (mh-unit-find-all-unused-functions): Find all unused functions by
3132 computing a fixed point starting from the set of top level
3133 functions.
3134 (mh-unit-analyze-block): Removed.
3135 (mh-unit-update-call-graph): mh-unit-functions-called was renamed
3136 with modifications to update the function call graph.
3137
3138 2003-05-19 Satyaki Das <satyakid@stanford.edu>
3139
3140 * mh-loaddefs.el: Regenerated.
3141
3142 * mh-utils.el (mh-notate): Modified to keep track of notation
3143 that was replaced when sequence notation is added. Thus when the
3144 sequence is deleted, the original notation is recovered.
3145 (mh-add-msgs-to-seq): Modified to work with the new sequence
3146 notation code.
3147
3148 * mh-seq.el (mh-delete-seq, mh-put-msg-in-seq): Simplified since
3149 we don't need to handle tick and unseen sequences specially any
3150 more.
3151 (mh-narrow-to-seq): Don't need to call mh-notate-user-sequences
3152 since mh-copy-seq-to-eob already does that.
3153 (mh-widen): Remove sequence notation, so that notation when
3154 messages are replied to aren't lost.
3155 (mh-copy-seq-to-eob): Simplified with the use of
3156 mh-iterate-on-range.
3157 (mh-thread-inc): This function doesn't need to notate user
3158 sequences since its callers already do that.
3159 (mh-thread-parse-scan-line): Simplified since mh-note-seq doesn't
3160 appear in scan lines it is given as arguments.
3161 (mh-thread-update-scan-line-map): Remove the test, since its
3162 caller already does the required check.
3163 (mh-thread-folder): Simplified by the use of mh-iterate-on-range.
3164 (mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick):
3165 These functions aren't needed any more, since overlays aren't used
3166 any more. Also overlays aren't portable to XEmacs, so nasty
3167 conditional code that used overlays in Emacs and extents in Xemacs
3168 have been eliminated.
3169 (mh-toggle-tick): Generalize it to work on a range of messages
3170 like the other interactive messages.
3171
3172 * mh-funcs.el (mh-undo-folder): Use mh-remove-all-notation
3173 instead of mh-unmark-all-headers.
3174
3175 * mh-e.el (mh-folder-font-lock-keywords): The entry for unseen
3176 sequence highlighting is now done by the macro.
3177 (mh-generate-sequence-font-lock): New macro to highlight any
3178 arbitrary sequence. This macro is invoked twice to get the
3179 highlighting for unseen and tick sequences.
3180 (mh-sequence-notation-history, mh-folder-mode): New variable that
3181 keeps track of the old notation when a message is notated with
3182 mh-note-seq.
3183 (mh-regenerate-headers, mh-get-new-mail): Add appropriate calls to
3184 mh-notate-user-sequences and mh-remove-all-notation.
3185 (mh-unmark-all-headers): Add comment that this function shouldn't
3186 be used any more.
3187 (mh-add-sequence-notation, mh-remove-sequence-notation): New
3188 functions to notate message with mh-note-seq and to remove it.
3189 (mh-remove-all-notation): Simplified to use mh-iterate-on-range.
3190 (mh-process-commands): Use mh-remove-all-notation instead of
3191 mh-unmark-all-headers.
3192 (mh-notate-user-sequences, mh-delete-msg-from-seq): Simplified
3193 since the tick and unseen sequences don't need special handling
3194 any more.
3195 (mh-internal-seq): Make it possible to dynamically change what
3196 sequences are treated as internal (internal means font lock is
3197 used to highlight the sequence).
3198 (mh-clear-text-properties): Removed since it isn't needed
3199 anymore.
3200
3201 2003-05-19 Satyaki Das <satyakid@stanford.edu>
3202
3203 * mh-unit.el (mh-unit-analyze-block, mh-unit-interactive-function-p)
3204 (mh-unit-find-all-unused-functions): Change argument name bl to
3205 block.
3206
3207 2003-05-19 Satyaki Das <satyakid@stanford.edu>
3208
3209 * mh-unit.el (mh-unit-find-all-unused-functions): New interactive
3210 function to find all unused functions in MH-E.
3211 (mh-unit-analyze-block, mh-unit-interactive-function-p)
3212 (mh-unit-functions-called): Functions used by
3213 mh-unit-find-all-unused-functions do its job.
3214
3215 * Makefile (compile): Byte-compile mh-unit.el, since the analysis
3216 to find unused code runs faster when compiled.
3217
3218 2003-05-18 Satyaki Das <satyakid@stanford.edu>
3219
3220 * mh-loaddefs.el: Regenerated.
3221
3222 * mh-seq.el (mh-notate-deleted-and-refiled): Add autoload
3223 declaration since this function is used in mh-index.el.
3224
3225 * mh-e.el, mh-customize.el, mh-utils.el: Adjust require/provide
3226 statements so that mh-e.el isn't loaded twice.
3227
3228 2003-05-15 Satyaki Das <satyakid@stanford.edu>
3229
3230 * mh-utils.el (mh-defun-show-buffer): Arrange for the current
3231 line in the folder buffer to be highlighted even when we are in
3232 the show buffer.
3233
3234 2003-05-14 Satyaki Das <satyakid@stanford.edu>
3235
3236 * mh-seq.el (mh-read-range): Allow this to work on invalid
3237 sequences that only MH-E knows about.
3238
3239 * mh-index.el (mh-create-sequence-map, mh-index-add-to-sequence)
3240 (mh-index-delete-from-sequence): Don't consider sequences that
3241 aren't valid MH sequences.
3242
3243 * mh-e.el (mh-valid-seq-p): New predicate to check if a symbol
3244 could be a MH sequence.
3245 (mh-undefine-sequence, mh-define-sequence): Don't execute "mark"
3246 unless the sequence name is a valid MH sequence.
3247
3248 * mh-utils.el (mh-exec-cmd): In case an error happens in the
3249 call-process and non-strings are present in ARGS, then the error
3250 message isn't properly displayed. The change fixes this.
3251
3252 2003-05-14 Peter S Galbraith <psg@debian.org>
3253
3254 * mh-mime.el (mh-mime-save-part): Bug Fix: Make sure
3255 `mm-default-directory' gets a trailing "/" if
3256 `mh-mime-save-parts-directory' doesn't have one. Otherwise the
3257 default in the prompt of `mh-mm-save-part' will be wrong. Perhaps
3258 `mh-mm-save-part' needs to do this check itself.
3259
3260 2003-05-14 Satyaki Das <satyakid@stanford.edu>
3261
3262 * mh-index.el (mh-unpropagated-sequences): New function and
3263 variable to keep track of sequences that shouldn't be propagated.
3264 (mh-create-sequence-map, mh-index-add-to-sequence)
3265 (mh-index-delete-from-sequence): Use mh-unpropagated-sequences to
3266 stop changes to some sequences being reflected back to the source
3267 folders.
3268
3269 2003-05-13 Satyaki Das <satyakid@stanford.edu>
3270
3271 * mh-loaddefs.el: Regenerated.
3272
3273 * mh-e.el (mh-process-commands): Preserve sequences when messages
3274 are refiled (closes SF #737128).
3275
3276 * mh-index.el (mh-create-sequence-map)
3277 (mh-index-create-sequences): Refactor code that is reused into a
3278 new function.
3279
3280 * mh-customize.el (mh-refile-preserves-sequences-flag): New
3281 customizable flag that controls whether sequences are preserved
3282 when messages are refiled.
3283
3284 2003-05-13 Eric Ding <ericding@alum.mit.edu>
3285
3286 * mh-e.el (mh-scan-format): The argument for scan format files
3287 should be -form, not -format.
3288
3289 2003-05-13 Satyaki Das <satyakid@stanford.edu>
3290
3291 * mh-seq.el (mh-widen): The scan line map stack was not being
3292 properly updated when ALL-FLAG is non-nil. The change fixes that.
3293
3294 * mh-e.el (mh-reset-threads-and-narrowing): The change resets the
3295 scan line map stack.
3296
3297 2003-05-12 Satyaki Das <satyakid@stanford.edu>
3298
3299 * mh-loaddefs.el: Regenerated.
3300
3301 * mh-seq.el (mh-thread-scan-line-map-stack)
3302 (mh-thread-old-scan-line-map): Instead of the old scan line map,
3303 now we need to maintain a stack of scan line maps.
3304 (mh-narrow-to-seq): Modified so that multiple level of narrowings
3305 can be done. We now maintain a stack of old views instead of
3306 hiding the old scan lines. This makes it possible to have
3307 multiple levels of narrowings.
3308 (mh-widen): A optional prefix arg was added to allow undoing all
3309 narrowing.
3310 (mh-read-seq-default, mh-read-range): Don't use
3311 mh-narrowed-to-seq, since it doesn't exist any more.
3312 (mh-thread-initialize-hash, mh-thread-initialize): The
3313 mh-thread-initialize function has been refactored.
3314 (mh-thread-update-scan-line-map): Maintain notations in the stack
3315 of scan line maps.
3316 (mh-notate-tick, mh-toggle-tick): Simplified, since we don't have
3317 mh-narrowed-to-seq any more. This means there is a slight loss of
3318 functionality. Earlier if we narrowed to the tick sequence the
3319 ticked messages weren't highlighted. This feature isn't present
3320 any more.
3321
3322 * mh-e.el (mh-execute-commands, mh-reset-threads-and-narrowing)
3323 (mh-folder-sequence-menu, mh-get-new-mail): Use
3324 mh-folder-view-stack instead of the now removed
3325 mh-narrowed-to-seq.
3326 (mh-narrowed-to-seq, mh-tick-seq-changed-when-narrowed-flag):
3327 These variables have been removed.
3328 (mh-folder-view-stack): New variable to keep track of a stack of
3329 narrowings.
3330 (mh-execute-commands, mh-get-new-mail): Add extra argument to
3331 mh-widen so that all narrowings are undone.
3332
3333 * Makefile (MH-E-SRC, MH-E-OTHERS): Move mh-gnus.el from MH-E-SRC
3334 to MH-E-OTHERS so that it isn't byte compiled.
3335
3336 2003-05-10 Satyaki Das <satyakid@stanford.edu>
3337
3338 * mh-seq.el (mh-read-seq): Improve the function a bit by adding
3339 history to the sequence prompt.
3340
3341 2003-05-09 Satyaki Das <satyakid@stanford.edu>
3342
3343 * mh-gnus.el: New file that won't be byte-compiled. From now on
3344 having different Gnus versions at run-time and compile-time won't
3345 cause errors in MH-E.
3346
3347 * mh-mime.el (mh-small-show-buffer-p, mh-display-smileys)
3348 (mh-display-emphasis): Handle all legal values of
3349 font-lock-maximum-size. The existing code assumed didn't consider
3350 the case where it could be an alist.
3351 (mh-small-image-p): Simplified, so that aliasing XEmacs functions
3352 in Emacs isn't necessary any more.
3353 (mh-mm-display-part): Remove unnecessary call to fboundp. The
3354 mh-funcall-if-exists does that for us any way.
3355 (mh-defun-compat, gnus-local-map-property, mm-merge-handles)
3356 (mm-set-handle-multipart-parameter, mm-readable-p)
3357 (mm-long-lines-p, mm-keep-viewer-alive-p, mm-destroy-parts)
3358 (mh-mm-save-part, mm-handle-multipart-ctl-parameter): These
3359 compatibility functions have been moved to mh-gnus.el.
3360
3361 * Makefile (MH-E-SRC): Add mh-gnus.el.
3362
3363 * mh-seq.el (mh-narrow-to-header-field)
3364 (mh-current-message-header-field): Checkdoc fixes.
3365
3366 * mh-e.el (mh-undefine-sequence): Since mh-coalesce-msg-list
3367 returns a list, apply is needed.
3368
3369 2003-05-09 Noel Cragg <noel@red-bean.com> (tiny change)
3370
3371 * mh-junk.el (mh-spamassassin-blacklist): Separate "--local" and
3372 "--no-rebuild" arguments to call-process.
3373 [Patch committed by satyaki]
3374
3375 2003-05-08 Satyaki Das <satyakid@stanford.edu>
3376
3377 * mh-seq.el (mh-translate-range): Take into account differnt
3378 semantics of split-string in Emacs and XEmacs.
3379 (mh-read-pick-regexp, mh-narrow-to-from, mh-narrow-to-cc)
3380 (mh-narrow-to-to, mh-narrow-to-header-field)
3381 (mh-current-message-header-field, mh-narrow-to-range): New
3382 narrowing functions that can select messages based on different
3383 message headers.
3384
3385 * mh-utils.el (mh-show-limit-map): Add new narrowing functions
3386 callable from the show buffer.
3387
3388 * mh-e.el (mh-help-messages): Add help text for new functions.
3389 (mh-limit-map): Add new narrowing functions (closes SF #732823).
3390
3391 2003-05-07 Satyaki Das <satyakid@stanford.edu>
3392
3393 * mh-utils.el (mh-collect-folder-names): Use mh-exec-daemon to
3394 run flists. This means we don't have to remember to expand the MH
3395 executable in the mh-progs path.
3396 (mh-exec-cmd-daemon): Return the new process object produced.
3397
3398 2003-05-06 Satyaki Das <satyakid@stanford.edu>
3399
3400 * mh-e.el (mh-folder-font-lock-unseen): Use mh-seq-list to do
3401 unseen sequence highlighting instead of reading the .mh_sequences
3402 file from disk every time.
3403
3404 2003-05-05 Satyaki Das <satyakid@stanford.edu>
3405
3406 * mh-utils.el (mh-show-sequence-map): Add key binding for S'
3407 (closes SF #732825).
3408
3409 * mh-e.el (mh-sequence-map): Ditto.
3410 (mh-help-messages): Updated for S'.
3411
3412 2003-05-04 Satyaki Das <satyakid@stanford.edu>
3413
3414 * mh-index.el (mh-index-write-data): The with-temp-buffer macro
3415 is a bit better than write-file, so use that instead.
3416
3417 2003-05-03 Satyaki Das <satyakid@stanford.edu>
3418
3419 * mh-index.el (mh-index-update-maps, mh-index-search)
3420 (mh-index-sequenced-messages): Write index data to disk. This
3421 allows us to recover index folder information if Emacs is
3422 restarted, or the index folder is visited after the buffer has
3423 been killed (closes SF #701762).
3424 (mh-index-write-data, mh-index-read-data)
3425 (mh-index-write-hashtable, mh-index-read-hashtable): Functions to
3426 store and read index data information to disk.
3427 (mh-index-insert-folder-headers, mh-index-group-by-folder): We
3428 can no longer use object identity to compare strings, since they
3429 might have been read back from disk.
3430
3431 * mh-e.el (mh-index-data-file): New variable that stores the name
3432 of the file that keeps track of index folder data.
3433 (mh-make-folder): Read index folder data if available.
3434
3435 * mh-utils.el (mh-show, mh-summary-height, mh-modify): Make
3436 checkdoc happy.
3437
3438 * mh-seq.el (mh-tick-add-overlay): Rearrange code to make code
3439 more uniform.
3440
3441 * mh-loaddefs.el: Regenerated.
3442
3443 2003-05-02 Satyaki Das <satyakid@stanford.edu>
3444
3445 * mh-seq.el (mh-tick-add-overlay): If a message with a short scan
3446 line is ticked, then the highlighting didn't extend to the right
3447 margin. This change fixes that.
3448
3449 2003-05-01 Bill Wohler <wohler@newt.com>
3450
3451 * mh-e.el (mh-help-messages): Added brackets around / and
3452 downcased limit to be consistent with other commands with
3453 punctuation keybindings. Don't document aliases.
3454
3455 2003-05-01 Satyaki Das <satyakid@stanford.edu>
3456
3457 * mh-loaddefs.el: Regenerated.
3458
3459 * mh-seq.el (mh-read-range): Fix comment.
3460
3461 2003-04-30 Mark D. Baushke <mdb@gnu.org>
3462
3463 * mh-e.el (mh-help-messages): Better documentation for the F map.
3464
3465 2003-04-30 Satyaki Das <satyakid@stanford.edu>
3466
3467 * mh-utils.el (mh-find-path): Cache folder names so that
3468 folder name completion is always fast.
3469 (mh-flists-partial-line, mh-flists-process): Variables used for
3470 pre-caching folder names.
3471 (mh-collect-folder-names, mh-collect-folder-names-filter)
3472 (mh-populate-sub-folders-cache): Functions to pre-cache folder
3473 names.
3474 (mh-exec-cmd): Produce more info in *MH-E Log*.
3475
3476 * mh-index.el (mh-index-search): Call the correct function.
3477 (mh-index-sequenced-messages): If folders is nil, then all mail
3478 is searched. The change restores that.
3479
3480 2003-04-30 Peter S Galbraith <psg@debian.org>
3481
3482 * mh-customize.el (mh-summary-height): Move variable integer out
3483 of defcustom, and instead specify that `nil' means to calculate
3484 that size dynamically. Fixes SF #723267.
3485
3486 * mh-utils.el (mh-summary-height): New function. Return ideal
3487 mh-summary-height value for current frame height.
3488 (mh-show-msg): Use it.
3489
3490 2003-04-30 Mark D. Baushke <mdb@gnu.org>
3491
3492 * mh-index.el (mh-index-ticked-messages): Fix prompt and
3493 description string.
3494 (mh-index-new-messages): Ditto.
3495
3496 * mh-loaddefs.el: Regenerated.
3497
3498 * mh-index.el (mh-index-sequenced-messages): Renamed from
3499 mh-index-new-messages with minor argument change.
3500 (mh-index-new-messages): Implement by calling
3501 mh-index-sequenced-messages with the appropriate arguments.
3502 (mh-index-ticked-messages): New function. Does the same thing as
3503 mh-index-new-messages, but on its own set of folders and using the
3504 mh-tick-seq instead of mh-unseen-seq.
3505
3506 * mh-e.el (mh-folder-map): Add "F'" to the map for
3507 mh-index-ticked-messages.
3508 (mh-help-messages): Replace broken [t]hread with [n]ew messages.
3509
3510 * mh-customize.el (mh-index-ticked-messages-folders): New user
3511 customizable flag that controls the folders to be searched by
3512 mh-index-ticked-messages.
3513
3514 * mh-utils.el (mh-show-index-ticked-messages): Wrapper for
3515 mh-index-ticked-messages.
3516 (mh-show-folder-map): Add "F'" to the map for
3517 mh-index-ticked-messages.
3518
3519 2003-04-30 Satyaki Das <satyakid@stanford.edu>
3520
3521 * mh-index.el (mh-index-search): The old cur in the source folder
3522 might not exist. This could cause mh-exec-cmd to fail. So don't
3523 add an error message in that case.
3524
3525 2003-04-29 Satyaki Das <satyakid@stanford.edu>
3526
3527 * mh-e.el (mh-folder-from-address): Modified to allow multiple
3528 Cc: headers to work properly.
3529 (mh-inc-folder, mh-visit-folder): Fix an off by one error.
3530
3531 * mh-utils.el (mh-notate): Update the scan line map. This fixes a
3532 tiny bug. In threaded view, if a message is replied to then the
3533 message is notated with a "-". Now if inc is done then the "-"
3534 added is lost. The change fixes this.
3535
3536 * mh-seq.el (mh-translate-range): Use the correct function.
3537 (mh-thread-update-scan-line-map): New function that updates the
3538 scan line map when a message is notated.
3539
3540 2003-04-28 Satyaki Das <satyakid@stanford.edu>
3541
3542 * mh-index.el (mh-index-parse-search-regexp): Avoid compiler
3543 warning in GNU Emacs 21.3.
3544
3545 * mh-seq.el (mh-widen): Ditto.
3546
3547 2003-04-28 Satyaki Das <satyakid@stanford.edu>
3548
3549 * mh-customize.el (mh-interpret-number-as-range-flag): New user
3550 customizable flag that controls whether a single number, N is
3551 interpreted as the range last:N.
3552
3553 * mh-seq.el (mh-read-range): Generalize it for use when reading
3554 range to scan.
3555 (mh-interactive-range): Modified to use the new mh-read-range.
3556
3557 * mh-speed.el (mh-speed-view): Use mh-read-range instead of the
3558 now removed mh-read-msg-range function.
3559
3560 * mh-funcs.el (mh-pack-folder): Ditto.
3561
3562 * mh-e.el (mh-rescan-folder, mh-visit-folder): Ditto.
3563 (mh-read-msg-range): Removed.
3564
3565 * mh-loaddefs.el: Regenerated
3566
3567 2003-04-27 Satyaki Das <satyakid@stanford.edu>
3568
3569 * mh-loaddefs.el: Regenerated.
3570
3571 * mh-seq.el (mh-range-completion-function): Fix checkdoc warning.
3572 (mh-iterate-on-range): Mention that the macro can iterate over a
3573 MH message range too.
3574
3575 2003-04-27 Bill Wohler <wohler@newt.com>
3576
3577 * mh-unit.el (mh-unit): As it turns out, lm-crack-copyright has
3578 been updated to handle multiple-line copyrights in 21.3, so
3579 updated code to run lm-verify only if user has 21.3 or greater.
3580 Delete buffers after use, unless user already had buffer open.
3581
3582 2003-04-27 Satyaki Das <satyakid@stanford.edu>
3583
3584 * mh-loaddefs.el: Regenerated.
3585
3586 * mh-index.el (mh-index-search): The MH command "refile" changes
3587 cur. The change restores cur in source folders.
3588 (mh-index-new-messages): Use the appropriate arguments for
3589 mh-read-seq.
3590
3591 * mh-seq.el (mh-read-seq-default, mh-read-seq): Restore these
3592 functions to just read sequence names.
3593 (mh-range-seq-names, mh-range-history, mh-range-completion-map)
3594 (mh-range-completion-function, mh-read-range): New function which
3595 reads MH range with completion and history.
3596 (mh-interactive-range): Use mh-read-range instead of
3597 mh-read-seq-default.
3598 (mh-put-msg-in-seq): Change documentation about MH message range.
3599
3600 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Change
3601 documentation about MH message range.
3602
3603 * mh-funcs.el (mh-copy-msg, mh-print-msg): Ditto.
3604
3605 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion)
3606 (mh-refile-msg, mh-undo, mh-delete-msg-from-seq): Ditto.
3607
3608 * mh-comp.el (mh-forward): Ditto.
3609
3610 2003-04-26 Satyaki Das <satyakid@stanford.edu>
3611
3612 * mh-comp.el, mh-e.el, mh-funcs.el, mh-junk.el, mh-seq.el:
3613 Replace msg-or-seq with range everywhere.
3614
3615 * mh-loaddefs.el: Regenerated.
3616
3617 2003-04-25 Satyaki Das <satyakid@stanford.edu>
3618
3619 * mh-e.el (mh-index-sequence-search-flag, mh-folder-mode): New
3620 local variable to remember that a folder buffer contains results
3621 from a sequence search. This is needed so that "C-u F i" will work
3622 as expected.
3623 (mh-visit-folder): Create sequences in the index folder.
3624 (mh-process-commands, mh-delete-msg-from-seq): If speedbar is on
3625 then update the speedbar message counts immediately.
3626 (mh-delete-msg-from-seq): Make the code faster by calling "mark"
3627 just once. Also update source folder sequence if messages are
3628 being deleted from a sequence in an index folder.
3629 (mh-undefine-sequence): Simplified to remove the speedbar updating
3630 code. Also DTRT and don't change any sequence when called with an
3631 empty list of messages.
3632 (mh-refile-msg, mh-delete-msg): Move to next message only if the
3633 current message has been deleted or refiled, as the case may be.
3634
3635 * mh-utils.el (mh-show-msg): Update the message counts in the
3636 speedbar, if it is on, immediately.
3637 (mh-speed-flists-active-p, mh-speed-flists-inhibit-flag): A new
3638 flag has been added which inhibits updating of the speedbar. This
3639 is used to avoid needless speedbar updates when
3640 mh-execute-commands is called in index folders.
3641
3642 * mh-speed.el (mh-speed-flists): Extended so that multiple
3643 folders can be given as arguments. Also the code that kept track
3644 of the current folder, needed since flists adds an extra ?+ char
3645 at the end of the current folder name, wasn't entirely correct.
3646 That has also been fixed.
3647
3648 * mh-seq.el (mh-delete-seq, mh-put-msg-in-seq): Modified so that
3649 sequence in source folder is updated if we delete a sequence in an
3650 index folder.
3651 (mh-read-seq, mh-read-seq-default, mh-translate-range)
3652 (mh-interactive-msg-or-seq): The mh-interactive-msg-or-seq
3653 function can read in an arbitrary MH message range.
3654 (mh-iterate-on-msg-or-seq): The macro has been extended to work on
3655 a MH range.
3656 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
3657 (mh-subject-to-sequence-threaded, mh-thread-find-msg-subject): Fix
3658 the mh-subject-to-sequence function so that it will work in
3659 threaded folders too.
3660 (mh-tick-add-overlay): Fix a leak of overlays.
3661 (mh-toggle-tick): Ticking, or unticking, messages in the index
3662 folder is propagated to the source folders (closes SF #709664).
3663
3664 * mh-index.el (mh-flists-results-folder, mh-flists-sequence)
3665 (mh-flists-called-flag): New variables to implement searching for
3666 arbitrary sequences.
3667 (mh-index-generate-pretty-name): Updated so that folder names are
3668 generated for flists search that can take any sequence name.
3669 (mh-index-search): Since sequences are now properly maintained the
3670 unseen-flag argument isn't needed and hence removed. Also redoing
3671 a sequence search with "C-u F i" is handled correctly. Finally
3672 the speedbar is updated to reflect the new index folder created.
3673 (mh-index-create-sequences): New function that creates sequences
3674 in the index folder.
3675 (mh-index-matching-source-msgs, mh-index-execute-commands):
3676 Improved so that scan lines for refiled/deleted messages are
3677 removed from the source folders as well.
3678 (mh-index-add-to-sequence, mh-index-delete-from-sequence): New
3679 functions to update sequences in source folder to reflect changes
3680 in index folder.
3681 (mh-index-quote-for-shell): A utility function to that quotes
3682 characters with special meaning to /bin/sh.
3683 (mh-flists-execute, mh-index-new-messages): Updated to search for
3684 arbitrary sequences (closes SF #718833).
3685
3686 * mh-loaddefs.el: Regenerated.
3687
3688 2003-04-25 Bill Wohler <wohler@newt.com>
3689
3690 * mh-customize.el (mh-kill-folder-suppress-prompt-hook): New hook
3691 used by mh-kill-folder to suppress the prompt.
3692
3693 * mh-funcs.el (mh-kill-folder): Suppress prompt not if
3694 mh-index-data is non-nil, but if any functions in
3695 mh-kill-folder-suppress-prompt-hook return non-nil.
3696
3697 * mh-index.el (mh-index-p): New function with returns non-nil if
3698 the current folder was generated by an index search for use by
3699 mh-kill-folder-suppress-prompt-hook
3700
3701 * mh-unit.el (mh-unit): Commented out lm-verify step until code
3702 updated to handle split Copyright lines.
3703
3704 * mh-e.el (mh-version): Set to 7.3+cvs.
3705
3706 2003-04-24 Bill Wohler <wohler@newt.com>
3707
3708 Released MH-E version 7.3.
3709
3710 * MH-E-NEWS, README: Updated for release 7.3.
3711
3712 * mh-e.el (Version, mh-version): Updated for release 7.3.
3713
3714 2003-04-24 Satyaki Das <satyakid@stanford.edu>
3715
3716 * mh-xemacs-compat.el (mh-utils): Require mh-utils at compile
3717 time, since the mh-do-in-xemacs macro is used.
3718
3719 * mh-inc.el (cl): Require cl at compile time since we are using
3720 the loop and setf macros.
3721
3722 2003-04-24 Satyaki Das <satyakid@stanford.edu>
3723
3724 * mh-unit.el (mh-files): Fix the list of files to check.
3725
3726 2003-04-24 Bill Wohler <wohler@newt.com>
3727
3728 * ChangeLog: Appended copyright to end of file.
3729
3730 * Makefile: Added copyright and license.
3731
3732 * README: Added copyright.
3733
3734 * import-emacs: Changed copyright from Newt Software to Bill
3735 Wohler and use license from mh-e.el, except that this file is
3736 a part of MH-E, not GNU Emacs.
3737
3738 * mh-alias.el: Updated copyright so that it doesn't wrap upon
3739 advice from Richard Stallman who said to use two-digit years when
3740 they are surrounded by 4-digit years that are in the same century
3741 and to break up copyrights on multiple lines.
3742 * mh-comp.el: Ditto.
3743 * mh-e.el: Ditto.
3744 * mh-funcs.el: Ditto.
3745 * mh-identity.el: Ditto.
3746 * mh-mime.el: Ditto.
3747 * mh-seq.el: Ditto.
3748 * mh-utils.el: Ditto.
3749 * mh-xemacs-compat.el: Ditto.
3750
3751 * mh-unit.el: New file. Unit tests for MH-E. This version merely
3752 runs checkdoc and lm-verify which is useful before releasing the
3753 software. It can and should be expanded to do real unit tests.
3754
3755 2003-04-22 Mark D Baushke <mdb@gnu.org>
3756
3757 * mh-alias.el: Update Copyright.
3758 * mh-comp.el: Ditto.
3759 * mh-customize.el: Ditto.
3760 * mh-e.el: Ditto.
3761 * mh-funcs.el: Ditto.
3762 * mh-identity.el: Ditto.
3763 * mh-index.el: Ditto.
3764 * mh-mime.el: Ditto.
3765 * mh-pick.el: Ditto.
3766 * mh-seq.el: Ditto.
3767 * mh-speed.el: Ditto.
3768 * mh-utils.el: Ditto.
3769 * mh-xemacs-compat.el: Ditto.
3770
3771 2003-04-22 Satyaki Das <satyaki@theforce.stanford.edu>
3772
3773 * mh-utils.el (mh-normalize-folder-name): Make the completion
3774 code work properly with XEmacs. This change is neeeded since
3775 split-string behaves differently in XEmacs than it does in GNU
3776 Emacs.
3777 (mh-exec-cmd-error): Add a comment, so that we change it later on.
3778
3779 2003-04-18 Steve Youngs <youngs@xemacs.org>
3780
3781 * mh-xemacs-icons.el (mh-xemacs-icons): Provide 'mh-xemacs-icons'
3782 not 'mh-xemacs-toolbar'.
3783
3784 * mh-xemacs-compat.el (mh-xemacs-toolbar): Remove require, it's
3785 now called 'mh-xemacs-icons' and it is required from
3786 'mh-customize'.
3787
3788 * mh-customize.el: Require 'mh-xemacs-icons' instead of
3789 'mh-xemacs-toolbar'.
3790
3791 2003-04-17 Peter S Galbraith <psg@debian.org>
3792
3793 * mh-xemacs-icons.el: New file (renamed from mh-xemacs-toolbar.el).
3794 Holds XEmacs icons.
3795
3796 * mh-xemacs-toolbar.el: Deleted.
3797
3798 * Makefile: Incorporate the file renaming.
3799
3800 2003-04-15 Bill Wohler <wohler@newt.com>
3801
3802 * mh-comp.el (mh-forward): Pass a list of messages into
3803 mh-compose-and-send-mail instead of msg-or-seq.
3804 (mh-annotate-msg): The previous version called
3805 mh-iterate-on-msg-or-seq in the letter buffer. The new version
3806 simply adds the ability to operate on message lists. Thanks to
3807 Satyaki for the fix and suggestion for passing a list from
3808 mh-forward.
3809
3810 2003-04-14 Bill Wohler <wohler@newt.com>
3811
3812 * mh-comp.el (mh-annotate-msg): Updated to handle msg-or-seq for
3813 mh-forward was passing a msg-or-seq to mh-compose-and-send-mail
3814 which in turn passed the msg-or-seq to mh-annotate-msg. In
3815 particular, forwarding a region failed. Note that the msgs
3816 argument in much of mh-comp.el should really be converted to
3817 msg-or-seq accordingly. But not now, unless something is broken as
3818 was the case here. We can revamp after the release.
3819
3820 2003-04-13 Bill Wohler <wohler@newt.com>
3821
3822 * mh-funcs.el (mh-kill-folder): Added space after prompt to give
3823 the (yes or no) bit a little elbow room.
3824
3825 * mh-xemacs-toolbar.el: Removing a copyright is a no-no.
3826 Reinstated Steve's copyright.
3827
3828 2003-04-12 Satyaki Das <satyaki@theforce.stanford.edu>
3829
3830 * mh-utils.el (mh-do-in-gnu-emacs, mh-do-in-xemacs): Add
3831 indentation hooks for the macros.
3832
3833 2003-04-11 Bill Wohler <wohler@newt.com>
3834
3835 * mh-alias.el, mh-comp.el, mh-customize.el, mh-funcs.el,
3836 mh-identity.el, mh-inc.el, mh-index.el, mh-junk.el, mh-utils.el:
3837 Merged in changes from CVS GNU Emacs. These included the removal
3838 of trailing whitespace.
3839
3840 * mh-customize.el: The "anti-entropy" check-in. Moved groups
3841 around slightly to reflect commentary. Moved defcustoms around
3842 to preserve alphabetization. Big diff, little content.
3843 (mh-xemacs-use-toolbar-flag): Doc fix.
3844 (mh-xemacs-toolbar-position): Fixed typo in docstring.
3845 (mh-default-folder-list): Updated docstring to reflect new Check
3846 Recipient tag. Also, set type of Address to regexp.
3847 (mh-x-mailer-string): Moved to mh-comp.el where it is used.
3848
3849 * mh-comp.el (mh-x-mailer-string): Moved here from customize.el.
3850 Not quite sure how it got to mh-customize.el in the first place.
3851
3852 * mh-e.el (mh-folder-folder-menu): Added Folder -> View New
3853 Messages menu item.
3854
3855 * mh-utils.el (mh-show-folder-menu): Ditto.
3856
3857 * mh-inc.el: Added Change Log comment (lm-verify fix).
3858
3859 * mh-index.el (mh-index-search): Added documentation about prefix
3860 argument for users, in addition to documentation for programmers.
3861
3862 * mh-mime.el (mh-edit-mhn, mh-edit-mhn, mh-mml-to-mime): Docstring
3863 fixes germaine to the change whereby we now check for MIME
3864 directives before sending.
3865
3866 * mh-xemacs-toolbar.el: Fixed copyright. Added Change Log comment
3867 (lm-verify fix). Added standard MH-E local variables. Removed
3868 time-stamp stuff.
3869
3870 2003-04-11 Satyaki Das <satyaki@theforce.stanford.edu>
3871
3872 * mh-seq.el (mh-iterate-on-msg-or-seq): Add a missed comma.
3873
3874 2003-04-10 Satyaki Das <satyaki@theforce.stanford.edu>
3875
3876 * mh-index.el (mh-index-visit-folder): Prompt before reusing
3877 existing folder buffer.
3878
3879 * mh-xemacs-toolbar.el (require): Require mh-utils at compile
3880 time to avoid compilation error when doing "make bootstrap" in
3881 CVS Emacs.
3882
3883 * mh-inc.el (mh-inc-spool-list): Declare it so that a compile
3884 time warning is avoided when doing "make bootstrap" in CVS Emacs.
3885
3886 2003-04-10 Peter S Galbraith <psg@debian.org>
3887
3888 * mh-inc.el (mh-inc-spool-generator): Changed to a defun instead
3889 of a defmacro, applying Satyaki's patch.
3890 (mh-inc-spool-def-key): same.
3891 (mh-inc-spool-make): same.
3892
3893 * mh-utils.el: define-key "I" in mh-show-mode-map for
3894 mh-inc-spool-map.
3895
3896 * mh-comp.el (mh-modify-header-field): Remove debug message.
3897
3898 2003-04-10 Peter S Galbraith <psg@debian.org>
3899
3900 * mh-inc.el (mh-inc-spool-map-help): Default to nil.
3901 (mh-inc-spool-map): Make "?" key display message when
3902 `mh-inc-spool-map-help' is nil (instead of mh-inc-spool-map-help
3903 containing the message).
3904
3905 * mh-e.el: require mh-inc.el
3906 * mh-e.el: define-key "I" in mh-folder-mode-map for mh-inc-spool-map.
3907 (mh-help-messages): Add help string for "I" key.
3908
3909 2003-04-09 Peter S Galbraith <psg@debian.org>
3910
3911 * mh-inc.el: New file. New feature to `inc' mail from various
3912 spool files into different folders.
3913
3914 * mh-loaddefs.el: Regenerate for mh-inc's mh-inc-spool-list-set.
3915
3916 * Makefile (MH-E-IMG): Add highlight icon.
3917 (MH-E-SRC): Add mh-inc.el file.
3918
3919 * mh-customize.el (mh-inc-spool-list): New variable for new
3920 feature to `inc' mail from various spool files into different
3921 folders.
3922
3923 2003-04-09 Satyaki Das <satyaki@theforce.stanford.edu>
3924
3925 * mh-utils.el (mh-mail-delivery-buffer): Add a defconst for
3926 mh-mail-delivery-buffer.
3927
3928 * mh-comp.el (mh-send-letter): Use mh-mail-delivery-buffer.
3929
3930 * mh-mime.el (mh-small-image-p): Add mh-funcall-if-exists to
3931 avoid compiler warning in GNU Emacs.
3932
3933 2003-04-08 Satyaki Das <satyaki@theforce.stanford.edu>
3934
3935 * mh-mime.el (mh-small-image-p): Make the function slightly more
3936 error-resistant in XEmacs.
3937
3938 * mh-seq.el (mh-narrow-to-seq, mh-widen): Update tool-bar-map in
3939 the show buffer if needed. This allows us to display the widen
3940 button in the show buffer only when the folder is narrowed.
3941
3942 * mh-customize.el (mh-tool-bar-define): Changed so that a
3943 separate tool-bar-map is used in show-mode when folder is
3944 narrowed to a sequence.
3945
3946 2003-04-08 Satyaki Das <satyaki@theforce.stanford.edu>
3947
3948 * mh-seq.el (mh-iterate-on-msg-or-seq): Reinstate the use of
3949 make-symbol since using gensym causes compiler warnings in CVS
3950 Emacs.
3951
3952 2003-04-08 Bill Wohler <wohler@newt.com>
3953
3954 * mh-comp.el (mh-forward): Function didn't handle a region of
3955 messages. Use new function mh-msg-or-seq-to-msg-list to get a list
3956 of messages in all circumstances. Also, use mh-coalesce-msg-list
3957 on message list before submitting to forw since this should always
3958 be done when calling a program to reduce the chance of exceeding
3959 command-line limits.
3960
3961 * mh-seq.el (mh-iterate-on-msg-or-seq): Backed out previous
3962 change. A nil msg-or-seq should mean no messages, and Satyaki is
3963 going to use gensym instead of make-symbol.
3964 (mh-msg-or-seq-to-msg-list): New function to convert a msg-or-seq
3965 to a list of message numbers.
3966
3967 * mh-e.el (mh-coalesce-msg-list): Touched up the docstring a
3968 little.
3969
3970 * mh-funcs.el (mh-print-msg): Can now print regions, message
3971 lists, sequences and, of course, single messages. This version
3972 works a little differently from the old version. Instead of
3973 calling mhl | lpr once on all messages, mhl | lpr is called once
3974 per message in order to put each message's number in the header.
3975 Thanks to Satyaki for some code and ideas.
3976
3977 * mh-seq.el (mh-iterate-on-msg-or-seq): The argument msg-or-seq
3978 can now be nil which means the current message. Make local symbols
3979 so that local variables don't step on user's symbols (the msgs
3980 symbol got me).
3981
3982 2003-04-06 Bill Wohler <wohler@newt.com>
3983
3984 * mh-comp.el (mh-forward): Updated docstrings to indicate that a
3985 list of messages is acceptable as well.
3986
3987 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion, mh-refile-msg)
3988 (mh-undo, mh-notate-user-sequences, mh-delete-msg-from-seq): Ditto.
3989
3990 * mh-funcs.el (mh-copy-msg, mh-print-msg): Ditto.
3991
3992 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
3993
3994 * mh-seq.el (mh-put-msg-in-seq, mh-iterate-on-msg-or-seq)
3995 (mh-interactive-msg-or-seq): Ditto.
3996
3997 2003-04-06 Satyaki Das <satyaki@theforce.stanford.edu>
3998
3999 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Call
4000 mh-refile-a-msg and mh-delete-a-msg with nil as the message
4001 number since that is more efficient.
4002
4003 * mh-seq.el (mh-iterate-on-msg-or-seq): Extended so that it will
4004 handle lists of messages numbers as well.
4005 (mh-put-msg-in-seq): Use mh-iterate-on-msg-or-seq to simplify the
4006 function.
4007
4008 * mh-funcs.el (mh-copy-msg): Same as above.
4009
4010 * mh-e.el (mh-refile-msg): Make it more efficient. Using nil in
4011 mh-refile-a-msg avoids needing to re-search-forward to that
4012 message.
4013 (mh-undo): Fix typo in interactive spec.
4014 (mh-notate-user-sequences): Generalize the function to take a
4015 msg-or-seq as argument.
4016 (mh-delete-msg-from-seq): Extend the function so that it is now
4017 able to subtract messages belonging in one sequence from another.
4018 (mh-undo): Unify the region and sequence handling. The message
4019 number branch of the function does extra stuff, so we can't merge
4020 that in.
4021
4022 2003-04-06 Bill Wohler <wohler@newt.com>
4023
4024 * mh-comp.el (mh-forward): Use mh-interactive-msg-or-seq. Inserted
4025 consistent verbiage in docstring for msg-or-seq.
4026 (mh-reply): Don't mention default in opening line in all
4027 docstrings.
4028
4029 * mh-e.el (mh-delete-msg, mh-refile-msg)
4030 (mh-undo, mh-delete-msg-from-seq): Use mh-interactive-msg-or-seq.
4031 Inserted consistent verbiage in docstring for msg-or-seq. In
4032 mh-delete-msg-from-seq, renamed msg-or-region to msg-or-seq.
4033
4034 * mh-funcs.el (mh-copy-msg, mh-print-msg): Use
4035 mh-interactive-msg-or-seq. Inserted consistent verbiage in
4036 docstring for msg-or-seq.
4037
4038 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Inserted
4039 consistent verbiage in docstring for msg-or-seq.
4040
4041 * mh-seq.el (mh-msg-is-in-seq): Don't mention default in opening
4042 line in all docstrings.
4043 (mh-put-msg-in-seq): Use mh-interactive-msg-or-seq. Inserted
4044 consistent verbiage in docstring for msg-or-seq.
4045
4046 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion, mh-refile-msg):
4047 Rewritten to use new mh-interactive-msg-or-seq function and
4048 mh-iterate-on-msg-or-seq macro. mh-delete-msg-no-motion gained the
4049 ability to operate on regions.
4050
4051 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Rewritten to
4052 use new mh-interactive-msg-or-seq function and
4053 mh-iterate-on-msg-or-seq macro thereby gaining the ability to
4054 operate on sequences or regions.
4055
4056 * mh-seq.el (mh-iterate-on-msg-or-seq): New macro to execute code
4057 on a message, a region of messages, or a sequence. This macro
4058 should be in all functions that operate on messages to provide a
4059 uniform interface.
4060 (mh-interactive-msg-or-seq): New function used in interactive
4061 calls to obtain a message number, region, or sequence. This
4062 function should be in all functions that operate on messages to
4063 provide a uniform interface.
4064
4065 * mh-utils.el (with-mh-folder-updating, mh-in-show-buffer): Use
4066 'defun lisp-indent-hook property instead of 1 to fix indentation
4067 of these macros.
4068
4069 2003-04-05 Peter S Galbraith <psg@debian.org>
4070
4071 * mh-loaddefs.el: Regenerated.
4072 * mh-funcs.el (mh-ephem-message): autoload.
4073
4074 2003-04-04 Peter S Galbraith <psg@debian.org>
4075
4076 * mh-e.el (mh-folder-from-address): Minor Fix. Wrong ending of
4077 `when' block.
4078
4079 2003-04-04 Satyaki Das <satyaki@theforce.stanford.edu>
4080
4081 * mh-mime.el (mh-mml-directive-present-p): The regexp has been
4082 modified to recognize directives to encrypt/sign messages.
4083
4084 2003-04-03 Mark D. Baushke <mdb@gnu.org>
4085
4086 * mh-e.el (mh-folder-from-address): E-mail messages missing the
4087 To: field, but which have a Cc: field should also be handled.
4088
4089 2003-04-03 Bill Wohler <wohler@newt.com>
4090
4091 * mh-e.el (mh-inc-folder): Modified the prompt text to read
4092 better.
4093
4094 * mh-comp.el (mh-forward): Deleted local variable `compose'.
4095 Deleted obsolete setting of mh-{mmh|mml}-compose-insert-flag.
4096 (mh-letter-menu): Use mh-{mmh|mml}-directive-present-p instead of
4097 obsolete. mh-{mmh|mml}-compose-insert-flag.
4098 (mh-letter-mode): Deleted obsolete setting of
4099 mh-{mmh|mml}-compose-insert-flag.
4100 (mh-send-letter): This function now automatically runs the
4101 directive-to-MIME conversion if any directives are detected,
4102 rather than relying on the unreliable
4103 mh-{mmh|mml}-compose-insert-flag variables. Updated docstring
4104 accordingly.
4105
4106 * mh-identity.el (mh-insert-identity): Use
4107 mh-{mmh|mml}-directive-present-p instead of obsolete.
4108 mh-{mmh|mml}-compose-insert-flag.
4109
4110 * mh-loaddefs.el: Regenerated.
4111
4112 * mh-mime.el (mh-mhn-compose-type, mh-mhn-compose-external-type)
4113 (mh-mhn-compose-forw, mh-edit-mhn, mh-mml-to-mime)
4114 (mh-mml-forward-message, mh-mml-attach-file)
4115 (mh-mml-secure-message-sign-pgpmime)
4116 (mh-mml-secure-message-encrypt-pgpmime): Deleted obsolete setting
4117 of mh-{mmh|mml}-compose-insert-flag.
4118 (mh-mml-directive-present-p): Checkdoc fix.
4119
4120 * mh-utils.el (mh-mhn-compose-insert-flag,
4121 mh-mml-compose-insert-flag): Deleted. Replaced by
4122 mh-{mhn|mml}-directive-present-p.
4123
4124 2003-04-03 Mark D. Baushke <mdb@gnu.org>
4125
4126 * mh-e.el (mh-folder-from-address): Fix minor problem with To:
4127 address processing.
4128
4129 * mh-e.el (mh-folder-from-address): Bugfix match ?+ character not
4130 a "?+" string.
4131
4132 2003-04-03 Peter S Galbraith <psg@debian.org>
4133
4134 * mh-e.el (mh-inc-folder): Add second optional argument for the
4135 folder to inc new mail into instead of mh-inbox.
4136
4137 2003-04-03 Peter S Galbraith <psg@debian.org>
4138
4139 * mh-e.el (mh-folder-from-address): The first match found in
4140 `mh-default-folder-list' is used.
4141
4142 * mh-customize.el (mh-default-folder-list): Tweak docs
4143
4144 2003-04-03 Satyaki Das <satyaki@theforce.stanford.edu>
4145
4146 * mh-loaddefs.el: Regenerated.
4147
4148 * mh-mime.el (mh-mhn-directive-present-p): New function to test if
4149 a MHN directive is present in the current buffer.
4150 (mh-mml-directive-present-p): New function to test if a MML
4151 directive is present in the current buffer.
4152
4153 * mh-comp.el (mh-letter-mode): Originally this function checked if
4154 a #forw directive was present and set mh-mhn-compose-insert-flag
4155 to t. The modification generalizes this test so that one of the
4156 variables mh-{mml|mhn}-compose-insert-flag will get set if we have
4157 any sort of MHN or MML directive is already present.
4158
4159 * mh-seq.el (tool-bar-map): Add a defvar to avoid compiler
4160 warnings in CVS version of GNU Emacs.
4161
4162 * mh-utils.el (tool-bar-map): Same as above.
4163
4164 * mh-e.el (tool-bar-map): same as above.
4165
4166 2003-04-02 Satyaki Das <satyaki@theforce.stanford.edu>
4167
4168 * mh-xemacs-toolbar.el (mh-xemacs-toolbar-toggle-tick-icon):
4169 Change color to match mh-folder-tick-face.
4170
4171 * highlight.xpm: Same as above.
4172
4173 2003-04-02 Peter S Galbraith <psg@debian.org>
4174
4175 * mh-e.el (mh-folder-from-address): Check `mh-default-folder-list'
4176 for cases against the recipient instead of the originator.
4177
4178 * mh-customize.el (mh-default-folder-list): Add extra boolean flag
4179 to conditionally check the recipient address instead of the
4180 originator.
4181
4182 2003-04-02 Peter S Galbraith <psg@debian.org>
4183
4184 * mh-customize.el (mh-folder-tick-face): Change tick highlight
4185 face to a background yellow-green, as suggested by Bill.
4186
4187 2003-04-01 Peter S Galbraith <psg@debian.org>
4188
4189 * highlight.xpm: New icon for mh-toggle-tick.
4190
4191 * mh-xemacs-toolbar.el (mh-xemacs-icon-map): Add tool-bar entry
4192 for mh-toggle-tick.
4193 (mh-xemacs-toolbar-toggle-tick-icon): New constant.
4194
4195 * mh-customize.el: Add tool-bar entry for mh-toggle-tick.
4196
4197 2003-03-31 Satyaki Das <satyaki@theforce.stanford.edu>
4198
4199 * mh-loaddefs.el: Regenerated.
4200
4201 * mh-utils.el (mh-show-narrow-to-tick, mh-show-limit-map)
4202 (mh-show-sequence-menu): Add new interactive function
4203 mh-show-narrow-to-tick callable from the show buffer and arrange
4204 for a key binding and a menu entry.
4205
4206 * mh-seq.el (mh-narrow-to-tick): New interactive function that
4207 narrows to the tick sequence.
4208
4209 * mh-e.el (mh-folder-sequence-menu, mh-limit-map): Arrange for a
4210 key binding and a menu entry for mh-narrow-to-tick.
4211
4212 * mh-comp.el (mh-letter-mode): Enable undo since we could be
4213 reusing a show buffer where undo is disabled (closes SF #712777).
4214
4215 2003-03-31 Peter S Galbraith <psg@debian.org>
4216
4217 * mh-e.el (mh-folder-sequence-menu): Add entry for mh-toggle-tick.
4218
4219 * mh-utils.el (mh-show-sequence-menu): Add entry for
4220 mh-show-toggle-tick.
4221
4222 2003-03-28 Satyaki Das <satyaki@theforce.stanford.edu>
4223
4224 * mh-seq.el (mh-delete-seq): If the tick sequence is killed with
4225 "S k" then the highlighting wasn't getting removed. The change
4226 fixes this.
4227
4228 2003-03-27 Satyaki Das <satyaki@theforce.stanford.edu>
4229
4230 * mh-e.el (mh-notate-user-sequences): Extend it so that only the
4231 messages in a part of the folder are notated.
4232 (mh-delete-msg-from-seq): Extend it so that it will delete all
4233 messages in the marked region.
4234 (mh-delete-a-msg-from-seq): New function that deletes a single
4235 message from a sequence.
4236 (mh-clear-text-properties): If there is a ticked unseen message
4237 and the message is removed from the unseen list with "S d" then
4238 unticking the message doesn't change the highlight. This change
4239 fixes this.
4240
4241 2003-03-27 Peter S Galbraith <psg@debian.org>
4242
4243 * mh-xemacs-toolbar.el (mh-xemacs-toolbar-*-icon): Use original
4244 24x24 icons, changing background only.
4245
4246 2003-03-27 Satyaki Das <satyaki@theforce.stanford.edu>
4247
4248 * mh-junk.el (mh-spamassassin-identify-spammers): Remove unused
4249 variable buffer-exists.
4250 (mh-spamassassin-identify-spammers): Remove unused variable user.
4251
4252 * mh-customize.el (mh-junk-choose): Tweak it to remove XEmacs
4253 compiler warning.
4254
4255 2003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
4256
4257 * mh-seq.el (mh-thread-print-scan-lines): Handling of a boundary
4258 condition when messages from the last source folder had been
4259 removed was incorrect. This caused a folder header to appear
4260 without any messages listed under it. This change fixes this.
4261 (mh-thread-forget-message): Remove the entry from the scan line
4262 table as well. This is needed for proper display of threaded view
4263 of index folders.
4264
4265 2003-03-26 Bill Wohler <wohler@newt.com>
4266
4267 * Makefile, README, import-emacs, mh-alias.el, mh-comp.el,
4268 mh-customize.el, mh-e.el, mh-funcs.el, mh-identity.el,
4269 mh-index.el, mh-loaddefs.el, mh-mime.el, mh-pick.el, mh-seq.el,
4270 mh-speed.el, mh-utils.el, mh-xemacs-compat.el,
4271 mh-xemacs-toolbar.el: Removed RCS keywords per Emacs conventions
4272 (closes SF #680731).
4273
4274
4275 2003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
4276
4277 * mh-index.el: Fix commentary to mention that mairix is supported
4278 as well.
4279
4280 * mh-loaddefs.el: Regenerated.
4281
4282 * mh-utils.el (mh-show-junk-blacklist, mh-show-junk-whitelist):
4283 Interactive functions callable from the show buffer.
4284 (mh-show-junk-map): Key bindings in show mode.
4285
4286 * mh-e.el (mh-junk-map): Key bindings to call spam program.
4287 (mh-help-messages): Update help text.
4288
4289 * mh-customize.el (mh-junk): New customization group for spam
4290 program interface.
4291 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose):
4292 Functions and variables that decide which junk program is used.
4293 (mh-junk-program, mh-junk-mail-folder): User customizable
4294 variables that control the choice of spam program and the action
4295 performed on received spam.
4296
4297 * Makefile (MH-E-SRC): Add mh-junk.el.
4298
4299 2003-03-26 Satyaki Das <satyaki@theforce.stanford.edu>
4300
4301 * mh-loaddefs.el: Regenerated.
4302
4303 * mh-utils.el (mh-show-toggle-tick, mh-show-mode-map): New
4304 interactive function callable from the show buffer and a key
4305 binding for it.
4306
4307 * mh-seq.el (mh-delete-seq): Remove highlight from tick sequence.
4308 (mh-put-msg-in-seq): Disable adding messages to tick sequence.
4309 (mh-widen): Reset mh-tick-seq-changed-when-narrowed-flag.
4310 (mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick)
4311 (mh-toggle-tick): New functions to highlight/unhighlight tick
4312 sequence and the interactive function that is used to toggle
4313 tick.
4314
4315 * mh-e.el (mh-tick-seq-changed-when-narrowed-flag): New variable
4316 that remembers if we are narrowed to the tick sequence. In that
4317 case the highlighting isn't shown, since it adds no extra info.
4318 (mh-folder-mode): Initialize mh-tick-seq-changed-when-narrowed-flag.
4319 (mh-notate-user-sequences): Notate the tick sequence.
4320 (mh-internal-seq): Treat mh-tick-seq like an internal sequence.
4321 (mh-delete-msg-from-seq): Don't allow deletion from tick sequence.
4322 (mh-folder-mode-map): Add key binding for "'"
4323
4324 * mh-customize.el (mh-tick-seq, mh-folder-tick-face): New
4325 customizable variables that contain the name of the tick sequence
4326 and the face to use to highlight it.
4327
4328 2003-03-25 Satyaki Das <satyaki@theforce.stanford.edu>
4329
4330 * mh-loaddefs.el: Regenerated.
4331
4332 * mh-seq.el (mh-thread-print-scan-lines): New function which
4333 prints out thread tree. It maintains the original folder info if
4334 the folder was created by index search (closes SF #709672).
4335 (mh-copy-seq-to-eob, mh-thread-inc, mh-thread-folder): Use
4336 factored out function mh-thread-print-scan-lines.
4337 (mh-toggle-threads): Since threading is allowed in index folders
4338 there can be lines in the folder which aren't valid message scan
4339 lines. So it is OK for mh-get-msg-num to fail once in a while.
4340
4341 * mh-index.el (mh-index-update-maps): Make the parsing of messages
4342 that need to annotated with the X-MHE-Checksum header more robust.
4343 If the search yielded no results then an error was being produced.
4344 (mh-index-search): Enable automatic threading of index folders if
4345 mh-show-threads-flag is non-nil (closes SF #709667).
4346 (mh-index-next-folder): Relax error checking since index folder
4347 can be threaded while the source folder info is visible.
4348 (mh-index-group-by-folder): New function that is used in
4349 mh-thread-folder to keep source folder info visible during
4350 threading.
4351
4352 2003-03-25 Bill Wohler <wohler@newt.com>
4353
4354 * mh-loaddefs.el: Regenerated.
4355
4356 * mh-customize.el (mh-index-new-messages-folders): New variable
4357 that controls which folders "F n (mh-index-new-messages)"
4358 accesses. Was mh-flists-search-folders.
4359
4360 * mh-index.el (mh-flists-search-folders): Still used internally,
4361 but users now use new option mh-index-new-messages-folders.
4362 Removed documentation since to avoid duplication with
4363 mh-index-new-messages-folders.
4364 (mh-flists-recursive-search-flag): Deleted. Use
4365 mh-recursive-folders-flag instead.
4366 (mh-flists-execute): Updated docs to specify which global
4367 variables are used. Use mh-recursive-folders-flag instead of
4368 mh-flists-recursive-search-flag.
4369 (mh-index-new-messages): Edited doc, and refer to new option
4370 mh-index-new-messages-folders. Ditto within code. Don't need to
4371 prepend + to folder name as flists does that for us. Use
4372
4373 2003-03-24 Satyaki Das <satyaki@theforce.stanford.edu>
4374
4375 * mh-e.el (mh-refile-msg): Add optional argument that controls
4376 whether mh-last-destination-folder is updated or not.
4377
4378 2003-03-22 Satyaki Das <satyaki@theforce.stanford.edu>
4379
4380 * mh-customize.el (mh-tool-bar-define): Fix a problem in the
4381 XEmacs version which caused the show mode toolbar to have the
4382 buttons in the reverse order. Also the add-hooks are no longer
4383 needed since mh-toolbar-init is called in the appropriate modes.
4384
4385 * mh-comp.el (mh-letter-mode): Call mh-toolbar-init in XEmacs to
4386 initialize toolbar.
4387
4388 * mh-utils.el (mh-show-mode): Same as above.
4389
4390 * mh-e.el (mh-folder-mode): Same as above.
4391
4392 2003-03-21 Satyaki Das <satyaki@theforce.stanford.edu>
4393
4394 * mh-utils.el (mh-exec-cmd-env-daemon): New function which
4395 executes a command asynchronously with its own environment.
4396
4397 * mh-comp.el (mh-redistribute): The function has been modified so
4398 that /bin/sh isn't used to run send. It has also been refactored
4399 so that the same code isn't repeated.
4400
4401 2003-03-21 Bill Wohler <wohler@newt.com>
4402
4403 * mh-customize.el (mh-invisible-header-fields): Added X-Bogosity
4404 for bogofilter.
4405
4406 2003-03-21 Satyaki Das <satyaki@theforce.stanford.edu>
4407
4408 * mh-loaddefs.el: Regenerated.
4409
4410 * mh-xemacs-toolbar.el: Remove the code since that gets generated
4411 when mh-tool-bar-define is expanded.
4412 (mh-xemacs-icon-map): A alist to map GNU Emacs icon names to the
4413 actual icons to be used in XEmacs. This is used in
4414 mh-tool-bar-define.
4415
4416 * mh-customize.el (mh-toolbar): Use this group in XEmacs as well.
4417 (mh-tool-bar-item-*): All these constants have been removed since
4418 they aren't needed in the new scheme.
4419 (mh-tool-bar-reply-3-buttons-flag): This variable has been
4420 removed.
4421 (mh-tool-bar-search-function): This is now used in XEmacs as well.
4422 (mh-tool-bar-folder-set, mh-tool-bar-folder-buttons-set)
4423 (mh-tool-bar-letter-buttons-set, mh-tool-bar-show-set)
4424 (mh-tool-bar-letter-set): These functions aren't defined at the
4425 top level any more.
4426 (mh-tool-bar-reply-generator): A macro to generate the required
4427 functions for the three reply buttons.
4428 (mh-tool-bar-search, mh-tool-bar-customize)
4429 (mh-tool-bar-folder-help, mh-tool-bar-letter-help)
4430 (mh-tool-bar-reply-from, mh-show-tool-bar-reply-from)
4431 (mh-tool-bar-reply-to, mh-show-tool-bar-reply-to)
4432 (mh-tool-bar-reply-all, mh-show-tool-bar-reply-all): New
4433 interactive functions that are called when tool bar buttons are
4434 clicked.
4435 (mh-xemacs-use-toolbar-flag, mh-xemacs-toolbar-position):
4436 Additional customizable variables that are present only for
4437 XEmacs.
4438 (mh-tool-bar-define): A macro that generates the required code
4439 for GNU Emacs and XEmacs tool bar.
4440 (mh-tool-bar-define): Define the MH-E tool bar.
4441
4442 2003-03-17 Satyaki Das <satyaki@theforce.stanford.edu>
4443
4444 * mh-seq.el (mh-notate-cur): Notate current message only if it
4445 hasn't been marked for deletion or refiling.
4446
4447 2003-03-15 Bill Wohler <wohler@newt.com>
4448
4449 * mh-customize.el (mh-invisible-header-fields): Added
4450 X-Spam-Checker-Version.
4451 (mh-auto-fields-list): checkdoc fix.
4452
4453 2003-03-12 Satyaki Das <satyaki@theforce.stanford.edu>
4454
4455 * mh-index.el (mh-index-new-messages): If the destination folder
4456 where the unseen messages are supposed to be copied to was
4457 already present, but MH-E doesn't have it open, then a new folder
4458 was being created. The change fixes this.
4459 (mh-index-update-unseen, mh-flists-recursive-search-flag): Fix
4460 checkdoc warnings.
4461
4462 * mh-loaddefs.el: Regenerated.
4463
4464 2003-03-11 Satyaki Das <satyaki@theforce.stanford.edu>
4465
4466 * mh-index.el (mh-flists-results-folder): Subfolder under
4467 +mhe-index where the results of the flists call is put.
4468 (mh-index-generate-pretty-name): Make sure that normal index
4469 searching will never use the folder reserved for the flists
4470 results.
4471 (mh-index-search): Add an extra parameter that marks all the
4472 messages in the index folder to the unseen sequence.
4473 (mh-index-update-unseen): Function to keep unseen sequence of
4474 index folder synced with the actual folders from where the
4475 messages were copied. This works only if the unseen messages are
4476 displayed with mh-show. Killing the unseen sequence in the index
4477 folder or adding/removing messages to it doesn't change the
4478 unseen sequence in the source folders yet.
4479 (mh-flists-search-folders): Variable that decides the folders on
4480 which flists is run.
4481 (mh-flists-recursive-search-flag): If non-nil, flists is passed
4482 the -recurse option.
4483 (mh-flists-execute): Function which uses /bin/sh to execute
4484 flists and then print out the list of message files that match.
4485 (mh-index-new-messages): New interactive function which searches
4486 for messages in the unseen sequence (closes SF #701756).
4487
4488 * mh-utils.el (mh-show-folder-map): Add binding for
4489 mh-index-new-messages.
4490 (mh-show-msg): Update the unseen sequence in the source folder.
4491
4492 * mh-e.el (mh-folder-font-lock-unseen): The function assumes that
4493 the end of buffer is reached when there isn't a valid scan line
4494 on the current line. This doesn't work in the index folder since
4495 we have lines containing the folder name and empty lines in
4496 between the actual scan lines. The modification removes this
4497 assumption.
4498 (mh-folder-map): Add key binding for "Fn"
4499
4500 * mh-seq.el (mh-iterate-on-messages-in-region): If the point is
4501 not at the beginning of the line, then the first message in the
4502 region would be missed. The fix avoids this.
4503
4504 * mh-mime.el (mh-inline-vcard-p): Don't try to inline vcards if
4505 we don't have the right libraries.
4506
4507 2003-03-10 Satyaki Das <satyaki@theforce.stanford.edu>
4508
4509 * mh-e.el (mh-next-undeleted-msg, mh-previous-undeleted-msg)
4510 (mh-next-msg): Add optional argument wait-after-complaining-flag.
4511 If non-nil and there are no undeleted messages after (or before)
4512 the current one, then pause for a second after printing out the
4513 message.
4514 (mh-refile-or-write-again): Modify call to mh-next-msg to use the
4515 wait-after-complaining-flag.
4516
4517 2003-03-10 Satyaki Das <satyaki@theforce.stanford.edu>
4518
4519 * mh-e.el (mh-refile-or-write-again): If mh-next-msg fails to find
4520 a message to go to it prints out a diagnostic, which overwrites
4521 the diagnostic about the folder the message was refiled to. The
4522 change fixes this.
4523
4524 2003-03-09 Satyaki Das <satyaki@theforce.stanford.edu>
4525
4526 * mh-seq.el (mh-widen, mh-narrow-to-seq): Update
4527 mh-narrowed-to-seq before notating sequences. This is a bit
4528 helpful for mh-tick.el.
4529 (mh-put-msg-in-seq): Fix a minor bug. No internal sequence should
4530 be notated -- the original code was doing the right thing only for
4531 the "unseen" sequence.
4532
4533 * mh-index.el (mh-index-choose): Add autoload cookie for
4534 mh-index-choose. This is needed for GNU Emacs 20.5.
4535
4536 * mh-loaddefs.el: Regenerated.
4537
4538 2003-03-09 Bill Wohler <wohler@newt.com>
4539
4540 * mh-mime.el (mh-display-smileys): This function originally had a
4541 test to see if font-lock-maximum-size was bound, but this was
4542 recently removed. The test was put in for a reason; if
4543 font-lock-maximum-size isn't bound, void-variable errors would
4544 ensue. I put the bound test back in.
4545
4546 2003-03-08 Steve Youngs <youngs@xemacs.org>
4547
4548 * mh-mime.el (mh-mime-security-button-map): Use 'mh-push-button'
4549 in XEmacs as well.
4550
4551 2003-03-07 Satyaki Das <satyaki@theforce.stanford.edu>
4552
4553 * mh-xemacs-toolbar.el: Declare a whole bunch of stuff for GNU
4554 Emacs, so that we don't get so many compiler warnings. Also
4555 surround calls to set-specifier and toolbar-make-button-list with
4556 mh-funcall-if-exists. Maybe GNU Emacs shouldn't try to compile
4557 this file in the first place.
4558
4559 * mh-xemacs-compat.el (mh-modeline-glyph): Declare it within
4560 mh-do-in-xemacs to avoid compiler warning in GNU Emacs.
4561 (mh-xemacs-push-button): Removed.
4562
4563 * mh-mime.el (mh-mime-button-map): Use the generalized
4564 mh-push-button function.
4565 (mh-push-button): Enhance it so that it works on XEmacs too.
4566
4567 2003-03-08 Steve Youngs <youngs@xemacs.org>
4568
4569 * mh-xemacs-compat.el (mh-modeline-logo): New constant holding the
4570 modeline image.
4571 (mh-modeline-glyph): Use it.
4572
4573 2003-03-08 Steve Youngs <youngs@xemacs.org>
4574
4575 * mh-xemacs-toolbar.el: New file that defines and displays a
4576 toolbar in XEmacs.
4577
4578 * mh-xemacs-compat.el (mh-xemacs-toolbar): Require it here.
4579
4580 * Makefile (MH-E-SRC): Add mh-xemacs-toolbar.el.
4581
4582 * mh-customize.el (mh-toolbar):
4583 (mh-tool-bar-letter-buttons):
4584 (mh-tool-bar-letter-buttons-set):
4585 (mh-tool-bar-folder-buttons):
4586 (mh-tool-bar-folder-buttons-set):
4587 (mh-tool-bar-search-function):
4588 (mh-tool-bar-reply-3-buttons-flag):
4589 (mh-tool-bar-item-inc):
4590 (mh-tool-bar-item-save-mime):
4591 (mh-tool-bar-item-prev-msg):
4592 (mh-tool-bar-item-page-msg):
4593 (mh-tool-bar-item-next-msg):
4594 (mh-tool-bar-item-delete):
4595 (mh-tool-bar-item-refile):
4596 (mh-tool-bar-item-undo):
4597 (mh-tool-bar-item-perform):
4598 (mh-tool-bar-item-toggle-show):
4599 (mh-tool-bar-item-reply-from):
4600 (mh-tool-bar-item-reply-to):
4601 (mh-tool-bar-item-reply-all):
4602 (mh-tool-bar-item-reply):
4603 (mh-tool-bar-item-alias):
4604 (mh-tool-bar-item-compose):
4605 (mh-tool-bar-item-rescan):
4606 (mh-tool-bar-item-repack):
4607 (mh-tool-bar-item-search):
4608 (mh-tool-bar-item-visit):
4609 (mh-tool-bar-item-prefs):
4610 (mh-tool-bar-item-help):
4611 (mh-tool-bar-item-widen):
4612 (mh-tool-bar-item-send):
4613 (mh-tool-bar-item-attach):
4614 (mh-tool-bar-item-spell):
4615 (mh-tool-bar-item-save):
4616 (mh-tool-bar-item-undo-op):
4617 (mh-tool-bar-item-kill):
4618 (mh-tool-bar-item-copy):
4619 (mh-tool-bar-item-paste):
4620 (mh-tool-bar-item-kill-draft):
4621 (mh-tool-bar-item-comp-prefs):
4622 The MH-E toolbar for XEmacs is defined differently from the
4623 GNU/Emacs version, so only define these if we're in GNU/Emacs.
4624 XEmacs doesn't need to see them and it's always good to cut down
4625 on pollution.
4626
4627 2003-03-08 Steve Youngs <youngs@xemacs.org>
4628
4629 * mh-mime.el (mh-mime-button-map): Bind the 2nd mouse button to
4630 `mh-xemacs-push-button' in XEmacs.
4631 (mh-mime-security-button-map): Ditto.
4632
4633 * mh-xemacs-compat.el: Shush the byte-compiler.
4634 (mh-xemacs-push-button): New function to make MIME buttons work in
4635 XEmacs.
4636
4637 2003-03-08 Steve Youngs <youngs@xemacs.org>
4638
4639 * mh-mime.el (mh-display-emphasis): Don't test
4640 `font-lock-maximum-size' to see if it is bound, just test for a
4641 non-nil value. This variable can have a nil value which makes it
4642 bound and dividing nil by 8 throws an error.
4643 This fixes a bug in MH-E under XEmacs when
4644 `font-lock-maximum-size' is nil that prevented article emphasis
4645 and smiley display which in turn was causing the "Flush changes in
4646 article x y/n" errors.
4647 (mh-display-smileys): Ditto.
4648
4649 2003-03-08 Steve Youngs <youngs@xemacs.org>
4650
4651 * mh-utils.el (mh-logo-display): Display logo in XEmacs as well.
4652
4653 * mh-xemacs-compat.el (mh-modeline-glyph): New. The MH-E modeline
4654 logo for XEmacs.
4655
4656 2003-03-06 Satyaki Das <satyaki@theforce.stanford.edu>
4657
4658 * mh-utils.el (mh-allow-root-folder-flag): New global variable
4659 that decides if "+" is an acceptable folder name.
4660 (mh-folder-completion-function): Refine the test for existing
4661 folders to take mh-allow-root-folder-flag into account.
4662 (mh-folder-completing-read, mh-prompt-for-folder): Use the
4663 allow-root-folder-flag argument of mh-prompt-for-folder and add a
4664 similar argument to mh-folder-completing-read.
4665 (mh-exec-cmd-error): Make the function nicer by using
4666 process-environment to pass the environment variable assignments.
4667
4668 2003-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
4669
4670 * mh-mime.el (mh-push-button): Preserve point in the show buffer
4671 if the mouse is used to expand/contract a button.
4672
4673 * mh-customize.el (mh-x-face-file): Mention X-Image-URL in
4674 documentation.
4675
4676 * mh-comp.el (mh-insert-x-face): Modified to allow insertion of
4677 X-Image-URL header field.
4678
4679 2003-03-04 Satyaki Das <satyaki@theforce.stanford.edu>
4680
4681 * mh-utils.el (mh-face-display-function): Modified to facilitate
4682 display of X-Image-URL images.
4683 (mh-find-path): Initialize X-Image-URL cache directory.
4684 (mh-x-image-url-cache-canonicalize, mh-x-image-url-fetch-image)
4685 (mh-x-image-scale-and-display, mh-x-image-url-display)
4686 (mh-x-image-display): New functions for X-Image-URL image display
4687 and cache management.
4688
4689 * mh-customize.el (mh-show-use-xface-flag): Add info about
4690 requirements for X-Image-URL display.
4691 (mh-fetch-x-image-url): New customizable variable that controls
4692 fetching of X-Image-URL.
4693
4694 2003-03-04 Satyaki Das <satyaki@theforce.stanford.edu>
4695
4696 * mh-utils.el (mh-make-local-hook): New macro which works around
4697 API changes in add-hook. Version of GNU Emacs before 21.1 and
4698 XEmacs require a call to make-local-hook and just the LOCAL
4699 argument of add-hook is not sufficient.
4700 (mh-show-mode): Make kill-buffer-hook buffer local.
4701
4702 * mh-e.el (mh-folder-mode): Same as above.
4703
4704 * mh-comp.el (mh-compose-and-send-mail): Same as above.
4705
4706 2003-03-02 Satyaki Das <satyaki@theforce.stanford.edu>
4707
4708 * mh-mime.el (mh-push-button): Clicking on a MIME button used to
4709 cause the window with the show buffer to be selected. With this
4710 change the selected window doesn't change.
4711
4712 2003-03-01 Satyaki Das <satyaki@theforce.stanford.edu>
4713
4714 * mh-speed.el (mh-speed-flists): Avoid a potential race condition.
4715 When flists is called manually, or when an unseen message is read,
4716 mh-speed-partial-line was not reinitialized.
4717
4718 * mh-e.el (mh-visit-folder): If mh-visit-folder is used to visit
4719 the folder currently being visited (effectively doing a rescan)
4720 then mh-previous-window-config is erroneously set. The change
4721 fixes this.
4722
4723 * mh-customize.el (mh-index-show-hook): Remove unused variable.
4724
4725 2003-02-28 Satyaki Das <satyaki@theforce.stanford.edu>
4726
4727 * mh-e.el (mh-scan-folder): Call mh-reset-threads-and-narrowing
4728 only after the user has replied to question. This avoids premature
4729 clearing of the folder.
4730 (mh-rescan-folder, mh-visit-folder): Remove calls to
4731 mh-reset-threads-and-narrowing since it is now called in
4732 mh-scan-folder anyway.
4733
4734 * mh-funcs.el (mh-sort-folder): Same as above.
4735
4736 2003-02-26 Satyaki Das <satyaki@theforce.stanford.edu>
4737
4738 * mh-alias.el (mh-alias-alist): Change initial value to a symbol,
4739 so that it is different from the empty list, which could also
4740 mean that there are no aliases.
4741 (mh-alias-reload-maybe): Change test so that empty alist of
4742 aliases is properly handled (closes SF #693859).
4743
4744 2003-02-25 Satyaki Das <satyaki@theforce.stanford.edu>
4745
4746 * mh-mime.el (mh-decode-message-header): The message header could
4747 be encoded, for instance the author's name could contain
4748 characters not in ASCII. This function will decode such header
4749 fields.
4750 (mh-mm-inline-message): Use mh-decode-message-header.
4751
4752 * mh-utils.el (mh-display-msg): Use mh-decode-message-header.
4753 (mh-message-number-width): Use mh-scan-prog instead of "scan".
4754
4755 * mh-loaddefs.el: Regenerated.
4756
4757 2003-02-24 Satyaki Das <satyaki@theforce.stanford.edu>
4758
4759 * mh-utils.el (mh-truncate-log-buffer): Refine it so that the
4760 function will do the right thing even if called from a buffer
4761 other than mh-log-buffer.
4762
4763 2003-02-22 Peter S Galbraith <psg@debian.org>
4764
4765 * mh-alias.el (mh-alias-add-alias): Really fix SF #690216.
4766 This functions needs to strip brackets on standalone addresses as
4767 well.
4768
4769 2003-02-21 Satyaki Das <satyaki@theforce.stanford.edu>
4770
4771 * mh-xemacs-compat.el (replace-regexp-in-string): Remove the
4772 definition since it isn't used any more.
4773
4774 2003-02-20 Peter S Galbraith <psg@debian.org>
4775
4776 * mh-alias.el (mh-alias-which-file-has-alias): Bug fix. Needed to
4777 specify `noerror' on search.
4778
4779 * mh-alias.el (mh-alias-suggest-alias): Add condition for input
4780 string being an email address in brackets. We need to strip out
4781 the brackets. (closes SF #690216)
4782
4783 2003-02-20 Satyaki Das <satyaki@theforce.stanford.edu>
4784
4785 * mh-pick.el (mh-search-folder): The function was setting the
4786 global value of the variables mh-current-folder and
4787 mh-previous-window-config. This can lead to problems in code which
4788 assumes that these variables are nil when we aren't in a folder
4789 buffer. So make the variables local before setting them.
4790
4791 2003-02-19 Satyaki Das <satyaki@theforce.stanford.edu>
4792
4793 * mh-mime.el (mh-mime-display): All the MIME display code has been
4794 wrapped in a condition-case so that if something goes wrong, the
4795 raw message will be displayed.
4796
4797 * mh-funcs.el (mh-undo-folder): Comment out call to sit-for that
4798 seems unnecessary.
4799
4800 * mh-e.el (mh-scan-folder): Messages marked for deletion or
4801 refiling weren't getting annotated properly. The change fixes
4802 this.
4803 (mh-process-or-undo-commands): Change prompt to reflect what
4804 really happens in the code.
4805
4806 2003-02-18 Satyaki Das <satyaki@theforce.stanford.edu>
4807
4808 * mh-comp.el (mh-folder-expand-at-point): The function
4809 mail-abbrev-complete-alias often returns nil. This had the
4810 unfortunate consequence of always causing an error. The change
4811 fixes this.
4812
4813 * mh-alias.el (mh-alias-canonicalize-suggestion): New function
4814 which obviates the our need replace-regexp-in-string.
4815 (mh-alias-suggest-alias): Use mh-alias-canonicalize-suggestion to
4816 eliminate calls to replace-regexp-in-string. This avoids problems
4817 in Emacs20.
4818
4819 * mh-utils.el (mh-notate): Handle the case when nil is passed as
4820 notation gracefully.
4821 (mh-speed-flists-active-p): New function that returns non-nil if
4822 flists is being used in the speedbar to update message counts.
4823
4824 * mh-seq.el (mh-put-msg-in-seq): Fix a bug which made it
4825 impossible to add messages to the unseen sequence. Also adding
4826 messages to the unseen sequence will now update the speedbar
4827 message counts immediately.
4828
4829 * mh-e.el (mh-get-new-mail, mh-process-commands)
4830 (mh-undefine-sequence): Update speedbar message counts, if the
4831 speedbar is active and is displaying message counts.
4832 (mh-delete-msg-from-seq): In addition to updating message counts,
4833 unhighlight the message so that interactively removing messages
4834 from the unseen sequence makes the bold highlight of unseen
4835 messages in the scan buffer go away.
4836 (mh-clear-text-properties): New function that removes all text
4837 properties from the current scan line.
4838
4839 2003-02-15 Satyaki Das <satyaki@theforce.stanford.edu>
4840
4841 * mh-utils.el (mh-face-display-function): Wrap call of
4842 insert-image in mh-funcall-if-exists. This avoids a compiler
4843 warning in Emacs20.
4844
4845 * mh-speed.el (mh-speed-flists): Weaken test a bit to avoid
4846 compiler warning in Emacs20.
4847 (mh-speedbar-change-expand-button-char): Wrap call of
4848 speedbar-insert-image-button-maybe in mh-funcall-if-exists. This
4849 function isn't present in the speedbar that ships with Emacs20, so
4850 calling it there causes an error.
4851
4852 * mh-seq.el (mh-msg-is-in-seq): Adjust loop call a bit to avoid
4853 compiler warning in XEmacs. The XEmacs compiler should be improved
4854 so that such spurious warnings from builtin macros are suppressed.
4855
4856 * mh-index.el (mh-index-search): Same as above.
4857
4858 * mh-e.el (tool-bar-mode): The declaration is needed for Emacs20
4859 too.
4860
4861 * mh-comp.el (mailabbrev): Try loading it any way. Some day XEmacs
4862 will get it and then MH-E will just use it.
4863 (tool-bar-mode, tool-bar-map): These declarations are needed for
4864 Emacs20 too.
4865 (mh-mail-abbrev-make-syntax-table, mh-folder-expand-at-point):
4866 Remove mh-mail-abbrev-make-syntax-table since mh-funcall-if-exists
4867 can be used instead.
4868
4869 * mh-alias.el (require): Avoid autoloading functions that may not
4870 be defined.
4871 (mh-read-address, mh-alias-letter-expand-alias): Rewrite using
4872 mh-funcall-if-exists.
4873
4874 2003-02-15 Satyaki Das <satyaki@theforce.stanford.edu>
4875
4876 * mh-loaddefs.el: Regenerated.
4877
4878 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-add-buttons)
4879 (mh-speed-toggle): Reuse markers instead of creating more of them.
4880 (mh-speed-flists-folder, mh-speed-flists): Add optional folder
4881 argument to mh-speed-flists so that message counts are updated
4882 only for that one folder.
4883 (mh-speed-parse-flists-output): If no change in counts then avoid
4884 consing.
4885
4886 * mh-index.el (mh-index-execute): Rewritten to use a temporary
4887 buffer that is not left behind.
4888
4889 * mh-funcs.el (mh-store-buffer): Use mh-log-buffer instead of the
4890 special purpose *Store Output* buffer.
4891
4892 2003-02-14 Satyaki Das <satyaki@theforce.stanford.edu>
4893
4894 * mh-customize.el (mh-show-xface-face): Make it always be black
4895 foreground on a white background (the reverse of that can make
4896 some X-Face images look creepy).
4897
4898 * mh-utils.el (mh-truncate-log-buffer): Modify the function to
4899 return the current size of mh-log-buffer. Also we are now a bit
4900 more careful in adding separators between consecutive messages.
4901 (mh-exec-cmd): Fix a bug where the the log buffer would be
4902 displayed even if no error happened in the current command but
4903 the log buffer had messages from a previous error.
4904
4905 * mh-mime.el (mh-mime-save-parts): Use mh-log-buffer to show
4906 error messages.
4907
4908 * mh-alias.el (mh-alias-local-users): Add a space between parens.
4909
4910 2003-02-14 Steve Youngs <youngs@xemacs.org>
4911
4912 * mh-utils.el (mh-face-display-function): Call
4913 `x-face-xmas-wl-display-x-face' using `mh-funcall-if-exists'.
4914
4915 * mh-xemacs-compat.el (replace-regexp-in-string): New.
4916
4917 2003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
4918
4919 * mh-utils.el (mh-log-buffer-lines): New variable that keeps
4920 track of the number of lines to keep in mh-log-buffer.
4921 (mh-truncate-log-buffer): New function that is used to make sure
4922 that the log buffer doesn't grow to unbounded size.
4923 (mh-exec-cmd, mh-exec-cmd-daemon, mh-handle-process-error): Use
4924 mh-truncate-log-buffer instead of erase-buffer to keep some
4925 number of previous log messages around (closes SF #685476).
4926
4927 2003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
4928
4929 * mh-e.el (tool-bar-mode): Declare it in XEmacs.
4930 (mh-folder-mode): Use mh-funcall-if-exists to call hl-line-mode.
4931
4932 * mh-utils.el (mh-funcall-if-exists): New macro that calls a
4933 function only if it exists.
4934 (mh-logo-display, mh-defun-show-buffer): Use mh-funcall-if-exists
4935 to call the functions find-image and deactivate-mark.
4936
4937 * mh-mime.el (mh-mime-cleanup, mh-small-image-p)
4938 (mh-mm-display-part): Use mh-funcall-if-exists to call the
4939 functions image-size and remove-images.
4940
4941 * mh-comp.el (tool-bar-map, tool-bar-mode): Declare the variables
4942 in XEmacs.
4943 (mh-folder-expand-at-point): Use mh-funcall-if-exists to call
4944 mail-abbrev-complete-alias if it exists.
4945
4946 * mh-alias.el (mh-read-address): Use mh-funcall-if-exists for
4947 future extensibility.
4948
4949 2003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
4950
4951 * mh-utils.el (mh-logo-display): The function find-image is
4952 present only in GNU Emacs.
4953 (mh-defun-show-buffer): The function deactivate-mark is present
4954 only in GNU Emacs.
4955 (default-enable-multibyte-characters): Declare it in XEmacs to
4956 avoid compiler warning.
4957 (mh-face-display-function): Avoid inserting space if there isn't
4958 any Face or X-Face header field to display.
4959
4960 * mh-seq.el (mh-thread-last-ancestor): Move declaration of
4961 variable before its first use to silence XEmacs warning.
4962
4963 * mh-mime.el (default-enable-multibyte-characters, dots, type):
4964 Declare these in XEmacs to remove compiler warnings in XEmacs.
4965 (mh-mime-cleanup, mh-mm-display-part): Call remove-images only in
4966 GNU Emacs.
4967 (mh-small-image-p): Call image-size only in GNU Emacs.
4968
4969 * mh-index.el (mh-mairix-next-result): Fix a bug where a quote
4970 was missing.
4971 (mh-swish++-regexp-builder): Remove the unused binding meta.
4972
4973 * mh-e.el (mh-folder-size): Pass on an extra value to remove
4974 XEmacs warning.
4975 (mh-folder-mode): Surround calls to hl-line-mode and
4976 tool-bar-mode with mh-do-in-gnu-emacs since these functions
4977 aren't present in XEmacs.
4978
4979 * mh-customize.el (mh-tool-bar-show-set, mh-tool-bar-letter-set)
4980 (mh-tool-bar-folder-set): These functions call tool-bar-*
4981 functions which are present only in GNU Emacs. So surround them
4982 with mh-do-in-gnu-emacs.
4983
4984 * mh-comp.el (mh-letter-mode, mh-folder-expand-at-point): Only
4985 call these functions in GNU Emacs.
4986 (mail-abbrevs): Declare it in XEmacs.
4987
4988 * mh-alias.el (mh-read-address): Call completing-read-multiple
4989 only in GNU Emacs.
4990 (mail-abbrevs): Declare it in XEmacs.
4991 (mh-alias-add-alias-to-file): Remove unused code.
4992
4993 2003-02-14 Ville Skyttä <scop@xemacs.org>
4994
4995 * mh-comp.el: Add autoloaded auto-mode-alist association.
4996
4997 2003-02-13 Satyaki Das <satyaki@theforce.stanford.edu>
4998
4999 * mh-utils.el (mh-face-display-function): Make the XEmacs part a
5000 little simpler.
5001
5002 2003-02-14 Steve Youngs <youngs@xemacs.org>
5003
5004 * mh-customize.el (mh-show-xface-face): XEmacs doesn't have the
5005 ':inherit' keyword for defface, rewrite with sane defaults.
5006
5007 * mh-utils.el (mh-face-display-function): Fix bug that was
5008 corrupting xface images when displayed with XEmacs' internal
5009 xface image support. Also make XEmacs honour 'mh-show-xface-face'
5010 when using internal xface image support.
5011
5012 2003-02-12 Peter S Galbraith <psg@debian.org>
5013
5014 * mh-comp.el (mh-modify-header-field): New function. To header
5015 FIELD add VALUE. If OVERWRITE-FLAG is non-nil then the old value,
5016 if present, is discarded. This is more flexible than before.
5017 (mh-insert-auto-fields): Use it. This and the new function are a
5018 courtesy of Satyaki. Thanks!
5019
5020 * mh-customize.el (mh-auto-fields-list): Doc tweaks suggested by
5021 Bill.
5022
5023 2003-02-12 Satyaki Das <satyaki@theforce.stanford.edu>
5024
5025 * mh-comp.el (mh-folder-expand-at-point): Tweak the error
5026 message. Completion in the Fcc header field is only supported in
5027 GNU Emacs 21.
5028
5029 2003-02-12 Peter S Galbraith <psg@debian.org>
5030
5031 * mh-customize.el (mh-auto-fields-list): Reorder after
5032 `mh-identity-list' since it needs it to be defined. Move to
5033 mh-identity customization group.
5034
5035 2003-02-11 Peter S Galbraith <psg@debian.org>
5036
5037 * mh-customize.el (mh-insert-mail-followup-to-flag): Removed.
5038 Obsolete.
5039 (mh-insert-mail-followup-to-list): Removed. Obsolete. Use
5040 `mh-auto-fields-list' instead, which is a more general solution.
5041 (mh-auto-fields-list): New defcustom. Alist of addresses for
5042 which header lines are automatically inserted. Replaces
5043 `mh-insert-mail-followup-to-list'.
5044
5045 * mh-comp.el (mh-insert-mail-followup-to): Removed. Obsolete.
5046 (mh-insert-auto-fields): New function. Insert custom fields if To
5047 or Cc match `mh-auto-fields-list', replacing
5048 mh-insert-mail-followup-to with a more general solution.
5049 (mh-compose-and-send-mail): Call mh-insert-auto-fields instead of
5050 mh-insert-mail-followup-to. Also don't call mh-insert-identity to
5051 insert default setting if mh-insert-auto-fields inserted an
5052 identity.
5053
5054 2003-02-11 Satyaki Das <satyaki@theforce.stanford.edu>
5055
5056 * mh-utils.el (mh-show-xface-function): Try to load the external
5057 x-face library only if XEmacs doesn't have xface support.
5058 (mh-face-display-function): Renamed. Also handle various
5059 permutations of x-face and xface support in XEmacs better.
5060
5061 * mh-customize.el (mh-show-use-xface-flag): Any emacs whose
5062 major version is greater than or equal to 21 supports display of
5063 X-Face and Face header fields.
5064
5065 2003-02-11 Satyaki Das <satyaki@theforce.stanford.edu>
5066
5067 * mh-utils.el (mh-do-in-gnu-emacs, mh-do-in-xemacs): Macros that
5068 execute code only in GNU Emacs and XEmacs respectively.
5069 (mh-emacs21-face-display-function): Refactor to make it slightly
5070 nicer. Get rid of compiler warnings in GNU Emacs by using the
5071 above macros. Also check for presence of xface feature (in XEmacs
5072 specific code) before trying to display X-Face header field image.
5073
5074 2003-02-11 Steve Youngs <youngs@xemacs.org>
5075
5076 * mh-customize.el (mh-show-use-xface-flag): If using XEmacs and
5077 can't find the external x-face pkg still enable X-Face images if
5078 feature 'xface is present.
5079 Update the doc string.
5080
5081 * mh-utils.el (mh-emacs21-face-display-function): Make it work in
5082 XEmacs.
5083 (mh-show-xface-function): If using XEmacs without xface support,
5084 use x-face.el pkg. If using XEmacs with xface support, or Emacs
5085 21, use mh-emacs21-face-display-function.
5086
5087 2003-02-11 Mark D. Baushke <mdb@gnu.org>
5088
5089 * mh-customize.el (mh-invisible-header-fields): Add
5090 "X-Notes-Item:" which is generated by Lotus Notes Domino. See
5091 URL<http://www-12.lotus.com/ldd/doc/domino_notes/Rnext/help6_admin.nsf
5092 /f4b82fbb75e942a6852566ac0037f284/5eda03c647f879c285256c1d00396051
5093 ?OpenDocument&Highlight=0,x-notes-item> for details on how Domino
5094 users may disable (restore the default) generation of these headers.
5095
5096 2003-02-10 Satyaki Das <satyaki@theforce.stanford.edu>
5097
5098 * mh-comp.el (mh-folder-expand-at-point): Add function doc string
5099 and produce a nicer error message for Emacs versions that lack
5100 mail-abbrev-complete-alias.
5101
5102 * mh-utils.el (mh-handle-process-error): Check doc fix.
5103
5104 * mh-e.el (mh-folder-from-address): Same as above.
5105
5106 2003-02-10 Peter S Galbraith <psg@debian.org>
5107
5108 * mh-comp.el: require mailabbrev, except in XEmacs.
5109 (mh-mail-abbrev-make-syntax-table): New defmacro to call
5110 mail-abbrev-make-syntax-table introduced in Emacs21.
5111 (mh-folder-expand-at-point): Handle nested folders.
5112 All of the above was written by Satyaki. I just applied the patch
5113 and tested.
5114
5115 2003-02-09 Satyaki Das <satyaki@theforce.stanford.edu>
5116
5117 * mh-comp.el: Fixes to keep the byte compiler happy.
5118
5119 * mh-customize.el (mh-invisible-header-fields): Modified to
5120 remove space after ":" in header field names.
5121
5122 2003-02-09 Peter S Galbraith <psg@mixed.dyndns.org>
5123
5124 * mh-comp.el (mh-letter-complete): Add completion for fcc lines.
5125 (mh-folder-expand-at-point): Do completion at point for folder
5126 name. Like `mh-alias-letter-expand-alias' for aliases, it doesn't
5127 work on XEmacs because it relies on `mail-abbrev-complete-alias'
5128 to do completion. Maybe Steve could update XEmacs' mailabbrev.el?
5129
5130 2003-02-09 Peter S Galbraith <psg@debian.org>
5131
5132 * mh-customize.el (mh-invisible-header-fields): Remove trailing
5133 space in "X-Face: " and "Face: " entries since those line often
5134 break there.
5135
5136 2003-02-08 Satyaki Das <satyaki@theforce.stanford.edu>
5137
5138 * mh-utils.el (mh-emacs21-face-display-function): Use
5139 mh-show-xface-face to colorize X-Face image.
5140
5141 * mh-customize.el (mh-invisible-header-fields): Add extra headers
5142 to ignore.
5143 (mh-show-xface-face): Allow customization of the X-Face colors.
5144
5145 2003-02-07 Satyaki Das <satyaki@theforce.stanford.edu>
5146
5147 * mh-utils.el (mh-uncompface-executable, mh-uncompface): Remember
5148 the path of the uncompface executable so that we don't need to
5149 search for it every time.
5150 (mh-emacs21-face-display-function): If more than one X-Face (or
5151 Face) header field was present then the fields would get
5152 concatenated, leading to garbled output. The change only displays
5153 the first image.
5154
5155 * mh-customize.el (mh-x-face-file): Change documentation since it
5156 can now be used to insert a Face header field.
5157
5158 * mh-comp.el (mh-insert-x-face): Generalized to allow insertion
5159 of Face header field.
5160
5161 2003-02-06 Bill Wohler <wohler@newt.com>
5162
5163 * mh-utils.el (mh-emacs21-face-display-function): Updated
5164 docstring. It is a common mistake to refer to a header field as a
5165 header. The term header refers to the entire header while the term
5166 header field refers to a single field.
5167
5168 * mh-customize.el (mh-show-use-xface-flag): Ditto.
5169
5170 2003-02-06 Satyaki Das <satyaki@theforce.stanford.edu>
5171
5172 * mh-utils.el (mh-show-xface-function): Modified to use
5173 mh-emacs21-face-display-function if we are running GNU Emacs 21.
5174 (mh-face-to-png): New function to convert a Face header to a png
5175 image.
5176 (mh-uncompface): New function which converts an X-Face header to
5177 a pbm image.
5178 (mh-icontopbm): New function that does the job of icontopbm.
5179 (mh-emacs21-face-display-function): New function that displays
5180 Face/X-Face image in GNU Emacs 21.
5181 (mh-show-xface): Modified to test if we are running in X.
5182 Otherwise face display is suppressed.
5183
5184 * mh-customize.el (mh-show-use-xface-flag): Tweak it, now that
5185 MH-E supports face display natively on Emacs 21. Also remove the
5186 check for window-system since it doesn't belong in a customizable
5187 variable.
5188
5189 2003-02-06 Satyaki Das <satyaki@theforce.stanford.edu>
5190
5191 * mh-utils.el (sendmail): Require it so that XEmacs can find
5192 rfc822-goto-eoh.
5193 (mh-mail-header-end): A substitute for mail-header-end that
5194 doesn't widen the buffer. This is essential to avoid problems when
5195 dealing with nested messages.
5196 (mh-in-header-p, mh-letter-header-font-lock)
5197 (mh-header-field-font-lock, mh-show-font-lock-fontify-region)
5198 (mh-show-unquote-From): Use mh-mail-header-end instead of
5199 mail-header-end.
5200
5201 * mh-mime.el (mh-decode-message-body): same as above (closes SF
5202 #681518).
5203
5204 * mh-comp.el (mh-yank-cur-msg): same as above.
5205
5206 2003-02-05 Satyaki Das <satyaki@theforce.stanford.edu>
5207
5208 * mh-utils.el (mh-display-msg): Call mh-show-mode before invisible
5209 headers are cleaned. This means that any surviving X-Face header
5210 can be removed unconditionally in mh-clean-msg-header.
5211 (mh-clean-msg-header): Since the function is now called with a
5212 read-only buffer, make the buffer temporarily writable.
5213
5214 * mh-mime.el (mh-mm-inline-message): Do X-Face display before
5215 invisible headers are removed.
5216
5217 * mh-customize.el (mh-invisible-headers): Simplified since the
5218 X-Face header isn't treated specially any more.
5219 (mh-invisible-header-fields): Add Face: and X-Face: to list of
5220 invisible headers.
5221
5222 * mh-mime.el (mh-mime-display): If body is empty the headers would
5223 be treated like the body. The change fixes this (closes SF #681162).
5224 (mh-mime-display): This change really fixes the above problem.
5225
5226 2003-02-04 Satyaki Das <satyaki@theforce.stanford.edu>
5227
5228 * mh-utils.el (mh-current-folder-name): Global variable that
5229 keeps track of current folder.
5230 (mh-normalize-folder-name): Substitute @ with
5231 mh-current-folder-name (closes SF #666774).
5232 (mh-prompt-for-folder): Bind mh-current-folder-name. Also
5233 invalidate cache if we are visiting a folder that wasn't found in
5234 the sub-folder cache. This is an indication that folders may have
5235 been created outside of MH-E and so the cache may be stale.
5236
5237 2003-02-03 Satyaki Das <satyaki@theforce.stanford.edu>
5238
5239 * mh-utils.el (mh-decode-content-transfer-encoded-message): Removed.
5240 (mh-display-msg): Remove the use of the above function.
5241 (mh-normalize-folder-name): Leading "/" characters were being
5242 lost. The change fixes this (closes SF #676890).
5243
5244 * mh-mime.el (mh-decode-message-body): New function, factored out
5245 from mh-mime-display and enhanced, to decode message based on
5246 charset and content-transfer-encoding. This eliminates the need
5247 for the external mimencode (closes SF #674857).
5248 (mh-mime-display): Use mh-decode-message-body.
5249
5250 * mh-e.el (mh-header-display): Don't need the binding since the
5251 variable isn't present any more.
5252 (mh-inc-folder): Avoid calling mh-show if point is not on a valid
5253 scan line (closes SF #678115).
5254
5255 * mh-customize.el
5256 (mh-decode-content-transfer-encoded-message-flag): Removed.
5257
5258 2003-02-03 Bill Wohler <wohler@newt.com>
5259
5260 * import-emacs: MH-E now has its own directory in Emacs.
5261
5262 * mh-e.el: (mh-version): Set to 7.2+cvs.
5263
5264 2003-02-03 Bill Wohler <wohler@newt.com>
5265
5266 Released MH-E version 7.2.
5267
5268 * MH-E-NEWS, README: Updated for release 7.2.
5269
5270 * mh-e.el (Version, mh-version): Updated for release 7.2.
5271
5272 2003-02-03 Bill Wohler <wohler@newt.com>
5273
5274 * Makefile (dist): mkdir needs to happen *before* files are
5275 copied.
5276
5277 * MH-E-NEWS: Fixed some awkward verbiage.
5278
5279 2003-02-02 Bill Wohler <wohler@newt.com>
5280
5281 * mh-customize.el (mh-invisible-headers): Surround regexp-opt
5282 expression in parens to avoid problems viewing certain messages.
5283
5284 2003-01-30 Satyaki Das <satyaki@theforce.stanford.edu>
5285
5286 * mh-speed.el (mh-speed-flists): Search for flists in mh-progs.
5287 The original was inadvertently searching for flists in the user's
5288 path.
5289
5290 2003-01-27 Bill Wohler <wohler@newt.com>
5291
5292 * mh-customize.el (mh-default-folder-must-exist-flag): Changed
5293 default to t according to the principle of least surprise.
5294
5295 2003-01-26 Bill Wohler <wohler@newt.com>
5296
5297 * mh-utils.el: Checkdoc fixes.
5298
5299 * mh-pick.el (mh-do-search, mh-search-folder): Checkdoc fixes.
5300
5301 * mh-loaddefs.el: Regenerated (lm-verify fixes).
5302
5303 * mh-index.el (mh-mairix-next-result): Checkdoc fixes.
5304
5305 * mh-alias.el: lm-verify fix.
5306
5307 * Makefile (MH-E-SRC): Added ChangeLog, now that Emacs has a
5308 lisp/mh-e directory.
5309 (MH-E-ETC-ETC): Removed ChangeLog.
5310 (dist): Moved creation of mail directory next to copy of files
5311 into mail directory.
5312 (install-emacs): Copy $(MH-E-SRC) into new directory
5313 $(EMACS_HOME/lisp/mh-e.
5314 (MH-E-SRC): Moved ChangeLog into new variable MH-E-OTHERS and
5315 include MH-E-LOADDEFS there too.
5316 (mh-loaddefs.el): Added lines so that lm-verify passes.
5317 (dist, install-emacs): Use MH-E-OTHERS instead of MH-E-LOADDEFS.
5318
5319 2003-01-26 Jeffrey C Honig <jch@honig.net>
5320
5321 * mh-comp.el (mh-tidy-draft-buffer, mh-compose-and-send-mail):
5322 Rename mh-kill-draft-hook to mh-tidy-draft-buffer.
5323
5324 2003-01-25 Jeffrey C Honig <jch@honig.net>
5325
5326 * mh-utils.el (mh-exec-cmd, mh-exec-cmd-daemon)
5327 (mh-process-daemon): Use mh-log-buffer for the output of commands
5328 from mh-exec-cmd.
5329
5330 * mh-utils.el (mh-temp-folders-buffer): Sequences and folders
5331 loose the -temp from their buffer names as they are interesting to
5332 the user.
5333
5334 * mh-seq.el (mh-list-sequences): New name, mh-sequences-buffer as
5335 it is intended to be interesting to the user.
5336
5337 * mh-funcs.el (mh-list-folders): New name, mh-folders-buffer as it
5338 is intended to be interesting to the user.
5339
5340 * mh-comp.el (mh-check-whom, mh-compose-and-send-mail): Use
5341 mh-recipients-buffer constant. Add a kill buffer hook to delete
5342 the recipients buffer when a draft buffer is killed.
5343
5344 2003-01-25 Satyaki Das <satyaki@theforce.stanford.edu>
5345
5346 * mh-customize.el (mh-customize): New interactive argument
5347 deletes other windows.
5348 (mh-tool-bar-show-set, mh-tool-bar-letter-set)
5349 (mh-tool-bar-folder-set): Modified so that clicking the customize
5350 and help buttons deletes the other windows in the frame.
5351
5352 * mh-mime.el (mh-mm-inline-message): Remove unused code.
5353
5354 * mh-seq.el (mh-notate-deleted-and-refiled): Fix a small bug where
5355 the wrong notation was being used.
5356 (mh-toggle-threads): The function had a bug if you did the
5357 following starting from an unthreaded wide folder:
5358 (1) Create a sequence with S p
5359 (2) Narrow to new sequence with S n
5360 (3) Thread narrowed folder with T t
5361 (4) Kill sequence with S k
5362 (5) Unthread narrowed folder with T t
5363 At this point we would have an empty folder. The change fixes
5364 this.
5365 (mh-toggle-threads): Fix documentation.
5366
5367 * mh-customize.el (mh-invisible-header-fields): Add
5368 X-MHE-Checksum to invisible headers.
5369
5370 * mh-comp.el (mh-insert-x-mailer): Slightly more informative
5371 X-Mailer header.
5372
5373 2003-01-24 Satyaki Das <satyaki@theforce.stanford.edu>
5374
5375 * mh-e.el (mh-header-display): Modified so that quoted-printable
5376 or base64 encoded messages are left untouched.
5377
5378 * mh-utils.el (mh-decode-content-transfer-encoded-message): Munge
5379 the Content-Transfer-Encoding header so that the MIME decoding
5380 routines of Gnus doesn't get confused.
5381 (mh-display-msg): Use insert-file-contents-literally so that
5382 display will work for non-ascii.
5383
5384 * mh-mime.el (mh-mime-display): Use charset info to decode
5385 message file (closes SF #655123).
5386
5387 2003-01-24 Bill Wohler <wohler@newt.com>
5388
5389 * mh-alias.el (mh-alias-add-alias-to-file): Removed period from
5390 error message and added parens around error function.
5391
5392 2003-01-24 Satyaki Das <satyaki@theforce.stanford.edu>
5393
5394 * mh-customize.el (mh-decode-quoted-printable-flag): Removed.
5395 (mh-decode-content-transfer-encoded-message-flag): This replaces
5396 mh-decode-quoted-printable-flag.
5397
5398 * mh-utils.el (mh-decode-content-transfer-encoded-message): New
5399 function which handles messages that are encoded as base64 or
5400 quoted-printable (closes SF #674190).
5401 (mh-decode-quoted-printable): Removed.
5402 (mh-display-msg): Use mh-decode-content-transfer-encoded-message
5403 instead of mh-decode-quoted-printable.
5404
5405 2003-01-23 Satyaki Das <satyaki@theforce.stanford.edu>
5406
5407 * mh-seq.el (mh-thread-generate-scan-lines): Fix a little bug
5408 that would occasionally cause angles ('<' and '>') to appear at
5409 root level.
5410
5411 2003-01-21 Satyaki Das <satyaki@theforce.stanford.edu>
5412
5413 * mh-seq.el (mh-notate-cur): Enable overlay arrow display in text
5414 mode too.
5415
5416 * mh-e.el (mh-folder-mode): Initialize overlay-arrow-string so
5417 that a '>' is displayed in text mode.
5418
5419 2003-01-20 Satyaki Das <satyaki@theforce.stanford.edu>
5420
5421 * mh-utils.el (mh-scan-msg-overflow-regexp): Change the variable
5422 so that a space is always maintained in the beginning of the scan
5423 line.
5424
5425 * mh-seq.el (mh-notate-seq, mh-notate-cur): Make the functions
5426 faster by cutting down on the use of mh-goto-msg.
5427 (mh-toggle-threads): Add call to mh-notate-cur, since inserting
5428 the folder names in a search results folder screws up the
5429 location of the overlay arrow.
5430
5431 * mh-index.el (mh-index-delete-folder-headers): Position the
5432 point on a message line if possible.
5433
5434 * mh-funcs.el (mh-copy-msg): Use the mh-iterate macro to make the
5435 function faster.
5436
5437 * mh-e.el (mh-scan-folder): Reuse mh-notate-deleted-and-refiled.
5438
5439 * mh-loaddefs.el: Regenerated.
5440
5441 * mh-utils.el (mh-add-msgs-to-seq): Add a new parameter that
5442 suppresses the annotation of the sequence since it is
5443 inefficient.
5444
5445 * mh-seq.el (mh-delete-seq): Speed up the part of the function
5446 that removes the sequence notation.
5447 (mh-put-msg-in-seq, mh-notate-deleted-and-refiled): Use
5448 mh-iterate-on-messages-in-region to make the function fasters when
5449 operating on regions. The key idea is to loop over the folder
5450 buffer exactly once and do all annotations. The existing algo
5451 would walk over the buffer multiple times thereby slowing things
5452 down.
5453 (mh-iterate-on-messages-in-region): Added an extra parameter which
5454 is bound to the message index as the loop is executed.
5455 (mh-region-to-msg-list, mh-thread-delete, mh-thread-refile): Use
5456 the new mh-iterate-on-messages-in-region macro.
5457
5458 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg, mh-undo): Same
5459 as above.
5460 (mh-notate-user-sequences): Change algorithm to make notating of
5461 user sequences fast.
5462
5463 2003-01-19 Satyaki Das <satyaki@theforce.stanford.edu>
5464
5465 * mh-logo.xpm: New image file that contains the MH-E logo.
5466 Change foreground color to the blue in the MH-E logo.
5467
5468 * Makefile (MH-E-IMG): Add mh-logo.xpm to list of image files.
5469
5470 * mh-utils.el (mh-show-buffer-mode-line-buffer-id): Adjust it to
5471 keep space in the beginning for the logo.
5472 (mh-logo-cache): New variable that caches the logo image file
5473 location.
5474 (mh-logo-display): Display the MH-E logo on the mode line.
5475 (mh-display-msg): Display logo in mh-show-mode.
5476
5477 * mh-e.el (mh-make-folder-mode-line): Display logo in
5478 mh-folder-mode.
5479
5480 * mh-comp.el (mh-compose-and-send-mail): Display logo in
5481 mh-letter-mode.
5482
5483 * mh-loaddefs.el: Regenerated.
5484
5485 * mh-seq.el (mh-iterate-on-messages-in-region): New macro to
5486 iterate on all messages in a region.
5487 (mh-region-to-msg-list): Simplified since it uses
5488 mh-iterate-on-messages-in-region now.
5489
5490 * mh-e.el (mh-delete-msg, mh-refile-msg): Change interactive spec
5491 to pass the region that is to be deleted when appropriate.
5492 (mh-delete-msg-no-motion, mh-refile-msg, mh-undo): Operate on
5493 regions directly without creating the list of messages to be
5494 deleted/refiled.
5495 (mh-delete-a-msg, mh-refile-a-msg, mh-undo-msg): The msg
5496 parameter in these functions can now be nil. If so, the current
5497 message is deleted, refiled or undone respectively. Avoids the
5498 use of mh-goto-msg in this case and speeds up operations on
5499 regions quite a bit.
5500
5501 2003-01-19 Peter S Galbraith <psg@debian.org>
5502
5503 * mh-alias.el (mh-read-address): Bug Fix. In XEmacs and Emacs20,
5504 it would always prompt using "To: " instead of using the command
5505 argument (closes SF #670913).
5506
5507 2003-01-19 Satyaki Das <satyaki@theforce.stanford.edu>
5508
5509 * mh-utils.el (mh-folder-completion-function): If there is a
5510 +foo/bar folder and the user types foo//bar then the completion
5511 function would say a match happened without showing the
5512 normalized folder name. This change fixes that.
5513
5514 2003-01-18 Satyaki Das <satyaki@theforce.stanford.edu>
5515
5516 * mh-e.el (mh-rmail): Modified so that new and unseen messages
5517 are shown (closes SF #667542).
5518
5519 2003-01-17 Satyaki Das <satyaki@theforce.stanford.edu>
5520
5521 * mh-index.el (mh-index-generate-pretty-name): Generate nicer
5522 names. In particular all '-' characters are removed.
5523
5524 2003-01-16 Satyaki Das <satyaki@theforce.stanford.edu>
5525
5526 * mh-customize.el (mh-index-program): Documentation fix.
5527
5528 * mh-loaddefs.el: Regenerated.
5529
5530 * mh-customize.el (mh-index-program): Add choices for mairix and
5531 pick.
5532
5533 * mh-index.el (mh-indexer-choices): Add search interfaces for
5534 mairix and pick.
5535 (mh-index-search): Add links for mairix and pick.
5536 (mh-index-pick-folder, mh-pick-binary): Variables needed to
5537 implement pick support.
5538 (mh-pick-execute-search, mh-pick-next-result): New functions to
5539 implement pick support.
5540 (mh-mairix-binary, mh-mairix-directory, mh-mairix-folder): New
5541 variables for mairix support.
5542 (mh-mairix-execute-search, mh-mairix-next-result)
5543 (mh-mairix-regexp-builder, mh-mairix-convert-to-sop*): New
5544 functions for mairix.
5545
5546 * mh-funcs.el (mh-kill-folder): Move message to the end.
5547
5548 * mh-e.el (mh-folder-mode): Make overlay-arrow-position and
5549 overlay-arrow-string local variables so that the arrow will
5550 remain even if some other folder is visited.
5551 (mh-remove-cur-notation, mh-remove-all-notation): The test isn't
5552 required any more since overlay-arrow-position is local.
5553 (mh-goto-cur-msg): Remove overlay arrow if current message
5554 doesn't exist.
5555
5556 * mh-seq.el (mh-notate-cur): Don't need to set
5557 overlay-arrow-string any more since it is local and has been set
5558 at initialization.
5559
5560 2003-01-15 Satyaki Das <satyaki@theforce.stanford.edu>
5561
5562 * mh-speed.el (mh-speed-current-folder): Keep track of current
5563 folder when flists is called.
5564 (mh-speed-flists, mh-speed-parse-flists-output): Try to avoid
5565 ambiguity when folders are present with + at the end of the name.
5566 Unfortunately it can't always be avoided.
5567
5568 * mh-e.el (mh-folder-size): Remove the unnecessary error check.
5569 (mh-parse-flist-output-line): Add extra argument which
5570 occasionally avoid problems with folder names that end with '+'.
5571
5572 * mh-utils.el (mh-sub-folders-actual): Fix the folder name
5573 parsing so that it doesn't get confused by trailing '+' chars in
5574 the folder name.
5575
5576 2003-01-14 Satyaki Das <satyaki@theforce.stanford.edu>
5577
5578 * mh-utils.el (mh-normalize-folder-name): Enhanced so that it can
5579 now handle ".." and "." correctly during folder name completion.
5580 (mh-normalize-folder-name): Avoid error in boundary condition
5581 where the folder string is empty.
5582
5583 2003-01-14 Mark D. Baushke <mdb@gnu.org>
5584
5585 * mh-e.el (mh-visit-folder): Pass `current-prefix-arg' to
5586 the `mh-read-msg-range' function as the optional
5587 always-prompt-flag.
5588
5589 2003-01-14 Satyaki Das <satyaki@theforce.stanford.edu>
5590
5591 * mh-utils.el (mh-normalize-folder-name): New function that
5592 normalizes folder names.
5593 (mh-sub-folders): Use mh-normalize-folder-name. Also the function
5594 has been modified so that a trailing slash is only added if the
5595 folder potentially has subfolders.
5596 (mh-sub-folders-actual): Simplified since the folder has already
5597 been normalized in mh-sub-folders.
5598 (mh-remove-from-sub-folders-cache): Modified so that the cached
5599 results of two of the folders ancestors are invalidated.
5600 (mh-folder-completion-map): Ugly hack to make the error go away
5601 when minibuffer-complete-word is called.
5602 (mh-folder-completion-function): The completion function will now
5603 be more selective in adding '/' at the end of completed folder
5604 names.
5605 (mh-folder-completing-read): The folder name is normalized before
5606 return. The minibuffer-local-completion-map is shadowed to avoid
5607 error with SPC (bound to minibuffer-complete-word). We really
5608 need a better solution.
5609
5610 2003-01-13 Bill Wohler <wohler@newt.com>
5611
5612 * mh-seq.el: Edited comment and docstring text to conform with RFC
5613 2822 terminology. Message-ID is the header field. It contains a
5614 message identifier.
5615
5616 2003-01-13 Satyaki Das <satyaki@theforce.stanford.edu>
5617
5618 * mh-utils.el (mh-sub-folders): Add an argument that returns
5619 sub-folders with a / character appended at the end.
5620 (mh-folder-completion-function): Modify the function so that one
5621 tab is now sufficient to complete the folder name and add a
5622 trailing /.
5623 (mh-folder-completing-read): Remove the trailing / that the
5624 completion function now adds to the folder name. Also multiple /
5625 characters in the folder input are removed. So if the user inputs
5626 +foo///bar//baz///// then that will be converted to +foo/bar/baz.
5627 This will improve the performance of caching.
5628
5629 * mh-seq.el (mh-notate-cur): Check that a valid current message
5630 exists before trying to notate (closes SF #667331).
5631 (mh-message-id-regexp): New variable to store regexp to recognize
5632 message-ids.
5633 (mh-thread-generate): Use mh-message-id-regexp to filter out non
5634 message-id's from the References: header.
5635
5636 2003-01-12 Satyaki Das <satyaki@theforce.stanford.edu>
5637
5638 * mh-seq.el (mh-notate-cur): Disable overlay-arrow display if we
5639 aren't on a graphic display.
5640
5641 2003-01-11 Satyaki Das <satyaki@theforce.stanford.edu>
5642
5643 * mh-seq.el (mh-notate-cur): New function to notate the current
5644 message. The marker in the fringe is updated too.
5645 (mh-narrow-to-seq, mh-widen, mh-thread-inc, mh-thread-folder): Use
5646 the specialized function mh-notate-cur instead of mh-notate-seq.
5647
5648 * mh-e.el (mh-arrow-marker): New buffer local variable to store
5649 the position where the marker in the fringe is going to be
5650 displayed (closes SF #664824).
5651 (mh-folder-mode): Create a marker for the fringe.
5652 (mh-update-sequences, mh-get-new-mail, mh-goto-cur-msg): Call the
5653 specialized function mh-notate-cur instead of mh-notate-seq or
5654 mh-notate.
5655 (mh-remove-cur-notation, mh-remove-all-notation): Reset the
5656 overlay-arrow-position if needed.
5657
5658 * mh-loaddefs.el: Regenerated.
5659
5660 2003-01-10 Satyaki Das <satyaki@theforce.stanford.edu>
5661
5662 * mh-utils.el (mh-remove-from-sub-folders-cache): Modified so that
5663 creating nested folders doesn't produce inconsistent results.
5664 (mh-prompt-for-folder): Remove call of mh-folder-list-change-hook.
5665
5666 * mh-funcs.el (mh-kill-folder): Don't ask for confirmation if
5667 called on a folder holding index search results. Also the now
5668 removed mh-folder-list-change-hook is called no more.
5669
5670 * mh-customize.el (mh-auto-folder-collect-flag)
5671 (mh-folder-list-change-hook): Removed.
5672
5673 * mh-loaddefs.el: Regenerated.
5674
5675 2003-01-10 Bill Wohler <wohler@newt.com>
5676
5677 * mh-customize.el (mh-default-folder-must-exist-flag): New
5678 variable to suppress suggested folder if the folder doesn't
5679 already exist (closes SF #657096).
5680 (mh-default-folder-list): New variable that
5681 holds mapping between an address and the desired folder for
5682 filing (closes SF #657096).
5683 (mh-default-folder-prefix, mh-default-folder-must-exist-flag): In
5684 docstring, refer to documentation for mh-prompt-for-refile-folder
5685 and mh-folder-from-address.
5686 (mh-highlight-citation-p, mh-compose-insertion,
5687 (mh-insert-mail-followup-to-list, mh-index-program,
5688 (mh-identity-default): Fixed case of tags.
5689
5690 * mh-e.el (mh-folder-from-address): Use new variable
5691 mh-default-folder-must-exist-flag to return nil if this variable
5692 is t and the folder doesn't already exist. In addition, can now
5693 look up a default folder in the new variable
5694 mh-default-folder-list (closes SF #657096).
5695 (mh-prompt-for-refile-folder): In docstring, refer to
5696 documentation in mh-folder-from-address.
5697
5698 * mh-index.el (mh-swish-execute-search): Changed \..* to \\..* in
5699 the FileRules filename in the sample config file. Otherwise, the
5700 users don't see the backslash at all, and no files are indexed!
5701 (closes SF #665888).
5702
5703 2003-01-10 Satyaki Das <satyaki@theforce.stanford.edu>
5704
5705 * mh-seq.el (mh-thread-folder): Get headers for exactly the
5706 messages that are present. If only messages 1-10 and 3800-3900
5707 are being shown then we will now scan exactly those messages and
5708 not the full range from 1-3900 as was being done earlier.
5709 (mh-toggle-threads): When converting from threaded to normal view
5710 only the messages present in the buffer are scanned. Earlier all
5711 messages from the minimum to the maximum would be scanned (closes
5712 SF #626117).
5713
5714 * mh-pick.el (mh-search-folder): Fix typo.
5715 (mh-pick-do-search): Fix bug from cut and paste. Also set window
5716 config properly.
5717
5718 * mh-utils.el (mh-prompt-for-folder): Add new argument to allow
5719 it to accept + as a folder name. This allows the user to search
5720 all folders when "Fs" is used.
5721
5722 * mh-pick.el (mh-search-folder): Fix interactive spec of function.
5723 (mh-pick-do-search): Rewritten to call pick in one go. This will
5724 make adding pick as a default index search program easier. Also
5725 pick now accepts the same query syntax as the index search
5726 programs (closes SF #664816).
5727 (mh-next-pick-field): Removed.
5728 (mh-pick-parse-search-buffer): New function to parse the search
5729 buffer.
5730 (mh-pick-construct-regexp, mh-pick-regexp-builder): New function
5731 to produce a pick query from the parsed representation.
5732
5733 * mh-index.el (mh-index-do-search): Refactor the search pattern
5734 parser into a new function and use that instead.
5735
5736 * mh-loaddefs.el: Regenerated.
5737
5738 2003-01-10 Satyaki Das <satyaki@theforce.stanford.edu>
5739
5740 * mh-loaddefs.el: Regenerated.
5741
5742 * mh-utils.el (mh-remove-from-sub-folders-cache)
5743 (mh-prompt-for-folder): Replace mh-update-sub-folders-cache with
5744 mh-remove-from-sub-folders-cache.
5745 (mh-exec-cmd-daemon): Mention set-process-filter in documentation.
5746
5747 * mh-pick.el (mh-searching-function): New buffer local variable
5748 that keeps track of the default searching function to be used.
5749 (mh-pick-mode): Make mh-searching-function buffer local.
5750 (mh-search-folder): Set mh-searching-function to use pick.
5751 (mh-search-folder, mh-pick-menu, mh-pick-mode-help-messages)
5752 (mh-pick-mode, mh-do-pick-search, mh-pick-do-search): Rename
5753 mh-do-pick-search to mh-pick-do-search. But keep
5754 mh-do-pick-search as a deprecated function.
5755 (mh-do-search): New interactive function that performs the
5756 default search.
5757 (mh-pick-mode-map): Update keymap.
5758
5759 * mh-index.el (mh-index-search): Set mh-searching-function to do
5760 index search.
5761 (mh-index-new-folder): Replace mh-update-sub-folders-cache with
5762 mh-remover-from-sub-folders-cache.
5763
5764 * mh-funcs.el (mh-kill-folder): Same as above.
5765
5766 * mh-index.el (mh-index-evaluate, mh-swish++-regexp-builder):
5767 Checkdoc fixes.
5768
5769 * mh-customize.el: Fixes to make byte compiler in CVS Emacs
5770 perfectly happy.
5771
5772 2003-01-09 Bill Wohler <wohler@newt.com>
5773
5774 * mh-e.el (mh-folder-from-address): New function that proposes the
5775 name of a folder with an alias for the address in the current message.
5776 (mh-prompt-for-refile-folder): Use it (closes SF #657096).
5777
5778 * mh-customize.el (mh-default-folder-prefix): New variable used by
5779 mh-folder-from-address.
5780 (mh-invisible-header-fields): Edited docstring.
5781
5782 * mh-alias.el (mh-alias-address-to-alias): Added ;;;###mh-autoload
5783 cookie (used by mh-folder-from-address in mh-e.el). Edited text in
5784 comment.
5785
5786 * mh-utils.el: Provided naming conventions for buffer and buffer
5787 variable names.
5788 (mh-temp-folders-buffer): Renamed buffer to " *mh-folders*".
5789 (mh-temp-sequences-buffer): Renamed buffer to " *mh-sequences*".
5790 (mh-info-buffer): Renamed from mh-temp-info-buffer.
5791 (mh-log-buffer): New buffer variable to hold name of "*MH-E Log*"
5792 buffer which is expected to be used for the output of MH commands.
5793 Perhaps we always create this buffer at initialization and append
5794 to it rather than erase it each time?
5795
5796 * mh-e.el (mh-quit): Loop over all buffers and delete MH-E
5797 temporary and working buffers. As long as the buffer naming
5798 conventions are followed, new buffers will be automatically
5799 killed.
5800 (mh-version): Renamed mh-temp-info-buffer to mh-info-buffer.
5801
5802 * mh-comp.el (mh-insert-x-mailer): Renamed mh-temp-info-buffer to
5803 mh-info-buffer.
5804
5805 2003-01-09 Satyaki Das <satyaki@theforce.stanford.edu>
5806
5807 * mh-e.el (mh-folder-size): If the user doesn't have a
5808 Unseen-Sequence definition in .mh_profile then an error was
5809 produced. This change fixes that.
5810
5811 * mh-seq.el (mh-thread-generate): Replace the *mh-thread* buffer
5812 with a temporary buffer which is cleaned up when the function
5813 exits.
5814
5815 * mh-e.el (mh-prompt-for-refile-folder): New function which
5816 refactors out the intelligent folder guessing code from
5817 mh-refile-msg.
5818 (mh-refile-msg): Use mh-prompt-for-refile-folder.
5819
5820 * mh-seq.el (mh-thread-refile): Use mh-prompt-for-refile-folder to
5821 do the same intelligent destination folder guessing as
5822 mh-refile-msg (closes SF #664829).
5823
5824 * mh-utils.el (mh-folder-list, mh-make-folder-list-process)
5825 (mh-folder-list-temp, mh-folder-list-partial-line)
5826 (mh-set-folder-list): Removed.
5827 (mh-sub-folders-cache, mh-sub-folders, mh-sub-folders-actual):
5828 Moved over from mh-speed.el to implement hierarchical completion.
5829 (mh-update-sub-folders-cache): Utility function called when
5830 new folders are created or folders are removed.
5831 (mh-folder-completion-function): New function is the folder name
5832 completion function used in completing-read.
5833 (mh-folder-completing-read): A thin wrapper function that is used
5834 instead of completing-read directly. In the future we might want
5835 to allow the user a customizable variable which will turn off
5836 folders based completion.
5837 (mh-prompt-for-folder): Use mh-folder-completing-read to read in
5838 the folder name with hierachical completion (closes SF #664821).
5839
5840 * mh-speed.el (mh-speed-folders, mh-speed-folders-cache)
5841 (mh-speed-folders-actual): Moved to mh-utils.el as mh-sub-folders,
5842 mh-sub-folders-cache and mh-sub-folders-actual respectively.
5843 (mh-speed-invalidate-map, mh-speed-invalidate-map)
5844 (mh-speed-add-folder): Use the new names.
5845
5846 * mh-funcs.el (mh-kill-folder): Remove code that used to update
5847 mh-folder-list which is no longer present. Instead
5848 mh-update-sub-folders-cache is called.
5849
5850 * mh-index.el (mh-index-new-folder): Same as above.
5851
5852 2003-01-08 Satyaki Das <satyaki@theforce.stanford.edu>
5853
5854 * mh-utils.el (mh-exec-cmd-daemon): An argument was added which
5855 controls what is done with the process output.
5856
5857 * mh-funcs.el (mh-kill-folder): Use mh-previous-window-config to
5858 restore window configuration. Also the call to mh-exec-cmd-daemon
5859 only displays output if an error happened (closes SF #664828).
5860 (mh-rmf-daemon): Check rmf output and display it only if
5861 something went wrong.
5862 (mh-print-msg): Pass in nil argument to mh-exec-cmd-daemon.
5863
5864 * mh-comp.el (mh-redistribute, mh-send-letter): Pass in nil
5865 argument to mh-exec-cmd-daemon so that the functions will behave
5866 as before.
5867
5868 * mh-pick.el (mh-search-folder): The current window config is
5869 stored.
5870 (mh-make-pick-template): Make the message headers read-only.
5871 (mh-pick-mode-help-messages): Update help message.
5872 (mh-do-pick-search): Fix problem when buffer isn't showing any
5873 messages.
5874 (mh-next-pick-field): Use buffer-substring-no-properties is
5875 better.
5876 (mh-pick-mode-map): Add key bindings (partially addresses
5877 SF #664816)
5878
5879 * mh-index.el (mh-indexer-choices): Add a new field for each
5880 index program choice. If it is non-nil then it is the name of a
5881 function that given a lisp expression to search for generates a
5882 pattern that is acceptable to the search program.
5883 (mh-index-regexp-builder): New variable that stores the function
5884 to be used to convert from the lisp expression syntax to
5885 something that the search program understands.
5886 (mh-index-generate-pretty-name): Generalized so that it can take
5887 a list of strings as input.
5888 (mh-index-search): Modified so that if the configured program has
5889 a corresponding regexp-builder then a search buffer like pick
5890 search is produced. Otherwise the previous behavior is maintained.
5891 (mh-index-do-search): New interactive function that takes the
5892 contents of the search buffer, generates an appropriate query and
5893 produces the search results buffer by calling mh-index-search.
5894 (mh-replace-string, mh-index-parse-search-regexp)
5895 (mh-index-add-implicit-ops, mh-index-evaluate): New functions
5896 which parses the infix search expression that the user enters. A
5897 parse tree from which queries for different search programs can
5898 be produced is produced.
5899 (mh-swish++-regexp-builder, mh-swish++-print-regexp): Takes the
5900 internal form of the query and produces input suitable for
5901 swish++.
5902
5903 * mh-loaddefs.el: Regenerated.
5904
5905 2003-01-08 Bill Wohler <wohler@newt.com>
5906
5907 * Makefile (emacs-logs): New target for viewing CVS Emacs logs.
5908 Useful to see if an Emacs developer has changed MH-E.
5909
5910 * MH-E-NEWS: Fixed case of MH-E in the "Changes" title.
5911
5912 * mh-utils.el (mh-temp-info-buffer): New variable to hold name of
5913 buffer that contains version info.
5914
5915 * mh-e.el (mh-version): Use mh-temp-info-buffer instead of
5916 mh-temp-buffer since version information was getting clobbered by
5917 the aliasing code before it could be seen (closes SF #664467).
5918 (mh-quit): Delete mh-temp-info-buffer.
5919
5920 * mh-comp.el (mh-insert-x-mailer): Use mh-temp-info-buffer to find
5921 version info instead of mh-temp-buffer. You kind of need this
5922 patch to send mail.
5923
5924 2003-01-07 Bill Wohler <wohler@newt.com>
5925
5926 * mh-e.el (Version, mh-version): Set to 7.1+cvs.
5927
5928 2003-01-07 Bill Wohler <wohler@newt.com>
5929
5930 Released MH-E version 7.1.
5931
5932 * MH-E-NEWS, README: Updated for release 7.1.
5933
5934 * mh-e.el (Version, mh-version): Updated for release 7.1.
5935
5936 2003-01-07 Bill Wohler <wohler@newt.com>
5937
5938 * mh-customize.el (mh-auto-folder-collect-flag,
5939 mh-alias-system-aliases, mh-alias-insert-file): Edited docstrings.
5940
5941 * Makefile (MH-E-IMG): Added alias.pbm and alias.xpm.
5942
5943 * mh-alias.el (mh-alias-insert-file, mh-alias-add-alias): Fixed
5944 checkdoc warnings.
5945
5946 2003-01-07 Satyaki Das <satyaki@theforce.stanford.edu>
5947
5948 * mh-utils.el (mh-search-from-end): New function that is used to
5949 replace our usage of the CL function search.
5950 (font-lock): The library is loaded to avoid compilation warning
5951 in CVS Emacs.
5952
5953 * mh-speed.el (mh-speed-goto-folder, mh-speed-add-folder)
5954 (mh-speed-extract-folder-name, mh-speed-invalidate-map): Use
5955 mh-search-from-end instead of search.
5956
5957 * mh-seq.el (mh-thread-remove-parent-link): Use loop instead of
5958 remove*.
5959 (mh-thread-process-in-reply-to): Use mh-search-from-end instead
5960 of search.
5961
5962 * mh-index.el (mh-md5-parser): Fix name of function.
5963 (mh-index-update-single-msg, mh-index-update-maps): Avoid using
5964 destructuring-bind since Emacs-20.7 can't handle this particular
5965 usage.
5966 (mh-namazu-next-result): Use mh-search-from-end instead of
5967 search.
5968
5969 * mh-e.el (recursive-load-depth-limit): Add a defvar since CVS
5970 emacs which doesn't have the variable defined causes a compiler
5971 warning.
5972 (mh-refile-a-msg): Rewritten to avoid using pushnew.
5973 (mh-undo-msg): Use loop instead of remove-if.
5974
5975 * mh-comp.el (mh-show-buffer-message-number): Use
5976 mh-search-from-end instead of search.
5977
5978 2003-01-01 Satyaki Das <satyaki@theforce.stanford.edu>
5979
5980 * mh-e.el (mh-visit-folder): Modified so that if RANGE is nil then
5981 all messages are displayed. Documentation modified so that this is
5982 explicitly stated.
5983 (mh-visit-folder): Really fix it this time.
5984
5985 2003-01-01 Mark D Baushke <mdb@gnu.org>
5986
5987 * mh-alias.el (mh-alias-from-has-no-alias-p): Needs the
5988 mh-autoload comment or mh-customize may have problems finding the
5989 function.
5990
5991 * mh-loaddefs.el: Regenerated.
5992
5993 2002-12-28 Satyaki Das <satyaki@theforce.stanford.edu>
5994
5995 * mh-index.el (mh-namazu-execute-search): Fix bug in documentation.
5996
5997 2002-12-28 Bill Wohler <wohler@newt.com>
5998
5999 * mh-comp.el (mh-letter-mode): Mention mh-compose-insertion
6000 variable in docstring, explain how to expand directives, and
6001 don't mention mh-mhn-compose-insertion which isn't used directly
6002 any more.
6003 (mh-send-letter): Mention that X-Mailer and X-Face are inserted
6004 automatically so that a user isn't tempted to do so himself in
6005 mh-before-send-letter-hook.
6006 (mh-insert-letter): Use "variable" prefix for mh-invisible-headers
6007 now that we have both a function and a variable. Clarified
6008 language a bit.
6009
6010 2002-12-26 Satyaki Das <satyaki@theforce.stanford.edu>
6011
6012 * mh-utils.el (mh-show-xface-function): Only load x-face-e21 if
6013 the emacs is not XEmacs.
6014
6015 * mh-index.el (mh-index-new-folder): The folder created should
6016 always be added to mh-folder-list. Otherwise folder name
6017 completion doesn't find the new folder created.
6018
6019 2002-12-24 Satyaki Das <satyaki@theforce.stanford.edu>
6020
6021 * mh-customize.el (mh-clean-message-header-flag)
6022 (mh-visible-headers, mh-invisible-headers)
6023 (mh-invisible-header-fields-set): Reworded to satisfy checkdoc.
6024
6025 * mh-loaddefs.el: Regenerated.
6026
6027 * mh-e.el (mh-inc-folder, mh-visit-folder, mh-read-msg-range):
6028 Handle nil value of mh-large-folder properly.
6029
6030 * mh-customize.el (mh-tool-bar-show-set, mh-tool-bar-letter-set)
6031 (mh-tool-bar-folder-set, mh-tool-bar-folder-buttons)
6032 (mh-invisible-headers, mh-invisible-header-fields-set): Checkdoc
6033 fixes.
6034 (mh-large-folder): Updated to allow for infinity. If
6035 mh-large-folder is nil then all folders are deemed small.
6036
6037 2002-12-23 Satyaki Das <satyaki@theforce.stanford.edu>
6038
6039 * mh-e.el (mh-inc-folder, mh-visit-folder): Emit a message if
6040 threading was suppressed because the number of messages exceed
6041 mh-large-folder.
6042
6043 2002-12-23 Peter S Galbraith <psg@debian.org>
6044
6045 * mh-utils.el (mh-invisible-headers): Deleted. Moved to
6046 mh-customize.el
6047
6048 * mh-customize.el (mh-invisible-header-fields): New
6049 defcustom. Simple user interface to change mh-invisible-headers.
6050 (mh-invisible-header-fields-set): New function called when
6051 mh-invisible-header-fields is set.
6052 (mh-invisible-headers): New function. Does the actual work of
6053 building the variable mh-invisible-headers from
6054 mh-invisible-header-fields.
6055 (mh-invisible-headers): defvar moved from mh-utils.el
6056
6057 2002-12-22 Satyaki Das <satyaki@theforce.stanford.edu>
6058
6059 * mh-speed.el (mh-speed-folder-size): Removed. Something very
6060 similar appears as mh-folder-size.
6061 (mh-speed-view): Simplified since the range selection logic has
6062 been moved to mh-read-msg-range.
6063 (mh-speed-parse-flists-output-line): Moved to mh-e.el as
6064 mh-parse-flist-output-line.
6065
6066 * mh-funcs.el (mh-pack-folder): Use the new mh-read-msg-range.
6067
6068 * mh-e.el (mh-rescan-folder): Use the new mh-read-msg-range.
6069 (mh-parse-flist-output-line): Moved from mh-speed.el where this
6070 function was called mh-speed-parse-flists-output-line.
6071 (mh-folder-size): Renamed from mh-speed-folder-size. The function
6072 has been made more general and can be called from any buffer and
6073 not just the speedbar buffer.
6074 (mh-visit-folder): Use the new mh-read-msg-range (addresses SF
6075 #655891).
6076 (mh-read-msg-range): Rewritten.
6077
6078 2002-12-21 Satyaki Das <satyaki@theforce.stanford.edu>
6079
6080 * mh-seq.el (mh-delete-subject-or-thread): New interactive
6081 function that intelligently deletes messages based on threading,
6082 if the folder is threaded, or on subject if folder isn't threaded.
6083
6084 * mh-utils.el (mh-show-delete-subject-or-thread): New interactive
6085 function, callable from the show buffer, to intelligently delete
6086 messages based on threading info or subject.
6087 (mh-show-mode-map): Change binding of "k" to call
6088 mh-show-delete-subject-or-thread.
6089
6090 * mh-e.el (mh-folder-mode-map): Change binding of "k" to call
6091 mh-delete-subject-or-thread.
6092
6093 * mh-comp.el (mh-letter-mode-map): Add key binding for
6094 mh-insert-identity.
6095
6096 * mh-loaddefs.el: Regenerated.
6097
6098 2002-12-21 Peter S Galbraith <psg@debian.org>
6099
6100 * mh-customize.el (mh-tool-bar-letter-set): Bug fix. The
6101 `tool-bar-add-item-from-menu' items were broken. I can't use my
6102 constants there.
6103
6104 2002-12-21 Peter S Galbraith <psg@debian.org>
6105
6106 * mh-alias.el (mh-alias-insert-file): Bug fix. I never checked
6107 that an AliasFile entry existed in .mh_profile.
6108
6109 2002-12-21 Peter S Galbraith <psg@debian.org>
6110
6111 * mh-customize.el (mh-alias-insertion-location): New defustom.
6112 Specifies where new aliases are entered in alias files.
6113
6114 * mh-alias.el (mh-alias-add-alias-to-file): Use it.
6115
6116 2002-12-21 Peter S Galbraith <psg@debian.org>
6117
6118 * mh-alias.el (mh-alias-add-alias-to-file): If ALIAS matches
6119 exactly, prompt to [i]nsert before old value or [a]ppend after it.
6120 (mh-alias-insert-file): Make sure we don't edit the passwd file.
6121 Add optional argument for alias; If ALIAS is specified and it
6122 already exists, try to return the file that contains it.
6123 (mh-alias-which-file-has-alias): New function. Return the name of
6124 writable file which defines ALIAS from list FILE-LIST.
6125 (mh-alias-add-alias): Remove prompts for case of alias already
6126 defined; done in mh-alias-add-alias-to-file.
6127
6128 2002-12-21 Satyaki Das <satyaki@theforce.stanford.edu>
6129
6130 * mh-speed.el (mh-speed-folders-actual): Fix bug in parsing of
6131 folder names that have spaces in them. The original function would
6132 truncate the folder name at the first space.
6133 (mh-speed-flists): Add -sequence option to flists. This guards
6134 against the user specifying something other than the unseen
6135 sequence in his .mh_profile.
6136 (mh-speed-parse-flists-output-line): New function that parses a
6137 single line in the output of flists to find the folder name and
6138 the counts of unseesn and total messages.
6139 (mh-speed-parse-flists-output): Fix parsing bug which truncates
6140 the folder names at the first space.
6141
6142 * mh-index.el (mh-index-generate-pretty-name): New function which
6143 generates a nicer name for the search results. It trims white
6144 space at the beginning and end and replaces white space with
6145 underscores within the search regexp.
6146 (mh-index-search): Use mh-index-generate-pretty-name.
6147
6148 * mh-loaddefs.el: Regenerated.
6149
6150 2002-12-20 Satyaki Das <satyaki@theforce.stanford.edu>
6151
6152 * mh-index.el (mh-index-new-folder): Add new folder to
6153 mh-folder-list to enable name completion.
6154 (mh-glimpse-execute-search, mh-swish-execute-search)
6155 (mh-swish++-execute-search): Fix documentation.
6156
6157 * mh-seq.el (mh-thread-generate): Fixed a stupid bug where the wrong
6158 folder could get 'scan'ed when generating the threaded view.
6159
6160 * mh-index.el (mh-index-search): If optional prefix arg is given
6161 then the search in the current index buffer is redone.
6162 (mh-glimpse-execute-search, mh-swish-execute-search)
6163 (mh-namazu-execute-search): Documentation fixes.
6164
6165 * mh-e.el (mh-index-previous-search): New buffer local variable
6166 stores parameters of search that created the buffer.
6167 (mh-folder-mode): Make mh-index-previous-search buffer local.
6168 (mh-visit-folder): Tweak the function so that only a single window
6169 with the folder buffer is shown if mh-showing-mode is nil.
6170
6171 * mh-loaddefs.el: Regenerated.
6172
6173 2002-12-19 Peter S Galbraith <psg@debian.org>
6174
6175 * mh-alias.el (mh-alias-add-alias): Bug fix.
6176
6177 2002-12-19 Peter S Galbraith <psg@debian.org>
6178
6179 * mh-alias.el (mh-alias-add-alias): New interactive command. Add
6180 ALIAS for ADDRESS in personal alias file.
6181 (mh-alias-grab-from-field): New interactive command. Add ALIAS for
6182 ADDRESS in personal alias file.
6183 (mh-alias-add-address-under-point): New interactive
6184 command. Insert an alias for email address under point.
6185 (mh-alias-suggest-alias): New function. Suggest an alias for STRING.
6186 (mh-alias-insert-file): New function. Return the alias file to
6187 write a new entry in.
6188 (mh-alias-address-to-alias): New function. Return the ADDRESS
6189 alias if defined, or nil."
6190 (mh-alias-from-has-no-alias-p): New function. Return t is From has
6191 no current alias set. Used as tool-bar button enable function.
6192 (mh-alias-add-alias-to-file): New function. Add ALIAS for ADDRESS
6193 in alias FILE without alias check or prompts.
6194
6195 * alias.xpm, alias.pbm: New tool-bar icon for
6196 mh-alias-grab-from-field.
6197
6198 * mh-e.el (mh-folder-line-matches-show-buffer-p): New function.
6199 Return t if the message under point in folder-mode is in the show
6200 buffer.
6201
6202 * mh-utils.el (mh-goto-address-find-address-at-point): New
6203 function copied from goto-addr.el, which we don't want to
6204 force-load on users. Find e-mail address around or before point.
6205 (mh-address-mail-regexp): New defvar. A regular expression
6206 probably matching an e-mail address.
6207
6208 * mh-customize.el (mh-alias-insert-file): New defcustom.
6209 Filename to use to store new MH-E aliases.
6210 (mh-tool-bar-folder-buttons): Enable mh-tool-bar-item-alias icon.
6211
6212 * mh-comp.el (mh-extract-from-header-value): New function.
6213 Extract From: string from header.
6214
6215 2002-12-19 Satyaki Das <satyaki@theforce.stanford.edu>
6216
6217 * mh-index.el (mh-index-update-single-msg): New defvar controls
6218 max number of command line args.
6219 (mh-index-execute): New function which is to be used
6220 instead of xargs so that we don't give the shell too many command
6221 line args.
6222 (mh-index-update-maps): Use mh-index-execute instead of xargs.
6223 (mh-index-search): Remove unused code. Also the first message in
6224 folder buffer is made current.
6225
6226 2002-12-18 Peter S Galbraith <psg@debian.org>
6227
6228 * mh-loaddefs.el: Regenerated.
6229
6230 * mh-comp.el (mh-letter-tool-bar-map): Moved to mh-customize.el
6231
6232 * mh-e.el (mh-folder-tool-bar-map): Moved to mh-customize.el
6233
6234 * mh-utils.el (mh-get-msg-num): autoloaded.
6235 (mh-show-tool-bar-map): Moved to mh-customize.el
6236
6237 * mh-customize.el (mh-tool-bar-item-*): 33 new defconsts for
6238 tool-bar setup and customization.
6239 (mh-tool-bar-folder-buttons-set): New function to setup the
6240 tool-bar after customization.
6241 (mh-tool-bar-folder-buttons): New defcustom to specify which icons
6242 appears in the tool-bar.
6243 (mh-tool-bar-letter-buttons-set): New function to setup the
6244 tool-bar after customization.
6245 (mh-tool-bar-letter-buttons): New defcustom to specify which icons
6246 appears in the tool-bar.
6247 (mh-tool-bar-show-set): New function to setup mh-letter-tool-bar-map.
6248 (mh-tool-bar-letter-set): New function to setup
6249 mh-letter-tool-bar-map.
6250
6251 2002-12-18 Satyaki Das <satyaki@theforce.stanford.edu>
6252
6253 * mh-e.el (mh-folder-mode-map): Change entries for "\t", "\M-\t"
6254 and backtab to call mh-index-next-folder and
6255 mh-index-previous-folder as appropriate.
6256
6257 * mh-index.el (mh-index-next-folder, mh-index-previous-folder):
6258 New interactive functions which jumps to search results of next
6259 and previous folders respectively.
6260
6261 * mh-loadddefs.el: Regenerated.
6262
6263 * mh-index.el (mh-index-delete-folder-headers): Arrange for
6264 mh-goto-cur-msg to just go to the current message.
6265
6266 * mh-e.el (mh-visit-folder): Since mh-scan-folder erases the whole
6267 buffer anyway, we don't need to delete the folder headers. Also
6268 index-data is non-nil only when the buffer folder doesn't exist.
6269 So we need to call mh-make-folder.
6270 (mh-folder-mode): Fix bug in that mh-index-checksum-origin-map was
6271 not being made buffer local!
6272
6273 2002-12-17 Satyaki Das <satyaki@theforce.stanford.edu>
6274
6275 * mh-e.el (mh-visit-folder): Fix bug.
6276
6277 * mh-index.el (mh-md5sum-buffer): Buffer from which md5sum is run.
6278 (mh-index-folder-first, mh-index-folder-last)
6279 (mh-index-original-msg-list): Convenience macros aren't needed
6280 anymore since the data structure has been changed.
6281 (mh-index-update-single-msg): New function to update maps that
6282 relate MD5 checksums to actual messages and vice-versa for a
6283 single message.
6284 (mh-index-update-maps): Do the above for all messages. If some
6285 messages don't have MD5 checksums, they are annotated with the
6286 result of md5sum.
6287 (mh-index-search): Updated for the new version of mh-index-data.
6288 (mh-msg-exists-p): New function to test a message exists.
6289 (mh-index-insert-folder-headers): Updated for new mh-index-data.
6290 (mh-index-delete-folder-headers): New function used to eliminate
6291 original folder names from the buffer and make it look like a
6292 plain folder buffer. This is used from mh-process-commands.
6293 (mh-index-visit-folder): Use new version of mh-index-data.
6294 (mh-index-match-checksum): New function which checks if the
6295 X-MHE-Checksum header of a message matches.
6296 (mh-index-execute-commands): New function that rmm's the original
6297 messages. Then after mh-execute-commands executes it will seem
6298 that the original messages were executed upon. This completes the
6299 fix of SF #623321.
6300 (mh-checksum-buffer): Renamed from mh-md5sum-buffer.
6301 (mh-checksum-cmd, mh-checksum-parser): New globals to allow
6302 different checksum programs to be used.
6303 (mh-checksum-choose): New functions to find a checksum program.
6304 (mh-openssl-parser, mh-md5sum-parser, mh-md5-parser): Functions to
6305 parse the output of md5, md5sum and openssl.
6306 (mh-index-update-maps): Use checksum parsing function.
6307 (mh-index-search): Set checksum choice. Add a call to recenter,
6308 otherwise the window point in the index buffer doesn't get set
6309 properly.
6310
6311 * mh-funcs.el (mh-pack-folder, mh-sort-folder): Enable these
6312 functions in folders created by index search.
6313
6314 * mh-e.el (mh-index-msg-checksum-map)
6315 (mh-index-checksum-origin-map): New buffer local variables that
6316 keep track of message checksums (used to implement
6317 refiling/deletion for folders created by index folders).
6318 (mh-last-msg): Make the function behave like mh-first-msg.
6319 (mh-visit-folder): Add new optional argument which initializes
6320 folders created by mh-index-search.
6321 (mh-folder-mode): Make the variables mh-index-msg-checksum-map and
6322 mh-index-checksum-origin-map buffer local.
6323 (mh-process-commands): Call mh-index-execute-commands when called
6324 from an index search buffer. This will reflect the changes being
6325 made in the search folder to the original folders.
6326
6327 * mh-loaddefs.el: Regenerated.
6328
6329 2002-12-16 Satyaki Das <satyaki@theforce.stanford.edu>
6330
6331 * mh-index.el (mh-index-insert-folder-headers): Fix a bug which
6332 caused the folder buffer to be marked as modified after rescanning
6333 an index folder.
6334
6335 2002-12-15 Satyaki Das <satyaki@theforce.stanford.edu>
6336
6337 * mh-e.el (mh-visit-folder): The function should insert folder
6338 names if it is visiting a folder created by index search.
6339
6340 * mh-index.el (mh-index-insert-folder-headers): The function now
6341 maintains the old value of buffer-modified-p and temporarily makes
6342 the buffer writable.
6343
6344 * mh-utils.el (mh-show-index-visit-folder): New interactive
6345 function callable from show buffer that displays search results
6346 from one folder.
6347 (mh-show-mode-map): Key binding for "v".
6348
6349 * mh-speed.el: Fix credits.
6350 (mh-index-folder-speedbar-buttons)
6351 (mh-index-show-speedbar-buttons)
6352 (mh-index-folder-speedbar-key-map)
6353 (mh-index-show-speedbar-key-map)
6354 (mh-index-folder-speedbar-menu-items)
6355 (mh-index-show-speedbar-menu-items): Removed since the modes
6356 mh-index-folder-mode and mh-index-show-mode no longer exist.
6357 (mh-speed-extract-folder-name): Remove the bits about
6358 mh-index-folder-mode and mh-index-show-mode.
6359
6360 * mh-seq.el (mh-copy-seq-to-eob): Updated to work properly with
6361 index search results.
6362 (mh-region-to-msg-list): Skip over non-scan lines.
6363 (mh-thread-inc, mh-thread-add-spaces, mh-thread-folder): Skip
6364 non-scan lines when populating mh-thread-scan-line-map.
6365 (mh-thread-folder, mh-toggle-threads): Move the check for buffer
6366 modification from mh-thread-folder to mh-toggle-threads.
6367 (mh-toggle-threads): When returning to unthreaded view insert the
6368 folder names if called from a index folder.
6369
6370 * mh-index.el: Fix credits and update commentary.
6371 (font-lock-defaults, mh-index-buffer, mh-index-show-buffer)
6372 (mh-index-ma-x-msg-index, mh-index-other-buffer)
6373 (mh-index-matches, mh-index-previous-window-configuration)
6374 (mh-index-current-msg, mh-index-folder-mode-keymap)
6375 (mh-index-button-map, mh-index-folder-mode-help-messages): Remove
6376 eliminated variables.
6377 (mh-index-folder): New variable sets the MH folder under which the
6378 index searches are stored.
6379 (mh-index-folder-first, mh-index-folder-last)
6380 (mh-index-original-msg-list): Convenience macros used to pull data
6381 elements out of a list. If needed setf can be used to change them
6382 as well.
6383 (mh-index-search): Rewritten to create real folders where all the
6384 normal folder operation. This partially fixes SF #623321 (refiles
6385 and deletes doesn't work on original messages).
6386 (mh-index-find-max-width, mh-index-search-again)
6387 (mh-index-insert-scan, mh-index-callback, mh-index-search)
6388 (mh-index-notate, mh-index-show, mh-index-header-display)
6389 (mh-index-next, mh-index-folder-mode, mh-index-show-mode):
6390 Functions, macros and modes removed.
6391 (mh-folder-exists-p): New function to check if a folder exists.
6392 (mh-index-new-folder): Generate a new folder name from a given
6393 base string that mimics the way emacs generates buffer names.
6394 (mh-index-insert-folder-headers): Insert folder names among the
6395 search results.
6396 (mh-index-visit-folder): New interactive function to show the
6397 search results of one individual folder.
6398 (mh-swish++-execute-search): Update documentation.
6399
6400 * mh-funcs.el (mh-pack-folder, mh-sort-folder): Disable these
6401 functions if index search results are being viewed.
6402
6403 * mh-e.el (mh-folder-font-lock-keywords): Add highlight for
6404 folder.
6405 (mh-index-data): New buffer local variable that will be used to
6406 store info about index search results.
6407 (mh-rescan-folder): Implement rescanning for index search results.
6408 (mh-folder-mode): Make mh-index-data buffer local.
6409 (mh-remove-all-notation): Modified to take into account not all
6410 lines in the folder buffer are normal scan lines.
6411 (mh-folder-mode-map): Add key binding for "v" to jump to original
6412 folder narrowed to search results.
6413
6414 * mh-customize.el (mh-index-folder-face): Make it bold so that it
6415 will look like before.
6416
6417 * mh-loaddefs.el: Regenerated.
6418
6419 2002-12-12 Satyaki Das <satyaki@theforce.stanford.edu>
6420
6421 * mh-seq.el (mh-map-to-seq-msgs): Modified so that it can be given
6422 a list of messages in addition to a sequence.
6423 (mh-region-to-sequence, mh-region-to-msg-list): The function
6424 mh-region-to-msg-list replaces mh-region-to-sequence. The new
6425 function avoids creating a dummy sequence in MH-E.
6426 (mh-thread-delete, mh-thread-refile, mh-put-msg-in-seq): Modified
6427 to use mh-region-to-msg-list.
6428
6429 * mh-funcs.el (mh-copy-msg): Modified to use mh-region-to-msg-list.
6430
6431 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Modified to use
6432 mh-region-to-msg-list.
6433
6434 * mh-comp.el (mh-forward): Modified to use mh-region-to-msg-list.
6435 The buffer-local variable mail-header-separator is no longer
6436 bound. This fixes a bug where the default value of
6437 mail-header-separator gets used if mh-forward is called in a fresh
6438 emacs session.
6439 (mh-annotate-msg): Update this so that it will handle message
6440 lists too.
6441 (mh-insert-letter): Make the test stronger. Since %d is being used
6442 the argument better be an integer.
6443
6444 * mh-loaddefs.el: Regenerated.
6445
6446 2002-12-11 Satyaki Das <satyaki@theforce.stanford.edu>
6447
6448 * mh-funcs.el (mh-copy-msg): Add support for transient-mark-mode.
6449 If mark is active and transient-mark-mode is enabled then all the
6450 messages in the region are copied.
6451
6452 * mh-seq.el (mh-list-sequences): Use mh-coalesce-msg-list to print
6453 messages in sequence nicely. The prompt for the folder is removed
6454 (the current folder is always used) and the output is made nicer
6455 by not overflowing the screen width.
6456
6457 * mh-loaddefs.el: Regenerated.
6458
6459 2002-12-09 Satyaki Das <satyaki@theforce.stanford.edu>
6460
6461 * mh-comp.el (mh-letter-complete): Checkdoc fix.
6462
6463 * mh-seq.el (mh-thread-current-indentation-level): New function
6464 which returns the thread indentation level of current message.
6465 (mh-thread-next-sibling, mh-thread-previous-sibling): New
6466 interactive functions to jump to the next and previous siblings in
6467 thread tree respectively.
6468 (mh-thread-immediate-ancestor): New function to jump to ancestor
6469 of current message in thread tree.
6470 (mh-thread-ancestor): New interactive function to jump to
6471 immediate ancestor or to root message of current thread depending
6472 on optional argument.
6473
6474 * mh-utils.el (mh-show-thread-ancestor)
6475 (mh-show-thread-next-sibling, mh-show-thread-previous-sibling):
6476 Interactive functions callable from the show buffer.
6477 (mh-show-thread-map): Bindings for Tu, Tp and Tn.
6478
6479 * mh-e.el (mh-thread-map): Bindings for Tu, Tp and Tn.
6480
6481 * mh-loaddefs.el: Regenerated.
6482
6483 2002-12-09 Satyaki Das <satyaki@theforce.stanford.edu>
6484
6485 * mh-seq.el (mh-region-to-sequence): Change name of region
6486 sequence created to 'mhe-region. This avoids any chance of
6487 collision with actual MH sequences.
6488 (mh-put-msg-in-seq, mh-thread-delete, mh-thread-refile): Change
6489 name of region sequence used to 'mhe-region. Also delete the
6490 'mhe-region sequence when done.
6491
6492 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Same as above.
6493
6494 * mh-comp.el (mh-forward): Same as above.
6495
6496 * mh-loaddefs.el: Regenerated.
6497
6498 2002-12-08 Bill Wohler <wohler@newt.com>
6499
6500 * mh-alias.el: Edited documentation. Broke up file into 2
6501 sections: Alias Loading and Alias Expansion. Made terminology
6502 consistent (replaced expand, substitute, and translate with
6503 expand).
6504 (mh-alias-reload): Brought message in line with coding conventions
6505 and made more concise too.
6506 (mh-alias-translate): Renamed to mh-alias-expand.
6507 (mh-alias-substitute-aliases-flag): Renamed to
6508 mh-alias-expand-aliases-flag.
6509 (mh-alias-reload-local-users): Renamed to mh-alias-local-users.
6510 Now just returns an alist of local users rather than have
6511 side-effects.
6512 (mh-alias-reload): Set timestamp at beginning of function to catch
6513 edge case when alias added just after ali runs. Changed logic to
6514 reflect return value of mh-alias-local-users.
6515
6516 * mh-customize.el (mh-alias-substitute-aliases-flag): Renamed to
6517 mh-alias-expand-aliases-flag.
6518 (mh-alias-local-users): Fixed documentation.
6519
6520 * mh-loaddefs.el: Regenerated
6521
6522 2002-12-08 Satyaki Das <satyaki@theforce.stanford.edu>
6523
6524 * mh-e.el (require): Load Gnus at compile time so that the
6525 constant gnus-version is defined when MH-E is being compiled.
6526 (mh-macro-expansion-time-gnus-version, mh-run-time-gnus-version):
6527 Use the constant gnus-version instead of the function gnus-version
6528 to find out about gnus version information.
6529 (gnus-version): Remove the autoload since it is not needed any
6530 more.
6531
6532 2002-12-08 Bill Wohler <wohler@newt.com>
6533
6534 * mh-e.el (mh-version): Moved compilation information in front of
6535 Emacs information. The idea is that you start at MH-E and move
6536 outwards. Show N/A if Gnus not compiled (be explicit). Matched
6537 coding style with other output statements. (Aside: not that
6538 efficiency matters here, but fewer calls to format have to be
6539 faster, right? ;-). Matched output style of old output to new
6540 statement--liked Satyaki's indentation better ;-).
6541
6542 2002-12-08 Satyaki Das <satyaki@theforce.stanford.edu>
6543
6544 * mh-e.el (gnus-version): Autoload the function for use in
6545 mh-version.
6546 (mh-macro-expansion-time-gnus-version): New macro that finds the
6547 Gnus version at macro expansion time.
6548 (mh-run-time-gnus-version): New function to find the Gnus version
6549 at run time.
6550 (mh-version): Add information about Gnus versions available at
6551 compile time and run time.
6552
6553 2002-12-07 Peter S Galbraith <psg@debian.org>
6554
6555 * mh-alias.el (mh-alias-ali): Add optional argument. if USER is
6556 t, then assume ALIAS is an address and call ali with option -user.
6557
6558 * mh-alias.el (mh-alias-filenames): if ARG is t, appends list of
6559 files from `mh-alias-system-aliases' to output list obtained from
6560 mhparam output user list only.
6561 (mh-alias-tstamp): Use it.
6562
6563 2002-12-05 Satyaki Das <satyaki@theforce.stanford.edu>
6564
6565 * mh-mime.el (mh-inline-vcard-p): A new function which decides if
6566 a vcard should be displayed inline.
6567 (mh-mime-display-single): Use mh-inline-vcard-p to display
6568 attached vcard as a signature if no other signature is present
6569 (this partially addresses SF #649216).
6570
6571 2002-12-05 Peter S Galbraith <psg@debian.org>
6572
6573 * mh-comp.el (mh-send-letter): Edits docs for mh-mml-to-mime
6574 getting run if variable `mh-mml-compose-insert-flag' is set.
6575 (mh-get-header-field): use buffer-substring-no-properties instead
6576 of buffer-substring.
6577
6578 2002-12-04 Peter S Galbraith <psg@debian.org>
6579
6580 * mh-loaddefs.el: Regenerated.
6581
6582 * mh-customize.el (mh-customize): Add ;;;###mh-autoload tag.
6583
6584 2002-12-04 Peter S Galbraith <psg@debian.org>
6585
6586 * mh-loaddefs.el: Regenerated.
6587
6588 * mh-comp.el (mh-letter-complete): New command to do alias or word
6589 completion in letter-mode.
6590 (mh-letter-mode-map): Add \M-\t binding for mh-letter-complete.
6591
6592 * mh-alias.el (mh-alias-letter-mode-expand-alias-hook): Obsolete.
6593 Replaced by mh-letter-complete command.
6594 (mh-alias-reload-maybe): New function to rebuild alias table if
6595 out of date.
6596 (mh-alias-letter-expand-alias): No longer interactive. Use
6597 mh-letter-complete instead.
6598
6599 2002-12-04 Peter S Galbraith <psg@debian.org>
6600
6601 * mh-customize.el (mh-letter-complete-function): New defcustom.
6602 Function to call when completing outside of fields specified to
6603 aliases.
6604
6605 * mh-alias.el (mh-alias-filenames):
6606 s/mh-mhparam-component/mh-profile-component/
6607 (mh-profile-component): Move to mh-utils.el and make interactive.
6608 (mh-read-address): Make it autoloaded.
6609
6610 * mh-loaddefs.el: Regenerated.
6611
6612 * mh-comp.el (mh-read-address): Removed. Replaced by mh-alias
6613 version.
6614
6615 * mh-utils.el (mh-profile-component): Moved from mh-alias.el.
6616
6617 2002-12-04 Satyaki Das <satyaki@theforce.stanford.edu>
6618
6619 * mh-seq.el (mh-msg-is-in-seq): Formatting change.
6620
6621 * mh-index.el (mh-index-insert-scan): Remove unused variable.
6622
6623 2002-12-04 Bill Wohler <wohler@newt.com>
6624
6625 * mh-loaddefs.el: Regenerated.
6626
6627 * Makefile (MH-E-SRC): Moved mh-loaddefs.el into MH-E-LOADDEFS as
6628 this was causing a cycle.
6629 (MH-E-LOADDEFS): New variable to house mh-loaddefs.el.
6630 (emacs): Reintroduced autoloads.
6631 (autoloads): We're baaa-aack!
6632 (dist, install-emacs): Use MH-E-LOADDEFS.
6633
6634 * mh-comp.el (mh-customize): Moved to mh-customize.el.
6635
6636 * mh-customize.el (mh-customize): Moved here from mh-comp. Makes
6637 more sense, doesn't it?
6638
6639 * mh-alias.el, mh-comp.el, mh-e.el, mh-index.el, mh-mime.el,
6640 mh-pick.el, mh-speed.el: Added mh-autoload cookie to all
6641 interactive functions.
6642
6643 2002-12-04 Satyaki Das <satyaki@theforce.stanford.edu>
6644
6645 * Makefile (world): Remove target.
6646 (mh-loaddefs.el): Add comment that only GNU Emacs can be used to
6647 regenerate mh-loaddefs.el.
6648
6649 * mh-make.el: Removed.
6650
6651 2002-12-04 Mark D. Baushke <mdb@gnu.org>
6652
6653 * mh-e.el (recursive-load-depth-limit): Only modify the limit
6654 if it is an integer.
6655
6656 2002-12-04 Peter S Galbraith <psg@debian.org>
6657
6658 * mh-utils.el (mh-header-field-beginning): New function. Move to
6659 the beginning of the current header field.
6660
6661 2002-12-04 Satyaki Das <satyaki@theforce.stanford.edu>
6662
6663 * mh-make.el (mh-files): Read in the MH-E filenames from the
6664 environment variable where the Makefile puts it.
6665 (mh-generate-autoloads, step2): Simplified since we now have the
6666 complete file names.
6667
6668 * Makefile (world): Pass the MH-E files into the script, so that
6669 the filenames don't need to be repeated in the script.
6670
6671 2002-12-04 Bill Wohler <wohler@newt.com>
6672
6673 * mh-loaddefs.el: New file. Check in automatically generated file
6674 and include in package for the benefit of those who don't want to
6675 or can't compile.
6676
6677 * Makefile (MH-E-SRC): Added mh-loaddefs.el now that it is checked
6678 in and will be packaged.
6679 (emacs): Removed autoloads. Adding mh-loaddefs.el to MH-E-SRC is
6680 sufficient to build it.
6681 (compile): Depend on MH-E-SRC instead of MH-E-OBJ and pass $? into
6682 emacs so that Emacs is only invoked once to compile files. This
6683 speeds things up by a factor of 3. It would be nice to only pass
6684 those files that have been modified, but Emacs 21.4 will have
6685 batch-byte-compile-if-not-done which we might be able to copy into
6686 mh-make.el (or my proposed mh-e-dev.el which would be more
6687 general-purpose).
6688 (.SUFFIXES): Removed. Now that compile works directly on the
6689 sources, the implicit rule is obsolete.
6690 (autoloads): Deleted. See emacs change above.
6691
6692 2002-12-03 Bill Wohler <wohler@newt.com>
6693
6694 * Makefile (MH-E-SRC, emacs):
6695
6696 2002-12-03 Satyaki Das <satyaki@theforce.stanford.edu>
6697
6698 * mh-make.el (mh-emacs): Make failing condition more strict.
6699 (mh-loaddefs-end): Remove redundant statement.
6700
6701 * Makefile (world): A little typo. The bug didn't seem to make any
6702 difference though.
6703
6704 * mh-make.el: New script that compiles MH-E.
6705 (mh-loaddefs-beginning, mh-loaddefs-end): Don't save the autoloads
6706 file in between. Only save at the end.
6707 (mh-emacs-generate-autoloads, mh-xemacs-generate-autoloads)
6708 (mh-generate-autoloads): Replace the separate functions in Emacs
6709 and XEmacs with one that works in both variants. This simplifies
6710 the script a lot.
6711 (mh-generate-autoloads): doc fix.
6712
6713 * Makefile (world): New target which works for both GNU Emacs and
6714 XEmacs.
6715
6716 2002-12-03 Peter S Galbraith <psg@debian.org>
6717
6718 * mh-alias.el (mh-mhparam-component): Don't raise error if call to
6719 mhparam fails.
6720
6721 * mh-alias.el (mh-alias-letter-expand-alias): Build alias table if
6722 not already available.
6723
6724 2002-12-03 Bill Wohler <wohler@newt.com>
6725
6726 * mh-customize.el (mh-show-threads-flag): Alphabetized.
6727
6728 2002-12-03 Jeffrey C Honig <jch@honig.net>
6729
6730 * Makefile: Moved .PHONY rule after all rule for compatibility
6731 with BSD/OS's old pmake.
6732
6733 2002-12-03 Mark D Baushke <mdb@gnu.org>
6734
6735 * mh-e.el (mh-get-new-mail): Simplify no-new-mail test.
6736 (mh-add-cur-notation): Remove unnecessary function.
6737
6738 2002-12-03 Peter S Galbraith <psg@debian.org>
6739
6740 * mh-identity.el (mh-identity-make-menu): Check if
6741 'mh-letter-mode-map' is bound, since this code also gets run when
6742 mh-customize.el is loaded at startup.
6743
6744 2002-12-03 Satyaki Das <satyaki@theforce.stanford.edu>
6745
6746 * mh-customize.el (mh-show-threads-flag): New customizable
6747 variable which controls if new folders start of in threaded mode
6748 (closes SF #646794).
6749
6750 * mh-e.el (mh-rescan-folder): Fix the function so that threading
6751 is preserved across rescans.
6752 (mh-visit-folder, mh-inc-folder): The folder is threaded if it was
6753 already threaded or if mh-show-threads-flag is non-nil and the
6754 number of scan lines is fewer than mh-large-folders (closes SF
6755 #646794).
6756
6757 2002-12-02 Mark D Baushke <mdb@gnu.org>
6758
6759 * mh-e.el (mh-add-cur-notation): New function to mark the
6760 current message with the mh-note-cur character.
6761 (mh-get-new-mail): Use mh-add-cur-notation to undo the work of
6762 mh-remove-cur-notation if there was no new mail (closes SF #647681).
6763
6764 * mh-e.el (mh-set-cmd-note): Do not update the default mh-cmd-note
6765 value (closes SF #643701).
6766
6767 2002-12-02 Peter S Galbraith <psg@debian.org>
6768
6769 * mh-alias.el (mh-alias-reload): Renamed from mh-alias-learn-aliases.
6770 (mh-alias-load-local-users): Renamed from mh-alias-learn-local-users.
6771 (mh-alias-passwd-alist): New variable, holding aliases extracted
6772 from the passwd file.
6773 (mh-alias-tstamp): New variable storing the timestamp for alias
6774 list generation.
6775 (mh-read-address, mh-alias-reload, mh-alias-reload-local-users):
6776 Complete rewrite.
6777 (mh-alias-minibuffer-confirm-address): Use mh-alias-translate.
6778 (mh-alias-translate): New function. Return translation for alias,
6779 checking if in blind or passwd list.
6780 (mh-alias-letter-expand-alias): Rewrite using
6781 mail-abbrev-complete-alias from mailabbrev.el
6782 (mh-alias-expand-alias-map): New variable.
6783 (mh-alias-ali): New function. Return formatted string of
6784 translated ALIAS from ali.
6785 (mh-mhparam-component): New function. Return COMPONENT value from
6786 mhparam, or nil if unset.
6787 (mh-alias-filenames): New function. Provide list of alias
6788 filenames from mhparam, or nil if none are set.
6789
6790 * mh-customize.el (mh-alias-display-blind-name-on-completion-flag):
6791 Obsoleted.
6792 (mh-alias-timestamp): Renamed to mh-alias-system-aliases.
6793
6794 2002-12-02 Bill Wohler <wohler@newt.com>
6795
6796 * Makefile (mh-loaddefs.el): Suppress creation of backup file.
6797
6798 2002-12-02 Mark D. Baushke <mdb@gnu.org>
6799
6800 * Makefile (mh-loaddefs.el): Simplify rule.
6801
6802 * Makefile (clean): Remove mh-loaddefs.el* for good measure.
6803 ($(MH-E-OBJ)): Depend on mh-loaddefs.el to compile these.
6804 (autoloads, mh-loaddefs.el): Revamp rules.
6805 (mh-loaddefs.el-tail, autoloads-gen): Remove rules.
6806
6807 * mh-e.el (recursive-load-depth-limit): Do not try to
6808 bump the value unless the variable exists.
6809
6810 * mh-e.el (recursive-load-depth-limit): Bump value of
6811 recursive-load-depth-limit to 50 to allow emacs 21.1 which
6812 normally has a default value of 10 to be able to compile MH-E.
6813
6814 2002-12-02 Satyaki Das <satyaki@theforce.stanford.edu>
6815
6816 * mh-funcs.el (mh-pack-folder, mh-sort-folder): Fix the functions
6817 so that threading is preserved (needed for SF #646794).
6818
6819 * mh-identity.el (mh-identity-signature-start)
6820 (mh-identity-signature-end): Checkdoc fixes.
6821
6822 * mh-e.el (mh-previous-unread-msg, mh-next-unread-msg): Checkdoc
6823 fixes.
6824
6825 2002-12-01 Satyaki Das <satyaki@theforce.stanford.edu>
6826
6827 * mh-identity.el (compile): Make mh-identity.el compile without
6828 warnings.
6829
6830 * mh-e.el (mh-previous-unread-msg, mh-next-unread-msg): New
6831 interactive functions that go to next and previous unread
6832 messages (closes SF #630328).
6833 (mh-folder-mode-map): Add key bindings for M-n and M-p to
6834 mh-folder-mode-map.
6835
6836 * mh-utils.el (mh-show-next-unread-msg)
6837 (mh-show-previous-unread-msg): New interactive functions that go
6838 to the next and previous unread messages respectively. These are
6839 callable from the show buffer.
6840 (mh-show-mode-map): Add key bindings for M-n and M-p to
6841 mh-show-mode-map.
6842
6843 2002-12-01 Bill Wohler <wohler@newt.com>
6844
6845 * mh-mime.el (mh-defun-compat): Make it indent like a defun.
6846
6847 * mh-index.el (mh-defun-index): Make it indent like a defun.
6848
6849 * mh-customize.el: New file (closes SF #643722).
6850
6851 * Makefile (MH-E-SRC): Added mh-customize.el (closes SF #643722).
6852
6853 * mh-speed.el, mh-pick.el, mh-mime.el, mh-index.el, mh-e.el,
6854 mh-comp.el: Moved all defgroups, defcustoms, and deffaces to
6855 mh-customize.el (closes SF #643722).
6856
6857 * mh-utils.el (mh-xemacs-flag): Moved here from below since
6858 needed by mh-customize.el.
6859 (mh-customize): Required. mh-invisible-headers)
6860 (mh-bury-show-buffer-flag, mhl-formfile):
6861 Moved all defgroups, defcustoms, and deffaces to mh-customize.el
6862 (closes SF #643722) .
6863
6864 * mh-identity.el (mh-comp-loaded): New variable in a desparate
6865 attempt to prevent an infinite loop.
6866 (eval-when-compile): Was able to remove these defvars as they are
6867 now predefined in mh-loaddefs and mh-customize.
6868 (mh-identity-list-set): Added ;;;###mh-autoload cookie.
6869 Moved all defgroups, defcustoms, and deffaces to mh-customize.el
6870 (closes SF #643722).
6871
6872 * mh-alias.el (mh-e): Require this, as it needs defcustoms, which
6873 is in mh-customize which is required by mh-utils which is required
6874 by mh-e.
6875 Moved all defgroups, defcustoms, and deffaces to mh-customize.el
6876 (closes SF #643722).
6877
6878 2002-11-30 Satyaki Das <satyaki@theforce.stanford.edu>
6879
6880 * mh-e.el (mh-thread-map): Add key bindings "Td" and "To" (closes
6881 SF #630493).
6882 (mh-help-messages): Update help message for prefix map.
6883 (mh-help-messages): Doc fix.
6884 (mh-help-messages): Really fix it.
6885
6886 * mh-utils.el (mh-show-thread-delete, mh-show-thread-refile): New
6887 interactive functions corresponding to mh-thread-delete and
6888 mh-thread-refile callable from the show buffer.
6889 (mh-show-thread-map): Add key bindings for "Td" "To".
6890
6891 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-rename-seq)
6892 (mh-narrow-to-subject, mh-delete-subject, mh-toggle-threads): Add
6893 mh-autoload cookies.
6894 (mh-thread-find-children): New function which finds the region
6895 containing all children of a message.
6896 (mh-thread-delete): New interactive function that marks for
6897 deletion the current message and its children.
6898 (mh-thread-refile): New interactive function that marks for
6899 refiling the current message and its children.
6900
6901 2002-11-30 Bill Wohler <wohler@newt.com>
6902
6903 * mh-funcs.el, mh-identity.el, mh-index.el, mh-pick.el, mh-seq.el:
6904 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
6905 Added ;;;###mh-autoload tag to selected functions so that
6906 autoloads for those functions can be automatically created in
6907 mh-loaddefs.el (closes half of SF #643722).
6908
6909 * mh-mime.el (mh-buffer-data): Moved to mh-utils where it is used.
6910 Added ;;;###mh-autoload tag to selected functions so that
6911 autoloads for those functions can be automatically created in
6912 mh-loaddefs.el (closes half of SF #643722)..
6913
6914 * mh-utils.el (mh-loaddefs): Added require.
6915 (mh-buffer-data): Moved here from mh-mime.el as it is used in
6916 mh-display-msg.
6917 (mh-set-cmd-note): Moved to mh-e.el.
6918 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
6919 Added ;;;###mh-autoload tag to selected functions so that
6920 autoloads for those functions can be automatically created in
6921 mh-loaddefs.el (closes half of SF #643722)..
6922
6923 * mh-e.el (mh-set-cmd-note): Moved here from mh-utils.el since it
6924 uses mh-scan-format-file which is defined here.
6925 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
6926 Added ;;;###mh-autoload tag to selected functions so that
6927 autoloads for those functions can be automatically created in
6928 mh-loaddefs.el (closes half of SF #643722)..
6929
6930 * mh-comp.el, mh-speed.el (mh-utils): Removed require. mh-utils is
6931 provided via mh-e.el.
6932 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
6933 Added ;;;###mh-autoload tag to selected functions so that
6934 autoloads for those functions can be automatically created in
6935 mh-loaddefs.el (closes half of SF #643722)..
6936
6937 * Makefile (emacs): Add dependency on autoloads.
6938 (clean): Remove mh-loaddefs.el too.
6939 (autoloads): New target. Builds mh-loaddefs.el.
6940 (mh-loaddefs.el): New target. Initializes mh-loaddefs.el.
6941 (mh-loaddefs.el-tail): New target. Appends to mh-loaddefs.el.
6942 (autoloads-gen): Runs batch-update-autoloads to populate
6943 mh-loaddefs.el (closes half of SF #643722)..
6944 (auto-autoloads.elc): Renamed from autoloads to be explicit about
6945 file that's created.
6946 (custom-load.elc): Ditto.
6947
6948 2002-11-30 Satyaki Das <satyaki@theforce.stanford.edu>
6949
6950 * mh-seq.el (mh-thread-last-ancestor): New variable which keeps
6951 track of oldest ancestor of last message. If due to narrowing the
6952 common ancestor of two messages is lost then one of them is
6953 promoted to be the parent of the other. This variable helps in
6954 this process.
6955 (mh-thread-generate-scan-lines): Group messages which belong to
6956 the same thread tree, even if a common ancestor is no longer
6957 present.
6958 (mh-thread-folder, mh-copy-seq-to-eob, mh-thread-inc): Bind
6959 mh-thread-last-ancestor to nil when calling
6960 mh-thread-generate-scan-lines.
6961
6962 * mh-mime.el (font-lock): Font-lock required at compile time to
6963 avoid warning about font-lock-maximum-size
6964 (mh-display-smileys, mh-display-emphasis): Show graphical smileys
6965 and emphasis only if message isn't too large.
6966
6967 * mh-e.el (mh-visit-folder): Revisiting a buried folder which has
6968 been threaded or narrowed confuses MH-E. Even though the folder is
6969 displayed as not threaded and not narrowed, MH-E still believes
6970 the folder is in the previous state. This can cause problems when
6971 trying to narrow/thread the folder. The change fixes this.
6972
6973 * mh-mime.el (mh-mime-display-alternative): The setting of
6974 mh-display-buttons-for-inline-parts-flag was not being used when
6975 displaying one of the alternatives. This change fixes that.
6976
6977 * mh-comp.el (mh-show-buffer-message-number): Replace subseq with
6978 substring.
6979 (mh-filter-out-non-text): When filtering out MIME buttons from
6980 yanked text, the last line of the MIME part was getting lost. The
6981 fix avoids that and removes only the last new line instead.
6982
6983 2002-11-29 Peter S Galbraith <psg@debian.org>
6984
6985 * Makefile (MH-E-SRC): Add mh-alias.
6986
6987 * mh-alias.el: Assign copyright to FSF instead of myself.
6988 (mh-read-address): Add support for emacs-21's
6989 completing-read-multiple to prompt for multiple entries.
6990 (mh-alias-PC-complete-address): Deleted.
6991 (mh-alias-learn-aliases): Use mh-exec-cmd-quiet instead of old kludge.
6992 (mh-alias-letter-mode-expand-alias-hook): Simplify.
6993 (mh-alias-hostname): Deleted.
6994 (mh-alias-substitute-aliases-flag): Change default to nil.
6995 (mh-alias-display-blind-name-on-completion-flag) Change default to
6996 nil.
6997 (mh-alias-alist): Now holds alias values.
6998 (mh-alias-lowercase-alist): Deleted.
6999 (mh-alias-minibuffer-confirm-address, mh-alias-learn-aliases)
7000 (mh-alias-learn-local-users, mh-alias-letter-expand-alias): Use
7001 new mh-alias-alist instead of old mh-alias-lowercase-alist.
7002
7003 * mh-alias.el: Moved from contrib/ directory. Now part of MH-E!
7004
7005 * Makefile (MH-E-SRC): Add mh-identity.
7006
7007 * mh-identity.el (mh-compose-and-send-mail, mh-insert-identity)
7008 (mh-identity-make-menu, mh-identity-default, mh-identity-menu):
7009 Moved to mh-comp.el.
7010
7011 * mh-comp.el (mh-compose-and-send-mail): Add mh-identity support.
7012 (mh-insert-identity, mh-identity-make-menu, mh-identity-default)
7013 (mh-identity-menu): Added from mh-identity.el
7014
7015 2002-11-29 Bill Wohler <wohler@newt.com>
7016
7017 * mh-comp.el, mh-e.el, mh-funcs.el, mh-identity.el, mh-index.el,
7018 mh-mime.el, mh-pick.el, mh-seq.el, mh-speed.el, mh-utils.el:
7019 Ran indent-region, reformatted long lines, ran untabify.
7020 (indent-tabs-mode): Set file local variable to nil.
7021
7022 2002-11-29 Bill Wohler <wohler@newt.com>
7023
7024 Released MH-E version 7.0.
7025
7026 * mh-e.el (Version, mh-version): Updated for release 7.0.
7027
7028 * mh-comp.el (subseq, search): Require cl instead of autoloading
7029 these due to compilation warnings in CVS Emacs.
7030
7031 2002-11-23 Bill Wohler <wohler@newt.com>
7032
7033 * MH-E-NEWS: Emphasize the renaming of the variables at the top of
7034 the notes.
7035
7036 2002-11-22 Satyaki Das <satyaki@theforce.stanford.edu>
7037
7038 * mh-utils.el (mh-show-mode-map): Remove binding for RET since it
7039 is not needed and the binding is more useful to toggle display of
7040 MIME parts.
7041
7042 * mh-mime.el (mh-mime-button-commands): Remove bindings for "i"
7043 and "o" from MIME buttons.
7044 (mh-insert-mime-button): Change comment to reflect change in
7045 button key map.
7046
7047 2002-11-21 Bill Wohler <wohler@newt.com>
7048
7049 Released MH-E version 6.1.91.
7050
7051 * mh-e.el (Version, mh-version): Updated for release 6.1.91.
7052
7053 * MH-E-NEWS: Inline HTML parts supported with Gnus 5.10, not 5.9.
7054
7055 2002-11-21 Mark D. Baushke <mdb@gnu.org>
7056
7057 * mh-comp.el (mh-letter-insert-signature-hook): This should be in
7058 customize-group mh-compose.
7059
7060 2002-11-21 Satyaki Das <satyaki@theforce.stanford.edu>
7061
7062 * mh-utils.el (load): Load mm-view.el here so that
7063 mm-inline-text-html would be defined if available.
7064 (mh-mm-inline-media-tests): If mm-inline-text-html is available
7065 then use it, otherwise fall back on using mm-inline-text (closes
7066 SF #641482).
7067
7068 * mh-mime.el (load): Remove the load of mm-view here since it
7069 happens in mh-utils.el now.
7070
7071 2002-11-15 Bill Wohler <wohler@newt.com>
7072
7073 Released MH-E version 6.1.90.
7074
7075 * README (Compile): New section. Users must now compile MH-E due
7076 to the vagaries of the various versions of gnus.
7077
7078 * Makefile (MH-E-IMG): Added reply-all.pbm, reply-all.xpm,
7079 reply-from.pbm, reply-from.xpm, reply-to.pbm, reply-to.xpm.
7080 (MH-E-ETC-ETC): Added Makefile and README.
7081 (dist): Depend on all, so clean happens. Don't add .elc files to
7082 tarball as they are built upon installation now.
7083
7084 2002-11-15 Satyaki Das <satyaki@theforce.stanford.edu>
7085
7086 * mh-e.el (mh-process-commands): Fix a bug in mh-execute-commands.
7087 If called in threaded mode, cur was always getting set to the last
7088 message in the folder.
7089
7090 2002-11-14 Bill Wohler <wohler@newt.com>
7091
7092 * mh-e.el (Version, mh-version): Updated for release 6.1.90.
7093
7094 * MH-E-NEWS, README: Updated for release 7.0.
7095
7096 * mh-utils.el (mh-index-search): Added full docstring which new
7097 users will need before they run a search!
7098 (mh-swish++-execute-search, mh-swish-execute-search,
7099 mh-namazu-execute-search mh-glimpse-execute-search): Added
7100 autoloads with full docstrings for the same reason!
7101
7102 * mh-e.el (mh-limit-map): Removed / / alias for
7103 mh-narrow-to-subject.
7104
7105 * mh-utils.el (mh-show-thread-map): Removed / / alias for
7106 mh-show-narrow-to-subject.
7107
7108 * mh-seq.el (mh-delete-subject): Checkdoc fix.
7109
7110 * mh-e.el (mh-help-messages): Added / prefix character to help
7111 string. Tweaked / helpstring a little.
7112
7113 2002-11-14 Mark D. Baushke <mdb@gnu.org>
7114
7115 * mh-utils.el (mh-set-cmd-note): Fix nitpick by adding one to the
7116 width for cosmetic reasons.
7117
7118 2002-11-14 Peter S Galbraith <psg@debian.org>
7119
7120 * mh-identity.el (mh-insert-identity): Fix a few things undone by
7121 Jeff's patch.
7122 (mml-insert-tag): Add autoload.
7123
7124 2002-11-13 Mark D. Baushke <mdb@gnu.org>
7125
7126 * mh-identity.el (mh-insert-identity): A value of either nil or
7127 "" should cause the field to be removed.
7128 (mh-identity-list): Update the docstring.
7129
7130 2002-11-13 Peter S Galbraith <psg@debian.org>
7131
7132 * mh-e.el (mh-limit-map): New key map for limits (subject for now).
7133 * mh-utils.el (mh-show-limit-map): Same.
7134
7135 * mh-seq.el (mh-delete-subject): Renamed from
7136 mh-delete-subject-sequence.
7137 (mh-narrow-to-subject): Renamed from mh-narrow-to-subject-sequence.
7138 (mh-next-unseen-subject-sequence): Removed. :-(
7139 * mh-e.el: Use 'em
7140 * mh-seq.el: Use 'em.
7141
7142 2002-11-13 Mark D. Baushke <mdb@gnu.org>
7143
7144 * mh-e.el (mh-alt-show): New defalias for mh-show.
7145 (mh-alt-refile-msg): New defalias for mh-refile-msg.
7146 (mh-alt-send): New defalias for mh-send.
7147 (mh-folder-mode-map): Use mh-alt-show, mh-alt-refile-msg and
7148 mh-alt-send for the alias bindings.
7149 (mh-alt-visit-folder): New defalias for mh-visit-folder.
7150 (mh-folder-map): Use it.
7151 (mh-folder-message-menu): Revert previous change.
7152
7153 2002-11-13 Peter S Galbraith <psg@debian.org>
7154
7155 * mh-e.el (mh-folder-message-menu): Make key binding "o" appear in
7156 menu for mh-refile-msg.
7157
7158 2002-11-13 Satyaki Das <satyaki@theforce.stanford.edu>
7159
7160 * mh-seq.el (mh-thread-generate-scan-lines): In threaded view,
7161 scan lines of duplicate messages were too long. The change fixes
7162 that.
7163
7164 2002-11-13 Bill Wohler <wohler@newt.com>
7165
7166 * mh-utils.el (mh-adaptive-cmd-note-flag): Improved grammar in
7167 docstring.
7168
7169 * mh-speed.el (mh-speed-run-flists-flag): While documenting this
7170 variable in the release notes, I was unsure what would happen if
7171 set to nil. So, I clarified the docstring and indicated
7172 implications of setting this variable to nil, and offered manual
7173 workaround.
7174
7175 2002-11-13 Satyaki Das <satyaki@theforce.stanford.edu>
7176
7177 * mh-index.el (mh-index-quit): Fix documentation and run
7178 mh-before-quit-hook and mh-quit-hook.
7179
7180 2002-11-13 Bill Wohler <wohler@newt.com>
7181
7182 * mh-utils.el (with-mh-folder-updating): Renamed local variable
7183 mh-save-modification-flag to save-modification-flag.
7184
7185 2002-11-12 Bill Wohler <wohler@newt.com>
7186
7187 * mh-index.el (mh-index-keymap): Renamed to
7188 mh-index-folder-mode-keymap to be a closer to the usual keymap
7189 naming convention. Since we want our own keymap and not inherit
7190 the one in mh-folder-mode, we need to use a suffix other than
7191 -map.
7192
7193 * mh-e.el (mh-folder-sequence-menu): s/Msg/Message.
7194 s/Seq/Sequence.
7195 (mh-folder-message-menu): s/Msg/Message. Removed redundant refile
7196 item.
7197 (mh-folder-folder-menu): Aligned symbols.
7198
7199 * mh-index.el (mh-index-folder-message-menu): s/Msg/Message.
7200
7201 * mh-utils.el (mh-show-sequence-menu): s/Msg/Message.
7202 s/Seq/Sequence.
7203 (mh-show-message-menu): s/Msg/Message. Removed redundant refile
7204 item.
7205 (mh-show-folder-menu): Aligned symbols.
7206
7207 2002-11-12 Satyaki Das <satyaki@theforce.stanford.edu>
7208
7209 * mh-index.el (mh-index-matches, mh-index-current-match): Remove
7210 these variables since they were only used for glimpse and grep.
7211 Now the functionality of all the indexing programs will be
7212 uniform.
7213 (mh-index-search, mh-index-insert-scan, mh-defun-index)
7214 (mh-index-show): Simplify functions since matches are no longer
7215 shown.
7216 (mh-index-parse-match): Remove function.
7217
7218 * mh-e.el (mh-scan-cmd-note-width, mh-scan-destination-width)
7219 (mh-scan-date-width, mh-scan-date-flag-width)
7220 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width): New
7221 variables to keep track of the widths of the different fields in
7222 the scan lines.
7223 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
7224 (mh-scan-field-subject-start-offset): Offsets that are computed
7225 from the scan line widths.
7226
7227 * mh-seq.el (mh-copy-seq-to-eob, mh-thread-inc)
7228 (mh-thread-parse-scan-line): Use new variables that remember the
7229 various offsets in place of integer constants.
7230 (mh-thread-generate-scan-lines): Space shouldn't be added here!
7231
7232 2002-11-12 Bill Wohler <wohler@newt.com>
7233
7234 * mh-e.el (mh-scan-format-mh, mh-scan-format-nmh): Noted that the
7235 first column is column number 0 and changed "sixth column" to
7236 "fifth column" accordingly.
7237
7238 * mh-index.el (mh-index-folder-mode): Clarified method of replying
7239 in mode documentation.
7240 (mh-index-folder-tool-bar-map): s/mh-e/MH-E/.
7241
7242 * mh-e.el (mh-generate-new-cmd-note): Try not to mention internal
7243 variable mh-cmd-note in docstrings.
7244
7245 * mh-utils.el (mh-adaptive-cmd-note-flag): Set default value to t.
7246 Reworded docstring so it doesn't mention internal variable
7247 mh-cmd-note. Added information about using fixed-width message
7248 numbers.
7249 (mh-cmd-note): Mention mh-set-cmd-note in docstring. Also suggest
7250 that it is updated dynamically only if mh-scan-format-file is t.
7251 (mh-set-cmd-note): Grammer fix in docstring.
7252 (mh-cmd-note): Noted that the first column is column number 0.
7253
7254 * mh-e.el (mh-scan-format-file): Added information about
7255 mh-set-cmd-note and mh-adaptive-cmd-note-flag to docstring.
7256
7257 * mh-index.el (mh-index-keymap): Added bindings for i
7258 (mh-inc-folder), m (mh-send alias), and s (mh-send) since these
7259 appear to be supported and are found in the toolbar.
7260 (mh-index-folder-key-map): Ditto for f (mh-visit-folder alias), o
7261 (mh-visit-folder) alias, and v (mh-visit-folder).
7262 (mh-index-folder-mode-help-messages): Changes for above.
7263 (mh-index-folder-message-menu, mh-index-folder-folder-menu): New
7264 menus. I decided to delete the unavailable items since greying out
7265 implies that the user can do something to access them. In this
7266 case, that's not the case. Well, that's not entirely true--the
7267 user could write code for those functions ;-).
7268 (mh-index-folder-mode): Use new menus.
7269
7270 * mh-utils.el (mh-prompt-for-folder): Added optional argument
7271 default-string which can be used in case the string for default
7272 isn't intuitive enough.
7273
7274 * mh-index.el (mh-index-search): Made default prompt more
7275 intuitive (I hope!).
7276
7277 2002-11-11 Peter S Galbraith <psg@debian.org>
7278
7279 * mh-identity.el (mh-header-field-delete): Remove save-excursion.
7280 Strange that this worked for me before... Thanks to Jeff for the
7281 patch.
7282 (mh-insert-identity): Numerous tweaks and fixes from Jeff who also
7283 adds a nicer-looking MIME header for signatures inserted after
7284 MIME insertions.
7285
7286 2002-11-11 Satyaki Das <satyaki@theforce.stanford.edu>
7287
7288 * mh-seq.el (mh-thread-parse-scan-line): Generalize this function
7289 so that it can take a string containing the scan-line as argument
7290 in addition to using the line at point.
7291 (mh-thread-add-spaces): New function to pad each scan line to the
7292 appropriate length. This is called when mh-cmd-note is increased.
7293
7294 * mh-e.el (mh-generate-new-cmd-note): Make this work on a threaded
7295 folder by using mh-thread-add-spaces to pad the pre-existing lines
7296 in mh-thread-scan-line-map appropriately.
7297 (mh-thread-add-spaces): Autoload from mh-seq.
7298
7299 2002-11-11 Mark D. Baushke <mdb@gnu.org>
7300
7301 * mh-index.el: Fix checkdoc nit.
7302
7303 * mh-mime.el (mh-display-buttons-for-inline-parts-flag): Renamed
7304 from mh-display-buttons-for-inline-parts.
7305 (mh-mime-display-single): Use it.
7306 This addresses part of SF #627015.
7307
7308 * mh-e.el (mh-print-background-flag): Renamed from
7309 mh-print-background.
7310 * mh-funcs.el (mh-print-msg): Use it.
7311 This addresses part of SF #627015.
7312
7313 * mh-comp.el (mh-delete-yanked-msg-window-flag): Renamed from
7314 mh-delete-yanked-msg-window.
7315 (mh-yank-from-start-of-msg, mh-yank-cur-msg): Use it.
7316 This addresses part of SF #627015.
7317
7318 * mh-utils.el (mh-update-sequences-after-mh-show-flag): Renamed
7319 from mh-update-sequences-after-mh-show.
7320 (mh-show-msg): Use it.
7321 This addresses part of SF #627015.
7322
7323 * mh-utils.el (mh-decode-quoted-printable-flag): Renamed from
7324 mh-decode-quoted-printable
7325 (mh-display-msg, mh-decode-quoted-printable-have-mimedecode):
7326 Use it.
7327 This addresses part of SF #627015.
7328
7329 * mh-utils.el (mh-recursive-folders-flag): Renamed from
7330 mh-recursive-folders.
7331 (mh-make-folder-list-background): Use it.
7332 * mh-funcs.el (mh-list-folders): Ditto.
7333 This addresses part of SF #627015.
7334
7335 * mh-utils.el (mh-auto-folder-collect-flag): Renamed from
7336 mh-auto-folder-collect.
7337 (mh-find-path): Use it.
7338 This addresses part of SF #627015.
7339
7340 * mh-utils.el (mh-decode-mime-flag): Renamed from
7341 mh-decode-mime.
7342 * mh-utils.el (mh-show-mode, mh-show-xface)
7343 (mh-decode-quoted-printable, mh-display-msg, mh-display-msg): Use it.
7344 * mh-mime.el (mh-graphical-smileys-flag)
7345 (mh-graphical-emphasis-flag): Ditto.
7346 * mh-index.el (mh-index-search, mh-index-show): Ditto.
7347 * mh-e.el (mh-header-display): Ditto.
7348 This addresses part of SF #627015.
7349
7350 * mh-e.el (mh-make-folder-mode-line): Use save-window-excursion
7351 to get back to the current message.
7352
7353 2002-11-10 Satyaki Das <satyaki@theforce.stanford.edu>
7354
7355 * mh-index.el (mh-index-keymap, mh-index-page-msg)
7356 (mh-index-folder-tool-bar-map): Replace mh-index-scroll-up with
7357 mh-index-page-msg.
7358 (mh-index-keymap, mh-index-previous-page): Replace
7359 mh-index-scroll-down with mh-index-previous-page.
7360
7361 2002-11-09 Satyaki Das <satyaki@theforce.stanford.edu>
7362
7363 * mh-index.el (autoload/require): Load mh-mime when mh-index.el is
7364 loaded. This fixes the infinite load loop. I am not sure what the
7365 actual problem is. Also removed the nop requires/autoloads.
7366 (mh-defun-index): Use the right argument for mh-recenter.
7367 Otherwise it misbehaves for the default value of
7368 mh-summary-height.
7369
7370 * mh-e.el (mh-goto-next-button): Fix infinite loop when S-Tab was
7371 used on first line of index folder buffer.
7372
7373 2002-11-09 Peter S Galbraith <psg@debian.org>
7374
7375 * mh-index.el (mh-index-folder-tool-bar-map): Tool-bar for
7376 mh-index-mode.
7377 (mh-index-folder-mode): Use it.
7378 (mh-index-keymap): Added mouse-2 binding, like in regular
7379 folder-mode.
7380
7381 2002-11-08 Satyaki Das <satyaki@theforce.stanford.edu>
7382
7383 * mh-index.el (mh-index-folder-mode): Fix doc string for major
7384 mode. It was pointing to the wrong keymap.
7385 (mh-index-show-mode): Fix doc string for mode. Also add mh-help
7386 support.
7387
7388 * mh-comp.el (mh-forward, mh-yank-cur-msg): Use new macro
7389 mh-mark-active-p instead. This does the right thing for different
7390 variants of Emacs.
7391 (mh-yank-cur-msg): Add a space between sexprs.
7392
7393 * mh-utils.el (mh-mark-active-p): New macro which papers over
7394 diffences between GNU Emacs and XEmacs. The variables mark-active
7395 and transient-mark-mode are used in GNU Emacs while zmacs-regions
7396 and region-active-p are used in XEmacs.
7397
7398 * mh-seq.el (mh-put-msg-in-seq, mh-thread-ancestor-p): Use
7399 mh-mark-active-p as above.
7400
7401 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Use
7402 mh-mark-active-p as above.
7403
7404 2002-11-06 Peter S Galbraith <psg@debian.org>
7405
7406 * mh-comp.el (mh-yank-cur-msg): Fix for XEmacs. It didn't work
7407 with a selected region, and left the inserted text selected (in
7408 reverse video). I didn't use SF patch #402315 to implement this.
7409
7410 2002-11-05 Peter S Galbraith <psg@debian.org>
7411
7412 * mh-utils.el (mh-show-tool-bar-map): Change call to
7413 mh-tool-bar-search-command such that user can customize it for the
7414 current session.
7415
7416 * mh-e.el (mh-folder-tool-bar-map): Same.
7417
7418 2002-11-05 Bill Wohler <wohler@newt.com>
7419
7420 * mh-utils.el, mh-e.el (mh-tool-bar-search-function): Renamed from
7421 mh-tool-bar-search-command.
7422
7423 * mh-index.el (mh-index-search): Backed out previous change to
7424 prompt. There ain't no folder named "all."
7425
7426 * mh-utils.el (mh-tool-bar-search-command): Added mh-search-folder
7427 and mh-index-search to the docstring so that user can easily click
7428 on them for more information.
7429
7430 * mh-pick.el (mh-search-folder): Mention that this function uses
7431 the MH pick command to give the user more information when
7432 choosing between mh-search-folder and mh-index-folder.
7433
7434 * mh-index.el (mh-index-search): Edited the docstring. Direct the
7435 user to mh-index-program if necessary.
7436 (mh-index-program): Edited this docstring too. Viewing the help
7437 in a *Help* buffer really exposes grammatical flaws.
7438
7439 2002-11-05 Peter S Galbraith <psg@debian.org>
7440
7441 * mh-utils.el (mh-tool-bar-search-command): New defcustom to set
7442 what search function to use in tool-bar.
7443 (mh-show-tool-bar-map): Use it.
7444
7445 * mh-e.el (mh-folder-tool-bar-map): Use it.
7446
7447 2002-11-05 Bill Wohler <wohler@newt.com>
7448
7449 * mh-index.el (mh-index-search): Changed default prompt from "+"
7450 to "all". mh-prompt-for-folder doesn't seem to mind.
7451
7452 * mh-e.el (mh-folder-folder-menu): Added menu entry for
7453 mh-index-search.
7454
7455 * mh-utils.el (mh-show-folder-menu): Added menu entry for
7456 mh-index-search.
7457
7458 * mh-index.el: Added commentary on supported search engines and
7459 for getting started (initializing database).
7460
7461 2002-11-04 Satyaki Das <satyaki@theforce.stanford.edu>
7462
7463 * mh-index.el (mh-index-keymap, mh-index-folder-key-map): Move key
7464 binding of "i" to "Fi".
7465 (mh-index-folder-mode-help-messages): Change help message to
7466 reflect above change.
7467
7468 2002-11-04 Bill Wohler <wohler@newt.com>
7469
7470 * mh-index.el (mh-index-program, mh-indexer): Swapped names since
7471 the former seems like a better user variable name. If you've
7472 customized mh-indexer, be sure to toss it out and customize
7473 mh-index-program.
7474
7475 2002-11-04 Satyaki Das <satyaki@theforce.stanford.edu>
7476
7477 * mh-index.el (mh-indexer-choices): Not having the quotes in the
7478 binary names is a bit nicer since that maintains uniformity with
7479 the other names.
7480 (mh-index-choose): Use symbol-value instead of eval. Eval should
7481 be avoided except when it can't be :-).
7482
7483 2002-11-04 Bill Wohler <wohler@newt.com>
7484
7485 * mh-index.el (mh-index-program): New variable to hold the name of
7486 the indexer that was found; use this instead of clobbering
7487 user-customizable variable mh-indexer.
7488 (mh-index-search): Use it. Added comments to keep others from
7489 doing what I had done (fortunately, I caught myself before
7490 checking it in ;-).
7491 (mh-index-choose): Set mh-index-program instead of mh-indexer.
7492 Update docstring to describe side-effects.
7493
7494 * mh-index.el (mh-indexer): Added swish++ to docstring. Chances
7495 are good that if someone has both swish++ and swish, they want to
7496 use the much faster, much smaller swish, so move it up in the
7497 list.
7498 (mh-indexer-choices): Ditto for rationale for moving swish++ up in
7499 priority over swish. Also, use -binary symbols instead of
7500 hard-coding binary names. This allows package installers to
7501 customize the location of the binaries in site-lisp and still have
7502 the auto-detection code work. It also allows one to have alternate
7503 binary names (see mh-swish++-binary).
7504 (mh-index-search): Ditto (moving swish++ up).
7505 (mh-swish++-binary): Look for search++, then search. The rationale
7506 is that a package maintainer may rename search to search++ if
7507 search is already in use (e.g., Debian) so try it first.
7508 (mh-swish++-execute-search): Replaced Satyaki's path with dummy
7509 path in docstring. Also removed RecurseSubdirs since this is the
7510 default. Added comment that index might be named index++ on some
7511 systems (e.g., Debian).
7512 (mh-index-choose): Updated to work with new mh-indexer-choices.
7513
7514 2002-11-04 Peter S Galbraith <psg@debian.org>
7515
7516 * mh-identity.el (mh-identity-list-set): Don't call easy-menu-add
7517 here, since that adds the menu to the Customize buffer in XEmacs.
7518
7519 2002-11-04 Peter S Galbraith <psg@debian.org>
7520
7521 * mh-comp.el (mh-mhn-compose-insert-flag)
7522 (mh-mml-compose-insert-flag): Removed eval-when-compile defvar.
7523
7524 * mh-mime.el (mh-mhn-compose-insert-flag)
7525 (mh-mml-compose-insert-flag): Move variables to mh-utils.el.
7526 Fixes mh-letter-menu for XEmacs.
7527
7528 2002-11-04 Eric Ding <eding@rational.com>
7529
7530 * mh-comp.el (mh-rejected-letter-start): add another string
7531
7532 2002-11-04 Eric Ding <ericding@alum.mit.edu>
7533
7534 * mh-comp.el (mh-rejected-letter-start): regexp-opt doesn't take
7535 regexps as args, only regular strings
7536
7537 2002-11-04 Peter S Galbraith <psg@debian.org>
7538
7539 * mh-comp.el (mh-insert-mail-followup-to): Don't modify a
7540 pre-existing M-F-T field. If a nmh replgroupcomps propagates a
7541 M-F-T field in a message reply, then we have to have it alone.
7542
7543 2002-11-02 Bill Wohler <wohler@newt.com>
7544
7545 * mh-comp.el, mh-e.el, mh-funcs.el, mh-identity.el, mh-index.el,
7546 mh-mime.el, mh-pick.el, mh-seq.el, mh-speed.el, mh-utils.el,
7547 mh-xemacs-compat.el: Added Local Variables section. Defined
7548 sentence-end-double-space to be nil so that those who might not
7549 buy my setting of this variable can at least run checkdoc without
7550 a whole lot of noise.
7551
7552 2002-11-02 Peter S Galbraith <psg@debian.org>
7553
7554 * mh-identity.el: New file. Multiple Identify support for MH-E.
7555 Used to easily set different fields such as From and Organization,
7556 as well as diffrent signature files. This file won't be included
7557 with V7.0.
7558
7559 2002-11-02 Bill Wohler <wohler@newt.com>
7560
7561 * mh-mime.el (mh-mm-save-part): New function to wrap mm-save-part
7562 from Gnus 5.10 to make it explicit which code has been
7563 commandeered.
7564 (mh-mime-save-part): Call mh-mm-save-part instead of cut-n-pasted
7565 code from Gnus 5.10.
7566
7567 2002-11-02 Peter S Galbraith <psg@debian.org>
7568
7569 * mh-comp.el (mh-yank-from-start-of-msg): Edit docstring to
7570 mention related variables mh-reply-show-message-flag and
7571 mh-delete-yanked-msg-window.
7572 (mh-reply): Change the "Reply to whom" prompt.
7573
7574 2002-11-01 Bill Wohler <wohler@newt.com>
7575
7576 * mh-e.el (mh-show-hook): Moved to mh-utils.el where it is used.
7577 (mh-folder-list-change-hook): Converted this from defvar in other
7578 files to defcustom here. It is called, not documented as
7579 obsolete, and might as well be documented.
7580 (mh-inc-folder, mh-quit, mh-delete-a-msg, mh-refile-a-msg,
7581 mh-process-commands, mh-update-unseen): Added missing
7582 documentation about hook, or made verbiage about hook consistent
7583 throughout, even if the function isn't interactive.
7584
7585 * mh-utils.el (mh-folder-list-change-hook): Moved defvar to mh-e
7586 and made it a defcustom.
7587 (mh-show-mode-hook): Put it back in (actually, it was in mh-e.el,
7588 but this is the place where it is called).
7589 (mh-show-hook): Moved here from mh-e.el since it's called here.
7590 (mh-show-mode): Call mh-show-mode-hook.
7591 (mh-show-mode, mh-show-msg, mh-find-path, mh-prompt-for-folder,
7592 mh-prompt-for-folder, mh-set-folder-list): Added missing
7593 documentation about hook, or made verbiage about hook consistent
7594 throughout, even if the function isn't interactive.
7595
7596 * mh-comp.el (mh-send-letter): Made verbiage about hook consistent
7597 throughout.
7598 (mh-insert-prefix-string): Made docstring more descriptive of what
7599 is going on.
7600
7601 * mh-funcs.el (mh-kill-folder): Added missing documentation about
7602 hook.
7603
7604 * mh-index.el (mh-index-show-hook): Moved defvar to defcustom.
7605 (mh-index-show): Made verbiage about hook consistent throughout.
7606
7607 * mh-mime.el (mh-edit-mhn-hook): Moved defvar to defcustom.
7608 (mh-edit-mhn): Added missing documentation about hook.
7609
7610 * mh-pick.el (mh-pick-mode): Made verbiage about hook consistent
7611 throughout. Call the damn hook.
7612
7613 2002-11-01 Satyaki Das <satyaki@theforce.stanford.edu>
7614
7615 * mh-comp.el (mh-insert-mail-followup-to-list): Fix typo so that
7616 it will look right in info.
7617
7618 * mh-index.el (mh-index-search): Change argument name from
7619 new-buffer-p to new-buffer-flag.
7620 (mh-index-search-again, mh-index-search): New index-buffers were
7621 being named *mh-index*<2>, *m-index*<2><2> and so on. This problem
7622 is fixed.
7623 (mh-index-scroll-up, mh-index-scroll-down): Scrolling in index
7624 show buffers (after the first one) was broken.
7625 (mh-index-quit): Bury show buffer instead of killing it. Killing
7626 it, without killing the corresponding folder buffer, can cause
7627 confusion with two folder buffers trying to display in the same
7628 show buffer.
7629
7630 * mh-seq.el (mh-thread-prune-containers): Rewritten without
7631 recursion. Also removed the top-level-p argument since it isn't
7632 required anymore.
7633 (mh-thread-sort-containers): New function factored out from
7634 previous definition of mh-thread-prune-containers. It sorts
7635 message containers in ascending order wrt their message indices.
7636 (mh-thread-generate): Use new mh-thread-prune-containers.
7637
7638 * mh-e.el (mh-remove-all-notation): Fix the test. It was testing
7639 at the wrong place!
7640
7641 2002-10-31 Bill Wohler <wohler@newt.com>
7642
7643 * Makefile, README, import-emacs, mh-comp.el, mh-e.el,
7644 mh-funcs.el, mh-index.el, mh-mime.el, mh-pick.el, mh-seq.el,
7645 mh-speed.el, mh-utils.el: Replaced mh-e with MH-E.
7646
7647 2002-10-31 Satyaki Das <satyaki@theforce.stanford.edu>
7648
7649 * mh-seq.el (mh-thread-parse-scan-line): Modified to remove user
7650 sequence notation and leave notation for other things alone. This
7651 ensures that threading doesn't lose notations for replied-to
7652 messages.
7653
7654 * mh-e.el (mh-inc-folder): Remove call to mh-widen here and
7655 instead do it in mh-get-new-mail. This way the widening happens
7656 only if new mail is incorporated.
7657 (mh-generate-new-cmd-note): The function now returns the point
7658 from which the new messages start. This will allow threading to do
7659 the right thing.
7660 (mh-get-new-mail): Always call mh-remove-cur-notation. Otherwise
7661 adaptive scan mode leaves two messages marked as current in
7662 certain cases. Fix indentation of if statement. If there are
7663 messages to be incorporated, the folder is widened. If mh-cmd-note
7664 changes set start-of-inc correctly.
7665 (mh-remove-all-notation): Change this function to only remove user
7666 sequence notation and leave notation for replied-to messages and
7667 similar notation alone. This means operations like narrowing to
7668 subject sequence and widening don't lose notations.
7669
7670 2002-10-31 Bill Wohler <wohler@newt.com>
7671
7672 * mh-comp.el (mh-insert-mail-followup-to-list): Fixed typo in
7673 docstring and other minor edits. Checkdoc removed trailing spaces.
7674 (mh-insert-signature): Checkdoc flagged docstring. Reverted to
7675 previous value. Added specific name of hook that is run.
7676 (mh-regexp-in-field-p, mh-insert-letter): Checkdoc removed
7677 trailing spaces.
7678
7679 2002-10-31 Jeffrey C Honig <jch@honig.net>
7680
7681 * mh-e.el (mh-show-mode-hook): Remove the unused
7682 mh-show-mode-hook, mh-show-hook is the one that is used.
7683
7684 * mh-utils.el (mh-show-mode): Change the documentation to refer to
7685 mh-show-hook instead of the unused mh-show-mode-hook.
7686
7687 2002-10-31 Peter S Galbraith <psg@debian.org>
7688
7689 * mh-comp.el (mh-insert-mail-followup-to-list): Set default to nil
7690 and include example in doc string.
7691
7692 2002-10-31 Satyaki Das <satyaki@theforce.stanford.edu>
7693
7694 * mh-index.el (mh-indexer): Add customization choice for swish++.
7695 (mh-indexer-choices): Add swish++ choice.
7696 (mh-index-search): Change doc to reflect addition of swish++ option.
7697 (mh-swish++-binary, mh-swish++-directory): New variables for
7698 swish++ interface.
7699 (mh-swish++-execute-search): New function to execute swish++
7700 search.
7701 (mh-swish++-next-result): Function aliased to mh-swish-next-result
7702 since the result format of swish++ is the same as that of swish-e.
7703 (mh-index-search): Always overwrite window-configuration with new
7704 value. This is needed since we don't kill the index-buffer when
7705 quitting which means the window configuration wasn't getting set
7706 properly.
7707 (mh-index-search-again): If index buffer is reused, reset the old
7708 window config to its original value.
7709
7710 2002-10-30 Bill Wohler <wohler@newt.com>
7711
7712 * Makefile (emacs, xemacs): New targets.
7713 (all): Use these targets instead of calling specific targets.
7714 (.PHONY): Added emacs, xemacs, autoloads, custom-loads. Broke up
7715 target and moved pieces into their own sections.
7716
7717
7718 2002-10-30 Peter S Galbraith <psg@debian.org>
7719
7720 * mh-utils.el (mh-show-font-lock-keywords): Wrap an
7721 'eval-and-compile around its defvar, otherwise byte-compilation
7722 fails on `mh-show-font-lock-keywords-with-cite'.
7723
7724 2002-10-29 Jeffrey C Honig <jch@honig.net>
7725
7726 * mh-comp.el (mh-letter-insert-signature-hook)
7727 (mh-insert-signature): Add a hook to be called before inserting
7728 the signature. Do not attempt to insert the signature if
7729 mh-insert-signature-file-name is nil.
7730
7731 2002-10-29 Peter S Galbraith <psg@debian.org>
7732
7733 * mh-e.el (mh-inc-folder): Call mh-widen when mh-narrowed-to-seq
7734 (Closes SF #629233: inc in narrowed folder suboptimal)
7735
7736 * mh-comp.el (mh-insert-letter): Stop using mhl to include a
7737 message before it mangles the header, and supercite fails
7738 (Closes SF #629153: mh-insert-letter uses mhl?).
7739 (mh-insert-prefix-string): Leave point at beginning instead of
7740 end, since that's what sc-cite-original does.
7741 (mh-yank-cur-msg): Adjust for mh-insert-prefix-string change.
7742
7743 2002-10-30 Steve Youngs <youngs@xemacs.org>
7744
7745 * mh-e.el (mh-folder-mode): Check for 'font-lock-auto-fontify'
7746 when in XEmacs so we don't do font-locking unconditionally.
7747
7748 * mh-utils.el (mh-show-mode): Ditto.
7749
7750 2002-10-29 Peter S Galbraith <psg@debian.org>
7751
7752 * mh-e.el (mh-folder-refiled-face, mh-folder-cur-msg-number-face)
7753 (mh-folder-to-face, mh-folder-body-face): Define faces instead of
7754 copying them from font-lock faces. This mh-e will look the same
7755 in XEmacs as it does in Emacs.
7756 * mh-utils.el (mh-show-cc-face, mh-show-date-face)
7757 (mh-show-header-face): Ditto.
7758
7759 2002-10-29 Jeffrey C Honig <jch@honig.net>
7760
7761 * mh-comp.el (mh-send-letter): I meant to use
7762 mh-goto-header-field, not mh-get-header-field. The former returns
7763 nil if the header is not found and doesn't need a conditional.
7764
7765 2002-10-29 Peter S Galbraith <psg@debian.org>
7766
7767 * mh-comp.el (mh-forward): Bug fix. Change 'kill-line for a
7768 'delete-region, because I don't want that text yanked with C-y.
7769
7770 * mh-seq.el (mh-put-msg-in-seq): Add support for selected
7771 region (Closes SF feature request #630324).
7772
7773 2002-10-28 Satyaki Das <satyaki@theforce.stanford.edu>
7774
7775 * mh-seq.el (mh-thread-prune-subject): Make the regexp a little
7776 general so that a subject of the form "Re[218]: howdy" would be
7777 properly pruned.
7778
7779 * mh-mime.el (mh-mime-save-part): Copy function definition of
7780 mm-save-part from cvs gnus since that function is buggy in gnus
7781 that comes with emacs21.2.
7782
7783 2002-10-28 Peter S Galbraith <psg@debian.org>
7784
7785 * mh-e.el (mh-scan-subject-regexp): Add an expression to match an
7786 optional bracketed number after "Re", such as in "Re[2]:"
7787 (Patch by Satyaki; I checked it and applied).
7788 (mh-folder-font-lock-subject): Adapt to new mh-scan-subject-regexp.
7789 * mh-seq.el (mh-subject-to-sequence): Ditto.
7790
7791 * mh-e.el (mh-folder-sequence-menu): Remove "Toggle Subject
7792 Thread" from menu. mh-toggle-threads is in the Folder menu.
7793
7794 * mh-e.el (mh-folder-sequence-menu): Minor menu text edits.
7795
7796 * mh-utils.el (mh-show-update-sequences): Added to
7797 mh-defun-show-buffer builds; needed for menu.
7798 (mh-show-sequence-menu, mh-show-message-menu)
7799 (mh-show-folder-menu): 3 new menus in mh-show-mode-map that mirror
7800 the menus used in mh-folder-mode.
7801 (mh-show-mode): easy-menu-add the 3 menus.
7802
7803 2002-10-28 Satyaki Das <satyaki@theforce.stanford.edu>
7804
7805 * mh-utils.el (mh-goto-msg): Fix the regexp to search so that we
7806 go to the right message. In a threaded folder message 2 may be
7807 present after 26 and the previous regexp would go to 26 when we
7808 really wanted to go to 2!
7809
7810 * mh-seq.el (mh-widen): Add call to mh-recenter to make it like
7811 mh-narrow-to-seq.
7812
7813 2002-10-28 Bill Wohler <wohler@newt.com>
7814
7815 * mh-utils.el (mh-show-mime-save-parts): Deleted definition.
7816 (mh-show-mime-map, tool-bar-map): Use mh-mime-save-parts instead
7817 of mh-show-mime-save-parts.
7818
7819 2002-10-28 Peter S Galbraith <psg@debian.org>
7820
7821 * mh-comp.el (mh-letter-tool-bar-map): tool-bar-add-item key name
7822 bug fix.
7823 * mh-utils.el (mh-show-tool-bar-map): Same.
7824 * mh-e.el (mh-folder-tool-bar-map, mh-folder-seq-tool-bar-map): Same
7825
7826 2002-10-27 Satyaki Das <satyaki@theforce.stanford.edu>
7827
7828 * mh-seq.el (mh-toggle-threads): Add call to mh-recenter to make
7829 its behavior like that of mh-narrow-to-seq.
7830
7831 2002-10-27 Bill Wohler <wohler@newt.com>
7832
7833 * mh-mime.el (mh-mime-save-parts): Renamed from
7834 mh-store-mime-parts for consistency with mh-mime-save-part. Fixed
7835 bug whereby mh-mime-save-parts-directory was not getting
7836 initialized properly from a string-valued
7837 mh-mime-save-parts-default-directory.
7838 (mh-mime-save-parts-default-directory): Ditto. Check your
7839 customizations!
7840 (mh-mime-save-parts-directory): Ditto.
7841
7842 * mh-utils.el (mh-show-mime-save-parts): Renamed from
7843 mh-store-mime-parts.
7844 (mh-show-mime-map): Added keybinding "K a" for
7845 mh-show-mime-save-parts.
7846
7847 * mh-e.el (mh-mime-save-parts) Renamed from mh-store-mime-parts.
7848 (mh-mime-map): Added keybinding "K a" for mh-mime-save-parts.
7849 (mh-help-messages): Added help for "K a".
7850
7851 2002-10-27 Peter S Galbraith <psg@debian.org>
7852
7853 * mh-comp.el (mh-search-addr-regexp, mh-regexp-in-field-p): Rename
7854 the first to the second (and recode a bit).
7855 (mh-insert-mail-followup-to): Use it.
7856
7857 2002-10-27 Bill Wohler <wohler@newt.com>
7858
7859 * mh-utils.el (mh-invisible-headers): Backed out change. Removed
7860 Mail-Followup-To due to objections from Peter and Mark.
7861
7862 2002-10-27 Satyaki Das <satyaki@theforce.stanford.edu>
7863
7864 * mh-seq.el (mh-msg-is-in-seq): Modified to show info about
7865 whether the message being queried about has been marked to be
7866 deleted or refiled.
7867
7868 * mh-mime.el (mh-insert-mime-security-button): Make
7869 pressed-details a local.
7870
7871 2002-10-27 Steve Youngs <youngs@xemacs.org>
7872
7873 * .cvsignore: New file.
7874
7875 2002-10-26 Steve Youngs <youngs@xemacs.org>
7876
7877 * mh-seq.el (mh-notate-deleted-and-refiled): Don't bind local
7878 variable 'dest', it isn't used anywhere.
7879
7880 * mh-pick.el (mh-do-pick-search): Don't bind local variable
7881 'finding-messages', it isn't used anywhere.
7882
7883 * mh-utils.el: Byte-compiler warning suppression.
7884 (mh-gnus-article-highlight-citation): Rather than redefining
7885 'gnus-cite-face-list', just re-order it.
7886 (mh-show-mode): Force turning on font-lock in XEmacs.
7887
7888 * mh-seq.el: Byte-compiler warning suppression.
7889
7890 * mh-index.el: Byte-compiler warning suppression.
7891
7892 * mh-comp.el: Byte-compiler warning suppression.
7893
7894 * mh-xemacs-compat.el: Add defaliases for 'timerp' &
7895 'cancel-timer' to the equivalent 'itimer' functions.
7896 (rfc822): Require it for 'rfc822-goto-eoh'.
7897 Byte-compiler warning suppression.
7898
7899 * mh-e.el (mh-folder-mode): Force turning on font-lock in XEmacs.
7900 (mh-toggle-threads): Remove duplicate autoload.
7901 Byte-compiler warning suppression.
7902 (mh-folder-unseen-seq-list): Use 'with-temp-buffer' to fix a bug
7903 in XEmacs when font-lock is on.
7904 (mh-folder-unseen-seq-name): Ditto.
7905
7906 2002-10-27 Mark D. Baushke <mdb@gnu.org>
7907
7908 * Makefile: Reorganize to allow for building also compiling for
7909 XEmacs too. Sanitize so that it will work using least-common
7910 denominator versions of 'make'. Tested using GNU make, Solaris make,
7911 and Berkely make.
7912 (all): Use recursive invokation based on the emacs or xemacs
7913 executable passed on the 'make EMACS=xemacs' command line.
7914 (XEMACS_OPTIONS): The incantation to be passed to an xemacs editor
7915 to compile things properly.
7916 (AUTO_PRELOADS): Magic XEmacs glue.
7917 (clean): Ditto.
7918 (autoloads): Ditto.
7919 (custom-loads): Ditto.
7920
7921 2002-10-26 Satyaki Das <satyaki@theforce.stanford.edu>
7922
7923 * mh-e.el (mh-last-msg): Add call to mh-recenter.
7924
7925 2002-10-26 Peter S Galbraith <psg@debia.org>
7926
7927 * mh-comp.el (mh-search-addr-regexp, mh-re-search-to-cc): Remove
7928 `mh-re-search-to-cc' in favour of more generalized new function
7929 `mh-search-addr-regexp'.
7930 (mh-insert-mail-followup-to): Use it.
7931
7932 2002-10-26 Satyaki Das <satyaki@theforce.stanford.edu>
7933
7934 * mh-seq.el (mh-copy-seq-to-eob): Avoid rethreading when the
7935 folder is already threaded. This is more efficient and also avoids
7936 problems when the folder is widened.
7937 (mh-thread-inc): Don't try to restore the point to original
7938 location since mh-inc-folder from where this is called changes
7939 point location after calling this function.
7940
7941 * mh-e.el (mh-make-folder-mode-line): Fix a small bug where the
7942 test was wrong.
7943
7944 2002-10-26 Peter S Galbraith <psg@debian.org>
7945
7946 * mh-comp.el (mh-insert-mail-followup-to): Fix for new defcustom.
7947
7948 2002-10-26 Satyaki Das <satyaki@theforce.stanford.edu>
7949
7950 * mh-seq.el (mh-notate-deleted-and-refiled): Remove unused binding
7951 of dest. The problem was pointed out by Steve as well.
7952
7953 * mh-e.el (mh-toggle-threads): Remove duplicate autoload as
7954 pointed out by Steve.
7955
7956 2002-10-26 Bill Wohler <wohler@newt.com>
7957
7958 * mh-utils.el (mh-invisible-headers): Added Mail-Followup-To.
7959
7960 2002-10-26 Peter S Galbraith <psg@debian.org>
7961
7962 * mh-comp.el (mh-insert-mail-followup-to-list): Change defvar to
7963 defcustom.
7964
7965 2002-10-25 Satyaki Das <satyaki@theforce.stanford.edu>
7966
7967 * mh-e.el (mh-remove-all-notation): New function that removes all
7968 notation.
7969
7970 * mh-seq.el (mh-narrow-to-seq): When hiding the original folder
7971 remove all notation. This avoids stale notation hanging around.
7972 Also changes in show buffer and position in folder buffer are
7973 avoided if possible.
7974 (mh-widen): When widening the scan-lines are notated based on the
7975 current state of the folder. This means any changes made when the
7976 folder was narrowed are shown consistently.
7977 (mh-notate-deleted-and-refiled): Update the documentation.
7978 (mh-thread-parse-scan-line): For some reason the ASCII value of
7979 the space character was being used here. This is fixed.
7980 (mh-thread-inc, mh-toggle-threads): Avoid change of point in
7981 folder and message being displayed in shown buffer.
7982
7983 * mh-utils.el (mh-recenter): Rewrite mh-recenter to show fewer
7984 blank lines when point is towards the end of the folder buffer.
7985
7986 2002-10-25 Peter S Galbraith <psg@debian.org>
7987
7988 * mh-comp.el (mh-insert-mail-followup-to-flag): New boolean
7989 defcustom to append a Mail-Followup-To field to the header. The
7990 insertion is done if the To: or Cc: fields matches an entry in
7991 `mh-insert-mail-followup-to-list'."
7992 (mh-insert-mail-followup-to-list): New defvar. List of addresses
7993 for which a Mail-Followup-To field is inserted.
7994 (mh-re-search-to-cc): New function. Search for REGEXP in To: and
7995 Cc: fields.
7996 (mh-insert-mail-followup-to): New function. Insert
7997 Mail-Followup-To: if To or Cc match `mh-insert-mail-followup-to-list'.
7998 (mh-compose-and-send-mail): Call mh-insert-mail-followup-to if
7999 mh-insert-mail-followup-to-flag is true.
8000
8001 2002-10-25 Mark D. Baushke <mdb@gnu.org>
8002
8003 * mh-utils.el (mh-show-maximum-size): New variable to control
8004 the display of large messages.
8005 (mh-display-msg): Use it (Closes SF #488696).
8006
8007 * mh-seq.el (mh-toggle-threads): Checkdoc fix.
8008
8009 * mh-e.el (mh-reset-threads-and-narrowing): Checkdoc fix.
8010
8011 * mh-comp.el (mh-insert-x-mailer-flag): Renamed from
8012 mh-insert-x-mailer-p. Update docstring.
8013 (mh-send-letter): Use it.
8014 (mh-reply-show-message-flag): Renamed from
8015 mh-reply-show-message-p. Update docstring.
8016 (mh-reply): Use it.
8017 This addresses part of SF #627015.
8018
8019 * mh-e.el (mh-recenter-summary-flag): Renamed from
8020 mh-recenter-summary-p. Update docstring.
8021 (mh-set-scan-mode): Use it.
8022 This addresses part of SF #627015.
8023
8024 2002-10-25 Satyaki Das <satyaki@theforce.stanford.edu>
8025
8026 * mh-e.el (mh-reset-threads-and-narrowing): New function which
8027 resets all thread and narrowing state to completely unthreaded and
8028 widened state. As a side effect, the folder buffer is erased.
8029 (mh-rescan-folder): Reset threads and narrowing state.
8030
8031 * mh-funcs.el (mh-pack-folder-1): Reset threads and narrowing state.
8032
8033 * mh-seq.el (mh-copy-seq-to-eob): Change mh-view-ops after
8034 threading is over so that if user aborts threading, it doesn't
8035 leave mh-e in an inconsistent state.
8036 (mh-toggle-threads): Use mh-scan-folder to populate the folder
8037 buffer instead of mh-rescan-folder which resets threading and
8038 narrowing state.
8039
8040 2002-10-24 Bill Wohler <wohler@newt.com>
8041
8042 * mh-e is completely checkdoc clean now.
8043
8044 * mh-utils.el (mh-clean-message-header-flag): Renamed from
8045 mh-clean-message-header.
8046 (mh-bury-show-buffer-flag): Renamed from mh-bury-show-buffer.
8047 (mh-show-use-goto-addr-flag): Renamed from mh-show-use-goto-addr.
8048 This addresses part of SF #627015.
8049
8050 * mh-mime.el (mh-clean-message-header-flag): Renamed from
8051 mh-clean-message-header.
8052 Checkdoc fixes. This addresses part of SF #627015.
8053
8054 * mh-index.el (mh-clean-message-header-flag): Renamed from
8055 mh-clean-message-header. This addresses part of SF #627015.
8056
8057 * mh-funcs.el (mh-do-not-confirm-flag): Renamed from
8058 mh-do-not-confirm. This addresses part of SF #627015.
8059
8060 * mh-e.el (mh-do-not-confirm-flag): Renamed from
8061 mh-do-not-confirm.
8062 (mh-clean-message-header-flag): Renamed from
8063 mh-clean-message-header.
8064 This addresses part of SF #627015.
8065
8066 * mh-comp.el: checkdoc fixes.
8067
8068 2002-10-24 Satyaki Das <satyaki@theforce.stanford.edu>
8069
8070 * mh-seq.el (mh-copy-seq-to-eob): Rewritten to scan the headers
8071 fresh instead of yanking from buffer. This is needed to get
8072 correct threading in copied sequence.
8073 (mh-thread-inc, mh-thread-update-scan-line-map)
8074 (mh-thread-parse-scan-line): Eliminate the use, and hence the
8075 definition of, the kludgy mh-thread-update-scan-line-map. Instead
8076 the functions mh-notate-deleted-and-refiled and
8077 mh-notate-user-sequences are used to get the message marks right.
8078 (mh-thread-generate-scan-lines): Updated to allow the thread tree
8079 to be used in a narrowed folder buffer.
8080 (mh-thread-folder, mh-toggle-threads): Remove
8081 mh-folder-threaded-view-flag.
8082 (mh-thread-old-scan-line-map): New buffer-local variable that
8083 remembers the original scan-line map so that the sequence thread,
8084 narrow, widen will work.
8085 (mh-narrow-to-seq, mh-widen): Remember the scan-line map when
8086 narrowing and restore it when widening.
8087
8088 * mh-e.el (mh-folder-threaded-view-flag, mh-folder-folder-menu)
8089 (mh-regenerate-headers, mh-get-new-mail)
8090 (mh-make-folder-mode-line, mh-process-commands)
8091 (mh-delete-scan-msgs): Remove mh-folder-threaded-view-flag.
8092 Instead (memq 'unthread mh-view-ops) is used to test if the folder
8093 is threaded.
8094
8095 * mh-mime.el (mh-display-emphasis): Shadow article-goto-body here
8096 since we want to do emphasis on the whole of the region and not
8097 just after the first blank line.
8098 (mh-mm-display-part): When displaying a text part show smilies and
8099 emphasis.
8100
8101 * mh-index.el (mh-index-insert-scan): Attempt to keep number of
8102 args to scan small if there are lots of adjacent matches.
8103 (mh-index-quit): Bury index-buffer on quit instead of killing it.
8104 This behavior is more like that of mh-quit.
8105
8106 * mh-seq.el (mh-widen): If folder was threaded after narrowing
8107 then make mh-widen undo the threading instead of erroring out.
8108
8109 2002-10-24 Peter S Galbraith <psg@debian.org>
8110
8111 * mh-seq.el (mh-toggle-threads): Add a cond (as suggested by
8112 Satyaki) to properly unthread a narrowed-to-sequence.
8113
8114 * mh-seq.el (mh-thread-generate-scan-lines): Fix threading
8115 breakage from partial switch to mh-container-real-child-flag and
8116 to dupl-flag.
8117
8118 * mh-comp.el (mh-yank-cur-msg): Bug fix: specify
8119 (eq t mh-yank-from-start-of-msg) when that's what we want.
8120
8121 2002-10-24 Mark D. Baushke <mdb@gnu.org>
8122
8123 * mh-seq.el (mh-thread-prune-subject): Renamed subject-pruned-p as
8124 subject-pruned-flag.
8125 (mh-thread-inc): Renamed old-buffer-modified-p as
8126 old-buffer-modified-flag.
8127 (mh-thread-generate-scan-lines): Renamed dupl-p as dupl-flag.
8128 This addresses part of SF #627015.
8129
8130 * mh-index.el (mh-index-advance): Renamed backward-p
8131 local variable as backward-flag.
8132 (mh-index-next-button): Renamed backward-p
8133 argument as backward-flag.
8134 (mh-index-show): Renamed display-headers-p argument as
8135 display-headers-flag.
8136 This addresses part of SF #627015.
8137
8138 * mh-e.el (mh-scan-format, mh-version): Use mh-nmh-flag.
8139 (mh-folder-mime-action): Renamed include-security-p
8140 argument as include-security-flag.
8141 (mh-goto-next-button, mh-next-button): Renamed backward-p
8142 argument as backward-flag.
8143 (mh-get-new-mail): Renamed new-mail-p local variable as
8144 new-mail-flag.
8145 (mh-goto-cur-msg): Renamed minimal-changes-p argument as
8146 minimal-changes-flag.
8147 (redraw-needed-flag): Renamed redraw-needed-p local variable as
8148 redraw-needed-flag.
8149 (mh-seq-containing-msg): Renamed include-internal-p argument as
8150 include-internal-flag.
8151 (mh-page-msg): Use mh-page-to-next-msg-flag.
8152 This addresses part of SF #627015.
8153
8154 * mh-mime.el (mh-mhn-compose-insert-flag): Renamed from
8155 mh-mhn-compose-insert-p. Make it buffer-local.
8156 (mh-mhn-compose-type, mh-mhn-compose-external-type,
8157 mh-mhn-compose-forw, mh-edit-mhn): Use mh-mhn-compose-insert-flag.
8158 (mh-mml-to-mime, mh-mml-secure-message-encrypt-pgpmime,
8159 mh-mime-display-part, mh-mime-display-single): Use
8160 mh-gnus-pgp-support-flag renamed from mh-gnus-pgp-support-p.
8161 (mh-mime-display-single): Renamed small-image-p local
8162 variable as small-image-flag.
8163 (mh-mime-inline-part): Renamed local variable inserted-p as
8164 inserted-flag.
8165 (mh-mime-inline-part): Renamed local variable displayed-p as
8166 displayed-flag.
8167 This addresses part of SF #627015.
8168
8169 * mh-comp.el (mh-letter-menu, mh-letter-mode, mh-send-letter):
8170 mh-mhn-compose-insert-flag.
8171 (mh-repl-group-formfile, mh-forward): Use mh-nmh-flag
8172 renamed from mh-nmh-p.
8173 (mh-reply, mh-insert-x-mailer, mh-send-letter): Use mh-nmh-flag.
8174 (mh-letter-mode-map): Use mh-gnus-pgp-support-flag renamed from
8175 mh-gnus-pgp-support-p.
8176 (mh-mml-secure-message-sign-pgpmime): Use
8177 mh-gnus-pgp-support-flag.
8178 This addresses part of SF #627015.
8179
8180 * mh-utils.el (mh-page-to-next-msg-flag): Renamed from
8181 mh-page-to-next-msg-p.
8182 (mh-show-msg): Use mh-page-to-next-msg-flag.
8183 (mh-gnus-pgp-support-flag): Renamed from
8184 mh-gnus-pgp-support-p.
8185 (mh-show-font-lock-fontify-region): Fix docstring per checkdoc.
8186 (with-mh-folder-updating): Renamed argument
8187 save-modification-flag-p as mh-save-modification-flag.
8188 (mh-prompt-for-folder): Renamed new-file-p local
8189 variable as new-file-flag.
8190 This addresses part of SF #627015.
8191
8192 2002-10-24 Mark D Baushke <mdb@gnu.org>
8193
8194 * mh-comp.el (mh-forward): Fix mh-mml-compose-insert-p reference
8195 in last commit to be mh-mml-compose-insert-flag.
8196 (mh-mml-compose-insert-flag): Move defvar to fix compiler warning.
8197
8198 2002-10-24 Jeffrey C Honig <jch@honig.net>
8199
8200 * mh-comp.el (mh-forward): Add support for transient-mark mode.
8201 When using nmh, always specify -mime so as to preserve the
8202 original message(s). If mh-compose-insertion is 'gnus, convert
8203 the mhbuild format forwarding directives into MML.
8204
8205 2002-10-24 Eric Ding <ericding@alum.mit.edu>
8206
8207 * mh-comp.el (mh-send-letter): Fix for earlier change that added
8208 "-mime" for bcc'ed MIME mail; still doesn't work with nmh 1.0, but
8209 at least no longer triggered for every outgoing message!
8210
8211 2002-10-24 Peter S Galbraith <psg@debian.org>
8212
8213 * mh-comp.el (mh-yank-cur-msg): Fix selected regions for supercite
8214 (see text below).
8215
8216 * mh-comp.el (mh-yank-cur-msg): Fix for supercite. Someone played
8217 with the point and mark setting prior to the call to
8218 'mh-insert-prefix-string and that broke supercite. I put comments
8219 to make it obvious to future coders why those settings exists.
8220 Note that supercite is still broken when a region is selected in
8221 the show buffer. Presumably it's been like that for a long time.
8222 We need to insert the header as well as the selected region oin
8223 that case. I'll submit an SF bug.
8224
8225 2002-10-24 Jeffrey C Honig <jch@honig.net>
8226
8227 * mh-comp.el (mh-yank-from-start-of-msg, mh-reply): Use -noformat
8228 flag to reply when 'autosupercite or 'autoattrib are specified to
8229 prevent duplicate cites of the body of a message.
8230
8231 2002-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
8232
8233 * mh-utils.el (font-lock-default-fontify-region): Add autoload to
8234 avoid compiler warning.
8235
8236 2002-10-23 Peter S Galbraith <psg@debian.org>
8237
8238 * mh-comp.el (mh-letter-mode): set fill-paragraph-function to our
8239 own 'mh-fill-paragraph-function instead of simply
8240 'mail-mode-fill-paragraph (because it doesn't handle a non-nil
8241 fill-prefix correctly).
8242 (mh-fill-paragraph-function): New function for mh-letter-mode
8243 fill-paragraph-function in order to handle non-nil fill-prefix.
8244 Call sendmail's mail-mode-fill-paragraph if in the mail header,
8245 else call default fill-paragraph with fill-prefix set to nil.
8246 (Closes SF #489927)
8247
8248 * mh-comp.el (mh-letter-mode): Let's use font-lock even if gnus is
8249 used in show-mode. The reason is that gnus uses static text
8250 properties which are not appropriate for a buffer that will be
8251 edited. So the choice here is either fontify the citations and
8252 header or the header only.
8253
8254 * mh-utils.el (mh-show-font-lock-fontify-region): Limit font-lock
8255 in mh-show-mode to the header. Used when mh-highlight-citation-p
8256 is set to gnus, leaving the body to be dealt with by gnus
8257 highlighting. This fixes gnus text emphasis in mh-show-mode.
8258 (mh-show-mode): In font-lock-defaults, set
8259 font-lock-fontify-region-function to mh-show-font-lock-fontify-region.
8260
8261 2002-10-23 Bill Wohler <wohler@newt.com>
8262
8263 * mh-mime.el (mh-mml-attach-file): Prompt for disposition should
8264 be Disposition, not Content-Type. The Content-Type has been
8265 determined automatically.
8266
8267 2002-10-23 Mark D. Baushke <mdb@gnu.org>
8268
8269 * MH-E-NEWS:
8270 s/mh-adaptive-cmd-note/mh-adaptive-cmd-note-flag/
8271 s/mh-show-use-xface/mh-show-use-xface-flag/
8272 s/mh-tool-bar-reply-3-buttons/mh-tool-bar-reply-3-buttons-flag/
8273 This addresses part of SF #627015.
8274
8275 * mh-comp.el:
8276 s/mh-mml-compose-insert-p/mh-mml-compose-insert-flag/
8277 s/mh-xemacs-p/mh-xemacs-flag/
8278 (mh-letter-menu): Use mh-mml-compose-insert-flag.
8279 (mh-insert-x-mailer): Use mh-xemacs-flag.
8280 (mh-mml-compose-insert-flag): Renamed from
8281 mh-mml-compose-insert-p.
8282 (mh-send-letter): Use mh-mml-compose-insert-flag.
8283 This addresses part of SF #627015.
8284
8285 * mh-e.el:
8286 s/mh-folder-threaded-view-p/mh-folder-threaded-view-flag/
8287 s/mh-adaptive-cmd-note/mh-adaptive-cmd-note-flag/
8288 s/mh-xemacs-p/mh-xemacs-flag/
8289 (mh-folder-threaded-view-flag): Renamed from
8290 mh-folder-threaded-view-p. Make it buffer local.
8291 (mh-folder-tool-bar-map): Use mh-tool-bar-reply-3-buttons-flag.
8292 (mh-remove-xemacs-horizontal-scrollbar): Use mh-xemacs-flag.
8293 (mh-make-folder, mh-regenerate-headers, mh-get-new-mail): Use
8294 mh-adaptive-cmd-note-flag.
8295 (mh-folder-folder-menu, mh-regenerate-headers, mh-get-new-mail,
8296 mh-make-folder-mode-line, mh-process-commands,
8297 mh-delete-scan-msgs): Use mh-folder-threaded-view-flag.
8298 This addresses part of SF #627015.
8299
8300 * mh-index.el:
8301 s/mh-adaptive-cmd-note/mh-adaptive-cmd-note-flag/
8302 (mh-index-search): Use mh-adaptive-cmd-note-flag.
8303 This addresses part of SF #627015.
8304
8305 * mh-mime.el:
8306 s/mh-mml-compose-insert-p/mh-mml-compose-insert-flag/
8307 s/mh-xemacs-p/mh-xemacs-flag/
8308 (mh-mml-compose-insert-flag): Renamed from
8309 mh-mml-compose-insert-p. Make it buffer local.
8310 (mh-mml-attach-file, mh-mml-secure-message-sign-pgpmime,
8311 mh-mml-secure-message-encrypt-pgpmime): Use it.
8312 (gnus-local-map-property): Use mh-xemacs-flag.
8313 This addresses part of SF #627015.
8314
8315 * mh-seq.el:
8316 s/mh-folder-threaded-view-p/mh-folder-threaded-view-flag/
8317 (mh-thread-generate, mh-thread-folder, mh-toggle-threads): Use
8318 mh-folder-threaded-view-flag.
8319 This addresses part of SF #627015.
8320
8321 * mh-speed.el:
8322 s/mh-speed-run-flists-p/mh-speed-run-flists-flag/
8323 s/mh-speed-refresh-p/mh-speed-refresh-flag/
8324 (mh-speed-run-flists-flag): Renamed from mh-speed-run-flists-p.
8325 (mh-folder-speedbar-buttons): Use it.
8326 (mh-speed-refresh-flag): Renamed from mh-speed-refresh-p.
8327 (mh-speed-update-current-folder, mh-speed-invalidate-map,
8328 mh-speed-add-folder): Use it.
8329 This addresses part of SF #627015.
8330
8331 * mh-utils.el:
8332 s/mh-xemacs-p/mh-xemacs-flag/
8333 s/mh-tool-bar-reply-3-buttons/mh-tool-bar-reply-3-buttons-flag/
8334 s/mh-show-use-xface/mh-show-use-xface-flag/
8335 (mh-xemacs-flag): Renamed from mh-xemacs-p.
8336 (mh-show-xface-function): Use it.
8337 (mh-tool-bar-reply-3-buttons-flag): Renamed from
8338 mh-tool-bar-reply-3-buttons.
8339 (mh-show-tool-bar-map): Use it.
8340 (mh-adaptive-cmd-note-flag): Renamed from mh-adaptive-cmd-note.
8341 (mh-cmd-note): Use it in description.
8342 (mh-show-use-xface-flag): Renamed from mh-show-use-xface. Use
8343 mh-xemacs-flag.
8344 (mh-show-xface): Use mh-show-use-xface-flag.
8345 This addresses part of SF #627015.
8346
8347 2002-10-23 Bill Wohler <wohler@newt.com>
8348
8349 * Makefile (all): Rather than have to run "make clean all" all the
8350 time, make the default target do a clean so all you have to say is
8351 "make".
8352
8353 * mh-e.el (mh-folder-map): Moved "t (mh-toggle-threads)" to T
8354 prefix.
8355
8356 2002-10-22 Satyaki Das <satyaki@theforce.stanford.edu>
8357
8358 * mh-index.el (mh-indexer-choices, mh-swish-binary): The
8359 executable swish-e can be used to search (just like swish-search).
8360 However the Makefile in swish-e-2.2.2 doesn't install
8361 swish-search. So it is preferable to use swish-e.
8362
8363 2002-10-22 Bill Wohler <wohler@newt.com>
8364
8365 * mh-comp.el (mh-letter-mode-map): Added aliases for keybindings.
8366 For example, you now have "C-c C-m C-i" in addition to "C-c C-m
8367 i".
8368
8369 2002-10-22 Mark D. Baushke <mdb@gnu.org>
8370
8371 * mh-mime.el (mh-graphical-smileys-flag): Renamed from
8372 mh-graphical-smileys-p.
8373 (mh-display-smileys): Use it.
8374 (mh-graphical-emphasis-flag): Renamed from
8375 mh-graphical-emphasis-p.
8376 (mh-display-emphasis): Use it. This addresses part of SF #627015.
8377
8378 2002-10-22 Satyaki Das <satyaki@theforce.stanford.edu>
8379
8380 * mh-mime.el (mh-insert-mime-security-button): A message is
8381 produced if PGP decryption/verification fails. This addresses
8382 SF# 627025.
8383
8384 2002-10-21 Bill Wohler <wohler@newt.com>
8385
8386 * mh-seq.el (mh-widen): Checkdoc removed the period in the error.
8387 The info node (elisp) Coding Conventions says: "An error message
8388 should start with a capital letter but should not end with a
8389 period."
8390
8391 * mh-e.el, mh-utils.el (mh-tool-bar-reply-3-buttons): Moved
8392 defcustom to mh-utils because I got an error about a nil value for
8393 mh-tool-bar-reply-3-buttons when I fired up mh-rmail.
8394
8395 * mh-comp.el, mh-funcs,el, mh-mime.el, mh-pick.el: Moved (provide)
8396 to the end of the file to be consistent with most other files (see
8397 additional rationale in mh-e.el description below).
8398
8399 * mh-e.el: Had to remove eval-when-compile from the (require 'cl)
8400 here too (because the remove-if generated a warning in CVS Emacs).
8401 Moved (provide) to the end of the file to be consistent with most
8402 other files. My guess is that this is good to keep a feature from
8403 being "provided" if the file craps out while being loaded.
8404
8405 2002-10-21 Satyaki Das <satyaki@theforce.stanford.edu>
8406
8407 * mh-utils.el (mh-reply, Info-goto-node): Add autoloads to avoid
8408 compiler warnings.
8409 (mh-tool-bar-reply-3-buttons): Add defvar to avoid compiler
8410 warning.
8411
8412 * mh-seq.el (mh-narrow-to-seq): Remember that a narrowing has
8413 occurred.
8414 (mh-valid-view-change-operation-p): New function that checks if
8415 the widening or unthreading that we are about to perform is
8416 allowed.
8417 (mh-widen): Check if widening is applicable.
8418 (mh-thread-inc, mh-thread-folder): Use delete-region instead of
8419 erase-buffer. This means if the buffer is narrowed then the hidden
8420 parts aren't removed. This allows widening of the folder later on.
8421 (mh-toggle-threads): Maintain mh-view-ops.
8422
8423 * mh-e.el (mh-view-ops, mh-folder-mode): New buffer-local variable
8424 that keeps track of the sequence in which threading and narrowing
8425 of the folder buffer has been carried out. This is needed so that
8426 narrowing followed by threading (or vice versa) behaves in a
8427 reasonable manner.
8428 (mh-regenerate-headers): Use delete-region instead of
8429 erase-buffer.
8430 (mh-make-folder-mode-line): Change mh-first-msg-num and
8431 mh-last-msg-num conservatively. This might show a larger range in
8432 the mode-line but allows the unthreading to not miss messages
8433 present initially.
8434
8435 2002-10-21 Bill Wohler <wohler@newt.com>
8436
8437 * mh-mime.el (mh-graphical-emphasis-p): Added _underline_ to the
8438 docstring, as well as the source of the strings,
8439 gnus-emphasis-alist.
8440 (mh-graphical-emphasis-p, mh-graphical-smileys-p): Set the default
8441 to t.
8442
8443 2002-10-21 Peter S Galbraith <psg@debian.org>
8444
8445 * mh-utils.el (mh-show-mode): Invoke new toolbar.
8446 (mh-show-tool-bar-map): New tool-bar for mh-show-mode, similar to
8447 mh-letter-mode.
8448
8449 2002-10-21 Satyaki Das <satyaki@theforce.stanford.edu>
8450
8451 * mh-utils.el (mh-display-msg): Call the smiley display function
8452 after the call to mh-show-mode. This is needed since mh-show-mode
8453 kills all buffer-local variables and resets the variable that
8454 controls display of graphical smileys.
8455
8456 2002-10-21 Bill Wohler <wohler@newt.com>
8457
8458 * mh-e.el (mh-folder-mime-action): Change mime to MIME in message.
8459
8460 * mh-comp.el (mh-mml-to-mime autoload): Ditto.
8461
8462 2002-10-21 Mark D Baushke <mdb@gnu.org>
8463
8464 * mh-mime.el (smiley-region): Use load for a non-fatal dependency
8465 on the smiley library.
8466
8467 2002-10-21 Jeffrey C Honig <jch@honig.net>
8468
8469 * mh-comp.el (mh-forward): Search for a blank line as well as
8470 mail-header-separator.
8471 (mh-letter-mode): Search for a blank line as well as
8472 mail-header-separator.
8473 (mh-send-letter): The default BCC encapsulation will make a MIME
8474 message unreadable. If we are running nmh and the letter contains
8475 a Bcc: and a Content-Type: field, add the -mime switch to to the
8476 arguments to send.
8477
8478 2002-10-21 Peter S Galbraith <psg@debian.org>
8479
8480 * mh-utils.el: Add a mh-defun-show-buffer call to define
8481 mh-show-pack-folder.
8482
8483 2002-10-21 Peter S Galbraith <psg@debian.org>
8484
8485 * mh-mime.el (mh-store-mime-parts): Simplify code a bit.
8486
8487 * mh-e.el (mh-help-messages): Update help message for changed
8488 keybindings.
8489
8490 2002-10-21 Satyaki Das <satyaki@theforce.stanford.edu>
8491
8492 * mh-speed.el (mh-speed-invalidate-map): Invalidate
8493 mh-speed-folders-cache before it is used by mh-speed-folders. Also
8494 fix indentation of if statement.
8495 (mh-speed-folder-size): The folder name should be extracted from
8496 the speedbar buffer and not from the temp buffer has was happening
8497 before.
8498 (mh-speed-folder-size): Harden the function some more. It
8499 shouldn't produce errors any more unless flist really didn't work.
8500
8501 2002-10-21 Bill Wohler <wohler@newt.com>
8502
8503 * mh-seq.el (mh-put-msg-in-seq): Formatting only. The reason I was
8504 in there is because I was trying to use mh-put-msg-in-seq and
8505 mh-msg-is-in-seq non-interactively and found that although the
8506 docstring says it uses the current message by default, I got
8507 errors if I passed in nil for the message. Is this expected, or is
8508 this a bug? I suppose the fix would be to make the arguments
8509 optional, right? This would cause the arguments in
8510 mh-put-msg-in-seq to be reversed, however. Might be a backwards
8511 compatibility problem.
8512
8513 * mh-speed.el (mh-speed-view): Convert default size to string
8514 before passing it to read-string. This was done because XEmacs
8515 can't handle a numeric value for the default.
8516
8517 2002-10-20 Satyaki Das <satyaki@theforce.stanford.edu>
8518
8519 * mh-utils.el (mh-show-mode-map, mh-show-folder-map)
8520 (mh-show-sequence-map, mh-show-thread-map, mh-show-extract-map)
8521 (mh-show-digest-map, mh-show-mime-map): Interactive functions
8522 callable in show buffer are now prefixed with mh-show.
8523
8524 * mh-seq.el (mh-notate-deleted-and-refiled): Take into account the
8525 changes to mh-refile-list and the removal of the 'deleted
8526 sequence.
8527 (mh-toggle-threads): Changing from threaded to normal view doesn't
8528 try to push out message refiles and deletions to MH.
8529
8530 * mh-e.el (mh-rescan-folder, mh-scan-folder): Add a new optional
8531 argument to both functions that prevents them from carrying out
8532 pending refiles and deletes.
8533 (mh-undo): Remove dead code.
8534 (mh-delete-a-msg, mh-undo-msg): Get rid of the 'deleted sequence.
8535 The same information is present in mh-delete-list any way.
8536 (mh-refile-a-msg, mh-undo-msg, mh-process-commands): Change the
8537 semantics of mh-refile-list to make it self-contained. This
8538 variable now contains a list of lists. The first element of each
8539 sublist is the destination folder name. The remaining elements are
8540 the messages that are to be refiled to the destination folder.
8541 (mh-toggle-threads, mh-folder-folder-menu): Use mh-toggle-threads
8542 instead of mh-thread-folder.
8543
8544 2002-10-20 Peter S Galbraith <psg@debian.org>
8545
8546 * mh-mime.el (mh-store-mime-parts): Bug fix? Make this command
8547 work when in the show buffer, and not just in the folder buffer
8548 pointing to a message.
8549
8550 2002-10-20 Peter S Galbraith <psg@debian.org>
8551
8552 * mh-seq.el (mh-narrow-to-subject-sequence): Renamed from
8553 mh-narrow-to-subject-thread.
8554 (mh-subject-to-sequence): Renamed from mh-subject-thread-to-sequence.
8555 (mh-delete-subject-sequence): Renamed from mh-delete-subject-thread.
8556 (mh-next-unseen-subject-sequence): Renamed from
8557 mh-next-unseen-subject-thread.
8558 (mh-toggle-subject-thread): Removed. :-(
8559
8560 * mh-e.el: s/subject-thread/subject-sequence/
8561 (mh-thread-map): Bind mh-widen to "w".
8562
8563 * mh-utils.el: s/subject-thread/subject-sequence/
8564 (mh-show-thread-map): Bind mh-widen to "w".
8565
8566 2002-10-20 Satyaki Das <satyaki@theforce.stanford.edu>
8567
8568 * mh-seq.el (mh-thread-folder): This function is no longer
8569 interactive. The mh-toggle-threads is the interactive function
8570 that gets called by the user. Also the already computed values in
8571 mh-first-msg-num and mh-last-msg-num are used instead of
8572 recomputing the first and last message indices in the current
8573 folder.
8574 (mh-toggle-threads): New interactive function that toggles
8575 threaded view of the folder.
8576
8577 * mh-utils.el (mh-letter-toggle-threads): New interactive function
8578 which toggles thread view from show buffer. This function replaces
8579 mh-letter-thread-folder.
8580 (mh-show-folder-map): Use mh-letter-toggle-threads instead of
8581 mh-letter-thread-folder.
8582
8583 * mh-e.el (mh-folder-map): Use mh-toggle-threads instead of
8584 mh-thread-folder.
8585
8586 2002-10-20 Bill Wohler <wohler@newt.com>
8587
8588 * mh-e.el (mh-scan-folder): Formatting only.
8589 (mh-goto-cur-msg): Removed call to mh-last-msg in those cases
8590 where there isn't a current message. Since I've started using the
8591 speedbar to read my mh-e mail, I've had to use M-< every time to
8592 go to the beginning of the new messages. Very annoying! Thus, if
8593 there isn't a current message, the cursor is left alone, which
8594 sounds like the right thing to do anyway.
8595
8596 2002-10-19 Peter S Galbraith <psg@debian.org>
8597
8598 * mh-seq.el (mh-subject-thread-to-sequence): Bug fix. After
8599 making the 'subject sequence real, I now have to delete it globally.
8600
8601 * mh-seq.el (mh-toggle-subject-thread): Make toggle back to full
8602 scan exactly mh-widen (removed moving to current message).
8603
8604 * mh-seq.el (mh-subject-thread-to-sequence): Make 'subject
8605 sequence a real one, exported to MH. This means you can, for
8606 example, mh-forward it. But it also shows up with a mark in the
8607 scan output. (Closes SF #489445).
8608
8609 2002-10-19 Bill Wohler <wohler@newt.com>
8610
8611 * mh-speed.el (mh-speed-view): If there weren't any unseen
8612 messages, and you specified a string (a sequence like "last") when
8613 prompted for the number of messages to display, you got an error.
8614 This has been fixed.
8615
8616 2002-10-19 Mark D Baushke <mdb@gnu.org>
8617
8618 * mh-e.el (mh-last-destination-folder): Destination of last refile
8619 command.
8620 (mh-last-destination-write): Destination of last write command.
8621 (mh-refile-msg): Use 'mh-last-destination-folder and update both it
8622 and 'mh-last-destination.
8623 (mh-write-msg-to-file): Use 'mh-last-destination-write and update
8624 both it and 'mh-last-destination (Closes SF #580772).
8625
8626 2002-10-19 Bill Wohler <wohler@newt.com>
8627
8628 * mh-comp.el (mh-yank-from-start-of-msg): Changed default to
8629 'attribution.
8630 (mh-letter-mode-map): Removed commented-out keybindings as well as
8631 alias "C-c C-m a (mh-compose-insertion)." Prefer "C-c C-m i."
8632
8633 * mh-utils.el: Removed autoload of help. It no longer appears to
8634 be necessary in cvs Emacs (21.4).
8635
8636 2002-10-18 Bill Wohler <wohler@newt.com>
8637
8638 * mh-e.el (mh-execute-commands): Doc fix.
8639 (mh-compat-write-file-hook): Renamed to
8640 mh-write-file-functions-compat.
8641 (mh-folder-mode): Add mh-write-file-functions-compat instead of
8642 mh-compat-write-file-hook
8643
8644 2002-10-18 Peter S Galbraith <psg@debian.org>
8645
8646 * mh-utils.el (mh-invisible-headers-show-xface): Killed this
8647 variable.
8648 (mh-invisible-headers): Use 'mh-show-use-xface instead of
8649 'mh-invisible-headers-show-xface to determine whether to render
8650 the X-Face header line visible or not.
8651
8652 2002-10-18 Satyaki Das <satyaki@theforce.stanford.edu>
8653
8654 * mh-e.el (mh-compat-write-file-hook, mh-folder-mode): Use the new
8655 macro mh-compat-write-file-hook to use write-file-functions for
8656 Emacs 21.4 and local-write-file-hooks for older versions.
8657
8658 2002-10-18 Mark D Baushke <mdb@gnu.org>
8659
8660 * mh-utils.el (mh-invisible-headers): Add more anti-spam headers.
8661
8662 2002-10-18 Peter S Galbraith <psg@debian.org>
8663
8664 * mh-mime.el (mh-mml-forward-message): mml-attach-file constructs
8665 a malformed composition if the description string is empty, so
8666 test for that and call mml-attach-file without that argument if
8667 it's an empty string (closes SF #625168).
8668
8669 2002-10-17 Satyaki Das <satyaki@theforce.stanford.edu>
8670
8671 * mh-index.el (mh-index-keymap): Removed extra binding of " ".
8672 (mh-index-folder-mode-help-messages): Made the cheat sheet entry
8673 of quit like the others.
8674 (mh-index-search): If space was pressed in the index buffer before
8675 a search result has been shown with ".", the old show buffer would
8676 be scrolled. This is confusing since the index and show buffer
8677 contents are contradictory. Killing the show buffer here avoids
8678 this problem.
8679 (mh-index-configure-windows): Refine the window configuration
8680 logic. Avoid the two window view unless there is a message being
8681 displayed in the show buffer.
8682 (mh-index-scroll-up): Rewrite this function. The old version had a
8683 bizarre problem where the show buffer wouldn't be scrolled if the
8684 speedbar was present.
8685 (mh-index-scroll-down): Rewritten because of similar reason as
8686 above.
8687
8688 2002-10-17 Peter S Galbraith <psg@debian.org>
8689
8690 * mh-comp.el (mh-reply): Add an undo boundary in the undo list
8691 before calling 'mh-yank-cur-msg (closes SF #623693).
8692
8693 2002-10-17 Satyaki Das <satyaki@theforce.stanford.edu>
8694
8695 * mh-e.el (mh-folder-mode): Use local-write-file-hooks instead of
8696 write-file-hooks. This is required for XEmacs and also the right
8697 thing according to GNU Emacs21 documentation.
8698
8699 2002-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
8700
8701 * mh-seq.el (mh-thread-generate): Get threading to work correctly
8702 on partial folders. The fix here disregards messages that aren't
8703 already present in the buffer.
8704 (mh-thread-folder): When querying scan about thread info try to
8705 avoid asking about messages that aren't present in the folder
8706 buffer. A more efficient fix would be to ask scan about just the
8707 messages that are present instead of a range of messages. However
8708 that runs the risk of sending long command lines to scan. Another
8709 change was to populate the mh-scan-line-map early so that the
8710 change in mh-thread-generate would work.
8711 (mh-thread-generate-scan-lines): In case duplicates are present
8712 make one of them the pseudo parent of the rest. This makes it look
8713 prettier if there are multiple duplicates at top level.
8714
8715 * mh-comp.el (mh-edit-again): If a buffer in show-mode is being
8716 reused then reinsert message file. This should fix SF #624283.
8717
8718 * mh-mime.el (mh-mm-display-part): Make sure mh-display-part is
8719 always called when we want to remove the displayed MIME part.
8720
8721 2002-10-16 Bill Wohler <wohler@newt.com>
8722
8723 * mh-speed.el (mh-speed-folder-size): checkdoc fix.
8724 (mh-speed-view): Tweaked output to mirror gnus verbiage. Offer
8725 to view number of messages in folder rather than mh-large-folder.
8726 Replaced (intern mh-unseen-seq) with mh-unseen-seq since the
8727 former was generating errors.
8728
8729 2002-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
8730
8731 * mh-speed.el (mh-large-folder): New customizable variable to
8732 control mh-e's perception of large folders.
8733 (mh-speed-folder-size): New function which computes the size of
8734 folder on current line.
8735 (mh-speed-view): Modified to handle large folders. If the folder
8736 being clicked has unseen messages then only those messages are
8737 shown. Otherwise if number of messages in folder is larger than
8738 mh-large-folders then the user is asked for the number of messages
8739 to be shown. If the folder satisfies neither of the above cases
8740 then it is displayed in its entirety
8741
8742 2002-10-15 Bill Wohler <wohler@newt.com>
8743
8744 * mh-index.el (mh-index-keymap): Use gnus-define-keys. Sorted.
8745 Noticed that there were two key bindings for SPACE...
8746
8747 * mh-speed.el (mh-folder-speedbar-key-map): Ditto (except for the
8748 dup SPACE binding).
8749
8750 Completed help in other modes:
8751
8752 * mh-utils.el (mh-xemacs-p): Fixed doc.
8753 (mh-show-mode-map, mh-show-folder-map, mh-show-sequence-map)
8754 (mh-show-thread-map, mh-show-extract-map): Added binding for
8755 mh-help.
8756
8757 * mh-pick.el (mh-search-folder): Added startup help message.
8758 (mh-pick-mode-help-messages): New variable that contains help
8759 messages for pick buffer.
8760 (mh-pick-mode): Set local buffer variable mh-help-messages to
8761 mh-pick-mode-help-messages.
8762
8763 * mh-index.el (mh-index-keymap): Added binding for mh-help
8764 (mh-index-folder-mode-help-messages): New variable that contains
8765 help messages for MH Index buffer.
8766 (mh-index-folder-mode): Set local buffer variable mh-help-messages
8767 to mh-index-mode-help-messages.
8768
8769 * mh-funcs.el (mh-help, mh-prefix-help): Call
8770 substitute-command-keys on the help messages.
8771
8772 * mh-e.el (mh-help-messages): Added ,. Ran C-M-q.
8773 (mh-help): This autoload doc is now used for more than just the
8774 MH-Folder, so drop that specific text.
8775
8776 * mh-comp.el (mh-edit-again, mh-extract-rejected-mail)
8777 (mh-forward, mh-reply, mh-send-sub): Call mh-letter-mode-message
8778 to display a help message at startup.
8779 (mh-letter-mode): Set local buffer variable mh-help-messages to
8780 mh-letter-mode-help-messages.
8781 (mh-letter-mode-help-messages): New variable with help messages
8782 for the MH-Letter buffer.
8783 (mh-letter-mode-message): New function that displays a startup
8784 help message.
8785 (mh-letter-mode-map): Added binding for mh-help. Sorted.
8786
8787 2002-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
8788
8789 * mh-speed.el (mh-speedbar-selected-folder-with-unseen-messages-face)
8790 (mh-speedbar-folder-face, mh-speedbar-selected-folder-face)
8791 (mh-speedbar-folder-with-unseen-messages-face): New faces for mh-e
8792 speedbar.
8793 (mh-folder-speedbar-buttons, mh-speed-update-current-folder)
8794 (mh-speed-add-buttons): Use the new faces.
8795 (mh-speed-normal-face, mh-speed-bold-face): Functions to convert
8796 to bold face and back to normal face.
8797 (mh-speed-set-face): Removed.
8798 (mh-speed-highlight): Modified to allow it to be used instead of
8799 mh-speed-set-face. Also changes were made to fontify folders with
8800 unread messages.
8801 (mh-speed-parse-flists-output, mh-speed-parse-flists-output)
8802 (mh-speed-invalidate-map): Use mh-speed-highlight instead of
8803 mh-speed-set-face.
8804
8805 2002-10-15 Bill Wohler <wohler@newt.com>
8806
8807 * mh-mime.el, mh-seq.el, mh-speed.el, mh-utils.el: It appears that
8808 the cl package has been restructured in 21.4 in such a way that
8809 the use of eval-when-compile no longer suppresses warnings when
8810 compiling so that (require 'cl) must be called directly (maybe
8811 this is a bug in 21.4 ;-). Thus the autoloads of cl are no longer
8812 needed. Now compiles clean under 21.4.
8813
8814 * mh-e.el (mh-folder-mode): The use of local-write-file-hooks is
8815 deprecated in Emacs 21.4, so use add-hook write-file-functions (or
8816 write-file-hook for older versions) with the LOCAL argument
8817 instead. Now compiles clean under 21.4.
8818
8819 * mh-comp.el (mh-yank-cur-msg): Push a mark at the opposite end of
8820 the included text to make it easy to jump or delete to the other
8821 end of the included text.
8822
8823 2002-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
8824
8825 * mh-comp.el (mh-insert-prefix-string): Remove the erroneous use
8826 of set-mark and other related functions.
8827
8828 2002-10-14 Bill Wohler <wohler@newt.com>
8829
8830 * mh-comp.el (mh-yank-from-start-of-msg): Fixed documentation. It
8831 isn't ignored if there is a region. It is still used for the
8832 attribution.
8833 (mh-yank-cur-msg): Removed unnecessary push-mark when snarfing the
8834 entire message. Move the cursor to the end of the snarfed message
8835 if there is a region. In this case, push a mark so user can pop to
8836 the beginning of the snarfed fragment.
8837 (mh-insert-prefix-string): This calls set-mark which I find
8838 suspect since I found that my last user mark was deleted after
8839 yanking a message. Added a comment to this effect. Will probably
8840 add a bug report...
8841
8842 * README (Installed, Supported versions): To appear in GNU Emacs
8843 21.3; supported on Emacs 21, 20.7 and XEmacs 21.
8844
8845 * mh-funcs.el (mh-concat-list): Deleted. Use mapconcat instead.
8846 (mh-help, mh-prefix-help): Use mapconcat instead of mh-concat-list.
8847 (mh-ephem-message): Use "%s" in message.
8848
8849 * mh-funcs.el (mh-concat-list): New function to concatenate a list
8850 of strings into a single string. I would have thought elisp
8851 already contained a function like this, but I couldn't find it.
8852 (mh-ephem-message): New function to display a message in the
8853 minibuffer ephemerally. minibuffer-message seemed like the right
8854 function, but it writes to the current buffer oddly enough.
8855 (mh-help, mh-prefix-help): New functions to display command
8856 cheat sheets in the minibuffer (closes SF #493740). It would be
8857 nice to refactor these two into a single function if possible.
8858
8859 * mh-e.el (mh-folder-mode-map, mh-folder-map, mh-sequence-map)
8860 (mh-thread-map, mh-extract-map): Added ? keybinding for `mh-help'
8861 and `mh-prefix-help' (closes SF #493740).
8862 (mh-help-messages): New variable to hold various help messages.
8863 (mh-help, mh-prefix-help): Autoload from mh-funcs.el.
8864
8865 2002-10-13 Bill Wohler <wohler@newt.com>
8866
8867 * mh-index.el (mh-glimpse-directory, mh-swish-directory,
8868 mh-namazu-directory): New variables that hold the name of the
8869 configuration and indexing directory. All are now hidden `.'
8870 directories.
8871
8872 * mh-e.el, mh-funcs.el, mh-index.el, mh-mime.el, mh-pick.el,
8873 mh-seq.el, mh-xemacs-compat.el (Docstrings): Converted comments to
8874 docstrings, reworded some docstrings to conform to Emacs
8875 documentation conventions, and eliminated all checkdoc warnings
8876 (except for -flag, which we'll fix after 6.2 is released).
8877
8878 2002-10-13 Satyaki Das <satyaki@theforce.stanford.edu>
8879
8880 * mh-index.el (mh-swish-next-result): Fix a bug in a corner case
8881 where the lack of a trailing "/" caused the function to wrongly
8882 filter out correct hits. This should fix SF #622679.
8883
8884 2002-10-12 Steve Youngs <youngs@xemacs.org>
8885
8886 * mh-utils.el (mh-xemacs-p): Simplify it, don't test for
8887 'defvaralias' and don't use 'running-xemacs'.
8888
8889 2002-10-11 Bill Wohler <wohler@newt.com>
8890
8891 * mh-comp.el: (Docstrings): Eliminated all checkdoc warnings by
8892 converting comments to docstrings and rewording some docstrings to
8893 conform to Emacs documentation conventions.
8894
8895 2002-10-11 Steve Youngs <youngs@xemacs.org>
8896
8897 * mh-utils.el (mh-xemacs-p): New.
8898 (mh-show-use-xface): Use it.
8899 (mh-show-xface-function): Ditto.
8900
8901 * mh-e.el (toplevel): Ditto.
8902 (mh-remove-xemacs-horizontal-scrollbar): Ditto.
8903 (mh-folder-mode-map): Ditto.
8904
8905 * mh-comp.el (mh-insert-x-mailer): Ditto.
8906
8907 * mh-mime.el (gnus-local-map-property): Ditto.
8908 (mh-mml-to-mime): Move (require 'mh-utils) to toplevel.
8909 (mh-prompt-for-folder): Autoloading this not needed because
8910 mh-utils is now required at toplevel.
8911 (mh-show-xface): Ditto.
8912 (mh-show-addr): Ditto.
8913
8914 2002-10-11 Bill Wohler <wohler@newt.com>
8915
8916 * Makefile (EMACS_HOME): Set default to $(TOP)/../emacs so it
8917 would be useful.
8918
8919 * mh-utils.el (mh-invisible-headers): Added various spam header
8920 fields.
8921 (mh-path-search): Removed argument `func-p' and related code. It
8922 was not documented and no one used it.
8923 (Docstrings): Converted comments to docstrings, reworded some
8924 docstrings to conform to Emacs documentation conventions, and
8925 basically eliminated all checkdoc warnings (except for -flag
8926 warnings).
8927
8928 2002-10-11 Satyaki Das <satyaki@theforce.stanford.edu>
8929
8930 * mh-seq.el (mh-thread-generate): Kill dead code.
8931
8932 2002-10-10 Satyaki Das <satyaki@theforce.stanford.edu>
8933
8934 * mh-seq.el (mh-region-to-sequence): Don't include point-max in
8935 region (closes SF #621632).
8936
8937 * mh-utils.el (mh-defun-show-buffer): Fix call of
8938 frame-first-window to work with XEmacs. Also avoid warning about
8939 cur-buffe-name in XEmacs.
8940 (mh-modify, mh-goto-msg): Remove dead code.
8941
8942 * mh-speed.el (mh-speed-toggle, mh-speed-add-buttons): Remove dead
8943 code.
8944
8945 * mh-seq.el (mh-subject-thread-to-sequence, mh-thread-get-message,
8946 mh-thread-generate, mh-thread-folder): Remove dead code.
8947
8948 * mh-mime.el (mh-mm-inline-message): Remove dead code.
8949
8950 * mh-index.el (mh-index-search): Remove dead code.
8951
8952 * mh-comp.el (mh-open-line): Remove dead code.
8953
8954 * mh-e.el (mh-folder-mode): Use the macro
8955 mh-remove-xemacs-horizontal-scrollbar to avoid compiler-warning in
8956 Emacs.
8957 (mh-remove-xemacs-horizontal-scrollbar): New macro to avoid
8958 compiler-warnings.
8959
8960 2002-10-10 Mark D Baushke <mdb@gnu.org>
8961
8962 * Makefile (EMACS_OPTIONS): New macro for command-line compile
8963 options.
8964 (EMACS): Allow the user to specify which emacs command to use for
8965 the compile.
8966 (COMPILE_COMMAND): Combine the compile command with its options.
8967 (.el.elc): Use the new $(COMPILE_COMMAND).
8968
8969 2002-10-10 Mark D Baushke <mdb@gnu.org>
8970
8971 * mh-speed.el (mh-speed-select-attached-frame): Define a new
8972 compatibility macro for getting to the attached-frame.
8973 (mh-speed-update-current-folder): Use it.
8974
8975 2002-10-10 Mark D Baushke <mdb@gnu.org>
8976
8977 * mh-speed.el (mh-speed-update-current-folder): Use
8978 'dframe-select-attached-frame if we are in a newer speedbar
8979 version that no longer supports the 'speedbar-attached-frame
8980 variable.
8981
8982 2002-10-10 Steve Youngs <youngs@xemacs.org>
8983
8984 * mh-speed.el (mh-speed-update-current-folder): Use
8985 'dframe-select-attached-frame' if we're in XEmacs.
8986
8987 * mh-e.el (mh-folder-mode): Remove the horizontal scrollbar from
8988 the MH-Folder buffer if we're in XEmacs.
8989
8990 2002-10-09 Satyaki Das <satyaki@theforce.stanford.edu>
8991
8992 * mh-utils.el (mh-show-xface-function): New global that stores
8993 what function needs to be called to display X-Face.
8994 (mh-show-xface): Rewritten to avoid compiler warning.
8995
8996 2002-10-09 Peter S Galbraith <psg@debian.org>
8997
8998 * mh-utils.el (mh-exchange-point-and-mark-preserving-active-mark):
8999 Simplify code for all emacsen to avoid byte-compilation warnings.
9000
9001 2002-10-09 Satyaki Das <satyaki@theforce.stanford.edu>
9002
9003 * mh-mime.el (mh-mm-display-part): If a sub-part of the current
9004 part is an inline image then clicking the button keeps the image
9005 around. The change fixes this bug.
9006
9007 2002-10-09 Peter S Galbraith <psg@debian.org>
9008
9009 * mh-utils.el (mh-exec-cmd-output): Use new function
9010 'mh-exchange-point-and-mark-preserving-active-mark instead of
9011 'exchange-point-and-mark. Fixes a bug in emacs20 and XEmacs21.
9012 (mh-exchange-point-and-mark-preserving-active-mark): New function.
9013 Does like 'exchange-point-and-mark but doesn't activate the mark.
9014
9015 * mh-comp.el (mh-letter-menu): Allow access to "Pull in All
9016 Compositions" menu entries when edits have really occurred.
9017 Works with "forw: -mime" mh_profile entry, so this fixes a bug.
9018
9019 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part): Use
9020 line-beginning-position and line-end-position instead of
9021 point-at-bol and point-at-eol XEmacs functions.
9022 * mh-xemacs-compat.el: Added line-end-position and
9023 line-beginning-position compatibility aliases.
9024
9025 2002-10-08 Mark D. Baushke <mdb@gnu.org>
9026
9027 * mh-utils.el (mh-scan-msg-format-regexp): The regexp to find
9028 %number(msg).
9029 (mh-scan-msg-format-string): Format to be used with the current
9030 maximum width of message number for the folder in the
9031 `mh-upate-scan-format' function.
9032 (mh-update-scan-format): Use `mh-scan-msg-format-regexp' for greater
9033 flexibility. The message number is no longer anchored to the
9034 beginning of the `mh-scan-format-nmh' or `mh-scan-format-mh' format
9035 strings. The `mh-update-scan-format' allows for using zero-filled
9036 message numbers.
9037
9038 2002-10-08 Peter S Galbraith <psg@debian.org>
9039
9040 * mh-e.el (mh-folder-folder-menu): Add entry for "Thread Folder".
9041
9042 2002-10-07 Satyaki Das <satyaki@theforce.stanford.edu>
9043
9044 * mh-seq.el (mh-thread-generate): Use mh-progs to get path to mh
9045 executables.
9046
9047 * mh-speed.el (mh-speed-flists): Use mh-progs to get path to mh
9048 executables right.
9049 (mh-speed-folders-actual): Same as above.
9050
9051 2002-10-05 Steve Youngs <youngs@xemacs.org>
9052
9053 * mh-comp.el (mh-yank-from-start-of-msg): Make default setting 't'
9054 a const.
9055
9056 * mh-xemacs-compat.el (match-string-no-properties): Rewrite as a
9057 defsubst using 'buffer-substring-no-properties' so we don't grab
9058 any extents.
9059 (rfc822-goto-eoh): Removed. This exists in the XEmacs mail-lib
9060 package.
9061 (mail-header-end): Ditto.
9062 (mail-mode-fill-paragraph): Ditto.
9063
9064 2002-10-05 Satyaki Das <satyaki@theforce.stanford.edu>
9065
9066 * mh-speed.el (mh-speed-invalidate-map): When called interactively
9067 the function will clear mh-speed-folders-cache.
9068
9069 2002-10-02 Satyaki Das <satyaki@theforce.stanford.edu>
9070
9071 * mh-mime.el (mh-insert-mime-button): Rewrite without using
9072 replace-match.
9073
9074 2002-10-01 Satyaki Das <satyaki@theforce.stanford.edu>
9075
9076 * mh-mime.el (mh-file-mime-type-substitutions): Reorder code to
9077 avoid compiler warning.
9078
9079 2002-10-01 Bill Wohler <wohler@newt.com>
9080
9081 * Makefile (MH-E-ETC): Moved ChangeLog into MH-E-ETC-ETC since it
9082 shouldn't get installed in Emacs.
9083 (install-emacs): Install MH-E-IMG into Emacs' lisp/toolbar and
9084 MH-E-IMG2 into Emacs' lisp/mail.
9085
9086 2002-10-01 Peter S Galbraith <psg@debian.org>
9087
9088 * mh-e.el (mh-tool-bar-reply-3-buttons): New customization.
9089 Non-nil means use three buttons for reply commands in tool-bar.
9090 If you have room on your tool-bar because you are using a large
9091 font, you may set this variable to expand the single reply
9092 button into three buttons that won't lead to minibuffer prompt
9093 about who to reply to.
9094 (mh-folder-tool-bar-map): Use mh-tool-bar-reply-3-buttons to
9095 decide how many buttons to use for replying.
9096
9097 * mh-mime.el (mh-file-mime-type-substitutions)
9098 (mh-file-mime-type-substitute): Fix typos and doc strings.
9099
9100 2002-09-30 Peter S Galbraith <psg@debian.org>
9101
9102 * mh-mime.el (mh-file-mime-type): Run Content-Type string returned
9103 by file command through mh-file-mime-type-substitute (see below).
9104 (mh-file-mime-type-substitute): Possibly change Content-Type
9105 string using mh-file-mime-type-substitutions variable. This is
9106 mostly because all MS-Office file are seen as application/msword
9107 by the file command.
9108 (mh-file-mime-type-substitutions): New variable. Defines
9109 substitutions to make for Content-Type returned from file command.
9110
9111 2002-09-27 Bill Wohler <wohler@newt.com>
9112
9113 * README: Moved Id to end of file since it broke outline mode at
9114 the beginning.
9115
9116 * import-emacs (release): Renamed "mainline" tag to
9117 "emacs-mainline" to correspond with existing CVS tag.
9118 (EMACS_HOME): Fixed typo in docstring.
9119
9120 * mh-utils.el (mh-folder-name-p, mh-defun-show-buffer): Lowercase
9121 NIL and T in docstring.
9122 (mh-update-scan-format): Fixed typo.
9123
9124 * mh-comp.el, mh-e.el, mh-pick.el, mh-utils.el: Updated from CVS
9125 Emacs. The only new thing appears to be to downcase NIL and T in
9126 the documentation.
9127
9128 2002-09-26 Satyaki Das <satyaki@theforce.stanford.edu>
9129
9130 * mh-seq.el (mh-thread-generate): The threading code will now be
9131 more resistant to corruption of messages. Before the change any
9132 corruption of message x would cause all messages with indices
9133 higher than x to be neglected when threading!
9134
9135 2002-09-23 Peter S Galbraith <psg@debian.org>
9136
9137 * mh-mime.el (mh-store-mime-parts): Don't store value into
9138 user-customizable variable mh-store-mime-parts-default-directory
9139 and use mh-store-mime-parts-directory instead.
9140
9141 2002-09-20 Satyaki Das <satyaki@theforce.stanford.edu>
9142
9143 * mh-seq.el (mh-thread-prune-subject): Use regular expressions to
9144 make the subject pruning behave the way it is specified in the
9145 imap-thread RFC.
9146
9147 * mh-speed.el (mh-speed-folders-actual): Don't use pop when we
9148 are not going to use the first element. This avoids a compilation
9149 warning with cvs emacs.
9150
9151 2002-09-19 Satyaki Das <satyaki@theforce.stanford.edu>
9152
9153 * mh-utils.el (mh-display-msg): Put the call to
9154 set-buffer-modified after mh-show-mode. This is needed for CVS
9155 emacs since calling mh-show-mode marks the buffer as modified if
9156 font-lock is on.
9157
9158 2002-09-17 Peter S Galbraith <psg@debian.org>
9159
9160 * mh-mime.el (mh-store-mime-parts-default-directory): Renamed from
9161 mh-store-mime-parts-directory
9162 (mh-store-mime-parts-directory): Renamed from
9163 mh-store-mime-parts-directory-default.
9164
9165 2002-09-16 Peter S Galbraith <psg@debian.org>
9166
9167 * mh-comp.el (mail-citation-hook): Doc tweaks suggested by Bill.
9168
9169 2002-09-08 Satyaki Das <satyaki@theforce.stanford.edu>
9170
9171 * mh-e.el (autoloads): Reorder autoload of mh-reply to avoid
9172 compiler warning.
9173
9174 2002-09-03 Peter S Galbraith <psg@debian.org>
9175
9176 * mh-mime.el (mh-store-mime-parts-directory): New defcustom.
9177 Default directory to use for mh-store-mime-parts.
9178 (mh-store-mime-parts): New Command. Store the MIME parts of the
9179 current message.
9180 (mh-store-mime-parts-directory-default): New internal working
9181 variable. Default to use for mh-store-mime-parts-directory, set
9182 from last use.
9183
9184 * mh-e.el (mh-folder-seq-tool-bar-map): Add mh-store-mime-parts to
9185 toolbar.
9186
9187
9188 2002-08-22 Satyaki Das <satyaki@theforce.stanford.edu>
9189
9190 * mh-seq.el (mh-thread-generate-scan-lines): In threaded view,
9191 complete scan lines are printed for all messages (not just the
9192 ones at the top of a thread).
9193
9194 * mh-index.el (mh-index-insert-scan): Replace use of kill-line
9195 since that pollutes the kill-ring.
9196
9197 * mh-comp.el (autoloads): Add autoloads for search and subseq to
9198 get rid of compiler warnings.
9199
9200 2002-08-19 Peter S Galbraith <psg@debian.org>
9201
9202 * reply-to.xpm, reply-to.pbm, reply-from.xpm, reply-from.pbm,
9203 reply-all.xpm, reply-all.bpm: New icons for various reply methods.
9204 * mh-e.el (mh-folder-tool-bar-map): Split reply button into three
9205 that won't prompt for "from", "to" and "all".
9206 * mh-comp.el (mh-reply): Put variable reply-to in the interactive
9207 list since it's specified on the command line for the new toolbar.
9208
9209 * mh-comp.el (mail-citation-hook): Tweak docs concerning
9210 historical usage for supercite.
9211 (mh-yank-from-start-of-msg): Add settings 'supercite and
9212 'autosupercite. Rename 'automatic to 'autoattrib.
9213 (mh-insert-prefix-string): Invoke sc-cite-original if
9214 mh-yank-from-start-of-msg is et to 'supercite or 'autosupercite.
9215
9216 2002-08-17 Satyaki Das <satyaki@theforce.stanford.edu>
9217
9218 * mh-comp.el (compilation-fix): Reorder defvars to avoid warnings
9219 during compilation.
9220
9221 2002-08-17 Peter S Galbraith <psg@debian.org>
9222
9223 * mh-comp.el (mh-yank-from-start-of-msg): Add 'automatic choice.
9224 Do as for `attribution' automatically when show buffer matches the
9225 message being replied-to.
9226 (mh-reply): Call 'mh-yank-cur-msg when mh-yank-from-start-of-msg
9227 is set to 'automatic and show buffer matches message number being
9228 replied-to.
9229 (mh-show-buffer-message-number): New helper function to get the
9230 message number of the current show-buffer.
9231 (mh-yank-cur-msg): Handle 'automatic choice the same as 'attribution.
9232 (mh-yank-cur-msg): Bug fix. It would bail on error if
9233 mh-show-buffer didn't exists.
9234
9235 2002-08-16 Peter S Galbraith <psg@debian.org>
9236
9237 * mh-comp.el (mh-insert-x-mailer): It wrongly assumed that Emacs
9238 was used even when XEmacs was used. Fixed so X-Mailer header is
9239 more exact about what we are using.
9240
9241 2002-08-15 Peter S Galbraith <psg@debian.org>
9242
9243 * mh-e.el (mh-version): Change CVS version number to 6.1+cvs just
9244 so X-Mailer header is more exact about what we are using.
9245
9246 * mh-mime.el (mh-mhn-compose-insertion, mh-mhn-compose-anon-ftp,
9247 mh-mml-attach-file):
9248 "Jeffrey P. Morgenthaler" <jpmorgen@congee.gsfc.nasa.go> reported
9249 that "require" in emacs 20.3 doesn't handle 3 arguments. We
9250 use "load" at the top of file elsewhere anyway to handle such a
9251 case of non-essential loading, so switch to that here.
9252
9253 2002-08-06 Satyaki Das <satyaki@theforce.stanford.edu>
9254
9255 * mh-funcs.el (autoload): Add autoload for mh-speed-invalidate-map.
9256
9257 * mh-speed.el (mh-speed-add-folder): New function to make the
9258 speedbar aware of new folders when they are created by mh-e.
9259
9260 * mh-utils.el (mh-prompt-for-folder): Use mh-speed-add-folder to
9261 tell speedbar that new folder is being created. Also use folder
9262 instead of mkdir to create new folders.
9263
9264 2002-08-01 Peter S Galbraith <psg@debian.org>
9265
9266 * mh-utils.el (mh-decode-quoted-printable): Conditionalize the
9267 limit of search for quoted-printable. If we're using mm-decode
9268 for MIME decoding, it's possible that `mimedecode' could mess our
9269 message, so we only run a full search for quoted-printable parts
9270 when not using gnus' mm-decode. When using mm-decode, mimedecode
9271 can still help by handling the case of the whole message being
9272 quoted-printable as opposed to only a part.
9273
9274 2002-07-31 Peter S Galbraith <psg@debian.org>
9275
9276 * mh-comp.el (mh-compose-insertion): Moved from mh-mime.el because
9277 the pulldown menu were broken in XEmacs21 from this variable being
9278 undefined.
9279
9280 2002-07-28 Mark D. Baushke <mdb@gnu.org>
9281
9282 * mh-utils.el (mh-show-mode): Use the default paragraph-start
9283 rather than the inherited text-mode value.
9284
9285 2002-07-28 Satyaki Das <satyaki@theforce.stanford.edu>
9286
9287 * mh-seq.el (mh-thread-duplicates): New hash table to track
9288 duplicate messages.
9289 (mh-thread-get-message): Remove debug code.
9290 (mh-thread-canonicalize-id): Modified to handle messages without
9291 message-id header. Such messages are given distinct copies of the
9292 empty string as message-id.
9293 (mh-thread-generate): The function was inadvertently rebuilding
9294 the thread tree when message refiles and message deletes are
9295 processed. The change here fixes that. Also code has been added to
9296 keep track of duplicate message-id's.
9297 (mh-thread-generate-scan-lines): Modified to print scan lines for
9298 duplicate messages (that is messages with the same message-id).
9299 (mh-thread-forget-message): Modified to maintain
9300 mh-thread-duplicates.
9301
9302 2002-07-22 Satyaki Das <satyaki@theforce.stanford.edu>
9303
9304 * mh-speed.el (mh-speed-parse-flists-output): Use delete-region
9305 instead of kill-region. Otherwise the kill ring gets polluted.
9306
9307 2002-07-16 Satyaki Das <satyaki@theforce.stanford.edu>
9308
9309 * mh-seq.el (mh-thread-update-scan-line-map): New function to
9310 refresh the stale scan lines.
9311 (mh-thread-inc): Update old scan lines when mh-thread-inc is
9312 called. Otherwise notations for deleted and refiled messages get
9313 lost and the folder display gets out of sync with real mh-e state.
9314
9315 * mh-mime.el (mh-mm-display-part): Call Gnus citation highlight
9316 code when text part is displayed. Otherwise buttonized text parts
9317 aren't correctly fontified when they are displayed.
9318
9319 2002-07-15 Mark D. Baushke <mdb@gnu.org>
9320
9321 * mh-utils.el (mm-decode): Use load for the Non-fatal depencency
9322 on the mm-decode library.
9323 * mh-mime.el (mm-decode, mm-uu, mm-view): Use load for the
9324 Non-fatal depencencies on the mm-decode, mm-uu and mm-view
9325 libraries.
9326
9327 2002-07-15 Satyaki Das <satyaki@theforce.stanford.edu>
9328
9329 * mh-utils.el (mh-require, mh-autoload): Remove these macros.
9330 (mh-decode-mime): Initialized to t iff the mm-decode library is
9331 present in the load-path.
9332 * mh-mime.el (mh-require): Don't use it anymore.
9333
9334 2002-07-15 Mark D Baushke <mdb@gnu.org>
9335
9336 * mh-utils.el (mh-update-scan-format): Rewrite for compatibility
9337 with Xemacs as replace-match appears not to have identical
9338 functionality with FSF emacs.
9339 (mh-scan-msg-format-regexp): Deleted. This regexp is now hardcoded
9340 into the mh-update-scan-format function.
9341
9342 2002-07-12 Satyaki Das <satyaki@theforce.stanford.edu>
9343
9344 * mh-seq.el: Add message threading code.
9345
9346 * mh-utils.el (mh-letter-thread-folder): New interactive function
9347 that allows switching to threaded view from show buffer.
9348 (mh-show-folder-map): Bound "F t" to call mh-letter-thread-folder.
9349 (mh-goto-msg): Replace the function to not assume that messages
9350 are sorted in the folder buffer.
9351
9352 * mh-e.el (mh-folder-threaded-view-p): New buffer local variable
9353 in the folder buffer that records whether threaded view is being
9354 used currently.
9355 (mh-scan-subject-regexp, mh-scan-format-regexp): Get font lock
9356 working for threaded view as well.
9357 (mh-regenerate-headers): Reset mh-folder-threaded-view-p to nil.
9358 (mh-get-new-mail, mh-process-commands): Do incremental threading
9359 if folder is in threaded view.
9360 (mh-delete-scan-msgs): Update thread tables if folder is in
9361 threaded view.
9362 (mh-folder-map): Add "F t" as key binding for mh-thread-folder
9363
9364 * mh-comp.el (mh-yank-cur-msg): Bug fix. mh-show-buffer is only
9365 has a meaningful value in the folder buffer.
9366
9367 2002-07-11 Peter S Galbraith <psg@debian.org>
9368
9369 * mh-comp.el (mh-yank-cur-msg): Run only if mh-show-buffer
9370 actually exists (otherwise a back-traceable error occurred).
9371
9372 * mh-utils.el (mh-find-progs): Run PATH search only when mh-progs,
9373 mh-lib and mh-lib-progs are not all already set. This allows the
9374 user to set them using a simple setq prior to loading mh-e. This
9375 is useful for implementation of mh-e on win32. Note that many
9376 commands still call mh-find-path which also parses the mh_profile
9377 file (that may still fail on win32), so this is still done often.
9378 But it lets us change the mh_profile file and have mh-e see the
9379 changed file without exiting emacs and starting over so I left
9380 that in.
9381
9382 2002-07-04 Satyaki Das <satyaki@theforce.stanford.edu>
9383
9384 * mh-index.el (mh-index-show): Fixed a bug in mh-index-show which
9385 caused it to lose track of point when called from show buffer.
9386
9387 2002-07-04 Mark D. Baushke <mdb@gnu.org>
9388
9389 * Makefile: Add more information and common methods to allow both
9390 GNU make and Berkeley make to properly build everything.
9391
9392 2002-07-04 Satyaki Das <satyaki@theforce.stanford.edu>
9393
9394 * mh-mime.el (mh-push-button): Bug fix for mime display with
9395 mouse. Select show window before executing the mime display
9396 functions.
9397
9398 2002-07-01 Mark D. Baushke <mdb@gnu.org>
9399
9400 * Makefile: Use a conditional variable assignment operator rather
9401 than ifndef to let Makefile be used by both GNU make and Berkeley
9402 make (or similar versions of make). This does not help Solaris
9403 /usr/ccs/bin/make, but Solaris make has problems with the ifndef
9404 syntax too.
9405
9406 2002-07-01 Satyaki Das <satyaki@theforce.stanford.edu>
9407
9408 * mh-index.el (mh-index-search): Check for mh-decode-mime before
9409 adding mh-mime-cleanup to kill-buffer-hook.
9410
9411 * mh-mime.el (mm-destroy-parts): Add definition for old emacs.
9412
9413 2002-06-30 Mark D Baushke <mdb@gnu.org>
9414
9415 * mh-utils.el (mh-update-scan-format): Add documentation string.
9416 (mh-scan-msg-format-regexp): Update the regexp to find %(msg).
9417 (mh-set-cmd-note): When mh-scan-format-file is not t, dynamic
9418 update of mh-cmd-note is wrong. Do not assume that
9419 mh-scan-format-nmh and mh-scan-format-mh can be kept in lock-step
9420 with mh-cmd-note via mh-set-cmd-note. The mh-scan-format function
9421 is now where the updated mh-cmd-note value is put into the scan
9422 format.
9423
9424 * mh-e.el (mh-generate-new-cmd-note): Add documentation string.
9425 (mh-scan-format): Use mh-update-scan-format to get updated copies
9426 of mh-scan-format-nmh and mh-scan-format-mh to avoid format skew.
9427 (mh-get-new-mail): Do not try to adapt mh-cmd-note unless
9428 mh-scan-format-file is equal to t.
9429 (mh-scan-format-nmh): No longer buffer local.
9430 (mh-scan-format-mh): No longer buffer local.
9431
9432 2002-06-30 Satyaki Das <satyaki@theforce.stanford.edu>
9433
9434 * mh-index.el (mh-index-max-msg-index): New variable to keep track
9435 of max message index among search results. If mh-adaptive-cmd-note
9436 is non-nil this is used to compute the width of the index field.
9437 (mh-index-search): Keep track of max index seen while parsing the
9438 search results and set it if mh-adaptive-cmd-note is non-nil.
9439 (mh-index-find-max-width): New function to find the required width
9440 of the message index field.
9441 (mh-defun-index): Binding buffer local variables is bad, so don't
9442 do that.
9443 (mh-index-show): New argument display-headers-p decides whether
9444 the message is displayed in raw form or not.
9445 (mh-index-header-display): New interactive function bound to ","
9446 which shows the message in raw form.
9447 (mh-index-keymap): Add appropriate bindings for backtab and ",".
9448 (read-from-string): Add ignore-errors around it so that the code
9449 doesn't die when it gets unexpected input.
9450
9451 2002-06-29 Satyaki Das <satyaki@theforce.stanford.edu>
9452
9453 * mh-index.el (mh-count-windows): This function works around the
9454 lack of the window-list builtin function in emacs20.
9455
9456 2002-06-29 Mark D Baushke <mdb@gnu.org>
9457
9458 * mh-utils.el (mh-message-number-width): New function to scan
9459 the last message of a folder and return its width.
9460 (mh-adaptive-cmd-note): New variable, if Non-nil indicates that
9461 mh-set-cmd-note should be called with the message width for the
9462 folder.
9463 (mh-cmd-note): Update documentation.
9464 (mh-update-scan-format): Helper function for updating the
9465 mh-scan-format-nmh and mh-scan-format-mh variables.
9466 (mh-scan-msg-overflow-regexp): New variable to help find problem
9467 messages after an inc.
9468 (mh-scan-msg-format-regexp): New variable to find the old message
9469 width in one of the mh-scan-format-nmh or mh-scan-format-mh
9470 variables.
9471 (mh-set-default-cmd-note): Replaced by mh-set-cmd-note.
9472 (mh-set-cmd-note): New function to replace update mh-cmd-note
9473 value.
9474
9475 * mh-e.el (mh-regenerate-headers): If mh-adaptive-cmd-note is
9476 non-nil, use mh-set-cmd-note on empty folder buffers.
9477 (mh-make-folder): Ditto.
9478 (mh-generate-new-cmd-note): New function to adapt the mh-cmd-note
9479 to fit when mh-get-new-mail gets message number truncation.
9480 (mh-get-new-mail): Maybe use mh-generate-new-cmd-note if
9481 mh-adaptive-cmd-note is Non-nil.
9482
9483 2002-06-29 Satyaki Das <satyaki@theforce.stanford.edu>
9484
9485 * mh-speed.el (mh-speed-view): The display gets confused if the
9486 cursor is in the show buffer when mh-speed-view is called. This is
9487 a fix for that.
9488
9489 2002-06-27 Satyaki Das <satyaki@theforce.stanford.edu>
9490
9491 * mh-e.el (mh-next-undeleted-msg): Get rid of optional arg
9492 reverse-p. If there are no more undeleted messages the the point
9493 remains at its original position and a message is produced (closes
9494 SF #494304).
9495 (mh-previous-undeleted-msg): Change similar to
9496 mh-next-undeleted-msg.
9497 (mh-next-msg, mh-refile-msg, mh-delete-msg): Backout previous
9498 change.
9499 (mh-folder-map): Bind "S-tab" and "K S-tab" to mh-prev-button.
9500
9501 * mh-utils.el (mh-show-mode-map): Bind "S-tab" and "K S-tab" to
9502 mh-letter-prev-button.
9503
9504 * mh-mime.el (gnus-newsgroup-name): Initialize it to nil, so that
9505 mm-uu-dissect doesn't cause error.
9506
9507 2002-06-27 Mark D Baushke <mdb@gnu.org>
9508
9509 * mh-utils.el (mh-cmd-note): Make buffer-local. Changes to this
9510 variable should be made via the new mh-set-default-cmd-note
9511 function.
9512 (mh-set-default-cmd-note): New function to setq-default the
9513 mh-cmd-note, mh-scan-format-mh and mh-scan-format-nmh values to
9514 related values.
9515
9516 * mh-e.el (mh-scan-format-mh): Make buffer-local.
9517 (mh-scan-format-nmh): Ditto.
9518 (mh-scan-good-msg-regexp): Use a more general regular expression
9519 so that the width of message numbers, mh-cmd-note, may vary.
9520 (mh-scan-deleted-msg-regexp): Ditto.
9521 (mh-scan-refiled-msg-regexp): Ditto.
9522 (mh-scan-cur-msg-number-regexp): Ditto.
9523 (mh-scan-cur-msg-regexp): Ditto.
9524 (mh-scan-subject-regexp): Ditto.
9525
9526 2002-06-26 Satyaki Das <satyaki@theforce.stanford.edu>
9527
9528 * mh-speed.el: Speedbar support code.
9529
9530 * Makefile: Add mh-speed.el to MH-E-SRC.
9531
9532 * mh-utils.el (mh-prompt-for-folder): Add speedbar hook if
9533 speedbar is being used.
9534
9535 * mh-funcs.el (mh-kill-folder): Add speedbar hook if speedbar is
9536 being used.
9537
9538 * mh-e.el (speedbar-autoloads): Autoload speedbar initialization
9539 functions so that speedbar can find them.
9540
9541 2002-06-25 Satyaki Das <satyaki@theforce.stanford.edu>
9542
9543 * mh-index.el (mh-grep-execute-search, mh-grep-next-result): Allow
9544 grep to be used to search mail.
9545 (mh-index-font-lock-keywords): Modified to avoid bug when using
9546 lazy font-lock.
9547
9548 * mh-e.el (mh-delete-msg, mh-refile-msg): Modify so that if no
9549 undeleted (or unrefiled) message exists in the current movement
9550 direction then try to find an undeleted (or unrefiled) message in
9551 the opposite direction instead.
9552 (mh-next-undeleted-msg): Added a new optional argument. If non-nil
9553 search for undeleted message backwards if none exists in the
9554 forward direction.
9555 (mh-previous-undeleted-msg): Added an optional argument. If
9556 non-nil search for undeleted message in the forward direction if
9557 none exists in the backward direction.
9558 (mh-next-msg): Optional argument to change direction if undeleted
9559 messages are not found in the current direction.
9560
9561 * mh-index.el (mh-cmd-note): Use mh-cmd-note instead of hardcoding
9562 the index field size to 4.
9563
9564 * mh-utils.el (mh-show-addr, mh-show-xface): New functions added
9565 to do xface display and goto-addr interface to allow reuse by the
9566 mime display code.
9567 (mh-show-mode): Use mh-show-addr and mh-show-xface. Only add
9568 mh-mime-cleanup to kill-buffer-hook if mime decoding is enabled.
9569 (mh-modify): Use mh-letter-mode instead of mh-show-mode when
9570 editing messages.
9571
9572 * mh-mime.el (mh-mm-inline-message): Arrange for xface and
9573 highlighting to work in forwarded messages.
9574
9575 2002-06-23 Peter S Galbraith <psg@debian.org>
9576
9577 * mh-comp.el (mh-yank-from-start-of-msg): Add 'attribution' option
9578 to add an attribution line in mh-yank-cur-msg.
9579 (mh-extract-from-attribution-verb): Verb to use for attribution
9580 when a message is yanked by mh-yank-cur-msg. Provides a method
9581 for setting a different language.
9582 (mh-yank-cur-msg): Add support for 'attribution' option.
9583 (mh-extract-from-attribution): Function to get the attribution
9584 line, or the sender from the From: line in the current show buffer.
9585
9586 2002-06-20 Satyaki Das <satyaki@theforce.stanford.edu>
9587
9588 * mh-index.el (mh-index-show): mh-display-msg was not being called
9589 in the show buffer. This causes weird results on some mime messages.
9590
9591 * mh-mime.el (gnus-newsgroup-charset): Defvar to avoid error in
9592 pgp messages if gnus hasn't been used yet.
9593
9594 * mh-comp.el (mh-letter-mode-map): Typo fix.
9595
9596 2002-06-19 Satyaki Das <satyaki@theforce.stanford.edu>
9597
9598 * mh-mime.el (mh-mml-secure-message-encrypt-pgpmime): Typo fix.
9599 (compiler-warnings): Add autoloads to remove compiler warnings.
9600
9601 * mh-index.el (autoload-fixes): Fix autoload forms.
9602
9603 2002-06-18 Satyaki Das <satyaki@theforce.stanford.edu>
9604
9605 * mh-comp.el (mh-letter-mode-map): Change binding of "\C-c\C-ma"
9606 to mh-compose-insertion. Remove duplicate binding for "C-c\C-mf".
9607 (compiler-warnings): Add defvar to remove compiler-warning.
9608
9609 2002-06-18 Peter S Galbraith <psg@debian.org>
9610
9611 * mh-comp.el (mh-letter-menu): Conditionalize GPG function on
9612 mh-gnus-pgp-support-p.
9613
9614 * mh-mime.el (mh-mml-forward-message): s/subseq/substring/.
9615 (mh-compose-forward): cut&paste typo: s/messages/message/.
9616 (mml-minibuffer-read-file): autoload added.
9617 (mml-minibuffer-read-description): autoload added.
9618 (mml-insert-empty-tag): autoload added.
9619 (mh-mml-secure-message-sign-pgpmime): Check mh-gnus-pgp-support-p.
9620 (mh-mml-secure-message-encrypt-pgpmime): Check mh-gnus-pgp-support-p.
9621
9622 2002-06-17 Peter S Galbraith <psg@debian.org>
9623
9624 * mh-utils.el (mh-show-use-xface): Check for availability of
9625 `uncompface' executable on system.
9626
9627 * mh-mime.el (mh-compose-forward): New front end for both
9628 mh-mml-forward-message and mh-mhn-compose-forw.
9629 (mh-compose-insertion): New front end for both mh-mml-attach-file
9630 and mh-mhn-compose-insertion.
9631 (mh-mml-to-mime): New function. Compose mime message from mml
9632 directives.
9633 (mh-mml-forward-message): New function. Forward a message as
9634 attachment.
9635 (mh-mml-attach-file): New function. Attach a file to the outgoing
9636 MIME message.
9637 (mh-mml-compose-insert-p): New variable. Buffer-local variable to
9638 know whether MIME insertion was done. Triggers an automatic call
9639 to `mh-mml-to-mime' in `mh-send-letter'.
9640 (mh-mml-secure-message-sign-pgpmime): New function.
9641 Front end to mml-secure-message-sign-pgpmime.
9642 (mh-mml-secure-message-encrypt-pgpmime): New function.
9643 Front end to mml-secure-message-encrypt-pgpmime.
9644
9645 * mh-comp.el (mh-send-letter): automatic call to `mh-mml-to-mime'
9646 if mh-mml-compose-insert-p is set.
9647 (mh-letter-mode-map): Add keys for new mh-mime functions above.
9648 * mh-comp.el: Added autoloads for new mh-mime functions above.
9649
9650 2002-06-17 Peter S Galbraith <psg@debian.org>
9651
9652 * mh-utils.el (mh-show-use-xface): new defcustom to determine
9653 whether to call external package x-face to display the x-face.
9654 (mh-invisible-headers-show-xface): variable now defaults to value
9655 of mh-show-use-xface.
9656 (mh-show-mode): When mh-show-use-xface is t, invoke
9657 external package x-face to display the x-face.
9658
9659 2002-06-15 Satyaki Das <satyaki@theforce.stanford.edu>
9660
9661 * mh-e.el (mh-prev-button): New interactive function which moves
9662 point to the previous mime button in the show buffer.
9663 (mh-folder-mode-map): Bind M-TAB and K M-TAB to mh-prev-button.
9664
9665 * mh-utils.el (mh-show-mode-map): Bind M-TAB and K M-TAB to call
9666 mh-letter-prev-button (which is analogous to mh-prev-button).
9667 (mh-gnus-pgp-support-p): New global variable to replace the
9668 variable mh-recent-gnus-p. The name better describes what it is
9669 used for.
9670
9671 * mh-mime.el (mh-mime-display-part, mh-mime-display-single): Use
9672 mh-gnus-pgp-support-p instead of mh-recent-gnus-p.
9673
9674 2002-06-12 Satyaki Das <satyaki@theforce.stanford.edu>
9675
9676 * mh-mime.el (mh-display-buttons-for-inline-parts): New
9677 customizable variable. When non-nil inline parts have are
9678 displayed with a button (that is initially expanded).
9679 (mh-maybe-insert-newline): The function has been removed.
9680 (mh-mime-display-single): Add code to display buttons for inline
9681 parts. Reduce the insertion of extra newlines between inline parts
9682 and also for pgp signature parts.
9683 (mh-mm-display-part): The function has been rewritten and cleaned
9684 up. There was a bug which could change the show buffer if the user
9685 pressed C-g while a mime part was being displayed has been fixed.
9686 (mh-press-button, mh-push-button): Use unwind-protect to make sure
9687 that set-buffer-modified-p is always called after mime display.
9688 (mh-mime-inline-part): The behavior of the function has been
9689 changed so that it toggles the display of the raw bytes.
9690 (mh-mime-display-security): Remove the display of too many
9691 newlines.
9692 (documentation): Remove most check-doc warnings.
9693
9694 * mh-comp.el (mh-filter-out-non-text): Updated since whitespace
9695 added around mime buttons have changed.
9696
9697 2002-06-10 Satyaki Das <satyaki@theforce.stanford.edu>
9698
9699 * mh-index.el (mh-index-last-search, mh-index-search): The default
9700 prompt in mh-index-search has been removed since currently there
9701 is no good way of reading "+" with mh-prompt-for-folder.
9702 (mh-index-folder-mode, mh-index-show-mode): New major modes
9703 derived from mh-folder-mode and mh-show-mode respectively. They
9704 use a restricted keymap compared to the parent modes.
9705 (mh-index-folder-face): New customizable face to display folder
9706 names in the index buffer.
9707 (documentation): Change two spaces after period back to one.
9708
9709 2002-06-08 Satyaki Das <satyaki@theforce.stanford.edu>
9710
9711 * mh-e.el (mh-folder-toggle-mime-part): New interactive function
9712 to control mime display from folder buffer.
9713 (mh-folder-inline-mime-part): New interactive function to inline
9714 raw mime part from folder buffer.
9715 (mh-folder-save-mime-part): New interactive function to save mime
9716 part from folder buffer.
9717 (mh-folder-mode-map): Add keybindings for "K v", "K o", "K i" and
9718 "K \t" to mh-folder-mode-map.
9719 (mh-goto-next-button): Modified to allow searching for next button
9720 that satisfies some condition.
9721 (mh-folder-mime-action): Support function for
9722 mh-folder-save-mime-part, mh-folder-inline-mime-part and
9723 mh-folder-toggle-mime-part.
9724
9725 * mh-utils.el (mh-show-mode-map): Modify keymap to add appropriate
9726 bindings for "K v", "K o", "K i" and "K \t".
9727
9728 * mh-index.el (documentation): Fix docs according to checkdoc
9729 format.
9730
9731 2002-06-07 Satyaki Das <satyaki@theforce.stanford.edu>
9732
9733 * mh-seq.el, mh-funcs.el (Compiler): Remove (require 'view) and
9734 instead add defvar for view-exit-action.
9735
9736 2002-06-06 Satyaki Das <satyaki@theforce.stanford.edu>
9737
9738 * mh-comp.el (mh-insert-x-face): If transient-mark-mode is enabled
9739 the call to mark returns error. So avoid using mark.
9740
9741 * mh-index.el: Support for new interactive function
9742 mh-index-search.
9743
9744 * mh-e.el (mh-next-button, mh-goto-next-button): Refactor
9745 mh-next-button so that the code may be reused by mh-index.el.
9746 (mh-folder-map): Add key "F i" to call mh-index-search.
9747
9748 * mh-utils.el (mh-recent-gnus-p): Fix documentation.
9749 (mh-msg-folder, mh-display-msg): The new function mh-msg-folder
9750 maps a MH folder name to the buffer displaying it. In normal
9751 operation the two names are identical but they are different in a
9752 folder buffer generated by index search. Minor modification to
9753 mh-display-msg to use mh-msg-folder to enable mh-index-search to
9754 reuse code.
9755 (mh-show-mode-map): Add key "F i" to call mh-index-search.
9756
9757 * Makefile: Add mh-index.el
9758
9759 2002-06-05 Peter S Galbraith <psg@debian.org>
9760
9761 * mh-e.el (mh-folder-message-menu): Add an entry for mh-modify.
9762
9763 2002-05-31 Satyaki Das <satyaki@theforce.stanford.edu>
9764
9765 * mh-utils.el (mh-decode-quoted-printable): Only decode if the
9766 whole message is encoded. So restrict the search for the
9767 content-transfer-encoding header to the headers of the message
9768 itself.
9769
9770 * mh-mime.el (mh-mime-display-alternative): Make sure that point
9771 is moved after mm-display-part is called.
9772
9773 2002-05-29 Satyaki Das <satyaki@theforce.stanford.edu>
9774
9775 * mh-mime.el (mh-mime-display-single): Fix the logic that
9776 determines when an attachment is buttonized. For inline parts that
9777 can't be displayed a button is now created.
9778
9779 2002-05-29 Satyaki Das <satyaki@theforce.stanford.edu>
9780
9781 * mh-e.el (mh-regenerate-headers): Fix an error in which the
9782 mh-mode-line-annotation was not being set properly.
9783
9784 * mh-mime.el, mh-utils.el (compilation): Macros mh-require and
9785 mh-autoload are used to make sure that emacs20 doesn't croak when
9786 it tries to load non-existent mm-* files.
9787 (mh-decode-mime): Make it default to nil for Emacs major version
9788 below 21.
9789
9790 2002-05-28 Satyaki Das <satyaki@theforce.stanford.edu>
9791
9792 * mh-e.el (mh-regenerate-headers): Generalize the function to
9793 handle multiple ranges.
9794
9795 2002-05-25 Satyaki Das <satyaki@theforce.stanford.edu>
9796
9797 * compilation: Reduce use of eval-when-compile so that load-path
9798 is not changed if lisp files are loaded without compilation. Small
9799 changes were made to Makefile, mh-comp.el mh-e.el, mh-funcs.el,
9800 mh-seq.el, mh-utils.el
9801
9802 * mh-e.el (mh-next-button, mh-folder-mode-map): New interactive
9803 function to advance point to next MIME button. It is bound to TAB.
9804
9805 * mh-utils.el (mh-letter-next-button, mh-show-mode-map): New
9806 interactive function mh-letter-next-button has been added to
9807 advance point to the next MIME button. It is bound to TAB.
9808
9809 * mh-mime.el (comments): Added some comments.
9810
9811 2002-05-24 Satyaki Das <satyaki@theforce.stanford.edu>
9812
9813 * mh-mime.el (compilation): Replace (eval-when-compile ...) by
9814 (eval-when (compile) ...) to remove a bug when mh-e is loaded
9815 without compilation.
9816
9817 2002-05-23 Satyaki Das <satyaki@theforce.stanford.edu>
9818
9819 * mh-comp.el (compilation): Some code was rearranged to avoid
9820 compiler warnings.
9821
9822 * mh-e.el (compilation): Code rearrangement and extra autoloads to
9823 remove compiler warnings
9824 (mh-quit): Add call to mh-destroy-postponed-handles to remove
9825 handles that are associated with external viewers. Also fixed a
9826 bug that I accidentally introduced by adding an extra line when
9827 cut and pasting my changes.
9828
9829 * mh-func.el (compilation): Code rearrangement to remove compiler
9830 warnings.
9831
9832 * mh-mime.el (compilation): Code rearrangement to remove compiler
9833 warnings.
9834 (mh-defun-compat): New macro to define to useful functions that
9835 aren't present present in old Gnus.
9836 (mh-destroy-postponed-handles): New function to cleanup handles
9837 that are associated with external viewers.
9838 (mh-handle-set-external-undisplayer): New function to replace
9839 mm-handle-set-external-undisplayer. It associates handles for
9840 external viewers with the folder buffer. These are released when
9841 the user quits the folder.
9842 (mh-mime-display, mh-press-button, mh-push-button): Hook in
9843 mh-handle-set-external-undisplayer.
9844 (mh-maybe-insert-newline): New function to avoid inserting too
9845 many newlines between mime parts.
9846 (mh-mm-display-part): Workaround for Gnus bug which causes new
9847 lines to be inserted when images are shown inline.
9848 (mh-mime-display-security): Cut down on newlines inserted.
9849
9850 * mh-pick.el (compilation): Code rearrangement to remove compiler
9851 warnings.
9852
9853 * mh-seq.el (compilation): Code rearrangement to remove compiler
9854 warnings.
9855 (comments): Remove @SD from comments.
9856
9857 * mh-utils.el (compilation): Slight code rearrangement.
9858 (mh-defun-show-buffer): Fix documentation so that the first line
9859 is not too long as was the case earlier. Use
9860 mh-previous-window-config to remember where the cursor should
9861 return functions like mh-reply.
9862 (mh-display-msg): Initialize handles data-structure for the folder
9863 buffer so that postponed handles can be added to it.
9864 (mh-add-msgs-to-seq): Always keep messages in the sequences
9865 sorted. This removes some unexpected behavior when working with
9866 sequences that go out of sync with the corresponding MH sequences.
9867 (mh-canonicalize-sequence): New function to sort and remove
9868 duplicates from mh-e sequence.
9869
9870 2002-05-21 Satyaki Das <satyaki@theforce.stanford.edu>
9871
9872 * mh-utils.el (require): Load mm-decode.el here so that
9873 mm-inline-media-tests is properly initialized.
9874
9875 * mh-comp.el (mh-yank-cur-msg): Don't try to remove the displayed
9876 mime parts when yanking the message. This also fixes the problem
9877 of regions not being respected during the yank.
9878
9879 2002-05-20 Satyaki Das <satyaki@theforce.stanford.edu>
9880
9881 * mh-utils.el (compiler-warnings): Some code was rearranged to
9882 remove all compiler warnings.
9883 (mh-decode-mime): New defcustom to control whether
9884 mime attachments are shown using Gnus.
9885 (mh-globals-hash): New global variable which maps a given buffer
9886 to the corresponding mime data structures.
9887 (mh-recent-gnus-p): New global variable which checks if Gnus is
9888 recent enough so that PGP/GPG encrypted messages can be handled.
9889 (mh-mm-inline-media-tests): Tests to determine whether a mime part
9890 can be shown inline.
9891 (mh-gnus-article-highlight-citation): Shadow the Gnus function,
9892 gnus-article-add-button before gnus-article-highlight-citation is
9893 called. This prevents the insertion of useless buttons in the
9894 message.
9895 (mh-show-mode): Don't set font-lock-support-mode to nil. Modify
9896 kill-buffer-hook to call mh-mime-cleanup.
9897 (mh-modify): Only the edit buffer is shown.
9898 (mh-display-msg): Add call to mh-mime-display, mh-display-smileys,
9899 mh-display-emphasis when mh-decode-mime is non-nil.
9900
9901 * mh-mime.el (mh-buffer-data): New structure to keep track of
9902 per-buffer mime information.
9903 (compiler-warnings): Some code was rearranged to get rid of all
9904 compiler warnings.
9905 (mh-graphical-smileys-p): New defcustom which controls whether
9906 graphical smileys are shown.
9907 (mh-graphical-emphasis-p): New defcustom for graphical emphasis.
9908 (mh-max-inline-image-width, mh-max-inline-image-height): New
9909 defcustoms for inlining image.
9910 (gnus-local-map-property, mm-merge-handles): Copy utility
9911 functions for use with version of Gnus that ships with Emacs21.1.
9912 (mh-mime-cleanup): New function to free mime data-structures.
9913 (mh-add-missing-mime-version-header): New function to add missing
9914 Mime-Version header if a Content-Type header exists.
9915 (mh-display-smileys): New function to show graphical smileys.
9916 (mh-display-emphasis): New function to show graphical emphasis.
9917 (new-globals): New variables mh-mime-button-* and
9918 mh-mime-security-* were added to control mime buttons.
9919 (mh-mime-display): New function to display mime messages. The
9920 functions mh-mime-display-part, mh-mime-display-alternative,
9921 mh-mime-display-mixed, mh-mime-part-index, mh-small-image-p,
9922 mh-mime-display-single, mh-insert-mime-button, mh-mm-display-part,
9923 mh-press-button, mh-push-button, mh-mime-save-part,
9924 mh-mime-inline-part, mh-widget-press-button, mh-mm-inline-message,
9925 mh-mime-display-security, mh-mime-security-show-details,
9926 mh-mime-security-press-button and mh-insert-mime-security-button
9927 were added to support mh-mime-display.
9928
9929 * mh-e.el (mh-header-display): Bind mh-decode-mime to nil when
9930 mh-show-msg is called, so that mime isn't decoded when headers are
9931 displayed.
9932 (mh-quit): The show buffer is killed instead of invalidating and
9933 burying it.
9934
9935 * mh-comp.el (mh-yank-cur-msg): Filter out the mime buttons from
9936 the yanked message.
9937 (mh-filter-out-non-text): New function to filter out attachments
9938 from message being yanked.
9939
9940 2002-05-20 Bill Wohler <Bill.Wohler@openwave.com>
9941
9942 * mh-utils.el (mh-invisible-headers-show-xface): First sentence of
9943 docstring was not entirely on first line so was truncated in
9944 customize and help buffers. Reworded so first sentence could fit
9945 within 80 columns per checkdoc recommendation.
9946 (mh-defun-show-buffer): Reworded per checkdoc recommendations.
9947 Removed @SD while I was in there.
9948
9949 2002-05-18 Satyaki Das <satyaki@theforce.stanford.edu>
9950
9951 * mh-seq.el (mh-narrow-to-seq): This function now removes the
9952 current message notation in the folder. Otherwise, two current
9953 message notations may be present after mh-widen is called. Also
9954 mh-copy-seq-to-eob is called instead of mh-copy-seq-to-point since
9955 the latter has a bug.
9956 (mh-copy-seq-to-point): This function has a tricky problem. It
9957 calls mh-map-to-seq-msgs which uses mh-goto-msg. mh-goto-msg
9958 assumes that the folder is sorted (since it uses binary
9959 search). The assumption isn't true, so it may not copy all the
9960 messages. Since this function is not used any more it has been
9961 removed.
9962 (mh-copy-seq-to-eob): This function is a specialized (and
9963 hopefully correct) replacement for mh-copy-seq-to-point.
9964
9965 2002-05-17 Satyaki Das <satyaki@theforce.stanford.edu>
9966
9967 * mh-utils.el (mh-gnus-article-highlight-citation): Workaround for
9968 problem caused by low value of recursive-load-depth-limit in
9969 Emacs21.1 and CVS version of Gnus.
9970 (mh-show-mode-map): New keymap variable to facilitate use of
9971 summary commands from the show buffer.
9972 (mh-show-folder-buffer): New local variable which keeps track of
9973 the folder-buffer corresponding to the message being shown.
9974 (mh-defun-show-buffer): New macro to convert interactive functions
9975 callable in the summary buffer to interactive functions callable
9976 in the show buffer.
9977 (mh-show-mode): Make buffer read-only and use mh-show-mode-map as
9978 keymap (closes SF #527946).
9979 (mh-modify): New interactive function to edit a message in-place.
9980
9981 * mh-e.el (mh-goto-cur-msg): Add an optional argument,
9982 minimal-changes-p. If non-nil, the function will just change
9983 the point to current message and do not change folder display.
9984 (mh-folder-mode-map): Make "M" call mh-modify.
9985
9986 2002-05-07 Peter S Galbraith <psg@debian.org>
9987
9988 * mh-utils.el (mh-invisible-headers-show-xface): New defcustom
9989 variable. If non-nil, the X-Face header line will be excluded from
9990 the variable `mh-invisible-headers'. Set this when using a
9991 package such as x-face-el to display X-Face icons in mh-show-mode.
9992 This variable's setting will eventually be set automatically when
9993 mh-e does its own X-Face decoding (or this variable will be replaced
9994 by one telling mh-e to decode the X-Face). We may not ship the
9995 next release with this variable.
9996
9997 2002-05-07 Peter S Galbraith <psg@debian.org>
9998
9999 * mh-comp.el (mh-x-face-file): New defcustom variable. File name
10000 containing the encoded X-Face string to insert in outgoing mail.
10001 (mh-insert-x-face): New function. Appends an X-Face field to the
10002 header, but only if it doesn't already exist and if 'mh-x-face-file'
10003 is non-nil and points to an existing file.
10004 (mh-send-letter): Invoke mh-insert-x-face.
10005
10006 2002-04-29 Mike Kupfer <m.kupfer@acm.org>
10007
10008 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Check
10009 whether XEmacs region is actually active (needed at least for 21.1).
10010 [Patch committed by psg]
10011
10012 2002-04-29 Mike Kupfer <m.kupfer@acm.org>
10013
10014 * mh-utils.el (mh-prompt-for-folder): Remove "default" argument
10015 from completing-read as XEmacs-21.1 doesn't have it (21.4 does
10016 however) and using the argument adds no functionality.
10017 [Patch committed by psg]
10018
10019 2002-04-11 Peter S Galbraith <psg@debian.org>
10020
10021 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Add support for
10022 XEmacs to act on selected region when active.
10023
10024 2002-04-10 Peter S Galbraith <psg@debian.org>
10025
10026 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): XEmacs fix; Add
10027 check to see if mark-active is bound, because Mandrake Linux include
10028 XEmacs initialization code that binds transient-mark-mode. This
10029 fix gets around a problem in Mandrake only. It wasn't a problem
10030 on XEmacs generally. Fixes SF #541915.
10031
10032 2002-04-08 Bill Wohler <wohler@newt.com>
10033
10034 Released mh-e version 6.1.
10035
10036 * mh-e.el (mh-folder-unseen-seq-name): Use "mhparam -component
10037 Unseen-Sequence" command and "Unseen-Sequence: \\(.*\\)$" regexp
10038 to increase robustness.
10039 (mh-folder-unseen-seq-list): Use `expand-file-name' as
10040 `mh-expand-file-name' isn't needed and the former saves function
10041 call.
10042 (Version, mh-version): Updated for release 6.1.
10043
10044 2002-04-08 Peter S Galbraith <psg@debian.org>
10045
10046 * mh-e.el (mh-folder-unseen-seq-list): Specify mh-progs path in
10047 call to mark command. Fixes a bug in which unseen messages
10048 weren't highlighted if "mark" wasn't in the path.
10049
10050 2002-04-07 Bill Wohler <wohler@newt.com>
10051
10052 * MH-E-NEWS: Updated for release 6.1.
10053
10054 * README: Updated for release 6.1. Updated verbiage about reading
10055 MH-E-NEWS.
10056
10057 * mh-comp.el, mh-e.el, mh-funcs.el, mh-mime.el, mh-seq.el,
10058 mh-utils.el, mh-xemacs-compat.el: Updated copyright in files
10059 modified this year.
10060
10061 * mh-xemacs-compat.el: Put Author field back in, but set to FSF.
10062
10063 * mh-comp.el, mh-funcs.el, mh-mime.el, mh-seq.el,
10064 mh-utils.el: Fixed all checkdoc errors, except for no
10065 documentation, and documentation in comments. Also removed the-
10066 prefix from certain local variables.
10067
10068 * mh-e.el: Fixed all checkdoc errors, except for no documentation,
10069 and documentation in comments. Also removed the- prefix from
10070 certain local variables.
10071 (mh-folder-unseen-seq-name): Refactored to make default sequence
10072 name more explicit and to handle undefined Unseen-Sequence MH
10073 profile entry better.
10074
10075 2002-04-02 Peter S Galbraith <psg@debian.org>
10076
10077 * mh-e.el: 'defvar mh-folder-unseen-seq-name' called a function to
10078 set it's value, and this happens also on byte-compilation (where
10079 it can fail if the user's MH environment is not setup correctly).
10080 I now set the value of mh-folder-unseen-seq-name at runtime when I
10081 first need it. This should fix Debian bugs
10082 http://bugs.debian.org/140232 and http://bugs.debian.org/140817
10083
10084 2002-03-25 Peter S Galbraith <psg@debian.org>
10085
10086 * mh-utils.el: remove "(require 'mh-e)" since mh-utils.el should
10087 be at the bottom of the dependency tree.
10088 * mh-e.el (mh-folder-unseen-seq-name): Make sure mh-progs is set
10089 and use it as path to mhparam command in call-process.
10090
10091 2002-01-23 Peter S Galbraith <psg@debian.org>
10092
10093 * mh-e.el (mh-folder-font-lock-keywords): Add call to
10094 mh-folder-font-lock-unseen to fontify unseen messages in bold.
10095 (mh-folder-unseen-seq-name): Provide name of unseen sequence from
10096 mhparam. Used as default for variable of same name.
10097 (mh-folder-unseen-seq-list): Returns a list of unseen messages
10098 numbers for current folder.
10099 (mh-folder-unseen-seq-cache): Cache variable to hold list of
10100 unseen message numbers while font-lock iterates. This variable is
10101 buffer-local.
10102 (mh-folder-font-lock-unseen): Returns unseen message lines to
10103 font-lock one by one.
10104
10105 2002-01-15 Peter S Galbraith <psg@debian.org>
10106
10107 * mh-comp.el (mh-insert-prefix-string): Wrap a
10108 "(let ((zmacs-regions nil))" around (mark) so it works in XEmacs.
10109 Bug reported and fix suggested by Will Partain <partain@dcs.gla.ac.uk>
10110 Indeed, this is how it appears in XEmacs-21's mh-comp.el.
10111
10112 2001-12-16 Jeffrey C Honig <jch@honig.net>
10113
10114 * mh-comp.el (mh-forward): Move the assignment to `fwd-msg-file'
10115 to before the assignment to `draft' as the later changes buffers
10116 and invalidates `mh-seq-list' (which is used in a function called
10117 by (mh-seq-to-msgs)). Resolves SF #489448.
10118
10119 * mh-utils.el: Add defcustoms for `mh-temp-folders-buffer' and
10120 `mh-temp-sequences-buffer'.
10121
10122 * mh-e.el (mh-quit): If they exist, kill 'mh-temp-buffer,
10123 'mh-temp-folders-buffer and 'mh-temp-sequences-buffer when
10124 quitting.
10125
10126 * mh-funcs.el (mh-list-folders): Use `mh-temp-folders-buffer'
10127 (a defcustom initialized to "*Folders*") for folder listing. Put
10128 into view mode and set it up to kill the buffer when exiting view
10129 mode.
10130
10131 * mh-seq.el (mh-list-sequences): Use `mh-temp-sequences-buffer'
10132 (a defcustom initialized to "*Sequences") for sequences listing.
10133 Put into view mode and set it up to kill the buffer when exiting
10134 view mode.
10135
10136 2001-12-16 Bill Wohler <wohler@newt.com>
10137
10138 Released mh-e version 6.0.
10139
10140 * MH-E-NEWS: Be a little more specific about incompatible changes.
10141 Added info about outdated manual.
10142 Removed variables in mh-scan regexp table that did not exist in
10143 5.0.2.
10144 Added helpful documentation about finding relevant variables
10145 containing regexps to mh-scan-format-file's description.
10146
10147 * mh-e.el (mh-scan-format-file): Added information about getting a
10148 list of regexp variables that you'll need to change if you
10149 customize your scan's output.
10150 (mh-folder-mode): Added documentation about `mh-scan-format-file'
10151 for those users who modify their scan formats.
10152
10153 * README: New file. Describes packages and provides simple
10154 installation instructions.
10155
10156 * Makefile (clean, dist, install-emacs): Replaced $(RM) with rm
10157 -rf (closes SF #488661).
10158
10159 2001-12-14 Bill Wohler <wohler@newt.com>
10160
10161 Released mh-e version 5.0.93.
10162
10163 * Makefile (MH-E-SRC): Added mh-xemacs-compat.el.
10164 (MH-E-IMG): Added .pbm images for all. Removed mail_ prefix from
10165 all.
10166 (MH-E-IMG2): New variable to hold images in mail sub-directory.
10167 (dist): Updated target to make mail sub-directory and copy
10168 MH-E-IMG2 images there.
10169
10170 * mh-xemacs-compat.el: Modified docs per GNU coding conventions.
10171
10172 * mh-e.el: Reorganized variables having to do with the scan line.
10173 Moved some random variables that were interspersed out of the
10174 middle. Moved `mh-scan-format-file' first and let the variables
10175 flow from there.
10176
10177 As the number of variables increases, it is becoming important to
10178 organize the mh-e namespace. Several variables having to do with
10179 the format of scan lines were renamed, as follows:
10180 (mh-good-msg-regexp): Renamed to mh-scan-good-msg-regexp.
10181 (mh-deleted-msg-regexp): Renamed to mh-scan-deleted-msg-regexp.
10182 (mh-refiled-msg-regexp): Renamed to mh-scan-refiled-msg-regexp.
10183 (mh-valid-scan-line): Renamed to mh-scan-valid-regexp.
10184 (mh-cur-msg-number-regexp): Renamed to mh-scan-cur-msg-number-regexp.
10185 (mh-cur-msg-line-regexp): Renamed to mh-scan-cur-msg-regexp.
10186 (mh-scan-rcpt-addr-regexp): Renamed to mh-scan-rcpt-regexp.
10187 (mh-scan.font-lock-regexp): Renamed to mh-scan-format-regexp.
10188 (mh-folder-scan-font-lock-face): Renamed to
10189 mh-folder-scan-format-face.
10190 (mh-folder-cur-msg-line-face): Renamed to mh-folder-cur-msg-face).
10191
10192 2001-12-13 Bill Wohler <wohler@newt.com>
10193
10194 * mh-utils.el (mh-msg-number-regexp): Renamed to
10195 mh-scan-msg-number-regexp.
10196 (mh-msg-search-regexp): Renamed to mh-scan-msg-search-regexp.
10197
10198 * Corrected typos, quoted variables in doc strings, and made minor
10199 wording changes in docs.
10200
10201 2001-12-13 Peter S Galbraith <psg@debian.org>
10202
10203 * mh-xemacs-compat.el: defalias 'match-string-no-properties to
10204 'match-string for XEmacs. I've seen a better function for this
10205 that actually removes text properties, but this will do for now.
10206
10207 * mh-utils.el (mh-decode-quoted-printable): deactivate-mark not
10208 bound in XEmacs.
10209
10210 * mh-xemacs-compat.el: GNU Emacs Functions needed by XEmacs.
10211 New file.
10212 * mh-e.el: (require 'mh-xemacs-compat) when running XEmacs.
10213
10214 2001-12-12 Peter S Galbraith <psg@debian.org>
10215
10216 * mh-comp.el (mh-send-letter): function local-variable-p needs two
10217 arguments in XEmacs.
10218 (mh-send-letter): sendmail-coding-system not bound in XEmacs.
10219 (mh-send-letter): default-buffer-file-coding-system not bound in
10220 Xemacs.
10221
10222 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo):
10223 transient-mark-mode not bound in XEmacs. The feature of
10224 operations made on all messages in the selected range when
10225 transient-mark-mode is on doesn't work in XEmacs.
10226
10227 * mh-e.el, mh-utils: Conditionalize calls to
10228 'add-to-list 'facemenu-unlisted-faces for XEmacs.
10229
10230 2001-12-11 Jeffrey C Honig <jch@honig.net>
10231
10232 * mh-e.el (mh-scan-format): Add `mh-scan-format-file' variable to
10233 specify the scan format string or file to use. Define formats for
10234 MH and nmh that are compatible with the standard format, but
10235 provide hints for font-lock. Define (mh-scan-format) for use by
10236 (mh-regenerate-headers) and (mh-get-new-mail) to specify the args
10237 necessary to inform the scan program which scan format string or
10238 file to use.
10239
10240 2001-12-07 Peter S Galbraith <psg@debian.org>
10241
10242 * mh-e.el (scan.font-lock): New format file documented in comments.
10243 (mh-scan.font-lock-regexp): Adapted to new format.
10244 (mh-folder-font-lock-keywords): Use new format.
10245
10246 * mh-e.el (page-down.xpm): Icon renamed from nextpage.
10247
10248 * mh-utils.el (mh-decode-quoted-printable): Bug fix. Better check
10249 on what actually is a quoted-printable attachment.
10250
10251 2001-12-06 Eric Ding <ericding@alum.mit.edu>
10252
10253 * mh-mime.el (mh-mhn-compose-insertion, mh-mhn-compose-anon-ftp):
10254 require mailcap.el here rather than using autoload at top of
10255 mh-mime.
10256 (mh-file-mime-type): get rid of unused variables (why were they
10257 there to begin with?)
10258
10259 2001-12-06 Peter S Galbraith <psg@debian.org>
10260
10261 * mh-e.el (mh-cur-msg-number-regexp, mh-cur-msg-line-regexp):
10262 mh-cur-scan-msg-regexp splits into these two variables.
10263 The whole-line fontification is disabled, but easily restored by a
10264 user (although it could be a defcustom with choices DISABLED or
10265 the correct regexp?)
10266 (mh-folder-cur-msg-line-face): mh-folder-current-msg-face renamed
10267 to this.
10268 (mh-folder-cur-msg-number-face): mh-folder-current-face renamed to
10269 this.
10270
10271 * cabinet.xpm: Revert to rescan icon name.
10272 * mh-e.el (mh-folder-tool-bar-map): s/cabinet/rescan/
10273
10274 * mh-e.el (mh-folder-font-lock-keywords): Reorder and tweak such
10275 that current message line highlight doesn't mess up other highlights.
10276
10277 2001-12-05 Eric Ding <ericding@alum.mit.edu>
10278
10279 * mh-utils.el (mh-show-from-face): Change mh-show-from-face to
10280 cyan on dark backgrounds; through a series of changes, it had
10281 become the same color as mh-show-subject-face!
10282
10283 2001-12-05 Bill Wohler <Bill.Wohler@openwave.com>
10284
10285 * mh-e.el, mh-utils.el: Fixed typos in face definitions, and made
10286 a couple of small doc string tweaks while I was in there. Peter,
10287 if you don't agree, let me know and I'll back them out. I thought
10288 the "mh-e" in the text was redundant since the variables start
10289 with "mh"; I was also thinking ahead to how the documentation may
10290 read.
10291
10292 2001-12-05 Peter S Galbraith <psg@debian.org>
10293
10294 * mh-e.el (mh-cur-scan-msg-regexp): Match 0 is the whole line.
10295 (mh-folder-current-msg-face): New face with only a background
10296 settings, used in font-lock for the current message.
10297 (mh-folder-font-lock-keywords): Use mh-folder-current-msg-face for
10298 mh-cur-scan-msg-regexp.
10299
10300 * mh-utils.el (mh-show-from-face): Use red3 instead of red for
10301 light backgrounds. It's not as bright on the eyes.
10302 (mh-show-subject-face): copy from mh-folder-subject-face instead.
10303 Makes the look consistent with folder-mode.
10304
10305 * mh-e.el (mh-folder-subject-face): Moved to mh-utils since we
10306 need it to copy to mh-show-subject-face.
10307
10308 2001-12-05 Bill Wohler <wohler@newt.com>
10309
10310 * mh-e.el (mh-folder-mode-map): Moved `mh-extract-rejected-mail'
10311 from "a" to "E". Better mnemonic, nicer to folks used to using a
10312 for `mh-reply'.
10313
10314 2001-12-04 Bill Wohler <wohler@newt.com>
10315
10316 * mh-e.el (mh-folder-map): Added "S" for `mh-sort-folder'.
10317
10318 2001-12-04 Peter S Galbraith <psg@debian.org>
10319
10320 * mh-e.el (mh-folder-subject-face et al.): Yet another attempt at
10321 colours for folder-mode. Still themed, but fewer and darker
10322 colours (Blame Eric this time!). I'll get to underlining tomorrow
10323 night.
10324
10325 * mh-e.el (mh-folder-tool-bar-map): Renamed all icons so they
10326 don't have the word mail in them. Also generated a pbm format of
10327 each icon for users without XPM support conpiled into Emacs.
10328
10329 2001-12-04 Eric Ding <ericding@alum.mit.edu>
10330
10331 * mh-utils.el (mh-show-font-lock-keywords): Use
10332 mh-header-subject-font-lock instead of regexp for subject headers,
10333 which may go multiple lines.
10334 (mh-header-subject-font-lock): New function.
10335 Fix typos (hightlight -> highlight).
10336
10337 2001-12-04 Eric Ding <ericding@alum.mit.edu>
10338
10339 * mh-e.el: changes to face colors on dark backgrounds.
10340 (mh-folder-followup-face): change to LightGoldenRod.
10341 (mh-folder-date-face): change to snow3.
10342 (mh-folder-msg-number-face): change to snow4.
10343
10344 2001-12-04 Bill Wohler <wohler@newt.com>
10345
10346 Released mh-e version 5.0.92.
10347
10348 * mh-utils.el (gnus-cite-face-list)
10349 (mh-gnus-article-highlight-citation): Don't autoload. Revert to
10350 requiring in `mh-gnus-article-highlight-citation' as before. With
10351 the autoloads, if you ran mh-e before gnus, you'd get an undefined
10352 gnus variable when viewing an article in gnus. Go figure.
10353
10354 2001-12-03 Bill Wohler <wohler@newt.com>
10355
10356 Released mh-e version 5.0.91.
10357
10358 * MH-E-NEWS: Removed info about bumping up `max-specpdl-size' now
10359 that workaround has been implemented.
10360
10361 * Makefile (MH-E-OBJ): New variable to hold .elc files.
10362 (all): Just compile.
10363 (clean): New target that blows away MH-E-OBJ.
10364 (dist): Added $(MH-E-OBJ) to tarball.
10365
10366
10367 Attempt to quiet compilation errors to a dull roar.
10368
10369 * mh-e.el: Require easymenu, added autoload of info.
10370 (mh-smail, mh-smail-other-window): Comment says these were needed
10371 by Emacs 18. Out!
10372
10373 * mh-utils.el: Don't require sendmail, but require mh-e.
10374 Moved autoloads to top of file, and autoload gnus-cite and
10375 sendmail too.
10376
10377 * mh-pick.el: Require easymenu. Remove cond on
10378 `easy-menu-define'--it exists.
10379
10380 * mh-mime.el: Autoload mailcap.
10381
10382 * mh-comp.el: Require mh-e and easymenu, moved autoloads to top of
10383 file.
10384
10385
10386 * Makefile: (EMACS): New constant to hold emacs calling sequence.
10387 (install): Renamed to install-emacs.
10388 (compile): New target to compile all files.
10389 (dist): Make dependent on compile.
10390 (import): Renamed to import-emacs.
10391 (%.elc): New implicit rule to compile elisp files.
10392
10393 * mh-e.el (mh-thread-map): Added "Td" for
10394 mh-delete-subject-thread.
10395
10396 2001-12-03 Peter S Galbraith <psg@debian.org>
10397
10398 * mh-e.el (mh-folder-tool-bar-map): Change tooltip for exec icon.
10399
10400 * mh-e.el (mh-folder-subject-face): Change to IndianRed1.
10401 (mh-folder-followup-face): Change to IndianRed.
10402 (mh-folder-deleted-face): Use sedate face instead of bright one.
10403
10404 2001-12-03 Bill Wohler <wohler@newt.com>
10405
10406 * mh-utils.el (mh-invisible-headers): Increase size of
10407 `max-specpdl-size' locally to work around insufficient default.
10408 (mh-invisible-headers): Added X-Info and X-VSMLoop (NTMail).
10409
10410 2001-12-03 Jeffrey C Honig <jch@honig.net>
10411
10412 * mh-utils.el (mh-find-progs): Searches should not stop if the
10413 strings are not found, there is error detection at the end of the
10414 routine (closes SF #488231).
10415
10416 2001-12-02 Bill Wohler <wohler@newt.com>
10417
10418 * MH-E-NEWS: Added info about bumping up `max-specpdl-size'.
10419
10420 * Makefile (MH-E-IMG): New variable that contains images used by
10421 mh-e. Add these files to release.
10422
10423 * MH-E-NEWS: Second draft of mh-e 6.0 (was 5.1) release notes.
10424
10425 * mh-e.el (mh-folder-updated-hook): Reworded to avoid ambiguity.
10426 Is the hook called when you type `d' or when you type `x'?
10427 (mh-unseen-updated-hook): Reworded to be consistent with
10428 `mh-folder-updated-hook.'
10429
10430 * mh-utils.el (mh-recenter): Accepted Gerd's change which is
10431 evaluated at compile time.
10432
10433 2001-12-02 Bill Wohler <wohler@newt.com>
10434
10435 * mh-e.el Major, major keymap changes. The specific changes are
10436 listed below, but view the sources, or use "C-h m" in MH Folder
10437 mode for the complete list.
10438
10439 Use of sub-keymaps inspired by gnus. The changes tripped me up at
10440 first too, but after about 5 minutes of shock (which is to be
10441 expected, I've been using the old keybindings for 16 years), I
10442 honestly found the new bindings to be nice indeed. It will also
10443 provide flexibility to allow for future functionality. I hate to
10444 do this on the eve of the beta release, but you asked for it! It's
10445 likely I'll have to pull an Eric and back this change out, but if
10446 we can live with pink subjects, this can't be so bad ;-).
10447 Question: will the users revolt? If they do, I suppose we can
10448 release 6.0.1 the next day ;-).
10449 (mh-folder-map, mh-sequence-map, mh-extract-map, mh-digest-map):
10450 New keymaps which start with F, S, X, and D, respectively. The
10451 mhstore commands can go in the mh-extract-map eventually.
10452 (mh-thread-map): Renamed from mh-folder-thread-map.
10453
10454 Keymap changes and rationale. The sub-keymaps allowed some
10455 consistency (e.g., esp. with l(ist) and k(ill).
10456
10457 e Deleted. Already have x. Now used by mh-edit-again.
10458 a Deleted. Already have r. Now used by mh-extract-rej..
10459 j Deleted. Already have g.
10460
10461 M-a -> e Better mnemonic. Matches rmail. Frees movement cmd.
10462 M-e -> a Try `a'gain!
10463
10464 M-f -> Fv Frees movement command
10465 M-f -> Ff Alias (keep?)
10466 M-f -> Fo Alias (keep?)
10467 M-k -> Fk No reason but to keep with folder commands
10468 M-l -> Fl No reason but to keep with folder commands
10469 M-p -> Fp No reason but to keep with folder commands
10470 M-r -> Fr Frees movement command
10471 M-s -> Fs No reason but to keep with folder commands
10472 M-u -> Fu No reason but to keep with folder commands
10473
10474 M-% -> Sd Better mnemonic
10475 M-# -> Sk Better mnemonic
10476 M-q -> Sl Better mnemonic
10477 C-xn -> Sn Frees up standard key binding
10478 % -> Sp Better mnemonic for putting a message in a sequence
10479 ? -> Ss Shows sequences that message is in
10480 C-xw -> Sw Frees up standard key binding
10481
10482 M-n -> Xs Better mnemonic (shar)
10483 M-n -> Xu Better mnemonic (uuencode)
10484
10485 M-SPC -> DSPC Frees mark command
10486 M-\177 -> D\177 No reason but to keep with digest commands
10487 M-b -> Db Frees movement command
10488
10489 2001-12-01 Bill Wohler <wohler@newt.com>
10490
10491 * mh-e.el: Use gnus style of keymaps. Now requires gnus-util.
10492 (mh-folder-thread-map): New map, created by gnus-define-keys.
10493 Reached when typing T in mh-folder-mode-map. Moved threading
10494 functions to this new keymap so we can use dired again.
10495 (mh-folder-mode-map): Defined by gnus-define-keys. Otherwise than
10496 the new threading functions, no changes to the UI were made at
10497 this point--saving that for the next check-in.
10498
10499 * mh-pick.el (mh-pick-mode-map): Use gnus-define-keys. Now
10500 requires gnus-util.
10501
10502 * mh-comp.el (mh-letter-mode-map): Use gnus-define-keys. Now
10503 requires gnus-util.
10504
10505 2001-12-01 Jeffrey C Honig <jch@honig.net>
10506
10507 * mh-e.el: Update the documentation for the regexps used by
10508 `mh-folder-font-lock-keywords' to specify how many parethesized
10509 expressions they are expected to have and what those expressions
10510 are expected to match.
10511
10512 2001-12-01 Bill Wohler <wohler@newt.com>
10513
10514 * mh-e.el (mh-folder-mode): Removed iteration of key bindings,
10515 \\{mh-folder-mode-map} suffices. Removed variable documentation
10516 also as this is already out of date and a maintenance hassle.
10517 Reference new mh customization group instead.
10518
10519 * mh-comp.el (mh-letter-mode): Ditto. Also added new information
10520 about MIME directives getting processed automatically if inserted
10521 via mh-e commands.
10522
10523 * mh-pick.el (mh-pick-mode): Edited documentation so it reads like
10524 the other modes.
10525
10526 * mh-e.el (mh-compat-quit): Deleted obsolete and unused function.
10527 Comment in this function said that `b' shouldn't be used for
10528 burst-digest, as it is used for `back' in info, less, and rn. But
10529 what does `back' mean in MH Folder? I suppose if you visit a
10530 folder, you would go `back' to the original folder. Hmmm, I guess
10531 we'll leave the `b' binding alone for now.
10532
10533 * mh-utils.el: Moved some of the variable comments to the first
10534 column so they wouldn't wrap in such an ugly fashion.
10535 (mh-showing-mode): Renamed variable and function from mh-showing
10536 to conform with minor mode conventions. Added optional arg to
10537 function so it would behave like a normal minor mode: no or nil
10538 arg toggles mode, 0 arg turns off, non-nil turns on. It also turns
10539 out that desktop-create-buffer would barf when recreating mh-e
10540 buffers because it was calling mh-show with an arg.
10541 (mh-show-mode): Use define-derived-mode to simplify definition a
10542 *lot*.
10543 (mh-set-mode-name): Deprecated by use of define-derived-mode.
10544 Removed.
10545
10546 * mh-pick.el (mh-pick-mode): Use define-derived-mode to simplify
10547 definition a *lot*.
10548
10549 * mh-e.el (mh-scan-prog): Removed message about "Buffer local" as
10550 this message will appear in a future version of Emacs.
10551 (mh-inc-folder): mh-showing renamed to mh-show-mode and made a
10552 real minor mode.
10553 (mh-folder-mode): Use define-derived-mode to simplify definition a
10554 *lot*.
10555
10556 * import-emacs (release): Change `(none)' to `mainline' so import
10557 doesn't choke after running `cvs up -A' on Emacs.
10558 (COPYING): Moved from $EMACS_HOME/etc to $EMACS_HOME.
10559 (cvs update): Whoops! Forgot the second join (-jemacs).
10560 make import works fine again.
10561
10562 2001-11-30 Peter S Galbraith <psg@debian.org>
10563
10564 * mh-e.el (mh-folder-font-lock-keywords): Change order of
10565 font-lock patterns such that subject body text doesn't get date
10566 fontification.
10567
10568 * mh-e.el (mh-scan-subject-regexp): Bug fix. Remove a dot.
10569 scan.font-lock users have to setq it separately.
10570
10571 2001-11-30 Eric Ding <ericding@alum.mit.edu>
10572
10573 * mh-utils.el (mh-clean-msg-header): Go back to using
10574 mh-delete-line. Using invisible text property is nicer in some
10575 ways, but winds up with somewhat mysterious behavior should user
10576 kill/yank stuff from the header (i.e., text gets yanked invisibly
10577 and won't be seen by user until file is reloaded).
10578
10579 2001-11-29 Bill Wohler <wohler@newt.com>
10580
10581 * mh-e.el (mh-page-msg): Use mh-next-direction to page in the
10582 right direction.
10583
10584 2001-11-29 Jeffrey C Honig <jch@honig.net>
10585
10586 * mh-e.el (mh-scan-folder): Fix logic to not attempt to go to
10587 the current message if there are no messages in the folder.
10588
10589 2001-11-29 Peter S Galbraith <psg@debian.org>
10590
10591 * mh-e.el (mh-folder-font-lock-subject): New fontifier function
10592 for subject lines in folder-mode
10593 (mh-scan-followup-regexp): Deleted obsolete regexp. Use
10594 mh-scan-subject-regexp instead.
10595 (mh-folder-font-lock-keywords): Use mh-folder-font-lock-subject
10596 instead of obsolete mh-scan-followup-regexp variable.
10597 (mh-folder-date-face, mh-folder-msg-number-face):
10598 (mh-folder-subject-face, mh-folder-followup-face):
10599 Now defined as proper faces instead of copied from font-lock
10600 faces.
10601
10602 * mh-mime.el (mh-media-type-regexp): New variable. Regexp matching
10603 valid media types used in MIME attachment compositions.
10604 (mh-file-mime-type): Use mh-media-type-regexp instead of
10605 hard-wiring its value.
10606
10607 * mh-utils.el (mh-show-unquote-From): New function to unquote
10608 "^>From" in mh-show-mode (not saved to disk).
10609 (mh-show-mode): Call mh-show-unquote-From.
10610
10611 2001-11-29 Eric Ding <ericding@alum.mit.edu>
10612
10613 * mh-utils.el (mh-clean-msg-header): Use mh-make-line-invisible
10614 rather than mh-delete-line.
10615 (mh-make-line-invisible): New function to make line(s) invisible
10616 rather than deleting line(s). Optional argument specifies number
10617 of lines to delete.
10618 (mh-show-msg): screen-height has been deprecated; use no more.
10619 (mh-notate): screen-width has been deprecated; use no more.
10620
10621 2001-11-29 Jeffrey C Honig <jch@honig.net>
10622
10623 * mh-utils.el: (mh-find-progs): Change mh-find-progs to rely on
10624 the existence of mhparam. The location of mhparam is used to find
10625 `mh-progs'. It uses the libdir and etcdir to find the
10626 `mh-lib-progs' and `mh-lib' directories. If etcdir doesn't return
10627 anything we assume `mh-lib-progs' is the same as `mh-lib' and that
10628 we are using MH instead of nmh.
10629
10630 2001-11-29 Peter S Galbraith <psg@debian.org>
10631
10632 * mh-e.el (mh-scan.font-lock-regexp): Change docs to reflect that
10633 second paren expression is the user match.
10634 (mh-folder-font-lock-keywords): Change from 1st to 2nd parenthesized
10635 expression to match user name, after Jeffrey's change to the regexps.
10636
10637 2001-11-29 Bill Wohler <Bill.Wohler@openwave.com>
10638
10639 * mh-utils.el (mh-clean-message-header): Default is now t.
10640 (mh-invisible-headers): Padded out to contain all the headers that
10641 the mh-e developers don't like to see (closes SF #415759).
10642
10643 2001-11-28 Bill Wohler <Bill.Wohler@openwave.com>
10644
10645 * mh-comp.el (mh-rejected-letter-start): Added MIME MDN. While
10646 this allows mh-extract-rejected-mail to strip the start of the
10647 MDN, there is still a closing MIME marker at the end. This should
10648 be cleaned up eventually.
10649
10650 2001-11-28 Peter S Galbraith <psg@debian.org>
10651
10652 * mh-e.el (mh-folder-seq-tool-bar-map): New tool-bar used for
10653 folder-mode when narrowed to sequence.
10654 * mh-seq.el (mh-narrow-to-seq): Set tool-bar to
10655 mh-folder-seq-tool-bar-map.
10656 (mh-widen): Set tool-bar to mh-folder-tool-bar-map.
10657 * widen.xpm: New icon used in mh-folder-seq-tool-bar-map.
10658
10659 * mh-mime.el (mh-file-mime-type): Much better check on validity of
10660 'file' output.
10661
10662 * mh-e.el (mh-scan-subject-regexp): New regexp variable for
10663 subject string in folder mode. Used to extract subject sequence,
10664 and will be used for font-lock soon.
10665 * mh-seq.el (mh-subject-thread-to-sequence): More robust code by
10666 using mh-scan-subject-regexp, allows users with non-standard
10667 scan format to use subject sequences.
10668
10669 * mh-comp.el (mh-letter-fill-column): Fill column to use in
10670 mh-letter-mode. (Yes, I'm doing this in spite of what Bill said;
10671 Someone can always undo it later)
10672 (mh-letter-mode): setq fill-column to mh-letter-fill-column.
10673
10674 2001-11-28 Bill Wohler <wohler@newt.com>
10675
10676 * mh-e.el (mh-page-msg): The first time the end of page is hit,
10677 set mh-page-to-next-msg-p to t. The second time the end of page is
10678 hit, go to the next message.
10679
10680 * mh-utils.el: (mh-show-msg): Initialize mh-page-to-next-msg-p to
10681 nil.
10682
10683 2001-11-27 Bill Wohler <wohler@newt.com>
10684
10685 * mh-mime.el (mh-mime-content-types): Updated list of types to
10686 contain types used by mh-e developers, but not including types not
10687 listed in
10688 http://www.isi.edu/in-notes/iana/assignments/media-types/media-types.
10689
10690 2001-11-27 Peter S Galbraith <psg@debian.org>
10691
10692 * mh-seq.el (mh-subject-thread-to-sequence) New function placing
10693 all messages with similar subject line into a sequence named
10694 'subject.
10695 (mh-narrow-to-subject-thread): New command to narrow to all
10696 messages with similar subject line into a sequence named 'subject.
10697 (mh-toggle-subject-thread): New command to toggle between a new
10698 'subject sequence or the wide view of a folder.
10699 (mh-delete-subject-thread): New command to delete all following
10700 messages with similar subject lines (leaving preceeding ones
10701 untouched).
10702 (mh-next-unseen-subject-thread): New command to create and move to
10703 a new subject thread created from the next unseen message as a
10704 starting point.
10705 * mh-e.el (mh-folder-message-menu): New menu entries for subject
10706 threads.
10707 (mh-folder-mode-map): New keybindings for subject threads.
10708 (mh-lessp): New function to sort messages.
10709
10710 * mh-utils.el (mh-show-font-lock-keywords): and various
10711 faces... scoped within eval-after-load "font-lock" to avoid
10712 requiring font-lock to use its faces.
10713 * mh-e.el (mh-folder-font-lock-keywords): Same.
10714
10715 2001-11-27 Jeffrey C Honig <jch@honig.net>
10716
10717 * mh-mime.el (mh-file-mime-type): Use mh-temp-buffer instead of
10718 " *mh-temp".
10719
10720 * mh-comp.el (mh-insert-x-mailer): Kill mh-temp-buffer after use.
10721
10722 2001-11-26 Eric Ding <ericding@alum.mit.edu>
10723
10724 * mh-utils.el: revert to using external mimedecode to decode
10725 MIME quoted-printable parts
10726
10727 2001-11-26 Jeffrey C Honig <jch@honig.net>
10728
10729 * mh-e.el (mh-process-commands): Added mh-folder-updated-hook.
10730 * mh-e.el (mh-update-unseen): Added mh-unseen-updated-hook.
10731
10732 2001-11-26 Peter S Galbraith <psg@debian.org>
10733
10734 * mh-mime.el (mh-file-mime-type): Make sure output from file
10735 command is known to mailcap file, otherwise prompt the user.
10736 (mh-mime-content-types): Add "image/png" type.
10737
10738 * mh-e.el (mh-folder-font-lock-keywords): Use a bunch of new
10739 mh-folder-*-face faces.
10740 * mh-utils.el (mh-show-font-lock-keywords): Use a bunch of new
10741 mh-show-*-face faces.
10742
10743 * mh-utils.el (mh-letter-header-font-lock): Bug fix. Fix infinite
10744 loop in emacs20 font-locking.
10745 (mh-header-field-font-lock): Preventive fix with similar change.
10746
10747 * mh-comp.el (mh-reply-show-message-p): Typo. diplayed -> displayed.
10748 * MH-E-NEWS: Same.
10749
10750 * mh-e.el (mh-folder-tool-bar-map): Bug fix. I had
10751 mh-repack-folder instead of mh-pack-folder.
10752
10753 2001-11-26 Bill Wohler <wohler@phone.com>
10754
10755 * mh-e.el:
10756 Updated header for consistency and to conform with (elisp)Library
10757 Headers.
10758 (mh-do-not-confirm): Updated documentation string to reflect
10759 reality (e.g., is no longer used by mh-kill-folder and is used by
10760 more functions than just mh-undo-folder).
10761 (mh-page-msg): Now shows the next undeleted message if looking at the
10762 bottom of the current message.
10763 (mh-process-or-undo-commands): Fixed indentation.
10764
10765 * mh-mime.el:
10766 (mh-mhn-compose-insertion, mh-mhn-compose-anon-ftp): If MIME type
10767 cannot be determined with file command, use mailcap-mime-types (if
10768 available) to provide list for completing read.
10769
10770 * MH-E-NEWS: First draft of mh-e 5.1 release notes.
10771
10772 2001-11-26 Eric Ding <ericding@alum.mit.edu>
10773
10774 * mh-utils.el (mh-decode-quoted-printable): Implement
10775 quoted-printable decoding in elisp (starting with code copied
10776 from FLIM).
10777 (mh-decode-quoted-printable-region): Move (require 'hexl) outside
10778 while loop.
10779 (mh-decode-quoted-printable): give user a choice between using
10780 internal code or external program to decode quoted-printable
10781 content. Resurrect code that calls external mimedecode program.
10782
10783 2001-11-25 Peter S Galbraith <psg@debian.org>
10784
10785 * mh-utils.el (mh-highlight-citation-p): New variable to determine
10786 whether to hightlight citations in message body with gnus,
10787 font-lock or not at all.
10788 (mh-show-font-lock-keywords): removed citations from keywords.
10789 (mh-show-font-lock-keywords-with-cite): New variable, equivalent
10790 to prior mh-show-font-lock-keywords.
10791 (mh-gnus-article-highlight-citation): hook into gnus for
10792 multi-level citation highlighting.
10793 (mh-show-mode): Use either mh-show-font-lock-keywords or
10794 mh-show-font-lock-keywords-with-cite, depending on value of
10795 mh-highlight-citation-p, and possibly call
10796 mh-gnus-article-highlight-citation.
10797 * mh-comp.el (mh-letter-mode): Same as for mh-show-mode above.
10798
10799 2001-11-25 Jeffrey C Honig <jch@honig.net>
10800
10801 * mh-comp.el (mh-redistribute): Added mh-redist-background
10802 variable to cause mh-redistribute to run the redist command in the
10803 background. This causes the transaction log to be visible, like
10804 with send.
10805
10806 2001-11-25 Peter S Galbraith <psg@debian.org>
10807
10808 * mh-e.el (mh-inc-folder): 'inc' finishes by displaying the first
10809 new message if already showing messages.
10810
10811 2001-11-22 Peter S Galbraith <psg@debian.org>
10812
10813 * mh-utils.el (mh-prompt-for-folder): Exit with error if no folder
10814 specified, otherwise mh-refile-msg may try to create a folder with
10815 empty name, and this creates problems; even mh-undo can't handle
10816 it (Closes SF #476824).
10817
10818 * mh-comp.el (mh-letter-tool-bar-map): Info button needed to
10819 require 'info. Also tweaked help texts.
10820 (mh-letter-menu): Use headline capitalization (Closes SF #483203).
10821 * mh-e.el (mh-folder-tool-bar-map): Same as above.
10822 (mh-folder-folder-menu, mh-folder-message-menu):
10823 (mh-folder-sequence-menu): Same as above.
10824 * mh-pick.el (mh-pick-menu): Same as above.
10825
10826 2001-11-21 Peter S Galbraith <psg@debian.org>
10827
10828 * mh-comp.el (mh-reply-show-message-p): The setting of this
10829 variable determines whether the MH show-buffer is diplayed with
10830 the current message when using mh-reply without a prefix argument.
10831 Set it to nil if you already include the message automatically in
10832 your draft using "repl: -filter repl.filter" in your ~/.mh_profile
10833 file.
10834 (mh-reply): Don't show message in other window if
10835 mh-reply-show-message-p is nil.
10836
10837 * mh-e.el (mh-folder-tool-bar-map): Add mail_exec.xpm icon for
10838 mh-execute-commands.
10839
10840 * mh-utils.el (mh-show-mouse): New function to click on a message
10841 in folder-mode and show that message.
10842 * mh-e.el (mh-folder-mode-map): Bind mh-show-mouse to mouse-2.
10843
10844 * mh-e.el (mh-page-msg): Show buffer first if not displayed,
10845 instead of simply complaining there's no other window.
10846
10847 * mh-e.el (mh-folder-tool-bar-map): New tool-bar for folder mode!
10848 (mh-folder-mode): Setup tool-bar.
10849
10850 * mh-mime.el (mh-have-file-command): try to non-fatally load
10851 executable.el because emacs20 doesn't autoload it.
10852 * mh-utils.el (load "executable" t t): Idem.
10853
10854 * mh-utils.el (mh-clean-msg-header): Bug fix. locally bind
10855 after-change-functions to nil, working around a strange font-lock
10856 bug in emacs20 when (add-hook 'mh-show-mode-hook 'turn-on-font-lock)
10857 was used.
10858
10859 * mh-comp.el (require 'sendmail): Moved from mh-comp.el to
10860 mh-utils.el because it is needed in reading mail too.
10861 (mh-header-field-end, mh-in-header-p): Moved to mh-utils.el
10862 because they are needed by mh-show-mode's font-lock code.
10863 Unfortunately, this splits the field related code into two files.
10864 Perhaps it should all go into mh-utils?
10865
10866 2001-11-20 Eric Ding <ericding@alum.mit.edu>
10867
10868 * mh-utils.el (mh-show-from-face): Fix typo in defface
10869
10870 2001-11-20 Bill Wohler <wohler@newt.com>
10871
10872 * mh-utils.el (mh-mail-header-separator): Set to -------- as
10873 defined by MH (components, and replcomps files). This variable
10874 cannot be a regexp since it is used as an argument to insert and
10875 is passed through regexp-quote before being used. The previous
10876 value broke a lot of code, including mailcrypt.
10877
10878 * mh-comp.el (mh-letter-mode, mh-send-letter): Insert X-Mailer
10879 header field from mh-send-letter.
10880 (mh-edit-again, mh-extract-rejected-mail): Call
10881 mh-insert-header-separator to ensure that there is a separator.
10882 Packages such as mailcrypt depend on it.
10883 (mh-insert-header-separator): New function to insert
10884 mh-mail-header-separator if it doesn't exist.
10885
10886 2001-11-20 Peter S Galbraith <psg@debian.org>
10887
10888 * mh-comp.el (mh-letter-mode): Make font-lock-defaults a local variable
10889 * mh-e.el (mh-folder-mode): Same.
10890 * mh-utils.el (mh-show-mode): Same.
10891
10892 * mh-e.el (mh-scan-msg-num-regexp): Delete variable and replace
10893 with mh-good-msg-regexp.
10894
10895 * mh-utils.el (mh-mail-header-separator): Bug fix. Moved from
10896 mh-comp.el to mh-utils.el (which mh-comp.el loads).
10897
10898 * mh-comp.el (mh-in-header-p): Recycle sendmail.el code (as
10899 suggested by Bill).
10900 * mh-utils.el (mh-letter-header-font-lock): Use mh-in-header-p.
10901
10902 * mh-comp.el (mh-letter-tool-bar-map): tool-bar customize button goes
10903 to customizing mh-compose group.
10904
10905 * mh-utils.el (mh-show-mode): font-lock bug fix. Locally set
10906 font-lock-support-mode to nil.
10907 (mh-letter-header-font-lock, mh-header-field-font-lock): font-lock
10908 bug fix. Don't return match beyond font-lock search limit.
10909
10910 * mh-comp.el (mh-letter-mode): Emacs20 bug fix. tool-bar-mode is
10911 not a bound variable.
10912
10913 2001-11-19 Peter S Galbraith <psg@debian.org>
10914
10915 * mh-comp.el (mh-letter-tool-bar-map): tool-bar help button goes
10916 to 'Draft Editing' info node.
10917
10918 * mh-utils.el (mh-show-from-face, mh-show-to-face): New faces used
10919 for font-lock.
10920 (mh-header-to-font-lock, mh-header-cc-font-lock)
10921 (mh-header-field-font-lock): New helper function returning whole
10922 header field arguments to font-lock.
10923 (mh-show-font-lock-keywords): Heavily modified using the above.
10924
10925 * mh-e.el (mh-scan-msg-num-regexp): Regexp matching the message
10926 number in scan lines.
10927 (mh-scan-date-regexp): Regexp matching a valid date in scan lines.
10928 (mh-scan-rcpt-addr-regexp): Regexp specifying the recipient in
10929 scan lines for messages we sent.
10930 (mh-scan-followup-regexp): Regexp matching a followup subject
10931 line, starting with Re:
10932 (mh-scan-body-regexp):
10933 Regexp matching the message body beginning displayed in scan lines.
10934 (mh-scan.font-lock-regexp): Regexp matching output of the the
10935 optional scan.font-lock format file.
10936 (mh-folder-font-lock-keywords): New font-lock for folder-mode that
10937 uses the above regexps.
10938
10939 2001-11-19 chad <y@mit.edu>
10940
10941 * mh-comp.el (mh-letter-tool-bar-map): made both references to
10942 mh-letter-tool-bar-map conditional on tool-bar-mode, instead of
10943 just one.
10944
10945 2001-11-19 Bill Wohler <wohler@newt.com>
10946
10947 * mh-comp.el (mh-position-on-field): Move to the end of the header
10948 if the field is not present. This function was documented to do
10949 this, but wasn't doing so.
10950 (mh-insert-x-mailer): Simplified by using existing
10951 mh-goto-header-field and mh-insert-fields functions. Now that
10952 mh-insert-fields is used to insert X-Mailer header field, no
10953 longer need to include X-Mailer in mh-x-mailer-string.
10954
10955 2001-11-18 Peter S Galbraith <psg@debian.org>
10956
10957 * mh-comp.el (mh-letter-tool-bar-map): New version of
10958 mh-letter-mode tool-bar. Changed order of buttons; made customize
10959 and info buttons specific to mh-e.
10960
10961 * mh-e.el (mh-folder-font-lock-keywords): New font-lock regexp
10962 uses variables mh-deleted-msg-regexp, mh-refiled-msg-regexp and
10963 mh-cur-scan-msg-regexp, so will better adapt to non-default scan
10964 formats. Also, lines marked for refiling are now fontified.
10965
10966 2001-11-18 Bill Wohler <wohler@newt.com>
10967
10968 * mh-utils.el (mh-show-mode): Added local variable
10969 mail-header-separator which is initialized to
10970 mh-mail-header-separator.
10971
10972 * mh-comp.el (mh-mail-header-separator): Updated to include ^$.
10973 Needed when running mh-edit-again, since by then the separator is
10974 gone. Added documentation saying one should use
10975 mail-header-separator and initialize it from
10976 mh-mail-header-separator.
10977 (mh-forward): Initialize mail-header-separator since
10978 mh-letter-mode hasn't kicked in yet (which does initialize
10979 mail-header-separator).
10980 (mh-letter-mode): Initialize mail-header-separator from
10981 mh-mail-header-separator, not hard-coded string.
10982
10983 * mh-comp.el (mh-insert-x-mailer-p): New variable to control
10984 whether X-Mailer string is inserted. Default: t.
10985 (mh-x-mailer-string): New variable that caches actual X-Mailer
10986 string.
10987 (mh-letter-mode): Call mh-insert-x-mailer if mh-insert-x-mailer-p
10988 is t.
10989 (mh-insert-x-mailer): New function that inserts X-Mailer header
10990 field.
10991
10992 2001-11-17 Peter S Galbraith <psg@debian.org>
10993
10994 * mh-utils.el (mh-letter-header-font-lock): New function to return
10995 the entire mail header to font-lock for sedate font-locking.
10996 (mh-show-font-lock-keywords): Modified to fontify whole lines and use
10997 mh-letter-header-font-lock above to fontify whole header.
10998
10999 2001-11-17 Bill Wohler <wohler@newt.com>
11000
11001 * mh-comp.el (mail-header-separator): Added ^ and $ to make more
11002 specific.
11003 (mh-forward, mh-letter-mode): Replaced hard-coded string with
11004 mail-header-separator.
11005
11006 2001-11-16 Bill Wohler <wohler@newt.com>
11007
11008 * mh-e.el (mh-e-RCS-id): Renamed to mh-version.
11009 (mh-version): The variable: Set to a number instead of Id since
11010 the Id didn't have the mh-e version number, and both Emacs and
11011 gnus do it this way too.
11012 (mh-version): The function: Fixed for nmh. Now displays mh-e
11013 version correctly. Cleaned up output and display mh-progs, etc.
11014 (Closes SF #405620.)
11015
11016 2001-11-15 Peter S Galbraith <psg@debian.org>
11017
11018 * mh-comp.el (mh-letter-tool-bar-map): New tool-bar support for
11019 mh-letter-mode in emacs21. Uses icons from gnus/message.el.
11020 * mh-comp.el (mh-letter-mode): Add buffer-local binding of
11021 tool-bar-map to mh-letter-tool-bar-map.
11022
11023 2001-11-15 Peter S Galbraith <psg@debian.org>
11024
11025 * mh-mime.el (mh-have-file-command): Add check for existence of
11026 executable-find command, which Jeffrey didn't exist in emacs-20.4.
11027 * mh-utils.el (mh-decode-quoted-printable-have-mimedecode): same
11028 as above.
11029 * mh-mime.el (mh-file-mime-type): Bug Fix. Some versions of
11030 'file' output a string like "file: Using regular magic file..."
11031 to stderr, so discard stderr when using call-process with 'file'.
11032
11033 2001-11-14 Peter S Galbraith <psg@debian.org>
11034
11035 * mh-mime.el (mh-have-file-command): Check if 'file' command on
11036 system accepts arguments -i -b before accepting it for our use.
11037
11038 2001-11-14 Peter S Galbraith <psg@debian.org>
11039
11040 * mh-utils.el (mh-find-progs): Use expand-file-name instead of
11041 concatenating together strings into a path.
11042
11043 2001-11-14 Peter S Galbraith <psg@debian.org>
11044
11045 * mh-e.el (mh-folder-sequence-menu): Enable mh-widen in sequence
11046 menu only when mh-narrowed-to-seq is t.
11047
11048 2001-11-14 Peter S Galbraith <psg@debian.org>
11049
11050 * mh-mime.el (mh-have-file-command): Use 'executable-find' instead
11051 of more complicated and error-prone call-process to which command.
11052 * mh-utils.el (mh-decode-quoted-printable-have-mimedecode): Same
11053 change as above.
11054
11055 2001-11-14 Jeffrey C Honig <jch@honig.net>
11056
11057 * mh-e.el (mh-make-folder-mode-line): Bug fix. Properly deal with
11058 folders that do not have any lines in them. Print "no msgs"
11059 instead of "0 msgs". Do not try to print a range when there are
11060 no messages.
11061 * mh-e.el (mh-regenerate-headers): Bug fix. Catch and remove the
11062 "scan: band message list" message.
11063
11064 2001-11-13 Jeffrey C Honig <jch@honig.net>
11065
11066 * mh-utils.el (mh-find-progs): Bug fix. Add "mh/etc" to the
11067 subdirectories to search for "components". On BSD/OS, nmh is in
11068 "/usr/contrib/mh/*".
11069
11070 2001-11-13 Peter S Galbraith <psg@debian.org>
11071
11072 * mh-comp.el (mh-letter-mode): Bug fix. Load mh-mime before
11073 setting mh-mhn-compose-insert-p (when looking at a "forw: -mime"
11074 message containing a MIME composition) such that the variable is
11075 properly declared as buffer-local.
11076
11077 2001-11-12 Bill Wohler <wohler@newt.com>
11078
11079 * mh-funcs.el (mh-print-msg): mhl is in the mh-lib-progs
11080 directory, not mh-lib (closes SF #481128).
11081
11082 2001-11-12 Peter S Galbraith <psg@debian.org>
11083
11084 * mh-seq.el (mh-widen): Bug fix (closes SF #481036).
11085 In a sequence with pending deletes and refiles, running mh-widen
11086 would wipe out their notations, even though the sequences are still
11087 defined. Fixed by calling a new function,
11088 mh-notate-deleted-and-refiled. Also changed the coping of
11089 mh-goto-msg-num since it didn't work consistently.
11090 * mh-seq.el (mh-notate-deleted-and-refiled): New functions written
11091 to fix above mh-widen bug. It's a first cut, we may want to clear
11092 all notations first, and notate the current-message sequence and
11093 user sequences. Time will tell.
11094
11095 2001-11-12 Peter S Galbraith <psg@debian.org>
11096
11097 * mh-seq.el (mh-widen): Make it attempt to stay on the same
11098 message number (closes SF bug #480922).
11099
11100 2001-11-11 Bill Wohler <wohler@newt.com>
11101
11102 * import-emacs: New shell script to import Emacs changes to mh-e.
11103
11104 * Makefile (import): New target to import Emacs changes.
11105
11106 2001-11-09 Peter S Galbraith <psg@debian.org>
11107
11108 * mh-mime.el (mh-file-mime-type): Bug fix. Change regexp to
11109 extract mime type from 'file -i' command output.
11110
11111 2001-11-08 Peter S Galbraith <psg@debian.org>
11112
11113 * mh-utils.el (mh-update-sequences-after-mh-show):
11114 New customizable variable telling whether to run
11115 mh-update-sequences in mh-show-mode. Default is t.
11116 * mh-utils.el (mh-show-msg): Run mh-update-sequences when
11117 mh-update-sequences-after-mh-show is set.
11118
11119 2001-11-08 Peter S Galbraith <psg@debian.org>
11120
11121 * mh-utils.el (mh-decode-quoted-printable-have-mimedecode):
11122 New variable telling whether command 'mimedecode' is on system.
11123 (http://www.freesoft.org/CIE/FAQ/mimedeco.c)
11124 * mh-utils.el (mh-decode-quoted-printable):
11125 New customizable variable telling whether to run mimedecode on
11126 MIME message containing quoted-printable parts. mimedecode will
11127 only alter quoted-printable parts , leaving others intact, and the
11128 resulting message is still fully MIME.
11129 * mh-utils.el (mh-decode-quoted-printable): New function to run
11130 mimedecode on the current buffer.
11131 * mh-utils.el (mh-display-msg): Conditionnaly call
11132 mh-decode-quoted-printable function if mh-decode-quoted-printable
11133 variable is set, to view messages containing quoted-printable
11134 characters into 8-bit.
11135
11136 2001-11-08 Peter S Galbraith <psg@debian.org>
11137
11138 * mh-comp.el (mh-letter-mode): Set mh-mhn-compose-insert-p if
11139 looking at a "forw: -mime" message containing a MIME composition.
11140 * mh-mime.el (mh-file-mime-type): Bug fix. Failed on files like
11141 "~/.mh_profile" because of shell construct. Wrapped filename with
11142 expand-file-name.
11143 * mh-comp.el (mh-letter-mode-map): C-cC-o keybinding in
11144 mh-letter-mode-map for mh-open-line.
11145
11146 2001-11-07 Peter S Galbraith <psg@debian.org>
11147
11148 * mh-comp.el (mh-open-line): New user function to split open a line
11149 when editing a reply with included text.
11150 * mh-comp.el (mh-current-fill-prefix): New function used by
11151 mh-open-line to get the fill-prefix on the current line.
11152 * mh-comp.el: Add mh-open-line to mh-letter-mode menubar.
11153
11154 2001-11-06 Peter S Galbraith <psg@debian.org>
11155
11156 * mh-seq.el (mh-region-to-sequence): New function, creating a
11157 sequence named 'region containing the message list in the selected
11158 region.
11159 * mh-e.el (mh-delete-msg): Mark messages in region for deletion if
11160 mark is active and in transient-mark-mode.
11161 * mh-e.el (mh-refile-msg): Mark messages in region for refiling if
11162 mark is active and in transient-mark-mode.
11163 * mh-e.el (mh-undo): Undo message marks for refile or deletion if
11164 region if mark is active and in transient-mark-mode.
11165
11166 2001-11-06 Peter S Galbraith <psg@debian.org>
11167
11168 * mh-comp.el (mh-letter-mode): Use sendmail.el's fill-paragraph.
11169 Copy its settings for paragraph-start, paragraph-separate,
11170 fill-paragraph-function, adaptive-fill-regexp and
11171 adaptive-fill-first-line-regexp. This make M-q (fill-paragraph)
11172 work correctly!
11173
11174 2001-11-05 Peter S Galbraith <psg@debian.org>
11175
11176 * mh-funcs.el (mh-kill-folder): Remove mh-do-not-confirm condition
11177 and always prompt the user for such a drastic step. Also change
11178 the prompt a bit to clarify it.
11179
11180 2001-11-04 Peter S Galbraith <psg@debian.org>
11181
11182 * mh-mime.el (mh-mhn-compose-insert-p): New buffer-local variable
11183 to tell when a MIME insertion was done in a letter.
11184 * mh-mime.el (mh-mhn-compose-type): Set mh-mhn-compose-insert-p.
11185 * mh-mime.el (mh-mhn-compose-external-type):
11186 Set mh-mhn-compose-insert-p.
11187 * mh-mime.el (mh-mhn-compose-forw): Set mh-mhn-compose-insert-p.
11188 * mh-mime.el (mh-edit-mhn): Clear mh-mhn-compose-insert-p.
11189 * mh-comp.el (mh-send-letter): Run mh-edit-mhn when
11190 mh-mhn-compose-insert-p is set.
11191
11192 2001-11-03 Peter S Galbraith <psg@debian.org>
11193
11194 * mh-mime.el (mh-have-file-command): new function testing whether
11195 file command is on the system.
11196 * mh-mime.el (mh-file-mime-type): new function returning MIME type
11197 from file command.
11198 * mh-mime.el (mh-mhn-compose-insertion): Make use of
11199 mh-file-mime-type function instead of prompting.
11200
11201 2001-10-30 Peter S Galbraith <psg@debian.org>
11202
11203 * mh-utils.el (mh-show-use-goto-addr): defcustom this new
11204 variable, determining whether to call goto-addr in mh-show-mode.
11205 * mh-utils.el (mh-show-mode): Call goto-address when
11206 mh-show-use-goto-addr is t.
11207
11208 2001-10-25 Peter S Galbraith <psg@debian.org>
11209
11210 * mh-utils.el (mh-recenter): Clarify docs and change '(t) to
11211 (list 4) to match elisp doc on what C-u prefix argument actually is.
11212
11213 2001-10-23 Peter S Galbraith <psg@debian.org>
11214
11215 * mh-utils.el (mh-summary-height): In my quest to make mh-e more
11216 useful out-of-the-box for new users, set mh-summary-height to a
11217 minimum of 4 and a maximum of 10 depending on frame height. I
11218 typically have 70 lines in my Emacs frame, so having a default of
11219 4 was silly for my case.
11220 * mh-e.el (mh-update-sequences): Check for nil value of
11221 mh-current-folder, which happens if mh-summary-height < 4
11222 although I haven't tracked doen why that happens.
11223
11224 2001-10-22 Peter S Galbraith <psg@debian.org>
11225
11226 * mh-comp.el (mh-insert-fields): Test for nil value when inserting
11227 field.
11228
11229 2001-10-20 Peter S Galbraith <psg@debian.org>
11230
11231 * mh-comp.el (mh-user-agent-compose): Merged-in from XEmacs-21.4 source
11232 * mh-comp.el (mh-letter-mode): Add easy-menu-add statement for XEmacs21
11233 * mh-pick.el (mh-pick-mode): Add easy-menu-add statement for XEmacs21.
11234 * mh-e.el (mh-folder-mode): Add easy-menu-add statements for XEmacs21.
11235 * mh-utils.el: defalias 'screen-height to 'frame-height for XEmacs21.
11236
11237 2001-10-19 Peter S Galbraith <psg@debian.org>
11238
11239 * mh-mime.el (mh-edit-mhn): Use mhbuild in nmh context.
11240 * mh-utils.el (mh-find-progs): The variable mh-nmh-p (t when nmh
11241 is in use rather than MH) was set assuming that the string "nmh"
11242 will be in mh-lib-progs or mh-lib. This failed on Debian systems.
11243 Better to check for the existence of mhbuild in directory mh-progs.
11244 (closes SF bug #441776)
11245
11246 2001-10-18 Peter S Galbraith <psg@debian.org>
11247
11248 * mh-e.el: Add menubar entry from contrib/mh-menubar.el
11249 * mh-comp.el: Add menubar entry from contrib/mh-menubar.el
11250 * mh-pick.el: Add menubar entry from contrib/mh-menubar.el
11251
11252 2001-07-30 Peter S Galbraith <psg@debian.org>
11253
11254 * mh-e.el: Change font-lock patterns for folders.
11255 Fontify scan.font-lock patterns (which will be documented)
11256 and fontify subject lines prefixed with "Re:" differently.
11257 * mh-comp.el (mh-letter-mode): Add font-lock support as in
11258 mh-show-mode.
11259
11260 2001-04-14 chad brown <y@mit.edu>
11261
11262 Rearrange the font-lock keywords a bit.
11263
11264 2001-04-12 chad brown <y@mit.edu>
11265
11266 Preliminary (somewhat boring) font-lock support for mh-e. More
11267 interesting font-lock support probably wants to have better
11268 support for multiple format files
11269
11270 2001-02-24 chad brown <y@mit.edu>
11271
11272 Add default nmh paths to mh-find-prog in mh-utils.el.
11273 change to mh-kill-folder in mh-funcs.el to make it more general.
11274
11275 2001-02-19 Bill Wohler <wohler@newt.com>
11276
11277 * Makefile (EMACS): Renamed to EMACS_HOME. Also, don't define if
11278 EMACS_HOME already exists to give developer a chance to set
11279 environment variable.
11280 (install): $MH-E-SRC is copied to $(EMACS_HOME)/lisp/mail, not
11281 $(EMACS_HOME)/src.
11282 (dist): Leave release in current directory.
11283
11284
11285 Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
11286
11287 Copying and distribution of this file, with or without modification,
11288 are permitted in any medium without royalty provided the copyright
11289 notice and this notice are preserved.
11290
11291 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51