summaryrefslogtreecommitdiff
path: root/lisp/mh-e/ChangeLog.1
blob: f4fa462fe2b7a38904df366bd864b8e7271a5fb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
2005-09-30  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-refile-msg, mh-tool-bar-reply-from)
	(mh-tool-bar-reply-to, mh-tool-bar-reply-all)
	(mh-alias-grab-from-field, mh-pack-folder): Image files moved to
	etc/images/mail so added "mail/" prefix.
	(mh-reply): Ditto. Also renamed reply2.* to reply.*.
	(mh-rescan-folder): Ditto. Renamed image file to refresh.* since
	it can be used in the general sense. Does not have "mail/"
	prefix.

2005-09-29  Bill Wohler  <wohler@newt.com>

	Merged in changes from CVS Emacs including:

	* mh-mime.el (mh-compose-forward, mh-mhn-compose-forw):
	* mh-comp.el (mh-insert-letter):
	* mh-utils.el (mh-prompt-for-folder):
	Follow convention for reading with the minibuffer. Emilio C. Lopes
	<eclig@gmx.net> 2005-09-24.

2005-09-26  Bill Wohler  <wohler@newt.com>

	* mh-e.el (desktop-buffer-mode-handlers): Only add to this list if
	the variable exists. Not present pre-version 22.

	Merged in changes from CVS Emacs including:

	* mh-print.el (mh-ps-print-msg-show): Fix misplaced parenthesis in
	previous change. Juanma Barranquero  <lekktu@gmail.com> 2005-09-19

	* mh-alias.el (mh-alias-ali): Fix `message' call: first arg
	should be a format spec.

	* mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
	(mh-ps-print-msg, mh-ps-print-msg-show): Ditto.

	* mh-mime.el (mh-toggle-mh-decode-mime-flag): Ditto.

	* mh-index.el (mh-index-sequenced-messages): Ditto.

	* mh-e.el (mh-refile-or-write-again, mh-page-msg): Ditto.

	* mh-junk.el (mh-junk-blacklist, mh-junk-whitelist)
	(mh-spamassassin-blacklist, mh-spamassassin-whitelist): Ditto. D
	Goel  <deego@gnufans.org> 2005-09-18.

	* mh-customize.el: Do not use face-alias compatibility for
	faces that did not appear in the previous Emacs release. Dan
	Nicolaescu  <dann@ics.uci.edu> 2005-08-15.

	* mh-e.el: Add handler to desktop-buffer-mode-handlers.
	(mh-restore-desktop-buffer): Remove autoload cookie.
	(mh-folder-mode): Add autoload cookie. Lars Hansen
	<larsh@soem.dk> 2005-08-10.

	Update FSF's address in GPL notices Lute Kamstra <lute@gnu.org>
	2005-07-04 .

	* mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
	(mh-folder-cur-msg-number-face): New backward-compatibility
	aliases for renamed faces. Lute Kamstra  <lute@gnu.org> 2005-06-17.

	* mh-customize.el (mh-folder-body, mh-folder-cur-msg)
	(mh-folder-cur-msg-number, mh-folder-date, mh-folder-followup)
	(mh-folder-msg-number, mh-folder-refiled, mh-folder-subject)
	(mh-folder-tick, mh-folder-to, mh-index-folder)
	(mh-letter-header-field, mh-show-cc, mh-show-date)
	(mh-show-header, mh-show-pgg-good, mh-show-pgg-unknown)
	(mh-show-pgg-bad, mh-show-signature, mh-show-to, mh-show-from)
	(mh-show-xface, mh-speedbar-folder, mh-speedbar-selected-folder)
	(mh-speedbar-folder-with-unseen-messages)
	(mh-speedbar-selected-folder-with-unseen-messages)
	(mh-folder-msg-number, mh-folder-subject, mh-folder-followup)
	(mh-folder-subject): Remove "-face" suffix from face names.
	(mh-folder-body, mh-folder-cur-msg, mh-folder-cur-msg-number)
	(mh-folder-date-face, mh-folder-followup-face)
	(mh-folder-msg-number-face, mh-folder-refiled-face)
	(mh-folder-subject-face, mh-folder-tick-face, mh-folder-to-face)
	(mh-index-folder-face, mh-letter-header-field-face)
	(mh-show-cc-face, mh-show-date-face, mh-show-header-face)
	(mh-show-pgg-good-face, mh-show-pgg-unknown-face)
	(mh-show-pgg-bad-face, mh-show-signature-face, mh-show-to-face)
	(mh-show-from-face, mh-show-xface-face, mh-speedbar-folder-face)
	(mh-speedbar-selected-folder-face)
	(mh-speedbar-folder-with-unseen-messages-face)
	(mh-speedbar-selected-folder-with-unseen-messages-face):
	New backward-compatibility aliases for renamed faces.
	(mh-folder-body-face, mh-folder-cur-msg-face)
	(mh-folder-cur-msg-number-face, mh-folder-date-face)
	(mh-folder-followup-face, mh-folder-msg-number-face)
	(mh-folder-deleted-face, mh-folder-refiled-face)
	(mh-folder-subject-face, mh-folder-address-face)
	(mh-folder-scan-format-face, mh-folder-to-face)
	(mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
	(mh-show-header-face, mh-show-pgg-good-face)
	(mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
	(mh-show-to-face, mh-show-from-face, mh-show-subject-face)
	(mh-speedbar-folder-with-unseen-messages)
	(mh-speedbar-selected-folder-with-unseen-messages):
	Use renamed MH-E faces.

	* mh-utils.el (mh-letter-font-lock-keywords)
	(mh-face-display-function): Use renamed MH-E faces.
	* mh-speed.el (mh-folder-speedbar-buttons)
	(mh-speed-update-current-folder, mh-speed-normal-face)
	(mh-speed-bold-face, mh-speed-add-buttons)
	(mh-speed-invalidate-map): Likewise.
	* mh-mime.el (mh-signature-highlight): Likewise.  Miles Bader
	<miles@gnu.org> 2005-06-17.

	* mh-comp.el (mh-send-sub):
	* mh-identity.el (mh-identity-field-handler):
	* mh-mime.el (mh-secure-message):
	Don't use `format' on `error' arguments. Juanma
	Barranquero  <lekktu@gmail.com> 2005-06-16.

	* mh-mime.el (mh-secure-message): Follow error conventions.
	Juanma Barranquero  <lekktu@gmail.com> 2005-06-14.

2005-09-24  Bill Wohler  <wohler@newt.com>

	* mh-unit.el (mh-unit): Changed lm-verify test to Emacs 22.

2005-09-22  Bill Wohler  <wohler@newt.com>

	* Makefile: Incorporated ideas from Clemens Fruhwirth to
	generalize mh-loaddefs.el to make it work for both GNU Emacs and
	XEmacs.
	(EMACS_OPTIONS, XEMACS_OPTIONS): Use double-dash for all long
	options.
	(EMACS_LOADDEFS_COOKIE): New variable for generate-autoload-cookie
	setting. Obsoletes XEMACS_LOADDEFS_COOKIE.
	(EMACS_EXPORT_MH_LOADDEFS): New variable for GNU Emacs commands to
	rebuild mh-loaddefs.el.
	(XEMACS_EXPORT_MH_LOADDEFS): New variable for XEmacs commands to
	rebuild mh-loaddefs.el. Obsoletes XEMACS_LOADDEFS_FILE and
	XEMACS_LOADDEFS_PKG_NAME.
	(MH-E-LOADDEFS-SRC): New variable which is set to $(MH-E-SRC) on
	GNU Emacs, and adds $(MH-E-XEMACS-SRC) on XEmacs.
	(all): Modify EMACS_EXPORT_MH_LOADDEFS and MH-E-LOADDEFS-SRC on
	XEMacs.
	(mh-loaddefs.el): Now depends on $(MH-E-LOADDEFS-SRC) and has
	generic compile command that works on both GNU Emacs XEmacs.
	(xemacs): Depend on autoloads instead of deleted loaddefs-xemacs.
	(loaddefs-xemacs): Deleted.

2005-07-19  Bill Wohler  <wohler@newt.com>

	* README (INSTALL): Added info for Mac users.

2005-07-16  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el (mh-font-lock-field-data): Fix a bug where the
	function would return t but match-data was being set to nil
	(closes SF #1241017).

2005-07-12  Jeffrey C Honig  <jch@honig.net>

	* mh-customize.el (mh-invisible-header-fields-internal)
	(mh-invisible-header-fields-internal): Add Received-SPF header and
	X-Gmail- prefixes seen from Gmail.

2005-06-08  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-insert-auto-fields): Insert identity regardless of
	whether one was already set, since if one used a default identity
	it would never be overridden (closes SF #1204506).

2005-06-02  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-customize): Use customization group mh-e.

	* mh-init.el (mh-path): Use customization group mh-e. Thanks to
	Peter Whaite for these patches (closes SF #1213716).

2005-06-01  Bill Wohler  <wohler@newt.com>

	* mh-mime.el (mh-compose-forward): Only use mh-sent-from-msg as a
	default message if it's a number (as is done elsewhere).
	Otherwise, an error is thrown if this function is called from a
	draft created by mh-forward since this variable is a list. Also
	added a space after the "Messages [%s]:" prompt.

2005-05-30  Jeffrey C Honig  <jch@honig.net>

	* mh-mime.el (mh-compose-forward): Allow insertion of multiple
	forwarded messages by range (including sequences).  For the sent
	folder the default message presented is the sent message.  For
	other folders, the default message is "cur", if it exists.

2005-05-28  Bill Wohler  <wohler@newt.com>

	* mh-e.el (Version, mh-version): Added +cvs to version.

2005-05-28  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.84.

	* MH-E-NEWS, README: Updated for release 7.84.

	* mh-e.el (Version, mh-version): Updated for release 7.84.

2005-05-28  Bill Wohler  <wohler@newt.com>

	* mh-e.el, mh-comp.el: Don't autoload Info-goto-node. It's not
	used, and if it were, the code should use the info function
	instead.

	Use full year in copyright notices (for example, 2005, not 05).

	* Makefile (mh-loaddefs.el, mh-e-autoloads.el): Added 2005 to
	copyright notice.

	* mh-inc.el: Use three ;;; to precede Local Variables to be
	consistent with other files. Will have to ask Stefan Monnier why
	he changed it.

	* README: This version of MH-E to appear in GNU Emacs 22.1, not
	21.5.

	* ChangeLog: The * in a ChangeLog entry must only be used before a
	filename.

	Fixed compilation warnings in CVS Emacs. This included using
	"public" functions instead of "private" ones (info instead of
	Info-goto-node, view-mode-enter instead of view-mode), and
	removing a customization group that didn't have a parent group. In
	addition, string-to-int was recently deprecated; use
	string-to-number instead.

	* mh-customize.el (Info-goto-node): Deleted autoload.
	(mh-e): Deleted mh group. Use single mh-e group instead.
	(mh-tool-bar-folder-help, mh-tool-bar-letter-help): Use info
	instead of Info-goto-node.

	* mh-e.el (mh-read-msg-list): string-to-int deprecated; use
	string-to-number.

	* mh-funcs.el (mh-list-folders): Use view-mode-enter instead of
	view-mode.

	* mh-seq.el (mh-list-sequences): Use view-mode-enter instead of
	view-mode.

	* mh-utils.el (mh-get-msg-num): string-to-int deprecated; use
	string-to-number.

	Merged in changes from CVS Emacs including:

	* mh-utils.el (mh-show-mode):
	* mh-pick.el (mh-pick-mode): Remove spurious run-hooks. Lute
	Kamstra  <lute@gnu.org> 2005-05-26.

2005-05-25  Bill Wohler  <wohler@newt.com>

	Merged in changes from CVS Emacs including:

	* mh-customize.el (mh-speedbar-selected-folder-face): Special case
	high number of colors displays. Dan Nicolaescu <dann@ics.uci.edu>
	2005-04-08.

	* mh-e.el, mh-identity.el, mh-mime.el: Replace `legal' with
	`valid'. Replace `illegal' with `invalid'. Werner Lemberg
	<wl@gnu.org> 2005-03-25.

	* mh-inc.el (mh-inc-spool-list): Correctly declare the external
	var. Stefan <monnier@iro.umontreal.ca> 2004-09-07.

2005-05-18  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-reply): Mention use of mh-repl-group-formfile in
	docstring.

2005-05-05  Bill Wohler  <wohler@newt.com>

	* mh-e.el (Version, mh-version): Added +cvs to release number.

2005-05-05  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.83.

	* MH-E-NEWS, README: Updated for release 7.83.

	* mh-e.el (Version, mh-version): Updated for release 7.83.

2005-05-05  Bill Wohler  <wohler@newt.com>

	* README: To appear in Emacs 21.5, since 21.4 was released (but
	without the latest MH-E).

	* release-utils (usage): Added --variable-changes.

2005-05-04  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (*-face): Made docstrings consistent.

	* mh-seq.el (mh-pick-args-list): Extracted function for turning
	string of pick arguments to list. Fixed list so that multi-word
	arguments were put in a single string (closes SF #1122655).
	(mh-edit-pick-expr): Use it.

	* mh-unit.el (mh-unit): Since 21.4 snuck out but didn't contain
	updated lm-verify, don't run lm-verify on versions before 21.5.
	(mh-unit-test-pick-args-list): Added.

	* mh-customize.el (mh-yank-from-start-of-msg): Use headline
	capitalization. Changed wording of some choices to be more consistent.
	(mh-invisible-header-fields-internal): Added fields from usa.net.

2005-04-24  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-mime-security-button-face): New function which
	determines the face to use to colorize encrypted or signed emails.
	(mh-insert-mime-security-button): Modified to colorize the button
	differently based on whether the signature was valid or not,
	whether the decryption was successful or not, etc.

	* mh-customize.el (mh-show-pgg-good-face)
	(mh-show-pgg-unknown-face, mh-show-pgg-bad-face): Faces added to
	highlight buttons introduced for encrpted or signed MIME parts.

2005-03-19  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-mml-method-default): Sorted alphabetically.
	(mh-insert-x-mailer-flag, mh-reply-show-message-flag): Moved from
	mh-letter group to mh-sending-mail group. The writing of the
	documentation revealed that these options were misplaced.

2005-03-17  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-junk-background): Put in alphabetical order.
	Synced with manual.
	(mh-junk-program): Use double-quotes on non-symbols.

	* mh-pick.el (mh-search-folder): Synced docstrings with manual.

	* mh-index.el (mh-index-search, mh-pick-execute-search)
	(mh-grep-execute-search, mh-mairix-execute-search)
	(mh-swish-execute-search, mh-swish++-execute-search)
	(mh-namazu-execute-search): Synced docstrings with manual. Note
	that I'm now grabbing the output of an Info buffer which is why
	the indents on the examples has changed a bit. If we all use that
	methodology in the future, we shouldn't produce as many gratuitous
	diffs. I also noticed that `grep' and `search' became links to
	unrelated things, so let's use double-quotes for quoting
	non-symbols in the docstrings.

	* mh-customize.el (mh-index-new-messages-folders)
	(mh-index-ticked-messages-folders): Synced docstrings with manual.

2005-02-16  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-swish-execute-search): Simplify the indexing
	recipe for swish. Thanks to Eric Jensen for the suggestion.

2005-02-11  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-swish-execute-search)
	(mh-swish++-execute-search): Make the indexing recipes better.
	(mh-swish-next-result): The indexer might find matches in files
	that aren't messages. Make the function handle that case
	gracefully.

2005-02-07  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-inc-prog, mh-inc-spool-list): Synced
	docstrings with manual.

2005-02-06  Bill Wohler  <wohler@newt.com>

	* mh-junk.el (mh-spamassassin-blacklist): Removed trailing
	whitespace.

	* mh-e.el (mh-refile-or-write-again): Checkdoc fix.

	* mh-identity.el (mh-identity-list-set)
	(mh-identity-field-handler, mh-identity-handler-gpg-identity)
	(mh-identity-handler-signature)
	(mh-identity-handler-attribution-verb)
	(mh-identity-handler-default, mh-identity-handler-top): Docstring
	editing.

	* mh-customize.el (mh-identity-list, mh-auto-fields-list)
	(mh-identity-default, mh-identity-handlers): Synced docstrings
	with manual.

2005-02-03  Bill Wohler  <wohler@newt.com>

	* mh-xemacs.el (define-behavior 'mh): Moved Ben's code here from
	mh-e.el and added standard documentation.

	* mh-e.el: Received patch from Ben Wing <ben@666.com> to add
	define-behavior on XEmacs.

2005-01-28  Jeffrey C Honig  <jch@honig.net>

	* mh-customize.el (mh-invisible-header-fields-internal): Added
	X-Evolution header added by Evolution mai client.

2005-01-18  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-invisible-header-fields-internal): Added
	DomainKey-Signature (http://antispam.yahoo.com/domainkeys/).
	There's a Comment field that goes with it, but I thought it was
	too general to add.

2005-01-06  Bill Wohler  <wohler@newt.com>

	* mh-junk.el (mh-spamassassin-blacklist): Fixed typo to fix an
	error when junking spamassassin mail when mh-junk-background is
	turned on.

2004-12-25  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-show-unquote-From): Make the buffer writable
	before trying to change it (closes SF #1089870).

	* mh-comp.el (mh-complete-word): Fix a typo in a variable
	name (closes SF #1089870)

2004-11-28  Jeffrey C Honig  <jch@honig.net>

	* mh-comp.el (mh-complete-word): Kill the *Completions* buffer in
	any cases where we belive we are done with it.  Not perfect, but
	better than just leaving it around.

2004-11-08  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-acros.el (mh-funcall-if-exists): In XEmacs, presence of a
	function at compile time doesn't guarantee it's existence at run
	time. So make the macro handle that situation better.

2004-11-05  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-acros.el (advice): Load advice, since it isn't loaded in
	XEmacs causing compilation problems.

2004-10-24  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-mairix-execute-search)
	(mh-mairix-regexp-builder): Update the interface to mairix so that
	it will work with versions of mairix 0.12 and later.

	* mh-funcs.el (mh-rmf-daemon): Avoid using
	beginning-of-buffer since it clobbers the mark and it was pointed
	out on the Emacs developers list to be the wrong thing to do.

	* mh-e.el (mh-inc-folder): Only remove the window on the show
	buffer. This means if the user has BBDB enabled then the window
	displaying BBDB information isn't clobbered.
	(mh-refile-or-write-again): Don't use the function
	interactive-p. There was a long thread on the Emacs developers
	list where it was pointed out that it is incorrect to use this
	function most of the time.

	* mh-comp.el (autoload): Don't set auto-mode-alist. This could
	screw things up for users that don't use MH-E (closes SF #1032353).

2004-10-13  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-refile-or-write-again): Generalize the function to
	work on a range of messages (closes SF #1046330).

2004-09-02  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-process-commands): The concurrent execution of mark
	and refile can cause problems since both the commands change the
	current folder. This change avoids that by getting rid of the
	concurrency. Another change covers the corner case where we refile
	messages to a previously empty folder. Before the modification
	sequences weren't preserved even if the appropriate flag was
	set. That is no longer the case.

2004-08-26  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-get-new-mail): Also, update the unseen sequence from
	disk. Otherwise, the new messages aren't highlighted.

	* mh-seq.el (mh-thread-inc): Fix a bug which appears when inc is
	run in a narrowed folder. The user sequence notation was getting
	lost. The change fixes that.

	* mh-e.el (mh-get-new-mail): Make inc more efficient by reusing
	the existing user sequence notation and deleted/refiled notation.

2004-08-24  Bill Wohler  <wohler@newt.com>

	* mh-e.el (Version, mh-version): Added +cvs to release number.

2004-08-24  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.82.

	* MH-E-NEWS, README: Updated for release 7.82.

	* mh-e.el (Version, mh-version): Updated for release 7.82.

2004-08-24  Bill Wohler  <wohler@newt.com>

	* mh-init.el (mh-variant-set): Change MH to mh as that's what is
	emitted by `mh-variant-mh-info' (closes SF #1014781).
	(mh-variant-p): Add mu-mh to docstring.

2004-08-23  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-acros.el (mh-require-cl): Remove unneeded autoloads.
	(require): Add an advice to the function so that at compile time
	the uncompiled file is loaded. This avoids compilation problems
	when built in the Emacs tree.

	* mh-mime.el (mh-identity-pgg-default-user-id): Defvar the
	variable, to avoid compiler warnings.

	* mh-e.el (mh-seq): Load mh-seq since functions defined there are
	used here. Without this, the state mh-seq.elc would be loaded.

	* mh-customize.el (mh-init, mh-identity): Load mh-init and
	mh-identity at compile time manually, before the corresponding
	stale elc files get autoloaded.

2004-08-21  Bill Wohler  <wohler@newt.com>

	* mh-e.el (Version, mh-version): Add +cvs to release number.

2004-08-21  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.81.

	* MH-E-NEWS, README: Updated for release 7.81.

	* mh-e.el (Version, mh-version): Updated for release 7.81.

2004-08-21  Bill Wohler  <wohler@newt.com>

	* release-utils (variable_changes): Check for checked-out
	directory before proceeding.  Remove temporary files.
	Rename --variable-update flag to --variable-changes.

2004-08-16  Mark D. Baushke  <mdb@gnu.org>

	* mh-mime.el (mh-toggle-mh-decode-mime-flag: New function.
	* mh-e.el (mh-help-messages): Add [;] help string for it.
	(mh-folder-mode-map): Add ";" key binding for it.

2004-08-15  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-acros.el (mh-defstruct): Distinguishing structures created
	by mh-defstruct just based on the number of fields is not
	sufficient, since both the mh-thread-message and
	mh-thread-container structures have the same length.

2004-08-15  Mark D. Baushke  <mdb@gnu.org>

	* mh-customize.el (mh-identity-handlers): Use ":default" instead of
	"default" to avoid problems with "Default:" as a user defined field.
	* mh-identity.el (mh-identity-field-handler): Ditto.

2004-08-15  Bill Wohler  <wohler@newt.com>

	* mh-e.el (Version, mh-version): Added +cvs to release number.

2004-08-15  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.4.80.

	* MH-E-NEWS, README: Updated for release 7.4.80.

	* mh-e.el (Version, mh-version): Updated for release 7.4.80.

2004-08-15  Bill Wohler  <wohler@newt.com>

	* mh-funcs.el, mh-gnus.el, mh-inc.el, mh-init.el, mh-junk.el,
	mh-pick.el, mh-print.el, mh-xemacs.el: Added 2004 to Copyright.

	* mh-acros.el, mh-alias.el: Checkdoc fixes.

2004-08-12  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-acros.el (cl): Load cl in this file. That is all right, since
	this file is only used at compile time, and so cl doesn't get
	loaded at run time. This avoids problems with stale *.elc files
	present in the Emacs source tree during compilation.
	(mh-defstruct): Modify it to make it more CL like and in the
	process simplify it a bit. This makes the argument list of the
	constructor compatible with the previous version, thereby avoiding
	a compilation error when an old version of mh-seq.elc is present.

	* mh-seq.el (mh-thread-id-container, mh-thread-get-message)
	(mh-thread-get-message-container): Revert back to the CL style
	of using keyword arguments, since the mh-defstruct now produces
	code compatible to such usage.

2004-08-11  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-acros.el (mh-defstruct, mh-require-cl): Checkdoc fixes.

	* mh-utils.el (message-tokenize-header, message-fetch-field): Add
	autoloads.
	(mh-folder-completing-read): Make the folder completion look
	better with CVS Emacs.

	* mh-init.el (mh-variant-set): Remove dead code.

2004-08-11  Bill Wohler  <wohler@newt.com>

	* *.el: Use the following at the top of each file which seems to
	do a good job of suppressing compilation warnings in 21.3 and CVS
	Emacs (21.4). This replaces (require 'cl) or (require
	'utils) (mh-require-cl) calls:

	  (eval-when-compile (require 'mh-acros))
          (mh-require-cl)

2004-08-10  Bill Wohler  <wohler@newt.com>

	* release-utils (DESCRIPTION): Added one.
	(FILES, SEE ALSO, VERSION): Deleted empty and incorrect sections.

	* mh-e.el (mh-colors-available-p): Call x-display-color-cells with
	mh-funcall-if-exists since it no longer seems to be defined in
	GNU Emacs 21.4.

2004-08-10  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el (mh-process-kill-without-query, mh-speed-flists):
	Avoid a compiler warning in versions of Emacs where
	process-kill-without-query is a deprecated function.

	* mh-seq.el (mh-thread-message, mh-thread-container): Use
	mh-defstruct instead of defstruct.
	(mh-thread-id-container, mh-thread-get-message-container)
	(mh-thread-get-message): Use the slightly different structure
	constructor function.

	* mh-acros.el (mh-defstruct): New macro which is a partial
	replacement of the defstruct in CL.
	(no-byte-compile): Don't compile the file since it isn't loaded at
	run time, so efficiency isn't an issue.

	* mh-utils.el (mh-buffer-data): Use mh-defstruct instead of
	defstruct.

2004-08-09  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-funcs.el, mh-junk.el, mh-print.el: Use mh-require-cl to avoid
	compilation warnings in Emacs-21.3.

	* mh-acros.el (mh-require-cl): Add autoloads of CL functions used.

2004-08-09  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-show-use-xface-flag): Mention that `fetch' and
	`curl' are supported as well.

2004-08-08  Bill Wohler  <wohler@newt.com>

	* mh-xemacs.el (mh-xemacs-has-toolbar-flag): Checkdoc fixes.

	* mh-mime.el (mh-display-with-external-viewer): Checkdoc fixes.

	* mh-identity.el (mh-identity-attribution-verb-end): Stripped
	trailing space; checkdoc fixes.

	* mh-e.el (mh-restore-desktop-buffer): Checkdoc fixes.

	* mh-customize.el (mh-inc-spool-list)
	(mh-compose-forward-as-mime-flag, defcustom): Stripped trailing
	space; checkdoc fixes.

	* mh-comp.el (mh-reply): Stripped trailing space.

	* mh-unit.el (mh-unit-files): Added mh-acros.el and mh-gnus.el.
	(mh-unit): Don't lm-verify pre-21.4. Save buffers before killing
	since we might have done some editing.

	* import-emacs: Deleted. Functionality subsumed by release-utils.

	* release-utils: New script. Performs import-emacs functionality
	and displays new and deleted options.

	* Makefile (import-emacs): Call release-utils instead of
	import-emacs.

	* mh-funcs.el (mh-undo-folder): Removed deprecated `ignore'
	argument.

	* mh-e.el (mh-scan-date-regexp): Deleted as Peter claims it is
	obsolete.
	(mh-folder-font-lock-keywords): Removed reference to deleted
	variable `mh-scan-date-regexp'.

	* mh-customize.el (mh-auto-fields-prompt-flag): Made reference to
	`mh-auto-fileds-lists'.
	(mh-forward-hook): Fixed docstring typo.

2004-08-07  Bill Wohler  <wohler@newt.com>

	* mh-acros.el: New file. Currently holds macros needed by
	mh-customize.el but is planned to hold all macros to avoid
	dependency problems when compiling.

	* mh-utils.el (mh-xemacs-flag): Defined in mh-customize.el now.
	(mh-require-cl, mh-do-in-gnu-emacs, mh-do-in-xemacs)
	(mh-funcall-if-exists, mh-make-local-hook, mh-mark-active-p):
	Moved to new file mh-acros.el.

	* mh-customize.el: Require mh-acros and cl only when compiling and
	mh-loaddefs at runtime instead of mh-utils.
	(mh-xemacs-flag): Define it here instead of mh-utils.el.

	* Makefile (MH-E-SRC): Added mh-acros.el.

	* mh-gnus.el (default-enable-multibyte-characters): Don't define
	any more. It doesn't seem to be needed.

	* mh-customize.el (mh-junk-background): New variable. If on, spam
	programs are run in background. Running in foreground can be slow.
	Defaults to nil to spare machines with little memory.

	* mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
	(mh-bogofilter-whitelist, mh-spamprobe-blacklist)
	(mh-spamprobe-whitelist): Use new option mh-junk-background.

2004-07-25  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-folder-completing-read): In recent CVS Emacs,
	the first letter of the possible choices in the completion buffer
	is highlighted. The change is needed for this feature to work
	during folder name completion. This is not entirely sufficient,
	since the leading "+" in folder names is still mishandled. A patch
	is required in Emacs itself to address that.

2004-07-22  Mark D. Baushke  <mdb@gnu.org>

	* mh-e.el (recursive-load-depth-limit): Move
	recursive-load-depth-limit code to ...
	* mh-utils.el (recursive-load-depth-limit): ... here to avoid
	problems compiling mh-utils.el and mh-alias.el with gnus-5.10.6
	under emacs-21.1. Use eval-and-compile instead of eval-when.

2004-07-20  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-invisible-header-fields-internal): Added
	header fields emitted by T-Mobile picture phones (X-Mms-*, and
	commented out X-Operator field saying it's like X-Mailer).

2004-07-12  Bill Wohler  <wohler@newt.com>

	* mh-gnus.el: Set local variables indent-tabs-mode and
	sentence-end-double-space to nil.

	* mh-customize.el: Checkpoint from option docstring updates and
	manual synchronization from last summer. For the options listed
	below, docstring was usually completely rewritten. Use "on"
	instead of "t" in docstring to match what is seen in customization
	buffer. Use headline capitalization. Standardize on "Auto-detect"
	text when option has that capibility.
	(mh): Since we work on more than one type of Emacs, use Emacs
	instead of GNU Emacs. Prefer GNU mailutils over GNU Mailutils.
	(mh-variant): s/Autodetect at startup/Auto-detect/.
	(mh-alias-insertion-location): s/Sorted
	alphabetically/Alphabetical/. s/At the top of file/Top/. s/At the
	bottom of file/Bottom/.
	(mh-alias-local-users-prefix): s/Use login instead of real
	name/Use Login/.
	(mh-identity-list): Sorted values by fields, attribution,
	signature, GPG key.
	(mh-auto-fields-list): Missing quote.
	(mh-compose-insertion): s/Use Gnus/Gnus/. s/Use mhn/mhn/.
	(mh-compose-space-does-completion-flag): s/SPACE/<SPC>/.
	(mh-extract-from-attribution-verb): Since we have French, added
	German too ;-).
	(mh-letter-complete-function): Mention default in docstring.
	(mh-invisible-header-fields-internal): Added X-ELNK-Trace from
	Earthlink.
	(mh-alias-flash-on-comma, mh-alias-insert-file)
	(mh-alias-passwd-gecos-comma-separator-flag)
	(mh-recenter-summary-flag, mh-default-folder-for-message-function)
	(mh-default-folder-must-exist-flag, mh-index-program)
	(mh-index-ticked-messages-folders, mh-ins-buf-prefix)
	(mh-delete-yanked-msg-window-flag, mh-identity-default): See
	summary above.

	* mh-init.el (mh-variant-set, mh-sys-path, mh-variant-mu-mh-info):
	Prefer GNU mailutils over GNU Mailutils MH.

	* mh-comp.el (sc-cite-original, mh-smail, mh-smail-batch)
	(mh-edit-again, mh-extract-rejected-mail, mh-forward)
	(mh-smail-other-window, mh-reply, mh-send, mh-send-other-window):
	Use `mh-send' instead of \\[mh-send]] since links in the docstring
	are more useful than a key sequence in these cases. Use "See also"
	instead of "See also documentation for".

	Merged in 7.4.4 changes, described below.

	* mh-e.el (Version, mh-version): Set to 7.4.4+cvs.

2004-07-10  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.4.4.

	* MH-E-NEWS, README: Updated for release 7.4.4.

	* mh-e.el (Version, mh-version): Updated for release 7.4.4.

	This patch release contains the following patches:

	* mh-xemacs.el: New file from concatenation of mh-xemacs-compat.el
	and mh-xemacs-icons.el which were removed since their names
	exceeded DOS 8+3 limits.

	* Makefile:
	(mh-e-autoloads.el): Add target to make `mh-e-autoloads.el', a
	file containg usual entry commands into MH-E to be used for users
	installing MH-E separately from Emacs.
	(XEMACS_LOADDEFS_FILE): New.  Used to generate mh-loaddefs.el
	in XEmacs.
	(XEMACS_LOADDEFS_COOKIE): Ditto.
	(XEMACS_LOADDEFS_PKG_NAME): Ditto.
	(XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner build
	environment.
	(MH-E-SRC): Moved mh-xemacs.el to new variable MH-E-XEMACS-SRC.
	(MH-E-XEMACS-SRC): New variable to hold XEmacs source files.
	(MH-E-XEMACS-OBJ): New variable to hold XEmacs object files.
	(clean): Moved XEmacs-specific code to clean-xemacs.
	(xemacs): Added clean-xemacs prerequisite. Moved down to XEmacs
	section of file. Add target to build mh-loaddefs.el in XEmacs.
	(loaddefs-xemacs): New rule to build mh-loaddefs.el in XEmacs.
	(clean-xemacs): New target to remove XEmacs-specific files.
	(compile-xemacs): New. It allows for the '-no-autoloads' option
	and byte-compiles all the source files with a single instance of
	XEmacs.
	(dist): Added $(MH-E-XEMACS-SRC) to tarball.
	(AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and
	'AUTOLOAD_FILE'.
	(AUTOLOAD_PACKAGE_NAME): New.
	(AUTOLOAD_FILE): New.
	(all): Don't set $EMACS_HOME if building with XEmacs.
	(xemacs): Use 'compile-xemacs' instead of 'compile'.
	(auto-autoloads.elc): Use new $AUTOLOAD_* vars and allow for
	'-no-autoloads'.
	(custom-load.elc): Allow for '-no-autoloads'.

	* mh-e.el: Don't require mh-xemacs-compat which no longer exists.
	The XEmacs stuff gets required by mh-customize.el which is
	required by mh-utils.el which is required by mh-e.el. This all
	happens before mh-xemacs-compat was required, so all should be
	well.
	(mh-restore-desktop-buffer): Move from desktop.el. Add Parameters.
	(mh-restore-desktop-buffer): Delete with-no-warnings.
	(mh-folder-mode): Bind desktop-save-buffer to t.
	(Courtesy Lars Hansen).

	* mh-alias.el (mh-assoc-ignore-case): New macro to use
	assoc-string when available (Emacs 21.4+); assoc-ignore-case
	otherwise.
	(mh-alias-reload, mh-alias-expand,
	mh-alias-minibuffer-confirm-address): Use it.

	* mh-seq.el: Added mh-autoload to mh-read-seq-default.

	* mh-utils.el (mh-require-cl): The Emacs coding conventions
	require that the cl package not be required at runtime. However,
	the cl package in versions of Emacs prior to 21.4 left cl routines
	in their macro expansions. Use mh-require-cl to provide the cl
	routines in the best way possible (closes SF #930012).
	(require 'mouse): To shush compiler.

	Use new function mh-require-cl throughout.

	Add arch taglines (courtesy Miles Bader).

	* mh-unit.el (mh-unit-files): Replaced mh-xemacs-compat.el and
	mh-xemacs-icons.el with mh-xemacs.el.

	* import-emacs: Also grab the ChangeLog.

	* *.pbm: Regenerated using GIMP to be consistent with other Emacs
	icons.
	1. Edit .xpm image in GIMP.
	2. Image > Mode > Indexed. Check Use Black/White Palette and No
	   Color Dithering.
	3. File > Save As file.xbm.
	4. Run xbmtopbm < file.xbm > file.pbm.
	Thanks to jan.h.d@swipnet.se for the help.

2004-07-07  Stephen Gildea  <gildea@stop.mail-abuse.org>

	* mh-customize.el (mh-invisible-header-fields-internal):
	Add X-Greylist, X-Source*, and X-WebTV-Signature.
	Replace specific X-Spam-* headers with general pattern.

2004-06-15  Bill Wohler  <wohler@newt.com>

	* README: Vladimir Ivanovic reports that mh-rmail works with
	XEmacs 21.5.17, so updated requirements text accordingly (closes
	SF #644321).

2004-05-12  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-mail-header-end): Replace call to
	rfc822-goto-eoh with something that allows From_ lines in the mail
	header.

2004-04-14  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (mh-show-mouse): s/EVENT/event/. Thanks to John Paul
	Wallington <jpw@gnu.org> for pointing this out.

2004-04-12  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-folder-size-flist): Add -showzero option so that the
	parsing code doesn't get confused by the presence of -noshowzero
	in the user's .mh_profile (closes SF #933954).

2004-04-07  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-insert-mime-button)
	(mh-insert-mime-security-button): Add evaporate property to
	overlays used in MIME part buttons.  This avoids problems with
	CVS Emacs.

2004-03-16  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-folder-from-address): Go to the end of buffer if the
	re-search-forward fails (closes SF #917096).

2004-02-02  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-customize.el (mh-compose-forward-as-mime-flag): New user
	customizable variable that controls whether messages are forwarded
	as MIME attachments (closes SF #827203).

	* mh-comp.el (mh-forward): Call forw with -mime option only if
	mh-compose-forward-as-mime-flag is non-nil.

2003-12-26  Jeffrey C Honig  <jch@honig.net>

	* mh-junk.el (mh-junk-blacklist, mh-junk-whitelist)
	(mh-spamassassin-blacklist, mh-spamassassin-blacklist)
	(mh-spamassassin-blacklist, mh-spamassassin-whitelist)
	(mh-spamassassin-whitelist, mh-bogofilter-blacklist)
	(mh-spamprobe-blacklist): Add progress messages.  Change "Couldn't"
	to "Unable" in error messages.  Run bogofilter and spamprobe in
	the foreground to prevent a large number of processes from
	swamping the system.

2003-12-25  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-prompt-for-refile-folder): Marking the whole folder
	and then refiling all messages throws an error, since this
	function expects point to be on a valid scan line. The change
	relaxes this requirement, thereby avoiding the above problem.

2003-12-14  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el (mh-ascii-buffer-p): New function that checks if a
	buffer is entirely composed of ASCII.
	(mh-send-letter): Encode the draft if it contains non-ASCII
	characters.

2003-12-12  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-customize.el (mh-invisible-headers): Keep only unique fields
	in list of header fields to hide. This avoids problems in XEmacs.

2003-12-10  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-print-scan-lines): The imenu index was not
	getting created for threaded index buffers. The change fixes this.

	* mh-index.el (mh-index-insert-folder-headers): Always create the
	imenu index.
	(mh-index-create-imenu-index): Set which-func-mode to t. If
	which-function-mode is turned on after the folder buffer has been
	prepared, display of the folder info was being inhibited. The
	change fixes that.

2003-12-09  Satyaki Das  <satyakid@stanford.edu>

	* mh-comp.el (mh-letter-mode): Setup mh-mail-header-separator
	based on draft contents.
	(mh-letter-mode, mh-letter-mail-header-end-marker)
	(mh-letter-header-end): Remove use of the variable
	mh-letter-mail-header-end-marker. Instead use
	mh-mail-header-separator. This avoids problems in font locking
	draft buffers (closes SF #855479).

2003-12-09  Satyaki Das  <satyakid@stanford.edu>

	* mh-index.el (mh-index-insert-folder-headers): Modified so that
	imenu--index-alist is updated.
	(mh-index-create-imenu-index): New function that generates an
	index usable by imenu. This adds which-func-mode support to index
	folders (closes SF #855520).

	* mh-e.el (which-func, which-func-modes): Tell which-func that
	mh-folder-mode supports it.
	(mh-folder-mode): Add support for imenu.

2003-11-22  Peter S Galbraith  <psg@debian.org>

	* Makefile: renamed mh-startup.el to mh-e-autoloads.el

	* README: renamed mh-startup.el to mh-e-autoloads.el

	* .cvsignore: Added mh-e-autoloads.el

2003-11-18  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.4.3.

	* MH-E-NEWS, README: Updated for release 7.4.3.

	* mh-e.el (Version, mh-version): Updated for release 7.4.3.

	This patch release contains the following two patches:

	* mh-identity.el (mh-identity-make-menu): Removed condition on
	mh-auto-fields-list. Use it to enable or disable menu item
	instead.

	* mh-customize.el (mh-identity-list): Removed defvar and moved
	defcustom before mh-auto-fields-list so that defvar wouldn't
	clobber user's customization settings.

2003-11-17  Jeffrey C Honig  <jch@honig.net>

	* mh-print.el (mh-print-msg): Do not print a message on deprecated
	usage, the bindings have been removed.

	* mh-e.el (mh-folder-mode-map): Remove "l" binding for
	mh-print-msg.

	* mh-utils.el (mh-show-mode-map): Remove "l" binding for
	mh-print-msg.

2003-11-16  Satyaki Das  <satyakid@stanford.edu>

	* mh-comp.el (mh-beginning-of-word): Use the function
	mh-mail-abbrev-make-syntax-table instead of the function
	mail-abbrev-make-syntax-table.

	* mh-gnus.el (mh-mail-abbrev-make-syntax-table): Add a wrapper
	function that calls mail-abbrev-make-syntax-table if available.
	This is needed so that MH-E built with CVS Emacs will work with
	released versions of Emacs21 and vice versa.

2003-11-14  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-invisible-header-fields-internal): Add
	"X-NAI-Spam-" and "X-Spam-Report:".

2003-11-14  Mark D. Baushke  <mdb@gnu.org>

	* mh-customize.el (mh-invisible-header-fields-internal):
	Add X-AntiAbuse and X-MailScanner.
	(Patch from Stephen Gildea.)

2003-11-13  Peter S Galbraith  <psg@debian.org>

	* mh-identity.el (mh-identity-handler-attribution-verb): New
	function. A new Identity handler for the attribution verb (e.g.
	"wrote:") to allow for different identities to use different
	languages.
	(mh-identity-insert-attribution-verb): New function. Insert the
	attribution verb, placing special markers so it can be deleted and
	replaced later.
	(mh-identity-attribution-verb-start): New variable. Holds the
	marker for the start of the attribution verb.
	(mh-identity-attribution-verb-end): New variable. Holds the
	marker for the end of the attribution verb.

	* mh-customize.el (mh-identity-handlers): Add new
	":attribution-verb" tag for the attribution-verb handler.
	(mh-identity-list): Idem.

	* mh-comp.el (mh-yank-cur-msg): Insert attribution verb using
	mh-identity-insert-attribution-verb.
	(mh-extract-from-attribution): Extract only the name from the From
	line, without appending `mh-extract-from-attribution-verb' since
	markers need to be inserted around that now.

2003-11-12  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-rmail, mh-nmail): Well, actually, we run in both GNU
	Emacs and XEmacs, so removed the "GNU" in the docstrings unless
	one is strictly talking about GNU Emacs.

	* mh-comp.el (mh-smail, mh-smail-batch, mh-smail-other-window):
	Ditto.

2003-11-11  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-customize): Minor docstring change.
	(mh, mh-e): The short description for MH-E is: The GNU Emacs
	Interface to the MH Mail System. Therefore, updated docstrings
	accordingly.

	* mh-comp.el (mh-smail, mh-smail-batch, mh-smail-other-window):
	Ditto.

	* mh-e.el (mh-rmail, mh-nmail): Ditto.

2003-11-10  Satyaki Das  <satyakid@stanford.edu>

	* mh-mime.el (mh-mml-to-mime): In case errors happen in
	mml-to-mime, restore contents of the draft buffer (closes SF
	#839303).

2003-11-07  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-letter-mode-hook): Moved to mh-sending-mail
	group (where it is now documented in the manual).
	(mh-pick-mode-hook): Moved to mh-index group (where it is now
	documented in the manual).

	* mh-loaddefs.el: Deleted per our discussion on mh-e-devel. No
	more conflicts! No more check-ins! Anyone pulling CVS MH-E is
	expected to compile. This file shall be added to the tarball so
	that users of the distribution are not.

2003-11-07  Mark D. Baushke  <mdb@gnu.org>

	* mh-loaddefs.el: Regenerated.

	* mh-customize.el (mh-forward-hook): Define new hook.
	* mh-comp.el (mh-forward): Use it.

2003-11-07  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-utils.el (mh-show-toggle-mime-buttons)
	(mh-show-display-with-external-viewer): New interactive functions
	callable from the show buffer.
	(mh-show-mime-map): Add bindings for "K t" and "K e".
	(mh-show-msg): Propagate change to
	mh-display-buttons-for-inline-parts-flag to the show buffer.

	* mh-mime.el (mh-display-with-external-viewer): New interactive
	function to display MIME parts with external viewer (closes SF
	#839318).

	* mh-e.el (mh-folder-mode): Make the variable
	mh-display-buttons-for-inline-parts-flag buffer-local so that
	display of MIME buttons can be toggled.
	(mh-toggle-mime-buttons): New interactive function to toggle
	display of MIME buttons.
	(mh-mime-map): Modified to add bindings for "K t" and "K e".

2003-11-04  Steve Youngs  <sryoungs@bigpond.net.au>

	* Makefile (XEMACS_LOADDEFS_FILE): New. Used to generate
	mh-loaddefs.el in XEmacs.
	(XEMACS_LOADDEFS_COOKIE): Ditto.
	(XEMACS_LOADDEFS_PKG_NAME): Ditto.
	(xemacs): Add target to build mh-loaddefs.el in XEmacs.
	(clean-xemacs): Remove `mh-loaddefs.el*'.
	(loaddefs-xemacs): New rule to build mh-loaddefs.el in XEmacs.

2003-11-02  Peter S Galbraith  <psg@debian.org>

	* mh-init.el (mh-variant-set-variant): Reset `mh-x-mailer-string'
	when we select an MH variant.

2003-11-02  Jeffrey C Honig  <jch@honig.net>

	* mh-loaddefs.el: Regenerated.

	* mh-funcs.el (mh-print-msg): Move to mh-print.el.

	* mh-e.el (mh-folder-mode-map): Add mh-print-msg ("l") back, it
	will print a message that this usage is deprecated.

	* mh-print.el (require, mh-ps-print-msg, mh-ps-print-msg-file):
	Require mh-funcs for mh-note-printed.  PS print functions were not
	setting the printed notation.  Move mh-print-msg here for
	consistency.  Print message if mh-print-msg invoked via deprecated
	key binding.

2003-11-01  Peter S Galbraith  <psg@debian.org>

	* Makefile: Add target to make `mh-startup.el', a file containg
	usual entry commands into MH-E to be used for users installing
	MH-E separately from Emacs.

	* README: Document the above for users.

2003-10-29  Jeffrey C Honig  <jch@honig.net>

	* mh-utils.el (mh-show-ps-print-map): Add "?" and "l" to
	mh-show-ps-print-map.

	* mh-e.el (mh-ps-print-map, mh-help-messages): Add "?" and "l" to
	mh-ps-print-map.  Add "l" to help message.

2003-10-27  Bill Wohler  <wohler@newt.com>

	* Makefile (MH-E-SRC): Moved mh-xemacs.el to new variable
	MH-E-XEMACS-SRC.
	(MH-E-XEMACS-SRC): New variable to hold XEmacs source files.
	(MH-E-XEMACS-OBJ): New variable to hold XEmacs object files.
	(clean): Moved XEmacs-specific code to clean-xemacs.
	(xemacs): Added clean-xemacs prerequisite. Moved down to
	XEmacs section of file.
	(clean-xemacs): New target to remove XEmacs-specific files.
	(compile-xemacs): Added $(MH-E-XEMACS-SRC) prerequisite.
	(dist): Added $(MH-E-XEMACS-SRC) to tarball.

2003-10-27  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-index.el (mh-indexer-choices): Remove option for the non-free
	glimpse indexer (closes SF #831276).
	(mh-glimpse-binary, mh-glimpse-directory)
	(mh-glimpse-execute-search, mh-glimpse-next-result): Functions
	and variables to implement glimpse support are removed.

	* mh-customize.el (mh-index-program): Remove option for glimpse.

2003-10-24  Satyaki Das  <satyakid@stanford.edu>

	* mh-customize.el: Remove top-level test for toolbar enabled
	XEmacs since it is not needed.
	(mh-tool-bar-define): Add test for XEmacs toolbar in the functions
	mh-toolbar-init, mh-tool-bar-letter-buttons-set and
	mh-tool-bar-folder-buttons-set. This enables proper compilation
	irrespective of whether the XEmacs was built with toolbar support
	or not.

	* mh-comp.el (mh-letter-mode): Remove conditional since it is not
	needed.

	* mh-e.el (mh-folder-mode): Same as above.

	* mh-utils.el (mh-show-mode): Same as above.

	* mh-xemacs.el (mh-xemacs-icon-map): Remove condition on toolbar
	presence since we want the build to work if XEmacs without
	toolbars is used during compilation.

2003-10-23  Bill Wohler  <wohler@newt.com>

	* mh-customize.el: The Great Reorganization. Sorted groups
	alphabetically. Aligned variables in customization groups with
	manual sections. Group docstrings changed to match manual chapter
	titles.

2003-10-22  Satyaki Das  <satyakid@stanford.edu>

	* mh-speed.el (timer): Avoid compiler warning in XEmacs.

2003-10-22  Steve Youngs  <sryoungs@bigpond.net.au>

	* Makefile (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner
	build environment.
	(AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and
	'AUTOLOAD_FILE'.
	(AUTOLOAD_PACKAGE_NAME): New.
	(AUTOLOAD_FILE): New.
	(all): Don't set $EMACS_HOME if building with XEmacs.
	(xemacs): Use 'compile-xemacs' instead of 'compile'.
	(auto-autoloads.elc): Use new $AUTOLOAD_* vars and allow for
	'-no-autoloads'.
	(custom-load.elc): Allow for '-no-autoloads'.
	(compile-xemacs): New.  It allows for the '-no-autoloads' option
	and byte-compiles all the source files with a single instance of
	XEmacs.

	* mh-e.el (mh-folder-mode): Only load the toolbar in XEmacs if
	toolbar support is available.

	* mh-comp.el (mh-letter-mode): Only load the toolbar in XEmacs if
	toolbar support is available.

	* mh-customize.el: Require 'mh-xemacs' at toplevel when
	'mh-xemacs-flag' is non-nil.
	Wrap all the toolbar code in a test that is true if using
	GNU/Emacs or a toolbar-enabled XEmacs.

	* mh-print.el (mh-ps-spool-a-msg): Comment out
	`clean-message-header-flag' because it isn't used anywhere.

	* mh-utils.el (mh-show-mode): Only load the toolbar in XEmacs if
	toolbar support is available.

	* mh-xemacs.el: Autoload `regexp-opt', `customize-group',
	`view-mode', `with-electric-help', `pp', `sort-numeric-fields',
	`reverse-region', and `goto-address' at compile time.
	(mh-xemacs-has-toolbar-flag): New.  This is non-nil when XEmacs
	has toolbar support.
	(mh-xemacs-toolbar-*-icon): Use it.

2003-10-21  Mark D. Baushke  <mdb@gnu.org>

	* mh-identity.el (mh-identity-field-handler): Fields that begin
	with ":" must have an mh-identity-handler defined or the user
	gets an error.

2003-10-17  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-identity-list): This change affects users!
	The keyword "signature" becomes ":signature".  The recently added
	keyword "pgg-default-user-id" becomes ":pgg-default-user-id".
	(mh-auto-fields-list): The keyword "Identity" becomes ":identity".
	(mh-identity-handlers): Idem for signature and pgg-default-user-id.

	* mh-comp.el (mh-insert-auto-fields): Idem for Identity.

2003-10-17  Peter S Galbraith  <psg@debian.org>

	* mh-xemacs.el: Add eval-and-compile call to (load "toolbar" t t) to
	make sure `toolbar-make-button-list' is defined.  We can't use
	require because Emacs doesn't have this library.

2003-10-16  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-signature-file-name)
	(mh-letter-insert-signature-hook): Merge docstring with manual.

	* mh-comp.el (mh-file-is-vcard-p): Checkdoc fix.
	(mh-insert-signature): Merge docstring with manual.

	* mh-customize.el (mh-junk): Changed manual link in defgroup from
	Customizing mh-e to Junk.
	(mh-junk-function-alist): Moved SpamAssassin to first in list on
	the hunch that it is the most popular and should be chosen if
	other anti-spam programs exist.
	(mh-junk-mail-folder): Since the variable can accept values other
	than folder names, renamed to mh-junk-disposition to more
	accurately reflect the content. Merge docstring with manual.
	(mh-junk-program): Moved SpamAssassin to the top of the menu for
	the same reason presented in mh-junk-function-alist. Also, fixed
	case of spam programs to match official usage. Merge docstring
	with manual.

	* mh-junk.el (mh-junk-blacklist):
	s/mh-junk-mail-folder/mh-junk-disposition/. Merge docstring with
	manual.
	(mh-junk-whitelist): Merge docstring with manual.
	(mh-bogofilter-blacklist): No longer suggest using automatic
	classification so use -s instead of -Ns.
	(mh-bogofilter-whitelist): No longer suggest using automatic
	classification so use -n instead of -Sn.
	(mh-spamassassin-blacklist, mh-spamassassin-whitelist): Merge
	docstring with manual. Moved spamassassin functions to top of file
	so functions appear in same order that they are presented in menu.

2003-10-09  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mail-citation-hook): Moved from mh-comp.el and
	made into a defcustom.

2003-10-09  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-comp.el (mh-get-header-field): Add autoload cookie.

	* mh-utils.el (mh-show-ps-print-toggle-mime)
	(mh-show-ps-print-toggle-color, mh-show-ps-print-toggle-faces)
	(mh-show-ps-print-msg-file, mh-show-ps-print-msg)
	(mh-show-ps-print-msg-show): New interactive functions callable
	from the show buffer.
	(mh-show-ps-print-map): New key map for printing.

	* mh-e.el (mh-folder-mode-map): Remove key binding for
	mh-print-msg.
	(mh-ps-print-map): Add new key map for printing.

	* Makefile (MH-E-SRC): Add mh-print.el.

2003-10-07  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-x-image-url-fetch-image): In XEmacs,
	make-temp-file is not present. So to avoid security problems, use
	a temporary file in the user's home directory. This avoids issues
	in creating files in a world-writable directory.

	* mh-mime.el (mh-signature-highlight): In Emacs, arrange for the
	overlay to be freed when it is no longer needed. Also, implement
	signature highlighting in XEmacs.

2003-10-05  Satyaki Das  <satyakid@stanford.edu>

	* mh-mime.el (mh-mime-display, mh-mm-inline-message): Respect the
	value of `mm-verify-option' and `mm-decrypt-option'.
	(mh-mime-display-security): Rearrange code a bit to avoid too many
	new lines being inserted when message verification/decryption is
	carried out while the message is being read. Also use the
	point-m{in|ax}-marker functions to make the function easier to read.
	(mh-mime-security-press-button): Extend the function so that the
	user can verify/decrypt messages while reading them.

	* mh-gnus.el (mm-possibly-verify-or-decrypt): Added to avoid
	compiler warning with old Gnus.

	* mh-utils.el (mh-x-image-url-sane-p): New function which checks
	if the URL in X-Image-URL is something we can handle.
	(mh-x-image-url-display): Don't display image if the URL looks
	malformed.

2003-10-04  Mark D Baushke  <mdb@gnu.org>

	* mh-comp.el (mh-letter-menu): Simplify menu heading.

2003-10-03  Mark D Baushke  <mdb@gnu.org>

	* mh-mime.el (mh-mml-query-cryptographic-method): Avoid
	revisionist history and still provide a good default.

	* mh-comp.el (mh-letter-menu): Remove the Disable Security
	parenthetical comment.

	* mh-loaddefs.el: Regenerated.

	* mh-customize.el (mh-mml-method-default): What method should be
	used in secure directives.

	* mh-mime.el (mh-secure-message): New function used to generate
	the mml security tags.
	(mh-mml-unsecure-message): New wrapper function around
	mml-unsecure-messages.
	(mh-mml-secure-message-sign-pgpmime): Remove function.
	(mh-mml-secure-message-encrypt-pgpmime): Ditto.
	(mh-mml-cryptographic-method-history): New variable.
	(mh-mml-query-cryptographic-method): New function.
	(mh-mml-secure-message-encrypt): Ditto.
	(mh-mml-secure-message-signencrypt): Ditto.
	(mh-mml-secure-message-sign): Ditto.

	* mh-comp.el (mh-letter-menu, mh-letter-mode-help-messages)
	(mh-letter-mode-map): Update to use new functions.

2003-09-26  Satyaki Das  <satyakid@stanford.edu>

	* mh-seq.el (mh-interactive-range): The function has been
	extended so that it now takes a default result to return if no
	interactive prefix arg is given and no region is active.

	* mh-e.el (mh-add-sequence-notation): If transient-mark-mode is
	on, then the active region is deactivated based on whether a user
	sequence or a internal sequence is being notated. The change
	removes this inconsistency.
	(mh-catchup, mh-folder-map): A new interactive function to mark
	messages as read has been added and bound to "F c" in the folder
	mode.

	* mh-utils.el (mh-show-catchup, mh-show-folder-map): New
	interactive function callable from show mode buffers has been
	bound to "F c".

2003-09-24  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-clean-message-header-flag)
	(mh-invisible-header-fields-default, mh-invisible-header-fields):
	Merge docstring with manual.

2003-09-24  Mark D. Baushke  <mdb@gnu.org>

	* mh-junk.el (mh-junk-blacklist): Junked messages should be put
	into the mh-seen-list to avoid propagating the unseen sequence
	into the spam folder.

	* mh-loaddefs.el: Regenerated.

	* mh-mime.el (mh-mml-secure-message-sign-pgpmime): Add an optional
	dontsign argument to remove an existing secure message directive.
	Update the docstring -- this fuction does not allow for
	encrypt/sign, just sign directives.

	* mh-mime.el (mh-mml-secure-message-sign-pgpmime): Use
	mml-insert-tag directly to provide a sender if
	mh-identity-pgg-default-user-id is set.
	(mh-mml-secure-message-encrypt-pgpmime): Use mml-insert-tag
	directly to provide a sender if this message is to be both signed
	and encrypted and mh-identity-pgg-default-user-id is set.

2003-09-23  Bill Wohler  <wohler@newt.com>

	* mh-alias.el (Commentary): Removed as it is now in the manual.
	(mh-alias-system-aliases): Moved here from mh-customize.el. By
	definition, "system" definitions are not user-visible, and user
	filenames are in the the Aliasfile: profile component, so this
	variable really shouldn't be a defcustom.
	(mh-alias-tstamp, mh-alias-filenames, mh-alias-reload)
	(mh-alias-add-alias, mh-alias-grab-from-field)
	(mh-alias-add-address-under-point, mh-alias-apropos): Merge
	docstring with manual.
	(mh-alias-reload-maybe): Minor comment update.
	(mh-alias-insert-file): Merge docstring with manual. Removed
	"[press TAB]" from prompt since users should know about completion
	and space can be used as well.
	(mh-alias-for-from-p): No longer returns a surprising result (t if
	there was **not** an alias for the From field) if the From header
	field is missing. This function now returns what you would expect
	a function of this name to return. Renamed from
	mh-alias-from-has-no-alias-p since negatives in the function name
	make logic harder to follow.
	(mh-alias-add-alias-to-file): Merge docstring with manual.
	Improved verbiage of prompt. Aliases are now inserted "[b]efore"
	or "[a]fter" the existing alias instead of "[i]nsert" or
	"[a]ppend." Note how the new usage flows better.

	* mh-customize.el (mh-alias): Changed manual link in defgroup from
	Customizing mh-e to Aliases.
	(mh-alias-grab-from-field button): mh-alias-from-has-no-alias-p
	renamed to mh-alias-for-from-p and no longer returns surprising
	value if there isn't a From field. Therefore, enable button if
	there is a From header field and mh-alias-for-from-p returns nil.
	(mh-letter-complete-function)
	(mh-alias-completion-ignore-case-flag, mh-alias-flash-on-comma)
	(mh-alias-insert-file, mh-alias-insertion-location)
	(mh-alias-local-users, mh-alias-local-users-prefix)
	(mh-alias-passwd-gecos-comma-separator-flag): Merge docstring with
	manual.
	(mh-alias-system-aliases): Moved to mh-alias.el.

	* mh-comp.el (mh-letter-complete-function-alist): Removed comment
	about making this customizable since I didn't think it seemed
	appropriate in the manual.
	(mh-letter-complete): Merge docstring with manual.

2003-09-23  Satyaki Das  <satyakid@stanford.edu>

	* mh-speed.el (mh-speed-flists): When exiting emacs, don't ask if
	the flists process should be killed.

	* mh-e.el (mh-folder-message-menu): Enable undo menu entry only
	if something can be undone.

	* mh-customize.el (undo): Enable undo button only if something
	can be undone.

2003-09-22  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-identity-handlers): New defcustom.  Alist of
	Handler functions for mh-identity (downcased) fields.
	(mh-identity-list): Add support for pgg-default-user-id.

	* mh-identity.el (mh-insert-identity): Modified to use
	`mh-identity-handlers', adding hacking flexibility for those who
	might need it.
	(mh-identity-field-handler): New function. Return the handler for
	a FIELD or nil if none set. The field name is downcased.
	(mh-identity-handler-gpg-identity): New function; handler for pgg
	pgp identities.  It sets a buffer-local value for
	`mh-pgg-default-user-id' which must be handled by mh-send-letter.
	(mh-identity-pgg-default-user-id): New buffer-local variable to
	hold the requested key ID.
	(mh-identity-handler-signature): New function; handler t insert
	and remove signature files.
	(mh-identity-handler-default): New function; the default handler
	to insert or remove generic field.
	(mh-identity-handler-top): Insert a field at the top of the
	header.
	(mh-identity-handler-bottom): Insert a field at the bottom of the
	header.
	(mh-header-field-delete): Make more robust wrt the field having a
	trailing colon or not.
	(mh-identity-make-menu): Add a "Customize Identities" menu entry.

	* mh-loaddefs.el: Regenerated.

2003-09-21  Peter S Galbraith  <psg@debian.org>

	* mh-init.el (mh-variant-set): Bug fix for mh-variant long names
	with version numbers.

	* mh-e.el (mh-scan-format): patch from Sergey Poznyakoff.
	GNU mailutils now supports the %(decode) format

2003-09-20  Satyaki Das  <satyakid@stanford.edu>

	* mh-gnus.el (mh-mm-text-html-renderer): New function to query
	which HTML renderer is being used by Gnus.

	* mh-mime.el (mh-signature-highlight): Renderers used to display
	HTML parts garble the signature separator in various ways. The
	function has been modified to take that into account.
	(mh-mime-display-single, mh-mm-display-part): Pass the new
	optional argument to `mh-signature-highlight'.

2003-09-19  Mark D. Baushke  <mdb@gnu.org>

	* mh-mime.el (mh-have-file-command, mh-file-mime-type): Made an
	mh-autoload as they are used in mh-comp.el.

	* mh-loaddefs.el: Regenerated.

2003-09-18  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-insert-fields): Make sure field has a colon.

2003-09-18  Satyaki Das  <satyakid@stanford.edu>

	* mh-seq.el (mh-toggle-tick): Don't hardcode the name of the tick
	sequencence in the function. This would have caused improper
	highlighting of the tick sequence if the user had changed its
	name.

2003-09-15  Satyaki Das  <satyakid@stanford.edu>

	* mh-e.el (mh-folder-message-menu): Fix a little bug which shows
	up as a problem during compilation (closes SF #806577).

2003-09-15  Mark D. Baushke  <mdb@gnu.org>

	* mh-customize.el (mh-invisible-header-fields-internal): Added
	a new field for GNU mailutils per Sergey Poznyakoff.

2003-09-09  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (vcard): Unconditionally load vcard.el, if
	available, so that vcards are always inlined.

2003-09-09  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-file-mime-type-substitutions): Add entry to
	convert text/plain .vcf files to text/x-vcard.
	(mh-mime-content-types): Add text/x-vcard.

2003-09-09  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-rejected-letter-start): Added strings for qmail
	and exim (addresses SF #404965).

2003-09-09  Satyaki Das  <satyakid@stanford.edu>

	* mh-gnus.el (mm-inline-text-vcard): Make vcard display work with
	Gnus-5.9. The extra file vcard.el is still needed.

	* mh-mime.el (mh-signature-highlight): New function that
	highlights message signatures.
	(mh-mm-display-part, mh-mime-display-single): Highlight signatures
	using `mh-signature-highlight' (closes SF #802722). More work is
	needed for XEmacs.
	(mh-mime-display): Highlight signature in non-MIME email too.

	* mh-customize.el (mh-show-signature-face): New face used to
	display message signature.

2003-09-08  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-version): Do something sensible when
	mh-variant-in-use is undefined.
	* mh-junk.el (mh-spamassassin-blacklist)
	(mh-spamassassin-whitelist): Change options to be compatoble with
	old version of spamassassin (V2.20).

2003-09-07  Mark D. Baushke  <mdb@gnu.org>

	* mh-mime.el (mh-access-types): Per RFC 2049, the "afs"
	access-type for message/external-body has been removed.
	Update the comments to reference the current MIME RFCs
	2045, 2046 and 2049 rather than the obsolete RFC 1521.

2003-09-05  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-version): Bumped version number to 7.4.2+cvs.

2003-09-04  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-picon-directory-list, mh-picon-directory): The
	mh-picon-directory-list variable supersedes mh-picon-directory.
	(mh-picon-existing-directory-list): New variable that contains
	the list of picon directories that actually exist.
	(mh-picon-set-directory-list): New function to update
	mh-picon-existing-directory-list from mh-picon-directory-list.
	(mh-picon-get-image): The function has been modified to search a
	list of possible picon source directories. The regexp to extract
	the username from the email address has been made smarter so that
	it can recognize email addresses of the form user+random@foo.net
	and extract "user" from there.
	(mh-picon-file-contents): The file type recognition code has been
	moved from mh-picon-get-image into this function.
	(mh-picon-generate-path): The function has been generalized so
	that searching multiple paths is now feasible.

	* mh-pick.el, mh-e.el: Checkdoc fixes.

2003-09-02  Satyaki Das  <satyakid@stanford.edu>

	* mh-identity.el (eval-when): It seems that the mh-comp-loaded
	code isn't required any more.

2003-08-30  Satyaki Das  <satyakid@stanford.edu>

	* mh-init.el (mh-variant-set): Replace `error' with `message' so
	that Emacs CVS will compile without errors if no MH variant is
	present.

2003-08-29  Satyaki Das  <satyakid@stanford.edu>

	* mh-init.el (mh-variant-set): Add interactive spec to the
	function.

	* mh-mime.el (mh-mhn-compose-external-type): Optional arguments
	are prompted for only if prefix arg is given.

2003-08-29  Mark D. Baushke  <mdb@gnu.org>

	* mh-mime.el (mh-mhn-compose-external-type): Modified to be
	interactive and prompts for many of the fields. Made an
	mh-autoload.
	(mh-access-types): New table derived from RFC2017, RFC1521 and
	RFC1738, used in a completing-read in
	mh-mhn-compose-external-type.

	* mh-loaddefs.el: Regenerated.

2003-08-26  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-picon-image-types, mh-picon-get-image): Avoid
	compiler warnings.
	(mh-sub-folders-actual): Parsing of the output from folders has
	been modified, so that it also works for MH (closes SF #792300).

	* mh-junk.el (mh-spamassassin-whitelist): Avoid calling
	ietf-drums-parse-address if it isn't present.
	(mh-spamassassin-identify-spammers): Avoid use of puthash so that
	Emacs20 doesn't complain.

	* mh-e.el (mh-colors-available-p): Wrap call to
	display-color-cells in a mh-funcall-if-exists to avoid compiler
	warning in Emacs20.

2003-08-25  Satyaki Das  <satyakid@stanford.edu>

	* mh-e.el (mh-colors-available-flag, mh-folder-mode): New
	variable to track if colors are available and it is set
	appropriately in mh-folder-mode.
	(mh-colors-available-p, mh-colors-in-use-p): Two functions to
	check whether colors are available and if they are actually being
	used.
	(mh-add-sequence-notation): Just changing a scan line doesn't
	make font-lock refontify the line in Emacs20. So explicitly
	refontify the scan line in such a situation.
	(mh-internal-seq): If colors aren't being used then treat the
	tick sequence like a normal user sequence.

	* mh-seq.el (mh-put-msg-in-seq): Do font-lock highlighting after
	the messages have been added to the sequence.
	(mh-toggle-tick): Modified so that highlighting of the ticked
	messages will be properly done. If font-lock isn't being used or
	if colors aren't supported by the Emacs where MH-E is running,
	then the `%' character is used to annotate ticked messages.

	* mh-utils.el (mh-picon-image-types): Since Emacs20 doesn't have
	image-type-available-p, wrap calls to that function in
	ignore-errors.
	(mh-add-msgs-to-seq): Do the font-lock highlighting after the
	messages have been added.

2003-08-24  Bill Wohler  <wohler@newt.com>

	* Makefile (MH-E-SRC): Replaced mh-xemacs-compat.el and
	mh-xemacs-icons.el with mh-xemacs.el.

	* mh-e.el: Don't require mh-xemacs-compat which no longer exists.
	The XEmacs stuff gets required by mh-customize.el which is
	required by mh-utils.el which is required by mh-e.el. This all
	happens before mh-xemacs-compat was required, so all should be
	well.

	* mh-unit.el (mh-unit-files): Replaced mh-xemacs-compat.el and
	mh-xemacs-icons.el with mh-xemacs.el.

	* mh-xemacs.el: New file from concatenation of mh-xemacs-compat.el
	and mh-xemacs-icons.el which were removed since their names
	exceeded DOS 8+3 limits.

	* mh-customize.el (mh-compose-skipped-header-fields): Use
	uppercase for field names.

2003-08-21  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-sequences): Introduced new customization
	group for sequences.
	(mh-refile-preserves-sequences-flag, mh-tick-seq)
	(mh-update-sequences-after-mh-show-flag): Moved option from
	mh-folder to mh-sequences group. Synced docstring with manual.
	(mh-index-ticked-messages-folders): Since mh-tick-seq is
	customizable, use it instead of tick in the docstring.

	* mh-index.el (mh-index-ticked-messages): Since mh-tick-seq is
	customizable, use it instead of tick in the docstring.

	* mh-seq.el (mh-msg-is-in-seq): Can now specify an alternate
	message number with a prefix argument.
	(mh-narrow-to-tick): Since mh-tick-seq is customizable, use it
	instead of tick in the docstring. Also, use mh-tick-seq instead of
	tick in warning message.

2003-08-20  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el: setq mh-variant to 'none when byte-compiling,
	since we don't care what MH variant (if any) is on the system at
	that point.

	* mh-init.el (mh-variant-set): Don't probe for MH variant when
	mh-variant is set to'none (during byte-compilation).

2003-08-19  Peter S Galbraith  <psg@debian.org>

	* mh-pick.el (mh-pick-single-dash): New defconst.  Search
	components that are supported by single-dash option in
	pick.
	(mh-pick-regexp-builder): Use `mh-pick-single-dash' and adapt
	patch from Sergey Poznyakoff.

	* mh-comp.el (mh-reply): mu-mh supports `repl -group', thanks to
	Sergey Poznyakof.

	* mh-init.el: checkdoc fixes.

2003-08-19  Bill Wohler  <wohler@newt.com>

	* mh-seq.el (mh-edit-pick-expr): Renamed from mh-read-pick-regexp
	since the new name is more indicative of what the function does.
	Prompt now says "Pick expression" instead of "Pick regexp".
	(mh-narrow-to-subject): Rewrote function to behave like other
	similar functions.
	(mh-narrow-to-header-field, mh-narrow-to-range)
	(mh-narrow-to-tick): s/regexp/pick-expr/.
	(mh-widen, mh-narrow-to-from, mh-narrow-to-cc, mh-narrow-to-to):
	Synced docstrings with manual

2003-08-19  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.4.2.

	* MH-E-NEWS, README: Updated for release 7.4.2.

	* mh-e.el (Version, mh-version): Updated for release 7.4.2.

	* mh-e.el (mh-folder-size, mh-folder-size-folder)
	(mh-folder-size-flist): If flist is not present use folder to find
	the number of messages in the folder. Also the .mh_sequences file
	is read to find the number of unseen messages (patch from 1.349
	and branched for 7.4.2, closes SF #791021).

	* mh-utils.el (mh-flists-present-flag, mh-find-progs): Introduce a
	new variable to test for the presence of the flists program and
	set it in mh-find-progs.
	(mh-collect-folder-names): Use folders instead of flists. One
	advantage is that folders is available on MH while flists is not.
	Another is that if an explicit -sequence argument isn't given and
	Unseen-Sequence profile is not present then flists croaks while
	folders doesn't.
	(mh-collect-folder-names-filter): Don't consider folder names that
	start with a `.' character. This is needed since the folders
	command doesn't filter them out like flists does.
	(patches from 1.307 and 1.309 and branched for 7.4.2, closes SF
	#791021).

2003-08-18  Bill Wohler  <wohler@newt.com>

	* mh-index.el (mh-index-sequenced-messages)
	(mh-index-new-messages, mh-index-ticked-messages): Updated
	docstrings from manual (closes SF #718833).

	* mh-customize.el (mh-variant): Checkdoc fix.
	(mh-index-new-messages-folders): Don't mention defvar in
	docstring, use `+inbox' instead.
	(mh-index-ticked-messages-folders): Don't mention defvar in
	docstring, use `tick' instead.

	* mh-comp.el (mh-repl-group-formfile): Checkdoc fix.

2003-08-18  Peter S Galbraith  <psg@debian.org>

	* mh-init.el (mh-variant-set, mh-sys-path, mh-variant-info): Add
	support for GNU mailutils.
	(mh-variant-mu-mh-info): New function to detect mu-mh and return
	info about it for `mh-variants'.

	* mh-e.el (mh-regenerate-headers): mu-mh has different error
	message for a invalid message list.

2003-08-18  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-e): New defgroup.  Sort of an alias for the
	'mh group that a user might be more likely to find.

2003-08-18  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-insert-auto-fields-done-local): Docstring tweak.
	(mh-compose-and-send-mail): Do not call mh-insert-auto-fields.
	This should be done only once in mh-send-letter.

2003-08-18  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-mode): Call `mh-find-path unconditionally,
	like elsewehere in MH-E.

	* mh-utils.el (mh-find-path): Run setup code only if
	`mh-find-path-run' is nil such that this is only done once.
	Also remove the `setq' for `read-mail-command' and `mail-user-agent'.

2003-08-18  Peter S Galbraith  <psg@debian.org>

	* mh-e.el: require 'mh-utils first

	* mh-customize.el (mh-variant): defcustom moved here.

	* mh-init.el (mh-variants): Made an mh-autoload.

2003-08-18  Peter S Galbraith  <psg@debian.org>

	* Makefile (MH-E-SRC): Added mh-init.el to MH-E-SRC.

	* mh-utils.el (mh-find-progs): Deleted.  Make obsolete by mh-init.el.
	(mh-find-path): Call `mh-variants' instead of now obsolete
	`mh-find-progs'.
	(mh-path-search): Deleted.  Was only used by `mh-find-progs'.

	* mh-e.el: require mh-init.el.
	(mh-version): Use simpler `mh-variant-in-use'.
	(mh-scan-format): Use (mh-variant-p 'nmh) instead of mh-nmh-flag.

	* mh-comp.el (mh-insert-x-mailer): Use simpler `mh-variant-in-use'.

	* mh-utils.el (mh-progs, mh-lib, mh-lib-progs)
	(mh-flists-present-flag): Moved to mh-init.el.
	(mh-nmh-flag): Deleted.  Use (mh-variant-p 'nmh) instead.

	* mh-comp.el (mh-repl-group-formfile, mh-forward, mh-reply)
	(mh-send-letter): Use (mh-variant-p 'nmh) instead of mh-nmh-flag.

	* mh-mime.el (mh-edit-mhn, mh-mime-save-parts): Use (mh-variant-p
	'nmh) instead of mh-nmh-flag.

2003-08-16  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-folder-selection): New group to hold
	variables described in Folder Selection section in manual.
	(mh-default-folder-list, mh-default-folder-must-exist-flag,
	mh-default-folder-prefix): Moved to mh-folder-selection group.
	Updated docstrings per manual update.
	(mh-default-folder-for-message-function): New defcustom. Was a
	defvar in mh-utils.el. Updated docstring per manual update.

	* mh-utils.el (mh-default-folder-for-message-function): Moved to
	mh-customize.el.

	* mh-e.el (mh-folder-from-address, mh-prompt-for-refile-folder):
	Updated docstrings per manual update.

	* mh-unit.el (mh-unit-files): Added mh-init.el.

2003-08-16  Peter S Galbraith  <psg@debian.org>

	* mh-init.el: New file.  Code to initialize the MH-E back-end.
	Highlights:
	(mh-variant): New defcustom. Users may customize `mh-variant' to
	switch between available variants.
	(mh-variants): Available MH variants are described in this variable.
	(mh-variant-in-use, mh-variant-p): Developers may check which
        variant is currently in use with the variable `mh-variant-in-use'
        or the function `mh-variant-p'.

2003-08-15  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-auto-fields-list): The manual uses Fcc
	instead of fcc, so I've changed the user-visible text
	accordingly. I've left the const alone for backwards
	compatibility.

2003-08-14  Bill Wohler  <wohler@newt.com>

	* mh-identity.el (mh-insert-identity): Changed signature deletion
	test to test for both markers, rather than testing to see if the
	start marker is bound. Since the start marker is defined in this
	file, it should always be bound. Suggestion by Satyaki.

	* mh-comp.el (mh-send-letter): Go to the top of the draft so that
	the user can see which header fields have been inserted. I think
	this is more important than leaving point alone or going to the
	end to see the signature since Mail-Followup-To or Bcc or cc could
	have some deleterious effects.

	* mh-customize.el (mh-auto-fields-prompt-flag): New variable.
	Non-nil means to prompt before sending if fields inserted.

	* mh-comp.el (mh-insert-auto-fields): Now return t if fields
	inserted; otherwise nil.
	(mh-send-letter): Deleted obsolete documentation about adding
	X-Mailer and X-Face. Prompt before sending if auto fields added
	and mh-auto-fields-prompt-flag is t.

	* mh-customize.el (mh-identity-list): Allow signature to come from
	mh-signature-file-name. In this case, the "signature" value is set
	to nil. This might not be the best implementation. Suggestions
	welcome.

	* mh-identity.el (mh-insert-identity): Now that the signature can
	be a nil value, moved test higher up in cond so that the test for
	a nil value would not be executed first prevening signature
	handling. Handle nil signature value by calling
	mh-insert-signature with no arguments which means to use
	mh-signature-file-name.

	* mh-comp.el (mh-insert-signature): Changed text of message if no
	signature inserted.

	* mh-customize.el (mh-identity-list): Changed "Signature" constant
	back to "signature" so it *won't* be backwards-incompatible any
	more. I discovered one could use the :tag keyword to get headline
	captalization in the menu.

	* mh-identity.el (mh-insert-identity): Ditto.

	* mh-identity.el (mh-identity-make-menu): Always build menu.
	Always create Insert Auto Fields menu item. Just don't enable it
	if mh-auto-fields-list is nil. Enable radio buttons always. Make
	None a radio button choice with the other identities.

	* mh-comp.el (mh-letter-menu): Removed cond on fboundp
	'easy-menu-define. We don't do this elsewhere.

2003-08-13  Bill Wohler  <wohler@newt.com>

	* mh-identity.el (mh-identity-make-menu, mh-insert-identity): Use
	headline capitalization in menu items. Even the internal names are
	exposed in the customize interface, so they need to be uppercase
	too.
	(mh-insert-identity): Rather than goto-char to
	mh-identity-signature-start before deleting, simply pass it to
	delete-region. When setting markers, use point-min-marker and
	point-max-marker instead of moving point. Set marker type of
	mh-identity-signature-start to t to fix a bug where changing
	identity deleted user's text.

	* mh-customize.el (mh-identity-list, mh-auto-fields-list):
	Reworked docstring. Use headline capitalization. Commented out
	implementation details for later deletion or resurrection upon
	popular demand. N.B. If your mh-identity-list contains "signature"
	then you will need to either edit your .emacs file manually, or
	delete your existing "signature" which will become a regular field
	with this change and create a new signature. I figured I could get
	away with this since 8.0 is a major release, and coinciding with
	the manual update will be a MAJOR release. I apologize profusely
	that I didn't catch this before it was released.
	(mh-identity-default): Use headline capitalization in example.

2003-08-12  Jeffrey C Honig  <jch@honig.net>

	* mh-customize.el (mh-alias-reloaded-hook): Define
	`mh-alias-reloaded-hook'.

	* mh-alias.el (mh-alias-reload): Run `mh-alias-reloaded-hook'
	after reloading the aliases.

2003-08-12  Mark D. Baushke  <mdb@gnu.org>

	* mh-comp.el (mh-insert-signature): Use functionp to avoid
	the possibility of doing a funcall on a void function.

2003-08-12  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-identity): Point group manual link to new
	Identities section.
	(mh-signature-separator-flag): New variable which can be used to
	suppress the output of the signature separator.

	* mh-comp.el (mh-insert-signature): Use
	mh-signature-separator-flag.

	* mh-identity.el (mh-insert-identity): If the identity's signature
	file didn't exist, an fboundp error was thrown. This was fixed by
	removing signature tests that were redundant and out of date with
	the tests in mh-insert-signature. Removed second signature
	condition as it is now handled in the first signature condition.

2003-08-12  Peter S Galbraith  <psg@debian.org>

	* mh-identity.el (mh-insert-identity): Don't insert new lines on
	signatures anymore.

	* mh-comp.el (mh-insert-signature): Make sure signature file is
	readable before trying to insert it.

2003-08-11  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-insert-signature): Unconditionally insert a
	newline so that signatures are inserted consistently, and so that
	there isn't any text after the cursor so that the user can start
	typing his message immediately. Use new variable and function
	mh-signature-separator and mh-signature-separator-p.

	* mh-customize.el (mh-delete-yanked-msg-window-flag): Checkdoc
	fix.
	(mh-signature-file-name): Updated docstring now that this variable
	can be a function. Added cross-references to
	mh-signature-separator, mh-signature-separator-regexp, and
	mh-signature-separator-p which might be used in such functions.

	* mh-identity.el (mh-insert-identity): Don't include signature if
	signature separator already present. Useful when running
	mh-edit-again.

	* mh-mime.el (mh-inline-vcard-p): Use mh-signature-separator-p.

	* mh-utils.el (mh-signature-separator-regexp): New variable
	containing "^-- $" which should be used when looking for the
	signature separator.
	(mh-signature-separator): New variable containing "-- \n" which
	should be used when inserting the signature separator.
	(mh-signature-separator-p): New function that returns non-nil if
	mh-signature-separator-regexp is found in the buffer.

2003-08-09  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-x-image-scaling-function): Variable that
	contains function used to scale images. Possible choices are
	mh-x-image-scale-with-convert and mh-x-image-scale-with-pnm.
	(mh-convert-executable): Removed.
	(mh-x-image-scale-with-pnm, mh-x-image-scale-with-convert): New
	functions that scale images using pnm tools or ImageMagick.
	(mh-x-image-scale-and-display, mh-x-image-url-display): Use
	mh-x-image-scaling-function instead of mh-convert-executable.

2003-08-08  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-insert-signature): Bug fix.  Handle case of nil
	`mh-signature-file-name' and hooks correctly.

	* mh-identity.el (mh-insert-identity): Refactor to use
	mh-insert-signature

	* mh-comp.el (mh-signature-separator-p): Removed.

	* mh-comp.el (mh-insert-signature): Merge MIME awareness from
	mh-insert-identity into this command. Allow
	`mh-signature-file-name' to be a function to call.  See if "-- "
	needs to be inserted only after hooks have run.

2003-08-07  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-compose-skipped-header-fields): Added
	X-Image-URL.
	(mh-autoload): Removed cookies. They aren't necessary in
	mh-e.el, mh-utils.el, or mh-customize.el.

	* mh-e.el (mh-autoload): Removed cookies. They aren't necessary in
	mh-e.el, mh-utils.el, or mh-customize.el.

	* mh-identity.el (mh-insert-identity): Made regexp for signature
	separator more explicit. Hmmm, maybe we should create
	mh-signature-separator-regexp...

	* mh-index.el (mh-replace-string): Moved to mh-utils.el.

	* mh-utils.el (mh-replace-string): Moved here from mh-index.el.
	(mh-autoload): Removed cookies. They aren't necessary in mh-e.el,
	mh-utils.el, or mh-customize.el.

	* mh-comp.el (mh-insert-signature): Added file argument to insert
	a file other than mh-signature-file-name. Insert signature
	separator, unless file already contains one.

2003-08-06  Satyaki Das  <satyakid@stanford.edu>

	* mh-e.el (mh-folder-size, mh-folder-size-folder)
	(mh-folder-size-flist): If flist is not present use folder to
	find the number of messages in the folder. Also the .mh_sequences
	file is read to find the number of unseen messages.

	* mh-utils.el (mh-flists-present-flag, mh-find-progs): Introduce
	a new variable to test for the presence of the flists program and
	set it in mh-find-progs.

2003-08-06  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el: Change the order of `mh-identity-list' and
	`mh-auto-fields-list' and remove byte-compilation defvar for
	`mh-identity-list'.  This fixes a customization bug for
	`mh-identity-list', where it wasn't set correctly.

	* mh-identity.el (mh-identity-make-menu): mh-auto-fields-list may
	not be bound yet when initially loaded.

2003-08-06  Bill Wohler  <wohler@newt.com>

	* mh-alias.el (mh-alias-add-address-under-point): Removed trailing
	period from messages. The conventions say that errors should not
	end with a period and that "Foo...done" messages should not end in
	a period, but they aren't explicit about messages in general.
	Given what the conventions *do* say, and because most of our
	messages don't end with a period, let's just say that messages in
	general don't end in a period, just like error messages.

	* mh-comp.el (mh-extract-rejected-mail, mh-letter-mode-message):
	Ditto.

	* mh-e.el (mh-refile-a-msg): Ditto.

	* mh-funcs.el (mh-undo-folder): Ditto.

	* mh-mime.el (mh-mime-save-parts): Ditto.

	* mh-seq.el (mh-subject-to-sequence-unthreaded)
	(mh-narrow-to-subject, mh-delete-subject): Ditto.

	* mh-index.el (mh-index-sequenced-messages)
	(mh-index-new-messages, mh-index-ticked-messages): Discovered that
	in general we should only use question marks in yes-or-no-p or
	y-or-n-p prompts, but not in other prompts that use
	completing-read and offer defaults. In these cases, use colons
	instead (closes SF #730470).

	* mh-mime.el (mh-mime-save-parts): Ditto.

	* mh-utils.el (mh-prompt-for-folder): Ditto.

	* mh-alias.el (mh-alias-apropos): Multiple messages are usually
	shown one at a time rather than appended. Send output to
	mh-aliases-buffer instead of *Help*.
	(mh-alias-local-users): Checkdoc fix.

	* mh-funcs.el (mh-undo-folder): Removed commented-out code since
	its deadline had expired.

	* mh-utils.el (mh-aliases-buffer): New buffer name, used in
	mh-aliases.el.

2003-08-06  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-x-image-url-cache-canonicalize): Make this
	function work for XEmacs too.
	(mh-collect-folder-names): Use folders instead of flists. One
	advantage is that folders is available on MH while flists is not.
	Another is that if an explicit -sequence argument isn't given and
	Unseen-Sequence profile is not present then flists croaks while
	folders doesn't.
	(mh-collect-folder-names-filter): Don't consider folder names that
	start with a `.' character. This is needed since the folders
	command doesn't filter them out like flists does.

	* mh-index.el (mh-replace-string): Add autoload for it.

2003-08-05  Satyaki Das  <satyakid@stanford.edu>

	* mh-mime.el (mh-compose-forward, mh-mhn-compose-forw)
	(mh-mml-forward-message): The variable mh-sent-from-msg can be a
	list. So check that the value is really a number before using it
	like one.

	* mh-comp.el (mh-insert-letter): Same as above.

	* mh-utils.el (mh-picon-get-image): Make the code that finds the
	address of the sender more robust.
	(mh-face-display-function): Make it work with XEmacs.
	(mh-picon-image-types): A new variable that stores what image
	types can be used.

2003-08-05  Satyaki Das  <satyakid@stanford.edu>

	* mh-customize.el (mh-tool-bar-define): Make the save button such
	that is activated only if the buffer needs to saved.

	* mh-utils.el (mh-face-display-function, mh-picon-get-image): Some
	domains, for instance cs.cmu.edu, don't have xpm files. So we need
	to search for all three files. The change does that.
	(mh-picon-file-contents): A utility function to return the
	contents of a file as a string.
	(mh-picon-get-image): Write it as a loop to make it simpler.
	(mh-x-image-set-download-state): Make the link simpler.

2003-08-04  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-x-image-url-display): Don't bother to try to
	download image if we don't have the necessary tools to display
	it.
	(mh-face-display-function): Add preliminary support for "domain"
	picons.
	(mh-picon-get-image, mh-picon-generate-path): Functions to find
	best match for domain in the From header field.

	* mh-e.el (mh-previous-unread-msg): If some of the messages in the
	unseen sequence are not present in the folder buffer then calling
	this function gets stuck and can't skip over them. The change
	fixes this.
	(mh-next-unread-msg): Same as above.

2003-08-04  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (mh-show-mode): Added cross reference to
	mh-folder-mode in docstring (closes SF #728638). Added
	\\{mh-show-mode-map} to show keymap.

	* mh-e.el (mh-folder-mode): Added information about ranges to
	docstring (closes SF #728638).

	* mh-speed.el (mh-speed-refresh): New function that calls
	mh-speed-flists and mh-invalidate-map.
	(mh-folder-speedbar-key-map): Replaced keybindings for
	mh-speed-invalidate-map and mh-speed-flists with a single binding
	for mh-speed-refresh.
	(mh-folder-speedbar-menu-items): Replaced menu items for Run
	Flists and Invalidate Cached Folders with the single menu item
	Refresh Speedbar in order to simplify the UI.

	* mh-customize.el (mh-fetch-x-image-url): Added DOS as another
	reason not to set this to t.

2003-08-04  Satyaki Das  <satyakid@stanford.edu>

	* mh-e.el (mh-scan-folder): Handle ranges from user input properly.

2003-08-03  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-find-msg-get-num): Removed. If threading isn't
	present, the messages are sorted by index. So `mh-goto-msg' was
	implemented as a binary search and this function was used in that
	implementation. So this isn't needed any more.
	(mh-msg-search-pat): Removed. Before the advent of message
	threading, this function was used to generate a regexp used to
	search for a particular message. It isn't used anymore. The
	variable `mh-scan-msg-number-regexp' should be updated and used in
	`mh-goto-msg' instead of hardcoding the regexp in the code. Then
	we might be able to better support other scan line formats in the
	future.

	* mh-seq.el (mh-map-to-seq-msgs, mh-notate-seq): Removed. These
	functions were used to notate user sequences. But calling
	`mh-goto-msg' inside of a loop is inefficient. So the sequence
	notation code was rewritten thereby making these functions
	redundant.
	(mh-copy-line-to-point): Removed. This function was used in the
	implementation the now removed function `mh-copy-seq-to-point'.
	That function was problematic and was replaced by the less general
	`mh-copy-seq-to-eob'. This makes `mh-copy-line-to-point'
	redundant.
	(mh-region-to-msg-list): Removed since this is a special case of
	the more general `mh-range-to-msg-list'.

	* mh-loaddefs.el: Regenerated.

2003-08-03  Jeffrey C Honig  <jch@honig.net>

	* mh-customize.el (mh-invisible-header-fields-default): Added
	several new fields to hide.  Sorted the list with sort-lines.

2003-08-03  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-invisible-headers): Variable renamed to
	`mh-invisible-header-fields-compiled'.
	(mh-invisible-headers): Implement above change.

	* mh-utils.el (mh-display-msg): Idem.

	* mh-mime.el (mh-mm-inline-message): Idem.

	* mh-comp.el (mh-insert-letter): Idem.

2003-08-03  Bill Wohler  <wohler@newt.com>

	* mh-speed.el (mh-folder-speedbar-menu-items): Added separator
	between standard and MH-E menu items. Use headline capitalization
	in menu items.

	* mh-utils.el (mh-temp-fetch-buffer): New constant to hold
	buffer name for wget output.
	(mh-x-image-url-fetch-image): Use mh-temp-fetch-buffer instead
	of hard-coded buffer name. Use make-temp-file to avoid race
	conditions and subsequent security issues raised in make-temp-name
	docstring.

2003-08-03  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-wget-executable, mh-wget-choice, mh-wget-option)
	(mh-x-image-url-fetch-image): Support the use of `curl' and
	`fetch' as alternatives to `wget'.
	(mh-wget-choice): Change order of search.
	(mh-x-image-url-fetch-image): Rename buffer.

2003-08-03  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-x-image-set-download-state)
	(mh-x-image-get-download-state): Specially named symbolic links
	are used to keep track of whether a X-Image-URL header field needs
	to downloaded the next time it is seen. These functions get and
	set the symlinks appropriately.
	(mh-x-image-url-fetch-image): Simplified since the query has been
	moved to `mh-x-image-url-display'. Also if wget isn't present then
	try again next time since the user might install wget before
	trying once more.
	(mh-x-image-scale-and-display): Handle absence of the `convert'
	program better. If it isn't present then we will try to display
	the image the next time it is encountered. Also use the -geometry
	option to convert since the -resize option isn't present in older
	versions.
	(mh-x-image-url-display): Move all the code that decides whether
	an X-Image-URL header field will be fetched in this function. Also
	remember the user's decision so that if the image couldn't be
	fetched the first time, we will try to fetch it later on without
	asking again.

2003-08-02  Peter S Galbraith  <psg@debian.org>

	* mh-alias.el (mh-alias-local-users): Exclude all aliases already
	in mh-alias-alist from `ali' (closes SF #772595).

2003-08-01  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-x-image-display, mh-x-image-url-display): Avoid
	a race. The X-Image-URL is displayed asynchronously. Suppose a
	message with a image is shown with `mh-show'. If a different
	message is displayed before the image can be fetched, then the new
	message will have the image displayed. With this change the race
	is less likely to happen.

2003-08-01  Peter S Galbraith  <psg@debian.org>

	* mh-inc.el (mh-inc-spool-map): Fix what `mh-inc-spool-map-help'
	must look like as a fake `mh-help-messages' in order to work
	correctly in mh-help.

2003-07-31  Bill Wohler  <wohler@newt.com>

	* mh-inc.el (mh-inc-spool-map): Use mh-help instead of
	mh-ephem-message in order to display help in its own buffer
	instead of minibuffer.

	* mh-utils.el (mh-help-buffer): New variable to hold the name of
	the MH-E help buffer name.

	* mh-funcs.el (mh-help, mh-prefix-help): Use with-electric-help to
	display help messages. I observed a friend with a vision
	disability and the 5 seconds the help appeared on the screen was
	not long enough for him to lock on it. I've therefore changed the
	help function to display the help in its own buffer called *MH-E
	Help* (closes SF #493740 and SF #656631).

	* mh-customize.el (mh-fetch-x-image-url): Changed default from nil
	to 'ask. Updated docstring from manual.
	(mh-invisible-header-fields-internal): Added X-Image-URL.
	(mh-show-use-xface-flag): Updated docstring from manual.
	(mh-x-face-file): Ditto.

	* mh-mime.el (mh-mhn-compose-external-type): Don't insert the
	directory parameter if it's nil. The mhbuild man page indicates
	that this parameter is optional, so this should be fine.

	* mh-comp.el (mh-letter-mode-map): Added keybindings for
	mh-mhn-compose-anon-ftp and
	mh-mhn-compose-external-compressed-tar.
	(mh-letter-menu): Uncommented menu items for same.

2003-07-30  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-pick.el (mh-do-pick-search): Removed since the function
	`mh-pick-do-search' performs the same action as this function.

	* mh-index.el (mh-index-update-unseen): Removed since the
	generalized sequence synchronization code that keeps sequences in
	index folders in sync with the sequences in the source folders
	makes this function redundant.

	* mh-e.el (mh-folder-unseen-seq-name, mh-folder-unseen-seq-list):
	Removed. These two functions were used in the unseen sequence
	highlighting before the sequence highlighting code was
	generalized. In any event calls to the function
	`mh-folder-unseen-seq-name' can be replaced by the variable
	`mh-unseen-seq' and calls to `mh-folder-unseen-seq-list' can be
	replaced with (cdr (assoc mh-unseen-seq mh-seq-list)).
	(mh-unmark-all-headers): Removed since this function has been
	superseded by mh-remove-all-notation.
	(mh-map-over-seqs): Removed since we now have the generalized
	iteration over message ranges (the `mh-iterate-on-range' macro)
	that can be used instead.
	(mh-notate-if-in-one-seq): Removed. This function was used for
	changing the `%' notation for user sequences. It can't be used for
	that purpose any more, since we have a different scheme now.

	* mh-unit.el (mh-unit-tests): Removed since it isn't needed any
	more.
	(mh-unit): Run all function that start with the string
	"mh-unit-test-".

2003-07-30  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-invisible-header-fields): Checkdoc fix.

	* mh-utils.el (mh-x-image-url-cache-canonicalize): Shortened using
	example in files.el:make-backup-file-name-1.
	(mh-face-display-function): Added X-Image-URL to docstring.

	* mh-unit.el (mh-unit-x-image-url-cache-canonicalize): New
	function to test mh-x-image-url-cache-canonicalize since it lent
	itself well to unit testing. Had to start somewhere!
	(mh-unit-equal): New function that throws an error if RESULT
	doesn't equal EXPECTED.
	(mh-unit): Call mh-unit-x-image-url-cache-canonicalize.

2003-07-29  Satyaki Das  <satyakid@stanford.edu>

	* mh-unit.el (mh-unit-update-call-graph): Make the function work
	better with dotted lists, that is lists of the form (a b c . d)
	where `d' isn't nil. With this we are able to avoid marking some
	functions as unused even though they are actually used in alists.

2003-07-28  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-insert-letter): Remove `mh-visible-headers'
	operation.

	* mh-mime.el (mh-mm-inline-message): Same.

	* mh-utils.el (mh-display-msg): Same.
	(mh-clean-msg-header): Make a note of above change.

	* mh-customize.el (mh-invisible-header-fields-internal): Renamed
	from prior `mh-invisible-header-fields-default'.
	(mh-invisible-header-fields-default): Renamed from prior
	`mh-invisible-header-fields-default-override'.
	(mh-invisible-header-fields): Renamed from prior
	`mh-invisible-header-fields-user'.
	(mh-visible-headers): Removed!  We use invisible fields only now.
	(mh-visible-header-fields): Removed!

2003-07-28  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-invisible-header-fields-default): Added 3
	new fields to hide.

2003-07-28  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-show): Add an extra argument to the function so
	that interactive use will always force redisplay of the message.

	* mh-mime.el (mh-mime-display, mh-mm-inline-message): Bind the
	variables `mm-verify-option' and `mm-decrypt-option' so that
	verification and decryption of mail can happen without any
	additional tinkering.

2003-07-25  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-invisible-header-fields-default): New defvar
	holding default fields to hide.  This replaces the old
	`mh-invisible-header-fields' defcustom.
	(mh-invisible-header-fields-user): New defcustom.  Users add
	fields to suppress that we didn't include in
	`mh-invisible-header-fields-default'.  This could be named simply
	`mh-invisible-header-fields' and it wouldn't really break anything
	for users who have customized it to a long list now redundant with
	`mh-invisible-header-fields-default'.
	(mh-invisible-header-fields-default-override): New defcustom.
	Users check off the fields they want displyed from what we
	included in `mh-invisible-header-fields-default'.
	(mh-invisible-headers): Function adapted to new variables.

2003-07-25  Satyaki Das  <satyakid@stanford.edu>

	* mh-e.el (mh-inc-folder): If the user is in a different folder
	displaying a message and runs mh-inc-folder, then the folder
	changes to +inbox but the show window continues to display the
	message in the old folder. The change fixes this.
	(mh-visit-folder): Make the handling of the show window similar to
	that of mh-inc-folder.

2003-07-24  Satyaki Das  <satyakid@stanford.edu>

	* mh-e.el (mh-folder-message-menu, mh-folder-folder-menu): Use the
	predicate mh-outstanding-commands-p instead of its exapansion.
	Also use the same label in both menus.
	(mh-outstanding-commands-p): Generalized so that it will work in
	mh-show-mode buffers as well.

	* mh-customize.el (mh-tool-bar-define): Enable tool-bar button for
	mh-execute-commands only if there are pending deletes or refiles.

2003-07-19  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-show-msg): If a unseen message is first marked
	for deletion/refiling and then displayed, the bold highlighting
	does not go away. This change fixes that.

	* mh-seq.el (mh-msg-is-in-seq): Fix a bug in the function. If any
	message was marked for refiling, then the function would have you
	believe that every message in the folder is being refiled.

2003-07-17  Bill Wohler  <wohler@newt.com>

	* mh-e.el: Removed email address for Stephen Gildea's in Change
	Log at his request (damn spammers). Removed other email addresses
	while I was at it since the SourceForge URL should be sufficient
	contact information.

	(mh-scan-format-*mh): Fixed typo in comment above these variables.
	These variables are used if mh-scan-format-file is t, not nil.
	Also mh-scan-format-file is no longer "above" (courtesy Stephen
	Gildea).

2003-07-17  Satyaki Das  <satyakid@stanford.edu>

	* mh-mime.el (mh-mhn-quote-unescaped-sharp): New function that
	quotes `#' characters in the first column that aren't part of a
	MHN directive.
	(mh-mhn-directive-present-p): Generalized to allow the function
	to search for MHN directives in a part of the buffer.
	(mh-edit-mhn): Quote unescaped `#' characters in the draft (closes
	SF #762464).

2003-07-16  Satyaki Das  <satyakid@stanford.edu>

	* mh-alias.el (mh-alias-read-address-map): If
	mh-alias-flash-on-comma is nil when mh-alias is loaded, then
	setting mh-alias-flash-on-comma to t later on doesn't turn on
	address completion display till Emacs is restarted. The change
	fixes this.

2003-07-15  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (mh-cmd-note): Cleaned up docstring (changed phrase
	to sentences). Moved to Scan Line Formats section.
	(mh-scan-msg-number-regexp)
	(mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
	(mh-scan-msg-format-string, mh-scan-msg-search-regexp): Cleaned up
	docstrings (changed phrases to sentences).
	(mh-note-seq): Cleaned up docstring (changed phrase to sentences).
	Also, this variable is now a character and not a string. Moved to
	Scan Line Formats section.

	* mh-funcs.el (mh-note-copied, mh-note-printed): Cleaned up
	docstrings (changed phrases to sentences). Also, these variables
	are now characters and not strings.

	* mh-e.el (mh-scan-format-mh, mh-scan-format-nmh): Filled. I was
	hoping to quote the hint `t' but checkdoc wouldn't let me.
	(mh-note-deleted, mh-note-refiled, mh-note-cur): Moved to Scan
	Line Formats section.
	(mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
	(mh-scan-refiled-msg-regexp, mh-scan-valid-regexp)
	(mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
	(mh-scan-rcpt-regexp, mh-scan-body-regexp)
	(mh-scan-subject-regexp, mh-scan-format-regexp): Cleaned
	up docstrings (changed phrases to sentences).
	(mh-scan-cur-msg-regexp): Marked this variable as obsolete; it
	should be removed for 8.0.

	* mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Cleaned
	up docstrings (changed phrases to sentences). Also, these
	variables are now characters and not strings.

2003-07-15  Satyaki Das  <satyakid@stanford.edu>

	* mh-index.el (mh-index-update-single-msg)
	(mh-index-create-sequences): Handle the situation where there are
	copies of the exact same message correctly.

2003-07-15  Satyaki Das  <satyakid@stanford.edu>

	* mh-seq.el (mh-thread-update-scan-line-map): Modified since
	notation is already a character.

	* mh-utils.el (mh-note-seq): Convert from string to character.
	(mh-notate): Modified since characters are used to notate instead
	of strings of length one.

	* mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Convert
	from string to characters.

	* mh-e.el (mh-note-deleted, mh-note-refiled, mh-note-cur): Same as
	above (closes SF #770772).
	(mh-unmark-all-headers): Modified since mh-note-* variables are
	now characters.
	(mh-remove-sequence-notation): The mh-notate function remembers
	the previous notation. Before the change to the mh-note-*
	variables, mh-notate would only remember the change if a string
	was used to notate the message. Now mh-notate is always called
	with a character notation. So the deletion has to take place
	explicitly.

2003-06-28  Bill Wohler  <wohler@newt.com>

	* mh-mime.el (mh-mhn-directive-present-p): If shell comments are
	present that have a space after the # but no content, then this
	function would throw an error. This has been fixed (closes SF
	#762458).

2003-06-27  Satyaki Das  <satyakid@stanford.edu>

	* mh-index.el (mh-index-search): Use the new and improved
	mh-index-new-folder.
	(mh-index-new-folder): Improved so that redoing the same search
	will reuse the old index folder.
	(mh-index-folder-search-regexp): New function which that extracts
	out the search expression that produced the index folder.

2003-06-24  Bill Wohler  <wohler@newt.com>

	* mh-e.el (Version, mh-version): Set to 7.4.1+cvs.

2003-06-25  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.4.1.

	* MH-E-NEWS, README: Updated for release 7.4.1.

	* mh-e.el (Version, mh-version): Updated for release 7.4.1.

2003-06-25  Bill Wohler  <wohler@newt.com>

	* mh-unit.el (require 'cl): Added. Needed when compiling
	separately.

	* Makefile (clean): Now a double-colon rule. Added a second clean
	target to remove mh-unit.elc.
	(compile): Removed mh-unit.elc.
	(mh-unit.elc): New target used to compile mh-unit.

2003-06-24  Bill Wohler  <wohler@newt.com>

	* mh-e.el (Version, mh-version): Set to 7.4+cvs.

2003-06-24  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.4.

	* MH-E-NEWS, README: Updated for release 7.4.

	* mh-e.el (Version, mh-version): Updated for release 7.4.

2003-06-24  Bill Wohler  <wohler@newt.com>

	* mh-alias.el (mh-alias-gecos-name, mh-alias-local-users)
	(mh-alias-suggest-alias): s/gcos/gecos. The original acronym was
	GECOS but was later renamed to GCOS (see
	http://info.astrian.net/jargon/terms/g/GCOS.html). But the term
	really needs to match the field named pw_gecos in struct passwd in
	/usr/include/pwd.h

	* mh-customize.el (mh-letter-faces): New group to house
	mh-letter-header-field-face.
	(mh-interpret-number-as-range-flag)
	(mh-kill-folder-suppress-prompt-hook): Use "you" instead of "the
	user" to make text more friendly.
	(mh-index-ticked-messages-folders, mh-visible-headers)
	(mh-visible-header-fields): Alphabetized.
	(mh-alias-passwd-gcos-comma-separator-flag): Alphabetized and
	s/gcos/gecos.
	(mh-alias-local-users-prefix): Fixed docstring. Prefixes are
	prepended, not appended. Additional checkdoc fix.
	(mh-letter-header-field-face): Set group to new group
	mh-letter-faces and moved option into this group.

	* mh-index.el (mh-index-sequenced-messages): Improved wording of
	docstring and mentioned use of prefix argument.

	* mh-seq.el (mh-widen): Made docstring more accurate (hopefully!).

2003-06-18  Satyaki Das  <satyakid@stanford.edu>

	* mh-index.el (mh-replace-string): Modified to preserve case of
	replacement text.
	(mh-index-parse-search-regexp): Preserve case of search terms.
	This is needed to take advantage of the acronym indexing in
	swish++ (closes SF #755718).

2003-06-13  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-show-index-sequenced-messages): Interactive
	function callable from the show buffer.
	(mh-show-folder-map): Add key binding for "F q".

	* mh-e.el (mh-folder-map): Same as above.

	* mh-index.el (mh-index-sequenced-messages): Add interactive spec
	to the function (closes SF #718833).

2003-06-13  Bill Wohler  <wohler@newt.com>

	* mh-index.el (mh-flists-execute): Needed to expand mhpath too.

2003-06-12  Satyaki Das  <satyakid@stanford.edu>

	* mh-index.el (mh-flists-execute): Modified so that flists
	present in mh-progs is called.

2003-06-07  Jeffrey C Honig  <jch@honig.net>

	* mh-comp.el (mh-forward, mh-forward): Use (mh-mail-header-end) to
	find the end of headers instead of doing an re-search-forward
	based on mh-mail-header-separator.

2003-06-06  Satyaki Das  <satyakid@stanford.edu>

	* mh-comp.el (mh-letter-toggle-header-field-display): Make the
	function callable from the show buffer. This means that the
	buffer is temporarily made writable and the modification status
	of the buffer restored to the original value.

2003-06-06  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-address-mail-regexp): Bug fix!  It wasn't a true
	copy of the goto-addr variable.  My modification only recognized
	addresses with one dot after the @.  Sorry about that.

2003-06-05  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-replace-in-string): Move comment into doc
	string to satisfy checkdoc.

	* mh-alias.el (mh-alias-apropos): Checkdoc fix.

2003-06-05  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-identity-list): Fixed typo in docstring.

2003-06-05  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-complete-function-alist): Add bcc an reply-to.

2003-06-04  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-complete-function-alist): Add dcc.

2003-06-03  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-replace-in-string): New function name instead of
	`dired-replace-in-string'.
	* mh-alias.el (mh-alias-gcos-name): Use it.

	* mh-alias.el (mh-alias-apropos): New command. Show all aliases
	that match REGEXP either in name or content.

	* mh-alias.el (mh-alias-suggest-alias): Add no-comma-swap optional
	arg.
	(mh-alias-canonicalize-suggestion): Change a comma to a period in
	created aliases.
	(mh-alias-local-users): Call `mh-alias-suggest-alias' with
	`no-comma-swap' arg set to t.

	* mh-alias.el (mh-alias-local-users): Fix case of nil
	`mh-alias-passwd-gcos-comma-separator-flag'.

	* mh-alias.el (mh-alias-gcos-name): Fix for case of empty gcos
	name field.
	(mh-alias-local-users): Fix same.

	* mh-alias.el (mh-alias-canonicalize-suggestion): Replace use by
	verbose `replace-regexp' by a looped `replace-match'

2003-06-02  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (dired-replace-in-string): Bind if not already
	defined.  Borrowed from dired.el

	* mh-alias.el (mh-alias-gcos-name): switch to using
	dired-replace-in-string.

2003-06-02  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-letter-font-lock-keywords): Fontify header
	fields in the draft buffer that aren't skipped when navigating
	with TAB (or S-TAB).

	* mh-customize.el (mh-clean-message-header-flag)
	(mh-invisible-headers, mh-invisible-header-fields)
	(mh-alias-passwd-gcos-comma-separator-flag): Checkdoc fix.
	(mh-letter-header-field-face): New face to fontify the header
	fields.

	* mh-comp.el (mh-insert-auto-fields-done-local): Checkdoc fix.
	(mh-letter-mode, mh-letter-mail-header-end-marker): Remember the
	end of the message header in a marker. This is used to fontify the
	header fields.
	(mh-font-lock-field-data, mh-letter-header-end): Functions used
	to fontify message header fields.

	* mh-alias.el (mh-alias-gcos-name): Checkdoc fix.

2003-06-02  Peter S Galbraith  <psg@debian.org>

	* mh-alias.el (mh-alias-gcos-name): New function. Return a usable
	address string from a GCOS-NAME and USERNAME.
	(mh-alias-local-users): Use it.

	* mh-customize.el (mh-alias-passwd-gcos-comma-separator-flag): New
	defcustom. Whether the gcos field in the passwd file uses comma as
	a separator.

	* mh-customize.el (mh-alias-local-users-prefix): New
	defcustom. String to append to the real names of users from the
	passwd file. If nil, use the username string unmodified instead of
	the real name from the gcos field of the passwd file.

	* mh-alias.el (mh-alias-local-users): Use it to generate aliases
	which by default are now the real name prefixed by "local."

2003-06-01  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-modify-header-field): Bug fix.  Calling with with
	a value that was already inserted causes it to get inserted a
	second time.  I have wrapped the value around \b word delimiters.
	Hope there are no side effects for other code.

	* mh-comp.el (mh-insert-auto-fields): Attempt regardless of
	`mh-insert-auto-fields-done-local' flag in interactive use.

	* mh-comp.el (mh-insert-auto-fields-done-local): Keep track of
	whether `mh-insert-auto-fields' was called in a buffer.
	(mh-insert-auto-fields): Set it and use it.  Also, don't enter an
	identity if one was already entered manually.
	(mh-send-letter): Call `mh-insert-auto-fields' again when sending
	message.
	(mh-compose-and-send-mail): Call `mh-insert-auto-fields' _after_
	`mh-letter-mode' so `mh-identity-local' doesn't get cleared by the
	mode invocation.

2003-06-01  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-seq.el (mh-thread-parse-scan-line): The value of
	mh-scan-field-from-start-offset was hardcoded in one place. The
	change fixes that.

	* mh-utils.el (mh-show-mode): Setup mh-show-mode to display
	elipsis for truncated header fields and to skip over them quickly.
	(mh-clean-msg-header): Make another pass over the message header
	fields truncating long headers.

	* mh-comp.el (mh-letter-complete): Remove unnecessary autoload.
	(mh-letter-toggle-header-field-display): Take into account that
	an empty line can also end the message header. The function was
	originally written with the draft buffer in mind.

2003-06-01  Mark D. Baushke  <mdb@gnu.org>

	* mh-comp.el (mh-letter-mode-map): Do not steal C-t. Use C-c C-t
	for the mh-letter-toggle-header-field-display command.

2003-05-31  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-visible-headers): Changed to a defvar that
	will be set using new `mh-visible-headers' function using
	`mh-visible-header-fields' as input.
	(mh-visible-headers): New function, described above.
	(mh-visible-header-fields): New defcustom.  The UI to set
	`mh-visible-headers'.
	(mh-invisible-header-fields-set): Deleted.  Code merged into
	defcustom since it's so short.

2003-05-31  Satyaki Das  <satyakid@stanford.edu>

	* mh-comp.el (mh-letter-toggle-header-field-display): Extended to
	truncate headers if they are too long.
	(mh-letter-truncate-header-field): Make code that would be
	duplicated into a function.
	(mh-letter-hide-all-skipped-fields): Modified so that fields that
	are important are hidden if they are too long.

2003-05-31  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el ("tool-bar"): Since tool-bar isn't available on
	XEmacs, requiring it causes problems. So load it instead.
	(mh-do-at-event-location): New macro to do stuff at location of
	events. This has been refactored out of mh-push-button.

	* mh-mime.el (mh-push-button): Simplified since it now uses the
	mh-do-at-event-location macro.

	* mh-comp.el (mh-hidden-header-keymap): Keymap to make mouse
	clicks on header toggle its display.
	(mh-letter-toggle-header-field-display-button): Interactive
	function to toggle header display when mouse button is clicked.

2003-05-31  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-mode): Remove conditional on tool-bar-mode.

	* mh-comp.el (mh-letter-mode): Same.

	* mh-utils.el (mh-show-mode): Same.

2003-05-30  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (tool-bar): Load tool-bar explicitly. This avoids
	problems with incorrect initialization of tool-bar-map otherwise.

2003-05-30  Peter S Galbraith  <psg@mixed.dyndns.org>

	* mh-comp.el (mh-modify-header-field): Minor fix of spaces for
	when an entry already existed.
	(mh-insert-auto-fields): Make interactive. Add optional `quiet'
	arg for use when called systematically on every buffer.  Won't be
	used interactively for more verbose output.
	(mh-letter-mode-map): Add \C-c\M-d keybinding for
	mh-insert-auto-fields.

	* mh-identity.el (mh-identity-make-menu): Add a menu entry in
	Identity menu for mh-insert-auto-fields.

	* mh-customize.el (mh-invisible-header-fields): Add entries for
	`Envelope-to' and `X-Original-To'.

2003-05-30  Satyaki Das  <satyakid@stanford.edu>

	* mh-comp.el (mh-letter-mode): Skip over invisible text quickly.

2003-05-30  Satyaki Das  <satyakid@stanford.edu>

	* mh-comp.el (mh-letter-mode): Use text properties to achieve
	invisibility. This is more portable and the same code can be used
	for all Emacs versions.
	(mh-letter-toggle-header-field-display): Rewritten to use text
	properties.
	(mh-dead-overlay-p, mh-letter-hidden-header-fields)): Removed.

2003-05-29  Satyaki Das  <satyakid@stanford.edu>

	* mh-comp.el (mh-letter-hidden-header-fields, mh-letter-mode): Add
	a hash table, initialized it in mh-letter-mode, to remember the
	overlays introduced to hide long headers fields.
	(mh-insert-x-mailer): checkdoc fix.
	(mh-compose-and-send-mail): Hide unimportant message header
	fields.
	(mh-letter-header-field-regexp, mh-letter-header-field-at-point)
	(mh-letter-next-header-field, mh-letter-previous-header-field):
	Add a variable that contains the header-field name regexp and use
	it instead of the regexp directly.
	(mh-letter-toggle-header-field-display, mh-letter-mode-map): Add
	new key binding in mh-letter-mode that toggles display of long
	header fields, in mh-letter-mode.
	(mh-dead-overlay-p): A predicate which checks if a given header
	field has an active overlay hiding it.
	(mh-letter-hide-all-skipped-fields): New function that shortens
	uninteresting headers.

2003-05-29  Eric Ding  <ericding@acorn.bethesda.net>

	* mh-comp.el (mh-letter-next-header-field-or-indent): Call
	indent-relative rather than indent-for-tab-command.

2003-05-29  Satyaki Das  <satyakid@stanford.edu>

	* mh-comp.el (mh-letter-complete-or-space): The meaning of the
	customizable variable was reversed. Also make the doc string more
	accurate.

2003-05-28  Satyaki Das  <satyakid@stanford.edu>

	* mh-customize.el (mh-compose-skipped-header-fields): New
	customizable variable that lists headers that are skipped.
	(mh-compose-space-does-completion-flag): Option to do completion
	with space (closes SF #745634).

	* mh-comp.el (mh-insert-x-mailer): Check the value of
	mh-insert-x-mailer-flag in this function instead of in its caller.
	(mh-compose-and-send-mail, mh-send-letter): Insert X-Mailer and
	X-Face headers when the draft is first presented to the user
	instead of when the mail is sent (closes SF #745624).
	(mh-letter-complete-or-space): Allow for this key binding to be
	overridden.
	(mh-letter-next-header-field): Fix a problem with multiline header
	fields.
	(mh-letter-next-header-field, mh-letter-previous-header-field):
	Make these functions skip unwanted header fields.
	(mh-letter-skipped-header-field-p): New predicate that checks if a
	header field is to be skipped.

	* mh-seq.el (mh-thread-inc): Inc'ing email in threaded mode was
	causing duplication of the current notation. The change fixes that.

2003-05-28  Satyaki Das  <satyakid@stanford.edu>

	* mh-comp.el (mh-beginning-of-word): Generalize it to skip
	arbitrary number of words.
	(mh-letter-complete-or-space): New interactive function that
	allows space character to be used for completion.
	(mh-letter-mode-map): Add key binding to allow space to be used
	for completion.

2003-05-27  Satyaki Das  <satyakid@stanford.edu>

	* mh-customize.el (mh-compose-prompt-flag): Customizable variable
	that controls whether the user is prompted when composing a draft.
	It replaces mh-dont-prompt-for-address-flag (closes SF #745622).

	* mh-comp.el (mh-letter-next-header-field): If the point is in
	the header field name, then go the start of the header field
	instead of the next field.
	(mh-interactive-read-address, mh-interactive-read-string)
	(mh-letter-adjust-point): Use mh-compose-prompt-flag instead of
	mh-dont-prompt-for-address-flag.

2003-05-27  Satyaki Das  <satyakid@stanford.edu>

	* mh-customize.el (mh-tool-bar-define): Fix incorrect usage of
	set-specifier (closes SF #745655). Also the button enabling code
	interacts poorly with font-lock in XEmacs. So disable that.

2003-05-26  Satyaki Das  <satyakid@stanford.edu>

	* mh-e.el (mh-folder-from-address): The function
	message-fetch-field expects that the buffer is narrowed to the
	mail header. The change makes sure that this is indeed the case.

	* mh-mime.el (mh-add-missing-mime-version-header)
	(mh-decode-message-body): Same as above.

2003-05-25  Satyaki Das  <satyakid@stanford.edu>

	* mh-alias.el (mh-alias-minibuffer-confirm-address): Modified to
	use mh-beginning-of-word.

	* mh-comp.el (mh-letter-confirm-address): Calling
	mh-alias-reload-maybe can be expensive. So do it only if we really
	need to.

2003-05-25  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-comp.el (mh-letter-confirm-address): Load aliases if not yet
	loaded.

	* mh-alias.el (mh-alias-reload-maybe): Autoload it since it is
	used in mh-comp.el.

2003-05-24  Satyaki Das  <satyakid@stanford.edu>

	* mh-comp.el (mh-letter-skip-leading-whitespace-in-header-field):
	New function to skip leading space and tab characters when placing
	point in a header field.
	(mh-letter-next-header-field, mh-letter-previous-header-field):
	Skip leading whitespace when using TAB to navigate to header
	fields.
	(mh-letter-confirm-address): New interactive function that
	displays the last expansion of the last alias when "," is typed.
	(mh-letter-mode-map): Add key binding for "," (closes SF #745634).

2003-05-23  Satyaki Das  <satyakid@stanford.edu>

	* mh-comp.el (mh-edit-again, mh-forward, mh-send)
	(mh-send-other-window, mh-send-sub): Modified so that if
	mh-dont-prompt-for-address-flag is non-nil, then MH-E won't prompt
	for addresses to send mail to and instead directly jump to the
	draft (closes SF #745622).
	(mh-letter-complete-function-alist): An alist that is used to
	decide which completion function to use in which header. This
	variable should probably be customizable.
	(mh-letter-complete): Now uses mh-letter-complete-function-alist.
	(mh-letter-header-field-at-point, mh-letter-next-header-field)
	(mh-letter-next-header-field-or-indent)
	(mh-letter-previous-header-field): Commands for easier navigation
	to header fields.
	(mh-dont-prompt-for-address-flag): Variable which controls
	whether MH-E prompts for addresses.
	(mh-interactive-read-address, mh-interactive-read-string): Two
	functions to ask user for input depending on the value of the
	above flag.
	(mh-letter-adjust-point): New function that sets point to the
	first header field.
	(mh-letter-mode-map): Add key bindings for TAB and S-TAB (closes
	SF #745627).

2003-05-23  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-comp.el (mh-complete-word): New function which is
	approximately equivalent to mail-abbrev-complete-alias.
	(mh-beginning-of-word): Refactor repeated code into its own
	function.
	(mh-folder-expand-at-point): Make Fcc completion work in XEmacs
	by not using mail-abbrev-complete-alias.

	* mh-alias.el (mh-alias-letter-expand-alias): Make alias
	expansion work in XEmacs. Replace the use of the function
	mail-abbrev-complete-alias, which isn't present in XEmacs.

	* mh-mime.el (mh-mml-to-mime): If a MIME message is created
	immediately after starting MH-E then invoking mh-mml-to-mime
	causes an error because "message" isn't being loaded. The change
	works around this problem.
	(mh-mime-maybe-display-alternatives): Give better indication of
	which MIME parts are alternatives.

2003-05-22  Satyaki Das  <satyakid@stanford.edu>

	* mh-e.el (mh-add-sequence-notation, mh-remove-sequence-notation):
	Just delete and add the same character in the scan line to make
	font-lock refontify it. The previous trick of removing all text
	properties didn't work in XEmacs.

	* mh-seq.el (mh-put-msg-in-seq): Complain if the user tries to
	create an invalid MH sequence.

	* mh-mime.el (mh-mime-display-alternative): Modified to
	optionally display alternatives as buttons.
	(mh-mime-maybe-display-alternatives): New function which displays
	alternative MIME parts as buttons.
	(mh-mime-save-part): Initially mh-mime-save-parts-directory is
	nil and calling file-name-as-directory with nil arg leads to an
	error. So fall back on the default-directory in that case.

	* mh-customize.el (mh-display-buttons-for-alternatives-flag): New
	customizable variable that controls display of the alternative
	MIME parts (closes SF #741288).

2003-05-22  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-invisible-header-fields): Commented out
	"User-Agent:".  It's similar to X-Mailer, so display it.

2003-05-21  Satyaki Das  <satyakid@stanford.edu>

	* mh-customize.el (mh-tool-bar-define): Add an optional argument
	to the button description that can dynamically enable/disable
	buttons.
	(mh-tool-bar-define): The alias grabbing button is disabled if the
	current message doesn't have a From header or if the sender is
	already in the user's alias. This functionality was inadvertently
	lost when the Emacs/XEmacs toolbar unification took place.

2003-05-20  Satyaki Das  <satyakid@stanford.edu>

	* mh-unit.el (mh-unit-construct-call-graph): Be more aggressive
	and flag interactive functions that aren't autoloaded or have no
	key bindings.
	(mh-unit-interactive-function-p): Remove now unused function.
	(mh-unit, mh-unit-construct-call-graph): Replace mh-files with
	mh-unit-files.

2003-05-20  Bill Wohler  <wohler@newt.com>

	* mh-unit.el (mh-prune-trailing-spaces): Renamed to
	mh-unit-prune-trailing-spaces to clean up the namespace.
	(mh-files): Renamed to mh-unit-files. Ditto.
	(mh-unit): Checkdoc fix.

	* mh-index.el (mh-index-p): Added autoload cookie since mh-index-p
	is used by mh-customize.el. This calls for another mh-unit test
	that looks for mh-autoloads for functions that are no longer used
	in other files.

	* mh-loaddefs.el: Regenerated.

2003-05-20  Satyaki Das  <satyakid@stanford.edu>

	* mh-unit.el (mh-unit-construct-call-graph): Factor out the code
	to read the lisp files to a separate function. Also change it to
	construct a function call-graph. Autoloaded functions are taken
	into account.
	(mh-unit-find-all-used-functions, mh-unit-called-functions)
	(mh-unit-find-all-unused-functions): Find all unused functions by
	computing a fixed point starting from the set of top level
	functions.
	(mh-unit-analyze-block): Removed.
	(mh-unit-update-call-graph): mh-unit-functions-called was renamed
	with modifications to update the function call graph.

2003-05-19  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-utils.el (mh-notate): Modified to keep track of notation
	that was replaced when sequence notation is added. Thus when the
	sequence is deleted, the original notation is recovered.
	(mh-add-msgs-to-seq): Modified to work with the new sequence
	notation code.

	* mh-seq.el (mh-delete-seq, mh-put-msg-in-seq): Simplified since
	we don't need to handle tick and unseen sequences specially any
	more.
	(mh-narrow-to-seq): Don't need to call mh-notate-user-sequences
	since mh-copy-seq-to-eob already does that.
	(mh-widen): Remove sequence notation, so that notation when
	messages are replied to aren't lost.
	(mh-copy-seq-to-eob): Simplified with the use of
	mh-iterate-on-range.
	(mh-thread-inc): This function doesn't need to notate user
	sequences since its callers already do that.
	(mh-thread-parse-scan-line): Simplified since mh-note-seq doesn't
	appear in scan lines it is given as arguments.
	(mh-thread-update-scan-line-map): Remove the test, since its
	caller already does the required check.
	(mh-thread-folder): Simplified by the use of mh-iterate-on-range.
	(mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick):
	These functions aren't needed any more, since overlays aren't used
	any more. Also overlays aren't portable to XEmacs, so nasty
	conditional code that used overlays in Emacs and extents in Xemacs
	have been eliminated.
	(mh-toggle-tick): Generalize it to work on a range of messages
	like the other interactive messages.

	* mh-funcs.el (mh-undo-folder): Use mh-remove-all-notation
	instead of mh-unmark-all-headers.

	* mh-e.el (mh-folder-font-lock-keywords): The entry for unseen
	sequence highlighting is now done by the macro.
	(mh-generate-sequence-font-lock): New macro to highlight any
	arbitrary sequence. This macro is invoked twice to get the
	highlighting for unseen and tick sequences.
	(mh-sequence-notation-history, mh-folder-mode): New variable that
	keeps track of the old notation when a message is notated with
	mh-note-seq.
	(mh-regenerate-headers, mh-get-new-mail): Add appropriate calls to
	mh-notate-user-sequences and mh-remove-all-notation.
	(mh-unmark-all-headers): Add comment that this function shouldn't
	be used any more.
	(mh-add-sequence-notation, mh-remove-sequence-notation): New
	functions to notate message with mh-note-seq and to remove it.
	(mh-remove-all-notation): Simplified to use mh-iterate-on-range.
	(mh-process-commands): Use mh-remove-all-notation instead of
	mh-unmark-all-headers.
	(mh-notate-user-sequences, mh-delete-msg-from-seq): Simplified
	since the tick and unseen sequences don't need special handling
	any more.
	(mh-internal-seq): Make it possible to dynamically change what
	sequences are treated as internal (internal means font lock is
	used to highlight the sequence).
	(mh-clear-text-properties): Removed since it isn't needed
	anymore.

2003-05-19  Satyaki Das  <satyakid@stanford.edu>

	* mh-unit.el (mh-unit-analyze-block, mh-unit-interactive-function-p)
	(mh-unit-find-all-unused-functions): Change argument name bl to
	block.

2003-05-19  Satyaki Das  <satyakid@stanford.edu>

	* mh-unit.el (mh-unit-find-all-unused-functions): New interactive
	function to find all unused functions in MH-E.
	(mh-unit-analyze-block, mh-unit-interactive-function-p)
	(mh-unit-functions-called): Functions used by
	mh-unit-find-all-unused-functions do its job.

	* Makefile (compile): Byte-compile mh-unit.el, since the analysis
	to find unused code runs faster when compiled.

2003-05-18  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-seq.el (mh-notate-deleted-and-refiled): Add autoload
	declaration since this function is used in mh-index.el.

	* mh-e.el, mh-customize.el, mh-utils.el: Adjust require/provide
	statements so that mh-e.el isn't loaded twice.

2003-05-15  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-defun-show-buffer): Arrange for the current
	line in the folder buffer to be highlighted even when we are in
	the show buffer.

2003-05-14  Satyaki Das  <satyakid@stanford.edu>

	* mh-seq.el (mh-read-range): Allow this to work on invalid
	sequences that only MH-E knows about.

	* mh-index.el (mh-create-sequence-map, mh-index-add-to-sequence)
	(mh-index-delete-from-sequence): Don't consider sequences that
	aren't valid MH sequences.

	* mh-e.el (mh-valid-seq-p): New predicate to check if a symbol
	could be a MH sequence.
	(mh-undefine-sequence, mh-define-sequence): Don't execute "mark"
	unless the sequence name is a valid MH sequence.

	* mh-utils.el (mh-exec-cmd): In case an error happens in the
	call-process and non-strings are present in ARGS, then the error
	message isn't properly displayed. The change fixes this.

2003-05-14  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-mime-save-part): Bug Fix: Make sure
	`mm-default-directory' gets a trailing "/" if
	`mh-mime-save-parts-directory' doesn't have one.  Otherwise the
	default in the prompt of `mh-mm-save-part' will be wrong.  Perhaps
	`mh-mm-save-part' needs to do this check itself.

2003-05-14  Satyaki Das  <satyakid@stanford.edu>

	* mh-index.el (mh-unpropagated-sequences): New function and
	variable to keep track of sequences that shouldn't be propagated.
	(mh-create-sequence-map, mh-index-add-to-sequence)
	(mh-index-delete-from-sequence): Use mh-unpropagated-sequences to
	stop changes to some sequences being reflected back to the source
	folders.

2003-05-13  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-e.el (mh-process-commands): Preserve sequences when messages
	are refiled (closes SF #737128).

	* mh-index.el (mh-create-sequence-map)
	(mh-index-create-sequences): Refactor code that is reused into a
	new function.

	* mh-customize.el (mh-refile-preserves-sequences-flag): New
	customizable flag that controls whether sequences are preserved
	when messages are refiled.

2003-05-13  Eric Ding  <ericding@alum.mit.edu>

	* mh-e.el (mh-scan-format): The argument for scan format files
	should be -form, not -format.

2003-05-13  Satyaki Das  <satyakid@stanford.edu>

	* mh-seq.el (mh-widen): The scan line map stack was not being
	properly updated when ALL-FLAG is non-nil. The change fixes that.

	* mh-e.el (mh-reset-threads-and-narrowing): The change resets the
	scan line map stack.

2003-05-12  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-seq.el (mh-thread-scan-line-map-stack)
	(mh-thread-old-scan-line-map): Instead of the old scan line map,
	now we need to maintain a stack of scan line maps.
	(mh-narrow-to-seq): Modified so that multiple level of narrowings
	can be done. We now maintain a stack of old views instead of
	hiding the old scan lines. This makes it possible to have
	multiple levels of narrowings.
	(mh-widen): A optional prefix arg was added to allow undoing all
	narrowing.
	(mh-read-seq-default, mh-read-range): Don't use
	mh-narrowed-to-seq, since it doesn't exist any more.
	(mh-thread-initialize-hash, mh-thread-initialize): The
	mh-thread-initialize function has been refactored.
	(mh-thread-update-scan-line-map): Maintain notations in the stack
	of scan line maps.
	(mh-notate-tick, mh-toggle-tick): Simplified, since we don't have
	mh-narrowed-to-seq any more. This means there is a slight loss of
	functionality. Earlier if we narrowed to the tick sequence the
	ticked messages weren't highlighted. This feature isn't present
	any more.

	* mh-e.el (mh-execute-commands, mh-reset-threads-and-narrowing)
	(mh-folder-sequence-menu, mh-get-new-mail): Use
	mh-folder-view-stack instead of the now removed
	mh-narrowed-to-seq.
	(mh-narrowed-to-seq, mh-tick-seq-changed-when-narrowed-flag):
	These variables have been removed.
	(mh-folder-view-stack): New variable to keep track of a stack of
	narrowings.
	(mh-execute-commands, mh-get-new-mail): Add extra argument to
	mh-widen so that all narrowings are undone.

	* Makefile (MH-E-SRC, MH-E-OTHERS): Move mh-gnus.el from MH-E-SRC
	to MH-E-OTHERS so that it isn't byte compiled.

2003-05-10  Satyaki Das  <satyakid@stanford.edu>

	* mh-seq.el (mh-read-seq): Improve the function a bit by adding
	history to the sequence prompt.

2003-05-09  Satyaki Das  <satyakid@stanford.edu>

	* mh-gnus.el: New file that won't be byte-compiled. From now on
	having different Gnus versions at run-time and compile-time won't
	cause errors in MH-E.

	* mh-mime.el (mh-small-show-buffer-p, mh-display-smileys)
	(mh-display-emphasis): Handle all legal values of
	font-lock-maximum-size. The existing code assumed didn't consider
	the case where it could be an alist.
	(mh-small-image-p): Simplified, so that aliasing XEmacs functions
	in Emacs isn't necessary any more.
	(mh-mm-display-part): Remove unnecessary call to fboundp. The
	mh-funcall-if-exists does that for us any way.
	(mh-defun-compat, gnus-local-map-property, mm-merge-handles)
	(mm-set-handle-multipart-parameter, mm-readable-p)
	(mm-long-lines-p, mm-keep-viewer-alive-p, mm-destroy-parts)
	(mh-mm-save-part, mm-handle-multipart-ctl-parameter): These
	compatibility functions have been moved to mh-gnus.el.

	* Makefile (MH-E-SRC): Add mh-gnus.el.

	* mh-seq.el (mh-narrow-to-header-field)
	(mh-current-message-header-field): Checkdoc fixes.

	* mh-e.el (mh-undefine-sequence): Since mh-coalesce-msg-list
	returns a list, apply is needed.

2003-05-09  Noel Cragg  <noel@red-bean.com>  (tiny change)

	* mh-junk.el (mh-spamassassin-blacklist): Separate "--local" and
	"--no-rebuild" arguments to call-process.
	[Patch committed by satyaki]

2003-05-08  Satyaki Das  <satyakid@stanford.edu>

	* mh-seq.el (mh-translate-range): Take into account differnt
	semantics of split-string in Emacs and XEmacs.
	(mh-read-pick-regexp, mh-narrow-to-from, mh-narrow-to-cc)
	(mh-narrow-to-to, mh-narrow-to-header-field)
	(mh-current-message-header-field, mh-narrow-to-range): New
	narrowing functions that can select messages based on different
	message headers.

	* mh-utils.el (mh-show-limit-map): Add new narrowing functions
	callable from the show buffer.

	* mh-e.el (mh-help-messages): Add help text for new functions.
	(mh-limit-map): Add new narrowing functions (closes SF #732823).

2003-05-07  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-collect-folder-names): Use mh-exec-daemon to
	run flists. This means we don't have to remember to expand the MH
	executable in the mh-progs path.
	(mh-exec-cmd-daemon): Return the new process object produced.

2003-05-06  Satyaki Das  <satyakid@stanford.edu>

	* mh-e.el (mh-folder-font-lock-unseen): Use mh-seq-list to do
	unseen sequence highlighting instead of reading the .mh_sequences
	file from disk every time.

2003-05-05  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-show-sequence-map): Add key binding for S'
	(closes SF #732825).

	* mh-e.el (mh-sequence-map): Ditto.
	(mh-help-messages): Updated for S'.

2003-05-04  Satyaki Das  <satyakid@stanford.edu>

	* mh-index.el (mh-index-write-data): The with-temp-buffer macro
	is a bit better than write-file, so use that instead.

2003-05-03  Satyaki Das  <satyakid@stanford.edu>

	* mh-index.el (mh-index-update-maps, mh-index-search)
	(mh-index-sequenced-messages): Write index data to disk. This
	allows us to recover index folder information if Emacs is
	restarted, or the index folder is visited after the buffer has
	been killed (closes SF #701762).
	(mh-index-write-data, mh-index-read-data)
	(mh-index-write-hashtable, mh-index-read-hashtable): Functions to
	store and read index data information to disk.
	(mh-index-insert-folder-headers, mh-index-group-by-folder): We
	can no longer use object identity to compare strings, since they
	might have been read back from disk.

	* mh-e.el (mh-index-data-file): New variable that stores the name
	of the file that keeps track of index folder data.
	(mh-make-folder): Read index folder data if available.

	* mh-utils.el (mh-show, mh-summary-height, mh-modify): Make
	checkdoc happy.

	* mh-seq.el (mh-tick-add-overlay): Rearrange code to make code
	more uniform.

	* mh-loaddefs.el: Regenerated.

2003-05-02  Satyaki Das  <satyakid@stanford.edu>

	* mh-seq.el (mh-tick-add-overlay): If a message with a short scan
	line is ticked, then the highlighting didn't extend to the right
	margin. This change fixes that.

2003-05-01  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-help-messages): Added brackets around / and
	downcased limit to be consistent with other commands with
	punctuation keybindings. Don't document aliases.

2003-05-01  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-seq.el (mh-read-range): Fix comment.

2003-04-30  Mark D. Baushke  <mdb@gnu.org>

	* mh-e.el (mh-help-messages): Better documentation for the F map.

2003-04-30  Satyaki Das  <satyakid@stanford.edu>

	* mh-utils.el (mh-find-path): Cache folder names so that
	folder name completion is always fast.
	(mh-flists-partial-line, mh-flists-process): Variables used for
	pre-caching folder names.
	(mh-collect-folder-names, mh-collect-folder-names-filter)
	(mh-populate-sub-folders-cache): Functions to pre-cache folder
	names.
	(mh-exec-cmd): Produce more info in *MH-E Log*.

	* mh-index.el (mh-index-search): Call the correct function.
	(mh-index-sequenced-messages): If folders is nil, then all mail
	is searched. The change restores that.

2003-04-30  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-summary-height): Move variable integer out
	of defcustom, and instead specify that `nil' means to calculate
	that size dynamically.  Fixes SF #723267.

	* mh-utils.el (mh-summary-height): New function. Return ideal
	mh-summary-height value for current frame height.
	(mh-show-msg): Use it.

2003-04-30  Mark D. Baushke  <mdb@gnu.org>

	* mh-index.el (mh-index-ticked-messages): Fix prompt and
	description string.
	(mh-index-new-messages): Ditto.

	* mh-loaddefs.el: Regenerated.

	* mh-index.el (mh-index-sequenced-messages): Renamed from
	mh-index-new-messages with minor argument change.
	(mh-index-new-messages): Implement by calling
	mh-index-sequenced-messages with the appropriate arguments.
	(mh-index-ticked-messages): New function. Does the same thing as
	mh-index-new-messages, but on its own set of folders and using the
	mh-tick-seq instead of mh-unseen-seq.

	* mh-e.el (mh-folder-map): Add "F'" to the map for
	mh-index-ticked-messages.
	(mh-help-messages): Replace broken [t]hread with [n]ew messages.

	* mh-customize.el (mh-index-ticked-messages-folders): New user
	customizable flag that controls the folders to be searched by
	mh-index-ticked-messages.

	* mh-utils.el (mh-show-index-ticked-messages): Wrapper for
	mh-index-ticked-messages.
	(mh-show-folder-map): Add "F'" to the map for
	mh-index-ticked-messages.

2003-04-30  Satyaki Das  <satyakid@stanford.edu>

	* mh-index.el (mh-index-search): The old cur in the source folder
	might not exist. This could cause mh-exec-cmd to fail. So don't
	add an error message in that case.

2003-04-29  Satyaki Das  <satyakid@stanford.edu>

	* mh-e.el (mh-folder-from-address): Modified to allow multiple
	Cc: headers to work properly.
	(mh-inc-folder, mh-visit-folder): Fix an off by one error.

	* mh-utils.el (mh-notate): Update the scan line map. This fixes a
	tiny bug. In threaded view, if a message is replied to then the
	message is notated with a "-". Now if inc is done then the "-"
	added is lost. The change fixes this.

	* mh-seq.el (mh-translate-range): Use the correct function.
	(mh-thread-update-scan-line-map): New function that updates the
	scan line map when a message is notated.

2003-04-28  Satyaki Das  <satyakid@stanford.edu>

	* mh-index.el (mh-index-parse-search-regexp): Avoid compiler
	warning in GNU Emacs 21.3.

	* mh-seq.el (mh-widen): Ditto.

2003-04-28  Satyaki Das  <satyakid@stanford.edu>

	* mh-customize.el (mh-interpret-number-as-range-flag): New user
	customizable flag that controls whether a single number, N is
	interpreted as the range last:N.

	* mh-seq.el (mh-read-range): Generalize it for use when reading
	range to scan.
	(mh-interactive-range): Modified to use the new mh-read-range.

	* mh-speed.el (mh-speed-view): Use mh-read-range instead of the
	now removed mh-read-msg-range function.

	* mh-funcs.el (mh-pack-folder): Ditto.

	* mh-e.el (mh-rescan-folder, mh-visit-folder): Ditto.
	(mh-read-msg-range): Removed.

	* mh-loaddefs.el: Regenerated

2003-04-27  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-seq.el (mh-range-completion-function): Fix checkdoc warning.
	(mh-iterate-on-range): Mention that the macro can iterate over a
	MH message range too.

2003-04-27  Bill Wohler  <wohler@newt.com>

	* mh-unit.el (mh-unit): As it turns out, lm-crack-copyright has
	been updated to handle multiple-line copyrights in 21.3, so
	updated code to run lm-verify only if user has 21.3 or greater.
	Delete buffers after use, unless user already had buffer open.

2003-04-27  Satyaki Das  <satyakid@stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-index.el (mh-index-search): The MH command "refile" changes
	cur. The change restores cur in source folders.
	(mh-index-new-messages): Use the appropriate arguments for
	mh-read-seq.

	* mh-seq.el (mh-read-seq-default, mh-read-seq): Restore these
	functions to just read sequence names.
	(mh-range-seq-names, mh-range-history, mh-range-completion-map)
	(mh-range-completion-function, mh-read-range): New function which
	reads MH range with completion and history.
	(mh-interactive-range): Use mh-read-range instead of
	mh-read-seq-default.
	(mh-put-msg-in-seq): Change documentation about MH message range.

	* mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Change
	documentation about MH message range.

	* mh-funcs.el (mh-copy-msg, mh-print-msg): Ditto.

	* mh-e.el (mh-delete-msg, mh-delete-msg-no-motion)
	(mh-refile-msg, mh-undo, mh-delete-msg-from-seq): Ditto.

	* mh-comp.el (mh-forward): Ditto.

2003-04-26  Satyaki Das  <satyakid@stanford.edu>

	* mh-comp.el, mh-e.el, mh-funcs.el, mh-junk.el, mh-seq.el:
	Replace msg-or-seq with range everywhere.

	* mh-loaddefs.el: Regenerated.

2003-04-25  Satyaki Das  <satyakid@stanford.edu>

	* mh-e.el (mh-index-sequence-search-flag, mh-folder-mode): New
	local variable to remember that a folder buffer contains results
	from a sequence search. This is needed so that "C-u F i" will work
	as expected.
	(mh-visit-folder): Create sequences in the index folder.
	(mh-process-commands, mh-delete-msg-from-seq): If speedbar is on
	then update the speedbar message counts immediately.
	(mh-delete-msg-from-seq): Make the code faster by calling "mark"
	just once. Also update source folder sequence if messages are
	being deleted from a sequence in an index folder.
	(mh-undefine-sequence): Simplified to remove the speedbar updating
	code. Also DTRT and don't change any sequence when called with an
	empty list of messages.
	(mh-refile-msg, mh-delete-msg): Move to next message only if the
	current message has been deleted or refiled, as the case may be.

	* mh-utils.el (mh-show-msg): Update the message counts in the
	speedbar, if it is on, immediately.
	(mh-speed-flists-active-p, mh-speed-flists-inhibit-flag): A new
	flag has been added which inhibits updating of the speedbar. This
	is used to avoid needless speedbar updates when
	mh-execute-commands is called in index folders.

	* mh-speed.el (mh-speed-flists): Extended so that multiple
	folders can be given as arguments. Also the code that kept track
	of the current folder, needed since flists adds an extra ?+ char
	at the end of the current folder name, wasn't entirely correct.
	That has also been fixed.

	* mh-seq.el (mh-delete-seq, mh-put-msg-in-seq): Modified so that
	sequence in source folder is updated if we delete a sequence in an
	index folder.
	(mh-read-seq, mh-read-seq-default, mh-translate-range)
	(mh-interactive-msg-or-seq): The mh-interactive-msg-or-seq
	function can read in an arbitrary MH message range.
	(mh-iterate-on-msg-or-seq): The macro has been extended to work on
	a MH range.
	(mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
	(mh-subject-to-sequence-threaded, mh-thread-find-msg-subject): Fix
	the mh-subject-to-sequence function so that it will work in
	threaded folders too.
	(mh-tick-add-overlay): Fix a leak of overlays.
	(mh-toggle-tick): Ticking, or unticking, messages in the index
	folder is propagated to the source folders (closes SF #709664).

	* mh-index.el (mh-flists-results-folder, mh-flists-sequence)
	(mh-flists-called-flag): New variables to implement searching for
	arbitrary sequences.
	(mh-index-generate-pretty-name): Updated so that folder names are
	generated for flists search that can take any sequence name.
	(mh-index-search): Since sequences are now properly maintained the
	unseen-flag argument isn't needed and hence removed. Also redoing
	a sequence search with "C-u F i" is handled correctly. Finally
	the speedbar is updated to reflect the new index folder created.
	(mh-index-create-sequences): New function that creates sequences
	in the index folder.
	(mh-index-matching-source-msgs, mh-index-execute-commands):
	Improved so that scan lines for refiled/deleted messages are
	removed from the source folders as well.
	(mh-index-add-to-sequence, mh-index-delete-from-sequence): New
	functions to update sequences in source folder to reflect changes
	in index folder.
	(mh-index-quote-for-shell): A utility function to that quotes
	characters with special meaning to /bin/sh.
	(mh-flists-execute, mh-index-new-messages): Updated to search for
	arbitrary sequences (closes SF #718833).

	* mh-loaddefs.el: Regenerated.

2003-04-25  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-kill-folder-suppress-prompt-hook): New hook
	used by mh-kill-folder to suppress the prompt.

	* mh-funcs.el (mh-kill-folder): Suppress prompt not if
	mh-index-data is non-nil, but if any functions in
	mh-kill-folder-suppress-prompt-hook return non-nil.

	* mh-index.el (mh-index-p): New function with returns non-nil if
	the current folder was generated by an index search for use by
	mh-kill-folder-suppress-prompt-hook

	* mh-unit.el (mh-unit): Commented out lm-verify step until code
	updated to handle split Copyright lines.

	* mh-e.el (mh-version): Set to 7.3+cvs.

2003-04-24  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.3.

	* MH-E-NEWS, README: Updated for release 7.3.

	* mh-e.el (Version, mh-version): Updated for release 7.3.

2003-04-24  Satyaki Das  <satyakid@stanford.edu>

	* mh-xemacs-compat.el (mh-utils): Require mh-utils at compile
	time, since the mh-do-in-xemacs macro is used.

	* mh-inc.el (cl): Require cl at compile time since we are using
	the loop and setf macros.

2003-04-24  Satyaki Das  <satyakid@stanford.edu>

	* mh-unit.el (mh-files): Fix the list of files to check.

2003-04-24  Bill Wohler  <wohler@newt.com>

	* ChangeLog: Appended copyright to end of file.

	* Makefile: Added copyright and license.

	* README: Added copyright.

	* import-emacs: Changed copyright from Newt Software to Bill
	Wohler and use license from mh-e.el, except that this file is
	a part of MH-E, not GNU Emacs.

	* mh-alias.el: Updated copyright so that it doesn't wrap upon
	advice from Richard Stallman who said to use two-digit years when
	they are surrounded by 4-digit years that are in the same century
	and to break up copyrights on multiple lines.
	* mh-comp.el: Ditto.
	* mh-e.el: Ditto.
	* mh-funcs.el: Ditto.
	* mh-identity.el: Ditto.
	* mh-mime.el: Ditto.
	* mh-seq.el: Ditto.
	* mh-utils.el: Ditto.
	* mh-xemacs-compat.el: Ditto.

	* mh-unit.el: New file. Unit tests for MH-E. This version merely
	runs checkdoc and lm-verify which is useful before releasing the
	software. It can and should be expanded to do real unit tests.

2003-04-22  Mark D Baushke  <mdb@gnu.org>

	* mh-alias.el: Update Copyright.
	* mh-comp.el: Ditto.
	* mh-customize.el: Ditto.
	* mh-e.el: Ditto.
	* mh-funcs.el: Ditto.
	* mh-identity.el: Ditto.
	* mh-index.el: Ditto.
	* mh-mime.el: Ditto.
	* mh-pick.el: Ditto.
	* mh-seq.el: Ditto.
	* mh-speed.el: Ditto.
	* mh-utils.el: Ditto.
	* mh-xemacs-compat.el: Ditto.

2003-04-22  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-normalize-folder-name): Make the completion
	code work properly with XEmacs. This change is neeeded since
	split-string behaves differently in XEmacs than it does in GNU
	Emacs.
	(mh-exec-cmd-error): Add a comment, so that we change it later on.

2003-04-18  Steve Youngs  <youngs@xemacs.org>

	* mh-xemacs-icons.el (mh-xemacs-icons): Provide 'mh-xemacs-icons'
	not 'mh-xemacs-toolbar'.

	* mh-xemacs-compat.el (mh-xemacs-toolbar): Remove require, it's
	now called 'mh-xemacs-icons' and it is required from
	'mh-customize'.

	* mh-customize.el: Require 'mh-xemacs-icons' instead of
	'mh-xemacs-toolbar'.

2003-04-17  Peter S Galbraith  <psg@debian.org>

	* mh-xemacs-icons.el: New file (renamed from mh-xemacs-toolbar.el).
	Holds XEmacs icons.

	* mh-xemacs-toolbar.el: Deleted.

	* Makefile: Incorporate the file renaming.

2003-04-15  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-forward): Pass a list of messages into
	mh-compose-and-send-mail instead of msg-or-seq.
	(mh-annotate-msg): The previous version called
	mh-iterate-on-msg-or-seq in the letter buffer. The new version
	simply adds the ability to operate on message lists. Thanks to
	Satyaki for the fix and suggestion for passing a list from
	mh-forward.

2003-04-14  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-annotate-msg): Updated to handle msg-or-seq for
	mh-forward was passing a msg-or-seq to mh-compose-and-send-mail
	which in turn passed the msg-or-seq to mh-annotate-msg. In
	particular, forwarding a region failed. Note that the msgs
	argument in much of mh-comp.el should really be converted to
	msg-or-seq accordingly. But not now, unless something is broken as
	was the case here. We can revamp after the release.

2003-04-13  Bill Wohler  <wohler@newt.com>

	* mh-funcs.el (mh-kill-folder): Added space after prompt to give
	the (yes or no) bit a little elbow room.

	* mh-xemacs-toolbar.el: Removing a copyright is a no-no.
	Reinstated Steve's copyright.

2003-04-12  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-do-in-gnu-emacs, mh-do-in-xemacs): Add
	indentation hooks for the macros.

2003-04-11  Bill Wohler  <wohler@newt.com>

	* mh-alias.el, mh-comp.el, mh-customize.el, mh-funcs.el,
	mh-identity.el, mh-inc.el, mh-index.el, mh-junk.el, mh-utils.el:
	Merged in changes from CVS GNU Emacs. These included the removal
	of trailing whitespace.

	* mh-customize.el: The "anti-entropy" check-in. Moved groups
	around slightly to reflect commentary. Moved defcustoms around
	to preserve alphabetization. Big diff, little content.
	(mh-xemacs-use-toolbar-flag): Doc fix.
	(mh-xemacs-toolbar-position): Fixed typo in docstring.
	(mh-default-folder-list): Updated docstring to reflect new Check
	Recipient tag. Also, set type of Address to regexp.
	(mh-x-mailer-string): Moved to mh-comp.el where it is used.

	* mh-comp.el (mh-x-mailer-string): Moved here from customize.el.
	Not quite sure how it got to mh-customize.el in the first place.

	* mh-e.el (mh-folder-folder-menu): Added Folder -> View New
	Messages menu item.

	* mh-utils.el (mh-show-folder-menu): Ditto.

	* mh-inc.el: Added Change Log comment (lm-verify fix).

	* mh-index.el (mh-index-search): Added documentation about prefix
	argument for users, in addition to documentation for programmers.

	* mh-mime.el (mh-edit-mhn, mh-edit-mhn, mh-mml-to-mime): Docstring
	fixes germaine to the change whereby we now check for MIME
	directives before sending.

	* mh-xemacs-toolbar.el: Fixed copyright. Added Change Log comment.
	(lm-verify fix). Added standard MH-E local variables. Removed
	time-stamp stuff.

2003-04-11  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-iterate-on-msg-or-seq): Add a missed comma.

2003-04-10  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-visit-folder): Prompt before reusing
	existing folder buffer.

	* mh-xemacs-toolbar.el (require): Require mh-utils at compile
	time to avoid compilation error when doing "make bootstrap" in
	CVS Emacs.

	* mh-inc.el (mh-inc-spool-list): Declare it so that a compile
	time warning is avoided when doing "make bootstrap" in CVS Emacs.

2003-04-10  Peter S Galbraith  <psg@debian.org>

	* mh-inc.el (mh-inc-spool-generator): Changed to a defun instead
	of a defmacro, applying Satyaki's patch.
	(mh-inc-spool-def-key): same.
	(mh-inc-spool-make): same.

	* mh-utils.el: define-key "I" in mh-show-mode-map for
	mh-inc-spool-map.

	* mh-comp.el (mh-modify-header-field): Remove debug message.

2003-04-10  Peter S Galbraith  <psg@debian.org>

	* mh-inc.el (mh-inc-spool-map-help): Default to nil.
	(mh-inc-spool-map): Make "?" key display message when
	`mh-inc-spool-map-help' is nil (instead of mh-inc-spool-map-help
	containing the message).

	* mh-e.el: require mh-inc.el
	* mh-e.el: define-key "I" in mh-folder-mode-map for mh-inc-spool-map.
	(mh-help-messages): Add help string for "I" key.

2003-04-09  Peter S Galbraith  <psg@debian.org>

	* mh-inc.el: New file. New feature to `inc' mail from various
	spool files into different folders.

	* mh-loaddefs.el: Regenerate for mh-inc's mh-inc-spool-list-set.

	* Makefile (MH-E-IMG): Add highlight icon.
	(MH-E-SRC): Add mh-inc.el file.

	* mh-customize.el (mh-inc-spool-list): New variable for new
	feature to `inc' mail from various spool files into different
	folders.

2003-04-09  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-mail-delivery-buffer): Add a defconst for
	mh-mail-delivery-buffer.

	* mh-comp.el (mh-send-letter): Use mh-mail-delivery-buffer.

	* mh-mime.el (mh-small-image-p): Add mh-funcall-if-exists to
	avoid compiler warning in GNU Emacs.

2003-04-08  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-small-image-p): Make the function slightly more
	error-resistant in XEmacs.

	* mh-seq.el (mh-narrow-to-seq, mh-widen): Update tool-bar-map in
	the show buffer if needed. This allows us to display the widen
	button in the show buffer only when the folder is narrowed.

	* mh-customize.el (mh-tool-bar-define): Changed so that a
	separate tool-bar-map is used in show-mode when folder is
	narrowed to a sequence.

2003-04-08  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-iterate-on-msg-or-seq): Reinstate the use of
	make-symbol since using gensym causes compiler warnings in CVS
	Emacs.

2003-04-08  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-forward): Function didn't handle a region of
	messages. Use new function mh-msg-or-seq-to-msg-list to get a list
	of messages in all circumstances. Also, use mh-coalesce-msg-list
	on message list before submitting to forw since this should always
	be done when calling a program to reduce the chance of exceeding
	command-line limits.

	* mh-seq.el (mh-iterate-on-msg-or-seq): Backed out previous
	change. A nil msg-or-seq should mean no messages, and Satyaki is
	going to use gensym instead of make-symbol.
	(mh-msg-or-seq-to-msg-list): New function to convert a msg-or-seq
	to a list of message numbers.

	* mh-e.el (mh-coalesce-msg-list): Touched up the docstring a
	little.

	* mh-funcs.el (mh-print-msg): Can now print regions, message
	lists, sequences and, of course, single messages. This version
	works a little differently from the old version. Instead of
	calling mhl | lpr once on all messages, mhl | lpr is called once
	per message in order to put each message's number in the header.
	Thanks to Satyaki for some code and ideas.

	* mh-seq.el (mh-iterate-on-msg-or-seq): The argument msg-or-seq
	can now be nil which means the current message. Make local symbols
	so that local variables don't step on user's symbols (the msgs
	symbol got me).

2003-04-06  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-forward): Updated docstrings to indicate that a
	list of messages is acceptable as well.

	* mh-e.el (mh-delete-msg, mh-delete-msg-no-motion, mh-refile-msg)
	(mh-undo, mh-notate-user-sequences, mh-delete-msg-from-seq): Ditto.

	* mh-funcs.el (mh-copy-msg, mh-print-msg): Ditto.

	* mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.

	* mh-seq.el (mh-put-msg-in-seq, mh-iterate-on-msg-or-seq)
	(mh-interactive-msg-or-seq): Ditto.

2003-04-06  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Call
	mh-refile-a-msg and mh-delete-a-msg with nil as the message
	number since that is more efficient.

	* mh-seq.el (mh-iterate-on-msg-or-seq): Extended so that it will
	handle lists of messages numbers as well.
	(mh-put-msg-in-seq): Use mh-iterate-on-msg-or-seq to simplify the
	function.

	* mh-funcs.el (mh-copy-msg): Same as above.

	* mh-e.el (mh-refile-msg): Make it more efficient. Using nil in
	mh-refile-a-msg avoids needing to re-search-forward to that
	message.
	(mh-undo): Fix typo in interactive spec.
	(mh-notate-user-sequences): Generalize the function to take a
	msg-or-seq as argument.
	(mh-delete-msg-from-seq): Extend the function so that it is now
	able to subtract messages belonging in one sequence from another.
	(mh-undo): Unify the region and sequence handling. The message
	number branch of the function does extra stuff, so we can't merge
	that in.

2003-04-06  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-forward): Use mh-interactive-msg-or-seq. Inserted
	consistent verbiage in docstring for msg-or-seq.
	(mh-reply): Don't mention default in opening line in all
	docstrings.

	* mh-e.el (mh-delete-msg, mh-refile-msg)
	(mh-undo, mh-delete-msg-from-seq): Use mh-interactive-msg-or-seq.
	Inserted consistent verbiage in docstring for msg-or-seq. In
	mh-delete-msg-from-seq, renamed msg-or-region to msg-or-seq.

	* mh-funcs.el (mh-copy-msg, mh-print-msg): Use
	mh-interactive-msg-or-seq. Inserted consistent verbiage in
	docstring for msg-or-seq.

	* mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Inserted
	consistent verbiage in docstring for msg-or-seq.

	* mh-seq.el (mh-msg-is-in-seq): Don't mention default in opening
	line in all docstrings.
	(mh-put-msg-in-seq): Use mh-interactive-msg-or-seq. Inserted
	consistent verbiage in docstring for msg-or-seq.

	* mh-e.el (mh-delete-msg, mh-delete-msg-no-motion, mh-refile-msg):
	Rewritten to use new mh-interactive-msg-or-seq function and
	mh-iterate-on-msg-or-seq macro. mh-delete-msg-no-motion gained the
	ability to operate on regions.

	* mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Rewritten to
	use new mh-interactive-msg-or-seq function and
	mh-iterate-on-msg-or-seq macro thereby gaining the ability to
	operate on sequences or regions.

	* mh-seq.el (mh-iterate-on-msg-or-seq): New macro to execute code
	on a message, a region of messages, or a sequence. This macro
	should be in all functions that operate on messages to provide a
	uniform interface.
	(mh-interactive-msg-or-seq): New function used in interactive
	calls to obtain a message number, region, or sequence. This
	function should be in all functions that operate on messages to
	provide a uniform interface.

	* mh-utils.el (with-mh-folder-updating, mh-in-show-buffer): Use
	'defun lisp-indent-hook property instead of 1 to fix indentation
	of these macros.

2003-04-05  Peter S Galbraith  <psg@debian.org>

	* mh-loaddefs.el: Regenerated.
	* mh-funcs.el (mh-ephem-message): autoload.

2003-04-04  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-from-address): Minor Fix.  Wrong ending of
	`when' block.

2003-04-04  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-mml-directive-present-p): The regexp has been
	modified to recognize directives to encrypt/sign messages.

2003-04-03  Mark D. Baushke  <mdb@gnu.org>

	* mh-e.el (mh-folder-from-address): E-mail messages missing the
	To: field, but which have a Cc: field should also be handled.

2003-04-03  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-inc-folder): Modified the prompt text to read
	better.

	* mh-comp.el (mh-forward): Deleted local variable `compose'.
	Deleted obsolete setting of mh-{mmh|mml}-compose-insert-flag.
	(mh-letter-menu): Use mh-{mmh|mml}-directive-present-p instead of
	obsolete. mh-{mmh|mml}-compose-insert-flag.
	(mh-letter-mode): Deleted obsolete setting of
	mh-{mmh|mml}-compose-insert-flag.
	(mh-send-letter): This function now automatically runs the
	directive-to-MIME conversion if any directives are detected,
	rather than relying on the unreliable
	mh-{mmh|mml}-compose-insert-flag variables. Updated docstring
	accordingly.

	* mh-identity.el (mh-insert-identity): Use
	mh-{mmh|mml}-directive-present-p instead of obsolete.
	mh-{mmh|mml}-compose-insert-flag.

	* mh-loaddefs.el: Regenerated.

	* mh-mime.el (mh-mhn-compose-type, mh-mhn-compose-external-type)
	(mh-mhn-compose-forw, mh-edit-mhn, mh-mml-to-mime)
	(mh-mml-forward-message, mh-mml-attach-file)
	(mh-mml-secure-message-sign-pgpmime)
	(mh-mml-secure-message-encrypt-pgpmime): Deleted obsolete setting
	of mh-{mmh|mml}-compose-insert-flag.
	(mh-mml-directive-present-p): Checkdoc fix.

	* mh-utils.el (mh-mhn-compose-insert-flag,
	mh-mml-compose-insert-flag): Deleted. Replaced by
	mh-{mhn|mml}-directive-present-p.

2003-04-03  Mark D. Baushke  <mdb@gnu.org>

	* mh-e.el (mh-folder-from-address): Fix minor problem with To:
	address processing.

	* mh-e.el (mh-folder-from-address): Bugfix match ?+ character not
	a "?+" string.

2003-04-03  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-inc-folder): Add second optional argument for the
	folder to inc new mail into instead of mh-inbox.

2003-04-03  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-from-address): The first match found in
	`mh-default-folder-list' is used.

	* mh-customize.el (mh-default-folder-list): Tweak docs

2003-04-03  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-mime.el (mh-mhn-directive-present-p): New function to test if
	a MHN directive is present in the current buffer.
	(mh-mml-directive-present-p): New function to test if a MML
	directive is present in the current buffer.

	* mh-comp.el (mh-letter-mode): Originally this function checked if
	a #forw directive was present and set mh-mhn-compose-insert-flag
	to t. The modification generalizes this test so that one of the
	variables mh-{mml|mhn}-compose-insert-flag will get set if we have
	any sort of MHN or MML directive is already present.

	* mh-seq.el (tool-bar-map): Add a defvar to avoid compiler
	warnings in CVS version of GNU Emacs.

	* mh-utils.el (tool-bar-map): Same as above.

	* mh-e.el (tool-bar-map): same as above.

2003-04-02  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-xemacs-toolbar.el (mh-xemacs-toolbar-toggle-tick-icon):
	Change color to match mh-folder-tick-face.

	* highlight.xpm: Same as above.

2003-04-02  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-from-address): Check `mh-default-folder-list'
	for cases against the recipient instead of the originator.

	* mh-customize.el (mh-default-folder-list): Add extra boolean flag
	to conditionally check the recipient address instead of the
	originator.

2003-04-02  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-folder-tick-face): Change tick highlight
	face to a background yellow-green, as suggested by Bill.

2003-04-01  Peter S Galbraith  <psg@debian.org>

	* highlight.xpm: New icon for mh-toggle-tick.

	* mh-xemacs-toolbar.el (mh-xemacs-icon-map): Add tool-bar entry
	for mh-toggle-tick.
	(mh-xemacs-toolbar-toggle-tick-icon): New constant.

	* mh-customize.el: Add tool-bar entry for mh-toggle-tick.

2003-03-31  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-utils.el (mh-show-narrow-to-tick, mh-show-limit-map)
	(mh-show-sequence-menu): Add new interactive function
	mh-show-narrow-to-tick callable from the show buffer and arrange
	for a key binding and a menu entry.

	* mh-seq.el (mh-narrow-to-tick): New interactive function that
	narrows to the tick sequence.

	* mh-e.el (mh-folder-sequence-menu, mh-limit-map): Arrange for a
	key binding and a menu entry for mh-narrow-to-tick.

	* mh-comp.el (mh-letter-mode): Enable undo since we could be
	reusing a show buffer where undo is disabled (closes SF #712777).

2003-03-31  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-sequence-menu): Add entry for mh-toggle-tick.

	* mh-utils.el (mh-show-sequence-menu): Add entry for
	mh-show-toggle-tick.

2003-03-28  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-delete-seq): If the tick sequence is killed with
	"S k" then the highlighting wasn't getting removed. The change
	fixes this.

2003-03-27  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-notate-user-sequences): Extend it so that only the
	messages in a part of the folder are notated.
	(mh-delete-msg-from-seq): Extend it so that it will delete all
	messages in the marked region.
	(mh-delete-a-msg-from-seq): New function that deletes a single
	message from a sequence.
	(mh-clear-text-properties): If there is a ticked unseen message
	and the message is removed from the unseen list with "S d" then
	unticking the message doesn't change the highlight. This change
	fixes this.

2003-03-27  Peter S Galbraith  <psg@debian.org>

	* mh-xemacs-toolbar.el (mh-xemacs-toolbar-*-icon): Use original
	24x24 icons, changing background only.

2003-03-27  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-junk.el (mh-spamassassin-identify-spammers): Remove unused
	variable buffer-exists.
	(mh-spamassassin-identify-spammers): Remove unused variable user.

	* mh-customize.el (mh-junk-choose): Tweak it to remove XEmacs
	compiler warning.

2003-03-26  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-print-scan-lines): Handling of a boundary
	condition when messages from the last source folder had been
	removed was incorrect. This caused a folder header to appear
	without any messages listed under it. This change fixes this.
	(mh-thread-forget-message): Remove the entry from the scan line
	table as well. This is needed for proper display of threaded view
	of index folders.

2003-03-26  Bill Wohler  <wohler@newt.com>

	* Makefile, README, import-emacs, mh-alias.el, mh-comp.el,
	mh-customize.el, mh-e.el, mh-funcs.el, mh-identity.el,
	mh-index.el, mh-loaddefs.el, mh-mime.el, mh-pick.el, mh-seq.el,
	mh-speed.el, mh-utils.el, mh-xemacs-compat.el,
	mh-xemacs-toolbar.el: Removed RCS keywords per Emacs conventions
	(closes SF #680731).

2003-03-26  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el: Fix commentary to mention that mairix is supported
	as well.

	* mh-loaddefs.el: Regenerated.

	* mh-utils.el (mh-show-junk-blacklist, mh-show-junk-whitelist):
	Interactive functions callable from the show buffer.
	(mh-show-junk-map): Key bindings in show mode.

	* mh-e.el (mh-junk-map): Key bindings to call spam program.
	(mh-help-messages): Update help text.

	* mh-customize.el (mh-junk): New customization group for spam
	program interface.
	(mh-junk-choice, mh-junk-function-alist, mh-junk-choose):
	Functions and variables that decide which junk program is used.
	(mh-junk-program, mh-junk-mail-folder): User customizable
	variables that control the choice of spam program and the action
	performed on received spam.

	* Makefile (MH-E-SRC): Add mh-junk.el.

2003-03-26  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-utils.el (mh-show-toggle-tick, mh-show-mode-map): New
	interactive function callable from the show buffer and a key
	binding for it.

	* mh-seq.el (mh-delete-seq): Remove highlight from tick sequence.
	(mh-put-msg-in-seq): Disable adding messages to tick sequence.
	(mh-widen): Reset mh-tick-seq-changed-when-narrowed-flag.
	(mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick)
	(mh-toggle-tick): New functions to highlight/unhighlight tick
	sequence and the interactive function that is used to toggle
	tick.

	* mh-e.el (mh-tick-seq-changed-when-narrowed-flag): New variable
	that remembers if we are narrowed to the tick sequence. In that
	case the highlighting isn't shown, since it adds no extra info.
	(mh-folder-mode): Initialize mh-tick-seq-changed-when-narrowed-flag.
	(mh-notate-user-sequences): Notate the tick sequence.
	(mh-internal-seq): Treat mh-tick-seq like an internal sequence.
	(mh-delete-msg-from-seq): Don't allow deletion from tick sequence.
	(mh-folder-mode-map): Add key binding for "'"

	* mh-customize.el (mh-tick-seq, mh-folder-tick-face): New
	customizable variables that contain the name of the tick sequence
	and the face to use to highlight it.

2003-03-25  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-seq.el (mh-thread-print-scan-lines): New function which
	prints out thread tree. It maintains the original folder info if
	the folder was created by index search (closes SF #709672).
	(mh-copy-seq-to-eob, mh-thread-inc, mh-thread-folder): Use
	factored out function mh-thread-print-scan-lines.
	(mh-toggle-threads): Since threading is allowed in index folders
	there can be lines in the folder which aren't valid message scan
	lines. So it is OK for mh-get-msg-num to fail once in a while.

	* mh-index.el (mh-index-update-maps): Make the parsing of messages
	that need to be annotated with the X-MHE-Checksum header more robust.
	If the search yielded no results then an error was being produced.
	(mh-index-search): Enable automatic threading of index folders if
	mh-show-threads-flag is non-nil (closes SF #709667).
	(mh-index-next-folder): Relax error checking since index folder
	can be threaded while the source folder info is visible.
	(mh-index-group-by-folder): New function that is used in
	mh-thread-folder to keep source folder info visible during
	threading.

2003-03-25  Bill Wohler  <wohler@newt.com>

	* mh-loaddefs.el: Regenerated.

	* mh-customize.el (mh-index-new-messages-folders): New variable
	that controls which folders "F n (mh-index-new-messages)"
	accesses. Was mh-flists-search-folders.

	* mh-index.el (mh-flists-search-folders): Still used internally,
	but users now use new option mh-index-new-messages-folders.
	Removed documentation since to avoid duplication with
	mh-index-new-messages-folders.
	(mh-flists-recursive-search-flag): Deleted. Use
	mh-recursive-folders-flag instead.
	(mh-flists-execute): Updated docs to specify which global
	variables are used. Use mh-recursive-folders-flag instead of
	mh-flists-recursive-search-flag.
	(mh-index-new-messages): Edited doc, and refer to new option
	mh-index-new-messages-folders. Ditto within code. Don't need to
	prepend + to folder name as flists does that for us. Use

2003-03-24  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-refile-msg): Add optional argument that controls
	whether mh-last-destination-folder is updated or not.

2003-03-22  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-customize.el (mh-tool-bar-define): Fix a problem in the
	XEmacs version which caused the show mode toolbar to have the
	buttons in the reverse order. Also the add-hooks are no longer
	needed since mh-toolbar-init is called in the appropriate modes.

	* mh-comp.el (mh-letter-mode): Call mh-toolbar-init in XEmacs to
	initialize toolbar.

	* mh-utils.el (mh-show-mode): Same as above.

	* mh-e.el (mh-folder-mode): Same as above.

2003-03-21  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-exec-cmd-env-daemon): New function which
	executes a command asynchronously with its own environment.

	* mh-comp.el (mh-redistribute): The function has been modified so
	that /bin/sh isn't used to run send. It has also been refactored
	so that the same code isn't repeated.

2003-03-21  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-invisible-header-fields): Added X-Bogosity
	for bogofilter.

2003-03-21  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-xemacs-toolbar.el: Remove the code since that gets generated
	when mh-tool-bar-define is expanded.
	(mh-xemacs-icon-map): A alist to map GNU Emacs icon names to the
	actual icons to be used in XEmacs. This is used in
	mh-tool-bar-define.

	* mh-customize.el (mh-toolbar): Use this group in XEmacs as well.
	(mh-tool-bar-item-*): All these constants have been removed since
	they aren't needed in the new scheme.
	(mh-tool-bar-reply-3-buttons-flag): This variable has been
	removed.
	(mh-tool-bar-search-function): This is now used in XEmacs as well.
	(mh-tool-bar-folder-set, mh-tool-bar-folder-buttons-set)
	(mh-tool-bar-letter-buttons-set, mh-tool-bar-show-set)
	(mh-tool-bar-letter-set): These functions aren't defined at the
	top level any more.
	(mh-tool-bar-reply-generator): A macro to generate the required
	functions for the three reply buttons.
	(mh-tool-bar-search, mh-tool-bar-customize)
	(mh-tool-bar-folder-help, mh-tool-bar-letter-help)
	(mh-tool-bar-reply-from, mh-show-tool-bar-reply-from)
	(mh-tool-bar-reply-to, mh-show-tool-bar-reply-to)
	(mh-tool-bar-reply-all, mh-show-tool-bar-reply-all): New
	interactive functions that are called when tool bar buttons are
	clicked.
	(mh-xemacs-use-toolbar-flag, mh-xemacs-toolbar-position):
	Additional customizable variables that are present only for
	XEmacs.
	(mh-tool-bar-define): A macro that generates the required code
	for GNU Emacs and XEmacs tool bar.
	(mh-tool-bar-define): Define the MH-E tool bar.

2003-03-17  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-notate-cur): Notate current message only if it
	hasn't been marked for deletion or refiling.

2003-03-15  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-invisible-header-fields): Added
	X-Spam-Checker-Version.
	(mh-auto-fields-list): checkdoc fix.

2003-03-12  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-new-messages): If the destination folder
	where the unseen messages are supposed to be copied to was
	already present, but MH-E doesn't have it open, then a new folder
	was being created. The change fixes this.
	(mh-index-update-unseen, mh-flists-recursive-search-flag): Fix
	checkdoc warnings.

	* mh-loaddefs.el: Regenerated.

2003-03-11  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-flists-results-folder): Subfolder under
	+mhe-index where the results of the flists call is put.
	(mh-index-generate-pretty-name): Make sure that normal index
	searching will never use the folder reserved for the flists
	results.
	(mh-index-search): Add an extra parameter that marks all the
	messages in the index folder to the unseen sequence.
	(mh-index-update-unseen): Function to keep unseen sequence of
	index folder synced with the actual folders from where the
	messages were copied. This works only if the unseen messages are
	displayed with mh-show. Killing the unseen sequence in the index
	folder or adding/removing messages to it doesn't change the
	unseen sequence in the source folders yet.
	(mh-flists-search-folders): Variable that decides the folders on
	which flists is run.
	(mh-flists-recursive-search-flag): If non-nil, flists is passed
	the -recurse option.
	(mh-flists-execute): Function which uses /bin/sh to execute
	flists and then print out the list of message files that match.
	(mh-index-new-messages): New interactive function which searches
	for messages in the unseen sequence (closes SF #701756).

	* mh-utils.el (mh-show-folder-map): Add binding for
	mh-index-new-messages.
	(mh-show-msg): Update the unseen sequence in the source folder.

	* mh-e.el (mh-folder-font-lock-unseen): The function assumes that
	the end of buffer is reached when there isn't a valid scan line
	on the current line. This doesn't work in the index folder since
	we have lines containing the folder name and empty lines in
	between the actual scan lines. The modification removes this
	assumption.
	(mh-folder-map): Add key binding for "Fn"

	* mh-seq.el (mh-iterate-on-messages-in-region): If the point is
	not at the beginning of the line, then the first message in the
	region would be missed. The fix avoids this.

	* mh-mime.el (mh-inline-vcard-p): Don't try to inline vcards if
	we don't have the right libraries.

2003-03-10  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-next-undeleted-msg, mh-previous-undeleted-msg)
	(mh-next-msg): Add optional argument wait-after-complaining-flag.
	If non-nil and there are no undeleted messages after (or before)
	the current one, then pause for a second after printing out the
	message.
	(mh-refile-or-write-again): Modify call to mh-next-msg to use the
	wait-after-complaining-flag.

2003-03-10  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-refile-or-write-again): If mh-next-msg fails to find
	a message to go to it prints out a diagnostic, which overwrites
	the diagnostic about the folder the message was refiled to. The
	change fixes this.

2003-03-09  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-widen, mh-narrow-to-seq): Update
	mh-narrowed-to-seq before notating sequences. This is a bit
	helpful for mh-tick.el.
	(mh-put-msg-in-seq): Fix a minor bug. No internal sequence should
	be notated -- the original code was doing the right thing only for
	the "unseen" sequence.

	* mh-index.el (mh-index-choose): Add autoload cookie for
	mh-index-choose. This is needed for GNU Emacs 20.5.

	* mh-loaddefs.el: Regenerated.

2003-03-09  Bill Wohler  <wohler@newt.com>

	* mh-mime.el (mh-display-smileys): This function originally had a
	test to see if font-lock-maximum-size was bound, but this was
	recently removed. The test was put in for a reason; if
	font-lock-maximum-size isn't bound, void-variable errors would
	ensue. I put the bound test back in.

2003-03-08  Steve Youngs  <youngs@xemacs.org>

	* mh-mime.el (mh-mime-security-button-map): Use 'mh-push-button'
	in XEmacs as well.

2003-03-07  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-xemacs-toolbar.el: Declare a whole bunch of stuff for GNU
	Emacs, so that we don't get so many compiler warnings. Also
	surround calls to set-specifier and toolbar-make-button-list with
	mh-funcall-if-exists. Maybe GNU Emacs shouldn't try to compile
	this file in the first place.

	* mh-xemacs-compat.el (mh-modeline-glyph): Declare it within
	mh-do-in-xemacs to avoid compiler warning in GNU Emacs.
	(mh-xemacs-push-button): Removed.

	* mh-mime.el (mh-mime-button-map): Use the generalized
	mh-push-button function.
	(mh-push-button): Enhance it so that it works on XEmacs too.

2003-03-08  Steve Youngs  <youngs@xemacs.org>

	* mh-xemacs-compat.el (mh-modeline-logo): New constant holding the
	modeline image.
	(mh-modeline-glyph): Use it.

2003-03-08  Steve Youngs  <youngs@xemacs.org>

	* mh-xemacs-toolbar.el: New file that defines and displays a
	toolbar in XEmacs.

	* mh-xemacs-compat.el (mh-xemacs-toolbar): Require it here.

	* Makefile (MH-E-SRC): Add mh-xemacs-toolbar.el.

	* mh-customize.el (mh-toolbar):
	(mh-tool-bar-letter-buttons):
	(mh-tool-bar-letter-buttons-set):
	(mh-tool-bar-folder-buttons):
	(mh-tool-bar-folder-buttons-set):
	(mh-tool-bar-search-function):
	(mh-tool-bar-reply-3-buttons-flag):
	(mh-tool-bar-item-inc):
	(mh-tool-bar-item-save-mime):
	(mh-tool-bar-item-prev-msg):
	(mh-tool-bar-item-page-msg):
	(mh-tool-bar-item-next-msg):
	(mh-tool-bar-item-delete):
	(mh-tool-bar-item-refile):
	(mh-tool-bar-item-undo):
	(mh-tool-bar-item-perform):
	(mh-tool-bar-item-toggle-show):
	(mh-tool-bar-item-reply-from):
	(mh-tool-bar-item-reply-to):
	(mh-tool-bar-item-reply-all):
	(mh-tool-bar-item-reply):
	(mh-tool-bar-item-alias):
	(mh-tool-bar-item-compose):
	(mh-tool-bar-item-rescan):
	(mh-tool-bar-item-repack):
	(mh-tool-bar-item-search):
	(mh-tool-bar-item-visit):
	(mh-tool-bar-item-prefs):
	(mh-tool-bar-item-help):
	(mh-tool-bar-item-widen):
	(mh-tool-bar-item-send):
	(mh-tool-bar-item-attach):
	(mh-tool-bar-item-spell):
	(mh-tool-bar-item-save):
	(mh-tool-bar-item-undo-op):
	(mh-tool-bar-item-kill):
	(mh-tool-bar-item-copy):
	(mh-tool-bar-item-paste):
	(mh-tool-bar-item-kill-draft):
	(mh-tool-bar-item-comp-prefs):
	The MH-E toolbar for XEmacs is defined differently from the
	GNU/Emacs version, so only define these if we're in GNU/Emacs.
	XEmacs doesn't need to see them and it's always good to cut down
	on pollution.

2003-03-08  Steve Youngs  <youngs@xemacs.org>

	* mh-mime.el (mh-mime-button-map): Bind the 2nd mouse button to
	`mh-xemacs-push-button' in XEmacs.
	(mh-mime-security-button-map): Ditto.

	* mh-xemacs-compat.el: Shush the byte-compiler.
	(mh-xemacs-push-button): New function to make MIME buttons work in
	XEmacs.

2003-03-08  Steve Youngs  <youngs@xemacs.org>

	* mh-mime.el (mh-display-emphasis): Don't test
	`font-lock-maximum-size' to see if it is bound, just test for a
	non-nil value.  This variable can have a nil value which makes it
	bound and dividing nil by 8 throws an error.
	This fixes a bug in MH-E under XEmacs when
	`font-lock-maximum-size' is nil that prevented article emphasis
	and smiley display which in turn was causing the "Flush changes in
	article x y/n" errors.
	(mh-display-smileys): Ditto.

2003-03-08  Steve Youngs  <youngs@xemacs.org>

	* mh-utils.el (mh-logo-display): Display logo in XEmacs as well.

	* mh-xemacs-compat.el (mh-modeline-glyph): New.  The MH-E modeline
	logo for XEmacs.

2003-03-06  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-allow-root-folder-flag): New global variable
	that decides if "+" is an acceptable folder name.
	(mh-folder-completion-function): Refine the test for existing
	folders to take mh-allow-root-folder-flag into account.
	(mh-folder-completing-read, mh-prompt-for-folder): Use the
	allow-root-folder-flag argument of mh-prompt-for-folder and add a
	similar argument to mh-folder-completing-read.
	(mh-exec-cmd-error): Make the function nicer by using
	process-environment to pass the environment variable assignments.

2003-03-05  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-push-button): Preserve point in the show buffer
	if the mouse is used to expand/contract a button.

	* mh-customize.el (mh-x-face-file): Mention X-Image-URL in
	documentation.

	* mh-comp.el (mh-insert-x-face): Modified to allow insertion of
	X-Image-URL header field.

2003-03-04  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-face-display-function): Modified to facilitate
	display of X-Image-URL images.
	(mh-find-path): Initialize X-Image-URL cache directory.
	(mh-x-image-url-cache-canonicalize, mh-x-image-url-fetch-image)
	(mh-x-image-scale-and-display, mh-x-image-url-display)
	(mh-x-image-display): New functions for X-Image-URL image display
	and cache management.

	* mh-customize.el (mh-show-use-xface-flag): Add info about
	requirements for X-Image-URL display.
	(mh-fetch-x-image-url): New customizable variable that controls
	fetching of X-Image-URL.

2003-03-04  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-make-local-hook): New macro which works around
	API changes in add-hook. Version of GNU Emacs before 21.1 and
	XEmacs require a call to make-local-hook and just the LOCAL
	argument of add-hook is not sufficient.
	(mh-show-mode): Make kill-buffer-hook buffer local.

	* mh-e.el (mh-folder-mode): Same as above.

	* mh-comp.el (mh-compose-and-send-mail): Same as above.

2003-03-02  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-push-button): Clicking on a MIME button used to
	cause the window with the show buffer to be selected. With this
	change the selected window doesn't change.

2003-03-01  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el (mh-speed-flists): Avoid a potential race condition.
	When flists is called manually, or when an unseen message is read,
	mh-speed-partial-line was not reinitialized.

	* mh-e.el (mh-visit-folder): If mh-visit-folder is used to visit
	the folder currently being visited (effectively doing a rescan)
	then mh-previous-window-config is erroneously set. The change
	fixes this.

	* mh-customize.el (mh-index-show-hook): Remove unused variable.

2003-02-28  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-scan-folder): Call mh-reset-threads-and-narrowing
	only after the user has replied to question. This avoids premature
	clearing of the folder.
	(mh-rescan-folder, mh-visit-folder): Remove calls to
	mh-reset-threads-and-narrowing since it is now called in
	mh-scan-folder anyway.

	* mh-funcs.el (mh-sort-folder): Same as above.

2003-02-26  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-alias.el (mh-alias-alist): Change initial value to a symbol,
	so that it is different from the empty list, which could also
	mean that there are no aliases.
	(mh-alias-reload-maybe): Change test so that empty alist of
	aliases is properly handled (closes SF #693859).

2003-02-25  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-decode-message-header): The message header could
	be encoded, for instance the author's name could contain
	characters not in ASCII. This function will decode such header
	fields.
	(mh-mm-inline-message): Use mh-decode-message-header.

	* mh-utils.el (mh-display-msg): Use mh-decode-message-header.
	(mh-message-number-width): Use mh-scan-prog instead of "scan".

	* mh-loaddefs.el: Regenerated.

2003-02-24  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-truncate-log-buffer): Refine it so that the
	function will do the right thing even if called from a buffer
	other than mh-log-buffer.

2003-02-22  Peter S Galbraith  <psg@debian.org>

	* mh-alias.el (mh-alias-add-alias): Really fix SF #690216.
	This functions needs to strip brackets on standalone addresses as
	well.

2003-02-21  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-xemacs-compat.el (replace-regexp-in-string): Remove the
	definition since it isn't used any more.

2003-02-20  Peter S Galbraith  <psg@debian.org>

	* mh-alias.el (mh-alias-which-file-has-alias): Bug fix.  Needed to
	specify `noerror' on search.

	* mh-alias.el (mh-alias-suggest-alias): Add condition for input
	string being an email address in brackets.  We need to strip out
	the brackets. (closes SF #690216)

2003-02-20  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-pick.el (mh-search-folder): The function was setting the
	global value of the variables mh-current-folder and
	mh-previous-window-config. This can lead to problems in code which
	assumes that these variables are nil when we aren't in a folder
	buffer. So make the variables local before setting them.

2003-02-19  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-mime-display): All the MIME display code has been
	wrapped in a condition-case so that if something goes wrong, the
	raw message will be displayed.

	* mh-funcs.el (mh-undo-folder): Comment out call to sit-for that
	seems unnecessary.

	* mh-e.el (mh-scan-folder): Messages marked for deletion or
	refiling weren't getting annotated properly. The change fixes
	this.
	(mh-process-or-undo-commands): Change prompt to reflect what
	really happens in the code.

2003-02-18  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el (mh-folder-expand-at-point): The function
	mail-abbrev-complete-alias often returns nil. This had the
	unfortunate consequence of always causing an error. The change
	fixes this.

	* mh-alias.el (mh-alias-canonicalize-suggestion): New function
	which obviates the our need replace-regexp-in-string.
	(mh-alias-suggest-alias): Use mh-alias-canonicalize-suggestion to
	eliminate calls to replace-regexp-in-string. This avoids problems
	in Emacs20.

	* mh-utils.el (mh-notate): Handle the case when nil is passed as
	notation gracefully.
	(mh-speed-flists-active-p): New function that returns non-nil if
	flists is being used in the speedbar to update message counts.

	* mh-seq.el (mh-put-msg-in-seq): Fix a bug which made it
	impossible to add messages to the unseen sequence. Also adding
	messages to the unseen sequence will now update the speedbar
	message counts immediately.

	* mh-e.el (mh-get-new-mail, mh-process-commands)
	(mh-undefine-sequence): Update speedbar message counts, if the
	speedbar is active and is displaying message counts.
	(mh-delete-msg-from-seq): In addition to updating message counts,
	unhighlight the message so that interactively removing messages
	from the unseen sequence makes the bold highlight of unseen
	messages in the scan buffer go away.
	(mh-clear-text-properties): New function that removes all text
	properties from the current scan line.

2003-02-15  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-face-display-function): Wrap call of
	insert-image in mh-funcall-if-exists. This avoids a compiler
	warning in Emacs20.

	* mh-speed.el (mh-speed-flists): Weaken test a bit to avoid
	compiler warning in Emacs20.
	(mh-speedbar-change-expand-button-char): Wrap call of
	speedbar-insert-image-button-maybe in mh-funcall-if-exists. This
	function isn't present in the speedbar that ships with Emacs20, so
	calling it there causes an error.

	* mh-seq.el (mh-msg-is-in-seq): Adjust loop call a bit to avoid
	compiler warning in XEmacs. The XEmacs compiler should be improved
	so that such spurious warnings from builtin macros are suppressed.

	* mh-index.el (mh-index-search): Same as above.

	* mh-e.el (tool-bar-mode): The declaration is needed for Emacs20
	too.

	* mh-comp.el (mailabbrev): Try loading it any way. Some day XEmacs
	will get it and then MH-E will just use it.
	(tool-bar-mode, tool-bar-map): These declarations are needed for
	Emacs20 too.
	(mh-mail-abbrev-make-syntax-table, mh-folder-expand-at-point):
	Remove mh-mail-abbrev-make-syntax-table since mh-funcall-if-exists
	can be used instead.

	* mh-alias.el (require): Avoid autoloading functions that may not
	be defined.
	(mh-read-address, mh-alias-letter-expand-alias): Rewrite using
	mh-funcall-if-exists.

2003-02-15  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-speed.el (mh-folder-speedbar-buttons, mh-speed-add-buttons)
	(mh-speed-toggle): Reuse markers instead of creating more of them.
	(mh-speed-flists-folder, mh-speed-flists): Add optional folder
	argument to mh-speed-flists so that message counts are updated
	only for that one folder.
	(mh-speed-parse-flists-output): If no change in counts then avoid
	consing.

	* mh-index.el (mh-index-execute): Rewritten to use a temporary
	buffer that is not left behind.

	* mh-funcs.el (mh-store-buffer): Use mh-log-buffer instead of the
	special purpose *Store Output* buffer.

2003-02-14  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-customize.el (mh-show-xface-face): Make it always be black
	foreground on a white background (the reverse of that can make
	some X-Face images look creepy).

	* mh-utils.el (mh-truncate-log-buffer): Modify the function to
	return the current size of mh-log-buffer. Also we are now a bit
	more careful in adding separators between consecutive messages.
	(mh-exec-cmd): Fix a bug where the the log buffer would be
	displayed even if no error happened in the current command but
	the log buffer had messages from a previous error.

	* mh-mime.el (mh-mime-save-parts): Use mh-log-buffer to show
	error messages.

	* mh-alias.el (mh-alias-local-users): Add a space between parens.

2003-02-14  Steve Youngs  <youngs@xemacs.org>

	* mh-utils.el (mh-face-display-function): Call
	`x-face-xmas-wl-display-x-face' using `mh-funcall-if-exists'.

	* mh-xemacs-compat.el (replace-regexp-in-string): New.

2003-02-13  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-log-buffer-lines): New variable that keeps
	track of the number of lines to keep in mh-log-buffer.
	(mh-truncate-log-buffer): New function that is used to make sure
	that the log buffer doesn't grow to unbounded size.
	(mh-exec-cmd, mh-exec-cmd-daemon, mh-handle-process-error): Use
	mh-truncate-log-buffer instead of erase-buffer to keep some
	number of previous log messages around (closes SF #685476).

2003-02-13  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (tool-bar-mode): Declare it in XEmacs.
	(mh-folder-mode): Use mh-funcall-if-exists to call hl-line-mode.

	* mh-utils.el (mh-funcall-if-exists): New macro that calls a
	function only if it exists.
	(mh-logo-display, mh-defun-show-buffer): Use mh-funcall-if-exists
	to call the functions find-image and deactivate-mark.

	* mh-mime.el (mh-mime-cleanup, mh-small-image-p)
	(mh-mm-display-part): Use mh-funcall-if-exists to call the
	functions image-size and remove-images.

	* mh-comp.el (tool-bar-map, tool-bar-mode): Declare the variables
	in XEmacs.
	(mh-folder-expand-at-point): Use mh-funcall-if-exists to call
	mail-abbrev-complete-alias if it exists.

	* mh-alias.el (mh-read-address): Use mh-funcall-if-exists for
	future extensibility.

2003-02-13  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-logo-display): The function find-image is
	present only in GNU Emacs.
	(mh-defun-show-buffer): The function deactivate-mark is present
	only in GNU Emacs.
	(default-enable-multibyte-characters): Declare it in XEmacs to
	avoid compiler warning.
	(mh-face-display-function): Avoid inserting space if there isn't
	any Face or X-Face header field to display.

	* mh-seq.el (mh-thread-last-ancestor): Move declaration of
	variable before its first use to silence XEmacs warning.

	* mh-mime.el (default-enable-multibyte-characters, dots, type):
	Declare these in XEmacs to remove compiler warnings in XEmacs.
	(mh-mime-cleanup, mh-mm-display-part): Call remove-images only in
	GNU Emacs.
	(mh-small-image-p): Call image-size only in GNU Emacs.

	* mh-index.el (mh-mairix-next-result): Fix a bug where a quote
	was missing.
	(mh-swish++-regexp-builder): Remove the unused binding meta.

	* mh-e.el (mh-folder-size): Pass on an extra value to remove
	XEmacs warning.
	(mh-folder-mode): Surround calls to hl-line-mode and
	tool-bar-mode with mh-do-in-gnu-emacs since these functions
	aren't present in XEmacs.

	* mh-customize.el (mh-tool-bar-show-set, mh-tool-bar-letter-set)
	(mh-tool-bar-folder-set): These functions call tool-bar-*
	functions which are present only in GNU Emacs. So surround them
	with mh-do-in-gnu-emacs.

	* mh-comp.el (mh-letter-mode, mh-folder-expand-at-point): Only
	call these functions in GNU Emacs.
	(mail-abbrevs): Declare it in XEmacs.

	* mh-alias.el (mh-read-address): Call completing-read-multiple
	only in GNU Emacs.
	(mail-abbrevs): Declare it in XEmacs.
	(mh-alias-add-alias-to-file): Remove unused code.

2003-02-14  Ville Skyttä  <scop@xemacs.org>

	* mh-comp.el: Add autoloaded auto-mode-alist association.

2003-02-13  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-face-display-function): Make the XEmacs part a
	little simpler.

2003-02-14  Steve Youngs  <youngs@xemacs.org>

	* mh-customize.el (mh-show-xface-face): XEmacs doesn't have the
	':inherit' keyword for defface, rewrite with sane defaults.

	* mh-utils.el (mh-face-display-function): Fix bug that was
	corrupting xface images when displayed with XEmacs' internal
	xface image support.  Also make XEmacs honour 'mh-show-xface-face'
	when using internal xface image support.

2003-02-12  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-modify-header-field): New function. To header
	FIELD add VALUE.  If OVERWRITE-FLAG is non-nil then the old value,
	if present, is discarded.  This is more flexible than before.
	(mh-insert-auto-fields): Use it.  This and the new function are a
	courtesy of Satyaki.  Thanks!

	* mh-customize.el (mh-auto-fields-list): Doc tweaks suggested by
	Bill.

2003-02-12  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el (mh-folder-expand-at-point): Tweak the error
	message. Completion in the Fcc header field is only supported in
	GNU Emacs 21.

2003-02-12  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-auto-fields-list): Reorder after
	`mh-identity-list' since it needs it to be defined.  Move to
	mh-identity customization group.

2003-02-11  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-insert-mail-followup-to-flag): Removed.
	Obsolete.
	(mh-insert-mail-followup-to-list): Removed.  Obsolete.  Use
	`mh-auto-fields-list' instead, which is a more general solution.
	(mh-auto-fields-list): New defcustom.  Alist of addresses for
	which header lines are automatically inserted.  Replaces
	`mh-insert-mail-followup-to-list'.

	* mh-comp.el (mh-insert-mail-followup-to): Removed.  Obsolete.
	(mh-insert-auto-fields): New function. Insert custom fields if To
	or Cc match `mh-auto-fields-list', replacing
	mh-insert-mail-followup-to with a more general solution.
	(mh-compose-and-send-mail): Call mh-insert-auto-fields instead of
	mh-insert-mail-followup-to.  Also don't call mh-insert-identity to
	insert default setting if mh-insert-auto-fields inserted an
	identity.

2003-02-11  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-show-xface-function): Try to load the external
	x-face library only if XEmacs doesn't have xface support.
	(mh-face-display-function): Renamed. Also handle various
	permutations of x-face and xface support in XEmacs better.

	* mh-customize.el (mh-show-use-xface-flag): Any emacs whose
	major version is greater than or equal to 21 supports display of
	X-Face and Face header fields.

2003-02-11  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-do-in-gnu-emacs, mh-do-in-xemacs): Macros that
	execute code only in GNU Emacs and XEmacs respectively.
	(mh-emacs21-face-display-function): Refactor to make it slightly
	nicer. Get rid of compiler warnings in GNU Emacs by using the
	above macros. Also check for presence of xface feature (in XEmacs
	specific code) before trying to display X-Face header field image.

2003-02-11  Steve Youngs  <youngs@xemacs.org>

	* mh-customize.el (mh-show-use-xface-flag): If using XEmacs and
	can't find the external x-face pkg still enable X-Face images if
	feature 'xface is present.
	Update the doc string.

	* mh-utils.el (mh-emacs21-face-display-function): Make it work in
	XEmacs.
	(mh-show-xface-function): If using XEmacs without xface support,
	use x-face.el pkg.  If using XEmacs with xface support, or Emacs
	21, use mh-emacs21-face-display-function.

2003-02-11  Mark D. Baushke  <mdb@gnu.org>

	* mh-customize.el (mh-invisible-header-fields): Add
	"X-Notes-Item:" which is generated by Lotus Notes Domino. See
	URL<http://www-12.lotus.com/ldd/doc/domino_notes/Rnext/help6_admin.nsf
	/f4b82fbb75e942a6852566ac0037f284/5eda03c647f879c285256c1d00396051
	?OpenDocument&Highlight=0,x-notes-item> for details on how Domino
	users may disable (restore the default) generation of these headers.

2003-02-10  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el (mh-folder-expand-at-point): Add function doc string
	and produce a nicer error message for Emacs versions that lack
	mail-abbrev-complete-alias.

	* mh-utils.el (mh-handle-process-error): Check doc fix.

	* mh-e.el (mh-folder-from-address): Same as above.

2003-02-10  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el: require mailabbrev, except in XEmacs.
	(mh-mail-abbrev-make-syntax-table): New defmacro to call
	mail-abbrev-make-syntax-table introduced in Emacs21.
	(mh-folder-expand-at-point): Handle nested folders.
	All of the above was written by Satyaki.  I just applied the patch
	and tested.

2003-02-09  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el: Fixes to keep the byte compiler happy.

	* mh-customize.el (mh-invisible-header-fields): Modified to
	remove space after ":" in header field names.

2003-02-09  Peter S Galbraith  <psg@mixed.dyndns.org>

	* mh-comp.el (mh-letter-complete): Add completion for fcc lines.
	(mh-folder-expand-at-point): Do completion at point for folder
	name.  Like `mh-alias-letter-expand-alias' for aliases, it doesn't
	work on XEmacs because it relies on `mail-abbrev-complete-alias'
	to do completion.  Maybe Steve could update XEmacs' mailabbrev.el?

2003-02-09  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-invisible-header-fields): Remove trailing
	space in "X-Face: " and "Face: " entries since those line often
	break there.

2003-02-08  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-emacs21-face-display-function): Use
	mh-show-xface-face to colorize X-Face image.

	* mh-customize.el (mh-invisible-header-fields): Add extra headers
	to ignore.
	(mh-show-xface-face): Allow customization of the X-Face colors.

2003-02-07  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-uncompface-executable, mh-uncompface): Remember
	the path of the uncompface executable so that we don't need to
	search for it every time.
	(mh-emacs21-face-display-function): If more than one X-Face (or
	Face) header field was present then the fields would get
	concatenated, leading to garbled output. The change only displays
	the first image.

	* mh-customize.el (mh-x-face-file): Change documentation since it
	can now be used to insert a Face header field.

	* mh-comp.el (mh-insert-x-face): Generalized to allow insertion
	of Face header field.

2003-02-06  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (mh-emacs21-face-display-function): Updated
	docstring. It is a common mistake to refer to a header field as a
	header. The term header refers to the entire header while the term
	header field refers to a single field.

	* mh-customize.el (mh-show-use-xface-flag): Ditto.

2003-02-06  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-show-xface-function): Modified to use
	mh-emacs21-face-display-function if we are running GNU Emacs 21.
	(mh-face-to-png): New function to convert a Face header to a png
	image.
	(mh-uncompface): New function which converts an X-Face header to
	a pbm image.
	(mh-icontopbm): New function that does the job of icontopbm.
	(mh-emacs21-face-display-function): New function that displays
	Face/X-Face image in GNU Emacs 21.
	(mh-show-xface): Modified to test if we are running in X.
	Otherwise face display is suppressed.

	* mh-customize.el (mh-show-use-xface-flag): Tweak it, now that
	MH-E supports face display natively on Emacs 21. Also remove the
	check for window-system since it doesn't belong in a customizable
	variable.

2003-02-06  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (sendmail): Require it so that XEmacs can find
	rfc822-goto-eoh.
	(mh-mail-header-end): A substitute for mail-header-end that
	doesn't widen the buffer. This is essential to avoid problems when
	dealing with nested messages.
	(mh-in-header-p, mh-letter-header-font-lock)
	(mh-header-field-font-lock, mh-show-font-lock-fontify-region)
	(mh-show-unquote-From): Use mh-mail-header-end instead of
	mail-header-end.

	* mh-mime.el (mh-decode-message-body): same as above (closes SF
	#681518).

	* mh-comp.el (mh-yank-cur-msg): same as above.

2003-02-05  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-display-msg): Call mh-show-mode before invisible
	headers are cleaned. This means that any surviving X-Face header
	can be removed unconditionally in mh-clean-msg-header.
	(mh-clean-msg-header): Since the function is now called with a
	read-only buffer, make the buffer temporarily writable.

	* mh-mime.el (mh-mm-inline-message): Do X-Face display before
	invisible headers are removed.

	* mh-customize.el (mh-invisible-headers): Simplified since the
	X-Face header isn't treated specially any more.
	(mh-invisible-header-fields): Add Face: and X-Face: to list of
	invisible headers.

	* mh-mime.el (mh-mime-display): If body is empty the headers would
	be treated like the body. The change fixes this (closes SF #681162).
	(mh-mime-display): This change really fixes the above problem.

2003-02-04  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-current-folder-name): Global variable that
	keeps track of current folder.
	(mh-normalize-folder-name): Substitute @ with
	mh-current-folder-name (closes SF #666774).
	(mh-prompt-for-folder): Bind mh-current-folder-name. Also
	invalidate cache if we are visiting a folder that wasn't found in
	the sub-folder cache. This is an indication that folders may have
	been created outside of MH-E and so the cache may be stale.

2003-02-03  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-decode-content-transfer-encoded-message): Removed.
	(mh-display-msg): Remove the use of the above function.
	(mh-normalize-folder-name): Leading "/" characters were being
	lost. The change fixes this (closes SF #676890).

	* mh-mime.el (mh-decode-message-body): New function, factored out
	from mh-mime-display and enhanced, to decode message based on
	charset and content-transfer-encoding. This eliminates the need
	for the external mimencode (closes SF #674857).
	(mh-mime-display): Use mh-decode-message-body.

	* mh-e.el (mh-header-display): Don't need the binding since the
	variable isn't present any more.
	(mh-inc-folder): Avoid calling mh-show if point is not on a valid
	scan line (closes SF #678115).

	* mh-customize.el
	(mh-decode-content-transfer-encoded-message-flag): Removed.

2003-02-03  Bill Wohler  <wohler@newt.com>

	* import-emacs: MH-E now has its own directory in Emacs.

	* mh-e.el (mh-version): Set to 7.2+cvs.

2003-02-03  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.2.

	* MH-E-NEWS, README: Updated for release 7.2.

	* mh-e.el (Version, mh-version): Updated for release 7.2.

2003-02-03  Bill Wohler  <wohler@newt.com>

	* Makefile (dist): mkdir needs to happen *before* files are
	copied.

	* MH-E-NEWS: Fixed some awkward verbiage.

2003-02-02  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-invisible-headers): Surround regexp-opt
	expression in parens to avoid problems viewing certain messages.

2003-01-30  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el (mh-speed-flists): Search for flists in mh-progs.
	The original was inadvertently searching for flists in the user's
	path.

2003-01-27  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-default-folder-must-exist-flag): Changed
	default to t according to the principle of least surprise.

2003-01-26  Bill Wohler  <wohler@newt.com>

	* mh-utils.el: Checkdoc fixes.

	* mh-pick.el (mh-do-search, mh-search-folder): Checkdoc fixes.

	* mh-loaddefs.el: Regenerated (lm-verify fixes).

	* mh-index.el (mh-mairix-next-result): Checkdoc fixes.

	* mh-alias.el: lm-verify fix.

	* Makefile (MH-E-SRC): Added ChangeLog, now that Emacs has a
	lisp/mh-e directory.
	(MH-E-ETC-ETC): Removed ChangeLog.
	(dist): Moved creation of mail directory next to copy of files
	into mail directory.
	(install-emacs): Copy $(MH-E-SRC) into new directory
	$(EMACS_HOME/lisp/mh-e.
	(MH-E-SRC): Moved ChangeLog into new variable MH-E-OTHERS and
	include MH-E-LOADDEFS there too.
	(mh-loaddefs.el): Added lines so that lm-verify passes.
	(dist, install-emacs): Use MH-E-OTHERS instead of MH-E-LOADDEFS.

2003-01-26  Jeffrey C Honig  <jch@honig.net>

	* mh-comp.el (mh-tidy-draft-buffer, mh-compose-and-send-mail):
	Rename mh-kill-draft-hook to mh-tidy-draft-buffer.

2003-01-25  Jeffrey C Honig  <jch@honig.net>

	* mh-utils.el (mh-exec-cmd, mh-exec-cmd-daemon)
	(mh-process-daemon): Use mh-log-buffer for the output of commands
	from mh-exec-cmd.

	* mh-utils.el (mh-temp-folders-buffer): Sequences and folders
	lose the -temp from their buffer names as they are interesting to
	the user.

	* mh-seq.el (mh-list-sequences): New name, mh-sequences-buffer as
	it is intended to be interesting to the user.

	* mh-funcs.el (mh-list-folders): New name, mh-folders-buffer as it
	is intended to be interesting to the user.

	* mh-comp.el (mh-check-whom, mh-compose-and-send-mail): Use
	mh-recipients-buffer constant.  Add a kill buffer hook to delete
	the recipients buffer when a draft buffer is killed.

2003-01-25  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-customize.el (mh-customize): New interactive argument
	deletes other windows.
	(mh-tool-bar-show-set, mh-tool-bar-letter-set)
	(mh-tool-bar-folder-set): Modified so that clicking the customize
	and help buttons deletes the other windows in the frame.

	* mh-mime.el (mh-mm-inline-message): Remove unused code.

	* mh-seq.el (mh-notate-deleted-and-refiled): Fix a small bug where
	the wrong notation was being used.
	(mh-toggle-threads): The function had a bug if you did the
	following starting from an unthreaded wide folder:
	  (1) Create a sequence with S p
	  (2) Narrow to new sequence with S n
	  (3) Thread narrowed folder with T t
	  (4) Kill sequence with S k
	  (5) Unthread narrowed folder with T t
	At this point we would have an empty folder. The change fixes
	this.
	(mh-toggle-threads): Fix documentation.

	* mh-customize.el (mh-invisible-header-fields): Add
	X-MHE-Checksum to invisible headers.

	* mh-comp.el (mh-insert-x-mailer): Slightly more informative
	X-Mailer header.

2003-01-24  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-header-display): Modified so that quoted-printable
	or base64 encoded messages are left untouched.

	* mh-utils.el (mh-decode-content-transfer-encoded-message): Munge
	the Content-Transfer-Encoding header so that the MIME decoding
	routines of Gnus doesn't get confused.
	(mh-display-msg): Use insert-file-contents-literally so that
	display will work for non-ascii.

	* mh-mime.el (mh-mime-display): Use charset info to decode
	message file (closes SF #655123).

2003-01-24  Bill Wohler  <wohler@newt.com>

	* mh-alias.el (mh-alias-add-alias-to-file): Removed period from
	error message and added parens around error function.

2003-01-24  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-customize.el (mh-decode-quoted-printable-flag): Removed.
	(mh-decode-content-transfer-encoded-message-flag): This replaces
	mh-decode-quoted-printable-flag.

	* mh-utils.el (mh-decode-content-transfer-encoded-message): New
	function which handles messages that are encoded as base64 or
	quoted-printable (closes SF #674190).
	(mh-decode-quoted-printable): Removed.
	(mh-display-msg): Use mh-decode-content-transfer-encoded-message
	instead of mh-decode-quoted-printable.

2003-01-23  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-generate-scan-lines): Fix a little bug
	that would occasionally cause angles ('<' and '>') to appear at
	root level.

2003-01-21  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-notate-cur): Enable overlay arrow display in text
	mode too.

	* mh-e.el (mh-folder-mode): Initialize overlay-arrow-string so
	that a '>' is displayed in text mode.

2003-01-20  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-scan-msg-overflow-regexp): Change the variable
	so that a space is always maintained in the beginning of the scan
	line.

	* mh-seq.el (mh-notate-seq, mh-notate-cur): Make the functions
	faster by cutting down on the use of mh-goto-msg.
	(mh-toggle-threads): Add call to mh-notate-cur, since inserting
	the folder names in a search results folder screws up the
	location of the overlay arrow.

	* mh-index.el (mh-index-delete-folder-headers): Position the
	point on a message line if possible.

	* mh-funcs.el (mh-copy-msg): Use the mh-iterate macro to make the
	function faster.

	* mh-e.el (mh-scan-folder): Reuse mh-notate-deleted-and-refiled.

	* mh-loaddefs.el: Regenerated.

	* mh-utils.el (mh-add-msgs-to-seq): Add a new parameter that
	suppresses the annotation of the sequence since it is
	inefficient.

	* mh-seq.el (mh-delete-seq): Speed up the part of the function
	that removes the sequence notation.
	(mh-put-msg-in-seq, mh-notate-deleted-and-refiled): Use
	mh-iterate-on-messages-in-region to make the function fasters when
	operating on regions. The key idea is to loop over the folder
	buffer exactly once and do all annotations. The existing algo
	would walk over the buffer multiple times thereby slowing things
	down.
	(mh-iterate-on-messages-in-region): Added an extra parameter which
	is bound to the message index as the loop is executed.
	(mh-region-to-msg-list, mh-thread-delete, mh-thread-refile): Use
	the new mh-iterate-on-messages-in-region macro.

	* mh-e.el (mh-delete-msg-no-motion, mh-refile-msg, mh-undo): Same
	as above.
	(mh-notate-user-sequences): Change algorithm to make notating of
	user sequences fast.

2003-01-19  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-logo.xpm: New image file that contains the MH-E logo.
	Change foreground color to the blue in the MH-E logo.

	* Makefile (MH-E-IMG): Add mh-logo.xpm to list of image files.

	* mh-utils.el (mh-show-buffer-mode-line-buffer-id): Adjust it to
	keep space in the beginning for the logo.
	(mh-logo-cache): New variable that caches the logo image file
	location.
	(mh-logo-display): Display the MH-E logo on the mode line.
	(mh-display-msg): Display logo in mh-show-mode.

	* mh-e.el (mh-make-folder-mode-line): Display logo in
	mh-folder-mode.

	* mh-comp.el (mh-compose-and-send-mail): Display logo in
	mh-letter-mode.

	* mh-loaddefs.el: Regenerated.

	* mh-seq.el (mh-iterate-on-messages-in-region): New macro to
	iterate on all messages in a region.
	(mh-region-to-msg-list): Simplified since it uses
	mh-iterate-on-messages-in-region now.

	* mh-e.el (mh-delete-msg, mh-refile-msg): Change interactive spec
	to pass the region that is to be deleted when appropriate.
	(mh-delete-msg-no-motion, mh-refile-msg, mh-undo): Operate on
	regions directly without creating the list of messages to be
	deleted/refiled.
	(mh-delete-a-msg, mh-refile-a-msg, mh-undo-msg): The msg
	parameter in these functions can now be nil. If so, the current
	message is deleted, refiled or undone respectively. Avoids the
	use of mh-goto-msg in this case and speeds up operations on
	regions quite a bit.

2003-01-19  Peter S Galbraith  <psg@debian.org>

	* mh-alias.el (mh-read-address): Bug Fix. In XEmacs and Emacs20,
	it would always prompt using "To: " instead of using the command
	argument (closes SF #670913).

2003-01-19  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-folder-completion-function): If there is a
	+foo/bar folder and the user types foo//bar then the completion
	function would say a match happened without showing the
	normalized folder name. This change fixes that.

2003-01-18  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-rmail): Modified so that new and unseen messages
	are shown (closes SF #667542).

2003-01-17  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-generate-pretty-name): Generate nicer
	names. In particular all '-' characters are removed.

2003-01-16  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-customize.el (mh-index-program): Documentation fix.

	* mh-loaddefs.el: Regenerated.

	* mh-customize.el (mh-index-program): Add choices for mairix and
	pick.

	* mh-index.el (mh-indexer-choices): Add search interfaces for
	mairix and pick.
	(mh-index-search): Add links for mairix and pick.
	(mh-index-pick-folder, mh-pick-binary): Variables needed to
	implement pick support.
	(mh-pick-execute-search, mh-pick-next-result): New functions to
	implement pick support.
	(mh-mairix-binary, mh-mairix-directory, mh-mairix-folder): New
	variables for mairix support.
	(mh-mairix-execute-search, mh-mairix-next-result)
	(mh-mairix-regexp-builder, mh-mairix-convert-to-sop*): New
	functions for mairix.

	* mh-funcs.el (mh-kill-folder): Move message to the end.

	* mh-e.el (mh-folder-mode): Make overlay-arrow-position and
	overlay-arrow-string local variables so that the arrow will
	remain even if some other folder is visited.
	(mh-remove-cur-notation, mh-remove-all-notation): The test isn't
	required any more since overlay-arrow-position is local.
	(mh-goto-cur-msg): Remove overlay arrow if current message
	doesn't exist.

	* mh-seq.el (mh-notate-cur): Don't need to set
	overlay-arrow-string any more since it is local and has been set
	at initialization.

2003-01-15  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el (mh-speed-current-folder): Keep track of current
	folder when flists is called.
	(mh-speed-flists, mh-speed-parse-flists-output): Try to avoid
	ambiguity when folders are present with + at the end of the name.
	Unfortunately it can't always be avoided.

	* mh-e.el (mh-folder-size): Remove the unnecessary error check.
	(mh-parse-flist-output-line): Add extra argument which
	occasionally avoid problems with folder names that end with '+'.

	* mh-utils.el (mh-sub-folders-actual): Fix the folder name
	parsing so that it doesn't get confused by trailing '+' chars in
	the folder name.

2003-01-14  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-normalize-folder-name): Enhanced so that it can
	now handle ".." and "." correctly during folder name completion.
	(mh-normalize-folder-name): Avoid error in boundary condition
	where the folder string is empty.

2003-01-14  Mark D. Baushke  <mdb@gnu.org>

	* mh-e.el (mh-visit-folder): Pass `current-prefix-arg' to
	the `mh-read-msg-range' function as the optional
	always-prompt-flag.

2003-01-14  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-normalize-folder-name): New function that
	normalizes folder names.
	(mh-sub-folders): Use mh-normalize-folder-name. Also the function
	has been modified so that a trailing slash is only added if the
	folder potentially has subfolders.
	(mh-sub-folders-actual): Simplified since the folder has already
	been normalized in mh-sub-folders.
	(mh-remove-from-sub-folders-cache): Modified so that the cached
	results of two of the folders ancestors are invalidated.
	(mh-folder-completion-map): Ugly hack to make the error go away
	when minibuffer-complete-word is called.
	(mh-folder-completion-function): The completion function will now
	be more selective in adding '/' at the end of completed folder
	names.
	(mh-folder-completing-read): The folder name is normalized before
	return. The minibuffer-local-completion-map is shadowed to avoid
	error with SPC (bound to minibuffer-complete-word). We really
	need a better solution.

2003-01-13  Bill Wohler  <wohler@newt.com>

	* mh-seq.el: Edited comment and docstring text to conform with RFC
	2822 terminology. Message-ID is the header field. It contains a
	message identifier.

2003-01-13  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-sub-folders): Add an argument that returns
	sub-folders with a / character appended at the end.
	(mh-folder-completion-function): Modify the function so that one
	tab is now sufficient to complete the folder name and add a
	trailing /.
	(mh-folder-completing-read): Remove the trailing / that the
	completion function now adds to the folder name. Also multiple /
	characters in the folder input are removed. So if the user inputs
	+foo///bar//baz///// then that will be converted to +foo/bar/baz.
	This will improve the performance of caching.

	* mh-seq.el (mh-notate-cur): Check that a valid current message
	exists before trying to notate (closes SF #667331).
	(mh-message-id-regexp): New variable to store regexp to recognize
	message-ids.
	(mh-thread-generate): Use mh-message-id-regexp to filter out non
	message-id's from the References: header.

2003-01-12  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-notate-cur): Disable overlay-arrow display if we
	aren't on a graphic display.

2003-01-11  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-notate-cur): New function to notate the current
	message. The marker in the fringe is updated too.
	(mh-narrow-to-seq, mh-widen, mh-thread-inc, mh-thread-folder): Use
	the specialized function mh-notate-cur instead of mh-notate-seq.

	* mh-e.el (mh-arrow-marker): New buffer local variable to store
	the position where the marker in the fringe is going to be
	displayed (closes SF #664824).
	(mh-folder-mode): Create a marker for the fringe.
	(mh-update-sequences, mh-get-new-mail, mh-goto-cur-msg): Call the
	specialized function mh-notate-cur instead of mh-notate-seq or
	mh-notate.
	(mh-remove-cur-notation, mh-remove-all-notation): Reset the
	overlay-arrow-position if needed.

	* mh-loaddefs.el: Regenerated.

2003-01-10  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-remove-from-sub-folders-cache): Modified so that
	creating nested folders doesn't produce inconsistent results.
	(mh-prompt-for-folder): Remove call of mh-folder-list-change-hook.

	* mh-funcs.el (mh-kill-folder): Don't ask for confirmation if
	called on a folder holding index search results. Also the now
	removed mh-folder-list-change-hook is called no more.

	* mh-customize.el (mh-auto-folder-collect-flag)
	(mh-folder-list-change-hook): Removed.

	* mh-loaddefs.el: Regenerated.

2003-01-10  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-default-folder-must-exist-flag): New
	variable to suppress suggested folder if the folder doesn't
	already exist (closes SF #657096).
	(mh-default-folder-list): New variable that
	holds mapping between an address and the desired folder for
	filing (closes SF #657096).
	(mh-default-folder-prefix, mh-default-folder-must-exist-flag): In
	docstring, refer to documentation for mh-prompt-for-refile-folder
	and mh-folder-from-address.
	(mh-highlight-citation-p, mh-compose-insertion)
	(mh-insert-mail-followup-to-list, mh-index-program)
	(mh-identity-default): Fixed case of tags.

	* mh-e.el (mh-folder-from-address): Use new variable
	mh-default-folder-must-exist-flag to return nil if this variable
	is t and the folder doesn't already exist. In addition, can now
	look up a default folder in the new variable
	mh-default-folder-list (closes SF #657096).
	(mh-prompt-for-refile-folder): In docstring, refer to
	documentation in mh-folder-from-address.

	* mh-index.el (mh-swish-execute-search): Changed \..* to \\..* in
	the FileRules filename in the sample config file. Otherwise, the
	users don't see the backslash at all, and no files are indexed!
	(closes SF #665888).

2003-01-10  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-folder): Get headers for exactly the
	messages that are present. If only messages 1-10 and 3800-3900
	are being shown then we will now scan exactly those messages and
	not the full range from 1-3900 as was being done earlier.
	(mh-toggle-threads): When converting from threaded to normal view
	only the messages present in the buffer are scanned. Earlier all
	messages from the minimum to the maximum would be scanned (closes
	SF #626117).

	* mh-pick.el (mh-search-folder): Fix typo.
	(mh-pick-do-search): Fix bug from cut and paste. Also set window
	config properly.

	* mh-utils.el (mh-prompt-for-folder): Add new argument to allow
	it to accept + as a folder name. This allows the user to search
	all folders when "Fs" is used.

	* mh-pick.el (mh-search-folder): Fix interactive spec of function.
	(mh-pick-do-search): Rewritten to call pick in one go. This will
	make adding pick as a default index search program easier. Also
	pick now accepts the same query syntax as the index search
	programs (closes SF #664816).
	(mh-next-pick-field): Removed.
	(mh-pick-parse-search-buffer): New function to parse the search
	buffer.
	(mh-pick-construct-regexp, mh-pick-regexp-builder): New function
	to produce a pick query from the parsed representation.

	* mh-index.el (mh-index-do-search): Refactor the search pattern
	parser into a new function and use that instead.

	* mh-loaddefs.el: Regenerated.

2003-01-10  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-loaddefs.el: Regenerated.

	* mh-utils.el (mh-remove-from-sub-folders-cache)
	(mh-prompt-for-folder): Replace mh-update-sub-folders-cache with
	mh-remove-from-sub-folders-cache.
	(mh-exec-cmd-daemon): Mention set-process-filter in documentation.

	* mh-pick.el (mh-searching-function): New buffer local variable
	that keeps track of the default searching function to be used.
	(mh-pick-mode): Make mh-searching-function buffer local.
	(mh-search-folder): Set mh-searching-function to use pick.
	(mh-search-folder, mh-pick-menu, mh-pick-mode-help-messages)
	(mh-pick-mode, mh-do-pick-search, mh-pick-do-search): Rename
	mh-do-pick-search to mh-pick-do-search. But keep
	mh-do-pick-search as a deprecated function.
	(mh-do-search): New interactive function that performs the
	default search.
	(mh-pick-mode-map): Update keymap.

	* mh-index.el (mh-index-search): Set mh-searching-function to do
	index search.
	(mh-index-new-folder): Replace mh-update-sub-folders-cache with
	mh-remover-from-sub-folders-cache.

	* mh-funcs.el (mh-kill-folder): Same as above.

	* mh-index.el (mh-index-evaluate, mh-swish++-regexp-builder):
	Checkdoc fixes.

	* mh-customize.el: Fixes to make byte compiler in CVS Emacs
	perfectly happy.

2003-01-09  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-folder-from-address): New function that proposes the
	name of a folder with an alias for the address in the current message.
	(mh-prompt-for-refile-folder): Use it (closes SF #657096).

	* mh-customize.el (mh-default-folder-prefix): New variable used by
	mh-folder-from-address.
	(mh-invisible-header-fields): Edited docstring.

	* mh-alias.el (mh-alias-address-to-alias): Added ;;;###mh-autoload
	cookie (used by mh-folder-from-address in mh-e.el). Edited text in
	comment.

	* mh-utils.el: Provided naming conventions for buffer and buffer
	variable names.
	(mh-temp-folders-buffer): Renamed buffer to " *mh-folders*".
	(mh-temp-sequences-buffer): Renamed buffer to " *mh-sequences*".
	(mh-info-buffer): Renamed from mh-temp-info-buffer.
	(mh-log-buffer): New buffer variable to hold name of "*MH-E Log*"
	buffer which is expected to be used for the output of MH commands.
	Perhaps we always create this buffer at initialization and append
	to it rather than erase it each time?

	* mh-e.el (mh-quit): Loop over all buffers and delete MH-E
	temporary and working buffers. As long as the buffer naming
	conventions are followed, new buffers will be automatically
	killed.
	(mh-version): Renamed mh-temp-info-buffer to mh-info-buffer.

	* mh-comp.el (mh-insert-x-mailer): Renamed mh-temp-info-buffer to
	mh-info-buffer.

2003-01-09  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-folder-size): If the user doesn't have a
	Unseen-Sequence definition in .mh_profile then an error was
	produced. This change fixes that.

	* mh-seq.el (mh-thread-generate): Replace the *mh-thread* buffer
	with a temporary buffer which is cleaned up when the function
	exits.

	* mh-e.el (mh-prompt-for-refile-folder): New function which
	refactors out the intelligent folder guessing code from
	mh-refile-msg.
	(mh-refile-msg): Use mh-prompt-for-refile-folder.

	* mh-seq.el (mh-thread-refile): Use mh-prompt-for-refile-folder to
	do the same intelligent destination folder guessing as
	mh-refile-msg (closes SF #664829).

	* mh-utils.el (mh-folder-list, mh-make-folder-list-process)
	(mh-folder-list-temp, mh-folder-list-partial-line)
	(mh-set-folder-list): Removed.
	(mh-sub-folders-cache, mh-sub-folders, mh-sub-folders-actual):
	Moved over from mh-speed.el to implement hierarchical completion.
	(mh-update-sub-folders-cache): Utility function called when
	new folders are created or folders are removed.
	(mh-folder-completion-function): New function is the folder name
	completion function used in completing-read.
	(mh-folder-completing-read): A thin wrapper function that is used
	instead of completing-read directly. In the future we might want
	to allow the user a customizable variable which will turn off
	folders based completion.
	(mh-prompt-for-folder): Use mh-folder-completing-read to read in
	the folder name with hierachical completion (closes SF #664821).

	* mh-speed.el (mh-speed-folders, mh-speed-folders-cache)
	(mh-speed-folders-actual): Moved to mh-utils.el as mh-sub-folders,
	mh-sub-folders-cache and mh-sub-folders-actual respectively.
	(mh-speed-invalidate-map, mh-speed-invalidate-map)
	(mh-speed-add-folder): Use the new names.

	* mh-funcs.el (mh-kill-folder): Remove code that used to update
	mh-folder-list which is no longer present. Instead
	mh-update-sub-folders-cache is called.

	* mh-index.el (mh-index-new-folder): Same as above.

2003-01-08  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-exec-cmd-daemon): An argument was added which
	controls what is done with the process output.

	* mh-funcs.el (mh-kill-folder): Use mh-previous-window-config to
	restore window configuration. Also the call to mh-exec-cmd-daemon
	only displays output if an error happened (closes SF #664828).
	(mh-rmf-daemon): Check rmf output and display it only if
	something went wrong.
	(mh-print-msg): Pass in nil argument to mh-exec-cmd-daemon.

	* mh-comp.el (mh-redistribute, mh-send-letter): Pass in nil
	argument to mh-exec-cmd-daemon so that the functions will behave
	as before.

	* mh-pick.el (mh-search-folder): The current window config is
	stored.
	(mh-make-pick-template): Make the message headers read-only.
	(mh-pick-mode-help-messages): Update help message.
	(mh-do-pick-search): Fix problem when buffer isn't showing any
	messages.
	(mh-next-pick-field): Use buffer-substring-no-properties is
	better.
	(mh-pick-mode-map): Add key bindings (partially addresses
	SF #664816)

	* mh-index.el (mh-indexer-choices): Add a new field for each
	index program choice. If it is non-nil then it is the name of a
	function that given a lisp expression to search for generates a
	pattern that is acceptable to the search program.
	(mh-index-regexp-builder): New variable that stores the function
	to be used to convert from the lisp expression syntax to
	something that the search program understands.
	(mh-index-generate-pretty-name): Generalized so that it can take
	a list of strings as input.
	(mh-index-search): Modified so that if the configured program has
	a corresponding regexp-builder then a search buffer like pick
	search is produced. Otherwise the previous behavior is maintained.
	(mh-index-do-search): New interactive function that takes the
	contents of the search buffer, generates an appropriate query and
	produces the search results buffer by calling mh-index-search.
	(mh-replace-string, mh-index-parse-search-regexp)
	(mh-index-add-implicit-ops, mh-index-evaluate): New functions
	which parses the infix search expression that the user enters. A
	parse tree from which queries for different search programs can
	be produced is produced.
	(mh-swish++-regexp-builder, mh-swish++-print-regexp): Takes the
	internal form of the query and produces input suitable for
	swish++.

	* mh-loaddefs.el: Regenerated.

2003-01-08  Bill Wohler  <wohler@newt.com>

	* Makefile (emacs-logs): New target for viewing CVS Emacs logs.
	Useful to see if an Emacs developer has changed MH-E.

	* MH-E-NEWS: Fixed case of MH-E in the "Changes" title.

	* mh-utils.el (mh-temp-info-buffer): New variable to hold name of
	buffer that contains version info.

	* mh-e.el (mh-version): Use mh-temp-info-buffer instead of
	mh-temp-buffer since version information was getting clobbered by
	the aliasing code before it could be seen (closes SF #664467).
	(mh-quit): Delete mh-temp-info-buffer.

	* mh-comp.el (mh-insert-x-mailer): Use mh-temp-info-buffer to find
	version info instead of mh-temp-buffer. You kind of need this
	patch to send mail.

2003-01-07  Bill Wohler  <wohler@newt.com>

	* mh-e.el (Version, mh-version): Set to 7.1+cvs.

2003-01-07  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.1.

	* MH-E-NEWS, README: Updated for release 7.1.

	* mh-e.el (Version, mh-version): Updated for release 7.1.

2003-01-07  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-auto-folder-collect-flag,
	mh-alias-system-aliases, mh-alias-insert-file): Edited docstrings.

	* Makefile (MH-E-IMG): Added alias.pbm and alias.xpm.

	* mh-alias.el (mh-alias-insert-file, mh-alias-add-alias): Fixed
	checkdoc warnings.

2003-01-07  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-search-from-end): New function that is used to
	replace our usage of the CL function search.
	(font-lock): The library is loaded to avoid compilation warning
	in CVS Emacs.

	* mh-speed.el (mh-speed-goto-folder, mh-speed-add-folder)
	(mh-speed-extract-folder-name, mh-speed-invalidate-map): Use
	mh-search-from-end instead of search.

	* mh-seq.el (mh-thread-remove-parent-link): Use loop instead of
	remove*.
	(mh-thread-process-in-reply-to): Use mh-search-from-end instead
	of search.

	* mh-index.el (mh-md5-parser): Fix name of function.
	(mh-index-update-single-msg, mh-index-update-maps): Avoid using
	destructuring-bind since Emacs-20.7 can't handle this particular
	usage.
	(mh-namazu-next-result): Use mh-search-from-end instead of
	search.

	* mh-e.el (recursive-load-depth-limit): Add a defvar since CVS
	emacs which doesn't have the variable defined causes a compiler
	warning.
	(mh-refile-a-msg): Rewritten to avoid using pushnew.
	(mh-undo-msg): Use loop instead of remove-if.

	* mh-comp.el (mh-show-buffer-message-number): Use
	mh-search-from-end instead of search.

2003-01-01  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-visit-folder): Modified so that if RANGE is nil then
	all messages are displayed. Documentation modified so that this is
	explicitly stated.
	(mh-visit-folder): Really fix it this time.

2003-01-01  Mark D Baushke  <mdb@gnu.org>

	* mh-alias.el (mh-alias-from-has-no-alias-p): Needs the
	mh-autoload comment or mh-customize may have problems finding the
	function.

	* mh-loaddefs.el: Regenerated.

2002-12-28  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-namazu-execute-search): Fix bug in documentation.

2002-12-28  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-letter-mode): Mention mh-compose-insertion
	variable in docstring, explain how to expand directives, and
	don't mention mh-mhn-compose-insertion which isn't used directly
	any more.
	(mh-send-letter): Mention that X-Mailer and X-Face are inserted
	automatically so that a user isn't tempted to do so himself in
	mh-before-send-letter-hook.
	(mh-insert-letter): Use "variable" prefix for mh-invisible-headers
	now that we have both a function and a variable. Clarified
	language a bit.

2002-12-26  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-show-xface-function): Only load x-face-e21 if
	the emacs is not XEmacs.

	* mh-index.el (mh-index-new-folder): The folder created should
	always be added to mh-folder-list. Otherwise folder name
	completion doesn't find the new folder created.

2002-12-24  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-customize.el (mh-clean-message-header-flag)
	(mh-visible-headers, mh-invisible-headers)
	(mh-invisible-header-fields-set): Reworded to satisfy checkdoc.

	* mh-loaddefs.el: Regenerated.

	* mh-e.el (mh-inc-folder, mh-visit-folder, mh-read-msg-range):
	Handle nil value of mh-large-folder properly.

	* mh-customize.el (mh-tool-bar-show-set, mh-tool-bar-letter-set)
	(mh-tool-bar-folder-set, mh-tool-bar-folder-buttons)
	(mh-invisible-headers, mh-invisible-header-fields-set): Checkdoc
	fixes.
	(mh-large-folder): Updated to allow for infinity. If
	mh-large-folder is nil then all folders are deemed small.

2002-12-23  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-inc-folder, mh-visit-folder): Emit a message if
	threading was suppressed because the number of messages exceed
	mh-large-folder.

2002-12-23  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-invisible-headers): Deleted.  Moved to
	mh-customize.el

	* mh-customize.el (mh-invisible-header-fields): New
	defcustom. Simple user interface to change mh-invisible-headers.
	(mh-invisible-header-fields-set): New function called when
	mh-invisible-header-fields is set.
	(mh-invisible-headers): New function.  Does the actual work of
	building the variable mh-invisible-headers from
	mh-invisible-header-fields.
	(mh-invisible-headers): defvar moved from mh-utils.el

2002-12-22  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el (mh-speed-folder-size): Removed. Something very
	similar appears as mh-folder-size.
	(mh-speed-view): Simplified since the range selection logic has
	been moved to mh-read-msg-range.
	(mh-speed-parse-flists-output-line): Moved to mh-e.el as
	mh-parse-flist-output-line.

	* mh-funcs.el (mh-pack-folder): Use the new mh-read-msg-range.

	* mh-e.el (mh-rescan-folder): Use the new mh-read-msg-range.
	(mh-parse-flist-output-line): Moved from mh-speed.el where this
	function was called mh-speed-parse-flists-output-line.
	(mh-folder-size): Renamed from mh-speed-folder-size. The function
	has been made more general and can be called from any buffer and
	not just the speedbar buffer.
	(mh-visit-folder): Use the new mh-read-msg-range (addresses SF
	#655891).
	(mh-read-msg-range): Rewritten.

2002-12-21  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-delete-subject-or-thread): New interactive
	function that intelligently deletes messages based on threading,
	if the folder is threaded, or on subject if folder isn't threaded.

	* mh-utils.el (mh-show-delete-subject-or-thread): New interactive
	function, callable from the show buffer, to intelligently delete
	messages based on threading info or subject.
	(mh-show-mode-map): Change binding of "k" to call
	mh-show-delete-subject-or-thread.

	* mh-e.el (mh-folder-mode-map): Change binding of "k" to call
	mh-delete-subject-or-thread.

	* mh-comp.el (mh-letter-mode-map): Add key binding for
	mh-insert-identity.

	* mh-loaddefs.el: Regenerated.

2002-12-21  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-tool-bar-letter-set): Bug fix.  The
	`tool-bar-add-item-from-menu' items were broken.  I can't use my
	constants there.

2002-12-21  Peter S Galbraith  <psg@debian.org>

	* mh-alias.el (mh-alias-insert-file): Bug fix.  I never checked
	that an AliasFile entry existed in .mh_profile.

2002-12-21  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-alias-insertion-location): New defustom.
	Specifies where new aliases are entered in alias files.

	* mh-alias.el (mh-alias-add-alias-to-file): Use it.

2002-12-21  Peter S Galbraith  <psg@debian.org>

	* mh-alias.el (mh-alias-add-alias-to-file): If ALIAS matches
	exactly, prompt to [i]nsert before old value or [a]ppend after it.
	(mh-alias-insert-file): Make sure we don't edit the passwd file.
	Add optional argument for alias; If ALIAS is specified and it
	already exists, try to return the file that contains it.
	(mh-alias-which-file-has-alias): New function. Return the name of
	writable file which defines ALIAS from list FILE-LIST.
	(mh-alias-add-alias): Remove prompts for case of alias already
	defined; done in mh-alias-add-alias-to-file.

2002-12-21  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el (mh-speed-folders-actual): Fix bug in parsing of
	folder names that have spaces in them. The original function would
	truncate the folder name at the first space.
	(mh-speed-flists): Add -sequence option to flists. This guards
	against the user specifying something other than the unseen
	sequence in his .mh_profile.
	(mh-speed-parse-flists-output-line): New function that parses a
	single line in the output of flists to find the folder name and
	the counts of unseesn and total messages.
	(mh-speed-parse-flists-output): Fix parsing bug which truncates
	the folder names at the first space.

	* mh-index.el (mh-index-generate-pretty-name): New function which
	generates a nicer name for the search results. It trims white
	space at the beginning and end and replaces white space with
	underscores within the search regexp.
	(mh-index-search): Use mh-index-generate-pretty-name.

	* mh-loaddefs.el: Regenerated.

2002-12-20  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-new-folder): Add new folder to
	mh-folder-list to enable name completion.
	(mh-glimpse-execute-search, mh-swish-execute-search)
	(mh-swish++-execute-search): Fix documentation.

	* mh-seq.el (mh-thread-generate): Fixed a stupid bug where the wrong
	folder could get 'scan'ed when generating the threaded view.

	* mh-index.el (mh-index-search): If optional prefix arg is given
	then the search in the current index buffer is redone.
	(mh-glimpse-execute-search, mh-swish-execute-search)
	(mh-namazu-execute-search): Documentation fixes.

	* mh-e.el (mh-index-previous-search): New buffer local variable
	stores parameters of search that created the buffer.
	(mh-folder-mode): Make mh-index-previous-search buffer local.
	(mh-visit-folder): Tweak the function so that only a single window
	with the folder buffer is shown if mh-showing-mode is nil.

	* mh-loaddefs.el: Regenerated.

2002-12-19  Peter S Galbraith  <psg@debian.org>

	* mh-alias.el (mh-alias-add-alias): Bug fix.

2002-12-19  Peter S Galbraith  <psg@debian.org>

	* mh-alias.el (mh-alias-add-alias): New interactive command. Add
	ALIAS for ADDRESS in personal alias file.
	(mh-alias-grab-from-field): New interactive command. Add ALIAS for
	ADDRESS in personal alias file.
	(mh-alias-add-address-under-point): New interactive
	command. Insert an alias for email address under point.
	(mh-alias-suggest-alias): New function. Suggest an alias for STRING.
	(mh-alias-insert-file): New function. Return the alias file to
	write a new entry in.
	(mh-alias-address-to-alias): New function. Return the ADDRESS
	alias if defined, or nil.
	(mh-alias-from-has-no-alias-p): New function. Return t is From has
	no current alias set.  Used as tool-bar button enable function.
	(mh-alias-add-alias-to-file): New function. Add ALIAS for ADDRESS
	in alias FILE without alias check or prompts.

	* alias.xpm, alias.pbm: New tool-bar icon for
	mh-alias-grab-from-field.

	* mh-e.el (mh-folder-line-matches-show-buffer-p): New function.
	Return t if the message under point in folder-mode is in the show
	buffer.

	* mh-utils.el (mh-goto-address-find-address-at-point): New
	function copied from goto-addr.el, which we don't want to
	force-load on users.  Find e-mail address around or before point.
	(mh-address-mail-regexp): New defvar.  A regular expression
	probably matching an e-mail address.

	* mh-customize.el (mh-alias-insert-file): New defcustom.
	Filename to use to store new MH-E aliases.
	(mh-tool-bar-folder-buttons): Enable mh-tool-bar-item-alias icon.

	* mh-comp.el (mh-extract-from-header-value): New function.
	Extract From: string from header.

2002-12-19  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-update-single-msg): New defvar controls
	max number of command line args.
	(mh-index-execute): New function which is to be used
	instead of xargs so that we don't give the shell too many command
	line args.
	(mh-index-update-maps): Use mh-index-execute instead of xargs.
	(mh-index-search): Remove unused code. Also the first message in
	folder buffer is made current.

2002-12-18  Peter S Galbraith  <psg@debian.org>

	* mh-loaddefs.el: Regenerated.

	* mh-comp.el (mh-letter-tool-bar-map): Moved to mh-customize.el

	* mh-e.el (mh-folder-tool-bar-map): Moved to mh-customize.el

	* mh-utils.el (mh-get-msg-num): autoloaded.
	(mh-show-tool-bar-map): Moved to mh-customize.el

	* mh-customize.el (mh-tool-bar-item-*): 33 new defconsts for
	tool-bar setup and customization.
	(mh-tool-bar-folder-buttons-set): New function to setup the
	tool-bar after customization.
	(mh-tool-bar-folder-buttons): New defcustom to specify which icons
	appears in the tool-bar.
	(mh-tool-bar-letter-buttons-set): New function to setup the
	tool-bar after customization.
	(mh-tool-bar-letter-buttons): New defcustom to specify which icons
	appears in the tool-bar.
	(mh-tool-bar-show-set): New function to setup mh-letter-tool-bar-map.
	(mh-tool-bar-letter-set): New function to setup
	mh-letter-tool-bar-map.

2002-12-18  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-folder-mode-map): Change entries for "\t", "\M-\t"
	and backtab to call mh-index-next-folder and
	mh-index-previous-folder as appropriate.

	* mh-index.el (mh-index-next-folder, mh-index-previous-folder):
	New interactive functions which jumps to search results of next
	and previous folders respectively.

	* mh-loaddefs.el: Regenerated.

	* mh-index.el (mh-index-delete-folder-headers): Arrange for
	mh-goto-cur-msg to just go to the current message.

	* mh-e.el (mh-visit-folder): Since mh-scan-folder erases the whole
	buffer anyway, we don't need to delete the folder headers. Also
	index-data is non-nil only when the buffer folder doesn't exist.
	So we need to call mh-make-folder.
	(mh-folder-mode): Fix bug in that mh-index-checksum-origin-map was
	not being made buffer local!

2002-12-17  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-visit-folder): Fix bug.

	* mh-index.el (mh-md5sum-buffer): Buffer from which md5sum is run.
	(mh-index-folder-first, mh-index-folder-last)
	(mh-index-original-msg-list): Convenience macros aren't needed
	anymore since the data structure has been changed.
	(mh-index-update-single-msg): New function to update maps that
	relate MD5 checksums to actual messages and vice-versa for a
	single message.
	(mh-index-update-maps): Do the above for all messages. If some
	messages don't have MD5 checksums, they are annotated with the
	result of md5sum.
	(mh-index-search): Updated for the new version of mh-index-data.
	(mh-msg-exists-p): New function to test a message exists.
	(mh-index-insert-folder-headers): Updated for new mh-index-data.
	(mh-index-delete-folder-headers): New function used to eliminate
	original folder names from the buffer and make it look like a
	plain folder buffer. This is used from mh-process-commands.
	(mh-index-visit-folder): Use new version of mh-index-data.
	(mh-index-match-checksum): New function which checks if the
	X-MHE-Checksum header of a message matches.
	(mh-index-execute-commands): New function that rmm's the original
	messages. Then after mh-execute-commands executes it will seem
	that the original messages were executed upon. This completes the
	fix of SF #623321.
	(mh-checksum-buffer): Renamed from mh-md5sum-buffer.
	(mh-checksum-cmd, mh-checksum-parser): New globals to allow
	different checksum programs to be used.
	(mh-checksum-choose): New functions to find a checksum program.
	(mh-openssl-parser, mh-md5sum-parser, mh-md5-parser): Functions to
	parse the output of md5, md5sum and openssl.
	(mh-index-update-maps): Use checksum parsing function.
	(mh-index-search): Set checksum choice. Add a call to recenter,
	otherwise the window point in the index buffer doesn't get set
	properly.

	* mh-funcs.el (mh-pack-folder, mh-sort-folder): Enable these
	functions in folders created by index search.

	* mh-e.el (mh-index-msg-checksum-map)
	(mh-index-checksum-origin-map): New buffer local variables that
	keep track of message checksums (used to implement
	refiling/deletion for folders created by index folders).
	(mh-last-msg): Make the function behave like mh-first-msg.
	(mh-visit-folder): Add new optional argument which initializes
	folders created by mh-index-search.
	(mh-folder-mode): Make the variables mh-index-msg-checksum-map and
	mh-index-checksum-origin-map buffer local.
	(mh-process-commands): Call mh-index-execute-commands when called
	from an index search buffer. This will reflect the changes being
	made in the search folder to the original folders.

	* mh-loaddefs.el: Regenerated.

2002-12-16  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-insert-folder-headers): Fix a bug which
	caused the folder buffer to be marked as modified after rescanning
	an index folder.

2002-12-15  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-visit-folder): The function should insert folder
	names if it is visiting a folder created by index search.

	* mh-index.el (mh-index-insert-folder-headers): The function now
	maintains the old value of buffer-modified-p and temporarily makes
	the buffer writable.

	* mh-utils.el (mh-show-index-visit-folder): New interactive
	function callable from show buffer that displays search results
	from one folder.
	(mh-show-mode-map): Key binding for "v".

	* mh-speed.el: Fix credits.
	(mh-index-folder-speedbar-buttons)
	(mh-index-show-speedbar-buttons)
	(mh-index-folder-speedbar-key-map)
	(mh-index-show-speedbar-key-map)
	(mh-index-folder-speedbar-menu-items)
	(mh-index-show-speedbar-menu-items): Removed since the modes
	mh-index-folder-mode and mh-index-show-mode no longer exist.
	(mh-speed-extract-folder-name): Remove the bits about
	mh-index-folder-mode and mh-index-show-mode.

	* mh-seq.el (mh-copy-seq-to-eob): Updated to work properly with
	index search results.
	(mh-region-to-msg-list): Skip over non-scan lines.
	(mh-thread-inc, mh-thread-add-spaces, mh-thread-folder): Skip
	non-scan lines when populating mh-thread-scan-line-map.
	(mh-thread-folder, mh-toggle-threads): Move the check for buffer
	modification from mh-thread-folder to mh-toggle-threads.
	(mh-toggle-threads): When returning to unthreaded view insert the
	folder names if called from a index folder.

	* mh-index.el: Fix credits and update commentary.
	(font-lock-defaults, mh-index-buffer, mh-index-show-buffer)
	(mh-index-ma-x-msg-index, mh-index-other-buffer)
	(mh-index-matches, mh-index-previous-window-configuration)
	(mh-index-current-msg, mh-index-folder-mode-keymap)
	(mh-index-button-map, mh-index-folder-mode-help-messages): Remove
	eliminated variables.
	(mh-index-folder): New variable sets the MH folder under which the
	index searches are stored.
	(mh-index-folder-first, mh-index-folder-last)
	(mh-index-original-msg-list): Convenience macros used to pull data
	elements out of a list. If needed setf can be used to change them
	as well.
	(mh-index-search): Rewritten to create real folders where all the
	normal folder operation. This partially fixes SF #623321 (refiles
	and deletes doesn't work on original messages).
	(mh-index-find-max-width, mh-index-search-again)
	(mh-index-insert-scan, mh-index-callback, mh-index-search)
	(mh-index-notate, mh-index-show, mh-index-header-display)
	(mh-index-next, mh-index-folder-mode, mh-index-show-mode):
	Functions, macros and modes removed.
	(mh-folder-exists-p): New function to check if a folder exists.
	(mh-index-new-folder): Generate a new folder name from a given
	base string that mimics the way emacs generates buffer names.
	(mh-index-insert-folder-headers): Insert folder names among the
	search results.
	(mh-index-visit-folder): New interactive function to show the
	search results of one individual folder.
	(mh-swish++-execute-search): Update documentation.

	* mh-funcs.el (mh-pack-folder, mh-sort-folder): Disable these
	functions if index search results are being viewed.

	* mh-e.el (mh-folder-font-lock-keywords): Add highlight for
	folder.
	(mh-index-data): New buffer local variable that will be used to
	store info about index search results.
	(mh-rescan-folder): Implement rescanning for index search results.
	(mh-folder-mode): Make mh-index-data buffer local.
	(mh-remove-all-notation): Modified to take into account not all
	lines in the folder buffer are normal scan lines.
	(mh-folder-mode-map): Add key binding for "v" to jump to original
	folder narrowed to search results.

	* mh-customize.el (mh-index-folder-face): Make it bold so that it
	will look like before.

	* mh-loaddefs.el: Regenerated.

2002-12-12  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-map-to-seq-msgs): Modified so that it can be given
	a list of messages in addition to a sequence.
	(mh-region-to-sequence, mh-region-to-msg-list): The function
	mh-region-to-msg-list replaces mh-region-to-sequence. The new
	function avoids creating a dummy sequence in MH-E.
	(mh-thread-delete, mh-thread-refile, mh-put-msg-in-seq): Modified
	to use mh-region-to-msg-list.

	* mh-funcs.el (mh-copy-msg): Modified to use mh-region-to-msg-list.

	* mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Modified to use
	mh-region-to-msg-list.

	* mh-comp.el (mh-forward): Modified to use mh-region-to-msg-list.
	The buffer-local variable mail-header-separator is no longer
	bound. This fixes a bug where the default value of
	mail-header-separator gets used if mh-forward is called in a fresh
	emacs session.
	(mh-annotate-msg): Update this so that it will handle message
	lists too.
	(mh-insert-letter): Make the test stronger. Since %d is being used
	the argument better be an integer.

	* mh-loaddefs.el: Regenerated.

2002-12-11  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-funcs.el (mh-copy-msg): Add support for transient-mark-mode.
	If mark is active and transient-mark-mode is enabled then all the
	messages in the region are copied.

	* mh-seq.el (mh-list-sequences): Use mh-coalesce-msg-list to print
	messages in sequence nicely. The prompt for the folder is removed
	(the current folder is always used) and the output is made nicer
	by not overflowing the screen width.

	* mh-loaddefs.el: Regenerated.

2002-12-09  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el (mh-letter-complete): Checkdoc fix.

	* mh-seq.el (mh-thread-current-indentation-level): New function
	which returns the thread indentation level of current message.
	(mh-thread-next-sibling, mh-thread-previous-sibling): New
	interactive functions to jump to the next and previous siblings in
	thread tree respectively.
	(mh-thread-immediate-ancestor): New function to jump to ancestor
	of current message in thread tree.
	(mh-thread-ancestor): New interactive function to jump to
	immediate ancestor or to root message of current thread depending
	on optional argument.

	* mh-utils.el (mh-show-thread-ancestor)
	(mh-show-thread-next-sibling, mh-show-thread-previous-sibling):
	Interactive functions callable from the show buffer.
	(mh-show-thread-map): Bindings for Tu, Tp and Tn.

	* mh-e.el (mh-thread-map): Bindings for Tu, Tp and Tn.

	* mh-loaddefs.el: Regenerated.

2002-12-09  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-region-to-sequence): Change name of region
	sequence created to 'mhe-region. This avoids any chance of
	collision with actual MH sequences.
	(mh-put-msg-in-seq, mh-thread-delete, mh-thread-refile): Change
	name of region sequence used to 'mhe-region. Also delete the
	'mhe-region sequence when done.

	* mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Same as above.

	* mh-comp.el (mh-forward): Same as above.

	* mh-loaddefs.el: Regenerated.

2002-12-08  Bill Wohler  <wohler@newt.com>

	* mh-alias.el: Edited documentation. Broke up file into 2
	sections: Alias Loading and Alias Expansion. Made terminology
	consistent (replaced expand, substitute, and translate with
	expand).
	(mh-alias-reload): Brought message in line with coding conventions
	and made more concise too.
	(mh-alias-translate): Renamed to mh-alias-expand.
	(mh-alias-substitute-aliases-flag): Renamed to
	mh-alias-expand-aliases-flag.
	(mh-alias-reload-local-users): Renamed to mh-alias-local-users.
	Now just returns an alist of local users rather than have
	side-effects.
	(mh-alias-reload): Set timestamp at beginning of function to catch
	edge case when alias added just after ali runs. Changed logic to
	reflect return value of mh-alias-local-users.

	* mh-customize.el (mh-alias-substitute-aliases-flag): Renamed to
	mh-alias-expand-aliases-flag.
	(mh-alias-local-users): Fixed documentation.

	* mh-loaddefs.el: Regenerated

2002-12-08  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (require): Load Gnus at compile time so that the
	constant gnus-version is defined when MH-E is being compiled.
	(mh-macro-expansion-time-gnus-version, mh-run-time-gnus-version):
	Use the constant gnus-version instead of the function gnus-version
	to find out about gnus version information.
	(gnus-version): Remove the autoload since it is not needed any
	more.

2002-12-08  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-version): Moved compilation information in front of
	Emacs information. The idea is that you start at MH-E and move
	outwards. Show N/A if Gnus not compiled (be explicit). Matched
	coding style with other output statements. (Aside: not that
	efficiency matters here, but fewer calls to format have to be
	faster, right? ;-). Matched output style of old output to new
	statement--liked Satyaki's indentation better ;-).

2002-12-08  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (gnus-version): Autoload the function for use in
	mh-version.
	(mh-macro-expansion-time-gnus-version): New macro that finds the
	Gnus version at macro expansion time.
	(mh-run-time-gnus-version): New function to find the Gnus version
	at run time.
	(mh-version): Add information about Gnus versions available at
	compile time and run time.

2002-12-07  Peter S Galbraith  <psg@debian.org>

	* mh-alias.el (mh-alias-ali): Add optional argument.  if USER is
	t, then assume ALIAS is an address and call ali with option -user.

	* mh-alias.el (mh-alias-filenames): if ARG is t, appends list of
	files from `mh-alias-system-aliases' to output list obtained from
	mhparam output user list only.
	(mh-alias-tstamp): Use it.

2002-12-05  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-inline-vcard-p): A new function which decides if
	a vcard should be displayed inline.
	(mh-mime-display-single): Use mh-inline-vcard-p to display
	attached vcard as a signature if no other signature is present
	(this partially addresses SF #649216).

2002-12-05  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-send-letter): Edits docs for mh-mml-to-mime
	getting run if variable `mh-mml-compose-insert-flag' is set.
	(mh-get-header-field): use buffer-substring-no-properties instead
	of buffer-substring.

2002-12-04  Peter S Galbraith  <psg@debian.org>

	* mh-loaddefs.el: Regenerated.

	* mh-customize.el (mh-customize): Add ;;;###mh-autoload tag.

2002-12-04  Peter S Galbraith  <psg@debian.org>

	* mh-loaddefs.el: Regenerated.

	* mh-comp.el (mh-letter-complete): New command to do alias or word
	completion in letter-mode.
	(mh-letter-mode-map): Add \M-\t binding for mh-letter-complete.

	* mh-alias.el (mh-alias-letter-mode-expand-alias-hook): Obsolete.
	Replaced by mh-letter-complete command.
	(mh-alias-reload-maybe): New function to rebuild alias table if
	out of date.
	(mh-alias-letter-expand-alias): No longer interactive.  Use
	mh-letter-complete instead.

2002-12-04  Peter S Galbraith  <psg@debian.org>

	* mh-customize.el (mh-letter-complete-function): New defcustom.
	Function to call when completing outside of fields specified to
	aliases.

	* mh-alias.el (mh-alias-filenames):
	s/mh-mhparam-component/mh-profile-component/
	(mh-profile-component): Move to mh-utils.el and make interactive.
	(mh-read-address): Make it autoloaded.

	* mh-loaddefs.el: Regenerated.

	* mh-comp.el (mh-read-address): Removed.  Replaced by mh-alias
	version.

	* mh-utils.el (mh-profile-component): Moved from mh-alias.el.

2002-12-04  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-msg-is-in-seq): Formatting change.

	* mh-index.el (mh-index-insert-scan): Remove unused variable.

2002-12-04  Bill Wohler  <wohler@newt.com>

	* mh-loaddefs.el: Regenerated.

	* Makefile (MH-E-SRC): Moved mh-loaddefs.el into MH-E-LOADDEFS as
	this was causing a cycle.
	(MH-E-LOADDEFS): New variable to house mh-loaddefs.el.
	(emacs): Reintroduced autoloads.
	(autoloads): We're baaa-aack!
	(dist, install-emacs): Use MH-E-LOADDEFS.

	* mh-comp.el (mh-customize): Moved to mh-customize.el.

	* mh-customize.el (mh-customize): Moved here from mh-comp. Makes
	more sense, doesn't it?

	* mh-alias.el, mh-comp.el, mh-e.el, mh-index.el, mh-mime.el,
	mh-pick.el, mh-speed.el: Added mh-autoload cookie to all
	interactive functions.

2002-12-04  Satyaki Das  <satyaki@theforce.stanford.edu>

	* Makefile (world): Remove target.
	(mh-loaddefs.el): Add comment that only GNU Emacs can be used to
	regenerate mh-loaddefs.el.

	* mh-make.el: Removed.

2002-12-04  Mark D. Baushke  <mdb@gnu.org>

	* mh-e.el (recursive-load-depth-limit): Only modify the limit
	if it is an integer.

2002-12-04  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-header-field-beginning): New function. Move to
	the beginning of the current header field.

2002-12-04  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-make.el (mh-files): Read in the MH-E filenames from the
	environment variable where the Makefile puts it.
	(mh-generate-autoloads, step2): Simplified since we now have the
	complete file names.

	* Makefile (world): Pass the MH-E files into the script, so that
	the filenames don't need to be repeated in the script.

2002-12-04  Bill Wohler  <wohler@newt.com>

	* mh-loaddefs.el: New file. Check in automatically generated file
	and include in package for the benefit of those who don't want to
	or can't compile.

	* Makefile (MH-E-SRC): Added mh-loaddefs.el now that it is checked
	in and will be packaged.
	(emacs): Removed autoloads. Adding mh-loaddefs.el to MH-E-SRC is
	sufficient to build it.
	(compile): Depend on MH-E-SRC instead of MH-E-OBJ and pass $? into
	emacs so that Emacs is only invoked once to compile files. This
	speeds things up by a factor of 3. It would be nice to only pass
	those files that have been modified, but Emacs 21.4 will have
	batch-byte-compile-if-not-done which we might be able to copy into
	mh-make.el (or my proposed mh-e-dev.el which would be more
	general-purpose).
	(.SUFFIXES): Removed. Now that compile works directly on the
	sources, the implicit rule is obsolete.
	(autoloads): Deleted. See emacs change above.

2002-12-03  Bill Wohler  <wohler@newt.com>

	* Makefile (MH-E-SRC, emacs):

2002-12-03  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-make.el (mh-emacs): Make failing condition more strict.
	(mh-loaddefs-end): Remove redundant statement.

	* Makefile (world): A little typo. The bug didn't seem to make any
	difference though.

	* mh-make.el: New script that compiles MH-E.
	(mh-loaddefs-beginning, mh-loaddefs-end): Don't save the autoloads
	file in between. Only save at the end.
	(mh-emacs-generate-autoloads, mh-xemacs-generate-autoloads)
	(mh-generate-autoloads): Replace the separate functions in Emacs
	and XEmacs with one that works in both variants. This simplifies
	the script a lot.
	(mh-generate-autoloads): doc fix.

	* Makefile (world): New target which works for both GNU Emacs and
	XEmacs.

2002-12-03  Peter S Galbraith  <psg@debian.org>

	* mh-alias.el (mh-mhparam-component): Don't raise error if call to
	mhparam fails.

	* mh-alias.el (mh-alias-letter-expand-alias): Build alias table if
	not already available.

2002-12-03  Bill Wohler  <wohler@newt.com>

	* mh-customize.el (mh-show-threads-flag): Alphabetized.

2002-12-03  Jeffrey C Honig  <jch@honig.net>

	* Makefile: Moved .PHONY rule after all rule for compatibility
	with BSD/OS's old pmake.

2002-12-03  Mark D Baushke  <mdb@gnu.org>

	* mh-e.el (mh-get-new-mail): Simplify no-new-mail test.
	(mh-add-cur-notation): Remove unnecessary function.

2002-12-03  Peter S Galbraith  <psg@debian.org>

	* mh-identity.el (mh-identity-make-menu): Check if
	'mh-letter-mode-map' is bound, since this code also gets run when
	mh-customize.el is loaded at startup.

2002-12-03  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-customize.el (mh-show-threads-flag): New customizable
	variable which controls if new folders start of in threaded mode
	(closes SF #646794).

	* mh-e.el (mh-rescan-folder): Fix the function so that threading
	is preserved across rescans.
	(mh-visit-folder, mh-inc-folder): The folder is threaded if it was
	already threaded or if mh-show-threads-flag is non-nil and the
	number of scan lines is fewer than mh-large-folders (closes SF
	#646794).

2002-12-02  Mark D Baushke  <mdb@gnu.org>

	* mh-e.el (mh-add-cur-notation): New function to mark the
	current message with the mh-note-cur character.
	(mh-get-new-mail): Use mh-add-cur-notation to undo the work of
	mh-remove-cur-notation if there was no new mail (closes SF #647681).

	* mh-e.el (mh-set-cmd-note): Do not update the default mh-cmd-note
	value (closes SF #643701).

2002-12-02  Peter S Galbraith  <psg@debian.org>

	* mh-alias.el (mh-alias-reload): Renamed from mh-alias-learn-aliases.
	(mh-alias-load-local-users): Renamed from mh-alias-learn-local-users.
	(mh-alias-passwd-alist): New variable, holding aliases extracted
	from the passwd file.
	(mh-alias-tstamp): New variable storing the timestamp for alias
	list generation.
	(mh-read-address, mh-alias-reload, mh-alias-reload-local-users):
	Complete rewrite.
	(mh-alias-minibuffer-confirm-address): Use mh-alias-translate.
	(mh-alias-translate): New function.  Return translation for alias,
	checking if in blind or passwd list.
	(mh-alias-letter-expand-alias): Rewrite using
	mail-abbrev-complete-alias from mailabbrev.el.
	(mh-alias-expand-alias-map): New variable.
	(mh-alias-ali): New function. Return formatted string of
	translated ALIAS from ali.
	(mh-mhparam-component): New function. Return COMPONENT value from
	mhparam, or nil if unset.
	(mh-alias-filenames): New function. Provide list of alias
	filenames from mhparam, or nil if none are set.

	* mh-customize.el (mh-alias-display-blind-name-on-completion-flag):
	Obsoleted.
	(mh-alias-timestamp): Renamed to mh-alias-system-aliases.

2002-12-02  Bill Wohler  <wohler@newt.com>

	* Makefile (mh-loaddefs.el): Suppress creation of backup file.

2002-12-02  Mark D. Baushke  <mdb@gnu.org>

	* Makefile (mh-loaddefs.el): Simplify rule.

	* Makefile (clean): Remove mh-loaddefs.el* for good measure.
	($(MH-E-OBJ)): Depend on mh-loaddefs.el to compile these.
	(autoloads, mh-loaddefs.el): Revamp rules.
	(mh-loaddefs.el-tail, autoloads-gen): Remove rules.

	* mh-e.el (recursive-load-depth-limit): Do not try to
	bump the value unless the variable exists.

	* mh-e.el (recursive-load-depth-limit): Bump value of
	recursive-load-depth-limit to 50 to allow emacs 21.1 which
	normally has a default value of 10 to be able to compile MH-E.

2002-12-02  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-funcs.el (mh-pack-folder, mh-sort-folder): Fix the functions
	so that threading is preserved (needed for SF #646794).

	* mh-identity.el (mh-identity-signature-start)
	(mh-identity-signature-end): Checkdoc fixes.

	* mh-e.el (mh-previous-unread-msg, mh-next-unread-msg): Checkdoc
	fixes.

2002-12-01  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-identity.el (compile): Make mh-identity.el compile without
	warnings.

	* mh-e.el (mh-previous-unread-msg, mh-next-unread-msg): New
	interactive functions that go to next and previous unread
	messages (closes SF #630328).
	(mh-folder-mode-map): Add key bindings for M-n and M-p to
	mh-folder-mode-map.

	* mh-utils.el (mh-show-next-unread-msg)
	(mh-show-previous-unread-msg): New interactive functions that go
	to the next and previous unread messages respectively. These are
	callable from the show buffer.
	(mh-show-mode-map): Add key bindings for M-n and M-p to
	mh-show-mode-map.

2002-12-01  Bill Wohler  <wohler@newt.com>

	* mh-mime.el (mh-defun-compat): Make it indent like a defun.

	* mh-index.el (mh-defun-index): Make it indent like a defun.

	* mh-customize.el: New file (closes SF #643722).

	* Makefile (MH-E-SRC): Added mh-customize.el (closes SF #643722).

	* mh-speed.el, mh-pick.el, mh-mime.el, mh-index.el, mh-e.el,
	mh-comp.el: Moved all defgroups, defcustoms, and deffaces to
	mh-customize.el (closes SF #643722).

	* mh-utils.el (mh-xemacs-flag): Moved here from below since
	needed by mh-customize.el.
	(mh-customize): Required. mh-invisible-headers)
	(mh-bury-show-buffer-flag, mhl-formfile):
	Moved all defgroups, defcustoms, and deffaces to mh-customize.el
	(closes SF #643722) .

	* mh-identity.el (mh-comp-loaded): New variable in a desperate
	attempt to prevent an infinite loop.
	(eval-when-compile): Was able to remove these defvars as they are
	now predefined in mh-loaddefs and mh-customize.
	(mh-identity-list-set): Added ;;;###mh-autoload cookie.
	Moved all defgroups, defcustoms, and deffaces to mh-customize.el
	(closes SF #643722).

	* mh-alias.el (mh-e): Require this, as it needs defcustoms, which
	is in mh-customize which is required by mh-utils which is required
	by mh-e.
	Moved all defgroups, defcustoms, and deffaces to mh-customize.el
	(closes SF #643722).

2002-11-30  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-thread-map): Add key bindings "Td" and "To" (closes
	SF #630493).
	(mh-help-messages): Update help message for prefix map.
	(mh-help-messages): Doc fix.
	(mh-help-messages): Really fix it.

	* mh-utils.el (mh-show-thread-delete, mh-show-thread-refile): New
	interactive functions corresponding to mh-thread-delete and
	mh-thread-refile callable from the show buffer.
	(mh-show-thread-map): Add key bindings for "Td" "To".

	* mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-rename-seq)
	(mh-narrow-to-subject, mh-delete-subject, mh-toggle-threads): Add
	mh-autoload cookies.
	(mh-thread-find-children): New function which finds the region
	containing all children of a message.
	(mh-thread-delete): New interactive function that marks for
	deletion the current message and its children.
	(mh-thread-refile): New interactive function that marks for
	refiling the current message and its children.

2002-11-30  Bill Wohler  <wohler@newt.com>

	* mh-funcs.el, mh-identity.el, mh-index.el, mh-pick.el, mh-seq.el:
	Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
	Added ;;;###mh-autoload tag to selected functions so that
	autoloads for those functions can be automatically created in
	mh-loaddefs.el (closes half of SF #643722).

	* mh-mime.el (mh-buffer-data): Moved to mh-utils where it is used.
	Added ;;;###mh-autoload tag to selected functions so that
	autoloads for those functions can be automatically created in
	mh-loaddefs.el (closes half of SF #643722)..

	* mh-utils.el (mh-loaddefs): Added require.
	(mh-buffer-data): Moved here from mh-mime.el as it is used in
	mh-display-msg.
	(mh-set-cmd-note): Moved to mh-e.el.
	Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
	Added ;;;###mh-autoload tag to selected functions so that
	autoloads for those functions can be automatically created in
	mh-loaddefs.el (closes half of SF #643722)..

	* mh-e.el (mh-set-cmd-note): Moved here from mh-utils.el since it
	uses mh-scan-format-file which is defined here.
	Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
	Added ;;;###mh-autoload tag to selected functions so that
	autoloads for those functions can be automatically created in
	mh-loaddefs.el (closes half of SF #643722)..

	* mh-comp.el, mh-speed.el (mh-utils): Removed require. mh-utils is
	provided via mh-e.el.
	Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
	Added ;;;###mh-autoload tag to selected functions so that
	autoloads for those functions can be automatically created in
	mh-loaddefs.el (closes half of SF #643722)..

	* Makefile (emacs): Add dependency on autoloads.
	(clean): Remove mh-loaddefs.el too.
	(autoloads): New target. Builds mh-loaddefs.el.
	(mh-loaddefs.el): New target. Initializes mh-loaddefs.el.
	(mh-loaddefs.el-tail): New target. Appends to mh-loaddefs.el.
	(autoloads-gen): Runs batch-update-autoloads to populate
	mh-loaddefs.el (closes half of SF #643722)..
	(auto-autoloads.elc): Renamed from autoloads to be explicit about
	file that's created.
	(custom-load.elc): Ditto.

2002-11-30  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-last-ancestor): New variable which keeps
	track of oldest ancestor of last message. If due to narrowing the
	common ancestor of two messages is lost then one of them is
	promoted to be the parent of the other. This variable helps in
	this process.
	(mh-thread-generate-scan-lines): Group messages which belong to
	the same thread tree, even if a common ancestor is no longer
	present.
	(mh-thread-folder, mh-copy-seq-to-eob, mh-thread-inc): Bind
	mh-thread-last-ancestor to nil when calling
	mh-thread-generate-scan-lines.

	* mh-mime.el (font-lock): Font-lock required at compile time to
	avoid warning about font-lock-maximum-size.
	(mh-display-smileys, mh-display-emphasis): Show graphical smileys
	and emphasis only if message isn't too large.

	* mh-e.el (mh-visit-folder): Revisiting a buried folder which has
	been threaded or narrowed confuses MH-E. Even though the folder is
	displayed as not threaded and not narrowed, MH-E still believes
	the folder is in the previous state. This can cause problems when
	trying to narrow/thread the folder. The change fixes this.

	* mh-mime.el (mh-mime-display-alternative): The setting of
	mh-display-buttons-for-inline-parts-flag was not being used when
	displaying one of the alternatives. This change fixes that.

	* mh-comp.el (mh-show-buffer-message-number): Replace subseq with
	substring.
	(mh-filter-out-non-text): When filtering out MIME buttons from
	yanked text, the last line of the MIME part was getting lost. The
	fix avoids that and removes only the last new line instead.

2002-11-29  Peter S Galbraith  <psg@debian.org>

	* Makefile (MH-E-SRC): Add mh-alias.

	* mh-alias.el: Assign copyright to FSF instead of myself.
	(mh-read-address): Add support for emacs-21's
	completing-read-multiple to prompt for multiple entries.
	(mh-alias-PC-complete-address): Deleted.
	(mh-alias-learn-aliases): Use mh-exec-cmd-quiet instead of old kludge.
	(mh-alias-letter-mode-expand-alias-hook): Simplify.
	(mh-alias-hostname): Deleted.
	(mh-alias-substitute-aliases-flag): Change default to nil.
	(mh-alias-display-blind-name-on-completion-flag) Change default to
	nil.
	(mh-alias-alist): Now holds alias values.
	(mh-alias-lowercase-alist): Deleted.
	(mh-alias-minibuffer-confirm-address, mh-alias-learn-aliases)
	(mh-alias-learn-local-users, mh-alias-letter-expand-alias): Use
	new mh-alias-alist instead of old mh-alias-lowercase-alist.

	* mh-alias.el: Moved from contrib/ directory.  Now part of MH-E!

	* Makefile (MH-E-SRC): Add mh-identity.

	* mh-identity.el (mh-compose-and-send-mail, mh-insert-identity)
	(mh-identity-make-menu, mh-identity-default, mh-identity-menu):
	Moved to mh-comp.el.

	* mh-comp.el (mh-compose-and-send-mail): Add mh-identity support.
	(mh-insert-identity, mh-identity-make-menu, mh-identity-default)
	(mh-identity-menu): Added from mh-identity.el

2002-11-29  Bill Wohler  <wohler@newt.com>

	* mh-comp.el, mh-e.el, mh-funcs.el, mh-identity.el, mh-index.el,
	mh-mime.el, mh-pick.el, mh-seq.el, mh-speed.el, mh-utils.el:
	Ran indent-region, reformatted long lines, ran untabify.
	(indent-tabs-mode): Set file local variable to nil.

2002-11-29  Bill Wohler  <wohler@newt.com>

	Released MH-E version 7.0.

	* mh-e.el (Version, mh-version): Updated for release 7.0.

	* mh-comp.el (subseq, search): Require cl instead of autoloading
	these due to compilation warnings in CVS Emacs.

2002-11-23  Bill Wohler  <wohler@newt.com>

	* MH-E-NEWS: Emphasize the renaming of the variables at the top of
	the notes.

2002-11-22  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-show-mode-map): Remove binding for RET since it
	is not needed and the binding is more useful to toggle display of
	MIME parts.

	* mh-mime.el (mh-mime-button-commands): Remove bindings for "i"
	and "o" from MIME buttons.
	(mh-insert-mime-button): Change comment to reflect change in
	button key map.

2002-11-21  Bill Wohler  <wohler@newt.com>

	Released MH-E version 6.1.91.

	* mh-e.el (Version, mh-version): Updated for release 6.1.91.

	* MH-E-NEWS: Inline HTML parts supported with Gnus 5.10, not 5.9.

2002-11-21  Mark D. Baushke  <mdb@gnu.org>

	* mh-comp.el (mh-letter-insert-signature-hook): This should be in
	customize-group mh-compose.

2002-11-21  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (load): Load mm-view.el here so that
	mm-inline-text-html would be defined if available.
	(mh-mm-inline-media-tests): If mm-inline-text-html is available
	then use it, otherwise fall back on using mm-inline-text (closes
	SF #641482).

	* mh-mime.el (load): Remove the load of mm-view here since it
	happens in mh-utils.el now.

2002-11-15  Bill Wohler  <wohler@newt.com>

	Released MH-E version 6.1.90.

	* README (Compile): New section. Users must now compile MH-E due
	to the vagaries of the various versions of gnus.

	* Makefile (MH-E-IMG): Added reply-all.pbm, reply-all.xpm,
	reply-from.pbm, reply-from.xpm, reply-to.pbm, reply-to.xpm.
	(MH-E-ETC-ETC): Added Makefile and README.
	(dist): Depend on all, so clean happens. Don't add .elc files to
	tarball as they are built upon installation now.

2002-11-15  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-process-commands): Fix a bug in mh-execute-commands.
	If called in threaded mode, cur was always getting set to the last
	message in the folder.

2002-11-14  Bill Wohler  <wohler@newt.com>

	* mh-e.el (Version, mh-version): Updated for release 6.1.90.

	* MH-E-NEWS, README: Updated for release 7.0.

	* mh-utils.el (mh-index-search): Added full docstring which new
	users will need before they run a search!
	(mh-swish++-execute-search, mh-swish-execute-search,
	mh-namazu-execute-search mh-glimpse-execute-search): Added
	autoloads with full docstrings for the same reason!

	* mh-e.el (mh-limit-map): Removed / / alias for
	mh-narrow-to-subject.

	* mh-utils.el (mh-show-thread-map): Removed / / alias for
	mh-show-narrow-to-subject.

	* mh-seq.el (mh-delete-subject): Checkdoc fix.

	* mh-e.el (mh-help-messages): Added / prefix character to help
	string. Tweaked / helpstring a little.

2002-11-14  Mark D. Baushke  <mdb@gnu.org>

	* mh-utils.el (mh-set-cmd-note): Fix nitpick by adding one to the
	width for cosmetic reasons.

2002-11-14  Peter S Galbraith  <psg@debian.org>

	* mh-identity.el (mh-insert-identity): Fix a few things undone by
	Jeff's patch.
	(mml-insert-tag): Add autoload.

2002-11-13  Mark D. Baushke  <mdb@gnu.org>

	* mh-identity.el (mh-insert-identity): A value of either nil or
	"" should cause the field to be removed.
	(mh-identity-list): Update the docstring.

2002-11-13  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-limit-map): New key map for limits (subject for now).
	* mh-utils.el (mh-show-limit-map): Same.

	* mh-seq.el (mh-delete-subject): Renamed from
	mh-delete-subject-sequence.
	(mh-narrow-to-subject): Renamed from mh-narrow-to-subject-sequence.
	(mh-next-unseen-subject-sequence): Removed. :-(
	* mh-e.el: Use 'em
	* mh-seq.el: Use 'em.

2002-11-13  Mark D. Baushke  <mdb@gnu.org>

	* mh-e.el (mh-alt-show): New defalias for mh-show.
	(mh-alt-refile-msg): New defalias for mh-refile-msg.
	(mh-alt-send): New defalias for mh-send.
	(mh-folder-mode-map): Use mh-alt-show, mh-alt-refile-msg and
	mh-alt-send for the alias bindings.
	(mh-alt-visit-folder): New defalias for mh-visit-folder.
	(mh-folder-map): Use it.
	(mh-folder-message-menu): Revert previous change.

2002-11-13  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-message-menu): Make key binding "o" appear in
	menu for mh-refile-msg.

2002-11-13  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-generate-scan-lines): In threaded view,
	scan lines of duplicate messages were too long. The change fixes
	that.

2002-11-13  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (mh-adaptive-cmd-note-flag): Improved grammar in
	docstring.

	* mh-speed.el (mh-speed-run-flists-flag): While documenting this
	variable in the release notes, I was unsure what would happen if
	set to nil. So, I clarified the docstring and indicated
	implications of setting this variable to nil, and offered manual
	workaround.

2002-11-13  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-quit): Fix documentation and run
	mh-before-quit-hook and mh-quit-hook.

2002-11-13  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (with-mh-folder-updating): Renamed local variable
	mh-save-modification-flag to save-modification-flag.

2002-11-12  Bill Wohler  <wohler@newt.com>

	* mh-index.el (mh-index-keymap): Renamed to
	mh-index-folder-mode-keymap to be a closer to the usual keymap
	naming convention. Since we want our own keymap and not inherit
	the one in mh-folder-mode, we need to use a suffix other than
	-map.

	* mh-e.el (mh-folder-sequence-menu): s/Msg/Message.
	s/Seq/Sequence.
	(mh-folder-message-menu): s/Msg/Message. Removed redundant refile
	item.
	(mh-folder-folder-menu): Aligned symbols.

	* mh-index.el (mh-index-folder-message-menu): s/Msg/Message.

	* mh-utils.el (mh-show-sequence-menu): s/Msg/Message.
	s/Seq/Sequence.
	(mh-show-message-menu): s/Msg/Message. Removed redundant refile
	item.
	(mh-show-folder-menu): Aligned symbols.

2002-11-12  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-matches, mh-index-current-match): Remove
	these variables since they were only used for glimpse and grep.
	Now the functionality of all the indexing programs will be
	uniform.
	(mh-index-search, mh-index-insert-scan, mh-defun-index)
	(mh-index-show): Simplify functions since matches are no longer
	shown.
	(mh-index-parse-match): Remove function.

	* mh-e.el (mh-scan-cmd-note-width, mh-scan-destination-width)
	(mh-scan-date-width, mh-scan-date-flag-width)
	(mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width): New
	variables to keep track of the widths of the different fields in
	the scan lines.
	(mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
	(mh-scan-field-subject-start-offset): Offsets that are computed
	from the scan line widths.

	* mh-seq.el (mh-copy-seq-to-eob, mh-thread-inc)
	(mh-thread-parse-scan-line): Use new variables that remember the
	various offsets in place of integer constants.
	(mh-thread-generate-scan-lines): Space shouldn't be added here!

2002-11-12  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-scan-format-mh, mh-scan-format-nmh): Noted that the
	first column is column number 0 and changed "sixth column" to
	"fifth column" accordingly.

	* mh-index.el (mh-index-folder-mode): Clarified method of replying
	in mode documentation.
	(mh-index-folder-tool-bar-map): s/mh-e/MH-E/.

	* mh-e.el (mh-generate-new-cmd-note): Try not to mention internal
	variable mh-cmd-note in docstrings.

	* mh-utils.el (mh-adaptive-cmd-note-flag): Set default value to t.
	Reworded docstring so it doesn't mention internal variable
	mh-cmd-note. Added information about using fixed-width message
	numbers.
	(mh-cmd-note): Mention mh-set-cmd-note in docstring. Also suggest
	that it is updated dynamically only if mh-scan-format-file is t.
	(mh-set-cmd-note): Grammer fix in docstring.
	(mh-cmd-note): Noted that the first column is column number 0.

	* mh-e.el (mh-scan-format-file): Added information about
	mh-set-cmd-note and mh-adaptive-cmd-note-flag to docstring.

	* mh-index.el (mh-index-keymap): Added bindings for i
	(mh-inc-folder), m (mh-send alias), and s (mh-send) since these
	appear to be supported and are found in the toolbar.
	(mh-index-folder-key-map): Ditto for f (mh-visit-folder alias), o
	(mh-visit-folder) alias, and v (mh-visit-folder).
	(mh-index-folder-mode-help-messages): Changes for above.
	(mh-index-folder-message-menu, mh-index-folder-folder-menu): New
	menus. I decided to delete the unavailable items since greying out
	implies that the user can do something to access them. In this
	case, that's not the case. Well, that's not entirely true--the
	user could write code for those functions ;-).
	(mh-index-folder-mode): Use new menus.

	* mh-utils.el (mh-prompt-for-folder): Added optional argument
	default-string which can be used in case the string for default
	isn't intuitive enough.

	* mh-index.el (mh-index-search): Made default prompt more
	intuitive (I hope!).

2002-11-11  Peter S Galbraith  <psg@debian.org>

	* mh-identity.el (mh-header-field-delete): Remove save-excursion.
	Strange that this worked for me before... Thanks to Jeff for the
	patch.
	(mh-insert-identity): Numerous tweaks and fixes from Jeff who also
	adds a nicer-looking MIME header for signatures inserted after
	MIME insertions.

2002-11-11  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-parse-scan-line): Generalize this function
	so that it can take a string containing the scan-line as argument
	in addition to using the line at point.
	(mh-thread-add-spaces): New function to pad each scan line to the
	appropriate length. This is called when mh-cmd-note is increased.

	* mh-e.el (mh-generate-new-cmd-note): Make this work on a threaded
	folder by using mh-thread-add-spaces to pad the pre-existing lines
	in mh-thread-scan-line-map appropriately.
	(mh-thread-add-spaces): Autoload from mh-seq.

2002-11-11  Mark D. Baushke  <mdb@gnu.org>

	* mh-index.el: Fix checkdoc nit.

	* mh-mime.el (mh-display-buttons-for-inline-parts-flag): Renamed
	from mh-display-buttons-for-inline-parts.
	(mh-mime-display-single): Use it.
	This addresses part of SF #627015.

	* mh-e.el (mh-print-background-flag): Renamed from
	mh-print-background.
	* mh-funcs.el (mh-print-msg): Use it.
	This addresses part of SF #627015.

	* mh-comp.el (mh-delete-yanked-msg-window-flag): Renamed from
	mh-delete-yanked-msg-window.
	(mh-yank-from-start-of-msg, mh-yank-cur-msg): Use it.
	This addresses part of SF #627015.

	* mh-utils.el (mh-update-sequences-after-mh-show-flag): Renamed
	from mh-update-sequences-after-mh-show.
	(mh-show-msg): Use it.
	This addresses part of SF #627015.

	* mh-utils.el (mh-decode-quoted-printable-flag): Renamed from
	mh-decode-quoted-printable.
	(mh-display-msg, mh-decode-quoted-printable-have-mimedecode):
	Use it.
	This addresses part of SF #627015.

	* mh-utils.el (mh-recursive-folders-flag): Renamed from
	mh-recursive-folders.
	(mh-make-folder-list-background): Use it.
	* mh-funcs.el (mh-list-folders): Ditto.
	This addresses part of SF #627015.

	* mh-utils.el (mh-auto-folder-collect-flag): Renamed from
	mh-auto-folder-collect.
	(mh-find-path): Use it.
	This addresses part of SF #627015.

	* mh-utils.el (mh-decode-mime-flag): Renamed from
	mh-decode-mime.
	* mh-utils.el (mh-show-mode, mh-show-xface)
	(mh-decode-quoted-printable, mh-display-msg, mh-display-msg): Use it.
	* mh-mime.el (mh-graphical-smileys-flag)
	(mh-graphical-emphasis-flag): Ditto.
	* mh-index.el (mh-index-search, mh-index-show): Ditto.
	* mh-e.el (mh-header-display): Ditto.
	This addresses part of SF #627015.

	* mh-e.el (mh-make-folder-mode-line): Use save-window-excursion
	to get back to the current message.

2002-11-10  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-keymap, mh-index-page-msg)
	(mh-index-folder-tool-bar-map): Replace mh-index-scroll-up with
	mh-index-page-msg.
	(mh-index-keymap, mh-index-previous-page): Replace
	mh-index-scroll-down with mh-index-previous-page.

2002-11-09  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (autoload/require): Load mh-mime when mh-index.el is
	loaded. This fixes the infinite load loop. I am not sure what the
	actual problem is. Also removed the nop requires/autoloads.
	(mh-defun-index): Use the right argument for mh-recenter.
	Otherwise it misbehaves for the default value of
	mh-summary-height.

	* mh-e.el (mh-goto-next-button): Fix infinite loop when S-Tab was
	used on first line of index folder buffer.

2002-11-09  Peter S Galbraith  <psg@debian.org>

	* mh-index.el (mh-index-folder-tool-bar-map): Tool-bar for
	mh-index-mode.
	(mh-index-folder-mode): Use it.
	(mh-index-keymap): Added mouse-2 binding, like in regular
	folder-mode.

2002-11-08  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-folder-mode): Fix doc string for major
	mode. It was pointing to the wrong keymap.
	(mh-index-show-mode): Fix doc string for mode. Also add mh-help
	support.

	* mh-comp.el (mh-forward, mh-yank-cur-msg): Use new macro
	mh-mark-active-p instead. This does the right thing for different
	variants of Emacs.
	(mh-yank-cur-msg): Add a space between sexprs.

	* mh-utils.el (mh-mark-active-p): New macro which papers over
	diffences between GNU Emacs and XEmacs. The variables mark-active
	and transient-mark-mode are used in GNU Emacs while zmacs-regions
	and region-active-p are used in XEmacs.

	* mh-seq.el (mh-put-msg-in-seq, mh-thread-ancestor-p): Use
	mh-mark-active-p as above.

	* mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Use
	mh-mark-active-p as above.

2002-11-06  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-yank-cur-msg): Fix for XEmacs.  It didn't work
	with a selected region, and left the inserted text selected (in
	reverse video).  I didn't use SF patch #402315 to implement this.

2002-11-05  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-show-tool-bar-map): Change call to
	mh-tool-bar-search-command such that user can customize it for the
	current session.

	* mh-e.el (mh-folder-tool-bar-map): Same.

2002-11-05  Bill Wohler  <wohler@newt.com>

	* mh-utils.el, mh-e.el (mh-tool-bar-search-function): Renamed from
	mh-tool-bar-search-command.

	* mh-index.el (mh-index-search): Backed out previous change to
	prompt. There ain't no folder named "all."

	* mh-utils.el (mh-tool-bar-search-command): Added mh-search-folder
	and mh-index-search to the docstring so that user can easily click
	on them for more information.

	* mh-pick.el (mh-search-folder): Mention that this function uses
	the MH pick command to give the user more information when
	choosing between mh-search-folder and mh-index-folder.

	* mh-index.el (mh-index-search): Edited the docstring.  Direct the
	user to mh-index-program if necessary.
	(mh-index-program): Edited this docstring too.  Viewing the help
	in a *Help* buffer really exposes grammatical flaws.

2002-11-05  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-tool-bar-search-command): New defcustom to set
	what search function to use in tool-bar.
	(mh-show-tool-bar-map): Use it.

	* mh-e.el (mh-folder-tool-bar-map): Use it.

2002-11-05  Bill Wohler  <wohler@newt.com>

	* mh-index.el (mh-index-search): Changed default prompt from "+"
	to "all". mh-prompt-for-folder doesn't seem to mind.

	* mh-e.el (mh-folder-folder-menu): Added menu entry for
	mh-index-search.

	* mh-utils.el (mh-show-folder-menu): Added menu entry for
	mh-index-search.

	* mh-index.el: Added commentary on supported search engines and
	for getting started (initializing database).

2002-11-04  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-keymap, mh-index-folder-key-map): Move key
	binding of "i" to "Fi".
	(mh-index-folder-mode-help-messages): Change help message to
	reflect above change.

2002-11-04  Bill Wohler  <wohler@newt.com>

	* mh-index.el (mh-index-program, mh-indexer): Swapped names since
	the former seems like a better user variable name. If you've
	customized mh-indexer, be sure to toss it out and customize
	mh-index-program.

2002-11-04  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-indexer-choices): Not having the quotes in the
	binary names is a bit nicer since that maintains uniformity with
	the other names.
	(mh-index-choose): Use symbol-value instead of eval. Eval should
	be avoided except when it can't be :-).

2002-11-04  Bill Wohler  <wohler@newt.com>

	* mh-index.el (mh-index-program): New variable to hold the name of
	the indexer that was found; use this instead of clobbering
	user-customizable variable mh-indexer.
	(mh-index-search): Use it. Added comments to keep others from
	doing what I had done (fortunately, I caught myself before
	checking it in ;-).
	(mh-index-choose): Set mh-index-program instead of mh-indexer.
	Update docstring to describe side-effects.

	* mh-index.el (mh-indexer): Added swish++ to docstring. Chances
	are good that if someone has both swish++ and swish, they want to
	use the much faster, much smaller swish, so move it up in the
	list.
	(mh-indexer-choices): Ditto for rationale for moving swish++ up in
	priority over swish. Also, use -binary symbols instead of
	hard-coding binary names. This allows package installers to
	customize the location of the binaries in site-lisp and still have
	the auto-detection code work. It also allows one to have alternate
	binary names (see mh-swish++-binary).
	(mh-index-search): Ditto (moving swish++ up).
	(mh-swish++-binary): Look for search++, then search. The rationale
	is that a package maintainer may rename search to search++ if
	search is already in use (e.g., Debian) so try it first.
	(mh-swish++-execute-search): Replaced Satyaki's path with dummy
	path in docstring. Also removed RecurseSubdirs since this is the
	default. Added comment that index might be named index++ on some
	systems (e.g., Debian).
	(mh-index-choose): Updated to work with new mh-indexer-choices.

2002-11-04  Peter S Galbraith  <psg@debian.org>

	* mh-identity.el (mh-identity-list-set): Don't call easy-menu-add
	here, since that adds the menu to the Customize buffer in XEmacs.

2002-11-04  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-mhn-compose-insert-flag)
	(mh-mml-compose-insert-flag): Removed eval-when-compile defvar.

	* mh-mime.el (mh-mhn-compose-insert-flag)
	(mh-mml-compose-insert-flag): Move variables to mh-utils.el.
	Fixes mh-letter-menu for XEmacs.

2002-11-04  Eric Ding  <eding@rational.com>

	* mh-comp.el (mh-rejected-letter-start): add another string

2002-11-04  Eric Ding  <ericding@alum.mit.edu>

	* mh-comp.el (mh-rejected-letter-start): regexp-opt doesn't take
	regexps as args, only regular strings

2002-11-04  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-insert-mail-followup-to): Don't modify a
	pre-existing M-F-T field.  If a nmh replgroupcomps propagates a
	M-F-T field in a message reply, then we have to have it alone.

2002-11-02  Bill Wohler  <wohler@newt.com>

	* mh-comp.el, mh-e.el, mh-funcs.el, mh-identity.el, mh-index.el,
	mh-mime.el, mh-pick.el, mh-seq.el, mh-speed.el, mh-utils.el,
	mh-xemacs-compat.el: Added Local Variables section. Defined
	sentence-end-double-space to be nil so that those who might not
	buy my setting of this variable can at least run checkdoc without
	a whole lot of noise.

2002-11-02  Peter S Galbraith  <psg@debian.org>

	* mh-identity.el: New file.  Multiple Identify support for MH-E.
	Used to easily set different fields such as From and Organization,
	as well as diffrent signature files.  This file won't be included
	with V7.0.

2002-11-02  Bill Wohler  <wohler@newt.com>

	* mh-mime.el (mh-mm-save-part): New function to wrap mm-save-part
	from Gnus 5.10 to make it explicit which code has been
	commandeered.
	(mh-mime-save-part): Call mh-mm-save-part instead of cut-n-pasted
	code from Gnus 5.10.

2002-11-02  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-yank-from-start-of-msg): Edit docstring to
	mention related variables mh-reply-show-message-flag and
	mh-delete-yanked-msg-window.
	(mh-reply): Change the "Reply to whom" prompt.

2002-11-01  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-show-hook): Moved to mh-utils.el where it is used.
	(mh-folder-list-change-hook): Converted this from defvar in other
	files to defcustom here. It is called, not documented as
	obsolete, and might as well be documented.
	(mh-inc-folder, mh-quit, mh-delete-a-msg, mh-refile-a-msg,
	mh-process-commands, mh-update-unseen): Added missing
	documentation about hook, or made verbiage about hook consistent
	throughout, even if the function isn't interactive.

	* mh-utils.el (mh-folder-list-change-hook): Moved defvar to mh-e
	and made it a defcustom.
	(mh-show-mode-hook): Put it back in (actually, it was in mh-e.el,
	but this is the place where it is called).
	(mh-show-hook): Moved here from mh-e.el since it's called here.
	(mh-show-mode): Call mh-show-mode-hook.
	(mh-show-mode, mh-show-msg, mh-find-path, mh-prompt-for-folder,
	mh-prompt-for-folder, mh-set-folder-list): Added missing
	documentation about hook, or made verbiage about hook consistent
	throughout, even if the function isn't interactive.

	* mh-comp.el (mh-send-letter): Made verbiage about hook consistent
	throughout.
	(mh-insert-prefix-string): Made docstring more descriptive of what
	is going on.

	* mh-funcs.el (mh-kill-folder): Added missing documentation about
	hook.

	* mh-index.el (mh-index-show-hook): Moved defvar to defcustom.
	(mh-index-show): Made verbiage about hook consistent throughout.

	* mh-mime.el (mh-edit-mhn-hook): Moved defvar to defcustom.
	(mh-edit-mhn): Added missing documentation about hook.

	* mh-pick.el (mh-pick-mode): Made verbiage about hook consistent
	throughout. Call the damn hook.

2002-11-01  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el (mh-insert-mail-followup-to-list): Fix typo so that
	it will look right in info.

	* mh-index.el (mh-index-search): Change argument name from
	new-buffer-p to new-buffer-flag.
	(mh-index-search-again, mh-index-search): New index-buffers were
	being named *mh-index*<2>, *m-index*<2><2> and so on. This problem
	is fixed.
	(mh-index-scroll-up, mh-index-scroll-down): Scrolling in index
	show buffers (after the first one) was broken.
	(mh-index-quit): Bury show buffer instead of killing it. Killing
	it, without killing the corresponding folder buffer, can cause
	confusion with two folder buffers trying to display in the same
	show buffer.

	* mh-seq.el (mh-thread-prune-containers): Rewritten without
	recursion. Also removed the top-level-p argument since it isn't
	required anymore.
	(mh-thread-sort-containers): New function factored out from
	previous definition of mh-thread-prune-containers. It sorts
	message containers in ascending order wrt their message indices.
	(mh-thread-generate): Use new mh-thread-prune-containers.

	* mh-e.el (mh-remove-all-notation): Fix the test. It was testing
	at the wrong place!

2002-10-31  Bill Wohler  <wohler@newt.com>

	* Makefile, README, import-emacs, mh-comp.el, mh-e.el,
	mh-funcs.el, mh-index.el, mh-mime.el, mh-pick.el, mh-seq.el,
	mh-speed.el, mh-utils.el: Replaced mh-e with MH-E.

2002-10-31  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-parse-scan-line): Modified to remove user
	sequence notation and leave notation for other things alone. This
	ensures that threading doesn't lose notations for replied-to
	messages.

	* mh-e.el (mh-inc-folder): Remove call to mh-widen here and
	instead do it in mh-get-new-mail. This way the widening happens
	only if new mail is incorporated.
	(mh-generate-new-cmd-note): The function now returns the point
	from which the new messages start. This will allow threading to do
	the right thing.
	(mh-get-new-mail): Always call mh-remove-cur-notation. Otherwise
	adaptive scan mode leaves two messages marked as current in
	certain cases. Fix indentation of if statement. If there are
	messages to be incorporated, the folder is widened. If mh-cmd-note
	changes set start-of-inc correctly.
	(mh-remove-all-notation): Change this function to only remove user
	sequence notation and leave notation for replied-to messages and
	similar notation alone. This means operations like narrowing to
	subject sequence and widening don't lose notations.

2002-10-31  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-insert-mail-followup-to-list): Fixed typo in
	docstring and other minor edits. Checkdoc removed trailing spaces.
	(mh-insert-signature): Checkdoc flagged docstring. Reverted to
	previous value. Added specific name of hook that is run.
	(mh-regexp-in-field-p, mh-insert-letter): Checkdoc removed
	trailing spaces.

2002-10-31  Jeffrey C Honig  <jch@honig.net>

	* mh-e.el (mh-show-mode-hook): Remove the unused
	mh-show-mode-hook, mh-show-hook is the one that is used.

	* mh-utils.el (mh-show-mode): Change the documentation to refer to
	mh-show-hook instead of the unused mh-show-mode-hook.

2002-10-31  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-insert-mail-followup-to-list): Set default to nil
	and include example in doc string.

2002-10-31  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-indexer): Add customization choice for swish++.
	(mh-indexer-choices): Add swish++ choice.
	(mh-index-search): Change doc to reflect addition of swish++ option.
	(mh-swish++-binary, mh-swish++-directory): New variables for
	swish++ interface.
	(mh-swish++-execute-search): New function to execute swish++
	search.
	(mh-swish++-next-result): Function aliased to mh-swish-next-result
	since the result format of swish++ is the same as that of swish-e.
	(mh-index-search): Always overwrite window-configuration with new
	value. This is needed since we don't kill the index-buffer when
	quitting which means the window configuration wasn't getting set
	properly.
	(mh-index-search-again): If index buffer is reused, reset the old
	window config to its original value.

2002-10-30  Bill Wohler  <wohler@newt.com>

	* Makefile (emacs, xemacs): New targets.
	(all): Use these targets instead of calling specific targets.
	(.PHONY): Added emacs, xemacs, autoloads, custom-loads. Broke up
	target and moved pieces into their own sections.

2002-10-30  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-show-font-lock-keywords): Wrap an
	'eval-and-compile around its defvar, otherwise byte-compilation
	fails on `mh-show-font-lock-keywords-with-cite'.

2002-10-29  Jeffrey C Honig  <jch@honig.net>

	* mh-comp.el (mh-letter-insert-signature-hook)
	(mh-insert-signature): Add a hook to be called before inserting
	the signature.  Do not attempt to insert the signature if
	mh-insert-signature-file-name is nil.

2002-10-29  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-inc-folder): Call mh-widen when mh-narrowed-to-seq
	(Closes SF #629233: inc in narrowed folder suboptimal)

	* mh-comp.el (mh-insert-letter): Stop using mhl to include a
	message before it mangles the header, and supercite fails
	(Closes SF #629153: mh-insert-letter uses mhl?).
	(mh-insert-prefix-string): Leave point at beginning instead of
	end, since that's what sc-cite-original does.
	(mh-yank-cur-msg): Adjust for mh-insert-prefix-string change.

2002-10-30  Steve Youngs  <youngs@xemacs.org>

	* mh-e.el (mh-folder-mode): Check for 'font-lock-auto-fontify'
	when in XEmacs so we don't do font-locking unconditionally.

	* mh-utils.el (mh-show-mode): Ditto.

2002-10-29  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-refiled-face, mh-folder-cur-msg-number-face)
	(mh-folder-to-face, mh-folder-body-face): Define faces instead of
	copying them from font-lock faces.  This mh-e will look the same
	in XEmacs as it does in Emacs.
	* mh-utils.el (mh-show-cc-face, mh-show-date-face)
	(mh-show-header-face): Ditto.

2002-10-29  Jeffrey C Honig  <jch@honig.net>

	* mh-comp.el (mh-send-letter): I meant to use
	mh-goto-header-field, not mh-get-header-field.  The former returns
	nil if the header is not found and doesn't need a conditional.

2002-10-29  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-forward): Bug fix.  Change 'kill-line for a
	'delete-region, because I don't want that text yanked with C-y.

	* mh-seq.el (mh-put-msg-in-seq): Add support for selected
	region (Closes SF feature request #630324).

2002-10-28  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-prune-subject): Make the regexp a little
	general so that a subject of the form "Re[218]: howdy" would be
	properly pruned.

	* mh-mime.el (mh-mime-save-part): Copy function definition of
	mm-save-part from cvs gnus since that function is buggy in gnus
	that comes with emacs21.2.

2002-10-28  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-scan-subject-regexp): Add an expression to match an
	optional bracketed number after "Re", such as in "Re[2]:".
	(Patch by Satyaki; I checked it and applied).
	(mh-folder-font-lock-subject): Adapt to new mh-scan-subject-regexp.
	* mh-seq.el (mh-subject-to-sequence): Ditto.

	* mh-e.el (mh-folder-sequence-menu): Remove "Toggle Subject
	Thread" from menu.   mh-toggle-threads is in the Folder menu.

	* mh-e.el (mh-folder-sequence-menu): Minor menu text edits.

	* mh-utils.el (mh-show-update-sequences): Added to
	mh-defun-show-buffer builds; needed for menu.
	(mh-show-sequence-menu, mh-show-message-menu)
	(mh-show-folder-menu): 3 new menus in mh-show-mode-map that mirror
	the menus used in mh-folder-mode.
	(mh-show-mode): easy-menu-add the 3 menus.

2002-10-28  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-goto-msg): Fix the regexp to search so that we
	go to the right message. In a threaded folder message 2 may be
	present after 26 and the previous regexp would go to 26 when we
	really wanted to go to 2!

	* mh-seq.el (mh-widen): Add call to mh-recenter to make it like
	mh-narrow-to-seq.

2002-10-28  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (mh-show-mime-save-parts): Deleted definition.
	(mh-show-mime-map, tool-bar-map): Use mh-mime-save-parts instead
	of mh-show-mime-save-parts.

2002-10-28  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-tool-bar-map): tool-bar-add-item key name
	bug fix.
	* mh-utils.el (mh-show-tool-bar-map): Same.
	* mh-e.el (mh-folder-tool-bar-map, mh-folder-seq-tool-bar-map): Same

2002-10-27  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-toggle-threads): Add call to mh-recenter to make
	its behavior like that of mh-narrow-to-seq.

2002-10-27  Bill Wohler  <wohler@newt.com>

	* mh-mime.el (mh-mime-save-parts): Renamed from
	mh-store-mime-parts for consistency with mh-mime-save-part. Fixed
	bug whereby mh-mime-save-parts-directory was not getting
	initialized properly from a string-valued
	mh-mime-save-parts-default-directory.
	(mh-mime-save-parts-default-directory): Ditto. Check your
	customizations!
	(mh-mime-save-parts-directory): Ditto.

	* mh-utils.el (mh-show-mime-save-parts): Renamed from
	mh-store-mime-parts.
	(mh-show-mime-map): Added keybinding "K a" for
	mh-show-mime-save-parts.

	* mh-e.el (mh-mime-save-parts) Renamed from mh-store-mime-parts.
	(mh-mime-map): Added keybinding "K a" for mh-mime-save-parts.
	(mh-help-messages): Added help for "K a".

2002-10-27  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-search-addr-regexp, mh-regexp-in-field-p): Rename
	the first to the second (and recode a bit).
	(mh-insert-mail-followup-to): Use it.

2002-10-27  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (mh-invisible-headers): Backed out change. Removed
	Mail-Followup-To due to objections from Peter and Mark.

2002-10-27  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-msg-is-in-seq): Modified to show info about
	whether the message being queried about has been marked to be
	deleted or refiled.

	* mh-mime.el (mh-insert-mime-security-button): Make
	pressed-details a local.

2002-10-27  Steve Youngs  <youngs@xemacs.org>

	* .cvsignore: New file.

2002-10-26  Steve Youngs  <youngs@xemacs.org>

	* mh-seq.el (mh-notate-deleted-and-refiled): Don't bind local
	variable 'dest', it isn't used anywhere.

	* mh-pick.el (mh-do-pick-search): Don't bind local variable
	'finding-messages', it isn't used anywhere.

	* mh-utils.el: Byte-compiler warning suppression.
	(mh-gnus-article-highlight-citation): Rather than redefining
	'gnus-cite-face-list', just re-order it.
	(mh-show-mode): Force turning on font-lock in XEmacs.

	* mh-seq.el: Byte-compiler warning suppression.

	* mh-index.el: Byte-compiler warning suppression.

	* mh-comp.el: Byte-compiler warning suppression.

	* mh-xemacs-compat.el: Add defaliases for 'timerp' &
	'cancel-timer' to the equivalent 'itimer' functions.
	(rfc822): Require it for 'rfc822-goto-eoh'.
	Byte-compiler warning suppression.

	* mh-e.el (mh-folder-mode): Force turning on font-lock in XEmacs.
	(mh-toggle-threads): Remove duplicate autoload.
	Byte-compiler warning suppression.
	(mh-folder-unseen-seq-list): Use 'with-temp-buffer' to fix a bug
	in XEmacs when font-lock is on.
	(mh-folder-unseen-seq-name): Ditto.

2002-10-27  Mark D. Baushke  <mdb@gnu.org>

	* Makefile: Reorganize to allow for building also compiling for
	XEmacs too. Sanitize so that it will work using least-common
	denominator versions of 'make'. Tested using GNU make, Solaris make,
	and Berkely make.
	(all): Use recursive invocation based on the emacs or xemacs
	executable passed on the 'make EMACS=xemacs' command line.
	(XEMACS_OPTIONS): The incantation to be passed to an xemacs editor
	to compile things properly.
	(AUTO_PRELOADS): Magic XEmacs glue.
	(clean): Ditto.
	(autoloads): Ditto.
	(custom-loads): Ditto.

2002-10-26  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-last-msg): Add call to mh-recenter.

2002-10-26  Peter S Galbraith  <psg@debia.org>

	* mh-comp.el (mh-search-addr-regexp, mh-re-search-to-cc): Remove
	`mh-re-search-to-cc' in favour of more generalized new function
	`mh-search-addr-regexp'.
	(mh-insert-mail-followup-to): Use it.

2002-10-26  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-copy-seq-to-eob): Avoid rethreading when the
	folder is already threaded. This is more efficient and also avoids
	problems when the folder is widened.
	(mh-thread-inc): Don't try to restore the point to original
	location since mh-inc-folder from where this is called changes
	point location after calling this function.

	* mh-e.el (mh-make-folder-mode-line): Fix a small bug where the
	test was wrong.

2002-10-26  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-insert-mail-followup-to): Fix for new defcustom.

2002-10-26  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-notate-deleted-and-refiled): Remove unused binding
	of dest. The problem was pointed out by Steve as well.

	* mh-e.el (mh-toggle-threads): Remove duplicate autoload as
	pointed out by Steve.

2002-10-26  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (mh-invisible-headers): Added Mail-Followup-To.

2002-10-26  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-insert-mail-followup-to-list): Change defvar to
	defcustom.

2002-10-25  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-remove-all-notation): New function that removes all
	notation.

	* mh-seq.el (mh-narrow-to-seq): When hiding the original folder
	remove all notation. This avoids stale notation hanging around.
	Also changes in show buffer and position in folder buffer are
	avoided if possible.
	(mh-widen): When widening the scan-lines are notated based on the
	current state of the folder. This means any changes made when the
	folder was narrowed are shown consistently.
	(mh-notate-deleted-and-refiled): Update the documentation.
	(mh-thread-parse-scan-line): For some reason the ASCII value of
	the space character was being used here. This is fixed.
	(mh-thread-inc, mh-toggle-threads): Avoid change of point in
	folder and message being displayed in shown buffer.

	* mh-utils.el (mh-recenter): Rewrite mh-recenter to show fewer
	blank lines when point is towards the end of the folder buffer.

2002-10-25  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-insert-mail-followup-to-flag): New boolean
	defcustom to append a Mail-Followup-To field to the header.  The
	insertion is done if the To: or Cc: fields matches an entry in
	`mh-insert-mail-followup-to-list'."
	(mh-insert-mail-followup-to-list): New defvar. List of addresses
	for which a Mail-Followup-To field is inserted.
	(mh-re-search-to-cc): New function. Search for REGEXP in To: and
	Cc: fields.
	(mh-insert-mail-followup-to): New function. Insert
	Mail-Followup-To: if To or Cc match `mh-insert-mail-followup-to-list'.
	(mh-compose-and-send-mail): Call mh-insert-mail-followup-to if
	mh-insert-mail-followup-to-flag is true.

2002-10-25  Mark D. Baushke  <mdb@gnu.org>

	* mh-utils.el (mh-show-maximum-size): New variable to control
	the display of large messages.
	(mh-display-msg): Use it (Closes SF #488696).

	* mh-seq.el (mh-toggle-threads): Checkdoc fix.

	* mh-e.el (mh-reset-threads-and-narrowing): Checkdoc fix.

	* mh-comp.el (mh-insert-x-mailer-flag): Renamed from
	mh-insert-x-mailer-p. Update docstring.
	(mh-send-letter): Use it.
	(mh-reply-show-message-flag): Renamed from
	mh-reply-show-message-p. Update docstring.
	(mh-reply): Use it.
	This addresses part of SF #627015.

	* mh-e.el (mh-recenter-summary-flag): Renamed from
	mh-recenter-summary-p. Update docstring.
	(mh-set-scan-mode): Use it.
	This addresses part of SF #627015.

2002-10-25  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-reset-threads-and-narrowing): New function which
	resets all thread and narrowing state to completely unthreaded and
	widened state. As a side effect, the folder buffer is erased.
	(mh-rescan-folder): Reset threads and narrowing state.

	* mh-funcs.el (mh-pack-folder-1): Reset threads and narrowing state.

	* mh-seq.el (mh-copy-seq-to-eob): Change mh-view-ops after
	threading is over so that if user aborts threading, it doesn't
	leave mh-e in an inconsistent state.
	(mh-toggle-threads): Use mh-scan-folder to populate the folder
	buffer instead of mh-rescan-folder which resets threading and
	narrowing state.

2002-10-24  Bill Wohler  <wohler@newt.com>

        * mh-e is completely checkdoc clean now.

	* mh-utils.el (mh-clean-message-header-flag): Renamed from
	mh-clean-message-header.
	(mh-bury-show-buffer-flag): Renamed from mh-bury-show-buffer.
	(mh-show-use-goto-addr-flag): Renamed from mh-show-use-goto-addr.
	This addresses part of SF #627015.

	* mh-mime.el (mh-clean-message-header-flag): Renamed from
	mh-clean-message-header.
	Checkdoc fixes. This addresses part of SF #627015.

	* mh-index.el (mh-clean-message-header-flag): Renamed from
	mh-clean-message-header. This addresses part of SF #627015.

	* mh-funcs.el (mh-do-not-confirm-flag): Renamed from
	mh-do-not-confirm. This addresses part of SF #627015.

	* mh-e.el (mh-do-not-confirm-flag): Renamed from
	mh-do-not-confirm.
	(mh-clean-message-header-flag): Renamed from
	mh-clean-message-header.
	This addresses part of SF #627015.

	* mh-comp.el: checkdoc fixes.

2002-10-24  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-copy-seq-to-eob): Rewritten to scan the headers
	fresh instead of yanking from buffer. This is needed to get
	correct threading in copied sequence.
	(mh-thread-inc, mh-thread-update-scan-line-map)
	(mh-thread-parse-scan-line): Eliminate the use, and hence the
	definition of, the kludgy mh-thread-update-scan-line-map. Instead
	the functions mh-notate-deleted-and-refiled and
	mh-notate-user-sequences are used to get the message marks right.
	(mh-thread-generate-scan-lines): Updated to allow the thread tree
	to be used in a narrowed folder buffer.
	(mh-thread-folder, mh-toggle-threads): Remove
	mh-folder-threaded-view-flag.
	(mh-thread-old-scan-line-map): New buffer-local variable that
	remembers the original scan-line map so that the sequence thread,
	narrow, widen will work.
	(mh-narrow-to-seq, mh-widen): Remember the scan-line map when
	narrowing and restore it when widening.

	* mh-e.el (mh-folder-threaded-view-flag, mh-folder-folder-menu)
	(mh-regenerate-headers, mh-get-new-mail)
	(mh-make-folder-mode-line, mh-process-commands)
	(mh-delete-scan-msgs): Remove mh-folder-threaded-view-flag.
	Instead (memq 'unthread mh-view-ops) is used to test if the folder
	is threaded.

	* mh-mime.el (mh-display-emphasis): Shadow article-goto-body here
	since we want to do emphasis on the whole of the region and not
	just after the first blank line.
	(mh-mm-display-part): When displaying a text part show smilies and
	emphasis.

	* mh-index.el (mh-index-insert-scan): Attempt to keep number of
	args to scan small if there are lots of adjacent matches.
	(mh-index-quit): Bury index-buffer on quit instead of killing it.
	This behavior is more like that of mh-quit.

	* mh-seq.el (mh-widen): If folder was threaded after narrowing
	then make mh-widen undo the threading instead of erroring out.

2002-10-24  Peter S Galbraith  <psg@debian.org>

	* mh-seq.el (mh-toggle-threads): Add a cond (as suggested by
	Satyaki) to properly unthread a narrowed-to-sequence.

	* mh-seq.el (mh-thread-generate-scan-lines): Fix threading
	breakage from partial switch to mh-container-real-child-flag and
	to dupl-flag.

	* mh-comp.el (mh-yank-cur-msg): Bug fix: specify
	  (eq t mh-yank-from-start-of-msg) when that's what we want.

2002-10-24  Mark D. Baushke  <mdb@gnu.org>

	* mh-seq.el (mh-thread-prune-subject): Renamed subject-pruned-p as
	subject-pruned-flag.
	(mh-thread-inc): Renamed old-buffer-modified-p as
	old-buffer-modified-flag.
	(mh-thread-generate-scan-lines): Renamed dupl-p as dupl-flag.
	This addresses part of SF #627015.

	* mh-index.el (mh-index-advance): Renamed backward-p
	local variable as backward-flag.
	(mh-index-next-button): Renamed backward-p
	argument as backward-flag.
	(mh-index-show): Renamed display-headers-p argument as
	display-headers-flag.
	This addresses part of SF #627015.

	* mh-e.el (mh-scan-format, mh-version): Use mh-nmh-flag.
	(mh-folder-mime-action): Renamed include-security-p
	argument as include-security-flag.
	(mh-goto-next-button, mh-next-button): Renamed backward-p
	argument as backward-flag.
	(mh-get-new-mail): Renamed new-mail-p local variable as
	new-mail-flag.
	(mh-goto-cur-msg): Renamed minimal-changes-p argument as
	minimal-changes-flag.
	(redraw-needed-flag): Renamed redraw-needed-p local variable as
	redraw-needed-flag.
	(mh-seq-containing-msg): Renamed include-internal-p argument as
	include-internal-flag.
	(mh-page-msg): Use mh-page-to-next-msg-flag.
	This addresses part of SF #627015.

	* mh-mime.el (mh-mhn-compose-insert-flag): Renamed from
	mh-mhn-compose-insert-p. Make it buffer-local.
	(mh-mhn-compose-type, mh-mhn-compose-external-type,
	mh-mhn-compose-forw, mh-edit-mhn): Use mh-mhn-compose-insert-flag.
	(mh-mml-to-mime, mh-mml-secure-message-encrypt-pgpmime,
	mh-mime-display-part, mh-mime-display-single): Use
	mh-gnus-pgp-support-flag renamed from mh-gnus-pgp-support-p.
	(mh-mime-display-single): Renamed small-image-p local
	variable as small-image-flag.
	(mh-mime-inline-part): Renamed local variable inserted-p as
	inserted-flag.
	(mh-mime-inline-part): Renamed local variable displayed-p as
	displayed-flag.
	This addresses part of SF #627015.

	* mh-comp.el (mh-letter-menu, mh-letter-mode, mh-send-letter):
	mh-mhn-compose-insert-flag.
	(mh-repl-group-formfile, mh-forward): Use mh-nmh-flag
	renamed from mh-nmh-p.
	(mh-reply, mh-insert-x-mailer, mh-send-letter): Use mh-nmh-flag.
	(mh-letter-mode-map): Use mh-gnus-pgp-support-flag renamed from
	mh-gnus-pgp-support-p.
	(mh-mml-secure-message-sign-pgpmime): Use
	mh-gnus-pgp-support-flag.
	This addresses part of SF #627015.

	* mh-utils.el (mh-page-to-next-msg-flag): Renamed from
	mh-page-to-next-msg-p.
	(mh-show-msg): Use mh-page-to-next-msg-flag.
	(mh-gnus-pgp-support-flag): Renamed from
	mh-gnus-pgp-support-p.
	(mh-show-font-lock-fontify-region): Fix docstring per checkdoc.
	(with-mh-folder-updating): Renamed argument
	save-modification-flag-p as mh-save-modification-flag.
	(mh-prompt-for-folder): Renamed new-file-p local
	variable as new-file-flag.
	This addresses part of SF #627015.

2002-10-24  Mark D Baushke  <mdb@gnu.org>

	* mh-comp.el (mh-forward): Fix mh-mml-compose-insert-p reference
	in last commit to be mh-mml-compose-insert-flag.
	(mh-mml-compose-insert-flag): Move defvar to fix compiler warning.

2002-10-24  Jeffrey C Honig  <jch@honig.net>

	* mh-comp.el (mh-forward): Add support for transient-mark mode.
	When using nmh, always specify -mime so as to preserve the
	original message(s).  If mh-compose-insertion is 'gnus, convert
	the mhbuild format forwarding directives into MML.

2002-10-24  Eric Ding  <ericding@alum.mit.edu>

	* mh-comp.el (mh-send-letter): Fix for earlier change that added
	"-mime" for bcc'ed MIME mail; still doesn't work with nmh 1.0, but
	at least no longer triggered for every outgoing message!

2002-10-24  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-yank-cur-msg): Fix selected regions for supercite
	(see text below).

	* mh-comp.el (mh-yank-cur-msg): Fix for supercite.  Someone played
	with the point and mark setting prior to the call to
	'mh-insert-prefix-string and that broke supercite.  I put comments
	to make it obvious to future coders why those settings exists.
	Note that supercite is still broken when a region is selected in
	the show buffer.  Presumably it's been like that for a long time.
	We need to insert the header as well as the selected region oin
	that case.  I'll submit an SF bug.

2002-10-24  Jeffrey C Honig  <jch@honig.net>

	* mh-comp.el (mh-yank-from-start-of-msg, mh-reply): Use -noformat
	flag to reply when 'autosupercite or 'autoattrib are specified to
	prevent duplicate cites of the body of a message.

2002-10-23  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (font-lock-default-fontify-region): Add autoload to
	avoid compiler warning.

2002-10-23  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-mode): set fill-paragraph-function to our
	own 'mh-fill-paragraph-function instead of simply
	'mail-mode-fill-paragraph (because it doesn't handle a non-nil
	fill-prefix correctly).
	(mh-fill-paragraph-function): New function for mh-letter-mode
	fill-paragraph-function in order to handle non-nil fill-prefix.
	Call sendmail's mail-mode-fill-paragraph if in the mail header,
	else call default fill-paragraph with fill-prefix set to nil.
	(Closes SF #489927)

	* mh-comp.el (mh-letter-mode): Let's use font-lock even if gnus is
	used in show-mode.  The reason is that gnus uses static text
	properties which are not appropriate for a buffer that will be
	edited.  So the choice here is either fontify the citations and
	header or the header only.

	* mh-utils.el (mh-show-font-lock-fontify-region): Limit font-lock
	in mh-show-mode to the header.  Used when mh-highlight-citation-p
	is set to gnus, leaving the body to be dealt with by gnus
	highlighting.  This fixes gnus text emphasis in mh-show-mode.
	(mh-show-mode): In font-lock-defaults, set
	font-lock-fontify-region-function to mh-show-font-lock-fontify-region.

2002-10-23  Bill Wohler  <wohler@newt.com>

	* mh-mime.el (mh-mml-attach-file): Prompt for disposition should
	be Disposition, not Content-Type. The Content-Type has been
	determined automatically.

2002-10-23  Mark D. Baushke  <mdb@gnu.org>

	* MH-E-NEWS:
	s/mh-adaptive-cmd-note/mh-adaptive-cmd-note-flag/
	s/mh-show-use-xface/mh-show-use-xface-flag/
	s/mh-tool-bar-reply-3-buttons/mh-tool-bar-reply-3-buttons-flag/
	This addresses part of SF #627015.

	* mh-comp.el:
	s/mh-mml-compose-insert-p/mh-mml-compose-insert-flag/
	s/mh-xemacs-p/mh-xemacs-flag/
	(mh-letter-menu): Use mh-mml-compose-insert-flag.
	(mh-insert-x-mailer): Use mh-xemacs-flag.
	(mh-mml-compose-insert-flag): Renamed from
	mh-mml-compose-insert-p.
	(mh-send-letter): Use mh-mml-compose-insert-flag.
	This addresses part of SF #627015.

	* mh-e.el:
	s/mh-folder-threaded-view-p/mh-folder-threaded-view-flag/
	s/mh-adaptive-cmd-note/mh-adaptive-cmd-note-flag/
	s/mh-xemacs-p/mh-xemacs-flag/
	(mh-folder-threaded-view-flag): Renamed from
	mh-folder-threaded-view-p. Make it buffer local.
	(mh-folder-tool-bar-map): Use mh-tool-bar-reply-3-buttons-flag.
	(mh-remove-xemacs-horizontal-scrollbar): Use mh-xemacs-flag.
	(mh-make-folder, mh-regenerate-headers, mh-get-new-mail): Use
	mh-adaptive-cmd-note-flag.
	(mh-folder-folder-menu, mh-regenerate-headers, mh-get-new-mail,
	mh-make-folder-mode-line, mh-process-commands,
	mh-delete-scan-msgs): Use mh-folder-threaded-view-flag.
	This addresses part of SF #627015.

	* mh-index.el:
	s/mh-adaptive-cmd-note/mh-adaptive-cmd-note-flag/
	(mh-index-search): Use mh-adaptive-cmd-note-flag.
	This addresses part of SF #627015.

	* mh-mime.el:
	s/mh-mml-compose-insert-p/mh-mml-compose-insert-flag/
	s/mh-xemacs-p/mh-xemacs-flag/
	(mh-mml-compose-insert-flag): Renamed from
	mh-mml-compose-insert-p. Make it buffer local.
	(mh-mml-attach-file, mh-mml-secure-message-sign-pgpmime,
	mh-mml-secure-message-encrypt-pgpmime): Use it.
	(gnus-local-map-property): Use mh-xemacs-flag.
	This addresses part of SF #627015.

	* mh-seq.el:
	s/mh-folder-threaded-view-p/mh-folder-threaded-view-flag/
	(mh-thread-generate, mh-thread-folder, mh-toggle-threads): Use
	mh-folder-threaded-view-flag.
	This addresses part of SF #627015.

	* mh-speed.el:
	s/mh-speed-run-flists-p/mh-speed-run-flists-flag/
	s/mh-speed-refresh-p/mh-speed-refresh-flag/
	(mh-speed-run-flists-flag): Renamed from mh-speed-run-flists-p.
	(mh-folder-speedbar-buttons): Use it.
	(mh-speed-refresh-flag): Renamed from mh-speed-refresh-p.
	(mh-speed-update-current-folder, mh-speed-invalidate-map,
	mh-speed-add-folder): Use it.
	This addresses part of SF #627015.

	* mh-utils.el:
	s/mh-xemacs-p/mh-xemacs-flag/
	s/mh-tool-bar-reply-3-buttons/mh-tool-bar-reply-3-buttons-flag/
	s/mh-show-use-xface/mh-show-use-xface-flag/
	(mh-xemacs-flag): Renamed from mh-xemacs-p.
	(mh-show-xface-function): Use it.
	(mh-tool-bar-reply-3-buttons-flag): Renamed from
	mh-tool-bar-reply-3-buttons.
	(mh-show-tool-bar-map): Use it.
	(mh-adaptive-cmd-note-flag): Renamed from mh-adaptive-cmd-note.
	(mh-cmd-note): Use it in description.
	(mh-show-use-xface-flag): Renamed from mh-show-use-xface. Use
	mh-xemacs-flag.
	(mh-show-xface): Use mh-show-use-xface-flag.
	This addresses part of SF #627015.

2002-10-23  Bill Wohler  <wohler@newt.com>

	* Makefile (all): Rather than have to run "make clean all" all the
	time, make the default target do a clean so all you have to say is
	"make".

	* mh-e.el (mh-folder-map): Moved "t (mh-toggle-threads)" to T
	prefix.

2002-10-22  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-indexer-choices, mh-swish-binary): The
	executable swish-e can be used to search (just like swish-search).
	However the Makefile in swish-e-2.2.2 doesn't install
	swish-search. So it is preferable to use swish-e.

2002-10-22  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-letter-mode-map): Added aliases for keybindings.
	For example, you now have "C-c C-m C-i" in addition to "C-c C-m
	i".

2002-10-22  Mark D. Baushke  <mdb@gnu.org>

	* mh-mime.el (mh-graphical-smileys-flag): Renamed from
	mh-graphical-smileys-p.
	(mh-display-smileys): Use it.
	(mh-graphical-emphasis-flag): Renamed from mh-graphical-emphasis-p.
	(mh-display-emphasis): Use it.  This addresses part of SF #627015.

2002-10-22  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-insert-mime-security-button): A message is
	produced if PGP decryption/verification fails. This addresses
	SF# 627025.

2002-10-21  Bill Wohler  <wohler@newt.com>

	* mh-seq.el (mh-widen): Checkdoc removed the period in the error.
	The info node (elisp) Coding Conventions says: "An error message
	should start with a capital letter but should not end with a
	period."

	* mh-e.el, mh-utils.el (mh-tool-bar-reply-3-buttons): Moved
	defcustom to mh-utils because I got an error about a nil value for
	mh-tool-bar-reply-3-buttons when I fired up mh-rmail.

	* mh-comp.el, mh-funcs.el, mh-mime.el, mh-pick.el: Moved (provide)
	to the end of the file to be consistent with most other files (see
	additional rationale in mh-e.el description below).

	* mh-e.el: Had to remove eval-when-compile from the (require 'cl)
	here too (because the remove-if generated a warning in CVS Emacs).
	Moved (provide) to the end of the file to be consistent with most
	other files. My guess is that this is good to keep a feature from
	being "provided" if the file craps out while being loaded.

2002-10-21  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-reply, Info-goto-node): Add autoloads to avoid
	compiler warnings.
	(mh-tool-bar-reply-3-buttons): Add defvar to avoid compiler
	warning.

	* mh-seq.el (mh-narrow-to-seq): Remember that a narrowing has
	occurred.
	(mh-valid-view-change-operation-p): New function that checks if
	the widening or unthreading that we are about to perform is
	allowed.
	(mh-widen): Check if widening is applicable.
	(mh-thread-inc, mh-thread-folder): Use delete-region instead of
	erase-buffer. This means if the buffer is narrowed then the hidden
	parts aren't removed. This allows widening of the folder later on.
	(mh-toggle-threads): Maintain mh-view-ops.

	* mh-e.el (mh-view-ops, mh-folder-mode): New buffer-local variable
	that keeps track of the sequence in which threading and narrowing
	of the folder buffer has been carried out. This is needed so that
	narrowing followed by threading (or vice versa) behaves in a
	reasonable manner.
	(mh-regenerate-headers): Use delete-region instead of
	erase-buffer.
	(mh-make-folder-mode-line): Change mh-first-msg-num and
	mh-last-msg-num conservatively. This might show a larger range in
	the mode-line but allows the unthreading to not miss messages
	present initially.

2002-10-21  Bill Wohler  <wohler@newt.com>

	* mh-mime.el (mh-graphical-emphasis-p): Added _underline_ to the
	docstring, as well as the source of the strings,
	gnus-emphasis-alist.
	(mh-graphical-emphasis-p, mh-graphical-smileys-p): Set the default
	to t.

2002-10-21  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-show-mode): Invoke new toolbar.
	(mh-show-tool-bar-map): New tool-bar for mh-show-mode, similar to
	mh-letter-mode.

2002-10-21  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-display-msg): Call the smiley display function
	after the call to mh-show-mode. This is needed since mh-show-mode
	kills all buffer-local variables and resets the variable that
	controls display of graphical smileys.

2002-10-21  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-folder-mime-action): Change mime to MIME in message.

	* mh-comp.el (mh-mml-to-mime autoload): Ditto.

2002-10-21  Mark D Baushke  <mdb@gnu.org>

	* mh-mime.el (smiley-region): Use load for a non-fatal dependency
	on the smiley library.

2002-10-21  Jeffrey C Honig  <jch@honig.net>

	* mh-comp.el (mh-forward): Search for a blank line as well as
	mail-header-separator.
	(mh-letter-mode): Search for a blank line as well as
	mail-header-separator.
	(mh-send-letter): The default BCC encapsulation will make a MIME
	message unreadable.  If we are running nmh and the letter contains
	a Bcc: and a Content-Type: field, add the -mime switch to to the
	arguments to send.

2002-10-21  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el: Add a mh-defun-show-buffer call to define
	mh-show-pack-folder.

2002-10-21  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-store-mime-parts): Simplify code a bit.

	* mh-e.el (mh-help-messages): Update help message for changed
	keybindings.

2002-10-21  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el (mh-speed-invalidate-map): Invalidate
	mh-speed-folders-cache before it is used by mh-speed-folders. Also
	fix indentation of if statement.
	(mh-speed-folder-size): The folder name should be extracted from
	the speedbar buffer and not from the temp buffer has was happening
	before.
	(mh-speed-folder-size): Harden the function some more. It
	shouldn't produce errors any more unless flist really didn't work.

2002-10-21  Bill Wohler  <wohler@newt.com>

	* mh-seq.el (mh-put-msg-in-seq): Formatting only. The reason I was
	in there is because I was trying to use mh-put-msg-in-seq and
	mh-msg-is-in-seq non-interactively and found that although the
	docstring says it uses the current message by default, I got
	errors if I passed in nil for the message. Is this expected, or is
	this a bug? I suppose the fix would be to make the arguments
	optional, right? This would cause the arguments in
	mh-put-msg-in-seq to be reversed, however. Might be a backwards
	compatibility problem.

	* mh-speed.el (mh-speed-view): Convert default size to string
	before passing it to read-string. This was done because XEmacs
	can't handle a numeric value for the default.

2002-10-20  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-show-mode-map, mh-show-folder-map)
	(mh-show-sequence-map, mh-show-thread-map, mh-show-extract-map)
	(mh-show-digest-map, mh-show-mime-map): Interactive functions
	callable in show buffer are now prefixed with mh-show.

	* mh-seq.el (mh-notate-deleted-and-refiled): Take into account the
	changes to mh-refile-list and the removal of the 'deleted
	sequence.
	(mh-toggle-threads): Changing from threaded to normal view doesn't
	try to push out message refiles and deletions to MH.

	* mh-e.el (mh-rescan-folder, mh-scan-folder): Add a new optional
	argument to both functions that prevents them from carrying out
	pending refiles and deletes.
	(mh-undo): Remove dead code.
	(mh-delete-a-msg, mh-undo-msg): Get rid of the 'deleted sequence.
	The same information is present in mh-delete-list any way.
	(mh-refile-a-msg, mh-undo-msg, mh-process-commands): Change the
	semantics of mh-refile-list to make it self-contained. This
	variable now contains a list of lists. The first element of each
	sublist is the destination folder name. The remaining elements are
	the messages that are to be refiled to the destination folder.
	(mh-toggle-threads, mh-folder-folder-menu): Use mh-toggle-threads
	instead of mh-thread-folder.

2002-10-20  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-store-mime-parts): Bug fix?  Make this command
	work when in the show buffer, and not just in the folder buffer
	pointing to a message.

2002-10-20  Peter S Galbraith  <psg@debian.org>

	* mh-seq.el (mh-narrow-to-subject-sequence): Renamed from
	mh-narrow-to-subject-thread.
	(mh-subject-to-sequence): Renamed from mh-subject-thread-to-sequence.
	(mh-delete-subject-sequence): Renamed from mh-delete-subject-thread.
	(mh-next-unseen-subject-sequence): Renamed from
	mh-next-unseen-subject-thread.
	(mh-toggle-subject-thread): Removed.  :-(

	* mh-e.el: s/subject-thread/subject-sequence/
	(mh-thread-map): Bind mh-widen to "w".

	* mh-utils.el: s/subject-thread/subject-sequence/
	(mh-show-thread-map): Bind mh-widen to "w".

2002-10-20  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-folder): This function is no longer
	interactive. The mh-toggle-threads is the interactive function
	that gets called by the user. Also the already computed values in
	mh-first-msg-num and mh-last-msg-num are used instead of
	recomputing the first and last message indices in the current
	folder.
	(mh-toggle-threads): New interactive function that toggles
	threaded view of the folder.

	* mh-utils.el (mh-letter-toggle-threads): New interactive function
	which toggles thread view from show buffer. This function replaces
	mh-letter-thread-folder.
	(mh-show-folder-map): Use mh-letter-toggle-threads instead of
	mh-letter-thread-folder.

	* mh-e.el (mh-folder-map): Use mh-toggle-threads instead of
	mh-thread-folder.

2002-10-20  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-scan-folder): Formatting only.
	(mh-goto-cur-msg): Removed call to mh-last-msg in those cases
	where there isn't a current message. Since I've started using the
	speedbar to read my mh-e mail, I've had to use M-< every time to
	go to the beginning of the new messages. Very annoying! Thus, if
	there isn't a current message, the cursor is left alone, which
	sounds like the right thing to do anyway.

2002-10-19  Peter S Galbraith  <psg@debian.org>

	* mh-seq.el (mh-subject-thread-to-sequence): Bug fix.  After
	making the 'subject sequence real, I now have to delete it globally.

	* mh-seq.el (mh-toggle-subject-thread): Make toggle back to full
	scan exactly mh-widen (removed moving to current message).

	* mh-seq.el (mh-subject-thread-to-sequence): Make 'subject
	sequence a real one, exported to MH.  This means you can, for
	example, mh-forward it.  But it also shows up with a mark in the
	scan output.  (Closes SF #489445).

2002-10-19  Bill Wohler  <wohler@newt.com>

	* mh-speed.el (mh-speed-view): If there weren't any unseen
	messages, and you specified a string (a sequence like "last") when
	prompted for the number of messages to display, you got an error.
	This has been fixed.

2002-10-19  Mark D Baushke  <mdb@gnu.org>

	* mh-e.el (mh-last-destination-folder): Destination of last refile
	command.
	(mh-last-destination-write): Destination of last write command.
	(mh-refile-msg): Use 'mh-last-destination-folder and update both it
	and 'mh-last-destination.
	(mh-write-msg-to-file): Use 'mh-last-destination-write and update
	both it and 'mh-last-destination (Closes SF #580772).

2002-10-19  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-yank-from-start-of-msg): Changed default to
	'attribution.
	(mh-letter-mode-map): Removed commented-out keybindings as well as
	alias "C-c C-m a (mh-compose-insertion)." Prefer "C-c C-m i."

	* mh-utils.el: Removed autoload of help. It no longer appears to
	be necessary in cvs Emacs (21.4).

2002-10-18  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-execute-commands): Doc fix.
	(mh-compat-write-file-hook): Renamed to
	mh-write-file-functions-compat.
	(mh-folder-mode): Add mh-write-file-functions-compat instead of
	mh-compat-write-file-hook

2002-10-18  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-invisible-headers-show-xface): Killed this
	variable.
	(mh-invisible-headers): Use 'mh-show-use-xface instead of
	'mh-invisible-headers-show-xface to determine whether to render
	the X-Face header line visible or not.

2002-10-18  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-compat-write-file-hook, mh-folder-mode): Use the new
	macro mh-compat-write-file-hook to use write-file-functions for
	Emacs 21.4 and local-write-file-hooks for older versions.

2002-10-18  Mark D Baushke  <mdb@gnu.org>

	* mh-utils.el (mh-invisible-headers): Add more anti-spam headers.

2002-10-18  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-mml-forward-message): mml-attach-file constructs
	a malformed composition if the description string is empty, so
	test for that and call mml-attach-file without that argument if
	it's an empty string (closes SF #625168).

2002-10-17  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-keymap): Removed extra binding of " ".
	(mh-index-folder-mode-help-messages): Made the cheat sheet entry
	of quit like the others.
	(mh-index-search): If space was pressed in the index buffer before
	a search result has been shown with ".", the old show buffer would
	be scrolled. This is confusing since the index and show buffer
	contents are contradictory. Killing the show buffer here avoids
	this problem.
	(mh-index-configure-windows): Refine the window configuration
	logic. Avoid the two window view unless there is a message being
	displayed in the show buffer.
	(mh-index-scroll-up): Rewrite this function. The old version had a
	bizarre problem where the show buffer wouldn't be scrolled if the
	speedbar was present.
	(mh-index-scroll-down): Rewritten because of similar reason as
	above.

2002-10-17  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-reply): Add an undo boundary in the undo list
	before calling 'mh-yank-cur-msg (closes SF #623693).

2002-10-17  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-folder-mode): Use local-write-file-hooks instead of
	write-file-hooks. This is required for XEmacs and also the right
	thing according to GNU Emacs21 documentation.

2002-10-16  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-generate): Get threading to work correctly
	on partial folders. The fix here disregards messages that aren't
	already present in the buffer.
	(mh-thread-folder): When querying scan about thread info try to
	avoid asking about messages that aren't present in the folder
	buffer. A more efficient fix would be to ask scan about just the
	messages that are present instead of a range of messages. However
	that runs the risk of sending long command lines to scan. Another
	change was to populate the mh-scan-line-map early so that the
	change in mh-thread-generate would work.
	(mh-thread-generate-scan-lines): In case duplicates are present
	make one of them the pseudo parent of the rest. This makes it look
	prettier if there are multiple duplicates at top level.

	* mh-comp.el (mh-edit-again): If a buffer in show-mode is being
	reused then reinsert message file. This should fix SF #624283.

	* mh-mime.el (mh-mm-display-part): Make sure mh-display-part is
	always called when we want to remove the displayed MIME part.

2002-10-16  Bill Wohler  <wohler@newt.com>

	* mh-speed.el (mh-speed-folder-size): checkdoc fix.
	(mh-speed-view): Tweaked output to mirror gnus verbiage. Offer
	to view number of messages in folder rather than mh-large-folder.
	Replaced (intern mh-unseen-seq) with mh-unseen-seq since the
	former was generating errors.

2002-10-15  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el (mh-large-folder): New customizable variable to
	control mh-e's perception of large folders.
	(mh-speed-folder-size): New function which computes the size of
	folder on current line.
	(mh-speed-view): Modified to handle large folders. If the folder
	being clicked has unseen messages then only those messages are
	shown. Otherwise if number of messages in folder is larger than
	mh-large-folders then the user is asked for the number of messages
	to be shown. If the folder satisfies neither of the above cases
	then it is displayed in its entirety

2002-10-15  Bill Wohler  <wohler@newt.com>

	* mh-index.el (mh-index-keymap): Use gnus-define-keys. Sorted.
	Noticed that there were two key bindings for SPACE...

	* mh-speed.el (mh-folder-speedbar-key-map): Ditto (except for the
	dup SPACE binding).

	Completed help in other modes:

	* mh-utils.el (mh-xemacs-p): Fixed doc.
	(mh-show-mode-map, mh-show-folder-map, mh-show-sequence-map)
	(mh-show-thread-map, mh-show-extract-map): Added binding for
	mh-help.

	* mh-pick.el (mh-search-folder): Added startup help message.
	(mh-pick-mode-help-messages): New variable that contains help
	messages for pick buffer.
	(mh-pick-mode): Set local buffer variable mh-help-messages to
	mh-pick-mode-help-messages.

	* mh-index.el (mh-index-keymap): Added binding for mh-help.
	(mh-index-folder-mode-help-messages): New variable that contains
	help messages for MH Index buffer.
	(mh-index-folder-mode): Set local buffer variable mh-help-messages
	to mh-index-mode-help-messages.

	* mh-funcs.el (mh-help, mh-prefix-help): Call
	substitute-command-keys on the help messages.

	* mh-e.el (mh-help-messages): Added ,. Ran C-M-q.
	(mh-help): This autoload doc is now used for more than just the
	MH-Folder, so drop that specific text.

	* mh-comp.el (mh-edit-again, mh-extract-rejected-mail)
	(mh-forward, mh-reply, mh-send-sub): Call mh-letter-mode-message
	to display a help message at startup.
	(mh-letter-mode): Set local buffer variable mh-help-messages to
	mh-letter-mode-help-messages.
	(mh-letter-mode-help-messages): New variable with help messages
	for the MH-Letter buffer.
	(mh-letter-mode-message): New function that displays a startup
	help message.
	(mh-letter-mode-map): Added binding for mh-help. Sorted.

2002-10-15  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el (mh-speedbar-selected-folder-with-unseen-messages-face)
	(mh-speedbar-folder-face, mh-speedbar-selected-folder-face)
	(mh-speedbar-folder-with-unseen-messages-face): New faces for mh-e
	speedbar.
	(mh-folder-speedbar-buttons, mh-speed-update-current-folder)
	(mh-speed-add-buttons): Use the new faces.
	(mh-speed-normal-face, mh-speed-bold-face): Functions to convert
	to bold face and back to normal face.
	(mh-speed-set-face): Removed.
	(mh-speed-highlight): Modified to allow it to be used instead of
	mh-speed-set-face. Also changes were made to fontify folders with
	unread messages.
	(mh-speed-parse-flists-output, mh-speed-parse-flists-output)
	(mh-speed-invalidate-map): Use mh-speed-highlight instead of
	mh-speed-set-face.

2002-10-15  Bill Wohler  <wohler@newt.com>

	* mh-mime.el, mh-seq.el, mh-speed.el, mh-utils.el: It appears that
	the cl package has been restructured in 21.4 in such a way that
	the use of eval-when-compile no longer suppresses warnings when
	compiling so that (require 'cl) must be called directly (maybe
	this is a bug in 21.4 ;-). Thus the autoloads of cl are no longer
	needed. Now compiles clean under 21.4.

	* mh-e.el (mh-folder-mode): The use of local-write-file-hooks is
	deprecated in Emacs 21.4, so use add-hook write-file-functions (or
	write-file-hook for older versions) with the LOCAL argument
	instead. Now compiles clean under 21.4.

	* mh-comp.el (mh-yank-cur-msg): Push a mark at the opposite end of
	the included text to make it easy to jump or delete to the other
	end of the included text.

2002-10-15  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el (mh-insert-prefix-string): Remove the erroneous use
	of set-mark and other related functions.

2002-10-14  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-yank-from-start-of-msg): Fixed documentation. It
	isn't ignored if there is a region. It is still used for the
	attribution.
	(mh-yank-cur-msg): Removed unnecessary push-mark when snarfing the
	entire message. Move the cursor to the end of the snarfed message
	if there is a region. In this case, push a mark so user can pop to
	the beginning of the snarfed fragment.
	(mh-insert-prefix-string): This calls set-mark which I find
	suspect since I found that my last user mark was deleted after
	yanking a message. Added a comment to this effect. Will probably
	add a bug report...

	* README (Installed, Supported versions): To appear in GNU Emacs
	21.3; supported on Emacs 21, 20.7 and XEmacs 21.

	* mh-funcs.el (mh-concat-list): Deleted. Use mapconcat instead.
	(mh-help, mh-prefix-help): Use mapconcat instead of mh-concat-list.
	(mh-ephem-message): Use "%s" in message.

	* mh-funcs.el (mh-concat-list): New function to concatenate a list
	of strings into a single string. I would have thought elisp
	already contained a function like this, but I couldn't find it.
	(mh-ephem-message): New function to display a message in the
	minibuffer ephemerally. minibuffer-message seemed like the right
	function, but it writes to the current buffer oddly enough.
	(mh-help, mh-prefix-help): New functions to display command
	cheat sheets in the minibuffer (closes SF #493740). It would be
	nice to refactor these two into a single function if possible.

	* mh-e.el (mh-folder-mode-map, mh-folder-map, mh-sequence-map)
	(mh-thread-map, mh-extract-map): Added ? keybinding for `mh-help'
	and `mh-prefix-help' (closes SF #493740).
	(mh-help-messages): New variable to hold various help messages.
	(mh-help, mh-prefix-help): Autoload from mh-funcs.el.

2002-10-13  Bill Wohler  <wohler@newt.com>

	* mh-index.el (mh-glimpse-directory, mh-swish-directory,
	mh-namazu-directory): New variables that hold the name of the
	configuration and indexing directory. All are now hidden `.'
	directories.

	* mh-e.el, mh-funcs.el, mh-index.el, mh-mime.el, mh-pick.el,
	mh-seq.el, mh-xemacs-compat.el (Docstrings): Converted comments to
	docstrings, reworded some docstrings to conform to Emacs
	documentation conventions, and eliminated all checkdoc warnings
	(except for -flag, which we'll fix after 6.2 is released).

2002-10-13  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-swish-next-result): Fix a bug in a corner case
	where the lack of a trailing "/" caused the function to wrongly
	filter out correct hits. This should fix SF #622679.

2002-10-12  Steve Youngs  <youngs@xemacs.org>

	* mh-utils.el (mh-xemacs-p): Simplify it, don't test for
	'defvaralias' and don't use 'running-xemacs'.

2002-10-11  Bill Wohler  <wohler@newt.com>

	* mh-comp.el: (Docstrings): Eliminated all checkdoc warnings by
	converting comments to docstrings and rewording some docstrings to
	conform to Emacs documentation conventions.

2002-10-11  Steve Youngs  <youngs@xemacs.org>

	* mh-utils.el (mh-xemacs-p): New.
	(mh-show-use-xface): Use it.
	(mh-show-xface-function): Ditto.

	* mh-e.el (toplevel): Ditto.
	(mh-remove-xemacs-horizontal-scrollbar): Ditto.
	(mh-folder-mode-map): Ditto.

	* mh-comp.el (mh-insert-x-mailer): Ditto.

	* mh-mime.el (gnus-local-map-property): Ditto.
	(mh-mml-to-mime): Move (require 'mh-utils) to toplevel.
	(mh-prompt-for-folder): Autoloading this not needed because
	mh-utils is now required at toplevel.
	(mh-show-xface): Ditto.
	(mh-show-addr): Ditto.

2002-10-11  Bill Wohler  <wohler@newt.com>

	* Makefile (EMACS_HOME): Set default to $(TOP)/../emacs so it
	would be useful.

	* mh-utils.el (mh-invisible-headers): Added various spam header
	fields.
	(mh-path-search): Removed argument `func-p' and related code. It
	was not documented and no one used it.
	(Docstrings): Converted comments to docstrings, reworded some
	docstrings to conform to Emacs documentation conventions, and
	basically eliminated all checkdoc warnings (except for -flag
	warnings).

2002-10-11  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-generate): Kill dead code.

2002-10-10  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-region-to-sequence): Don't include point-max in
	region (closes SF #621632).

	* mh-utils.el (mh-defun-show-buffer): Fix call of
	frame-first-window to work with XEmacs. Also avoid warning about
	cur-buffe-name in XEmacs.
	(mh-modify, mh-goto-msg): Remove dead code.

	* mh-speed.el (mh-speed-toggle, mh-speed-add-buttons): Remove dead
	code.

	* mh-seq.el (mh-subject-thread-to-sequence, mh-thread-get-message,
	mh-thread-generate, mh-thread-folder): Remove dead code.

	* mh-mime.el (mh-mm-inline-message): Remove dead code.

	* mh-index.el (mh-index-search): Remove dead code.

	* mh-comp.el (mh-open-line): Remove dead code.

	* mh-e.el (mh-folder-mode): Use the macro
	mh-remove-xemacs-horizontal-scrollbar to avoid compiler-warning in
	Emacs.
	(mh-remove-xemacs-horizontal-scrollbar): New macro to avoid
	compiler-warnings.

2002-10-10  Mark D Baushke  <mdb@gnu.org>

	* Makefile (EMACS_OPTIONS): New macro for command-line compile
	options.
	(EMACS): Allow the user to specify which emacs command to use for
	the compile.
	(COMPILE_COMMAND): Combine the compile command with its options.
	(.el.elc): Use the new $(COMPILE_COMMAND).

2002-10-10  Mark D Baushke  <mdb@gnu.org>

	* mh-speed.el (mh-speed-select-attached-frame): Define a new
	compatibility macro for getting to the attached-frame.
	(mh-speed-update-current-folder): Use it.

2002-10-10  Mark D Baushke  <mdb@gnu.org>

	* mh-speed.el (mh-speed-update-current-folder): Use
	'dframe-select-attached-frame if we are in a newer speedbar
	version that no longer supports the 'speedbar-attached-frame
	variable.

2002-10-10  Steve Youngs  <youngs@xemacs.org>

	* mh-speed.el (mh-speed-update-current-folder): Use
	'dframe-select-attached-frame' if we're in XEmacs.

	* mh-e.el (mh-folder-mode): Remove the horizontal scrollbar from
	the MH-Folder buffer if we're in XEmacs.

2002-10-09  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-show-xface-function): New global that stores
	what function needs to be called to display X-Face.
	(mh-show-xface): Rewritten to avoid compiler warning.

2002-10-09  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-exchange-point-and-mark-preserving-active-mark):
	Simplify code for all emacsen to avoid byte-compilation warnings.

2002-10-09  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-mm-display-part): If a sub-part of the current
	part is an inline image then clicking the button keeps the image
	around. The change fixes this bug.

2002-10-09  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-exec-cmd-output): Use new function
	'mh-exchange-point-and-mark-preserving-active-mark instead of
	'exchange-point-and-mark.  Fixes a bug in emacs20 and XEmacs21.
	(mh-exchange-point-and-mark-preserving-active-mark): New function.
	Does like 'exchange-point-and-mark but doesn't activate the mark.

	* mh-comp.el (mh-letter-menu): Allow access to "Pull in All
	Compositions" menu entries when edits have really occurred.
	Works with "forw: -mime" mh_profile entry, so this fixes a bug.

	* mh-mime.el (mh-mime-inline-part, mh-mm-display-part): Use
	line-beginning-position and line-end-position instead of
	point-at-bol and point-at-eol XEmacs functions.
	* mh-xemacs-compat.el: Added line-end-position and
	line-beginning-position compatibility aliases.

2002-10-08  Mark D. Baushke  <mdb@gnu.org>

	* mh-utils.el (mh-scan-msg-format-regexp): The regexp to find
	%number(msg).
	(mh-scan-msg-format-string): Format to be used with the current
	maximum width of message number for the folder in the
	`mh-upate-scan-format' function.
	(mh-update-scan-format): Use `mh-scan-msg-format-regexp' for greater
	flexibility. The message number is no longer anchored to the
	beginning of the `mh-scan-format-nmh' or `mh-scan-format-mh' format
	strings. The `mh-update-scan-format' allows for using zero-filled
	message numbers.

2002-10-08  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-folder-menu): Add entry for "Thread Folder".

2002-10-07  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-generate): Use mh-progs to get path to mh
	executables.

	* mh-speed.el (mh-speed-flists): Use mh-progs to get path to mh
	executables right.
	(mh-speed-folders-actual): Same as above.

2002-10-05  Steve Youngs  <youngs@xemacs.org>

	* mh-comp.el (mh-yank-from-start-of-msg): Make default setting 't'
	a const.

	* mh-xemacs-compat.el (match-string-no-properties): Rewrite as a
	defsubst using 'buffer-substring-no-properties' so we don't grab
	any extents.
	(rfc822-goto-eoh): Removed.  This exists in the XEmacs mail-lib
	package.
	(mail-header-end): Ditto.
	(mail-mode-fill-paragraph): Ditto.

2002-10-05  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el (mh-speed-invalidate-map): When called interactively
	the function will clear mh-speed-folders-cache.

2002-10-02  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-insert-mime-button): Rewrite without using
	replace-match.

2002-10-01  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-file-mime-type-substitutions): Reorder code to
	avoid compiler warning.

2002-10-01  Bill Wohler  <wohler@newt.com>

	* Makefile (MH-E-ETC): Moved ChangeLog into MH-E-ETC-ETC since it
	shouldn't get installed in Emacs.
	(install-emacs): Install MH-E-IMG into Emacs' lisp/toolbar and
	MH-E-IMG2 into Emacs' lisp/mail.

2002-10-01  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-tool-bar-reply-3-buttons): New customization.
	Non-nil means use three buttons for reply commands in tool-bar.
	If you have room on your tool-bar because you are using a large
	font, you may set this variable to expand the single reply
	button into three buttons that won't lead to minibuffer prompt
	about who to reply to.
        (mh-folder-tool-bar-map): Use mh-tool-bar-reply-3-buttons to
	decide how many buttons to use for replying.

	* mh-mime.el (mh-file-mime-type-substitutions)
	(mh-file-mime-type-substitute): Fix typos and doc strings.

2002-09-30  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-file-mime-type): Run Content-Type string returned
	by file command through mh-file-mime-type-substitute (see below).
	(mh-file-mime-type-substitute): Possibly change Content-Type
	string using mh-file-mime-type-substitutions variable.  This is
	mostly because all MS-Office file are seen as application/msword
	by the file command.
	(mh-file-mime-type-substitutions): New variable.  Defines
	substitutions to make for Content-Type returned from file command.

2002-09-27  Bill Wohler  <wohler@newt.com>

	* README: Moved Id to end of file since it broke outline mode at
	the beginning.

	* import-emacs (release): Renamed "mainline" tag to
	"emacs-mainline" to correspond with existing CVS tag.
	(EMACS_HOME): Fixed typo in docstring.

	* mh-utils.el (mh-folder-name-p, mh-defun-show-buffer): Lowercase
	NIL and T in docstring.
	(mh-update-scan-format): Fixed typo.

	* mh-comp.el, mh-e.el, mh-pick.el, mh-utils.el: Updated from CVS
	Emacs. The only new thing appears to be to downcase NIL and T in
	the documentation.

2002-09-26  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-generate): The threading code will now be
	more resistant to corruption of messages. Before the change any
	corruption of message x would cause all messages with indices
	higher than x to be neglected when threading!

2002-09-23  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-store-mime-parts): Don't store value into
	user-customizable variable mh-store-mime-parts-default-directory
	and use  mh-store-mime-parts-directory instead.

2002-09-20  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-prune-subject): Use regular expressions to
	make the subject pruning behave the way it is specified in the
	imap-thread RFC.

	* mh-speed.el (mh-speed-folders-actual): Don't use pop when we
	are not going to use the first element. This avoids a compilation
	warning with cvs emacs.

2002-09-19  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-display-msg): Put the call to
	set-buffer-modified after mh-show-mode. This is needed for CVS
	emacs since calling mh-show-mode marks the buffer as modified if
	font-lock is on.

2002-09-17  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-store-mime-parts-default-directory): Renamed from
	mh-store-mime-parts-directory.
	(mh-store-mime-parts-directory): Renamed from
	mh-store-mime-parts-directory-default.

2002-09-16  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mail-citation-hook): Doc tweaks suggested by Bill.

2002-09-08  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (autoloads): Reorder autoload of mh-reply to avoid
	compiler warning.

2002-09-03  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-store-mime-parts-directory): New defcustom.
	Default directory to use for mh-store-mime-parts.
	(mh-store-mime-parts): New Command.  Store the MIME parts of the
	current message.
	(mh-store-mime-parts-directory-default): New internal working
	variable.  Default to use for mh-store-mime-parts-directory, set
	from last use.

	* mh-e.el (mh-folder-seq-tool-bar-map): Add mh-store-mime-parts to
	toolbar.

2002-08-22  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-generate-scan-lines): In threaded view,
	complete scan lines are printed for all messages (not just the
	ones at the top of a thread).

	* mh-index.el (mh-index-insert-scan): Replace use of kill-line
	since that pollutes the kill-ring.

	* mh-comp.el (autoloads): Add autoloads for search and subseq to
	get rid of compiler warnings.

2002-08-19  Peter S Galbraith  <psg@debian.org>

	* reply-to.xpm, reply-to.pbm, reply-from.xpm, reply-from.pbm,
	* reply-all.xpm, reply-all.pbm: New icons for various reply methods.
	* mh-e.el (mh-folder-tool-bar-map): Split reply button into three
	that won't prompt for "from", "to" and "all".
	* mh-comp.el (mh-reply): Put variable reply-to in the interactive
	list since it's specified on the command line for the new toolbar.

	* mh-comp.el (mail-citation-hook): Tweak docs concerning
	historical usage for supercite.
	(mh-yank-from-start-of-msg): Add settings 'supercite and
	'autosupercite.  Rename 'automatic to 'autoattrib.
	(mh-insert-prefix-string): Invoke sc-cite-original if
	mh-yank-from-start-of-msg is et to 'supercite or 'autosupercite.

2002-08-17  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el (compilation-fix): Reorder defvars to avoid warnings
	during compilation.

2002-08-17  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-yank-from-start-of-msg): Add 'automatic choice.
	Do as for `attribution' automatically when show buffer matches the
	message being replied-to.
	(mh-reply): Call 'mh-yank-cur-msg when mh-yank-from-start-of-msg
	is set to 'automatic and show buffer matches message number being
	replied-to.
	(mh-show-buffer-message-number): New helper function to get the
	message number of the current show-buffer.
	(mh-yank-cur-msg): Handle 'automatic choice the same as 'attribution.
	(mh-yank-cur-msg): Bug fix.  It would bail on error if
	mh-show-buffer didn't exists.

2002-08-16  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-insert-x-mailer): It wrongly assumed that Emacs
	was used even when XEmacs was used.  Fixed so X-Mailer header is
	more exact about what we are using.

2002-08-15  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-version): Change CVS version number to 6.1+cvs just
	so X-Mailer header is more exact about what we are using.

	* mh-mime.el (mh-mhn-compose-insertion, mh-mhn-compose-anon-ftp,
	mh-mml-attach-file):
	"Jeffrey P. Morgenthaler" <jpmorgen@congee.gsfc.nasa.go> reported
	that "require" in emacs 20.3 doesn't handle 3 arguments.  We
	use "load" at the top of file elsewhere anyway to handle such a
	case of non-essential loading, so switch to that here.

2002-08-06  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-funcs.el (autoload): Add autoload for mh-speed-invalidate-map.

	* mh-speed.el (mh-speed-add-folder): New function to make the
	speedbar aware of new folders when they are created by mh-e.

	* mh-utils.el (mh-prompt-for-folder): Use mh-speed-add-folder to
	tell speedbar that new folder is being created. Also use folder
	instead of mkdir to create new folders.

2002-08-01  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-decode-quoted-printable): Conditionalize the
	limit of search for quoted-printable.  If we're using mm-decode
	for MIME decoding, it's possible that `mimedecode' could mess our
	message, so we only run a full search for quoted-printable parts
	when not using gnus' mm-decode.  When using mm-decode, mimedecode
	can still help by handling the case of the whole message being
	quoted-printable as opposed to only a part.

2002-07-31  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-compose-insertion): Moved from mh-mime.el because
	the pulldown menu were broken in XEmacs21 from this variable being
	undefined.

2002-07-28  Mark D. Baushke  <mdb@gnu.org>

	* mh-utils.el (mh-show-mode): Use the default paragraph-start
	rather than the inherited text-mode value.

2002-07-28  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-duplicates): New hash table to track
	duplicate messages.
	(mh-thread-get-message): Remove debug code.
	(mh-thread-canonicalize-id): Modified to handle messages without
	message-id header. Such messages are given distinct copies of the
	empty string as message-id.
	(mh-thread-generate): The function was inadvertently rebuilding
	the thread tree when message refiles and message deletes are
	processed. The change here fixes that. Also code has been added to
	keep track of duplicate message-id's.
	(mh-thread-generate-scan-lines): Modified to print scan lines for
	duplicate messages (that is messages with the same message-id).
	(mh-thread-forget-message): Modified to maintain
	mh-thread-duplicates.

2002-07-22  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el (mh-speed-parse-flists-output): Use delete-region
	instead of kill-region. Otherwise the kill ring gets polluted.

2002-07-16  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-thread-update-scan-line-map): New function to
	refresh the stale scan lines.
	(mh-thread-inc): Update old scan lines when mh-thread-inc is
	called. Otherwise notations for deleted and refiled messages get
	lost and the folder display gets out of sync with real mh-e state.

	* mh-mime.el (mh-mm-display-part): Call Gnus citation highlight
	code when text part is displayed. Otherwise buttonized text parts
	aren't correctly fontified when they are displayed.

2002-07-15  Mark D. Baushke  <mdb@gnu.org>

	* mh-utils.el (mm-decode): Use load for the Non-fatal depencency
	on the mm-decode library.
	* mh-mime.el (mm-decode, mm-uu, mm-view): Use load for the
	Non-fatal depencencies on the mm-decode, mm-uu and mm-view
	libraries.

2002-07-15  Satyaki Das <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-require, mh-autoload): Remove these macros.
	(mh-decode-mime): Initialized to t iff the mm-decode library is
	present in the load-path.
	* mh-mime.el (mh-require): Don't use it anymore.

2002-07-15  Mark D Baushke  <mdb@gnu.org>

	* mh-utils.el (mh-update-scan-format): Rewrite for compatibility
	with Xemacs as replace-match appears not to have identical
	functionality with FSF emacs.
	(mh-scan-msg-format-regexp): Deleted. This regexp is now hardcoded
	into the mh-update-scan-format function.

2002-07-12  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el: Add message threading code.

	* mh-utils.el (mh-letter-thread-folder): New interactive function
	that allows switching to threaded view from show buffer.
	(mh-show-folder-map): Bound "F t" to call mh-letter-thread-folder.
	(mh-goto-msg): Replace the function to not assume that messages
	are sorted in the folder buffer.

	* mh-e.el (mh-folder-threaded-view-p): New buffer local variable
	in the folder buffer that records whether threaded view is being
	used currently.
	(mh-scan-subject-regexp, mh-scan-format-regexp): Get font lock
	working for threaded view as well.
	(mh-regenerate-headers): Reset mh-folder-threaded-view-p to nil.
	(mh-get-new-mail, mh-process-commands): Do incremental threading
	if folder is in threaded view.
	(mh-delete-scan-msgs): Update thread tables if folder is in
	threaded view.
	(mh-folder-map): Add "F t" as key binding for mh-thread-folder

	* mh-comp.el (mh-yank-cur-msg): Bug fix. mh-show-buffer is only
	has a meaningful value in the folder buffer.

2002-07-11  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-yank-cur-msg): Run only if mh-show-buffer
	actually exists (otherwise a back-traceable error occurred).

	* mh-utils.el (mh-find-progs): Run PATH search only when mh-progs,
	mh-lib and mh-lib-progs are not all already set.  This allows the
	user to set them using a simple setq prior to loading mh-e.  This
	is useful for implementation of mh-e on win32.  Note that many
	commands still call mh-find-path which also parses the mh_profile
	file (that may still fail on win32), so this is still done often.
	But it lets us change the mh_profile file and have mh-e see the
	changed file without exiting emacs and starting over so I left
	that in.

2002-07-04  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-show): Fixed a bug in mh-index-show which
	caused it to lose track of point when called from show buffer.

2002-07-04  Mark D. Baushke  <mdb@gnu.org>

	* Makefile: Add more information and common methods to allow both
	GNU make and Berkeley make to properly build everything.

2002-07-04  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-push-button): Bug fix for mime display with
	mouse. Select show window before executing the mime display
	functions.

2002-07-01  Mark D. Baushke  <mdb@gnu.org>

	* Makefile: Use a conditional variable assignment operator rather
	than ifndef to let Makefile be used by both GNU make and Berkeley
	make (or similar versions of make). This does not help Solaris
	/usr/ccs/bin/make, but Solaris make has problems with the ifndef
	syntax too.

2002-07-01  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-search): Check for mh-decode-mime before
	adding mh-mime-cleanup to kill-buffer-hook.

	* mh-mime.el (mm-destroy-parts): Add definition for old emacs.

2002-06-30  Mark D Baushke  <mdb@gnu.org>

	* mh-utils.el (mh-update-scan-format): Add documentation string.
	(mh-scan-msg-format-regexp): Update the regexp to find %(msg).
	(mh-set-cmd-note): When mh-scan-format-file is not t, dynamic
	update of mh-cmd-note is wrong. Do not assume that
	mh-scan-format-nmh and mh-scan-format-mh can be kept in lock-step
	with mh-cmd-note via mh-set-cmd-note. The mh-scan-format function
	is now where the updated mh-cmd-note value is put into the scan
	format.

	* mh-e.el (mh-generate-new-cmd-note): Add documentation string.
	(mh-scan-format): Use mh-update-scan-format to get updated copies
	of mh-scan-format-nmh and mh-scan-format-mh to avoid format skew.
	(mh-get-new-mail): Do not try to adapt mh-cmd-note unless
	mh-scan-format-file is equal to t.
	(mh-scan-format-nmh): No longer buffer local.
	(mh-scan-format-mh): No longer buffer local.

2002-06-30  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-max-msg-index): New variable to keep track
	of max message index among search results. If mh-adaptive-cmd-note
	is non-nil this is used to compute the width of the index field.
	(mh-index-search): Keep track of max index seen while parsing the
	search results and set it if mh-adaptive-cmd-note is non-nil.
	(mh-index-find-max-width): New function to find the required width
	of the message index field.
	(mh-defun-index): Binding buffer local variables is bad, so don't
	do that.
	(mh-index-show): New argument display-headers-p decides whether
	the message is displayed in raw form or not.
	(mh-index-header-display): New interactive function bound to ","
	which shows the message in raw form.
	(mh-index-keymap): Add appropriate bindings for backtab and ",".
	(read-from-string): Add ignore-errors around it so that the code
	doesn't die when it gets unexpected input.

2002-06-29  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-count-windows): This function works around the
	lack of the window-list builtin function in emacs20.

2002-06-29  Mark D Baushke  <mdb@gnu.org>

	* mh-utils.el (mh-message-number-width): New function to scan
	the last message of a folder and return its width.
	(mh-adaptive-cmd-note): New variable, if Non-nil indicates that
	mh-set-cmd-note should be called with the message width for the
	folder.
	(mh-cmd-note): Update documentation.
	(mh-update-scan-format): Helper function for updating the
	mh-scan-format-nmh and mh-scan-format-mh variables.
	(mh-scan-msg-overflow-regexp): New variable to help find problem
	messages after an inc.
	(mh-scan-msg-format-regexp): New variable to find the old message
	width in one of the mh-scan-format-nmh or mh-scan-format-mh
	variables.
	(mh-set-default-cmd-note): Replaced by mh-set-cmd-note.
	(mh-set-cmd-note): New function to replace update mh-cmd-note
	value.

	* mh-e.el (mh-regenerate-headers): If mh-adaptive-cmd-note is
	non-nil, use mh-set-cmd-note on empty folder buffers.
	(mh-make-folder): Ditto.
	(mh-generate-new-cmd-note): New function to adapt the mh-cmd-note
	to fit when mh-get-new-mail gets message number truncation.
	(mh-get-new-mail): Maybe use mh-generate-new-cmd-note if
	mh-adaptive-cmd-note is Non-nil.

2002-06-29  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el (mh-speed-view): The display gets confused if the
	cursor is in the show buffer when mh-speed-view is called. This is
	a fix for that.

2002-06-27  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-next-undeleted-msg): Get rid of optional arg
	reverse-p. If there are no more undeleted messages the the point
	remains at its original position and a message is produced (closes
	SF #494304).
	(mh-previous-undeleted-msg): Change similar to
	mh-next-undeleted-msg.
	(mh-next-msg, mh-refile-msg, mh-delete-msg): Backout previous
	change.
	(mh-folder-map): Bind "S-tab" and "K S-tab" to mh-prev-button.

	* mh-utils.el (mh-show-mode-map): Bind "S-tab" and "K S-tab" to
	mh-letter-prev-button.

	* mh-mime.el (gnus-newsgroup-name): Initialize it to nil, so that
	mm-uu-dissect doesn't cause error.

2002-06-27  Mark D Baushke  <mdb@gnu.org>

	* mh-utils.el (mh-cmd-note): Make buffer-local. Changes to this
	variable should be made via the new mh-set-default-cmd-note
	function.
	(mh-set-default-cmd-note): New function to setq-default the
	mh-cmd-note, mh-scan-format-mh and mh-scan-format-nmh values to
	related values.

	* mh-e.el (mh-scan-format-mh): Make buffer-local.
	(mh-scan-format-nmh): Ditto.
	(mh-scan-good-msg-regexp): Use a more general regular expression
	so that the width of message numbers, mh-cmd-note, may vary.
	(mh-scan-deleted-msg-regexp): Ditto.
	(mh-scan-refiled-msg-regexp): Ditto.
	(mh-scan-cur-msg-number-regexp): Ditto.
	(mh-scan-cur-msg-regexp): Ditto.
	(mh-scan-subject-regexp): Ditto.

2002-06-26  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-speed.el: Speedbar support code.

	* Makefile: Add mh-speed.el to MH-E-SRC.

	* mh-utils.el (mh-prompt-for-folder): Add speedbar hook if
	speedbar is being used.

	* mh-funcs.el (mh-kill-folder): Add speedbar hook if speedbar is
	being used.

	* mh-e.el (speedbar-autoloads): Autoload speedbar initialization
	functions so that speedbar can find them.

2002-06-25  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-grep-execute-search, mh-grep-next-result): Allow
	grep to be used to search mail.
	(mh-index-font-lock-keywords): Modified to avoid bug when using
	lazy font-lock.

	* mh-e.el (mh-delete-msg, mh-refile-msg): Modify so that if no
	undeleted (or unrefiled) message exists in the current movement
	direction then try to find an undeleted (or unrefiled) message in
	the opposite direction instead.
	(mh-next-undeleted-msg): Added a new optional argument. If non-nil
	search for undeleted message backwards if none exists in the
	forward direction.
	(mh-previous-undeleted-msg): Added an optional argument. If
	non-nil search for undeleted message in the forward direction if
	none exists in the backward direction.
	(mh-next-msg): Optional argument to change direction if undeleted
	messages are not found in the current direction.

	* mh-index.el (mh-cmd-note): Use mh-cmd-note instead of hardcoding
	the index field size to 4.

	* mh-utils.el (mh-show-addr, mh-show-xface): New functions added
	to do xface display and goto-addr interface to allow reuse by the
	mime display code.
	(mh-show-mode): Use mh-show-addr and mh-show-xface. Only add
	mh-mime-cleanup to kill-buffer-hook if mime decoding is enabled.
	(mh-modify): Use mh-letter-mode instead of mh-show-mode when
	editing messages.

	* mh-mime.el (mh-mm-inline-message): Arrange for xface and
	highlighting to work in forwarded messages.

2002-06-23  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-yank-from-start-of-msg): Add 'attribution' option
	to add an attribution line in mh-yank-cur-msg.
	(mh-extract-from-attribution-verb): Verb to use for attribution
	when a message is yanked by mh-yank-cur-msg.  Provides a method
	for setting a different language.
	(mh-yank-cur-msg): Add support for 'attribution' option.
	(mh-extract-from-attribution): Function to get the attribution
	line, or the sender from the From: line in the current show buffer.

2002-06-20  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-show): mh-display-msg was not being called
	in the show buffer. This causes weird results on some mime messages.

	* mh-mime.el (gnus-newsgroup-charset): Defvar to avoid error in
	pgp messages if gnus hasn't been used yet.

	* mh-comp.el (mh-letter-mode-map): Typo fix.

2002-06-19  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-mml-secure-message-encrypt-pgpmime): Typo fix.
	(compiler-warnings): Add autoloads to remove compiler warnings.

	* mh-index.el (autoload-fixes): Fix autoload forms.

2002-06-18  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el (mh-letter-mode-map): Change binding of "\C-c\C-ma"
	to mh-compose-insertion. Remove duplicate binding for "C-c\C-mf".
	(compiler-warnings): Add defvar to remove compiler-warning.

2002-06-18  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-menu): Conditionalize GPG function on
	mh-gnus-pgp-support-p.

	* mh-mime.el (mh-mml-forward-message): s/subseq/substring/.
	(mh-compose-forward): cut&paste typo: s/messages/message/.
	(mml-minibuffer-read-file): autoload added.
	(mml-minibuffer-read-description): autoload added.
	(mml-insert-empty-tag): autoload added.
	(mh-mml-secure-message-sign-pgpmime): Check mh-gnus-pgp-support-p.
	(mh-mml-secure-message-encrypt-pgpmime): Check mh-gnus-pgp-support-p.

2002-06-17  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-show-use-xface): Check for availability of
	`uncompface' executable on system.

	* mh-mime.el (mh-compose-forward): New front end for both
	mh-mml-forward-message and mh-mhn-compose-forw.
	(mh-compose-insertion): New front end for both mh-mml-attach-file
	and mh-mhn-compose-insertion.
	(mh-mml-to-mime): New function. Compose mime message from mml
	directives.
	(mh-mml-forward-message): New function. Forward a message as
	attachment.
	(mh-mml-attach-file): New function.  Attach a file to the outgoing
	MIME message.
	(mh-mml-compose-insert-p): New variable. Buffer-local variable to
	know whether MIME insertion was done.  Triggers an automatic call
	to `mh-mml-to-mime' in `mh-send-letter'.
	(mh-mml-secure-message-sign-pgpmime): New function.
	Front end to mml-secure-message-sign-pgpmime.
	(mh-mml-secure-message-encrypt-pgpmime): New function.
	Front end to mml-secure-message-encrypt-pgpmime.

	* mh-comp.el (mh-send-letter): automatic call to `mh-mml-to-mime'
	if mh-mml-compose-insert-p is set.
	(mh-letter-mode-map): Add keys for new mh-mime functions above.
	* mh-comp.el: Added autoloads for new mh-mime functions above.

2002-06-17  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-show-use-xface): new defcustom to determine
	whether to call external package x-face to display the x-face.
	(mh-invisible-headers-show-xface): variable now defaults to value
	of mh-show-use-xface.
	(mh-show-mode): When mh-show-use-xface is t, invoke
	external package x-face to display the x-face.

2002-06-15  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-prev-button): New interactive function which moves
	point to the previous mime button in the show buffer.
	(mh-folder-mode-map): Bind M-TAB and K M-TAB to mh-prev-button.

	* mh-utils.el (mh-show-mode-map): Bind M-TAB and K M-TAB to call
	mh-letter-prev-button (which is analogous to mh-prev-button).
	(mh-gnus-pgp-support-p): New global variable to replace the
	variable mh-recent-gnus-p. The name better describes what it is
	used for.

	* mh-mime.el (mh-mime-display-part, mh-mime-display-single): Use
	mh-gnus-pgp-support-p instead of mh-recent-gnus-p.

2002-06-12  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-display-buttons-for-inline-parts): New
	customizable variable. When non-nil inline parts have are
	displayed with a button (that is initially expanded).
	(mh-maybe-insert-newline): The function has been removed.
	(mh-mime-display-single): Add code to display buttons for inline
	parts. Reduce the insertion of extra newlines between inline parts
	and also for pgp signature parts.
	(mh-mm-display-part): The function has been rewritten and cleaned
	up. There was a bug which could change the show buffer if the user
	pressed C-g while a mime part was being displayed has been fixed.
	(mh-press-button, mh-push-button): Use unwind-protect to make sure
	that set-buffer-modified-p is always called after mime display.
	(mh-mime-inline-part): The behavior of the function has been
	changed so that it toggles the display of the raw bytes.
	(mh-mime-display-security): Remove the display of too many
	newlines.
	(documentation): Remove most check-doc warnings.

	* mh-comp.el (mh-filter-out-non-text): Updated since whitespace
	added around mime buttons have changed.

2002-06-10  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-index.el (mh-index-last-search, mh-index-search): The default
	prompt in mh-index-search has been removed since currently there
	is no good way of reading "+" with mh-prompt-for-folder.
	(mh-index-folder-mode, mh-index-show-mode): New major modes
	derived from mh-folder-mode and mh-show-mode respectively. They
	use a restricted keymap compared to the parent modes.
	(mh-index-folder-face): New customizable face to display folder
	names in the index buffer.
	(documentation): Change two spaces after period back to one.

2002-06-08  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-folder-toggle-mime-part): New interactive function
	to control mime display from folder buffer.
	(mh-folder-inline-mime-part): New interactive function to inline
	raw mime part from folder buffer.
	(mh-folder-save-mime-part): New interactive function to save mime
	part from folder buffer.
	(mh-folder-mode-map): Add keybindings for "K v", "K o", "K i" and
	"K \t" to mh-folder-mode-map.
	(mh-goto-next-button): Modified to allow searching for next button
	that satisfies some condition.
	(mh-folder-mime-action): Support function for
	mh-folder-save-mime-part, mh-folder-inline-mime-part and
	mh-folder-toggle-mime-part.

	* mh-utils.el (mh-show-mode-map): Modify keymap to add appropriate
	bindings for "K v", "K o", "K i" and "K \t".

	* mh-index.el (documentation): Fix docs according to checkdoc
	format.

2002-06-07  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el, mh-funcs.el (Compiler): Remove (require 'view) and
	instead add defvar for view-exit-action.

2002-06-06  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el (mh-insert-x-face): If transient-mark-mode is enabled
	the call to mark returns error. So avoid using mark.

	* mh-index.el: Support for new interactive function
	mh-index-search.

	* mh-e.el (mh-next-button, mh-goto-next-button): Refactor
	mh-next-button so that the code may be reused by mh-index.el.
	(mh-folder-map): Add key "F i" to call mh-index-search.

	* mh-utils.el (mh-recent-gnus-p): Fix documentation.
	(mh-msg-folder, mh-display-msg): The new function mh-msg-folder
	maps a MH folder name to the buffer displaying it. In normal
	operation the two names are identical but they are different in a
	folder buffer generated by index search. Minor modification to
	mh-display-msg to use mh-msg-folder to enable mh-index-search to
	reuse code.
	(mh-show-mode-map): Add key "F i" to call mh-index-search.

	* Makefile: Add mh-index.el

2002-06-05  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-message-menu): Add an entry for mh-modify.

2002-05-31  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-decode-quoted-printable): Only decode if the
	whole message is encoded. So restrict the search for the
	content-transfer-encoding header to the headers of the message
	itself.

	* mh-mime.el (mh-mime-display-alternative): Make sure that point
	is moved after mm-display-part is called.

2002-05-29  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (mh-mime-display-single): Fix the logic that
	determines when an attachment is buttonized. For inline parts that
	can't be displayed a button is now created.

2002-05-29  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-regenerate-headers): Fix an error in which the
	mh-mode-line-annotation was not being set properly.

	* mh-mime.el, mh-utils.el (compilation): Macros mh-require and
	mh-autoload are used to make sure that emacs20 doesn't croak when
	it tries to load non-existent mm-* files.
	(mh-decode-mime): Make it default to nil for Emacs major version
	below 21.

2002-05-28  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-e.el (mh-regenerate-headers): Generalize the function to
	handle multiple ranges.

2002-05-25  Satyaki Das  <satyaki@theforce.stanford.edu>

	* Makefile, mh-comp.el, mh-e.el, mh-funcs.el, mh-seq.el, mh-utils.el:
	Reduce use of eval-when-compile so that load-path is
	not changed if lisp files are loaded without compilation.

	* mh-e.el (mh-next-button, mh-folder-mode-map): New interactive
	function to advance point to next MIME button. It is bound to TAB.

	* mh-utils.el (mh-letter-next-button, mh-show-mode-map): New
	interactive function mh-letter-next-button has been added to
	advance point to the next MIME button. It is bound to TAB.

	* mh-mime.el (comments): Added some comments.

2002-05-24  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-mime.el (compilation): Replace (eval-when-compile ...) by
	(eval-when (compile) ...) to remove a bug when mh-e is loaded
	without compilation.

2002-05-23  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-comp.el (compilation): Some code was rearranged to avoid
	compiler warnings.

	* mh-e.el (compilation): Code rearrangement and extra autoloads to
	remove compiler warnings.
	(mh-quit): Add call to mh-destroy-postponed-handles to remove
	handles that are associated with external viewers. Also fixed a
	bug that I accidentally introduced by adding an extra line when
	cut and pasting my changes.

	* mh-func.el (compilation): Code rearrangement to remove compiler
	warnings.

	* mh-mime.el (compilation): Code rearrangement to remove compiler
	warnings.
	(mh-defun-compat): New macro to define to useful functions that
	aren't present present in old Gnus.
	(mh-destroy-postponed-handles): New function to cleanup handles
	that are associated with external viewers.
	(mh-handle-set-external-undisplayer): New function to replace
	mm-handle-set-external-undisplayer. It associates handles for
	external viewers with the folder buffer. These are released when
	the user quits the folder.
	(mh-mime-display, mh-press-button, mh-push-button): Hook in
	mh-handle-set-external-undisplayer.
	(mh-maybe-insert-newline): New function to avoid inserting too
	many newlines between mime parts.
	(mh-mm-display-part): Workaround for Gnus bug which causes new
	lines to be inserted when images are shown inline.
	(mh-mime-display-security): Cut down on newlines inserted.

	* mh-pick.el (compilation): Code rearrangement to remove compiler
	warnings.

	* mh-seq.el (compilation): Code rearrangement to remove compiler
	warnings.
	(comments): Remove @SD from comments.

	* mh-utils.el (compilation): Slight code rearrangement.
	(mh-defun-show-buffer): Fix documentation so that the first line
	is not too long as was the case earlier. Use
	mh-previous-window-config to remember where the cursor should
	return functions like mh-reply.
	(mh-display-msg): Initialize handles data-structure for the folder
	buffer so that postponed handles can be added to it.
	(mh-add-msgs-to-seq): Always keep messages in the sequences
	sorted. This removes some unexpected behavior when working with
	sequences that go out of sync with the corresponding MH sequences.
	(mh-canonicalize-sequence): New function to sort and remove
	duplicates from mh-e sequence.

2002-05-21  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (require): Load mm-decode.el here so that
	mm-inline-media-tests is properly initialized.

	* mh-comp.el (mh-yank-cur-msg): Don't try to remove the displayed
	mime parts when yanking the message. This also fixes the problem
	of regions not being respected during the yank.

2002-05-20  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (compiler-warnings): Some code was rearranged to
	remove all compiler warnings.
	(mh-decode-mime): New defcustom to control whether
	mime attachments are shown using Gnus.
	(mh-globals-hash): New global variable which maps a given buffer
	to the corresponding mime data structures.
	(mh-recent-gnus-p): New global variable which checks if Gnus is
	recent enough so that PGP/GPG encrypted messages can be handled.
	(mh-mm-inline-media-tests): Tests to determine whether a mime part
	can be shown inline.
	(mh-gnus-article-highlight-citation): Shadow the Gnus function,
	gnus-article-add-button before gnus-article-highlight-citation is
	called. This prevents the insertion of useless buttons in the
	message.
	(mh-show-mode): Don't set font-lock-support-mode to nil. Modify
	kill-buffer-hook to call mh-mime-cleanup.
	(mh-modify): Only the edit buffer is shown.
	(mh-display-msg): Add call to mh-mime-display, mh-display-smileys,
	mh-display-emphasis when mh-decode-mime is non-nil.

	* mh-mime.el (mh-buffer-data): New structure to keep track of
	per-buffer mime information.
	(compiler-warnings): Some code was rearranged to get rid of all
	compiler warnings.
	(mh-graphical-smileys-p): New defcustom which controls whether
	graphical smileys are shown.
	(mh-graphical-emphasis-p): New defcustom for graphical emphasis.
	(mh-max-inline-image-width, mh-max-inline-image-height): New
	defcustoms for inlining image.
	(gnus-local-map-property, mm-merge-handles): Copy utility
	functions for use with version of Gnus that ships with Emacs21.1.
	(mh-mime-cleanup): New function to free mime data-structures.
	(mh-add-missing-mime-version-header): New function to add missing
	Mime-Version header if a Content-Type header exists.
	(mh-display-smileys): New function to show graphical smileys.
	(mh-display-emphasis): New function to show graphical emphasis.
	(new-globals): New variables mh-mime-button-* and
	mh-mime-security-* were added to control mime buttons.
	(mh-mime-display): New function to display mime messages. The
	functions mh-mime-display-part, mh-mime-display-alternative,
	mh-mime-display-mixed, mh-mime-part-index, mh-small-image-p,
	mh-mime-display-single, mh-insert-mime-button, mh-mm-display-part,
	mh-press-button, mh-push-button, mh-mime-save-part,
	mh-mime-inline-part, mh-widget-press-button, mh-mm-inline-message,
	mh-mime-display-security, mh-mime-security-show-details,
	mh-mime-security-press-button and mh-insert-mime-security-button
	were added to support mh-mime-display.

	* mh-e.el (mh-header-display): Bind mh-decode-mime to nil when
	mh-show-msg is called, so that mime isn't decoded when headers are
	displayed.
	(mh-quit): The show buffer is killed instead of invalidating and
	burying it.

	* mh-comp.el (mh-yank-cur-msg): Filter out the mime buttons from
	the yanked message.
	(mh-filter-out-non-text): New function to filter out attachments
	from message being yanked.

2002-05-20  Bill Wohler  <Bill.Wohler@openwave.com>

	* mh-utils.el (mh-invisible-headers-show-xface): First sentence of
	docstring was not entirely on first line so was truncated in
	customize and help buffers. Reworded so first sentence could fit
	within 80 columns per checkdoc recommendation.
	(mh-defun-show-buffer): Reworded per checkdoc recommendations.
	Removed @SD while I was in there.

2002-05-18  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-seq.el (mh-narrow-to-seq): This function now removes the
	current message notation in the folder. Otherwise, two current
	message notations may be present after mh-widen is called. Also
	mh-copy-seq-to-eob is called instead of mh-copy-seq-to-point since
	the latter has a bug.
	(mh-copy-seq-to-point): This function has a tricky problem. It
	calls mh-map-to-seq-msgs which uses mh-goto-msg. mh-goto-msg
	assumes that the folder is sorted (since it uses binary
	search). The assumption isn't true, so it may not copy all the
	messages. Since this function is not used any more it has been
	removed.
	(mh-copy-seq-to-eob): This function is a specialized (and
	hopefully correct) replacement for mh-copy-seq-to-point.

2002-05-17  Satyaki Das  <satyaki@theforce.stanford.edu>

	* mh-utils.el (mh-gnus-article-highlight-citation): Workaround for
	problem caused by low value of recursive-load-depth-limit in
	Emacs21.1 and CVS version of Gnus.
	(mh-show-mode-map): New keymap variable to facilitate use of
	summary commands from the show buffer.
	(mh-show-folder-buffer): New local variable which keeps track of
	the folder-buffer corresponding to the message being shown.
	(mh-defun-show-buffer): New macro to convert interactive functions
	callable in the summary buffer to interactive functions callable
	in the show buffer.
	(mh-show-mode): Make buffer read-only and use mh-show-mode-map as
	keymap (closes SF #527946).
	(mh-modify): New interactive function to edit a message in-place.

	* mh-e.el (mh-goto-cur-msg): Add an optional argument,
	minimal-changes-p. If non-nil, the function will just change
	the point to current message and do not change folder display.
	(mh-folder-mode-map): Make "M" call mh-modify.

2002-05-07  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-invisible-headers-show-xface): New defcustom
	variable. If non-nil, the X-Face header line will be excluded from
	the variable `mh-invisible-headers'.  Set this when using a
	package such as x-face-el to display X-Face icons in mh-show-mode.
	This variable's setting will eventually be set automatically when
	mh-e does its own X-Face decoding (or this variable will be replaced
	by one telling mh-e to decode the X-Face).  We may not ship the
	next release with this variable.

2002-05-07  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-x-face-file): New defcustom variable. File name
	containing the encoded X-Face string to insert in outgoing mail.
	(mh-insert-x-face): New function.  Appends an X-Face field to the
	header, but only if it doesn't already exist and if 'mh-x-face-file'
	is non-nil and points to an existing file.
	(mh-send-letter): Invoke mh-insert-x-face.

2002-04-29  Mike Kupfer  <m.kupfer@acm.org>

	* mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Check
	whether XEmacs region is actually active (needed at least for 21.1).
	[Patch committed by psg]

2002-04-29  Mike Kupfer  <m.kupfer@acm.org>

	* mh-utils.el (mh-prompt-for-folder): Remove "default" argument
	from completing-read as XEmacs-21.1 doesn't have it (21.4 does
	however) and using the argument adds no functionality.
	[Patch committed by psg]

2002-04-11  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Add support for
	XEmacs to act on selected region when active.

2002-04-10  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): XEmacs fix; Add
	check to see if mark-active is bound, because Mandrake Linux include
	XEmacs initialization code that binds transient-mark-mode.  This
	fix gets around a problem in Mandrake only.  It wasn't a problem
	on XEmacs generally.  Fixes SF #541915.

2002-04-08  Bill Wohler  <wohler@newt.com>

	Released mh-e version 6.1.

	* mh-e.el (mh-folder-unseen-seq-name): Use "mhparam -component
	Unseen-Sequence" command and "Unseen-Sequence: \\(.*\\)$" regexp
	to increase robustness.
	(mh-folder-unseen-seq-list): Use `expand-file-name' as
	`mh-expand-file-name' isn't needed and the former saves function
	call.
	(Version, mh-version): Updated for release 6.1.

2002-04-08  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-unseen-seq-list): Specify mh-progs path in
	call to mark command.  Fixes a bug in which unseen messages
	weren't highlighted if "mark" wasn't in the path.

2002-04-07  Bill Wohler  <wohler@newt.com>

	* MH-E-NEWS: Updated for release 6.1.

	* README: Updated for release 6.1. Updated verbiage about reading
	MH-E-NEWS.

	* mh-comp.el, mh-e.el, mh-funcs.el, mh-mime.el, mh-seq.el,
	mh-utils.el, mh-xemacs-compat.el: Updated copyright in files
	modified this year.

	* mh-xemacs-compat.el: Put Author field back in, but set to FSF.

	* mh-comp.el, mh-funcs.el, mh-mime.el, mh-seq.el,
	mh-utils.el: Fixed all checkdoc errors, except for no
	documentation, and documentation in comments. Also removed the-
	prefix from certain local variables.

	* mh-e.el: Fixed all checkdoc errors, except for no documentation,
	and documentation in comments. Also removed the- prefix from
	certain local variables.
	(mh-folder-unseen-seq-name): Refactored to make default sequence
	name more explicit and to handle undefined Unseen-Sequence MH
	profile entry better.

2002-04-02  Peter S Galbraith  <psg@debian.org>

	* mh-e.el: 'defvar mh-folder-unseen-seq-name' called a function to
	set it's value, and this happens also on byte-compilation (where
	it can fail if the user's MH environment is not setup correctly).
	I now set the value of mh-folder-unseen-seq-name at runtime when I
	first need it.  This should fix Debian bugs
	http://bugs.debian.org/140232 and http://bugs.debian.org/140817

2002-03-25  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el: remove "(require 'mh-e)" since mh-utils.el should
	be at the bottom of the dependency tree.
	* mh-e.el (mh-folder-unseen-seq-name): Make sure mh-progs is set
	and use it as path to mhparam command in call-process.

2002-01-23  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-font-lock-keywords): Add call to
	mh-folder-font-lock-unseen to fontify unseen messages in bold.
	(mh-folder-unseen-seq-name): Provide name of unseen sequence from
	mhparam.  Used as default for variable of same name.
	(mh-folder-unseen-seq-list): Returns a list of unseen messages
	numbers for current folder.
	(mh-folder-unseen-seq-cache): Cache variable to hold list of
	unseen message numbers while font-lock iterates.  This variable is
	buffer-local.
	(mh-folder-font-lock-unseen): Returns unseen message lines to
	font-lock one by one.

2002-01-15  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-insert-prefix-string): Wrap a
	"(let ((zmacs-regions nil))" around (mark) so it works in XEmacs.
	Bug reported and fix suggested by Will Partain <partain@dcs.gla.ac.uk>
	Indeed, this is how it appears in XEmacs-21's mh-comp.el.

2001-12-16  Jeffrey C Honig  <jch@honig.net>

	* mh-comp.el (mh-forward): Move the assignment to `fwd-msg-file'
	to before the assignment to `draft' as the later changes buffers
	and invalidates `mh-seq-list' (which is used in a function called
	by (mh-seq-to-msgs)).  Resolves SF #489448.

	* mh-utils.el: Add defcustoms for `mh-temp-folders-buffer' and
	`mh-temp-sequences-buffer'.

	* mh-e.el (mh-quit): If they exist, kill 'mh-temp-buffer,
	'mh-temp-folders-buffer and 'mh-temp-sequences-buffer when
	quitting.

	* mh-funcs.el (mh-list-folders): Use `mh-temp-folders-buffer'
	(a defcustom initialized to "*Folders*") for folder listing.  Put
	into view mode and set it up to kill the buffer when exiting view
	mode.

	* mh-seq.el (mh-list-sequences): Use `mh-temp-sequences-buffer'
	(a defcustom initialized to "*Sequences") for sequences listing.
	Put into view mode and set it up to kill the buffer when exiting
	view mode.

2001-12-16  Bill Wohler  <wohler@newt.com>

	Released mh-e version 6.0.

	* MH-E-NEWS: Be a little more specific about incompatible changes.
	Added info about outdated manual.
	Removed variables in mh-scan regexp table that did not exist in
	5.0.2.
	Added helpful documentation about finding relevant variables
	containing regexps to mh-scan-format-file's description.

	* mh-e.el (mh-scan-format-file): Added information about getting a
	list of regexp variables that you'll need to change if you
	customize your scan's output.
	(mh-folder-mode): Added documentation about `mh-scan-format-file'
	for those users who modify their scan formats.

	* README: New file. Describes packages and provides simple
	installation instructions.

	* Makefile (clean, dist, install-emacs): Replaced $(RM) with rm
	-rf (closes SF #488661).

2001-12-14  Bill Wohler  <wohler@newt.com>

	Released mh-e version 5.0.93.

	* Makefile (MH-E-SRC): Added mh-xemacs-compat.el.
	(MH-E-IMG): Added .pbm images for all. Removed mail_ prefix from
	all.
	(MH-E-IMG2): New variable to hold images in mail sub-directory.
	(dist): Updated target to make mail sub-directory and copy
	MH-E-IMG2 images there.

	* mh-xemacs-compat.el: Modified docs per GNU coding conventions.

	* mh-e.el: Reorganized variables having to do with the scan line.
	Moved some random variables that were interspersed out of the
	middle. Moved `mh-scan-format-file' first and let the variables
	flow from there.

	As the number of variables increases, it is becoming important to
	organize the mh-e namespace. Several variables having to do with
	the format of scan lines were renamed, as follows:
	(mh-good-msg-regexp): Renamed to mh-scan-good-msg-regexp.
	(mh-deleted-msg-regexp): Renamed to mh-scan-deleted-msg-regexp.
	(mh-refiled-msg-regexp): Renamed to mh-scan-refiled-msg-regexp.
	(mh-valid-scan-line): Renamed to mh-scan-valid-regexp.
	(mh-cur-msg-number-regexp): Renamed to mh-scan-cur-msg-number-regexp.
	(mh-cur-msg-line-regexp): Renamed to mh-scan-cur-msg-regexp.
	(mh-scan-rcpt-addr-regexp): Renamed to mh-scan-rcpt-regexp.
	(mh-scan.font-lock-regexp): Renamed to mh-scan-format-regexp.
	(mh-folder-scan-font-lock-face): Renamed to
	mh-folder-scan-format-face.
	(mh-folder-cur-msg-line-face): Renamed to mh-folder-cur-msg-face).

2001-12-13  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (mh-msg-number-regexp): Renamed to
	mh-scan-msg-number-regexp.
	(mh-msg-search-regexp): Renamed to mh-scan-msg-search-regexp.

	* Corrected typos, quoted variables in doc strings, and made minor
	wording changes in docs.

2001-12-13  Peter S Galbraith  <psg@debian.org>

	* mh-xemacs-compat.el: defalias 'match-string-no-properties to
	'match-string for XEmacs.  I've seen a better function for this
	that actually removes text properties, but this will do for now.

	* mh-utils.el (mh-decode-quoted-printable): deactivate-mark not
	bound in XEmacs.

	* mh-xemacs-compat.el: GNU Emacs Functions needed by XEmacs.
	New file.
	* mh-e.el: (require 'mh-xemacs-compat) when running XEmacs.

2001-12-12  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-send-letter): function local-variable-p needs two
	arguments in XEmacs.
	(mh-send-letter): sendmail-coding-system not bound in XEmacs.
	(mh-send-letter): default-buffer-file-coding-system not bound in
	Xemacs.

	* mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo):
	transient-mark-mode not bound in XEmacs.  The feature of
	operations made on all messages in the selected range when
	transient-mark-mode is on doesn't work in XEmacs.

	* mh-e.el, mh-utils.el: Conditionalize calls to
	'add-to-list 'facemenu-unlisted-faces for XEmacs.

2001-12-11  Jeffrey C Honig  <jch@honig.net>

	* mh-e.el (mh-scan-format): Add `mh-scan-format-file' variable to
	specify the scan format string or file to use.  Define formats for
	MH and nmh that are compatible with the standard format, but
	provide hints for font-lock.  Define (mh-scan-format) for use by
	(mh-regenerate-headers) and (mh-get-new-mail) to specify the args
	necessary to inform the scan program which scan format string or
	file to use.

2001-12-07  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (scan.font-lock): New format file documented in comments.
	(mh-scan.font-lock-regexp): Adapted to new format.
	(mh-folder-font-lock-keywords): Use new format.

	* mh-e.el (page-down.xpm): Icon renamed from nextpage.

	* mh-utils.el (mh-decode-quoted-printable): Bug fix.  Better check
	on what actually is a quoted-printable attachment.

2001-12-06  Eric Ding  <ericding@alum.mit.edu>

	* mh-mime.el (mh-mhn-compose-insertion, mh-mhn-compose-anon-ftp):
	require mailcap.el here rather than using autoload at top of
	mh-mime.
	(mh-file-mime-type): get rid of unused variables (why were they
	there to begin with?)

2001-12-06  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-cur-msg-number-regexp, mh-cur-msg-line-regexp):
	mh-cur-scan-msg-regexp splits into these two variables.
	The whole-line fontification is disabled, but easily restored by a
	user (although it could be a defcustom with choices DISABLED or
	the correct regexp?)
	(mh-folder-cur-msg-line-face): mh-folder-current-msg-face renamed
	to this.
	(mh-folder-cur-msg-number-face): mh-folder-current-face renamed to
	this.

	* cabinet.xpm: Revert to rescan icon name.
	* mh-e.el (mh-folder-tool-bar-map): s/cabinet/rescan/

	* mh-e.el (mh-folder-font-lock-keywords): Reorder and tweak such
	that current message line highlight doesn't mess up other highlights.

2001-12-05  Eric Ding  <ericding@alum.mit.edu>

	* mh-utils.el (mh-show-from-face): Change mh-show-from-face to
	cyan on dark backgrounds; through a series of changes, it had
	become the same color as mh-show-subject-face!

2001-12-05  Bill Wohler  <Bill.Wohler@openwave.com>

	* mh-e.el, mh-utils.el: Fixed typos in face definitions, and made
	a couple of small doc string tweaks while I was in there. Peter,
	if you don't agree, let me know and I'll back them out. I thought
	the "mh-e" in the text was redundant since the variables start
	with "mh"; I was also thinking ahead to how the documentation may
	read.

2001-12-05  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-cur-scan-msg-regexp): Match 0 is the whole line.
	(mh-folder-current-msg-face): New face with only a background
	settings, used in font-lock for the current message.
	(mh-folder-font-lock-keywords): Use mh-folder-current-msg-face for
	mh-cur-scan-msg-regexp.

	* mh-utils.el (mh-show-from-face): Use red3 instead of red for
	light backgrounds.  It's not as bright on the eyes.
	(mh-show-subject-face): copy from mh-folder-subject-face instead.
	Makes the look consistent with folder-mode.

	* mh-e.el (mh-folder-subject-face): Moved to mh-utils since we
	need it to copy to mh-show-subject-face.

2001-12-05  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-folder-mode-map): Moved `mh-extract-rejected-mail'
	from "a" to "E". Better mnemonic, nicer to folks used to using a
	for `mh-reply'.

2001-12-04  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-folder-map): Added "S" for `mh-sort-folder'.

2001-12-04  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-subject-face et al.): Yet another attempt at
	colors for folder-mode.  Still themed, but fewer and darker
	colors (Blame Eric this time!).  I'll get to underlining tomorrow
	night.

	* mh-e.el (mh-folder-tool-bar-map): Renamed all icons so they
	don't have the word mail in them.  Also generated a pbm format of
	each icon for users without XPM support conpiled into Emacs.

2001-12-04  Eric Ding  <ericding@alum.mit.edu>

	* mh-utils.el (mh-show-font-lock-keywords): Use
	mh-header-subject-font-lock instead of regexp for subject headers,
	which may go multiple lines.
	(mh-header-subject-font-lock): New function.
	Fix typos (hightlight -> highlight).

2001-12-04  Eric Ding  <ericding@alum.mit.edu>

        * mh-e.el: changes to face colors on dark backgrounds.
        (mh-folder-followup-face): change to LightGoldenRod.
        (mh-folder-date-face): change to snow3.
        (mh-folder-msg-number-face): change to snow4.

2001-12-04  Bill Wohler  <wohler@newt.com>

	Released mh-e version 5.0.92.

	* mh-utils.el (gnus-cite-face-list)
	(mh-gnus-article-highlight-citation): Don't autoload. Revert to
	requiring in `mh-gnus-article-highlight-citation' as before. With
	the autoloads, if you ran mh-e before gnus, you'd get an undefined
	gnus variable when viewing an article in gnus. Go figure.

2001-12-03  Bill Wohler  <wohler@newt.com>

	Released mh-e version 5.0.91.

	* MH-E-NEWS: Removed info about bumping up `max-specpdl-size' now
	that workaround has been implemented.

	* Makefile (MH-E-OBJ): New variable to hold .elc files.
	(all): Just compile.
	(clean): New target that blows away MH-E-OBJ.
	(dist): Added $(MH-E-OBJ) to tarball.

	Attempt to quiet compilation errors to a dull roar.

	* mh-e.el: Require easymenu, added autoload of info.
	(mh-smail, mh-smail-other-window): Comment says these were needed
	by Emacs 18. Out!

	* mh-utils.el: Don't require sendmail, but require mh-e.
	Moved autoloads to top of file, and autoload gnus-cite and
	sendmail too.

	* mh-pick.el: Require easymenu. Remove cond on
	`easy-menu-define'--it exists.

	* mh-mime.el: Autoload mailcap.

	* mh-comp.el: Require mh-e and easymenu, moved autoloads to top of
	file.

	* Makefile (EMACS): New constant to hold emacs calling sequence.
	(install): Renamed to install-emacs.
	(compile): New target to compile all files.
	(dist): Make dependent on compile.
	(import): Renamed to import-emacs.
	(%.elc): New implicit rule to compile elisp files.

	* mh-e.el (mh-thread-map): Added "Td" for
	mh-delete-subject-thread.

2001-12-03  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-tool-bar-map): Change tooltip for exec icon.

	* mh-e.el (mh-folder-subject-face): Change to IndianRed1.
	(mh-folder-followup-face): Change to IndianRed.
	(mh-folder-deleted-face): Use sedate face instead of bright one.

2001-12-03  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (mh-invisible-headers): Increase size of
	`max-specpdl-size' locally to work around insufficient default.
	(mh-invisible-headers): Added X-Info and X-VSMLoop (NTMail).

2001-12-03  Jeffrey C Honig  <jch@honig.net>

	* mh-utils.el (mh-find-progs): Searches should not stop if the
	strings are not found, there is error detection at the end of the
	routine (closes SF #488231).

2001-12-02  Bill Wohler  <wohler@newt.com>

	* MH-E-NEWS: Added info about bumping up `max-specpdl-size'.

	* Makefile (MH-E-IMG): New variable that contains images used by
	mh-e. Add these files to release.

	* MH-E-NEWS: Second draft of mh-e 6.0 (was 5.1) release notes.

	* mh-e.el (mh-folder-updated-hook): Reworded to avoid ambiguity.
	Is the hook called when you type `d' or when you type `x'?
	(mh-unseen-updated-hook): Reworded to be consistent with
	`mh-folder-updated-hook.'

	* mh-utils.el (mh-recenter): Accepted Gerd's change which is
	evaluated at compile time.

2001-12-02  Bill Wohler  <wohler@newt.com>

	* mh-e.el Major, major keymap changes. The specific changes are
	listed below, but view the sources, or use "C-h m" in MH Folder
	mode for the complete list.

	Use of sub-keymaps inspired by gnus. The changes tripped me up at
	first too, but after about 5 minutes of shock (which is to be
	expected, I've been using the old keybindings for 16 years), I
	honestly found the new bindings to be nice indeed. It will also
	provide flexibility to allow for future functionality. I hate to
	do this on the eve of the beta release, but you asked for it! It's
	likely I'll have to pull an Eric and back this change out, but if
	we can live with pink subjects, this can't be so bad ;-).
	Question: will the users revolt? If they do, I suppose we can
	release 6.0.1 the next day ;-).
	(mh-folder-map, mh-sequence-map, mh-extract-map, mh-digest-map):
	New keymaps which start with F, S, X, and D, respectively. The
	mhstore commands can go in the mh-extract-map eventually.
	(mh-thread-map): Renamed from mh-folder-thread-map.

	Keymap changes and rationale. The sub-keymaps allowed some
	consistency (e.g., esp. with l(ist) and k(ill).

	e		Deleted. Already have x. Now used by mh-edit-again.
	a		Deleted. Already have r. Now used by mh-extract-rej..
	j		Deleted. Already have g.

	M-a -> e	Better mnemonic. Matches rmail. Frees movement cmd.
	M-e -> a	Try `a'gain!

	M-f -> Fv	Frees movement command
	M-f -> Ff	Alias (keep?)
	M-f -> Fo	Alias (keep?)
	M-k -> Fk	No reason but to keep with folder commands
	M-l -> Fl	No reason but to keep with folder commands
	M-p -> Fp	No reason but to keep with folder commands
	M-r -> Fr	Frees movement command
	M-s -> Fs	No reason but to keep with folder commands
	M-u -> Fu	No reason but to keep with folder commands

	M-% -> Sd	Better mnemonic
	M-# -> Sk	Better mnemonic
	M-q -> Sl	Better mnemonic
	C-xn -> Sn	Frees up standard key binding
	% -> Sp		Better mnemonic for putting a message in a sequence
	? -> Ss		Shows sequences that message is in
	C-xw -> Sw	Frees up standard key binding

	M-n -> Xs	Better mnemonic (shar)
	M-n -> Xu	Better mnemonic (uuencode)

	M-SPC -> DSPC	Frees mark command
	M-\177 -> D\177	No reason but to keep with digest commands
	M-b -> Db	Frees movement command

2001-12-01  Bill Wohler  <wohler@newt.com>

	* mh-e.el: Use gnus style of keymaps. Now requires gnus-util.
	(mh-folder-thread-map): New map, created by gnus-define-keys.
	Reached when typing T in mh-folder-mode-map. Moved threading
	functions to this new keymap so we can use dired again.
	(mh-folder-mode-map): Defined by gnus-define-keys. Otherwise than
	the new threading functions, no changes to the UI were made at
	this point--saving that for the next check-in.

	* mh-pick.el (mh-pick-mode-map): Use gnus-define-keys. Now
	requires gnus-util.

	* mh-comp.el (mh-letter-mode-map): Use gnus-define-keys. Now
	requires gnus-util.

2001-12-01  Jeffrey C Honig  <jch@honig.net>

	* mh-e.el: Update the documentation for the regexps used by
	`mh-folder-font-lock-keywords' to specify how many parenthesized
	expressions they are expected to have and what those expressions
	are expected to match.

2001-12-01  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-folder-mode): Removed iteration of key bindings,
	\\{mh-folder-mode-map} suffices. Removed variable documentation
	also as this is already out of date and a maintenance hassle.
	Reference new mh customization group instead.

	* mh-comp.el (mh-letter-mode): Ditto. Also added new information
	about MIME directives getting processed automatically if inserted
	via mh-e commands.

	* mh-pick.el (mh-pick-mode): Edited documentation so it reads like
	the other modes.

	* mh-e.el (mh-compat-quit): Deleted obsolete and unused function.
	Comment in this function said that `b' shouldn't be used for
	burst-digest, as it is used for `back' in info, less, and rn. But
	what does `back' mean in MH Folder? I suppose if you visit a
	folder, you would go `back' to the original folder. Hmmm, I guess
	we'll leave the `b' binding alone for now.

	* mh-utils.el: Moved some of the variable comments to the first
	column so they wouldn't wrap in such an ugly fashion.
	(mh-showing-mode): Renamed variable and function from mh-showing
	to conform with minor mode conventions. Added optional arg to
	function so it would behave like a normal minor mode: no or nil
	arg toggles mode, 0 arg turns off, non-nil turns on. It also turns
	out that desktop-create-buffer would barf when recreating mh-e
	buffers because it was calling mh-show with an arg.
	(mh-show-mode): Use define-derived-mode to simplify definition a
	*lot*.
	(mh-set-mode-name): Deprecated by use of define-derived-mode.
	Removed.

	* mh-pick.el (mh-pick-mode): Use define-derived-mode to simplify
	definition a *lot*.

	* mh-e.el (mh-scan-prog): Removed message about "Buffer local" as
	this message will appear in a future version of Emacs.
	(mh-inc-folder): mh-showing renamed to mh-show-mode and made a
	real minor mode.
	(mh-folder-mode): Use define-derived-mode to simplify definition a
	*lot*.

	* import-emacs (release): Change `(none)' to `mainline' so import
	doesn't choke after running `cvs up -A' on Emacs.
	(COPYING): Moved from $EMACS_HOME/etc to $EMACS_HOME.
	(cvs update): Whoops! Forgot the second join (-jemacs).
	make import works fine again.

2001-11-30  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-font-lock-keywords): Change order of
	font-lock patterns such that subject body text doesn't get date
	fontification.

	* mh-e.el (mh-scan-subject-regexp): Bug fix.  Remove a dot.
	scan.font-lock users have to setq it separately.

2001-11-30  Eric Ding  <ericding@alum.mit.edu>

	* mh-utils.el (mh-clean-msg-header): Go back to using
	mh-delete-line.  Using invisible text property is nicer in some
	ways, but winds up with somewhat mysterious behavior should user
	kill/yank stuff from the header (i.e., text gets yanked invisibly
	and won't be seen by user until file is reloaded).

2001-11-29  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-page-msg): Use mh-next-direction to page in the
	right direction.

2001-11-29  Jeffrey C Honig  <jch@honig.net>

	* mh-e.el (mh-scan-folder): Fix logic to not attempt to go to
	the current message if there are no messages in the folder.

2001-11-29  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-font-lock-subject): New fontifier function
	for subject lines in folder-mode.
	(mh-scan-followup-regexp): Deleted obsolete regexp.  Use
	mh-scan-subject-regexp instead.
	(mh-folder-font-lock-keywords): Use mh-folder-font-lock-subject
	instead of obsolete mh-scan-followup-regexp variable.
	(mh-folder-date-face, mh-folder-msg-number-face):
	(mh-folder-subject-face, mh-folder-followup-face):
	Now defined as proper faces instead of copied from font-lock
	faces.

	* mh-mime.el (mh-media-type-regexp): New variable. Regexp matching
	valid media types used in MIME attachment compositions.
	(mh-file-mime-type): Use mh-media-type-regexp instead of
	hard-wiring its value.

	* mh-utils.el (mh-show-unquote-From): New function to unquote
	"^>From" in mh-show-mode (not saved to disk).
	(mh-show-mode): Call mh-show-unquote-From.

2001-11-29  Eric Ding  <ericding@alum.mit.edu>

	* mh-utils.el (mh-clean-msg-header): Use mh-make-line-invisible
	rather than mh-delete-line.
	(mh-make-line-invisible): New function to make line(s) invisible
	rather than deleting line(s).  Optional argument specifies number
	of lines to delete.
	(mh-show-msg): screen-height has been deprecated; use no more.
	(mh-notate): screen-width has been deprecated; use no more.

2001-11-29  Jeffrey C Honig  <jch@honig.net>

	* mh-utils.el (mh-find-progs): Change mh-find-progs to rely on
	the existence of mhparam.  The location of mhparam is used to find
	`mh-progs'.  It uses the libdir and etcdir to find the
	`mh-lib-progs' and `mh-lib' directories.  If etcdir doesn't return
	anything we assume `mh-lib-progs' is the same as `mh-lib' and that
	we are using MH instead of nmh.

2001-11-29  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-scan.font-lock-regexp): Change docs to reflect that
	second paren expression is the user match.
	(mh-folder-font-lock-keywords): Change from 1st to 2nd parenthesized
	expression to match user name, after Jeffrey's change to the regexps.

2001-11-29  Bill Wohler  <Bill.Wohler@openwave.com>

	* mh-utils.el (mh-clean-message-header): Default is now t.
	(mh-invisible-headers): Padded out to contain all the headers that
	the mh-e developers don't like to see (closes SF #415759).

2001-11-28  Bill Wohler  <Bill.Wohler@openwave.com>

	* mh-comp.el (mh-rejected-letter-start): Added MIME MDN. While
	this allows mh-extract-rejected-mail to strip the start of the
	MDN, there is still a closing MIME marker at the end. This should
	be cleaned up eventually.

2001-11-28  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-seq-tool-bar-map): New tool-bar used for
	folder-mode when narrowed to sequence.
	* mh-seq.el (mh-narrow-to-seq): Set tool-bar to
	mh-folder-seq-tool-bar-map.
	(mh-widen): Set tool-bar to mh-folder-tool-bar-map.
	* widen.xpm: New icon used in mh-folder-seq-tool-bar-map.

	* mh-mime.el (mh-file-mime-type): Much better check on validity of
	'file' output.

	* mh-e.el (mh-scan-subject-regexp): New regexp variable for
	subject string in folder mode.  Used to extract subject sequence,
	and will be used for font-lock soon.
	* mh-seq.el (mh-subject-thread-to-sequence): More robust code by
	using mh-scan-subject-regexp, allows users with non-standard
	scan format to use subject sequences.

	* mh-comp.el (mh-letter-fill-column): Fill column to use in
	mh-letter-mode.  (Yes, I'm doing this in spite of what Bill said;
	Someone can always undo it later)
	(mh-letter-mode): setq fill-column to mh-letter-fill-column.

2001-11-28  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-page-msg): The first time the end of page is hit,
	set mh-page-to-next-msg-p to t. The second time the end of page is
	hit, go to the next message.

	* mh-utils.el (mh-show-msg): Initialize mh-page-to-next-msg-p to
	nil.

2001-11-27  Bill Wohler  <wohler@newt.com>

	* mh-mime.el (mh-mime-content-types): Updated list of types to
	contain types used by mh-e developers, but not including types not
	listed in
	http://www.isi.edu/in-notes/iana/assignments/media-types/media-types.

2001-11-27  Peter S Galbraith  <psg@debian.org>

	* mh-seq.el (mh-subject-thread-to-sequence) New function placing
	all messages with similar subject line into a sequence named
	'subject.
	(mh-narrow-to-subject-thread): New command to narrow to all
	messages with similar subject line into a sequence named 'subject.
	(mh-toggle-subject-thread): New command to toggle between a new
	'subject sequence or the wide view of a folder.
	(mh-delete-subject-thread): New command to delete all following
	messages with similar subject lines (leaving preceding ones
	untouched).
	(mh-next-unseen-subject-thread): New command to create and move to
	a new subject thread created from the next unseen message as a
	starting point.
	* mh-e.el (mh-folder-message-menu): New menu entries for subject
	threads.
	(mh-folder-mode-map): New keybindings for subject threads.
	(mh-lessp): New function to sort messages.

	* mh-utils.el (mh-show-font-lock-keywords): and various
	faces... scoped within eval-after-load "font-lock" to avoid
	requiring font-lock to use its faces.
	* mh-e.el (mh-folder-font-lock-keywords): Same.

2001-11-27  Jeffrey C Honig  <jch@honig.net>

	* mh-mime.el (mh-file-mime-type): Use mh-temp-buffer instead of
	" *mh-temp".

	* mh-comp.el (mh-insert-x-mailer): Kill mh-temp-buffer after use.

2001-11-26  Eric Ding  <ericding@alum.mit.edu>

	* mh-utils.el: revert to using external mimedecode to decode
	MIME quoted-printable parts

2001-11-26  Jeffrey C Honig  <jch@honig.net>

	* mh-e.el (mh-process-commands): Added mh-folder-updated-hook.
	* mh-e.el (mh-update-unseen): Added mh-unseen-updated-hook.

2001-11-26  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-file-mime-type): Make sure output from file
	command is known to mailcap file, otherwise prompt the user.
	(mh-mime-content-types): Add "image/png" type.

	* mh-e.el (mh-folder-font-lock-keywords): Use a bunch of new
	mh-folder-*-face faces.
	* mh-utils.el (mh-show-font-lock-keywords): Use a bunch of new
	mh-show-*-face faces.

	* mh-utils.el (mh-letter-header-font-lock): Bug fix.  Fix infinite
	loop in emacs20 font-locking.
	(mh-header-field-font-lock): Preventive fix with similar change.

	* mh-comp.el (mh-reply-show-message-p): Typo.  diplayed -> displayed.
	* MH-E-NEWS: Same.

	* mh-e.el (mh-folder-tool-bar-map): Bug fix.  I had
	mh-repack-folder instead of mh-pack-folder.

2001-11-26  Bill Wohler  <wohler@phone.com>

	* mh-e.el:
	Updated header for consistency and to conform with (elisp)Library
	Headers.
	(mh-do-not-confirm): Updated documentation string to reflect
	reality (e.g., is no longer used by mh-kill-folder and is used by
	more functions than just mh-undo-folder).
	(mh-page-msg): Now shows the next undeleted message if looking at the
	bottom of the current message.
	(mh-process-or-undo-commands): Fixed indentation.

	* mh-mime.el:
	(mh-mhn-compose-insertion, mh-mhn-compose-anon-ftp): If MIME type
	cannot be determined with file command, use mailcap-mime-types (if
	available) to provide list for completing read.

	* MH-E-NEWS: First draft of mh-e 5.1 release notes.

2001-11-26  Eric Ding  <ericding@alum.mit.edu>

	* mh-utils.el (mh-decode-quoted-printable): Implement
	quoted-printable decoding in elisp (starting with code copied
	from FLIM).
	(mh-decode-quoted-printable-region): Move (require 'hexl) outside
	while loop.
	(mh-decode-quoted-printable): give user a choice between using
	internal code or external program to decode quoted-printable
	content.  Resurrect code that calls external mimedecode program.

2001-11-25  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-highlight-citation-p): New variable to determine
	whether to highlight citations in message body with gnus,
	font-lock or not at all.
	(mh-show-font-lock-keywords): removed citations from keywords.
	(mh-show-font-lock-keywords-with-cite): New variable, equivalent
	to prior mh-show-font-lock-keywords.
	(mh-gnus-article-highlight-citation): hook into gnus for
	multi-level citation highlighting.
	(mh-show-mode): Use either mh-show-font-lock-keywords or
	mh-show-font-lock-keywords-with-cite, depending on value of
	mh-highlight-citation-p, and possibly call
	mh-gnus-article-highlight-citation.
	* mh-comp.el (mh-letter-mode): Same as for mh-show-mode above.

2001-11-25  Jeffrey C Honig  <jch@honig.net>

	* mh-comp.el (mh-redistribute): Added mh-redist-background
	variable to cause mh-redistribute to run the redist command in the
	background.  This causes the transaction log to be visible, like
	with send.

2001-11-25  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-inc-folder): 'inc' finishes by displaying the first
	new message if already showing messages.

2001-11-22  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-prompt-for-folder): Exit with error if no folder
	specified, otherwise mh-refile-msg may try to create a folder with
	empty name, and this creates problems;  even mh-undo can't handle
	it (Closes SF #476824).

	* mh-comp.el (mh-letter-tool-bar-map): Info button needed to
	require 'info.  Also tweaked help texts.
	(mh-letter-menu): Use headline capitalization (Closes SF #483203).
	* mh-e.el (mh-folder-tool-bar-map): Same as above.
	(mh-folder-folder-menu, mh-folder-message-menu):
	(mh-folder-sequence-menu): Same as above.
	* mh-pick.el (mh-pick-menu): Same as above.

2001-11-21  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-reply-show-message-p): The setting of this
	variable determines whether the MH show-buffer is diplayed with
	the current message when using mh-reply without a prefix argument.
	Set it to nil if you already include the message automatically in
	your draft using "repl: -filter repl.filter" in your ~/.mh_profile
	file.
	(mh-reply): Don't show message in other window if
	mh-reply-show-message-p is nil.

	* mh-e.el (mh-folder-tool-bar-map): Add mail_exec.xpm icon for
	mh-execute-commands.

	* mh-utils.el (mh-show-mouse): New function to click on a message
	in folder-mode and show that message.
	* mh-e.el (mh-folder-mode-map): Bind mh-show-mouse to mouse-2.

	* mh-e.el (mh-page-msg): Show buffer first if not displayed,
	instead of simply complaining there's no other window.

	* mh-e.el (mh-folder-tool-bar-map): New tool-bar for folder mode!
	(mh-folder-mode): Setup tool-bar.

	* mh-mime.el (mh-have-file-command): try to non-fatally load
	executable.el because emacs20 doesn't autoload it.
	* mh-utils.el (load "executable" t t): Idem.

	* mh-utils.el (mh-clean-msg-header): Bug fix. locally bind
	after-change-functions to nil, working around a strange font-lock
	bug in emacs20 when (add-hook 'mh-show-mode-hook 'turn-on-font-lock)
	was used.

	* mh-comp.el (require 'sendmail): Moved from mh-comp.el to
	mh-utils.el because it is needed in reading mail too.
	(mh-header-field-end, mh-in-header-p): Moved to mh-utils.el
	because they are needed by mh-show-mode's font-lock code.
	Unfortunately, this splits the field related code into two files.
	Perhaps it should all go into mh-utils?

2001-11-20  Eric Ding  <ericding@alum.mit.edu>

	* mh-utils.el (mh-show-from-face): Fix typo in defface

2001-11-20  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (mh-mail-header-separator): Set to -------- as
	defined by MH (components, and replcomps files). This variable
	cannot be a regexp since it is used as an argument to insert and
	is passed through regexp-quote before being used. The previous
	value broke a lot of code, including mailcrypt.

	* mh-comp.el (mh-letter-mode, mh-send-letter): Insert X-Mailer
	header field from mh-send-letter.
	(mh-edit-again, mh-extract-rejected-mail): Call
	mh-insert-header-separator to ensure that there is a separator.
	Packages such as mailcrypt depend on it.
	(mh-insert-header-separator): New function to insert
	mh-mail-header-separator if it doesn't exist.

2001-11-20  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-mode): Make font-lock-defaults a local variable
	* mh-e.el (mh-folder-mode): Same.
	* mh-utils.el (mh-show-mode): Same.

	* mh-e.el (mh-scan-msg-num-regexp): Delete variable and replace
	with mh-good-msg-regexp.

	* mh-utils.el (mh-mail-header-separator): Bug fix.  Moved from
	mh-comp.el to mh-utils.el (which mh-comp.el loads).

	* mh-comp.el (mh-in-header-p): Recycle sendmail.el code (as
	suggested by Bill).
	* mh-utils.el (mh-letter-header-font-lock): Use mh-in-header-p.

	* mh-comp.el (mh-letter-tool-bar-map): tool-bar customize button goes
	to customizing mh-compose group.

	* mh-utils.el (mh-show-mode): font-lock bug fix. Locally set
	font-lock-support-mode to nil.
	(mh-letter-header-font-lock, mh-header-field-font-lock): font-lock
	bug fix. Don't return match beyond font-lock search limit.

	* mh-comp.el (mh-letter-mode): Emacs20 bug fix. tool-bar-mode is
	not a bound variable.

2001-11-19  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-tool-bar-map): tool-bar help button goes
	to 'Draft Editing' info node.

	* mh-utils.el (mh-show-from-face, mh-show-to-face): New faces used
	for font-lock.
	(mh-header-to-font-lock, mh-header-cc-font-lock)
	(mh-header-field-font-lock): New helper function returning whole
	header field arguments to font-lock.
	(mh-show-font-lock-keywords): Heavily modified using the above.

	* mh-e.el (mh-scan-msg-num-regexp): Regexp matching the message
	number in scan lines.
	(mh-scan-date-regexp): Regexp matching a valid date in scan lines.
	(mh-scan-rcpt-addr-regexp): Regexp specifying the recipient in
	scan lines for messages we sent.
	(mh-scan-followup-regexp): Regexp matching a followup subject
	line, starting with Re:
	(mh-scan-body-regexp):
	Regexp matching the message body beginning displayed in scan lines.
	(mh-scan.font-lock-regexp): Regexp matching output of the the
	optional scan.font-lock format file.
	(mh-folder-font-lock-keywords): New font-lock for folder-mode that
	uses the above regexps.

2001-11-19  chad brown  <y@mit.edu>

	* mh-comp.el (mh-letter-tool-bar-map): made both references to
	mh-letter-tool-bar-map conditional on tool-bar-mode, instead of
	just one.

2001-11-19  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mh-position-on-field): Move to the end of the header
	if the field is not present. This function was documented to do
	this, but wasn't doing so.
	(mh-insert-x-mailer): Simplified by using existing
	mh-goto-header-field and mh-insert-fields functions. Now that
	mh-insert-fields is used to insert X-Mailer header field, no
	longer need to include X-Mailer in mh-x-mailer-string.

2001-11-18  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-tool-bar-map): New version of
	mh-letter-mode tool-bar.  Changed order of buttons; made customize
	and info buttons specific to mh-e.

	* mh-e.el (mh-folder-font-lock-keywords): New font-lock regexp
	uses variables mh-deleted-msg-regexp, mh-refiled-msg-regexp and
	mh-cur-scan-msg-regexp, so will better adapt to non-default scan
	formats.  Also, lines marked for refiling are now fontified.

2001-11-18  Bill Wohler  <wohler@newt.com>

	* mh-utils.el (mh-show-mode): Added local variable
	mail-header-separator which is initialized to
	mh-mail-header-separator.

	* mh-comp.el (mh-mail-header-separator): Updated to include ^$.
	Needed when running mh-edit-again, since by then the separator is
	gone. Added documentation saying one should use
	mail-header-separator and initialize it from
	mh-mail-header-separator.
	(mh-forward): Initialize mail-header-separator since
	mh-letter-mode hasn't kicked in yet (which does initialize
	mail-header-separator).
	(mh-letter-mode): Initialize mail-header-separator from
	mh-mail-header-separator, not hard-coded string.

	* mh-comp.el (mh-insert-x-mailer-p): New variable to control
	whether X-Mailer string is inserted. Default: t.
	(mh-x-mailer-string): New variable that caches actual X-Mailer
	string.
	(mh-letter-mode): Call mh-insert-x-mailer if mh-insert-x-mailer-p
	is t.
	(mh-insert-x-mailer): New function that inserts X-Mailer header
	field.

2001-11-17  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-letter-header-font-lock): New function to return
	the entire mail header to font-lock for sedate font-locking.
	(mh-show-font-lock-keywords): Modified to fontify whole lines and use
	mh-letter-header-font-lock above to fontify whole header.

2001-11-17  Bill Wohler  <wohler@newt.com>

	* mh-comp.el (mail-header-separator): Added ^ and $ to make more
	specific.
	(mh-forward, mh-letter-mode): Replaced hard-coded string with
	mail-header-separator.

2001-11-16  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-e-RCS-id): Renamed to mh-version.
	(mh-version): The variable: Set to a number instead of Id since
	the Id didn't have the mh-e version number, and both Emacs and
	gnus do it this way too.
	(mh-version): The function: Fixed for nmh. Now displays mh-e
	version correctly. Cleaned up output and display mh-progs, etc.
	(Closes SF #405620.)

2001-11-15  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-tool-bar-map): New tool-bar support for
	mh-letter-mode in emacs21.  Uses icons from gnus/message.el.
	* mh-comp.el (mh-letter-mode): Add buffer-local binding of
	tool-bar-map to mh-letter-tool-bar-map.

2001-11-15  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-have-file-command): Add check for existence of
	executable-find command, which Jeffrey didn't exist in emacs-20.4.
	* mh-utils.el (mh-decode-quoted-printable-have-mimedecode): same
	as above.
	* mh-mime.el (mh-file-mime-type): Bug Fix.  Some versions of
	'file' output a string like "file: Using regular magic file..."
	to stderr, so discard stderr when using call-process with 'file'.

2001-11-14  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-have-file-command): Check if 'file' command on
	system accepts arguments -i -b before accepting it for our use.

2001-11-14  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-find-progs): Use expand-file-name instead of
	concatenating together strings into a path.

2001-11-14  Peter S Galbraith  <psg@debian.org>

	* mh-e.el (mh-folder-sequence-menu): Enable mh-widen in sequence
	menu only when mh-narrowed-to-seq is t.

2001-11-14  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-have-file-command): Use 'executable-find' instead
	of more complicated and error-prone call-process to which command.
	* mh-utils.el (mh-decode-quoted-printable-have-mimedecode): Same
	change as above.

2001-11-14  Jeffrey C Honig  <jch@honig.net>

	* mh-e.el (mh-make-folder-mode-line): Bug fix.  Properly deal with
	folders that do not have any lines in them.  Print "no msgs"
	instead of "0 msgs".  Do not try to print a range when there are
	no messages.
	* mh-e.el (mh-regenerate-headers): Bug fix.  Catch and remove the
	"scan: band message list" message.

2001-11-13  Jeffrey C Honig  <jch@honig.net>

	* mh-utils.el (mh-find-progs): Bug fix.  Add "mh/etc" to the
	subdirectories to search for "components".  On BSD/OS, nmh is in
	"/usr/contrib/mh/*".

2001-11-13  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-mode): Bug fix.  Load mh-mime before
	setting mh-mhn-compose-insert-p (when looking at a "forw: -mime"
	message containing a MIME composition) such that the variable is
	properly declared as buffer-local.

2001-11-12  Bill Wohler  <wohler@newt.com>

	* mh-funcs.el (mh-print-msg): mhl is in the mh-lib-progs
	directory, not mh-lib (closes SF #481128).

2001-11-12  Peter S Galbraith  <psg@debian.org>

	* mh-seq.el (mh-widen): Bug fix (closes SF #481036).
	In a sequence with pending deletes and refiles, running mh-widen
	would wipe out their notations, even though the sequences are still
	defined.  Fixed by calling a new function,
	mh-notate-deleted-and-refiled.  Also changed the coping of
	mh-goto-msg-num since it didn't work consistently.
	* mh-seq.el (mh-notate-deleted-and-refiled): New functions written
	to fix above mh-widen bug.  It's a first cut, we may want to clear
	all notations first, and notate the current-message sequence and
	user sequences.  Time will tell.

2001-11-12  Peter S Galbraith  <psg@debian.org>

	* mh-seq.el (mh-widen): Make it attempt to stay on the same
	message number (closes SF bug #480922).

2001-11-11  Bill Wohler  <wohler@newt.com>

	* import-emacs: New shell script to import Emacs changes to mh-e.

	* Makefile (import): New target to import Emacs changes.

2001-11-09  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-file-mime-type): Bug fix.  Change regexp to
	extract mime type from 'file -i' command output.

2001-11-08  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-update-sequences-after-mh-show):
	New customizable variable telling whether to run
	mh-update-sequences in mh-show-mode.  Default is t.
	* mh-utils.el (mh-show-msg): Run mh-update-sequences when
	mh-update-sequences-after-mh-show is set.

2001-11-08  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-decode-quoted-printable-have-mimedecode):
	New variable telling whether command 'mimedecode' is on system.
	(http://www.freesoft.org/CIE/FAQ/mimedeco.c)
	* mh-utils.el (mh-decode-quoted-printable):
	New customizable variable telling whether to run mimedecode on
	MIME message containing quoted-printable parts.  mimedecode will
	only alter quoted-printable parts , leaving others intact, and the
	resulting message is still fully MIME.
	* mh-utils.el (mh-decode-quoted-printable): New function to run
	mimedecode on the current buffer.
	* mh-utils.el (mh-display-msg): Conditionally call
	mh-decode-quoted-printable function if mh-decode-quoted-printable
	variable is set, to view messages containing quoted-printable
	characters into 8-bit.

2001-11-08  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-mode): Set mh-mhn-compose-insert-p if
	looking at a "forw: -mime" message containing a MIME composition.
	* mh-mime.el (mh-file-mime-type): Bug fix.  Failed on files like
	"~/.mh_profile" because of shell construct.  Wrapped filename with
	expand-file-name.
	* mh-comp.el (mh-letter-mode-map): C-cC-o keybinding in
	mh-letter-mode-map for mh-open-line.

2001-11-07  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-open-line): New user function to split open a line
	when editing a reply with included text.
	* mh-comp.el (mh-current-fill-prefix): New function used by
	mh-open-line to get the fill-prefix on the current line.
	* mh-comp.el: Add mh-open-line to mh-letter-mode menubar.

2001-11-06  Peter S Galbraith  <psg@debian.org>

	* mh-seq.el (mh-region-to-sequence): New function, creating a
	sequence named 'region containing the message list in the selected
	region.
	* mh-e.el (mh-delete-msg): Mark messages in region for deletion if
	mark is active and in transient-mark-mode.
	* mh-e.el (mh-refile-msg): Mark messages in region for refiling if
	mark is active and in transient-mark-mode.
	* mh-e.el (mh-undo): Undo message marks for refile or deletion if
	region if mark is active and in transient-mark-mode.

2001-11-06  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-letter-mode): Use sendmail.el's fill-paragraph.
	Copy its settings for paragraph-start, paragraph-separate,
	fill-paragraph-function, adaptive-fill-regexp and
	adaptive-fill-first-line-regexp.  This make M-q (fill-paragraph)
	work correctly!

2001-11-05  Peter S Galbraith  <psg@debian.org>

	* mh-funcs.el (mh-kill-folder): Remove mh-do-not-confirm condition
	and always prompt the user for such a drastic step.  Also change
	the prompt a bit to clarify it.

2001-11-04  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-mhn-compose-insert-p): New buffer-local variable
	to tell when a MIME insertion was done in a letter.
	* mh-mime.el (mh-mhn-compose-type): Set mh-mhn-compose-insert-p.
	* mh-mime.el (mh-mhn-compose-external-type):
	Set mh-mhn-compose-insert-p.
	* mh-mime.el (mh-mhn-compose-forw): Set mh-mhn-compose-insert-p.
	* mh-mime.el (mh-edit-mhn): Clear mh-mhn-compose-insert-p.
	* mh-comp.el (mh-send-letter): Run mh-edit-mhn when
	mh-mhn-compose-insert-p is set.

2001-11-03  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-have-file-command): new function testing whether
	file command is on the system.
	* mh-mime.el (mh-file-mime-type): new function returning MIME type
	from file command.
	* mh-mime.el (mh-mhn-compose-insertion): Make use of
	mh-file-mime-type function instead of prompting.

2001-10-30  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-show-use-goto-addr): defcustom this new
	variable, determining whether to call goto-addr in mh-show-mode.
	* mh-utils.el (mh-show-mode): Call goto-address when
	mh-show-use-goto-addr is t.

2001-10-25  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-recenter): Clarify docs and change '(t) to
	(list 4) to match elisp doc on what C-u prefix argument actually is.

2001-10-23  Peter S Galbraith  <psg@debian.org>

	* mh-utils.el (mh-summary-height): In my quest to make mh-e more
	useful out-of-the-box for new users, set mh-summary-height to a
	minimum of 4 and a maximum of 10 depending on frame height.  I
	typically have 70 lines in my Emacs frame, so having a default of
	4 was silly for my case.
	* mh-e.el (mh-update-sequences): Check for nil value of
        mh-current-folder, which happens if mh-summary-height < 4
	although I haven't tracked doen why that happens.

2001-10-22  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-insert-fields): Test for nil value when inserting
	field.

2001-10-20  Peter S Galbraith  <psg@debian.org>

	* mh-comp.el (mh-user-agent-compose): Merged-in from XEmacs-21.4 source
	* mh-comp.el (mh-letter-mode): Add easy-menu-add statement for XEmacs21
	* mh-pick.el (mh-pick-mode): Add easy-menu-add statement for XEmacs21.
	* mh-e.el (mh-folder-mode): Add easy-menu-add statements for XEmacs21.
	* mh-utils.el: defalias 'screen-height to 'frame-height for XEmacs21.

2001-10-19  Peter S Galbraith  <psg@debian.org>

	* mh-mime.el (mh-edit-mhn): Use mhbuild in nmh context.
	* mh-utils.el (mh-find-progs): The variable mh-nmh-p (t when nmh
	is in use rather than MH) was set assuming that the string "nmh"
	will be in mh-lib-progs or mh-lib.  This failed on Debian systems.
	Better to check for the existence of mhbuild in directory mh-progs.
	(closes SF bug #441776)

2001-10-18  Peter S Galbraith  <psg@debian.org>

	* mh-e.el: Add menubar entry from contrib/mh-menubar.el
	* mh-comp.el: Add menubar entry from contrib/mh-menubar.el
	* mh-pick.el: Add menubar entry from contrib/mh-menubar.el

2001-07-30  Peter S Galbraith  <psg@debian.org>

	* mh-e.el: Change font-lock patterns for folders.
	Fontify scan.font-lock patterns (which will be documented)
	and fontify subject lines prefixed with "Re:" differently.
	* mh-comp.el (mh-letter-mode): Add font-lock support as in
	mh-show-mode.

2001-04-14  chad brown  <y@mit.edu>

	Rearrange the font-lock keywords a bit.

2001-04-12  chad brown  <y@mit.edu>

	Preliminary (somewhat boring) font-lock support for mh-e.  More
	interesting font-lock support probably wants to have better
	support for multiple format files

2001-02-24  chad brown  <y@mit.edu>

	Add default nmh paths to mh-find-prog in mh-utils.el.
	change to mh-kill-folder in mh-funcs.el to make it more general.

2001-02-19  Bill Wohler  <wohler@newt.com>

	* Makefile (EMACS): Renamed to EMACS_HOME. Also, don't define if
	EMACS_HOME already exists to give developer a chance to set
	environment variable.
	(install): $MH-E-SRC is copied to $(EMACS_HOME)/lisp/mail, not
	$(EMACS_HOME)/src.
	(dist): Leave release in current directory.


  Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.

  This file is part of GNU Emacs.

  GNU Emacs is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  GNU Emacs is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.