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
|
2024-11-03 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-get-completion-function):
(ebuild-mode-get-keywords, ebuild-mode-unescape-string):
* test/ebuild-mode-tests.el (ebuild-mode-test-unescape-string):
Delete XEmacs 21.4 compatibility code.
* ebuild-mode.el (ebuild-mode-time-string): Delete compatibility
function for XEmacs 21.4.
(ebuild-mode-update-copyright, ebuild-mode-insert-skeleton)
(ebuild-mode-insert-tag-line): Update all callers.
* gentoo-newsitem-mode.el (gentoo-newsitem-insert-skeleton):
* glep-mode.el (glep-mode-update-last-modified)
(glep-mode-insert-skeleton): Update all callers.
* test/ebuild-mode-tests.el
(ebuild-mode-test-run-with-fixed-time): Update macro.
(ebuild-mode-test-time-string): Delete test.
2024-10-23 Ulrich Müller <ulm@gentoo.org>
* devbook-mode.el (devbook-locate-schema-file): Be less verbose
if noninteractive.
* test/devbook-mode-tests.el (devbook-mode-test-locate-schema):
New test.
2024-10-14 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el:
* test/ebuild-mode-tests.el: Avoid e as variable name because some
Emacs versions define it as a global constant for Euler's number.
2024-10-12 Ulrich Müller <ulm@gentoo.org>
* devbook-mode.el (rng-loc): Require.
(devbook-schema-file-name): New variable.
(devbook-locate-schema-file): New function.
(devbook-mode): Call it unless we already have a schema.
* ebuild-mode.el (ebuild-mode-tabify): Do not let-bind
tabify-regexp because it is a special variable.
(ebuild-run-command): Ditto for shell-command.
* ebuild-mode.el:
* glep-mode.el:
* test/ebuild-mode-tests.el: Use unhyphenated names for lexical
variables throughout, in order not to accidentally override any
special variables.
2024-10-08 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-arch-stable-list): Don't fall back
to profiles.desc to determine whether an arch has stable keywords.
* Makefile (EMACSFLAGS): Use single hyphen for compatibility.
* ebuild-mode.el (ebuild-mode-collect-and-split): Preserve order.
(ebuild-mode-font-lock-keywords): Add docstring.
* test/ebuild-mode-tests.el (ebuild-mode-test-collect-and-split):
Update.
(ebuild-mode-test-font-lock-keywords): New test.
2024-10-05 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.texi (ebuild-repo-mode): Document the bug-reference
feature.
(devbook-mode): Add cross reference to the nXML Mode manual.
* ebuild-mode.el (ebuild-repo-mode): Don't set the bug-reference-*
variables if ebuild-mode-enable-bug-reference is nil. Test for
bug-reference-prog-mode at run time instead of compile time.
2024-09-30 Ulrich Müller <ulm@gentoo.org>
* gentoo-newsitem-mode.el (gentoo-newsitem-mode): Don't set
font-lock-defaults.
(gentoo-newsitem-add-font-lock): New function.
(gentoo-newsitem-mode-hook): Add it to the mode hook.
* test/gentoo-newsitem-mode-tests.el (gentoo-newsitem-test-input)
(gentoo-newsitem-test-font-lock, gentoo-newsitem-test-skeleton)
(gentoo-newsitem-test-keybindings): Shorten names.
* test/ebuild-mode-tests.el (ebuild-mode-test-run-with-fixed-time):
* test/glep-mode-tests.el (glep-mode-test-run-with-fixed-time):
Use func-arity to detect the calling convention for encode-time.
* test/ebuild-mode-tests.el (cl-letf, cl-letf*): Enclose their
definition in eval-when-compile.
(ebuild-mode-test-font-lock): Call font-lock-fontify-region
instead of font-lock-fontify-buffer. This is silent and also
avoids the noninteractive trickery.
* test/gentoo-newsitem-mode-tests.el (cl-letf, cl-letf*)
(gentoo-newsitem-mode-test-font-lock): Ditto.
(gentoo-newsitem-mode-test-run-silently): Remove.
* test/ebuild-mode-tests.el (ebuild-mode-test-skeleton):
Remove unnecessary ebuild-mode-test-run-silently.
* test/gentoo-newsitem-mode-tests.el
(gentoo-newsitem-mode-test-skeleton): Remove unnecessary
gentoo-newsitem-mode-test-run-silently.
2024-09-28 Ulrich Müller <ulm@gentoo.org>
* test/ebuild-mode-tests.el:
* test/gentoo-newsitem-mode-tests.el: Drop redundant XEmacs
conditionals.
* test/xemacs-test-wrapper.el (skip-unless): New function.
(test-skipped): New error symbol.
(ert-deftest): Handle it.
* ebuild-mode.el (ebuild-mode-enable-bug-reference):
New custom variable.
(ebuild-mode-bug-regexp, ebuild-mode-bug-url-format):
New variables.
(ebuild-repo-mode): Conditionally enable bug-reference-prog-mode.
* test/ebuild-mode-tests.el (ebuild-mode-test-bug-url): New test.
* ebuild-mode.el (ebuild-repo-mode): Define the nxml-* variables
instead of requiring nxml-mode at compile time.
2024-09-25 Ulrich Müller <ulm@gentoo.org>
* keyword-generation.sh (OBSOLETE): Update.
* test/ebuild-mode-tests.el (ebuild-mode-test-time-string):
Run with fixed time.
* ebuild-mode.el (ebuild-mode-arch-list): Remove ia64.
2024-09-10 Ulrich Müller <ulm@gentoo.org>
* test/ebuild-mode-tests.el (ebuild-mode-test-update-copyright):
Actually run ebuild-mode-update-copyright.
2024-08-29 Ulrich Müller <ulm@gentoo.org>
* Version 1.75 released.
* test/ebuild-mode-tests.el (ebuild-mode-test-run-with-fixed-time):
* test/glep-mode-tests.el (glep-mode-test-run-with-fixed-time):
Use encode-time instead of date-to-time. Bug 938666.
2024-08-28 Ulrich Müller <ulm@gentoo.org>
* Version 1.74 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
2024-08-26 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-eapi-list): Drop 6 from list of
supported EAPIs.
* test/ebuild-mode-tests.el (ebuild-mode-test-input): New variable
and function.
(ebuild-mode-test-skeleton, ebuild-mode-test-keybindings):
New tests.
* test/glep-mode-tests.el (glep-mode-test-input): New variable and
function.
(glep-mode-test-skeleton, glep-mode-test-keybindings): New tests.
* test/gentoo-newsitem-mode-tests.el:
* test/devbook-mode-tests.el: New files.
* Makefile (DISTFILES, TESTS): Add them.
* test/xemacs-test-wrapper.el (kill-emacs): Return a useful exit
status.
2024-08-22 Ulrich Müller <ulm@gentoo.org>
* test/ebuild-mode-tests.el (cl-letf, cl-letf*)
(ebuild-mode-test-run-with-fixed-time)
(ebuild-mode-test-run-silently, ebuild-mode-test-font-lock)
(ebuild-mode-test-unescape-string): Portability fixes for XEmacs.
* test/glep-mode-tests.el (glep-mode-test-run-with-fixed-time):
Sync from ebuild-mode-test-run-with-fixed-time.
* test/xemacs-test-wrapper.el: New file.
* Makefile (DISTFILES): Add xemacs-test-wrapper.el.
(ELCS, TESTS): Include only files that are actually supported by
the Emacs version.
(check): Make it work with XEmacs.
* ebuild-mode.el (ebuild-repo-mode): Activate the menu in XEmacs.
Use positive condition for feature.
* ebuild-mode.el (ebuild-mode-menu): Drop :active keyword because
the three-element vector form of menu items is more portable.
(ebuild-repo-mode-menu): Rename menu bar item to "Ebuild-Repo".
Replace :visible keyword by :included; XEmacs 21.4 doesn't know
the former.
* ebuild-mode.el (ebuild-mode-update-copyright): Save match data,
replace-match in XEmacs 21.4 clobbers it.
2024-08-20 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-arch-stable-list): Use push.
* ebuild-mode.el (ebuild-mode-collect-and-split): Don't copy the
element when creating a cons cell is enough.
* test/ebuild-mode-tests.el (ebuild-mode-test-collect-and-split):
Update.
2024-08-19 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el:
* ebuild-mode-keywords.el:
* gentoo-newsitem-mode.el:
* glep-mode.el:
* devbook-mode.el: Doc fixes.
* ebuild-mode.el (ebuild-run-command-*): Run the "clean" command
when a prefix argument is given.
* ebuild-mode.texi (ebuild-mode): Document it.
* ebuild-mode.el (ebuild-mode-find-image-dir): New function.
(ebuild-mode-prefix-map, ebuild-mode-menu): Keybinding and
menu entry.
* ebuild-mode.texi (ebuild-mode): Document it.
2024-08-16 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-run-command-*): Define functions
for ebuild subcommands.
(ebuild-mode-prefix-map): New variable, keymap for ebuild-mode
commands. Define C-c C-e <letter> keys for the most common ebuild
subcommands.
(ebuild-mode-map): Use the new keymap.
(ebuild-mode-menu): Use ebuild-run-command-* functions in menu
items; for the previously used expressions, easy-menu-define would
create internal functions anyway. Don't sort ebuild-commands-list
because it already is in alphabetical order.
* ebuild-mode.texi (ebuild-mode): Update.
* ebuild-mode.el (ebuild-commands-list): Add "instprep" and
"nofetch" commands.
2024-08-15 Ulrich Müller <ulm@gentoo.org>
* Version 1.73 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
* keyword-generation.sh (OBSOLETE): Update.
* Makefile (DISTFILES): Add Makefile.
2024-08-10 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-find-build-log): New function.
(ebuild-mode-map, ebuild-mode-menu): Keybinding and menu entry.
* ebuild-mode.texi (ebuild-mode): Document it.
* test/ebuild-mode-tests.el
(ebuild-mode-test-run-with-fixed-time): New macro.
(ebuild-mode-test-update-copyright)
(ebuild-mode-test-insert-tag-line): Use it.
* test/glep-mode-tests.el
(glep-mode-test-run-with-fixed-time): New macro.
(glep-mode-test-update-last-modified): Use it.
* ebuild-mode.el (find-file-hook): Use 'if' because 'static-if'
breaks autoloads.
2024-08-08 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-insert-tag-line): Don't insert
another space when comment-start ends with a space or tab.
* test/ebuild-mode-tests.el:
* test/glep-mode-tests.el: New files, introducing tests.
* ebuild-mode.el (ebuild-mode-collect-and-split): Make it visible
at load time for tests.
* Makefile (TESTS, BYTECOMPFLAGS): New variables.
(check): New target.
2024-08-07 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-unescape-string): New function,
decodes backslash and ANSI-C escape sequences in strings.
(ebuild-mode-find-s): Call it.
* ebuild-mode.el (ebuild-mode-get-builddir): New function, split
off from ebuild-mode-find-workdir.
(ebuild-mode-find-s): New function.
(ebuild-mode-map, ebuild-mode-menu): Keybinding and menu entry.
* ebuild-mode.texi (ebuild-mode): Document ebuild-mode-find-s.
* ebuild-mode.el (ebuild-mode-find-workdir): Let-bind
find-file-run-dired to t.
2024-08-05 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-map): Keybindings now use C-c C-e
as their prefix.
* ebuild-mode.texi (ebuild-mode): Document the new keybindings.
* ebuild-mode.el (ebuild-mode, ebuild-run-command)
(ebuild-mode-get-completion-function, ebuild-mode-run-pkgdev)
(ebuild-mode-run-pkgcheck, ebuild-repo-mode, find-file-hook):
Use static-if.
2024-07-03 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-time-string): Use static-if.
* ebuild-mode.el (ebuild-mode-update-copyright): Replace nested
ifs with cond.
2024-06-29 Ulrich Müller <ulm@gentoo.org>
* Version 1.72 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
* glep-mode.el (glep-mode-insert-skeleton): Update from GLEP 2,
specify that all dates must be in UTC.
2024-06-26 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-find-workdir): Display a separate
error message when the file is not an ebuild.
* ebuild-mode.el (ebuild-mode-menu): Deactivate entries that are
not useful in ebuild-eclass-mode.
* ebuild-mode.el (ebuild-mode-fix-whitespace): Default to ebuild.
2024-06-25 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-fix-whitespace): Add new choice
'ebuild'.
(ebuild-repo-mode-before-save): Make fixing of whitespace in
eclasses conditional on it.
* ebuild-mode.el (ebuild-eclass-mode): New major mode for editing
of eclasses, split off from ebuild-mode.
(auto-mode-alist): Add ebuild-eclass-mode.
* ebuild-mode.texi (ebuild-eclass-mode): Chapter renamed from
eclass-mode and updated.
2024-06-09 Ulrich Müller <ulm@gentoo.org>
* Version 1.71 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
2024-01-08 Ulrich Müller <ulm@gentoo.org>
* Version 1.70 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
* keyword-generation.sh: Create only the bare list of keywords,
without the variable definition.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Move the begin and end marker comments into the defvar.
2023-11-29 Ulrich Müller <ulm@gentoo.org>
* glep-mode.el (glep-mode-add-font-lock): Specify faces directly
instead of using variables.
* ebuild-mode-keywords.el (ebuild-mode-keywords-0):
Use font-lock-builtin-face for package manager commands.
2023-11-05 Ulrich Müller <ulm@gentoo.org>
* Version 1.69 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
* glep-mode.el: Doc fixes.
2023-10-15 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el:
* gentoo-newsitem-mode.el:
* glep-mode.el:
* devbook-mode.el: Sharp-quote all function names.
* ebuild-mode.el (ebuild-repo-mode-menu):
* gentoo-newsitem-mode.el (gentoo-newsitem-mode-menu):
* glep-mode.el (glep-mode-menu):
* devbook-mode.el (devbook-mode-menu): Backquote is not needed.
* ebuild-mode.el (ebuild-mode-time-string): Move setting of TZ
into the unwind-protect form.
* ebuild-mode.el (static-if): New macro, taken from APEL.
(sh-must-be-shell-mode): Use it. This should finally fix the
byte-compile warning for defadvice in Emacs 30.
* glep-mode.el (glep): Change parent group to text, because the wp
group is deprecated since Emacs 26.
* gentoo-newsitem-mode.el (gentoo-newsitem-insert-skeleton):
* glep-mode.el (glep-mode-insert-skeleton): Drop local require
for ebuild-mode, as it is required globally.
2023-10-06 Ulrich Müller <ulm@gentoo.org>
* Version 1.68 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
* ebuild-mode.el (ebuild-mode-add-font-lock): New function.
(ebuild-mode-hook): Add it, instead of an anonymous function.
* glep-mode.el (glep-mode-add-font-lock, glep-mode-hook): Ditto.
2023-09-25 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.texi (ebuild-mode): Document the
ebuild-mode-find-workdir command and its keybinding.
(ebuild-repo-mode): Document ebuild-mode-xml-indent-tabs.
2023-09-20 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-tag-line-regexp): New variable.
(ebuild-repo-mode): Set paragraph-separate when in conf-unix-mode.
2023-09-16 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-time-string): Test if
format-time-string can accept three arguments.
* ebuild-mode.el (sh-must-be-shell-mode): Test if the function is
defined at compile time. This should only be the case for Emacs
versions where defadvice is unobsolete.
* glep-mode.el (rst-classify-adornment)
(glep-mode-ignore-preamble): Use :before-while instead of :around
as advice combinator.
2023-09-12 Ulrich Müller <ulm@gentoo.org>
* Version 1.67 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
2023-09-04 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-insert-tag-line): Make it work when
comment-start is nil or empty.
2023-09-01 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-insert-skeleton): Add S and BDEPEND.
Bug 729280.
2023-08-29 Ulrich Müller <ulm@gentoo.org>
* Version 1.66 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
2023-08-26 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode): Set paragraph-separate for
eclasses, in order to prevent rewrapping of paragraphs into a
preceding eclass documentation token.
2023-08-24 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el:
* ebuild-mode-keywords.el:
* gentoo-newsitem-mode.el:
* glep-mode.el:
* devbook-mode.el: Enable lexical binding.
* ebuild-mode.el (ebuild-run-command, ebuild-mode-run-pkgdev)
(ebuild-mode-run-pkgcheck): Add underscore to name of unused
function argument.
* ebuild-mode.el (ebuild-mode-process-environment): No longer set
NOCOLOR, because NO_COLOR is supported by stable Portage.
* ebuild-mode.el (ebuild-mode): Refer to sh-mode directly,
instead of shell-script-mode which is its alias.
(sh-must-be-shell-mode): Test for its existence, rather than
testing emacs-major-version. Simply redefine the function,
in order to avoid obsolete defadvice and non-portable advice-add.
This fixes a byte-compile warning in Emacs 30 while keeping
compatibility with XEmacs.
* glep-mode.el (rst-classify-adornment, glep-ignore-preamble):
Port from defadvice to advice-add.
* glep-mode.el (glep-mode-format-html): Move docstring to the top.
2023-08-20 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-delete-trailing-whitespace):
New function. This avoids redefining delete-trailing-whitespace.
(ebuild-repo-mode-before-save): Update caller.
2023-08-01 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
2023-07-06 Ulrich Müller <ulm@gentoo.org>
* Version 1.65 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
2023-07-05 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-repo-mode): local-variable-p has two
required arguments in XEmacs, bug 903273.
2023-06-17 Ulrich Müller <ulm@gentoo.org>
* Version 1.64 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
* Makefile (ELCS, INFOFILES, EMACS, EMACSFLAGS): New variables.
(.PHONY): Add keywords target.
(all): Build ELCS and INFOFILES by default.
(%.elc, %.info): New rules.
(clean): Add *.elc.
2023-06-15 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-put-keywords): Do not modify the
buffer unless there is an actual change.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclassdoc):
Renamed from ebuild-mode-keywords-eclass-documentation.
* ebuild-mode.el (ebuild-mode-font-lock-keywords): Update.
2023-05-13 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-eapi-deprecated):
Add remaining prep* commands and portageq.
2023-03-28 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-squash-empty-lines): New function.
(ebuild-repo-mode-before-save): Call it.
2023-03-26 Ulrich Müller <ulm@gentoo.org>
* Version 1.63 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
2023-03-24 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-repo-mode): Don't override variables if
they already have a buffer-local binding.
2023-03-20 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-find-workdir): New function.
Thanks to Pascal Jäger for the idea.
(ebuild-mode-portage-tmpdir): New custom variable.
(ebuild-mode-map, ebuild-mode-menu): Keybinding and menu entry.
2023-02-28 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-process-environment): Set NO_COLOR
in addition, see https://no-color.org/. Drop redundant test for
XEmacs.
2023-02-27 Ulrich Müller <ulm@gentoo.org>
* Version 1.62 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
2023-02-21 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-update-copyright): Call lwarn with
nil as second argument, which works for both GNU Emacs and XEmacs.
* ebuild-mode.el (ebuild-repo-mode): Check if coding system
utf-8-unix exists; it doesn't in XEmacs 21.4.
* gentoo-newsitem-mode.el (gentoo-newsitem-insert-skeleton): Call
ebuild-mode-time-string, so that the date is in the UTC time zone.
* glep-mode.el (glep-mode-update-last-modified)
(glep-mode-insert-skeleton): Ditto.
* ebuild-mode.el (ebuild-mode-time-string): New compatibility
function for format-time-string, where XEmacs doesn't support the
time zone argument. Bug 890933.
(ebuild-mode-update-copyright, ebuild-mode-insert-skeleton)
(ebuild-mode-insert-tag-line): Call it.
(ebuild-mode-update-copyright): Save match data, because setenv
clobbers it.
2022-12-01 Ulrich Müller <ulm@gentoo.org>
* Version 1.61 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
* ebuild-mode.el: Add documentation to some functions and
variables.
(ebuild-compilation-mode): Reword docstring to avoid an open paren
at the beginning of a line, which confuses some Emacs versions.
* ebuild-mode.el (ebuild-mode-restrict-list): Update.
2022-11-30 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.texi (ebuild-mode): Document ebuild-mode-run-pkgdev
and ebuild-mode-run-pkgcheck.
* ebuild-mode.el (ebuild-compilation-mode): New mode for
compilation buffers, filters SGR control sequences.
(ebuild-log-buffer-mode): Default to it.
(ebuild-mode-run-pkgdev, ebuild-mode-run-pkgcheck): Call compile
with ebuild-log-buffer-mode.
(ebuild-mode-process-environment): Don't set NOCOLOR if ansi-color
is available.
2022-11-28 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-ebuild-history)
(ebuild-mode-pkgdev-history, ebuild-mode-pkgcheck-history):
New variables.
(ebuild-run-command, ebuild-mode-run-pkgdev)
(ebuild-mode-run-pkgcheck): Use them.
* ebuild-mode.el (ebuild-mode-process-environment): New custom
variable. Bug 882055.
(ebuild-run-command, ebuild-mode-run-pkgdev)
(ebuild-mode-run-pkgcheck): Use it.
* ebuild-mode.el (ebuild-mode-ebuild-cmd-complete): New function,
completes multiple ebuild commands. Bug 882053.
(ebuild-run-command): Call it.
(ebuild-mode-menu): Add ebuild-run-command without argument.
2022-11-19 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-run-pkgdev)
(ebuild-mode-run-pkgcheck): New commands. Bug 881449.
(ebuild-mode-map, ebuild-mode-menu): Keybindings and menu entries
for them.
(ebuild-mode-pkgdev-commands, ebuild-mode-pkgcheck-commands):
New variables.
(ebuild-mode-get-completion-function): New function, split off
from ebuild-mode-ekeyword-complete.
(ebuild-mode-ekeyword-complete): Call it.
(ebuild-mode-command-complete): New function.
2022-11-18 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-repo-mode): Fix byte-compile warning
in XEmacs.
* ebuild-mode.el (ebuild-mode-collect-and-split): Renamed from
ebuild-mode-collect-equal-cdrs. Split the car of an element if its
length is above the limit.
(ebuild-mode-font-lock-keywords): Split the list of eclass
keywords here, rather than in keyword-generation.sh.
* keyword-generation.sh: Don't split the list into parts.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass): Updated.
2022-07-31 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-insert-skeleton): Drop unnecessary
backslash escapes.
* ebuild-mode.el (ebuild-repo-mode): Set nxml-attribute-indent.
2022-06-05 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-repo-mode): Indent XML with tabs or two
spaces. Set indent-tabs-mode accordingly.
(ebuild-mode-xml-indent-tabs): New custom variable.
2022-06-03 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-arch-list): Add loong to default.
* ebuild-mode.el (ebuild-mode-modify-keywords): Use cons rather
than append when adding a new keyword.
2022-05-21 Ulrich Müller <ulm@gentoo.org>
* Version 1.60 released.
* devbook-mode.el (devbook-insert-skeleton): Rework logic for
guide element.
* ebuild-mode.el (ebuild-run-command): Signal an error when not
visiting a file.
* glep-mode.el (glep-mode-format-html): Ditto.
2022-05-20 Ulrich Müller <ulm@gentoo.org>
* Version 1.59 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
* ebuild-mode.el (ebuild-mode, ebuild-repo-mode-maybe-enable):
Protect against buffer-file-name being nil. Bug 846569.
2022-05-10 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclassdoc-warn):
New variable.
(ebuild-mode-keywords-eclass-documentation): Move @DEAD and
@DEPRECATED keywords to it.
* ebuild-mode.el (ebuild-mode-font-lock-keywords): Use it.
2022-05-08 Ulrich Müller <ulm@gentoo.org>
* devbook-mode.el: Drop unknown package keyword "XML".
(devbook-mode-menu): Quote lisp symbol in docstring.
* gentoo-newsitem-mode.el (gentoo-newsitem-mode-menu): Ditto.
* glep-mode.el (rst-classify-adornment, glep-mode-menu): Ditto.
2022-05-07 Ulrich Müller <ulm@gentoo.org>
* Version 1.58 released.
* glep-mode.el (glep-mode-insert-skeleton): Update URL in comment.
* ebuild-mode.el (ebuild-mode-get-keywords): Restore trivial
compatibility code, allowing continued support for XEmacs 21.4.
This reverts the change of 2022-04-28.
* ebuild-mode-keywords.el (ebuild-mode-keywords): Provide feature.
* ebuild-mode.el (ebuild-mode-keywords): Require it.
* ebuild-mode.el (ebuild-mode-collect-equal-cdrs): Evaluate with
eval-when-compile instead of eval-and-compile.
2022-05-03 Ulrich Müller <ulm@gentoo.org>
* keyword-generation.sh: Use ebuild-mode-keywords-eclass as a
single variable for all eclass keywords.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
(ebuild-mode-keywords-eapi4, ebuild-mode-keywords-eapi5)
(ebuild-mode-keywords-eapi6, ebuild-mode-keywords-eapi7)
(ebuild-mode-keywords-functions-default): Remove variables.
(ebuild-mode-keywords-0): Include their keywords here.
(ebuild-mode-keywords-functions-eapi2)
(ebuild-mode-keywords-functions-eapi4): Remove variables.
(ebuild-mode-keywords-functions): Include their keywords here.
* ebuild-mode.el (ebuild-mode-font-lock-keywords): List variables
explicitly, instead of collecting their names from the obarray.
* ebuild-mode-keywords.el (ebuild-mode-keywords-0):
Add EXPORT_FUNCTIONS which was missing.
* ebuild-mode-keywords.el (ebuild-mode-keywords-warn): Drop some
obsolete keywords. Update URL in comment.
(ebuild-mode-keywords-eclass-deprecated): Remove variable.
All these functions are long gone.
2022-05-01 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-make-keywords-list): Remove.
(ebuild-mode-font-lock-keywords): Inline its code.
* ebuild-mode.el (ebuild-repo-mode, find-file-hook): Use ' rather
than #' for quoting of function names.
* glep-mode.el (glep-mode): Ditto.
2022-04-30 Ulrich Müller <ulm@gentoo.org>
* Version 1.57 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* ebuild-mode.el (ebuild-mode-make-keywords-list): Drop more
compatibility code. regexp-opt of recent Emacs versions deletes
duplicates and increases the max-specpdl-size limit by itself.
2022-04-28 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-make-keywords-list): Use prefix and
suffix to override the defaults, instead of concatenating to them.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass-documentation):
Override comment highlighting. Match only at the beginning of a
comment line.
* ebuild-mode.el (ebuild-mode-make-keywords-list)
(ebuild-mode-get-keywords): Remove XEmacs 21.4 compatibility code.
2022-04-27 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode): Set sentence-end-double-space to t
when editing eclasses.
2022-03-18 Ulrich Müller <ulm@gentoo.org>
* Version 1.56 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass-documentation):
Keyword @ECLASS-VARIABLE renamed to @ECLASS_VARIABLE.
2022-01-26 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-menu, ebuild-repo-mode-menu):
Add entry for customize-group.
2022-01-16 Ulrich Müller <ulm@gentoo.org>
* Version 1.55 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* ebuild-mode.el (ebuild-mode-eapi-list): Drop EAPI 5.
* gentoo-newsitem-mode.el (gentoo-newsitem-insert-skeleton):
Use ebuild-mode-full-name and ebuild-mode-mail-address as default
author information.
* glep-mode.el (glep-mode-insert-skeleton): Ditto.
* ebuild-mode.texi (ebuild-repo-mode): Document it.
* ebuild-mode.texi (ebuild-mode): No longer mention the C-c C-a
keybinding which was used for echangelog.
2022-01-09 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-insert-tag-line): New function,
inserts a tag line with user's name and date stamp, for use in
package.mask and similar configuration files. Bug 830796.
(ebuild-mode-full-name, ebuild-mode-mail-address): New custom
variables.
(ebuild-repo-mode): Add :keymap argument.
(ebuild-repo-mode-map): New keymap.
(ebuild-repo-mode-menu): New menu.
* ebuild-mode.el (ebuild-repo-mode-maybe-enable)
(ebuild-mode-menu): Quote lisp symbols in docstrings.
2021-12-28 Ulrich Müller <ulm@gentoo.org>
* Version 1.54 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2021-12-20 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-repo-mode): Use same fill-column and
tab-width as ebuild-mode.
2021-09-01 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass-documentation):
New keyword @PROVIDES.
2021-07-12 Ulrich Müller <ulm@gentoo.org>
* Version 1.53 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2021-07-08 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-log-buffer-mode): New variable.
(ebuild-run-command): Use it.
2021-07-05 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-eapi-list): Add EAPI 8.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eapi-deprecated)
(ebuild-mode-keywords-0): hasv is banned.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass-documentation):
New keywords @DEPRECATED and @SUBSECTION.
2021-04-07 Ulrich Müller <ulm@gentoo.org>
* gentoo-newsitem-mode.el (gentoo-newsitem-mode-menu): Declare.
This fixes a byte-compile warning in XEmacs.
* ebuild-mode.el (ebuild-repo-mode-hook)
(ebuild-repo-mode-on-hook, ebuild-repo-mode-off-hook): Ditto.
* gentoo-newsitem-mode.el (gentoo-newsitem-mode): Make easymenu
work with XEmacs.
* ebuild-mode.el (ebuild-mode): Fix byte-compile warning in
Emacs 28.
2021-03-20 Ulrich Müller <ulm@gentoo.org>
* Version 1.52 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* ebuild-mode.el (ebuild-mode-delete-cvs-line): Change default
to nil.
2021-03-16 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el: Fix byte-compile warnings.
(ebuild-mode-make-keywords-list): Test if delete-duplicates
is bound.
(ebuild-repo-mode): Use write-contents-functions for GNU Emacs.
* glep-mode.el (glep-mode): Fix byte-compile warning. We don't
support XEmacs anyway for its missing rst-mode, so we can use
write-contents-functions as well.
* ebuild-mode.el (ebuild-repo-mode): New minor mode for editing
files in an ebuild repository.
(ebuild-repo-mode-before-save): New function.
(ebuild-repo-mode-maybe-enable, find-file-hook):
Enable ebuild-repo-mode when the file is in an ebuild repository.
(ebuild-mode): Enable ebuild-repo-mode instead of setting up
write-contents-hooks ourselves.
(ebuild-mode-before-save): Function removed.
2021-03-05 Ulrich Müller <ulm@gentoo.org>
* keyword-generation.sh: The eclass directory can now be specified
with the ECLASSDIR variable. Better error checking and reporting.
* Makefile (keywords): New target.
* devbook-mode.el: Add "wp" and "XML" to package keywords.
* gentoo-newsitem-mode.el: Change package keywords to "wp".
* glep-mode.el: Ditto.
2020-07-21 Ulrich Müller <ulm@gentoo.org>
* Version 1.51 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2020-04-26 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-arch-list): Update default list of
architectures.
(ebuild-mode-arch-stable-list): Try to read arches.desc first.
2020-03-07 Ulrich Müller <ulm@gentoo.org>
* Version 1.50 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2020-02-10 Ulrich Müller <ulm@gentoo.org>
* devbook-mode.el (devbook-mode): Make nxml-child-indent local
in the current buffer.
2020-02-08 Ulrich Müller <ulm@gentoo.org>
* devbook-mode.el: New file. Major mode for editing the
Gentoo Devmanual, derived mode of nxml-mode.
* ebuild-mode.texi (devbook-mode): Document it.
* Makefile (DISTFILES): Add devbook-mode.el.
2019-12-21 Ulrich Müller <ulm@gentoo.org>
* Version 1.49 released.
* ebuild-mode-keywords.el
(ebuild-mode-keywords-eclass-deprecated): Add elisp-need-emacs.
(ebuild-mode-keywords-*): Regenerated.
2019-12-11 Ulrich Müller <ulm@gentoo.org>
* Version 1.48 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* glep-mode.el (glep-mode-insert-skeleton): Update template to use
the CC-BY-SA-4.0 license, following the change in GLEP 2.
2019-07-28 Ulrich Müller <ulm@gentoo.org>
* Version 1.47 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2018-09-17 Ulrich Müller <ulm@gentoo.org>
* Version 1.46 released.
2018-09-16 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-update-copyright)
(ebuild-mode-insert-skeleton): Use UTC to avoid flapping.
* ebuild-mode.el (ebuild-mode-update-copyright): Extend function
and custom variable to control whether copyright year or author
are updated.
(ebuild-mode-copyright-regexp): Allow for a single year rather
than a range of years. Match authors in an additional group.
(ebuild-mode-insert-skeleton): New default year and authors.
2018-09-04 Ulrich Müller <ulm@gentoo.org>
* Version 1.45 released.
* ebuild-mode.el (ebuild-mode-arch-list): Add arm64 to default.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2018-08-30 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-portdir): Default to
/var/db/repos/gentoo with fallback to /usr/portage, bug 662998.
2018-06-23 Ulrich Müller <ulm@gentoo.org>
* Version 1.44 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2018-06-22 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-eapi-list): Add 7.
* ebuild-mode-keywords.el
(ebuild-mode-keywords-eclass-documentation): Update keywords
from eclass-to-manpage.awk.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eapi-deprecated)
(ebuild-mode-keywords-0): dolib and libopts are deprecated.
(ebuild-mode-keywords-eapi7): New variable for EAPI 7 commands.
2018-06-05 Ulrich Müller <ulm@gentoo.org>
* glep-mode.el (glep-mode-insert-skeleton): Fold lines as in the
standard GLEP footer.
2018-04-17 Ulrich Müller <ulm@gentoo.org>
* Version 1.43 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2018-04-14 Ulrich Müller <ulm@gentoo.org>
* glep-mode.el (glep-mode-insert-skeleton): Use 9999 as dummy GLEP
number, because XXX causes a warning in docutils-glep. Bug 653126.
2018-02-15 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-run-command):
* glep-mode.el (glep-mode-format-html): Don't autoload.
2018-01-29 Ulrich Müller <ulm@gentoo.org>
* Version 1.42 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* keyword-generation.sh: Automatically update keywords in
ebuild-mode-keywords.el.
* ebuild-mode-keywords.el: Insert tokens to mark begin and end
of automatically generated keywords.
2018-01-28 Ulrich Müller <ulm@gentoo.org>
* glep-mode.el (glep-mode-format-html): New command.
(glep-mode-map): Bind to "C-c C-f".
(glep-mode-menu): Add to menu.
* glep-mode.el (glep-mode-insert-skeleton): Add missing
Content-Type header line.
2018-01-25 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-insert-skeleton): Flip order of
DEPEND and RDEPEND. Suggested by Aaron Swenson.
2018-01-12 Ulrich Müller <ulm@gentoo.org>
* keyword-generation.sh (OBSOLETE): Cleanup.
2017-12-25 Ulrich Müller <ulm@gentoo.org>
* Version 1.41 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2017-11-05 Ulrich Müller <ulm@gentoo.org>
* glep-mode.el (glep-mode): Make sentence-end-double-space local
in this buffer.
2017-10-29 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.texi (glep-mode): Document that glep-mode does not
work with XEmacs.
2017-10-28 Ulrich Müller <ulm@gentoo.org>
* Version 1.40 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* glep-mode.el (font-lock-beg, font-lock-end): Define to suppress
byte-compiler warnings.
* glep-mode.el (glep-mode-update-last-modified): New function,
updates the Last-Modified header when saving the file.
(glep): New customisation group.
(glep-mode-update-last-modified): New custom variable.
(glep-mode-last-modified-re): New variable.
(glep-mode-before-save): New function.
(glep-mode): Add glep-mode-before-save to write-contents-hook.
2017-10-27 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild): Rename customisation group.
(ebuild-mode-portdir, ebuild-mode-eapi-list)
(ebuild-mode-fix-whitespace, ebuild-mode-update-copyright)
(ebuild-mode-delete-cvs-line): Update accordingly.
(ebuild-mode-update-copyright): Update lwarn type.
* glep-mode.el (glep-mode-insert-skeleton): Update from GLEP 2.
Inclusion of that modification under GPL-2+ acked by mgorny.
2017-10-15 Ulrich Müller <ulm@gentoo.org>
* glep-mode.el: The template text in glep-mode-insert-skeleton has
not much changed from the last CVS version of GLEP 2, which is in
the public domain. We can therefore base it on that version and
avoid the complications of including CC-BY-SA licensed material.
Relicense glep-mode to GPL version 2, or any later version.
* ebuild-mode.el (ebuild-run-echangelog): Drop echangelog support,
gentoolkit-dev is deprecated and gentoolkit does not provide the
command any more.
(ebuild-mode-map, ebuild-mode-menu): Drop keybinding and menu
entry for ebuild-run-echangelog.
* ebuild-mode.texi (ebuild-mode): Update documentation.
* glep-mode.el (glep-mode-insert-skeleton): Update URLs of GLEP 1
and GLEP 2. Update info on header format from GLEP 1.
2017-10-14 Ulrich Müller <ulm@gentoo.org>
* Version 1.39 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* ebuild-mode.texi (glep-mode): Document the new mode.
2017-09-17 Ulrich Müller <ulm@gentoo.org>
* glep-mode.el: New file. Mode for editing Gentoo Linux
Enhancement Proposals that are written in reStructuredText.
* Makefile (DISTFILES): Add glep-mode.el.
2017-09-15 Ulrich Müller <ulm@gentoo.org>
* Version 1.38 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2017-04-07 Ulrich Müller <ulm@gentoo.org>
* Version 1.37 released.
* ebuild-mode.el (ebuild-mode-make-keywords-list): XEmacs 21.4
doesn't have delete-dups, use delete-duplicates instead.
* Version 1.36 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* ebuild-mode.el (ebuild-mode-make-keywords-list): Call regexp-opt
without duplicates in its argument list.
2017-03-31 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-before-save):
Call ebuild-mode-update-copyright only once per buffer.
2017-03-17 Ulrich Müller <ulm@gentoo.org>
* Version 1.35 released.
2017-03-08 Ulrich Müller <ulm@gentoo.org>
* gentoo-newsitem-mode.el (gentoo-newsitem-insert-skeleton):
Account for news item format 2.0.
(gentoo-newsitem-format-list): New variable.
2017-03-06 Ulrich Müller <ulm@gentoo.org>
* Version 1.34 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2017-03-04 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-eapi-list): New custom variable.
(ebuild-mode-insert-skeleton): Use it in a completing-read.
* ebuild-mode.el (ebuild-mode-protocols-homepage)
(ebuild-mode-protocols-src_uri): New variables.
(ebuild-mode-insert-skeleton): Add https:// to completions
for HOMEPAGE and SRC_URI.
* ebuild-mode.el (ebuild-mode-update-copyright): Modify the buffer
only if necessary. Warn about equal first and last year.
2017-02-28 Ulrich Müller <ulm@gentoo.org>
* Version 1.33 released.
* ebuild-mode.el (ebuild-mode-update-copyright)
(ebuild-mode-delete-cvs-line): New custom variables, default to t.
(ebuild-mode-copyright-regexp, ebuild-mode-cvs-header-regexp):
New variables.
(ebuild-mode-update-copyright, ebuild-mode-delete-cvs-line):
New functions.
(ebuild-mode-before-save): Update copyright years and remove CVS
Id or Header line, when customised to do so, respectively.
2017-02-27 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode): New customisation group.
(ebuild-mode-portdir): Change to custom variable.
(ebuild-mode-fix-whitespace): New custom variable, defaults to t.
(ebuild-mode-before-save): Make fixing of whitespace conditional.
* ebuild-mode.el:
* ebuild-mode.texi: Update documentation to use generic terms
where possible, instead of being Portage specific.
2017-02-26 Ulrich Müller <ulm@gentoo.org>
* Version 1.32 released.
* ebuild-mode.el (ebuild-mode-insert-skeleton): Remove $Id$ line
from ebuild header.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2017-01-15 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-get-keywords)
(ebuild-mode-put-keywords): Improve error handling.
2016-06-19 Ulrich Müller <ulm@gentoo.org>
* Version 1.31 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2016-06-08 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.texi (Commands): Update Bugzilla URL to https.
2016-05-28 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (auto-mode-alist): Drop eblit support.
2016-05-07 Ulrich Müller <ulm@gentoo.org>
* Version 1.30 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* keyword-generation.sh (OBSOLETE): Cleanup.
2015-12-20 Ulrich Müller <ulm@gentoo.org>
* Version 1.29 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* ebuild-mode-keywords.el (ebuild-mode-keywords-0): Match list
of commands against PMS.
(ebuild-mode-keywords-EAPI): New variable, contains only "EAPI".
(ebuild-mode-keywords-eapi6): New variable, EAPI 6 commands.
(ebuild-mode-keywords-eapi-deprecated)
(ebuild-mode-keywords-eclass-deprecated): New variables, splitting
ebuild-mode-keywords-deprecated.
(ebuild-mode-keywords-eclass): Variable removed, merged into
ebuild-mode-keywords-0.
2015-08-23 Ulrich Müller <ulm@gentoo.org>
* Version 1.28 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
2015-08-09 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-insert-skeleton): Insert $Id$
instead of $Header$, following the Git migration.
2014-11-18 Ulrich Müller <ulm@gentoo.org>
* Version 1.27 released.
2014-11-17 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* keyword-generation.sh (OBSOLETE): Cleanup list, some eclasses
have been removed.
2014-02-02 Ulrich Müller <ulm@gentoo.org>
* Version 1.26 released.
2014-01-25 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* keyword-generation.sh: Exclude functions that are marked as
internal in eclass documentation.
2014-01-23 Ulrich Müller <ulm@gentoo.org>
* Version 1.25 released.
2014-01-22 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* keyword-generation.sh (ECLASSES, ECLASSFILES): Avoid deprecated
"portageq portdir" call.
2013-10-10 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el
(ebuild-mode-keywords-eclass-documentation): Add new keywords
@BUGREPORTS and @VCSURL from eclass-to-manpage.awk.
2013-09-18 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-insert-skeleton): Remove special
treatment for EAPI=0.
2013-09-17 Ulrich Müller <ulm@gentoo.org>
* Version 1.24 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* gentoo-newsitem-mode.el (gentoo-newsitem-font-lock-keywords):
Add missing pair of parentheses.
2013-09-08 Ulrich Müller <ulm@gentoo.org>
* Version 1.23 released.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated
from eclasses.
* keyword-generation.sh (OBSOLETE): Cleanup list.
(ECLASSES): Strip filename suffix and sort the list of eclasses.
2013-07-07 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el: Add no-update-autoloads to file
variables.
* ebuild-mode.el (ebuild-mode-arch-list): Add amd64-fbsd to
fallback list.
* ebuild-mode.el (ebuild-mode-insert-skeleton): Work around
problem with nested interactors in XEmacs. Suppress IUSE if its
value is empty; the variable is no longer mandatory.
2013-07-06 Ulrich Müller <ulm@gentoo.org>
* Version 1.22 released.
2013-07-05 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (interpreter-mode-alist): Don't add runscript.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated
from eclasses.
* keyword-generation.sh (OBSOLETE): Clean up list of obsolete
eclasses.
* Rename package to ebuild-mode.
* ebuild-mode.el: File renamed from gentoo-syntax.el.
(gentoo-syntax): Don't provide feature.
* ebuild-mode.texi: File renamed from gentoo-syntax.texi.
* Makefile (PN): Rename to ebuild-mode.
(PV, DISTFILES): Update.
(ebuild-mode.info): Rename.
* gentoo-newsitem-mode.el: New file, split off from
gentoo-syntax.el.
* gentoo-syntax.el (gentoo-newsitem-font-lock-keywords)
(gentoo-newsitem-mode, gentoo-newsitem-insert-skeleton):
Variable and functions moved to gentoo-newsitem-mode.el.
* Makefile (DISTFILES): Update.
2013-07-04 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el: Remove eselect-mode; it will be maintained
in the eselect repository.
(eselect-mode-font-lock-keywords, eselect-mode): Variable and
function removed.
* eselect-mode-keywords.el: File removed.
* gentoo-syntax.texi: Don't mention eselect-mode.
* Makefile (DISTFILES): Update.
2013-03-08 Ulrich Müller <ulm@gentoo.org>
* Version 1.21 released.
* Makefile (dist): Use xz for compression.
(clean): Also remove *.xz.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated
from eclasses.
* keyword-generation.sh: Don't output variables with an empty list
of functions.
2013-01-13 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-collect-equal-cdrs): New optional
argument LIMIT starts a new element in the destination list, after
that number of elements from the source list have been collected.
(ebuild-mode-font-lock-keywords): Limit regexp size by calling
ebuild-mode-collect-equal-cdrs with the limit argument; a value
of 1000 appears to keep the size below the 32 kbyte limit.
See also the change of 2012-09-22.
2012-09-23 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass-documentation):
Fix quoting.
2012-09-22 Ulrich Müller <ulm@gentoo.org>
* Version 1.20 released.
* Makefile (DISTFILES): Include keyword-generation.sh.
* gentoo-syntax.el (ebuild-mode-font-lock-keywords): Addition of
keywords in the previous change had caused this variable to exceed
the 32 kbyte size limit for regular expressions. Unfortunately,
this is a hard limit in Emacs' C code, MAX_BUF_SIZE in regex.c,
that cannot be increased.
* keyword-generation.sh: Filter all function names starting with
an underscore, in order to shorten the keywords list.
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Regenerated.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eapi5):
New variable, functions that are new in EAPI 5.
(ebuild-mode-keywords-functions-default): Add "default".
(ebuild-mode-keywords-eclass-documentation): Add new keywords from
eclass-to-manpage.awk.
(ebuild-mode-keywords-boost-utils, ebuild-mode-keywords-chromium)
(ebuild-mode-keywords-intel-sdp, ebuild-mode-keywords-l10n)
(ebuild-mode-keywords-mozlinguas)
(ebuild-mode-keywords-multiprocessing)
(ebuild-mode-keywords-myspell-r2, ebuild-mode-keywords-oasis)
(ebuild-mode-keywords-python-distutils-ng)
(ebuild-mode-keywords-unpacker, ebuild-mode-keywords-vala)
(ebuild-mode-keywords-vcs-snapshot)
(ebuild-mode-keywords-vdr-plugin-2): New variables.
(ebuild-mode-keywords-tla, ebuild-mode-keywords-vmware)
(ebuild-mode-keywords-vmware-mod): Variables removed.
(ebuild-mode-keywords-*): Regenerated from eclasses.
* keyword-generation.sh: Drop dead or removed eclasses from
obsolete list. Sort it alphabetically. Skip any eclass that is
marked with a @DEAD token. Use the shell for parsing of eclasses'
environment.
(has): New function.
(ECLASSDIR, OBSOLETE): New variables.
2012-04-10 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.texi: Small syntax fixes.
2012-02-09 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-arch-regexp): Allow whitespace at
beginning of line, bug 402573.
2012-01-21 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-savedconfig):
Add savedconfig_pkg_postinst() function
(ebuild-mode-keywords-autotools): Add config_rpath_update() function
(ebuild-mode-keywords-cdrom): Add cdrom.eclass
(ebuild-mode-keywords-flag-o-matic): Remove has_hardened()
function, mark has_m64() and has_m32() as deprecated, add
all-flag-vars() function
(ebuild-mode-keywords-python): Add python_clean_py-compile_files()
function
2011-12-31 Ulrich Müller <ulm@gentoo.org>
* keyword-generation.sh: Set C locale for grep. Reformat output.
2011-12-30 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el: All keywords are now from a
auto-generated list apart from some special sections. So many new
functions, some go away.
2011-12-29 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-toolchain-funcs):
Add functions tc-getBUILD_AR(), tc-getBUILD_AS(),
tc-getBUILD_LD(), tc-getBUILD_STRIP(), tc-getBUILD_NM(),
tc-getBUILD_RANLIB(), tc-getBUILD_OBJCOPY() and
tc-getBUILD_PKG_CONFIG()
(ebuild-mode-keywords-toolchain): Add gcc-multilib-configure()
function. Remove functions gcc-library-configure() and
add_version to shared()
(ebuild-mode-keywords-eutils): Add functions in_iuse(),
use_if_iuse() and usex()
(ebuild-mode-keywords-autotools): Add eaclocal_amflags() function
(ebuild-mode-keywords-multilib): Remove functions
get_libdir_override() and get_multilibdir()
(ebuild-mode-keywords-java-vm-2): Add java-vm-2.eclass
(ebuild-mode-keywords-libtool): Add elt_patch_dir() function
(ebuild-mode-keywords-nsplugin): Add share_plugins_dir() function
(ebuild-mode-keywords-kernel-2): Remove generate_sparc_asm() function
(ebuild-mode-keywords-qt4-build):
Rename skip_project_generation_patch() and skip_qmake_build_patch()
(ebuild-mode-keywords-gnome2-utils):
Add gnome2_environment_reset() function
2011-12-28 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-systemd):
Add systemd_dotmpfilesd() and systemd_newunit() functions
(ebuild-mode-keywords-check_reqs): Add check_reqs.eclass
(ebuild-mode-keywords-office-ext): Add office_ext.eclass
(ebuild-mode-keywords-toolchain-funcs): Add tc-getBUILD_PROG(),
tc-getBUILD_CPP(), tc-getBUILD_CXX() functions
(ebuild-mode-keywords-bash-completion-r1):
Add bash-completion-r1.eclass and deprecate old version
2011-12-23 Ulrich Müller <ulm@gentoo.org>
* Version 1.19 released.
2011-06-02 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-ghc-packages):
Add ghc-package.eclass
(ebuild-mode-keywords-systemd): Add systemd.eclass
2011-04-10 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-autotools):
Add autotools_m4dir_include() function
2011-03-26 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-toolchain):
Add setup_multilib_osdirnames() and remove
disgusting_gcc_multilib_HACK() instead.
2011-03-19 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-qt4-build):
Add prepare_directories() function.
(ebuild-mode-keywords-multilib): Remove a bunch of functions that
are not available anymore.
Remove mozconfig-2.eclass, mocoreconf.eclass and games-q3mod.eclass
2011-03-18 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-java-utils-2):
Add ejunit4() function.
(ebuild-mode-keywords-vmware-bundle): Add vmware-bundle eclass.
2011-02-12 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-mount-boot):
Add mount-boot eclass.
(ebuild-mode-keywords-pam): Add pammod_hide_symbols() function.
2011-01-05 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-xfconf): Fix typo
in variable name.
2011-01-04 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-ruby-fakegem):
Add ruby_fakegem_install_gemspec(),
ruby_fakegem_metadata_gemspec() functions
(ebuild-mode-keywords-python):
Add python_merge_intermediate_installation_images() function
2011-01-01 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-eapi4)
(ebuild-mode-keywords-functions-eapi4): New variables for keywords
and functions of EAPI 4.
(ebuild-mode-keywords-functions-default):
Add default_src_install() function.
2010-12-12 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-gnome2-utils):
Add gnome2_schemas_savelist(), gnome2_schemas_update() functions
2010-11-23 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-elisp-common):
Add elisp-need-emacs function.
2010-11-04 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-darcs):
Add darcs_patchcount() function
2010-10-25 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-texlive-common):
Added texlive-common.eclass
(ebuild-mode-keywords-deprecated): python_mod_compile() is deprecated
(ebuild-mode-keywords-python): Add python_abi_depend() function
2010-10-24 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-texlive-module):
Add texlive-module_synonyms_to_language_lua_line() and
texlive-module_make_language_lua_lines() functions
2010-10-22 Ulrich Müller <ulm@gentoo.org>
* Version 1.18 released.
2010-10-18 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-scons-utils):
Add new eclass scons-utils
(ebuild-mode-keywords-java-ant-2): Add java-ant_remove-taskdefs()
function
(ebuild-mode-keywords-eutils): Add path_exists() function
2010-10-16 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-commands-list): Alphabetic order.
Add "cleanrm", "depend", "fetchall", "info", and "pretend".
* ebuild-mode-keywords.el (ebuild-mode-keywords-flag-o-matic):
Update list of functions. Patch by Thomas Kahle <tom111@gmx.de>
in bug 341255.
2010-10-14 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-commands-list): Add "prepare" and
"configure" ebuild commands.
* ebuild-mode-keywords.el (ebuild-mode-keywords-haskell-cabal):
Remove duplicate keywords.
2010-08-24 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode): Set fill-column to 72.
2010-08-09 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-haskell-cabal):
Add haskell-cabal.eclass
2010-07-20 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-autotools-utils):
Add new autotools-utils.eclass
2010-07-19 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-versionator):
Add version_format_string() function
2010-07-13 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-qt4-build):
Add qt_assistant_cleanup() and qt_nolibx11() functions
(ebuild-mode-keywords-xorg-2): Remove cleanup_fonts() function
(ebuild-mode-keywords-python): Remove validate_PYTHON_ABIS() as it
is an internal function, rename python_clean_sitedir() to
python_clean_installation_image()
(ebuild-mode-keywords-kde4-base): Add get_build_type() function
(ebuild-mode-keywords-perl-helper): Add support for new
perl-helper.eclass
(ebuild-mode-keywords-perl-module): Remove perl-module.eclass as
no functions are needed anymore
2010-07-09 Ulrich Müller <ulm@gentoo.org>
* Version 1.17 released.
2010-04-26 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-ruby-ng):
Add ruby_rbconfig_value() function
2010-04-22 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-toolchain-funcs):
Add tc-is-hardfloat()
2010-04-20 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-font):
Add fonts.eclass
2010-04-07 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-ruby-ng):
Add ruby_get_version() and ruby_get_implementation()
(ebuild-mode-keywords-flag-o-matic): Add append-libs()
2010-03-29 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-qt3):
Remove entire deprecated block
(ebuild-mode-xfconf): Import new eclass
2010-03-22 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-python):
Remove python_set_build_dir_symlink() function
2010-03-16 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-toolchain-funcs):
Add tc-getRC() and tc-getDLLWRAP()
2010-03-15 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-python):
Add python_clean_sitedirs()
(ebuild-mode-keywords-xorg-2): Add xorg-2.eclass
(ebuild-mode-keywords-mysql): Add pbxt_available()
2010-03-10 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-arch-stable-list):
Initialise from profiles.desc, bug 304133.
2010-03-02 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-python):
python_mod_exists(), python_tkinter_exists() are deprecated
2010-02-21 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-mysql):
Add xtradb_applicable() and pbxt_applicable()
2010-02-16 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-java-ant-2):
Add java-pkg_get-bootclasspath()
2010-02-14 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el: Partially undo change of 2009-08-21.
(ebuild-mode-arch-stable-list): Reintroduce variable.
(ebuild-mode-modify-keywords, ebuild-mode-ekeyword-complete)
(ebuild-mode-insert-skeleton): Use it.
(ebuild-mode-arch-list, ebuild-mode-use-flags): Don't test if
files are readable, because we ignore errors anyway.
(ebuild-mode-arch-list, ebuild-mode-licenses)
(ebuild-mode-eclasses, ebuild-mode-use-flags): Handle only file
errors in condition-case.
(ebuild-mode-arch-lessp): New function, predicate for sort.
(ebuild-mode-arch-list): Sort list of architectures.
(ebuild-mode-sort-keywords): Function removed.
(ebuild-mode-modify-keywords): Pass ebuild-mode-arch-lessp as
predicate function for sort.
2010-02-11 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-python): Add
python_get_implementation() and python_get_implementational_package()
2010-02-02 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-python):
Add python_get_library(), python_get_version(),
python_execute_nosetest(), python_execute_py.test(),
python_execute_trial()
2010-01-17 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-linux-mod):
Add linux-mod_pkg_setup_binary function
(ebuild-mode-keywords-linux-info):
Add get_makefile_extract_function function
2010-01-15 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-autotools):
Add eautopoint function
2010-01-13 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-ruby-ng-gnome2):
Add ruby-ng-gnome2.eclass
2010-01-11 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-base):
Add base.eclass
2010-01-07 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-texlive-module):
Add texlive-module.eclass
2009-12-30 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-run-command): Use file-relative-name,
to make it work for ebuild files on remote systems.
2009-12-27 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-python):
Add python_generate_wrapper_scripts and python_set_active_version
functions
(ebuild-mode-keywords-qt4-build): Add qt4-build eclass
2009-12-16 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-ruby-fakegem):
Add ruby-fakegem eclass
(ebuild-mode-keywords-ruby-ng): Add ruby-ng eclass
(ebuild-mode-keywords-git): Add git_submodules function
2009-12-15 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-qt4-r2): Add new
eclass qt4-r2
* ebuild-mode-keywords-kde-meta
* ebuild-mode-keywords-kde-functions: Remove obsolete eclasses for
KDE 3
2009-12-13 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-eutils):
Add eshopts_push and eshopts_pop functions
2009-12-01 Ulrich Müller <ulm@gentoo.org>
* Version 1.16 released.
2009-12-01 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-toolchain-funcs):
add tc-getPKG_CONFIG and tc-has-tls functions. remove many
obsolete eclasses: check-kernel, db4-fix, games-etmod,
games-ut2k4mod, gnustep-funcs, gst-plugins, gtk-sharp-component,
mozconfig, x11, 64-bit, kernel-mod, php5-sapi-r3, php-ext
2009-11-09 Ulrich Müller <ulm@gentoo.org>
* eselect-mode-keywords.el (eselect-mode-keywords-output):
Add is_output_mode function.
2009-11-09 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-java-ant-2):
function java-ant_rewrite-bootclasspath added
2009-10-23 Ulrich Müller <ulm@gentoo.org>
* eselect-mode-keywords.el (eselect-mode-keywords-warn):
New variable.
* Makefile (DISTFILES): Omit the Info file from the tarball.
(gentoo-syntax.info): Use automatic variable.
2009-10-18 Christian Faulhammer <fauli@gentoo.org>
* gentoo-syntax.texi (Top): Describe menu items correctly
(gentoo-newsitem-mode): Describe newsitem-mode
2009-10-16 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-python):
Add python_convert_shebangs function
2009-10-09 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-elisp):
Add ELISP_TEXINFO variable.
* eselect-mode-keywords.el (eselect-mode-keywords-path-manipulation):
Add relative_name function.
2009-10-08 Ulrich Müller <ulm@gentoo.org>
* Version 1.15 released.
* gentoo-syntax.el (gentoo-newsitem-mode): Fix typo.
2009-10-06 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-kde4-functions):
add_blocker, block_other_slots and add_kdebase_dep are new
functions
2009-10-04 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-flag-o-matic):
add no-as-needed function
2009-10-03 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-games-mods):
Changes for updated eclass
2009-09-23 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-hook, eselect-mode-hook):
Move adding of font-lock keywords into mode hooks.
2009-09-22 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (gentoo-newsitem-font-lock-keywords)
(gentoo-newsitem-mode, gentoo-newsitem-insert-skeleton)
(gentoo-newsitem-mode-map, gentoo-newsitem-mode-menu):
New mode for editing of GLEP 42 news item files.
(auto-mode-alist): Add filename pattern for news items.
* Version 1.14 released.
* gentoo-syntax.el (ebuild-mode-licenses): Don't supply a default
list if licences can't be read from the Portage tree.
(ebuild-mode-use-flags): Allow only space or tab as separators.
Fixes issue with Emacs 22, bug 285989.
* Version 1.13 released.
2009-09-22 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el: Remove highlighting for xfce44.eclass,
which is deprecated
2009-09-18 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (auto-mode-alist): Recognise eblit files.
2009-09-13 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-elisp): Update.
2009-09-07 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-linux-info):
Add linux-info_get_any_version function
2009-09-01 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-kde4-functions):
Add slot_is_at_least
2009-08-31 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-linux-info):
Add getfilevar_noexec highlighting
2009-08-27 Ulrich Müller <ulm@gentoo.org>
* Makefile (DISTFILES): Include Texinfo source in tarball.
* gentoo-syntax.el (ebuild-mode-eclasses): New variable.
(ebuild-mode-insert-skeleton): Ask for inherited eclasses.
2009-08-27 Christian Faulhammer <fauli@gentoo.org>
* gentoo-syntax.texi (Functions): Describe ekeyword syntax usage
(Functions): Document Portage interaction
(eclass-mode): Describe eclass-mode
(eselect-mode): Describe eselect-mode
2009-08-26 Christian Faulhammer <fauli@gentoo.org>
* gentoo-syntax.texi (Functions): Describe how to start an ebuild
from scratch
(Functions): Describe keywording possibilities
* ebuild-mode-keywords.el (ebuild-mode-keywords-elisp): Add ebuild
phases to highlighted keywords from elisp.eclass
2009-08-25 Christian Faulhammer <fauli@gentoo.org>
* gentoo-syntax.texi: Add new Info manual
* Makefile: Generate Info file and add it on tarball generation
2009-08-23 Ulrich Müller <ulm@gentoo.org>
* eselect-mode-keywords.el (eselect-mode-keywords-multilib):
Change font to font-lock-type-face.
2009-08-21 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el:
* eselect-mode-keywords.el: Add no-byte-compile to file variables.
These files are loaded by gentoo-syntax.el at compile time,
therefore the .elc files are not needed at run time.
* gentoo-syntax.el (ebuild-mode-portdir): New variable.
(ebuild-mode-licenses, ebuild-mode-use-flags): New variables,
initialised from license and profile directories of Portage tree.
(ebuild-mode-restrict-list): New variable.
(ebuild-mode-arch-list): Initialise from profile directory.
(ebuild-mode-arch-stable-list): Variable removed.
(ebuild-mode-insert-skeleton): Interactively ask for values.
Move function behind mode definitions and completion code.
(ebuild-mode-menu): Add ebuild-mode-insert-skeleton to menu.
(ebuild-mode-all-keywords-unstable): New function for this very
common operation, bind to C-c C-b key (mnemonics: "bump").
2009-08-20 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-make-keywords-list): Increase
max-specpdl-size to avoid an error in regexp-opt for Emacs 21.
At present, a minimum value of 650 is needed (while it is only
600 in Emacs 21).
2009-08-20 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-kde4-functions),
(ebuild-mode-keywords-kde4-base),
(ebuild-mode-keywords-kde4-meta): Add new functions for KDE 4
eclasses
* gentoo-syntax.el (ebuild-mode-insert-skeleton): Add new function
which inserts a skeleton ebuild on C-c C-n. Code example taken
in parts from skel.ebuild.
* ebuild-mode-keywords.el (ebuild-mode-keywords-python):
Add keywords from reworked python.eclass
2009-08-17 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-font-lock-keywords)
(eselect-mode-font-lock-keywords): It is more efficient to collect
all keywords for a font first, before computing their regexp.
Thanks to Elias Pipping for pointing this out.
(ebuild-mode-collect-equal-cdrs): New function.
(ebuild-mode-make-keywords-list): Define also at compile time.
2009-08-16 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-python):
python_makesym is not used anymore, thus remove
2009-08-15 Ulrich Müller <ulm@gentoo.org>
* eselect-mode-keywords.el (eselect-mode-keywords-config)
(eselect-mode-keywords-core, eselect-mode-keywords-manip)
(eselect-mode-keywords-multilib, eselect-mode-keywords-output)
(eselect-mode-keywords-package-manager)
(eselect-mode-keywords-path-manipulation)
(eselect-mode-keywords-tests): New function names and update
according to doc/developer-guide.txt of current eselect version.
2009-07-30 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-warn): Warn on
bindnow-flags usage
2009-05-30 Ulrich Müller <ulm@gentoo.org>
* Version 1.12 released.
2009-05-24 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-sort-keywords): Change sorting
order, reflecting a change in gentoolkit-dev.
2009-05-05 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-deprecated):
Add prepalldocs, dosed and dohard, as we don't want to encourage
people.
2009-04-12 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-gnome2-utils):
Add gnome2_gconf_savelist and gnome2_icon_savelist functions, and
some corrections.
2009-03-12 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-rpm):
add rpm_spec_epatch function
(ebuild-mode-keywords-cmake-utils): add support for cmake-utils.eclass
2009-03-09 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-gnome2):
Add gnome2_src_unpack function
2009-03-06 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-perl-module):
updatepod() has been pruned from the perl-module eclass.
2009-01-27 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-before-save): New hook function,
collecting all actions to be done before saving.
(ebuild-mode, eselect-mode): Call it.
2009-01-24 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-flag-o-matic):
add append-cxxflags() function
2009-01-19 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-go-mono):
Add new go-mono.eclass
(ebuild-mode-keywords-mono): Add new mono.eclass
2009-01-07 Ulrich Müller <ulm@gentoo.org>
* Version 1.11 released.
2009-01-05 Ulrich Müller <ulm@gentoo.org>
* Makefile (PV): Extract PV from lisp instead of ChangeLog, so
that I won't forget updating it anymore (it was wrong in 1.10).
* gentoo-syntax.el: Update version number and copyright years.
(ebuild-mode-menu): Define variable to avoid a compiler warning.
(ebuild-mode-ekeyword-complete): Account for completion-boundaries
in GNU Emacs 23. Substitute the test-completion function in case
it is undefined (it's missing in Emacs 21 and XEmacs). Don't use
character classes in regexps since XEmacs doesn't support them.
2009-01-04 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el: join the two independent kde function
definitions
2008-12-30 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-java-utils-2):
Add EANT_NEEDS_TOOLS variable
2008-12-27 Ulrich Müller <ulm@gentoo.org>
* Version 1.10 released.
2008-11-14 Christian Faulhammer <opfer@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-gems):
Add gems.eclass' functions
2008-10-29 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-font-lock-keywords)
(eselect-mode-font-lock-keywords): Move definitions from
{ebuild,eselect}-mode-keywords.el to here to avoid warnings
during byte-compilation.
2008-10-27 Christian Faulhammer <opfer@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-python):
add python_need_rebuild function
(ebuild-mode-keywords-autotools): add WANT_AUTOCONF and
WANT_AUTOMAKE variables
(ebuild-mode-keywords-gnome2): add DOCS variable
2008-10-23 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-font-lock-keywords):
Determine list of variables from obarray.
* eselect-mode-keywords.el (eselect-mode-font-lock-keywords):
Likewise.
2008-10-22 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-*): Move face
definitions to individual variables.
(ebuild-mode-font-lock-keywords): New variable; move actual call
of font-lock-add-keywords to gentoo-syntax.el.
* eselect-mode-keywords.el (eselect-mode-keywords-*)
(eselect-mode-font-lock-keywords): Likewise.
* gentoo-syntax.el (ebuild-mode-menu): Remove pointless submenus
for keyword manipulation.
(ebuild-mode-arch-regexp): Rename from ebuild-mode-keywords-regexp
to avoid confusion with variables for syntactic keywords.
2008-10-22 Christian Faulhammer <opfer@gentoo.org>
* ebuild-mode-keywords.el
(ebuild-mode-keywords-eclass-documentation): add documentation
strings of eclasses. Still needs some work as comment-face will
always override it
(ebuild-mode-keywords-bzr): add bzr.eclass functions, though not
officially in the tree, it will get there soon
2008-10-21 Christian Faulhammer <opfer@gentoo.org>
* ebuild-mode-keywords.el
(ebuild-mode-keywords-mercurial): add mercurial_fetch()
(ebuild-mode-keywords-git): add git_fetch() and git_bootstrap
(ebuild-mode-keywords-subversion): rename subversion_svn_fetch()
to subversion_fetch() (eclass has changed)
(ebuild-mode-keywords-distutils): add distutils_src_unpack() as it
is used sometimes
(ebuild-mode-keywords-python): add python_get_{lib,site}dir
(ebuild-mode-keywords-functions-eapi2): Add functions introduced
with EAPI=2
(ebuild-mode-keywords-functions-default): Add default functions
introduced with EAPI=2
2008-10-19 Christian Faulhammer <opfer@gentoo.org>
* gentoo-syntax.el (ebuild-mode-make-keywords-list): Revert change
of 2008-09-26, not compatible with XEmacs and Emacs <=21
2008-10-19 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode, eselect-mode): Remove explicit
"run-hooks", since major mode hooks are already implicitely called
and would therefore run twice.
(ebuild-mode-hook, eselect-mode-hook): Don't define.
(font-lock): Require, needed for XEmacs.
2008-10-15 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-action-alist): New variable.
(ebuild-mode-keyword): Use it.
(ebuild-mode-menu): Add submenus for ebuild commands and for
keyword manipulation.
2008-10-14 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (easymenu): Require.
(ebuild-mode-menu): Add menu support for both Emacs and XEmacs.
(ebuild-mode): Activate the menu.
2008-09-26 Christian Faulhammer <opfer@gentoo.org>
* gentoo-syntax.el (ebuild-mode-make-keywords-list): \< \> around
a regexp can be obtained via paren option of regexp-opt
2008-09-10 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-deprecated):
New variable.
(ebuild-mode-keywords-elisp-common): Deprecate "elisp-comp".
2008-09-07 Christian Faulhammer <opfer@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-warn): Add EAPI
variable, so it gets highlighted
Remove all occurrences of PHP 4 functions
2008-05-08 Ulrich Müller <ulm@gentoo.org>
* Version 1.9 released.
2008-03-30 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (sh-script): Require sh-script, in order to
quieten the byte-compiler.
(ebuild-mode, eselect-mode): Call make-local-hook only for XEmacs.
(ebuild-mode-get-keywords): Don't use match-string-no-properties
since the function doesn't exist in XEmacs 21.4.
2008-02-24 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-arch-stable-list)
(ebuild-mode-arch-list): Move mips to unstable, remove ppc-macos.
2008-02-21 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-pam):
Change "pamd_mimic_system" in "pamd_mimic".
2007-12-15 Ulrich Müller <ulm@gentoo.org>
* Version 1.8 released.
2007-11-26 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-run-echangelog): Fix bug that the
default directory was still the one from the previous command.
2007-11-24 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode-keywords.el, eselect-mode-keywords.el:
New files, split off from gentoo-syntax.el.
* Makefile (DISTFILES): Add new files.
* gentoo-syntax.el: Move keyword lists to new files and load them.
(ebuild-mode-keyword): Ask first for the action, then for the
architecture. Suggestion by Flameeyes.
(ebuild-run-echangelog): New function, support for echangelog.
2007-11-17 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-run-command): Bug fix, use
ebuild-commands-list instead of alist.
(ebuild-mode-keyword, ebuild-mode-ekeyword-complete)
(ebuild-mode-ekeyword): New functions, rewritten user interface.
(ebuild-mode-map): Keybindings adapted accordingly.
(ebuild-mode-keyword-stable, ebuild-mode-keyword-unstable)
(ebuild-mode-keyword-mask, ebuild-mode-keyword-drop):
Functions removed.
2007-11-11 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-get-keywords)
(ebuild-mode-put-keywords, ebuild-mode-sort-keywords)
(ebuild-mode-modify-keywords, ebuild-mode-keyword-stable)
(ebuild-mode-keyword-unstable, ebuild-mode-keyword-mask)
(ebuild-mode-keyword-drop):
New functions for package keyword modification.
(ebuild-mode-arch-stable-list, ebuild-mode-arch-list)
(ebuild-mode-keywords-regexp): New variables.
(ebuild-mode-map): Keybindings for above.
2007-11-10 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode, eselect-mode): Set shell to bash.
(ebuild-commands-list): New variable, replaces previous alist.
(ebuild-run-command): Use it.
Add local variables block to declare utf-8 encoding.
2007-10-22 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-commands-common-lisp):
Add common-lisp-symlink-asdf, which will obsolete
common-lisp-system-symlink.
2007-10-11 Christian Faulhammer <opfer@gentoo.org>
* gentoo-syntax.el (ebuild-mode-commands-flag-o-matic)
(ebuild-mode-commands-toolchain)
(ebuild-mode-commands-fixheadtails)
(ebuild-mode-commands-webapp)
(ebuild-mode-commands-cvs)
(ebuild-mode-commands-bash-completion)
(ebuild-mode-commands-vim-plugin)
(ebuild-mode-commands-multilib)
(ebuild-mode-commands-64-bit)
(ebuild-mode-commands-toolchain-funcs)
(ebuild-mode-commands-games)
(ebuild-mode-commands-subversion)
(ebuild-mode-commands-python)
(ebuild-mode-commands-check-kernel)
(ebuild-mode-commands-distutils)
(ebuild-mode-commands-depend-apache)
(ebuild-mode-commands-apache-module)
(ebuild-mode-commands-gnome2):
Added missing functions from marienz' ebuild-mode.
Added comment about deprecated eclasses.
2007-10-09 Christian Faulhammer <opfer@gentoo.org>
* gentoo-syntax.el (ebuild-mode-commands-functions):
Added standard functions of ebuild.sh
(ebuild-mode-commands-eutils): Added missing functions from
marienz' ebuild-mode
2007-09-22 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-commands-toolchain-funcs):
Remove spurious braces from tc-getBUILD_CC keyword.
(ebuild-mode-commands-php-common-r1): Add a space.
2007-09-01 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-map): Remove obsolete "C-c e"
keybinding.
* Version 1.7 released.
2007-07-18 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-commands-warn): New keyword.
2007-07-05 Christian Faulhammer <opfer@gentoo.org>
* gentoo-syntax.el (ebuild-mode-commands-php-ext): New keywords
(ebuild-mode-commands-php-pear-r1): New keywords
(ebuild-mode-commands-php-sapi): New keywords
(ebuild-mode-commands-php4_4-sapi): New keywords
(ebuild-mode-commands-php5-sapi-r3): New keywords
(ebuild-mode-commands-mysql): New keywords
(ebuild-mode-commands-mysql_fx): New keywords
(ebuild-mode-commands-kernel-mod): New keywords
(ebuild-mode-commands-kernel-2): New keywords
(ebuild-mode-commands-games-etmod): New keywords
(ebuild-mode-commands-games-mods): New keywords
(ebuild-mode-commands-games-q3mod): New keywords
(ebuild-mode-commands-games-ut2k4mod): New keywords
(ebuild-mode-commands-games): New keywords
(ebuild-mode-commands-perl-module): New keywords
(ebuild-mode-commands-perl-app): New keywords
2007-07-04 Christian Faulhammer <opfer@gentoo.org>
* gentoo-syntax.el (ebuild-mode-commands-vim): New keywords
(ebuild-mode-commands-vim-doc): New keywords
(ebuild-mode-commands-vim-plugin): New keywords
(ebuild-mode-commands-xfce44): New keywords
(ebuild-mode-commands-db): New keywords
(ebuild-mode-commands-db-use): New keywords
(ebuild-mode-commands-db4-fix): New keywords
(ebuild-mode-commands-mozilla-launcher): New keywords
(ebuild-mode-commands-mozconfig): New keywords
(ebuild-mode-commands-mozconfig-2): New keywords
(ebuild-mode-commands-mozcoreconf): New keywords
(ebuild-mode-commands-mozextensions): New keywords
changed version number to 1.7-pre and changed Copyright date
(ebuild-mode): reordered: sandbox commands to top
(ebuild-mode-commands-toolchain): New keywords
(ebuild-mode-commands-toolchain-funcs): New keywords
(ebuild-mode-commands-toolchain-binutils): New keywords
(ebuild-mode-commands-gnustep-funcs): New keywords
(ebuild-mode-commands-gst-plugins): New keywords
(ebuild-mode-commands-gst-plugins10): New keywords
(ebuild-mode-commands-php-ext-base-r1): New keywords
(ebuild-mode-commands-php-common-r1): New keywords
2007-06-29 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-map): Bind ebuild-run-command to
"C-c C-e" since the "C-c letter" sequences are reserved for users.
2007-06-28 Christian Faulhammer <opfer@gentoo.org>
* gentoo-syntax.el (ebuild-mode-commands-x11): New keywords
(ebuild-mode-commands-confutils): New keywords
(ebuild-mode-commands-linux-info): New keywords
(ebuild-mode-commands-linux-mod): New keywords
2007-06-27 Christian Faulhammer <opfer@gentoo.org>
* gentoo-syntax.el (ebuild-mode-commands-gtk-sharp-component):
New keywords
(ebuild-mode-commands-qt3): New keywords
(ebuild-mode-commands-qt4): New keywords
(ebuild-mode-commands-kde-functions): New keywords
(ebuild-mode-commands-kde-meta): New keywords
(ebuild-mode-commands-kde): New keywords
(ebuild-mode-commands-libtool): New keywords
(ebuild-mode-commands-cron): New keywords
(ebuild-mode-commands-darcs): New keywords
(ebuild-mode-commands-nsplugin): New keywords
(ebuild-mode-commands-latex-package): New keywords
(ebuild-mode-commands-freebsd): New keywords
2007-06-25 Christian Faulhammer <opfer@gentoo.org>
* gentoo-syntax.el (ebuild-mode-commands-common-lisp-common-3):
new class of functions
(ebuild-mode-commands-common-lisp-common): new class of functions
(ebuild-mode-commands-common-lisp-common-2): new class of functions
(ebuild-mode-commands-elisp-common): new class of functions
(ebuild-mode-commands-ruby): new class of functions
(ebuild-mode): added all above new functions to keyword list
2007-06-24 Christian Faulhammer <opfer@gentoo.org>
* gentoo-syntax.el: removed some comments
(ebuild-mode-commands-elisp-common): renamed from elisp to
elisp-common
(ebuild-mode-commands-elisp): NEED_EMACS as keyword in new class
-elisp, only variable that needs highlighting
(ebuild-mode-commands-scm): deleted
(ebuild-mode-commands-cvs): new split-off from -scm
(ebuild-mode-commands-subversion): new split-off from -scm
(ebuild-mode-commands-git): new split-off from -scm
(ebuild-mode-commands-mercurial): new split-off from -scm
(ebuild-mode-commands-rpm): new split-off from -scm
(ebuild-mode-commands-python): new class of functions for
python.eclass
(ebuild-mode): added all above new functions to keyword list
2007-06-23 Ulrich Müller <ulm@gentoo.org>
* gentoo-syntax.el (ebuild-mode-tabify): Code copied from Emacs 22
function for XEmacs compatibility.
(ebuild-mode, eselect-mode): Explicitely make write-contents-hooks
local, for XEmacs compatibility.
(delete-trailing-whitespace): If not bound, then define it.
Add autoload cookies.
2007-06-21 Ulrich Müller <ulm@gentoo.org>
* Version 1.6 released.
* gentoo-syntax.el: Rename file.
(interpreter-mode-alist): Syntax highlighting for Gentoo init
scripts, as suggested by John R. Graham
<john_r_graham@mindspring.com> in bug #182636.
(ebuild-mode): Provide for backwards compatibility.
2007-06-19 Christian Faulhammer <opfer@gentoo.org>
* put keywords from -java and -misc in separate classes so they
are properly ordered
* added keywords for versionator eclass
2007-06-18 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode, eselect-mode): Use mapcar for
font-lock keyword assignments.
2007-06-18 Christian Faulhammer <opfer@gentoo.org>
* added keywords for:
pam, git, cvs, subversion, multilib, autotools, rpm, mercurial,
alternatives, java-ant-2, java-utils-2, fdo-mime,
bash-completion, gnome2-utils
* reordered keywords for:
eutils
2007-06-11 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode, eselect-mode): Do not quote faces.
2007-06-11 Christian Faulhammer <opfer@gentoo.org>
* added missing quotes in eselect highlighting
2007-06-08 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode, eselect-mode): Use
write-contents-hooks instead of write-file-functions for Emacs 21
and XEmacs compatibility. Move call of font-lock-add-keywords out
of function definition.
2007-06-07 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-map): Fix key definition.
(ebuild-run-command): Use compile instead of start-process;
inspired by ebuild-mode-marienz.el.
(auto-mode-alist): Add elements for ebuild-mode and eselect-mode.
2007-06-06 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-commands-alist): New variable.
(ebuild-mode-run-command): Function reworked. Use completing-read
for completion of commands.
(ebuild-mode-map): Define sparse keymap.
(ebuild-mode-commands-elisp): elisp-emacs-major-version replaced
by elisp-emacs-version.
2007-06-01 Christian Faulhammer <opfer@gentoo.org>
* added elisp-emacs-major-version() and elisp-make-autoload-file()
to highlighted keywords in elisp group
* renamed command groups 0 to sandbox and 1 to eclass to reflect
their offspring in the name
2007-05-26 Ulrich Müller <ulm@gentoo.org>
* Makefile: New file.
2007-05-23 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-tabify): Tabify whitespace only at
beginning of lines.
2007-05-23 Christian Faulhammer <opfer@gentoo.org>
* group 3 now is named flag-o-matic, group 4 renamed to elisp to
reflect source of them
* changed version to 1.6
2007-03-22 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el: version 1.5
2007-03-19 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (sh-must-be-shell-mode): Make TAB key work in
Emacs 21.
2007-03-18 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.el (ebuild-mode-commands-0): Sort keywords in
alphabetical order. Duplicate keyword "into" removed.
2007-03-16 Christian Faulhammer <opfer@gentoo.org>
* should really add elisp-* functions
2007-03-15 Christian Faulhammer <opfer@gentoo.org>
* functions from elisp-common.eclass, flag-o-matic.eclass,
some from eutils.eclass added to highlighted keywords
* keywords grouped by type (not yet finished)
* version 1.4
Distributed under the terms of the GNU General Public License v2 or later
|