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
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
|
2008-11-19 Andy Stewart <lazycat.manatee@gmail.com>
* erc.el (erc-header-line-uses-tabbar-p): New option that makes
tabbar mode usable with ERC if set to non-nil.
(erc-update-mode-line-buffer): Use it.
2008-11-19 Glenn Morris <rgm@gnu.org>
* erc-compat.el (help-function-arglist): Autoload it.
2008-10-03 Michael Olson <mwolson@gnu.org>
* erc-dcc.el (english): Increase size heading by two places.
(erc-dcc-byte-count): Move higher.
(erc-dcc-do-LIST-command): Use erc-dcc-byte-count to get accurate
count. Coerce byte total to floating point before performing
computation, otherwise division will truncate to 0.
(erc-dcc-append-contents): Update erc-dcc-byte-count.
(erc-dcc-get-filter): Don't update erc-dcc-byte-count, because
that will give incorrect size totals. Instead, figure out how
much we have by summing byte count and current buffer size.
(erc-dcc-get-sentinel): Don't update erc-dcc-byte-count.
2008-10-01 Michael Olson <mwolson@gnu.org>
* erc-dcc.el (erc-pack-int): Make sure returned string is within 4
bytes. Always return a 4-byte string, so that we conform to the
CTCP spec.
(erc-most-positive-int-bytes): New constant representing the
number of bytes that most-positive-fixnum can be stored in.
(erc-most-positive-int-msb): New constant representing the
contents of the most significant byte of most-positive-fixnum.
(erc-unpack-int): Make sure that the integer we get back can be
represented in Emacs.
(erc-dcc-do-CLOSE-command): Update docstring. Don't use the line
variable. Try to disambiguate between type and nick when only one
is provided. Validate both type and nick arguments. Allow
matching by just nick.
(erc-dcc-append-contents): Set inhibit-read-only to t. Prevent
auto-compression from triggering when we write the contents to a
file.
(erc-dcc-get-file): Prevent auto-compression from triggering when
we truncate a file.
2008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
* erc.el: Remove code for Carbon.
2008-06-07 Glenn Morris <rgm@gnu.org>
* erc-autoaway.el, erc-ibuffer.el, erc-menu.el:
* erc-stamp.el, erc.el: Remove unnecessary eval-when-compiles.
2008-05-30 Diane Murray <disumu@x3y2z1.net>
* erc-backend.el (328): New response handler.
* erc.el (english): Add 328 to catalog.
2008-05-29 Diane Murray <disumu@x3y2z1.net>
* erc-services.el (erc-nickserv-alist): Update REGEXP and
SUCCESS-REGEXP for freenode.
2008-05-05 Juanma Barranquero <lekktu@gmail.com>
* erc-goodies.el (erc-noncommands-list, noncommands)
(erc-control-characters, erc-interpret-controls-p)
(erc-interpret-mirc-color): Fix typos in docstrings.
(erc-controls-highlight): Reflow docstring.
2008-04-26 Johan Bockgård <bojohan@gnu.org>
* erc.el (erc-put-text-properties): Don't use mapcar*.
(erc-display-line-1): Fix argument order in call to
erc-put-text-properties.
2008-04-14 Michael Olson <mwolson@gnu.org>
* erc.el (erc-remove-text-properties-region): Disable this command
by default. Thanks to e1f for the suggestion.
2008-02-20 Michael Olson <mwolson@gnu.org>
* erc.el (erc-notice-face): Fix this face for Emacs 21 users.
2008-02-05 Juanma Barranquero <lekktu@gmail.com>
* erc.el (erc-valid-nick-regexp):
* erc-button.el (erc-button-syntax-table):
* erc-match.el (erc-match-syntax-table): Replace `legal' with `valid'.
2008-02-04 Jeremy Maitin-Shepard <jbms@cmu.edu>
* erc.el (erc-cmd-QUERY): Bind the value of `erc-auto-query' to
`erc-query-display' rather than `erc-join-buffer'. This fixes a
bug where the value of erc-auto-query was being ignored.
2008-01-31 Michael Olson <mwolson@gnu.org>
* erc-dcc.el (erc-dcc-do-GET-command, erc-dcc-do-SEND-command):
Improve docstring. If FILE argument is split into multiple
arguments, re-join them into a single string, separated by a
space. This fixes an issue where the user wants to send or
receive a file with spaces in its name. It is assumed that no one
will try sending or receiving a file with multiple consecutive
spaces in its name, otherwise this fix will fail.
* erc.el (erc-mode-map): Add binding for C-c C-x to
erc-quit-server, since rcirc.el binds its quit command in a
similar manner. Thanks to Jari Aalto for the suggestion.
2008-01-28 Diane Murray <disumu@x3y2z1.net>
* erc-list-old.el (list-old): Define module as list-old, not list.
This fixes a bug where an unknown module error would occur when
starting ERC and using the list-old module.
* erc-track.el (erc-track-find-face): If no choice was found
return nil to use the default mode-line faces.
2008-01-26 Michael Olson <mwolson@gnu.org>
* erc.el (erc-version-string): Release ERC 5.3.
* Makefile (VERSION): Update.
(EXTRAS): Remove erc-list.el after all, because this is mainly for
users of the version that comes with Emacs, and they will have
erc-list.el by Emacs 23.
(MISC): Add ChangeLog.07.
(elpa): Fix build issue. Add proper version to erc-pkg.el.
* README.extras: Mention Emacs 23.
* erc-pkg.el: Make the version string a template.
* erc.texi (Obtaining ERC): Update extras URLs for 5.3.
(Development): Write instructions for git, and remove those for Arch.
(History): Mention the switch to git.
2008-01-25 Michael Olson <mwolson@gnu.org>
* NEWS: Update.
* erc-goodies.el (keep-place): New module which keeps your place
in unvisited ERC buffers when new messages arrive. This is mostly
taken from Johan Bockgård's init file.
(erc-noncommands-list): Move to correct place.
* erc-networks.el: Add a module definition.
* erc-services.el (erc-nickserv-identify-mode): Force-enable the
networks module, because we need it to set erc-network for us.
* erc-track.el (erc-track-faces-normal-list): Indicate in the
docstring that this variable can be set to nil.
* erc.el: On second thought, don't load erc-networks. Just enable
the networks module by default.
(erc-modules): Add option for keep-place and networks. Enable
networks by default.
(erc-version-string): Make release candidate 1 available.
2008-01-24 Michael Olson <mwolson@gnu.org>
* erc.el: Load erc-networks.el so that functions get access to the
`erc-network-name' function.
* erc-track.el (erc-track-faces-normal-list): Add
erc-dangerous-host-face.
(erc-track-exclude-types): Add 333 and 353 to the default list of
things to ignore, and explain what they are in the docstring.
2008-01-23 Michael Olson <mwolson@gnu.org>
* erc-track.el (erc-track-faces-priority-list): Move
erc-nick-default-face higher, so that it can be used for the
activity indication effect. Add erc-current-nick-face,
erc-pal-face, erc-dangerous-host-face, and erc-fool-face by
themselves.
(erc-track-faces-normal-list): New option that contains a list of
faces to consider "normal".
(erc-track-position-in-mode-line): Minor docfix.
(erc-track-find-face): Use erc-track-faces-normal-list to produce
a sort of blinking activity effect.
2008-01-22 Michael Olson <mwolson@gnu.org>
* erc-button.el (erc-button-add-nickname-buttons): When in a
channel buffer, only look at nicks from the current channel.
Thanks to e1f for the report.
2008-01-21 Michael Olson <mwolson@gnu.org>
* erc-compat.el (erc-const-expr-p, erc-list*, erc-assert): Remove,
since we can use the default `assert' function without it causing
us any problems, even in Emacs 21. Thanks to bojohan for the
suggestion.
* erc-goodies.el (move-to-prompt): Use the "XEmacs" method
instead, because the [remap ...] method interferes with
delete-selection-mode.
(erc-move-to-prompt): Rename from erc-move-to-prompt-xemacs.
Deactivate mark and call push-mark before moving point. Thanks to
bojohan for the suggestion.
(erc-move-to-prompt-setup): Rename from
erc-move-to-prompt-init-xemacs.
* erc-track.el (erc-track-faces-priority-list): Replace erc-button
with '(erc-button erc-default-face) so that we only care about
buttons that are part of normal text. Adjust customization type
to handle this case. Make erc-nick-default-face a list. Handle
pals, fools, current nick, and dangerous hosts.
(erc-track-find-face): Simplify. Adapt for list of faces case.
(erc-faces-in): Don't deflate lists of faces. Add them as-is.
(erc-track-face-priority): Use equal instead of eq.
2008-01-20 Michael Olson <mwolson@gnu.org>
* erc-goodies.el (erc-move-to-prompt, erc-move-to-prompt-xemacs):
Fix off-by-one error that caused the point to move when placed at
the beginning of some already-typed text. Thanks to e1f for the
report.
* erc-dcc.el, erc-xdcc.el: Add simple module definitions.
* erc.el (erc-modules): Add dcc and xdcc.
2008-01-19 Michael Olson <mwolson@gnu.org>
* erc-bbdb.el (erc-bbdb-insinuate-and-show-entry): Work around bug
in XEmacs 21.4 that throws an error when the first argument to
run-at-time is nil.
* erc-button.el (button): Undo XEmacs-specific change to all ERC
buffers when module is removed.
(erc-button-setup): Rename from erc-button-add-keys, and move
XEmacs-specific stuff here.
* erc-goodies.el (erc-unmorse): Improve regexp for detecting
morse. Deal with the morse style that has "/ " at the end of
every letter.
(erc-imenu-setup): New function that sets up Imenu support. Add
it instead of a lambda form to erc-mode-hook.
(scrolltobottom): Remove erc-scroll-to-bottom from all ERC buffers
when module is removed. Activate the functionality in all ERC
buffers when the module is activated, rather than leaving it up to
the user.
(move-to-prompt): New module that moves to the ERC prompt if a
user tries to type elsewhere in the buffer, and then inserts their
keystrokes there. This is mostly taken from Johan Bockgård's init
file.
(erc-move-to-prompt): New function that implements this.
(erc-move-to-prompt-xemacs): New function that implements this for
XEmacs.
(erc-move-to-prompt-init-xemacs): New function to perform the
extra initialization step needed for XEmacs.
* erc-page.el, erc-replace.el: Fix header and footer.
* erc-track.el (erc-track-minor-mode-maybe): Take an optional
buffer arg so that we can put this in erc-connect-pre-hook. If
given this argument, include it in the check to determine whether
to activate erc-track-minor-mode.
(track): Add erc-track-minor-mode-maybe to erc-connect-pre-hook,
so that we can use it as soon as a connection is attempted.
* erc.el (erc-format-network, erc-format-target-and/or-network):
Use erc-network-name function instead, and check to see whether
that function is bound. This fixes an error in process filter for
people who did not have erc-services or erc-networks loaded.
(erc-modules): Add move-to-prompt module and enable it by
default. Thanks to e1f for the suggestion.
2008-01-18 Michael Olson <mwolson@gnu.org>
* Makefile (EXTRAS): Include erc-list-old.el.
* erc-dcc.el (erc-dcc-verbose): Rename from erc-verbose-dcc.
(erc-pack-int): Rewrite to not depend on a count argument.
(erc-unpack-int): Rewrite to remove 4-character limitation.
(erc-dcc-server): Call set-process-coding-system and
set-process-filter-multibyte so that the contents get sent out
without modification.
(erc-dcc-send-filter): Don't take a substring -- just pass the
whole string to erc-unpack-int.
(erc-dcc-receive-cache): New option that indicates the number of
bytes to let the receive buffer grow before flushing it.
(erc-dcc-file-name): New buffer-local variable to keep track of
the filename of the currently-received file.
(erc-dcc-get-file): Disable undo for a speed increase. Set
erc-dcc-file-name. Truncate the file before writing to it.
(erc-dcc-append-contents): New function to append the contents of
a buffer to a file and then erase the contents of the buffer.
(erc-dcc-get-filter): Flush buffer contents after exceeding
erc-dcc-receive-cache. This allows large files to be downloaded
without storing the whole thing in memory.
(erc-dcc-get-sentinel): Flush any remaining contents before
closing. No need to save buffer.
(erc-dcc-listen-host): New option that determines which IP address
to listen on.
(erc-dcc-public-host): New option that determines which IP address
to advertise when sending a file. This is useful for people who
are on a local subnet. Together, these two options replace
erc-dcc-host.
* erc.el (erc-mode-line-format): Add %N and %S. %N is the name of
the network, and %S is much like %s but with the network name
trumping the server name. Default to "%S %a". Thanks to e1f for
the suggestion.
(erc-format-network): New function that formats the network name.
(erc-format-target-and/or-network): New function that formats both
the network name and target, falling back on the server name if
the network name is not available.
(erc-update-mode-line-buffer): Add the new format spec items.
2008-01-17 Michael Olson <mwolson@gnu.org>
* erc.el (erc-join-buffer): Improve documentation.
(erc-query-display): New option indicating how to display a query
buffer that is made by using the /QUERY command. The default is
to display the query in a new window.
(erc-cmd-QUERY): Use it. Improve docstring.
(erc-auto-query): Default this to 'window-noselect instead,
because I've already seen bug reports about new users thinking
that ERC didn't display their test messages. Improve
customization type.
(erc-notice-face): Make this work with XEmacs.
(erc-join-buffer): Mention 'buffer in docstring. Improve
customization type.
* erc-dcc.el (erc-dcc-send-sentinel): Better handle case where elt
is nil, in order to avoid an error. Thanks to Brent Goodrick for
the initial patch.
(erc-dcc-display-send): New function split from erc-dcc-send-hook.
(erc-dcc-send-connect-hook): Use it -- we don't like lambda forms
in hooks.
(erc-dcc-send-filter): Display byte count if the client confirmed
too much, and kill the buffer. Otherwise a DoS might be possible
by making Emacs run out of RAM.
* erc-backend.el (erc-server-connect): Detect early on whether the
connection attempt has failed in order to avoid confusing error
messages.
* erc-networks.el (erc-server-alist): Add Rizon network.
* erc-services.el (erc-nickserv-passwords): Add Rizon to options.
(erc-nickserv-alist): Add support for Rizon.
* erc-track.el (erc-track-find-face): Don't let buttons in notices
trump default text. Use catch/throw. Default to first element of
FACES is nothing is found.
* erc-xdcc.el: Add local variables for proper indentation setup.
2008-01-15 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-server-coding-system): Docfix.
(erc-coding-system-for-target): Pass the `target' argument along
as the first and only argument. It's not good to just depend on a
dynamic binding.
2008-01-10 Michael Olson <mwolson@gnu.org>
* erc-backend.el (321, 322): Split message-displaying parts into
new functions, which are added to each response's respective
hook. This makes them easier to disable.
* erc-list.el: New file from Tom Tromey. Use erc-propertize
instead of propertize. Require 'erc.
(list): New module definition. Remove message-displaying
functions for 321 and 322 response handlers when enabling the
module, and restore them when disabling. As a sanity check,
remove the erc-list-handle-322 function when disabling the module.
(erc-list-handle-322): Handle the case where we run the LIST
command, but do not go through the normal steps.
(erc-cmd-LIST): Add docstring. Strip initial space from line if
it is non-nil. Use make-local-variable to silence compiler
warning. Capture current buffer and pass it to
erc-list-install-322-handler.
(erc-list-install-322-handler): Take server-buffer argument, so
that we are certain of being in the right buffer. Use 4th
argument to add-hook, so that erc-server-322-functions is only
modified in one buffer.
* erc-list-old.el: Renamed from old erc-list.el.
* erc.el (erc-modules): Add list-old.
(erc-set-topic): Handle case where there are no newlines in the
existing topic, which happens when /LIST is run.
(erc-notice-face): If we have less than 88 colors, make this
blue. Otherwise the text will be pink in a tty, which looks
dreadful. Thanks to e1f for the report.
(erc-remove-parsed-property): New option that determines whether
to remove the erc-parsed property after displaying a message.
This should have the effect of making ERC take up less memory.
(erc-display-line-1): Use it.
2008-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
* erc-ibuffer.el (erc-channel-modes):
Pass mode-name through format-mode-line
2007-12-16 Diane Murray <disumu@x3y2z1.net>
* erc-services.el (erc-nickserv-alist): Removed autodetect regexp,
added identified regexp for OFTC.
(erc-nickserv-identification-autodetect): Make sure success-regex
is non-nil.
(erc-nickserv-identify-autodetect): Make sure identify-regex is
non-nil. Doc fix.
2007-12-13 Diane Murray <disumu@x3y2z1.net>
* erc-backend.el (PRIVMSG, QUIT, TOPIC, WALLOPS, 376, 004, 221)
(312, 315, 319, 330, 331, 333, 367, 368, 391, 405, 406, 412)
(421, 432, 433, 437, 442, 461, 474, 477, 482, 431): Doc fix.
2007-12-09 Michael Olson <mwolson@gnu.org>
* erc-services.el (erc-nickserv-alist): Fix regexps for GRnet.
2007-12-09 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
* erc-backend.el, erc.el:
Parse 275 (secure connection) responses.
* erc-services.el: Add identification hooks for GRnet, the Greek
IRC network <http://www.irc.gr>.
2007-12-08 David Kastrup <dak@gnu.org>
* erc-stamp.el (erc-echo-timestamp):
* erc-lang.el (language):
* erc-backend.el (erc-server-connect): Fix buggy call to `message'.
2007-12-07 Edward O'Connor <ted@oconnor.cx>
* erc-services.el: Provide a hook that runs when nickserv confirms
that the user has successfully identified.
(services, erc-nickserv-identify-mode): Add and remove
erc-nickserv-identification-autodetect from
erc-server-NOTICE-functions.
(erc-nickserv-alist): Add SUCCESS-REGEXP to each entry.
(erc-nickserv-alist-identified-regexp)
(erc-nickserv-identification-autodetect): New functions.
(erc-nickserv-identified-hook): New hook.
2007-12-06 Deepak Goel <deego3@gmail.com>
* erc-match.el (erc-add-entry-to-list): Fix buggy call to `error'.
2007-12-01 Glenn Morris <rgm@gnu.org>
* erc-backend.el (erc-server-send-ping): Move after definition of
erc-server-send.
2007-11-29 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
* erc-backend.el, erc.el:
Parse 307 (nick has identified) responses.
2007-11-15 Juanma Barranquero <lekktu@gmail.com>
* erc.el (erc-open):
* erc-backend.el (define-erc-response-handler):
* erc-log.el (log):
* erc-match.el (erc-log-matches): Fix typos in docstrings.
2007-11-11 Michael Olson <mwolson@gnu.org>
* erc-autoaway.el (erc-autoaway-possibly-set-away):
* erc-netsplit.el (erc-netsplit-timer):
* erc-notify.el (erc-notify-timer):
* erc-track.el (erc-user-is-active): Only run if we have
successfully established a connection to the server and have
logged in. I suspect that sending messages too soon may make some
IRC servers not respond well, particularly when the network
connection is iffy or subject to traffic-shaping.
2007-11-01 Michael Olson <mwolson@gnu.org>
* erc-compat.el (erc-set-write-file-functions): New compatibility
function to set the write hooks appropriately.
* erc-log.el (erc-log-setup-logging): Use
erc-set-write-file-functions. This fixes a byte-compiler warning.
* erc-stamp.el: Silence byte-compiler warning about
erc-fill-column.
* erc.el (erc-with-all-buffers-of-server): Bind the result of
mapcar to a variable in order to silence a byte-compiler warning.
2007-10-29 Michael Olson <mwolson@gnu.org>
* erc-ibuffer.el (erc-modified-channels-alist): Use
eval-when-compile, and explain why we are doing this.
2007-10-25 Dan Nicolaescu <dann@ics.uci.edu>
* erc-ibuffer.el (erc-modified-channels-alist): Pacify
byte-compiler.
2007-10-13 Glenn Morris <rgm@gnu.org>
* erc-track.el (erc-modified-channels-update): Use mapc rather
than mapcar.
2007-10-12 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-join-channel): Prompt for channel key if C-u or
another prefix-arg was typed.
* NEWS: Noted this change.
2007-10-07 Michael Olson <mwolson@gnu.org>
* erc.el (erc-cmd-ME'S): New command that handles the case where
someone types "/me's". It concatenates the text " 's" to the
beginning of the input and then sends the result like a normal
"/me" command.
(erc-command-regexp): Permit single-quote character.
2007-09-30 Aidan Kehoe <kehoea@parhasard.net> (tiny change)
* erc-log.el (erc-save-buffer-in-logs): Prevent spurious warnings
when looking at a log file and concurrently saving to it.
2007-09-18 Exal de Jesus Garcia Carrillo <exal@gnu.org> (tiny change)
* erc.texi (Special-Features): Fix small typo.
2007-09-16 Michael Olson <mwolson@gnu.org>
* erc-track.el (erc-track-switch-direction): Mention
erc-track-faces-priority-list. Thanks to Leo for the suggestion.
2007-09-11 Exal de Jesus Garcia Carrillo <exal@gnu.org> (tiny change)
* erc-sound.el: Fix typo in setting up instructions.
2007-09-10 Michael Olson <mwolson@gnu.org>
* Makefile (elpa): Copy dir template rather than echoing a few
lines. The reason for this is that the ELPA package for ERC was
getting a corrupt dir entry.
* dir-template: Template for the ELPA dir file.
2007-09-08 Michael Olson <mwolson@gnu.org>
* erc-log.el (erc-log-filter-function): New option that specifies
the function to call for filtering text before writing it to a log
file. Thanks to David O'Toole for the suggestion.
(erc-save-buffer-in-logs): Use erc-log-filter-function. Make sure
we carry along the value of coding-system-for-write, because this
could potentially be shadowed by the temporary buffer.
* erc.el (erc-version-string): Update to 5.3, development version.
2007-09-07 Glenn Morris <rgm@gnu.org>
* erc.el (erc-toggle-debug-irc-protocol): Fix call to
erc-view-mode-enter.
2007-08-08 Glenn Morris <rgm@gnu.org>
* erc-log.el, erc.el: Replace `iff' in doc-strings and comments.
2007-09-03 Michael Olson <mwolson@gnu.org>
* erc.el (erc-default-port): Make this an integer value rather
than a string. Thanks to Luca Capello for the report.
2007-08-27 Michael Olson <mwolson@gnu.org>
* erc.el (erc-cmd-GQUIT): If erc-kill-queries-on-quit is non-nil,
kill all query buffers after 4 seconds.
2007-08-16 Michael Olson <mwolson@gnu.org>
* NEWS: Add ERC 5.3 changes section, and mention jbms' erc-track
compatibility note.
* erc-track.el (erc-track-list-changed-hook): Turn this into a
customizable option.
(erc-track-switch-direction): Add 'importance option.
(erc-modified-channels-display): If erc-track-switch-direction is
'importance, call erc-track-sort-by-importance.
(erc-track-face-priority): New function that returns a number
indicating the position of a face in erc-track-faces-priority-list.
(erc-track-sort-by-importance): New function that sorts
erc-modified-channels-list according to erc-track-face-priority.
(erc-track-get-active-buffer): Make 'oldest a rough opposite of
'importance.
2007-08-14 Jeremy Maitin-Shepard <jbms@cmu.edu>
* erc-track.el (erc-track-remove-disconnected-buffers): New
variable which controls whether buffers associated with a server
that is disconnected should be removed from
`erc-modified-channels-alist'. Existing behavior is to
unconditionally remove such buffers, which is achieved by setting
`erc-track-removed-disconnected-buffers' to t. When set to t,
which is the new default value, such buffers remain in the list,
which I think is often the desired behavior, since the user may
likely wish to find out about activity that occurred in a channel
prior to it being disconnected.
(erc-track-list-changed-hook): New hook that is run whenever the
contents of `erc-modified-channels-alist' changes; it is useful
for users such as myself that don't use the default mode-line
notification but instead use a separate mechanism (which is tied
to my window manager) to provide notification of channel activity.
(erc-track-get-buffer-window): New function that acts as a wrapper
around `get-buffer-window' that handles the `selected-visible'
option of `erc-track-visibility'; previously, the value of
`erc-track-visibility' was passed directly to `get-buffer-window',
which does not support `selected-visible'; consequently,
`selected-visible' was not properly supported.
(erc-track-modified-channels): Fix a bug in the logic for removing
buffers from the list in certain cases.
(erc-track-position-in-mode-line): Add a supported value that
specifies that the tracking information should not be added to the
mode line at all. The value of nil is used to indicate that the
information should not be added at all to the mode line.
(erc-track-add-to-mode-line): Check for position eq to t, rather
than non-nil.
(erc-buffer-visible): Use erc-track-get-buffer-window.
(erc-modified-channels-update): Take
erc-track-remove-disconnected-buffers into account.
(erc-modified-channels-display): Run `erc-track-list-changed-hook'.
* erc.el (erc-reuse-frames): New option that determines whether
new frames are always created. Defaults to t. This only has an
effect when erc-join-buffer is set to 'frame.
(erc-setup-buffer): Use it.
2007-08-14 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-server-reconnect): If the server buffer has
been killed, use the current buffer instead. If the current
buffer is not an ERC buffer, give an error. This fixes a bug when
/reconnect is run from a channel buffer whose server buffer has
been deleted. Thanks to jbms for the report.
(erc-process-sentinel-1): Take server buffer as an argument, so
that we can make sure that it is current.
(erc-process-sentinel): Pass buffer to erc-process-sentinel-1.
(erc-process-sentinel-2): New function split from
erc-process-sentinel-1. If server buffer is deleted during a
reconnect attempt, stop trying to reconnect. Fix bug where
reconnect was not happening when erc-server-reconnect-attempts was
t. Call erc-server-reconnect-p only once each time. If we are
instructed to try connecting indefinitely, tell the user that they
can stop this by killing the server buffer. Call the process
sentinel by means of run-at-time, so that there is time to kill
the buffer if need be; this also removes the need for a while
loop. Refuse to reconnect again if erc-server-reconnect-timeout
is not an number.
* erc.el (erc-command-no-process-p): Fix bug: the return value of
erc-extract-command-from-line is a list rather than a single
symbol. Thanks to jbms for the report.
(erc-cmd-RECONNECT): Use simpler logic, and use buffer-live-p
rather than bufferp.
(erc-send-current-line, erc-display-command, erc-display-msg):
Handle case where erc-server-process is nil, so that /reconnect
works.
2007-08-12 Michael Olson <mwolson@gnu.org>
* erc-identd.el (erc-identd-filter): Instead of sending an EOF
character, which now confuses freenode, stop the server process,
so that no new connections are accepted, and kill the current
client process.
2007-07-29 Michael Olson <mwolson@gnu.org>
* erc-list.el: Relicense to GPLv3. Since the file was already
licensed under version 2 or later, it turns out that we do not
need the permission of all of the authors in order to proceed.
2007-07-13 Michael Olson <mwolson@gnu.org>
* erc-goodies.el (erc-get-bg-color-face, erc-get-fg-color-face):
Use erc-error rather than message and beep.
* erc-sound.el: Indentation fix.
* erc.el (erc-command-no-process-p): New function that determines
if its argument is an ERC command that can be run when the server
process is not alive.
(erc-cmd-SET, erc-cmd-CLEAR, erc-cmd-COUNTRY, erc-cmd-HELP)
(erc-cmd-LASTLOG, erc-cmd-QUIT, erc-cmd-GQUIT)
(erc-cmd-RECONNECT, erc-cmd-SERVER): Denote that these commands
can be run even when the server process is not alive.
(erc-send-current-line): Call erc-command-no-process-p if the
server process is not alive, to determine if we have a command
that can be run anyway. Thanks to Tom Tromey for the bug report.
(erc-error): New function that either displays a message or throws
an error, depending on whether debug-on-error is non-nil.
(erc-cmd-SERVER, erc-send-current-line): Use it.
2007-07-10 Michael Olson <mwolson@gnu.org>
* Relicense all FSF-assigned code to GPLv3.
2007-06-25 Michael Olson <mwolson@gnu.org>
* erc.texi (Options): Fix typo.
(Getting Help and Reporting Bugs): Update webpage URL. Make Gmane
part more readable.
2007-06-20 Michael Olson <mwolson@gnu.org>
* erc-stamp.el (erc-timestamp-format-left): New option that
specifies the left timestamp to use for
erc-insert-timestamp-left-and-right.
(erc-timestamp-format-right): New option that specifies the right
timestamp to use for erc-insert-timestamp-left-and-right.
(erc-insert-timestamp-function): Change default to
erc-insert-timestamp-left-and-right.
(erc-insert-away-timestamp-function): Ditto.
(erc-timestamp-last-inserted-left)
(erc-timestamp-last-inserted-right): New variables to keep track
of data for erc-insert-timestamp-left-and-right.
(erc-insert-timestamp-left-and-right): New function that places
timestamps on both the left and right sides of the screen, but
only if each timestamp has changed since it was last computed.
Thanks to offby1 for urging me to merge this.
* erc.el (erc-open-ssl-stream): Display informative error when
ssl.el not found.
(erc-tls): New function to connect using tls.el.
(erc-open-tls-stream): New function to initiate tls connection.
Display informative error when tls.el not found.
2007-06-19 Michael Olson <mwolson@gnu.org>
* erc-log.el: Update header with accurate instructions.
2007-06-17 Michael Olson <mwolson@gnu.org>
* erc-pkg.el: Update description to match what is currently in ELPA.
2007-06-14 Juanma Barranquero <lekktu@gmail.com>
* erc-goodies.el (erc-scroll-to-bottom): Remove redundant check.
2007-06-13 Michael Olson <mwolson@gnu.org>
* erc-compat.el (erc-with-selected-window): New compatibility
macro that implements `with-selected-window'.
* erc-goodies.el (erc-scroll-to-bottom): Use it. This fixes a bug
with buffer ordering where ERC buffers would move to the top.
Thanks to Ivan Kanis for the patch.
2007-06-10 Michael Olson <mwolson@gnu.org>
* erc-log.el (erc-logging-enabled): Fix a bug that occurred when
`erc-log-channels-directory' had the name of a function.
2007-06-06 Juanma Barranquero <lekktu@gmail.com>
* erc.el (erc-show-channel-key-p, erc-startup-file-list):
Fix typo in docstring.
2007-06-03 Michael Olson <mwolson@gnu.org>
* erc-compat.el (erc-view-mode-enter): Make this its own function,
in order to document what we do, and provide sane fallback
behavior.
* erc.el (erc-toggle-debug-irc-protocol): Don't pass any arguments
to erc-view-mode-enter, since we don't do anything special with
the exit function. This fixes a bug with Emacs 21 and Emacs 22.
Thanks to Leo for noticing.
2007-05-30 Michael Olson <mwolson@gnu.org>
* erc-compat.el (erc-user-emacs-directory): New variable that
determines where to find user-specific Emacs settings. For Emacs,
this is usually ~/.emacs.d, and for XEmacs this is usually
~/.xemacs.
* erc.el (erc-startup-file-list): Use erc-user-emacs-directory.
2007-05-28 Michael Olson <mwolson@gnu.org>
* erc-button.el (erc-button-url-regexp): Recognize parentheses as
part of URLs. Thanks to Lawrence Mitchell for the fix.
2007-05-26 Michael Olson <mwolson@gnu.org>
* erc.texi (Modules): Fix references to completion modules.
2007-05-21 Michael Olson <mwolson@gnu.org>
* Makefile (SOURCE): Remove erc-pkg.el.
(debclean): New rule to clean old Debian packages of ERC.
(debprepare): Don't modify the released tarball, but copy it as
the .orig.tar.gz file.
(debrelease, debrevision): Remove.
(debinstall): New target that copies the generated Debian file to
a distro-specific location.
(deb): New rule that chains together the stages in building a
Debian package.
(EXTRAS): Add erc-nicklist.el, since it is not release-quality.
(extras): Copy images directory.
* erc-nicklist.el (erc-nicklist-icons-directory): Use
locate-library to find the "images" directory. This should be
more failsafe. Thanks to Tom Tromey for the idea.
2007-05-19 Michael Olson <mwolson@gnu.org>
* Makefile (ELPA): New variable that contains the location of my
local ELPA repository.
(elpa): New rule that makes an ELPA package for ERC.
2007-04-19 Michael Olson <mwolson@gnu.org>
* erc.el (erc-parse-prefix): New function that retrieves the
PREFIX server parameter from the current server and returns an
alist of prefix type to prefix character.
(erc-channel-receive-names): Use `erc-parse-prefix' to determine
whether the first character of a nick is a prefix character or
not. This should fix a bug reported by bromine about needing to
type "%" first to complete nicks of people who are "hops" on
Slashnet. This should also support for very exotic IRC server
setups, if any exist.
(erc-update-current-channel-member): Indentation.
2007-04-15 Michael Olson <mwolson@gnu.org>
* erc-log.el (erc-generate-log-file-name-function): Docfix.
Mention how to deal with the case for putting log files in
different directories. Change a customization type from `symbol'
to `function'.
(erc-log-channels-directory): Allow this to contain a function
name, which is called with the same args as in
`erc-generate-log-file-name-function'. Thanks to andrewy for the
report and use case.
(erc-current-logfile): Detect if `erc-log-channels-directory' is a
function and call it with arguments if so.
2007-04-12 Michael Olson <mwolson@gnu.org>
* erc-backend.el (define-erc-response-handler): Mention that hook
processing stops when the function returns non-nil. This should
help avoid a nasty "gotcha" when making custom functions. Thanks
to John Sullivan for the report.
2007-04-08 Diane Murray <disumu@x3y2z1.net>
* erc-nicklist.el (erc-nicklist-voiced-position): Fixed
customization mismatch.
2007-04-01 Michael Olson <mwolson@gnu.org>
* erc.el (erc-version-string): Release ERC 5.2.
* erc-auto.in, erc-chess.el, erc-list.el, erc-speak.el:
* erc-viper.el: Update copyright notices.
* erc.texi: Make Emacs Lisp source code in this document
essentially public domain. Update version to 5.2.
(Obtaining ERC): Mention extras tarball.
(Releases): Mention local GNU mirror.
(Sample Configuration): Remove notice.
* FOR-RELEASE (5.3): Add item for erc-nicklist.
Mark NEWS as done. Mark extras tarball as done.
* Makefile (VERSION): Increment to 5.2.
(TESTING): Remove.
(EXTRAS): New variable containing the contents of our "Emacs 22
extras" tarball.
(SOURCE): Remove $(TESTING).
(MISC): Add COPYING and ChangeLog.06. Fix ChangeLog.NNNN ->
ChangeLog.NN.
(release): Use $(SNAPDIR) instead of erc-$(VERSION).
(extras): New rule which implements the building of the extras
tarball.
(upload-extras): New rule to upload the extras tarball. It's
yucky to replicate upload, but oh well.
(DISTRIBUTOR): New variable used to differentiate between building
packages for Ubuntu and Debian.
(debrelease, debrevision): Use it.
(debbuild): Run linda in addition to lintian.
* NEWS: Mention extras tarball. Note which files have been
renamed. Note that erc-list is enabled by default, except in
Emacs 22.
* README.extras: New file which serves as a README for the extras
tarball.
2007-03-31 Michael Olson <mwolson@gnu.org>
* NEWS: Update for the 5.2 release.
* FOR-RELEASE: Finish up 5.2 manual item. Add documentation item
for 5.3.
* erc.texi (Sample Session): Flesh out. Mention #erc.
(Modules): Defer to 5.3 release.
(Advanced Usage): Move Sample Configuration chapter ahead of
unfinished chapters.
(Sample Configuration): Write.
(Options): Mention how to see available ERC options. Defer to 5.3
release.
(Tips and Tricks): Remove, since it seems better to just include
tips and tricks in the sample configuration, commented out.
* erc-bbdb.el (erc-bbdb-search-name-and-create): Make prompt more
informative about how to skip merging.
(erc-bbdb-insinuate-and-show-entry-1): Move contents of
erc-bbdb-insinuate-and-show-entry here.
(erc-bbdb-insinuate-and-show-entry): Run
erc-bbdb-insinuate-and-show-entry-1 "outside" of the calling
function, so that we can avoid triggering a process-filter error
if the user hits C-g.
2007-03-30 Michael Olson <mwolson@gnu.org>
* FOR-RELEASE: Solve C-c C-SPC keybinding dilemma.
* erc-autoaway.el (erc-autoaway-idle-method): Use `if' rather than
`cond' and `set' rather than `set-default'.
* erc-log.el: Avoid compiler warning by requiring erc-network
during compilation.
(erc-generate-log-file-name-function): Add tag to each option.
Add erc-generate-log-file-name-network.
(erc-generate-log-file-name-network): New function which generates
a log file name that uses network name rather than server name,
when possible.
* erc-track.el (track): Assimilate track-when-inactive module,
since there's no need to have two modules in one file -- an option
will do. Remove track-modified-channels alias. Call
erc-track-minor-mode-maybe, and tear down the minor mode when
disabling.
(erc-track-when-inactive): New option which determines whether to
track visible buffers when inactive. The default is not to do so.
(erc-track-visibility): Mention erc-track-when-inactive.
(erc-buffer-visible): Use erc-track-when-inactive.
(erc-track-enable-keybindings): New option which determines
whether to enable the global-level tracking keybindings. The
default is to do so, unless they would override another binding,
in which case we prompt the user about it.
(erc-track-minor-mode-map): Move global keybindings here.
(erc-track-minor-mode): New minor mode which only enables the
keybindings and does nothing else.
(erc-track-minor-mode-maybe): New function which starts
erc-track-minor-mode, but only if it hasn't already been started,
an ERC buffer exists, and the user OK's it, depending on the value
of `erc-track-enable-keybindings'.
(erc-track-switch-buffer): Display a message if someone calls this
without first enabling erc-track-mode.
2007-03-17 Michael Olson <mwolson@gnu.org>
* erc.texi (Development): Mention ErcDevelopment page on
emacswiki.
(Getting Started): Mention ~/.emacs.d/.ercrc.el and the Customize
interface.
(Sample Session): New section that has a very rough draft for a
sample ERC session.
(Special Features): New section that explains some of the special
features of ERC. Taken from ErcFeatures on emacswiki, with
enhancements.
2007-03-12 Diane Murray <disumu@x3y2z1.net>
* erc-autoaway.el (erc-autoaway-idle-method): When setting the new
value, disable and re-enable `erc-autoaway-mode' only if it was
already enabled. This fixes a bug where autoaway was enabled just
by loading the file.
2007-03-10 Diane Murray <disumu@x3y2z1.net>
* erc-capab.el: Added more information to the Usage section.
(erc-capab-identify-prefix): Doc fix.
(erc-capab-identify-unidentified): New face.
(290): Removed. Definition moved to erc-backend.el.
(erc-capab-identify-send-messages): Renamed from
`erc-capab-send-identify-messages'.
(erc-capab-identify-setup): Use it.
(erc-capab-identify-get-unidentified-nickname): Renamed from
`erc-capab-get-unidentified-nickname'.
(erc-capab-identify-add-prefix): Use it. Use
`erc-capab-identify-unidentified' as the face.
* erc-backend.el (290): Moved here from erc-capab.el.
* erc.el (erc-select): Added an autoload cookie.
(erc-message-type-member, erc-restore-text-properties): Use
`erc-get-parsed-vector'.
(erc-auto-query): Set the default to 'bury since many new users
expect private messages from others to be in dedicated query
buffers, not the server buffer.
(erc-common-server-suffixes): Use "freenode" for freenode.net, not
"OPN". Added oftc.net.
* NEWS: Added note about erc-auto-query's new default setting.
2007-03-03 Michael Olson <mwolson@gnu.org>
* erc.el (erc-open, erc): Docfixes.
2007-03-02 Michael Olson <mwolson@gnu.org>
* FOR-RELEASE: Make section for 5.3 release and move erc-backend
cleanup there. Awaiting discussion before doing other things.
Add tasks for merging filename changes from the 5.2 release
branch, and for making a tarball of modules not in Emacs 22. Add
item to remind me to update NEWS. Mark backtab entry as done.
* erc-button.el (button): Add call to `erc-button-add-keys'.
(erc-button-keys-added): New variable tracking whether we've added
the keys yet.
(erc-button-add-keys): New function that adds the <backtab> key to
erc-mode-map.
* erc.texi: Change version to 5.2 (pre-release).
2007-02-15 Michael Olson <mwolson@gnu.org>
* CREDITS: Update.
* erc-backend.el (erc-server-send-ping-interval): Change to use a
default of 30 seconds. Improve customize interface.
(erc-server-send-ping-timeout): New option that determines when to
consider a connection stalled and restart it. The default is
after 120 seconds.
(erc-server-send-ping): Use erc-server-send-ping-timeout instead
of erc-server-send-ping-interval. If
erc-server-send-ping-timeout is nil, do not ever kill and restart
a hung IRC process.
* erc.el (erc-modules): Include the name of the module in its
description. This should make it easier for people to find and
enable a particular module.
2007-02-15 Vivek Dasmohapatra <vivek@etla.org>
* erc.el (erc-cmd-RECONNECT): Kill old process if it is still
alive.
(erc-message-english-PART): Properly escape "%" characters in
reason.
* erc-backend.el (erc-server-reconnecting): New variable that is
set when the user requests a reconnect, but the old process is
still alive. This forces the reconnect to work even though the
process is killed manually during reconnect.
(erc-server-connect): Initialize it.
(erc-server-reconnect-p): Use it.
(erc-process-sentinel-1): Set it to nil after the first reconnect
attempt.
2007-02-07 Diane Murray <disumu@x3y2z1.net>
* erc-menu.el (erc-menu-definition): Fixed so that the separator
is between "Current channel" and "Pals, fools and other keywords",
not at the bottom of the "Current channel" submenu.
2007-01-25 Diane Murray <disumu@x3y2z1.net>
* erc-networks.el (erc-server-alist): Removed SSL server for now
since `erc-server-select' doesn't know to use `erc-ssl'.
* erc-networks.el (erc-server-alist, erc-networks-alist): Added
definitions for oftc.net.
* erc-services.el (erc-nickserv-alist): Fixed OFTC message regexp.
2007-01-22 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-server-error-occurred): New variable that
indicates when an error has been signaled by the server. This
should fix an infinite reconnect bug when giving some servers a
bogus :full-name. Thanks to Angelina Carlton for the report.
(erc-server-connect): Initialize erc-server-error-occurred.
(erc-server-reconnect-p): Use it.
(ERROR): Set it.
* erc-services.el (erc-nickserv-alist): Alphabetize and add Ars
and QuakeNet. Standardize look of entries. Fix type mismatch
error in customize interface.
(erc-nickserv-passwords): Alphabetize and add missing entries from
erc-nickserv-alist.
2007-01-21 Michael Olson <mwolson@gnu.org>
* erc.el (erc-header-line-format): Document how to disable the
header line, and add a customization type for it. Also, make the
changes take effect immediately.
2007-01-19 Michael Olson <mwolson@gnu.org>
* erc.texi (Modules): Document new menu module. Thanks to Leo
for noticing.
2007-01-16 Diane Murray <disumu@x3y2z1.net>
* erc-stamp.el (erc-insert-timestamp-left): Fixed so that the
whitespace string filler is hidden correctly when timestamps are
hidden.
(erc-toggle-timestamps): New function to use instead of
`erc-show-timestamps' and `erc-hide-timestamps'.
* erc.el (erc-restore-text-properties): Moved here from
erc-fill.el since it could be useful in general.
* erc-fill.el (erc-restore-text-properties): Removed.
2007-01-13 Michael Olson <mwolson@gnu.org>
* erc.el (erc-command-regexp): New variable that is used to match
a command.
(erc-send-input): Use it. This fixes a bug where paths --
"/usr/bin/foo", for example -- were being displayed as commands,
but still sent correctly.
(erc-extract-command-from-line): Use it.
* erc.texi (Modules): Document erc-capab-identify.
2007-01-11 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-find-parsed-property): Moved here from erc-track.el
since it can be useful in general.
* erc-track.el (erc-find-parsed-property): Removed.
* erc-capab.el (erc-capab-find-parsed): Removed.
(erc-capab-identify-add-prefix): Use `erc-find-parsed-property'.
* erc.el (erc-open): Run `erc-before-connect' hook here. This
makes sure the hook always gets called before a connection is
made, as some functions, like `erc-handle-irc-url', use `erc-open'
instead of `erc'.
(erc): Removed `erc-before-connect' hook.
* erc-menu.el (erc-menu-definition): Put items specific to
channels in a "Current channel" submenu.
* erc-backend.el (321, 323): Display channel list in server buffer
when not using the channel list module.
* erc.el: Updated copyright years.
(erc-version-string): Set to 5.2 (devel).
(erc-format-lag-time): Fixed to work when `erc-server-lag' is nil.
(erc-update-mode-line-buffer): Set the header face.
2007-01-11 Michael Olson <mwolson@gnu.org>
* erc-bbdb.el (erc-bbdb-popup-type): Fix customization type and
documentation.
* erc-services.el (erc-nickserv-identify-mode): Improve
documentation for nick-change option and move higher to fix
compiler warning. Avoid a recursive load error.
(erc-nickserv-alist): Add simple entry for BitlBee, to avoid
"NickServ is AWAY: User is offline" error. Oddly enough, bitlbee
was smart enough to recognize that as an authentication request
and log in regardless, which is why I didn't notice this earlier.
(erc-nickserv-alist-sender, erc-nickserv-alist-regexp)
(erc-nickserv-alist-nickserv, erc-nickserv-alist-ident-keyword)
(erc-nickserv-alist-use-nick-p)
(erc-nickserv-alist-ident-command): New accessors for
erc-nickserv-alist. Using nth is unwieldy.
(erc-nickserv-identify-autodetect)
(erc-nickserv-identify-on-connect)
(erc-nickserv-identify-on-nick-change, erc-nickserv-identify): Use
the new accessors.
2007-01-11 Diane Murray <disumu@x3y2z1.net>
* NEWS: Added note for `erc-my-nick-face'. Fixed capab-identify
wording.
2007-01-10 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-mode-line-format): Added %l to documentation.
(erc-header-line-format): Removed "[IRC]". Use the new %l
replacement character. Doc fix.
(erc-format-channel-modes): Removed lag code. Removed parentheses
from mode string.
(erc-format-lag-time): New function.
(erc-update-mode-line-buffer): Use it.
2007-01-10 Michael Olson <mwolson@gnu.org>
* erc.el: Fix typo in url-irc-function instructions.
2007-01-09 Michael Olson <mwolson@gnu.org>
* erc.el (erc-system-name): New option that determines the system
name to use when logging in. The default is to figure this out by
calling `system-name'.
(erc-login): Use it.
2007-01-07 Michael Olson <mwolson@gnu.org>
* erc.el (erc-modules): Add the menu module. This should fix a
bug with incorrect ERC submenus being displayed.
* erc-menu.el: Turn this into a module.
(erc-menu-add, erc-menu-remove): New functions that add and remove
the ERC menu.
2006-12-28 Michael Olson <mwolson@gnu.org>
* erc-list.el: Change header to mention that this is part of ERC,
rather than GNU Emacs.
* erc-networks.el (erc-server-alist): Add Ars OpenIRC and
LinuxChix networks. Thanks to Angelina Carlton for mentioning
them. Properly escape periods in Konfido.Net and Kewl.Org.
(erc-networks-alist): Add entries for Ars and LinuxChix, though
the latter does not actually provide an announced network name.
* erc-services.el (erc-nickserv-identify-mode): Add 'both method,
which waits for a NickServ message if the network supports it,
otherwise sends the password after connecting.
(erc-nickserv-identify-mode): Default to 'both.
(erc-nickserv-passwords): Add OFTC and Azzurra to custom options.
(erc-nickserv-alist): Indentation fix.
(erc-nickserv-identify-on-connect)
(erc-nickserv-identify-on-nick-change): Handle 'both method.
2006-12-28 Leo Liu <sdl.web@gmail.com> (tiny change)
* erc.el (erc-iswitchb): Wrap body in unwind-protect so that
hitting C-g does not leave iswitchb-mode on.
2006-12-27 Michael Olson <mwolson@gnu.org>
* erc.el (erc-cmd-RECONNECT): New command that calls
erc-server-reconnect.
* erc-backend.el (erc-server-reconnect-count): New server variable
that keeps track of reconnection attempts.
(erc-server-reconnect-attempts): New option that determines the
number of reconnection attempts that ERC will make per server.
(erc-server-reconnect-timeout): New option that determines the
amount of time, in seconds, that ERC will wait between successive
reconnect attempts.
(erc-server-reconnect): New function that reestablishes the
current IRC connection. Move some commands from
erc-process-sentinel-1 here.
(erc-process-sentinel-1): If we have been disconnected, loop until
we either reconnect or run out of attempts.
(erc-server-reconnect-p): Move higher and make this a defsubst,
since I'm worried about the current buffer changing from
underneath us. Implement limit of number of reconnect attempts..
* erc.texi (Getting Started): Update for /RECONNECT command.
2006-12-26 Michael Olson <mwolson@gnu.org>
* erc.el (erc-open): Restore old point correctly, or at least get
closer to doing so than before.
2006-12-13 Leo Liu <sdl.web@gmail.com> (tiny change)
* erc.el (erc-iswitchb): Temporarily enable iswitchb mode if it
isn't active already, instead of leaving it on.
2006-12-10 Juanma Barranquero <lekktu@gmail.com>
* erc-ezbounce.el (erc-ezb-init-session-list): Doc fix.
2006-12-08 Michael Olson <mwolson@gnu.org>
* erc.el: Re-evaluate contributions from a contributor, and found
them under 15 lines of non-obvious code, so it is safe to remove
the copyright notice.
(erc-modules): Remove list module.
* erc-list.el: Remove, since a contributor who has not completed
their assignment has contributed significantly more than 15 lines
of code to this file.
2006-11-28 Juanma Barranquero <lekktu@gmail.com>
* erc.el (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Simplify.
(erc-prompt-for-channel-key, erc-ignore-reply-list, erc-send-post-hook)
(erc-active-buffer, erc-join-buffer, erc-frame-alist, erc-with-buffer)
(erc-modules, erc-display-message-highlight, erc-process-input-line)
(erc-cmd-HELP, erc-server-hooks, erc-echo-notice-in-user-buffers)
(erc-format-my-nick, erc-echo-notice-in-user-and-target-buffers)
(erc-echo-notice-in-first-user-buffer, erc-connection-established)
(erc-update-user-nick, erc-update-channel-member, erc-highlight-notice)
(erc-command-symbol, erc-add-query, erc-process-script-line)
(erc-determine-parameters, erc-client-info, erc-popup-input-buffer):
(erc-script-echo): Fix typos in docstrings.
(erc-channel-user-op-p, erc-channel-user-voice-p, erc-startup-file-list)
(define-erc-module, erc-once-with-server-event)
(erc-once-with-server-event-global, erc-debug-irc-protocol)
(erc-log-irc-protocol, erc-cmd-LOAD, erc-update-user)
(erc-update-current-channel-member, erc-load-script):
(erc-mode-line-away-status-format): Doc fixes.
2006-11-20 Andrea Russo <rastandy@inventati.org> (tiny change)
* erc-dcc.el (erc-dcc-chat-setup): Initialize `erc-input-marker'
before calling `erc-display-prompt'.
2006-11-24 Juanma Barranquero <lekktu@gmail.com>
* erc.el (erc-after-connect, erc-open-ssl-stream)
(erc-display-line-1, erc-display-line):
* erc-backend.el (005): Fix space/tab mixup in docstrings.
2006-11-20 Michael Olson <mwolson@gnu.org>
* erc.el (erc-version-string): Call this Version 5.2 stable
pre-release, since it diverges slightly from our 5.2 branch, in
that unstable features are not included.
(erc-update-modules): Display better error message when module not
found.
2006-11-12 Michael Olson <mwolson@gnu.org>
* erc-log.el: Save all log buffers when Emacs exits, in case
someone ignores the warning about open processes. Remove the
advice code in the commentary.
(erc-save-query-buffers): Docfix.
(erc-log-save-all-buffers): New function that saves all ERC
buffers to logs.
(erc-current-logfile): Fix bug in filename selection, where the
current buffer was erroneously being preferred over the given
buffer.
2006-11-08 Michael Olson <mwolson@gnu.org>
* erc.el (erc-string-to-port): Avoid error when a numerical port
is passed. Thanks to Zekeriya KOÇ for the report.
2006-11-08 Łukasz Demianiuk <ldemianiuk@gmail.com> (tiny change)
* erc.el (erc-header-line): Fix typo.
2006-11-06 Juanma Barranquero <lekktu@gmail.com>
* erc-dcc.el (erc-dcc-send-file): Fix typo in error message.
* erc.el (read-passwd):
* erc-autoaway.el (erc-autoaway-reestablish-idletimer):
* erc-truncate.el (truncate): Fix typo in docstring.
2006-10-21 Michael Olson <mwolson@gnu.org>
* erc.el (erc-iswitchb): Fix bug when hitting C-c C-b without
first loading iswitchb. Thanks to Leo for the report.
2006-10-10 Michael Olson <mwolson@gnu.org>
* erc.el (erc-default-port): Make the default be 6667 instead of
ircd. since Mac OS X apparently has problems with looking up that
port name.
* erc-backend.el (353): Receive names after displaying the initial
message, instead of before.
2006-10-05 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-my-nick-face): New face.
(erc): Use FULL-NAME argument, not `erc-user-full-name'. This
fixes a bug where the :full-name argument passed to the function
was not respected.
(erc-format-my-nick): Use `erc-my-nick-face'. This should help
make it easier to find messages you sent in conversations when
`erc-show-my-nick' is non-nil.
(erc-compute-server): Doc fix.
2006-10-01 John J Foerch <jjfoerch@earthlink.net> (tiny change)
* erc-stamp.el (erc-insert-timestamp-right): Exclude the newline
from the erc-timestamp field.
2006-09-11 Michael Olson <mwolson@gnu.org>
* erc-nicklist.el (erc-nicklist-insert-contents): Add missing
parenthesis. Thanks to Stephan Stahl for the report.
2006-09-10 Eric Hanchrow <offby1@blarg.net>
* erc.el (erc-cmd-IGNORE): Prompt user if this might be a regexp
instead of a single user.
2006-09-10 Michael Olson <mwolson@gnu.org>
* erc.el (erc-generate-new-buffer-name): If this is a server
buffer and a process exists already, create a new buffer.
(erc-open): If the IRC session was continued, restore the old
point. Thanks to Stephan Stahl for the report.
(erc-member-ignore-case): Coding style tweak.
(erc-cmd-UNIGNORE): Quote the user before comparison. If we don't
find the user listed verbatim, try to match them against the list
using string-match. In this case, prompt as to whether the regexp
should be removed.
(erc-ignored-user-p): Remove CL-ism.
* erc-autoaway.el (erc-autoaway-possibly-set-away): Check to see
whether we are already away.
* erc-menu.el: Fix potential compiler warning.
2006-09-07 Diane Murray <disumu@x3y2z1.net>
* erc.el: Updated Commentary and URL.
(erc-iswitchb, erc-display-line, erc-set-modes, erc-update-modes)
(erc-arrange-session-in-multiple-windows): No need to check if
`erc-server-process' is bound.
(erc-server-buffer-live-p): Doc fix.
(erc-part-from-channel): Don't use any initial contents at prompt.
(erc-format-nick, erc-format-@nick): Doc fix. Use `when'.
(s367): Fixed to support only banmask and channel which is the
standard. Also, there's no reason to add a message to each banned
user entry trying to persuade the user to use /banlist instead of
/mode #channel +b. That part of the message was a little
confusing, anyways.
(s367-set-by): New catalog entry. The user who set the ban and
the time of ban seem to be specific to only certain servers such
as freenode.
* erc-autoaway.el (erc-autoaway-idletimer): Doc fix.
* erc-backend.el (erc-server-process-alive): No need to check if
`erc-server-process' is bound.
(367): Use s367 or s367-set-by where appropriate.
* erc-compat.el: Fixed URL.
* erc-dcc.el: Updated copyright years. Added Usage section.
Changed supported Emacs version number from 21.3.50 to 22 in
Commentary.
* erc-ibuffer.el (erc-server-name, erc-target, erc-away): No need
to check if `erc-server-process' is bound.
* erc-nicklist.el: Added to the Commentary section an explanation
that `erc-nicklist-quit' should be called from within the nicklist
buffer. Set file coding to utf-8 so a contributor's name is
displayed correctly.
(erc-nicklist-icons-directory): Use customize type directory
instead of string.
(erc-nicklist-insert-contents): Set bbdb-nick to an empty string
if it wasn't found. This fixes a bug where an error would occur
when using `string=' on bbdb-nick if it was nil.
* erc-replace.el: Removed URL from file information since it
doesn't exist.
* erc-sound.el: Updated copyright years. Fixed Commentary and
added Usage section.
(define-erc-module): Add and remove `erc-ctcp-query-SOUND' to
`erc-ctcp-query-SOUND-hook' here. Removed the keybinding
definitions.
(erc-play-sound, erc-default-sound, erc-cmd-SOUND)
(erc-ctcp-query-SOUND): Doc fix.
(erc-play-command): Removed, not necessary anymore.
(erc-ctcp-query-SOUND-hook): Set to nil as default. Moved up
higher in code, added docstring.
(erc-play-sound): Use `play-sound-file'. It exists in GNU Emacs
as well since version 21 or earlier. Removed commented-out older
version of function.
* NEWS: Fixed formatting, added channel tracking change.
2006-09-03 Diane Murray <disumu@x3y2z1.net>
* erc.el: M-x erc RET can now be used to start ERC.
(erc-open): Renamed from `erc'.
(erc-before-connect): Change erc-select to erc.
(erc): Renamed from `erc-select'. Use `erc-open'.
(erc-select): Defined as alias of `erc'.
(erc-ssl): Renamed from `erc-select-ssl'. Use `erc'.
(erc-select-ssl): Defined as alias of `erc-ssl'.
(erc-cmd-SERVER): Use `erc'.
(erc-query, erc-handle-irc-url): Use `erc-open'.
* erc-backend.el (erc-process-sentinel-1, JOIN): Use `erc-open'.
* erc-menu.el (erc-menu-definition): Use `erc'.
* erc-networks.el: Updated copyright years.
(erc-server-select): Use keyword arguments when calling `erc'.
* erc.texi (Getting Started, Connecting): Changed erc-select to
erc.
* README: Changed erc-select to erc.
* NEWS: Added note about these changes.
* FOR-RELEASE: Marked this item as done.
2006-08-21 Diane Murray <disumu@x3y2z1.net>
* erc-track.el (erc-track-mode-line-mouse-face): New variable.
(erc-make-mode-line-buffer-name): Add help-echo and mouse-face
properties to channel name.
2006-08-20 Michael Olson <mwolson@gnu.org>
* erc-identd.el (erc-identd): New customization group.
(erc-identd-port): New option that specifies the port to use if
none is given as an argument to erc-identd-start.
(identd): Place erc-identd-quickstart in erc-connect-pre-hook
instead of erc-identd-start so that we deal with the different
meaning of the first argument.
(erc-identd-start): Use erc-identd-port.
(erc-identd-quickstart): New function that ignores any arguments
and calls erc-identd-start.
* erc.el (erc-with-server-buffer): New macro that switches to the
current ERC server buffer and runs some code. If no server buffer
is available, return nil. This is a useful way to access
variables in the server buffer.
(erc-get-server-user, erc-add-server-user)
(erc-remove-server-user, erc-change-user-nickname)
(erc-get-server-nickname-list, erc-get-server-nickname-alist)
(erc-ison-p, erc-active-buffer, erc-cmd-IGNORE)
(erc-cmd-UNIGNORE, erc-cmd-IDLE, erc-cmd-NICK, erc-cmd-BANLIST)
(erc-cmd-MASSUNBAN, erc-nickname-in-use, erc-ignored-user-p)
(erc-format-channel-modes): Use it.
(erc-once-with-server-event, erc-once-with-server-event-global)
(erc-with-buffer, erc-with-all-buffers-of-server): Use make-symbol
instead of gensym.
(erc-open-server-buffer-p): New function that returns non-nil if
the given buffer is an ERC server buffer that has an open IRC
process.
(erc-with-buffer): Use buffer-live-p here to set a good example,
though it isn't really needed here.
(erc-away): Mention erc-away-time.
(erc): Don't propagate the erc-away setting, since it makes more
sense to access it from the server buffer. Set up the prompt
before connecting rather than after. Run erc-connect-pre-hook
with the buffer as an argument, instead of no arguments.
(erc-cmd-GAWAY): Use erc-open-server-buffer-p instead of
erc-server-buffer-p so that only open connections are set away.
(erc-cmd-GQUIT): Use erc-open-server-buffer-p.
(erc-process-away): Docfix. Don't set erc-away in channel
buffers.
(erc-set-current-nick): Make this uniform with the style used in
erc-current-nick.
(erc-away-time): Rename from erc-away-p, since this is no longer a
boolean-style predicate.
(erc-format-away-status): Use it.
(erc-initialize-log-marker): Accept a `buffer' argument.
(erc-connect-pre-hook): Docfix.
(erc-connection-established): Make sure this runs in the correct
buffer.
(erc-set-initial-user-mode): Accept a `buffer' argument.
* erc-stamp.el (erc-add-timestamp): Use erc-away-time.
* erc-spelling.el (erc-spelling-init): Use
erc-with-server-buffer. Accept `buffer' argument.
(spelling): Call erc-spelling-init with the `buffer' argument.
* erc-speedbar.el (erc-speedbar-buttons): Use erc-server-buffer-p.
* erc-pcomplete.el (pcomplete/erc-mode/UNIGNORE)
(pcomplete-erc-all-nicks): Use erc-with-server-buffer.
* erc-notify.el (erc-notify-timer, erc-cmd-NOTIFY): Use
erc-with-server-buffer.
* erc-networks.el (erc-network, erc-current-network)
(erc-network-name): Use erc-with-server-buffer.
* erc-netsplit.el (erc-cmd-WHOLEFT): Use erc-with-server-buffer.
* erc-match.el (erc-log-matches, erc-log-matches-come-back): Use
erc-away-time.
* erc-log.el (log): Use erc-away-time. Remove unnecessary check.
Pass `buffer' argument to erc-log-setup-logging instead of setting
the current buffer. Ditto for erc-log-disable-logging.
(erc-log-setup-logging, erc-log-disable-logging): Accept a `buffer'
argument.
* erc-list.el (erc-chanlist): Use erc-with-server-buffer.
* erc-ibuffer.el (erc-away): Use erc-away-time.
* erc-dcc.el (erc-dcc-get-filter): Temporarily make the buffer
read only instead of permanently doing so.
* erc-compat.el (erc-gensym, *erc-sym-counter*): Remove, since
Emacs Lisp has make-symbol, which is better.
* erc-chess.el (erc-chess-handler, erc-cmd-CHESS): Use
erc-with-server-buffer.
* erc-capab.el (capab-identify): Only deal with server buffers
that have an open IRC process.
(erc-capab-identify-add-prefix): Use erc-with-server-buffer.
* erc-backend.el (erc-server-connected): Docfix. Recommend the
`erc-server-process-alive' function.
(erc-coding-system-for-target): Supply a default target if one is
not given.
(erc-server-send): Simplify slightly.
(erc-call-hooks): Use erc-with-server-buffer.
(erc-server-connect, erc-server-setup-periodical-ping): Accept
`buffer' argument.
* erc-autoaway.el (erc-autoaway-reestablish-idletimer): Move
higher to avoid an automatic load snafu.
(erc-autoaway-some-server-buffer): New function that returns an
ERC server buffer with a live connection, or nil otherwise.
(erc-autoaway-insinuate-maybe): New function that adds the
autoaway reset function to post-command-hook if at least one ERC
process is alive.
(erc-autoaway-remove-maybe): New function that removes the
autoaway reset function from post-command-hook if no ERC process
is alive.
(autoaway): Don't touch post-command-hook unless an IRC process is
already open. Remove our addition to post-command-hook as soon as
there are no more IRC processes open. Reset the indicators before
connecting to an IRC server, which fixes a bug when re-connecting.
(erc-autoaway-reset-idle-user): Call erc-autoaway-remove-maybe if
there are no more IRC processes open.
(erc-autoaway-set-back): Pick an open IRC process. Accept an
argument which is a function call if we can't find one.
(erc-autoaway-some-open-server-buffer): New function which returns
an ERC server buffer with an open connection and a user that is
not away.
(erc-autoaway-possibly-set-away, erc-autoaway-set-away): Use it.
(erc-autoaway-set-away): Accept a `notest' argument which is used
to avoid testing the same thing twice.
(erc-autoaway-last-sent-time, erc-autoaway-caused-away): Move
higher in file to fix byte-compile warning.
2006-08-20 Diane Murray <disumu@x3y2z1.net>
* erc-backend.el (erc-process-sentinel-1): Doc fix. Let
`erc-server-reconnect-p' check all condition cases.
(erc-server-reconnect-p): Moved rest of checks from
`erc-process-sentinel-1' to here. Now takes an argument, EVENT.
2006-08-14 Diane Murray <disumu@x3y2z1.net>
* erc-menu.el: Updated copyright years. Removed EmacsWiki URL.
(erc-menu-definition): Name the menu "ERC" instead of "IRC" to
avoid confusion with rcirc and other clients.
* erc-backend.el (erc-server-banned): New variable.
(erc-server-connect): Set `erc-server-banned' to nil.
(erc-process-sentinel-1): Use `erc-server-reconnect-p'.
(erc-server-reconnect-p): New function. Return non-nil if the
user wants automatic reconnects and if the user has not been
banned from the server. This should fix a bug where ERC gets into
a loop trying to reconnect with no way to stop it when the user is
denied access to the server due to a server ban. It might also
help when Tor users are blocked from freenode if freenode servers
send the 465 message before disconnecting.
(465): Handle "banned from server" error notices.
2006-08-13 Romain Francoise <romain@orebokech.com>
* erc-match.el (erc-log-matches-make-buffer): End `y-or-n-p'
prompt with a space.
2006-08-13 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-server-timed-out): New variable that
indicates whether the current connection has timed out due to
failure to respond to a ping.
(erc-server-send-ping): Set erc-server-timed-out to t.
(erc-server-connect): Initialize erc-server-timed-out to nil.
(erc-process-sentinel-1): Consult erc-server-timed-out.
2006-08-11 Michael Olson <mwolson@gnu.org>
* erc-fill.el (erc-fill): Skip any initial empty lines so that we
avoid errors when inserting disconnect messages and other messages
that begin with newlines.
2006-08-07 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-process-sentinel-1): Use erc-display-message
in several places instead of inserting text.
(erc-process-sentinel): Move to the input-marker before removing
the prompt.
* erc.el (erc-port): Fix customization options.
(erc-display-message): Handle null type explicitly. Previously,
this was relying on a chance side-effect. Cosmetic indentation
tweak.
(english): Add 'finished and 'terminated entries to the catalog.
Add initial and terminal newlines to 'disconnected and
'disconnected-noreconnect entries. Avoid long lines.
(erc-cmd-QUIT): Bind the current erc-server-process to
server-proc. If the IRC server responds quickly, it is possible
for the connection to close, and hence server buffer to be killed,
if erc-kill-server-buffer-on-quit is non-nil. This avoids that
problem.
2006-08-06 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-server-send-queue): Update from Circe
version of this function.
(erc-server-ping-timer-alist): New variable that keeps track of
ping timers according to their associated server.
(erc-server-last-received-time): New variable that specifies the
time of the last message we received from the server. This is
used to detect hung processes.
(erc-server-send-ping): New function that sends a ping to the IRC
process corresponding with the given buffer. Split from
erc-server-setup-periodical-ping. If the server buffer no longer
exists, cancel the timer. If the server process has not given us
a message, including PING responses, since the last PING, kill it.
This is necessary to deal with some aberrant freenode behavior.
Idea taken from rcirc.
(erc-server-setup-periodical-ping): Rename from
erc-server-setup-periodical-server-ping.
(erc-server-filter-function): Use erc-current-time instead of
current-time.
* erc.el (erc-arrange-session-in-multiple-windows): Fix bug with
multi-tty Emacs.
(erc-select-startup-file): Fix bug introduced by recent change.
(erc-cmd-QUIT): If the IRC process has not terminated itself
within 4 seconds of completing our quit-hook, kill it manually.
Freenode in particular needs this.
(erc-connection-established): Use erc-server-setup-periodical-ping
instead of erc-server-setup-periodical-server-ping.
2006-08-05 Michael Olson <mwolson@gnu.org>
* erc-log.el (erc-log-standardize-name): New function that returns
a filename that is safe for use for a log file.
(erc-current-logfile): Use it.
* erc.el (erc-startup-file-list): Search in ~/.emacs.d first,
since that is a fairly standard directory.
(erc-select-startup-file): Re-write to use
convert-standard-filename, which will ensure that MS-DOS systems
look for the _ercrc.el file.
2006-08-02 Michael Olson <mwolson@gnu.org>
* erc.el (erc-version-string): Release ERC 5.1.4.
* Makefile, NEWS, erc.texi: Update for the 5.1.4 release.
* erc.el (erc-active-buffer): Fix bug that caused messages to go
to the wrong buffer. Thanks to offby1 for the report.
* erc-backend.el (erc-coding-system-for-target): Handle case where
target is nil. Thanks to Kai Fan for the patch.
2006-07-29 Michael Olson <mwolson@gnu.org>
* erc-log.el (erc-log-setup-logging): Don't offer to save the
buffer. It will be saved automatically killed. Thanks to Johan
Bockgård and Tassilo Horn for pointing this out.
2006-07-27 Johan Bockgård <bojohan@users.sourceforge.net>
* erc.el (define-erc-module): Make find-function and find-variable
find the names constructed by `define-erc-module' in Emacs 22.
2006-07-14 Michael Olson <mwolson@gnu.org>
* erc-log.el (log): Make sure that we enable logging on
already-opened buffers as well, in case the user toggles this
module after loading ERC. Also be sure to remove logging ability
from all ERC buffers when the module is disabled.
(erc-log-setup-logging): Set buffer-file-name to nil rather than
the empty string. This should fix some errors that occur when
quitting Emacs without first killing all ERC buffers.
(erc-log-disable-logging): New function that removes the logging
ability from the current buffer.
* erc-spelling.el (spelling): Use dolist and buffer-live-p.
2006-07-12 Michael Olson <mwolson@gnu.org>
* erc-match.el (erc-log-matches): Bind inhibit-read-only rather
than call toggle-read-only.
* erc.el (erc-handle-irc-url): Move here from erc-goodies.el and
add autoload cookie.
2006-07-09 Michael Olson <mwolson@gnu.org>
* erc.el (erc-version-string): Release ERC 5.1.3.
* erc.texi: Update for the 5.1.3 release.
* erc-autoaway.el (erc-autoaway-set-back): Fix bug after returning
from being set automatically away and current buffer is not an ERC
buffer.
* erc-identd.el: Fix compiler error.
* erc.texi (Development): Use @subheading instead of @subsection.
(Advanced Usage): Add menu.
(Connecting): Fully document how to connect to an IRC server.
(Options, Tips and Tricks, Sample Configuration): New unwritten
sections.
* erc.el (erc-server, erc-port, erc-nick, erc-nick-uniquifier)
(erc-user-full-name, erc-password): Docfixes and customization
interface tweaks.
(erc-try-new-nick-p): Rename from
`erc-manual-set-nick-on-bad-nick-p' and invert meaning.
(erc-nickname-in-use): Use `erc-try-new-nick-p'. Check the length
of `erc-nick-uniquifier', in case someone wants multiple
characters.
(erc-compute-server, erc-compute-nick, erc-compute-full-name)
(erc-compute-port): Docfixes.
* erc-log.el (log): Move all add-hook calls here, rather than
executing them immediately, and also cause them to be un-hooked
when the module is removed.
(erc-save-buffer-on-part): Move next to
`erc-save-queries-on-quit'.
(erc-save-buffer-on-quit, erc-save-queries-on-quit): Default to t.
(erc-log-write-after-send, erc-log-write-after-insert): Default to
nil. This makes things fast, but reasonably failsafe, by default.
2006-07-08 Michael Olson <mwolson@gnu.org>
* erc-log.el (erc-log-insert-log-on-open): Make this nil by
default, since most IRC clients don't do this.
(erc-log-write-after-send): New option that determines whether the
log file will be written to after every sent message.
(erc-log-write-after-insert): New option that determines whether
the log file will be written to when new text is added to a logged
ERC buffer.
(log): Use the aforementioned options.
* erc.texi (Modules): Document the "completion" module.
* erc-pcomplete.el (pcomplete-erc-nicks): Make sure that we don't
have a nil element in the list when ignore-self is non-nil.
2006-07-05 Michael Olson <mwolson@gnu.org>
* erc.el (erc-modules): Use `set' instead of `set-default', since
this setting should never be buffer-local. Add the `page' module
to the list.
* erc.texi (Modules): Add entries for `list' and `page' modules.
Change "spell" to "spelling".
(History): Use past tense throughout.
2006-07-02 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-call-hooks): Fix (stringp nil) error that
can happen when doing /PART.
* erc.el (erc-quit-reason-various-alist)
(erc-part-reason-various-alist): In the example, use "^$" as an
example, since "" matches anything.
(erc-quit-reason-various, erc-part-reason-various): If no argument
is given, and no matches are found, use our default reason instead
of "nil".
2006-06-30 Michael Olson <mwolson@gnu.org>
* erc.texi (Modules): Mention identd.
(Releases): Update mailing list address and download location.
(Development): Refactor. Provide updated directions for Arch.
Make URLs clickable.
(Keystroke Summary): Typo fix. Use more Texinfo syntax.
(Getting Started): Give simpler example. We do not need to
explicitly load every module.
(History): Update.
* erc-autoaway.el, erc-join.el, erc-backend.el, erc-bbdb.el:
erc-button.el, erc-chess.el, erc-compat.el, erc-hecomplete.el:
erc-dcc.el, erc-ezbounce.el, erc-fill.el, erc-ibuffer.el:
erc-imenu.el, erc-list.el, erc-log.el, erc-match.el, erc-menu.el:
erc-networks.el, erc-netsplit.el, erc-nicklist.el:
erc-services.el, erc-pcomplete.el, erc-replace.el, erc-ring.el:
erc-speedbar.el, erc-spelling.el, erc-stamp.el, erc-track.el:
erc.el: Remove version strings.
* erc.el (erc-cmd-SMV): Remove, since we do not have meaningful
module versions anymore.
(erc-version-modules): Remove, since we do not use this function
anymore.
(erc-latest-version, erc-ediff-latest-version): Remove, since this
was only useful back when ERC consisted of one file.
(erc-modules): Add line for identd.
(erc-get-channel-mode-from-keypress): Typo fix.
* erc-imenu.el: Remove unnecessary lines in header.
* erc-goodies.el (erc-handle-irc-url): Docfix.
* erc-identd.el: Define an ERC module for this.
(erc-identd-start): Don't create a process buffer if possible.
Otherwise, use conventional hidden names for process buffers.
2006-06-29 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-coding-system-for-target): Match
case-insensitively. Use a pattern match instead of `assoc', as
per the documentation for `erc-encoding-coding-alist'.
* erc-track.el (erc-track-shorten-aggressively): Fix typo.
2006-06-27 Michael Olson <mwolson@gnu.org>
* erc.el: Update maintainer information and URLs.
2006-06-14 Michael Olson <mwolson@gnu.org>
* erc.el (erc-active-buffer): If the active buffer has been
deleted, default to the server buffer.
(erc-toggle-flood-control): When the user hits C-c C-f, make flood
control really toggle, not unconditionally turn off.
2006-06-12 Michael Olson <mwolson@gnu.org>
* NEWS: Add items since the 5.1.2 release.
* erc-autoaway.el (erc-autoaway-caused-away): New variable that
indicates whether the current away status was caused by this
module.
(erc-autoaway-set-back): Only set back if this module set the user
away.
(erc-autoaway-set-away): Update `erc-autoaway-caused-away'.
(erc-autoaway-reset-indicators): New function that resets some
indicators when the user is no longer away.
(autoaway): Add the above function to the 305 hook.
2006-06-05 Romain Francoise <romain@orebokech.com>
* erc.texi (History): Fix various typos.
2006-06-04 Michael Olson <mwolson@gnu.org>
* erc-autoaway.el (erc-autoaway-idle-method): Move after the
definition of the autoaway module.
(autoaway): Don't do anything if erc-autoaway-idle-method is
unbound. This prevents an error on startup.
2006-06-03 Michael Olson <mwolson@gnu.org>
* erc-autoaway.el: Thanks to Mark Plaksin for the ideas and patch.
(erc-autoaway-idle-method): Renamed from
`erc-autoaway-use-emacs-idle'. We have more than two choices for
how to do this, so it's best to make this take symbol values.
Improve documentation. Remove warning against Emacs idle-time;
the point is moot now that we get user idle time via a different
method. Make sure we disable and re-enable the module when
changing this value.
(autoaway): Conditionalize on the above option. If using the idle
timer or user idle methods, don't add anything to the
send-completed or server-001 hooks, since it is unnecessary.
(erc-autoaway-reestablish-idletimer, erc-autoaway-message):
Docfix.
(erc-autoaway-idle-seconds): Use erc-autoaway-idle-method.
(erc-autoaway-reset-idle-irc): Renamed from
`erc-autoaway-reset-idle'. Don't pass line to
`erc-autoaway-set-away', since it is not used.
(erc-autoaway-reset-idle-user): New function that resets the idle
state for user idle time.
(erc-autoaway-set-back): Remove line argument, since it is not
used.
2006-06-01 Michael Olson <mwolson@gnu.org>
* erc.el (erc-buffer-filter): Make sure all buffers returned from
this are live.
2006-05-01 Edward O'Connor <ted@oconnor.cx>
* erc-goodies.el (erc-handle-irc-url): New function, suitable as
a value for `url-irc-function'.
2006-04-18 Diane Murray <disumu@x3y2z1.net>
* erc-pcomplete.el (pcomplete-erc-nicks): Added new optional
argument IGNORE-SELF. If this is non-nil, don't return the user's
current nickname. Doc fix.
(pcomplete/erc-mode/complete-command): Don't complete the current
nickname.
2006-04-05 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-cmd-SV): Removed the exclamation point. Show the
build date as it's shown in `emacs-version'.
* erc-capab.el (erc-capab-identify-add-prefix): Insert the prefix
with the same face property as the previous character.
2006-04-02 Michael Olson <mwolson@gnu.org>
* erc-backend.el, erc-ezbounce.el, erc-join.el, erc-netsplit.el,
erc.el: Make sure to include a newline inside of negated classes,
so that a newline is not matched.
2006-04-01 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-server-connect-function): Don't try to
detect the existence of the `open-network-stream-nowait' function,
since I can't find it in Emacs21, XEmacs21, or Emacs22.
2006-03-27 Michael Olson <mwolson@gnu.org>
* erc.texi: Update direntry. Remove unneeded local variables.
2006-03-26 Michael Olson <mwolson@gnu.org>
* erc.el (erc-header-line): New face that will be used to colorize
the text of the header-line, provided that
`erc-header-line-face-method' is non-nil.
(erc-prompt-face): Fix formatting.
(erc-header-line-face-method): New option that determines the
method used for colorizing header-line text. This may be a
function, nil, or non-nil.
(erc-update-mode-line-buffer): Use the aforementioned option and
face to colorize the header-line text, if that is what the user
wants.
(erc-send-input): If flood control is not activated, don't split
the input line.
2006-03-25 Michael Olson <mwolson@gnu.org>
* erc.el (erc-cmd-QUOTE): Install patch from Aravind Gottipati
that fixes the case where there is no leading whitespace. Only
remove the first space character, though.
* erc-identd.el (erc-identd-start): Fix a bug by making sure that
erc-identd-process is set properly.
(erc-identd-start, erc-identd-stop): Add autoload cookies.
(erc-identd-start): Pass :host parameter so this works with Emacs
22.
2006-03-09 Diane Murray <disumu@x3y2z1.net>
* erc-button.el (erc-button-keymap): Use <backtab> rather than
<C-tab> for `erc-button-previous' as it is a more standard key
binding for this type of function.
2006-02-28 Diane Murray <disumu@x3y2z1.net>
* erc-capab.el: Removed things that were accidentally committed on
2006-02-20. Removed Todo section.
(erc-capab-unidentified): Removed.
2006-02-26 Michael Olson <mwolson@gnu.org>
* erc-capab.el: Use (eval-when-compile (require 'cl)).
(erc-capab-unidentified): Fix compiler warning by specifying
group.
2006-02-20 Diane Murray <disumu@x3y2z1.net>
* erc-capab.el (erc-capab-send-identify-messages): Fixed comment
to explain thoughts better. `erc-server-parameters' is an
associated list when it's set, not a string.
2006-02-19 Michael Olson <mwolson@gnu.org>
* erc-capab.el (erc-capab-send-identify-messages): Make sure some
parameters are strings before using them. Thanks to Alejandro
Benitez for the report.
* erc.el (erc-version-string): Release ERC 5.1.2.
2006-02-19 Diane Murray <disumu@x3y2z1.net>
* erc-button.el (erc-button-keymap): Bind `erc-button-previous' to
<C-tab>.
(erc-button-previous): New function.
2006-02-15 Michael Olson <mwolson@gnu.org>
* NEWS: Add category for ERC 5.2.
* erc.el (erc): Move to the end of the buffer when a continued
session is detected. Thanks to e1f and indio for the report and
testing a potential fix.
2006-02-14 Michael Olson <mwolson@gnu.org>
* debian/changelog: Prepare a new Debian package.
* Makefile (debprepare): New rule that creates an ERC snapshot
directory for use in both new Debian releases and revisions for
Debian packages.
(debrelease, debrevision-mwolson): Use debprepare.
* NEWS: Bring up-to-date.
* erc-stamp.el (erc-insert-timestamp-right): For now, put
timestamps before rather than after erc-fill-column when
erc-timestamp-right-column is nil. This way we won't surprise
anyone unpleasantly, or so it is hoped.
2006-02-13 Michael Olson <mwolson@gnu.org>
* erc-dcc.el: Use (eval-when-compile (require 'cl)).
2006-02-12 Michael Olson <mwolson@gnu.org>
* erc-autoaway.el, erc-dcc.el, erc-ezbounce.el, erc-fill.el
* erc-goodies.el, erc-hecomplete.el, erc-ibuffer.el, erc-identd.el
* erc-imenu.el, erc-join.el, erc-lang.el, erc-list.el, erc-log.el
* erc-match.el, erc-menu.el, erc-netsplit.el, erc-networks.el
* erc-notify.el, erc-page.el, erc-pcomplete.el, erc-replace.el
* erc-ring.el, erc-services.el, erc-sound.el, erc-speedbar.el
* erc-spelling.el, erc-track.el, erc-truncate.el, erc-xdcc.el:
Add 2006 to copyright years, to comply with the changed guidelines.
2006-02-11 Michael Olson <mwolson@gnu.org>
* erc.el (erc-update-modules): Handle erc-capab-identify
correctly. Make some requirements shorter, so that it's easier to
see why they are needed.
* erc-capab.el: Add autoload cookie for capab-identify.
(erc-capab-send-identify-messages, erc-capab-identify-activate):
Minor whitespace fix in code.
* erc-stamp.el (erc-timestamp-use-align-to): Renamed from
`erc-timestamp-right-align-by-pixel'. Set the default based on
whether we are in Emacs 22, and using X. Improve documentation.
(erc-insert-aligned): Remove calculation of offset, since
:align-to pos works after all. Unlike the previous solution, this
one works when erc-stamp.el is compiled.
(erc-insert-timestamp-right): Don't add length of string, and then
later remove its displayed width. This puts timestamps after
erc-fill-column when erc-timestamp-right-column is nil, rather
than before it. It also fixes a subtle bug. Remove use of
`current-window', since there is no variable by that name in
Emacs21, Emacs22, or XEmacs21 beta. Check to see whether
`erc-fill-column' is non-nil before using it.
2006-02-11 Diane Murray <disumu@x3y2z1.net>
* erc-list.el: Define `list' module which sets the alias
`erc-cmd-LIST' to `erc-list-channels' when enabled and
`erc-list-channels-simple' when disabled.
(erc-list-channels): Was `erc-cmd-LIST', renamed.
(erc-list-channels-simple): New function.
* erc.el (erc-modules): Added `list' to enabled modules. Changed
`capab-identify' description. Moved customization options left in
source code.
* erc-menu.el (erc-menu-definition): Use `erc-list-channels'.
* erc-capab.el: Put a little more detail into Usage section.
(define-erc-module): Run `erc-capab-identify-setup' in all open
server buffers when enabling.
(erc-capab-identify-setup): Make PROC and PARSED optional
arguments.
(erc-capab-identify-add-prefix): Simplified nickname regexp. This
should now also match nicknames that are formatted differently
than the default.
* erc-spelling.el (define-erc-module): Make sure there's a buffer
before calling `with-current-buffer'.
2006-02-10 Michael Olson <mwolson@gnu.org>
* Makefile (debbuild): Split from debrelease.
(debrevision-mwolson): New rule that causes a Debian revision to
be built.
* erc.el (erc-migrate-modules): Use a better algorithm. Thanks to
Johan Bockgård.
(erc-modules): Change use of 'pcomplete to 'completion.
2006-02-09 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
* erc-capab.el: Require erc.
(erc-capab-send-identify-messages): Use `erc-server-send'.
(erc-capab-identify-remove/set-identified-flag): Use 1 and 0 as
the flags so we can also check whether the `erc-identified' text
property is there at all.
(erc-capab-identify-add-prefix): Use `erc-capab-find-parsed'.
This fixes a bug where the prefix wasn't inserted when timestamps
are inserted on the right. Tweaked nickname regexp.
(erc-capab-find-parsed): New function.
(erc-capab-get-unidentified-nickname): Updated to check for 0
flag. Only get nickname if there's a nickuserhost associated with
this message.
* erc-capab.el: New file. Adds the new module
`erc-capab-identify', which allows flagging of unidentified users
on servers running an ircd based on dancer - irc.freenode.net, for
example.
* erc.el (erc-modules): Added `capab-identify' to options.
(erc-get-parsed-vector, erc-get-parsed-vector-nick)
(erc-get-parsed-vector-type): Moved here from erc-match.el.
* erc-match.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
(erc-get-parsed-vector-type): Moved these functions to erc.el
since they can be useful outside of the text matching module.
* NEWS: Added erc-capab.el.
* erc-dcc.el, erc-stamp.el, erc-xdcc.el: Changed "Emacs IRC Client"
to "ERC".
2006-02-07 Michael Olson <mwolson@gnu.org>
* ChangeLog.01, ChangeLog.02, ChangeLog.03, ChangeLog.04,
ChangeLog.05: Rename from ChangeLog.NNNN in order to disambiguate
the filenames in DOS.
* erc-goodies.el: Comment fix.
* erc-hecomplete.el: Rename from erc-complete.el. Update
commentary. Use define-erc-module so that it's possible to
actually use this.
(erc-hecomplete): Rename function from `erc-complete'.
(erc-hecomplete): Rename group from `erc-old-complete'. Docfix.
* erc-join.el: Rename from erc-autojoin.el.
* erc-networks.el: Rename from erc-nets.el.
* erc-services.el: Rename from erc-nickserv.el.
* erc-stamp.el (erc-insert-aligned): Don't take 3rd argument. Use
the simpler `indent-to' function when
`erc-timestamp-right-align-by-pixel' is nil.
(erc-insert-timestamp-right): If the timestamp goes on the
following line, don't add timestamp properties to the spaces in
front of it.
* erc.el (erc-migrate-modules): New function that eases migration
of module names.
(erc-modules): Call erc-migrate-modules in the :get accessor.
(erc-modules, erc-update-modules): Update for new modules names.
(erc-cmd-SMV): Remove, since this does not give useful output due
to the version strings being removed from ERC modules.
2006-02-05 Michael Olson <mwolson@gnu.org>
* erc-spelling.el (erc-spelling-init): If
`erc-spelling-dictionaries' is nil, do not set
ispell-local-dictionary. Before, it was being set to nil, which
was causing a long delay while the ispell process restarted.
(erc-spelling-unhighlight-word): New function that removes
flyspell properties from a spell-checked word.
(erc-spelling-flyspell-verify): Don't spell-check nicks or words
that have '/' before them.
2006-02-04 Michael Olson <mwolson@gnu.org>
* erc-autojoin.el: Use (eval-when-compile (require 'cl)).
* erc-complete.el (erc-nick-completion-exclude-myself)
(erc-try-complete-nick): Use better function for getting list of
channel users.
* erc-goodies.el: Docfix.
* erc-stamp.el: Use new arch tagline, since the other one wasn't
being treated properly.
* erc.el (erc-version-string): Release ERC 5.1.1.
2006-02-03 Zhang Wei <id.brep@gmail.com>
* erc.el (erc-version-string): Don't hard-code Emacs version.
(erc-version): Use emacs-version.
2006-01-31 Michael Olson <mwolson@gnu.org>
* erc-stamp.el: Update copyright years.
2006-01-30 Simon Josefsson <jas@extundo.com>
* erc.el (erc-open-ssl-stream): Use tls.el.
2006-01-30 Michael Olson <mwolson@gnu.org>
* erc-stamp.el (erc-timestamp-right-align-by-pixel): New option
that determines whether to use pixel values to align right
timestamps. The default is not to do so, since it only works with
Emacs22 on X, and even then some people have trouble.
(erc-insert-aligned): Use `erc-timestamp-right-align-by-pixel'.
2006-01-29 Michael Olson <mwolson@gnu.org>
* ChangeLog, ChangeLog.2005, ChangeLog.2004, ChangeLog.2003,
ChangeLog.2002, ChangeLog.2001: Add "See ChangeLog.NNNN" line for
earlier changes. Use utf-8 encoding. Fix some accent typos.
* erc-speedbar.el (erc-speedbar-buttons): Fix reference to free
variable.
(erc-speedbar-goto-buffer): Fix compiler warning.
* erc-ibuffer.el: Use `define-ibuffer-filter' instead of
`ibuffer-define-limiter'. Use `define-ibuffer-column' instead of
`ibuffer-define-column'. Require 'ibuf-ext so that the macros
work without compiler warnings.
* erc.texi (Obtaining ERC, Installation): Note that these
sections may be skipped if using the version of ERC that comes
with Emacs.
2006-01-29 Edward O'Connor <ted@oconnor.cx>
* erc-viper.el: Remove. Now that ERC is included in Emacs, these
work-arounds live in Viper itself.
2006-01-28 Michael Olson <mwolson@gnu.org>
* erc-*.el, erc.texi, NEWS: Add Arch taglines as per Emacs
guidelines.
* erc-*.el: Space out copyright years like the rest of Emacs. Use
the Emacs copyright statement. Refer to ourselves as ERC rather
than "Emacs IRC Client", since there are now several IRC clients
for Emacs.
* erc-compat.el (erc-emacs-build-time): Define as a variable.
* erc-log.el (erc-log-setup-logging): Use write-file-functions.
* erc-ibuffer.el: Require 'erc.
* erc-stamp.el (erc-insert-aligned): Only use the special text
property when window-system is X.
* erc.texi: Adapt for inclusion in Emacs.
2006-01-28 Johan Bockgård <bojohan@users.sourceforge.net>
* erc.el (erc-format-message): More `cl' breakage; don't use
`oddp'.
2006-01-27 Michael Olson <mwolson@gnu.org>
* debian/changelog: Update for new release.
* debian/control (Description): Update.
* debian/rules: Concatenate ChangeLog for 2005.
* Makefile (MISC): Include ChangeLog.2005 and erc.texi.
(debrelease, release): Copy images directory.
* NEWS: Spelling fixes. Add items for recent changes.
* erc.el (erc): Move call to erc-update-modules before the call to
erc-mode. This should fix a timestamp display issue.
(erc-version-string): Release ERC 5.1.
2006-01-26 Michael Olson <mwolson@gnu.org>
* erc-stamp.el (erc-insert-aligned): New function that inserts
text in an perfectly-aligned way relative to the right margin. It
only works well with Emacs22. A sane fallback is provided for
other versions of Emacs.
(erc-insert-timestamp-right): Use the new function.
2006-01-25 Edward O'Connor <ted@oconnor.cx>
* erc.el (erc-modules): Ensure that `erc-button-mode' gets enabled
before `erc-match-mode'.
* erc-match.el (match): Append `erc-match-message' to
`erc-insert-modify-hook'.
2006-01-25 Michael Olson <mwolson@gnu.org>
* FOR-RELEASE: Mark last release requirement as done.
* Makefile (realclean, distclean): Remove docs.
* erc.texi: Take care of all pre-5.1 items.
* erc-backend.el (erc-server-send, erc-server-send-queue): Wrap
`process-send-string' in `condition-case' to avoid an error when
quitting ERC.
* erc-stamp.el (erc-insert-timestamp-right): Try to deal with
variable-width characters in the timestamp and on the same line.
The latter is a kludge, but it seems to work with most of the
input I've thrown at it so far. It's certainly better than going
past the end of line consistently when we have variable-width
characters on the same line. When `erc-timestamp-intangible' is
non-nil, add intangible properties to the whitespace as well, so
that hitting <end> does what you'd expect.
* erc.el (erc-flood-protect, erc-toggle-flood-control): Update
this to only use boolean values for `erc-flood-protect'. Update
documentation.
(erc-cmd-QUIT): Set the active buffer to be the server buffer, so
that any QUIT-related messages go there.
(erc): Try to be more clever about re-using channel buffers when
automatically re-connecting. Thanks to e1f for noticing.
2006-01-23 Michael Olson <mwolson@gnu.org>
* ChangeLog.2005: Remove erroneous line.
* FOR-RELEASE: Make that the Makefile tweaking is complete.
(NEWS): Mark as done.
* Makefile (MANUAL): New option indicating the name of the manual.
(PREFIX, ELISPDIR, INFODIR): New options that specify the
directories to install lisp code and info manuals to. PREFIX is
used only by ELISPDIR and INFODIR.
(all): Call `lisp' and create the manual.
(lisp): Compile lisp code.
(%.info, %.html): New rules that make Info files and HTML files,
respectively, from a TexInfo source.
(doc): Create both the Info and HTML versions of the manual. This
is for the user -- we never call it automatically.
(install-info): Install Info files.
(install-bin): Install compiled and source Lisp files.
(todo): Remove, since it seems pointless.
* NEWS: Update.
* README: Add Installation instructions. Tweak layout.
* erc.texi: Work on some pre-5.1 items.
* erc-stamp.el, erc-track.el: Move some functions and options in
order to get rid of a few compiler warnings.
* erc.el (erc-modules): Enable readonly by default. This will
prevent new users from accidentally removing old messages, which
could be disconcerting. Also enable stamp by default, since
timestamps are a fairly standard feature among IRC clients.
* erc-button.el: Munge whitespace.
* erc-identd.el (erc-identd-start): Instead of throwing an error,
just try to use the obsolete function.
2006-01-22 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-decode-string-from-target): Make sure that
we have a string as an argument. If not, coerce it to the empty
string. Hopefully, this will work painlessly around an edge case
related to quitting ERC around the same time a message comes in.
2006-01-22 Johan Bockgård <bojohan@users.sourceforge.net>
* erc-track.el: Use `(eval-when-compile (require 'cl))' (for
`case'). Doc fixes.
(erc-find-parsed-property): Simplify.
(erc-track-get-active-buffer): Fix logic. Simplify.
(erc-track-switch-buffer): Remove unused variable `dir'. Simplify.
* erc-speak.el: Doc fixes.
(erc-speak-region): `propertize' --> `erc-propertize'.
* erc-dcc.el (erc-dcc-chat-parse-output): `propertize' -->
`erc-propertize'.
* erc-button.el (erc-button-add-button): Take erc-fill-prefix into
account when wrapping URLs.
* erc-bbdb.el (erc-bbdb-elide-display): Doc fix.
* erc-backend.el (define-erc-response-handler): Doc fix.
2006-01-22 Michael Olson <mwolson@gnu.org>
* erc.el (erc-update-modules): Use `require' instead of `load',
but prevent it from causing errors, in order to preserve the
previous behavior.
2006-01-21 Michael Olson <mwolson@gnu.org>
* FOR-RELEASE (Source): Mark cl task as done.
* Makefile (erc-auto.el): Call erc-generate-autoloads rather than
generate-autoloads.
(erc-auto.el, %.elc): Don't show command, just its output.
* NEWS: Add items from 2005-01-01 to 2005-08-13.
* debian/copyright (Copyright): Update.
* erc-auto.in (erc-generate-autoloads): Rename from
generate-autoloads.
* erc.el, erc-autoaway.el, erc-backend.el: Use
erc-server-process-alive instead of erc-process-alive.
* erc.el, erc-backend.el, erc-ezbounce.el, erc-list.el,
erc-log.el, erc-match.el, erc-nets.el, erc-netsplit.el,
erc-nicklist.el, erc-nickserv.el, erc-notify.el, erc-pcomplete.el:
Use (eval-when-compile (require 'cl)), so that compilation doesn't
fail.
* erc-fill.el, erc-truncate.el: Whitespace munging.
* erc.el: Update copyright notice. Remove eval-after-load code.
(erc-with-buffer): Docfix.
(erc-once-with-server-event, erc-once-with-server-event-global)
(erc-with-buffer, erc-with-all-buffers-of-server): Use erc-gensym
instead of gensym.
(erc-banlist-update): Use erc-delete-if instead of delete-if.
(erc): Call `erc-update-modules' here.
* erc-backend.el: Require 'erc-compat to minimize compiler
warnings.
(erc-decode-parsed-server-response): Docfix.
(erc-server-process-alive): Move here from erc.el and rename from
`erc-process-alive'.
(erc-server-send, erc-remove-channel-users): Make sure process is
alive before sending data to it.
* erc-bbdb.el: Update copyright years.
(erc-bbdb-whois): Remove overexuberant comment.
* erc-button.el: Require erc-fill, since we make liberal use of
`erc-fill-column'.
* erc-compat.el (erc-const-expr-p, erc-list*, erc-assert): New
functions, the latter of which provides an `assert' equivalent.
(erc-remove-if-not): New function that provides a simple
implementation of `remove-if-not'.
(erc-gensym): New function that provides a simple implementation
of `gensym'.
(erc-delete-if): New function that provides a simple
implementation of `delete-if'.
(erc-member-if): New function that provides a simple
implementation of `member-if'.
(field-end): Remove this, since it is unused, and later versions
of XEmacs have this function already.
(erc-function-arglist): Moved here from erc.el.
(erc-delete-dups): New compatibility function for dealing with
XEmacs.
(erc-subseq): New function copied from cl-extra.el.
* erc-dcc.el: Require pcomplete during compilation to avoid
compiler warnings.
(erc-unpack-int, erc-dcc-send-filter)
(erc-dcc-get-filter): Use erc-assert instead of assert.
(pcomplete/erc-mode/DCC): Use erc-remove-if-not instead of
remove-if-not.
* erc-match.el (erc-log-matches): Fix compiler warning.
* erc-nicklist.el: Update copyright notice.
(erc-nicklist-menu): Change use of caadr to (car (cadr ...)).
(erc-nicklist-bitlbee-connected-p): Remove.
(erc-nicklist-insert-medium-name-or-icon): Accept channel
argument. Use it to determine whether we are on bitlbee. Now
that bitlbee names its channel "&bitlbee", this is trivial.
(erc-nicklist-insert-contents): Pass channel as specified above.
Don't try to determine whether we are on bitlbee here.
(erc-nicklist-channel-users-info): Use erc-remove-if-not instead
of remove-if-not.
(erc-nicklist-search-for-nick): Use erc-member-if instead of
member-if.
* erc-notify.el (erc-notify-QUIT): Use erc-delete-if with a
partially-evaluated lambda expression instead of `delete' and
`find'.
* erc-track.el: Use erc-assert.
(erc-track-modified-channels): Remove use of `return'.
(erc-track-modified-channels): Use `cadr' instead of `second',
since otherwise we would need yet another eval-when-compile line.
2006-01-19 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-process-sentinel-1): Remove attempt to
detect SIGPIPE, since it doesn't work.
2006-01-10 Diane Murray <disumu@x3y2z1.net>
* erc-spelling.el: Updated copyright years.
(define-erc-module): Enable/disable `flyspell-mode' for all open
ERC buffers as well.
(erc-spelling-dictionaries): Reworded customize description.
* erc.el (erc-command-symbol): New function.
(erc-extract-command-from-line): Use `erc-command-symbol'. This
fixes a bug where "Symbol's function definition is void:
erc-cmd-LIST" would be shown after typing /list at the prompt (the
command was interned because erc-menu.el uses it and is enabled by
default whereas erc-list.el is not).
* NEWS: Started a list of renamed variables.
* erc.el: Reworded the message sent when defining variable
aliases.
(erc-command-indicator-face): Doc fix.
(erc-modules): Enable the match module by default which makes
current nickname highlighting on as the default.
* erc-button.el: Updated copyright years.
(erc-button): New face.
(erc-button-face): Use `erc-button'.
(erc-button-nickname-face): New customizable variable.
(erc-button-add-nickname-buttons, erc-button-add-buttons-1): Send
new argument to `erc-button-add-button'.
(erc-button-add-button): Doc fix. Added new argument to function
definition, NICK-P. If it's a nickname, use
`erc-button-nickname-face', otherwise use `erc-button-face'. This
makes channel tracking and buttons work better together when
`erc-button-buttonize-nicks' is enabled, since there is a nickname
on just about every line.
* erc-track.el (erc-track-use-faces): Doc fix.
(erc-track-faces-priority-list): Added `erc-button' to list.
(erc-track-priority-faces-only): Doc fix.
2006-01-09 Diane Murray <disumu@x3y2z1.net>
* erc-button.el (erc-button-url-regexp): Use `concat' so the
regexp is not one long line.
(erc-button-alist): Fixed so that customizing works correctly.
Reorganized. Removed lambda functions with more than two lines.
Doc fix.
(erc-button-describe-symbol, erc-button-beats-to-time): New
functions. Moved from `erc-button-alist'.
2006-01-07 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-process-sentinel-1): Don't try to re-open a
process if a SIGPIPE occurs. This happens when a new message
comes in at the same time a /quit is requested.
(erc-process-sentinel): Use string-match rather than string= to do
these comparisons. Matching literal newlines makes me nervous.
* erc-track.el (erc-track-remove-from-mode-line): Handle case
where global-mode-string is not a list. Emacs22 permits this.
2005-11-23 Johan Bockgård <bojohan@users.sourceforge.net>
* erc.el (erc-cmd-SAY): Strip leading space in input line.
2005-10-29 Michael Olson <mwolson@gnu.org>
* FOR-RELEASE: Add stuff that needs to be done before the 5.1
release. Longer-term items can be added to the 5.2 section.
* Makefile (SITEFLAG): New variable that indicates what variant of
"--site-flag" to use. XEmacs needs "-site-flag".
(INSTALLINFO): New variable indicating how we should call
install-info when installing documentation.
(erc-auto.el, .elc.el): Use $(SITEFLAG).
* NEWS: Note that last release was 5.0.4.
* erc.texi: Initial and incomplete draft of ERC documentation.
Commence collaborate-documentation-hack-mode :^) .
2005-10-29 Diane Murray <disumu@x3y2z1.net>
* erc-ring.el (erc-replace-current-command): Revert last change
since it made the prompt disappear when using `erc-next-command'
and `erc-previous-command'.
2005-10-28 Michael Olson <mwolson@gnu.org>
* erc.el (erc-input-marker): New variable that indicates the
position where text from the user begins, after the prompt.
(erc-mode-map): Bind <HOME> to erc-bol, just like C-a.
(erc): Initialize erc-input-marker.
(erc-display-prompt): Even in case where no prompt is desired by
the user, clear the undo buffer and set the input marker.
(erc-bol, erc-user-input): Simplify by using erc-input-marker.
* erc-pcomplete.el (pcomplete-parse-erc-arguments): Use
erc-insert-marker.
* erc-ring.el (erc-previous-command)
(erc-replace-current-command): Use erc-insert-marker.
* erc-spelling.el (erc-spelling-init): Make sure that even Emacs21
obeys erc-spelling-flyspell-verify.
(erc-spelling-flyspell-verify): Use erc-input-marker. This should
make it considerably faster when switching to a buffer that has
seen a lot of activity since last viewed.
2005-10-25 Diane Murray <disumu@x3y2z1.net>
* erc-backend.el (erc-server-version, 004): Re-added setting of
`erc-server-version'. It doesn't hurt to set, and it could be
used in modules or users' settings.
* NEWS: Added descriptions of some new features.
2005-10-20 Diane Murray <disumu@x3y2z1.net>
* erc-match.el (erc-current-nick-highlight-type): Set to `keyword'
as default.
(erc-beep-match-types): New variable.
(erc-text-matched-hook): Doc fix. Added `erc-beep-on-match' to
customization options.
(erc-beep-on-match): New function. If the MATCH-TYPE is found in
`erc-beep-match-types', beep.
* erc-compat.el (erc-make-obsolete, erc-make-obsolete-variable):
New functions to deal with the difference in the number of
arguments accepted by `make-obsolete' and `make-obsolete-variable'
in Emacs and XEmacs.
* erc.el, erc-nets.el: Use `erc-make-obsolete' and
`erc-make-obsolete-variable'.
* erc-compat.el (erc-make-obsolete, erc-make-obsolete-variable):
Handle `wrong-number-of-arguments' error instead of checking for
xemacs feature as future versions of XEmacs might accept three
arguments.
2005-10-18 Edward O'Connor <ted@oconnor.cx>
* erc.el: Tell emacs-lisp-mode how to font-lock define-erc-module
docstrings.
2005-10-08 Diane Murray <disumu@x3y2z1.net>
* AUTHORS, CREDITS, ChangeLog, ChangeLog.2002, ChangeLog.2004:
Updated my email address.
2005-10-06 Michael Olson <mwolson@gnu.org>
* erc.el (erc-send-input-line, erc-cmd-KICK, erc-cmd-PART)
(erc-cmd-QUIT, erc-cmd-TOPIC, erc-kill-server, erc-kill-channel):
Adapt to new TARGET parameter of erc-server-send.
* erc-backend.el (erc-server-connect): Don't specify encoding for
erc-server-process, since we set this each time we send a line to
the server.
(erc-encode-string-for-target): Remove.
(erc-server-send): Allow TARGET to be specified. This was how it
used to be before my more-backend work. Set encoding of server
process just before sending text to it. Associate encoding with
text if we are using the queue.
(erc-server-send-queue): Pull encoding from queue.
(erc-message, erc-send-ctcp-message, erc-send-ctcp-notice): Adapt
to new TARGET parameter of erc-server-send.
2005-10-05 Michael Olson <mwolson@gnu.org>
* erc.el (erc-toggle-debug-irc-protocol): Use erc-view-mode-enter
rather than view-mode.
* erc-backend.el (erc-encode-string-for-target): If given a nil or
empty string, return "".
(erc-server-send-queue): XEmacs fix: Use erc-cancel-timer rather
than cancel-timer.
* erc-compat.el (erc-view-mode-enter): New function that is
aliased to the correct way of entering view-mode.
* erc-match.el (erc-log-matches-make-buffer): Use
erc-view-mode-enter rather than view-mode-enter.
2005-10-05 Edward O'Connor <ted@oconnor.cx>
* erc-backend.el (erc-encode-string-for-target): If str is nil,
pass the empty string to erc-encode-coding-string instead, which
allows one to /part and /quit without providing a reason again.
2005-10-03 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-message, erc-send-ctcp-message)
(erc-send-ctcp-notice): Encode string for target before sending.
* erc.el (erc-cmd-KICK, erc-cmd-PART, erc-cmd-QUIT, erc-cmd-TOPIC)
(erc-kill-server, erc-kill-channel): Ditto.
2005-09-05 Johan Bockgård <bojohan@users.sourceforge.net>
* erc-page.el (erc-ctcp-query-PAGE): (message text) -> (message
"%s" text).
(erc-cmd-PAGE): Simplify regexp. Put `do-not-parse-args' t.
2005-09-05 Michael Olson <mwolson@gnu.org>
* erc.el (erc-flood-limit, erc-flood-limit2): Remove since they
are no longer needed.
(erc-send-input): Detect whether we want flood control to be
active. The previous behavior was to always force the message.
(erc-toggle-flood-control): Adapt to new flood control method. No
more 'strict.
(erc-cmd-SV): Use concat rather than
format-time-string.
(erc-format-target, erc-format-target-and/or-server): Shorten
logic statements.
* erc-compat.el (erc-emacs-build-time): Use a string
representation rather than trying to coerce a time out of a string
on XEmacs.
* erc-identd.el (erc-identd-start): Use make-network-process
instead of open-network-stream. Error out if this is not defined.
* erc-backend.el (erc-send-line): New command that sends a line
using flood control, using a callback for display. It isn't used
yet.
2005-09-04 Michael Olson <mwolson@gnu.org>
* erc.el: Add defvaralias and make-obsolete-variable for
erc-default-coding-system.
(channel-topic, channel-modes, channel-user-limit, channel-key,
invitation, away, channel-list, bad-nick): Rename globally to
erc-{name-of-variable}.
2005-09-03 Johan Bockgård <bojohan@users.sourceforge.net>
* erc.el (erc-message): Simplify regexp.
(erc-cmd-DEOP, erc-cmd-OP): Simplify.
2005-08-29 Michael Olson <mwolson@gnu.org>
* erc.el: Alias erc-send-command to erc-server-send. ErBot needs
this to work without modification. Add defvaralias for
erc-process. Make this and the other backwards-compatibility
functions and variables be marked obsolete as of ERC 5.1.
* erc-backend.el: Add autoload for erc-log macro.
(erc-server-connect): Set some variables before defining process
handlers. It probably doesn't make any difference.
2005-08-26 Michael Olson <mwolson@gnu.org>
* erc.el: Add defvaralias for erc-announced-server-name, since
this seems to be widely used.
2005-08-17 Michael Olson <mwolson@gnu.org>
* erc.el (erc): Remove unnecessary boundp check.
* erc-autoaway.el: Fix compiler warning.
* erc-backend.el (erc-server-version): Since this isn't used by
any code, and isn't generally useful, remove it.
(erc-server-send-queue): Use erc-current-time rather than
float-time.
(004): Don't set erc-server-version.
* erc-dcc.el (erc-dcc-chat-request, erc-dcc-get-parent): Move to
fix a compiler warning.
* erc-ibuffer.el (erc-server): Remove unnecessary boundp check.
* erc-identd.el (erc-identd-start): Use read-string instead of
read-input.
* erc-imenu.el (erc-unfill-notice): Use a while loop instead of
replace-regexp.
* erc-nicklist.el: Add conditional dependency on erc-bbdb.
(erc-nicklist-insert-contents): Tighten some regexps.
* erc-notify.el (erc-notify-list): Docfix.
* erc-spelling.el (erc-spelling-dictionaries): Add :type and
:group to silence a compiler warning.
2005-08-14 Michael Olson <mwolson@gnu.org>
* erc-backend.el (erc-session-server, erc-session-port)
(erc-announced-server-name, erc-server-version)
(erc-server-parameters): Moved here from erc.el.
(erc-server-last-peers): Moved, renamed from last-peers.
(erc-server-lag): Moved, renamed from erc-lag.
(erc-server-duplicates): Moved, renamed from erc-duplicates.
(erc-server-duplicate-timeout): Moved, renamed from
erc-duplicate-timeout.
(erc-server): New customization group hosting all options from
this file.
(erc-server-prevent-duplicates): Moved, renamed from
erc-prevent-duplicates.
(erc-server-duplicate-timeout): Moved, renamed from
erc-duplicate-timeout.
(erc-server-auto-reconnect, erc-split-line-length)
(erc-server-coding-system, erc-encoding-coding-alist)
(erc-server-connect-function, erc-server-flood-margin)
(erc-server-flood-penalty): Change group to 'erc-server.
(erc-server-send-ping-interval): Moved, renamed from
erc-ping-interval.
(erc-server-ping-handler): Moved, renamed from erc-ping-handler.
(erc-server-setup-periodical-server-ping): Moved, renamed from
erc-setup-periodical-server-ping.
(erc-server-connect): Add to docstring. Move more initialization
here.
(erc-server-processing-p): Docfix.
(erc-server-connect): Use 'raw-text like in the original version.
(erc-server-filter-function): Don't reset process coding system.
* erc-stamp.el (erc-add-timestamp): If the text at point is
invisible, don't insert a timestamp. Thanks to Pascal
J. Bourguignon for the suggestion.
* erc-match.el (erc-text-matched-hook): Don't hide fools by
default, but include it in the available options.
2005-08-13 Michael Olson <mwolson@gnu.org>
* erc-*.el: s/erc-send-command/erc-server-send/g.
s/erc-process/erc-server-process/g (sort of). Occasional
whitespace and indentation fixes.
* erc-backend.el: Specify a few local variables for indentation.
Take one item off of the TODO list.
(erc-server-filter-data): Renamed from erc-previous-read. From
circe.
(erc-server-processing-p): New variable that indicates when we're
currently processing a message. From circe.
(erc-split-line-length): New option that gives the maximum line
length of a single message. From circe.
(erc-default-coding-system): Moved here from erc.el.
(erc-split-line): Renamed from erc-split-command and taken from
circe.
(erc-connect-function, erc-connect, erc-process-sentinel-1)
(erc-process-sentinel, erc-flood-exceeded-p, erc-send-command)
(erc-message, erc-upcase-first-word, erc-send-ctcp-message)
(erc-send-ctcp-notice): Moved here from erc.el.
(erc-server-filter-function): Renamed from erc-process-filter.
From circe.
(erc-server-process): Renamed from `erc-process' and moved here
from erc.el.
(erc-server-coding-system): Renamed from
`erc-default-coding-system'.
(erc-encoding-coding-alist): Moved here from erc.el.
(erc-server-flood-margin, erc-server-flood-penalty):
(erc-server-flood-last-message, erc-server-flood-queue):
(erc-server-flood-timer): New options from circe that allow
tweaking of flood control.
(erc-server-connect-function): Renamed from erc-connect-function.
(erc-flood-exceeded-p): Removed.
(erc-coding-system-for-target)
(erc-encode-string-for-target, erc-decode-string-from-target):
Moved here from erc.el
(erc-server-send): Renamed from erc-send-command. Adapted from
the circe function by the same name.
(erc-server-send-queue): New function from circe that implements
handling of a flood queue.
(erc-server-current-nick): Renamed from current-nick.
(erc-server-quitting): Renamed from `quitting'.
(erc-server-last-sent-time): Renamed from `last-sent-time'.
(erc-server-last-ping-time): Renamed from `last-ping-time'.
(erc-server-lines-sent): Renamed from `lines-sent'.
(erc-server-auto-reconnect): Renamed from `erc-auto-reconnect'.
(erc-server-coding-system): Docfix.
(erc-server-connect): Renamed from `erc-connect'. Require SERVER
and PORT parameters. Initialize several variables here. Don't
set `erc-insert-marker'. Use a per-server coding system via
erc-server-default-encoding.
* erc.el (erc-version-string): Changed to indicate we are running
the `more-backend' branch.
(erc-send-single-line): Implement flood control using
erc-split-line.
(erc-send-input): Move functionality of erc-send-single-line in
here.
(erc-send-single-line): Assimilated!
(erc-display-command, erc-display-msg): Handle display hooks.
(erc-auto-reconnect, current-nick, last-sent-time)
(last-ping-time, last-ctcp-time, erc-lines-sent, erc-bytes-sent)
(quitting): Moved to erc-backend.el.
(erc): Docfix. Don't initialize quite so many things here.
2005-08-10 Michael Olson <mwolson@gnu.org>
* debian/copyright (Copyright): Remove notices for 4 people, since
they didn't contribute legally-significant changes, or have had
these changes overwritten.
* erc-log.el: Remove copyright notice.
* erc.el: Remove 3 copyright notices.
2005-08-09 Michael Olson <mwolson@gnu.org>
* debian/changelog: Create 5.0.4-3 package. This doesn't serve
any purpose other than to thank Romain Francoise for some advice.
* Makefile (debrelease): Allow last upload and extra build options
to be specified.
2005-08-08 Michael Olson <mwolson@gnu.org>
* debian/changelog: Create 5.0.4-2 package.
* debian/control (Uploaders): Add Romain Francoise.
(Standards-Version): Update to 3.6.2.
(Depends): Add `emacsen'.
* debian/scripts/startup.erc (load-path): Minor whitespace fixup.
* Makefile (clean): Split target from realclean and make it remove
files that aren't packaged in releases.
(clean, release): Minor cleanups.
(debrelease): Use debuild rather than dpkg-buildpackage since the
former calls lintian. Minor cleanups.
(debrelease-mwolson): New target that removes old Debian packages,
calls debrelease, and copies the resulting package to my dist dir.
(upload): New target that automates the process of uploading an
ERC release to sourceforge.
* erc.el (erc-mode): Use `make-local-variable' instead of
`make-variable-buffer-local'.
2005-07-12 Michael Olson <mwolson@gnu.org>
* debian/changelog: Build 5.0.4-1.
* Makefile (release): Prepare zip file in addition to tarball.
* NEWS: Add item for the undo fix.
2005-07-09 Michael Olson <mwolson@gnu.org>
* erc-nicklist.el (erc-nicklist-insert-contents): Check
erc-announced-name before erc-session-server. Make sure that we
can never get a stringp (nil) error.
(erc-nicklist-call-erc-command): If given no command, do nothing.
This fixes an error that used to occur when a stray mouse click
was made outside of the popup window, but on the erc-nicklist
menu.
* erc-bbdb.el (erc-bbdb-search-name-and-create): Get rid of the
infinite input loop when you want to create a new record. Replace
most of that with a completing read of existing nicks. If no nick
is chosen, create a new John Doe record. The net effect of this
is that the old behavior is re-instated, with the addition of one
completing read that happens when you do a /whois.
2005-07-09 Johan Bockgård <bojohan@users.sourceforge.net>
* erc.el (erc-process-input-line): Docfix.
(erc-update-mode-line-buffer): Use `erc-propertize' instead of
`propertize'.
(erc-propertize): Move to erc-compat.el.
* erc-compat.el (erc-propertize): Move here from erc.el. Always
return a copy of the string (like `propertize' in GNU Emacs).
* erc-nicklist.el (erc-nicklist-icons-directory)
(erc-nicklist-voiced-position)
(erc-nicklist-insert-medium-name-or-icon): Docfix.
(erc-nicklist-insert-contents): Simplify.
(erc-nicklist-mode-map): Bind RET instead of `return'. Bind
`down-mouse-3' instead of `mouse-3'.
(erc-nicklist-kbd-cmd-QUERY): Cleanup regexp.
(erc-nicklist-channel-users-info): Docfix. Simplify.
2005-07-02 Michael Olson <mwolson@gnu.org>
* images: New directory containing the images that are used by
erc-nicklist.el. These are from Gaim, and are thought to be
available under the terms of the GPL.
* erc-bbdb.el: Add local variables section to preserve tabs, since
that is the style used throughout this file. Apply patch from
Edgar Gonçalves as follows.
(erc-bbdb-bitlbee-name-field): New variable that indicates the
field name to use for annotating the "displayed name" of a bitlbee
contact.
(erc-bbdb-irc-highlight-field): Docfix.
(erc-bbdb-search-name-and-create): Prompt the user for the name of
a contact if none was found. Merge the new entries into the
specified contact. If new arg SILENT is non-nil, do not prompt
the user for a name or offer to merge the new entry.
(erc-bbdb-insinuate-and-show-entry): New arg SILENT is accepted,
which is passed on to erc-bbdb-search-name-and-create.
(erc-bbdb-whois): Tell erc-bbdb-search-name-and-create to prompt
for name if necessary.
(erc-bbdb-JOIN, erb-bbdb-NICK): Forbid
erc-bbdb-search-name-and-create from prompting for a name.
* erc-nicklist.el: Add local variables section to preserve tabs,
since that is the style used throughout this file. Apply patch
from Edgar Gonçalves as follows.
(erc-nicklist-use-icons): New option; if non-nil, display an icon
instead of the name of the chat medium.
(erc-nicklist-icons-directory): New option indicating the path to
the PNG files that are used for chat icons.
(erc-nicklist-use-icons): New option indicating whether to put
voiced nicks on top, bottom, or not to differentiate them. The
default is to put them on the bottom.
(erc-nicklist-bitlbee-connected-p): New variable that indicates
whether or not we are currently using bitlbee. An attempt will be
made to auto-detect the proper value. This is bound in the
`erc-nicklist-insert-contents' function.
(erc-nicklist-nicklist-images-alist): New variable that maps a
host type to its icon. This is set by `erc-nicklist'.
(erc-nicklist-insert-medium-name-or-icon): New function that
inserts an icon or string that identifies the current host type.
(erc-nicklist-search-for-nick): New function that attempts to find
a BBDB record that corresponds with this contact given its
finger-host. If found, return its bitlbee-nick field.
(erc-nicklist-insert-contents): New function that inserts the
contents of the nick list, including text properties and images.
(erc-nicklist): Populate `erc-nicklist-images-alist'. Move
nicklist content generation code to
`erc-nicklist-insert-contents'.
(erc-nicklist-mode-map): Map C-j to erc-nicklist-kbd-menu and RET
to erc-nicklist-kbd-cmd-QUERY.
(erc-nicklist-call-erc-command): Make use of
`switch-to-buffer-other-window'.
(erc-nicklist-cmd-QUERY): New function that opens a query buffer
for the given contact.
(erc-nicklist-kbd-cmd-QUERY): Ditto; contains most of the code.
(erc-nicklist-kbd-menu): New function that shows the nicklist
action menu.
(erc-nicklist-channel-users-info): Renamed from
`erc-nicklist-channel-nicks'. Implement sorting voiced users.
2005-06-29 Johan Bockgård <bojohan+sf@dd.chalmers.se>
* erc-nickserv.el (erc-nickserv-alist): Fix regexp for Azzurra.
2005-06-26 Michael Olson <mwolson@gnu.org>
* erc-autojoin.el (erc-autojoin-add, erc-autojoin-remove): Use
`erc-session-server' if `erc-announced-server-name' is nil. This
happens when servers don't send a 004 message.
* erc.el (erc-quit-server): Ditto.
* erc-ibuffer.el (erc-server, erc-server-name): Ditto.
* erc-notify.el (erc-notify-JOIN, erc-notify-NICK)
(erc-notify-QUIT): Ditto.
2005-06-24 Johan Bockgård <bojohan+sf@dd.chalmers.se>
* erc.el (erc-default-coding-system)
(erc-handle-user-status-change): Docstring fix.
(with-erc-channel-buffer): Removed.
(erc-ignored-reply-p): Replace `with-erc-channel-buffer' with
`erc-with-buffer'.
(erc-display-line-1): Fix broken undo.
2005-06-23 Michael Olson <mwolson@gnu.org>
* CREDITS: Add entries for Luigi Panzeri and Andreas Schwab.
* erc-nickserv.el (erc-nickserv-alist): Add entries for Azzurra
and OFTC. Thanks to Luigi Panzeri and Andreas Schwab for
providing these.
2005-06-16 Michael Olson <mwolson@gnu.org>
* CREDITS: Add John Paul Wallington.
* erc.el: Thanks to John Paul Wallington for the following.
(erc-nickname-in-use): Use `string-to-number' instead of
`string-to-int'.
* erc-dcc.el (erc-dcc-handle-ctcp-send)
(erc-dcc-handle-ctcp-chat, erc-dcc-get-file)
(erc-dcc-chat-accept): Ditto.
* erc-identd.el (erc-identd-start): Ditto.
2005-06-16 Johan Bockgård <bojohan+sf@dd.chalmers.se>
* erc.el (erc-mode-map): Suppress `font-lock-fontify-block' key
binding since it destroys face properties.
2005-06-08 Michael Olson <mwolson@gnu.org>
* erc.el (erc-cmd-UNIGNORE): Use `erc-member-ignore-case' instead
of `member-ignore-case'. Thanks to bpalmer for the heads up.
2005-06-06 Michael Olson <mwolson@gnu.org>
* erc.el (erc-modules): Fix a mistake I made when editing this a
few days ago. Modes should now be disabled properly.
(erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Remove unnecessary call to
`format'. Thanks to Andreas Schwab for reporting this.
* debian/changelog: Close "README file missing" bug.
* debian/rules (binary-erc): Install README file.
2005-06-03 Michael Olson <mwolson@gnu.org>
* erc.el (erc-with-buffer): Set `lisp-indent-function' so Emacs
Lisp mode knows how to indent erc-with-buffer blocks.
(with-erc-channel-buffer): Ditto.
(erc-with-all-buffers-of-server): Ditto.
(erc-modules): Use pcomplete by default, not completion, since
erc-complete.el is deprecated. Use `fboundp' instead of
`symbol-value' to check for existence of a function before calling
it. This was causing an error when untoggling the `completion'
option and trying to save via the customize interface.
* erc-track.el (erc-modified-channels-update): If a buffer is not
currently connected, remove it from the modified channels list.
This should fix the problem where residue was left on the mode
line after quitting ERC.
* erc-list.el (erc-prettify-channel-list): Docfix; thanks to John
Paul Wallington for reporting this.
2005-05-31 Michael Olson <mwolson@gnu.org>
* debian/changelog: First draft of entries for the 5.0.3 release.
* debian/README.Debian: Note that ERC will now install correctly
on versions of Emacs or XEmacs that do not have the `format-spec'
library. Correct some grammar and prune the content a bit.
* debian/scripts/install (emacs20): Remove line since we no longer
need to deal with format-spec.el.
* NEWS: Add entries for the upcoming 5.0.3 release.
* erc.el: Don't require format-spec since this is provided in
erc-compat.el now.
(erc-process-sentinel, erc-setup-periodical-server-ping): Use
`erc-cancel-timer' instead of `cancel-timer'.
(erc-version-string): Update to 5.0.3.
* erc-autoaway.el (autoaway, erc-autoaway-reestablish-idletimer):
Use `erc-cancel-timer' instead of `cancel-timer'.
* erc-compat.el (format-spec, format-spec-make): If we cannot load
the `format-spec' library, provide versions of these functions.
This should keep problems from surfacing with Emacs21 Debian
builds.
(erc-cancel-timer): New function created to take the place of
`cancel-timer' since XEmacs calls it something else.
* erc-track.el (erc-modified-channels-update): Accept any number
of arguments, which are ignored. This allows it to be run from
`erc-disconnected-hook' without extra bother.
(track): Add `erc-modified-channels-update' to
`erc-disconnected-hook' so that the indicators are removed
correctly in some edge cases.
(erc-modified-channels-display): Make sure that we never pass nil
to the function in `erc-track-shorten-function'. This happens
when we have deleted buffers in `erc-modified-channels-alist'.
Also, make sure that the buffer has a non-nil short-name before
adding it to the string list. This should fix some XEmacs
warnings when running /quit with unchecked buffers, as well as get
rid of a stray buffer problem (or so it is hoped).
2005-05-31 Johan Bockgård <bojohan+sf@dd.chalmers.se>
* erc-replace.el, erc-speak.el: Clean up comment formatting.
* erc-ring.el (ring, erc-input-ring-index, erc-clear-input-ring):
Clean up docstring formatting.
2005-05-30 Johan Bockgård <bojohan+sf@dd.chalmers.se>
* erc.el (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Delete superfluous
arg to `format'.
(erc-load-irc-script): Use `insert-file-contents' instead of
`insert-file'. Simplify.
2005-05-29 Michael Olson <mwolson@gnu.org>
* erc.el (erc-version-string): Move this up so that it is
evaluated before the `require' statements. Not a major change.
2005-04-27 Johan Bockgård <bojohan+sf@dd.chalmers.se>
* erc.el (erc-complete-word): Simplify.
2005-04-27 Michael Olson <mwolson@gnu.org>
* Makefile (debrelease): Use a slightly different approach when
removing CVS and Arch cruft.
* debian/changelog: Update for 5.0.2-1 package.
2005-04-25 Michael Olson <mwolson@gnu.org>
* erc-autoaway.el (erc-autoaway-reestablish-idletimer): Move code
block higher in file to fix a load failure when using Emacs21.
Thanks to Daniel Brockman for the report and fix.
2005-04-24 Adrian Aichner <adrian@xemacs.org>
* erc-backend.el (JOIN): save-excursion so that
`erc-current-logfile' inserts into the correct channel buffers
when using erc-log-insert-log-on-open in combination with autojoin
to multiple channels.
2005-04-17 Adrian Aichner <adrian@xemacs.org>
* erc-log.el: Remove stray whitespace.
* erc.el: Ditto.
2005-04-09 Aidan Kehoe <kehoea@parhasard.net>
* erc.el: autoload erc-select-read-args, which, because it parses
erc-select's args, can be called before erc.el is loaded.
2005-04-07 Edward O'Connor <ted@oconnor.cx>
* erc-viper.el: Remove final newlines from previously-existing ERC
buffers. (Minor bug fix.)
2005-04-06 Michael Olson <mwolson@gnu.org>
* Makefile (debrelease): Ignore errors from deleting Arch and CVS
metadata.
2005-04-05 Michael Olson <mwolson@gnu.org>
* ChangeLog, CREDITS, AUTHORS: Correct name and email address of
Marcelo Toledo.
2005-04-04 Michael Olson <mwolson@gnu.org>
* erc.el (erc-modules): Add entry for spelling module.
* erc-spelling.el: Add autoload line.
* erc-backend.el: Apply latest non-ascii patch from Kai Fan.
(erc-decode-parsed-server-response): Search
erc-response.command-args for channel name. Decode the
erc-response struct using this channel name as key according to
the `erc-encoding-coding-alist'.
* erc-track.el: Apply patch from Henrik Enberg.
(erc-modified-channels-object): Use optimal amount of whitespace
around modified channels indicator.
2005-04-02 Johan Bockgård <bojohan+sf@dd.chalmers.se>
* erc.el (define-erc-module, erc-with-buffer)
(erc-with-all-buffers-of-server, with-erc-channel-buffer): Add
edebug-form-spec.
* erc-compat.el (erc-define-minor-mode): Ditto.
2005-03-29 Jorgen Schaefer <forcer@forcix.cx>
* erc-spelling.el: New file.
2005-03-24 Johan Bockgård <bojohan+sf@dd.chalmers.se>
* erc-backend.el (define-erc-response-handler): Add
`definition-name' property to constructed symbols so that
find-function and find-variable will find them.
2005-03-21 Michael Olson <mwolson@gnu.org>
* erc-dcc.el, erc-goodies.el, erc-list.el, erc-notify.el,
erc-ring.el, erc.el: Copyright assignment occurred.
* debian/scripts/install: Make a shell wrapper around the original
Makefile and inline the Makefile. The problem is that Debian
passes all the Emacs variants at once, rotating them at every
invocation of the install script, which happens once per variant.
This caused each installation to happen N-1 times more often than
it should have. As a result, we need to only deal with the first
argument.
(ELFILES): Only add format-spec.el if we are compiling for
emacs21. Don't filter out erc-compat.el.
(SITEFLAG): New variable that indicates that the "nosite" option
should look like.
(.DEFAULT): Use $(FLAVOUR) instead of $@ for clarity.
* debian/rules: Install NEWS file and compress it.
* debian/maint/postinst: Be more cautious about configuration
step.
* debian/copyright (Copyright): Another assignment came in.
* debian/control (Standards-Version): Update to a newer version as
recommended by lintian.
* debian/changelog: Changes made for the Debian package.
* debian/README.Debian: Keep only the General Notes section.
* NEWS: Move old history items here from debian/README.Debian.
* Makefile (SNAPSHOTDATE): Deprecate this option since we hope to
release more often.
2005-03-20 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-define-catalog, `ctcp-request-to'): Fix typo (%: ->
%t:).
2005-03-01 Michael Olson <mwolson@gnu.org>
* erc-log.el (erc-save-buffer-in-logs): Replace tabs with spaces
in code indentation.
2005-02-28 Michael Olson <mwolson@gnu.org>
* erc.el (erc-display-message): Apply corrected patch from Henrik
Enberg.
2005-02-27 Michael Olson <mwolson@gnu.org>
* erc.el (erc-display-message): Apply patch from Henrik Enberg.
Check here to see if a message should be hidden, rather than
relying on code in each individual command.
(erc-version-string): Add "(CVS)" to the version string for
clarity.
* erc-backend.el (JOIN, KICK, MODE, NICK, PART, QUIT, TOPIC):
Don't check `erc-hide-list' here.
* erc-list.el, erc-match.el, erc.el, debian/copyright: Update
copyright information as a few more people have assignments
registered.
2005-02-06 Michael Olson <mwolson@gnu.org>
* erc-backend.el: Apply patch from Kai Fan for non-ASCII character
support.
(erc-parse-server-response): Add call to
`erc-decode-parsed-server-response'.
(erc-decode-parsed-server-response): New function that decodes a
pre-parsed server response before it can be handled.
(PRIVMSG): Comment out call to `erc-decode-string-from-target'.
(TOPIC): Ditto.
2005-02-01 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-process-sentinel-1): Don't reconnect on connection
refused. This error is reported differently when using
open-network-stream-nowait.
2005-01-26 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-cmd-APPENDTOPIC, erc-set-topic): The control
character in `channel-topic' was changed to \C-o - replaced \C-c
with \C-o so that these functions work as expected again.
(erc-get-channel-mode-from-keypress): Doc fix.
2005-01-25 Diane Murray <disumu@x3y2z1.net>
* erc.el, erc-button.el, erc-compat.el, erc-goodies.el,
erc-match.el, erc-nets.el, ChangeLog, NEWS: Merged bug fixes made
on release_5_0_branch since 5.0.1 release.
2005-01-24 Johan Bockgård <bojohan+sf@dd.chalmers.se>
* erc.el (erc-input-action): Quote `erc-action-history-list' so
that input history actually works.
(erc-process-ctcp-query): Fix and simplify logic.
(erc-get-channel-mode-from-keypress): Use `C-' string syntax.
(erc-load-irc-script-lines): Use `erc-command-indicator' instead
of `erc-prompt'.
2005-01-23 Edward O'Connor <ted@oconnor.cx>
* erc-viper.el: Ensure that `viper-comint-mode-hook' runs in
buffers whose `erc-mode-hook' has already run when this file is
loaded.
Explicitly `require' erc.el.
2005-01-22 Edward O'Connor <ted@oconnor.cx>
* erc.el (erc-mode): Remove frobbing of `require-final-newline'.
* erc-log.el (erc-save-buffer-in-logs): Remove frobbing of
`require-final-newline'.
* erc-viper.el: New file. This is where all ERC/Viper
compatibility code should live. When and if ERC is bundled with
Emacs, some of the hacks in this file should be merged into Viper
itself.
2005-01-21 Edward O'Connor <ted@oconnor.cx>
* erc.el (erc-mode): Set `require-final-newline' to nil in ERC
buffers. This prevents a Viper misfeature whereby extraneous
newlines are inserted into the ERC buffer when switching between
viper states.
* erc-log.el (erc-save-buffer-in-logs): Bind `require-final-newline'
to t when calling `write-region' to ensure that further log
entries start on fresh lines.
2005-01-21 Diane Murray <disumu@x3y2z1.net>
* erc-button.el (erc-button-add-face): Reverted my change to the
order faces since it had the unwanted effect of putting the button
face after all others.
(erc-button-face-has-priority): Removed this variable as it is not
necessary anymore - it was used to compensate for the above
mentioned change.
* NEWS: Added the latest fixes.
2005-01-20 Diane Murray <disumu@x3y2z1.net>
* erc-button.el, erc-match.el:
(erc-button-syntax-table, erc-match-syntax-table): Added \ as a
legal character for nicknames.
* erc-nets.el (erc-server-select): Fixed so that only networks
with servers found in `erc-server-alist' are available as choices.
* erc.el, erc-compat.el, erc-goodies.el:
(erc-replace-match-subexpression-in-string): New function. Needed
because `replace-match' in XEmacs doesn't replace regular
expression subexpressions in strings, only in buffers.
(erc-seconds-to-string, erc-controls-interpret): Use the new
function.
* erc-button.el (erc-button-add-button): Use the `:button-face'
key combined with an `erc-mode' local `widget-button-face' set to
nil to get the widget overlay face suppressed in XEmacs.
2005-01-19 Francis Litterio <franl@world.std.com>
* erc-button.el (erc-button-add-face): The face added by this
function is more important than the existing text's face, so we
now prepend erc-button-face to the list of existing faces when
adding a button. To instead append erc-button-face to existing
faces, set variable `erc-button-face-has-priority' to nil.
(erc-button-face-has-priority): New variable to control how
erc-button-add-face adds erc-button-face to existing faces.
(erc-button-press-button): Silenced a byte-compiler warning about
too few arguments in a call to `error'.
2005-01-19 Diane Murray <disumu@x3y2z1.net>
* NEWS: Added list of 5.0.1 fixes.
2005-01-19 Michael Olson <mwolson@gnu.org>
* AUTHORS: Move to format that cscvs can understand. As an added
perk, entries line up nicer.
* erc.el, erc-fill.el, erc-pcomplete.el, debian/copyright: Merge a
few more copyright lines thanks to Alex Schroeder's BBDB file.
* Makefile: Change version to correspond with our new scheme.
2005-01-18 Diane Murray <disumu@x3y2z1.net>
* erc-list.el (erc-chanlist-channel-line-regexp): Now matches
private channels, the channels `#' and `&', and channels with
names including non-ascii characters.
(erc-chanlist-join-channel): Don't attempt to join private
channels since the channel name is unknown.
* erc-goodies.el (erc-make-read-only): Add `rear-nonsticky'
property to avoid `Text is read-only' errors during connection.
`front-nonsticky' does not exist, changed to `front-sticky'.
(erc-controls-interpret, erc-controls-strip): Just work on the
string, don't open a temporary buffer.
(erc-controls-propertize): Now accepts optional argument STR.
2005-01-17 Michael Olson <mwolson@gnu.org>
* Makefile: Version is 5.01, but only in the Makefile. It has not
been released yet.
* erc-auto.in, erc-autojoin.el, erc-bbdb.el, erc-button.el,
erc-chess.el, erc-complete.el, erc-dcc.el, erc-fill.el,
erc-goodies.el, erc-ibuffer.el, erc-identd.el, erc-imenu.el,
erc-list.el, erc-match.el, erc-menu.el, erc-nets.el,
erc-netsplit.el, erc-nickserv.el, erc-notify.el, erc-pcomplete.el,
erc-ring.el, erc-speak.el, erc-speedbar.el, erc-stamp.el,
erc-track.el, erc-xdcc.el, erc.el, debian/copyright: Update
copyright notices. If anyone has signed papers for Emacs in
general, merge them with the FSF's entry.
2005-01-16 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc): `erc-set-active-buffer' was being called before
`erc-process' was set, so that channels weren't being marked
active correctly upon join; fixed.
2005-01-15 Johan Bockgård <bojohan+sf@dd.chalmers.se>
* erc-backend.el (def-edebug-spec): This macro caused problems (in
XEmacs). Use its expansion directly.
2005-01-15 Diane Murray <disumu@x3y2z1.net>
* erc-button.el (erc-button-add-button): Reverted previous change
since `:suppress-face' doesn't seem to be checked for a certain
face.
(erc-button-add-face): FACE is now appended to the `old' face.
This should fix the problem of faces being "covered" by
`erc-button-face'.
2005-01-14 Diane Murray <disumu@x3y2z1.net>
* erc.el, erc-backend.el (erc-cmd-OPS, erc-cmd-COUNTRY,
erc-cmd-NICK, erc-process-ctcp-query, ERROR, PONG, 311, 312, 313,
314, 317, 319, 320, 321, 322, 330, 352): Use catalog entries
instead of hard-coded text messages.
(english): Added new catalog entries `country', `country-unknown',
`ctcp-empty', `ctcp-request-to', `ctcp-too-many', `nick-too-long',
`ops', `ops-none', `ERROR', `PONG', `s311', `s312', `s313',
`s314', `s317', `s317-on-since', `s319', `s320', `s321', `s322',
`s330', and `s352'.
(erc-send-current-line): Use `erc-set-active-buffer' (change was
lost in previous bug fix).
2005-01-14 Francis Litterio <franl@world.std.com>
* erc-button.el (erc-button-add-button): Fixed a bug where the
overlay created by widget-convert-button has a `face' property
that hides the `face' property set on the underlying button text.
* erc-goodies.el: Docstring fix.
* erc-button.el: Improved docstring for variable erc-button-face.
2005-01-13 Diane Murray <disumu@x3y2z1.net>
* erc-menu.el (erc-menu-definition): "Topic set by channel
operator": Small word change. "Identify to NickServ...": Check
that we're connected to the server. Added "Save buffer in log"
and "Truncate buffer".
2005-01-13 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-display-line-1): Widen before we try to insert
anything, this makes sure input isn't broken when the buffer is
narrowed by the user.
(erc-beg-of-input-line): Simplify, just return the position of
`erc-insert-marker' or error if does not exist.
(erc-send-current-line): Widen before trying to send anything.
2005-01-13 Diane Murray <disumu@x3y2z1.net>
* erc.el, erc-backend.el, erc-list.el:
(erc-update-mode-line-buffer): Strip controls characters from
`channel-topic' since we add our own control character to it.
(TOPIC, 332): Use \C-o instead of \C-c to force an end of IRC
control characters as it also ends bold, underline, and inverse -
\C-c only ends colors.
(erc-chanlist-322): Strip control characters from channel and
topic. No need to interpret controls when we're applying overlays
to the lines.
* erc.el, erc-backend.el, erc-button.el, erc-netsplit.el,
erc-nicklist.el: Fixed so that each server has an active buffer.
(erc-active-buffer): Now a buffer-local variable.
(erc-active-buffer, erc-set-active-buffer): New functions.
(erc-display-line, erc-echo-notice-in-active-non-server-buffer,
erc-process-away, MODE): Call `erc-active-buffer' to get the
active buffer for the current server.
(erc, erc-process-sentinel-1, erc-grab-region, erc-input-action,
erc-send-current-line, erc-invite-only-mode,
erc-toggle-channel-mode, erc-channel-names, MODE, erc-nick-popup,
erc-nicklist-call-erc-command): Use `erc-set-active-buffer' to set
the active buffer for the current server.
(erc-cmd-WHOLEFT): Use 'active as BUFFER in `erc-display-message'.
* erc-track.el (erc-track-modified-channels): Server buffers are
now treated the same as channels and queries. This means that
`erc-track-priority-faces-only', `erc-track-exclude', and
`erc-track-exclude-types' now work with server buffers.
2005-01-12 Diane Murray <disumu@x3y2z1.net>
* erc-backend.el (475): Prompt for the channel's key if
`erc-prompt-for-channel-key' is non-nil. Send a new JOIN message
with the key if a key is provided.
* erc.el (erc-command-indicator): Fixed customization choices so
that there's no `mismatch' message when nil is the value.
2005-01-11 Michael Olson <mwolson@gnu.org>
* erc-bbdb.el (bbdb): Lowercase the name of the module. This
fixes a bug which caused an error to occur when trying to enable
the module using the customization interface.
2005-01-08 Edward O'Connor <ted@oconnor.cx>
* erc-track.el: Support using faces to indicate channel activity
in the modeline under XEmacs.
(erc-modified-channels-object): New function.
(erc-modified-channels-display): Use it.
`erc-modified-channels-string' renamed to
`erc-modified-channels-object' (because it's no longer a string on
XEmacs). The new function `erc-modified-channels-object' is used
to generate updated values for the same-named variable.
2005-01-08 Diane Murray <disumu@x3y2z1.net>
* ChangeLog.2002: Changed instances of my sourceforge username and
email address to real name and email.
* erc.el (erc-modules): Changed customization tag descriptions, so
that they all start with a verb; added new modules to choices.
2005-01-08 Mario Lang <mlang@delysid.org>
* debian/rules: Introduce new variable DOCDIR to simplify stuff a
bit.
2005-01-08 Michael Olson <mwolson@gnu.org>
* AUTHORS, ChangeLog.2004: Change bpalmer's email address as
requested.
* CREDITS: Add everyone who is mentioned in the ChangeLogs.
* debian/copyright (Copyright): Add last few people. This can now
be considered a complete list, as far as CVS entries are
concerned. If people have assigned copyright to the FSF, merge
them with the entry for the FSF.
* debian/README.Debian: Add entry for XEmacs-related change in
`erc-track.el'.
* erc.el (erc-cmd-MODE): New command that changes or displays the
mode for a channel or user. The functionality was present before
this change, but there was no documentation for it.
* erc-auto.in, erc-*.el: Fully investigate copyright headers and
change them appropriately. If a file has been pulled off of
erc.el at one time, keep track of copyright from the time of
separation, but not before. If a file has been derived from a
work outside of erc, keep copyright statements in place.
* Makefile (VERSION): Change to 5.0! :^) Congrats on all the great
work. I'll wait until hober commits his XEmacs compatibility
patch to erc-track.el, and then release.
(distclean): Alias for `realclean' target.
2005-01-07 Michael Olson <mwolson@gnu.org>
* AUTHORS: Add Marcelo Toledo, who has CVS access to this project.
* ChangeLog.2004: Add my name to my one contribution to erc last
year.
* CREDITS: Add people that were discovered while scouring
ChangeLogs.
* debian/copyright: Add everyone from `AUTHORS' to Upstream
Authors. Anyone who has contributed 15 or more lines of
code (according to ChangeLogs) is listed in Copyright section.
Accurate years are included.
* debian/README.Debian: Paste content of NEWS and reformat
slightly.
* debian/rules: Concatenate the ChangeLogs during the Debian
install process and then gzip them.
* Makefile (MISC): Add ChangeLog.yyyy files to list.
(ChangeLog): Remove rule since we do not dynamically generate the
ChangeLog anymore.
* MkChangeLog: Removed since we do not use it to generate the
ChangeLog anymore. cvs2cl does a much better job anyway.
* NEWS: Use 3rd level heading instead of bullets for lists that
contain descriptions.
2005-01-07 Diane Murray <disumu@x3y2z1.net>
* erc-list.el: Require 'sort.
(erc-chanlist): Disable undo in the channel list buffer.
* erc.el, erc-menu.el: The `IRC' menu is now automatically added
to the menu-bar. Add the call to `easy-menu-add' to
`erc-mode-hook' when running in XEmacs (without this the menu
doesn't appear).
* NEWS: Added the information from
http://emacswiki.org/cgi-bin/wiki/ErcCvsFeatures and the newer
changes which weren't yet documented on that page.
2005-01-06 Hoan Ton-That <hoan@ton-that.org>
* erc-log.el (erc-current-logfile): Only downcase the logfile
name, not the whole filename. Also expand relative to
`erc-log-channels-directory'.
(erc-generate-log-file-name-with-date)
(erc-generate-log-file-name-short)
(erc-generate-log-file-name-long): Don't expand filename, done in
`erc-current-logfile'.
2005-01-06 Lawrence Mitchell <wence@gmx.li>
* NEWS: New file, details user visible changes from version to
version.
* HACKING (NEWS entries): Mention NEWS file, and what its purpose
is.
2005-01-05 Michael Olson <mwolson@gnu.org>
* FOR-RELEASE: New file containing the list of release-critical
tasks. Feel free to add to it.
* debian/rules (binary-erc): Add ChangeLog files.
2005-01-04 Michael Olson <mwolson@gnu.org>
* ChangeLog.2001, ChangeLog.2002, ChangeLog.2003, ChangeLog.2004:
ChangeLog entries from previous years.
* ChangeLog: New file containing ChangeLog entries for the current
year. Please update this file manually whenever a change is
committed. This is a new policy.
* AUTHORS: Add myself to list. Some entries were space-delimited
instead of TAB-delimited, and since the latter seemed to be the
default, make the other entries conform.
* HACKING (ChangeLog Entries): Update section to reflect new
policy toward ChangeLog entries, which is that they should be
manually updated whenever a change is committed.
2005-01-04 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-connection-established, erc-login): Update the
mode-line.
(erc-update-mode-line-buffer): If `erc-current-nick' returns nil,
use an empty string for ?n character in format spec. Set
`mode-line-process' to ":connecting" while the connection is being
established.
2005-01-04 Lawrence Mitchell <wence@gmx.li>
* AUTHORS: Update list of authors.
2005-01-02 Diane Murray <disumu@x3y2z1.net>
* erc-goodies.el (erc-control-characters): New customization
group.
(erc-interpret-controls-p): Small fix, addition to
documentation. Updated customization to allow 'remove as a value.
Use 'erc-control-characters as `:group'.
(erc-interpret-mirc-color): Use 'erc-control-characters as
`:group'.
(erc-beep-p): Updated documentation. Use 'erc-control-characters
as `:group'.
(define-erc-module irccontrols): Add `erc-controls-highlight' to
`erc-insert-modify-hook' and `erc-send-modify-hook' since it
changes the text's appearance.
(erc-controls-remove-regexp, erc-controls-interpret-regexp): New
variables.
(erc-controls-highlight): Fixed so that highlighting works even if
there is no following control character. Fixed mirc color
highlighting; now respecting `erc-interpret-mirc-color'. Fixed a
bug where emacs would get stuck in a loop when \C-g was in a
message and `erc-beep-p' was set to nil (default setting).
2004-12-29 Francis Litterio <franl@users.sourceforge.net>
* erc-goodies.el (erc-interpret-controls-p): Changed docstring to
reflect the new meaning if this is set to 'remove.
(erc-controls-interpret): Rephrased docstring to be more accurate.
(erc-controls-strip): New function that behaves like the
recently-removed erc-strip-controls -- it removes all IRC color
and highlighting control characters.
(erc-controls-highlight): Changed to support the new 'remove value
that variable erc-interpret-controls-p might have.
2004-12-28 Francis Litterio <franl@users.sourceforge.net>
* erc-ibuffer.el, erc-list.el, erc-page.el, erc-speedbar.el:
Changed all calls to erc-interpret-controls (which no longer
exists) to call erc-controls-interpret (the new name of the same
function).
2004-12-28 Francis Litterio <franl@users.sourceforge.net>
* erc-goodies.el (erc-controls-interpret): Added this function to
replace the recently-removed erc-interpret-controls. Also added
a (require 'erc) to solve a byte-compile problem.
2004-12-28 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-controls-interpret): Added this function to replace
the recently-removed erc-interpret-controls.
2004-12-27 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-truncate.el (erc-truncate-buffer-to-size): Check for
logging even better (via lawrence).
2004-12-26 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-truncate.el (erc-truncate-buffer-to-size): Much saner
logging detection (via lawrence).
2004-12-25 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-goodies.el (erc-controls-highlight): Treat single C-c
correctly.
2004-12-24 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-goodies.el, erc.el: Deleted IRC control character processing
and implemented a sane version in erc-goodies.el as a module.
* erc.el (erc-merge-controls, erc-interpret-controls,
erc-decode-controls, erc-strip-controls, erc-make-property-list,
erc-prepend-properties): Removed.
(erc-interpret-controls-p, erc-interpret-mirc-color, erc-bold-face
erc-inverse-face, erc-underline-face, fg:erc-color-face0,
fg:erc-color-face1, fg:erc-color-face2, fg:erc-color-face3,
fg:erc-color-face4, fg:erc-color-face5, fg:erc-color-face6,
fg:erc-color-face7, fg:erc-color-face8, fg:erc-color-face9,
fg:erc-color-face10, fg:erc-color-face11, fg:erc-color-face2,
fg:erc-color-face13, fg:erc-color-face14, fg:erc-color-face15,
bg:erc-color-face1, bg:erc-color-face2, bg:erc-color-face3,
bg:erc-color-face4, bg:erc-color-face5, bg:erc-color-face6,
bg:erc-color-face7, bg:erc-color-face8, bg:erc-color-face9,
bg:erc-color-face10, bg:erc-color-face11, bg:erc-color-face2,
bg:erc-color-face13, bg:erc-color-face14, bg:erc-color-face15,
erc-get-bg-color-face, erc-get-fg-color-face,
erc-toggle-interpret-controls): Moved.
* erc-goodies.el (erc-beep-p, irccontrols, erc-controls-highlight,
erc-controls-propertize): New.
2004-12-24 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-goodies.el, erc.el: The Small Extraction of Stuff[tm] commit.
Moved some functions from erc.el to erc-goodies.el, and
transformed them to erc modules in the process.
- imenu autoload stuff moved. I don't know why it is here at all.
- Moved: scroll-to-bottom, make-read-only, distinguish-noncommands,
smiley, unmorse, erc-occur (the last isn't a module, but still
moved)
(erc-input-line-position, erc-add-scroll-to-bottom,
erc-scroll-to-bottom, erc-make-read-only, erc-noncommands-list,
erc-send-distinguish-noncommands, erc-smiley, erc-unmorse,
erc-occur): Moved from erc.el to erc-goodies.el.
(smiley): Module moved from erc.el to erc-goodies.el.
(scrolltobottom, readonly, noncommands, unmorse): New modules.
2004-12-20 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-format-away-status): Use `a', not `away' - that's
why it's there.
(erc-update-mode-line-buffer): The values of `mode-line-process'
and `mode-line-buffer-identification' are normally lists.
Conform.
2004-12-18 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-process-ctcp-query, erc-process-ctcp-reply): Display
message in the active window, not the server window.
2004-12-16 Edward O'Connor <ted@oconnor.cx>
* erc-track.el (erc-track-position-in-mode-line): Check for
'erc-track-mode variable with boundp. From Adrian Aichner
<adrian@xemacs.org>.
2004-12-16 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-upcase-first-word): New function. The old way used
in erc-send-ctcp-message would eat consecutive whitespace etc.
(erc-send-ctcp-message, erc-send-ctcp-notice): Use it.
2004-12-15 Edward O'Connor <ted@oconnor.cx>
* erc.el (erc-send-ctcp-message): Fix braino with my previous
patch. It always helps to C-x C-s before `cvs commit'.
2004-12-15 Edward O'Connor <ted@oconnor.cx>
* erc.el (erc-send-ctcp-message): Only upcase the ctcp command,
and not the entire message. Brian Palmer's change of 2004-12-12 had broken /me.
Shouting is bad! :)
2004-12-14 Diane Murray <disumu@x3y2z1.net>
* erc-nets.el (erc-networks-alist): Change undernet to Undernet as
is used in `erc-server-alist', so that completion works when using
`erc-server-select'. This should fix Debian bug #282003 (erc:
cannot connect to Undernet).
2004-12-14 Diane Murray <disumu@x3y2z1.net>
* erc-backend.el (def-edebug-spec): Only run this if 'edebug is
available.
2004-12-14 Diane Murray <disumu@x3y2z1.net>
* erc.el: The last change to `erc-mode-line-format' introduced a
bug in XEmacs - it can't handle the #(" "...) strings at all. The
following changes fix the bug and simplify the mode-line handling
considerably. (erc-mode-line-format): Now defined as a string
which will be formatted using `format-spec' and take the place of
`mode-line-buffer-identification' in the mode line.
(erc-header-line-format): Now defined as a string to be formatted
using `format-spec'.
(erc-prepare-mode-line-format): Removed.
(erc-format-target, erc-format-target-and/or-server,
erc-format-away-status, erc-format-channel-modes): New functions.
Basically the old `erc-prepare-mode-line-format' split apart.
(erc-update-mode-line-buffer): Set
`mode-line-buffer-identification' to the formatted
`erc-mode-line-format', set `mode-line-process' to ": CLOSED" if
the connection has been terminated, and set `header-line-format'
(if it is bound) to the formatted `erc-header-line-format', then
do a `force-mode-line-update'.
2004-12-12 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-modules): Disable modules removed with `customize'.
(erc-update-modules): Try to give a more descriptive error
message.
2004-12-12 Diane Murray <disumu@x3y2z1.net>
* erc-complete.el, erc.el, erc-list.el, erc-nets.el,
* erc-nicklist.el, erc-pcomplete.el, erc-replace.el, erc-speak.el,
* erc-truncate.el (erc-buffers, erc-coding-systems, erc-display,
erc-mode-line-and-header, erc-ignore, erc-query,
erc-quit-and-part, erc-paranoia, erc-scripts, erc-old-complete,
erc-list, erc-networks, erc-nicklist, erc-pcomplete, erc-replace,
erc-truncate): New customization groups.
(erc-join-buffer, erc-frame-alist, erc-frame-dedicated-flag,
erc-reuse-buffers): Use 'erc-buffers as `:group'.
(erc-default-coding-system, erc-encoding-coding-alist):
Use 'erc-coding-systems as `:group'.
(erc-hide-prompt, erc-show-my-nick, erc-prompt,
erc-input-line-position, erc-command-indicator, erc-notice-prefix,
erc-notice-highlight-type, erc-interpret-controls-p,
erc-interpret-mirc-color, erc-minibuffer-notice,
erc-format-nick-function): Use 'erc-display as `:group'.
(erc-mode-line-format, erc-header-line-format,
erc-header-line-uses-help-echo-p, erc-common-server-suffixes,
erc-mode-line-away-status-format): Use 'erc-mode-line-and-header
as `:group'.
(erc-hide-list, erc-ignore-list, erc-ignore-reply-list,
erc-minibuffer-ignored): Use 'erc-ignore as `:group'.
(erc-auto-query, erc-query-on-unjoined-chan-privmsg,
erc-format-query-as-channel-p): Use 'erc-query as `:group'.
(erc-kill-buffer-on-part, erc-kill-queries-on-quit,
erc-kill-server-buffer-on-quit, erc-quit-reason-various-alist,
erc-part-reason-various-alist, erc-quit-reason, erc-part-reason):
Use 'erc-quit-and-part as `:group'.
(erc-verbose-server-ping, erc-paranoid, erc-disable-ctcp-replies,
erc-anonymous-login, erc-show-channel-key-p): Use 'erc-paranoia as
`:group'.
(erc-startup-file-list, erc-script-path, erc-script-echo): Use
'erc-scripts as `:group'.
(erc-nick-completion, erc-nick-completion-ignore-case,
erc-nick-completion-postfix): Use 'erc-old-complete as `:group'.
(erc-chanlist-progress-message, erc-no-list-networks,
erc-chanlist-frame-parameters, erc-chanlist-hide-modeline,
erc-chanlist-mode-hook): Use 'erc-list as `:group'.
(erc-server-alist, erc-networks-alist): Use 'erc-networks as
`:group'.
(erc-settings): Use `defvar' instead of `defcustom' since this is
only a draft which doesn't work.
(erc-nicklist-window-size): Use 'erc-nicklist as `:group'.
(erc-pcomplete-nick-postfix,
erc-pcomplete-order-nickname-completions): Use 'erc-pcomplete as
`:group'.
(erc-replace-alist): Use 'erc-replace as `:group'.
(erc-speak-filter-timestamp): Use 'erc-speak as `:group'.
(erc-max-buffer-size): Use 'erc-truncate as `:group'.
2004-12-12 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-scroll-to-bottom): Go to the end of the buffer
before recentering. This allows editing multiple lines more
conveniently in CVS Emacs. This also undos a change by antifuchs
who said this goto-char would mess up redisplay. Extensive testing
couldn't reproduce that problem.
2004-12-12 Brian Palmer <bpalmer@gmail.com>
* erc.el (erc-send-ctcp-message): upcase the ctcp message (so that
version becomes VERSION, for example).
(erc-iswitchb): Make the argument optional in non-interactive
invocation, so erc-iswitchb can be substituted directly for
iswitchb in code.
2004-12-11 Diane Murray <disumu@x3y2z1.net>
* erc-track.el (erc-track-position-in-mode-line): Allow for the
fact that `erc-track-mode' isn't bound when file is loaded.
2004-12-11 Diane Murray <disumu@x3y2z1.net>
* erc-track.el (erc-track-position-in-mode-line): New customizable
variable. (erc-track-remove-from-mode-line): New function.
Remove `erc-modified-channels-string' from the mode-line.
(erc-track-add-to-mode-line): New function. Add
`erc-modified-channels-string' to the mode-line using the value of
`erc-track-position-in-mode-line' to determine whether to add it
to the beginning or the end of `mode-line-modes' (only available
with GNU Emacs versions above 21.3) or to the end of
`global-mode-string'.
(erc-track-mode, erc-track-when-inactive-mode): Use the new
functions.
2004-12-11 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-cmd-BANLIST): Use (buffer-name) and not
(erc-default-target) for the buffer name - buffer names are case
sensitive.
2004-12-11 Brian Palmer <bpalmer@gmail.com>
* erc.el (erc-message-type): Added the message "MODE" to the known
erc-message-type widget, so that (for example) people can tell
erc-track-exclude-types to ignore mode changes. The others tag
also needed to be made an inline list, so that it's merged with
the given constants, instead of being inserted as a list.
2004-12-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-track.el, erc.el: Update to get ERC look nicely in CVS Emacs.
* erc.el (erc-mode-line-format): When on CVS emacs, use the new
format.
* erc-track.el (track module): When on CVS emacs, modify
mode-line-modes instead of global-mode-string. The latter is way
to far too the right.
2004-11-18 Mario Lang <mlang@delysid.org>
* Makefile, debian/changelog: debian release 20041118-1
2004-11-03 Diane Murray <disumu@x3y2z1.net>
* erc-button.el (erc-button-buttonize-nicks): Set default value to
`t'. Updated documentation and customization `:type' to reflect
usage.
2004-10-29 Johan Bockgård <bojohan@users.sourceforge.net>
* AUTHORS: Added self.
2004-10-17 Diane Murray <disumu@x3y2z1.net>
* erc-list.el: Added local variables for this file.
(erc-list-version): New.
(erc-cmd-LIST): Take &rest rather than &optional arguments, as was
done in revision 1.21. Allow for input when called interactively.
(erc-prettify-channel-list, erc-chanlist-toggle-sort-state): Use
`unless' instead of when not.
2004-10-17 Diane Murray <disumu@x3y2z1.net>
* erc-backend.el (erc-handle-unknown-server-response): Fixed so
that the contents are only shown once.
(MOTD): Display lines in the server buffer if it's the first MOTD
sent upon connection. This is to avoid the problem of having the
MOTD of one server showing up in another server's buffer if it took
a while to get connected.
(004): Fixed to show the user modes and channel modes correctly.
(303): Now displays the nicknames returned by ISON instead of the
user's nickname.
(367, 368): Moved up into 300's section of the code. Added
documentation. Use `multiple-value-bind' to set variables in 367.
(391): Fixed so that the server name is shown correctly.
2004-10-17 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-process-sentinel): Use CPROC instead of
`erc-process' in debug message. Should fix a bug where an error
saying "Buffer *scratch* has no process" would occur when
disconnected.
(erc-cmd-SV): Check for X toolkit after checking for more specific
features. (erc--kill-server): Set `quitting' to non-nil so that
we don't automatically reconnect.
2004-10-05 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-ignored-user-p): Don't require regexes to match the
beginning.
2004-09-11 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el: group erc: Moved to 'applications (patch by bojohan)
2004-09-08 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-button.el (erc-button-remove-old-buttons): Remove 'keymap
not 'local-map.
2004-09-03 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-backend.el: JOIN response handler: Typo fix of the last
commit.
2004-09-03 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-backend.el: JOIN response handler: Run `erc-join-hook'
without arguments as specified in the docstring.
2004-08-27 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-send-current-line): Removed unused variable SENTP.
2004-08-19 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el: ERC-SEND-COMPLETED-HOOK used to be run when the prompt
was already displayed. We restore this behavior (thanks to bojohan
and TerryP for noticing). We also fix the docstring of
ERC-SEND-COMPLETED-HOOK, since the hook is (and used to be) called
even if nothing was sent to the server.
(erc-send-completed-hook): Fixed docstring.
(erc-send-current-line): Add incantation for
erc-send-completed-hook.
(erc-send-input): Remove incantation for erc-send-completed-hook.
2004-08-18 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-backend.el: response-handler 368: Use s368, not s367.
2004-08-17 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-scroll-to-bottom): Don't scroll when we're not
connected anymore.
2004-08-17 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-backend.el, erc.el: Handle /mode #emacs b output without
errors and such. First, handle unknown format specs gracefully
(that is, give a useful error). Then, provide handlers for the
banlist replies.
* erc-backend.el: New handler for 367 and 368. Removed from default
handler.
* erc.el: Provide english catalog for s367 and s368.
(erc-format-message): Give an error message when we don't find an
entry.
2004-08-17 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-fill.el: erc-fill-variable could be confused about really
long nicks. We put an upper limit on the length of the fill prefix.
(erc-fill-variable): Adjust fill-prefix.
erc-fill-variable-maximum-indentation: New variable.
2004-08-17 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-send-input): Fixed a bug where this function
referenced variable "input" instead of variable "str".
2004-08-16 Francis Litterio <franl@users.sourceforge.net>
* erc-list.el (erc-chanlist-highlight-line): Fixed a bug where
this function failed to set the correct face for highlighting the
current line.
2004-08-14 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-fill.el (erc-fill-variable): Don't fuck up when the
looking-at didn't work.
2004-08-14 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-send-single-line): Call the hooks to change the
appearance for something only if we actually inserted something,
doh.
(erc-display-command): Display the prompt outside of the area that
set the text properties on.
2004-08-14 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el: Refactored erc-send-current-line. This should fix some
dormant bugs, and make the whole thing actually readable. Yay.
Some changes in behavior were made. Whitespace at the end of lines
sent is not removed anymore, but that shouldn't bother anyone.
Additionally, errors in commands or hooks shouldn't prevent the
prompt from showing up again now.
(erc-parse-current-line): Removed.
(erc-send-current-line): Refactored.
(erc-send-input): New function.
(erc-send-single-line): New function.
(erc-display-command): New function.
(erc-display-msg): New function.
(erc-user-input): New function.
2004-08-13 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-cmd-SERVER): Use newer keyword call interface to
erc-select, and handle the error if it can't resolve the host.
2004-08-11 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-backend.el, erc.el: erc-backend.el (404 response handler):
New function. We now support "cannot send to channel".
* erc.el (erc-define-catalog call): Added s404.
(erc-ctcp-ECHO-reply, erc-ctcp-CLIENTINFO-reply,
erc-ctcp-FINGER-reply, erc-ctcp-PING-reply, erc-ctcp-TIME-reply,
erc-ctcp-VERSION-reply): Display reply in the active window, not
the server window.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-with-all-buffers-of-server): Actually make it left
to right, doh.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-with-all-buffers-of-server): Evaluate left-to-right
so we don't surprise a user.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-process-input-line): Parentophobia! Another
paren-fix.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-backend.el: PRIVMSG NOTICE response handler: Killed one paren
too much. Poor paren. Got resurrected.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-track.el: Make server buffers showing up in the mode line
optional. Thanks to Daniel Knapp on the EmacsWiki for this patch.
erc-track-exclude-server-buffer: New variable.
(erc-track-modified-channels): Return a server buffer only if
erc-track-exclude-server-buffer is nil.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-cmd-DESCRIBE): Don't parse arguments.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-truncate.el (erc-truncate-buffer-to-size): Use
erc-insert-marker, not (point-max), to decide the length of the
buffer. A long input line shouldn't make the buffer smaller.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-macs.el, erc-members.el: The change to hashes for channel
members has been made some time ago. Clean up the various tries to
do this in the past.
* erc-macs.el, erc-members.el: Removed.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-backend.el, erc-ibuffer.el, erc-members.el, erc.el: Nothing
big changed here. Really. Uhm, maybe the info-buffers are gone or
so. Can't really remember. Don't worry, nothing important is
missing.
erc-speedbar.el looks nice btw, did you know?
Adjusted various places in erc.el, erc-backend.el, erc-ibuffer.el
and erc-members.el - too numerous to list here, sorry.
* erc.el: erc-use-info-buffers: Removed. erc-info-mode-map:
Removed.
(erc-info-mode): Removed.
(erc-find-channel-info-buffer): Removed.
(erc-update-channel-info-buffer): Removed.
(erc-update-channel-info-buffers): Removed.
* erc-members.el: erc-update-member renamed to
erc-update-channel-member for better clarity.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el: This change improves the help output on a bogus command
invocation. We display the command as it would be typed by the
user, not as it is seen by Emacs.
(erc-get-arglist): Is now called erc-function-arglist, and returns
now an arglist without the enclosing parens.
(erc-command-name): New function.
(erc-process-input-line): Pass the command name, not the function
name.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-process-input-line): Fix bug when the command
doesn't have an arglist or no documentation. Thanks bojohan again
:)
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-match.el (erc-add-entry-to-list),
(erc-remove-entry-from-list): Update docstring, a TEST argument is
not given.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-with-buffer): Really fix this docstring.
2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-with-buffer): Fix double evaluation in macro, and
fix docstring.
2004-08-10 Brian Palmer <bpalmer@gmail.com>
* erc.el (erc-cmd-JOIN): Use erc-member-ignore-case instead of
member-ignore-case.
2004-08-09 Johan Bockgård <bojohan@users.sourceforge.net>
* erc-backend.el: Define an "Edebug specification" for the
`define-erc-response-handler' macro. This means that one can step
through response handlers defined by this macro with edebug. Maybe
more macros would benefit from this?
2004-08-09 Johan Bockgård <bojohan@users.sourceforge.net>
* erc-pcomplete.el (pcomplete/erc-mode/CTCP): New function.
Completion for the /CTCP command. (erc-pcomplete-ctcp-commands):
New variable. List of ctcp commands.
2004-08-09 Johan Bockgård <bojohan@users.sourceforge.net>
* erc-list.el: Clean up docstrings.
(erc-prettify-channel-list): Extend properties to cover the entire
line, including the newline, to make it look
better.
(erc-chanlist-highlight-line): Ditto.
(erc-chanlist-mode-hook): Make it a defcustom.
2004-08-09 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-compute-full-name): Typo fix, should be full-name,
not name.
2004-08-09 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc): Setup the buffer to be shown in a window at the
end of this function. This enables 'window-noselect to work
properly.
(erc, erc-send-current-line): Fix some
goto-char/open-line/goto-char to goto-char/insert.
2004-08-08 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-parse-user): Live with bogus info from bouncers.
2004-07-31 Brian Palmer <bpalmer@gmail.com>
* erc.el (erc-select): Change the docstring to reflect the new
arguments; include the arguments in the docstring for non-cvs
emacs. Change the parameters to call erc-compute-* instead of
using the erc-* variables directly.
(erc-compute-server): Made argument optional.
(erc-compute-nick): ditto.
(erc-compute-full-name): ditto. (erc-compute-port): ditto.
2004-07-30 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-cmd-BANLIST): Fixed a bug where channel-banlist was
not reset to nil before fetching an updated banlist from the
server.
2004-07-30 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-cmd-BANLIST): Fixed a bug where the
'received-from-server property on variable channel-banlist was not
being reset to nil. This fixes the symptom where one types
/BANLIST and sees "No bans for channel: #whatever" when you know
there are bans.
2004-07-23 Brian Palmer <bpalmer@gmail.com>
* erc.el (erc-select-read-args): Use erc-compute-nick to
calculate the default nickname
2004-07-20 Brian Palmer <bpalmer@gmail.com>
* erc.el (erc-process-sentinel-1): New function. This is an
auxiliary function refactored out of erc-process-sentinel to
decide a server buffer's fate (whether it should be killed, and
whether erc should attempt to auto-reconnect). Michael Olson
<mwolson@gnu.org> helped with this.
(erc-kill-server-buffer-on-quit): New variable. Used in
erc-process-sentinel-1 to decide whether to kill a server buffer
when the user quit normally.
(erc-process-sentinel): Auxiliary function erc-process-sentinel-1
split out. The function body has `with-current-buffer' wrapped
around it, to ensure separation of messages if multiple
connections were being made. Use `if' instead of `cond' in places
where the decision is binary. The last (useless, since the server
connection is closed) prompt in the server buffer is removed.
Color "erc terminated" and "erc finished" messages with
erc-error-face. Mark the buffer unmodified so that, if not killed
automatically, the user is not prompted to save it.
2004-07-16 Brian Palmer <bpalmer@gmail.com>
* erc.el (erc-select-read-args): New function. Prompts the user
for arguments to pass to erc-select and erc-select-ssl.
(erc-select): Use (erc-select-read-args) when called interactively
to get its arguments. When non-interactively, use keyword
arguments.
(erc-select-ssl): Ditto.
(erc-compute-port): New function. Parallel to erc-compute-server,
but comes up with a default value for an IRC server's port.
2004-07-16 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-match.el (erc-match-message): Quote the current nickname.
2004-07-12 Brian Palmer <bpalmer@gmail.com>
* erc-list.el (erc-chanlist-mode): Remove explicit invocation of
erc-chanlist-mode-hook, since it's automatically invoked by
define-derived-mode
2004-07-03 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-match.el (erc-match-current-nick-p): Quote current nick for
regexp parsing.
2004-06-27 Johan Bockgård <bojohan@users.sourceforge.net>
* erc-nickserv.el (erc-nickserv-identify-mode): Fix erroneous
parentheses in call to `completing-read'.
2004-06-23 Alex Schroeder <alex@gnu.org>
* Makefile (release): Depend on autoloads, and copy erc-auto.el
into the tarball.
2004-06-14 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-log-irc-protocol): Fixed minor bug where each line
received from a server was logged as two lines (one with text and
one blank).
2004-06-08 Brian Palmer <bpalmer@gmail.com>
* erc-list.el (erc-chanlist-frame-parameters): Made customizable.
(erc-chanlist-header-face): Changed to use defface with some
reasonable defaults instead of make-face, and removed the
associated -face variable.
(erc-chanlist-odd-line-face): Ditto.
(erc-chanlist-even-line-face): Ditto.
(erc-chanlist-highlight-face): New variable. Holds a face used for
highlighting the current line.
(erc-cmd-LIST): Use erc-member-ignore-case instead of
member-ignore-case.
(erc-chanlist-post-command-hook): Change to move the highlight
overlay instead of refontifying the entire buffer.
(erc-chanlist-dehighlight-line): Added to detach the highlight
overlay from the buffer.
2004-05-31 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el: erc-mode-line-format: Add column numbers.
2004-05-31 Adrian Aichner <adrian@xemacs.org>
* erc-autojoin.el: Typo fix.
* erc-dcc.el (erc-dcc-do-GET-command): Use expand-file-name.
(erc-dcc-get-file): XEmacs set-buffer-multibyte compatibility.
* erc-log.el: Append `erc-log-setup-logging' to
`erc-connect-pre-hook' so that `erc-initialize-log-marker' is run
first (markers are needed by `erc-log-setup-logging').
(erc-enable-logging): Docstring fix.
(erc-log-setup-logging): Move `erc-log-insert-log-on-open' to (1-
(point-max)) when doing `erc-log-insert-log-on-open'. Modified
version of a patch by Lawrence Mitchell.
(erc-log-all-but-server-buffers): Do `save-excursion' as well.
(erc-current-logfile): Pass buffer name as target
argument to `erc-generate-log-file-name-function' if
`erc-default-target' is nil.
(erc-generate-log-file-name-with-date): Use expand-file-name.
(erc-generate-log-file-name-short): Ditto.
(erc-save-buffer-in-logs): Do `save-excursion' and test whether
erc-last-saved-position is a marker.
* erc-members.el: Avoid miscompiling macro `erc-log' and
`with-erc-channel-buffer' by requiring 'erc at compile time.
* erc-sound.el: Use expand-file-name.
* erc.el (erc-debug-log-file): Ditto.
(erc-find-file): Ditto.
2004-05-26 Francis Litterio <franl@users.sourceforge.net>
* erc.el, erc-backend.el (erc-cmd-BANLIST): Added a missing "'"
that was preventing /BANLIST from working. In erc-backend.el,
added server response handler for 367 and 368 responses to get
/BANLIST working.
2004-05-26 Francis Litterio <franl@users.sourceforge.net>
* erc.el: Removed an eval-when-compile that was preventing the
byte-compiled version of this file from loading.
2004-05-26 Francis Litterio <franl@users.sourceforge.net>
* erc.el: Undid part of my last change. I suspect it was wrong.
2004-05-26 Francis Litterio <franl@users.sourceforge.net>
* erc.el: Silenced several byte-compiler warnings.
2004-05-26 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-log-irc-protocol): Fixed problem where this function
misformatted IRC protocol text if multiple lines were received from
the server at one time.
2004-05-25 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-toggle-debug-irc-protocol): Cosmetic changes to the
informational text in the *erc-protocol* buffer.
2004-05-24 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-log-irc-protocol, erc-process-filter): Now the lines
inserted in the *erc-protocol* buffer are prefixed with the name
of the network to/from which the data is going/coming. This makes
reading the *erc-protocol* buffer much easier when connected to
multiple networks.
2004-05-23 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
* erc-backend.el: Fixes server message parsing so that command
arguments specified after the colon are not treated specially. All
arguments are added to the `command-args' field, and the
`contents' points to the last element in the `command-args' list.
This allows ERC to connect to networks such as Undernet. Although
keeping `contents' allows many of the response handlers to
continue to work as-is, many other are probably broken by this
patch.
2004-05-20 Lawrence Mitchell <wence@gmx.li>
* HACKING: Add comment that C-c C-a can be useful if you write
ChangeLog entries using Emacs' standard functions.
2004-05-17 Diane Murray <disumu@x3y2z1.net>
* erc-speedbar.el: Ignore errors when attempting to require dframe
(there are a couple implementations of speedbar, one of which uses
of dframe).
(erc-speedbar-version): New.
(erc-speedbar-goto-buffer): Use dframe functions if dframe is
available.
2004-05-17 Diane Murray <disumu@x3y2z1.net>
* erc-autojoin.el: Added local variables for this file.
(erc-autojoin-add): The channel name is in `erc-response.contents'.
2004-05-17 Mario Lang <mlang@delysid.org>
* erc-log.el: Don't autoload a define-key statement, erc-mode-map
might not be known yet
2004-05-16 Lawrence Mitchell <wence@gmx.li>
* erc-backend.el (erc-parse-server-response): Revert to original
`erc-parse-line-from-server' version, since new version breaks for
a number of edge cases.
2004-05-14 Diane Murray <disumu@x3y2z1.net>
* erc-backend.el (erc-handle-unknown-server-response): New
function. Added to `erc-default-server-functions'. Display
unknown responses to the user.
(221): Don't show nickname in modes list.
(254): Fixed to use 's254.
(303): Added docstring.
(315, 318, 323, 369): Ignored responses grouped together.
(391): New.
(406, 432): Use ?n, not ?c in `erc-display-message'.
(431, 445, 446, 451, 462, 463, 464, 465, 481, 483, 485, 491, 501,
502): All error responses with no arguments grouped together.
2004-05-14 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-message-type-member): Use `erc-response.command'.
`erc-track-exclude-types' should be respected again.
(erc-cmd-TIME): Fixed to work with and without server given as
argument.
(erc-define-catalog): Added, s391, s431, s445, s446, s451, s462,
s463, s464, s465, s483, s484, s485, s491, s501, s502.
2004-05-14 Lawrence Mitchell <wence@gmx.li>
* HACKING: Typo fix.
2004-05-14 Lawrence Mitchell <wence@gmx.li>
* Makefile (erc-auto.el): Pass -f flag to rm so that we don't fail
if erc-auto.elc doesn't exist.
2004-05-14 Lawrence Mitchell <wence@gmx.li>
* erc-backend.el (erc-with-buffer): Autoload.
(erc-parse-server-response): XEmacs' `replace-match' only replaces
subexpressions when operating on buffers, not strings, work around
it.
(461): Command with invalid arguments is `second', not `third'.
2004-05-14 Diane Murray <disumu@x3y2z1.net>
* erc-notify.el (erc-notify-NICK): Use `erc-response.contents' to
get nickname.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-track.el: Indentation fixes.
(track-when-inactive): Use `erc-server-FOO-functions', not
`erc-server-FOO-hook.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-notify.el (notify): Use `erc-server-FOO-functions', not
`erc-server-FOO-hook.
(erc-notify-timer, erc-notify-JOIN, erc-notify-NICK)
(erc-notify-QUIT): Use new accessors for PARSED argument.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-nickserv.el (services, erc-nickserv-identify-mode): Use
`erc-server-FOO-functions', not `erc-server-FOO-hook.
(erc-nickserv-identify-autodetect): Use new accessors for PARSED
argument.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-netsplit.el (netsplit): Use `erc-server-FOO-functions', not
`erc-server-FOO-hook.
(erc-netsplit-JOIN, erc-netsplit-MODE, erc-netsplit-QUIT): Use new
accessors for PARSED argument.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-nets.el: Use `erc-server-FOO-functions', not
`erc-server-FOO-hook.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-menu.el (erc-menu-definition): Only allow listing of
channels if `erc-cmd-LIST' is fboundp.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-match.el: Use `erc-server-FOO-functions', not
`erc-server-FOO-hook.
(erc-get-parsed-vector-nick, erc-get-parsed-vector-type): Use new
accessors for PARSED argument.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-list.el (erc-chanlist, erc-chanlist-322): Use new accessors
for PARSED argument. Use `erc-server-FOO-functions', not
`erc-server-FOO-hook.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-ezbounce.el (erc-ezb-notice-autodetect): Use new accessors
for PARSED argument.
(erc-ezb-initialize): Use `erc-server-FOO-functions', not
`erc-server-FOO-hook.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-dcc.el: Use `erc-server-FOO-functions', not
`erc-server-FOO-hook.
(erc-dcc-no-such-nick): Use new accessors for PARSED argument.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-bbdb.el (erc-bbdb-whois, erc-bbdb-JOIN, erc-bbdb-NICK): Use
new accessors for PARSED argument.
(BBDB): Use `erc-server-FOO-functions', not `erc-server-FOO-hook.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-autojoin.el (autojoin): Use `erc-server-FOO-functions', not
`erc-server-FOO-hook.
(erc-autojoin-add, erc-autojoin-remove): Use new accessors for
PARSED argument.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-autoaway.el (autoaway): Use `erc-server-FOO-functions', not
`erc-server-FOO-hook.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-backend): Require.
(erc-disconnected-hook, erc-join-hook, erc-quit-hook)
(erc-part-hook, erc-kick-hook): Docstring fix, we now use
`erc-server-FOO-functions', rather than `erc-server-FOO-hook'.
(erc-event-to-hook-name, erc-event-to-hook): Remove.
(erc-once-with-server-event)
(erc-once-with-server-event-global): Use `erc-get-hook'
(erc-process-filter): Use `erc-parse-server-response'.
(erc-cmd-IDLE, erc-cmd-BANLIST, erc-cmd-MASSUNBAN): New accessors
for PARSED argument. Rename all `erc-server-FOO-hook' to
`erc-server-FOO-functions'.
(erc-server-364-hook, erc-server-365-hook, erc-server-367-hook)
(erc-server-368-hook, erc-server-KILL-hook)
(erc-server-PONG-hook, erc-server-200-hook, erc-server-201-hook)
(erc-server-202-hook, erc-server-203-hook, erc-server-204-hook)
(erc-server-205-hook, erc-server-206-hook, erc-server-208-hook)
(erc-server-209-hook, erc-server-211-hook, erc-server-212-hook)
(erc-server-213-hook, erc-server-214-hook, erc-server-215-hook)
(erc-server-216-hook, erc-server-217-hook, erc-server-218-hook)
(erc-server-219-hook, erc-server-241-hook, erc-server-242-hook)
(erc-server-243-hook, erc-server-244-hook, erc-server-249-hook)
(erc-server-261-hook, erc-server-262-hook, erc-server-302-hook)
(erc-server-323-hook, erc-server-342-hook, erc-server-351-hook)
(erc-server-381-hook, erc-server-382-hook, erc-server-391-hook)
(erc-server-392-hook, erc-server-393-hook, erc-server-394-hook)
(erc-server-395-hook, erc-server-402-hook, erc-server-404-hook)
(erc-server-407-hook, erc-server-409-hook, erc-server-411-hook)
(erc-server-413-hook, erc-server-414-hook, erc-server-415-hook)
(erc-server-422-hook, erc-server-423-hook, erc-server-424-hook)
(erc-server-431-hook, erc-server-436-hook, erc-server-437-hook)
(erc-server-441-hook, erc-server-443-hook, erc-server-444-hook)
(erc-server-445-hook, erc-server-446-hook, erc-server-451-hook)
(erc-server-462-hook, erc-server-463-hook, erc-server-464-hook)
(erc-server-465-hook, erc-server-467-hook, erc-server-471-hook)
(erc-server-472-hook, erc-server-473-hook, erc-server-483-hook)
(erc-server-491-hook, erc-server-502-hook): Remove.
(erc-call-hooks, erc-parse-line-from-server): Remove
(erc-server-hook-list): Remove. Remove top-level call too.
(erc-server-ERROR, erc-server-INVITE, erc-server-JOIN)
(erc-server-KICK, erc-server-MODE, erc-server-NICK)
(erc-server-PART, erc-server-PING, erc-server-PONG)
(erc-server-PRIVMSG-or-NOTICE, erc-server-QUIT)
(erc-server-TOPIC, erc-server-WALLOPS, erc-server-001)
(erc-server-004, erc-server-005, erc-server-221, erc-server-252)
(erc-server-253, erc-server-254, erc-server-301, erc-server-303)
(erc-server-305, erc-server-306, erc-server-311-or-314)
(erc-server-312, erc-server-313, erc-server-317, erc-server-319)
(erc-server-320, erc-server-321, erc-server-322, erc-server-324)
(erc-server-329, erc-server-330, erc-server-331, erc-server-332)
(erc-server-333, erc-server-341, erc-server-352, erc-server-353)
(erc-server-366, erc-server-MOTD, erc-server-379)
(erc-server-401, erc-server-403, erc-server-405, erc-server-406)
(erc-server-412, erc-server-421, erc-server-432, erc-server-433)
(erc-server-437, erc-server-442, erc-server-461, erc-server-474)
(erc-server-475, erc-server-477, erc-server-481, erc-server-482)
(erc-server-501): Move to erc-backend.el
(erc-auto-query, erc-banlist-store, erc-banlist-finished)
(erc-banlist-update, erc-connection-established)
(erc-process-ctcp-query, erc-display-server-message): Use new
accessors for PARSED argument.
2004-05-13 Lawrence Mitchell <wence@gmx.li>
* erc-backend.el (erc-parse-server-response)
(erc-handle-parsed-server-response, erc-get-hook)
(define-erc-response-handler): New functions.
(erc-response): New struct for server responses.
(erc-server-responses): New variable.
(erc-call-hooks): Move from erc.el and rework.
(ERROR, INVITE, JOIN, KICK, MODE, NICK, PART, PING, PONG)
(PRIVMSG, NOTICE, QUIT, TOPIC, WALLOPS, 001, MOTD, 376, 004)
(252, 253, 254, 250, 301, 303, 305, 306, 311, 312, 313, 315)
(317, 318, 319, 320, 321, 322, 324, 329, 330, 331, 332, 333)
(341, 352, 353, 366, 369, 379, 401, 403, 405, 406, 412, 421)
(432, 433, 437, 442, 461, 474, 477, 481, 482, 501, 323, 221)
(002, 003, 371, 372, 374, 375, 422, 251, 255, 256, 257, 258)
(259, 265, 266, 377, 378, 314, 475, 364, 365, 367, 368, 381)
(382, 391, 392, 393, 394, 395, 200, 201, 202, 203, 204, 205)
(206, 208, 209, 211, 212, 213, 214, 215, 216, 217, 218, 219)
(241, 242, 243, 244, 249, 261, 262, 302, 342, 351, 402, 404)
(407, 409, 411, 413, 414, 415, 423, 424, 431, 436, 441, 443)
(444, 445, 446, 451, 462, 463, 464, 465, 467, 471, 472, 473)
(483, 491, 502, 005, KILL): Move from erc.el and rework using
`define-erc-response-handler' and erc-response struct.
2004-05-12 Diane Murray <disumu@x3y2z1.net>
* erc.el: A few bug fixes to avoid errors after disconnect,
including the "Selecting deleted buffer" bug.
(erc-channel-user-op-p, erc-channel-user-voice-p): Make sure NICK
is non-nil (`erc-current-nick' can return nil).
(erc-server-buffer): Make sure the buffer isn't a #<killed
buffer>.
(erc-server-buffer-live-p): New function.
(erc-display-line, erc-join-channel, erc-prepare-mode-line-format,
erc-away-p): Use `erc-server-buffer-live-p' to make sure process
buffer exists.
(erc-send-current-line): If there is no server buffer, let the
user know.
2004-05-12 Diane Murray <disumu@x3y2z1.net>
* erc.el, erc-log.el: C-c C-l keybinding now defined in
erc-log.el.
(erc-log-version): New.
(erc-cmd-JOIN): Fix applied for bug where /join -invite causes
errors when there's no `invitation'.
2004-05-11 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-cmd-JOIN): Make sure `chnl' is non-nil before trying
to join anything (chnl is not set if /join -invite is used but
there's no `invitation').
2004-05-10 Diane Murray <disumu@x3y2z1.net>
* erc-log.el: Define C-c C-l keybinding outside of `erc-log-mode',
making it available all the time; autoload definition.
(erc-log-version): New.
2004-05-09 Diane Murray <disumu@x3y2z1.net>
* AUTHORS, CREDITS, Makefile, erc-autoaway.el, erc-autojoin.el,
erc-button.el, erc-chess.el, erc-dcc.el, erc-ezbounce.el,
erc-fill.el, erc-ibuffer.el, erc-imenu.el, erc-lang.el,
erc-list.el, erc-log.el, erc-macs.el, erc-match.el, erc-members.el,
erc-menu.el, erc-nets.el, erc-netsplit.el, erc-nickserv.el,
erc-notify.el, erc-page.el, erc-ring.el, erc-speak.el,
erc-speedbar.el, erc-stamp.el, erc-track.el, erc-truncate.el,
erc-xdcc.el, erc.el: Applied all relevant bug fixes and code
cleanup made between the time of the ERC_4_0_RELEASE tag until now.
2004-05-09 Diane Murray <disumu@x3y2z1.net>
* erc-menu.el: Updated copyright years.
2004-05-09 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-update-channel-info-buffer): Correct bug in sorting
of channel users. Tiny change from Andreas Schwab
<schwab@suse.de>.
2004-05-09 Lawrence Mitchell <wence@gmx.li>
* erc-fill.el (erc-fill-variable): Fix docstring.
2004-05-09 Lawrence Mitchell <wence@gmx.li>
* erc-button.el (erc-button-add-button): Use 'keymap
text-property, rather than 'local-map, since it's cross-emacs
compatible. Pass :mouse-down-action into `widget-convert-button'
as 'erc-button-click-button, to make XEmacs happy. Replace bogus
reference to erc-widget-press-button with erc-button-press-button.
(erc-button-click-button): New (ignored) first argument, to make
XEmacs behave when pressing buttons.
(erc-button-press-button): New (ignored) &rest argument.
2004-05-09 Adrian Aichner <adrian@xemacs.org>
* erc-log.el (erc-conditional-save-buffer): Fix docstring
reference to erc-save-queries-on-quit.
(erc-conditional-save-queries): Ditto.
2004-05-06 Diane Murray <disumu@x3y2z1.net>
* erc-speedbar.el: Updated copyright years. Added local variables
for this file; fixed indenting.
(erc-speedbar): New group.
(erc-speedbar-sort-users-type): New variable.
(erc-speedbar-buttons): Handle query buffers (fixes a bug where an
error would be thrown if the current buffer was a query). Ignore
unknown buffers.
(erc-speedbar-expand-channel): Show limit and key with channel
modes. Sort users according to `erc-speedbar-sort-users-type'.
(erc-speedbar-insert-user): Fixed bug where only nicks with more
info were being listed, and those were shown twice.
(erc-speedbar-goto-buffer): Don't use dframe functions, as dframe
isn't available with the default speedbar.
2004-05-06 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-sort-channel-users-alphabetically): New function.
(erc-server-412, erc-server-432, erc-server-475): New functions.
(erc-server-412-hook, erc-server-432-hook, erc-server-475-hook):
Use them.
(erc-server-401, erc-server-403, erc-server-405)
(erc-server-421, erc-server-474, erc-server-481): Use catalog
messages.
(erc-define-catalog): Added s401, s403, s405, s412, s421, s432,
s474, s475, and s481.
2004-05-06 Diane Murray <disumu@x3y2z1.net>
* erc-nickserv.el: Added documentation to Commentary, Usage.
Removed `outline-mode' from file local variables.
(erc-services-mode): Use `erc-nickserv-identify-mode' to add
hooks.
(erc-nickserv-identify-mode): New function.
(erc-nickserv-identify-mode): New variable.
(erc-prompt-for-nickserv-password, erc-nickserv-passwords):
Changed docstring.
(erc-nickserv-identify-autodetect): Use
`erc-nickserv-call-identify-function'. Docstring change.
(erc-nickserv-identify-on-connect,
erc-nickserv-identify-on-nick-change,
erc-nickserv-call-identify-function): New functions.
(erc-nickserv-identify): PASSWORD is not optional. Autoload
function.
2004-05-05 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-join-hook, erc-quit-hook, erc-part-hook,
erc-kick-hook, erc-connect-pre-hook): Now customizable.
(erc-nick-changed-functions): New hook.
(erc-server-NICK): Run `erc-nick-changed-functions' with the
arguments NEW-NICK and OLD-NICK.
(erc-channel-user-voice-p, erc-channel-user-voice-p): Shortened
docstring.
2004-05-05 Lawrence Mitchell <wence@gmx.li>
* HACKING: New section on function/variable naming and coding
conventions.
2004-05-05 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-wash-quit-reason): Quote regexp special characters
in NICK, LOGIN and HOST.
2004-05-04 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-server-parameters): Typo fix in docstring.
(erc-input-line-position): `:type' is now a choice between integer
and nil. (erc-mode-map): Bind `erc-get-channel-mode-from-keypress'
to C-c C-o instead of C-c RET (C-c C-m). (erc-cmd-GQUIT): Use
REASON as argument when calling `erc-cmd-QUIT'.
2004-05-03 Lawrence Mitchell <wence@gmx.li>
* erc-nicklist.el: Initial version.
2004-04-28 Diane Murray <disumu@x3y2z1.net>
* erc-menu.el: Added local variables for file, fixed indenting.
(erc-menu-version): New variable.
(erc-menu-definition): "List channels": New. "Join channel": Use
`erc-connected' as test. "Start a query": New. "List channel
operators": New. "Input action": Moved up. "Set topic": Fixed
test so it's only active in channels. "Leave this channel": Moved
down. "Track hidden channel buffers": Removed. "Enable/Disable
ERC Modules": New.
2004-04-28 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-mode-map): Removed binding for
`erc-save-buffer-in-logs' (moved to erc-log.el).
(erc-cmd-QUERY, erc-cmd-OPS): Now interactive.
2004-04-28 Diane Murray <disumu@x3y2z1.net>
* erc-log.el: Added local variables for this file.
(erc-log-channels-directory): Added directory as a choice in
`:type'.
(define-erc-module): Define and undefine key binding (C-c
C-l) for `erc-save-buffer-in-logs' here.
2004-04-28 Diane Murray <disumu@x3y2z1.net>
* erc-nets.el: Added local variables for this file.
(erc-networks-alist): Fixed `:type' to work better in
customization.
2004-04-28 Diane Murray <disumu@x3y2z1.net>
* erc-match.el: Added local variables for file. (erc-keywords):
Use `list' instead of `cons' in `:type'. Fixes bug where mismatch
was shown in customization. (erc-current-nick-highlight-type):
Escape parentheses in docstring. Added keyword, nick-or-keyword as
options in `:type'.
2004-04-28 Diane Murray <disumu@x3y2z1.net>
* erc-stamp.el: Added local variables for file.
(erc-away-timestamp-format): Allow nil as a choice in `:type'.
(erc-timestamp-intangible): Changed `:type' to boolean.
(erc-timestamp-right-column): Added `:group' and `:type'.
2004-04-28 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-modules): Added bbdb, log, match, sound, and stamp
as `:type' options; changed documentation for autojoin, fill,
pcomplete, track. (erc-prompt-for-channel-key): New variable.
(erc-join-channel): Only prompt for key if
`erc-prompt-for-channel-key' is non-nil. (erc-format-my-nick): New
function. (erc-send-message, erc-send-current-line): Use it.
2004-04-24 Johan Bockgård <bojohan@users.sourceforge.net>
* erc-track.el (erc-track-modified-channels): Fix indentation.
2004-04-24 Johan Bockgård <bojohan@users.sourceforge.net>
* erc-match.el (erc-hide-fools): Docstring fix.
(erc-log-matches-types-alist): Added `current-nick' to valid
choices.
2004-04-20 Diane Murray <disumu@x3y2z1.net>
* erc-page.el, erc-ezbounce.el, erc-speak.el, erc-match.el,
erc-track.el (erc-ezbounce, erc-page, erc-speak): Groups defined.
(erc-match, erc-track): `erc' is parent group.
(erc-ezb-regexp, erc-ezb-login-alist): Added `:group'.
2004-04-20 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-fill.el: Fixed erc-fill-static so it breaks the lines at the
right column and respects timestamps. Patch by Simon Siegler
<simon@trz-kril.de>
(erc-fill-static): Major rewrite and split up into some functions.
(erc-count-lines): Removed.
(erc-fill-regarding-timestamp): New function.
(erc-timestamp-offset): New function.
(erc-restore-text-properties): New function.
(erc-fill-variable): Respect leftbound timestamp. This is still
broken if someone has both erc-timestamp-only-if-changed-flag set
and erc-insert-timestamp-function set to
'erc-insert-timestamp-left, but otherwise it works now.
2004-04-20 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-cmd-SV): Show features gtk, mac-carbon, multi-tty.
Fixed so that arguments fit the format (build date was not being
shown).
2004-04-19 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-update-channel-topic): Error if `channel-topic' is
unbound. Remove %-sign substitution.
(erc-update-mode-line-buffer): Escape %-signs in `channel-topic'
here.
2004-04-19 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-send-action, erc-ctcp-query-ACTION,
erc-ctcp-reply-ECHO-hook): Let `erc-display-message-highlight'
propertize the message.
(erc-display-message-highlight): Allow for any erc-TYPE-face.
(erc-cmd-JOIN): Display error message instead of throwing an error
if there's no `invitation'.
(erc-cmd-PART): Allow for no reason if channel is provided. Fixes
bug where user would part the current channel with the other
channel's name as reason when no reason was given.
(erc-server-vectors, erc-debug-missing-hooks): Added docstring.
(erc-server-JOIN): Moved `erc-join-hook' to JOIN-you section.
`erc-join-hook' called by `run-hook-with-args', sending the ARGS
`chnl' and the channel's buffer. Changed an instance of if
without else to when.
(erc-server-477): New function.
(erc-server-477-hook): Use `erc-server-477'.
(erc-define-catalog): Added `no-invitation'.
2004-04-14 Diane Murray <disumu@x3y2z1.net>
* erc-nickserv.el: Local variables for file added.
(erc-nickserv-passwords): Customization: Network symbols updated
to reflect `erc-nickserv-alist'. Allow user to type in network
symbol.
(erc-nickserv-alist): Now customizable variable.
2004-04-09 Diane Murray <disumu@x3y2z1.net>
* erc-autoaway.el (erc-autoaway-reset-idletime): Make sure `line'
is a string to avoid errors upon startup.
2004-04-06 Diane Murray <disumu@x3y2z1.net>
* erc-autoaway.el (erc-autoaway-version): New variable.
(erc-auto-discard-away): Updated docstring.
(erc-autoaway-no-auto-back-regexp): New variable.
(erc-autoaway-reset-idletime): Use it. Hopefully a better solution
which allows for aliases to "/away" and any other text that the
user wants to ignore when `erc-auto-discard-away' is non-nil.
2004-04-06 Diane Murray <disumu@x3y2z1.net>
* erc-autoaway.el (erc-autoaway-reset-idletime): Forgot /gaway in
regexp.
2004-04-06 Diane Murray <disumu@x3y2z1.net>
* erc-autoaway.el (erc-autoaway-reset-idletime): If the user sends
an "/away" command, don't call `erc-autoaway-set-back', fixes bug
where ERC would send "/away" when user was already away and sent an
"/away reason". Changed `l' to `line' for better understanding.
(erc-autoaway-set-back): Changed `l' to `line' for better
understanding.
2004-04-05 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-set-channel-key): Now able to remove key.
(erc-set-channel-limit): Now able to remove limit.
(erc-get-channel-mode-from-keypress): Fixed docstring.
2004-04-04 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-join-channel): Allow for optional channel key.
(erc-set-modes): Need to set `channel-key' to nil in case of mode
changes during split.
(erc-show-channel-key-p): New variable.
(erc-prepare-mode-line-format): Only show key if
`erc-show-channel-key-p' is non-nil.
2004-04-04 Diane Murray <disumu@x3y2z1.net>
* erc.el (channel-key): New variable.
(erc-update-channel-key): New function.
(erc-set-modes, erc-parse-modes, erc-update-modes, erc,
erc-update-channel-info-buffer): Deal with channel keys.
(erc-prepare-mode-line-format): Show channel key in header-line.
(erc-server-NICK): Show nick change in server buffer as well.
(erc, erc-send-command, erc-banlist-store, erc-banlist-update,
erc-load-irc-script-lines,
erc-arrange-session-in-multiple-windows, erc-handle-login,
erc-find-channel-info-buffer): Changed when not to unless.
(erc-server-MODE): Changed if without else to when.
2004-03-27 Adrian Aichner <adrian@xemacs.org>
* erc.el (erc-cmd-BANLIST): Use `truncate-string-to-width'
instead of `truncate-string' alias.
(erc-nickname-in-use): Ditto.
2004-03-27 Francis Litterio <franl@users.sourceforge.net>
* erc-list.el (erc-cmd-list): Fixed error caused by erc-cmd-LIST
passing a non-sequence to erc-chanlist.
2004-03-22 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
* erc.el: Add new hook `erc-join-hook', which is run when we join a
channel.
2004-03-22 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
* erc.el: Replaced existing notice user notification system and
the configuration options, which consisted of
`erc-echo-notices-in-minibuffer-flag' and
`erc-echo-notices-in-current-buffer' with two new hooks,
`erc-echo-notice-hook' and `erc-echo-notice-always-hook'.
When user notification is needed, `erc-echo-notice-always-hook' is
first run using `run-hook-with-args', then `erc-echo-notice-hook'
is run using `run-hook-with-args-until-success'.
In addition to these hooks, a large number of functions, which are
described in the documentation strings of those hooks, were added
which can be used to achieve a large variety of different
behaviors.
The current default behavior, which is identical to the existing
default behavior, is for `erc-echo-notice-always-hook' to be set to
`(erc-echo-notice-in-default-buffer).
2004-03-21 Diane Murray <disumu@x3y2z1.net>
* erc-track.el (erc-modified-channels-display): Added a space
before opening bracket.
2004-03-21 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-format-query-as-channel-p): New variable.
(erc-server-PRIVMSG-or-NOTICE): If `erc-format-query-as-channel-p'
is nil, messages in the query buffer are formatted like private
messages.
(erc-server-252-hook, erc-server-253-hook, erc-server-254-hook,
erc-server-256-hook, erc-server-257-hook, erc-server-258-hook,
erc-server-259-hook, erc-server-371-hook, erc-server-372-hook,
erc-server-374-hook, erc-server-374-hook, erc-server-442-hook,
erc-server-477-hook): Removed, now defined in
`erc-server-hook-list'.
(erc-display-server-message): New function.
(erc-server-252, erc-server-253, erc-server-254, erc-server-442):
New functions.
(erc-server-hook-list): Added 250, 256, 257, 258, 259, 265, 266,
377, 378, 477 - using `erc-display-server-message'. 251, 255 now
use `erc-display-server-message'. Added 252, 253, 254, 442 -
using respective erc-server-* functions. 371, 372, 374, 375 now
defined here.
(erc-define-catalog): Added s252, s253, s254, s442.
(erc-server-001, erc-server-004, erc-server-005): Fixed
documentation.
2004-03-20 Diane Murray <disumu@x3y2z1.net>
* erc-stamp.el: Commentary: Changed `erc-stamp-mode' to
`erc-timestamp-mode'.
(erc-insert-timestamp-left): Use `erc-timestamp-face' on filler
spaces as well.
2004-03-19 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-send-action): Use `erc-input-face'.
(erc-display-message-highlight): If the requested highlighting
type doesn't match, just display the string with no highlighting
and warn about it with `erc-log'.
(erc-cmd-JOIN): If user is already on the requested channel,
switch to that channel's buffer.
(erc-ctcp-query-ACTION): Use `erc-action-face' for nick as well.
(erc-header-line-use-help-echo-p): New variable.
(erc-update-mode-line-buffer): Use `help-echo' for header-line if
`erc-header-line-use-help-echo-p' is non-nil.
2004-03-18 Adrian Aichner <adrian@xemacs.org>
* erc-nets.el: Use two arguments version of `make-obsolete', if
third argument is not supported (for XEmacs).
2004-03-18 Andreas Fuchs <asf@void.at>
* CREDITS: added CREDITS entry for Adrian Aichner
2004-03-18 Andreas Fuchs <asf@void.at>
* erc-xdcc.el, erc.el, erc-autoaway.el, erc-autojoin.el,
erc-button.el, erc-dcc.el, erc-ezbounce.el, erc-imenu.el,
erc-list.el, erc-log.el, erc-match.el, erc-members.el,
erc-menu.el, erc-netsplit.el, erc-notify.el, erc-speedbar.el,
erc-stamp.el, erc-track.el, erc-truncate.el:
(erc-coding-sytem-for-target): Removed.
(erc-coding-system-for-target): New.
(erc-autoaway-use-emacs-idle): Typo fix.
(erc-auto-set-away): Ditto.
(erc-auto-discard-away): Ditto.
(autojoin): Ditto.
(erc-button-alist): Ditto.
(erc-dcc-auto-masks): Ditto.
(erc-dcc-chat-send-input-line): Ditto.
(erc-ezb-get-login): Ditto.
(erc-unfill-notice): Ditto.
(erc-save-buffer-in-logs): Ditto.
(match): Ditto.
(erc-log-matches-types-alist): Ditto.
(erc-match-directed-at-fool-p): Ditto.
(erc-match-message): Ditto.
(erc-update-member): Ditto.
(erc-ignored-reply-p): Ditto.
(erc-menu-definition): Ditto.
(erc-netsplit-QUIT): Ditto.
(erc-notify-list): Ditto.
(erc-speedbar-update-channel): Ditto.
(erc-speedbar-item-info): Ditto.
(erc-stamp): Ditto.
(erc-timestamp-intangible): Ditto.
(erc-add-timestamp): Ditto.
(erc-timestamp-only-if-changed-flag): Ditto.
(erc-show-timestamps): Ditto.
(erc-track-priority-faces-only): Ditto.
(erc-modified-channels-alist): Ditto.
(erc-unique-substrings): Ditto.
(erc-find-parsed-property): Ditto.
(erc-track-switch-direction): Ditto.
(erc-truncate-buffer-to-size): Ditto.
(erc-xdcc): Ditto.
(erc-auto-reconnect): Ditto.
(erc-startup-file-list): Ditto.
(erc-once-with-server-event): Ditto.
(erc-once-with-server-event-global): Ditto.
(erc-mode): Ditto.
(erc-generate-new-buffer-name): Ditto.
(erc): Ditto.
(erc-open-ssl-stream): Ditto.
(erc-default-coding-system): Ditto.
(erc-encode-string-for-target): Ditto.
(erc-decode-string-from-target): Ditto.
(erc-scroll-to-bottom): Ditto.
(erc-decode-controls): Ditto.
(erc-channel-members-changed-hook): Ditto.
(erc-put-text-property): Ditto.
(erc-add-default-channel): Ditto.
2004-03-17 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-process-sentinel): Cancel ping timer upon
disconnect.
(erc-cmd-PART): Use same regexp as `erc-cmd-QUIT' when no #channel
is provided.
(erc-nick-uniquifier, erc-manual-set-nick-on-bad-nick-p): `:group'
was missing, added.
(erc-part-reason-zippy, erc-part-reason-zippy): Removed FIXME
comments. I see no problem allowing typed in reasons.
2004-03-16 Diane Murray <disumu@x3y2z1.net>
* erc-stamp.el (erc-insert-timestamp-left): Added support for
`erc-timestamp-only-if-changed-flag' and added docstring.
(erc-timestamp-only-if-changed-flag): Updated documentation.
2004-03-13 Francis Litterio <franl@users.sourceforge.net>
* erc-nets.el (erc-network-name): No longer marked as obsolete.
Why was this function made obsolete? There is no other function
that performs this task. Some of us use these functions in our
personal ERC configs.
2004-03-12 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-buffer-filter): Use `with-current-buffer'.
(erc-process-input-line): Append newline to documentation. Fixes a
bug whereby the prompt would be put on the same line as the output.
(erc-cmd-GQUIT): Only try and send QUIT if the process is alive.
2004-03-12 Lawrence Mitchell <wence@gmx.li>
* erc-log.el: Only add top-level hooks if `erc-enable-logging' is
non-nil.
2004-03-10 Damien Elmes <erc@repose.cx>
* erc-nets.el: From Adrian Aichner (adrian /at/ xemacs /dot/ org)
* erc-nets.el: XEmacs make-obsolete only takes two arguments.
2004-03-10 Diane Murray <disumu@x3y2z1.net>
* erc-nets.el (erc-determine-network): Use `erc-session-server' if
`erc-announced-server' is nil to avoid error if server does not
send 004 (RPL_MYINFO) message.
2004-03-10 Lawrence Mitchell <wence@gmx.li>
* erc-nets.el (erc-server-alistm erc-settings): Use lowercase
"freenode", as in `erc-networks-alist'.
2004-03-10 Lawrence Mitchell <wence@gmx.li>
* erc-nickserv.el (erc-nickserv-alist): Use lowercase "freenode",
as in `erc-networks-alist'.
2004-03-10 Lawrence Mitchell <wence@gmx.li>
* erc-dcc.el (pcomplete/erc-mode/DCC): Append "send" as a list.
2004-03-10 Francis Litterio <franl@users.sourceforge.net>
* erc-nets.el (erc-networks-alist): Changed "Freenode" to
"freenode".
2004-03-10 Francis Litterio <franl@users.sourceforge.net>
* erc-list.el (erc-cmd-LIST): Improved the docstring. Made
message to user more accurate depending on whether a single
channel is being listed or not.
2004-03-10 Lawrence Mitchell <wence@gmx.li>
* erc-nets.el (erc-determine-network): Make matching logic simpler
(suggested by Damian Elmes).
(erc-current-network, erc-network-name): Add `make-obsolete' form.
(erc-set-network-name): Indentation fix.
(erc-ports-list): Add docstring. Rework function body to use
`nconc'.
2004-03-09 Diane Murray <disumu@x3y2z1.net>
* erc-list.el, erc-notify.el (require 'erc-nets): Added.
2004-03-08 Diane Murray <disumu@x3y2z1.net>
* erc.el (erc-network-name): Function definition moved to
erc-nets.el. The functions `erc-determine-network' and
`erc-network' in erc-nets.el do what this did before. Deprecated.
Use (erc-network) instead.
2004-03-08 Diane Murray <disumu@x3y2z1.net>
* erc-nickserv.el: Changed copyright notice. Now require
erc-nets. erc-nets.el now takes care of network-related functions
and variables.
(erc-nickserv-alist): Changed network symbols to match those in
`erc-networks-alist' in erc-nets.el.
(erc-nickserv-identify-autodetect): Use `erc-network'.
(erc-nickserv-identify): Use `erc-network'. Changed wording for
interactive use, now shows current nick.
(erc-networks): Removed. Use `erc-networks-alist' as defined in
erc-nets.el.
(erc-current-network): Function definition moved to erc-nets.el.
The functions `erc-determine-network' and `erc-network' in
erc-nets.el do what this did before. Deprecated. Use
(erc-network) instead.
2004-03-08 Diane Murray <disumu@x3y2z1.net>
* erc-nets.el: Added commentary, `erc-nets-version'.
(erc-server-alist): Changed Brasnet to BRASnet.
(erc-networks-alist): All networks (except EFnet and IRCnet) now
have a MATCHER. (erc-network): New variable.
(erc-determine-network): New function. Determine the network the
user is on. Use the server parameter NETWORK, if provided, else
parse the server name and search for a match (regexp and loop by
wencem) in `erc-networks-alist'. Return the name of the network
or "Unknown" as a symbol.
(erc-network): New function. Returns value of `erc-network'. Use
this when the current buffer is not the server process buffer.
(erc-current-network): Returns the value of `erc-network' as
expected by users who used the function as it was defined in
erc-nickserv.el. Deprecated.
(erc-network-name): Returns the value of `erc-network' as expected
by users who used the function as it was defined in erc.el.
Deprecated.
(erc-set-network-name): New function. Added to
`erc-server-375-hook' and `erc-server-422-hook'.
(erc-unset-network-name): New function. Added to
`erc-disconnected-hook'.
(erc-server-select): Small documentation word change.
2004-03-07 Diane Murray <disumu@x3y2z1.net>
* AUTHORS, CREDITS: disumu info updated
2004-03-06 Lawrence Mitchell <wence@gmx.li>
* erc-list.el (erc-cmd-LIST): Take &rest rather than &optional
arguments.
(erc-chanlist): Construct correct LIST command from list of
channels.
2004-03-06 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-update-mode-line-buffer): Add 'help-echo property to
header-line text. This allows header lines longer than the width
of the current window to be seen.
2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-match.el (erc-match-directed-at-fool-p): Also check for
"FOOL, "
2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-match.el (erc-match-message): Only use nick-or-keyword if
we're matching our nick.
2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-match.el: The highlight type for the current nickname can
now also be 'nick-or-keyword, to highlight the nick of the sender
if that is available, but fall back to highlighting your nickname
in the whole message otherwise.
(erc-current-nick-highlight-type): Adapted docstring accordingly.
(erc-match-message): Added new condition. Also added some comments
to this monster of a function.
2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-is-valid-nick-p): Don't check for length less or
equal to 9.
2004-03-06 Damien Elmes <erc@repose.cx>
* erc-nickserv.el (erc-current-network): the last change resulted
in this function failing when a network identifies itself as
anything other than var.netname.com, so for instance
'vic.au.austnet.org' fails. This version is only a marginal
improvement over the original, but if we want to be more flexible
we'll probably have to do the iteration ourselves instead of using
assoc.
2004-03-05 Diane Murray <disumu@x3y2z1.net>
* erc.el: Added erc-server-001 which runs when the server sends
its welcome message. It sets the current-nick to reflect the
server's settings. This fixes a bug where nicks that were too long
and got truncated by the server were still set to the old value.
(nickname-in-use): If user wants to try again manually, let user
know that the nick is taken. If not, go through erc-default-nicks
until none are left, and then try one last time with
erc-nick-uniquifier. If it's still a bad-nick, make the user
change nick manually. When applying uniquifier, use NICKLEN if
it's in the server parameters, otherwise use what RFC 2812 says is
the max nick length (9 chars). Added custom variable
erc-manual-set-nick-on-bad-nick-p, which is set to nil and
erc-nick-change-attempt-count. Reset erc-default-nicks and
erc-nick-change-attempt-count when the nick has been changed
successfully. This fixes the bug where ERC would get caught in a
neverending loop of trying to set the same nick if the nick was
too long and the uniquified nick was not available.
* added erc-cmd-WHOAMI
* added custom variable erc-mode-line-away-status-format, use this
instead of the previous hard-coded setting
* erc-server-315|318|369-hook defvar lines removed - they're
already defined in erc-server-hook-list
2004-03-04 Lawrence Mitchell <wence@gmx.li>
* HACKING: Initial commit. Some thoughts on coding standards.
2004-03-03 Diane Murray <disumu@x3y2z1.net>
* erc-track.el: added the variable erc-track-priority-faces-only
which adds the option to ignore changes in a channel unless there
are faces from the erc-track-faces-priority-list in the message
options are nil, 'all, or a list of channel name strings
2004-03-01 Diane Murray <disumu@x3y2z1.net>
* erc.el, erc-ibuffer.el, erc-menu.el: Changed erc-is-channel-op
and erc-is-channel-voice to erc-channel-user-op-p and
erc-channel-user-voice-p to better match erc-channel-user
structure (and emacs lisp usage)
2004-03-01 Diane Murray <disumu@x3y2z1.net>
* erc.el, erc-ibuffer.el, erc-menu.el:
erc-track-modified-channels-mode is now erc-track-mode
2004-02-29 Diane Murray <disumu@x3y2z1.net>
* erc-match.el: Added 'keyword option to
erc-current-nick-highlight-type highlights all instances of
current-nick in the message ('nickname option in cvs revisions 1.9
- 1.11 had same effect)
2004-02-28 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-button.el: Add Lisp: prefix for the EmacsWiki Elisp area.
(erc-button-alist): Added Lisp: prefix.
(erc-emacswiki-lisp-url): New variable.
(erc-browse-emacswiki-lisp): New function.
2004-02-27 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-get-arglist): Use `substitute-command-keys', rather
than hard-coding C-h f for `describe-function'.
2004-02-26 Johan Bockgård <bojohan@users.sourceforge.net>
* erc-log.el (erc-save-buffer-in-logs): bind `inhibit-read-only'
to t around call to `erase-buffer'.
2004-02-23 Edward O'Connor <ted@oconnor.cx>
* erc-chess.el, erc-dcc.el, erc-ezbounce.el, erc-list.el,
erc-macs.el, erc-ring.el, erc-stamp.el, erc.el: Normalized buffer
local variable creation.
2004-02-17 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-scroll-to-bottom, erc-add-scroll-to-bottom): Mention
`erc-input-line-position' in docstring.
2004-02-13 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-kick-hook): Typo fix.
2004-02-13 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
* erc.el: Added `erc-kick-hook', which is called when the local
user is kicked from a channel. Fixed a bug in `erc-cmd-OPS', such
that the command now works. Added `erc-remove-channel-users', in
order to fix a number of significant bugs relating to channel
parting.
2004-02-12 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-display-prompt): Remove last change. This caused a
lot of trouble :(
2004-02-12 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-display-prompt): Also set 'field property, so C-j
works on an empty prompt.
2004-02-12 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-update-channel-topic): Ensure that `channel-topic'
does not contain any bare format controls.
2004-02-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-stamp.el (erc-timestamp-intangible): New variable (user
feature request)
(erc-format-timestamp): Use erc-timestamp-intangible.
2004-02-07 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
* erc-button.el: Fixed bug related to nickname buttonizing and text
fields due to erc-stamp.
2004-02-07 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
* CREDITS: Added mention of my change of ERC to use hash tables.
2004-02-07 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
* AUTHORS: Added myself to the list.
2004-02-05 Lawrence Mitchell <wence@gmx.li>
* erc.el: From Jeremy Maitin-Shepard <jbms@attbi.com>:
(erc-remove-channel-user): Use `delq' not `delete'.
(erc-get-buffer): Pass PROC through to `erc-buffer-filter'.
(erc-process-sentinel): Use `erc' rather than `erc-reconnect' for
auto-reconnection.
2004-02-02 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-buffer-list-with-nick): Apply `erc-downcase' NICK.
2004-01-30 Alex Schroeder <alex@gnu.org>
* erc.el (erc-get-buffer): Use erc-buffer-filter.
2004-01-30 Johan Bockgård <bojohan@users.sourceforge.net>
* erc.el: From jbms:
(erc-get-channel-nickname-list): New function.
(erc-get-server-nickname-list): New function.
(erc-get-server-nickname-alist): New function.
(erc-get-channel-nickname-alist): New function.
2004-01-30 Johan Bockgård <bojohan@users.sourceforge.net>
* erc-match.el (erc-add-entry-to-list,
erc-remove-entry-from-list): Use `erc-member-ignore-case' to
compare entries.
(erc-add-pal, erc-add-fool): Fix type bug. Use
`erc-get-server-nickname-alist'.
2004-01-29 Johan Bockgård <bojohan@users.sourceforge.net>
* erc.el: From jbms: Adds xemacs compatibility to hash table
channel-members patch.
2004-01-29 Johan Bockgård <bojohan@users.sourceforge.net>
* erc.el (erc-update-undo-list): Rewritten. Update
buffer-undo-list in place. Deal with XEmacsesque
entries (extents) in the list.
(erc-channel-users): Fix unescaped open-paren in left column in
docstring.
2004-01-29 Johan Bockgård <bojohan@users.sourceforge.net>
* erc-ring.el (erc-replace-current-command): Exclude the prompt
from the deleted region and don't redisplay the prompt (because
`erc-display-prompt' flushes `buffer-undo-list').
2004-01-29 Johan Bockgård <bojohan@users.sourceforge.net>
* erc-match.el (erc-add-entry-to-list): Use `symbol-value' instead
of `eval'.
2004-01-28 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-kill-buffer-function): maphash was missing an
argument.
2004-01-28 Jorgen Schaefer <forcer@users.sourceforge.net>
* Makefile, erc-autoaway.el, erc-button.el, erc-ibuffer.el,
erc-lang.el, erc-list.el, erc-match.el, erc-menu.el, erc-page.el,
erc-pcomplete.el, erc-speedbar.el, erc.el: HUGE change by jbms.
This makes channel-members a hash, erc-channel-users.
Modified files: Makefile erc-autoaway.el erc-button.el
erc-ibuffer.el erc-lang.el erc-list.el erc-match.el erc-menu.el
erc-page.el erc-pcomplete.el erc-speedbar.el erc.el
The changes are too numerous to document properly. Have fun with
the breakage.
2004-01-27 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-send-input-line): Add a space to empty lines so the
server likes them.
2004-01-25 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el: erc-send-whitespace-lines: New variable.
(erc-send-current-line): Use erc-send-whitespace-lines. Also,
removed superfluous test for empty line in the mapc, since the
blank line test should find all. I do like to be able to send an
empty line when i want to!
(erc-send-current-line): Check for point being in input line
before checking for blank lines.
2004-01-21 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-display-line-1): Move `erc-update-undo-list' outside
`save-restriction'. Removing need for temporary variable.
(erc-send-current-line): Fix bug introduced by last change, remove
complement in blank line regexp.
2004-01-20 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-update-undo-list): Add logic to catch the case when
`buffer-undo-list' is t, indentation cleanup.
(erc-send-current-line): Reverse logic for matching blank lines.
2004-01-20 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-input-line-position): New variable. If non-nil,
specifies the argument to `recenter' in `erc-scroll-to-bottom'.
(erc-scroll-to-bottom): Use it.
2004-01-20 Lawrence Mitchell <wence@gmx.li>
* erc.el: From Johan Bockgård <bojohan+news@dd.chalmers.se>:
(erc-update-undo-list): New function. Update `buffer-undo-list'
so that calling `undo' in an ERC buffer doesn't mess up the
existing text.
(erc-display-line-1): Use it.
2004-01-19 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-beg-of-input-line): Use `forward-line' rather than
`beginning-of-line'. Docstring fix.
(erc-end-of-input-line): Docstring fix.
2004-01-13 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-display-prompt): Remove the undo list after
displaying the prompt, so the user can't undo ERC changes, which
breaks some stuff anyways. This way the user can still undo his
editing, but not ours.
2004-01-12 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el (erc-scroll-to-bottom): Should recenter on the bottom
line, not the second-to-last one.
2004-01-12 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-bol): Fix bug introduced in my changes from 2004-01-11.
2004-01-12 Lawrence Mitchell <wence@gmx.li>
* erc.el: From Brian Palmer <bpalmer@gmail.com>
(erc-cmd-JOIN): Use `erc-member-ignore-case', rather than
`member-ignore-case'.
2004-01-12 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el: There was an inconsistency where the values of op and
voice in channel-names could be 'on or 'off after an update, t and
nil before. The intended version was to have t or nil, so i fixed
it to do so.
(channel-names): Updated docstring.
(erc-update-current-channel-member): Clarified docstring, fixed so
it sets t or nil on an update as well, not only on an add.
(erc-cmd-OPS): Updated not to check for 'on (the only function that
did this!)
2004-01-12 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-part-reason-various-alist,
erc-update-mode-line-buffer): Fix docstring
2004-01-11 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-update-mode-line): Fix typo.
2004-01-11 Lawrence Mitchell <wence@gmx.li>
* erc.el (erc-prompt-interactive-input): Removed.
(erc-display-prompt): Removed `erc-prompt-interactive-input'
option. (erc-interactive-input-map): Removed.
Major docstring fixes.
2004-01-07 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-cmd-OPS): Added this function.
(erc-cmd-IDLE): Switched from using erc-display-message-highlight
to erc-make-notice.
2004-01-07 Francis Litterio <franl@users.sourceforge.net>
* erc-list.el (erc-cmd-LIST): Switched from using
erc-display-message-highlight to erc-make-notice.
2004-01-07 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-once-with-server-event): Added a sentence to the
docstring. Now returns the uninterned symbol that is added to the
server hook.
(erc-cmd-IDLE): Changed to use erc-once-with-server-event instead
of erc-once-with-server-event-global.
2004-01-06 Francis Litterio <franl@users.sourceforge.net>
* erc-list.el (erc-chanlist-hide-modeline): New variable.
(erc-chanlist): Now displays message as a notice. Also hides the
modeline if erc-chanlist-hide-modeline is non-nil.
2004-01-05 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-server-PRIVMSG-or-NOTICE): Now nicks appear as
<nick> in query buffers, instead of as *nick*.
2004-01-03 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-once-with-server-event-global): Changed to return
the uninterned symbol that it creates.
(erc-cmd-LIST): Changed to clean up hooks that don't run.
2004-01-03 Francis Litterio <franl@users.sourceforge.net>
* erc-pcomplete.el (pcomplete/erc-mode/IDLE): Added to support new
/IDLE command.
2004-01-03 Francis Litterio <franl@users.sourceforge.net>
* erc.el (erc-once-with-server-event-global): New function. Like
erc-once-with-server-event, except it modifies the global value of
the event hook.
(erc-cmd-IDLE): New function. Implements the new /IDLE command.
Usage: /IDLE NICK (erc-seconds-to-string): New function. Converts
a number of seconds to an English phrase.
2004-01-02 Francis Litterio <franl@users.sourceforge.net>
* erc-list.el: Added variable erc-chanlist-mode-hook.
2003-12-30 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-cmd-HELP):
Changed to prefer giving help for erc-cmd-* functions over
similarly-named Elisp functions (e.g., erc-cmd-LIST vs. list).
2003-12-28 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-query-buffer-p): Added this function.
2003-12-28 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-cmd-SV): Use erc-emacs-build-time.
* erc-compat.el: erc-emacs-build-time: New variable.
* erc.el(erc-cmd-SAY):
Reintroduced the feature where the spaces between
"/SAY" and the rest of the line were being sent with the message.
2003-12-28 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-server-buffer-p):
Fixed a bug where this function sometimes would return
nil when it should return t.
2003-12-27 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-generate-new-buffer-name):
Really fixed a bug where ERC would reuse
a connected server buffer when erc-reuse-buffers is non-nil.
(erc-cmd-JOIN): Now we tell the user when he attempts to join the same
channel twice on the same server.
* erc.el(erc-generate-new-buffer-name):
Fixed a bug where ERC would reuse a connected server buffer when erc-reuse-buffers is non-nil.
* erc.el(erc-cmd-SAY):
Fixed a bug where the spaces between "/SAY" and the rest of the
line were being sent with the message.
* erc-list.el: Fixed another typo.
* erc-list.el: Fixed a typo.
* erc-list.el:
Added text to the top of the channel list buffer describing the keybinding for
function erc-chanlist-join-channel.
* erc-list.el: Minor appearance changes. No functional change.
* erc-list.el:
Implemented function erc-chanlist-join-channel. Added variable
erc-chanlist-channel-line-regexp. Got rid of function
erc-chanlist-pre-command-hook. Changed the logic for how channel lines are
highlighted.
2003-12-26 Francis Litterio <franl@users.sourceforge.net>
* erc-list.el:
Removed a bunch of unused code. No semantic change.
* erc-list.el: Added lots of functionality.
2003-12-15 Mario Lang <mlang@delysid.org>
* erc-track.el, erc.el:
New custom type erc-message-type, use it in erc-hide-list and erc-track-exclude-types
2003-12-14 Alex Schroeder <alex@gnu.org>
* erc-track.el(track-when-inactive): New module.
(erc-track-visibility): New option.
(erc-buffer-activity): New variable.
(erc-buffer-activity-timeout): New variable.
(erc-user-is-active): New function.
(erc-buffer-visible): New function.
(erc-modified-channels-update): Replace get-buffer-window call
with call to erc-buffer-visible.
(erc-track-modified-channels): Ditto.
2003-12-14 Lawrence Mitchell <wence@gmx.li>
* erc-track.el(erc-modified-channels-update):
Force update of modeline. Makes sure
that the tracked channels disappear in other buffers too.
2003-12-06 Lawrence Mitchell <wence@gmx.li>
* erc.el(define-erc-module):
New optional argument LOCAL-P. If non-nil, then
mode will be created as buffer-local rather than a global mode.
(erc-cmd-CTCP): Fix indentation from last commit.
* erc-compat.el(erc-define-minor-mode):
Deal with :global and :group keywords.
* erc-nickserv.el(erc-current-network):
Make server regex more permissive.
* erc.el(erc-cmd-CTCP):
Don't add a space to end of command when ARGS are
empty. This fixes a bug whereby requests of the form "VERSION " were
being sent, and ignored.
2003-11-27 Lawrence Mitchell <wence@gmx.li>
* erc-log.el: From Adrian Aichner <adrian@xemacs.org>
* erc-log.el (erc-log-file-coding-system): Use 'binary
coding-system under XEmacs (instead of 'emacs-mule).
* erc-log.el (erc-w32-invalid-file-characters): Removed as no
longer needed.
* erc-log.el (erc-generate-log-file-name-long): Use
`convert-standard-filename', which exists in XEmacs too.
2003-11-16 Mario Lang <mlang@delysid.org>
* erc-identd.el: Code provided by johnw, thanks!
2003-11-09 Lawrence Mitchell <wence@gmx.li>
* erc.el(erc-latest-version): Clean up docstring.
Remove requirement for w3, wrap REQUIRE statement in IGNORE-ERRORS.
Update viewcvs url to correct location.
(erc-ediff-latest-version): Make sure that we find the uncompiled
erc.el, error if not.
2003-11-07 Mario Lang <mlang@delysid.org>
* erc.el: Add more info to /sv
2003-11-06 Francis Litterio <franl@users.sourceforge.net>
* erc.el: Added optional argument BUFFER to erc-server-buffer-p.
2003-11-04 Mario Lang <mlang@delysid.org>
* AUTHORS: Add sachac
2003-11-02 Lawrence Mitchell <wence@gmx.li>
* erc.el(erc-server-366):
chnl is 4th element of parsed, not fifth.
(erc-channel-end-receiving-names): Pass correct number of arguments
to delete-if-not.
* erc.el(erc-update-current-channel-member):
Use erc-downcase when comparing
nick entries. Cleanup indentation.
2003-11-01 Lawrence Mitchell <wence@gmx.li>
* erc-sound.el: Added a (provide 'erc-sound) line.
* erc.el(erc-cmd-NAMES): send to TGT, not CHANNEL.
2003-10-29 Sandra Jean Chua <sacha@free.net.ph>
* erc-pcomplete.el, erc.el, CREDITS:
Merged Jeremy Maitin-Shepard's patch for time-sensitive nick completion.
2003-10-27 Mario Lang <mlang@delysid.org>
* Makefile, debian/changelog:
New Debian package 4.0.cvs.20031027
2003-10-25 Mario Lang <mlang@delysid.org>
* erc.el: Fix typo tuncate->truncate
2003-10-24 Mario Lang <mlang@delysid.org>
* erc-dcc.el: From Stephan Stahl <stl@isogmbh.de>:
(erc-dcc-send-block): Kill buffer if transfer completed correctly.
2003-10-22 Mario Lang <mlang@delysid.org>
* erc-track.el(erc-track-disable):
Do not deactivate all advices for `switch-to-buffer',
just disable the erc specific one. (Bug#217022).
2003-10-18 Lawrence Mitchell <wence@gmx.li>
* erc-log.el(erc-log-file-coding-system): New variable.
(erc-save-buffer-in-logs): Use it.
2003-10-17 Mario Lang <mlang@delysid.org>
* erc.el(erc-interpret-mirc-color): New boolean defcustom
* erc.el: Do not use -nowait on darwin (thanks johnw)
2003-10-15 Lawrence Mitchell <wence@gmx.li>
* erc.el(define-erc-module):
Set erc-FOO-mode appropriately in erc-FOO-enable
and erc-FOO-disable.
2003-10-12 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-autoaway.el(erc-mode):
Reset idletime on connect. Fixes an annoying bug which
flooded the server with always on reconnect.
(erc-autoway-reset-idletime): Accept optional args so we can hook it
onto erc-server-001-hook.
2003-10-10 Mario Lang <mlang@delysid.org>
* erc.el(erc-hide-list): Add a nice defcustom type
2003-10-08 Mario Lang <mlang@delysid.org>
* Makefile, debian/changelog, debian/control:
Debian snapshot 20031008
* erc-speedbar.el:
Patch from Eric M. Ludlam <eric@siege-engine.com>:
- (erc-install-speedbar-variables): Add functions list (needs new speedbar?)
- (erc-speedbar-buttons): Add doc. Clear the buffer
- (erc-speedbar-sort-channel-members): New function.
- (erc-speedbar-expand-channel): Call new sort function. Change some visuals.
- (erc-speedbar-insert-user): Change some visuals based on channel data.
- (erc-speedbar-line-text, erc-speedbar-item-info): New functions
Add proper elisp file header.
2003-10-02 Lawrence Mitchell <wence@gmx.li>
* erc-match.el(erc-match-syntax-table): New variable.
(erc-match-current-nick-p): Use it.
* erc.el(erc-quit-reason-zippy, erc-part-reason-zippy): Use
`erc-replace-regexp-in-string' rather than
`replace-regexp-in-string'.
(erc-command-indicator-face): New face, used to show commands if
`erc-hide-prompt' is nil and `erc-command-indicator' is non-nil.
(erc-command-indicator): Clean up doc-string.
(erc-display-prompt): New optional argument FACE, use this rather
than `erc-prompt-face' to fontify the prompt if non-nil.
(erc-send-current-line): Pass in `erc-command-indicator-face' to
`erc-display-prompt'.
* erc-compat.el(erc-replace-regexp-in-string): New function.
Alias for `replace-regexp-in-string' on Emacs 21.
Argument massaging for `replace-in-string' for XEmacs.
2003-09-28 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-keywords): Removed. Wasn't used by anything.
2003-09-25 Lawrence Mitchell <wence@gmx.li>
* erc.el: ERC-HIDE-PROMPT: add custom group
ERC-COMMAND-INDICATOR: new variable.
ERC-COMMAND-INDICATOR: new function.
ERC-DISPLAY-PROMPT: new argument, PROMPT, used to override default
prompt.
ERC-SEND-CURRENT-LINE: pass ERC-COMMAND-INDICATOR to ERC-DISPLAY-PROMPT.
2003-09-24 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-parse-line-from-server):
Ignore empty lines as required by RFC.
2003-09-17 Mario Lang <mlang@delysid.org>
* erc.el: Add lag time calculation
2003-09-13 Mario Lang <mlang@delysid.org>
* Makefile, debian/README.Debian, debian/changelog:
New debian release
* erc-notify.el:
Call erc-notify-install-message-catalogs on load, not on module init
* erc.el(erc-update-modules):
Use `load' instead of `require'. XEmacs appears
to have the NOERROR arg only sometimes... Strange
* erc.el: No fboundp if we have a defvar
* erc.el: Properly defvar erc-ping-handler
2003-09-11 Damien Elmes <erc@repose.cx>
* erc.el(erc-setup-periodical-server-ping):
check if erc-ping-handler is
bound before referencing it
2003-09-10 Mario Lang <mlang@delysid.org>
* erc.el(erc-cmd-NICK):
Warn about exceeded NICKLEN if we know it.
* erc.el: Make erc-server-PONG obey erc-verbose-server-ping.
Cancel old `erc-ping-handler' timer when restablishing connection in the same
buffer.
* debian/changelog, Makefile: New debian snapshot
* erc-dcc.el, erc-xdcc.el:
Use new function erc-dcc-file-to-name to convert spaces to underscores
* erc-xdcc.el: Add autoload for erc-xdcc-add-file
2003-09-08 Mario Lang <mlang@delysid.org>
* erc-dcc.el: indent fixes and copyright update
* erc.el:
erc-send-ping-interval: New defcustom which defaults to 60.
Every 60 seconds, we send PING now.
This should fix the "connection silently lost" bug.
Please test this change extensively, and report problems.
2003-09-07 Alex Schroeder <alex@gnu.org>
* erc.el(erc-default-coding-system):
Test for undecided and utf-8
before setting.
2003-09-01 Mario Lang <mlang@delysid.org>
* erc.el(erc-modules): Add some more symbols to the set
* erc.el(erc-modules): Add :greedy t to the set in
* erc-dcc.el:
More autoloads which make dcc autoload upon ctcp dcc query received.
* erc-dcc.el(erc-cmd-DCC): Add Autoload.
(pcomplete/erc-mode/DCC): Ditto, makes DCC autoloadable just by using
completion.
Also only offer "send" if fboundp make-network-process.
* erc-autojoin.el: Update copyright
* erc-autojoin.el(erc-autojoin-add):
Only add the channel if it is not already there.
* erc-notify.el:
Use `define-erc-module' instead of old `erc-notify-initialize'.
Now defines the global minor mode erc-notify-mode, and should also
be controllable via `erc-modules' with symbol `notify'.
* erc.el(erc-modules):
Fix paren-in-column-zero bug in docstring.
Add a sort of bogus, but still better :type.
Add autojoin and netsplit by default.
(erc-update-modules): Don't barf with an error if `require' fails.
We can still error out if the mode is not defined.
2003-08-31 Andreas Fuchs <asf@void.at>
* erc.el:
* make 353 (NAMES reply) output go into the appropriate channel buffer
(if it exists) or into the active erc buffer (if not).
2003-08-29 mtoledo <mtoledo@confusibombus>
* erc.el:
Added the variable erc-echo-notices-in-current-buffer to make possible display notices in the current buffer (queries to nickserv/chanserv/memoserv). Defaults to nil so nothing changes from what we have today.
2003-08-29 Mario Lang <mlang@delysid.org>
* erc.el: Fix typo in varname which led to a compiler warning
* AUTHORS: Added lawrence
2003-08-27 Mario Lang <mlang@delysid.org>
* erc-dcc.el:
Set process and file-coding system to 'binary (for Windows)
* erc-stamp.el: Rename custom group erc-timestamp to erc-stamp.
2003-08-07 Lawrence Mitchell <wence@gmx.li>
* erc-fill.el(erc-fill-disable):
Remove erc-fill, not erc-fill-static from
erc-insert-modify-hook.
2003-08-05 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-send-current-line):
Now we display the prompt for previously entered commands
based on the value of customization variable erc-hide-prompt. This change is
closely related to the immediate previous version by wencem.
2003-08-04 Lawrence Mitchell <wence@gmx.li>
* erc.el(erc-send-current-line):
If we're sending a command, don't display
the prompt.
2003-08-04 Damien Elmes <erc@repose.cx>
* erc-track.el: patch from David Edmondson (dme AT dme DOT org)
This patch makes button 3 on the erc-track buffer names in the
modeline show the selected buffer in another window. It's analogous to
button 2 which shows the buffer in the current window.
2003-07-31 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-display-line-1):
Fixed bad indentation on one line. No semantic change.
2003-07-29 Lawrence Mitchell <wence@gmx.li>
* erc-match.el:
Quote open paren in docstring of erc-text-matched-hook
* erc.el: Anchor match only at beginning in erc-ignored-user-p.
* erc-button.el: New variable erc-button-wrap-long-urls.
Modified erc-button-add-buttons:
New optional argument REGEXP.
If we're buttonizing a URL and erc-button-wrap-long-urls is
non-nil, try and wrap them
Modified erc-button-add-buttons-1:
Pass regexp to erc-button-add-buttons.
2003-07-28 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-network-name):
Improved docstring. Removed an unnecessary call to erc-server-buffer.
2003-07-28 Mario Lang <mlang@delysid.org>
* erc.el: By lawrence:
(erc-ignored-user-p): Use anchored regexp.
(smiley): Fix missing quote in `remove-hook' call.
2003-07-26 Francis Litterio <franl@users.sourceforge.net>
* erc-nets.el, erc-nickserv.el, erc.el:
Changed all references to Openprojects into references to Freenode.
2003-07-25 Francis Litterio <franl@users.sourceforge.net>
* erc.el:
Now variable erc-debug-irc-protocol is defvar'ed instead of defcustom'ed.
Made the docstring clearer too.
* erc.el: Fixed a wrong-type-argument error from window-live-p.
2003-07-15 Damien Elmes <erc@repose.cx>
* erc-log.el(erc-log-setup-logging):
set buffer-file-name to "", as (basic-save-buffer)
will prompt for a buffer name before invoking hooks. the buffer-file-name
will be overridden by (erc-save-buffer-in-logs) anyway - the main danger
of doing this is write-file-contents hooks. Let's see if anyone complains.
(erc-save-buffer-in-logs): return t, so that further write hooks are not run
2003-07-09 Damien Elmes <erc@repose.cx>
* erc-dcc.el(erc-dcc-open-network-stream):
-nowait still crashes emacs cvs - disable for now
2003-07-02 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc): Minor docstring modification.
2003-07-01 Damien Elmes <erc@repose.cx>
* erc-match.el(erc-match-current-nick-p):
match only on word boundaries
* erc-log.el(erc-log-setup-logging):
not sure how this crept in again - make sure we set
buffer-file-name to nil, since otherwise it is not possible to open
previous correspondence in another buffer while a conversation is open
2003-06-28 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-network-name):
Now makes some intelligent guesses if the server didn't tell
us the network name.
2003-06-28 Alex Schroeder <alex@gnu.org>
* erc.el(erc-default-coding-system): Use utf-8 as the default
encoding for outgoing stuff and undecided as the default for
incoming stuff.
(erc-coding-sytem-for-target): New.
(erc-encode-string-for-target): Use it.
(erc-decode-string-from-target): Use it. Removed the flet
erc-default-target hack and documented the dynamically bound
variable `target' instead.
2003-06-25 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-log-irc-protocol):
Now we keep point on the bottom line of the window
displaying the *erc-protocol* buffer if it is at the end of the
*erc-protocol* buffer.
* erc.el:
Added some text to the docstring for variable erc-debug-irc-protocol.
2003-06-23 Francis Litterio <franl@users.sourceforge.net>
* erc-dcc.el(erc-dcc-auto-mask-p):
Fixed a docstring typo that caused a load-time error.
* erc-dcc.el(erc-dcc-auto-mask-p):
Changed reference to undefined variable erc-dcc-auto-mask-list
to erc-dcc-auto-masks.
Changed default value of variable erc-dcc-auto-masks to nil and added text to its
docstring.
* erc-notify.el(erc-notify-timer and erc-notify-QUIT):
Added network name to notify_off message.
* erc.el(erc-network-name):
Now returns the name of the IRC server if the network name
cannot be determined.
* erc-notify.el(erc-notify-JOIN and erc-notify-NICK):
Added argument ?m to call to erc-display-message.
* erc-dcc.el(erc-dcc-do-LIST-command):
Fixed a bug where I assumed (plist-get elt :type)
returns a string -- it really returns a symbol.
* erc-notify.el(erc-notify-timer):
Now we include the network name in the notify_on message.
* erc.el:
New function: erc-network-name. Returns the name of the network that the
current buffer is associate with. Not every server sends the 005 messages
that enable the network name to be known. If the network name is
not known, the string "UNKNOWN" is returned.
* erc-dcc.el(erc-dcc-chat-setup):
Added a comment. Fixed a bug where a DCC CHAT buffer has no
prompt when it first appears.
* erc-dcc.el(erc-dcc-chat-parse-output):
Now a DCC chat buffer displays the nick using
erc-nick-default-face just like in a channel buffer.
2003-06-22 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-display-prompt):
Fixed incorrect indentation. No semantic change.
* erc.el(erc-strip-controls):
Minor change to regexp that matches IRC color control
codes. I was seeing usage as follows: ^C07colored text^C^C04other color.
Now we strip a ^C followed by zero, one, or two digits. Before this change,
we stripped a ^C followed by one or two digits.
* erc-dcc.el(erc-dcc-do-LIST-command):
Improved format of output of /DCC LIST. Now the
"Size" column for a DCC GET includes the percentage of the file that has
been retrieved.
(erc-dcc-do-GET-command): Now it works if erc-dcc-default-directory is set.
2003-06-19 Damien Elmes <erc@repose.cx>
* erc-log.el:
* added quickstart information to the comments up the top
2003-06-16 Mario Lang <mlang@delysid.org>
* erc.el:
Default to open-network-stream on MS Windows. (thanks lawrence)
2003-06-11 Damien Elmes <erc@repose.cx>
* erc.el(erc-process-input-line):
refactor so that wrong-number-of-arguments is
caught when using do-not-parse-args - this lets do-not-parse-args
commands display help messages on incorrect syntax in a uniform manner.
This no longer raises a bad-syntax error - was this a catch-all to stop a
backtrace? Does it belong?
(erc-cmd-APPENDTOPIC): the correct way to display help when you want to
accept an arbitrary string is to (signal 'wrong-number-of-arguments nil).
This fixes a bug where people could not /at topics with a space in them.
2003-06-09 Damien Elmes <erc@repose.cx>
* erc.el:
Re-add the last few changes which weren't merged for some reason.
* erc.el(erc-cmd-APPENDTOPIC): show help when given no arguments
Patch from MrBump. Fixes problem with erc-set-topic inserting ^C characters
into the topic. Also removes dependency on CL.
2003-06-08 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el:
Added comment to explain (eval-after-load "erc" '(erc-update-modules)).
2003-06-01 Mario Lang <mlang@delysid.org>
* erc-pcomplete.el: Add completion for /unignore
2003-05-31 Alex Schroeder <alex@gnu.org>
* erc-compat.el(erc-encode-coding-string): The default binding,
if encode-coding-string was not available, must be a defun that
takes multiple arguments. Did that.
2003-05-30 Mario Lang <mlang@delysid.org>
* erc.el:
Add handlers for 313 and 330 (by arne@rfc2549.org, thanks)
2003-05-30 Damien Elmes <erc@repose.cx>
* erc.el:
patch from MrBump to make /mode #foo +b work again (erc-cmd-BANLIST only
temporarily changes them now)
2003-05-29 Alex Schroeder <alex@gnu.org>
* erc.el(erc-select):
server is now defaulted with erc-compute-server.
A few cosmetic fixes.
(erc-default-coding-system): Renamed from erc-encoding-default.
(erc-encoding-default): Renamed to erc-default-coding-system.
(erc-encoding-coding-alist): Documentation updated to cover regexps.
(erc-encode-string-for-target): Now considers keys of
erc-encoding-coding-alist to be regexps. Rely on erc-compat
wrt. MULE support.
(erc-decode-string-from-target): New function.
(erc-send-current-line): eq -> char-equal fix.
(erc-server-TOPIC): topic is now decoded with
erc-decode-string-from-target.
(erc-parse-line-from-server): Line from server is no longer decoded
here.
(erc-server-PRIVMSG-or-NOTICE): Message from a user is decoded here,
sspec -> sender-spec for clarity. Cosmetic if -> when fix.
(erc-server-TOPIC): sspec -> sender-spec
(erc-server-WALLOPS): Ditto.
* erc-compat.el(erc-decode-coding-string):
Now requires coding-system as an argument.
2003-05-15 Mario Lang <mlang@delysid.org>
* erc.el:
erc-part|quit-hook is only run on a part|quit directed to our nick, reflect that in the docstring to avoid confusion
2003-05-01 Andreas Fuchs <asf@void.at>
* erc-truncate.el:
* erc-truncate-buffer-to-size: use fboundp. Scheme takes its toll...
2003-05-01 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-truncate.el: remove require of erc-log
(erc-truncate-buffer-to-size): use erc-save-buffer-in-logs when it's
there, else, don't.
2003-04-29 Andreas Fuchs <asf@void.at>
* erc-log.el, erc-truncate.el, erc.el: erc.el:
* erc-cmd-QUIT: Remove references to code in erc-log.el, to
not force autoloading of erc-log.el
* erc-server-PART: ditto.
* erc-quit-hook: new hook, run when /quit command is
processed.
* erc-cmd-QUIT: use it.
* erc-part-hook: new hook, run then PART message is
processed.
* erc-cmd-PART: use it.
* erc-connect-pre-hook: new hook, run before connection to IRC
server is started.
* erc: use it.
* erc-max-buffer-size: Move truncation variables and functions
to erc-truncate.el
* erc-truncate-buffer-on-save: moved to erc-log.el
* erc-initialize-log-marker: new function.
* erc-log.el:
* erc-truncate-buffer-on-save: New defcust here; from erc.el
* erc-truncate-buffer-on-save: Put it in group `erc-log'
* erc-log-channels-directory: Remove trailing slash from
default value.
* Add functions to erc-connect-pre-hook, erc-part-hook and
erc-quit-hook to avoid getting autoloaded.
* erc-truncate.el:
* Contains the truncation functions and defcusts from erc.el.
* define-erc-module clause added; new erc-truncate-mode.
2003-04-29 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc):
Check whether erc-save-buffer-in-logs is bound, too
* erc.el(erc):
Check whether erc-logging-enabled is bound before using it - not
everyone is using erc-log.el!
2003-04-28 Andreas Fuchs <asf@void.at>
* erc-log.el:
* while we're at it, remove the (declare (ignore ignore)) statements.
* erc-log.el:
* add autoload statement for erc-log-mode/etc. Sorry for the delay.
* erc-log.el, erc.el: * erc.el:
- move variables and functions to erc-log.el:
defgroup `erc-log'
defcustom `erc-log-channels-directory'
defcustom `erc-log-insert-log-on-open'
defcustom `erc-generate-log-file-name-function'
defun `erc-save-buffer-in-logs' (autoloads from erc-log.el)
defuns `erc-generate-log-file-name-*'
defun `erc-current-logfile'
defun `erc-logging-enabled' (autoloads from erc-log.el)
- erc-truncate-buffer-to-size: fix for double-saving bug when
writing out truncated buffer contents. Thanks, lawrence mitchell <wence@gmx.li>!
- erc-remove-text-properties-region: Fix case for read-only text.
- erc-send-current-line: update insert-marker before calling the hooks.
also, wrap (erc-display-prompt) so that it doesn't toggle
buffer-modified-p.
- erc-interpret-controls: remove /very/ old commented-out function
- erc-last-saved-position: make it a marker
- erc: use it.
* erc-log.el: (thanks, lawrence mitchell <wence@gmx.li>!)
- Move logging code from erc.el here
- define-erc-module log: add; minor mode erc-log-mode is the
same as adding the `erc-save-buffer-in-logs' to
erc-send-post-hook and `erc-insert-post-hook'.
- erc-w32-invalid-file-characters: add.
- erc-enable-logging: add.
- erc-logging-enabled: use it.
- erc-logging-enabled: autoload.
- erc-save-buffer-in-logs: fix for truncating saved buffer with read-only text.
- erc-save-buffer-in-logs: use erc-last-saved-position.
- erc-save-buffer-in-logs: fix saving half-written messages on
the prompt when saving the log file. (simply uses
erc-insert-marker as an upper bound for saving).
2003-04-27 Damien Elmes <erc@repose.cx>
* erc.el: erc-modules: added
2003-04-27 Alex Schroeder <alex@gnu.org>
* Makefile(UNCOMPILED): Added erc-compat.el.
(clean): Remove .elc files, too.
Patch by Hynek Schlawack <hynek+erc@hys.in-berlin.de>
2003-04-22 Damien Elmes <erc@repose.cx>
* erc-button.el:
erc-button-keymap: set the parent keymap to erc-mode-map
2003-04-20 Damien Elmes <erc@repose.cx>
* erc.el:
erc-official-location: shouldn't the official location be the base URL of erc?
* erc.el:
erc-modules: updated the docstring to make the semantics clearer
2003-04-19 Mario Lang <mlang@delysid.org>
* erc.el:
Fix problem where % in NOTICE produced errors (from mmc)
2003-04-18 Damien Elmes <erc@repose.cx>
* erc.el(erc-toggle-debug-irc-protocol):
moved a reference to 'buf' inside the let
statement which defines it. it's difficult to tell what the original
intentions were here - at the moment the debug window is displayed when
toggling either way.
* README, erc.el:
(erc-update-modules: added a condition in for erc-nickserv -> erc-services
* erc-pcomplete.el:
- that change to erc-update-modules making it require the modules first means
we don't need any special case handling here, so i reverted the previous
change
* erc.el:
- don't require 'erc-auto, since windows users don't have access to make.
instead, we handle it in (erc-update-modules)
2003-04-17 Damien Elmes <erc@repose.cx>
* README, Makefile:
Updated Makefile and documentation to reflect the new release
* erc.el:
- note the previous change also updated the release number to erc 4.0!
(erc-connect): fix a bug introduced by the previous release
* erc.el:
fixed about 20 instances of (message (format ...)) which will break if the
format returns a string with %s in it
* erc.el: erc-error-face: make it red, not pink
* erc-pcomplete.el:
since pcomplete is autoloaded via erc-completion-mode, and completion is in
erc-modules by default, we remove completion when pcomplete is added
* erc.el(define-erc-module): no need for delete, use delq
* erc-members.el(erc-nick-channels):
(erc-person-channels) takes one arg
(erc-format-user): again, they all take an arg
* erc.el:
- require erc-auto when loading, so the default `erc-modules' can be loaded.
this makes erc-auto no longer a convenience but a necessity - all the name
of user friendliness.
(define-erc-module): the enable and disable routines now update erc-modules
accordingly
erc-modules: new variable controlling the modules which erc has loaded/will
load. when customizing, it will automatically enable modules. it won't
automatically disable modules which are removed, yet.
(erc-update-modules): enable all modules in `erc-modules'
* erc-dcc.el(erc-dcc-open-network-stream):
use the -nowait equiv if available
erc-dcc-server-port: removed
erc-dcc-port-range: allows a range of values, so you can have more than one
dcc
(erc-dcc-server): support erc-dcc-port-range
(erc-dcc-chat): use OCHAT for outgoing chat for now. we need to fix the
issues with allowing more than one chat with the same person
* erc.el:
erc-log-channels: removed; set the directory to start logging
(erc-directory-writeable-p): create directory if it doesn't exist, check if
it's writable
(erc-logging-enabled): don't reference erc-log-channels
2003-04-07 Damien Elmes <erc@repose.cx>
* erc.el(erc):
but when inserting the contents of a previous logfile, use the logfile
name, not ""!
* erc.el(erc):
set buffer-file-name to "", since we have a custom saving function and
it's not needed. this enables one to open a log file with previous
correspondence, while talking to the person at the same time
2003-03-29 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-prepare-mode-line-format):
Now strips all text properties from the target before
putting it in the mode line. Keeps the mode line looking consistent.
(erc-channel-p): Improved docstring.
2003-03-28 Alex Schroeder <alex@gnu.org>
* erc.el(erc-generate-log-file-name-with-date): New function.
(erc-generate-log-file-name-function): Make it available.
2003-03-24 Mario Lang <mlang@delysid.org>
* erc.el:
Fix erc-prompt and erc-user-mode custom :type (Closes: #185794)
2003-03-20 Damien Elmes <erc@repose.cx>
* erc.el:
erc-server-hook-list: correct documentation of ordering of (proc parsed)
2003-03-16 Alex Schroeder <alex@gnu.org>
* erc-track.el(erc-modified-channels-string):
Make it a risky-local-variable.
2003-03-16 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-track.el(erc-track-modified-channels):
Use (point-min) if we don't find a
parsed-property, so it won't error out with nil...
2003-03-16 Damien Elmes <erc@repose.cx>
* erc-track.el(erc-track-switch-buffer):
removed call to erc-modified-channels-update, as
this is done correctly on buffer switching in both emacs and xemacs now
2003-03-15 Damien Elmes <erc@repose.cx>
* erc-track.el(erc-find-parsed-property):
simplified a little, so it shouldn't return nil anymore
* erc.el: erc-send-post-hook: document narrowing which occurs
2003-03-14 Alex Schroeder <alex@gnu.org>
* erc-track.el(erc-find-parsed-property): New function.
(erc-track-modified-channels): Use it instead of relying on
point-min.
2003-03-12 Mario Lang <mlang@delysid.org>
* erc.el:
Fix erc-set-topic to accept a channel name as first word
2003-03-11 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-dcc.el:
Small patch (<10 lines, also slightly modified by Jorgen Schäfer) from
David Spreen <netzwurm@debian.org> to add hostmask-authentication to
DCC auto-accept.
erc-dcc-auto-mask-list: New variable
(erc-dcc-handle-ctcp-send): Check erc-dcc-auto-mask-list
(erc-dcc-auto-mask-p): New function
erc-dcc-send-request: Docstring now mentions erc-dcc-auto-mask-list
2003-03-10 Francis Litterio <franl@users.sourceforge.net>
* erc-ring.el(erc-clear-input-ring):
New function. Erases the contents of the input ring for
the current ERC buffer.
2003-03-08 Francis Litterio <franl@users.sourceforge.net>
* erc.el:
(erc-display-line-1) and (erc-send-current-line): Now these functions reset erc-insert-this
to t as soon as possible after consuming the value of that variable. See the comments in
the code for the strange symptom this fixes.
(erc-bol): Changed to call point-at-eol instead of line-end-position. This increases XEmacs
portability, since XEmacs doesn't have line-end-position. Patch suggested by Scott Evans
on the ERC mailing list.
2003-03-04 Damien Elmes <erc@repose.cx>
* erc.el: banlist*: patch from mrbump to avoid using cl packages
2003-03-04 Francis Litterio <franl@users.sourceforge.net>
* erc.el:
Changed erc-noncommands-list from a constant to variable, so that users can
add their own erc-cmd-* functions to the list. Improved the docstring too.
2003-03-02 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-server-353):
Now the output of "/NAMES #channel" appears in the currently
active ERC buffer, even if the user is not a member of #channel.
* erc.el(erc-cmd-DEOP):
Fixed a syntax error: invalid read syntax ")" caused by my last change.
2003-03-01 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-cmd-DEOP):
Fixed a wrong-type-argument error caused by calling split-string
on a list instead of on a string. Removed the call to split-string entirely,
because it wasn't needed.
* erc.el(erc-cmd-HELP):
Changed to use intern-soft instead of intern. Now "/HELP floob"
doesn't create a void function symbol erc-cmd-FLOOB.
2003-02-25 Damien Elmes <erc@repose.cx>
* erc.el(erc-cmd-SERVER):
remove erroneous references to line, use server instead
2003-02-23 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-toggle-debug-irc-protocol):
Fixed a bug where the global value of
kill-buffer-hook was being modified instead of the buffer-local value.
2003-02-22 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-cmd-KICK):
Now supports any number of words in the REASON string. Examples
of the /KICK command are:
/KICK franl You don't belong here
/KICK franl Bye
/KICK franl
/KICK #channel franl Go away now
/KICK #channel franl Bye
/KICK #channel franl
2003-02-16 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-stamp.el(erc-insert-timestamp-right):
Make the timestamp rear-nonsticky, so
C-e works at the beginning of the next line.
2003-02-16 Andreas Fuchs <asf@void.at>
* erc-stamp.el:
* s/choose/choice/ in customize options, as kensanata requested.
2003-02-15 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-toggle-debug-irc-protocol):
Now if the *erc-protocol* buffer is killed,
logging is turned off. Prior to this change, the buffer would come back
into existence (generally unbeknownst to the user) after being killed.
2003-02-11 Damien Elmes <erc@repose.cx>
* erc.el(erc-send-current-line):
we can't inhibit everything here when not connected,
as the user will expect commands like /server still to work. the
erc-cmd-handler should recover from errors instead
2003-02-10 Damien Elmes <erc@repose.cx>
* erc.el:
* we now run erc-after-connect on 422 (no motd) messages as well as the motd
messages
(erc-login): revert the previous change
* erc.el(erc-login): register that we're connected
2003-02-10 Mario Lang <mlang@delysid.org>
* erc-members.el: * Provide erc-members
* Fix excessive )
* Comment out broken self-tests
2003-02-07 Damien Elmes <erc@repose.cx>
* erc.el(erc-connect):
notify the user we're trying to connect when using asych
connections
* erc.el(erc-connect): support an asynchronous connection
(erc-process-sentinel): ditto
* erc-track.el:
* advise switch-to-buffer in the case of xemacs, since it doesn't have
window-configuration-change-hook
* erc.el(erc-send-current-line):
if not connected, refuse to send either a message or
a command
* erc.el: (erc-save-buffer-in-logs):
- check for a sensible region before saving the buffer. if the
connection process is killed early on, there is not a sensible region
to save
- don't set buffer-file-name on save. we don't need it, and it means we
can now find-file a log while an existing query is open with that
user
* erc.el(erc-process-input-line):
when displaying the help for a function, if no
documentation exists, don't fall over
(erc-cmd-SAY): new function for quoting lines beginning with /
(erc-server-NICK):
- fix a bug where the "is now known as" message doesn't appear on newly
created /query buffers
- when a user changes their nick, update the query to point to the new
nick
* erc.el(erc-send-current-command):
don't reject multi-line commands. since
multiline-p is used as the no-command arg to erc-process-current-line,
multi-line text is never interpreted as a command. i believe this is the
correct behavior - it allows people to post the output of things like df
(sans header). if you want to change this, please provide a rationale
in the changelog
* erc.el(erc-send-current-line):
only match the first line when determining if a
multi-line command is allowed
2003-02-07 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-bbdb.el(erc-bbdb-highlight-record):
Use alternate strings, not character
classes to split the nick-field.
2003-02-06 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-process-sentinel):
Now we set erc-connected to nil every time we disconnect
from a server, not just when an unexpected disconnect happens.
* erc.el(erc-connected):
Removed redundant defvar of this variable. Improved the
docstring.
(erc-login): Changed to send a correct RFC2812 USER message (see section
3.1.3 of RFC2812 for the documentation of the semantics of each argument
of the USER message.
2003-02-02 Damien Elmes <erc@repose.cx>
* erc.el(erc-cmd-NOTICE): fix from mrbump
2003-01-31 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-cmd-JOIN):
Now we only send one JOIN command to the server when a channel
key is provided.
2003-01-30 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-remove-channel-member):
Fixed so that it runs erc-channel-members-changed-hook
with the channel buffer current, as is documented in the docstring for variable
erc-channel-members-changed-hook: "The buffer where the change happened is
current while this hook is called."
2003-01-28 Francis Litterio <franl@users.sourceforge.net>
* erc.el:
(erc-ignored-user-p),(erc-cmd-IGNORE),(erc-cmd-UNIGNORE): Now nicks are ignored
on a per-server basis. Now, erc-ignore-list is only valid in server
buffers! Do not reference it in channel buffers.
* erc.el(erc-cmd-IGNORE):
Now says "Ignore list is empty" if it erc-ignore-list is empty
instead of showing an empty list.
2003-01-25 Alex Schroeder <alex@gnu.org>
* erc-nickserv.el(services): Defined a module
2003-01-25 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-process-ctcp-query):
Display recipient of CTCP query if it's not
our current nick.
* erc.el(erc-cmd-WHOIS):
Accept an optional second argument SERVER.
2003-01-25 Alex Schroeder <alex@gnu.org>
* erc-stamp.el(stamp): erc-add-timestamp must always be added
with the APPEND parameter -- not only when adding it on the right.
2003-01-24 Alex Schroeder <alex@gnu.org>
* erc-members.el(erc-channel-members-changed-hook): Obsolete, use
erc-members-changed-hook instead. When it is set, add its content
to erc-members-changed-hook.
(erc-update-channel-member): Obsolete, use erc-update-member
instead. Defalias to that effect.
(erc-remove-channel-member): New and already obsolete. Use
erc-remove-nick-from-channel instead.
(erc-update-channel-info-buffer): Obsolete, use ignore instead.
Yes, these have to go.
(erc-channel-member-to-user-spec): Obsolete, use erc-format-user
instead.
(erc-format-user): New.
(erc-ignored-reply-p): New, use it.
* erc-members.el:
Further along the way. Any function from erc.el that uses
channel-members should end up in this file, rewritten to use
erc-members.
(erc-person): Call erc-downcase before getting
something from the hash.
(erc-nick-in-channel): Checking whether erc-process must be used is
unnecessary -- this will be done in erc-person.
(erc-nick-channels): New.
(erc-add-nick-to-channel, erc-update-member): Call erc-downcase
before putting something into the hash.
(erc-buffer-list-with-nick): New.
(erc-format-nick, erc-format-@nick): New, backwards incompatible.
Must check for other places that call these!
(erc-server-PRIVMSG-or-NOTICE): Use the new version.
* erc-compat.el(view-mode-enter): defalias to view-mode, if
view-mode-enter is not fboundp and view-mode is -- as is the case
in XEmacs. We need view-mode-enter in erc-match.el.
2003-01-23 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-default-server-handler):
Minor performance improvement: allow the lambda
expression to be byte-compiled.
2003-01-23 Damien Elmes <erc@repose.cx>
* erc.el(erc-cmd-BANLIST):
in the absence of a fill-column, use the screen width
2003-01-22 Damien Elmes <erc@repose.cx>
* erc.el:
patch from MrBump to delay fetching the banlist until /bl is run, so we don't
fetch it when joining a channel anymore
* erc-ring.el:
* instead of adjusting hooks when loaded, provide (erc-ring-mode). you'll
need to run (erc-ring-mode 1) now to get the ring
* (erc-previous-command), (erc-next-command):
- check if the ring exists and create it if necessary
- don't do anything if the ring is empty
* erc-pcomplete.el:
Put "how to use" documentation in the comments up the top
2003-01-21 Alex Schroeder <alex@gnu.org>
* erc-autojoin.el(erc-autojoin-version): New.
* erc-autojoin.el(erc-autojoin-add): Added body.
(erc-autojoin-remove): Added body.
(erc-autojoin): Provide it.
2003-01-21 Damien Elmes <erc@repose.cx>
* erc.el: erc-cmd-*: removed a bunch of references to force
2003-01-21 Alex Schroeder <alex@gnu.org>
* erc-autojoin.el(erc-autojoin-channels-alist): More doc.
2003-01-20 Alex Schroeder <alex@gnu.org>
* erc-autojoin.el:
new, based on resolve's mail, and the stuff on the wiki
* erc-members.el: new
2003-01-19 Mario Lang <mlang@delysid.org>
* debian/README.Debian, debian/changelog, debian/scripts/install,
debian/scripts/startup.erc, Makefile:
Prepare for 20030119 debian package
* erc-dcc.el: <rant>
* (erc-decimal-to-ip): Since XEmacs decides that return a completely
and utterly wrong number from string-to-number if it is larger than
the integer boundary, instead of sanely converting the thing to
a float, we now (concat dec ".0").
</rant>
* erc.el:
* (erc-log-irc-protocol): Use erc-propertize, not propertize
2003-01-19 Alex Schroeder <alex@gnu.org>
* erc-button.el(erc-button-add-buttons): Added regexp-quote for
the list case, too.
2003-01-19 Damien Elmes <erc@repose.cx>
* erc-dcc.el(erc-dcc-member): fix for case where a prop is nil
* erc-dcc.el(erc-dcc-member):
fix for xemacs's version of plist-member
2003-01-19 Mario Lang <mlang@delysid.org>
* erc-notify.el: Delete empty strings from the ison-list
* erc-track.el:
* (erc-track-switch-buffer): Call erc-modified-channels-update here.
* erc-track.el: * toplevel: require 'erc-match
* erc-track.el: * (erc-track-mode): Make autoload interactive
* erc-button.el: * (button): Make the autoload interactive
* erc.el:
* (erc-mode): Comment out the case-table stuff, breaks xemacs
* (erc-downcase): Revert.
* erc-dcc.el:
* (erc-dcc-handle-ctcp-send): Use erc-decimal-to-ip on the ip we get...
* erc-speak.el:
Eliminate reference to erc-nick-regexp, which no longer exists
2003-01-19 Alex Schroeder <alex@gnu.org>
* erc-stamp.el(erc-timestamp-right-column): New, default nil.
(erc-insert-timestamp-right): Use it, if non-nil. Verbose
doc string.
2003-01-18 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-downcase): Use the old behavior in non-CVS Emacs.
* erc.el(erc-cmd-QUIT): Remove &rest. The correct fix follows.
(erc-cmd-GQUIT): Pass "" to erc-cmd-QUIT.
(erc-mode): Use the case-table only in CVS Emacs. See comment.
* erc.el(erc-cmd-QUIT): make reason optional.
* erc.el(erc-cmd-GQUIT): Fixed typo.
2003-01-17 Mario Lang <mlang@delysid.org>
* erc.el:
* (erc-current-logfile): call expand-file-name, so that downcase doesn't mess up ~
* erc.el: * (erc-mode): Define a proper case-table.
* (erc-downcase): just call downcase for now, let's see if the case-table is portable, if yes, we'll remove all erc-downcase references anyway...
* erc-button.el: * (erc-button-add-buttons): regex-quote the nick
2003-01-17 Alex Schroeder <alex@gnu.org>
* erc-button.el(button): erc-channel-members-changed-hook no
longer has erc-recompute-nick-regexp.
(erc-button-alist): Use channel-members instead of
erc-nick-regexp.
(erc-button-add-buttons): Split some code into
erc-button-add-buttons-1, and now handle strings, lists, and
alists. Regular expressions in lists and alists are enclosed in
< and >.
(erc-button-add-buttons-1): New.
(erc-nick-regexp): Deleted.
(erc-recompute-nick-regexp): Deleted.
* erc-button.el: Remove require cl again.
(erc-mode-map): No longer bind widget-backward and widget-forward.
(erc-button-alist): Explain why byte-compiling makes no sense, and
remove all calls to byte-compile.
(erc-button-keymap): Define it the standard way, without exposing
the list nature of the keymap.
(erc-button-marker-list): Deleted.
(erc-button-add-buttons): Simplify. In particular, create the
button using the real callback, instead of using the intermediate
erc-button-push, and only store the data as described for
erc-button-alist.
(erc-button-remove-old-buttons): Simplify. No more list munging.
Instead, just remove all the properties that we add in
erc-button-add-button.
(erc-widget-press-button): Deleted.
(erc-button-click-button): New, for mouse clicks. Moves point to
where the mouse is, and calls erc-button-push.
(erc-button-push): Instead of matching again, just use the
erc-callback and erc-data properties at point to do the right
thing.
(erc-button-entry): Deleted.
(erc-button-next): Use error instead of the beep plus message
combo.
2003-01-17 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-autoaway.el(erc-autoaway-set-back):
Don't pass a force argument to erc-cmd-GAWAY.
* erc.el(erc-cmd-AWAY): Removed usage of the force variable.
2003-01-17 Alex Schroeder <alex@gnu.org>
* erc-button.el(button):
erc-recompute-nick-regexp is no longer added to
erc-channel-members-changed-hook unconditionally, but only if
erc-button-mode is enabled, and if it is disabled, it is removed
again.
(erc): Require cl for delete-if.
(erc-button-remove-old-buttons): Rewrote using delete-if to
prevent excesive consing. Having the marker list is still ugly,
so another solution needs to be found.
2003-01-17 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-banlist-store):
Don't assume there's always a setter in the banlist reply.
2003-01-17 Alex Schroeder <alex@gnu.org>
* erc-button.el(erc-button-url-regexp): Changed regexp according
to a suggestion by Max Froumentin <mf@w3.org>.
2003-01-17 Mario Lang <mlang@delysid.org>
* erc.el:
fix erc-remove-channel-member again to not error out on nil as first arg...
* erc.el: * (erc-occur): New function
2003-01-17 Damien Elmes <erc@repose.cx>
* erc.el: erc-banlist-*: return nil so further hooks are called
* erc.el(erc-server-368):
suppress "end of ban list" messages - use /listbans now
* erc.el(erc-send-current-line):
removed the check for leading whitespace again - the
only time we want to prohibit multi-line commands is if / is the first
thing on the line
(erc-get-arglist): new defun for reading a function's arglist which should
work with older copies of emacs. we use help-function-arglist if it's
available, though, since that has support for reading subrs, etc
* erc.el(erc-cmd-JOIN): fixed (again)
* erc.el: * fixed call to erc-cmd-NICK when connecting
* support for listing bans and mass unbanning, again thanks to MrBump
* erc.el(erc-set-topic):
patch from MrBump (Mark Triggs, mst@dishvelled.net) to strip
control chars and topic attribution in C-c C-t
2003-01-16 Mario Lang <mlang@delysid.org>
* erc.el:
* (erc-remove-channel-member): Do not use delq, modify the list using setcdr like delq does.
In theory, this should be way faster since the list doesn't get traverse two times.
Measurement didn't show any real difference though :(, this system is flawed for channels with >300 users it seems...
Also moved some defcustoms up.
2003-01-16 Brian P Templeton <bpt@tunes.org>
* erc.el: moved misplaced paren
2003-01-16 Damien Elmes <erc@repose.cx>
* erc.el(erc-cmd-UNIGNORE):
reference argument directly - no string matching
* erc.el(erc-extract-command-from-line):
hmm, thinko in the canonicalization. should
be fixed
2003-01-16 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-send-current-line):
Changed the regexp used to match /COMMANDs so that leading
whitespace is taken into account.
2003-01-16 Mario Lang <mlang@delysid.org>
* erc-dcc.el: * (erc-dcc-do-SEND-command): Fix it
* erc-ezbounce.el, erc-lang.el: Arglist changes...
* erc.el: Various docstring fixes and additions.
* erc-notify.el:
* (erc-cmd-NOTIFY): Change the function arglist to (&rest args)
* erc-netsplit.el: * (erc-cmd-WHOLEFT): Has no args...
2003-01-16 Damien Elmes <erc@repose.cx>
* erc-fill.el:
erc-fill-column: default to 78, so things like docstrings don't get wrapped
in an ugly manner
2003-01-16 Mario Lang <mlang@delysid.org>
* erc.el:
* (erc-cmd-default): Take a substring, now /mode works again.
* (erc-cmd-AWAY): Put do-not-parse-args t
* (erc-cmd-GAWAY): Ditto, and fix it.
* (erc-cmd-CTCP): Switch to argument system.
* (erc-cmd-KICK): Do the same.
2003-01-15 Mario Lang <mlang@delysid.org>
* erc-dcc.el:
* (erc-cmd-DCC): Fixed for the new scheme, simplified.
* (erc-dcc-do-CHAT-command): Ditto.
* (erc-dcc-do-CLOSE-command): Ditto.
* (erc-dcc-do-LIST-command): Ditto.
2003-01-15 Damien Elmes <erc@repose.cx>
* erc.el:
erc-error-face: setting a background doesn't work so well with multi-line
messages, so we don't. fg color is negotiable ;-)
(erc-cmd-QUERY): fixed, new doco, suppress (erc-delete-query) until we fix it
(erc-send-current-line): allow multi-line messages provided they don't start
with a slash - there's no need to prohibit them if the slash isn't the
first character
* erc.el: * bad-syntax now reports like incorrect-args
* bunch of extra cmds fixed, nick, sv etc.
* erc.el(erc-cmd-HELP): fixed
(erc-extract-command-from-line): when determining canon-defun, make sure we
have a valid symbol
(erc-cmd-KICK): fixed
* erc.el:
* removed duplicate do-no-parse-args properties for the defaliased defuns
(erc-process-input-line): show function signature when incorrect args
(erc-extract-command-from-line): canonicalize defaliases before extracting
plist
(erc-cmd-CLEAR): fixed
(erc-cmd-UNIGNORE): fixed again
* erc.el(erc-cmd-SET): fixed
(erc-cmd-UNIGNORE): fixed
(erc-process-input-line): report when incorrect arguments are provided to a
command, and show the command's docstring
* erc.el(erc-cmd-APPENDTOPIC): fixed
(erc-process-input-line): more informative error message than 'bad syntax'
2003-01-15 Mario Lang <mlang@delysid.org>
* erc.el: * (erc-cmd-IGNORE): fixed
* erc.el: * (erc-cmd-NAMES): fixed
* erc.el:
* (erc-cmd-CLEARTOPIC): Simplify, fix doc, make interactive
2003-01-15 Damien Elmes <erc@repose.cx>
* erc.el(erc-cmd-JOIN):
correct invite behavior, and document it.
2003-01-15 Mario Lang <mlang@delysid.org>
* erc.el: * (erc-cmd-PART): Put 'do-not-parse-args t
2003-01-15 Damien Elmes <erc@repose.cx>
* erc.el(erc-cmd-JOIN): new cmd argument syntax
(erc-process-input-line): check if (erc-extract-command-from-line) returned a
list, and apply if that's the case
* erc.el:
erc-cmd-*: remove optional force and references to `force' in the code
(erc-cmd-AMSG): call erc-trim-string, not trim-string
2003-01-15 Mario Lang <mlang@delysid.org>
* erc.el:
* (erc-cmd-CLEARTOPIC): LINE is now ARGS and already parsed.
Set erc-cmd-TOPIC to 'do-not-parse-args for now.
(comment: I think we should have 'first, so that only first word is parsed...
Or we could autodetect erc-channel-p in the parser before that somehow...)
* erc.el: * (erc-cmd-OP): LINE is PEOPLE now, and already parsed.
* erc-notify.el:
* (erc-cmd-NOTIFY): Arg LINE is now ARGS, and already parsed.
2003-01-15 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-stamp.el(erc-insert-timestamp-right):
Prefer erc-fill-column to window-width,
because on wide screens the timestamp could wander off too far to the
right.
2003-01-15 Mario Lang <mlang@delysid.org>
* erc.el: This is the "everything is suddenly broken!" release
You know, this is CVS, you can still go back, and wait until the transition
is finished, but here is patch one, which basically breaks every command
which is typed on the prompt.
Hit me, we can still revert, but something needs to be done about this.
* (erc-extract-command-from-line): intern-soft the function here.
If the function symbol has a property 'do-not-parse-args, operate as before,
otherwise, split the arguments prior to calling the command handler.
* (erc-process-input-line): Updated to accommodate the change above.
* (erc-send-distinguish-noncommands): Ditto.
* (erc-cmd-NAMES): Ditto.
* (erc-cmd-ME): Put 'do-not-parse-args property.
* erc-dcc-list: Renamed
* (erc-dcc-member). Treat :nick as either a nick!user@host or nick,
do appropriate comparisons, simplified.
* (erc-dcc-list-add): New functions
various callers of (cons (list ...) erc-dcc-list) updated.
Other stuff I'm too bored to document now
2003-01-15 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-stamp.el(erc-insert-timestamp-right):
Removed redundant code that overrid the
window-width. Now subtracts (length string) from every found
indentation positions.
2003-01-14 Mario Lang <mlang@delysid.org>
* erc.el:
* (erc-cmd-AMSG): Remove useless call to erc-display-message.
* erc-dcc.el:
* erc-dcc-chat/send-request: New variables, control how to treat
incoming dcc chat or send requests. Can be set to 'ask, which behaves
like it did before, 'auto, which accepts automatically, and
'ignore, which ignores those type of requests completely.
* (erc-cmd-CREQ): New user-level command.
* (erc-cmd-SREQ): Ditto.
* erc.el: * (erc-cmd-AMSG). New command.
* erc-xdcc.el: * (erc-xdcc): delete empty strings from ARGS
* erc-dcc.el: * erc-dcc-ipv4-regexp: New constant
* (erc-ip-to-decimal): Use it.
* erc-dcc-host:valid-regexp erc-dcc-ipv4-regexp:
* erc-dcc-host: :type
* (pcomplete/erc-mode/DCC): Add completion for GET and CLOSE.
* Some docstring/comment fixes.
* erc-stamp.el:
* (erc-insert-timestamp-right): Subtract (length string) from
POS in any case, otherwise, linewrap occurs.
* erc-dcc.el:
* Fixed the unibyte-multibyte problem (now a dcc get buffer is (set-buffer-multibyte nil),
and saves correctly (tried with 21.3.50)). Thanks to Eli for suggesting it!
* Added :start-time plist property/value to GET handling so that we can calculate elapsed-time.
* Some (unwind-protect (progn (set-buffer ...) ...)) constructs replaced with (with-current-buffer ...)
2003-01-13 Mario Lang <mlang@delysid.org>
* erc-xdcc.el:
* erc-xdcc-help-text: New variable which makes replies to the originator
much more flexible.
* erc-xdcc-help-format: Removed.
* (erc-xdcc-help): Handle the new variable.
* (erc-xdcc): Simplified
* erc-xdcc.el: * erc-xdcc-handler-alist: New variable.
* (erc-xdcc): Move code for list and send sub-commands into
* (erc-xdcc-help): New function.
* (erc-xdcc-list): New function.
* (erc-xdcc-send): New function.
2003-01-12 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-server-JOIN):
Oops, send MODE command only when *we* joined a channel.
* erc.el:
Fixing ERCs behavior wrt IRCnet's !channels have a different name for
JOIN than in reality (e.g. you can join !forcertest or !!forcertest
and really get to !ABCDEforcertest)
(erc-cmd-JOIN): Removed erc-send-command MODE.
(erc-server-JOIN): Ask for MODE now.
2003-01-12 Damien Elmes <erc@repose.cx>
* erc-dcc.el:
(erc-dcc-get-filter), (erc-dcc-get-file): store size as a string, not an
integer. check size > 0 for the case where a size wasn't provided, since
string-to-int will return 0 on an empty string
2003-01-12 Mario Lang <mlang@delysid.org>
* erc-dcc.el: * Use RAWFILE arg with find-file-noselect
* Fix alist/plist conversion left-over
* Add verbose-info about sending blocks.
2003-01-11 Mario Lang <mlang@delysid.org>
* erc-dcc.el: * (pcomplete-erc-mode/DCC): Fixes
* erc-xdcc.el: Initial version.
* erc-pcomplete.el:
* (erc-pcomplete): Fix so that cycle-completion works again.
* (pcomplete-parse-erc-arguments): If there is a space after the last word
before point, we need to return a "" arg, and it's position.
* erc-dcc.el: Fix to pcomplete/erc-mode/DCC
* erc-dcc.el: * (pcomplete/erc-mode/DCC): New function
* erc-dcc.el: *** empty log message ***
* erc-dcc.el: Move code around, just basic changes
2003-01-11 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-stamp.el(erc-insert-timestamp-right):
Check whether erc-fill-column is
available before using it. Else default to fill-column or if
everything else fails, the window width of the current window. For the
fill-columns, use them directly as the starting position for the
timestamp.
2003-01-11 Andreas Fuchs <asf@void.at>
* erc-stamp.el:
erc-insert-timestamp-right: use correct window's window-width. If
buffer is not in a window, use erc-fill-column.
2003-01-11 Mario Lang <mlang@delysid.org>
* erc-dcc.el (erc-dcc-do-LIST-command): Fix
* erc-dcc.el:
* buffer-local variables erc-dcc-sent-marker and erc-dcc-send-confirmed marker removed
Keep This info in erc-dcc-member :sent and :confirmed plist values
:buffer plist for :type 'SEND removed, since we can get this with (marker-buffer
* erc-dcc-send-connect-hook: New hook, defaults to erc-dcc-send-block and erc-dcc-send-connected, which now prints a msg...
* erc-dcc.el:
* (erc-dcc-chat-accept): Renamed from erc-dcc-chat. Callers updated.
* (erc-dcc-chat): Renamed from erc-dcc-chat-request.
Callers updated, and interactive form added.
* (erc-dcc-server-accept): No longer do any type-specific stuff.
* (erc-dcc-chat-sentinel): Call erc-dcc-chat-setup if event is "open from "
from here, otherwise call erc-dcc-chat-close.
* (
* erc-dcc.el: *** empty log message ***
* erc-dcc.el: Moved some functions around.
Doc string fixes.
"/dcc send nick filename" works now
2003-01-11 Alex Schroeder <alex@gnu.org>
* erc.el(erc-send-command): Fixed flood protect message.
* erc-button.el(erc-button-syntax-table): Make `-' a legal nick
constituent.
2003-01-10 Mario Lang <mlang@delysid.org>
* erc-dcc.el: Some more steps toward dcc send.
2003-01-10 Francis Litterio <franl@users.sourceforge.net>
* erc-notify.el(erc-notify-timer):
Changed to make it IRC-case-insensitive when comparing nicks.
(erc-notify-JOIN): Changed to make it IRC-case-insensitive when comparing nicks.
(erc-notify-NICK): Changed to make it IRC-case-insensitive when comparing nicks.
(erc-notify-QUIT): Changed to make it IRC-case-insensitive when comparing nicks.
(erc-cmd-NOTIFY): Now "/notify -l" lists the nicks on your notify list. Now
when you remove a nick from your notify list, you no longer receive a spurious
signoff notification for that nick. Changed to make it IRC-case-insensitive when
comparing nicks.
* erc.el(erc-ison-p):
Fixed so it calls erc-member-ignore-case instead of member.
* erc.el(erc-member-ignore-case):
New function. Just like member-ignore-case, but obeys
the IRC protocol case matching rules.
2003-01-10 Damien Elmes <erc@repose.cx>
* erc-dcc.el:
(erc-dcc-do-GET-command), (erc-dcc-get-file): use the plist syntax, this
fixes dcc get again
2003-01-10 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el: erc-complete-functions: New variable.
erc-mode-map: Bind \t to 'erc-complete-word
erc-complete-word: New function.
* erc-pcomplete.el(erc-pcomplete-mode):
Use new erc-complete-functions
(erc-pcomplete): Check that we're in the input line, else return nil.
* erc-button.el(erc-button-mode): Use new erc-complete-functions
erc-button-old-tab-command: Removed.
(erc-button-next-or-old): Removed
(erc-button-next): check that we're not in the input line, else just return nil.
2003-01-10 Mario Lang <mlang@delysid.org>
* erc-dcc.el: cleanup
* erc-dcc.el:
* (erc-dcc-chat-request): No longer use erc-send-ctcp-message.
* erc-dcc.el:
* (erc-dcc-no-such-nick): Also call delete-process if we have a peer already
* erc-dcc.el:
* (erc-dcc-no-such-nick): New function, server event handler for event 401.
If we send a CTCP message requesting something dcc related, we set up an
entry in erc-dcc-list before sending the request (for the server proc object
for listening conns for example). But if that nick does not exist
on that server, we now nicely cleanup erc-dcc-list again.
2003-01-09 Mario Lang <mlang@delysid.org>
* erc-dcc.el: Moved code around a bit, and doc fixes
* erc-dcc.el: *** empty log message ***
* erc-dcc.el: Rename erc-dcc-plist to erc-dcc-list
2003-01-09 Damien Elmes <erc@repose.cx>
* erc-dcc.el(erc-dcc-server (erc-dcc-chat-setup):
use erc's (erc-setup-buffer) to determine how to
display new DCC windows
(erc-dcc-chat-buffer-killed): buffer-local hook for DCC buffers to close the
process
(erc-dcc-chat-close): code common to a killed buffer or a disconnection from
the other side
(erc-dcc-chat-sentinel): use (erc-dcc-chat-close)
(erc-dcc-server-accept): use (erc-log) instead of (message)
* erc.el:
(erc), (erc-setup-buffer): factor out window generation code so DCC can use
it too
* erc-dcc.el:
(erc-dcc-do-CLOSE-command), (erc-dcc-do-LIST-command): work with erc-dcc-plist
* erc-dcc.el:
erc-dcc-alist: became erc-dcc-plist, so we can more easily grab particular
properties
dcc catalog: unify use of DCC: and [dcc] (either's fine, but let's be
consistent)
(erc-dcc-member): takes an arbitrary list of constraints now
(erc-dcc-proc-member): removed, as (erc-dcc-member) can be used for this
(erc-dcc-do-CHAT-command): use the catalog to show the user what's going on
(erc-dcc-chat-server): removed
(erc-dcc-server): takes name sentinel and filter arguments, can be used for
both send and chat now
.. this release means all send/get support is broken until we fix up the
things that still expect to be using an alist. this include /dcc list, /dcc
close
2003-01-09 Francis Litterio <franl@users.sourceforge.net>
* erc-ring.el(erc-previous-command):
If you have a partially typed input line and press M-p,
you lose what you typed. Now we save it so you can come back to it.
2003-01-09 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-ring.el(erc-add-to-input-ring): s/nullp/null/
2003-01-09 Damien Elmes <erc@repose.cx>
* erc-ring.el(erc-add-to-input-ring):
set up the ring if it's not already setup
* erc-dcc.el(erc-dcc-member): case insensitive match of nicknames
(erc-dcc-do-CHAT-command): echo what we're doing (at least for now)
2003-01-09 Mario Lang <mlang@delysid.org>
* erc-dcc.el: (temporarily) fix erc-process setting...
* erc-dcc.el: * (erc-dcc-chat-send-line): Removed
* erc.el:
Check if target is stringp (we can now also have 'dcc as value...)
* erc-dcc.el(erc-dcc-chat-send-input-line):
New function, used for
erc-send-input-line-function.
Use erc-send-current-line now.
* erc-dcc.el: evt to elt...
* erc-dcc.el: Remove () from a var (how silly!)
* erc-dcc.el: * (erc-dcc-get-host): Use format-network-address.
* (erc-dcc-host): Change semantic. If erc-dcc-host is set, use it.
Otherwise, try to figure out the host by calling erc-dcc-get-host.
* (erc-dcc-server-port): New variable.
* erc-dcc-chat-log: Renamed to erc-dcc-server-accept
* erc-dcc.el(erc-dcc-do-CHAT-command):
Change arg of call to erc-dcc-chat-request from elt to nick
2003-01-09 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-send-current-line):
Now rejects multi-line commands (i.e., lines that
start with "/" and contain newlines).
2003-01-09 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-button.el:
Functionality to use TAB to jump to the next button:
(erc-button-next-or-old): New function.
(erc-button-next): New function.
erc-button-keymap: added erc-button-next
erc-button-old-tab-command: New variable.
define-erc-module button: Add and remove 'erc-button-next-or-old as
appropriate.
2003-01-09 Francis Litterio <franl@users.sourceforge.net>
* erc.el:
New variable: erc-auto-reconnect (defaults to t). If non-nil, ERC will
automatically reconnect to a server after an unexpected disconnection.
(erc-process-sentinel): Changed to refer to variable erc-auto-reconnect.
2003-01-08 Mario Lang <mlang@delysid.org>
* erc.el:
* erc-send-input-line-function: New variable, used for dispatch...
2003-01-08 Damien Elmes <erc@repose.cx>
* erc-dcc.el(erc-dcc-chat-sentinel):
check event type before killing process
(erc-dcc-chat-log): new, handles the setup of dcc chats for incoming
connections
(erc-dcc-chat): use (erc-dcc-chat-setup)
(erc-dcc-chat-setup): code common to incoming and outgoing DCC chats
(erc-dcc-chat-request): request a DCC chat with another user
(erc-dcc-proc-member): locate a member in erc-dcc-alist by process
The very first ERC to ERC DCC chat was held between delysid and resolve today!
2003-01-08 Mario Lang <mlang@delysid.org>
* erc-track.el(erc-all-buffer-names):
Check for erc-dcc-chat-mode too
2003-01-08 Francis Litterio <franl@users.sourceforge.net>
* erc-ring.el, erc.el(erc-kill-input):
Resets erc-input-ring-index to nil, so that invoking this
command conceptually puts you after your most recent input in the input
history.
(erc-previous-command and erc-next-command): Changed so that history movement
is more intuitive. Also preserves the blank input line that marks the
place after the newest command in the history ring (i.e., you'll see a
blank command once every trip around the ring in either direction).
2003-01-08 Mario Lang <mlang@delysid.org>
* erc-dcc.el(erc-dcc-chat): Add docstring
Add self-test.
Fix error if /dcc chat nick doesn't find the nick
2003-01-08 Francis Litterio <franl@users.sourceforge.net>
* Makefile:
Changed so that "make" works correctly under Cygwin. Before this change, the
pathname passed to Emacs on the command line under Cygwin had the form
"/cygwin/c/...", which prevented emacs from finding the file. Now the pathname
has the form "c:/...". This works for any drive letter.
2003-01-08 Mario Lang <mlang@delysid.org>
* erc-button.el: reindent some code, and add TODO to comments
* erc-dcc.el: *** empty log message ***
* erc-dcc.el: Make dcc-chat-ended a notice
Remove now bogus comment
2003-01-08 Damien Elmes <erc@repose.cx>
* erc-dcc.el(erc-pack-int): from erc-packed-int
(erc-unpack-int): new
* erc-dcc.el(erc-unpack-str): added
2003-01-08 Mario Lang <mlang@delysid.org>
* erc.el(erc-server-482):
New handler, handles KICK reply if you're not channel-op
* erc-dcc.el: Document SEND in erc-dcc-alist.
Move sproc, parent-proc and file into erc-dcc-alist
* erc-dcc.el: stubs
* erc-dcc.el(erc-dcc-get-host):
Change :iface to :local since Kim committed it now to CVS emacs
* erc-dcc.el(erc-dcc-get-host):
New function, requires the not-yet-in-CVS-emacs local-address.patch to process.c.
Some other minor additions
2003-01-08 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-cmd-IGNORE):
Now returns t to prevent "Bad syntax" error.
(erc-cmd-UNIGNORE): Now returns t to prevent "Bad syntax" error.
(erc-server-PRIVMSG-or-NOTICE): Capitalized first word in message to user.
* erc.el(erc-scroll-to-bottom):
Temporarily bind resize-mini-windows to nil so that
users who have it set to a non-nil value will not suffer from premature
minibuffer shrinkage due to the below recenter call. I have no idea why
this works, but it solves the problem, and has no negative side effects.
2003-01-07 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-dcc.el:
erc-dcc-ctcp-query-chat-regexp: The IP is not really an IP, but a
number (no . allowed there).
(erc-dcc-send-ctcp-string): use let* here to avoid cluttering up the
match data.
Also, use erc-decimal-to-ip to get the IP.
(erc-ip-to-decimal): Removed some pasted ERC timestamps
(erc-decimal-to-ip): New function.
erc-dcc-chat-mode-map: Return map in the initialization.
2003-01-07 Francis Litterio <franl@users.sourceforge.net>
* erc-match.el(erc-match-fool-p):
Changed to call erc-match-directed-at-fool-p instead of
erc-directed-at-fool-p.
2003-01-07 Mario Lang <mlang@delysid.org>
* erc-dcc.el(erc-cmd-DCC):
Change (cond ... (t nil)) to (when ...)
* erc-dcc.el: Use erc-current-nick-p
2003-01-07 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el:
erc-join-buffer: Added 'window-noselect to docstring and :type.
erc-auto-query: Added 'window-noselect to :type.
(erc): Treat erc-join-buffer being 'window-noselect appropriately.
* erc.el(erc-current-nick-p): New function.
(erc-nick-equal-p): New function.
(erc-already-logged-in), (erc-server-JOIN), (erc-auto-query),
(erc-server-PRIVMSG-or-NOTICE): Use erc-current-nick-p.
(erc-update-channel-member): Use erc-nick-equal-p.
* erc-match.el(erc-match-current-nick-p):
Renamed from erc-current-nick-p
(erc-match-pal-p): Renamed from erc-pal-p
(erc-match-fool-p): Renamed from erc-fool-p
(erc-match-keyword-p): Renamed from erc-keyword-p
(erc-match-dangerous-host-p): Renamed from erc-dangerous-host-p
(erc-match-directed-at-fool-p): Renamed from erc-directed-at-fool-p
(erc-match-message): Use erc-match-TYPE-p instead of erc-TYPE-p
* erc.el:
Support for IRCnets' "nick/channel temporarily unavailable"
(erc-nickname-in-use): New function (mostly copied from erc-server-433).
(erc-server-433): Use erc-nickname-in-use
(erc-server-437): New function.
erc-server-hook-list: Added (437 erc-server-437).
2003-01-07 Mario Lang <mlang@delysid.org>
* erc-fill.el: Add autoload cookie
* erc-notify.el:
Now also pass SERVER argument to signon/off hooks, and provide a erc-notify-signon/off function for echo-area printing
* erc-notify.el(erc-notiy-QUIT):
Change use of delq to delete, delq does not work with strings
2003-01-06 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-ctcp-query-VERSION):
v%s -> %s, so we are no longer vVersion...
2003-01-06 Mario Lang <mlang@delysid.org>
* erc.el: Small change to erc-ison-p, and fixme tag
2003-01-06 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc):
Fixed bug where variable "away" would be nil in new channel buffers
even if the user is away when joining the channel.
(erc-strip-controls): Fixed a bug where erc-strip-controls accidentally
removed all text properties from the string.
2003-01-06 Mario Lang <mlang@delysid.org>
* erc-dcc.el:
Some stub functions, some code, nothing really works yet
* erc.el(erc-ison-p): New function
* erc-dcc.el: Some functions which will be needed for dcc send
* erc-dcc.el(erc-ip-address-to-decimal):
New function, thanks lawrence
* erc-dcc.el: Again, simplify code, fix stuff, DCC CHAT works now
* erc-dcc.el: Many fixes, chat nearly works now
* erc-netsplit.el: Also detect fast netsplit/joins
* erc-dcc.el: some more fixes
* erc-dcc.el: Fixup stage 1, now dcc get works
* erc-dcc.el: make /dcc LIST work
* erc-dcc.el:
Initial checkin, don't use it! its really far from complete. Hackers: help!
* erc-notify.el:
New function erc-notify-NICK, and added signon/off hooks which were missing
2003-01-05 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-truncate-buffer-to-size):
set inhibit-read-only to t for the
deletion. This is usually done by the function calling the hook, but
not if it's called interactively. Also, rewrote some weird if/if
combination.
* erc-track.el(erc-track-shortennames):
Documentation fix (erc-all-buffers is really
erc-all-buffer-names)
These changes make server buffers be tracked as well, as there are
quite a few interesting things going on there (e.g. CTCP etc.)
(erc-all-buffer-names): Check for (eq major-mode 'erc-mode) instead of
erc-default-recipients.
(erc-track-modified-channels): Don't require a default target (e.g.,
this-channel being non-nil)
2003-01-03 Damien Elmes <erc@repose.cx>
* erc.el:
erc-auto-query: can now be set to a symbol to control how new messages should
be popped up (or not popped up, as the case may be)
(erc-query): new function which handles the bulk of what (erc-cmd-QUERY) did
previously
(erc-cmd-QUERY): use (erc-query)
(erc-auto-query): use (erc-query)
* erc.el(erc-current-logfile):
Downcase result of log generation function, as IRC is
case insensitive. Fixes problems where "/query user" results in a different
log file to a query from "User". Avoided adding an extra flag to control this
behavior - if you think this was the wrong decision, please correct it and
I'll remember it for next time.
2002-12-31 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-split-command):
Removed assignment to free variable "continue".
(erc-strip-controls): New function. Takes a string, returns the string with
all IRC color/bold/underline/etc. control codes stripped out.
(erc-interpret-controls): If variable erc-interpret-controls-p is nil, now
uses erc-strip-controls to strip control codes.
(erc-ctcp-reply-ECHO): Changed reference and assignment to free variable "s"
into reference/assignment to "msg", which appears to be the original author's
intent.
* erc-list.el(erc-chanlist):
Changed to use the new erc-once-with-server-event function
instead of the old macro of the same name.
* erc-notify.el(erc-notify-timer):
Changed to use the new erc-once-with-server-event function
instead of the old macro of the same name. Also fixed a bug were variable
erc-last-ison was being read from a non-server buffer (thus giving its default
value instead of its per-server value).
* erc.el(erc-once-with-server-event):
This is now a function. It was a macro with a
bug (the call to gensym happened at byte-compile-time not macro-call-time).
(erc-toggle-debug-irc-protocol): Now [return] is bound to this function in
the *erc-protocol* buffer.
2002-12-30 Alex Schroeder <alex@gnu.org>
* erc-autoaway.el(erc-autoaway-idletimer): Doc,
ref. erc-autoaway-use-emacs-idle.
(autoaway): Doc, explain different idle definitions. Reestablish
the idletimer only when erc-autoaway-use-emacs-idle is non-nil.
(erc-auto-set-away): Doc, ref erc-auto-discard-away.
(erc-auto-discard-away): Doc, ref erc-auto-set-away.
(erc-autoaway-use-emacs-idle): Doc, ref erc-autoaway-mode, and
added a note that this feature is currently broken.
(erc-autoaway-reestablish-idletimer): Doc.
(erc-autoaway-possibly-set-away): Split test such that
erc-time-diff is only computed when necessary, add a comment why
erc-process-alive is not necessary.
(erc-autoaway-set-away): Test for erc-process-alive.
2002-12-29 Alex Schroeder <alex@gnu.org>
* erc-autoaway.el:
Changed the order of defcustoms to avoid errors in the :set property
of erc-autoaway-idle-seconds.
2002-12-29 Damien Elmes <erc@repose.cx>
* erc-track.el:
* (erc-track-get-active-buffer): remove superfluous (+ arg 0)
2002-12-29 Alex Schroeder <alex@gnu.org>
* erc-autoaway.el(erc-autoaway): Moved the defgroup up to the
top, before the define-erc-module call.
(autoaway): Extended doc.
(erc-autoaway-idle-seconds): Use a :set property to handle
erc-autoaway-use-emacs-idle.
(erc-auto-set-away): Set default to t. Added doc strings where
necessary, reformatted doc strings such that the first line can
stand on its own. This is important for the output of M-x
apropos.
2002-12-28 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-auto.in:
added (provide 'erc-auto), which is required for (require 'erc-auto) :)
* erc.el(erc-display-prompt):
Set the face property of the prompt to
everything but the last character.
* erc.el(erc-send-current-line):
Check whether point is in the input line. If
not, just beep and do nothing.
2002-12-28 Alex Schroeder <alex@gnu.org>
* erc.el(erc-bol):
Fixed bug when there is only a prompt, and no property
change.
* erc.el(erc-display-prompt): Rewrote using a save-excursion
and erc-propertize. No longer use a field for the prompt, but a
plain text property called erc-prompt.
(erc-bol): Use the erc-prompt text property instead of a field.
Return point instead of t.
(erc-parse-current-line): No need to call point here, then, since
erc-bol now returns point.
* Makefile:
make ChangeLog .PHONY, thus forcing it always to be rebuilt.
2002-12-28 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-log-irc-protocol):
Removed check whether get-buffer-create
returned nil. "The value is never nil", says the docstring.
* erc.el: Day Of The Small Changes
(erc-display-prompt): Make the prompt 'front-sticky, which prevents it
from being modified. It *should* also make end-of-line move to the
end of the field (i.e. the end of the prompt) when point is at the
beginning of the prompt, but it doesn't. Dunno why. :(
2002-12-27 Francis Litterio <franl@users.sourceforge.net>
* Makefile:
Added "-f" to "rm" command in rule for target "realclean".
* erc.el:
New function: erc-log-irc-protocol. Consolidates nearly duplicate code
from functions erc-send-command and erc-process-filter into one function.
* erc.el(erc-toggle-debug-irc-protocol):
Removed unneeded argument PREFIX and code
which referenced it at end of function.
(erc-send-command): Now we only append a newline to the logged copy
of output protocol text if it doesn't have one.
2002-12-27 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-toggle-debug-irc-protocol):
Display buffer if it's not shown
already, and use view-mode.
(erc-toggle-debug-irc-protocol), (erc-send-command),
(erc-process-filter): inhibit-only t to insert into the
*erc-protocol* buffer (view-mode)
2002-12-27 Francis Litterio <franl@users.sourceforge.net>
* erc.el(erc-mode-map):
Removed keybinding for erc-toggle-debug-irc-protocol.
(erc-toggle-debug-irc-protocol): Now used erc-make-notice to propertize the
face of the enabled/disabled messages in the *erc-protocol* buffer.
(erc-send-command): Now outgoing IRC protocol traffic is logged too.
* erc.el:
Added user-customizable variable erc-debug-irc-protocol.
Added function erc-toggle-debug-irc-protocol.
(erc-process-filter): Now supports IRC protocol logging. If variable
erc-debug-irc-protocol is non-nil, all IRC protocol traffic is appended
to buffer *erc-protocol*, which is created if necessary.
2002-12-27 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-display-prompt):
Don't make the prompt intangible; that didn't
make things that much better for the user, but confused ispell,
which checked the prompt when it should check the first word
2002-12-27 Alex Schroeder <alex@gnu.org>
* AUTHORS: fixed resolve's email add
* AUTHORS: added damien
* erc.el(erc-truncate-buffer-on-save):
Removed documentation that
described behavior now changed. It used to say "When nil, no
buffer is ever truncated." This is no longer true; even when
buffers are NOT truncated on save, they can be truncated, eg. by
adding erc-truncate-buffer to the hook.
(erc-logging-enabled): New function.
(erc-current-logfile): New function.
(erc): Use erc-logging-enabled and erc-current-logfile.
(erc-truncate-buffer-to-size): Rewrote it, and made sure to use a
(save-restriction (widen) ...) such that the truncation actually
runs in the whole buffer, not in the last message only (as
erc-insert-post-hook will do!). This should fix rw's
out-of-bounds error.
(erc-generate-log-file-name-short): Made all but the BUFFER
argument optional. Doc: Mention
erc-generate-log-file-name-function.
(erc-generate-log-file-name-long): Doc: Mention
erc-generate-log-file-name-function.
(erc-save-buffer-in-logs): Use erc-logging-enabled and
erc-current-logfile. Doc: Mention erc-logging-enabled.
(erc-encode-string-for-target): Only do the real work when
featurep mule; else just return the string unchanged.
2002-12-27 Damien Elmes <erc@repose.cx>
* erc.el:
erc-encoding-default: check for (coding-system-p) for older emacs versions
* erc.el(erc-connect): missing ()s added. "don't commit at 2am"
* erc.el(erc-connect):
check if (set-process-coding-system) is available before use
2002-12-27 Alex Schroeder <alex@gnu.org>
* AUTHORS: added franl
2002-12-26 Alex Schroeder <alex@gnu.org>
* erc-pcomplete.el(pcomplete-parse-erc-arguments):
Reworked, and fixed a bug that had
caused completions to corrupt preceding text under some circumstances.
* erc.el(erc-encoding-default): New.
(erc-encode-string-for-target): Use it instead of a hard-coded ctext.
(erc-encoding-coding-alist): Doc.
2002-12-26 Francis Litterio <franl@users.sourceforge.net>
* erc.el:
Removed fix for bug 658552 recently checked-in, because it doesn't work.
* erc.el(erc-kill-buffer-function):
Removed check that connection is up
before running erc-kill-server-hook hooks. Those hooks should use
erc-process-alive to avoid interacting with the process.
* erc.el:
Fixed erc-send-current-line so it no longer assigns the free variable "s", and
it doesn't move point to end-of-buffer in non-ERC buffers. Fixed
erc-kill-buffer-function so it doesn't run the erc-kill-server-hook hooks if the
server connection is closed. Fixed bug 658552, which is described in detail at
http://sourceforge.net/tracker/index.php?func=detail&aid=658552&group_id=30118&atid=398125
2002-12-26 Alex Schroeder <alex@gnu.org>
* erc.el(erc-cmd-SMV): Bug, now call erc-version-modules.
* erc-pcomplete.el(erc-pcomplete-version): New.
2002-12-26 Francis Litterio <franl@users.sourceforge.net>
* erc-pcomplete.el:
Fix for bug where you could not complete a nick when there was text following
the nick.
2002-12-25 Alex Schroeder <alex@gnu.org>
* erc.el(erc-already-logged-in): Use erc-process-alive.
(erc-prepare-mode-line-format): Use erc-process-alive.
(erc-process-alive): Check erc-process for boundp and processp.
* erc.el(erc-kill-buffer-function):
Do not check whether the process is
alive before running the hook, because there might be functions on
the hook that need to run even when the process is dead. And
function that wants to check this, should use (erc-process-alive).
(erc-process-alive): New function.
(erc-kill-server): Use it.
(erc-kill-channel): Use it.
* erc.el(erc-kill-buffer-function):
Reverted ignore-error change.
ignore-error is dangerous because we might miss bugs in functions
on erc-kill-server-hook.
* erc.el(erc-kill-buffer-function): Use memq instead of member
when checking process-status. Added doc string with references to
the other hooks.
(erc-kill-server): Only send the command when the erc-process is
still alive. This prevents the error: "Process
erc-irc.openprojects.net-6667 not running" when killing the buffer
after having used /QUIT.
2002-12-24 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-server-ERROR):
Show the error reason, not only the originating host.
* erc.el(erc-kill-buffer-function):
(ignore-errors ...) in 'erc-kill-server-hook.
When the process for this server does not exist anymore, the hook
will cause an error, effectively preventing the buffer from being
killed.
2002-12-24 Francis Litterio <franl@users.sourceforge.net>
* erc-notify.el:
Fixed erc-notify-timer so that it passes the correct nick to
the functions on erc-notify-signoff-hook.
2002-12-24 Alex Schroeder <alex@gnu.org>
* erc-track.el: Doc
* erc-track.el(erc-make-mode-line-buffer-name): Removed a
superfluous if construct around erc-track-showcount-string.
(erc-track-modified-channels): Use 1+.
Plus some doc and comment changes.
2002-12-23 Mario Lang <mlang@delysid.org>
* erc.el: Fix (erc-version) string
2002-12-23 Francis Litterio <franl@users.sourceforge.net>
* erc.el:
Removed unnecessary assignment to free-variable "p" in erc-downcase.
* erc.el:
Now /PART reason strings are generated the same way /QUIT reason strings
are generated (see variable erc-part-reason). Also, when a server buffer
is killed, a QUIT command is automatically sent to the server.
* erc.el:
Changed erc-string-no-properties so that it is more efficient. Now it uses
set-text-properties instead of creating and deleting a temporary buffer.
2002-12-21 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el:
erc-kill-input: added a check to prevent a (ding) and an error when
there's nothing to kill (thanks to Francis Litterio, franl on IRC)
2002-12-21 Mario Lang <mlang@delysid.org>
* erc.el:
AWAY notice duplication prevention. erc-prevent-duplicates now set to ("301") by default, and timeout to 60
* erc.el: erc-prevent-duplicates: New variable, see docstring
2002-12-20 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-track.el:
erc-track-modified-channels: Use cddr of cell for old-face. cdr of
cell is '(1 . face-name), i have no idea why :)
2002-12-20 Damien Elmes <erc@repose.cx>
* erc.el(erc-current-nick):
check the server buffer is active before using
Also tabified and cleaned up some trailing whitespace
2002-12-15 Mario Lang <mlang@delysid.org>
* erc-track.el: erc-track-count patch by az
2002-12-14 Damien Elmes <erc@repose.cx>
* erc.el:
last-peers: initialize to a cons. thanks to Francis Litterio
<franl@world.std.com> for the patch
* erc.el:
erc-kill-channel-hook, erc-kill-buffer-hook, (erc-kill-channel):
both hooks now call erc-save-buffer-in-logs, so that query buffers are
saved properly now, and not just channel buffers.
2002-12-13 Alex Schroeder <alex@gnu.org>
* erc-track.el(erc-unique-channel-names): Fix another #hurd
vs. #hurd-bunny bug.
* erc-match.el(match): No longer modify erc-send-modify-hook,
since it does not work without a parsed text property, anyway.
(erc-keywords): Allow cons cells.
(erc-remove-entry-from-list): Deal with cons cells.
(erc-keyword-p): Ditto.
(erc-match-message): Ditto.
Moved nil to the beginning of the list, removed :tags for the
-type variables:
(erc-current-nick-highlight-type): Ditto.
(erc-pal-highlight-type): Ditto.
(erc-fool-highlight-type): Ditto.
(erc-keyword-highlight-type): Ditto.
(erc-dangerous-host-highlight-type): Ditto.
(erc-log-matches-flag): Moved nil to the beginning.
2002-12-11 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el:
erc-beg-of-input-line: Don't do (goto-char (beginning-of-line)), since
beginning-of-line always moves point and returns nil. Thanks to
franl on IRC for noting this.
* erc-stamp.el:
erc-insert-timestamp-left, erc-insert-timestamp-right: Made the
timestamp a 'field named 'erc-timestamp. Now end-of-line and
beginning-of-line will move over the timestamp.
2002-12-10 Damien Elmes <erc@repose.cx>
* erc-button.el(erc-button-add-button):
make the created button rear-nonsticky, to allow
cutting and pasting of buttons without worrying about the button properties
being inherited by the text typed afterwards.
* erc.el: save logfile when killing buffer
2002-12-09 Alex Schroeder <alex@gnu.org>
* erc-track.el(erc-modified-channels-display): Reworked.
(erc-track-face-more-important-p): Removed.
(erc-track-find-face): Return only one face.
(erc-track-modified-channels): Reworked.
(erc-modified-channels-string): Changed from (BUFFER FACE...) to
(BUFFER . FACE)
* erc-stamp.el(erc-insert-timestamp-right): Do not assume
erc-fill-column is available.
2002-12-09 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el:
erc-ech-notices-in-minibuffer-flag, erc-minibuffer-notice: Clarified
the difference in the docstrings.
2002-12-08 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el: erc-noncommands-list: added erc-cmd-SM and erc-cmd-SMV
2002-12-08 Alex Schroeder <alex@gnu.org>
* erc.el(erc-cmd-SM): New.
(erc-cmd-SMV): New.
* erc.el(erc-modes): New.
2002-12-08 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-compat.el:
field-end: use (not (fboundp 'field-end)) instead of (featurep 'xemacs)
2002-12-08 Alex Schroeder <alex@gnu.org>
* erc.el(erc-version-modules): New.
2002-12-08 Mario Lang <mlang@delysid.org>
* debian/changelog, debian/control, debian/scripts/startup.erc:
debian release 3.0.cvs.20021208
2002-12-08 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-split-command): Do the right thing with CTCPs.
2002-12-08 Mario Lang <mlang@delysid.org>
* erc-stamp.el: Be a bit more functional
2002-12-08 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-compat.el:
XEmacs doesn't seem to have field-end, so we provide our own version here.
2002-12-08 Mario Lang <mlang@delysid.org>
* Makefile: Small fixes to debrelease target
2002-12-08 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el:
make-obsolete-variable: xemacs doesn't have the WHEN parameter, remove it.
2002-12-07 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-imenu.el(erc-create-imenu-index):
Use (forward-line 0) instead of
(beginning-of-line) now, sine the latter ignores fields (used in the
prompt).
* erc.el:
Rewrite of the prompt stuff to use a field named 'erc-prompt:
erc-prompt: Removed getter and setter functions. The properties were
already set (and overwritten) in erc-display-prompt.
(erc-prompt): Add the trailing space here, not all over the code.
(erc-display-prompt): Cleaned up a bit. The text-properties now are
valid on the whole prompt. Also, made the prompt 'intangible to
avoid confused users.
(erc-bol): Now use the field 'erc-prompt for finding the prompt
(erc-parse-current-line): Cleaned up considerably. Uses (erc-bol) now.
(erc-load-irc-script-lines): Adjusted for the new (erc-prompt).
(erc-save-buffer-in-logs): Adjusted for the new (erc-prompt).
* erc.el:
erc-uncontrol-input-line: The comment said "Consider it deprecated",
so I removed it now.
erc-prompt-interactive-input: Marked obsolete as of previous change.
* erc.el:
erc-smiley, erc-unmorse: Put at the end to separate it from the
important parts of erc.el.
2002-12-07 Alex Schroeder <alex@gnu.org>
* erc-stamp.el(erc-insert-timestamp-right): New algorithm.
2002-12-07 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el:
last-peers, erc-message: Explained what last-peers is used for.
2002-12-07 Alex Schroeder <alex@gnu.org>
* erc-page.el(erc-cmd-PAGE): New function.
(erc-ctcp-query-PAGE): Use the catalog entry for the message, too.
(erc-ctcp-query-PAGE-hook): Added custom type.
(erc-page-function): Changed custom type from ... function-item to
... function.
As well as doc strings.
2002-12-06 Alex Schroeder <alex@gnu.org>
* erc-page.el: provide feature at the end
2002-12-06 Brian P Templeton <bpt@tunes.org>
* erc-nickserv.el:
Added austnet in erc-nickserv.el (thanks to Damien Elmes
<resolve@repose.cx>)
2002-12-05 Mario Lang <mlang@delysid.org>
* erc-complete.el: Add autoload cookie
* erc-speak.el: Small fix to make proper voice-changes
2002-12-05 Alex Schroeder <alex@gnu.org>
* erc-lang.el: New
2002-12-03 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el:
erc-mode-map: Put back C-c C-p (PART) and C-c C-q (QUIT)
2002-12-02 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el:
erc-insert-post-hook: Add :options erc-make-read-only, erc-save-buffer-in-logs
erc-send-post-hook: Add :options erc-make-read-only
* erc.el: erc-insert-hook: Removed ("this hook is obsolescent")
erc-insert-post-hook: Added :options '(erc-truncate-buffer)
2002-12-02 Mario Lang <mlang@delysid.org>
* erc.el: Add missing requires
2002-11-29 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-quit-reason-normal):
Remove v before %s so it's "Version ..." not
"vVersion ..."
2002-11-26 Alex Schroeder <alex@gnu.org>
* erc-compat.el(erc-encode-coding-string): Add second argument
coding-system, and for non-mule xemacsen, use a new defun instead
of identity.
* erc.el: (define-erc-module): Use the appropriate group.
(erc-port): Changed custom type.
(erc-insert-hook): Custom group changed to erc-hooks.
(erc-after-connect): ditto
(erc-before-connect): ditto
(erc-disconnected-hook): ditto
* erc-button.el(erc-button): New group, changed all custom groups
from erc to erc-button, but left all erc-faces as-is.
* erc-track.el(erc-track): New group, changed all custom groups
from erc to erc-track.
2002-11-26 Mario Lang <mlang@delysid.org>
* erc-macs.el:
Macros for erc-victim handling. Primary idea is to use setf and some fancy things to get nice syntax. have a look
2002-11-26 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el:
pings, erc-cmd-PING, erc-ctcp-reply-PING, catalog entry CTCP-PING:
Cleaned up. Removed buffer-local variable pings which stored a list of
all sent CTCP PING requests. Now send our full time with the CTCP PING
request and interpret the answer.
2002-11-25 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el: nick-stk: replaced by the local variable current-nick.
2002-11-25 Alex Schroeder <alex@gnu.org>
* erc.el(erc-send-command): Use erc-encode-string-for-target.
(erc-encode-string-for-target): New.
* erc-compat.el(erc-encode-coding-string): Add second argument
coding-system, and for non-mule xemacsen, use a new defun instead
of identity.
* erc-nickserv.el(erc-nickserv-version): New.
2002-11-25 Jorgen Schaefer <forcer@users.sourceforge.net>
* Makefile:
UNCOMPILED: erc-chess.el depends on chess-network.el, which might not
be installed. Don't compile it.
* erc.el:
erc-mode-map: Added C-a as erc-bol (no reason why it shouldn't be),
and removed C-c C-p (part channel) and C-c C-q (quite server) as these
are a bit drastic in their consequences and easy to mistype.
2002-11-24 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-track.el: erc-track-faces-priority-list: Extended list
* erc.el:
channel-members: Updated docstring: We have a VOICE predicate, too.
* erc-track.el(erc-unique-substrings):
Don't shorten a single channel to "#", but
always give at least 2 chars (except when there are no two chars).
2002-11-23 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-nickserv.el:
support for BrasNET. Thanks to rw on IRC for the settings.
2002-11-23 Alex Schroeder <alex@gnu.org>
* erc.el: (erc-default-recipients, erc-session-user-full-name)
(nick-stk, pings, erc-announced-server-name, erc-connected)
(channel-user-limit, last-peers, invitation, away, channel-list)
(last-sent-time, last-ping-time, last-ctcp-time, erc-lines-sent)
(erc-bytes-sent, quitting, bad-nick, erc-logged-in)
(erc-default-nicks): Defvars.
* erc-compat.el: Switched tests to iso-8859-1 instead of latin-1.
* erc-compat.el(erc-compat-version): New.
2002-11-22 Alex Schroeder <alex@gnu.org>
* erc.el(smiley): Smileys are a very small module, now.
2002-11-22 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el:
erc-event-to-hook, erc-event-to-hook-name: eval-and-compile these,
since we need them in a macro. ERC now compiles again!
* erc-speak.el:
erc-minibuffer-privmsg: Removed setting this variable to nil, since it
was removed from erc.el.
* erc.el(erc-interactive-input-map): Added docstring.
(erc-wash-quit-reason): Extended docstring.
(erc-server-ERROR): Added docstring.
(erc-server-321): buffer-local variable channel-list probably
shouldn't be renamed erc-channel-list - removed FIXME.
* erc.el: small cleanup.
("was not used anymore" here means "not used in erc/*.el nor in
fsbot", thanks to deego for checking that.)
erc-minibuffer-privmsg: Removed (was not used anymore)
(erc-reformat-command): Removed (was not used anymore)
(erc-strip-erc-parsed-property): Removed (was not used anymore)
(erc-process-ctcp-response): Removed (replaced by ctcp-query-XXX-hook)
(erc-send-paragraph): Removed ("Note that this function is obsolete,
erc-send-current-line handles multiline input.")
(erc-input-hook): Removed ("This hook is obsolete. See
`erc-send-pre-hook', `erc-send-modify-hook' and
`erc-send-post-hook' instead.")
(erc-message-hook): Removed ("This hook is obsolete. See
`erc-server-PRIVMSG-hook' and `erc-server-NOTICE-hook'.")
(erc-cmd-default-channel): Removed ("FIXME: no clue what this is
supposed to do." - it was supposed to prepend the default channel
to a command before sending it. E.g. typing "/FOO now!" would send
the IRC command "FOO #mycurrentchannel now!")
* erc.el:
erc-ctcp-query-PING: Send the whole argument back, not just the first
number. This is required for many clients (e.g. irssi, BitchX, ...)
which send their ping times in two different numbers for microsecond
accuracy.
2002-11-22 Alex Schroeder <alex@gnu.org>
* erc-track.el(erc-track-shorten-function): Allow nil.
2002-11-21 Alex Schroeder <alex@gnu.org>
* erc-track.el(erc-unique-channel-names): Fixed bug that appeared
if one target name was a substring of another -- eg. #hurd and
#hurd-bunny. Added appropriate test.
2002-11-20 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-track.el:
erc-unique-channel-names: Don't take a substring of channel that could
be longer than the channel, but at most (min (length candidate)
(length channel). (thanks to deego for noticing this)
2002-11-19 Mario Lang <mlang@delysid.org>
* erc-notify.el: * (require pcomplete): Only when compiling.
2002-11-19 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-track.el:
erc-track-faces-priority-list: New variable, defines what faces will
be shown in the modeline. If set to nil, the old behavior ("all")
remains.
erc-track-face-more-important-p: new function
erc-track-find-face: new function
2002-11-19 Alex Schroeder <alex@gnu.org>
* erc-fill.el(erc-stamp): Require it.
* erc-match.el(away): devar for the compiler.
* erc-stamp.el(stamp): Moved.
* erc.el(erc-version-string): New version.
* erc-autoaway.el(erc-autoaway-idletimer): Moved to the front of
the file.
* erc-auto.in: (generated-autoload-file, command-line-args-left):
Added defvar without value to silence byte compiler.
* Makefile(realclean): renamed fullclean to realclean.
(UNCOMPILED): New list, for erc-bbdb.el, erc-ibuffer.el,
erc-speak.el.
(SOURCE): Do not compile UNCOMPILED.
(release): New target.
(ChangeLog): New target.
(todo): New target.
* erc-complete.el(erc-match): Require it.
(hippie-exp): Require it.
* erc-ezbounce.el(erc): Require it.
* erc-imenu.el(imenu): Require it.
* erc-nickserv.el(erc-networks): Moved up.
* erc-notify.el(pcomplete): Require it.
* erc-replace.el(erc): Require it.
* erc-sound.el(sound): Typo -- define-key in erc-mode-map.
* erc-speedbar.el(dframe): Require it.
(speedbar): Require it.
* erc-track.el(erc-default-recipients): devar for the compiler.
* README: New file.
2002-11-18 Mario Lang <mlang@delysid.org>
* AUTHORS: File needed for mkChangeLog
* mkChangeLog: Original code by mhp
2002-11-18 Alex Schroeder <alex@gnu.org>
* erc-button.el(erc-button-list): Renamed to erc-list and moved
to erc.el.
* erc.el(erc-list): New.
* erc-track.el(erc-make-mode-line-buffer-name): Simplified.
(erc-modified-channels-display): Simplified. Now works with all
faces, and fixes the bug that when two faces where used (bold
erc-current-nick-face), then no faces was added.
* erc-track.el: Lots of new tests. Moved some defuns around in
the file.
(erc-all-channel-names): Renamed.
(erc-all-buffer-names): New name, now include query buffers as
well.
(erc-modified-channels-update-inside): New variable.
(erc-modified-channels-update): Use it to prevent running display
if already inside it. This prevented debugging of
`erc-modified-channels-display'.
(erc-make-mode-line-buffer-name): Moved.
(erc-track-shorten-names): Don't test using erc-channel-p as that
failed with query buffers.
(erc-unique-substrings): Move setq i + 1 to the end of the while
loop, so that start is used as a default value instead of start +
1.
2002-11-18 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-track.el:
erc-unique-substrings: define this before using it in assert
* erc.el:
with-erc-channel-buffer: Define *before* using this macro. This
hopefully fixes a bug noted on IRC.
* erc-notify.el:
erc-notify-signon-hook, erc-notify-signoff-hook: New hooks. They're
even run when their name suggests!
2002-11-18 Alex Schroeder <alex@gnu.org>
* erc-list.el: Typo.
* erc-speedbar.el: Whitespace only.
* erc.el(define-erc-module): Avoid defining an alias if name and
alias are the same.
* erc-ibuffer.el: URL
* erc-imenu.el(erc-imenu-version): New constant.
* erc-ibuffer.el(erc-ibuffer-version): New constant.
* erc-ibuffer.el: File header, comments.
* erc-fill.el(erc-fill-version): New constant.
* erc-ezbounce.el(erc-ezb-version): New constant.
* erc-complete.el(erc-complete-version): New constant.
* erc-chess.el(erc-chess-version): New constant.
* erc-chess.el: Whitespace only.
* erc-bbdb.el(erc-bbdb-version): Typo.
* erc-bbdb.el(erc-bbdb-version): New constant.
Lots of whitespace changes. Changes to the header.
* erc-track.el(erc-track-shorten-aggressively): Doc.
(erc-all-channel-names): New function.
(erc-unique-channel-names): New function.
(unique-substrings): Renamed.
(erc-unique-substrings): New name
(unique-substrings-1): Renamed.
(erc-unique-substring-1): New name. Added lots of tests.
(erc-track-shorten-names): Call erc-unique-channel-names instead
* erc-match.el(match): Rewrote a as module.
2002-11-17 Alex Schroeder <alex@gnu.org>
* erc-netsplit.el(erc-netsplit-version): New.
(netsplit): Defined as a module, replacing erc-netsplit-initialize
and erc-netsplit-destroy.
2002-11-17 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-track.el(erc-track-switch-buffer):
define-erc-module defines erc-track-mode,
not erc-track-modified-channels-mode.
* erc.el:
Variables erc-play-sound, erc-sound-path, erc-default-sound,
erc-play-command, erc-ctcp-query-SOUND-hook and functions
erc-cmd-SOUND, erc-ctcp-query-SOUND, erc-play-sound, erc-toggle-sound
moved to erc-sound.el
Variables erc-page-function, erc-ctcp-query-PAGE-hook and function
erc-ctcp-query-PAGE moved to erc-page.el
* erc-page.el:
erc-page.el: New file. CTCP PAGE support for ERC, extracted from erc.el.
* erc-sound.el:
defin-erc-module: Typo. Autoload should do erc-sound-mode and "erc-sound".
* erc-sound.el:
erc-sound.el: New file. Contains all the CTCP SOUND stuff from erc.el.
* erc.el(erc-process-ctcp-request):
Removed (old-style CTCP handling)
(erc-join-autogreet): Removed (was broken anyways)
2002-11-17 Alex Schroeder <alex@gnu.org>
* erc-button.el(erc-button-version): New constant.
* erc-button.el(button): rewrote as a module.
2002-11-17 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el: New functions:
(erc-event-to-hook), (erc-event-to-hook-name): Convert an event to the
corresponding hook. The latter only returns the name, while the former
interns the hook symbol and returns it.
2002-11-17 Alex Schroeder <alex@gnu.org>
* erc-replace.el:
Practically total rewrite. All smiley stuff deleted.
* erc-track.el(track): typo.
* erc.el(define-erc-module): Doc change.
2002-11-17 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-autoaway.el: Changed to use define-erc-module.
* erc.el(define-erc-module):
Make the enable/disable functions interactive.
* erc.el(erc):
Don't use switch-to-buffer when we're in the minibuffer,
because that does not work. Use display-buffer instead. This leaves
two problems: The point does not advance to the end of the buffer for
whatever reason, and after leaving the minibuffer, the new window gets
buried.
2002-11-17 Alex Schroeder <alex@gnu.org>
* erc-stamp.el(stamp): Doc change.
* erc-stamp.el(erc-stamp-version): New constant.
(stamp): downcase alias name of the mode.
* erc.el(define-erc-module): Added defalias option, renamed
parameters again.
* erc-track.el: erc-track-modified-channels-mode is now only an
alias to erc-track-mode. Only erc-track-mode is autoloaded.
(track): Rewrote call to define-erc-module.
2002-11-16 Mario Lang <mlang@delysid.org>
* debian/README.Debian: * Spelling fix
* erc-fill.el: * Fix autoload definition for erc-fill-mode
* debian/control, debian/maint/postinst, debian/maint/prerm:
* Remove /usr/doc -> /usr/share/doc link handling
* debian/changelog: * Sync with reality
* debian/scripts/startup.erc:
* Add /usr/share/emacs/site-lisp/erc/ to load-path
* (load "erc-auto")
* debian/README.Debian:
* Info about the changes since last release updated
* erc-pcomplete.el: * Fix emacs/xemacs compatibility
* debian/scripts/install: * Don't compile erc-compat, fix ELCDIR
* debian/control: * Change maintainer field
* erc.el:
* (defin-erc-module): Renamed argument mode-name to mname because silly byte-compiler thought we were talking about `mode-name'.
* Makefile: * Added debrelease target
* erc-bbdb.el, erc-pcomplete.el, erc-stamp.el, erc.el:
* (define-erc-module): Added mode-name argument.
* Converted erc-bbdb, erc-pcomplete and erc-stamp to new macro.
* autoload fixes
* erc-bbdb.el:
* Create a global-minor-mode (i.e., make it a proper erc-module)
* erc.el: * (define-erc-module): New defmacro
2002-11-16 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-autoaway.el(erc-autoaway-idle-seconds):
t in docstrings should be non-nil
2002-11-16 Alex Schroeder <alex@gnu.org>
* erc-autoaway.el, erc-button.el, erc-fill.el, erc-match.el,
erc-menu.el, erc-ring.el, erc-track.el:
Cleanup of file headers: copyright years, GPL mumbo-jumbo, commentaries.
* erc-stamp.el(erc-insert-away-timestamp-function):
New custom type.
(erc-insert-timestamp-function): New custom type.
* erc-fill.el(erc-fill-function): Doc, new custom type.
(erc-fill-static): Doc.
(erc-fill-enable): New function.
(erc-fill-disable): New function.
(erc-fill-mode): New function.
* erc-match.el(erc-match-enable): add-hook for both
erc-insert-modify-hook and erc-send-modify-hook.
(erc-match-disable): remove-hook for both
erc-insert-modify-hook and erc-send-modify-hook.
2002-11-15 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc-autoaway.el:
- Added a way to use auto-away using emacs idle timers
- Renamed erc-set-autoaway to erc-autoaway-possibly-set-away for consistency
2002-11-14 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el: erc-mode-map: Removed the C-c C-g binding for erc-grab
* erc.el:
(erc-server-341) Another instance of the channel/chnl problem i didn't
see last time
2002-11-14 Alex Schroeder <alex@gnu.org>
* erc-compat.el(erc-decode-coding-string): typo
2002-11-14 Jorgen Schaefer <forcer@users.sourceforge.net>
* erc.el(erc-server-341):
variable name should be chnl not channel, as it is
used this way in this function, and the other erc-server-[0-9]* use
chnl too.
* erc-autoaway.el:
Set back on all servers, not just the current one, since we're set
away on all servers as well.
* HISTORY: Fixed typo (ngu.org => gnu.org)
* erc-autoaway.el, erc-fill.el, erc.el: erc-autoaway.el:
* new file
* erc.el: Removed auto-discard-away facility (now included in
erc-autoaway.el)
(erc-away-p): new function
* erc-fill.el (erc-fill-variable): Check whether erc-timestamp-format
is bound before using it (erc-fill.el does not require erc-stamp).
2002-11-10 Alex Schroeder <alex@gnu.org>
* TODO:
TODO: moved it to http://www.emacswiki.org/cgi-bin/wiki.pl?ErcTODO
* erc.el(with-erc-channel-buffer): Rudimentary doc string.
2002-11-09 Alex Schroeder <alex@gnu.org>
* erc-button.el(erc-nick-popup-alist): Made a defcustom.
* erc-button.el(erc-button-disable): New function.
(erc-button-enable): New function, replaces the add-hook calls at top-level.
(erc-button-mode): New minor mode.
2002-11-08 Alex Schroeder <alex@gnu.org>
* erc-button.el(erc-button-entry): Use erc-button-syntax-table.
* erc.el, erc-stamp.el: Doc changes.
* erc-match.el(erc-match-mode): New function, replacing the
add-hook.
(erc-match-enable): New function.
(erc-match-disable): New function.
(erc-current-nick-highlight-type): Changed from 'nickname to 'nick
to make it consistent with the others.
(erc-match-message): Ditto.
* erc-button.el(erc-button-syntax-table): New variable.
(erc-button-add-buttons): Use it.
2002-11-06 Mario Lang <mlang@delysid.org>
* erc.el:
1) (bug) ERC pops up a new buffer and window when being messaged
from an ignored person. fixed
2) (misfeature) ERC notices the user in the minibuffer when it
ignores something - this can get very annoying, since the
minibuffer is also visible when not looking at ERC buffers.
Added a customizable variable for this, the default is nil.
3) (wishlist) There is no IGNORE or UNIGNORE command.
Added.
4) (wishlist) Some IRC clients, notably irssi, allow the user to
ignore "replies" to ignored people. A reply is defined as a
line starting with "nick:", where nick is the nick of an
ignored person. Added that functionality.
Done by Jorgen Schaefer <forcer@forcix.cx>
2002-11-02 Alex Schroeder <alex@gnu.org>
* erc.el(erc-connect): set-process-coding-system to raw-text.
2002-11-01 Brian P Templeton <bpt@tunes.org>
* erc-pcomplete.el, erc-stamp.el, erc-track.el:
Fixed more autoloads
* erc-compat.el: Added autoload for erc-define-minor-mode
2002-11-01 Mario Lang <mlang@delysid.org>
* erc.el: * (erc-send-command): will break long messages into
a bunch of smaller ones, to prevent them from being truncated by the server.
The patch also axes some trailing whitespace. :-) <resolve>
2002-10-31 Alex Schroeder <alex@gnu.org>
* erc-pcomplete.el(erc-compat): Require.
(erc-completion-mode): Use erc-define-minor-mode.
* erc-track.el(erc-compat): Require.
(erc-track-modified-channels-mode): Use erc-define-minor-mode.
* erc-stamp.el(erc-compat): Require.
(erc-timestamp-mode): Use erc-define-minor-mode.
* erc-compat.el: New file with the code for erc-define-minor-mode,
erc-encode-coding-string and erc-decode-coding-string. Essentially
all the stuff that cannot be tested for using a simple boundp or
fboundp -- eg. because the number of arguments are wrong.
* erc.el(erc-compat): Require.
(erc-process-coding-system): Moved to erc-compat.el.
(erc-connect): Do not set-process-coding-system.
(encode-coding-string): Compatibility code moved to erc-compat.el.
(decode-coding-string): Compatibility code moved to erc-compat.el.
(erc-encode-coding-string): Compatibility code moved to erc-compat.el.
(erc-decode-coding-string): Compatibility code moved to erc-compat.el.
2002-10-27 Alex Schroeder <alex@gnu.org>
* erc.el(erc-display-line-1): Removed call to
erc-decode-coding-string.
(erc-parse-line-from-server): Added call to
erc-decode-coding-string before anything gets parsed at all.
(erc-decode-coding-string): Use undecided coding system.
2002-10-24 Sandra Jean Chua <sacha@free.net.ph>
* erc-button.el, erc.el:
Added LASTLOG command and action for nick-button
2002-10-22 Sandra Jean Chua <sacha@free.net.ph>
* erc-pcomplete.el:
Fixed nopruning bug, added /MODE channel (mode) [nicks...] completion - mode not completed yet.
2002-10-16 Sandra Jean Chua <sacha@free.net.ph>
* erc-pcomplete.el:
Fixed 'Hi delysid:' bug in SAY completion after realizing that pcomplete on commands already took care of completing the initial nick:
2002-10-15 Mario Lang <mlang@delysid.org>
* erc-pcomplete.el: update from sachac
2002-10-13 Alex Schroeder <alex@gnu.org>
* erc.el(erc-emacs-time-to-erc-time): Catch when tm is nil.
2002-10-11 Andreas Fuchs <asf@void.at>
* erc.el:
* Fixed `erc-scroll-to-bottom' to scroll to the bottom even when
in the middle of a line. Might also fix the Magic ECHAN Bug[tm]. (-:
2002-10-11 Mario Lang <mlang@delysid.org>
* erc-nickserv.el: Fixed erc-networks for the opn->freenode change
2002-10-08 Mario Lang <mlang@delysid.org>
* erc-pcomplete.el:
Make erc-completion-mode work interactively with already joined channel buffers
* erc-chess.el: Add autoload cookies
* erc-notify.el: Add pcomplete support
* erc.el:
Remove autoload statements, remove autoload cookie from erc-mode and erc-info-mode
* erc-fill.el, erc-match.el: add/remove autoload cookies
2002-10-06 Alex Schroeder <alex@gnu.org>
* erc-pcomplete.el(erc-completion-mode): New global minor mode
with autoload cookie.
(erc-pcomplete-enable): Renamed erc-pcomplete-initialize.
(erc-pcomplete-disable): New function.
* erc-complete.el: Doc changes.
* erc-stamp.el(erc-stamp-enable): Renamed erc-stamp-initialize.
(erc-stamp-disable): Renamed erc-stamp-destroy.
(erc-timestamp-mode): Use new names.
* erc.el: Removed autoload for erc-complete and
erc-track-modified-channels-mode -- the autoload cookie should do
that instead.
(erc-input-message): Doc string, removed binding for erc-complete.
(erc-mode-map): Removed binding for erc-complete.
2002-10-03 Mario Lang <mlang@delysid.org>
* erc-notify.el:
New functions erc-notify-JOIN and erc-notify-QUIT to catch some common cases (warning, untested)
2002-10-01 Alex Schroeder <alex@gnu.org>
* erc-stamp.el(erc-timestamp-mode): New function. Removed call
to erc-stamp-initialize at the end.
2002-09-25 Brian P Templeton <bpt@tunes.org>
* erc.el:
Added customizable `erc-process-coding-system' variable.
2002-09-22 Brian P Templeton <bpt@tunes.org>
* erc-fill.el:
`erc-fill-variable' now does the right thing when `erc-hide-timestamps' is non-nil
2002-09-21 Mario Lang <mlang@delysid.org>
* erc-fill.el:
patch from Peter Solodov <peter@alcor.concordia.ca> (note, its slightly broken still
2002-09-05 Mario Lang <mlang@delysid.org>
* erc-pcomplete.el: Added LEAVE as alias for PART
2002-09-04 Mario Lang <mlang@delysid.org>
* erc-pcomplete.el:
By sachac (good work!) keep up doing such things
2002-08-31 Mario Lang <mlang@delysid.org>
* erc.el:
A fix for Bug#133267: now you can put (erc-save-buffer-in-logs) on erc-insert-post-hook to save *every* incoming message.
2002-08-30 Brian P Templeton <bpt@tunes.org>
* erc.el:
Changed default value of erc-common-server-suffixes because of the OPN
name change
2002-08-28 Mario Lang <mlang@delysid.org>
* erc-stamp.el: Try to reactivate isearch in xemacs
* erc-stamp.el:
fixes issues related to comparative emacsology and a silly bug
2002-08-27 Mario Lang <mlang@delysid.org>
* erc.el:
New hook erc-send-completed-hook (for robot stuff), changed alexanders email address to reflect reality, little fix to erc-auto-query to get a bit of a speedup
2002-08-22 Mario Lang <mlang@delysid.org>
* erc-button.el:
Fixed case-fold-search (thanks sachac), now lambda works in erc-button-alist, added wardwiki+google+symvar+rfc+itime regexps from the wiki
2002-08-19 Mario Lang <mlang@delysid.org>
* erc-button.el:
erc-nick-popup-alist: New variable to make erc-nick-popup configurable
2002-08-16 Alex Schroeder <alex@gnu.org>
* erc-button.el(erc-recompute-nick-regexp): Fixed regexp.
* erc-button.el(erc-button-buttonize-nicks): Changed custom type
to integer.
(erc-button-add-buttons): Moved button removal code to new
function.
(erc-button-remove-old-buttons): New function.
(erc-button-add-button): Removed use of overlays and used
erc-button-add-face instead.
(erc-button-add-face): New function to merge faces as text
properties. This should be much faster when lots of buttons
appear.
(erc-button-list): New helper function.
* erc.el(erc-display-message): Fixed argument list.
(erc-display-prompt): Reduced calls to length, use start-open
property for XEmacs to prevent a little box of erc-prompt-face at
the end of messages other people send.
(erc-refresh-channel-members): Fix XEmacs calls to split-string,
which may return an empty string at the end of the list. This
would cause hangups in erc-button in re-search-forward loops.
(erc-get-channel-mode-from-keypress): Replaced control codes with
octal escape sequences.
2002-08-14 Mario Lang <mlang@delysid.org>
* erc-button.el:
Try to be compatible to XEmacs regexp-opt. (Im going to quit this job if I find more of those damn differencies
* debian/README.Debian, debian/scripts/install:
* Added info to README.Debian
* Finished debian/scripts/install
2002-08-13 Mario Lang <mlang@delysid.org>
* debian/scripts/install: First attempt to fix it
* debian/README.Debian, debian/changelog, debian/scripts/install:
changelog: Changed maintainer and added new entry
README.Debian: Re-explained the byte-compile issue
scripts/install: Exclude erc-bbdb|chess|ibuffer|speedbar from
byte-compiling
* erc-track.el: Added C-c C-SPC in addition to C-c C-@
* erc-notify.el: Little docstring change
2002-08-09 Mario Lang <mlang@delysid.org>
* erc-stamp.el:
Change one use of set-text-properties to add-text-properties (tnx Lathi)
2002-08-02 Mario Lang <mlang@delysid.org>
* erc-stamp.el: added erc-timestamp-only-if-changed-flag
2002-07-22 Mario Lang <mlang@delysid.org>
* erc.el:
Removed timestamp related code and moved into erc-stamp.el
* erc-stamp.el:
Timestamping code moved out of erc.el. Additional, now we can timestamp either on the left or on the right side
2002-07-16 Mario Lang <mlang@delysid.org>
* erc.el:
* Make ctcp ping return its message in the active buffer, instead of the server buffer
* Corrected minimal typo in catalog
* Added var and variable as alias for /set
2002-07-08 Mario Lang <mlang@delysid.org>
* erc-track.el:
* New function erc-track-switch-buffer (by resolve)
Bound to C-c C-SPC, enjoy!
2002-07-08 Gergely Nagy <algernon@debian.org>
* debian/changelog: New snapshot deb
* debian/scripts/install: Rewrote in make.
Does not byte-compile erc-speak.el at all, and excludes erc-track.el too, if
ran for xemacs.
* debian/control: Added dependency on make
* debian/copyright: Updated copyright info
* debian/rules: Use $(wildcard *.el) instead of a hardcoded list
2002-07-03 Diane Murray <disumu@x3y2z1.net>
* erc.el:
erc-iswitchb now works correctly if erc-modified-channels-alist is non-nil
2002-07-01 Diane Murray <disumu@x3y2z1.net>
* erc-menu.el:
* changed how we check if we should activate "Track hidden channels" and
whether it should be selected - fixes a bug XEmacs where whole menu bar
does not work if menu is loaded
* erc-menu.el:
* added "Disconnect from server", only selectable if erc-connected is non-nil
* topic is allowed to be set by normal users if channel mode is not +t
* add " ..." after description if arguments needed after selecting menu item
* only allow selecting of menu points needing a channel if current buffer is
a channel buffer - done by testing if channel-members is non-nil
* put erc-match functions in new group "Pals, fools and other keywords"
* erc.el:
* moved definition of erc-show-my-nick to GUI variables section
* erc-connected variable now defined with defvar
now set in channel and query buffers, was only in server buffer before
upon disconnect, set erc-connected to nil in all the server's buffers
* added erc-cmd-GQUIT and its alias erc-cmd-GQ - quit all servers at once
* added interactive function erc-quit-server, bound to C-c C-q
* added erc-server-WALLOPS
* added WALLOPS to english catalog, fixed s461 (was showing message twice)
* typo fixes, spacing change
2002-06-29 Mario Lang <mlang@delysid.org>
* erc.el: Use pp-to-string in /set (without args)
* erc-netsplit.el:
Make /set anonymous-lign set erc-anonymous-login, also report
which var was set to which val.
2002-06-28 Diane Murray <disumu@x3y2z1.net>
* erc-menu.el: added "Customize ERC"
2002-06-25 Mario Lang <mlang@delysid.org>
* erc.el: New variable: erc-use-info-buffers, defaults to nil.
This prevents info-buffers from being created/updated.
Set to t if you use :INFO buffers.
(by rw)
Delete (erc-display-prompt) from reconnect to avoid clutter
2002-06-23 Diane Murray <disumu@x3y2z1.net>
* erc.el:
erc-get-channel-mode-from-keypress is now bound to C-c C-m
erc-insert-mode-command is taken care of by this function as well
2002-06-21 Mario Lang <mlang@delysid.org>
* erc-track.el:
Fixed bug where buffer-names suddenly had text-properties.
2002-06-19 Diane Murray <disumu@x3y2z1.net>
* Makefile: changed erc-auto.el to $(SPECIAL) in make fullclean
* Makefile: remove erc-auto.el on make fullclean
2002-06-18 Diane Murray <disumu@x3y2z1.net>
* erc-match.el: fixed spelling error
* erc-track.el, erc-match.el: * erc-match.el:
highlight current nickname in its own face (inactive by default):
- added erc-current-nick-highlight-type, erc-current-nick-face,
erc-current-nick-p
* erc-track.el:
added support for erc-current-nick-face
2002-06-17 Diane Murray <disumu@x3y2z1.net>
* erc.el: * added beginning support for 005 numerics:
- added buffer local variable erc-server-parameters
- added erc-server-005, which sets erc-server-parameters if the server has
used this code to show its parameters
2002-06-16 Diane Murray <disumu@x3y2z1.net>
* erc.el:
* bugfix: when pasting lines with blank lines in between, remove the blank lines
but send the rest
* since we know the command, use it when checking what's in erc-hide-list
added check to erc-server-KICK
* added some blank lines for better readability
2002-06-16 Alex Schroeder <alex@gnu.org>
* erc-nickserv.el(erc-nickserv-alist): Fixed typo.
2002-06-15 Alex Schroeder <alex@gnu.org>
* erc-nickserv.el(erc-networks): Added doc string.
(erc-nickserv-alist): Added doc string.
2002-06-14 Diane Murray <disumu@x3y2z1.net>
* erc-ring.el:
fixed bug so that the prompt and command always get put at the end of the buffer
2002-06-10 Mario Lang <mlang@delysid.org>
* erc-nickserv.el: Added iip support.
Added :type for erc-nickserv-passwords custom.
Fixed hook usage.
2002-06-07 Diane Murray <disumu@x3y2z1.net>
* erc-nickserv.el: * added GalaxyNet
* erc-nickserv-alist:
- sorting networks alphabetically
- added two more pieces of information in erc-nickserv-alist:
word to use for identification and whether to use the nickname
* erc-current-network:
- made regex case insensitive, downcase server to match
- uses the new information
- now uses new variable erc-networks instead of doing checking manually
* added variable erc-networks
* fixed some indentation, documentation
2002-06-07 Mario Lang <mlang@delysid.org>
* erc.el: Fix for kill-buffer hook stuff
2002-06-06 Mario Lang <mlang@delysid.org>
* erc.el: Added /squery command
2002-06-06 Diane Murray <disumu@x3y2z1.net>
* erc-menu.el: * made group Channel modes
- moved change mode and invite only mode to here
- added secret, moderated, no external send, topic lock, limit, key
* check that user is in a channel buffer and user is a channel operator
for all op-related actions
* "Identify to nickserv" needs erc-nickserv-identify defined
* added "Show ERC version"
* erc.el:
* added erc-set-channel-limit, erc-set-channel-key, erc-toggle-channel-mode
* added erc-get-channel-mode-from-keypress, which is bound to C-c m
sends the next character which is typed to one of the 3 new functions
- did not remove erc-invite-only-mode and it's key binding in case
people are used to it, although it probably should be removed...
* in erc-server-MODE:
added check if tgt equal to user's nick
removed erc-display-line, only using the erc-display-message
* added s461 to english catalog
* fixed bug where XEmacs would not quit if erc-quit-reason was
set to erc-quit-reason-various and assoc-default was not defined
2002-06-04 Andreas Fuchs <asf@void.at>
* erc-ezbounce.el, erc-match.el:
* erc-ezbounce.el: Added. Provides support for ezbouncer; automatic login,
session management implemented. I've contacted the author
about stuff in EZBounce's logging.
* erc-match.el: Fixed a stupid mistake where
"*** Your new nick is <foo>" would trigger an error.
2002-06-04 Diane Murray <disumu@x3y2z1.net>
* erc-nickserv.el, erc.el: * added erc-nickserv.el
* moved nickserv identification variables and functions to the new file
(require 'erc-nickserv) is now necessary for this to work
* erc.el:
* results of /COUNTRY now formatted as notice; errors are ignored,
fixing
bug which made prompt disappear
* added undefined-ctcp error message to english catalog
* changed some (when (not erc-disable-ctcp-replies) to use unless instead
and some if's without else statements to use when or use
* CTCP replies now use erc-display-message, formatted as notices
* added following to english catalog:
- undefined-ctcp
- CTCP-CLIENTINFO, CTCP-ECHO, CTCP-FINGER, CTCP-PAGE, CTCP-PING,
CTCP-SOUND, CTCP-TIME, CTCP-UNKNOWN, CTCP-VERSION
- s303, s305, s306, s353
* split erc-server-305-or-306 into erc-server-305 and erc-server-306
* KICK already had buffer set, using it
* erc.el:
* erc-format-timestamp now only called from erc-display-message and
erc-send-current-line
* all instances of erc-display-line with erc-highlight-error
changed to use erc-display-message
* added following error messages to english catalog:
bad-ping-response, bad-syntax, cannot-find-file, cannot-read-file,
ctcp-request, flood-ctcp-off, flood-strict-mode, no-default-channel,
no-target, variable-not-bound
* added following server related messages to english catalog:
s324, s329, s331, s332, s333, s341, s406, KICK, KICK-you, KICK-by-you, MODE-nick
* ignoring server codes 315, 369
* added erc-server-341, erc-server-406
* channel topic and mode notices displayed in respective channel buffers if they
exist
* erc-server-KICK: display the message before removing this channel so that we
can track the kick
* send parsed to erc-ctcp-query-ACTION-hook so that actions can be checked
by erc-match
* fixed bug where nil was shown if no reason was given by users on /PART
2002-06-03 Diane Murray <disumu@x3y2z1.net>
* erc-match.el:
* fixed bug where erc-log-matches produced an error when the value of
(erc-default-target) was not a channel
* use erc-format-timestamp, if it's non-nil, for %t in erc-log-match-format
2002-06-01 Diane Murray <disumu@x3y2z1.net>
* erc-button.el:
* made action case insensitive in erc-nick-popup and added a more descriptive
error message
2002-05-30 Brian P Templeton <bpt@tunes.org>
* erc.el:
Removed multiple calls of `erc-prompt' in `erc-display-prompt'
2002-05-29 Mario Lang <mlang@delysid.org>
* erc.el:
First step timestampkiller cleanup. I'm tired, do the rest tomorrow.
* erc.el:
New functionality: Catch channel/server buffer kills through kill-buffer-hook.
Currently, it only does a PART if you kill a channel buffer.
2002-05-28 Mario Lang <mlang@delysid.org>
* erc.el:
defvar'ed some buffer-local variables to make elint at least a bit more happy.
Moved comments into docstrings.
Changed some instances of member to memq.
* erc-track.el, erc.el:
* erc.el (erc-message-type-member): New function, used to test
for message type. Require erc-parsed text-property.
* erc-track.el (erc-track-exclude-types): New variable. Defaults
to ("JOIN" "PART") right now for testing, it should eventually set
to nil soon again.
(erc-track-modified-channels): Use above fun and var to optionally
exclude certain message types from channel tracking.
2002-05-28 Diane Murray <disumu@x3y2z1.net>
* CREDITS: added myself, vain as it sounds ;)
2002-05-25 Mario Lang <mlang@delysid.org>
* erc.el: * Some small docstring fixes
* (erc-display-line): Now takes also a process object in the buffer argument.
Used for easy sending to the server buffer.
* Several places: Just pass proc, not (process-buffer proc)
2002-05-24 Mario Lang <mlang@delysid.org>
* erc.el: Mostly docstring fixes/additions
* erc-netsplit.el: Doc fixes, and a new netjoin-done message.
* erc-fill.el: Doc fixes, erc-fill custom group, autoloads.
* erc-netsplit.el: Fix to erc-netsplit-timer.
* erc-netsplit.el: Fixed a silly typo
* erc-maint.el: is this really necessary?
* erc.el: Added new variable erc-hide-list.
It affects erc globally right now, and is used to hide certain IRC type messages like JOIN and PART.
* Makefile: Doh, I should really test this before checkin :)
* Makefile: Silly cut&paste bug fixed
* erc-list.el: Added autoload cookie
* erc-match.el: Added missing require erc.
* erc-notify.el: Autoload cookies and a -initialize function.
* erc-chess.el: Added autoload cookies
* Makefile: Finally, we have a Makefile.
Primarily used for autoload definition generation right now.
* erc-auto.in: First version.
* erc-track.el: Added autoload cookie
* erc-netsplit.el:
New module, used to autodetect and hide netsplits.
(Untested, no netsplit happened yet :) )
* erc-nets.el: Added some old code I once worked on.
Added autoload cookie
2002-05-24 Diane Murray <disumu@x3y2z1.net>
* erc-fill.el:
removed reference in documentation to old variable, changed it to the new one
* erc.el:
* added new function erc-connection-established which is called after receiving
end of MOTD (does nothing if it's been called before)
* added new hook erc-after-connect which is called from
erc-connection-established with the arguments server (the announced server)
and nick - which other arguments should be sent??
* added buffer variable erc-connected which is set to t the first time
erc-connection-established is called, set to nil again if we've been
disconnected
* set initial user mode
- added custom variable erc-user-mode which can be a string or a function
which returns a string
- new function erc-set-initial-user-mode gets called from
erc-connection-established
2002-05-22 Diane Murray <disumu@x3y2z1.net>
* erc.el: fixed bug where prompt was missing after reconnect
2002-05-21 Diane Murray <disumu@x3y2z1.net>
* erc.el:
in erc-nickserv-identify: if network is unknown, just use "Nickserv"
* erc.el: * fixed some typos
* timestamping
- ctcp request messages and replies now have timestamp
- timestamps in front of error messages now in timestamp face
- added timestamp to more error messages
* ctcp reply messages, server ping message updated
* added variable erc-verbose-server-ping - check this instead of erc-paranoid
* added whowas on no such nick:
- added variable erc-whowas-on-nosuchnick
- in erc-server-401 do WHOWAS if erc-whowas-on-nosuchnick is non-nil
* erc.el: forgot documentation for erc-nickserv-alist
* erc.el: NickServ identification changed and enhanced:
- erc-nickserv-identify-autodetect now called from erc-server-NOTICE-hook
- now possible to identify automatically without prompt:
- added custom variables erc-prompt-for-nickserv-password and
erc-nickserv-passwords
- added erc-nickserv-alist containing the different networks' nickserv details
- added function erc-current-network to determine the network symbol
- fixed bug where identification on dalnet didn't work, because they now
require NickServ@services.dal.net
now sends to all NickServ with nick@server where possible
2002-05-17 Diane Murray <disumu@x3y2z1.net>
* erc-fill.el:
* filling with erc-fill-variable now works with custom defined fill width:
- changed erc-fill-column from defvar to defcustom
- in erc-fill-variable: set fill-column to value of erc-fill-column
* erc.el: erc.el:
* fixed bug where topic wasn't being set when channel name was provided
erc-fill.el:
* filling with erc-fill-variable now works with custom defined fill width:
- changed erc-fill-column from defvar to defcustom
- in erc-fill-variable: set fill-column to value of erc-fill-column
2002-05-16 John Wiegley <johnw@gnu.org>
* erc.el: whitespace fix
2002-05-15 Diane Murray <disumu@x3y2z1.net>
* erc.el:
* added explanation of empty string working in erc-quit-reason-various-alist
* removed the text property from erc-send-message, it caused problems
with /SV (as noticed by gbvb on IRC) and is obviously not needed
* when receiving a ctcp query, convert type to uppercase to allow for
"/ctcp nick time" and not just "/ctcp nick TIME"
* timestamp in front of server notices now shown in the timestamp face
2002-05-13 Diane Murray <disumu@x3y2z1.net>
* erc.el:
- in erc-format-privmessage: `erc-format-timestamp' added to message after
message's text properties are applied so that it doesn't lose its face
- /quit without reason now works when `erc-quit-reason' is set to
`erc-quit-reason-various' and the empty string "" is defined in
`erc-quit-reason-various-alist'
2002-05-13 Andreas Fuchs <asf@void.at>
* erc-bbdb.el:
* Applied Drewies patch to pop-up on nick changes when -popup-type is 'visible
2002-05-12 Andreas Fuchs <asf@void.at>
* erc-bbdb.el, erc.el:
* erc-bbdb.el: pop up the buffer on /whois when erc-bbdb-popup-type is 'visible
* erc.el: fix for empty quit reason problem by drewie.
2002-05-12 Mario Lang <mlang@delysid.org>
* erc.el: disumu nick patch
- added erc-show-my-nick (default t)
if t, show nickname like <nickname>
if nil, only show a > character before the message
- added faces erc-nick-default-face and erc-nick-msg-face
- nicknames (channel, msgs, notices) are now in bold face by default
- the msg face matches the erc-direct-msg-face color
2002-05-10 Alex Schroeder <alex@gnu.org>
* erc.el(erc-send-pre-hook): Doc change.
* CREDITS: Alexander L. Belikoff is confirmed original author.
2002-05-10 Mario Lang <mlang@delysid.org>
* erc.el:
timestamp fix by disumutimestamp fix by disumutimestamp fix by disumutimestamp fix by disumutimestamp fix by disumutimestamp fix by disumutimestamp fix by disumutimestamp fix by disumu
2002-05-09 Mario Lang <mlang@delysid.org>
* erc.el: *** empty log message ***
2002-05-06 Mario Lang <mlang@delysid.org>
* erc.el:
New var: erc-echo-notices-in-minibuffer-flag. defaults to t.
2002-05-04 John Wiegley <johnw@gnu.org>
* TODO: *** empty log message ***
2002-05-03 Alex Schroeder <alex@gnu.org>
* erc.el: Copyright notice, version string updates.
2002-05-02 Alex Schroeder <alex@gnu.org>
* erc.el: Comment: dme is David Edmondson
2002-05-01 Alex Schroeder <alex@gnu.org>
* erc.el(erc-warn-about-blank-lines): New option.
(erc-send-current-line): Use it.
(erc-quit-reason-various-alist): New option.
(erc-quit-reason): New option.
(erc-quit-reason-normal): New function.
(erc-quit-reason-zippy): New function.
(erc-quit-reason-various): New function.
(erc-cmd-QUIT): Use them.
2002-04-30 Alex Schroeder <alex@gnu.org>
* erc.el: Version 2.92
* erc.el(erc-send-modify-hook): Default value is nil.
2002-04-27 John Wiegley <johnw@gnu.org>
* erc.el:
Don't redisplay the prompt if the ERC buffer is no longer alive.
2002-04-26 John Wiegley <johnw@gnu.org>
* erc.el:
Don't call `set-buffer' on old-buf unless the buffer is valid. It's
often not when separate frames are being used.
2002-04-23 Mario Lang <mlang@delysid.org>
* erc-button.el: fixed up erc-nick-regexp
2002-04-22 Brian P Templeton <bpt@tunes.org>
* erc.el:
`erc-prompt' may now be a function that returns a string (which is
used as the prompt). I don't use Customize but I think customization
of it may be broken if it's not a string.
There is a new `erc-prompt' function that returns the prompt as a
string (e.g., returning either the result of `(funcall erc-prompt)' or
`erc-prompt').
This allows for dynamic prompts, such as a LispWorks-like prompt, or
one containing simply the current channel name. It was requested by
Mojo Nichols (nick michols) in #emacs today, 21-Apr-2002; cf. the
#emacs logs at <URL:http://www.tunes.org/~nef/logs/emacs/02.04.21.
2002-04-17 Mario Lang <mlang@delysid.org>
* erc.el:
fix erc-send-current-line to work on empty lines again (without sending the prompt)
Fix C-c C-t to not include the nick/time info
(both from antifuchs)
* erc-complete.el: Fix for xemacs elt behavior
2002-04-17 John Wiegley <johnw@gnu.org>
* erc-chess.el:
Added a missing arg in a call to erc-chess-handler.
2002-04-15 John Wiegley <johnw@gnu.org>
* erc-chess.el: *** empty log message ***
2002-04-14 John Wiegley <johnw@gnu.org>
* erc-chess.el: *** empty log message ***
2002-04-12 John Wiegley <johnw@gnu.org>
* erc-chess.el: *** empty log message ***
* erc-chess.el: bug fixes
* erc-chess.el: *** empty log message ***
2002-04-12 Mario Lang <mlang@delysid.org>
* erc-chess.el: change order.
* erc-chess.el: more fixing.
Now, the 'match question works. It sends an accept back.
But display popup doesn't work..
* erc-chess.el: fixup (still far from working)
2002-04-11 Mario Lang <mlang@delysid.org>
* erc.el:
* Added :options entry for erc-mode-hook (erc-add-scroll-to-bottom)
2002-04-11 John Wiegley <johnw@gnu.org>
* erc.el: remove trailing \n from any sent text
* servers.pl, erc-bbdb.el, erc-button.el, erc-chess.el,
erc-complete.el, erc-fill.el, erc-ibuffer.el, erc-list.el,
erc-match.el, erc-menu.el, erc-nets.el, erc-replace.el,
erc-speak.el, erc-speedbar.el, erc-track.el, erc.el:
clean whitespace
* erc.el: Replaced erc-scroll-to-bottom.
2002-04-11 Mario Lang <mlang@delysid.org>
* erc-track.el:
try to fix behavior when used with different frames.
2002-04-09 Mario Lang <mlang@delysid.org>
* erc-chess.el:
fixup release, far from ready for real usage, but it appears to work.
* erc.el:
speed improvements based on elp-instrument-package RET erc- RET results
* erc-chess.el: initial version.
please test it
Get chess.el from johnw's cvs:
cvs -d:pserver:anonymous@alice.dynodns.net:/usr/local/cvsroot login
cvs -d:pserver:anonymous@alice.dynodns.net:/usr/local/cvsroot co chess
(as usual, blank password)
Add the resulting dir to your load-path and require erc-chess.
Usage: Just do /chess nickname
The remote end much use erc, as no other irc client I know of supports this ...
See erc-chess-default-display and maybe set it to chess-images or chess-ics1 if you prefer those over chess-plain.
Also, see erc-chess-user-full-name to set the name you use in chess games.
2002-04-04 Mario Lang <mlang@delysid.org>
* erc.el: New hackery latenightwise
* erc.el: upupadowndowncase
2002-04-04 Gergely Nagy <algernon@debian.org>
* debian/changelog: Updated for the new snapshot
* debian/rules: Install README.Debian into the package
* debian/README.Debian: Initial check-in
2002-04-04 Mario Lang <mlang@delysid.org>
* erc.el:
Fixed that /me in query buffers ended up in server buffer
* erc.el: * Implemented joining +k channels
2002-03-14 Mario Lang <mlang@delysid.org>
* erc.el: New utility function: erc-channel-list
minor fix to erc-get-buffer. hopefully that helps shapr
2002-03-12 Mario Lang <mlang@delysid.org>
* erc.el:
New /command: /QUOTE for sending directly to the IRC server
Removed erc-fill from erc-insert-modify-hook. To activate filling, simply customize that var.
2002-03-09 Brian P Templeton <bpt@tunes.org>
* CREDITS: *** empty log message ***
2002-03-09 Mario Lang <mlang@delysid.org>
* erc-complete.el:
New variable: erc-nick-completion-ignore-case. Defaults to t.
* erc-track.el:
* erc-track-shorten-name-function can now be set to nil to avoid treating of channel names at all.
2002-03-06 Gergely Nagy <algernon@debian.org>
* debian/changelog, debian/rules: update to new snapshot
2002-03-06 Mario Lang <mlang@delysid.org>
* erc.el:
Fixed nasty bug which prevented channel limit from correctly display/handling
* erc-track.el: Made shortening code highly customizable.
Now, there is the variable erc-track-shorten-function which holds
a function which gets called with one argument, CHANNEL-NAMES, which is a list
of strings of the channel names.
It needs to return a list of strings of the same length with the modified values...
* erc-track.el:
Added erc-track-shorten-aggressively, default to nil
if it is set to t, erc will shorten a bit more.
if nil, erc will shorten the name only if it would get shorter than just
one char...
* erc-speak.el: added iirc to the abbreviation expansion list.
* erc-track.el:
Added customization variable: erc-track-use-faces. defaults to t.
* erc-track.el: *** empty log message ***
* erc-track.el:
experimental: Added face support to mode-line channel activity tracker.
Currently we use the faces used for indicating in the buffer (erc-pal-face for channels with pal activity...)
2002-03-05 Mario Lang <mlang@delysid.org>
* erc-complete.el: * added docfixes (thanks ore)
* erc-track.el: Fixed channel-name reduction.
thanks again alex.
Renamed the vars to erc-track-opt-start and erc-track-opt-cutoff.
* erc.el: fixed another silly error
* erc-track.el: Implemented channel name shortening.
Vars erc-track-cutoff says: all channel names longer than this will be shortened.
Var erc-track-minimum-channel-length says: don't make names shorten than this.
(Thanks go out to kensanata for the nice unique-substrings utility function).
* erc.el 2002-07-15T00:01:34Z!raeburn@raeburn.org: silly typo corrected
* erc.el: New variable: erc-common-server-name-suffixes
This alist can be used to change the server names displayed in mode-line
to a shorter version..
* New function: erc-shorten-server-name (uses var above)
* Changed erc-prepare-mode-line to use erc-shorten-server-name.
2002-02-25 Mario Lang <mlang@delysid.org>
* erc.el:
CTCP handling rewritten. Seems to work. please test and report probs.
2002-02-24 Mario Lang <mlang@delysid.org>
* erc.el:
Fixed emacs20 backward compatibility (new defun/alias: erc-propertize)
2002-02-22 Mario Lang <mlang@delysid.org>
* erc-button.el: *** empty log message ***
2002-02-21 Mario Lang <mlang@delysid.org>
* erc-button.el, erc.el:
minor fixup related to read-only prompts and command renaming.
2002-02-21 Andreas Fuchs <asf@void.at>
* erc.el: * modify `erc-remove-text-properties-region' to work.
Could even be a little faster now. (-:
2002-02-21 Mario Lang <mlang@delysid.org>
* erc-ring.el:
fixed erc-replace-command to behave right when text is read-only.
Also, use erc-insert-marker and (point-max) now.
* erc.el: * Made erc-prompt read-only
* new function: erc-make-read-only. Can be used on erc-insert-post-hook and erc-send-post-hook to ensure read-only buffer text too
2002-02-19 Mario Lang <mlang@delysid.org>
* erc-list.el: added comment to docstring
* erc-speak.el: minor updates, use erc-nick-regexp now
* erc.el:
ensure that erc-timer-hook is called inside the server-buffer.
2002-02-19 Andreas Fuchs <asf@void.at>
* erc-match.el:
* Probably fixed the "number-char-or-marker-p: nil" bug.
2002-02-19 Mario Lang <mlang@delysid.org>
* erc-notify.el: Initial release.
* erc.el: added #303 handling
moved timer and added an arg (erc-current-time)
* erc-list.el, erc.el:
slightly changed the erc-once-with-server-event macro
* erc-button.el: erc-button-alist: doc fix and custom type fix
2002-02-18 Mario Lang <mlang@delysid.org>
* erc-list.el, erc.el: new macro: erc-once-with-server-event
erc-list.el: use it
* erc-match.el:
Minor fix related to hook call method change (-until-seccess now)
* erc.el: fixed ctcp behavior abit (with auto-query on)
* erc-list.el: ChanList mode.
Load it, and type M-x erc-chanlist RET
Demonstrates how the new hook system can be nicely used.
* erc.el:
new hook: erc-default-server-hook. This one gets called if we don't have anything defined for a certain IRC server message.
New function: erc-default-server-handler. (used by above hook).
New function: erc-debug-missing-hooks: Used by above hook to save a list of unimplemented server messages.
New function: erc-server-buffer, erc-server-buffer-p.
Various places: use it.
Minor fixup.
* erc-button.el: fix regexp to not buttonize ~user@host hostnames
2002-02-17 Mario Lang <mlang@delysid.org>
* erc-complete.el, erc.el: Eliminated erc-command-table
Upcased the command defuns (erc-cmd-join is now erc-cmd-JOIN)
Fixed erc-complete to not require erc-command-table.
Implemented erc-cmd-HELP
(You have to try that, its tooo coool!)
e.g. /help auto-q
fixed autoloads for erc-add-pal and so on to be interactive.
2002-02-17 Andreas Fuchs <asf@void.at>
* erc-match.el:
* Fix unfunctional code in `erc-get-parsed-vector-type'.
* erc-bbdb.el, erc-button.el, erc-match.el, erc.el:
* Be careful: MANY changes ahead. I won't go into too much details.
* erc.el, new file erc-match.el: split out all pattern-matching code.
* erc.el: removed all defcusts for erc-{...}-highlight-props. They are
quite useless, anyway.
* moved erc-add-entry-to-list and -remove- over to erc-match. changed
their arg list.
* erc.el: add autoloads for erc-{add,delete}-{keyword,pal,fool,dangerous-host}
* erc.el: erc-server-PRIVMSG-or-NOTICE:
- remove all the highlighting crap
- add a (when (eq s nil) ...) so that untreated CTCP messages don't
get misdisplayed.
* erc.el: erc-mark-message: removed this function, it's useless
* erc.el: minor bugfixes.
* erc-match.el: first checkin. This file now contains all the pattern
matching stuff. there is now another defcust group, erc-match,
containing all match related stuff (erc-keywords, ...)
* erc-match.el: added functionality to log matching lines. Quite
customizable, check out the docstring of defun erc-log-matches
* erc-match.el: added functionality to make foolish messages
invisible/intangible. This could replace erc-ignore-list
sometime. it's more powerful right now, anyway.
* erc-match.el erc-text-matched-hook: new hook. run when Text matches
anything (pal, fool, etc.).
* erc-button.el: Make nick buttonization customizable.
* erc-button.el: Give nick buttonization a lower priority so that it
does not break url buttons.
* erc-bbdb.el: Add \n to the separators by which we split nicknames.
2002-02-17 Mario Lang <mlang@delysid.org>
* TODO: Added item
2002-02-17 Brian P Templeton <bpt@tunes.org>
* CREDITS, erc.el: Added invisible timestamp support.
2002-02-16 Gergely Nagy <algernon@debian.org>
* debian/changelog, debian/rules, debian/scripts/install:
updated to new snapshot
2002-02-16 Mario Lang <mlang@delysid.org>
* erc.el:
Fixed channel limit format overflow in mode-line display.
(Having to use floats if integers are to large is quite strange, isn't it?)
* TODO: TODO list created.
Add comments and expand it.
* erc.el: Fixed bug in query buffer handling (only happened in
mixed-case situations)
* erc.el: shapr checkdoc patch #1
massive docfixes! yay, keep going!
2002-02-15 Mario Lang <mlang@delysid.org>
* erc.el: various other fixes
make s301 a catalog entry
2002-02-15 Andreas Fuchs <asf@void.at>
* erc.el: * erc-server-NICK and erc-server-INVITE: fixed to use
`erc-display-message'. These I missed in the first checkin. I
didn't say it in the last log message, but please test these.
* erc-fill.el, erc.el:
* erc.el: updated many functions to use `erc-display-message'. Now, we
should go for getting highlighting out of
erc-server-PRIVMSG-or-NOTICE. The part I want to attack has been
marked.
* erc-fill.el: updated static filling to leave the erc-parsed property alone.
2002-02-15 Mario Lang <mlang@delysid.org>
* erc.el:
first step, new function: erc-display-message
* erc.el: added numreply 379 and 405.
* erc.el: stupid typo fixed
* erc.el:
Finally renamed erc-frame-dedicated-p to erc-frame-dedicated-flag
Removed usage of erc-interpret-controls from info buffer drawing (major speedup)
Other speedups based on the results from elp.
ERC is now about 300%-500% faster in some situations with very full channels!!!!!
2002-02-14 Andreas Fuchs <asf@void.at>
* erc.el:
* erc-downcase now downcases {}|^ with []\~ -- 'stolen' from zenirc.
* various checkdoc fixes. Just the upper third of the file, but that
should help a little, too. (-: Again, if you have any writing
skills, take out that dusty keyboard and tap it to the beat of M-x
checkdoc!
2002-02-14 Gergely Nagy <algernon@debian.org>
* erc.el(erc-format-privmessage):
fix it, so timestamp-coloring works again (patch from antifuchs)
2002-02-14 Mario Lang <mlang@delysid.org>
* erc.el: Many fixes based on M-x checkdoc RET.
If you have write access, and some english knowledge, help document erc too!
M-x checkdoc RET, and follow the instructions.
* erc-button.el, erc-ibuffer.el: minor fixes
* erc.el: Use nreverse instead of reverse.
Use eq instead of equal where possible.
Rewrote erc-get-buffer to not use find-if (find-if does very deep function-call nesting, which isn't good in a defun which is called so often)
2002-02-13 Mario Lang <mlang@delysid.org>
* erc-button.el, erc.el:
In erc.el, new hook: erc-channel-members-changed-hook.
erc-button.el: Now highlight all nicknames. uses regexp-opt.
2002-02-04 Mario Lang <mlang@delysid.org>
* erc-nets.el:
Database of irc networks. Use erc-server-select to interactively select one.
* erc.el: * erc-format-nick-function: New variable.
* (erc-format-nick): The default for above var. Just return the nick.
* (erc-format-@nick): Prefix NICK with @ or + if OP or VOICE.
* Removed erc-track-modified-channels related code and moved into erc-track.el
Its auto-loaded now
* erc-track.el: Split code from erc.el
2002-02-01 Mario Lang <mlang@delysid.org>
* erc-ibuffer.el:
* erc-target now uses erc-port-to-string
* servers.pl:
Script to convert mircs servers.ini to a elisp salist kind of thing.
(development tool, it doesn't help you much as a user)
* erc.el:
* erc-display-line-buffer: renamed to erc-display-line-1
* erc-port-equal: New function.
* erc-normalize-port: Used by erc-port-equal
* minor docstring fixes
2002-02-01 Andreas Fuchs <asf@void.at>
* erc.el:
* erc-already-logged-in-p: compare ports is more robust now.
* erc-button.el: * Add buttonization to erc-send-modify-hook, too
2002-01-31 Mario Lang <mlang@delysid.org>
* erc.el:
Use insert-before-markers instead of insert in erc-display-line-buffer
This fixed point@column 0 problem and gives us some speedup! yay
* erc-ibuffer.el, erc.el: minor fixes
* erc.el:
* (erc-line-beginning-position): Renamed to erc-beg-of-input-line.
* (erc-line-end-position): Renamed to erc-end-of-input-line.
* erc-multiline-input-p: Variable removed.
* erc.el:
Minor docstring fixes (using M-x checkdoc-current-buffer)
If you find time, and you are native english speaker, do that too!!
* erc.el: fixed macro-invocation
2002-01-31 Andreas Fuchs <asf@void.at>
* erc.el: * erc-with-all-buffers-of-server: use erc-list-buffers
* erc-process-away, erc-{save,kill}-query-buffers: use it.
* erc-cmd-away-all: new command. Set away/back on all servers.
* erc.el:
* Fix last multiline bug in erc-send-distinguish-noncommands.
2002-01-31 Mario Lang <mlang@delysid.org>
* erc-ibuffer.el, erc.el: minor fixes
2002-01-30 Mario Lang <mlang@delysid.org>
* erc-ibuffer.el, erc-menu.el, erc-speak.el, erc.el:
Renamed erc-track-modified-channels-minor-mode to erc-track-modified-channels-mode (at least, its a bit shorter)
Added docstring to erc-server-hooks (through the macro)
Minor docfix in obsolete hook
2002-01-30 Andreas Fuchs <asf@void.at>
* erc.el:
* erc-send-current-line: fix behavior where buffer changes.
* erc-mark-message: fix stupid face bug. highlighting of pals should work now.
* erc-ring.el, erc.el:
* new hooks: erc-send-pre-hook, erc-send-modify-hook, erc-send-post-hook
* erc-send-this: new variable
* erc-noncommands-list: new constant.
* erc-send-distinguish-noncommands: use it. (First filter function for sending! yay!)
* erc-send-current-line: nearly completely rewritten.
- now handles multiline input. (yay!)
- now uses the three hooks from above.
* erc-process-line: new arg, no-command: don't process this line as a command.
2002-01-30 Mario Lang <mlang@delysid.org>
* erc-bbdb.el, erc-button.el, erc-speak.el, erc.el:
hook handling rewrite phase 1.
2002-01-30 Andreas Fuchs <asf@void.at>
* erc.el: * Rework erc-server-PRIVMSG-or-NOTICE
* New function: erc-is-message-ctcp-p
* New function: erc-format-privmessage
* New function: erc-mark-message
* erc-server-PRIVMSG-or-NOTICE: use them.
2002-01-30 Mario Lang <mlang@delysid.org>
* CREDITS, HISTORY:
Initial checkin.
2002-01-29 Andreas Fuchs <asf@void.at>
* erc.el: * erc-put-text-properties: make OBJECT optional
* erc-put-text-property: same
* erc-server-PRIVMSG-or-NOTICE: use them.
* Make erc-display-line-buffer: add the "\n" even when the string would be invisible.
* same: make the \n invisible, too (:
2002-01-29 Mario Lang <mlang@delysid.org>
* erc-ibuffer.el, erc.el:
Rewrote channel tracking using window-configuration-change-hook instead of defadvices.
2002-01-28 Andreas Fuchs <asf@void.at>
* erc-fill.el, erc.el:
* Macro define-erc-highlight-customization: Ease up defining
erc-{fool,pal,..}-highlight-props defcusts.
* defcusts:
- erc-fool-highlight-props
- erc-pal-highlight-props
- erc-dangerous-host-highlight-props
- erc-keyword-highlight-props
Customizable to either nil or "Hide message".
* erc-string-invisible-p: check for invisible chars in string
* erc-display-line-buffer: use it.
* erc-put-text-properties: put a list of props into a piece of text.
* erc-server-PRIVMSG-or-NOTICE: use it; set appropriate
highlight-props for entire incoming message. This set of changes
allows you to e.g. auto-ignore fools.
2002-01-28 Mario Lang <mlang@delysid.org>
* erc-ibuffer.el:
Added highlight detection support to the Mark column.
Now p, k, f, and d indicate pal, keyword, fool and dangerous-host related activity.
* erc.el:
Highlight tracking finished. All necessary info should now be in erc-modified-channels.
* erc.el, erc-ibuffer.el, erc-speedbar.el:
Added highlight tracking to track-modified-channels
no display code yet, the info is just kept in erc-modified-channels
Added erc-modified column to ibuffer
speedbar update
* erc-ibuffer.el: Added erc-members column
* erc-ibuffer.el: *** empty log message ***
2002-01-28 Andreas Fuchs <asf@void.at>
* erc-bbdb.el:
* Fix a slight typo. The hook function should be called in
erc-server-376-hook (-:
2002-01-28 Mario Lang <mlang@delysid.org>
* erc-ibuffer.el: *** empty log message ***
2002-01-27 Mario Lang <mlang@delysid.org>
* erc-ibuffer.el: Fixup, it sort of works now. Try it
* erc-ibuffer.el: Initial version
2002-01-26 Mario Lang <mlang@delysid.org>
* erc.el: *** empty log message ***
2002-01-25 Andreas Fuchs <asf@void.at>
* erc-bbdb.el: * fix two bad things:
- fix the "proc trick": pass proc as an arg through
...-insinuate-... to ...-show-entry
- hook highlighting into the 376 hook. This one is bound to get
called (-:
* We now only append to hooks only.
* Highlighting of changing records gets updated automatically.
2002-01-25 Mario Lang <mlang@delysid.org>
* erc.el: *** empty log message ***
2002-01-25 Andreas Fuchs <asf@void.at>
* erc-bbdb.el: * nearly complete rewrite of erc-bbdb:
- Removed code duplication in erc-bbdb-NICK and -JOIN.
- Made erc-bbdb-show-entry more general and intelligent.
- erc-bbdb-insinuate-entry is now erc-bbdb-insinuate-and-show-entry
(note the different arglist!):
- erc-search-name-and-create now creates "John Doe" users if name
is not specified.
- No sign of "mail" anywhere anymore. It's all finger-host. (-:
- erc-bbdb-popup-p is now called erc-bbdb-popup-type.
- New customize values:
. erc-bbdb-irc-channel-field channel field name
. erc-bbdb-irc-highlight-field (see below)
. erc-bbdb-auto-create-on-nick-p auto-create record on join
* Highlighting based on BBDB is now here! Specify which type of
highlighting a person in the BBDB (whose nick you know) and have
fun! Read help to erc-bbdb-init-highlighting for details. Changes:
- new function erc-bbdb-init-highlighting: gets called on server
connect.
- new function erc-bbdb-highlight-record: highlights a person's
nick names.
2002-01-24 Andreas Fuchs <asf@void.at>
* erc-button.el:
* Fix the erc-button-alist regexp for EmacsWiki stuff. delYsid's version
is better (-:
* erc-button.el: * Added an Ewiki: specifier to the url-regexp.
<nickname> EmacsWiki: EmacsIRCClient tells you <bla>
should highlight "EmacsWiki: EmacsIRCClient" and allow you to
browse to the wiki when the button is activated.
* new custom: erc-emacswiki-url.
* new function: erc-browse-emacswiki: use it.
2002-01-23 Mario Lang <mlang@delysid.org>
* erc-bbdb.el:
erc-bbdb-NICK: Added regexp-quote around fingerhost search.
2002-01-10 Andreas Fuchs <asf@void.at>
* erc.el:
* Channel saving/killing on quit from server implemented:
- defcust erc-save-queries-on-quit: Save server's channel buffers on quitting from server
- defcust erc-kill-queries-on-quit: Kill server's channel buffers on quitting from server
- Macro erc-with-all-buffers-of-server: Run a form inside all the server's query buffers
- Functions erc-{kill,save}-query-buffers: use it.
* Added indent-tabs-mode: t to Local Variables section.
2002-01-07 Andreas Fuchs <asf@void.at>
* erc-replace.el: * fix stupid documentation errors.
2002-01-07 Mario Lang <mlang@delysid.org>
* erc.el:
* (toplevel): Revert previous change. This resulted ina recursive load...
You have to put (require 'erc-button) into your .emacs for now
2002-01-05 Mario Lang <mlang@delysid.org>
* erc.el:
* Added require for erc-button. This is devel. so I need testers :)
* erc-button.el: * Added proper file headers (GPL).
2002-01-04 Mario Lang <mlang@delysid.org>
* erc-button.el: * erc-button-alist: Added entry for finger
* erc-button.el: * Removed bogus usage of :button-keymap.
P
Does anyone know what this was supposed to do anyway?
* erc-button.el: * Initial version.
* This module allows a way of buttonizing text in IRC buffers.
Default it is used for URLs, but other things could be added.
see if you can find another use, erc-button-alist
2001-12-18 Mario Lang <mlang@delysid.org>
* erc.el: * Added missing 747 numreply (banned)
2001-12-15 Gergely Nagy <algernon@debian.org>
* debian/scripts/install, debian/rules:
updated to 2.1.cvs.20011215-1
* debian/changelog: Debian version 2.1.cvs.20011215-1
2001-12-11 Andreas Fuchs <asf@void.at>
* erc.el:
* applied a nicer version of mhp's patch to remove the last prompt from
saved logs
* erc-replace.el: * Initial checkin
2001-12-11 Mario Lang <mlang@delysid.org>
* erc.el:
* fixed bug triggered when reuse-buffer was enabled (the default).
Another silly port type problem. Maybe we should unify that once and for all sometimes...
2001-12-10 Mario Lang <mlang@delysid.org>
* erc.el: * erc-message-english: New QUIT and s004 entries.
* (erc-save-buffer-on-part): New variable.
* (erc-kill-buffer-on-part): New variable.
* (erc-server-PART): Use above variables.
* (erc-join-channel): Use DEF argument instead of initial input for completing-read.
2001-12-08 Tijs van Bakel <smoke@wanadoo.nl>
* erc.el: added defcustom erc-nick-uniquifier ^ (i prefer _)
2001-12-07 Gergely Nagy <algernon@debian.org>
* debian/changelog: changelog for version 2.1.cvs.20011208-1
2001-12-07 Tijs van Bakel <smoke@wanadoo.nl>
* erc.el:
Added erc-scroll-to-bottom as an erc-insert-hook function. It still bugs a bit, so please test it, thanks
2001-12-07 Mario Lang <mlang@delysid.org>
* erc.el: * Fixed silly bug in erc-server-TOPIC (thanks mhp)
* erc-speak.el:
* Fix non-greedy matching bug. That one somehow swallowed text
* erc.el:
Fix Emacs20 problem. For now, we disable erc-track-modified-channels-minor-mode in emacs20
2001-12-07 Andreas Fuchs <asf@void.at>
* erc-fill.el:
* Fix another stupid one-off error. This time it really works!
(Until I find the next bug. I guess you can hold your breath) (-:
2001-12-06 Andreas Fuchs <asf@void.at>
* erc-fill.el: * Fixed static filling:
** No more \ed (continued on next line) lines anymore
** Fixed bug with previous version where longer lines wouldn't get
filled correctly (i.e. at all)
2001-12-06 Gergely Nagy <algernon@debian.org>
* debian/changelog: changelog for 2.1.cvs.20011206-1 added
2001-12-06 Andreas Fuchs <asf@void.at>
* erc.el:
* Don't discard away status when identifying to NickServ
* Modify `erc-already-logged-in': check for port, too.
* erc-fill.el:
* Fix stupid loop non-termination error in erc-fill-static when filling
one-line regions.
* Make erc-count-lines return meaningful values
2001-12-05 Mario Lang <mlang@delysid.org>
* erc.el:
* (erc-process-input): Make ' /command' work for quoting /commands
* erc-speak.el: see changelog
* erc-fill.el: see erc.el changelog
* erc.el:
* erc-insert-hook: Changed strategy completely, no start end parameters any more.
We narrow-to-region now, that's much cleaner.
* rename erc-fill-region to erc-fill and change the autoload
** You'll probably need to restart Emacs
2001-12-04 Mario Lang <mlang@delysid.org>
* erc.el:
* (erc-send-current-line): Fixed long outstanding bug. XEmacs users with erc-fill-region on erc-insert-hook knew that one a long time.
* erc.el: fix order of attack
* erc.el: * macroexpanded define-minor-mode for XEmacs
* erc.el: First try to make channel tracking mouse sensitive
* erc.el: * More erc-message-format conversion.
erc-format-message-english-PART as an example on how to use functions to format message
* (erc-format-message): Fallback mechanism to use english catalog if variable is not bound
2001-12-03 Mario Lang <mlang@delysid.org>
* erc.el: * (erc-iswitchb): Rewrite, docfix.
Make it use erc-modified-channels as default if available.
* erc-menu.el:
* Fixage related to erc-track-modified-channels-minor-mode rewrite
* erc.el:
* (erc-track-modified-channels-minor-mode): Use buffer objects instead of erc-default-target return value for internal state keeping.
* erc.el: * Made reconnect behave nicer (erc-process-sentinel)
* Rewrote erc-modified-channels-tracking completely.
Its now a minor mode (erc-track-modified-channels-minor-mode)
It uses a list as internal representation now, so all silly string-parsing
related bugs should be gone.
Use (erc-track-modified-channels-minor-mode t) now to toggle this functionality.
Don't set the erc-track-modified-channels-minor-mode variable yourself, use the toggle function
2001-11-29 Gergely Nagy <algernon@debian.org>
* debian/changelog: final version
2001-11-29 Mario Lang <mlang@delysid.org>
* erc.el:
* (erc-channel-p): Make it work with string and buffer as parameter. buffer.
* (erc-format-message): Add a check for functionp. This allows a format-specifier also to be a function name, which gets called with args applied and needs to return the actual format string.
* Converted some formats, JOIN, JOIN-you, MODE, ...
2001-11-28 Mario Lang <mlang@delysid.org>
* erc.el:
* (erc-prepare-mode-line-format): Added sanity checks to prevent it from having problems with server buffers where the connection failed
* erc-bbdb.el:
* (erc-bbdb-JOIN): regexp-quote the fingerhost before searching, some people have really strange characters as their user names
* erc.el: Remove a stupid debug like (message ...) call
2001-11-28 Gergely Nagy <algernon@debian.org>
* debian/changelog: draft of 2.1.cvs.20011128-1
* debian/rules: simplify for the all-in-one erc package
* debian/control: integrated erc-speak back into erc
* debian/maint/conffiles, debian/maint/conffiles.in, debian/maint/postinst,
debian/maint/postinst.in, debian/maint/prerm, debian/maint/prerm.in,
debian/scripts/install, debian/scripts/install.in, debian/scripts/remove,
debian/scripts/remove.in, debian/scripts/startup.erc-speak:
since erc-speak is gone, resurrect the static files, and update them to support the latest erc
2001-11-28 Mario Lang <mlang@delysid.org>
* erc.el: * (erc-mode): Shouldn't be interactive.
* (erc-info-mode): Ditto.
* erc.el: * (erc-server-352): Added hopcount parsing.
Added call to erc-update-channel-member to fill in channel-members information
on /WHO if the channel is joined.
2001-11-27 Mario Lang <mlang@delysid.org>
* erc-speedbar.el: *** empty log message ***
* erc-speedbar.el: * (erc-speedbar-expand-user): New function.
Used when more information than just the nick name is available about a dude.
* erc.el: * Fixed stupid edit,checkin,save cycle error :)
* erc.el:
* (erc-generate-log-file-name-default): Renamed to -long
Doc fix.
* (erc-generate-log-file-name-old): Renamed to -long
Doc fix.
* (erc-generate-log-file-name-function): Set default to ...-long
Doc fixes
* erc-speedbar.el: *** empty log message ***
2001-11-26 Mario Lang <mlang@delysid.org>
* erc-speedbar.el: * Integrated channel names list
what else do we need to replace info buffers???
please test that code and comment on erc-ehlp, thanks
* erc-speedbar.el:
* Added erc-speedbar-goto-buffer and therefore enable switching to the buffers from speedbar
* erc-speedbar.el:
I had to check this in, it works !! sort of,, megaalphagammaversion, first version. test, play, submit ideas/patches
2001-11-26 Gergely Nagy <algernon@debian.org>
* erc.el(erc-mode): moved erc-last-saved-position here
moved buffer naming code from here..
(erc): ...to here
(erc-generate-log-file-name-old): only prepend target if it exists
made erc-log-insert-log-on-open a defcustom
2001-11-26 Mario Lang <mlang@delysid.org>
* erc.el:
* Applied antifuchs/mhp patches, the latest on erc-help, unmodified
* New variable: erc-reuse-buffers default to t.
* Modified erc-generate-new-buffer-name to use it. it checks if server and port are the same,
then one can assume that's the same channel/query target again.
2001-11-23 Mario Lang <mlang@delysid.org>
* erc-bbdb.el:
* new function erc-BBDB-NICK to handle nickname annotation on a nick-change event of a known record
* erc.el: * Remove erc-rename-buffer, its no longer necessary
* Remove erc-autoop-*. it was broken, and needed rewrite anyway
* write erc-already-logged-in in terms of erc-buffer-list and make the duplicate login check work again
* erc.el: * Fixed stupid typo
2001-11-22 Mario Lang <mlang@delysid.org>
* erc.el: * New local variable, erc-announced-server-name
* erc-mode-line-format supports a new symbol, target-and/or-server
* The mode-line displays the announced server name now (for autojoin later...,
greets Adam)
* New macro, erc-server-hook-list for a nice way to define the defcustoms of the erc-server-*-hook's
Thanks go to the guy from #emacs who helped with that
* erc-fill-region is now autoloaded from erc-fill.el
* erc-fill.el implements a new fill method, erc-fill-static
(setq erc-fill-function 'erc-fill-static)
* Some other things I forgot right now
* erc-bbdb.el: *** empty log message ***
* erc-fill.el: Initial version.
* erc-complete.el:
Applied antifuchs patch to make completion work with (string= erc-prompt "")
* erc-complete.el:
added function erc-nick-completion-exclude-myself
you can set erc-nick-completion to 'erc-nick-completion-exclude-myself to use it
2001-11-21 Mario Lang <mlang@delysid.org>
* erc-bbdb.el:
* Changed usage of 'finger-host to bbdb-finger-host-field
* erc-bbdb.el:
* Changed WHOIS to use finger-host instead of net field.
* Added 'visible as option to erc-bbdb-popup-p to only pop-up the bbdb buffer if a join happened in a visible buffer on any visible frame.
* Added (regexp-quote ...) for nickname search in erc-bbdb-JOIN
2001-11-20 Mario Lang <mlang@delysid.org>
* erc-bbdb.el: * Added JOIN support
2001-11-19 Mario Lang <mlang@delysid.org>
* erc.el:
Initial message catalog code. converted erc-action-format usage to use it
* erc.el: * erc-play-sound: Added XEmacs related check
* erc-bbdb.el: * Initial version, many thanks to Andreas Fuchs
* erc.el: * Fixed silly problem with whois/was handling
* erc.el: * Renamed prev-rd to erc-previous-read
* Removed erc-next-line-add-newlines and s next-line-add-newlines to nil in defun erc by default
* erc.el:
fixed xemacs compatibility prob with delete, thanks Adam
2001-11-18 Mario Lang <mlang@delysid.org>
* erc.el: numreplies 301 & 461
2001-11-13 Tijs van Bakel <smoke@wanadoo.nl>
* erc.el:
Added code for error reply 421 "Unknown command", to test the new server parsing system.
This was really easy! Thanks ZenIRC guys & delysid :-)
2001-11-13 Mario Lang <mlang@delysid.org>
* erc.el: * Allow connecting to SSL enabled irc servers.
Ugly hack, but it works for now. Be sure to use the numeric irc port 994 so that erc can recognize what you want
good example is
irc server: ircs.segfault.net
port: 994
meet me there, I am still delYsid :)
* erc.el: * some more numreply handlers
* cleanup in erc-process-away-p
* new function erc-display-error-notice
* erc.el: * numreply 501 and 221
* erc.el:
removed obsolete old hook variables. Your functions may break, but it is easy to hook them up to the new hooks.
erc-part-hook: use erc-server-PART-hook instead
erc-kick-hook: use erc-server-KICK-hook instead
and so on
* erc.el:
fixed serious bug which cause privmsgs vanishing when erc-auto-query was set to nil
* erc.el: cleaned up erc-process-filter
* erc.el: * 401 and 320 numreplies implemented
* erc.el: * Removed old/now obsolete code
* erc.el: * Fixed bug in erc-server-MODE
2001-11-12 Mario Lang <mlang@delysid.org>
* erc.el: fixed it
* erc.el:
*** We switched over. New server message parsing/handling is running now. Thanks to the zenirc developers for the great ideas I got from the code!!!!! Go and test it, poke at it, bug me on irc about problems
* erc.el: *** empty log message ***
2001-11-12 Tijs van Bakel <smoke@wanadoo.nl>
* erc.el:
Fixed bug in erc-get-buffer, now channel names are compared in
a case-insensitive way.
2001-11-12 Mario Lang <mlang@delysid.org>
* erc.el: erc-server-353
2001-11-12 Tijs van Bakel <smoke@wanadoo.nl>
* erc.el: Fixed docstring for erc-get-buffer.
Added erc-process to a lot of calls to erc-get-buffer, so
that only the local process is searched.
2001-11-12 Mario Lang <mlang@delysid.org>
* erc.el: * erc-buffer-filter: do it differently
* erc.el: ugly but working fix for mhp's query problem
* erc.el: * erc-server-PRIVMSG-or-NOTICE
Now, all the server word replies are finished. Going to numreplies now
* erc.el:
* debugging facilities for the transition. C-x 2 C-x o M-x ielm RET erc-server-vectors RET ; to get a list of all server messages currently not handled in the new code. Feel free to pick one and implement it
* erc.el: * erc-server-KICK and erc-server-TOPIC. new functions
* erc-server-305-or-306 and erc-server-311-or-314
* erc.el:
* ported PART and QUIT msgs to the new scheme, many to go. but it is a easy task. does someone wanna try and start with numreplies?
* erc.el: * erc-server-JOIN
* erc.el: * Ported erc-server-INVITE code
* erc.el: * erc-server-ERROR and erc-server-MODE
2001-11-11 Mario Lang <mlang@delysid.org>
* erc.el: * zen
* erc.el: * New variable erc-connect-function.
* erc.el:
* New function erc-channel-p and use it where appropriate
* erc.el: * Removed the variable erc-buffer-list completely now
* Moved erc-dbuf around a bit
* erc.el: * Fix silly change in quit/rename msg handling
* erc.el: thanks mhp, fixed
* erc.el: * Tijs van Bakel's work from 10th Nov. merged in
* My additions to that idea merged in too
Basically, this is a major rewrite, if you are scared and want avoid problems,
stay at your current version. It seems fairly stable though.
That changed? erc-buffer-name handling was completely rewritten,
and erc-buffer-list local variable handling removed.
Simplifies alot of code. Poke at it. read the diff. report bug/send patches!
* erc.el: * Added variable listing when /set is used without args
2001-11-10 Mario Lang <mlang@delysid.org>
* erc.el:
* Comment/structure cleanup, removal of unnecessary code
* erc.el: only some code beautification
* erc-imenu.el:
remove add-hook call, that's done in erc.el now for autoloadability
* erc.el: * Make erc-imenu autoloadable
* erc.el:
* The long promised erc-mode-line-format handling rewrite
Poke at it, try it, play with it, report bugs
* erc.el:
some regex-quote fixes, new function erc-cmd-set, and minor things
2001-11-08 Mario Lang <mlang@delysid.org>
* erc.el:
* added second timestamp-format (erc-away-timestamp-format) for marking msgs when being away
* erc-complete.el: fixed silly defun
* erc.el: * Rewrote erc-load-irc-script (simplified)
* Removed deprecated code
* erc-speak.el: * reflect changes in erc.el
* erc.el:
* Moved completion related functions into erc-complete.el
placed an autoload instead into erc.el. That quite cool,
because erc-complete.el only gets loaded when you use
TAB first time in erc.
* erc-complete.el: _ Initial checkin
* erc.el: * New function: erc-chain-hook-with-args
* Changed calls to erc-insert-hook to use it
2001-11-07 Mario Lang <mlang@delysid.org>
* erc.el: * Patch from Fabien Penso
Make completion case insensitive. try it! its cool
* erc.el: * Reduction patch 2
This time, we move the input ring handling into erc-ring.el
Remember that you need (require 'erc-ring) in your .emacs to get the input handling as a feature
And remember, that you don't need it if you don't use input ring :-)
* erc-ring.el: * Initial checkin
* erc.el: * The great reduction patch :-)
moved relevant function from erc.el to new file erc-menu.el and erc-imenu.el
* erc-imenu.el: Initial version
* erc-menu.el: * Initial version
* erc.el: * wording change suggested by Benjamin Drieu
2001-11-07 Tijs van Bakel <smoke@wanadoo.nl>
* erc.el: Added Emacs version to /SV
2001-11-07 Mario Lang <mlang@delysid.org>
* erc.el: * Hookification patch, read the diff
* erc.el: too tired for a changelog :)
2001-11-06 Mario Lang <mlang@delysid.org>
* erc.el:
* make erc-cmd-op and erc-cmd-deop take multiple nicknames as argument
2001-11-06 Gergely Nagy <algernon@debian.org>
* debian/changelog: sync
* debian/rules: fixed a typo: PKGDIR, not PKIDR
2001-11-06 Mario Lang <mlang@delysid.org>
* erc.el:
* Changed timestamping when away to use erc-timestamp-format and append the timestamp instead of prepending it..
* minor cleanup, s/(if (not /(unless/ and the like
2001-11-06 Tijs van Bakel <smoke@wanadoo.nl>
* erc.el: Fixed OP and DEOP commands to return T.
Added SV say-version command.
Added erc-send-message utility function, but it's not used everywhere yet.
2001-11-05 Mario Lang <mlang@delysid.org>
* erc.el: stupid delYsid, forgot require 'format-spec. good nite
* erc.el:
* new variable erc-action-format. Some erc-notice-prefix fixes again
* erc.el: * erc-minibuffer-privmsg defaults to t
* erc.el:
* Small fix in relation to the transition to erc-make-notice
2001-11-05 Tijs van Bakel <smoke@wanadoo.nl>
* erc.el:
Renamed erc-message-notices to erc-minibuffer-notice, and renamed erc-prevent-minibuffer-privmsg to erc-minibuffer-privmsg, inverting its functionality
* erc.el: Added support for channel names starting with & + and !.
Also, many changes partially discussed on the mailing list:
* erc.el (cl): Add requirement for cl package.
(erc-buffer-list): Make this variable global again.
(erc-default-face): Fix typo.
(erc-timestamp-face): Add face for timestamps.
(erc-join-buffer, erc): Add a 'bury option.
(erc-send-action): Add timestamp.
(erc-command-table): Add /CLEAR, /DEOP, /OP, /Q.
(erc-send-current-line): Add timestamp.
(erc-send-current-line): Add call to erc-insert-hook.
(erc-cmd-clear): New command to clear buffer contents.
(erc-cmd-whois): Fix cut'n'paste-o.
(erc-cmd-deop): New command to deop a user.
(erc-cmd-op): New command to op a user.
(erc-make-notice): Moved a lot of duplicate code here. Perhaps
this should also be done for erc-highlight-error.
(erc-parse-line-from-server): Now NOTICE will also open a new
query, just as PRIVMSG.
(erc-parse-line-from-server): Call erc-put-text-property on a
channel message/notice first, before concatenating nick and
timestamp &c.
(erc-message-notices): Add option to display notices in
minibuffer.
(erc-fill-region): No longer strip spaces in front of incoming
messages.
(erc-parse-current-line): No longer strip spaces in front of text
input by user.
Hopefully I didn't break too much :(
2001-11-05 Mario Lang <mlang@delysid.org>
* erc.el:
* New function erc-nickserv-identify-autodetect for erc-insert-hook. Added by default currently.
* erc.el:
* Mini-fix in erc-process-num-reply (= n 353): Added @ as prefix character to make certain channels on opn work again nicely
2001-10-31 Gergely Nagy <algernon@debian.org>
* debian/changelog: updated to reflect changes
* debian/scripts/install.in:
moved #PKGFLAG# before -f batch-byte-compile
2001-10-29 Mario Lang <mlang@delysid.org>
* erc.el:
Imenu fixed somehow, added IRC services interactive function for indentify to NickServ. Read the diff
2001-10-26 Gergely Nagy <algernon@debian.org>
* debian/changelog: sigh. -2
2001-10-25 Gergely Nagy <algernon@debian.org>
* debian/changelog: updated to reflect changes
* debian/rules: handle conffiles.in too
* debian/maint/conffiles.in: new file
* debian/maint/conffiles: superseded by conffiles.in
* debian/scripts/startup: superseded by startup.erc
2001-10-25 Mario Lang <mlang@delysid.org>
* debian/scripts/startup.erc-speak: * Initial version
* debian/scripts/startup.erc: * Added and fixes minimal typo
2001-10-25 Gergely Nagy <algernon@debian.org>
* debian/changelog: updated to reflect changes
* debian/rules:
modified to be able to build the erc-speak package too
* debian/control: added the new erc-speak package
* debian/README.erc-speak, debian/maint/postinst.in, debian/maint/prerm.in,
debian/scripts/install.in, debian/scripts/remove.in:
new file
* debian/maint/postinst, debian/maint/prerm, debian/scripts/install,
debian/scripts/remove:
removed, superseded by its .in counterpart
2001-10-25 Mario Lang <mlang@delysid.org>
* erc.el: * Fixed some defcustom :type 's
* Added erc-before-connect hook which gets called with server port and nick.
Use this hook to e.g. setup a tunnel before actually connecting.
something like (when (string= server "localhost") ...)
2001-10-24 Mario Lang <mlang@delysid.org>
* erc.el: * Patch by smoke: fix erc-cmd-* commands and add aliases
2001-10-23 Mario Lang <mlang@delysid.org>
* erc-speak.el:
* Added a new personality for channel name announcement, This makes streams of flooded channels much easier to listen to,
especially if you are on more than one channel simultaneously.
* erc.el:
* Made the completion postfix customizable through erc-nick-completion-postfix
* erc-speak.el, erc.el:
* Added erc-prevent-minibuffer-privmsg
* erc-speak.el:
* Quickish hack to allow exclusion of timestamps from speaking. see erc-speak-filter-timestamps
2001-10-21 Mario Lang <mlang@delysid.org>
* erc-speak.el:
* Removed now really obsolete code. Package size reduced by 50%
* erc-speak.el:
* Very important fix! Now erc-speak is really complete. Messages don't get cut anymore. Be sure to use auditory icons,
it's reallllly cool now!!!
* erc-speak.el: *** empty log message ***
* erc-speak.el: * Major simplification. depends on my 2001-10-21 changes to erc.el.
* Things removed, read diff
2001-10-21 Gergely Nagy <algernon@debian.org>
* debian/changelog: oops, silly typo
* debian/changelog, debian/control, debian/copyright,
debian/maint/conffiles, debian/maint/postinst, debian/maint/prerm,
debian/rules, debian/scripts/install, debian/scripts/remove,
debian/scripts/startup:
initial check-in
2001-10-21 Mario Lang <mlang@delysid.org>
* erc.el:
* Changed erc-insert-hook to get two arguments, START and END of the region
which got inserted. CAREFUL! This could break stuff, but it makes the hook
much more usable.
* erc.el:
* Made erc-smiley a new option, currently set to t to showoff this feature. :)
2001-10-20 Mario Lang <mlang@delysid.org>
* erc.el: * Add missing erc-mode-hook variable
* Add smiley-support (preliminary test)
2001-10-20 Alex Schroeder <alex@gnu.org>
* erc.el:
Replaced all occurrences of put-text-property with a call to
erc-put-text-property.
(erc-put-text-property): New function.
(erc-tracking-modified-channels): Moved to the front of the file such
that it is already defined when the menu is being defined.
(erc-modified-channel-string): Ditto.
2001-10-18 Alex Schroeder <alex@gnu.org>
* erc.el: Removed some commentary. The wiki page is the place to
put such information.
(erc-fill-prefix): Doc change.
(erc-notice-highlight-type): Doc change, now a user option.
(erc-pal-highlight-type): Doc change, now a user option.
(erc-fool-highlight-type): New option.
(erc-keyword-highlight-type): New option.
(erc-dangerous-host-highlight-type): New option.
(erc-uncontrol-input-line): Doc change.
(erc-interpret-controls-p): Doc change, now a user option.
(erc-multiline-input): Doc change.
(erc-auto-discard-away): Doc change.
(erc-pals): Changed from string to regexp.
(erc-fools): New option.
(erc-keywords): Renamed from erc-highlight-strings. WATCH OUT:
Not backwards compatible change!
(erc-dangerous-hosts): Renamed from erc-host-danger-highlight.
WATCH OUT: Not backwards compatible change!
(erc-menu-definition): Added menu entries for fools, keywords and
dangerous hosts.
(erc-mode-map): Changed keybindings from C-c <plain ascii> to
various C-c <C-ascii> combinations.
(erc-dangerous-host-face): Renamed from erc-host-danger-face.
WATCH OUT: Not backwards compatible change!
(erc-fool-face): New face.
(erc-keyword-face): Renamed from erc-highlight-face. WATCH OUT:
Not backwards compatible change!
(erc-parse-line-from-server): Fixed highlighting in the cases
where (equal erc-pal-highlight-type 'all), added code to handle
erc-fool-highlight-type, erc-dangerous-host-highlight-type
(erc-update-modes): Replaced erc-delete-string with delete.
(erc-keywords): Renamed from erc-highlight-strings, handle
erc-keyword-highlight-type.
(erc-delete-string): Removed.
(erc-list-match): New function.
(erc-pal-p): Use erc-list-match.
(erc-fool-p): New function.
(erc-keyword-p): New function.
(erc-dangerous-host-p): Renamed from erc-host-danger-p, use
erc-list-match.
(erc-directed-at-fool-p): New function.
(erc-add-entry-to-list): New function.
(erc-remove-entry-from-list): New function.
(erc-add-pal): Use erc-add-entry-to-list.
(erc-delete-pal): Use erc-remove-entry-from-list.
(erc-add-fool): New function.
(erc-delete-fool): New function.
(erc-add-keyword): New function.
(erc-delete-keyword): New function.
(erc-add-dangerous-host): New function.
(erc-delete-dangerous-host): New function.
2001-10-07 Mario Lang <mlang@delysid.org>
* erc.el: * irc vs ircd default port fixed
* erc.el: * Added topic-change to imenu
* erc.el: * More imenu spiffyness
* erc.el: * Added imenu support
* erc.el:
* Fix to /topic to show topic instead of setting it to null :)
2001-10-05 Mario Lang <mlang@delysid.org>
* erc.el: * First version of erc-rename-buffer
* erc.el: * more header-line tricks.
* erc.el:
* Small fix to do erc-update-mode-line-buffer in erc-update-channel-topic
* erc.el: * Added erc-header-line-format
2001-10-04 Mario Lang <mlang@delysid.org>
* erc.el: * mini-fix, add msgp to auto-query code
* erc.el: * Added command-names to completion (erc-command-table)
* New variable erc-auto-query. When set, every arriving message to you
will open a query buffer for that sender if not already open.
* Compatibility function fo non-existing line-beginning|end-position functions in XEmacs.
2001-10-03 Mario Lang <mlang@delysid.org>
* erc.el:
* Removed alot of (progn ...) where they were not necessary
* Changed some (if ...) without else part to (when ...)
* Some (while ...) to use (dolist ...)
* Fix for completion popup generating tracebacks.
* New function erc-arrange-session-in-multiple-windows
* Lots of other stuff, read the diff
2001-10-02 Mario Lang <mlang@delysid.org>
* erc.el: * Added erc-kill-input and keybinding C-c C-u for it
2001-10-01 Mario Lang <mlang@delysid.org>
* erc.el: * Another fix to nick-completion
* Additional checks in erc-track-modified-channels
2001-09-26 Mario Lang <mlang@delysid.org>
* erc.el: * Fixed completion (alex)
* Now popup buffer doesn't destroy your window configuration.
* Fixed away handling (incomplete)
2001-09-24 Mario Lang <mlang@delysid.org>
* erc.el: Fixed silly quoting-escape error
2001-09-23 Mario Lang <mlang@delysid.org>
* erc.el: * Added auto-op support (unfinished)
* Added erc-latest-version.
* Added erc-ediff-latest-version.
2001-09-21 Mario Lang <mlang@delysid.org>
* erc.el:
* Minor menu additions (invite only mode is now a checkbox)
2001-09-20 Mario Lang <mlang@delysid.org>
* erc.el:
* Fix (erc-cmd-names): This should fix C-c C-n too, hopefully it was the right fix and doesn't break anything else.
* erc.el: * Fixes XEmacs easymenu usage (2nd time).
2001-09-19 Mario Lang <mlang@delysid.org>
* erc.el:
* (erc-complete-nick): Add ": " only if one completes directly after the erc-prompt, otherwise, add just one space
* erc.el:
* Changed menu-definition to use easymenu (hopefully this now works under XEmacs)
* Fix for custom problem with :must-match on XEmacs (thanks shapr)
* Added /COUNTRY command using (what-domain) from package mail-extr (shapr)
* Fix for case-sensitivity problem with pals (they are now all downcased)
* Different (erc-version) function which now can take prefix argument to insert the version information into the current buffer,
instead of just displaying it in the minibuffer.
2001-09-10 Mario Lang <mlang@delysid.org>
* erc.el: Updated erc-version-string
* erc.el: Version number change and last read-through...
2001-09-04 Mario Lang <mlang@delysid.org>
* erc.el: Added some asterisks
2001-08-24 Mario Lang <mlang@delysid.org>
* erc.el:
Fixed hidden channel buffer tracking (sort of), now using switch-to-buffer for advice.
This version is unofficially named 2.1prebeta1. Please test it and send
fixes to various problems you may encounter so that we can eventually
release 2.1 soon.
2001-08-14 Mario Lang <mlang@delysid.org>
* erc.el:
Added function erc-bol and keybinding C-c C-a for it (contributed by Benjamin Rutt <brutt@bloomington.in.us)
2001-08-07 Mario Lang <mlang@delysid.org>
* erc.el:
Checked in lathis code and modified it slightly. Still unsure about set-window-buffer advice, current attempt doesn't seem to work.
Removed (nick -> #channel) from mode-line. (CLOSED) and (AWAY...) should still be displayed when appropriate
2001-08-06 Mario Lang <mlang@delysid.org>
* erc.el:
added local-variable channel-list in session-buffers and make /LIST use it.
erc-join-channel can now do completion after /LIST was executed
2001-08-05 Mario Lang <mlang@delysid.org>
* erc.el: Tweaked erc-join-channel and erc-part-from-channel
2001-07-27 Mario Lang <mlang@delysid.org>
* erc.el: some more defcustom stuff
* erc.el: Patch from Henrik Enberg <henrik@enberg.org>:
Adds variables erc-frame-alist and erc-frame-dedicated-p.
* erc.el: fixed erc-part-from-channel
* erc.el:
fixed match-string problem and added interactive topic setting function.
* erc.el: fixed silly string-match bug
* erc.el:
Added erc-join-channel and erc-part-from-channel (interactive prompts), as well as keybindings. C-c C-j #emacs RET is now enough :)
2001-07-27 Alex Schroeder <alex@gnu.org>
* erc.el(erc-display-line-buffer): Simplified filling.
(erc-fill-region): New function.
2001-07-27 Mario Lang <mlang@delysid.org>
* erc.el: Added redundancy check in output
2001-07-26 Alex Schroeder <alex@gnu.org>
* erc.el(erc-send-action): Add text-property stuff.
(erc-input-action): Removed text-property stuff.
(erc-command-table): Corrected command for DESCRIBE. Still
doesn't work though. No idea what it should do. Looks like a no op.
(erc-cmd-me): Doc change.
2001-07-26 Mario Lang <mlang@delysid.org>
* erc.el:
fixed one occurrence of a setq with only one argument (XEmacs didn't like that)
* erc.el:
Added erc-next-line-add-newlines customization possibility.
* erc.el:
added erc-fill-prefix for defining your own way of filling and fixed filling somehow
* erc.el:
fixed small incompatibility in erc-parse-line-from-server at (and (= n 353) regexp
2001-07-25 Mario Lang <mlang@delysid.org>
* erc.el:
Added erc-filling and filling code to erc-display-line-buffer.
2001-07-08 Alex Schroeder <alex@gnu.org>
* erc.el(try-complete-erc-nick): Make the ": " part of the
expansion
* erc.el: require ring
2001-07-08 Mario Lang <mlang@delysid.org>
* erc.el: *** empty log message ***
2001-07-07 Mario Lang <mlang@delysid.org>
* erc.el: typo
* erc.el: omit
2001-07-06 Alex Schroeder <alex@gnu.org>
* erc.el(erc-mode): Call erc-input-ring-setup.
(erc-send-current-line): Call erc-add-to-input-ring.
(erc-input-ring): New variable. Currently not buffer local.
(erc-input-ring-index): New variable. Currently not buffer local.
(erc-input-ring-setup): New function.
(erc-add-to-input-ring): New function.
(erc-previous-command): New function.
(erc-next-command): New function.
(erc-mode-map): Uncommented keybindings for erc-next-command and
erc-previous-command.
2001-07-05 Alex Schroeder <alex@gnu.org>
* erc.el(erc-highlight-strings): Removed debug message.
* erc.el(erc-join-buffer): Changed default to 'buffer.
(erc-join-info-buffer): Changed default to 'disable.
(erc-nick-completion): Changed default to 'all.
2001-07-04 uid31117 <uid31117@confusibombus>
* erc.el: Resolved...
2001-07-03 Alex Schroeder <alex@gnu.org>
* erc.el(erc-highlight-strings): New option and new function.
(erc-parse-line-from-server): Use it.
Various empty lines removed. Various doc strings fixed.
* erc.el: Removed more empty lines.
* erc.el(erc-member-string): replaced by plain member
Otherwise, lots of deleting of empty lines... I'm not too happy with that
but I feel better when the code is "cleaned up".
2001-07-03 Mario Lang <mlang@delysid.org>
* erc.el: Ugly hack, but looks nicer when giving commands
* erc-speak.el: ugly hack, but looks nicer now
2001-07-03 Alex Schroeder <alex@gnu.org>
* erc.el(try-complete-erc-nick): New function.
(erc-try-complete-nick): New function.
(erc-nick-completion): New option.
(erc-complete): Call hippie-expand such that erc-try-complete-nick
will be called eventually. Based on erc-nick-completion
try-complete-erc-nick will then complete on the nick at point.
2001-07-02 Mario Lang <mlang@delysid.org>
* erc.el:
Insert (erc-current-nick) instead of (erc-display-prompt). good night :)
* erc.el:
small, but it was annoying, so I just did it (defcustom for erc-join-buffer and erc-join-info-buffer)
2001-06-29 Alex Schroeder <alex@gnu.org>
* erc.el: Use defface to define all faces.
Removed some history from the commentary, as well as some other
commentary editing.
2001-06-28 Mario Lang <mlang@delysid.org>
* erc.el: hmm, defcustom for erc-user-full-name
* erc-speak.el, erc.el: *** empty log message ***
2001-06-27 Mario Lang <mlang@delysid.org>
* erc.el: typo
* erc.el: Some more defcustom
* erc-speak.el: nothing, really
2001-06-26 Mario Lang <mlang@delysid.org>
* erc.el: Some defcustom stuff. Still no defgroup though :)
* erc.el:
Initial change to erc.el (2.0). Mainly list of ideas and features
and syntax-table entries.
* erc-speak.el, erc.el: Initial Import
* erc-speak.el, erc.el: New file.
Copyright (C) 2001-2016 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/>.
;; Local Variables:
;; coding: utf-8
;; add-log-time-zone-rule: t
;; End:
|